|
@ -29,6 +29,16 @@ import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; |
|
|
import { Subject } from 'rxjs'; |
|
|
import { Subject } from 'rxjs'; |
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
|
|
|
animations: [ |
|
|
|
|
|
trigger('detailExpand', [ |
|
|
|
|
|
state('collapsed,void', style({ height: '0px', minHeight: '0' })), |
|
|
|
|
|
state('expanded', style({ height: '*' })), |
|
|
|
|
|
transition( |
|
|
|
|
|
'expanded <=> collapsed', |
|
|
|
|
|
animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)') |
|
|
|
|
|
) |
|
|
|
|
|
]) |
|
|
|
|
|
], |
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
imports: [ |
|
|
imports: [ |
|
|
CommonModule, |
|
|
CommonModule, |
|
@ -40,16 +50,6 @@ import { Subject } from 'rxjs'; |
|
|
MatListModule, |
|
|
MatListModule, |
|
|
NgxSkeletonLoaderModule |
|
|
NgxSkeletonLoaderModule |
|
|
], |
|
|
], |
|
|
animations: [ |
|
|
|
|
|
trigger('detailExpand', [ |
|
|
|
|
|
state('collapsed,void', style({ height: '0px', minHeight: '0' })), |
|
|
|
|
|
state('expanded', style({ height: '*' })), |
|
|
|
|
|
transition( |
|
|
|
|
|
'expanded <=> collapsed', |
|
|
|
|
|
animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)') |
|
|
|
|
|
) |
|
|
|
|
|
]) |
|
|
|
|
|
], |
|
|
|
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA], |
|
|
schemas: [CUSTOM_ELEMENTS_SCHEMA], |
|
|
selector: 'gf-top-holdings', |
|
|
selector: 'gf-top-holdings', |
|
|
standalone: true, |
|
|
standalone: true, |
|
|