mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
[HIMA-0] reverted virtual scroll autosize experimental feature
This commit is contained in:
@@ -22,7 +22,6 @@ import { SharedModule } from './shared/shared.module';
|
||||
import { AutocompleteState } from './core/store/state/autocomplete.state';
|
||||
|
||||
import { ScrollingModule } from '@angular/cdk/scrolling';
|
||||
import { ScrollingModule as ExperimentalScrollingModule } from '@angular/cdk-experimental/scrolling';
|
||||
import { NotifierState } from './core/store/state/notifier.state';
|
||||
import { environment } from '../environments/environment';
|
||||
import { ModalModule, IconModule } from '@libs/ui';
|
||||
@@ -86,7 +85,6 @@ export function _feedServiceEndpointProviderFactory(conf: ConfigService) {
|
||||
ReactiveFormsModule,
|
||||
SharedModule,
|
||||
ScrollingModule,
|
||||
ExperimentalScrollingModule,
|
||||
IconModule,
|
||||
ModalModule.forRoot(),
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<cdk-virtual-scroll-viewport autosize class="viewport" #scroller>
|
||||
<cdk-virtual-scroll-viewport itemSize="190" class="viewport" #scroller>
|
||||
<div *cdkVirtualFor="let product of ds; let i = index" class="product-item">
|
||||
<app-product-card [product]="product" [index]="i" *ngIf="product != null; else loadingComponent"> </app-product-card>
|
||||
<ng-template #loadingComponent>
|
||||
|
||||
@@ -5,7 +5,6 @@ import { ProductCardLoadingComponent } from './components/product-card-loading/p
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ProductCardComponent } from './components/product-card/product-card.component';
|
||||
import { ScrollingModule } from '@angular/cdk/scrolling';
|
||||
import { ScrollingModule as ExperimentalScrollingModule } from '@angular/cdk-experimental/scrolling';
|
||||
import { LoadingModule, PhotoGalleryModule, CardModule, SearchInputModule, DeleteDropdownModule } from '@libs/ui';
|
||||
import { SharedModule } from './../../shared/shared.module';
|
||||
import { ModalModule, ButtonModule, InputModule, DropdownModule, IconModule } from '@libs/ui';
|
||||
@@ -30,7 +29,6 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||
ProductRoutingModule,
|
||||
CommonModule,
|
||||
ScrollingModule,
|
||||
ExperimentalScrollingModule,
|
||||
LoadingModule,
|
||||
ModalModule,
|
||||
ButtonModule,
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -261,14 +261,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"@angular/cdk-experimental": {
|
||||
"version": "7.3.7",
|
||||
"resolved": "https://registry.npmjs.org/@angular/cdk-experimental/-/cdk-experimental-7.3.7.tgz",
|
||||
"integrity": "sha512-dzt7I7AN8h2//4PfDY36njrZkxBCgwG4nDOqfKzuxU6wm6rurSZZw/sNiff4Z9p5gRxGE09yxM2R9qKTTIF6mg==",
|
||||
"requires": {
|
||||
"tslib": "^1.7.1"
|
||||
}
|
||||
},
|
||||
"@angular/cli": {
|
||||
"version": "7.2.4",
|
||||
"resolved": "https://registry.npmjs.org/@angular/cli/-/cli-7.2.4.tgz",
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
"dependencies": {
|
||||
"@angular/animations": "~7.2.7",
|
||||
"@angular/cdk": "^7.0.2",
|
||||
"@angular/cdk-experimental": "^7.0.4",
|
||||
"@angular/common": "^7.2.7",
|
||||
"@angular/compiler": "~7.2.7",
|
||||
"@angular/core": "~7.2.7",
|
||||
|
||||
Reference in New Issue
Block a user