@nstudio/ui-collectionview 5.1.9-alpha.4 → 5.1.9
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.
- package/angular/collectionview.component.d.ts +8 -33
- package/angular/{fesm2020 → fesm2022}/nstudio-ui-collectionview-angular.mjs +58 -151
- package/angular/fesm2022/nstudio-ui-collectionview-angular.mjs.map +1 -0
- package/angular/index.d.ts +2 -2
- package/angular/package.json +2 -10
- package/common.d.ts +28 -66
- package/common.js +96 -138
- package/common.js.map +1 -1
- package/index.android.d.ts +38 -19
- package/index.android.js +448 -158
- package/index.android.js.map +1 -1
- package/index.d.ts +49 -16
- package/index.ios.d.ts +83 -28
- package/index.ios.js +589 -375
- package/index.ios.js.map +1 -1
- package/package.json +5 -2
- package/react/index.d.ts +1 -1
- package/react/index.js.map +1 -1
- package/svelte/index.d.ts +0 -1
- package/svelte/index.js +11 -7
- package/svelte/index.js.map +1 -1
- package/vue3/component.d.ts +36 -0
- package/vue3/component.js +98 -0
- package/vue3/component.js.map +1 -0
- package/vue3/index.d.ts +11 -0
- package/vue3/index.js +14 -0
- package/vue3/index.js.map +1 -0
- package/angular/esm2020/collectionview.component.mjs +0 -497
- package/angular/esm2020/index.mjs +0 -19
- package/angular/esm2020/nstudio-ui-collectionview-angular.mjs +0 -5
- package/angular/fesm2015/nstudio-ui-collectionview-angular.mjs +0 -528
- package/angular/fesm2015/nstudio-ui-collectionview-angular.mjs.map +0 -1
- package/angular/fesm2020/nstudio-ui-collectionview-angular.mjs.map +0 -1
- package/vue/component.d.ts +0 -38
- package/vue/component.js +0 -104
- package/vue/component.js.map +0 -1
- package/vue/index.d.ts +0 -4
- package/vue/index.js +0 -12
- package/vue/index.js.map +0 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AfterContentInit, ComponentRef, DoCheck, ElementRef, EmbeddedViewRef, EventEmitter, IterableDiffers, NgZone, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { CollectionViewItemEventData } from '@nstudio/ui-collectionview';
|
3
3
|
import { DetachedLoader, NativeScriptRendererFactory } from '@nativescript/angular';
|
4
4
|
import { View } from '@nativescript/core';
|
5
5
|
import * as i0 from "@angular/core";
|
@@ -22,19 +22,15 @@ export declare class CollectionViewComponent implements DoCheck, OnDestroy, Afte
|
|
22
22
|
private _iterableDiffers;
|
23
23
|
private _renderer;
|
24
24
|
private _ngZone;
|
25
|
-
get nativeElement():
|
26
|
-
get listView():
|
25
|
+
get nativeElement(): any;
|
26
|
+
get listView(): any;
|
27
27
|
loader: ViewContainerRef;
|
28
28
|
setupItemView: EventEmitter<SetupItemViewArgs>;
|
29
29
|
itemTemplateQuery: TemplateRef<ItemContext>;
|
30
30
|
autoReuseViews: boolean;
|
31
31
|
detachedLoaderFactory(): ComponentRef<DetachedLoader>;
|
32
|
-
get itemTemplate():
|
33
|
-
set itemTemplate(value:
|
34
|
-
get headerItemTemplate(): TemplateRef<ItemContext>;
|
35
|
-
set headerItemTemplate(value: TemplateRef<ItemContext>);
|
36
|
-
get footerItemTemplate(): TemplateRef<ItemContext>;
|
37
|
-
set footerItemTemplate(value: TemplateRef<ItemContext>);
|
32
|
+
get itemTemplate(): any;
|
33
|
+
set itemTemplate(value: any);
|
38
34
|
get items(): any;
|
39
35
|
set items(value: any);
|
40
36
|
private _collectionView;
|
@@ -42,10 +38,6 @@ export declare class CollectionViewComponent implements DoCheck, OnDestroy, Afte
|
|
42
38
|
private _differ;
|
43
39
|
private _itemTemplate;
|
44
40
|
private _templateMap;
|
45
|
-
private _headerTemplate;
|
46
|
-
private _headerTemplateMap;
|
47
|
-
private _footerTemplate;
|
48
|
-
private _footerTemplateMap;
|
49
41
|
private _loaders;
|
50
42
|
constructor(_elementRef: ElementRef, _iterableDiffers: IterableDiffers, _renderer: NativeScriptRendererFactory, _ngZone: NgZone);
|
51
43
|
private itemViewLoader;
|
@@ -53,12 +45,11 @@ export declare class CollectionViewComponent implements DoCheck, OnDestroy, Afte
|
|
53
45
|
ngOnDestroy(): void;
|
54
46
|
ngDoCheck(): void;
|
55
47
|
registerTemplate(key: string, template: TemplateRef<ItemContext>): void;
|
56
|
-
registerTemplateSupplemental(key: string, template: TemplateRef<ItemContext>, type: 'header' | 'footer'): void;
|
57
48
|
onItemLoading(args: CollectionViewItemEventData): void;
|
58
49
|
onItemRecyclingInternal(args: any): void;
|
59
50
|
onItemDisposingInternal(args: any): void;
|
60
51
|
setupViewRef(view: EmbeddedViewRef<ItemContext>, data: any, index: number): void;
|
61
|
-
getItemTemplateViewFactory(template: TemplateRef<ItemContext>): () => View;
|
52
|
+
protected getItemTemplateViewFactory(template: TemplateRef<ItemContext>): () => View;
|
62
53
|
viewPool: Map<TemplateRef<ItemContext>, {
|
63
54
|
scrapSize: number;
|
64
55
|
scrapHead: Set<EmbeddedViewRef<ItemContext>>;
|
@@ -73,7 +64,7 @@ export declare class CollectionViewComponent implements DoCheck, OnDestroy, Afte
|
|
73
64
|
private detectChangesOnChild;
|
74
65
|
private refresh;
|
75
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionViewComponent, never>;
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionViewComponent, "CollectionView", never, { "autoReuseViews": "autoReuseViews"; "
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionViewComponent, "CollectionView", never, { "autoReuseViews": { "alias": "autoReuseViews"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "setupItemView": "setupItemView"; }, ["itemTemplateQuery"], never, false, never>;
|
77
68
|
}
|
78
69
|
export interface ComponentView {
|
79
70
|
rootNodes: any[];
|
@@ -87,21 +78,5 @@ export declare class TemplateKeyDirective {
|
|
87
78
|
constructor(templateRef: TemplateRef<any>, collectionView: CollectionViewComponent);
|
88
79
|
set cvTemplateKey(value: any);
|
89
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateKeyDirective, [null, { host: true; }]>;
|
90
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateKeyDirective, "[cvTemplateKey]", never, { "cvTemplateKey": "cvTemplateKey"; }, {}, never, never, false, never>;
|
91
|
-
}
|
92
|
-
export declare class TemplateHeaderDirective {
|
93
|
-
private templateRef;
|
94
|
-
private collectionView;
|
95
|
-
constructor(templateRef: TemplateRef<any>, collectionView: CollectionViewComponent);
|
96
|
-
set cvTemplateHeader(value: any);
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateHeaderDirective, [null, { host: true; }]>;
|
98
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateHeaderDirective, "[cvTemplateHeader]", never, { "cvTemplateHeader": "cvTemplateHeader"; }, {}, never, never, false, never>;
|
99
|
-
}
|
100
|
-
export declare class TemplateFooterDirective {
|
101
|
-
private templateRef;
|
102
|
-
private collectionView;
|
103
|
-
constructor(templateRef: TemplateRef<any>, collectionView: CollectionViewComponent);
|
104
|
-
set cvTemplateFooter(value: any);
|
105
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateFooterDirective, [null, { host: true; }]>;
|
106
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateFooterDirective, "[cvTemplateFooter]", never, { "cvTemplateFooter": "cvTemplateFooter"; }, {}, never, never, false, never>;
|
81
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateKeyDirective, "[cvTemplateKey]", never, { "cvTemplateKey": { "alias": "cvTemplateKey"; "required": false; }; }, {}, never, never, false, never>;
|
107
82
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { EventEmitter, ElementRef, IterableDiffers, NgZone, TemplateRef, ViewContainerRef, Component, ChangeDetectionStrategy, Inject, ViewChild, Output, ContentChild, Input, HostListener, Directive, Host, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
3
|
-
import { CollectionView,
|
3
|
+
import { CollectionView, ListViewViewTypes, CLog, CLogTypes } from '@nstudio/ui-collectionview';
|
4
4
|
import * as i1 from '@nativescript/angular';
|
5
5
|
import { registerElement, DetachedLoader, isListLikeIterable, NativeScriptRendererFactory, extractSingleViewRecursive } from '@nativescript/angular';
|
6
6
|
import { ObservableArray, Trace, LayoutBase } from '@nativescript/core';
|
@@ -8,6 +8,11 @@ import { ObservableArray, Trace, LayoutBase } from '@nativescript/core';
|
|
8
8
|
registerElement('CollectionView', () => CollectionView);
|
9
9
|
const NG_VIEW = '_ngViewRef';
|
10
10
|
class ItemContext {
|
11
|
+
$implicit;
|
12
|
+
item;
|
13
|
+
index;
|
14
|
+
even;
|
15
|
+
odd;
|
11
16
|
constructor($implicit, item, index, even, odd) {
|
12
17
|
this.$implicit = $implicit;
|
13
18
|
this.item = item;
|
@@ -17,12 +22,20 @@ class ItemContext {
|
|
17
22
|
}
|
18
23
|
}
|
19
24
|
class CollectionViewComponent {
|
25
|
+
_elementRef;
|
26
|
+
_iterableDiffers;
|
27
|
+
_renderer;
|
28
|
+
_ngZone;
|
20
29
|
get nativeElement() {
|
21
30
|
return this._collectionView;
|
22
31
|
}
|
23
32
|
get listView() {
|
24
33
|
return this._collectionView;
|
25
34
|
}
|
35
|
+
loader;
|
36
|
+
setupItemView = new EventEmitter();
|
37
|
+
itemTemplateQuery;
|
38
|
+
autoReuseViews = false;
|
26
39
|
detachedLoaderFactory() {
|
27
40
|
const ref = this.loader.createComponent(DetachedLoader, {
|
28
41
|
index: 0,
|
@@ -36,19 +49,7 @@ class CollectionViewComponent {
|
|
36
49
|
}
|
37
50
|
set itemTemplate(value) {
|
38
51
|
this._itemTemplate = value;
|
39
|
-
|
40
|
-
}
|
41
|
-
get headerItemTemplate() {
|
42
|
-
return this._headerTemplate;
|
43
|
-
}
|
44
|
-
set headerItemTemplate(value) {
|
45
|
-
this._headerTemplate = value;
|
46
|
-
}
|
47
|
-
get footerItemTemplate() {
|
48
|
-
return this._footerTemplate;
|
49
|
-
}
|
50
|
-
set footerItemTemplate(value) {
|
51
|
-
this._footerTemplate = value;
|
52
|
+
this._collectionView.refresh();
|
52
53
|
}
|
53
54
|
get items() {
|
54
55
|
return this._items;
|
@@ -64,43 +65,33 @@ class CollectionViewComponent {
|
|
64
65
|
}
|
65
66
|
this._collectionView.items = this._items;
|
66
67
|
}
|
68
|
+
_collectionView;
|
69
|
+
_items;
|
70
|
+
_differ;
|
71
|
+
_itemTemplate;
|
72
|
+
_templateMap;
|
73
|
+
_loaders;
|
67
74
|
constructor(_elementRef, _iterableDiffers, _renderer, _ngZone) {
|
68
75
|
this._elementRef = _elementRef;
|
69
76
|
this._iterableDiffers = _iterableDiffers;
|
70
77
|
this._renderer = _renderer;
|
71
78
|
this._ngZone = _ngZone;
|
72
|
-
this.setupItemView = new EventEmitter();
|
73
|
-
this.autoReuseViews = false;
|
74
|
-
this.itemViewLoader = (viewType) => {
|
75
|
-
this._ngZone.run(() => {
|
76
|
-
switch (viewType) {
|
77
|
-
case ViewTemplateType.Item:
|
78
|
-
if (this._itemTemplate) {
|
79
|
-
return this.getOrCreate(this._itemTemplate);
|
80
|
-
}
|
81
|
-
break;
|
82
|
-
case ViewTemplateType.Header:
|
83
|
-
if (this._headerTemplate) {
|
84
|
-
return this.getOrCreate(this._headerTemplate);
|
85
|
-
}
|
86
|
-
break;
|
87
|
-
case ViewTemplateType.Footer:
|
88
|
-
if (this._footerTemplate) {
|
89
|
-
return this.getOrCreate(this._footerTemplate);
|
90
|
-
}
|
91
|
-
break;
|
92
|
-
}
|
93
|
-
return null;
|
94
|
-
});
|
95
|
-
};
|
96
|
-
this.viewPool = new Map();
|
97
|
-
this.viewToTemplate = new WeakMap();
|
98
|
-
this.viewToLoader = new WeakMap();
|
99
79
|
this._collectionView = _elementRef.nativeElement;
|
100
80
|
this._collectionView.on(CollectionView.itemLoadingEvent, this.onItemLoading, this);
|
101
81
|
this._collectionView.itemViewLoader = this.itemViewLoader;
|
102
82
|
this._loaders = [];
|
103
83
|
}
|
84
|
+
itemViewLoader = (viewType) => this._ngZone.run(() => {
|
85
|
+
switch (viewType) {
|
86
|
+
case ListViewViewTypes.ItemView:
|
87
|
+
if (this._itemTemplate && this.loader) {
|
88
|
+
const typedView = this.getOrCreate(this._itemTemplate);
|
89
|
+
return typedView;
|
90
|
+
}
|
91
|
+
break;
|
92
|
+
}
|
93
|
+
return null;
|
94
|
+
});
|
104
95
|
ngAfterContentInit() {
|
105
96
|
if (Trace.isEnabled()) {
|
106
97
|
CLog(CLogTypes.info, 'CollectionView.ngAfterContentInit()');
|
@@ -121,15 +112,7 @@ class CollectionViewComponent {
|
|
121
112
|
if (this._templateMap) {
|
122
113
|
this._templateMap.clear();
|
123
114
|
}
|
124
|
-
if (this._headerTemplateMap) {
|
125
|
-
this._headerTemplateMap.clear();
|
126
|
-
}
|
127
|
-
if (this._footerTemplateMap) {
|
128
|
-
this._footerTemplateMap.clear();
|
129
|
-
}
|
130
115
|
this._templateMap = null;
|
131
|
-
this._headerTemplateMap = null;
|
132
|
-
this._footerTemplateMap = null;
|
133
116
|
}
|
134
117
|
ngDoCheck() {
|
135
118
|
if (Trace.isEnabled()) {
|
@@ -161,31 +144,6 @@ class CollectionViewComponent {
|
|
161
144
|
};
|
162
145
|
this._templateMap.set(key, keyedTemplate);
|
163
146
|
}
|
164
|
-
registerTemplateSupplemental(key, template, type) {
|
165
|
-
if (Trace.isEnabled()) {
|
166
|
-
CLog(CLogTypes.info, 'registerTemplate for key: ' + key);
|
167
|
-
}
|
168
|
-
switch (type) {
|
169
|
-
case 'header':
|
170
|
-
// if (!this._headerTemplateMap) {
|
171
|
-
// this._headerTemplateMap = new Map<string, KeyedTemplate>();
|
172
|
-
// }
|
173
|
-
// this._headerTemplateMap.set(key, keyedTemplate);
|
174
|
-
this._collectionView.headerKey = key;
|
175
|
-
this.headerItemTemplate = template;
|
176
|
-
this._collectionView.headerItemTemplate = this.getItemTemplateViewFactory(template);
|
177
|
-
break;
|
178
|
-
case 'footer':
|
179
|
-
// if (!this._footerTemplateMap) {
|
180
|
-
// this._footerTemplateMap = new Map<string, KeyedTemplate>();
|
181
|
-
// }
|
182
|
-
// this._footerTemplateMap.set(key, keyedTemplate);
|
183
|
-
this._collectionView.footerKey = key;
|
184
|
-
this.footerItemTemplate = template;
|
185
|
-
this._collectionView.footerItemTemplate = this.getItemTemplateViewFactory(template);
|
186
|
-
break;
|
187
|
-
}
|
188
|
-
}
|
189
147
|
onItemLoading(args) {
|
190
148
|
if (!args.view && !this.itemTemplate) {
|
191
149
|
return;
|
@@ -273,6 +231,7 @@ class CollectionViewComponent {
|
|
273
231
|
return resultView;
|
274
232
|
};
|
275
233
|
}
|
234
|
+
viewPool = new Map();
|
276
235
|
storeViewRef(viewRef) {
|
277
236
|
const templateRef = this.viewToTemplate.get(viewRef);
|
278
237
|
if (templateRef) {
|
@@ -288,11 +247,14 @@ class CollectionViewComponent {
|
|
288
247
|
}
|
289
248
|
}
|
290
249
|
}
|
250
|
+
viewToTemplate = new WeakMap();
|
251
|
+
viewToLoader = new WeakMap();
|
291
252
|
getOrCreate(templateRef) {
|
292
253
|
return this._ngZone.run(() => {
|
293
254
|
let viewRef = this.getView(templateRef);
|
294
255
|
if (!viewRef) {
|
295
256
|
const loader = this.detachedLoaderFactory();
|
257
|
+
// viewRef = this.loader.createEmbeddedView(templateRef, new ItemContext(), 0);
|
296
258
|
viewRef = loader.instance.vc.createEmbeddedView(templateRef, new ItemContext(), 0);
|
297
259
|
this.viewToLoader.set(viewRef, loader);
|
298
260
|
this.viewToTemplate.set(viewRef, templateRef);
|
@@ -355,14 +317,14 @@ class CollectionViewComponent {
|
|
355
317
|
this._collectionView.refresh();
|
356
318
|
}
|
357
319
|
}
|
358
|
-
}
|
359
|
-
|
360
|
-
CollectionViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: CollectionViewComponent, selector: "CollectionView", inputs: { autoReuseViews: "autoReuseViews", itemTemplate: "itemTemplate", headerItemTemplate: "headerItemTemplate", footerItemTemplate: "footerItemTemplate", items: "items" }, outputs: { setupItemView: "setupItemView" }, host: { listeners: { "itemLoading": "onItemLoading($event)", "itemRecycling": "onItemRecyclingInternal($event)", "itemDisposing": "onItemDisposingInternal($event)" } }, queries: [{ propertyName: "itemTemplateQuery", first: true, predicate: TemplateRef, descendants: true, read: TemplateRef, static: true }], viewQueries: [{ propertyName: "loader", first: true, predicate: ["loader"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
|
320
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CollectionViewComponent, deps: [{ token: ElementRef }, { token: IterableDiffers }, { token: NativeScriptRendererFactory }, { token: NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
321
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: CollectionViewComponent, isStandalone: false, selector: "CollectionView", inputs: { autoReuseViews: "autoReuseViews", itemTemplate: "itemTemplate", items: "items" }, outputs: { setupItemView: "setupItemView" }, host: { listeners: { "itemLoading": "onItemLoading($event)", "itemRecycling": "onItemRecyclingInternal($event)", "itemDisposing": "onItemDisposingInternal($event)" } }, queries: [{ propertyName: "itemTemplateQuery", first: true, predicate: TemplateRef, descendants: true, read: TemplateRef, static: true }], viewQueries: [{ propertyName: "loader", first: true, predicate: ["loader"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
|
361
322
|
<DetachedContainer>
|
362
323
|
<Placeholder #loader></Placeholder>
|
363
324
|
</DetachedContainer>
|
364
325
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
365
|
-
|
326
|
+
}
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CollectionViewComponent, decorators: [{
|
366
328
|
type: Component,
|
367
329
|
args: [{
|
368
330
|
selector: 'CollectionView',
|
@@ -372,8 +334,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
372
334
|
</DetachedContainer>
|
373
335
|
`,
|
374
336
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
337
|
+
standalone: false,
|
375
338
|
}]
|
376
|
-
}], ctorParameters:
|
339
|
+
}], ctorParameters: () => [{ type: i0.ElementRef, decorators: [{
|
377
340
|
type: Inject,
|
378
341
|
args: [ElementRef]
|
379
342
|
}] }, { type: i0.IterableDiffers, decorators: [{
|
@@ -385,7 +348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
385
348
|
}] }, { type: i0.NgZone, decorators: [{
|
386
349
|
type: Inject,
|
387
350
|
args: [NgZone]
|
388
|
-
}] }]
|
351
|
+
}] }], propDecorators: { loader: [{
|
389
352
|
type: ViewChild,
|
390
353
|
args: ['loader', { read: ViewContainerRef, static: true }]
|
391
354
|
}], setupItemView: [{
|
@@ -397,10 +360,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
397
360
|
type: Input
|
398
361
|
}], itemTemplate: [{
|
399
362
|
type: Input
|
400
|
-
}], headerItemTemplate: [{
|
401
|
-
type: Input
|
402
|
-
}], footerItemTemplate: [{
|
403
|
-
type: Input
|
404
363
|
}], items: [{
|
405
364
|
type: Input
|
406
365
|
}], onItemLoading: [{
|
@@ -418,6 +377,8 @@ function getItemViewRoot(viewRef, rootLocator = extractSingleViewRecursive) {
|
|
418
377
|
return rootView;
|
419
378
|
}
|
420
379
|
class TemplateKeyDirective {
|
380
|
+
templateRef;
|
381
|
+
collectionView;
|
421
382
|
constructor(templateRef, collectionView) {
|
422
383
|
this.templateRef = templateRef;
|
423
384
|
this.collectionView = collectionView;
|
@@ -430,83 +391,29 @@ class TemplateKeyDirective {
|
|
430
391
|
this.collectionView.registerTemplate(value.toLowerCase(), this.templateRef);
|
431
392
|
}
|
432
393
|
}
|
394
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TemplateKeyDirective, deps: [{ token: i0.TemplateRef }, { token: CollectionViewComponent, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
395
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: TemplateKeyDirective, isStandalone: false, selector: "[cvTemplateKey]", inputs: { cvTemplateKey: "cvTemplateKey" }, ngImport: i0 });
|
433
396
|
}
|
434
|
-
|
435
|
-
TemplateKeyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TemplateKeyDirective, selector: "[cvTemplateKey]", inputs: { cvTemplateKey: "cvTemplateKey" }, ngImport: i0 });
|
436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateKeyDirective, decorators: [{
|
437
|
-
type: Directive,
|
438
|
-
args: [{ selector: '[cvTemplateKey]' }]
|
439
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: CollectionViewComponent, decorators: [{
|
440
|
-
type: Host
|
441
|
-
}] }]; }, propDecorators: { cvTemplateKey: [{
|
442
|
-
type: Input
|
443
|
-
}] } });
|
444
|
-
class TemplateHeaderDirective {
|
445
|
-
constructor(templateRef, collectionView) {
|
446
|
-
this.templateRef = templateRef;
|
447
|
-
this.collectionView = collectionView;
|
448
|
-
}
|
449
|
-
set cvTemplateHeader(value) {
|
450
|
-
if (Trace.isEnabled()) {
|
451
|
-
CLog(CLogTypes.info, 'cvTemplateHeader: ' + value);
|
452
|
-
}
|
453
|
-
if (this.collectionView && this.templateRef) {
|
454
|
-
// TODO: allow keying of multiple headers per section
|
455
|
-
this.collectionView.registerTemplateSupplemental(value || ViewTemplateType.Header, this.templateRef, 'header');
|
456
|
-
}
|
457
|
-
}
|
458
|
-
}
|
459
|
-
TemplateHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateHeaderDirective, deps: [{ token: i0.TemplateRef }, { token: CollectionViewComponent, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
460
|
-
TemplateHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TemplateHeaderDirective, selector: "[cvTemplateHeader]", inputs: { cvTemplateHeader: "cvTemplateHeader" }, ngImport: i0 });
|
461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateHeaderDirective, decorators: [{
|
462
|
-
type: Directive,
|
463
|
-
args: [{
|
464
|
-
selector: '[cvTemplateHeader]',
|
465
|
-
}]
|
466
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: CollectionViewComponent, decorators: [{
|
467
|
-
type: Host
|
468
|
-
}] }]; }, propDecorators: { cvTemplateHeader: [{
|
469
|
-
type: Input
|
470
|
-
}] } });
|
471
|
-
class TemplateFooterDirective {
|
472
|
-
constructor(templateRef, collectionView) {
|
473
|
-
this.templateRef = templateRef;
|
474
|
-
this.collectionView = collectionView;
|
475
|
-
}
|
476
|
-
set cvTemplateFooter(value) {
|
477
|
-
if (Trace.isEnabled()) {
|
478
|
-
CLog(CLogTypes.info, 'cvTemplateFooter: ' + value);
|
479
|
-
}
|
480
|
-
if (this.collectionView && this.templateRef) {
|
481
|
-
// TODO: allow keying of multiple footers per section
|
482
|
-
this.collectionView.registerTemplateSupplemental(value || ViewTemplateType.Footer, this.templateRef, 'footer');
|
483
|
-
}
|
484
|
-
}
|
485
|
-
}
|
486
|
-
TemplateFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateFooterDirective, deps: [{ token: i0.TemplateRef }, { token: CollectionViewComponent, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
487
|
-
TemplateFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TemplateFooterDirective, selector: "[cvTemplateFooter]", inputs: { cvTemplateFooter: "cvTemplateFooter" }, ngImport: i0 });
|
488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateFooterDirective, decorators: [{
|
397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: TemplateKeyDirective, decorators: [{
|
489
398
|
type: Directive,
|
490
|
-
args: [{
|
491
|
-
|
492
|
-
}]
|
493
|
-
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: CollectionViewComponent, decorators: [{
|
399
|
+
args: [{ selector: '[cvTemplateKey]', standalone: false }]
|
400
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: CollectionViewComponent, decorators: [{
|
494
401
|
type: Host
|
495
|
-
}] }]
|
402
|
+
}] }], propDecorators: { cvTemplateKey: [{
|
496
403
|
type: Input
|
497
404
|
}] } });
|
498
405
|
|
499
406
|
// External
|
500
407
|
class CollectionViewModule {
|
408
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CollectionViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
409
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: CollectionViewModule, declarations: [CollectionViewComponent, TemplateKeyDirective], exports: [CollectionViewComponent, TemplateKeyDirective] });
|
410
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CollectionViewModule });
|
501
411
|
}
|
502
|
-
|
503
|
-
CollectionViewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CollectionViewModule, declarations: [CollectionViewComponent, TemplateKeyDirective, TemplateHeaderDirective, TemplateFooterDirective], exports: [CollectionViewComponent, TemplateKeyDirective, TemplateHeaderDirective, TemplateFooterDirective] });
|
504
|
-
CollectionViewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CollectionViewModule });
|
505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CollectionViewModule, decorators: [{
|
412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: CollectionViewModule, decorators: [{
|
506
413
|
type: NgModule,
|
507
414
|
args: [{
|
508
|
-
declarations: [CollectionViewComponent, TemplateKeyDirective
|
509
|
-
exports: [CollectionViewComponent, TemplateKeyDirective
|
415
|
+
declarations: [CollectionViewComponent, TemplateKeyDirective],
|
416
|
+
exports: [CollectionViewComponent, TemplateKeyDirective],
|
510
417
|
schemas: [NO_ERRORS_SCHEMA],
|
511
418
|
}]
|
512
419
|
}] });
|
@@ -515,5 +422,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
515
422
|
* Generated bundle index. Do not edit.
|
516
423
|
*/
|
517
424
|
|
518
|
-
export { CollectionViewComponent, CollectionViewModule,
|
425
|
+
export { CollectionViewComponent, CollectionViewModule, TemplateKeyDirective };
|
519
426
|
//# sourceMappingURL=nstudio-ui-collectionview-angular.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"nstudio-ui-collectionview-angular.mjs","sources":["../../../../../packages/ui-collectionview/angular/collectionview.component.ts","../../../../../packages/ui-collectionview/angular/index.ts","../../../../../packages/ui-collectionview/angular/nstudio-ui-collectionview-angular.ts"],"sourcesContent":["import { AfterContentInit, ChangeDetectionStrategy, Component, ComponentRef, ContentChild, Directive, DoCheck, ElementRef, EmbeddedViewRef, EventEmitter, Host, HostListener, Inject, Input, IterableDiffer, IterableDiffers, NgZone, OnDestroy, Output, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';\nimport { CLog, CLogTypes, CollectionView, CollectionViewItemEventData, ListViewViewTypes } from '@nstudio/ui-collectionview';\nimport { DetachedLoader, NativeScriptRendererFactory, extractSingleViewRecursive, isListLikeIterable, registerElement } from '@nativescript/angular';\nimport { KeyedTemplate, LayoutBase, ObservableArray, Trace, View } from '@nativescript/core';\n\nregisterElement('CollectionView', () => CollectionView);\n\nconst NG_VIEW = '_ngViewRef';\n\nexport class ItemContext {\n constructor(public $implicit?: any, public item?: any, public index?: number, public even?: boolean, public odd?: boolean) {}\n}\n\nexport interface SetupItemViewArgs {\n view: EmbeddedViewRef<any>;\n data: any;\n index: number;\n context: ItemContext;\n}\n\n@Component({\n selector: 'CollectionView',\n template: `\n <DetachedContainer>\n <Placeholder #loader></Placeholder>\n </DetachedContainer>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class CollectionViewComponent implements DoCheck, OnDestroy, AfterContentInit {\n public get nativeElement(): any {\n return this._collectionView;\n }\n public get listView(): any {\n return this._collectionView;\n }\n\n @ViewChild('loader', { read: ViewContainerRef, static: true }) public loader: ViewContainerRef;\n @Output() public setupItemView = new EventEmitter<SetupItemViewArgs>();\n @ContentChild(TemplateRef, { read: TemplateRef, static: true }) public itemTemplateQuery: TemplateRef<ItemContext>;\n\n @Input() autoReuseViews = false;\n\n detachedLoaderFactory() {\n const ref = this.loader.createComponent(DetachedLoader, {\n index: 0,\n });\n this.loader.detach(0);\n this._loaders.push(ref);\n return ref;\n }\n\n @Input()\n public get itemTemplate() {\n return this._itemTemplate;\n }\n public set itemTemplate(value: any) {\n this._itemTemplate = value;\n this._collectionView.refresh();\n }\n @Input()\n public get items() {\n return this._items;\n }\n public set items(value: any) {\n this._items = value;\n let needDiffer = true;\n if (value instanceof ObservableArray) {\n needDiffer = false;\n }\n if (needDiffer && !this._differ && isListLikeIterable(value)) {\n this._differ = this._iterableDiffers.find(this._items).create((_index, item) => item);\n }\n\n this._collectionView.items = this._items;\n }\n\n private _collectionView: CollectionView;\n private _items: any;\n private _differ: IterableDiffer<KeyedTemplate>;\n private _itemTemplate: TemplateRef<ItemContext>;\n private _templateMap: Map<string, KeyedTemplate>;\n private _loaders: ComponentRef<DetachedLoader>[];\n\n constructor(@Inject(ElementRef) private _elementRef: ElementRef, @Inject(IterableDiffers) private _iterableDiffers: IterableDiffers, @Inject(NativeScriptRendererFactory) private _renderer: NativeScriptRendererFactory, @Inject(NgZone) private _ngZone: NgZone) {\n this._collectionView = _elementRef.nativeElement;\n\n this._collectionView.on(CollectionView.itemLoadingEvent, this.onItemLoading, this);\n this._collectionView.itemViewLoader = this.itemViewLoader;\n this._loaders = [];\n }\n\n private itemViewLoader = (viewType) =>\n this._ngZone.run(() => {\n switch (viewType) {\n case ListViewViewTypes.ItemView:\n if (this._itemTemplate && this.loader) {\n const typedView = this.getOrCreate(this._itemTemplate);\n return typedView;\n }\n break;\n }\n return null;\n });\n\n public ngAfterContentInit() {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, 'CollectionView.ngAfterContentInit()');\n }\n this.setItemTemplates();\n }\n\n public ngOnDestroy() {\n this._collectionView.off(CollectionView.itemLoadingEvent, this.onItemLoading, this);\n this._collectionView = null;\n this._loaders.forEach((l) => l.destroy());\n this._loaders = null;\n this.viewToLoader = null;\n this.viewToTemplate = null;\n this.viewPool = null;\n\n this._items = null;\n this._differ = null;\n this._itemTemplate = null;\n if (this._templateMap) {\n this._templateMap.clear();\n }\n this._templateMap = null;\n }\n\n public ngDoCheck() {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, 'ngDoCheck() - execute differ? ' + this._differ);\n }\n if (this._differ) {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, 'ngDoCheck() - execute differ');\n }\n const changes = this._differ.diff(this._items);\n if (changes) {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, 'ngDoCheck() - refresh');\n }\n this.refresh();\n }\n }\n }\n\n public registerTemplate(key: string, template: TemplateRef<ItemContext>) {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, 'registerTemplate for key: ' + key);\n }\n if (!this._templateMap) {\n this._templateMap = new Map<string, KeyedTemplate>();\n }\n\n const keyedTemplate = {\n key,\n createView: this.getItemTemplateViewFactory(template),\n };\n\n this._templateMap.set(key, keyedTemplate);\n }\n\n @HostListener('itemLoading', ['$event'])\n public onItemLoading(args: CollectionViewItemEventData) {\n if (!args.view && !this.itemTemplate) {\n return;\n }\n if (!this.items) return;\n const index = args.index;\n const items = (args.object as any).items;\n const currentItem = typeof items.getItem === 'function' ? items.getItem(index) : items[index];\n let viewRef: EmbeddedViewRef<ItemContext>;\n\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, `onItemLoading: ${index} - Reusing existing view`);\n }\n\n viewRef = args.view[NG_VIEW];\n // Getting angular view from original element (in cases when ProxyViewContainer\n // is used NativeScript internally wraps it in a StackLayout)\n if (!viewRef && args.view instanceof LayoutBase && args.view.getChildrenCount() > 0) {\n viewRef = args.view.getChildAt(0)[NG_VIEW];\n }\n\n if (!viewRef && Trace.isEnabled()) {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, `ViewReference not found for item ${index}. View recycling is not working`);\n }\n }\n\n if (!viewRef) {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, `onItemLoading: ${index} - Creating view from template`);\n }\n\n viewRef = this.loader.createEmbeddedView(this.itemTemplate, new ItemContext(), 0);\n args.view = getItemViewRoot(viewRef);\n args.view[NG_VIEW] = viewRef;\n }\n\n this.setupViewRef(viewRef, currentItem, index);\n\n this.detectChangesOnChild(viewRef, index);\n }\n @HostListener('itemRecycling', ['$event'])\n public onItemRecyclingInternal(args: any) {\n if (!args.view) {\n return;\n }\n let ngView: EmbeddedViewRef<any> = args.view[NG_VIEW];\n\n // Getting angular view from original element (in cases when ProxyViewContainer\n // is used NativeScript internally wraps it in a StackLayout)\n if (!ngView && args.view instanceof LayoutBase && args.view.getChildrenCount() > 0) {\n ngView = args.view.getChildAt(0)[NG_VIEW];\n }\n // console.log('recycling', args.view);\n\n if (ngView) {\n ngView.detach();\n }\n }\n\n @HostListener('itemDisposing', ['$event'])\n public onItemDisposingInternal(args: any) {\n if (!args.view) {\n return;\n }\n let ngView: EmbeddedViewRef<any> = args.view[NG_VIEW];\n\n // Getting angular view from original element (in cases when ProxyViewContainer\n // is used NativeScript internally wraps it in a StackLayout)\n if (!ngView && args.view instanceof LayoutBase && args.view.getChildrenCount() > 0) {\n ngView = args.view.getChildAt(0)[NG_VIEW];\n }\n\n if (ngView) {\n ngView.detach();\n this.storeViewRef(ngView);\n }\n }\n\n public setupViewRef(view: EmbeddedViewRef<ItemContext>, data: any, index: number): void {\n const context = view.context;\n context.$implicit = data;\n context.item = data;\n context.index = index;\n context.even = index % 2 === 0;\n context.odd = !context.even;\n\n this.setupItemView.next({\n context,\n data,\n index,\n view,\n });\n }\n\n protected getItemTemplateViewFactory(template: TemplateRef<ItemContext>): () => View {\n return () => {\n const viewRef = this.loader.createEmbeddedView(template, new ItemContext(), 0);\n const resultView = getItemViewRoot(viewRef);\n resultView[NG_VIEW] = viewRef;\n\n return resultView;\n };\n }\n viewPool = new Map<\n TemplateRef<ItemContext>,\n {\n scrapSize: number;\n scrapHead: Set<EmbeddedViewRef<ItemContext>>;\n }\n >();\n private storeViewRef(viewRef: EmbeddedViewRef<any>) {\n const templateRef = this.viewToTemplate.get(viewRef);\n if (templateRef) {\n const scrap = this.viewPool.get(templateRef);\n if (scrap) {\n if (scrap.scrapHead.size >= scrap.scrapSize) {\n viewRef.destroy();\n this.viewToLoader.get(viewRef)?.destroy();\n } else {\n scrap.scrapHead.add(viewRef);\n }\n }\n }\n }\n viewToTemplate = new WeakMap<EmbeddedViewRef<any>, TemplateRef<any>>();\n viewToLoader = new WeakMap<EmbeddedViewRef<any>, ComponentRef<DetachedLoader>>();\n\n private getOrCreate(templateRef: TemplateRef<ItemContext>) {\n return this._ngZone.run(() => {\n let viewRef = this.getView(templateRef);\n if (!viewRef) {\n const loader = this.detachedLoaderFactory();\n // viewRef = this.loader.createEmbeddedView(templateRef, new ItemContext(), 0);\n viewRef = loader.instance.vc.createEmbeddedView(templateRef, new ItemContext(), 0);\n this.viewToLoader.set(viewRef, loader);\n this.viewToTemplate.set(viewRef, templateRef);\n }\n viewRef.detach();\n const resultView = getItemViewRoot(viewRef);\n resultView[NG_VIEW] = viewRef;\n resultView.reusable = this.autoReuseViews;\n return resultView;\n });\n }\n private getView(templateRef: TemplateRef<ItemContext>) {\n const pool = this.getViewPool(templateRef);\n while (pool.scrapHead.size > 0) {\n const viewRef: EmbeddedViewRef<ItemContext> = pool.scrapHead.values().next().value;\n pool.scrapHead.delete(viewRef);\n if (!viewRef.destroyed) {\n return viewRef;\n }\n }\n return null;\n }\n\n private getViewPool(templateRef: TemplateRef<ItemContext>) {\n if (!this.viewPool.has(templateRef)) {\n this.viewPool.set(templateRef, {\n scrapSize: this.autoReuseViews ? Infinity : 0,\n scrapHead: new Set<EmbeddedViewRef<ItemContext>>(),\n });\n }\n return this.viewPool.get(templateRef);\n }\n\n private setItemTemplates() {\n // The itemTemplateQuery may be changed after list items are added that contain <template> inside,\n // so cache and use only the original template to avoid errors.\n this.itemTemplate = this.itemTemplateQuery;\n\n if (this._templateMap) {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, 'Setting templates');\n }\n\n const templates: KeyedTemplate[] = [];\n this._templateMap.forEach((value) => {\n templates.push(value);\n });\n this._collectionView.itemTemplates = templates;\n } else {\n // If the map was not initialized this means that there are no named templates, so we register the default one.\n this._collectionView.itemTemplate = this.getItemTemplateViewFactory(this.itemTemplate);\n }\n }\n\n private detectChangesOnChild(viewRef: EmbeddedViewRef<ItemContext>, index: number) {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, 'Manually detect changes in child: ' + index);\n }\n viewRef.markForCheck();\n viewRef.detectChanges();\n }\n\n private refresh() {\n if (this._collectionView) {\n this._collectionView.refresh();\n }\n }\n}\n\nexport interface ComponentView {\n rootNodes: any[];\n destroy(): void;\n}\n\nexport type RootLocator = (nodes: any[], nestLevel: number) => View;\n\nexport function getItemViewRoot(viewRef: ComponentView, rootLocator: RootLocator = extractSingleViewRecursive): View {\n const rootView = rootLocator(viewRef.rootNodes, 0);\n return rootView;\n}\n\n@Directive({ selector: '[cvTemplateKey]', standalone: false })\nexport class TemplateKeyDirective {\n constructor(private templateRef: TemplateRef<any>, @Host() private collectionView: CollectionViewComponent) {}\n\n @Input()\n set cvTemplateKey(value: any) {\n if (Trace.isEnabled()) {\n CLog(CLogTypes.info, 'cvTemplateKey: ' + value);\n }\n if (this.collectionView && this.templateRef) {\n this.collectionView.registerTemplate(value.toLowerCase(), this.templateRef);\n }\n }\n}\n","// External\nimport { NO_ERRORS_SCHEMA, NgModule } from '@angular/core';\n\nimport { CollectionViewComponent, TemplateKeyDirective } from './collectionview.component';\nexport { CollectionViewComponent, TemplateKeyDirective } from './collectionview.component';\n\n@NgModule({\n declarations: [CollectionViewComponent, TemplateKeyDirective],\n exports: [CollectionViewComponent, TemplateKeyDirective],\n schemas: [NO_ERRORS_SCHEMA],\n})\nexport class CollectionViewModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAKA,eAAe,CAAC,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEvD,MAAM,OAAO,GAAG,YAAY;MAEf,WAAW,CAAA;AACH,IAAA,SAAA;AAAwB,IAAA,IAAA;AAAmB,IAAA,KAAA;AAAuB,IAAA,IAAA;AAAuB,IAAA,GAAA;IAA5G,WAAmB,CAAA,SAAe,EAAS,IAAU,EAAS,KAAc,EAAS,IAAc,EAAS,GAAa,EAAA;QAAtG,IAAS,CAAA,SAAA,GAAT,SAAS;QAAe,IAAI,CAAA,IAAA,GAAJ,IAAI;QAAe,IAAK,CAAA,KAAA,GAAL,KAAK;QAAkB,IAAI,CAAA,IAAA,GAAJ,IAAI;QAAmB,IAAG,CAAA,GAAA,GAAH,GAAG;;AAChH;MAmBY,uBAAuB,CAAA;A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A,IAAA,EAAA,CAAA,EAAE,QAAQ,EAAE,iBAAiB,EAAE,UAAU,EAAE,KAAK,EAAE;;0BAEP;yCAGhD,aAAa,EAAA,CAAA;sBADhB;;;ACjYH;MAWa,oBAAoB,CAAA;uGAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,iBAJhB,uBAAuB,EAAE,oBAAoB,CAClD,EAAA,OAAA,EAAA,CAAA,uBAAuB,EAAE,oBAAoB,CAAA,EAAA,CAAA;wGAG5C,oBAAoB,EAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,uBAAuB,EAAE,oBAAoB,CAAC;AAC7D,oBAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,oBAAoB,CAAC;oBACxD,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC5B,iBAAA;;;ACVD;;AAEG;;;;"}
|
package/angular/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./collectionview.component";
|
3
|
-
export { CollectionViewComponent, TemplateKeyDirective
|
3
|
+
export { CollectionViewComponent, TemplateKeyDirective } from './collectionview.component';
|
4
4
|
export declare class CollectionViewModule {
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionViewModule, never>;
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CollectionViewModule, [typeof i1.CollectionViewComponent, typeof i1.TemplateKeyDirective
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CollectionViewModule, [typeof i1.CollectionViewComponent, typeof i1.TemplateKeyDirective], never, [typeof i1.CollectionViewComponent, typeof i1.TemplateKeyDirective]>;
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<CollectionViewModule>;
|
8
8
|
}
|
package/angular/package.json
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nstudio/ui-collectionview-angular",
|
3
|
-
"module": "
|
4
|
-
"es2020": "fesm2020/nstudio-ui-collectionview-angular.mjs",
|
5
|
-
"esm2020": "esm2020/nstudio-ui-collectionview-angular.mjs",
|
6
|
-
"fesm2020": "fesm2020/nstudio-ui-collectionview-angular.mjs",
|
7
|
-
"fesm2015": "fesm2015/nstudio-ui-collectionview-angular.mjs",
|
3
|
+
"module": "fesm2022/nstudio-ui-collectionview-angular.mjs",
|
8
4
|
"typings": "index.d.ts",
|
9
5
|
"exports": {
|
10
6
|
"./package.json": {
|
@@ -12,11 +8,7 @@
|
|
12
8
|
},
|
13
9
|
".": {
|
14
10
|
"types": "./index.d.ts",
|
15
|
-
"
|
16
|
-
"es2020": "./fesm2020/nstudio-ui-collectionview-angular.mjs",
|
17
|
-
"es2015": "./fesm2015/nstudio-ui-collectionview-angular.mjs",
|
18
|
-
"node": "./fesm2015/nstudio-ui-collectionview-angular.mjs",
|
19
|
-
"default": "./fesm2020/nstudio-ui-collectionview-angular.mjs"
|
11
|
+
"default": "./fesm2022/nstudio-ui-collectionview-angular.mjs"
|
20
12
|
}
|
21
13
|
},
|
22
14
|
"sideEffects": false,
|