ng-virtual-list 21.12.1 → 22.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,7 @@ var ScrollbarStates;
20
20
  * NgScrollBarService
21
21
  * Maximum performance for extremely large lists.
22
22
  * It is based on algorithms for virtualization of screen objects.
23
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-bar/ng-scroll-bar.service.ts
23
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-bar/ng-scroll-bar.service.ts
24
24
  * @author Evgenii Alexandrovich Grebennikov
25
25
  * @email djonnyx@gmail.com
26
26
  */
@@ -38,10 +38,10 @@ class NgScrollBarService {
38
38
  click(event) {
39
39
  this._$click.next(event);
40
40
  }
41
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
42
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarService, providedIn: 'root' });
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
42
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarService, providedIn: 'root' });
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarService, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarService, decorators: [{
45
45
  type: Injectable,
46
46
  args: [{
47
47
  providedIn: 'root'
@@ -52,7 +52,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
52
52
  * NgScrollBarService
53
53
  * Maximum performance for extremely large lists.
54
54
  * It is based on algorithms for virtualization of screen objects.
55
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-bar/ng-scroll-bar-public.service.ts
55
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-bar/ng-scroll-bar-public.service.ts
56
56
  * @author Evgenii Alexandrovich Grebennikov
57
57
  * @email djonnyx@gmail.com
58
58
  */
@@ -60,10 +60,10 @@ class NgScrollBarPublicService {
60
60
  _internalService = inject(NgScrollBarService);
61
61
  get $click() { return this._internalService.$click; }
62
62
  get $state() { return this._internalService.$state; }
63
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarPublicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
64
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarPublicService, providedIn: 'root' });
63
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarPublicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
64
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarPublicService, providedIn: 'root' });
65
65
  }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarPublicService, decorators: [{
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarPublicService, decorators: [{
67
67
  type: Injectable,
68
68
  args: [{
69
69
  providedIn: 'root'
@@ -72,7 +72,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
72
72
 
73
73
  /**
74
74
  * Alignments
75
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/alignments.ts
75
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/alignments.ts
76
76
  * @author Evgenii Alexandrovich Grebennikov
77
77
  * @email djonnyx@gmail.com
78
78
  */
@@ -84,7 +84,7 @@ var Alignments;
84
84
 
85
85
  /**
86
86
  * Action modes for collection elements.
87
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/collection-modes.ts
87
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/collection-modes.ts
88
88
  * @author Evgenii Alexandrovich Grebennikov
89
89
  * @email djonnyx@gmail.com
90
90
  */
@@ -102,7 +102,7 @@ var CollectionModes;
102
102
 
103
103
  /**
104
104
  * Axis of the arrangement of virtual list elements.
105
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/directions.ts
105
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/directions.ts
106
106
  * @author Evgenii Alexandrovich Grebennikov
107
107
  * @email djonnyx@gmail.com
108
108
  */
@@ -120,7 +120,7 @@ var Directions;
120
120
 
121
121
  /**
122
122
  * Focus Alignments.
123
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/focus-alignments.ts
123
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/focus-alignments.ts
124
124
  * @author Evgenii Alexandrovich Grebennikov
125
125
  * @email djonnyx@gmail.com
126
126
  */
@@ -134,7 +134,7 @@ var FocusAlignments;
134
134
 
135
135
  /**
136
136
  * Modes for collapsing list items.
137
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/collapsing-modes.ts
137
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/collapsing-modes.ts
138
138
  * @author Evgenii Alexandrovich Grebennikov
139
139
  * @email djonnyx@gmail.com
140
140
  */
@@ -156,7 +156,7 @@ var CollapsingModes;
156
156
 
157
157
  /**
158
158
  * Mods for selecting list items.
159
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/selecting-modes.ts
159
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/selecting-modes.ts
160
160
  * @author Evgenii Alexandrovich Grebennikov
161
161
  * @email djonnyx@gmail.com
162
162
  */
@@ -178,7 +178,7 @@ var SelectingModes;
178
178
 
179
179
  /**
180
180
  * SnapToAtemAligns.
181
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/snap-to-item-aligns.ts
181
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/snap-to-item-aligns.ts
182
182
  * @author Evgenii Alexandrovich Grebennikov
183
183
  * @email djonnyx@gmail.com
184
184
  */
@@ -200,7 +200,7 @@ var SnapToItemAligns;
200
200
 
201
201
  /**
202
202
  * Snapping method.
203
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/snapping-method.ts
203
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/snapping-method.ts
204
204
  * @author Evgenii Alexandrovich Grebennikov
205
205
  * @email djonnyx@gmail.com
206
206
  */
@@ -218,7 +218,7 @@ var SnappingMethods;
218
218
 
219
219
  /**
220
220
  * SpreadingModes.
221
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/spreading-modes.ts
221
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/spreading-modes.ts
222
222
  * @author Evgenii Alexandrovich Grebennikov
223
223
  * @email djonnyx@gmail.com
224
224
  */
@@ -238,7 +238,7 @@ var SpreadingModes;
238
238
  * TextDirections.
239
239
  * RTL - right-to-left.
240
240
  * LTR - left-to-right.
241
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/text-directions.ts
241
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/text-directions.ts
242
242
  * @author Evgenii Alexandrovich Grebennikov
243
243
  * @email djonnyx@gmail.com
244
244
  */
@@ -414,7 +414,7 @@ const Z_INDEX_NONE = '-1', Z_INDEX_0 = '0', Z_INDEX_1 = '1', Z_INDEX_2 = '2', Z_
414
414
  const NGVL_INDEX = 'ngvl-index',
415
415
  /**
416
416
  * getListElementByIndex
417
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-list-item/utils/get-element-by-index.ts
417
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-list-item/utils/get-element-by-index.ts
418
418
  * @author Evgenii Alexandrovich Grebennikov
419
419
  * @email djonnyx@gmail.com
420
420
  */
@@ -423,7 +423,7 @@ getListElementByIndex = (index) => {
423
423
  },
424
424
  /**
425
425
  * getListElements
426
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-list-item/utils/get-element-by-index.ts
426
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-list-item/utils/get-element-by-index.ts
427
427
  * @author Evgenii Alexandrovich Grebennikov
428
428
  * @email djonnyx@gmail.com
429
429
  */
@@ -433,7 +433,7 @@ getListElements = () => {
433
433
 
434
434
  /**
435
435
  * createDisplayId
436
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-list-item/utils/create-display-id.ts
436
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-list-item/utils/create-display-id.ts
437
437
  * @author Evgenii Alexandrovich Grebennikov
438
438
  * @email djonnyx@gmail.com
439
439
  */
@@ -443,7 +443,7 @@ const createDisplayId = (listId, id) => {
443
443
 
444
444
  /**
445
445
  * matrix3d
446
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-list-item/utils/matrix-3d.ts
446
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-list-item/utils/matrix-3d.ts
447
447
  * @author Evgenii Alexandrovich Grebennikov
448
448
  * @email djonnyx@gmail.com
449
449
  */
@@ -463,7 +463,7 @@ const ID = 'id', NGVL_VISIBILITY = 'ngvl-visibility', MATRIX_3D_HIDDEN = matrix3
463
463
 
464
464
  /**
465
465
  * TrackBoxEvents
466
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/core/events/track-box-events.ts
466
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/core/events/track-box-events.ts
467
467
  * @author Evgenii Alexandrovich Grebennikov
468
468
  * @email djonnyx@gmail.com
469
469
  */
@@ -475,7 +475,7 @@ var TrackBoxEvents;
475
475
 
476
476
  /**
477
477
  * Mods for selecting list items.
478
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/enums/selecting-modes-types.ts
478
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/enums/selecting-modes-types.ts
479
479
  * @author Evgenii Alexandrovich Grebennikov
480
480
  * @email djonnyx@gmail.com
481
481
  */
@@ -584,7 +584,7 @@ const getSelectorByItemId = (id) => {
584
584
  * NgVirtualListService
585
585
  * Maximum performance for extremely large lists.
586
586
  * It is based on algorithms for virtualization of screen objects.
587
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/ng-virtual-list.service.ts
587
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/ng-virtual-list.service.ts
588
588
  * @author Evgenii Alexandrovich Grebennikov
589
589
  * @email djonnyx@gmail.com
590
590
  */
@@ -983,10 +983,10 @@ class NgVirtualListService {
983
983
  scrollToEnd(options) {
984
984
  this._$scrollToEnd.next(options);
985
985
  }
986
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
987
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListService, providedIn: 'root' });
986
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
987
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListService, providedIn: 'root' });
988
988
  }
989
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListService, decorators: [{
989
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListService, decorators: [{
990
990
  type: Injectable,
991
991
  args: [{
992
992
  providedIn: 'root'
@@ -997,7 +997,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
997
997
  * NgVirtualListPublicService
998
998
  * Maximum performance for extremely large lists.
999
999
  * It is based on algorithms for virtualization of screen objects.
1000
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/ng-virtual-list-publick.service.ts
1000
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/ng-virtual-list-publick.service.ts
1001
1001
  * @author Evgenii Alexandrovich Grebennikov
1002
1002
  * @email djonnyx@gmail.com
1003
1003
  */
@@ -1099,10 +1099,10 @@ class NgVirtualListPublicService {
1099
1099
  scrollToEnd(options) {
1100
1100
  this._internalService.scrollToEnd(options);
1101
1101
  }
1102
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListPublicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1103
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListPublicService, providedIn: 'root' });
1102
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListPublicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1103
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListPublicService, providedIn: 'root' });
1104
1104
  }
1105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListPublicService, decorators: [{
1105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListPublicService, decorators: [{
1106
1106
  type: Injectable,
1107
1107
  args: [{
1108
1108
  providedIn: 'root'
@@ -1111,13 +1111,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
1111
1111
 
1112
1112
  /**
1113
1113
  * BaseVirtualListItemComponent
1114
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/list-item/base/base-virtual-list-item-component.ts
1114
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/list-item/base/base-virtual-list-item-component.ts
1115
1115
  * @author Evgenii Alexandrovich Grebennikov
1116
1116
  * @email djonnyx@gmail.com
1117
1117
  */
1118
1118
  class BaseVirtualListItemComponent {
1119
- _item = viewChild('item', ...(ngDevMode ? [{ debugName: "_item" }] : []));
1120
- _container = viewChild('container', ...(ngDevMode ? [{ debugName: "_container" }] : []));
1119
+ _item = viewChild('item', /* @ts-ignore */
1120
+ ...(ngDevMode ? [{ debugName: "_item" }] : /* istanbul ignore next */ []));
1121
+ _container = viewChild('container', /* @ts-ignore */
1122
+ ...(ngDevMode ? [{ debugName: "_container" }] : /* istanbul ignore next */ []));
1121
1123
  _apiService = inject(NgVirtualListPublicService);
1122
1124
  _service = inject(NgVirtualListService);
1123
1125
  _id;
@@ -1141,12 +1143,18 @@ class BaseVirtualListItemComponent {
1141
1143
  }
1142
1144
  get isSelected() { return this._isSelected; }
1143
1145
  _isCollapsed = false;
1144
- config = signal({}, ...(ngDevMode ? [{ debugName: "config" }] : []));
1145
- measures = signal(null, ...(ngDevMode ? [{ debugName: "measures" }] : []));
1146
- focused = signal(false, ...(ngDevMode ? [{ debugName: "focused" }] : []));
1147
- part = signal(PART_DEFAULT_ITEM, ...(ngDevMode ? [{ debugName: "part" }] : []));
1148
- fxPart = signal(PART_DEFAULT_ITEM_FX, ...(ngDevMode ? [{ debugName: "fxPart" }] : []));
1149
- data = signal(null, ...(ngDevMode ? [{ debugName: "data" }] : []));
1146
+ config = signal({}, /* @ts-ignore */
1147
+ ...(ngDevMode ? [{ debugName: "config" }] : /* istanbul ignore next */ []));
1148
+ measures = signal(null, /* @ts-ignore */
1149
+ ...(ngDevMode ? [{ debugName: "measures" }] : /* istanbul ignore next */ []));
1150
+ focused = signal(false, /* @ts-ignore */
1151
+ ...(ngDevMode ? [{ debugName: "focused" }] : /* istanbul ignore next */ []));
1152
+ part = signal(PART_DEFAULT_ITEM, /* @ts-ignore */
1153
+ ...(ngDevMode ? [{ debugName: "part" }] : /* istanbul ignore next */ []));
1154
+ fxPart = signal(PART_DEFAULT_ITEM_FX, /* @ts-ignore */
1155
+ ...(ngDevMode ? [{ debugName: "fxPart" }] : /* istanbul ignore next */ []));
1156
+ data = signal(null, /* @ts-ignore */
1157
+ ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
1150
1158
  _data = null;
1151
1159
  set item(v) {
1152
1160
  if (this._data === v || this._data?.id === -1 || !v) {
@@ -1186,7 +1194,8 @@ class BaseVirtualListItemComponent {
1186
1194
  get visibility() {
1187
1195
  return this._elementRef.nativeElement.style.visibility;
1188
1196
  }
1189
- itemRenderer = signal(undefined, ...(ngDevMode ? [{ debugName: "itemRenderer" }] : []));
1197
+ itemRenderer = signal(undefined, /* @ts-ignore */
1198
+ ...(ngDevMode ? [{ debugName: "itemRenderer" }] : /* istanbul ignore next */ []));
1190
1199
  _renderer;
1191
1200
  set renderer(v) {
1192
1201
  if (this._renderer !== v) {
@@ -1218,17 +1227,20 @@ class BaseVirtualListItemComponent {
1218
1227
  [CLASS_NAME_SNAPPED]: data?.config?.snapped ?? false, [CLASS_NAME_SNAPPED_OUT]: data?.config?.snappedOut ?? false,
1219
1228
  [CLASS_NAME_FOCUS]: _focus,
1220
1229
  };
1221
- }, ...(ngDevMode ? [{ debugName: "classes" }] : []));
1230
+ }, /* @ts-ignore */
1231
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
1222
1232
  this.index = computed(() => {
1223
1233
  return this.config()?.tabIndex ?? -1;
1224
- }, ...(ngDevMode ? [{ debugName: "index" }] : []));
1234
+ }, /* @ts-ignore */
1235
+ ...(ngDevMode ? [{ debugName: "index" }] : /* istanbul ignore next */ []));
1225
1236
  this.templateContext = computed(() => {
1226
1237
  const data = this.data(), measures = this.measures(), config = this.config();
1227
1238
  return {
1228
1239
  data: data?.data, prevData: data?.previouseData, nextData: data?.nextData, measures,
1229
1240
  config, reseted: false, index: data?.index ?? -1, api: this._apiService,
1230
1241
  };
1231
- }, ...(ngDevMode ? [{ debugName: "templateContext" }] : []));
1242
+ }, /* @ts-ignore */
1243
+ ...(ngDevMode ? [{ debugName: "templateContext" }] : /* istanbul ignore next */ []));
1232
1244
  if (this._service.isVertical) {
1233
1245
  this._elementRef.nativeElement.style.height = `${this._service.itemSize}px`;
1234
1246
  }
@@ -1381,10 +1393,10 @@ class BaseVirtualListItemComponent {
1381
1393
  styles.visibility = VISIBILITY_HIDDEN;
1382
1394
  }
1383
1395
  }
1384
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: BaseVirtualListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1385
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: BaseVirtualListItemComponent, isStandalone: false, selector: "ng-base-virtual-list-item", viewQueries: [{ propertyName: "_item", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "_container", first: true, predicate: ["container"], descendants: true, isSignal: true }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1396
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BaseVirtualListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1397
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: BaseVirtualListItemComponent, isStandalone: false, selector: "ng-base-virtual-list-item", viewQueries: [{ propertyName: "_item", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "_container", first: true, predicate: ["container"], descendants: true, isSignal: true }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1386
1398
  }
1387
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: BaseVirtualListItemComponent, decorators: [{
1399
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BaseVirtualListItemComponent, decorators: [{
1388
1400
  type: Component,
1389
1401
  args: [{
1390
1402
  selector: 'ng-base-virtual-list-item',
@@ -1399,7 +1411,7 @@ const DEFAULT_MAX_DISTANCE = 40;
1399
1411
  * VirtualClickDirective
1400
1412
  * Maximum performance for extremely large lists.
1401
1413
  * It is based on algorithms for virtualization of screen objects.
1402
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/directives/item-click/item-click.directive.ts
1414
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/directives/item-click/item-click.directive.ts
1403
1415
  * @author Evgenii Alexandrovich Grebennikov
1404
1416
  * @email djonnyx@gmail.com
1405
1417
  */
@@ -1434,10 +1446,10 @@ class VirtualClickDirective {
1434
1446
  }));
1435
1447
  })).subscribe();
1436
1448
  }
1437
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: VirtualClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1438
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.0", type: VirtualClickDirective, isStandalone: false, selector: "[virtualClick]", inputs: { maxDistance: ["maxClickDistance", "maxDistance"] }, outputs: { onVirtualClick: "onVirtualClick" }, ngImport: i0 });
1449
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: VirtualClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1450
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: VirtualClickDirective, isStandalone: false, selector: "[virtualClick]", inputs: { maxDistance: ["maxClickDistance", "maxDistance"] }, outputs: { onVirtualClick: "onVirtualClick" }, ngImport: i0 });
1439
1451
  }
1440
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: VirtualClickDirective, decorators: [{
1452
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: VirtualClickDirective, decorators: [{
1441
1453
  type: Directive,
1442
1454
  args: [{
1443
1455
  selector: '[virtualClick]',
@@ -1452,12 +1464,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
1452
1464
  * Virtual list component.
1453
1465
  * Maximum performance for extremely large lists.
1454
1466
  * It is based on algorithms for virtualization of screen objects.
1455
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-list-item/ng-virtual-list-item.component.ts
1467
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-list-item/ng-virtual-list-item.component.ts
1456
1468
  * @author Evgenii Alexandrovich Grebennikov
1457
1469
  * @email djonnyx@gmail.com
1458
1470
  */
1459
1471
  class NgVirtualListItemComponent extends BaseVirtualListItemComponent {
1460
- maxClickDistance = signal(DEFAULT_CLICK_DISTANCE, ...(ngDevMode ? [{ debugName: "maxClickDistance" }] : []));
1472
+ maxClickDistance = signal(DEFAULT_CLICK_DISTANCE, /* @ts-ignore */
1473
+ ...(ngDevMode ? [{ debugName: "maxClickDistance" }] : /* istanbul ignore next */ []));
1461
1474
  _injector = inject(Injector);
1462
1475
  constructor() {
1463
1476
  super();
@@ -1625,10 +1638,10 @@ class NgVirtualListItemComponent extends BaseVirtualListItemComponent {
1625
1638
  onClickHandler() {
1626
1639
  this._service.virtualClick(this._data);
1627
1640
  }
1628
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1629
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: NgVirtualListItemComponent, isStandalone: false, selector: "ng-virtual-list-item", host: { attributes: { "role": "listitem" }, classAttribute: "ngvl__item" }, usesInheritance: true, ngImport: i0, template: "@let renderer = itemRenderer();\r\n@let class = classes();\r\n<div #item class=\"ngvl-item\" [ngClass]=\"class\" [part]=\"part()\" [attr.ngvl-index]=\"index()\" [attr.ngvl-visibility]=\"visibility\" tabindex=\"-1\">\r\n @if (_blendColor) {\r\n <div class=\"ngvl-item__blend-color\" [style.--blend-color]=\"_blendColor\"></div>\r\n }\r\n <div #container virtualClick [part]=\"fxPart()\" [maxClickDistance]=\"maxClickDistance()\" class=\"ngvl-item__container\"\r\n [ngClass]=\"class\" (onVirtualClick)=\"onClickHandler()\">\r\n @if (renderer) {\r\n <ng-container [ngTemplateOutlet]=\"renderer\" [ngTemplateOutletContext]=\"templateContext()\" />\r\n }\r\n </div>\r\n</div>", styles: [":host{display:block;position:absolute;left:0;top:0;box-sizing:border-box;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none;-moz-user-drag:none;text-rendering:optimizeSpeed;image-rendering:auto}.ngvl-item{position:relative;margin:0;padding:0;overflow:hidden;outline:none;width:inherit;height:inherit;box-sizing:border-box}.ngvl-item__blend-color{position:absolute;left:0;top:0;width:100%;height:100%;background-color:var(--blend-color);z-index:-1}.ngvl-item__container{margin:0;padding:0;width:100%;height:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: VirtualClickDirective, selector: "[virtualClick]", inputs: ["maxClickDistance"], outputs: ["onVirtualClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1641
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1642
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: NgVirtualListItemComponent, isStandalone: false, selector: "ng-virtual-list-item", host: { attributes: { "role": "listitem" }, classAttribute: "ngvl__item" }, usesInheritance: true, ngImport: i0, template: "@let renderer = itemRenderer();\r\n@let class = classes();\r\n<div #item class=\"ngvl-item\" [ngClass]=\"class\" [part]=\"part()\" [attr.ngvl-index]=\"index()\" [attr.ngvl-visibility]=\"visibility\" tabindex=\"-1\">\r\n @if (_blendColor) {\r\n <div class=\"ngvl-item__blend-color\" [style.--blend-color]=\"_blendColor\"></div>\r\n }\r\n <div #container virtualClick [part]=\"fxPart()\" [maxClickDistance]=\"maxClickDistance()\" class=\"ngvl-item__container\"\r\n [ngClass]=\"class\" (onVirtualClick)=\"onClickHandler()\">\r\n @if (renderer) {\r\n <ng-container [ngTemplateOutlet]=\"renderer\" [ngTemplateOutletContext]=\"templateContext()\" />\r\n }\r\n </div>\r\n</div>", styles: [":host{display:block;position:absolute;left:0;top:0;box-sizing:border-box;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none;-moz-user-drag:none;text-rendering:optimizeSpeed;image-rendering:auto}.ngvl-item{position:relative;margin:0;padding:0;overflow:hidden;outline:none;width:inherit;height:inherit;box-sizing:border-box}.ngvl-item__blend-color{position:absolute;left:0;top:0;width:100%;height:100%;background-color:var(--blend-color);z-index:-1}.ngvl-item__container{margin:0;padding:0;width:100%;height:100%;box-sizing:border-box}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: VirtualClickDirective, selector: "[virtualClick]", inputs: ["maxClickDistance"], outputs: ["onVirtualClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1630
1643
  }
1631
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListItemComponent, decorators: [{
1644
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListItemComponent, decorators: [{
1632
1645
  type: Component,
1633
1646
  args: [{ selector: 'ng-virtual-list-item', host: {
1634
1647
  'class': 'ngvl__item',
@@ -1638,7 +1651,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
1638
1651
 
1639
1652
  /**
1640
1653
  * Simple debounce function.
1641
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/debounce.ts
1654
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/debounce.ts
1642
1655
  * @author Evgenii Alexandrovich Grebennikov
1643
1656
  * @email djonnyx@gmail.com
1644
1657
  * @param cb - Callback.
@@ -1699,7 +1712,7 @@ const debounce = (cb, debounceTime = 0, maxSkips = 0) => {
1699
1712
 
1700
1713
  /**
1701
1714
  * Switch css classes
1702
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/toggle-class-name.ts
1715
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/toggle-class-name.ts
1703
1716
  * @author Evgenii Alexandrovich Grebennikov
1704
1717
  * @email djonnyx@gmail.com
1705
1718
  */
@@ -1714,7 +1727,7 @@ const toggleClassName = (el, className, removeClassName) => {
1714
1727
 
1715
1728
  /**
1716
1729
  * Scroll event.
1717
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/scroll-event.ts
1730
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/scroll-event.ts
1718
1731
  * @author Evgenii Alexandrovich Grebennikov
1719
1732
  * @email djonnyx@gmail.com
1720
1733
  */
@@ -1903,7 +1916,7 @@ const CACHE_BOX_CHANGE_EVENT_NAME = 'change';
1903
1916
  /**
1904
1917
  * Cache map.
1905
1918
  * Emits a change event on each mutation.
1906
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/core/cache-map.ts
1919
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/core/cache-map.ts
1907
1920
  * @author Evgenii Alexandrovich Grebennikov
1908
1921
  * @email djonnyx@gmail.com
1909
1922
  */
@@ -2000,7 +2013,7 @@ class CacheMap extends EventEmitter {
2000
2013
 
2001
2014
  /**
2002
2015
  * getServiceIdProp
2003
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/core/utils/get-service-id-prop.ts
2016
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/core/utils/get-service-id-prop.ts
2004
2017
  * @author Evgenii Alexandrovich Grebennikov
2005
2018
  * @email djonnyx@gmail.com
2006
2019
  */
@@ -2012,7 +2025,7 @@ const getServiceIdProp = (trackBy) => {
2012
2025
  * Tracks display items by property
2013
2026
  * Maximum performance for extremely large lists.
2014
2027
  * It is based on algorithms for virtualization of screen objects.
2015
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/core/tracker.ts
2028
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/core/tracker.ts
2016
2029
  * @author Evgenii Alexandrovich Grebennikov
2017
2030
  * @email djonnyx@gmail.com
2018
2031
  */
@@ -2277,7 +2290,7 @@ const START_COLLECTION_PREFIX_ID = 'n', END_COLLECTION_PREFIX_ID = 'p', DEFAULT_
2277
2290
 
2278
2291
  /**
2279
2292
  * ItemDisplayMethods
2280
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/core/enums/item-display-methods.ts
2293
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/core/enums/item-display-methods.ts
2281
2294
  * @author Evgenii Alexandrovich Grebennikov
2282
2295
  * @email djonnyx@gmail.com
2283
2296
  */
@@ -2291,7 +2304,7 @@ var ItemDisplayMethods;
2291
2304
 
2292
2305
  /**
2293
2306
  * An object that performs tracking, calculations and caching.
2294
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/core/track-box.ts
2307
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/core/track-box.ts
2295
2308
  * @author Evgenii Alexandrovich Grebennikov
2296
2309
  * @email djonnyx@gmail.com
2297
2310
  */
@@ -3646,7 +3659,7 @@ const isSnappingMethodDefault = (method) => {
3646
3659
  const HORIZONTAL_ALIASES = [Directions.HORIZONTAL, 'horizontal'], VERTICAL_ALIASES = [Directions.VERTICAL, 'vertical'];
3647
3660
  /**
3648
3661
  * Determines the axis membership of a virtual list
3649
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/is-direction.ts
3662
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/is-direction.ts
3650
3663
  * @author Evgenii Alexandrovich Grebennikov
3651
3664
  * @email djonnyx@gmail.com
3652
3665
  */
@@ -3660,7 +3673,7 @@ const isDirection = (src, expected) => {
3660
3673
  const NONE_ALIASES$1 = [SelectingModes.NONE, 'none'], SELECT_ALIASES = [SelectingModes.SELECT, 'select'], MULTI_SELECT_ALIASES = [SelectingModes.MULTI_SELECT, 'multi-select'];
3661
3674
  /**
3662
3675
  * Defines the mode for selecting list items.
3663
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/is-select-mode.ts
3676
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/is-select-mode.ts
3664
3677
  * @author Evgenii Alexandrovich Grebennikov
3665
3678
  * @email djonnyx@gmail.com
3666
3679
  */
@@ -3677,7 +3690,7 @@ const isSelectMode = (src, expected) => {
3677
3690
  const NONE_ALIASES = [CollapsingModes.NONE, 'none'], MULTIMPLE_ALIASES = [CollapsingModes.MULTI_COLLAPSE, 'multi-collapse'], ACCORDION_ALIASES = [CollapsingModes.ACCORDION, 'accordion'];
3678
3691
  /**
3679
3692
  * Defines the mode for collapsing list items.
3680
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/is-collapse-mode.ts
3693
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/is-collapse-mode.ts
3681
3694
  * @author Evgenii Alexandrovich Grebennikov
3682
3695
  * @email djonnyx@gmail.com
3683
3696
  */
@@ -3694,7 +3707,7 @@ const isCollapseMode = (src, expected) => {
3694
3707
  const NORMAL_ALIASES$1 = [CollectionModes.NORMAL, 'normal'], LAZY_ALIASES = [CollectionModes.LAZY, 'lazy'];
3695
3708
  /**
3696
3709
  * Determines the axis membership of a virtual list
3697
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/is-collection-mode.ts
3710
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/is-collection-mode.ts
3698
3711
  * @author Evgenii Alexandrovich Grebennikov
3699
3712
  * @email djonnyx@gmail.com
3700
3713
  */
@@ -3749,7 +3762,7 @@ const formatActualDisplayItems = (items, startOffset, endOffset, scrollSize, isV
3749
3762
 
3750
3763
  /**
3751
3764
  * isPercentageValue
3752
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/is-persentage-value.ts
3765
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/is-persentage-value.ts
3753
3766
  * @author Evgenii Alexandrovich Grebennikov
3754
3767
  * @email djonnyx@gmail.com
3755
3768
  */
@@ -3763,7 +3776,7 @@ const isPercentageValue = (value) => {
3763
3776
  const PERSENTS_100 = 100, PERSENTS_1 = 1, SIZE_PERSENT = '%', CHAR_NONE = '';
3764
3777
  /**
3765
3778
  * parseFloatOrPersentageValue
3766
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/parse-float-or-persentage-value.ts
3779
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/parse-float-or-persentage-value.ts
3767
3780
  * @author Evgenii Alexandrovich Grebennikov
3768
3781
  * @email djonnyx@gmail.com
3769
3782
  */
@@ -3791,7 +3804,7 @@ const calculate = (exp, reference, operator = 1) => {
3791
3804
  };
3792
3805
  /**
3793
3806
  * parseArithmeticExpression
3794
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/parse-arithmetic-expression.ts
3807
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/parse-arithmetic-expression.ts
3795
3808
  * @author Evgenii Alexandrovich Grebennikov
3796
3809
  * @email djonnyx@gmail.com
3797
3810
  */
@@ -3829,7 +3842,7 @@ const parseArithmeticExpression = (value, reference) => {
3829
3842
 
3830
3843
  /**
3831
3844
  * normalizeCollection
3832
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/normalize-collection.ts
3845
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/normalize-collection.ts
3833
3846
  * @author Evgenii Alexandrovich Grebennikov
3834
3847
  * @email djonnyx@gmail.com
3835
3848
  */
@@ -3871,7 +3884,7 @@ const normalizeCollection = (items, itemConfigMap, trackBy, divides) => {
3871
3884
  const NORMAL_ALIASES = [SpreadingModes.NORMAL, 'normal'], INFINITY_ALIASES = [SpreadingModes.INFINITY, 'infinity'];
3872
3885
  /**
3873
3886
  * Determines the display mode of list items.
3874
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/is-select-mode.ts
3887
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/is-select-mode.ts
3875
3888
  * @author Evgenii Alexandrovich Grebennikov
3876
3889
  * @email djonnyx@gmail.com
3877
3890
  */
@@ -3903,7 +3916,7 @@ var ScrollerDirection$1;
3903
3916
  * ScrollBox
3904
3917
  * Maximum performance for extremely large lists.
3905
3918
  * It is based on algorithms for virtualization of screen objects.
3906
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/scroller/utils/scroll-box.ts
3919
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/scroller/utils/scroll-box.ts
3907
3920
  * @author Evgenii Alexandrovich Grebennikov
3908
3921
  * @email djonnyx@gmail.com
3909
3922
  */
@@ -4044,7 +4057,7 @@ const SCROLL_EVENT$1 = new Event(SCROLLER_SCROLL);
4044
4057
 
4045
4058
  /**
4046
4059
  * calculateDirection
4047
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/calculate-direction.ts
4060
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/calculate-direction.ts
4048
4061
  * @author Evgenii Alexandrovich Grebennikov
4049
4062
  * @email djonnyx@gmail.com
4050
4063
  */
@@ -4061,7 +4074,7 @@ const calculateDirection = (buffer) => {
4061
4074
 
4062
4075
  /**
4063
4076
  * ScrollerDirection
4064
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/enums/scroller-direction.ts
4077
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/enums/scroller-direction.ts
4065
4078
  * @author Evgenii Alexandrovich Grebennikov
4066
4079
  * @email djonnyx@gmail.com
4067
4080
  */
@@ -4075,7 +4088,7 @@ var ScrollerDirection;
4075
4088
  * ScrollBox
4076
4089
  * Maximum performance for extremely large lists.
4077
4090
  * It is based on algorithms for virtualization of screen objects.
4078
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/scroll-box.ts
4091
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/scroll-box.ts
4079
4092
  * @author Evgenii Alexandrovich Grebennikov
4080
4093
  * @email djonnyx@gmail.com
4081
4094
  */
@@ -4117,7 +4130,7 @@ class ScrollBox {
4117
4130
 
4118
4131
  /**
4119
4132
  * matrix3d
4120
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/matrix-3d.ts
4133
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/matrix-3d.ts
4121
4134
  * @author Evgenii Alexandrovich Grebennikov
4122
4135
  * @email djonnyx@gmail.com
4123
4136
  */
@@ -4132,7 +4145,7 @@ const matrix3d = (x, y) => {
4132
4145
 
4133
4146
  /**
4134
4147
  * getDir
4135
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/get-dir.ts
4148
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/get-dir.ts
4136
4149
  * @author Evgenii Alexandrovich Grebennikov
4137
4150
  * @email djonnyx@gmail.com
4138
4151
  */
@@ -4144,21 +4157,30 @@ const getDir = (p, c) => {
4144
4157
  * BaseScrollView
4145
4158
  * Maximum performance for extremely large lists.
4146
4159
  * It is based on algorithms for virtualization of screen objects.
4147
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/base/base-scroll-view.component.ts
4160
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/base/base-scroll-view.component.ts
4148
4161
  * @author Evgenii Alexandrovich Grebennikov
4149
4162
  * @email djonnyx@gmail.com
4150
4163
  */
4151
4164
  class BaseScrollView {
4152
- scrollContent = viewChild('scrollContent', ...(ngDevMode ? [{ debugName: "scrollContent" }] : []));
4153
- scrollViewport = viewChild('scrollViewport', ...(ngDevMode ? [{ debugName: "scrollViewport" }] : []));
4154
- direction = input(ScrollerDirection.VERTICAL, ...(ngDevMode ? [{ debugName: "direction" }] : []));
4155
- startOffset = input(0, ...(ngDevMode ? [{ debugName: "startOffset" }] : []));
4156
- endOffset = input(0, ...(ngDevMode ? [{ debugName: "endOffset" }] : []));
4157
- alignmentStartOffset = input(0, ...(ngDevMode ? [{ debugName: "alignmentStartOffset" }] : []));
4158
- alignmentEndOffset = input(0, ...(ngDevMode ? [{ debugName: "alignmentEndOffset" }] : []));
4159
- isInfinity = input(false, ...(ngDevMode ? [{ debugName: "isInfinity" }] : []));
4165
+ scrollContent = viewChild('scrollContent', /* @ts-ignore */
4166
+ ...(ngDevMode ? [{ debugName: "scrollContent" }] : /* istanbul ignore next */ []));
4167
+ scrollViewport = viewChild('scrollViewport', /* @ts-ignore */
4168
+ ...(ngDevMode ? [{ debugName: "scrollViewport" }] : /* istanbul ignore next */ []));
4169
+ direction = input(ScrollerDirection.VERTICAL, /* @ts-ignore */
4170
+ ...(ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []));
4171
+ startOffset = input(0, /* @ts-ignore */
4172
+ ...(ngDevMode ? [{ debugName: "startOffset" }] : /* istanbul ignore next */ []));
4173
+ endOffset = input(0, /* @ts-ignore */
4174
+ ...(ngDevMode ? [{ debugName: "endOffset" }] : /* istanbul ignore next */ []));
4175
+ alignmentStartOffset = input(0, /* @ts-ignore */
4176
+ ...(ngDevMode ? [{ debugName: "alignmentStartOffset" }] : /* istanbul ignore next */ []));
4177
+ alignmentEndOffset = input(0, /* @ts-ignore */
4178
+ ...(ngDevMode ? [{ debugName: "alignmentEndOffset" }] : /* istanbul ignore next */ []));
4179
+ isInfinity = input(false, /* @ts-ignore */
4180
+ ...(ngDevMode ? [{ debugName: "isInfinity" }] : /* istanbul ignore next */ []));
4160
4181
  isVertical;
4161
- grabbing = signal(false, ...(ngDevMode ? [{ debugName: "grabbing" }] : []));
4182
+ grabbing = signal(false, /* @ts-ignore */
4183
+ ...(ngDevMode ? [{ debugName: "grabbing" }] : /* istanbul ignore next */ []));
4162
4184
  _inversion = inject(SCROLL_VIEW_INVERSION);
4163
4185
  _overscrollEnabled = inject(SCROLL_VIEW_OVERSCROLL_ENABLED);
4164
4186
  _$updateScrollBar = new Subject();
@@ -4246,13 +4268,16 @@ class BaseScrollView {
4246
4268
  }
4247
4269
  return contentHeight < viewportHeight ? isVertical ? startOffset : 0 : ((contentHeight + this.alignmentEndOffset()) - viewportHeight);
4248
4270
  }
4249
- viewportBounds = signal({ width: 0, height: 0 }, ...(ngDevMode ? [{ debugName: "viewportBounds" }] : []));
4250
- contentBounds = signal({ width: 0, height: 0 }, ...(ngDevMode ? [{ debugName: "contentBounds" }] : []));
4271
+ viewportBounds = signal({ width: 0, height: 0 }, /* @ts-ignore */
4272
+ ...(ngDevMode ? [{ debugName: "viewportBounds" }] : /* istanbul ignore next */ []));
4273
+ contentBounds = signal({ width: 0, height: 0 }, /* @ts-ignore */
4274
+ ...(ngDevMode ? [{ debugName: "contentBounds" }] : /* istanbul ignore next */ []));
4251
4275
  _isCoordinatesOverrided = false;
4252
4276
  constructor() {
4253
4277
  this.isVertical = computed(() => {
4254
4278
  return this.direction() === ScrollerDirection.VERTICAL;
4255
- }, ...(ngDevMode ? [{ debugName: "isVertical" }] : []));
4279
+ }, /* @ts-ignore */
4280
+ ...(ngDevMode ? [{ debugName: "isVertical" }] : /* istanbul ignore next */ []));
4256
4281
  }
4257
4282
  tick() {
4258
4283
  this.onResizeContent();
@@ -4320,10 +4345,10 @@ class BaseScrollView {
4320
4345
  this.contentBounds.set({ width, height });
4321
4346
  }
4322
4347
  }
4323
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: BaseScrollView, deps: [], target: i0.ɵɵFactoryTarget.Component });
4324
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: BaseScrollView, isStandalone: true, selector: "base-scroll-view", inputs: { direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, startOffset: { classPropertyName: "startOffset", publicName: "startOffset", isSignal: true, isRequired: false, transformFunction: null }, endOffset: { classPropertyName: "endOffset", publicName: "endOffset", isSignal: true, isRequired: false, transformFunction: null }, alignmentStartOffset: { classPropertyName: "alignmentStartOffset", publicName: "alignmentStartOffset", isSignal: true, isRequired: false, transformFunction: null }, alignmentEndOffset: { classPropertyName: "alignmentEndOffset", publicName: "alignmentEndOffset", isSignal: true, isRequired: false, transformFunction: null }, isInfinity: { classPropertyName: "isInfinity", publicName: "isInfinity", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "scrollContent", first: true, predicate: ["scrollContent"], descendants: true, isSignal: true }, { propertyName: "scrollViewport", first: true, predicate: ["scrollViewport"], descendants: true, isSignal: true }], ngImport: i0, template: '', isInline: true });
4348
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BaseScrollView, deps: [], target: i0.ɵɵFactoryTarget.Component });
4349
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: BaseScrollView, isStandalone: true, selector: "base-scroll-view", inputs: { direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, startOffset: { classPropertyName: "startOffset", publicName: "startOffset", isSignal: true, isRequired: false, transformFunction: null }, endOffset: { classPropertyName: "endOffset", publicName: "endOffset", isSignal: true, isRequired: false, transformFunction: null }, alignmentStartOffset: { classPropertyName: "alignmentStartOffset", publicName: "alignmentStartOffset", isSignal: true, isRequired: false, transformFunction: null }, alignmentEndOffset: { classPropertyName: "alignmentEndOffset", publicName: "alignmentEndOffset", isSignal: true, isRequired: false, transformFunction: null }, isInfinity: { classPropertyName: "isInfinity", publicName: "isInfinity", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "scrollContent", first: true, predicate: ["scrollContent"], descendants: true, isSignal: true }, { propertyName: "scrollViewport", first: true, predicate: ["scrollViewport"], descendants: true, isSignal: true }], ngImport: i0, template: '', isInline: true });
4325
4350
  }
4326
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: BaseScrollView, decorators: [{
4351
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: BaseScrollView, decorators: [{
4327
4352
  type: Component,
4328
4353
  args: [{
4329
4354
  selector: 'base-scroll-view',
@@ -4333,7 +4358,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
4333
4358
 
4334
4359
  /**
4335
4360
  * ScrollingDirection
4336
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/utils/scrolling-direction.ts
4361
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/utils/scrolling-direction.ts
4337
4362
  * @author Evgenii Alexandrovich Grebennikov
4338
4363
  * @email djonnyx@gmail.com
4339
4364
  */
@@ -4361,7 +4386,7 @@ class ScrollingDirection {
4361
4386
 
4362
4387
  /**
4363
4388
  * calculateVelocity
4364
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/calculate-velocity.ts
4389
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/utils/calculate-velocity.ts
4365
4390
  * @author Evgenii Alexandrovich Grebennikov
4366
4391
  * @email djonnyx@gmail.com
4367
4392
  */
@@ -4374,21 +4399,29 @@ const calculateVelocity = (startPosition, currentPosition, timestamp) => {
4374
4399
  * NgScrollView
4375
4400
  * Maximum performance for extremely large lists.
4376
4401
  * It is based on algorithms for virtualization of screen objects.
4377
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/ng-scroll-view.component.ts
4402
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-view/ng-scroll-view.component.ts
4378
4403
  * @author Evgenii Alexandrovich Grebennikov
4379
4404
  * @email djonnyx@gmail.com
4380
4405
  */
4381
4406
  class NgScrollView extends BaseScrollView {
4382
4407
  cdkScrollable;
4383
4408
  _service = inject(NgVirtualListService);
4384
- scrollBehavior = input(DEFAULT_SCROLL_BEHAVIOR, ...(ngDevMode ? [{ debugName: "scrollBehavior" }] : []));
4385
- overscrollEnabled = input(DEFAULT_OVERSCROLL_ENABLED, ...(ngDevMode ? [{ debugName: "overscrollEnabled" }] : []));
4386
- scrollingSettings = input(DEFAULT_SCROLLING_SETTINGS, ...(ngDevMode ? [{ debugName: "scrollingSettings" }] : []));
4387
- snapToItem = input(DEFAULT_SNAP_TO_ITEM, ...(ngDevMode ? [{ debugName: "snapToItem" }] : []));
4388
- scrollingOneByOne = input(DEFAULT_SCROLLING_ONE_BY_ONE, ...(ngDevMode ? [{ debugName: "scrollingOneByOne" }] : []));
4389
- snapToItemAlign = input(DEFAULT_SNAP_TO_ITEM_ALIGN, ...(ngDevMode ? [{ debugName: "snapToItemAlign" }] : []));
4390
- snappingDistance = input(DEFAULT_SNAPPING_DISTANCE, ...(ngDevMode ? [{ debugName: "snappingDistance" }] : []));
4391
- animationParams = input(DEFAULT_ANIMATION_PARAMS, ...(ngDevMode ? [{ debugName: "animationParams" }] : []));
4409
+ scrollBehavior = input(DEFAULT_SCROLL_BEHAVIOR, /* @ts-ignore */
4410
+ ...(ngDevMode ? [{ debugName: "scrollBehavior" }] : /* istanbul ignore next */ []));
4411
+ overscrollEnabled = input(DEFAULT_OVERSCROLL_ENABLED, /* @ts-ignore */
4412
+ ...(ngDevMode ? [{ debugName: "overscrollEnabled" }] : /* istanbul ignore next */ []));
4413
+ scrollingSettings = input(DEFAULT_SCROLLING_SETTINGS, /* @ts-ignore */
4414
+ ...(ngDevMode ? [{ debugName: "scrollingSettings" }] : /* istanbul ignore next */ []));
4415
+ snapToItem = input(DEFAULT_SNAP_TO_ITEM, /* @ts-ignore */
4416
+ ...(ngDevMode ? [{ debugName: "snapToItem" }] : /* istanbul ignore next */ []));
4417
+ scrollingOneByOne = input(DEFAULT_SCROLLING_ONE_BY_ONE, /* @ts-ignore */
4418
+ ...(ngDevMode ? [{ debugName: "scrollingOneByOne" }] : /* istanbul ignore next */ []));
4419
+ snapToItemAlign = input(DEFAULT_SNAP_TO_ITEM_ALIGN, /* @ts-ignore */
4420
+ ...(ngDevMode ? [{ debugName: "snapToItemAlign" }] : /* istanbul ignore next */ []));
4421
+ snappingDistance = input(DEFAULT_SNAPPING_DISTANCE, /* @ts-ignore */
4422
+ ...(ngDevMode ? [{ debugName: "snappingDistance" }] : /* istanbul ignore next */ []));
4423
+ animationParams = input(DEFAULT_ANIMATION_PARAMS, /* @ts-ignore */
4424
+ ...(ngDevMode ? [{ debugName: "animationParams" }] : /* istanbul ignore next */ []));
4392
4425
  _normalizeValueFromZero = inject(SCROLL_VIEW_NORMALIZE_VALUE_FROM_ZERO);
4393
4426
  _isScrollsTo = false;
4394
4427
  _scrollDirection = new ScrollingDirection();
@@ -5123,10 +5156,10 @@ class NgScrollView extends BaseScrollView {
5123
5156
  this._animator.dispose();
5124
5157
  }
5125
5158
  }
5126
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollView, deps: [], target: i0.ɵɵFactoryTarget.Component });
5127
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: NgScrollView, isStandalone: true, selector: "ng-scroll-view", inputs: { scrollBehavior: { classPropertyName: "scrollBehavior", publicName: "scrollBehavior", isSignal: true, isRequired: false, transformFunction: null }, overscrollEnabled: { classPropertyName: "overscrollEnabled", publicName: "overscrollEnabled", isSignal: true, isRequired: false, transformFunction: null }, scrollingSettings: { classPropertyName: "scrollingSettings", publicName: "scrollingSettings", isSignal: true, isRequired: false, transformFunction: null }, snapToItem: { classPropertyName: "snapToItem", publicName: "snapToItem", isSignal: true, isRequired: false, transformFunction: null }, scrollingOneByOne: { classPropertyName: "scrollingOneByOne", publicName: "scrollingOneByOne", isSignal: true, isRequired: false, transformFunction: null }, snapToItemAlign: { classPropertyName: "snapToItemAlign", publicName: "snapToItemAlign", isSignal: true, isRequired: false, transformFunction: null }, snappingDistance: { classPropertyName: "snappingDistance", publicName: "snappingDistance", isSignal: true, isRequired: false, transformFunction: null }, animationParams: { classPropertyName: "animationParams", publicName: "animationParams", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "cdkScrollable", first: true, predicate: ["scrollViewport"], descendants: true, read: CdkScrollable }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
5159
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollView, deps: [], target: i0.ɵɵFactoryTarget.Component });
5160
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: NgScrollView, isStandalone: true, selector: "ng-scroll-view", inputs: { scrollBehavior: { classPropertyName: "scrollBehavior", publicName: "scrollBehavior", isSignal: true, isRequired: false, transformFunction: null }, overscrollEnabled: { classPropertyName: "overscrollEnabled", publicName: "overscrollEnabled", isSignal: true, isRequired: false, transformFunction: null }, scrollingSettings: { classPropertyName: "scrollingSettings", publicName: "scrollingSettings", isSignal: true, isRequired: false, transformFunction: null }, snapToItem: { classPropertyName: "snapToItem", publicName: "snapToItem", isSignal: true, isRequired: false, transformFunction: null }, scrollingOneByOne: { classPropertyName: "scrollingOneByOne", publicName: "scrollingOneByOne", isSignal: true, isRequired: false, transformFunction: null }, snapToItemAlign: { classPropertyName: "snapToItemAlign", publicName: "snapToItemAlign", isSignal: true, isRequired: false, transformFunction: null }, snappingDistance: { classPropertyName: "snappingDistance", publicName: "snappingDistance", isSignal: true, isRequired: false, transformFunction: null }, animationParams: { classPropertyName: "animationParams", publicName: "animationParams", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "cdkScrollable", first: true, predicate: ["scrollViewport"], descendants: true, read: CdkScrollable }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
5128
5161
  }
5129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollView, decorators: [{
5162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollView, decorators: [{
5130
5163
  type: Component,
5131
5164
  args: [{
5132
5165
  selector: 'ng-scroll-view',
@@ -5143,31 +5176,47 @@ const DEFAULT_THICKNESS = 6, DEFAULT_SIZE = 6, PX = 'px', WIDTH = 'width', HEIGH
5143
5176
  * ScrollBar component.
5144
5177
  * Maximum performance for extremely large lists.
5145
5178
  * It is based on algorithms for virtualization of screen objects.
5146
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-scroll-bar/ng-scroll-bar.component.ts
5179
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-scroll-bar/ng-scroll-bar.component.ts
5147
5180
  * @author Evgenii Alexandrovich Grebennikov
5148
5181
  * @email djonnyx@gmail.com
5149
5182
  */
5150
5183
  class NgScrollBarComponent extends NgScrollView {
5151
- _defaultRenderer = viewChild('defaultRenderer', ...(ngDevMode ? [{ debugName: "_defaultRenderer" }] : []));
5184
+ _defaultRenderer = viewChild('defaultRenderer', /* @ts-ignore */
5185
+ ...(ngDevMode ? [{ debugName: "_defaultRenderer" }] : /* istanbul ignore next */ []));
5152
5186
  _scrollBarService = inject(NgScrollBarService);
5153
5187
  _apiService = inject(NgScrollBarPublicService);
5154
- loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
5188
+ loading = input(false, /* @ts-ignore */
5189
+ ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
5155
5190
  onDrag = output();
5156
5191
  onDragEnd = output();
5157
- thumbGradientPositions = input([0, 0], ...(ngDevMode ? [{ debugName: "thumbGradientPositions" }] : []));
5158
- size = input(DEFAULT_SIZE, ...(ngDevMode ? [{ debugName: "size" }] : []));
5159
- thickness = input(DEFAULT_THICKNESS, ...(ngDevMode ? [{ debugName: "thickness" }] : []));
5160
- scrollbarMinSize = input(0, ...(ngDevMode ? [{ debugName: "scrollbarMinSize" }] : []));
5161
- prepared = input(false, ...(ngDevMode ? [{ debugName: "prepared" }] : []));
5162
- langTextDir = input(DEFAULT_LANG_TEXT_DIR, ...(ngDevMode ? [{ debugName: "langTextDir" }] : []));
5163
- interactive = input(DEFAULT_SCROLLBAR_INTERACTIVE, ...(ngDevMode ? [{ debugName: "interactive" }] : []));
5164
- overlapping = input(DEFAULT_OVERLAPPING_SCROLLBAR, ...(ngDevMode ? [{ debugName: "overlapping" }] : []));
5165
- show = input(false, ...(ngDevMode ? [{ debugName: "show" }] : []));
5166
- params = input({}, ...(ngDevMode ? [{ debugName: "params" }] : []));
5167
- renderer = input(null, ...(ngDevMode ? [{ debugName: "renderer" }] : []));
5168
- thumbRenderer = signal(this._defaultRenderer() ?? null, ...(ngDevMode ? [{ debugName: "thumbRenderer" }] : []));
5169
- hoverState = signal(false, ...(ngDevMode ? [{ debugName: "hoverState" }] : []));
5170
- pressedState = signal(false, ...(ngDevMode ? [{ debugName: "pressedState" }] : []));
5192
+ thumbGradientPositions = input([0, 0], /* @ts-ignore */
5193
+ ...(ngDevMode ? [{ debugName: "thumbGradientPositions" }] : /* istanbul ignore next */ []));
5194
+ size = input(DEFAULT_SIZE, /* @ts-ignore */
5195
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
5196
+ thickness = input(DEFAULT_THICKNESS, /* @ts-ignore */
5197
+ ...(ngDevMode ? [{ debugName: "thickness" }] : /* istanbul ignore next */ []));
5198
+ scrollbarMinSize = input(0, /* @ts-ignore */
5199
+ ...(ngDevMode ? [{ debugName: "scrollbarMinSize" }] : /* istanbul ignore next */ []));
5200
+ prepared = input(false, /* @ts-ignore */
5201
+ ...(ngDevMode ? [{ debugName: "prepared" }] : /* istanbul ignore next */ []));
5202
+ langTextDir = input(DEFAULT_LANG_TEXT_DIR, /* @ts-ignore */
5203
+ ...(ngDevMode ? [{ debugName: "langTextDir" }] : /* istanbul ignore next */ []));
5204
+ interactive = input(DEFAULT_SCROLLBAR_INTERACTIVE, /* @ts-ignore */
5205
+ ...(ngDevMode ? [{ debugName: "interactive" }] : /* istanbul ignore next */ []));
5206
+ overlapping = input(DEFAULT_OVERLAPPING_SCROLLBAR, /* @ts-ignore */
5207
+ ...(ngDevMode ? [{ debugName: "overlapping" }] : /* istanbul ignore next */ []));
5208
+ show = input(false, /* @ts-ignore */
5209
+ ...(ngDevMode ? [{ debugName: "show" }] : /* istanbul ignore next */ []));
5210
+ params = input({}, /* @ts-ignore */
5211
+ ...(ngDevMode ? [{ debugName: "params" }] : /* istanbul ignore next */ []));
5212
+ renderer = input(null, /* @ts-ignore */
5213
+ ...(ngDevMode ? [{ debugName: "renderer" }] : /* istanbul ignore next */ []));
5214
+ thumbRenderer = signal(this._defaultRenderer() ?? null, /* @ts-ignore */
5215
+ ...(ngDevMode ? [{ debugName: "thumbRenderer" }] : /* istanbul ignore next */ []));
5216
+ hoverState = signal(false, /* @ts-ignore */
5217
+ ...(ngDevMode ? [{ debugName: "hoverState" }] : /* istanbul ignore next */ []));
5218
+ pressedState = signal(false, /* @ts-ignore */
5219
+ ...(ngDevMode ? [{ debugName: "pressedState" }] : /* istanbul ignore next */ []));
5171
5220
  templateContext;
5172
5221
  styles;
5173
5222
  thumbWidth;
@@ -5186,7 +5235,8 @@ class NgScrollBarComponent extends NgScrollView {
5186
5235
  params: this.params() ?? {},
5187
5236
  };
5188
5237
  return context;
5189
- }, ...(ngDevMode ? [{ debugName: "templateContext" }] : []));
5238
+ }, /* @ts-ignore */
5239
+ ...(ngDevMode ? [{ debugName: "templateContext" }] : /* istanbul ignore next */ []));
5190
5240
  const $renderer = toObservable(this.renderer).pipe(startWith(null)), $defaultRenderer = toObservable(this._defaultRenderer);
5191
5241
  combineLatest([$renderer, $defaultRenderer]).pipe(takeUntilDestroyed(), switchMap$1(([renderer, defaultRenderer]) => {
5192
5242
  return of((renderer ?? defaultRenderer) ?? null);
@@ -5201,10 +5251,12 @@ class NgScrollBarComponent extends NgScrollView {
5201
5251
  })).subscribe();
5202
5252
  this.thumbWidth = computed(() => {
5203
5253
  return this.isVertical() ? this.thickness() : this.size();
5204
- }, ...(ngDevMode ? [{ debugName: "thumbWidth" }] : []));
5254
+ }, /* @ts-ignore */
5255
+ ...(ngDevMode ? [{ debugName: "thumbWidth" }] : /* istanbul ignore next */ []));
5205
5256
  this.thumbHeight = computed(() => {
5206
5257
  return this.isVertical() ? this.size() : this.thickness();
5207
- }, ...(ngDevMode ? [{ debugName: "thumbHeight" }] : []));
5258
+ }, /* @ts-ignore */
5259
+ ...(ngDevMode ? [{ debugName: "thumbHeight" }] : /* istanbul ignore next */ []));
5208
5260
  const $wheel = this.$wheel;
5209
5261
  $wheel.pipe(takeUntilDestroyed(), debounceTime(100), tap(() => {
5210
5262
  const event = this.createDragEvent(true);
@@ -5250,7 +5302,8 @@ class NgScrollBarComponent extends NgScrollView {
5250
5302
  [sizePropName]: `${show ? this.thickness() : 0}${PX}`,
5251
5303
  [OPACITY]: show ? OPACITY_1 : OPACITY_0, [TRANSITION]: show ? TRANSITION_FADE_IN : NONE,
5252
5304
  };
5253
- }, ...(ngDevMode ? [{ debugName: "styles" }] : []));
5305
+ }, /* @ts-ignore */
5306
+ ...(ngDevMode ? [{ debugName: "styles" }] : /* istanbul ignore next */ []));
5254
5307
  effect(() => {
5255
5308
  const el = this._elementRef.nativeElement;
5256
5309
  if (!!el) {
@@ -5303,8 +5356,8 @@ class NgScrollBarComponent extends NgScrollView {
5303
5356
  click(event) {
5304
5357
  this._scrollBarService.click(event);
5305
5358
  }
5306
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5307
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: NgScrollBarComponent, isStandalone: false, selector: "ng-scroll-bar", inputs: { loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, thumbGradientPositions: { classPropertyName: "thumbGradientPositions", publicName: "thumbGradientPositions", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, thickness: { classPropertyName: "thickness", publicName: "thickness", isSignal: true, isRequired: false, transformFunction: null }, scrollbarMinSize: { classPropertyName: "scrollbarMinSize", publicName: "scrollbarMinSize", isSignal: true, isRequired: false, transformFunction: null }, prepared: { classPropertyName: "prepared", publicName: "prepared", isSignal: true, isRequired: false, transformFunction: null }, langTextDir: { classPropertyName: "langTextDir", publicName: "langTextDir", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, overlapping: { classPropertyName: "overlapping", publicName: "overlapping", isSignal: true, isRequired: false, transformFunction: null }, show: { classPropertyName: "show", publicName: "show", isSignal: true, isRequired: false, transformFunction: null }, params: { classPropertyName: "params", publicName: "params", isSignal: true, isRequired: false, transformFunction: null }, renderer: { classPropertyName: "renderer", publicName: "renderer", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onDrag: "onDrag", onDragEnd: "onDragEnd" }, providers: [
5359
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5360
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: NgScrollBarComponent, isStandalone: false, selector: "ng-scroll-bar", inputs: { loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, thumbGradientPositions: { classPropertyName: "thumbGradientPositions", publicName: "thumbGradientPositions", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, thickness: { classPropertyName: "thickness", publicName: "thickness", isSignal: true, isRequired: false, transformFunction: null }, scrollbarMinSize: { classPropertyName: "scrollbarMinSize", publicName: "scrollbarMinSize", isSignal: true, isRequired: false, transformFunction: null }, prepared: { classPropertyName: "prepared", publicName: "prepared", isSignal: true, isRequired: false, transformFunction: null }, langTextDir: { classPropertyName: "langTextDir", publicName: "langTextDir", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, overlapping: { classPropertyName: "overlapping", publicName: "overlapping", isSignal: true, isRequired: false, transformFunction: null }, show: { classPropertyName: "show", publicName: "show", isSignal: true, isRequired: false, transformFunction: null }, params: { classPropertyName: "params", publicName: "params", isSignal: true, isRequired: false, transformFunction: null }, renderer: { classPropertyName: "renderer", publicName: "renderer", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onDrag: "onDrag", onDragEnd: "onDragEnd" }, providers: [
5308
5361
  { provide: SCROLL_VIEW_INVERSION, useValue: true },
5309
5362
  { provide: SCROLL_VIEW_NORMALIZE_VALUE_FROM_ZERO, useValue: false },
5310
5363
  { provide: SCROLL_VIEW_OVERSCROLL_ENABLED, useValue: false },
@@ -5312,7 +5365,7 @@ class NgScrollBarComponent extends NgScrollView {
5312
5365
  NgScrollBarPublicService,
5313
5366
  ], viewQueries: [{ propertyName: "_defaultRenderer", first: true, predicate: ["defaultRenderer"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "@let grab = grabbing();\r\n<div #scrollViewport class=\"track\" part=\"scrollbar-track\" [ngStyle]=\"styles()\" [ngClass]=\"{grabbing: grab}\">\r\n <div #scrollContent class=\"thumb\" part=\"scrollbar-thumb\" [class.horizontal]=\"!isVertical()\"\r\n (pointerdown)=\"click($event)\">\r\n <ng-container [ngTemplateOutlet]=\"thumbRenderer()\" [ngTemplateOutletContext]=\"templateContext()\" />\r\n </div>\r\n</div>\r\n\r\n<ng-template #defaultRenderer let-api=\"api\" let-width=\"width\" let-height=\"height\" let-fillPositions=\"fillPositions\"\r\n let-params=\"params\">\r\n <div class=\"shape\" part=\"scrollbar-thumb__shape\" [style.width.px]=\"width\" [style.height.px]=\"height\"></div>\r\n</ng-template>", styles: [":host{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;width:100%;height:100%}.track{position:relative;overflow:hidden;width:100%;height:100%;cursor:grab}.track.grabbing{cursor:grabbing}.track .thumb{display:block;position:absolute;list-style:none;padding:0;margin:0;overflow:hidden}.track .thumb.prepared{overflow:hidden}.track .thumb.horizontal{top:0}.track .thumb .shape{box-sizing:border-box;pointer-events:none;background-color:#818181;border-radius:0;overflow:hidden}.track.grabbing .thumb{cursor:grabbing}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
5314
5367
  }
5315
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarComponent, decorators: [{
5368
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarComponent, decorators: [{
5316
5369
  type: Component,
5317
5370
  args: [{ selector: 'ng-scroll-bar', providers: [
5318
5371
  { provide: SCROLL_VIEW_INVERSION, useValue: true },
@@ -5328,13 +5381,15 @@ const RIGHT = 'right', DIR = 'dir';
5328
5381
  * LocaleSensitiveDirective
5329
5382
  * Maximum performance for extremely large lists.
5330
5383
  * It is based on algorithms for virtualization of screen objects.
5331
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/directives/locale-sensitive/locale-sensitive.directive.ts
5384
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/directives/locale-sensitive/locale-sensitive.directive.ts
5332
5385
  * @author Evgenii Alexandrovich Grebennikov
5333
5386
  * @email djonnyx@gmail.com
5334
5387
  */
5335
5388
  class LocaleSensitiveDirective {
5336
- langTextDir = input(TextDirections.LTR, ...(ngDevMode ? [{ debugName: "langTextDir" }] : []));
5337
- listDir = input(ScrollerDirection$1.VERTICAL, ...(ngDevMode ? [{ debugName: "listDir" }] : []));
5389
+ langTextDir = input(TextDirections.LTR, /* @ts-ignore */
5390
+ ...(ngDevMode ? [{ debugName: "langTextDir" }] : /* istanbul ignore next */ []));
5391
+ listDir = input(ScrollerDirection$1.VERTICAL, /* @ts-ignore */
5392
+ ...(ngDevMode ? [{ debugName: "listDir" }] : /* istanbul ignore next */ []));
5338
5393
  _elementRef = inject((ElementRef));
5339
5394
  constructor() {
5340
5395
  const $langTextDir = toObservable(this.langTextDir), $listDir = toObservable(this.listDir);
@@ -5352,10 +5407,10 @@ class LocaleSensitiveDirective {
5352
5407
  }
5353
5408
  })).subscribe();
5354
5409
  }
5355
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: LocaleSensitiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
5356
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.0", type: LocaleSensitiveDirective, isStandalone: false, selector: "[localeSensitive]", inputs: { langTextDir: { classPropertyName: "langTextDir", publicName: "langTextDir", isSignal: true, isRequired: false, transformFunction: null }, listDir: { classPropertyName: "listDir", publicName: "listDir", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
5410
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: LocaleSensitiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
5411
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.0", type: LocaleSensitiveDirective, isStandalone: false, selector: "[localeSensitive]", inputs: { langTextDir: { classPropertyName: "langTextDir", publicName: "langTextDir", isSignal: true, isRequired: false, transformFunction: null }, listDir: { classPropertyName: "listDir", publicName: "listDir", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
5357
5412
  }
5358
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: LocaleSensitiveDirective, decorators: [{
5413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: LocaleSensitiveDirective, decorators: [{
5359
5414
  type: Directive,
5360
5415
  args: [{
5361
5416
  selector: '[localeSensitive]',
@@ -5369,36 +5424,57 @@ const SCROLL_EVENT = new Event(SCROLLER_SCROLL);
5369
5424
  * The scroller for the NgVirtualList item component
5370
5425
  * Maximum performance for extremely large lists.
5371
5426
  * It is based on algorithms for virtualization of screen objects.
5372
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/scroller/ng-scroller.component.ts
5427
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/scroller/ng-scroller.component.ts
5373
5428
  * @author Evgenii Alexandrovich Grebennikov
5374
5429
  * @email djonnyx@gmail.com
5375
5430
  */
5376
5431
  class NgScrollerComponent extends NgScrollView {
5377
5432
  scrollBar;
5378
- filter = viewChild('filter', ...(ngDevMode ? [{ debugName: "filter" }] : []));
5433
+ filter = viewChild('filter', /* @ts-ignore */
5434
+ ...(ngDevMode ? [{ debugName: "filter" }] : /* istanbul ignore next */ []));
5379
5435
  onScrollbarVisible = output();
5380
- scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, ...(ngDevMode ? [{ debugName: "scrollbarEnabled" }] : []));
5381
- scrollbarInteractive = input(DEFAULT_SCROLLBAR_INTERACTIVE, ...(ngDevMode ? [{ debugName: "scrollbarInteractive" }] : []));
5382
- focusedElement = input(null, ...(ngDevMode ? [{ debugName: "focusedElement" }] : []));
5383
- overlappingScrollbar = input(DEFAULT_OVERLAPPING_SCROLLBAR, ...(ngDevMode ? [{ debugName: "overlappingScrollbar" }] : []));
5384
- content = input(...(ngDevMode ? [undefined, { debugName: "content" }] : []));
5385
- loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
5386
- classes = input({}, ...(ngDevMode ? [{ debugName: "classes" }] : []));
5387
- scrollbarMinSize = input(DEFAULT_SCROLLBAR_MIN_SIZE, ...(ngDevMode ? [{ debugName: "scrollbarMinSize" }] : []));
5388
- scrollbarThickness = input(DEFAULT_SCROLLBAR_THICKNESS, ...(ngDevMode ? [{ debugName: "scrollbarThickness" }] : []));
5389
- scrollbarThumbRenderer = input(null, ...(ngDevMode ? [{ debugName: "scrollbarThumbRenderer" }] : []));
5390
- scrollbarThumbParams = input(null, ...(ngDevMode ? [{ debugName: "scrollbarThumbParams" }] : []));
5391
- motionBlur = input(DEFAULT_MOTION_BLUR, ...(ngDevMode ? [{ debugName: "motionBlur" }] : []));
5392
- maxMotionBlur = input(DEFAULT_MAX_MOTION_BLUR, ...(ngDevMode ? [{ debugName: "maxMotionBlur" }] : []));
5393
- motionBlurEnabled = input(DEFAULT_MOTION_BLUR_ENABLED, ...(ngDevMode ? [{ debugName: "motionBlurEnabled" }] : []));
5436
+ scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, /* @ts-ignore */
5437
+ ...(ngDevMode ? [{ debugName: "scrollbarEnabled" }] : /* istanbul ignore next */ []));
5438
+ scrollbarInteractive = input(DEFAULT_SCROLLBAR_INTERACTIVE, /* @ts-ignore */
5439
+ ...(ngDevMode ? [{ debugName: "scrollbarInteractive" }] : /* istanbul ignore next */ []));
5440
+ focusedElement = input(null, /* @ts-ignore */
5441
+ ...(ngDevMode ? [{ debugName: "focusedElement" }] : /* istanbul ignore next */ []));
5442
+ overlappingScrollbar = input(DEFAULT_OVERLAPPING_SCROLLBAR, /* @ts-ignore */
5443
+ ...(ngDevMode ? [{ debugName: "overlappingScrollbar" }] : /* istanbul ignore next */ []));
5444
+ content = input(/* @ts-ignore */
5445
+ ...(ngDevMode ? [undefined, { debugName: "content" }] : /* istanbul ignore next */ []));
5446
+ loading = input(false, /* @ts-ignore */
5447
+ ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
5448
+ classes = input({}, /* @ts-ignore */
5449
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
5450
+ scrollbarMinSize = input(DEFAULT_SCROLLBAR_MIN_SIZE, /* @ts-ignore */
5451
+ ...(ngDevMode ? [{ debugName: "scrollbarMinSize" }] : /* istanbul ignore next */ []));
5452
+ scrollbarThickness = input(DEFAULT_SCROLLBAR_THICKNESS, /* @ts-ignore */
5453
+ ...(ngDevMode ? [{ debugName: "scrollbarThickness" }] : /* istanbul ignore next */ []));
5454
+ scrollbarThumbRenderer = input(null, /* @ts-ignore */
5455
+ ...(ngDevMode ? [{ debugName: "scrollbarThumbRenderer" }] : /* istanbul ignore next */ []));
5456
+ scrollbarThumbParams = input(null, /* @ts-ignore */
5457
+ ...(ngDevMode ? [{ debugName: "scrollbarThumbParams" }] : /* istanbul ignore next */ []));
5458
+ motionBlur = input(DEFAULT_MOTION_BLUR, /* @ts-ignore */
5459
+ ...(ngDevMode ? [{ debugName: "motionBlur" }] : /* istanbul ignore next */ []));
5460
+ maxMotionBlur = input(DEFAULT_MAX_MOTION_BLUR, /* @ts-ignore */
5461
+ ...(ngDevMode ? [{ debugName: "maxMotionBlur" }] : /* istanbul ignore next */ []));
5462
+ motionBlurEnabled = input(DEFAULT_MOTION_BLUR_ENABLED, /* @ts-ignore */
5463
+ ...(ngDevMode ? [{ debugName: "motionBlurEnabled" }] : /* istanbul ignore next */ []));
5394
5464
  actualClasses;
5395
5465
  containerClasses;
5396
- thumbGradientPositions = signal([0, 0], ...(ngDevMode ? [{ debugName: "thumbGradientPositions" }] : []));
5397
- thumbSize = signal(0, ...(ngDevMode ? [{ debugName: "thumbSize" }] : []));
5398
- scrollbarShow = signal(false, ...(ngDevMode ? [{ debugName: "scrollbarShow" }] : []));
5399
- preparedSignal = signal(false, ...(ngDevMode ? [{ debugName: "preparedSignal" }] : []));
5400
- langTextDir = signal(TextDirections.LTR, ...(ngDevMode ? [{ debugName: "langTextDir" }] : []));
5401
- listStyles = signal({ perspectiveOrigin: 'center' }, ...(ngDevMode ? [{ debugName: "listStyles" }] : []));
5466
+ thumbGradientPositions = signal([0, 0], /* @ts-ignore */
5467
+ ...(ngDevMode ? [{ debugName: "thumbGradientPositions" }] : /* istanbul ignore next */ []));
5468
+ thumbSize = signal(0, /* @ts-ignore */
5469
+ ...(ngDevMode ? [{ debugName: "thumbSize" }] : /* istanbul ignore next */ []));
5470
+ scrollbarShow = signal(false, /* @ts-ignore */
5471
+ ...(ngDevMode ? [{ debugName: "scrollbarShow" }] : /* istanbul ignore next */ []));
5472
+ preparedSignal = signal(false, /* @ts-ignore */
5473
+ ...(ngDevMode ? [{ debugName: "preparedSignal" }] : /* istanbul ignore next */ []));
5474
+ langTextDir = signal(TextDirections.LTR, /* @ts-ignore */
5475
+ ...(ngDevMode ? [{ debugName: "langTextDir" }] : /* istanbul ignore next */ []));
5476
+ listStyles = signal({ perspectiveOrigin: 'center' }, /* @ts-ignore */
5477
+ ...(ngDevMode ? [{ debugName: "listStyles" }] : /* istanbul ignore next */ []));
5402
5478
  _scrollBox = new ScrollBox$1();
5403
5479
  get host() {
5404
5480
  return this.scrollViewport()?.nativeElement;
@@ -5452,7 +5528,8 @@ class NgScrollerComponent extends NgScrollView {
5452
5528
  }
5453
5529
  }
5454
5530
  get startLayoutOffset() { return this._startLayoutOffset; }
5455
- viewInitialized = signal(false, ...(ngDevMode ? [{ debugName: "viewInitialized" }] : []));
5531
+ viewInitialized = signal(false, /* @ts-ignore */
5532
+ ...(ngDevMode ? [{ debugName: "viewInitialized" }] : /* istanbul ignore next */ []));
5456
5533
  _isScrollbarUserAction = false;
5457
5534
  get isScrollbarUserAction() {
5458
5535
  return this._isScrollbarUserAction;
@@ -5499,11 +5576,13 @@ class NgScrollerComponent extends NgScrollView {
5499
5576
  this.actualClasses = computed(() => {
5500
5577
  const classes = this.classes(), direction = this.direction(), filtered = this.motionBlurEnabled();
5501
5578
  return { ...classes, [direction]: true, grabbing: this.grabbing(), filtered };
5502
- }, ...(ngDevMode ? [{ debugName: "actualClasses" }] : []));
5579
+ }, /* @ts-ignore */
5580
+ ...(ngDevMode ? [{ debugName: "actualClasses" }] : /* istanbul ignore next */ []));
5503
5581
  this.containerClasses = computed(() => {
5504
5582
  const { width: contentWidth, height: contentHeight } = this.contentBounds(), { width, height } = this.viewportBounds(), overlappingScrollbar = this.overlappingScrollbar(), isVertical = this.isVertical(), viewportSize = isVertical ? height : width, contentSize = isVertical ? contentHeight : contentWidth;
5505
5583
  return { [this.direction()]: true, grabbing: this.grabbing(), enabled: this.scrollbarEnabled(), scrollable: contentSize > viewportSize, overlapping: overlappingScrollbar };
5506
- }, ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
5584
+ }, /* @ts-ignore */
5585
+ ...(ngDevMode ? [{ debugName: "containerClasses" }] : /* istanbul ignore next */ []));
5507
5586
  effect(() => {
5508
5587
  const viewInitialized = this.viewInitialized();
5509
5588
  if (viewInitialized) {
@@ -5704,14 +5783,14 @@ class NgScrollerComponent extends NgScrollView {
5704
5783
  }
5705
5784
  return false;
5706
5785
  }
5707
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5708
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: NgScrollerComponent, isStandalone: false, selector: "ng-scroller", inputs: { scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, scrollbarInteractive: { classPropertyName: "scrollbarInteractive", publicName: "scrollbarInteractive", isSignal: true, isRequired: false, transformFunction: null }, focusedElement: { classPropertyName: "focusedElement", publicName: "focusedElement", isSignal: true, isRequired: false, transformFunction: null }, overlappingScrollbar: { classPropertyName: "overlappingScrollbar", publicName: "overlappingScrollbar", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, classes: { classPropertyName: "classes", publicName: "classes", isSignal: true, isRequired: false, transformFunction: null }, scrollbarMinSize: { classPropertyName: "scrollbarMinSize", publicName: "scrollbarMinSize", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThickness: { classPropertyName: "scrollbarThickness", publicName: "scrollbarThickness", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThumbRenderer: { classPropertyName: "scrollbarThumbRenderer", publicName: "scrollbarThumbRenderer", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThumbParams: { classPropertyName: "scrollbarThumbParams", publicName: "scrollbarThumbParams", isSignal: true, isRequired: false, transformFunction: null }, motionBlur: { classPropertyName: "motionBlur", publicName: "motionBlur", isSignal: true, isRequired: false, transformFunction: null }, maxMotionBlur: { classPropertyName: "maxMotionBlur", publicName: "maxMotionBlur", isSignal: true, isRequired: false, transformFunction: null }, motionBlurEnabled: { classPropertyName: "motionBlurEnabled", publicName: "motionBlurEnabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onScrollbarVisible: "onScrollbarVisible" }, providers: [
5786
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5787
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: NgScrollerComponent, isStandalone: false, selector: "ng-scroller", inputs: { scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, scrollbarInteractive: { classPropertyName: "scrollbarInteractive", publicName: "scrollbarInteractive", isSignal: true, isRequired: false, transformFunction: null }, focusedElement: { classPropertyName: "focusedElement", publicName: "focusedElement", isSignal: true, isRequired: false, transformFunction: null }, overlappingScrollbar: { classPropertyName: "overlappingScrollbar", publicName: "overlappingScrollbar", isSignal: true, isRequired: false, transformFunction: null }, content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, classes: { classPropertyName: "classes", publicName: "classes", isSignal: true, isRequired: false, transformFunction: null }, scrollbarMinSize: { classPropertyName: "scrollbarMinSize", publicName: "scrollbarMinSize", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThickness: { classPropertyName: "scrollbarThickness", publicName: "scrollbarThickness", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThumbRenderer: { classPropertyName: "scrollbarThumbRenderer", publicName: "scrollbarThumbRenderer", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThumbParams: { classPropertyName: "scrollbarThumbParams", publicName: "scrollbarThumbParams", isSignal: true, isRequired: false, transformFunction: null }, motionBlur: { classPropertyName: "motionBlur", publicName: "motionBlur", isSignal: true, isRequired: false, transformFunction: null }, maxMotionBlur: { classPropertyName: "maxMotionBlur", publicName: "maxMotionBlur", isSignal: true, isRequired: false, transformFunction: null }, motionBlurEnabled: { classPropertyName: "motionBlurEnabled", publicName: "motionBlurEnabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onScrollbarVisible: "onScrollbarVisible" }, providers: [
5709
5788
  { provide: SCROLL_VIEW_INVERSION, useValue: false },
5710
5789
  { provide: SCROLL_VIEW_NORMALIZE_VALUE_FROM_ZERO, useValue: true },
5711
5790
  { provide: SCROLL_VIEW_OVERSCROLL_ENABLED, useValue: true },
5712
5791
  ], viewQueries: [{ propertyName: "filter", first: true, predicate: ["filter"], descendants: true, isSignal: true }, { propertyName: "scrollBar", first: true, predicate: ["scrollBar"], descendants: true, read: NgScrollBarComponent }], usesInheritance: true, ngImport: i0, template: "@let filtered = motionBlurEnabled();\r\n<div localeSensitive [langTextDir]=\"langTextDir()\" [listDir]=\"direction()\" class=\"ngvl__container\"\r\n [ngClass]=\"containerClasses()\">\r\n <svg part=\"viewport\" width=\"100%\" height=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <filter [id]=\"_filterId\">\r\n <feGaussianBlur #filter></feGaussianBlur>\r\n </filter>\r\n <foreignObject xmlns=\"http://www.w3.org/1999/xhtml\" width=\"100%\" height=\"100%\" class=\"ngvl__viewport\">\r\n <div class=\"ngvl__scroller-wrapper\" [class.filtered]=\"filtered\" [style.filter]=\"filtered ? _filter : 'unset'\">\r\n <div cdkScrollable #scrollViewport part=\"scroller\" class=\"ngvl__scroller\">\r\n <div #scrollContent [attr.aria-orientation]=\"direction()\"\r\n [attr.aria-activedescendant]=\"focusedElement()\" tabindex=\"0\" part=\"list\" class=\"ngvl__list\"\r\n [ngClass]=\"actualClasses()\" [ngStyle]=\"listStyles()\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n </foreignObject>\r\n </svg>\r\n @if (scrollbarEnabled()) {\r\n @let prepared = preparedSignal();\r\n <ng-scroll-bar #scrollBar [direction]=\"direction()\" [size]=\"thumbSize()\" [renderer]=\"scrollbarThumbRenderer()\"\r\n [thickness]=\"scrollbarThickness()\" [params]=\"scrollbarThumbParams()\" [loading]=\"loading()\" [overlapping]=\"overlappingScrollbar()\"\r\n [thumbGradientPositions]=\"thumbGradientPositions()\" [prepared]=\"prepared\" [interactive]=\"scrollbarInteractive()\"\r\n [show]=\"scrollbarShow() && scrollbarEnabled() && prepared\" [startOffset]=\"startOffset()\" [langTextDir]=\"langTextDir()\"\r\n [endOffset]=\"endOffset()\" [overscrollEnabled]=\"overscrollEnabled()\" [scrollBehavior]=\"scrollBehavior()\"\r\n [scrollbarMinSize]=\"scrollbarMinSize()\" (onDrag)=\"onScrollBarDragHandler($event)\"\r\n (onDragEnd)=\"onScrollBarDragEndHandler($event)\"></ng-scroll-bar>\r\n }\r\n</div>", styles: [":host{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none}.ngvl__container{position:relative;overflow:hidden;display:grid;width:100%;height:100%;cursor:grab}.ngvl__container.overlapping{position:relative;display:block}.ngvl__container.grabbing{cursor:grabbing}.ngvl__container.horizontal:not(.overlapping){grid-template-rows:1fr 0}.ngvl__container.horizontal{transition:grid-template-rows .1s ease-out}.ngvl__container.horizontal.scrollable.enabled:not(.overlapping){grid-template-rows:1fr auto}.ngvl__container.horizontal .ngvl__list{display:inline-flex}.ngvl__container.horizontal .ngvl__scroller-wrapper.filtered,.ngvl__container.horizontal .ngvl__scroller{overflow:unset}.ngvl__container.vertical:not(.overlapping){grid-template-columns:1fr 0}.ngvl__container.vertical{transition:grid-template-columns .1s ease-out}.ngvl__container.vertical.scrollable.enabled:not(.overlapping){grid-template-columns:1fr auto}.ngvl__container.vertical .ngvl__scroller-wrapper.filtered,.ngvl__container.vertical .ngvl__scroller{overflow:unset}.ngvl__container .ngvl__scroller-wrapper,.ngvl__container .ngvl__scroller{display:block;position:relative;overflow:hidden;width:100%;height:100%}.ngvl__container .ngvl__list{position:absolute;list-style:none;padding:0;margin:0;width:100%;height:100%;opacity:0}.ngvl__container .ngvl__list.prepared{opacity:1}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: NgScrollBarComponent, selector: "ng-scroll-bar", inputs: ["loading", "thumbGradientPositions", "size", "thickness", "scrollbarMinSize", "prepared", "langTextDir", "interactive", "overlapping", "show", "params", "renderer"], outputs: ["onDrag", "onDragEnd"] }, { kind: "directive", type: LocaleSensitiveDirective, selector: "[localeSensitive]", inputs: ["langTextDir", "listDir"] }, { kind: "directive", type: i4.CdkScrollable, selector: "[cdk-scrollable], [cdkScrollable]" }] });
5713
5792
  }
5714
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollerComponent, decorators: [{
5793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollerComponent, decorators: [{
5715
5794
  type: Component,
5716
5795
  args: [{ selector: 'ng-scroller', providers: [
5717
5796
  { provide: SCROLL_VIEW_INVERSION, useValue: false },
@@ -5803,7 +5882,7 @@ const createItemData = (data, isVertical, bounds, boundsSize, dynamic, divides,
5803
5882
  * PrerenderTrackBox
5804
5883
  * Maximum performance for extremely large lists.
5805
5884
  * It is based on algorithms for virtualization of screen objects.
5806
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/prerender-container/core/prerender-track-box.ts
5885
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/prerender-container/core/prerender-track-box.ts
5807
5886
  * @author Evgenii Alexandrovich Grebennikov
5808
5887
  * @email djonnyx@gmail.com
5809
5888
  */
@@ -5927,7 +6006,7 @@ class PrerenderTrackBox extends EventEmitter {
5927
6006
  * NgPrerenderVirtualListItemComponent
5928
6007
  * Maximum performance for extremely large lists.
5929
6008
  * It is based on algorithms for virtualization of screen objects.
5930
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-prerender-container/components/ng-prerender-list-item/ng-prerender-list-item.component.ts
6009
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-prerender-container/components/ng-prerender-list-item/ng-prerender-list-item.component.ts
5931
6010
  * @author Evgenii Alexandrovich Grebennikov
5932
6011
  * @email djonnyx@gmail.com
5933
6012
  */
@@ -6001,10 +6080,10 @@ class NgPrerenderVirtualListItemComponent extends NgVirtualListItemComponent {
6001
6080
  styles.visibility = VISIBILITY_HIDDEN;
6002
6081
  }
6003
6082
  }
6004
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderVirtualListItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
6005
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: NgPrerenderVirtualListItemComponent, isStandalone: false, selector: "ng-prerender-virtual-list-item", host: { attributes: { "role": "listitem" }, classAttribute: "ngvl__item" }, usesInheritance: true, ngImport: i0, template: "@let renderer = itemRenderer();\r\n@let class = classes();\r\n<div #item class=\"ngvl-item\" [ngClass]=\"class\" [part]=\"part()\" [attr.ngvl-index]=\"index()\" [attr.ngvl-visibility]=\"visibility\" tabindex=\"-1\">\r\n @if (_blendColor) {\r\n <div class=\"ngvl-item__blend-color\" [style.--blend-color]=\"_blendColor\"></div>\r\n }\r\n <div #container virtualClick [part]=\"fxPart()\" [maxClickDistance]=\"maxClickDistance()\" class=\"ngvl-item__container\"\r\n [ngClass]=\"class\" (onVirtualClick)=\"onClickHandler()\">\r\n @if (renderer) {\r\n <ng-container [ngTemplateOutlet]=\"renderer\" [ngTemplateOutletContext]=\"templateContext()\" />\r\n }\r\n </div>\r\n</div>", styles: [":host{display:block;position:absolute;left:0;top:0;box-sizing:border-box;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none;-moz-user-drag:none;text-rendering:optimizeSpeed;image-rendering:auto}.ngvl-item{position:relative;margin:0;padding:0;overflow:hidden;outline:none;width:inherit;height:inherit;box-sizing:border-box}.ngvl-item__blend-color{position:absolute;left:0;top:0;width:100%;height:100%;background-color:var(--blend-color);z-index:-1}.ngvl-item__container{margin:0;padding:0;width:100%;height:100%;box-sizing:border-box}\n", ":host{display:block;position:absolute!important;left:0;top:0;box-sizing:border-box;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none;-moz-user-drag:none;pointer-events:none;-webkit-user-select:none;user-select:none;text-rendering:optimizeSpeed;image-rendering:pixelated}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: VirtualClickDirective, selector: "[virtualClick]", inputs: ["maxClickDistance"], outputs: ["onVirtualClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6083
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderVirtualListItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
6084
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: NgPrerenderVirtualListItemComponent, isStandalone: false, selector: "ng-prerender-virtual-list-item", host: { attributes: { "role": "listitem" }, classAttribute: "ngvl__item" }, usesInheritance: true, ngImport: i0, template: "@let renderer = itemRenderer();\r\n@let class = classes();\r\n<div #item class=\"ngvl-item\" [ngClass]=\"class\" [part]=\"part()\" [attr.ngvl-index]=\"index()\" [attr.ngvl-visibility]=\"visibility\" tabindex=\"-1\">\r\n @if (_blendColor) {\r\n <div class=\"ngvl-item__blend-color\" [style.--blend-color]=\"_blendColor\"></div>\r\n }\r\n <div #container virtualClick [part]=\"fxPart()\" [maxClickDistance]=\"maxClickDistance()\" class=\"ngvl-item__container\"\r\n [ngClass]=\"class\" (onVirtualClick)=\"onClickHandler()\">\r\n @if (renderer) {\r\n <ng-container [ngTemplateOutlet]=\"renderer\" [ngTemplateOutletContext]=\"templateContext()\" />\r\n }\r\n </div>\r\n</div>", styles: [":host{display:block;position:absolute;left:0;top:0;box-sizing:border-box;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none;-moz-user-drag:none;text-rendering:optimizeSpeed;image-rendering:auto}.ngvl-item{position:relative;margin:0;padding:0;overflow:hidden;outline:none;width:inherit;height:inherit;box-sizing:border-box}.ngvl-item__blend-color{position:absolute;left:0;top:0;width:100%;height:100%;background-color:var(--blend-color);z-index:-1}.ngvl-item__container{margin:0;padding:0;width:100%;height:100%;box-sizing:border-box}\n", ":host{display:block;position:absolute!important;left:0;top:0;box-sizing:border-box;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-user-drag:none;-moz-user-drag:none;pointer-events:none;-webkit-user-select:none;user-select:none;text-rendering:optimizeSpeed;image-rendering:pixelated}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: VirtualClickDirective, selector: "[virtualClick]", inputs: ["maxClickDistance"], outputs: ["onVirtualClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6006
6085
  }
6007
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderVirtualListItemComponent, decorators: [{
6086
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderVirtualListItemComponent, decorators: [{
6008
6087
  type: Component,
6009
6088
  args: [{ selector: 'ng-prerender-virtual-list-item', host: {
6010
6089
  'class': 'ngvl__item',
@@ -6016,19 +6095,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
6016
6095
  * NgPrerenderScrollerComponent
6017
6096
  * Maximum performance for extremely large lists.
6018
6097
  * It is based on algorithms for virtualization of screen objects.
6019
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-prerender-container/components/ng-prerender-scroller/ng-prerender-scroller.component.ts
6098
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-prerender-container/components/ng-prerender-scroller/ng-prerender-scroller.component.ts
6020
6099
  * @author Evgenii Alexandrovich Grebennikov
6021
6100
  * @email djonnyx@gmail.com
6022
6101
  */
6023
6102
  class NgPrerenderScrollerComponent extends BaseScrollView {
6024
6103
  scrollBar;
6025
- langTextDir = signal(TextDirections.LTR, ...(ngDevMode ? [{ debugName: "langTextDir" }] : []));
6026
- scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, ...(ngDevMode ? [{ debugName: "scrollbarEnabled" }] : []));
6027
- classes = input({}, ...(ngDevMode ? [{ debugName: "classes" }] : []));
6104
+ langTextDir = signal(TextDirections.LTR, /* @ts-ignore */
6105
+ ...(ngDevMode ? [{ debugName: "langTextDir" }] : /* istanbul ignore next */ []));
6106
+ scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, /* @ts-ignore */
6107
+ ...(ngDevMode ? [{ debugName: "scrollbarEnabled" }] : /* istanbul ignore next */ []));
6108
+ classes = input({}, /* @ts-ignore */
6109
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
6028
6110
  actualClasses;
6029
- containerClasses = signal({}, ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
6030
- thumbSize = signal(0, ...(ngDevMode ? [{ debugName: "thumbSize" }] : []));
6031
- scrollbarShow = signal(false, ...(ngDevMode ? [{ debugName: "scrollbarShow" }] : []));
6111
+ containerClasses = signal({}, /* @ts-ignore */
6112
+ ...(ngDevMode ? [{ debugName: "containerClasses" }] : /* istanbul ignore next */ []));
6113
+ thumbSize = signal(0, /* @ts-ignore */
6114
+ ...(ngDevMode ? [{ debugName: "thumbSize" }] : /* istanbul ignore next */ []));
6115
+ scrollbarShow = signal(false, /* @ts-ignore */
6116
+ ...(ngDevMode ? [{ debugName: "scrollbarShow" }] : /* istanbul ignore next */ []));
6032
6117
  set x(v) {
6033
6118
  if (v !== undefined && !Number.isNaN(v)) {
6034
6119
  this._x = this._actualX = v;
@@ -6063,7 +6148,8 @@ class NgPrerenderScrollerComponent extends BaseScrollView {
6063
6148
  this.actualClasses = computed(() => {
6064
6149
  const classes = this.classes(), direction = this.direction();
6065
6150
  return { ...classes, [direction]: true };
6066
- }, ...(ngDevMode ? [{ debugName: "actualClasses" }] : []));
6151
+ }, /* @ts-ignore */
6152
+ ...(ngDevMode ? [{ debugName: "actualClasses" }] : /* istanbul ignore next */ []));
6067
6153
  const $contentBounds = toObservable(this.contentBounds), $viewportBounds = toObservable(this.viewportBounds), $isVertical = toObservable(this.isVertical), $direction = toObservable(this.direction), $scrollbarEnabled = toObservable(this.scrollbarEnabled);
6068
6154
  combineLatest([$direction, $scrollbarEnabled, $isVertical, $contentBounds, $viewportBounds]).pipe(takeUntilDestroyed(), tap(([direction, scrollbarEnabled]) => {
6069
6155
  this.containerClasses.set({ [direction]: true, enabled: scrollbarEnabled, scrollable: scrollbarEnabled });
@@ -6100,14 +6186,14 @@ class NgPrerenderScrollerComponent extends BaseScrollView {
6100
6186
  updateScrollBar() {
6101
6187
  this._$updateScrollBar.next();
6102
6188
  }
6103
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderScrollerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6104
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: NgPrerenderScrollerComponent, isStandalone: false, selector: "ng-prerender-scroller", inputs: { scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, classes: { classPropertyName: "classes", publicName: "classes", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
6189
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderScrollerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6190
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: NgPrerenderScrollerComponent, isStandalone: false, selector: "ng-prerender-scroller", inputs: { scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, classes: { classPropertyName: "classes", publicName: "classes", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
6105
6191
  { provide: SCROLL_VIEW_INVERSION, useValue: false },
6106
6192
  { provide: SCROLL_VIEW_NORMALIZE_VALUE_FROM_ZERO, useValue: true },
6107
6193
  { provide: SCROLL_VIEW_OVERSCROLL_ENABLED, useValue: false },
6108
6194
  ], viewQueries: [{ propertyName: "scrollBar", first: true, predicate: ["scrollBar"], descendants: true, read: NgScrollBarComponent }], usesInheritance: true, ngImport: i0, template: "<div localeSensitive [langTextDir]=\"langTextDir()\" [listDir]=\"direction()\" class=\"ngvl__container\"\r\n [ngClass]=\"containerClasses()\">\r\n <div #scrollViewport part=\"scroller\" class=\"ngvl__scroller\">\r\n <div #scrollContent part=\"list\" class=\"ngvl__list\" [ngClass]=\"actualClasses()\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>", styles: [":host{position:relative;overflow:hidden;-webkit-user-select:none;user-select:none}.ngvl__container{position:relative;overflow:hidden;display:grid;width:100%;height:100%;cursor:grab}.ngvl__container.overlapping{position:relative;display:block}.ngvl__container.grabbing{cursor:grabbing}.ngvl__container.horizontal:not(.overlapping){grid-template-rows:1fr 0}.ngvl__container.horizontal{transition:grid-template-rows .1s ease-out}.ngvl__container.horizontal.scrollable.enabled:not(.overlapping){grid-template-rows:1fr auto}.ngvl__container.horizontal .ngvl__list{display:inline-flex}.ngvl__container.horizontal .ngvl__scroller-wrapper.filtered,.ngvl__container.horizontal .ngvl__scroller{overflow:unset}.ngvl__container.vertical:not(.overlapping){grid-template-columns:1fr 0}.ngvl__container.vertical{transition:grid-template-columns .1s ease-out}.ngvl__container.vertical.scrollable.enabled:not(.overlapping){grid-template-columns:1fr auto}.ngvl__container.vertical .ngvl__scroller-wrapper.filtered,.ngvl__container.vertical .ngvl__scroller{overflow:unset}.ngvl__container .ngvl__scroller-wrapper,.ngvl__container .ngvl__scroller{display:block;position:relative;overflow:hidden;width:100%;height:100%}.ngvl__container .ngvl__list{position:absolute;list-style:none;padding:0;margin:0;width:100%;height:100%;opacity:0}.ngvl__container .ngvl__list.prepared{opacity:1}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: LocaleSensitiveDirective, selector: "[localeSensitive]", inputs: ["langTextDir", "listDir"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6109
6195
  }
6110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderScrollerComponent, decorators: [{
6196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderScrollerComponent, decorators: [{
6111
6197
  type: Component,
6112
6198
  args: [{ selector: 'ng-prerender-scroller', providers: [
6113
6199
  { provide: SCROLL_VIEW_INVERSION, useValue: false },
@@ -6123,27 +6209,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
6123
6209
  * NgPrerenderList
6124
6210
  * Maximum performance for extremely large lists.
6125
6211
  * It is based on algorithms for virtualization of screen objects.
6126
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-prerender-container/components/ng-prerender-list/ng-prerender-list.component.ts
6212
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-prerender-container/components/ng-prerender-list/ng-prerender-list.component.ts
6127
6213
  * @author Evgenii Alexandrovich Grebennikov
6128
6214
  * @email djonnyx@gmail.com
6129
6215
  */
6130
6216
  class NgPrerenderList {
6131
6217
  _listContainerRef;
6132
- enabled = input(false, ...(ngDevMode ? [{ debugName: "enabled" }] : []));
6133
- direction = input(DEFAULT_DIRECTION, ...(ngDevMode ? [{ debugName: "direction" }] : []));
6134
- isVertical = input(true, ...(ngDevMode ? [{ debugName: "isVertical" }] : []));
6135
- scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, ...(ngDevMode ? [{ debugName: "scrollbarEnabled" }] : []));
6136
- startOffset = input(0, ...(ngDevMode ? [{ debugName: "startOffset" }] : []));
6137
- endOffset = input(0, ...(ngDevMode ? [{ debugName: "endOffset" }] : []));
6138
- bounds = input.required(...(ngDevMode ? [{ debugName: "bounds" }] : []));
6139
- dynamic = input(DEFAULT_DYNAMIC_SIZE, ...(ngDevMode ? [{ debugName: "dynamic" }] : []));
6140
- itemSize = input(DEFAULT_ITEM_SIZE, ...(ngDevMode ? [{ debugName: "itemSize" }] : []));
6141
- trackBy = input(TRACK_BY_PROPERTY_NAME, ...(ngDevMode ? [{ debugName: "trackBy" }] : []));
6142
- divides = input(DEFAULT_DIVIDES, ...(ngDevMode ? [{ debugName: "divides" }] : []));
6143
- itemRenderer = input(...(ngDevMode ? [undefined, { debugName: "itemRenderer" }] : []));
6144
- itemComponentClass = input(NgPrerenderVirtualListItemComponent, ...(ngDevMode ? [{ debugName: "itemComponentClass" }] : []));
6145
- _items = signal(null, ...(ngDevMode ? [{ debugName: "_items" }] : []));
6146
- classes = signal({ prepared: true }, ...(ngDevMode ? [{ debugName: "classes" }] : []));
6218
+ enabled = input(false, /* @ts-ignore */
6219
+ ...(ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []));
6220
+ direction = input(DEFAULT_DIRECTION, /* @ts-ignore */
6221
+ ...(ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []));
6222
+ isVertical = input(true, /* @ts-ignore */
6223
+ ...(ngDevMode ? [{ debugName: "isVertical" }] : /* istanbul ignore next */ []));
6224
+ scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, /* @ts-ignore */
6225
+ ...(ngDevMode ? [{ debugName: "scrollbarEnabled" }] : /* istanbul ignore next */ []));
6226
+ startOffset = input(0, /* @ts-ignore */
6227
+ ...(ngDevMode ? [{ debugName: "startOffset" }] : /* istanbul ignore next */ []));
6228
+ endOffset = input(0, /* @ts-ignore */
6229
+ ...(ngDevMode ? [{ debugName: "endOffset" }] : /* istanbul ignore next */ []));
6230
+ bounds = input.required(/* @ts-ignore */
6231
+ ...(ngDevMode ? [{ debugName: "bounds" }] : /* istanbul ignore next */ []));
6232
+ dynamic = input(DEFAULT_DYNAMIC_SIZE, /* @ts-ignore */
6233
+ ...(ngDevMode ? [{ debugName: "dynamic" }] : /* istanbul ignore next */ []));
6234
+ itemSize = input(DEFAULT_ITEM_SIZE, /* @ts-ignore */
6235
+ ...(ngDevMode ? [{ debugName: "itemSize" }] : /* istanbul ignore next */ []));
6236
+ trackBy = input(TRACK_BY_PROPERTY_NAME, /* @ts-ignore */
6237
+ ...(ngDevMode ? [{ debugName: "trackBy" }] : /* istanbul ignore next */ []));
6238
+ divides = input(DEFAULT_DIVIDES, /* @ts-ignore */
6239
+ ...(ngDevMode ? [{ debugName: "divides" }] : /* istanbul ignore next */ []));
6240
+ itemRenderer = input(/* @ts-ignore */
6241
+ ...(ngDevMode ? [undefined, { debugName: "itemRenderer" }] : /* istanbul ignore next */ []));
6242
+ itemComponentClass = input(NgPrerenderVirtualListItemComponent, /* @ts-ignore */
6243
+ ...(ngDevMode ? [{ debugName: "itemComponentClass" }] : /* istanbul ignore next */ []));
6244
+ _items = signal(null, /* @ts-ignore */
6245
+ ...(ngDevMode ? [{ debugName: "_items" }] : /* istanbul ignore next */ []));
6246
+ classes = signal({ prepared: true }, /* @ts-ignore */
6247
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
6147
6248
  _$render = new Subject();
6148
6249
  $render = this._$render.asObservable();
6149
6250
  _$componentResize = new Subject();
@@ -6252,10 +6353,10 @@ class NgPrerenderList {
6252
6353
  this._trackBox = null;
6253
6354
  }
6254
6355
  }
6255
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderList, deps: [], target: i0.ɵɵFactoryTarget.Component });
6256
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.0", type: NgPrerenderList, isStandalone: false, selector: "ng-prerender-list", inputs: { enabled: { classPropertyName: "enabled", publicName: "enabled", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, isVertical: { classPropertyName: "isVertical", publicName: "isVertical", isSignal: true, isRequired: false, transformFunction: null }, scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, startOffset: { classPropertyName: "startOffset", publicName: "startOffset", isSignal: true, isRequired: false, transformFunction: null }, endOffset: { classPropertyName: "endOffset", publicName: "endOffset", isSignal: true, isRequired: false, transformFunction: null }, bounds: { classPropertyName: "bounds", publicName: "bounds", isSignal: true, isRequired: true, transformFunction: null }, dynamic: { classPropertyName: "dynamic", publicName: "dynamic", isSignal: true, isRequired: false, transformFunction: null }, itemSize: { classPropertyName: "itemSize", publicName: "itemSize", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, divides: { classPropertyName: "divides", publicName: "divides", isSignal: true, isRequired: false, transformFunction: null }, itemRenderer: { classPropertyName: "itemRenderer", publicName: "itemRenderer", isSignal: true, isRequired: false, transformFunction: null }, itemComponentClass: { classPropertyName: "itemComponentClass", publicName: "itemComponentClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { styleAttribute: "position: relative;" }, viewQueries: [{ propertyName: "_listContainerRef", first: true, predicate: ["renderersContainer"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<ng-prerender-scroller #scroller class=\"ngvl__list-scroller\" [classes]=\"classes()\" [direction]=\"direction()\"\r\n [scrollbarEnabled]=\"scrollbarEnabled()\" [startOffset]=\"startOffset()\" [endOffset]=\"endOffset()\">\r\n <ng-container #renderersContainer></ng-container>\r\n</ng-prerender-scroller>", styles: [":host{position:relative;display:block;width:400px;overflow:hidden}:host(.horizontal){height:48px}:host(.vertical){height:320px}.ngvl__snapped-container{position:relative;width:100%;opacity:0}.ngvl__snapped-container.prepared{opacity:1}.ngvl__list-snapper{-webkit-tap-highlight-color:transparent;position:absolute;list-style:none;left:0;top:0;z-index:1}.ngvl__list-scroller{-webkit-tap-highlight-color:transparent;position:absolute;left:0;top:0;width:100%;height:100%;z-index:0}.ngvl__screen-reader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n", ":host{width:100%;height:100%}\n"], dependencies: [{ kind: "component", type: NgPrerenderScrollerComponent, selector: "ng-prerender-scroller", inputs: ["scrollbarEnabled", "classes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.ShadowDom });
6356
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderList, deps: [], target: i0.ɵɵFactoryTarget.Component });
6357
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.0", type: NgPrerenderList, isStandalone: false, selector: "ng-prerender-list", inputs: { enabled: { classPropertyName: "enabled", publicName: "enabled", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, isVertical: { classPropertyName: "isVertical", publicName: "isVertical", isSignal: true, isRequired: false, transformFunction: null }, scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, startOffset: { classPropertyName: "startOffset", publicName: "startOffset", isSignal: true, isRequired: false, transformFunction: null }, endOffset: { classPropertyName: "endOffset", publicName: "endOffset", isSignal: true, isRequired: false, transformFunction: null }, bounds: { classPropertyName: "bounds", publicName: "bounds", isSignal: true, isRequired: true, transformFunction: null }, dynamic: { classPropertyName: "dynamic", publicName: "dynamic", isSignal: true, isRequired: false, transformFunction: null }, itemSize: { classPropertyName: "itemSize", publicName: "itemSize", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, divides: { classPropertyName: "divides", publicName: "divides", isSignal: true, isRequired: false, transformFunction: null }, itemRenderer: { classPropertyName: "itemRenderer", publicName: "itemRenderer", isSignal: true, isRequired: false, transformFunction: null }, itemComponentClass: { classPropertyName: "itemComponentClass", publicName: "itemComponentClass", isSignal: true, isRequired: false, transformFunction: null } }, host: { styleAttribute: "position: relative;" }, viewQueries: [{ propertyName: "_listContainerRef", first: true, predicate: ["renderersContainer"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<ng-prerender-scroller #scroller class=\"ngvl__list-scroller\" [classes]=\"classes()\" [direction]=\"direction()\"\r\n [scrollbarEnabled]=\"scrollbarEnabled()\" [startOffset]=\"startOffset()\" [endOffset]=\"endOffset()\">\r\n <ng-container #renderersContainer></ng-container>\r\n</ng-prerender-scroller>", styles: [":host{position:relative;display:block;width:400px;overflow:hidden}:host(.horizontal){height:48px}:host(.vertical){height:320px}.ngvl__snapped-container{position:relative;width:100%;opacity:0}.ngvl__snapped-container.prepared{opacity:1}.ngvl__list-snapper{-webkit-tap-highlight-color:transparent;position:absolute;list-style:none;left:0;top:0;z-index:1}.ngvl__list-scroller{-webkit-tap-highlight-color:transparent;position:absolute;left:0;top:0;width:100%;height:100%;z-index:0}.ngvl__screen-reader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n", ":host{width:100%;height:100%}\n"], dependencies: [{ kind: "component", type: NgPrerenderScrollerComponent, selector: "ng-prerender-scroller", inputs: ["scrollbarEnabled", "classes"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.ShadowDom });
6257
6358
  }
6258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderList, decorators: [{
6359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderList, decorators: [{
6259
6360
  type: Component,
6260
6361
  args: [{ selector: 'ng-prerender-list', host: {
6261
6362
  'style': 'position: relative;'
@@ -6269,24 +6370,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
6269
6370
  * NgPrerenderContainer
6270
6371
  * Maximum performance for extremely large lists.
6271
6372
  * It is based on algorithms for virtualization of screen objects.
6272
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/components/ng-prerender-container/ng-prerender-container.component.ts
6373
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/components/ng-prerender-container/ng-prerender-container.component.ts
6273
6374
  * @author Evgenii Alexandrovich Grebennikov
6274
6375
  * @email djonnyx@gmail.com
6275
6376
  */
6276
6377
  class NgPrerenderContainer {
6277
- _list = viewChild('list', ...(ngDevMode ? [{ debugName: "_list" }] : []));
6278
- enabled = input(false, ...(ngDevMode ? [{ debugName: "enabled" }] : []));
6279
- direction = input(DEFAULT_DIRECTION, ...(ngDevMode ? [{ debugName: "direction" }] : []));
6280
- isVertical = input(true, ...(ngDevMode ? [{ debugName: "isVertical" }] : []));
6281
- scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, ...(ngDevMode ? [{ debugName: "scrollbarEnabled" }] : []));
6282
- startOffset = input(0, ...(ngDevMode ? [{ debugName: "startOffset" }] : []));
6283
- endOffset = input(0, ...(ngDevMode ? [{ debugName: "endOffset" }] : []));
6284
- bounds = input.required(...(ngDevMode ? [{ debugName: "bounds" }] : []));
6285
- dynamic = input(DEFAULT_DYNAMIC_SIZE, ...(ngDevMode ? [{ debugName: "dynamic" }] : []));
6286
- itemSize = input(DEFAULT_ITEM_SIZE, ...(ngDevMode ? [{ debugName: "itemSize" }] : []));
6287
- trackBy = input(TRACK_BY_PROPERTY_NAME, ...(ngDevMode ? [{ debugName: "trackBy" }] : []));
6288
- divides = input(DEFAULT_DIVIDES, ...(ngDevMode ? [{ debugName: "divides" }] : []));
6289
- itemRenderer = input(...(ngDevMode ? [undefined, { debugName: "itemRenderer" }] : []));
6378
+ _list = viewChild('list', /* @ts-ignore */
6379
+ ...(ngDevMode ? [{ debugName: "_list" }] : /* istanbul ignore next */ []));
6380
+ enabled = input(false, /* @ts-ignore */
6381
+ ...(ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []));
6382
+ direction = input(DEFAULT_DIRECTION, /* @ts-ignore */
6383
+ ...(ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []));
6384
+ isVertical = input(true, /* @ts-ignore */
6385
+ ...(ngDevMode ? [{ debugName: "isVertical" }] : /* istanbul ignore next */ []));
6386
+ scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, /* @ts-ignore */
6387
+ ...(ngDevMode ? [{ debugName: "scrollbarEnabled" }] : /* istanbul ignore next */ []));
6388
+ startOffset = input(0, /* @ts-ignore */
6389
+ ...(ngDevMode ? [{ debugName: "startOffset" }] : /* istanbul ignore next */ []));
6390
+ endOffset = input(0, /* @ts-ignore */
6391
+ ...(ngDevMode ? [{ debugName: "endOffset" }] : /* istanbul ignore next */ []));
6392
+ bounds = input.required(/* @ts-ignore */
6393
+ ...(ngDevMode ? [{ debugName: "bounds" }] : /* istanbul ignore next */ []));
6394
+ dynamic = input(DEFAULT_DYNAMIC_SIZE, /* @ts-ignore */
6395
+ ...(ngDevMode ? [{ debugName: "dynamic" }] : /* istanbul ignore next */ []));
6396
+ itemSize = input(DEFAULT_ITEM_SIZE, /* @ts-ignore */
6397
+ ...(ngDevMode ? [{ debugName: "itemSize" }] : /* istanbul ignore next */ []));
6398
+ trackBy = input(TRACK_BY_PROPERTY_NAME, /* @ts-ignore */
6399
+ ...(ngDevMode ? [{ debugName: "trackBy" }] : /* istanbul ignore next */ []));
6400
+ divides = input(DEFAULT_DIVIDES, /* @ts-ignore */
6401
+ ...(ngDevMode ? [{ debugName: "divides" }] : /* istanbul ignore next */ []));
6402
+ itemRenderer = input(/* @ts-ignore */
6403
+ ...(ngDevMode ? [undefined, { debugName: "itemRenderer" }] : /* istanbul ignore next */ []));
6290
6404
  $render;
6291
6405
  get active() {
6292
6406
  return this._list()?.active ?? false;
@@ -6313,10 +6427,10 @@ class NgPrerenderContainer {
6313
6427
  list.off();
6314
6428
  }
6315
6429
  }
6316
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
6317
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.0", type: NgPrerenderContainer, isStandalone: false, selector: "ng-prerender-container", inputs: { enabled: { classPropertyName: "enabled", publicName: "enabled", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, isVertical: { classPropertyName: "isVertical", publicName: "isVertical", isSignal: true, isRequired: false, transformFunction: null }, scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, startOffset: { classPropertyName: "startOffset", publicName: "startOffset", isSignal: true, isRequired: false, transformFunction: null }, endOffset: { classPropertyName: "endOffset", publicName: "endOffset", isSignal: true, isRequired: false, transformFunction: null }, bounds: { classPropertyName: "bounds", publicName: "bounds", isSignal: true, isRequired: true, transformFunction: null }, dynamic: { classPropertyName: "dynamic", publicName: "dynamic", isSignal: true, isRequired: false, transformFunction: null }, itemSize: { classPropertyName: "itemSize", publicName: "itemSize", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, divides: { classPropertyName: "divides", publicName: "divides", isSignal: true, isRequired: false, transformFunction: null }, itemRenderer: { classPropertyName: "itemRenderer", publicName: "itemRenderer", isSignal: true, isRequired: false, transformFunction: null } }, host: { styleAttribute: "position: relative;" }, viewQueries: [{ propertyName: "_list", first: true, predicate: ["list"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-prerender-list #list [bounds]=\"bounds()!\" [direction]=\"direction()\" [dynamic]=\"dynamic()\" [divides]=\"divides()\"\r\n [isVertical]=\"isVertical()\" [itemSize]=\"itemSize()\" [trackBy]=\"trackBy()\" [itemRenderer]=\"itemRenderer()\"\r\n [startOffset]=\"startOffset()\" [endOffset]=\"endOffset()\" [scrollbarEnabled]=\"scrollbarEnabled()\"\r\n [enabled]=\"enabled()\" />", styles: [":host{position:relative;display:block;width:400px;overflow:hidden}:host(.horizontal){height:48px}:host(.vertical){height:320px}.ngvl__snapped-container{position:relative;width:100%;opacity:0}.ngvl__snapped-container.prepared{opacity:1}.ngvl__list-snapper{-webkit-tap-highlight-color:transparent;position:absolute;list-style:none;left:0;top:0;z-index:1}.ngvl__list-scroller{-webkit-tap-highlight-color:transparent;position:absolute;left:0;top:0;width:100%;height:100%;z-index:0}.ngvl__screen-reader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n", ":host{visibility:hidden;height:0!important;width:0!important;overflow:hidden}\n"], dependencies: [{ kind: "component", type: NgPrerenderList, selector: "ng-prerender-list", inputs: ["enabled", "direction", "isVertical", "scrollbarEnabled", "startOffset", "endOffset", "bounds", "dynamic", "itemSize", "trackBy", "divides", "itemRenderer", "itemComponentClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.ShadowDom });
6430
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
6431
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.0.0", type: NgPrerenderContainer, isStandalone: false, selector: "ng-prerender-container", inputs: { enabled: { classPropertyName: "enabled", publicName: "enabled", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, isVertical: { classPropertyName: "isVertical", publicName: "isVertical", isSignal: true, isRequired: false, transformFunction: null }, scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, startOffset: { classPropertyName: "startOffset", publicName: "startOffset", isSignal: true, isRequired: false, transformFunction: null }, endOffset: { classPropertyName: "endOffset", publicName: "endOffset", isSignal: true, isRequired: false, transformFunction: null }, bounds: { classPropertyName: "bounds", publicName: "bounds", isSignal: true, isRequired: true, transformFunction: null }, dynamic: { classPropertyName: "dynamic", publicName: "dynamic", isSignal: true, isRequired: false, transformFunction: null }, itemSize: { classPropertyName: "itemSize", publicName: "itemSize", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, divides: { classPropertyName: "divides", publicName: "divides", isSignal: true, isRequired: false, transformFunction: null }, itemRenderer: { classPropertyName: "itemRenderer", publicName: "itemRenderer", isSignal: true, isRequired: false, transformFunction: null } }, host: { styleAttribute: "position: relative;" }, viewQueries: [{ propertyName: "_list", first: true, predicate: ["list"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-prerender-list #list [bounds]=\"bounds()!\" [direction]=\"direction()\" [dynamic]=\"dynamic()\" [divides]=\"divides()\"\r\n [isVertical]=\"isVertical()\" [itemSize]=\"itemSize()\" [trackBy]=\"trackBy()\" [itemRenderer]=\"itemRenderer()\"\r\n [startOffset]=\"startOffset()\" [endOffset]=\"endOffset()\" [scrollbarEnabled]=\"scrollbarEnabled()\"\r\n [enabled]=\"enabled()\" />", styles: [":host{position:relative;display:block;width:400px;overflow:hidden}:host(.horizontal){height:48px}:host(.vertical){height:320px}.ngvl__snapped-container{position:relative;width:100%;opacity:0}.ngvl__snapped-container.prepared{opacity:1}.ngvl__list-snapper{-webkit-tap-highlight-color:transparent;position:absolute;list-style:none;left:0;top:0;z-index:1}.ngvl__list-scroller{-webkit-tap-highlight-color:transparent;position:absolute;left:0;top:0;width:100%;height:100%;z-index:0}.ngvl__screen-reader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n", ":host{visibility:hidden;height:0!important;width:0!important;overflow:hidden}\n"], dependencies: [{ kind: "component", type: NgPrerenderList, selector: "ng-prerender-list", inputs: ["enabled", "direction", "isVertical", "scrollbarEnabled", "startOffset", "endOffset", "bounds", "dynamic", "itemSize", "trackBy", "divides", "itemRenderer", "itemComponentClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.ShadowDom });
6318
6432
  }
6319
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderContainer, decorators: [{
6433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderContainer, decorators: [{
6320
6434
  type: Component,
6321
6435
  args: [{ selector: 'ng-prerender-container', host: {
6322
6436
  'style': 'position: relative;'
@@ -6327,7 +6441,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
6327
6441
  * Virtual list component.
6328
6442
  * Maximum performance for extremely large lists.
6329
6443
  * It is based on algorithms for virtualization of screen objects.
6330
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/ng-virtual-list.component.ts
6444
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/ng-virtual-list.component.ts
6331
6445
  * @author Evgenii Alexandrovich Grebennikov
6332
6446
  * @email djonnyx@gmail.com
6333
6447
  */
@@ -6339,10 +6453,12 @@ class NgVirtualListComponent {
6339
6453
  */
6340
6454
  get id() { return this._id; }
6341
6455
  _service = inject(NgVirtualListService);
6342
- _prerender = viewChild('prerender', ...(ngDevMode ? [{ debugName: "_prerender" }] : []));
6456
+ _prerender = viewChild('prerender', /* @ts-ignore */
6457
+ ...(ngDevMode ? [{ debugName: "_prerender" }] : /* istanbul ignore next */ []));
6343
6458
  _listContainerRef;
6344
6459
  _snapContainerRef;
6345
- _scrollerComponent = viewChild('scroller', ...(ngDevMode ? [{ debugName: "_scrollerComponent" }] : []));
6460
+ _scrollerComponent = viewChild('scroller', /* @ts-ignore */
6461
+ ...(ngDevMode ? [{ debugName: "_scrollerComponent" }] : /* istanbul ignore next */ []));
6346
6462
  _scroller;
6347
6463
  _list;
6348
6464
  /**
@@ -6398,7 +6514,7 @@ class NgVirtualListComponent {
6398
6514
  /**
6399
6515
  * Scrollbar thickness.
6400
6516
  */
6401
- scrollbarThickness = input(DEFAULT_SCROLLBAR_THICKNESS, { ...(ngDevMode ? { debugName: "scrollbarThickness" } : {}), ...this._scrollbarThickness });
6517
+ scrollbarThickness = input(DEFAULT_SCROLLBAR_THICKNESS, { ...(ngDevMode ? { debugName: "scrollbarThickness" } : /* istanbul ignore next */ {}), ...this._scrollbarThickness });
6402
6518
  _scrollbarMinSize = {
6403
6519
  transform: (v) => {
6404
6520
  const valid = validateInt(v);
@@ -6412,7 +6528,7 @@ class NgVirtualListComponent {
6412
6528
  /**
6413
6529
  * Minimum scrollbar size.
6414
6530
  */
6415
- scrollbarMinSize = input(DEFAULT_SCROLLBAR_MIN_SIZE, { ...(ngDevMode ? { debugName: "scrollbarMinSize" } : {}), ...this._scrollbarMinSize });
6531
+ scrollbarMinSize = input(DEFAULT_SCROLLBAR_MIN_SIZE, { ...(ngDevMode ? { debugName: "scrollbarMinSize" } : /* istanbul ignore next */ {}), ...this._scrollbarMinSize });
6416
6532
  _scrollbarThumbRenderer = {
6417
6533
  transform: (v) => {
6418
6534
  const valid = validateObject(v, true, true);
@@ -6426,7 +6542,7 @@ class NgVirtualListComponent {
6426
6542
  /**
6427
6543
  * Scrollbar customization template.
6428
6544
  */
6429
- scrollbarThumbRenderer = input(null, { ...(ngDevMode ? { debugName: "scrollbarThumbRenderer" } : {}), ...this._scrollbarThumbRenderer });
6545
+ scrollbarThumbRenderer = input(null, { ...(ngDevMode ? { debugName: "scrollbarThumbRenderer" } : /* istanbul ignore next */ {}), ...this._scrollbarThumbRenderer });
6430
6546
  _scrollbarThumbParams = {
6431
6547
  transform: (v) => {
6432
6548
  const valid = validateObject(v, true, true);
@@ -6440,7 +6556,7 @@ class NgVirtualListComponent {
6440
6556
  /**
6441
6557
  * Additional options for the scrollbar.
6442
6558
  */
6443
- scrollbarThumbParams = input({}, { ...(ngDevMode ? { debugName: "scrollbarThumbParams" } : {}), ...this._scrollbarThumbParams });
6559
+ scrollbarThumbParams = input({}, { ...(ngDevMode ? { debugName: "scrollbarThumbParams" } : /* istanbul ignore next */ {}), ...this._scrollbarThumbParams });
6444
6560
  _loading = {
6445
6561
  transform: (v) => {
6446
6562
  const valid = validateBoolean(v);
@@ -6454,7 +6570,7 @@ class NgVirtualListComponent {
6454
6570
  /**
6455
6571
  * If `true`, the scrollBar goes into loading state. The default value is `false`.
6456
6572
  */
6457
- loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : {}), ...this._loading });
6573
+ loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {}), ...this._loading });
6458
6574
  _waitForPreparation = {
6459
6575
  transform: (v) => {
6460
6576
  const valid = validateBoolean(v);
@@ -6468,7 +6584,7 @@ class NgVirtualListComponent {
6468
6584
  /**
6469
6585
  * If true, it will wait until the list items are fully prepared before displaying them.. The default value is `true`.
6470
6586
  */
6471
- waitForPreparation = input(DEFAULT_WAIT_FOR_PREPARATION, { ...(ngDevMode ? { debugName: "waitForPreparation" } : {}), ...this._waitForPreparation });
6587
+ waitForPreparation = input(DEFAULT_WAIT_FOR_PREPARATION, { ...(ngDevMode ? { debugName: "waitForPreparation" } : /* istanbul ignore next */ {}), ...this._waitForPreparation });
6472
6588
  _clickDistance = {
6473
6589
  transform: (v) => {
6474
6590
  const valid = validateInt(v);
@@ -6482,7 +6598,7 @@ class NgVirtualListComponent {
6482
6598
  /**
6483
6599
  * The maximum scroll distance at which a click event is triggered.
6484
6600
  */
6485
- clickDistance = input(DEFAULT_CLICK_DISTANCE, { ...(ngDevMode ? { debugName: "clickDistance" } : {}), ...this._clickDistance });
6601
+ clickDistance = input(DEFAULT_CLICK_DISTANCE, { ...(ngDevMode ? { debugName: "clickDistance" } : /* istanbul ignore next */ {}), ...this._clickDistance });
6486
6602
  _itemsOptions = {
6487
6603
  transform: (v) => {
6488
6604
  let valid = validateArray(v, true, true);
@@ -6511,7 +6627,7 @@ class NgVirtualListComponent {
6511
6627
  /**
6512
6628
  * Collection of list items.
6513
6629
  */
6514
- items = input.required({ ...(ngDevMode ? { debugName: "items" } : {}), ...this._itemsOptions });
6630
+ items = input.required({ ...(ngDevMode ? { debugName: "items" } : /* istanbul ignore next */ {}), ...this._itemsOptions });
6515
6631
  _selectedIdsOptions = {
6516
6632
  transform: (v) => {
6517
6633
  let valid = validateArray(v, true, true) || validateString(v, true, true) || validateFloat(v, true);
@@ -6533,11 +6649,12 @@ class NgVirtualListComponent {
6533
6649
  return v;
6534
6650
  },
6535
6651
  };
6536
- defaultItemValue = input(null, ...(ngDevMode ? [{ debugName: "defaultItemValue" }] : []));
6652
+ defaultItemValue = input(null, /* @ts-ignore */
6653
+ ...(ngDevMode ? [{ debugName: "defaultItemValue" }] : /* istanbul ignore next */ []));
6537
6654
  /**
6538
6655
  * Sets the selected items.
6539
6656
  */
6540
- selectedIds = input(null, { ...(ngDevMode ? { debugName: "selectedIds" } : {}), ...this._selectedIdsOptions });
6657
+ selectedIds = input(null, { ...(ngDevMode ? { debugName: "selectedIds" } : /* istanbul ignore next */ {}), ...this._selectedIdsOptions });
6541
6658
  _collapsedIdsOptions = {
6542
6659
  transform: (v) => {
6543
6660
  let valid = validateArray(v, true, true);
@@ -6562,7 +6679,7 @@ class NgVirtualListComponent {
6562
6679
  /**
6563
6680
  * Sets the collapsed items.
6564
6681
  */
6565
- collapsedIds = input([], { ...(ngDevMode ? { debugName: "collapsedIds" } : {}), ...this._collapsedIdsOptions });
6682
+ collapsedIds = input([], { ...(ngDevMode ? { debugName: "collapsedIds" } : /* istanbul ignore next */ {}), ...this._collapsedIdsOptions });
6566
6683
  _selectByClickOptions = {
6567
6684
  transform: (v) => {
6568
6685
  const valid = validateBoolean(v);
@@ -6577,7 +6694,7 @@ class NgVirtualListComponent {
6577
6694
  * If `false`, the element is selected using the api.select method passed to the template;
6578
6695
  * if `true`, the element is selected by clicking on it. The default value is `true`.
6579
6696
  */
6580
- selectByClick = input(DEFAULT_SELECT_BY_CLICK, { ...(ngDevMode ? { debugName: "selectByClick" } : {}), ...this._selectByClickOptions });
6697
+ selectByClick = input(DEFAULT_SELECT_BY_CLICK, { ...(ngDevMode ? { debugName: "selectByClick" } : /* istanbul ignore next */ {}), ...this._selectByClickOptions });
6581
6698
  _collapseByClickOptions = {
6582
6699
  transform: (v) => {
6583
6700
  const valid = validateBoolean(v);
@@ -6592,7 +6709,7 @@ class NgVirtualListComponent {
6592
6709
  * If `false`, the element is collapsed using the config.collapse method passed to the template;
6593
6710
  * if `true`, the element is collapsed by clicking on it. The default value is `true`.
6594
6711
  */
6595
- collapseByClick = input(DEFAULT_COLLAPSE_BY_CLICK, { ...(ngDevMode ? { debugName: "collapseByClick" } : {}), ...this._collapseByClickOptions });
6712
+ collapseByClick = input(DEFAULT_COLLAPSE_BY_CLICK, { ...(ngDevMode ? { debugName: "collapseByClick" } : /* istanbul ignore next */ {}), ...this._collapseByClickOptions });
6596
6713
  _snapOptions = {
6597
6714
  transform: (v) => {
6598
6715
  throw Error(`Property snap is deprecated. Use the \`stickyEnabled\` property instead.`);
@@ -6602,7 +6719,7 @@ class NgVirtualListComponent {
6602
6719
  * @deprecated
6603
6720
  * Use the `stickyEnabled` property instead.
6604
6721
  */
6605
- snap = input(false, { ...(ngDevMode ? { debugName: "snap" } : {}), ...this._snapOptions });
6722
+ snap = input(false, { ...(ngDevMode ? { debugName: "snap" } : /* istanbul ignore next */ {}), ...this._snapOptions });
6606
6723
  _stickyEnabledOptions = {
6607
6724
  transform: (v) => {
6608
6725
  const valid = validateBoolean(v);
@@ -6616,7 +6733,7 @@ class NgVirtualListComponent {
6616
6733
  /**
6617
6734
  * Determines whether items with the given `sticky` in `itemConfigMap` will stick to the edges. Default value is "true".
6618
6735
  */
6619
- stickyEnabled = input(DEFAULT_STICKY_ENABLED, { ...(ngDevMode ? { debugName: "stickyEnabled" } : {}), ...this._stickyEnabledOptions });
6736
+ stickyEnabled = input(DEFAULT_STICKY_ENABLED, { ...(ngDevMode ? { debugName: "stickyEnabled" } : /* istanbul ignore next */ {}), ...this._stickyEnabledOptions });
6620
6737
  _snapToEndTransitionInstantOffsetOptions = {
6621
6738
  transform: (v) => {
6622
6739
  const valid = validateFloat(v, true);
@@ -6630,7 +6747,7 @@ class NgVirtualListComponent {
6630
6747
  /**
6631
6748
  * Sets the offset value; if the scroll area value is exceeded, the scroll animation will be disabled. Default value is "0".
6632
6749
  */
6633
- snapToEndTransitionInstantOffset = input(DEFAULT_SNAP_TO_END_TRANSITION_INSTANT_OFFSET, { ...(ngDevMode ? { debugName: "snapToEndTransitionInstantOffset" } : {}), ...this._snapToEndTransitionInstantOffsetOptions });
6750
+ snapToEndTransitionInstantOffset = input(DEFAULT_SNAP_TO_END_TRANSITION_INSTANT_OFFSET, { ...(ngDevMode ? { debugName: "snapToEndTransitionInstantOffset" } : /* istanbul ignore next */ {}), ...this._snapToEndTransitionInstantOffsetOptions });
6634
6751
  _scrollStartOffsetOptions = {
6635
6752
  transform: (v) => {
6636
6753
  const valid = validateFloat(v, true) || isPercentageValue(v);
@@ -6645,7 +6762,7 @@ class NgVirtualListComponent {
6645
6762
  * Sets the scroll start offset value. Can be specified in absolute or percentage values.
6646
6763
  * Supports arithmetic expressions of addition `50% + 25` or subtraction `50% - 25`. Default value is "0".
6647
6764
  */
6648
- scrollStartOffset = input(0, { ...(ngDevMode ? { debugName: "scrollStartOffset" } : {}), ...this._scrollStartOffsetOptions });
6765
+ scrollStartOffset = input(0, { ...(ngDevMode ? { debugName: "scrollStartOffset" } : /* istanbul ignore next */ {}), ...this._scrollStartOffsetOptions });
6649
6766
  _scrollEndOffsetOptions = {
6650
6767
  transform: (v) => {
6651
6768
  const valid = validateFloat(v, true) || isPercentageValue(v);
@@ -6660,7 +6777,7 @@ class NgVirtualListComponent {
6660
6777
  * Sets the scroll end offset value. Can be specified in absolute or percentage values.
6661
6778
  * Supports arithmetic expressions of addition `50% + 25` or subtraction `50% - 25`. Default value is "0".
6662
6779
  */
6663
- scrollEndOffset = input(0, { ...(ngDevMode ? { debugName: "scrollEndOffset" } : {}), ...this._scrollEndOffsetOptions });
6780
+ scrollEndOffset = input(0, { ...(ngDevMode ? { debugName: "scrollEndOffset" } : /* istanbul ignore next */ {}), ...this._scrollEndOffsetOptions });
6664
6781
  _snapScrollToStartOptions = {
6665
6782
  transform: (v) => {
6666
6783
  const valid = validateBoolean(v, true);
@@ -6681,7 +6798,7 @@ class NgVirtualListComponent {
6681
6798
  * If both snapScrollToStart and snapScrollToEnd are disabled, the list will never snap to the beginning or end.
6682
6799
  * In the `spreadingMode=SpreadingModes.INFINITY` mode, the `snapScrollToStart` property is automatically disabled, since the list has no beginning or end.
6683
6800
  */
6684
- snapScrollToStart = input(DEFAULT_SNAP_SCROLLTO_START, { ...(ngDevMode ? { debugName: "snapScrollToStart" } : {}), ...this._snapScrollToStartOptions });
6801
+ snapScrollToStart = input(DEFAULT_SNAP_SCROLLTO_START, { ...(ngDevMode ? { debugName: "snapScrollToStart" } : /* istanbul ignore next */ {}), ...this._snapScrollToStartOptions });
6685
6802
  _snapScrollToEndOptions = {
6686
6803
  transform: (v) => {
6687
6804
  const valid = validateBoolean(v, true);
@@ -6701,7 +6818,7 @@ class NgVirtualListComponent {
6701
6818
  * If both snapScrollToStart and snapScrollToEnd are disabled, the list will never snap to the beginning or end.
6702
6819
  * In the `spreadingMode=SpreadingModes.INFINITY` mode, the `snapScrollToEnd` property is automatically disabled, since the list has no beginning or end.
6703
6820
  */
6704
- snapScrollToEnd = input(DEFAULT_SNAP_SCROLLTO_END, { ...(ngDevMode ? { debugName: "snapScrollToEnd" } : {}), ...this._snapScrollToEndOptions });
6821
+ snapScrollToEnd = input(DEFAULT_SNAP_SCROLLTO_END, { ...(ngDevMode ? { debugName: "snapScrollToEnd" } : /* istanbul ignore next */ {}), ...this._snapScrollToEndOptions });
6705
6822
  _snapScrollToBottomOptions = {
6706
6823
  transform: () => {
6707
6824
  throw Error('The stopSnappingScrollToEnd property is deprecated. Use the snapScrollToEnd property.');
@@ -6711,7 +6828,7 @@ class NgVirtualListComponent {
6711
6828
  * @deprecated
6712
6829
  * The stopSnappingScrollToEnd property is deprecated. Use the snapScrollToEnd property.
6713
6830
  */
6714
- snapScrollToBottom = input('deprecated', { ...(ngDevMode ? { debugName: "snapScrollToBottom" } : {}), ...this._snapScrollToBottomOptions });
6831
+ snapScrollToBottom = input('deprecated', { ...(ngDevMode ? { debugName: "snapScrollToBottom" } : /* istanbul ignore next */ {}), ...this._snapScrollToBottomOptions });
6715
6832
  _scrollbarEnabledOptions = {
6716
6833
  transform: (v) => {
6717
6834
  const valid = validateBoolean(v, true);
@@ -6725,7 +6842,7 @@ class NgVirtualListComponent {
6725
6842
  /**
6726
6843
  * Determines whether the scrollbar is shown or not. The default value is "true".
6727
6844
  */
6728
- scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, { ...(ngDevMode ? { debugName: "scrollbarEnabled" } : {}), ...this._scrollbarEnabledOptions });
6845
+ scrollbarEnabled = input(DEFAULT_SCROLLBAR_ENABLED, { ...(ngDevMode ? { debugName: "scrollbarEnabled" } : /* istanbul ignore next */ {}), ...this._scrollbarEnabledOptions });
6729
6846
  _scrollbarInteractiveOptions = {
6730
6847
  transform: (v) => {
6731
6848
  const valid = validateBoolean(v, true);
@@ -6739,7 +6856,7 @@ class NgVirtualListComponent {
6739
6856
  /**
6740
6857
  * Determines whether scrolling using the scrollbar will be possible. The default value is "true".
6741
6858
  */
6742
- scrollbarInteractive = input(DEFAULT_SCROLLBAR_INTERACTIVE, { ...(ngDevMode ? { debugName: "scrollbarInteractive" } : {}), ...this._scrollbarInteractiveOptions });
6859
+ scrollbarInteractive = input(DEFAULT_SCROLLBAR_INTERACTIVE, { ...(ngDevMode ? { debugName: "scrollbarInteractive" } : /* istanbul ignore next */ {}), ...this._scrollbarInteractiveOptions });
6743
6860
  _overlappingScrollbarOptions = {
6744
6861
  transform: (v) => {
6745
6862
  const valid = validateBoolean(v, true);
@@ -6753,7 +6870,7 @@ class NgVirtualListComponent {
6753
6870
  /**
6754
6871
  * Determines whether the scroll bar will overlap the list. The default value is "false".
6755
6872
  */
6756
- overlappingScrollbar = input(DEFAULT_OVERLAPPING_SCROLLBAR, { ...(ngDevMode ? { debugName: "overlappingScrollbar" } : {}), ...this._overlappingScrollbarOptions });
6873
+ overlappingScrollbar = input(DEFAULT_OVERLAPPING_SCROLLBAR, { ...(ngDevMode ? { debugName: "overlappingScrollbar" } : /* istanbul ignore next */ {}), ...this._overlappingScrollbarOptions });
6757
6874
  _scrollBehaviorOptions = {
6758
6875
  transform: (v) => {
6759
6876
  const valid = validateString(v, true, true);
@@ -6767,7 +6884,7 @@ class NgVirtualListComponent {
6767
6884
  /**
6768
6885
  * Defines the scrolling behavior for any element on the page. The default value is "smooth".
6769
6886
  */
6770
- scrollBehavior = input(DEFAULT_SCROLL_BEHAVIOR, { ...(ngDevMode ? { debugName: "scrollBehavior" } : {}), ...this._scrollBehaviorOptions });
6887
+ scrollBehavior = input(DEFAULT_SCROLL_BEHAVIOR, { ...(ngDevMode ? { debugName: "scrollBehavior" } : /* istanbul ignore next */ {}), ...this._scrollBehaviorOptions });
6771
6888
  _scrollingSettingsOptions = {
6772
6889
  transform: (v) => {
6773
6890
  let valid = validateObject(v, true, true);
@@ -6827,7 +6944,7 @@ class NgVirtualListComponent {
6827
6944
  * - speedScale - Speed scale. Default value is 10.
6828
6945
  * - optimization - Enables scrolling performance optimization. Default value is `true`.
6829
6946
  */
6830
- scrollingSettings = input(DEFAULT_SCROLLING_SETTINGS, { ...(ngDevMode ? { debugName: "scrollingSettings" } : {}), ...this._scrollingSettingsOptions });
6947
+ scrollingSettings = input(DEFAULT_SCROLLING_SETTINGS, { ...(ngDevMode ? { debugName: "scrollingSettings" } : /* istanbul ignore next */ {}), ...this._scrollingSettingsOptions });
6831
6948
  _itemTransformOptions = {
6832
6949
  transform: (v) => {
6833
6950
  let valid = validateFunction(v, true, true);
@@ -6841,7 +6958,7 @@ class NgVirtualListComponent {
6841
6958
  /**
6842
6959
  * Custom transformation of element's position, rotation, scale, opacity and zIndex. The default value is `null`.
6843
6960
  */
6844
- itemTransform = input(null, { ...(ngDevMode ? { debugName: "itemTransform" } : {}), ...this._itemTransformOptions });
6961
+ itemTransform = input(null, { ...(ngDevMode ? { debugName: "itemTransform" } : /* istanbul ignore next */ {}), ...this._itemTransformOptions });
6845
6962
  _snapToItemOptions = {
6846
6963
  transform: (v) => {
6847
6964
  const valid = validateBoolean(v);
@@ -6855,7 +6972,7 @@ class NgVirtualListComponent {
6855
6972
  /**
6856
6973
  * Snap to an item. The default value is `false`.
6857
6974
  */
6858
- snapToItem = input(DEFAULT_SNAP_TO_ITEM, { ...(ngDevMode ? { debugName: "snapToItem" } : {}), ...this._snapToItemOptions });
6975
+ snapToItem = input(DEFAULT_SNAP_TO_ITEM, { ...(ngDevMode ? { debugName: "snapToItem" } : /* istanbul ignore next */ {}), ...this._snapToItemOptions });
6859
6976
  _snapToItemAlignOptions = {
6860
6977
  transform: (v) => {
6861
6978
  const valid = validateString(v) && (v === 'start' || v === 'center' || v === 'end');
@@ -6869,7 +6986,7 @@ class NgVirtualListComponent {
6869
6986
  /**
6870
6987
  * Alignment for snapToItem. Available values ​​are `start`, `center`, and `end`. The default value is `center`.
6871
6988
  */
6872
- snapToItemAlign = input(DEFAULT_SNAP_TO_ITEM_ALIGN, { ...(ngDevMode ? { debugName: "snapToItemAlign" } : {}), ...this._snapToItemAlignOptions });
6989
+ snapToItemAlign = input(DEFAULT_SNAP_TO_ITEM_ALIGN, { ...(ngDevMode ? { debugName: "snapToItemAlign" } : /* istanbul ignore next */ {}), ...this._snapToItemAlignOptions });
6873
6990
  _snappingDistanceOptions = {
6874
6991
  transform: (v) => {
6875
6992
  const valid = validateString(v) || validateFloat(v);
@@ -6884,7 +7001,7 @@ class NgVirtualListComponent {
6884
7001
  * Snapping activation distance. Can be specified as a percentage of the element size or in absolute values.
6885
7002
  * The default value is `25%`.
6886
7003
  */
6887
- snappingDistance = input(DEFAULT_SNAPPING_DISTANCE, { ...(ngDevMode ? { debugName: "snappingDistance" } : {}), ...this._snappingDistanceOptions });
7004
+ snappingDistance = input(DEFAULT_SNAPPING_DISTANCE, { ...(ngDevMode ? { debugName: "snappingDistance" } : /* istanbul ignore next */ {}), ...this._snappingDistanceOptions });
6888
7005
  _scrollingOneByOneOptions = {
6889
7006
  transform: (v) => {
6890
7007
  const valid = validateBoolean(v);
@@ -6898,7 +7015,7 @@ class NgVirtualListComponent {
6898
7015
  /**
6899
7016
  * Specifies whether to scroll one item at a time if true and the scrollToItem property is set. The default value is `false`.
6900
7017
  */
6901
- scrollingOneByOne = input(DEFAULT_SCROLLING_ONE_BY_ONE, { ...(ngDevMode ? { debugName: "scrollingOneByOne" } : {}), ...this._scrollingOneByOneOptions });
7018
+ scrollingOneByOne = input(DEFAULT_SCROLLING_ONE_BY_ONE, { ...(ngDevMode ? { debugName: "scrollingOneByOne" } : /* istanbul ignore next */ {}), ...this._scrollingOneByOneOptions });
6902
7019
  _alignmentOptions = {
6903
7020
  transform: (v) => {
6904
7021
  const valid = validateString(v) && (v === 'none' || v === 'center');
@@ -6913,7 +7030,7 @@ class NgVirtualListComponent {
6913
7030
  * Determines the alignment of the list. Two modes are available: `none` and `center`. The `center` mode aligns the list items to the center of the viewport, ideal for use with the `itemTransform` property.
6914
7031
  * The `none` mode means no alignment. The default value is `none`.
6915
7032
  */
6916
- alignment = input(DEFAULT_ALIGNMENT, { ...(ngDevMode ? { debugName: "alignment" } : {}), ...this._alignmentOptions });
7033
+ alignment = input(DEFAULT_ALIGNMENT, { ...(ngDevMode ? { debugName: "alignment" } : /* istanbul ignore next */ {}), ...this._alignmentOptions });
6917
7034
  _zIndexWhenSelectingOptions = {
6918
7035
  transform: (v) => {
6919
7036
  const valid = validateString(v, true, true);
@@ -6927,7 +7044,7 @@ class NgVirtualListComponent {
6927
7044
  /**
6928
7045
  * Defines the zIndex when a list item is selected. The default value is `null`.
6929
7046
  */
6930
- zIndexWhenSelecting = input(DEFAULT_ZINDEX_WHEN_SELECTING, { ...(ngDevMode ? { debugName: "zIndexWhenSelecting" } : {}), ...this._zIndexWhenSelectingOptions });
7047
+ zIndexWhenSelecting = input(DEFAULT_ZINDEX_WHEN_SELECTING, { ...(ngDevMode ? { debugName: "zIndexWhenSelecting" } : /* istanbul ignore next */ {}), ...this._zIndexWhenSelectingOptions });
6931
7048
  _spreadingModeOptions = {
6932
7049
  transform: (v) => {
6933
7050
  const valid = validateString(v) && (v === 'normal' || v === 'infinity');
@@ -6945,7 +7062,7 @@ class NgVirtualListComponent {
6945
7062
  * When set to `infinity`, the `alignment` property is forced to the value `Alignments.CENTER`, the `scrollbarEnabled` property is forced to the `false`
6946
7063
  * The default value is `standard`.
6947
7064
  */
6948
- spreadingMode = input(DEFAULT_SPREADING_MODE, { ...(ngDevMode ? { debugName: "spreadingMode" } : {}), ...this._spreadingModeOptions });
7065
+ spreadingMode = input(DEFAULT_SPREADING_MODE, { ...(ngDevMode ? { debugName: "spreadingMode" } : /* istanbul ignore next */ {}), ...this._spreadingModeOptions });
6949
7066
  _dividesOptions = {
6950
7067
  transform: (v) => {
6951
7068
  const valid = validateFloat(v);
@@ -6959,7 +7076,7 @@ class NgVirtualListComponent {
6959
7076
  /**
6960
7077
  * Column or row numbers. The default value is `1`.
6961
7078
  */
6962
- divides = input(DEFAULT_DIVIDES, { ...(ngDevMode ? { debugName: "divides" } : {}), ...this._dividesOptions });
7079
+ divides = input(DEFAULT_DIVIDES, { ...(ngDevMode ? { debugName: "divides" } : /* istanbul ignore next */ {}), ...this._dividesOptions });
6963
7080
  _motionBlurOptions = {
6964
7081
  transform: (v) => {
6965
7082
  const valid = validateFloat(v);
@@ -6973,7 +7090,7 @@ class NgVirtualListComponent {
6973
7090
  /**
6974
7091
  * Motion blur effect. The default value is `0.15`.
6975
7092
  */
6976
- motionBlur = input(DEFAULT_MOTION_BLUR, { ...(ngDevMode ? { debugName: "motionBlur" } : {}), ...this._motionBlurOptions });
7093
+ motionBlur = input(DEFAULT_MOTION_BLUR, { ...(ngDevMode ? { debugName: "motionBlur" } : /* istanbul ignore next */ {}), ...this._motionBlurOptions });
6977
7094
  _maxMotionBlurOptions = {
6978
7095
  transform: (v) => {
6979
7096
  const valid = validateFloat(v);
@@ -6987,7 +7104,7 @@ class NgVirtualListComponent {
6987
7104
  /**
6988
7105
  * Maximum motion blur effect. The default value is `0.5`.
6989
7106
  */
6990
- maxMotionBlur = input(DEFAULT_MAX_MOTION_BLUR, { ...(ngDevMode ? { debugName: "maxMotionBlur" } : {}), ...this._maxMotionBlurOptions });
7107
+ maxMotionBlur = input(DEFAULT_MAX_MOTION_BLUR, { ...(ngDevMode ? { debugName: "maxMotionBlur" } : /* istanbul ignore next */ {}), ...this._maxMotionBlurOptions });
6991
7108
  _motionBlurEnabledOptions = {
6992
7109
  transform: (v) => {
6993
7110
  const valid = validateBoolean(v);
@@ -7001,7 +7118,7 @@ class NgVirtualListComponent {
7001
7118
  /**
7002
7119
  * Determines whether to apply motion blur or not. The default value is `false`.
7003
7120
  */
7004
- motionBlurEnabled = input(DEFAULT_MOTION_BLUR_ENABLED, { ...(ngDevMode ? { debugName: "motionBlurEnabled" } : {}), ...this._motionBlurEnabledOptions });
7121
+ motionBlurEnabled = input(DEFAULT_MOTION_BLUR_ENABLED, { ...(ngDevMode ? { debugName: "motionBlurEnabled" } : /* istanbul ignore next */ {}), ...this._motionBlurEnabledOptions });
7005
7122
  _animationParamsOptions = {
7006
7123
  transform: (v) => {
7007
7124
  const valid = validateObject(v, true, true);
@@ -7031,7 +7148,7 @@ class NgVirtualListComponent {
7031
7148
  /**
7032
7149
  * Animation parameters. The default value is "{ scrollToItem: 50, snapToItem: 150, navigateToItem: 150, navigateByKeyboard: 50 }".
7033
7150
  */
7034
- animationParams = input(DEFAULT_ANIMATION_PARAMS, { ...(ngDevMode ? { debugName: "animationParams" } : {}), ...this._animationParamsOptions });
7151
+ animationParams = input(DEFAULT_ANIMATION_PARAMS, { ...(ngDevMode ? { debugName: "animationParams" } : /* istanbul ignore next */ {}), ...this._animationParamsOptions });
7035
7152
  _overscrollEnabledOptions = {
7036
7153
  transform: (v) => {
7037
7154
  const valid = validateBoolean(v, true);
@@ -7045,7 +7162,7 @@ class NgVirtualListComponent {
7045
7162
  /**
7046
7163
  * Determines whether the overscroll (re-scroll) feature will work. The default value is "true".
7047
7164
  */
7048
- overscrollEnabled = input(DEFAULT_OVERSCROLL_ENABLED, { ...(ngDevMode ? { debugName: "overscrollEnabled" } : {}), ...this._overscrollEnabledOptions });
7165
+ overscrollEnabled = input(DEFAULT_OVERSCROLL_ENABLED, { ...(ngDevMode ? { debugName: "overscrollEnabled" } : /* istanbul ignore next */ {}), ...this._overscrollEnabledOptions });
7049
7166
  _enabledBufferOptimizationOptions = {
7050
7167
  transform: (v) => {
7051
7168
  const valid = validateBoolean(v);
@@ -7062,7 +7179,7 @@ class NgVirtualListComponent {
7062
7179
  * Can only be used if items in the collection are not added or updated. Otherwise, artifacts in the form of twitching of the scroll area are possible.
7063
7180
  * Works only if the property dynamic = true
7064
7181
  */
7065
- enabledBufferOptimization = input(DEFAULT_ENABLED_BUFFER_OPTIMIZATION, { ...(ngDevMode ? { debugName: "enabledBufferOptimization" } : {}), ...this._enabledBufferOptimizationOptions });
7182
+ enabledBufferOptimization = input(DEFAULT_ENABLED_BUFFER_OPTIMIZATION, { ...(ngDevMode ? { debugName: "enabledBufferOptimization" } : /* istanbul ignore next */ {}), ...this._enabledBufferOptimizationOptions });
7066
7183
  _itemRendererOptions = {
7067
7184
  transform: (v) => {
7068
7185
  let valid = validateObject(v);
@@ -7078,8 +7195,9 @@ class NgVirtualListComponent {
7078
7195
  /**
7079
7196
  * Rendering element template.
7080
7197
  */
7081
- itemRenderer = input.required({ ...(ngDevMode ? { debugName: "itemRenderer" } : {}), ...this._itemRendererOptions });
7082
- _itemRenderer = signal(undefined, ...(ngDevMode ? [{ debugName: "_itemRenderer" }] : []));
7198
+ itemRenderer = input.required({ ...(ngDevMode ? { debugName: "itemRenderer" } : /* istanbul ignore next */ {}), ...this._itemRendererOptions });
7199
+ _itemRenderer = signal(undefined, /* @ts-ignore */
7200
+ ...(ngDevMode ? [{ debugName: "_itemRenderer" }] : /* istanbul ignore next */ []));
7083
7201
  _itemConfigMapOptions = {
7084
7202
  transform: (v) => {
7085
7203
  let valid = validateObject(v);
@@ -7112,11 +7230,11 @@ class NgVirtualListComponent {
7112
7230
  * `collapsable` determines whether an element with a `sticky` property greater than zero can collapse and
7113
7231
  * collapse elements in front that do not have a `sticky` property.
7114
7232
  * `fullSize` determines the size of an element when rendering lists with cell divisions. If sticky is 1 or 2, fullSize automatically becomes true. The default value is false.
7115
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/models/item-config-map.model.ts
7233
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/models/item-config-map.model.ts
7116
7234
  * @author Evgenii Alexandrovich Grebennikov
7117
7235
  * @email djonnyx@gmail.com
7118
7236
  */
7119
- itemConfigMap = input({}, { ...(ngDevMode ? { debugName: "itemConfigMap" } : {}), ...this._itemConfigMapOptions });
7237
+ itemConfigMap = input({}, { ...(ngDevMode ? { debugName: "itemConfigMap" } : /* istanbul ignore next */ {}), ...this._itemConfigMapOptions });
7120
7238
  _itemSizeOptions = {
7121
7239
  transform: (v) => {
7122
7240
  const valid = validateFloat(v) || v === VIEWPORT;
@@ -7133,7 +7251,7 @@ class NgVirtualListComponent {
7133
7251
  * to adjust the sizes of the items in the unallocated area.
7134
7252
  * If the value is 'viewport', the sizes of elements are automatically resized to fit the viewport size.
7135
7253
  */
7136
- itemSize = input(DEFAULT_ITEM_SIZE, { ...(ngDevMode ? { debugName: "itemSize" } : {}), ...this._itemSizeOptions });
7254
+ itemSize = input(DEFAULT_ITEM_SIZE, { ...(ngDevMode ? { debugName: "itemSize" } : /* istanbul ignore next */ {}), ...this._itemSizeOptions });
7137
7255
  _minItemSizeOptions = {
7138
7256
  transform: (v) => {
7139
7257
  const valid = validateFloat(v) || v === VIEWPORT;
@@ -7148,7 +7266,7 @@ class NgVirtualListComponent {
7148
7266
  * If the `dynamicSize` property is enabled, the minimum size of the element is set.
7149
7267
  * If the value is 'viewport', the sizes of elements are automatically resized to fit the viewport size.
7150
7268
  */
7151
- minItemSize = input(DEFAULT_MIN_ITEM_SIZE, { ...(ngDevMode ? { debugName: "minItemSize" } : {}), ...this._minItemSizeOptions });
7269
+ minItemSize = input(DEFAULT_MIN_ITEM_SIZE, { ...(ngDevMode ? { debugName: "minItemSize" } : /* istanbul ignore next */ {}), ...this._minItemSizeOptions });
7152
7270
  _maxItemSizeOptions = {
7153
7271
  transform: (v) => {
7154
7272
  const valid = validateFloat(v) || v === VIEWPORT;
@@ -7163,7 +7281,7 @@ class NgVirtualListComponent {
7163
7281
  * If the `dynamicSize` property is enabled, the maximum size of the element is set.
7164
7282
  * If the value is 'viewport', the sizes of elements are automatically resized to fit the viewport size.
7165
7283
  */
7166
- maxItemSize = input(DEFAULT_MAX_ITEM_SIZE, { ...(ngDevMode ? { debugName: "maxItemSize" } : {}), ...this._maxItemSizeOptions });
7284
+ maxItemSize = input(DEFAULT_MAX_ITEM_SIZE, { ...(ngDevMode ? { debugName: "maxItemSize" } : /* istanbul ignore next */ {}), ...this._maxItemSizeOptions });
7167
7285
  _dynamicSizeOptions = {
7168
7286
  transform: (v) => {
7169
7287
  const valid = validateBoolean(v);
@@ -7179,7 +7297,7 @@ class NgVirtualListComponent {
7179
7297
  * the sizes of items in the unallocated area.
7180
7298
  * If false then the items in the list have a fixed size specified by the itemSize property. The default value is true.
7181
7299
  */
7182
- dynamicSize = input(DEFAULT_DYNAMIC_SIZE, { ...(ngDevMode ? { debugName: "dynamicSize" } : {}), ...this._dynamicSizeOptions });
7300
+ dynamicSize = input(DEFAULT_DYNAMIC_SIZE, { ...(ngDevMode ? { debugName: "dynamicSize" } : /* istanbul ignore next */ {}), ...this._dynamicSizeOptions });
7183
7301
  _directionOptions = {
7184
7302
  transform: (v) => {
7185
7303
  const valid = validateString(v) && (v === 'horizontal' || v === 'vertical');
@@ -7193,7 +7311,7 @@ class NgVirtualListComponent {
7193
7311
  /**
7194
7312
  * Determines the direction in which elements are placed. Default value is "vertical".
7195
7313
  */
7196
- direction = input(DEFAULT_DIRECTION, { ...(ngDevMode ? { debugName: "direction" } : {}), ...this._directionOptions });
7314
+ direction = input(DEFAULT_DIRECTION, { ...(ngDevMode ? { debugName: "direction" } : /* istanbul ignore next */ {}), ...this._directionOptions });
7197
7315
  _collectionModeOptions = {
7198
7316
  transform: (v) => {
7199
7317
  const valid = validateString(v) && (v === 'normal' || v === 'lazy');
@@ -7207,7 +7325,7 @@ class NgVirtualListComponent {
7207
7325
  /**
7208
7326
  * Determines the action modes for collection elements. Default value is "normal".
7209
7327
  */
7210
- collectionMode = input(DEFAULT_COLLECTION_MODE, { ...(ngDevMode ? { debugName: "collectionMode" } : {}), ...this._collectionModeOptions });
7328
+ collectionMode = input(DEFAULT_COLLECTION_MODE, { ...(ngDevMode ? { debugName: "collectionMode" } : /* istanbul ignore next */ {}), ...this._collectionModeOptions });
7211
7329
  _bufferSizeOptions = {
7212
7330
  transform: (v) => {
7213
7331
  const valid = validateInt(v);
@@ -7221,7 +7339,7 @@ class NgVirtualListComponent {
7221
7339
  /**
7222
7340
  * Number of elements outside the scope of visibility. Default value is 2.
7223
7341
  */
7224
- bufferSize = input(DEFAULT_BUFFER_SIZE, { ...(ngDevMode ? { debugName: "bufferSize" } : {}), ...this._bufferSizeOptions });
7342
+ bufferSize = input(DEFAULT_BUFFER_SIZE, { ...(ngDevMode ? { debugName: "bufferSize" } : /* istanbul ignore next */ {}), ...this._bufferSizeOptions });
7225
7343
  _maxBufferSizeTransform = {
7226
7344
  transform: (v) => {
7227
7345
  let val = v;
@@ -7242,7 +7360,7 @@ class NgVirtualListComponent {
7242
7360
  * If maxBufferSize is set to be greater than bufferSize, then adaptive buffer mode is enabled.
7243
7361
  * The greater the scroll size, the more elements are allocated for rendering.
7244
7362
  */
7245
- maxBufferSize = input(DEFAULT_MAX_BUFFER_SIZE, { ...(ngDevMode ? { debugName: "maxBufferSize" } : {}), ...this._maxBufferSizeTransform });
7363
+ maxBufferSize = input(DEFAULT_MAX_BUFFER_SIZE, { ...(ngDevMode ? { debugName: "maxBufferSize" } : /* istanbul ignore next */ {}), ...this._maxBufferSizeTransform });
7246
7364
  _snappingMethodOptions = {
7247
7365
  transform: (v) => {
7248
7366
  const valid = validateString(v) && (v === SnappingMethods.ADVANCED || v === SnappingMethods.STANDART);
@@ -7258,7 +7376,7 @@ class NgVirtualListComponent {
7258
7376
  * 'standart' - Classic group visualization.
7259
7377
  * 'advanced' - A mask is applied to the viewport area so that the background is displayed underneath the attached group.
7260
7378
  */
7261
- snappingMethod = input(DEFAULT_SNAPPING_METHOD, { ...(ngDevMode ? { debugName: "snappingMethod" } : {}), ...this._snappingMethodOptions });
7379
+ snappingMethod = input(DEFAULT_SNAPPING_METHOD, { ...(ngDevMode ? { debugName: "snappingMethod" } : /* istanbul ignore next */ {}), ...this._snappingMethodOptions });
7262
7380
  _collapsingModeOptions = {
7263
7381
  transform: (v) => {
7264
7382
  const valid = validateString(v) && (v === CollapsingModes.NONE || v === CollapsingModes.MULTI_COLLAPSE || v === CollapsingModes.ACCORDION);
@@ -7276,7 +7394,7 @@ class NgVirtualListComponent {
7276
7394
  * 'accordion' - Accordion collapsible list items.
7277
7395
  * Default value is `multi-collapse
7278
7396
  */
7279
- collapsingMode = input(DEFAULT_COLLAPSING_MODES, { ...(ngDevMode ? { debugName: "collapsingMode" } : {}), ...this._collapsingModeOptions });
7397
+ collapsingMode = input(DEFAULT_COLLAPSING_MODES, { ...(ngDevMode ? { debugName: "collapsingMode" } : /* istanbul ignore next */ {}), ...this._collapsingModeOptions });
7280
7398
  _methodForSelectingOptions = {
7281
7399
  transform: (v) => {
7282
7400
  throw new Error('The "methodForSelecting" property is deprecated. Use the "selectMode" property instead.');
@@ -7286,7 +7404,7 @@ class NgVirtualListComponent {
7286
7404
  * @deprecated
7287
7405
  * The "methodForSelecting" property is deprecated. Use the "selectMode" property.
7288
7406
  */
7289
- methodForSelecting = input(DEFAULT_SELECTING_MODES, { ...(ngDevMode ? { debugName: "methodForSelecting" } : {}), ...this._methodForSelectingOptions });
7407
+ methodForSelecting = input(DEFAULT_SELECTING_MODES, { ...(ngDevMode ? { debugName: "methodForSelecting" } : /* istanbul ignore next */ {}), ...this._methodForSelectingOptions });
7290
7408
  _selectingModeOptions = {
7291
7409
  transform: (v) => {
7292
7410
  const valid = validateString(v) && (v === 'none' || v === 'select' || v === 'multi-select');
@@ -7303,7 +7421,7 @@ class NgVirtualListComponent {
7303
7421
  * 'multi-select' - Multiple selection of list items.
7304
7422
  * 'none' - List items are not selectable.
7305
7423
  */
7306
- selectingMode = input(DEFAULT_SELECTING_MODES, { ...(ngDevMode ? { debugName: "selectingMode" } : {}), ...this._selectingModeOptions });
7424
+ selectingMode = input(DEFAULT_SELECTING_MODES, { ...(ngDevMode ? { debugName: "selectingMode" } : /* istanbul ignore next */ {}), ...this._selectingModeOptions });
7307
7425
  _trackByOptions = {
7308
7426
  transform: (v) => {
7309
7427
  const valid = validateString(v);
@@ -7317,7 +7435,7 @@ class NgVirtualListComponent {
7317
7435
  /**
7318
7436
  * The name of the property by which tracking is performed
7319
7437
  */
7320
- trackBy = input(TRACK_BY_PROPERTY_NAME, { ...(ngDevMode ? { debugName: "trackBy" } : {}), ...this._trackByOptions });
7438
+ trackBy = input(TRACK_BY_PROPERTY_NAME, { ...(ngDevMode ? { debugName: "trackBy" } : /* istanbul ignore next */ {}), ...this._trackByOptions });
7321
7439
  _screenReaderMessageOptions = {
7322
7440
  transform: (v) => {
7323
7441
  const valid = validateString(v);
@@ -7334,8 +7452,9 @@ class NgVirtualListComponent {
7334
7452
  * where $1 is the number of the first element of the screen collection,
7335
7453
  * $2 is the number of the last element of the screen collection.
7336
7454
  */
7337
- screenReaderMessage = input(DEFAULT_SCREEN_READER_MESSAGE, { ...(ngDevMode ? { debugName: "screenReaderMessage" } : {}), ...this._screenReaderMessageOptions });
7338
- screenReaderFormattedMessage = signal(this.screenReaderMessage(), ...(ngDevMode ? [{ debugName: "screenReaderFormattedMessage" }] : []));
7455
+ screenReaderMessage = input(DEFAULT_SCREEN_READER_MESSAGE, { ...(ngDevMode ? { debugName: "screenReaderMessage" } : /* istanbul ignore next */ {}), ...this._screenReaderMessageOptions });
7456
+ screenReaderFormattedMessage = signal(this.screenReaderMessage(), /* @ts-ignore */
7457
+ ...(ngDevMode ? [{ debugName: "screenReaderFormattedMessage" }] : /* istanbul ignore next */ []));
7339
7458
  _langTextDir = {
7340
7459
  transform: (v) => {
7341
7460
  const valid = validateString(v);
@@ -7350,7 +7469,7 @@ class NgVirtualListComponent {
7350
7469
  * A string indicating the direction of text for the locale.
7351
7470
  * Can be either "ltr" (left-to-right) or "rtl" (right-to-left).
7352
7471
  */
7353
- langTextDir = input(DEFAULT_LANG_TEXT_DIR, { ...(ngDevMode ? { debugName: "langTextDir" } : {}), ...this._langTextDir });
7472
+ langTextDir = input(DEFAULT_LANG_TEXT_DIR, { ...(ngDevMode ? { debugName: "langTextDir" } : /* istanbul ignore next */ {}), ...this._langTextDir });
7354
7473
  _isSingleSelection = this.getIsSingleSelection();
7355
7474
  _isMultiSelection = this.getIsMultiSelection();
7356
7475
  _isMultipleCollapse = this.getIsMultipleCollapse();
@@ -7361,36 +7480,54 @@ class NgVirtualListComponent {
7361
7480
  get isVertical() {
7362
7481
  return this._isVertical;
7363
7482
  }
7364
- focusedElement = signal(null, ...(ngDevMode ? [{ debugName: "focusedElement" }] : []));
7365
- classes = signal({}, ...(ngDevMode ? [{ debugName: "classes" }] : []));
7366
- _actualItems = signal([], ...(ngDevMode ? [{ debugName: "_actualItems" }] : []));
7367
- _collapsedItemIds = signal([], ...(ngDevMode ? [{ debugName: "_collapsedItemIds" }] : []));
7483
+ focusedElement = signal(null, /* @ts-ignore */
7484
+ ...(ngDevMode ? [{ debugName: "focusedElement" }] : /* istanbul ignore next */ []));
7485
+ classes = signal({}, /* @ts-ignore */
7486
+ ...(ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []));
7487
+ _actualItems = signal([], /* @ts-ignore */
7488
+ ...(ngDevMode ? [{ debugName: "_actualItems" }] : /* istanbul ignore next */ []));
7489
+ _collapsedItemIds = signal([], /* @ts-ignore */
7490
+ ...(ngDevMode ? [{ debugName: "_collapsedItemIds" }] : /* istanbul ignore next */ []));
7368
7491
  _displayComponents = [];
7369
7492
  _snappedDisplayComponents = [];
7370
- _bounds = signal(null, ...(ngDevMode ? [{ debugName: "_bounds" }] : []));
7493
+ _bounds = signal(null, /* @ts-ignore */
7494
+ ...(ngDevMode ? [{ debugName: "_bounds" }] : /* istanbul ignore next */ []));
7371
7495
  get bounds() { return this._bounds; }
7372
7496
  _actualScrollbarEnabled;
7373
7497
  _actualAlignment;
7374
7498
  get actualAlignment() { return this._actualAlignment; }
7375
- _actualItemSize = signal(DEFAULT_ITEM_SIZE, ...(ngDevMode ? [{ debugName: "_actualItemSize" }] : []));
7499
+ _actualItemSize = signal(DEFAULT_ITEM_SIZE, /* @ts-ignore */
7500
+ ...(ngDevMode ? [{ debugName: "_actualItemSize" }] : /* istanbul ignore next */ []));
7376
7501
  get actualItemSize() { return this._actualItemSize; }
7377
- _actualMinItemSize = signal(DEFAULT_MIN_ITEM_SIZE, ...(ngDevMode ? [{ debugName: "_actualMinItemSize" }] : []));
7502
+ _actualMinItemSize = signal(DEFAULT_MIN_ITEM_SIZE, /* @ts-ignore */
7503
+ ...(ngDevMode ? [{ debugName: "_actualMinItemSize" }] : /* istanbul ignore next */ []));
7378
7504
  get actualMinItemSize() { return this._actualMinItemSize; }
7379
- _actualMaxItemSize = signal(DEFAULT_MAX_ITEM_SIZE, ...(ngDevMode ? [{ debugName: "_actualMaxItemSize" }] : []));
7505
+ _actualMaxItemSize = signal(DEFAULT_MAX_ITEM_SIZE, /* @ts-ignore */
7506
+ ...(ngDevMode ? [{ debugName: "_actualMaxItemSize" }] : /* istanbul ignore next */ []));
7380
7507
  get actualMaxItemSize() { return this._actualMaxItemSize; }
7381
- _totalSize = signal(0, ...(ngDevMode ? [{ debugName: "_totalSize" }] : []));
7382
- _listBounds = signal(null, ...(ngDevMode ? [{ debugName: "_listBounds" }] : []));
7508
+ _totalSize = signal(0, /* @ts-ignore */
7509
+ ...(ngDevMode ? [{ debugName: "_totalSize" }] : /* istanbul ignore next */ []));
7510
+ _listBounds = signal(null, /* @ts-ignore */
7511
+ ...(ngDevMode ? [{ debugName: "_listBounds" }] : /* istanbul ignore next */ []));
7383
7512
  _$scrollSize = new BehaviorSubject(0);
7384
- _isScrollStart = signal(true, ...(ngDevMode ? [{ debugName: "_isScrollStart" }] : []));
7385
- _isScrollEnd = signal(false, ...(ngDevMode ? [{ debugName: "_isScrollEnd" }] : []));
7386
- _precalculatedScrollStartOffset = signal(0, ...(ngDevMode ? [{ debugName: "_precalculatedScrollStartOffset" }] : []));
7387
- _precalculatedScrollEndOffset = signal(0, ...(ngDevMode ? [{ debugName: "_precalculatedScrollEndOffset" }] : []));
7388
- _actualScrollStartOffset = signal(0, ...(ngDevMode ? [{ debugName: "_actualScrollStartOffset" }] : []));
7389
- _actualScrollEndOffset = signal(0, ...(ngDevMode ? [{ debugName: "_actualScrollEndOffset" }] : []));
7513
+ _isScrollStart = signal(true, /* @ts-ignore */
7514
+ ...(ngDevMode ? [{ debugName: "_isScrollStart" }] : /* istanbul ignore next */ []));
7515
+ _isScrollEnd = signal(false, /* @ts-ignore */
7516
+ ...(ngDevMode ? [{ debugName: "_isScrollEnd" }] : /* istanbul ignore next */ []));
7517
+ _precalculatedScrollStartOffset = signal(0, /* @ts-ignore */
7518
+ ...(ngDevMode ? [{ debugName: "_precalculatedScrollStartOffset" }] : /* istanbul ignore next */ []));
7519
+ _precalculatedScrollEndOffset = signal(0, /* @ts-ignore */
7520
+ ...(ngDevMode ? [{ debugName: "_precalculatedScrollEndOffset" }] : /* istanbul ignore next */ []));
7521
+ _actualScrollStartOffset = signal(0, /* @ts-ignore */
7522
+ ...(ngDevMode ? [{ debugName: "_actualScrollStartOffset" }] : /* istanbul ignore next */ []));
7523
+ _actualScrollEndOffset = signal(0, /* @ts-ignore */
7524
+ ...(ngDevMode ? [{ debugName: "_actualScrollEndOffset" }] : /* istanbul ignore next */ []));
7390
7525
  _actualSnapScrollToStart;
7391
7526
  _actualSnapScrollToEnd;
7392
- _alignmentScrollStartOffset = signal(0, ...(ngDevMode ? [{ debugName: "_alignmentScrollStartOffset" }] : []));
7393
- _alignmentScrollEndOffset = signal(0, ...(ngDevMode ? [{ debugName: "_alignmentScrollEndOffset" }] : []));
7527
+ _alignmentScrollStartOffset = signal(0, /* @ts-ignore */
7528
+ ...(ngDevMode ? [{ debugName: "_alignmentScrollStartOffset" }] : /* istanbul ignore next */ []));
7529
+ _alignmentScrollEndOffset = signal(0, /* @ts-ignore */
7530
+ ...(ngDevMode ? [{ debugName: "_alignmentScrollEndOffset" }] : /* istanbul ignore next */ []));
7394
7531
  _resizeSnappedComponentHandler = () => {
7395
7532
  const list = this._list(), scroller = this._scroller(), bounds = this._bounds(), snappedComponents = this._snappedDisplayComponents;
7396
7533
  if (!!list && !!scroller && snappedComponents.length > 0) {
@@ -7529,7 +7666,8 @@ class NgVirtualListComponent {
7529
7666
  this._isInfinity = computed(() => {
7530
7667
  const mode = this.spreadingMode();
7531
7668
  return isSpreadingMode(mode, SpreadingModes.INFINITY);
7532
- }, ...(ngDevMode ? [{ debugName: "_isInfinity" }] : []));
7669
+ }, /* @ts-ignore */
7670
+ ...(ngDevMode ? [{ debugName: "_isInfinity" }] : /* istanbul ignore next */ []));
7533
7671
  const $isInfinity = toObservable(this._isInfinity);
7534
7672
  $isInfinity.pipe(takeUntilDestroyed(), tap(v => {
7535
7673
  this._trackBox.isInfinity = this._service.isInfinity = v;
@@ -7608,10 +7746,12 @@ class NgVirtualListComponent {
7608
7746
  const $actualItemSize = toObservable(this._actualItemSize), $actualItems = toObservable(this._actualItems).pipe(takeUntilDestroyed(), distinctUntilChanged());
7609
7747
  this._scroller = computed(() => {
7610
7748
  return this._scrollerComponent()?.scrollViewport();
7611
- }, ...(ngDevMode ? [{ debugName: "_scroller" }] : []));
7749
+ }, /* @ts-ignore */
7750
+ ...(ngDevMode ? [{ debugName: "_scroller" }] : /* istanbul ignore next */ []));
7612
7751
  this._list = computed(() => {
7613
7752
  return this._scrollerComponent()?.scrollContent();
7614
- }, ...(ngDevMode ? [{ debugName: "_list" }] : []));
7753
+ }, /* @ts-ignore */
7754
+ ...(ngDevMode ? [{ debugName: "_list" }] : /* istanbul ignore next */ []));
7615
7755
  this._service.$focusItem.pipe(takeUntilDestroyed(this._destroyRef), tap(params => {
7616
7756
  const { element, position, align, behavior } = params;
7617
7757
  this.focusItem(element, position, align, behavior);
@@ -7690,11 +7830,13 @@ class NgVirtualListComponent {
7690
7830
  this._actualSnapScrollToStart = computed(() => {
7691
7831
  const snapScrollToStart = this.snapScrollToStart(), spreadingMode = this.spreadingMode(), isInfinity = isSpreadingMode(spreadingMode, SpreadingModes.INFINITY);
7692
7832
  return isInfinity ? false : snapScrollToStart;
7693
- }, ...(ngDevMode ? [{ debugName: "_actualSnapScrollToStart" }] : []));
7833
+ }, /* @ts-ignore */
7834
+ ...(ngDevMode ? [{ debugName: "_actualSnapScrollToStart" }] : /* istanbul ignore next */ []));
7694
7835
  this._actualSnapScrollToEnd = computed(() => {
7695
7836
  const snapScrollToEnd = this.snapScrollToEnd(), spreadingMode = this.spreadingMode(), isInfinity = isSpreadingMode(spreadingMode, SpreadingModes.INFINITY);
7696
7837
  return isInfinity ? false : snapScrollToEnd;
7697
- }, ...(ngDevMode ? [{ debugName: "_actualSnapScrollToEnd" }] : []));
7838
+ }, /* @ts-ignore */
7839
+ ...(ngDevMode ? [{ debugName: "_actualSnapScrollToEnd" }] : /* istanbul ignore next */ []));
7698
7840
  const $viewInit = this.$viewInit, $prerenderContainer = toObservable(this._prerender);
7699
7841
  const $prerender = $viewInit.pipe(takeUntilDestroyed(), filter$1(v => !!v), switchMap$1(v => {
7700
7842
  return $prerenderContainer.pipe(takeUntilDestroyed(this._destroyRef), filter$1(v => !!v), switchMap$1(v => v.$render));
@@ -7924,11 +8066,13 @@ class NgVirtualListComponent {
7924
8066
  this._actualAlignment = computed(() => {
7925
8067
  const alignment = this.alignment(), spreadingMode = this.spreadingMode();
7926
8068
  return isSpreadingMode(spreadingMode, SpreadingModes.INFINITY) ? Alignments.CENTER : alignment;
7927
- }, ...(ngDevMode ? [{ debugName: "_actualAlignment" }] : []));
8069
+ }, /* @ts-ignore */
8070
+ ...(ngDevMode ? [{ debugName: "_actualAlignment" }] : /* istanbul ignore next */ []));
7928
8071
  this._actualScrollbarEnabled = computed(() => {
7929
8072
  const scrollbarEnabled = this.scrollbarEnabled(), spreadingMode = this.spreadingMode();
7930
8073
  return isSpreadingMode(spreadingMode, SpreadingModes.INFINITY) ? false : scrollbarEnabled;
7931
- }, ...(ngDevMode ? [{ debugName: "_actualScrollbarEnabled" }] : []));
8074
+ }, /* @ts-ignore */
8075
+ ...(ngDevMode ? [{ debugName: "_actualScrollbarEnabled" }] : /* istanbul ignore next */ []));
7932
8076
  const $alignment = toObservable(this._actualAlignment), $precalculatedScrollStartOffset = toObservable(this._precalculatedScrollStartOffset), $precalculatedScrollEndOffset = toObservable(this._precalculatedScrollEndOffset), $listBounds = toObservable(this._listBounds).pipe(filter$1(b => !!b)), $scrollSize = this._$scrollSize.asObservable(), $bufferSize = toObservable(this.bufferSize).pipe(map(v => v < 0 ? DEFAULT_BUFFER_SIZE : v)), $maxBufferSize = toObservable(this.maxBufferSize).pipe(map(v => v < 0 ? DEFAULT_BUFFER_SIZE : v)), $snapToItem = toObservable(this.snapToItem), $snapToItemAlign = toObservable(this.snapToItemAlign), $stickyEnabled = toObservable(this.stickyEnabled), $isLazy = toObservable(this.collectionMode).pipe(map(v => this.getIsLazy(v || DEFAULT_COLLECTION_MODE))), $enabledBufferOptimization = toObservable(this.enabledBufferOptimization), $snappingMethod = toObservable(this.snappingMethod).pipe(map(v => this.getIsSnappingMethodAdvanced(v || DEFAULT_SNAPPING_METHOD))), $collapsingMode = toObservable(this.collapsingMode), $selectingMode = toObservable(this.selectingMode), $selectedIds = toObservable(this.selectedIds), $collapsedIds = toObservable(this.collapsedIds).pipe(distinctUntilChanged(), map(v => Array.isArray(v) ? v : [])), $collapsedItemIds = toObservable(this._collapsedItemIds).pipe(distinctUntilChanged(), map(v => Array.isArray(v) ? v : [])), $itemTransform = toObservable(this.itemTransform), $screenReaderMessage = toObservable(this.screenReaderMessage), $displayItems = this._service.$displayItems, $cacheVersion = this._service.$cacheVersion;
7933
8077
  $snapToItem.pipe(takeUntilDestroyed(), tap(v => {
7934
8078
  this._service.snapToItem = v;
@@ -8920,10 +9064,10 @@ class NgVirtualListComponent {
8920
9064
  }
8921
9065
  }
8922
9066
  }
8923
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8924
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: NgVirtualListComponent, isStandalone: false, selector: "ng-virtual-list", inputs: { scrollbarThickness: { classPropertyName: "scrollbarThickness", publicName: "scrollbarThickness", isSignal: true, isRequired: false, transformFunction: null }, scrollbarMinSize: { classPropertyName: "scrollbarMinSize", publicName: "scrollbarMinSize", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThumbRenderer: { classPropertyName: "scrollbarThumbRenderer", publicName: "scrollbarThumbRenderer", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThumbParams: { classPropertyName: "scrollbarThumbParams", publicName: "scrollbarThumbParams", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, waitForPreparation: { classPropertyName: "waitForPreparation", publicName: "waitForPreparation", isSignal: true, isRequired: false, transformFunction: null }, clickDistance: { classPropertyName: "clickDistance", publicName: "clickDistance", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, defaultItemValue: { classPropertyName: "defaultItemValue", publicName: "defaultItemValue", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, collapsedIds: { classPropertyName: "collapsedIds", publicName: "collapsedIds", isSignal: true, isRequired: false, transformFunction: null }, selectByClick: { classPropertyName: "selectByClick", publicName: "selectByClick", isSignal: true, isRequired: false, transformFunction: null }, collapseByClick: { classPropertyName: "collapseByClick", publicName: "collapseByClick", isSignal: true, isRequired: false, transformFunction: null }, snap: { classPropertyName: "snap", publicName: "snap", isSignal: true, isRequired: false, transformFunction: null }, stickyEnabled: { classPropertyName: "stickyEnabled", publicName: "stickyEnabled", isSignal: true, isRequired: false, transformFunction: null }, snapToEndTransitionInstantOffset: { classPropertyName: "snapToEndTransitionInstantOffset", publicName: "snapToEndTransitionInstantOffset", isSignal: true, isRequired: false, transformFunction: null }, scrollStartOffset: { classPropertyName: "scrollStartOffset", publicName: "scrollStartOffset", isSignal: true, isRequired: false, transformFunction: null }, scrollEndOffset: { classPropertyName: "scrollEndOffset", publicName: "scrollEndOffset", isSignal: true, isRequired: false, transformFunction: null }, snapScrollToStart: { classPropertyName: "snapScrollToStart", publicName: "snapScrollToStart", isSignal: true, isRequired: false, transformFunction: null }, snapScrollToEnd: { classPropertyName: "snapScrollToEnd", publicName: "snapScrollToEnd", isSignal: true, isRequired: false, transformFunction: null }, snapScrollToBottom: { classPropertyName: "snapScrollToBottom", publicName: "snapScrollToBottom", isSignal: true, isRequired: false, transformFunction: null }, scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, scrollbarInteractive: { classPropertyName: "scrollbarInteractive", publicName: "scrollbarInteractive", isSignal: true, isRequired: false, transformFunction: null }, overlappingScrollbar: { classPropertyName: "overlappingScrollbar", publicName: "overlappingScrollbar", isSignal: true, isRequired: false, transformFunction: null }, scrollBehavior: { classPropertyName: "scrollBehavior", publicName: "scrollBehavior", isSignal: true, isRequired: false, transformFunction: null }, scrollingSettings: { classPropertyName: "scrollingSettings", publicName: "scrollingSettings", isSignal: true, isRequired: false, transformFunction: null }, itemTransform: { classPropertyName: "itemTransform", publicName: "itemTransform", isSignal: true, isRequired: false, transformFunction: null }, snapToItem: { classPropertyName: "snapToItem", publicName: "snapToItem", isSignal: true, isRequired: false, transformFunction: null }, snapToItemAlign: { classPropertyName: "snapToItemAlign", publicName: "snapToItemAlign", isSignal: true, isRequired: false, transformFunction: null }, snappingDistance: { classPropertyName: "snappingDistance", publicName: "snappingDistance", isSignal: true, isRequired: false, transformFunction: null }, scrollingOneByOne: { classPropertyName: "scrollingOneByOne", publicName: "scrollingOneByOne", isSignal: true, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null }, zIndexWhenSelecting: { classPropertyName: "zIndexWhenSelecting", publicName: "zIndexWhenSelecting", isSignal: true, isRequired: false, transformFunction: null }, spreadingMode: { classPropertyName: "spreadingMode", publicName: "spreadingMode", isSignal: true, isRequired: false, transformFunction: null }, divides: { classPropertyName: "divides", publicName: "divides", isSignal: true, isRequired: false, transformFunction: null }, motionBlur: { classPropertyName: "motionBlur", publicName: "motionBlur", isSignal: true, isRequired: false, transformFunction: null }, maxMotionBlur: { classPropertyName: "maxMotionBlur", publicName: "maxMotionBlur", isSignal: true, isRequired: false, transformFunction: null }, motionBlurEnabled: { classPropertyName: "motionBlurEnabled", publicName: "motionBlurEnabled", isSignal: true, isRequired: false, transformFunction: null }, animationParams: { classPropertyName: "animationParams", publicName: "animationParams", isSignal: true, isRequired: false, transformFunction: null }, overscrollEnabled: { classPropertyName: "overscrollEnabled", publicName: "overscrollEnabled", isSignal: true, isRequired: false, transformFunction: null }, enabledBufferOptimization: { classPropertyName: "enabledBufferOptimization", publicName: "enabledBufferOptimization", isSignal: true, isRequired: false, transformFunction: null }, itemRenderer: { classPropertyName: "itemRenderer", publicName: "itemRenderer", isSignal: true, isRequired: true, transformFunction: null }, itemConfigMap: { classPropertyName: "itemConfigMap", publicName: "itemConfigMap", isSignal: true, isRequired: false, transformFunction: null }, itemSize: { classPropertyName: "itemSize", publicName: "itemSize", isSignal: true, isRequired: false, transformFunction: null }, minItemSize: { classPropertyName: "minItemSize", publicName: "minItemSize", isSignal: true, isRequired: false, transformFunction: null }, maxItemSize: { classPropertyName: "maxItemSize", publicName: "maxItemSize", isSignal: true, isRequired: false, transformFunction: null }, dynamicSize: { classPropertyName: "dynamicSize", publicName: "dynamicSize", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, collectionMode: { classPropertyName: "collectionMode", publicName: "collectionMode", isSignal: true, isRequired: false, transformFunction: null }, bufferSize: { classPropertyName: "bufferSize", publicName: "bufferSize", isSignal: true, isRequired: false, transformFunction: null }, maxBufferSize: { classPropertyName: "maxBufferSize", publicName: "maxBufferSize", isSignal: true, isRequired: false, transformFunction: null }, snappingMethod: { classPropertyName: "snappingMethod", publicName: "snappingMethod", isSignal: true, isRequired: false, transformFunction: null }, collapsingMode: { classPropertyName: "collapsingMode", publicName: "collapsingMode", isSignal: true, isRequired: false, transformFunction: null }, methodForSelecting: { classPropertyName: "methodForSelecting", publicName: "methodForSelecting", isSignal: true, isRequired: false, transformFunction: null }, selectingMode: { classPropertyName: "selectingMode", publicName: "selectingMode", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, screenReaderMessage: { classPropertyName: "screenReaderMessage", publicName: "screenReaderMessage", isSignal: true, isRequired: false, transformFunction: null }, langTextDir: { classPropertyName: "langTextDir", publicName: "langTextDir", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onScroll: "onScroll", onScrollEnd: "onScrollEnd", onViewportChange: "onViewportChange", onSnapItem: "onSnapItem", onItemClick: "onItemClick", onSelect: "onSelect", onCollapse: "onCollapse", onScrollReachStart: "onScrollReachStart", onScrollReachEnd: "onScrollReachEnd" }, host: { styleAttribute: "position: relative;" }, providers: [NgVirtualListService, NgVirtualListPublicService], viewQueries: [{ propertyName: "_prerender", first: true, predicate: ["prerender"], descendants: true, isSignal: true }, { propertyName: "_scrollerComponent", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "_listContainerRef", first: true, predicate: ["renderersContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "_snapContainerRef", first: true, predicate: ["snapRendererContainer"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "@let scrollStartOffset = _actualScrollStartOffset();\r\n@let scrollEndOffset = _actualScrollEndOffset();\r\n@let alignmentScrollStartOffset = _alignmentScrollStartOffset();\r\n@let alignmentScrollEndOffset = _alignmentScrollEndOffset();\r\n\r\n<div aria-live=\"polite\" aria-atomic=\"true\" class=\"ngvl__screen-reader\">\r\n {{ screenReaderFormattedMessage() }}\r\n</div>\r\n\r\n<ng-prerender-container #prerender [bounds]=\"bounds()!\" [direction]=\"direction()\" [dynamic]=\"dynamicSize()\"\r\n [divides]=\"divides()\" [isVertical]=\"isVertical\" [itemSize]=\"actualItemSize()\" [trackBy]=\"trackBy()\"\r\n [itemRenderer]=\"itemRenderer()\" [startOffset]=\"scrollStartOffset\" [endOffset]=\"scrollEndOffset\"\r\n [scrollbarEnabled]=\"scroller.scrollbarShow()\" [enabled]=\"dynamicSize() && snapScrollToEnd()\" />\r\n\r\n@if (stickyEnabled()) {\r\n <div localeSensitive [langTextDir]=\"langTextDir()\" #snappedContainer class=\"ngvl__snapped-container\"\r\n [ngClass]=\"classes()\">\r\n <div #snapped part=\"snapped-item\" class=\"ngvl__list-snapper\">\r\n <ng-container #snapRendererContainer></ng-container>\r\n </div>\r\n </div>\r\n}\r\n\r\n<ng-scroller #scroller class=\"ngvl__list-scroller\" [classes]=\"classes()\" [startOffset]=\"scrollStartOffset\"\r\n [endOffset]=\"scrollEndOffset\" [alignmentStartOffset]=\"alignmentScrollStartOffset\" [alignmentEndOffset]=\"alignmentScrollEndOffset\"\r\n [direction]=\"direction()\" [scrollbarThumbRenderer]=\"scrollbarThumbRenderer()\" [isInfinity]=\"_isInfinity()\"\r\n [scrollbarThickness]=\"scrollbarThickness()\" [scrollbarThumbParams]=\"scrollbarThumbParams()\"\r\n [animationParams]=\"animationParams()\" [focusedElement]=\"focusedElement()\" [loading]=\"loading()\"\r\n [overscrollEnabled]=\"overscrollEnabled()\" [snappingDistance]=\"snappingDistance()\" [overlappingScrollbar]=\"overlappingScrollbar()\"\r\n [scrollbarEnabled]=\"_actualScrollbarEnabled()\" [scrollbarInteractive]=\"scrollbarInteractive()\" [snapToItem]=\"snapToItem()\"\r\n [snapToItemAlign]=\"snapToItemAlign()\" [scrollbarMinSize]=\"scrollbarMinSize()\" [scrollBehavior]=\"scrollBehavior()\"\r\n [scrollingSettings]=\"scrollingSettings()\" [scrollingOneByOne]=\"scrollingOneByOne()\" [motionBlur]=\"motionBlur()\"\r\n [maxMotionBlur]=\"maxMotionBlur()\" [motionBlurEnabled]=\"motionBlurEnabled()\">\r\n <ng-container #renderersContainer></ng-container>\r\n</ng-scroller>", styles: [":host{position:relative;display:block;width:400px;overflow:hidden}:host(.horizontal){height:48px}:host(.vertical){height:320px}.ngvl__snapped-container{position:relative;width:100%;opacity:0}.ngvl__snapped-container.prepared{opacity:1}.ngvl__list-snapper{-webkit-tap-highlight-color:transparent;position:absolute;list-style:none;left:0;top:0;z-index:1}.ngvl__list-scroller{-webkit-tap-highlight-color:transparent;position:absolute;left:0;top:0;width:100%;height:100%;z-index:0}.ngvl__screen-reader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: NgScrollerComponent, selector: "ng-scroller", inputs: ["scrollbarEnabled", "scrollbarInteractive", "focusedElement", "overlappingScrollbar", "content", "loading", "classes", "scrollbarMinSize", "scrollbarThickness", "scrollbarThumbRenderer", "scrollbarThumbParams", "motionBlur", "maxMotionBlur", "motionBlurEnabled"], outputs: ["onScrollbarVisible"] }, { kind: "component", type: NgPrerenderContainer, selector: "ng-prerender-container", inputs: ["enabled", "direction", "isVertical", "scrollbarEnabled", "startOffset", "endOffset", "bounds", "dynamic", "itemSize", "trackBy", "divides", "itemRenderer"] }, { kind: "directive", type: LocaleSensitiveDirective, selector: "[localeSensitive]", inputs: ["langTextDir", "listDir"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.ShadowDom });
9067
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9068
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.0", type: NgVirtualListComponent, isStandalone: false, selector: "ng-virtual-list", inputs: { scrollbarThickness: { classPropertyName: "scrollbarThickness", publicName: "scrollbarThickness", isSignal: true, isRequired: false, transformFunction: null }, scrollbarMinSize: { classPropertyName: "scrollbarMinSize", publicName: "scrollbarMinSize", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThumbRenderer: { classPropertyName: "scrollbarThumbRenderer", publicName: "scrollbarThumbRenderer", isSignal: true, isRequired: false, transformFunction: null }, scrollbarThumbParams: { classPropertyName: "scrollbarThumbParams", publicName: "scrollbarThumbParams", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, waitForPreparation: { classPropertyName: "waitForPreparation", publicName: "waitForPreparation", isSignal: true, isRequired: false, transformFunction: null }, clickDistance: { classPropertyName: "clickDistance", publicName: "clickDistance", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: true, transformFunction: null }, defaultItemValue: { classPropertyName: "defaultItemValue", publicName: "defaultItemValue", isSignal: true, isRequired: false, transformFunction: null }, selectedIds: { classPropertyName: "selectedIds", publicName: "selectedIds", isSignal: true, isRequired: false, transformFunction: null }, collapsedIds: { classPropertyName: "collapsedIds", publicName: "collapsedIds", isSignal: true, isRequired: false, transformFunction: null }, selectByClick: { classPropertyName: "selectByClick", publicName: "selectByClick", isSignal: true, isRequired: false, transformFunction: null }, collapseByClick: { classPropertyName: "collapseByClick", publicName: "collapseByClick", isSignal: true, isRequired: false, transformFunction: null }, snap: { classPropertyName: "snap", publicName: "snap", isSignal: true, isRequired: false, transformFunction: null }, stickyEnabled: { classPropertyName: "stickyEnabled", publicName: "stickyEnabled", isSignal: true, isRequired: false, transformFunction: null }, snapToEndTransitionInstantOffset: { classPropertyName: "snapToEndTransitionInstantOffset", publicName: "snapToEndTransitionInstantOffset", isSignal: true, isRequired: false, transformFunction: null }, scrollStartOffset: { classPropertyName: "scrollStartOffset", publicName: "scrollStartOffset", isSignal: true, isRequired: false, transformFunction: null }, scrollEndOffset: { classPropertyName: "scrollEndOffset", publicName: "scrollEndOffset", isSignal: true, isRequired: false, transformFunction: null }, snapScrollToStart: { classPropertyName: "snapScrollToStart", publicName: "snapScrollToStart", isSignal: true, isRequired: false, transformFunction: null }, snapScrollToEnd: { classPropertyName: "snapScrollToEnd", publicName: "snapScrollToEnd", isSignal: true, isRequired: false, transformFunction: null }, snapScrollToBottom: { classPropertyName: "snapScrollToBottom", publicName: "snapScrollToBottom", isSignal: true, isRequired: false, transformFunction: null }, scrollbarEnabled: { classPropertyName: "scrollbarEnabled", publicName: "scrollbarEnabled", isSignal: true, isRequired: false, transformFunction: null }, scrollbarInteractive: { classPropertyName: "scrollbarInteractive", publicName: "scrollbarInteractive", isSignal: true, isRequired: false, transformFunction: null }, overlappingScrollbar: { classPropertyName: "overlappingScrollbar", publicName: "overlappingScrollbar", isSignal: true, isRequired: false, transformFunction: null }, scrollBehavior: { classPropertyName: "scrollBehavior", publicName: "scrollBehavior", isSignal: true, isRequired: false, transformFunction: null }, scrollingSettings: { classPropertyName: "scrollingSettings", publicName: "scrollingSettings", isSignal: true, isRequired: false, transformFunction: null }, itemTransform: { classPropertyName: "itemTransform", publicName: "itemTransform", isSignal: true, isRequired: false, transformFunction: null }, snapToItem: { classPropertyName: "snapToItem", publicName: "snapToItem", isSignal: true, isRequired: false, transformFunction: null }, snapToItemAlign: { classPropertyName: "snapToItemAlign", publicName: "snapToItemAlign", isSignal: true, isRequired: false, transformFunction: null }, snappingDistance: { classPropertyName: "snappingDistance", publicName: "snappingDistance", isSignal: true, isRequired: false, transformFunction: null }, scrollingOneByOne: { classPropertyName: "scrollingOneByOne", publicName: "scrollingOneByOne", isSignal: true, isRequired: false, transformFunction: null }, alignment: { classPropertyName: "alignment", publicName: "alignment", isSignal: true, isRequired: false, transformFunction: null }, zIndexWhenSelecting: { classPropertyName: "zIndexWhenSelecting", publicName: "zIndexWhenSelecting", isSignal: true, isRequired: false, transformFunction: null }, spreadingMode: { classPropertyName: "spreadingMode", publicName: "spreadingMode", isSignal: true, isRequired: false, transformFunction: null }, divides: { classPropertyName: "divides", publicName: "divides", isSignal: true, isRequired: false, transformFunction: null }, motionBlur: { classPropertyName: "motionBlur", publicName: "motionBlur", isSignal: true, isRequired: false, transformFunction: null }, maxMotionBlur: { classPropertyName: "maxMotionBlur", publicName: "maxMotionBlur", isSignal: true, isRequired: false, transformFunction: null }, motionBlurEnabled: { classPropertyName: "motionBlurEnabled", publicName: "motionBlurEnabled", isSignal: true, isRequired: false, transformFunction: null }, animationParams: { classPropertyName: "animationParams", publicName: "animationParams", isSignal: true, isRequired: false, transformFunction: null }, overscrollEnabled: { classPropertyName: "overscrollEnabled", publicName: "overscrollEnabled", isSignal: true, isRequired: false, transformFunction: null }, enabledBufferOptimization: { classPropertyName: "enabledBufferOptimization", publicName: "enabledBufferOptimization", isSignal: true, isRequired: false, transformFunction: null }, itemRenderer: { classPropertyName: "itemRenderer", publicName: "itemRenderer", isSignal: true, isRequired: true, transformFunction: null }, itemConfigMap: { classPropertyName: "itemConfigMap", publicName: "itemConfigMap", isSignal: true, isRequired: false, transformFunction: null }, itemSize: { classPropertyName: "itemSize", publicName: "itemSize", isSignal: true, isRequired: false, transformFunction: null }, minItemSize: { classPropertyName: "minItemSize", publicName: "minItemSize", isSignal: true, isRequired: false, transformFunction: null }, maxItemSize: { classPropertyName: "maxItemSize", publicName: "maxItemSize", isSignal: true, isRequired: false, transformFunction: null }, dynamicSize: { classPropertyName: "dynamicSize", publicName: "dynamicSize", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, collectionMode: { classPropertyName: "collectionMode", publicName: "collectionMode", isSignal: true, isRequired: false, transformFunction: null }, bufferSize: { classPropertyName: "bufferSize", publicName: "bufferSize", isSignal: true, isRequired: false, transformFunction: null }, maxBufferSize: { classPropertyName: "maxBufferSize", publicName: "maxBufferSize", isSignal: true, isRequired: false, transformFunction: null }, snappingMethod: { classPropertyName: "snappingMethod", publicName: "snappingMethod", isSignal: true, isRequired: false, transformFunction: null }, collapsingMode: { classPropertyName: "collapsingMode", publicName: "collapsingMode", isSignal: true, isRequired: false, transformFunction: null }, methodForSelecting: { classPropertyName: "methodForSelecting", publicName: "methodForSelecting", isSignal: true, isRequired: false, transformFunction: null }, selectingMode: { classPropertyName: "selectingMode", publicName: "selectingMode", isSignal: true, isRequired: false, transformFunction: null }, trackBy: { classPropertyName: "trackBy", publicName: "trackBy", isSignal: true, isRequired: false, transformFunction: null }, screenReaderMessage: { classPropertyName: "screenReaderMessage", publicName: "screenReaderMessage", isSignal: true, isRequired: false, transformFunction: null }, langTextDir: { classPropertyName: "langTextDir", publicName: "langTextDir", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onScroll: "onScroll", onScrollEnd: "onScrollEnd", onViewportChange: "onViewportChange", onSnapItem: "onSnapItem", onItemClick: "onItemClick", onSelect: "onSelect", onCollapse: "onCollapse", onScrollReachStart: "onScrollReachStart", onScrollReachEnd: "onScrollReachEnd" }, host: { styleAttribute: "position: relative;" }, providers: [NgVirtualListService, NgVirtualListPublicService], viewQueries: [{ propertyName: "_prerender", first: true, predicate: ["prerender"], descendants: true, isSignal: true }, { propertyName: "_scrollerComponent", first: true, predicate: ["scroller"], descendants: true, isSignal: true }, { propertyName: "_listContainerRef", first: true, predicate: ["renderersContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "_snapContainerRef", first: true, predicate: ["snapRendererContainer"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "@let scrollStartOffset = _actualScrollStartOffset();\r\n@let scrollEndOffset = _actualScrollEndOffset();\r\n@let alignmentScrollStartOffset = _alignmentScrollStartOffset();\r\n@let alignmentScrollEndOffset = _alignmentScrollEndOffset();\r\n\r\n<div aria-live=\"polite\" aria-atomic=\"true\" class=\"ngvl__screen-reader\">\r\n {{ screenReaderFormattedMessage() }}\r\n</div>\r\n\r\n<ng-prerender-container #prerender [bounds]=\"bounds()!\" [direction]=\"direction()\" [dynamic]=\"dynamicSize()\"\r\n [divides]=\"divides()\" [isVertical]=\"isVertical\" [itemSize]=\"actualItemSize()\" [trackBy]=\"trackBy()\"\r\n [itemRenderer]=\"itemRenderer()\" [startOffset]=\"scrollStartOffset\" [endOffset]=\"scrollEndOffset\"\r\n [scrollbarEnabled]=\"scroller.scrollbarShow()\" [enabled]=\"dynamicSize() && snapScrollToEnd()\" />\r\n\r\n@if (stickyEnabled()) {\r\n <div localeSensitive [langTextDir]=\"langTextDir()\" #snappedContainer class=\"ngvl__snapped-container\"\r\n [ngClass]=\"classes()\">\r\n <div #snapped part=\"snapped-item\" class=\"ngvl__list-snapper\">\r\n <ng-container #snapRendererContainer></ng-container>\r\n </div>\r\n </div>\r\n}\r\n\r\n<ng-scroller #scroller class=\"ngvl__list-scroller\" [classes]=\"classes()\" [startOffset]=\"scrollStartOffset\"\r\n [endOffset]=\"scrollEndOffset\" [alignmentStartOffset]=\"alignmentScrollStartOffset\" [alignmentEndOffset]=\"alignmentScrollEndOffset\"\r\n [direction]=\"direction()\" [scrollbarThumbRenderer]=\"scrollbarThumbRenderer()\" [isInfinity]=\"_isInfinity()\"\r\n [scrollbarThickness]=\"scrollbarThickness()\" [scrollbarThumbParams]=\"scrollbarThumbParams()\"\r\n [animationParams]=\"animationParams()\" [focusedElement]=\"focusedElement()\" [loading]=\"loading()\"\r\n [overscrollEnabled]=\"overscrollEnabled()\" [snappingDistance]=\"snappingDistance()\" [overlappingScrollbar]=\"overlappingScrollbar()\"\r\n [scrollbarEnabled]=\"_actualScrollbarEnabled()\" [scrollbarInteractive]=\"scrollbarInteractive()\" [snapToItem]=\"snapToItem()\"\r\n [snapToItemAlign]=\"snapToItemAlign()\" [scrollbarMinSize]=\"scrollbarMinSize()\" [scrollBehavior]=\"scrollBehavior()\"\r\n [scrollingSettings]=\"scrollingSettings()\" [scrollingOneByOne]=\"scrollingOneByOne()\" [motionBlur]=\"motionBlur()\"\r\n [maxMotionBlur]=\"maxMotionBlur()\" [motionBlurEnabled]=\"motionBlurEnabled()\">\r\n <ng-container #renderersContainer></ng-container>\r\n</ng-scroller>", styles: [":host{position:relative;display:block;width:400px;overflow:hidden}:host(.horizontal){height:48px}:host(.vertical){height:320px}.ngvl__snapped-container{position:relative;width:100%;opacity:0}.ngvl__snapped-container.prepared{opacity:1}.ngvl__list-snapper{-webkit-tap-highlight-color:transparent;position:absolute;list-style:none;left:0;top:0;z-index:1}.ngvl__list-scroller{-webkit-tap-highlight-color:transparent;position:absolute;left:0;top:0;width:100%;height:100%;z-index:0}.ngvl__screen-reader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: NgScrollerComponent, selector: "ng-scroller", inputs: ["scrollbarEnabled", "scrollbarInteractive", "focusedElement", "overlappingScrollbar", "content", "loading", "classes", "scrollbarMinSize", "scrollbarThickness", "scrollbarThumbRenderer", "scrollbarThumbParams", "motionBlur", "maxMotionBlur", "motionBlurEnabled"], outputs: ["onScrollbarVisible"] }, { kind: "component", type: NgPrerenderContainer, selector: "ng-prerender-container", inputs: ["enabled", "direction", "isVertical", "scrollbarEnabled", "startOffset", "endOffset", "bounds", "dynamic", "itemSize", "trackBy", "divides", "itemRenderer"] }, { kind: "directive", type: LocaleSensitiveDirective, selector: "[localeSensitive]", inputs: ["langTextDir", "listDir"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.ShadowDom });
8925
9069
  }
8926
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListComponent, decorators: [{
9070
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListComponent, decorators: [{
8927
9071
  type: Component,
8928
9072
  args: [{ selector: 'ng-virtual-list', host: {
8929
9073
  'style': 'position: relative;'
@@ -8937,11 +9081,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
8937
9081
  }], _scrollerComponent: [{ type: i0.ViewChild, args: ['scroller', { isSignal: true }] }], onScroll: [{ type: i0.Output, args: ["onScroll"] }], onScrollEnd: [{ type: i0.Output, args: ["onScrollEnd"] }], onViewportChange: [{ type: i0.Output, args: ["onViewportChange"] }], onSnapItem: [{ type: i0.Output, args: ["onSnapItem"] }], onItemClick: [{ type: i0.Output, args: ["onItemClick"] }], onSelect: [{ type: i0.Output, args: ["onSelect"] }], onCollapse: [{ type: i0.Output, args: ["onCollapse"] }], onScrollReachStart: [{ type: i0.Output, args: ["onScrollReachStart"] }], onScrollReachEnd: [{ type: i0.Output, args: ["onScrollReachEnd"] }], scrollbarThickness: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollbarThickness", required: false }] }], scrollbarMinSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollbarMinSize", required: false }] }], scrollbarThumbRenderer: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollbarThumbRenderer", required: false }] }], scrollbarThumbParams: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollbarThumbParams", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], waitForPreparation: [{ type: i0.Input, args: [{ isSignal: true, alias: "waitForPreparation", required: false }] }], clickDistance: [{ type: i0.Input, args: [{ isSignal: true, alias: "clickDistance", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: true }] }], defaultItemValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultItemValue", required: false }] }], selectedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedIds", required: false }] }], collapsedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsedIds", required: false }] }], selectByClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectByClick", required: false }] }], collapseByClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapseByClick", required: false }] }], snap: [{ type: i0.Input, args: [{ isSignal: true, alias: "snap", required: false }] }], stickyEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "stickyEnabled", required: false }] }], snapToEndTransitionInstantOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "snapToEndTransitionInstantOffset", required: false }] }], scrollStartOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollStartOffset", required: false }] }], scrollEndOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollEndOffset", required: false }] }], snapScrollToStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "snapScrollToStart", required: false }] }], snapScrollToEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "snapScrollToEnd", required: false }] }], snapScrollToBottom: [{ type: i0.Input, args: [{ isSignal: true, alias: "snapScrollToBottom", required: false }] }], scrollbarEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollbarEnabled", required: false }] }], scrollbarInteractive: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollbarInteractive", required: false }] }], overlappingScrollbar: [{ type: i0.Input, args: [{ isSignal: true, alias: "overlappingScrollbar", required: false }] }], scrollBehavior: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollBehavior", required: false }] }], scrollingSettings: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollingSettings", required: false }] }], itemTransform: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemTransform", required: false }] }], snapToItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "snapToItem", required: false }] }], snapToItemAlign: [{ type: i0.Input, args: [{ isSignal: true, alias: "snapToItemAlign", required: false }] }], snappingDistance: [{ type: i0.Input, args: [{ isSignal: true, alias: "snappingDistance", required: false }] }], scrollingOneByOne: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollingOneByOne", required: false }] }], alignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignment", required: false }] }], zIndexWhenSelecting: [{ type: i0.Input, args: [{ isSignal: true, alias: "zIndexWhenSelecting", required: false }] }], spreadingMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "spreadingMode", required: false }] }], divides: [{ type: i0.Input, args: [{ isSignal: true, alias: "divides", required: false }] }], motionBlur: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionBlur", required: false }] }], maxMotionBlur: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxMotionBlur", required: false }] }], motionBlurEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "motionBlurEnabled", required: false }] }], animationParams: [{ type: i0.Input, args: [{ isSignal: true, alias: "animationParams", required: false }] }], overscrollEnabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "overscrollEnabled", required: false }] }], enabledBufferOptimization: [{ type: i0.Input, args: [{ isSignal: true, alias: "enabledBufferOptimization", required: false }] }], itemRenderer: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemRenderer", required: true }] }], itemConfigMap: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemConfigMap", required: false }] }], itemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemSize", required: false }] }], minItemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "minItemSize", required: false }] }], maxItemSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxItemSize", required: false }] }], dynamicSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "dynamicSize", required: false }] }], direction: [{ type: i0.Input, args: [{ isSignal: true, alias: "direction", required: false }] }], collectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "collectionMode", required: false }] }], bufferSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "bufferSize", required: false }] }], maxBufferSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxBufferSize", required: false }] }], snappingMethod: [{ type: i0.Input, args: [{ isSignal: true, alias: "snappingMethod", required: false }] }], collapsingMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsingMode", required: false }] }], methodForSelecting: [{ type: i0.Input, args: [{ isSignal: true, alias: "methodForSelecting", required: false }] }], selectingMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectingMode", required: false }] }], trackBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "trackBy", required: false }] }], screenReaderMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "screenReaderMessage", required: false }] }], langTextDir: [{ type: i0.Input, args: [{ isSignal: true, alias: "langTextDir", required: false }] }] } });
8938
9082
 
8939
9083
  class LocaleSensitiveModule {
8940
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: LocaleSensitiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8941
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: LocaleSensitiveModule, declarations: [LocaleSensitiveDirective], imports: [CommonModule], exports: [LocaleSensitiveDirective] });
8942
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: LocaleSensitiveModule, imports: [CommonModule] });
9084
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: LocaleSensitiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9085
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: LocaleSensitiveModule, declarations: [LocaleSensitiveDirective], imports: [CommonModule], exports: [LocaleSensitiveDirective] });
9086
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: LocaleSensitiveModule, imports: [CommonModule] });
8943
9087
  }
8944
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: LocaleSensitiveModule, decorators: [{
9088
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: LocaleSensitiveModule, decorators: [{
8945
9089
  type: NgModule,
8946
9090
  args: [{
8947
9091
  declarations: [LocaleSensitiveDirective],
@@ -8952,11 +9096,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
8952
9096
  }] });
8953
9097
 
8954
9098
  class VirtualClickModule {
8955
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: VirtualClickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8956
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: VirtualClickModule, declarations: [VirtualClickDirective], imports: [CommonModule], exports: [VirtualClickDirective] });
8957
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: VirtualClickModule, imports: [CommonModule] });
9099
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: VirtualClickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9100
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: VirtualClickModule, declarations: [VirtualClickDirective], imports: [CommonModule], exports: [VirtualClickDirective] });
9101
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: VirtualClickModule, imports: [CommonModule] });
8958
9102
  }
8959
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: VirtualClickModule, decorators: [{
9103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: VirtualClickModule, decorators: [{
8960
9104
  type: NgModule,
8961
9105
  args: [{
8962
9106
  declarations: [VirtualClickDirective],
@@ -8967,11 +9111,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
8967
9111
  }] });
8968
9112
 
8969
9113
  class NgVirtualListItemModule {
8970
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8971
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListItemModule, declarations: [NgVirtualListItemComponent], imports: [CommonModule, VirtualClickModule], exports: [NgVirtualListItemComponent] });
8972
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListItemModule, imports: [CommonModule, VirtualClickModule] });
9114
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9115
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListItemModule, declarations: [NgVirtualListItemComponent], imports: [CommonModule, VirtualClickModule], exports: [NgVirtualListItemComponent] });
9116
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListItemModule, imports: [CommonModule, VirtualClickModule] });
8973
9117
  }
8974
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListItemModule, decorators: [{
9118
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListItemModule, decorators: [{
8975
9119
  type: NgModule,
8976
9120
  args: [{
8977
9121
  declarations: [NgVirtualListItemComponent],
@@ -8982,11 +9126,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
8982
9126
  }] });
8983
9127
 
8984
9128
  class NgScrollBarModule {
8985
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8986
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarModule, declarations: [NgScrollBarComponent], imports: [CommonModule], exports: [NgScrollBarComponent] });
8987
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarModule, imports: [CommonModule] });
9129
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9130
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarModule, declarations: [NgScrollBarComponent], imports: [CommonModule], exports: [NgScrollBarComponent] });
9131
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarModule, imports: [CommonModule] });
8988
9132
  }
8989
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollBarModule, decorators: [{
9133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollBarModule, decorators: [{
8990
9134
  type: NgModule,
8991
9135
  args: [{
8992
9136
  declarations: [NgScrollBarComponent],
@@ -8997,11 +9141,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
8997
9141
  }] });
8998
9142
 
8999
9143
  class NgScrollerModule {
9000
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9001
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: NgScrollerModule, declarations: [NgScrollerComponent], imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule, CdkScrollableModule], exports: [NgScrollerComponent] });
9002
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollerModule, imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule, CdkScrollableModule] });
9144
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9145
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: NgScrollerModule, declarations: [NgScrollerComponent], imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule, CdkScrollableModule], exports: [NgScrollerComponent] });
9146
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollerModule, imports: [CommonModule, NgScrollBarModule, LocaleSensitiveModule, CdkScrollableModule] });
9003
9147
  }
9004
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgScrollerModule, decorators: [{
9148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgScrollerModule, decorators: [{
9005
9149
  type: NgModule,
9006
9150
  args: [{
9007
9151
  declarations: [NgScrollerComponent],
@@ -9012,11 +9156,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9012
9156
  }] });
9013
9157
 
9014
9158
  class NgPrerenderVirtualListItemModule {
9015
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderVirtualListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9016
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderVirtualListItemModule, declarations: [NgPrerenderVirtualListItemComponent], imports: [CommonModule, VirtualClickModule], exports: [NgPrerenderVirtualListItemComponent] });
9017
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderVirtualListItemModule, imports: [CommonModule, VirtualClickModule] });
9159
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderVirtualListItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9160
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderVirtualListItemModule, declarations: [NgPrerenderVirtualListItemComponent], imports: [CommonModule, VirtualClickModule], exports: [NgPrerenderVirtualListItemComponent] });
9161
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderVirtualListItemModule, imports: [CommonModule, VirtualClickModule] });
9018
9162
  }
9019
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderVirtualListItemModule, decorators: [{
9163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderVirtualListItemModule, decorators: [{
9020
9164
  type: NgModule,
9021
9165
  args: [{
9022
9166
  declarations: [NgPrerenderVirtualListItemComponent],
@@ -9027,11 +9171,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9027
9171
  }] });
9028
9172
 
9029
9173
  class NgPrerenderScrollerModule {
9030
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderScrollerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9031
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderScrollerModule, declarations: [NgPrerenderScrollerComponent], imports: [CommonModule, LocaleSensitiveModule], exports: [NgPrerenderScrollerComponent] });
9032
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderScrollerModule, imports: [CommonModule, LocaleSensitiveModule] });
9174
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderScrollerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9175
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderScrollerModule, declarations: [NgPrerenderScrollerComponent], imports: [CommonModule, LocaleSensitiveModule], exports: [NgPrerenderScrollerComponent] });
9176
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderScrollerModule, imports: [CommonModule, LocaleSensitiveModule] });
9033
9177
  }
9034
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderScrollerModule, decorators: [{
9178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderScrollerModule, decorators: [{
9035
9179
  type: NgModule,
9036
9180
  args: [{
9037
9181
  declarations: [NgPrerenderScrollerComponent],
@@ -9042,11 +9186,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9042
9186
  }] });
9043
9187
 
9044
9188
  class NgPrerenderListModule {
9045
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9046
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderListModule, declarations: [NgPrerenderList], imports: [CommonModule, NgPrerenderVirtualListItemModule, NgPrerenderScrollerModule], exports: [NgPrerenderList] });
9047
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderListModule, imports: [CommonModule, NgPrerenderVirtualListItemModule, NgPrerenderScrollerModule] });
9189
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9190
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderListModule, declarations: [NgPrerenderList], imports: [CommonModule, NgPrerenderVirtualListItemModule, NgPrerenderScrollerModule], exports: [NgPrerenderList] });
9191
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderListModule, imports: [CommonModule, NgPrerenderVirtualListItemModule, NgPrerenderScrollerModule] });
9048
9192
  }
9049
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderListModule, decorators: [{
9193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderListModule, decorators: [{
9050
9194
  type: NgModule,
9051
9195
  args: [{
9052
9196
  declarations: [NgPrerenderList],
@@ -9057,11 +9201,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9057
9201
  }] });
9058
9202
 
9059
9203
  class NgPrerenderContainerModule {
9060
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9061
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderContainerModule, declarations: [NgPrerenderContainer], imports: [CommonModule, NgPrerenderListModule], exports: [NgPrerenderContainer] });
9062
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderContainerModule, imports: [CommonModule, NgPrerenderListModule] });
9204
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9205
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderContainerModule, declarations: [NgPrerenderContainer], imports: [CommonModule, NgPrerenderListModule], exports: [NgPrerenderContainer] });
9206
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderContainerModule, imports: [CommonModule, NgPrerenderListModule] });
9063
9207
  }
9064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgPrerenderContainerModule, decorators: [{
9208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgPrerenderContainerModule, decorators: [{
9065
9209
  type: NgModule,
9066
9210
  args: [{
9067
9211
  declarations: [NgPrerenderContainer],
@@ -9072,11 +9216,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9072
9216
  }] });
9073
9217
 
9074
9218
  class NgVirtualListModule {
9075
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9076
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListModule, declarations: [NgVirtualListComponent], imports: [CommonModule, NgVirtualListItemModule, NgScrollerModule, NgPrerenderContainerModule, LocaleSensitiveModule], exports: [NgVirtualListComponent] });
9077
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListModule, imports: [CommonModule, NgVirtualListItemModule, NgScrollerModule, NgPrerenderContainerModule, LocaleSensitiveModule] });
9219
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9220
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListModule, declarations: [NgVirtualListComponent], imports: [CommonModule, NgVirtualListItemModule, NgScrollerModule, NgPrerenderContainerModule, LocaleSensitiveModule], exports: [NgVirtualListComponent] });
9221
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListModule, imports: [CommonModule, NgVirtualListItemModule, NgScrollerModule, NgPrerenderContainerModule, LocaleSensitiveModule] });
9078
9222
  }
9079
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: NgVirtualListModule, decorators: [{
9223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NgVirtualListModule, decorators: [{
9080
9224
  type: NgModule,
9081
9225
  args: [{
9082
9226
  declarations: [NgVirtualListComponent],
@@ -9089,7 +9233,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9089
9233
  const UNSET$4 = 'unset';
9090
9234
  /**
9091
9235
  * linear
9092
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/transformations/linear.ts
9236
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/transformations/linear.ts
9093
9237
  * @author Evgenii Alexandrovich Grebennikov
9094
9238
  * @email djonnyx@gmail.com
9095
9239
  */
@@ -9135,7 +9279,7 @@ const linear = (options) => {
9135
9279
  const UNSET$3 = 'unset';
9136
9280
  /**
9137
9281
  * eventHorizon
9138
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/transformations/event-horizon.ts
9282
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/transformations/event-horizon.ts
9139
9283
  * @author Evgenii Alexandrovich Grebennikov
9140
9284
  * @email djonnyx@gmail.com
9141
9285
  */
@@ -9181,7 +9325,7 @@ const eventHorizon = (options) => {
9181
9325
  const UNSET$2 = 'unset', B_LIMIT$2 = 0.5;
9182
9326
  /**
9183
9327
  * deckOfCards
9184
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/transformations/deck-of-cards.ts
9328
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/transformations/deck-of-cards.ts
9185
9329
  * @author Evgenii Alexandrovich Grebennikov
9186
9330
  * @email djonnyx@gmail.com
9187
9331
  */
@@ -9234,7 +9378,7 @@ const deckOfCards = (options) => {
9234
9378
  const UNSET$1 = 'unset', B_LIMIT$1 = 0.5;
9235
9379
  /**
9236
9380
  * deckOfCards3D
9237
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/transformations/deck-of-cards-3d.ts
9381
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/transformations/deck-of-cards-3d.ts
9238
9382
  * @author Evgenii Alexandrovich Grebennikov
9239
9383
  * @email djonnyx@gmail.com
9240
9384
  */
@@ -9290,7 +9434,7 @@ const deckOfCards3D = (options) => {
9290
9434
  const UNSET = 'unset', B_LIMIT = 0.5;
9291
9435
  /**
9292
9436
  * swipe3D
9293
- * @link https://github.com/DjonnyX/ng-virtual-list/blob/21.x/projects/ng-virtual-list/src/lib/transformations/swipe-3d.ts
9437
+ * @link https://github.com/DjonnyX/ng-virtual-list/blob/22.x/projects/ng-virtual-list/src/lib/transformations/swipe-3d.ts
9294
9438
  * @author Evgenii Alexandrovich Grebennikov
9295
9439
  * @email djonnyx@gmail.com
9296
9440
  */