@symbiote-native/angular 3.2.0 → 3.4.0
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/babel-register-composed.cjs +2 -0
- package/build/angular/accessibility-inputs.d.ts +2 -1
- package/build/angular/accessibility-inputs.js +4 -1
- package/build/angular/accessibility-inputs.js.map +1 -1
- package/build/angular/callback-host.d.ts +1 -1
- package/build/angular/callback-host.js +57 -9
- package/build/angular/callback-host.js.map +1 -1
- package/build/angular/components/checkbox-props.d.ts +2 -0
- package/build/angular/components/checkbox-props.js +2 -0
- package/build/angular/components/checkbox-props.js.map +1 -0
- package/build/angular/components/flat-list/flat-list-handle.d.ts +35 -0
- package/build/angular/components/flat-list/flat-list-handle.js +48 -0
- package/build/angular/components/flat-list/flat-list-handle.js.map +1 -0
- package/build/angular/components/flat-list/flat-list-template.d.ts +1 -1
- package/build/angular/components/flat-list/flat-list-template.js +16 -0
- package/build/angular/components/flat-list/flat-list-template.js.map +1 -1
- package/build/angular/components/flat-list/index.d.ts +6 -30
- package/build/angular/components/flat-list/index.js +6 -36
- package/build/angular/components/flat-list/index.js.map +1 -1
- package/build/angular/components/image-inputs.d.ts +4 -0
- package/build/angular/components/image-inputs.js +81 -0
- package/build/angular/components/image-inputs.js.map +1 -0
- package/build/angular/components/image-props-resolve.d.ts +3 -0
- package/build/angular/components/image-props-resolve.js +133 -0
- package/build/angular/components/image-props-resolve.js.map +1 -0
- package/build/angular/components/image-shared.d.ts +8 -6
- package/build/angular/components/image-shared.js +23 -212
- package/build/angular/components/image-shared.js.map +1 -1
- package/build/angular/components/input-accessory-view-props.d.ts +4 -4
- package/build/angular/components/keyboard-avoiding-view/index.d.ts +3 -6
- package/build/angular/components/keyboard-avoiding-view/index.js +29 -56
- package/build/angular/components/keyboard-avoiding-view/index.js.map +1 -1
- package/build/angular/components/layout-conformance-props.d.ts +4 -0
- package/build/angular/components/layout-conformance-props.js +2 -0
- package/build/angular/components/layout-conformance-props.js.map +1 -0
- package/build/angular/components/modal/index.d.ts +6 -5
- package/build/angular/components/modal/index.js +17 -2
- package/build/angular/components/modal/index.js.map +1 -1
- package/build/angular/components/refresh-control-props.d.ts +7 -7
- package/build/angular/components/scroll-view-props.d.ts +8 -5
- package/build/angular/components/section-list/index.d.ts +17 -8
- package/build/angular/components/section-list/index.js +37 -28
- package/build/angular/components/section-list/index.js.map +1 -1
- package/build/angular/components/touchable-props.d.ts +2 -2
- package/build/angular/components/virtualized-list/cell-renderer-context.d.ts +12 -0
- package/build/angular/components/virtualized-list/cell-renderer-context.js +16 -0
- package/build/angular/components/virtualized-list/cell-renderer-context.js.map +1 -0
- package/build/angular/components/virtualized-list/directives.d.ts +26 -6
- package/build/angular/components/virtualized-list/directives.js +59 -5
- package/build/angular/components/virtualized-list/directives.js.map +1 -1
- package/build/angular/components/virtualized-list/index.d.ts +19 -15
- package/build/angular/components/virtualized-list/index.js +91 -61
- package/build/angular/components/virtualized-list/index.js.map +1 -1
- package/build/angular/components/virtualized-list/list-bags.d.ts +5 -1
- package/build/angular/components/virtualized-list/list-bags.js +31 -19
- package/build/angular/components/virtualized-list/list-bags.js.map +1 -1
- package/build/angular/components/virtualized-list/list-effects.d.ts +2 -2
- package/build/angular/components/virtualized-list/list-effects.js +17 -27
- package/build/angular/components/virtualized-list/list-effects.js.map +1 -1
- package/build/angular/components/virtualized-list/list-handle.d.ts +4 -1
- package/build/angular/components/virtualized-list/list-handle.js +13 -3
- package/build/angular/components/virtualized-list/list-handle.js.map +1 -1
- package/build/angular/components/virtualized-list/list-inputs.d.ts +19 -5
- package/build/angular/components/virtualized-list/list-inputs.js +47 -4
- package/build/angular/components/virtualized-list/list-inputs.js.map +1 -1
- package/build/angular/components/virtualized-list/list-props.d.ts +9 -3
- package/build/angular/components/virtualized-list/list-rows.d.ts +25 -0
- package/build/angular/components/virtualized-list/list-rows.js +25 -0
- package/build/angular/components/virtualized-list/list-rows.js.map +1 -0
- package/build/angular/components/virtualized-list/list-styles.d.ts +4 -0
- package/build/angular/components/virtualized-list/list-styles.js +10 -2
- package/build/angular/components/virtualized-list/list-styles.js.map +1 -1
- package/build/angular/components/virtualized-list/list-template.d.ts +1 -1
- package/build/angular/components/virtualized-list/list-template.js +159 -73
- package/build/angular/components/virtualized-list/list-template.js.map +1 -1
- package/build/angular/components/virtualized-list/nested-scope.d.ts +6 -0
- package/build/angular/components/virtualized-list/nested-scope.js +17 -0
- package/build/angular/components/virtualized-list/nested-scope.js.map +1 -0
- package/build/angular/components/virtualized-section-list/directives.d.ts +21 -9
- package/build/angular/components/virtualized-section-list/directives.js +8 -28
- package/build/angular/components/virtualized-section-list/directives.js.map +1 -1
- package/build/angular/components/virtualized-section-list/index.d.ts +39 -60
- package/build/angular/components/virtualized-section-list/index.js +67 -33
- package/build/angular/components/virtualized-section-list/index.js.map +1 -1
- package/build/angular/components/virtualized-section-list/section-cell.d.ts +29 -0
- package/build/angular/components/virtualized-section-list/section-cell.js +82 -0
- package/build/angular/components/virtualized-section-list/section-cell.js.map +1 -0
- package/build/angular/components/virtualized-section-list/section-list-props.d.ts +56 -0
- package/build/angular/components/virtualized-section-list/section-list-props.js +3 -0
- package/build/angular/components/virtualized-section-list/section-list-props.js.map +1 -0
- package/build/angular/components/virtualized-section-list/section-list-template.d.ts +1 -1
- package/build/angular/components/virtualized-section-list/section-list-template.js +34 -26
- package/build/angular/components/virtualized-section-list/section-list-template.js.map +1 -1
- package/build/angular/components.d.ts +8 -3
- package/build/angular/components.js +2 -1
- package/build/angular/components.js.map +1 -1
- package/build/angular/descriptor-to-angular/descriptor-host.d.ts +8 -0
- package/build/angular/descriptor-to-angular/descriptor-host.js +38 -0
- package/build/angular/descriptor-to-angular/descriptor-host.js.map +1 -0
- package/build/angular/descriptor-to-angular/index.d.ts +1 -0
- package/build/angular/descriptor-to-angular/index.js +4 -0
- package/build/angular/descriptor-to-angular/index.js.map +1 -1
- package/build/angular/element-base.d.ts +169 -0
- package/build/angular/element-base.js +304 -0
- package/build/angular/element-base.js.map +1 -0
- package/build/angular/element-props.d.ts +7 -7
- package/build/angular/element-text-input-native.d.ts +27 -0
- package/build/angular/element-text-input-native.js +52 -0
- package/build/angular/element-text-input-native.js.map +1 -0
- package/build/angular/elements-controls.d.ts +171 -0
- package/build/angular/elements-controls.js +394 -0
- package/build/angular/elements-controls.js.map +1 -0
- package/build/angular/elements-layout.d.ts +139 -0
- package/build/angular/elements-layout.js +276 -0
- package/build/angular/elements-layout.js.map +1 -0
- package/build/angular/elements-press.d.ts +103 -0
- package/build/angular/elements-press.js +239 -0
- package/build/angular/elements-press.js.map +1 -0
- package/build/angular/elements.d.ts +6 -516
- package/build/angular/elements.js +9 -1091
- package/build/angular/elements.js.map +1 -1
- package/build/angular/host-instance/index.d.ts +2 -0
- package/build/angular/host-instance/index.js +4 -4
- package/build/angular/host-instance/index.js.map +1 -1
- package/build/angular/index.d.ts +17 -9
- package/build/angular/index.js +24 -27
- package/build/angular/index.js.map +1 -1
- package/build/angular/modules/animated/create-animated-component.d.ts +1 -1
- package/build/angular/modules/animated/create-animated-component.js +1 -1
- package/build/angular/modules/animated/create-animated-component.js.map +1 -1
- package/build/angular/modules/animated/index.d.ts +54 -41
- package/build/angular/modules/animated/index.js +2 -26
- package/build/angular/modules/animated/index.js.map +1 -1
- package/build/angular/modules/app-registry/index.d.ts +3 -3
- package/build/angular/modules/app-registry/index.js +2 -2
- package/build/angular/modules/app-registry/index.js.map +1 -1
- package/build/angular/modules/status-bar/index.d.ts +9 -5
- package/build/angular/modules/status-bar/index.js +21 -10
- package/build/angular/modules/status-bar/index.js.map +1 -1
- package/build/angular/native-view-base.d.ts +10 -2
- package/build/angular/native-view-base.js +23 -2
- package/build/angular/native-view-base.js.map +1 -1
- package/build/angular/primitives/index.d.ts +4 -0
- package/build/angular/primitives/index.js +12 -0
- package/build/angular/primitives/index.js.map +1 -1
- package/build/angular/services/color-scheme.service.d.ts +1 -1
- package/build/angular/services/index.d.ts +1 -0
- package/build/angular/services/index.js +1 -0
- package/build/angular/services/index.js.map +1 -1
- package/build/angular/services/inject-event.d.ts +6 -0
- package/build/angular/services/inject-event.js +24 -0
- package/build/angular/services/inject-event.js.map +1 -0
- package/package.json +6 -6
- package/src/accessibility-inputs.ts +3 -0
- package/src/callback-host.ts +56 -8
- package/src/components/checkbox-props.ts +12 -0
- package/src/components/flat-list/flat-list-handle.ts +64 -0
- package/src/components/flat-list/flat-list-template.ts +16 -0
- package/src/components/flat-list/index.ts +6 -48
- package/src/components/image-inputs.ts +94 -0
- package/src/components/image-props-resolve.ts +172 -0
- package/src/components/image-shared.ts +26 -291
- package/src/components/input-accessory-view-props.ts +12 -8
- package/src/components/keyboard-avoiding-view/index.ts +39 -79
- package/src/components/layout-conformance-props.ts +8 -0
- package/src/components/modal/index.ts +42 -20
- package/src/components/refresh-control-props.ts +29 -25
- package/src/components/scroll-view-props.ts +84 -76
- package/src/components/section-list/index.ts +34 -37
- package/src/components/touchable-props.ts +6 -2
- package/src/components/virtualized-list/cell-renderer-context.ts +36 -0
- package/src/components/virtualized-list/directives.ts +84 -8
- package/src/components/virtualized-list/index.ts +118 -85
- package/src/components/virtualized-list/list-bags.ts +38 -19
- package/src/components/virtualized-list/list-effects.ts +20 -32
- package/src/components/virtualized-list/list-handle.ts +17 -4
- package/src/components/virtualized-list/list-inputs.ts +47 -0
- package/src/components/virtualized-list/list-props.ts +57 -50
- package/src/components/virtualized-list/list-rows.ts +66 -0
- package/src/components/virtualized-list/list-styles.ts +30 -1
- package/src/components/virtualized-list/list-template.ts +159 -73
- package/src/components/virtualized-list/nested-scope.ts +22 -0
- package/src/components/virtualized-section-list/directives.ts +41 -40
- package/src/components/virtualized-section-list/index.ts +114 -118
- package/src/components/virtualized-section-list/section-cell.ts +109 -0
- package/src/components/virtualized-section-list/section-list-props.ts +79 -0
- package/src/components/virtualized-section-list/section-list-template.ts +34 -26
- package/src/components.ts +9 -0
- package/src/descriptor-to-angular/descriptor-host.ts +27 -0
- package/src/descriptor-to-angular/index.ts +5 -0
- package/src/element-base.ts +289 -0
- package/src/element-props.ts +35 -33
- package/src/element-text-input-native.ts +31 -0
- package/src/elements-controls.ts +290 -0
- package/src/elements-layout.ts +168 -0
- package/src/elements-press.ts +153 -0
- package/src/elements.ts +76 -788
- package/src/host-instance/index.ts +4 -4
- package/src/index.ts +78 -23
- package/src/modules/animated/index.ts +2 -47
- package/src/modules/app-registry/index.ts +3 -1
- package/src/modules/status-bar/index.ts +24 -11
- package/src/native-view-base.ts +37 -2
- package/src/primitives/index.ts +7 -0
- package/src/services/color-scheme.service.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/inject-event.ts +52 -0
|
@@ -23,11 +23,15 @@
|
|
|
23
23
|
// @angular/core ONLY — see package.json), built on ViewContainerRef / TemplateRef from
|
|
24
24
|
// @angular/core: create on template change, update the embedded view's context in place on a
|
|
25
25
|
// context change (no churn of the cell's own view across windowing recomputes).
|
|
26
|
-
import { Directive, Input, TemplateRef, ViewContainerRef, inject, } from '@angular/core';
|
|
26
|
+
import { Directive, Input, TemplateRef, ViewContainerRef, inject, reflectComponentType, } from '@angular/core';
|
|
27
27
|
import { dlog, isDebug } from '@symbiote-native/engine';
|
|
28
28
|
import { countAngular } from '../../diagnostics';
|
|
29
29
|
import * as i0 from "@angular/core";
|
|
30
30
|
let vListOutletInstanceCounter = 0;
|
|
31
|
+
function nextOutletInstanceId() {
|
|
32
|
+
vListOutletInstanceCounter += 1;
|
|
33
|
+
return vListOutletInstanceCounter;
|
|
34
|
+
}
|
|
31
35
|
function isRecord(value) {
|
|
32
36
|
return typeof value === 'object' && value !== null;
|
|
33
37
|
}
|
|
@@ -100,6 +104,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
100
104
|
type: Directive,
|
|
101
105
|
args: [{ selector: '[vListSeparator]', standalone: true }]
|
|
102
106
|
}] });
|
|
107
|
+
// `<ng-template vListCell>` replaces the view around each cell (RN CellRendererComponent)
|
|
108
|
+
// It must wire `layout` and `focus` itself, as RN's custom cell must wire `onLayout`
|
|
109
|
+
export class VListCellDirective {
|
|
110
|
+
constructor() {
|
|
111
|
+
this.templateRef = inject(TemplateRef);
|
|
112
|
+
}
|
|
113
|
+
static ngTemplateContextGuard(_dir, _ctx) {
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListCellDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
117
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: VListCellDirective, isStandalone: true, selector: "[vListCell]", ngImport: i0 }); }
|
|
118
|
+
}
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListCellDirective, decorators: [{
|
|
120
|
+
type: Directive,
|
|
121
|
+
args: [{ selector: '[vListCell]', standalone: true }]
|
|
122
|
+
}] });
|
|
103
123
|
// Core-only NgTemplateOutlet twin. The adapter cannot import @angular/common's NgTemplateOutlet
|
|
104
124
|
// (not a dependency), so the list stamps templates through this: it creates the embedded view when
|
|
105
125
|
// the template changes and updates the live view's context IN PLACE on a context change, so a
|
|
@@ -107,21 +127,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
107
127
|
export class VListOutletDirective {
|
|
108
128
|
constructor() {
|
|
109
129
|
this.viewRef = null;
|
|
130
|
+
this.componentRef = null;
|
|
110
131
|
this.viewContainer = inject(ViewContainerRef);
|
|
111
|
-
this.instanceId = (
|
|
132
|
+
this.instanceId = nextOutletInstanceId();
|
|
112
133
|
}
|
|
113
134
|
ngOnChanges(changes) {
|
|
114
|
-
if (changes['templateRef'] !== undefined
|
|
135
|
+
if (changes['templateRef'] !== undefined ||
|
|
136
|
+
changes['component'] !== undefined) {
|
|
115
137
|
if (isDebug())
|
|
116
|
-
dlog(`Angular VListOutlet#${this.instanceId} templateRef CHANGED (was=${changes['templateRef']
|
|
138
|
+
dlog(`Angular VListOutlet#${this.instanceId} templateRef CHANGED (was=${changes['templateRef']?.previousValue !== undefined} now=${this.templateRef !== undefined}) -> clear + recreate`);
|
|
117
139
|
this.viewContainer.clear();
|
|
118
140
|
countAngular('outletCreates');
|
|
141
|
+
this.componentRef = null;
|
|
142
|
+
this.viewRef = null;
|
|
143
|
+
if (this.component !== undefined) {
|
|
144
|
+
this.componentRef = this.viewContainer.createComponent(this.component);
|
|
145
|
+
this.writeComponentInputs(this.componentRef);
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
119
148
|
this.viewRef =
|
|
120
149
|
this.templateRef === undefined
|
|
121
150
|
? null
|
|
122
151
|
: this.viewContainer.createEmbeddedView(this.templateRef, this.context);
|
|
123
152
|
return;
|
|
124
153
|
}
|
|
154
|
+
if (this.componentRef !== null) {
|
|
155
|
+
countAngular('outletUpdates');
|
|
156
|
+
this.writeComponentInputs(this.componentRef);
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
125
159
|
if (this.viewRef !== null && this.context !== undefined) {
|
|
126
160
|
countAngular('outletUpdates');
|
|
127
161
|
if (isDebug())
|
|
@@ -136,6 +170,23 @@ export class VListOutletDirective {
|
|
|
136
170
|
dlog(`Angular VListOutlet#${this.instanceId} destroyed`);
|
|
137
171
|
this.viewContainer.clear();
|
|
138
172
|
}
|
|
173
|
+
// The item context becomes the component's inputs, only those it declares: RN hands a
|
|
174
|
+
// `ListItemComponent` item, index and separators, and one may not read all three
|
|
175
|
+
writeComponentInputs(ref) {
|
|
176
|
+
const { context } = this;
|
|
177
|
+
if (!isRecord(context))
|
|
178
|
+
return;
|
|
179
|
+
const declared = new Set(reflectComponentType(ref.componentType)?.inputs.map(input => input.propName));
|
|
180
|
+
const inputs = {
|
|
181
|
+
item: context['$implicit'],
|
|
182
|
+
index: context['index'],
|
|
183
|
+
separators: context['separators'],
|
|
184
|
+
};
|
|
185
|
+
for (const [name, value] of Object.entries(inputs)) {
|
|
186
|
+
if (declared.has(name))
|
|
187
|
+
ref.setInput(name, value);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
139
190
|
// Copy the new context's fields onto the live embedded view's context object (whose identity the
|
|
140
191
|
// consumer's `let-` bindings already read), dropping keys that disappeared. The generic `C` can't
|
|
141
192
|
// be index-WRITTEN even once narrowed (TS2862), so the copy runs in a non-generic helper the
|
|
@@ -146,7 +197,7 @@ export class VListOutletDirective {
|
|
|
146
197
|
copyContextFields(viewContext, nextContext);
|
|
147
198
|
}
|
|
148
199
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListOutletDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
149
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: VListOutletDirective, isStandalone: true, selector: "[vListOutlet]", inputs: { templateRef: ["vListOutlet", "templateRef"], context: ["vListOutletContext", "context"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
200
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.8", type: VListOutletDirective, isStandalone: true, selector: "[vListOutlet]", inputs: { templateRef: ["vListOutlet", "templateRef"], context: ["vListOutletContext", "context"], component: ["vListOutletComponent", "component"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
150
201
|
}
|
|
151
202
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VListOutletDirective, decorators: [{
|
|
152
203
|
type: Directive,
|
|
@@ -157,6 +208,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
157
208
|
}], context: [{
|
|
158
209
|
type: Input,
|
|
159
210
|
args: [{ alias: 'vListOutletContext' }]
|
|
211
|
+
}], component: [{
|
|
212
|
+
type: Input,
|
|
213
|
+
args: [{ alias: 'vListOutletComponent' }]
|
|
160
214
|
}] } });
|
|
161
215
|
function copyContextFields(target, source) {
|
|
162
216
|
for (const key of Object.keys(target)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directives.js","sourceRoot":"","sources":["../../../../src/components/virtualized-list/directives.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,wFAAwF;AACxF,wFAAwF;AACxF,uFAAuF;AACvF,uFAAuF;AACvF,uFAAuF;AACvF,uDAAuD;AACvD,EAAE;AACF,kFAAkF;AAClF,+EAA+E;AAC/E,sGAAsG;AACtG,iDAAiD;AACjD,iDAAiD;AACjD,gDAAgD;AAChD,gHAAgH;AAChH,uBAAuB;AACvB,EAAE;AACF,wFAAwF;AACxF,gGAAgG;AAChG,EAAE;AACF,8FAA8F;AAC9F,+FAA+F;AAC/F,uFAAuF;AACvF,6FAA6F;AAC7F,gFAAgF;AAEhF,OAAO,EACL,SAAS,EACT,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"directives.js","sourceRoot":"","sources":["../../../../src/components/virtualized-list/directives.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,wFAAwF;AACxF,wFAAwF;AACxF,uFAAuF;AACvF,uFAAuF;AACvF,uFAAuF;AACvF,uDAAuD;AACvD,EAAE;AACF,kFAAkF;AAClF,+EAA+E;AAC/E,sGAAsG;AACtG,iDAAiD;AACjD,iDAAiD;AACjD,gDAAgD;AAChD,gHAAgH;AAChH,uBAAuB;AACvB,EAAE;AACF,wFAAwF;AACxF,gGAAgG;AAChG,EAAE;AACF,8FAA8F;AAC9F,+FAA+F;AAC/F,uFAAuF;AACvF,6FAA6F;AAC7F,gFAAgF;AAEhF,OAAO,EACL,SAAS,EACT,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,MAAM,EACN,oBAAoB,GAOrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,OA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AAiB,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAC9C,CAAC;8GAvFU,oBAAoB;kGAApB,oBAAoB;;2FAApB,oBAAoB;kBADhC,SAAS;mBAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,IAAI,EAAE;;sBAEvD,KAAK;uBAAC,EAAE,KAAK,EAAE,aAAa,EAAE;;sBAC9B,KAAK;uBAAC,EAAE,KAAK,EAAE,oBAAoB,EAAE;;sBAErC,KAAK;uBAAC,EAAE,KAAK,EAAE,sBAAsB,EAAE;;AAsF1C,SAAS,iBAAiB,CACxB,MAA+B,EAC/B,MAA+B;IAE/B,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,IAAI,CAAC,CAAC,GAAG,IAAI,MAAM,CAAC;YAAE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IAC3C,CAAC;IACD,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;IAC5B,CAAC;AACH,CAAC"}
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { type AfterViewChecked, type DoCheck, type OnDestroy } from '@angular/core';
|
|
2
|
-
import { type IListAction, type IScrollViewHandle } from '@symbiote-native/components';
|
|
2
|
+
import { type IListAction, type IListNesting, type IListScope, type IScrollViewHandle } from '@symbiote-native/components';
|
|
3
3
|
import { type ISymbioteEvent, type ISymbioteNode, type IViewStyle } from '@symbiote-native/engine';
|
|
4
|
-
import { type IWindowCell } from './cell-registry';
|
|
5
4
|
import { VirtualizedListBagsBase } from './list-bags';
|
|
6
5
|
import type { IVirtualizedListInputs } from './list-props';
|
|
6
|
+
import { ListScopeProvider } from './nested-scope';
|
|
7
|
+
import { type IListRow } from './list-rows';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "../../primitives/shared";
|
|
9
10
|
export type { ICellLayout, ISeparators, ISeparatorProps, IViewToken, IViewableItemsChangedInfo, IViewabilityConfig, IViewabilityConfigCallbackPair, IVirtualizedListHandle, } from '@symbiote-native/components';
|
|
10
|
-
export { VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListItemDirective, VListSeparatorDirective, } from './directives';
|
|
11
|
-
export type { IVListItemContext, IVListSeparatorContext } from './directives';
|
|
11
|
+
export { VListCellDirective, VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListItemDirective, VListOutletDirective, VListSeparatorDirective, } from './directives';
|
|
12
|
+
export type { IVListCellContext, IVListItemContext, IVListSeparatorContext, } from './directives';
|
|
12
13
|
export type { IVirtualizedListInputs, IVirtualizedListProps, } from './list-props';
|
|
13
|
-
export declare class VirtualizedList<ItemT = unknown> extends VirtualizedListBagsBase<ItemT> implements IVirtualizedListInputs<ItemT>, DoCheck, AfterViewChecked, OnDestroy {
|
|
14
|
+
export declare class VirtualizedList<ItemT = unknown> extends VirtualizedListBagsBase<ItemT> implements IVirtualizedListInputs<ItemT>, ListScopeProvider, DoCheck, AfterViewChecked, OnDestroy {
|
|
14
15
|
private scrollHostRef?;
|
|
16
|
+
private cellBody?;
|
|
15
17
|
protected get scrollNode(): ISymbioteNode | null;
|
|
16
18
|
protected readonly scrollHandle: IScrollViewHandle;
|
|
19
|
+
protected readonly spacerKind: "spacer";
|
|
17
20
|
itemCount: number;
|
|
18
|
-
|
|
19
|
-
forcedStickyCell: IWindowCell<ItemT> | null;
|
|
20
|
-
leadingSpacerStyle: IViewStyle | null;
|
|
21
|
-
gapSpacerStyle: IViewStyle | null;
|
|
22
|
-
trailingSpacerStyle: IViewStyle | null;
|
|
21
|
+
rows: IListRow<ItemT>[];
|
|
23
22
|
cellStyle: IViewStyle | undefined;
|
|
23
|
+
headerStyle: IViewStyle | undefined;
|
|
24
|
+
footerStyle: IViewStyle | undefined;
|
|
24
25
|
private readonly listState;
|
|
25
26
|
private renderVersion;
|
|
26
27
|
private readonly cells;
|
|
@@ -29,7 +30,11 @@ export declare class VirtualizedList<ItemT = unknown> extends VirtualizedListBag
|
|
|
29
30
|
private lastRecompute;
|
|
30
31
|
private readonly cdr;
|
|
31
32
|
private readonly elementRef;
|
|
32
|
-
|
|
33
|
+
protected readonly keyFor: (index: number) => string;
|
|
34
|
+
private readonly parentScope;
|
|
35
|
+
private nestingMemo;
|
|
36
|
+
protected get nesting(): IListNesting<ItemT>;
|
|
37
|
+
get listScope(): IListScope;
|
|
33
38
|
private buildInputs;
|
|
34
39
|
protected dispatch(action: IListAction<ItemT>): void;
|
|
35
40
|
private isWindowSettled;
|
|
@@ -37,12 +42,11 @@ export declare class VirtualizedList<ItemT = unknown> extends VirtualizedListBag
|
|
|
37
42
|
ngAfterViewChecked(): void;
|
|
38
43
|
ngOnDestroy(): void;
|
|
39
44
|
private recomputeView;
|
|
45
|
+
private rendererFor;
|
|
40
46
|
private applyStyles;
|
|
41
47
|
private showEmpty;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
private buildCells;
|
|
45
|
-
handleCellLayout(measure: (event: ISymbioteEvent) => void, event: unknown): void;
|
|
48
|
+
handleCellLayout(measure: (event: ISymbioteEvent) => void, event: unknown, index: number): void;
|
|
49
|
+
handleCellFocus(index: number): void;
|
|
46
50
|
private isSymbioteEvent;
|
|
47
51
|
private scrollToPixel;
|
|
48
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<VirtualizedList<any>, never>;
|
|
@@ -1,33 +1,36 @@
|
|
|
1
1
|
// Angular lifecycle half of VirtualizedList, the windowing engine is shared with React and Vue
|
|
2
2
|
// The bound surface is in ./list-inputs.ts, cells in ./cell-registry.ts, effects in
|
|
3
3
|
// ./list-effects.ts, styles in ./list-styles.ts and the authoring templates in ./directives.ts
|
|
4
|
-
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, ViewChild, inject, } from '@angular/core';
|
|
5
|
-
import { EMPTY_OFFSET, FIRST_INDEX, LIST_ACTION_KIND,
|
|
4
|
+
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, ViewChild, forwardRef, inject, } from '@angular/core';
|
|
5
|
+
import { EMPTY_OFFSET, FIRST_INDEX, LIST_ACTION_KIND, LIST_SEGMENT_KIND, buildScrollViewHandle, buildViewabilityPairs, createInitialListState, createListNesting, deriveWindow, listEffectSignature, listHasMore, planFromMetrics, reduceList, resolveItemKey, } from '@symbiote-native/components';
|
|
6
6
|
import { dlog, isSymbioteNode, } from '@symbiote-native/engine';
|
|
7
7
|
import { countAngular } from '../../diagnostics';
|
|
8
8
|
import { anchorHostStyle, SymbioteHostPropsDirective, SymbioteStyleInputDirective, ViewHost, } from '../../primitives';
|
|
9
9
|
import { CellRegistry } from './cell-registry';
|
|
10
|
+
import { buildCellRendererContext } from './cell-renderer-context';
|
|
10
11
|
import { VListOutletDirective } from './directives';
|
|
11
12
|
import { ListEffectRunner } from './list-effects';
|
|
12
13
|
import { VirtualizedListBagsBase } from './list-bags';
|
|
14
|
+
import { injectVirtualizedListScope, ListScopeProvider } from './nested-scope';
|
|
15
|
+
import { stampPlanRows } from './list-rows';
|
|
13
16
|
import { resolveListStyles } from './list-styles';
|
|
14
17
|
import { VIRTUALIZED_LIST_TEMPLATE } from './list-template';
|
|
15
18
|
import * as i0 from "@angular/core";
|
|
16
19
|
import * as i1 from "../../primitives/shared";
|
|
17
|
-
export { VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListItemDirective, VListSeparatorDirective, } from './directives';
|
|
20
|
+
export { VListCellDirective, VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListItemDirective, VListOutletDirective, VListSeparatorDirective, } from './directives';
|
|
18
21
|
export class VirtualizedList extends VirtualizedListBagsBase {
|
|
19
22
|
constructor() {
|
|
20
23
|
super(...arguments);
|
|
21
24
|
this.scrollHandle = buildScrollViewHandle(() => this.scrollNode);
|
|
25
|
+
// The template tells a spacer row from a cell row by this, a bare literal would repeat per host
|
|
26
|
+
this.spacerKind = LIST_SEGMENT_KIND.spacer;
|
|
22
27
|
// Template-bound view state, assembled by `recomputeView` in `ngDoCheck`
|
|
23
28
|
this.itemCount = EMPTY_OFFSET;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
this.forcedStickyCell = null;
|
|
27
|
-
this.leadingSpacerStyle = null;
|
|
28
|
-
this.gapSpacerStyle = null;
|
|
29
|
-
this.trailingSpacerStyle = null;
|
|
29
|
+
// The plan's spacers and cells in document order
|
|
30
|
+
this.rows = [];
|
|
30
31
|
this.cellStyle = undefined;
|
|
32
|
+
this.headerStyle = undefined;
|
|
33
|
+
this.footerStyle = undefined;
|
|
31
34
|
// `renderVersion` bumps on every transition that changes render state, for the recompute dedup
|
|
32
35
|
this.listState = createInitialListState();
|
|
33
36
|
this.renderVersion = EMPTY_OFFSET;
|
|
@@ -55,11 +58,31 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
55
58
|
const item = this.getItem(this.data, index);
|
|
56
59
|
return resolveItemKey(item, index, this.keyExtractor);
|
|
57
60
|
};
|
|
61
|
+
this.parentScope = injectVirtualizedListScope();
|
|
62
|
+
this.nestingMemo = undefined;
|
|
58
63
|
}
|
|
59
64
|
get scrollNode() {
|
|
60
65
|
const node = this.scrollHostRef?.nativeElement;
|
|
61
66
|
return isSymbioteNode(node) ? node : null;
|
|
62
67
|
}
|
|
68
|
+
// Built on first use, the inputs that pick its axis are set only after construction
|
|
69
|
+
get nesting() {
|
|
70
|
+
this.nestingMemo ??= createListNesting({
|
|
71
|
+
parent: this.parentScope,
|
|
72
|
+
horizontal: this.isHorizontal,
|
|
73
|
+
getState: () => this.listState,
|
|
74
|
+
dispatch: action => this.dispatch(action),
|
|
75
|
+
getContainerNode: () => this.scrollNode,
|
|
76
|
+
getHasMore: () => listHasMore(this.listState),
|
|
77
|
+
keyFor: this.keyFor,
|
|
78
|
+
handlers: () => this.listHandlers,
|
|
79
|
+
});
|
|
80
|
+
return this.nestingMemo;
|
|
81
|
+
}
|
|
82
|
+
// The scope the lists in this list's cells inject
|
|
83
|
+
get listScope() {
|
|
84
|
+
return this.nesting.scope;
|
|
85
|
+
}
|
|
63
86
|
// Edge and viewability listeners map to `.observed`, so the reducer emits only if listened to
|
|
64
87
|
buildInputs() {
|
|
65
88
|
return {
|
|
@@ -70,6 +93,7 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
70
93
|
getItemLayout: this.getItemLayout,
|
|
71
94
|
horizontal: this.isHorizontal,
|
|
72
95
|
windowSize: this.windowSizeValue,
|
|
96
|
+
disableVirtualization: this.disableVirtualization,
|
|
73
97
|
initialNumToRender: this.initialNumToRenderValue,
|
|
74
98
|
maxToRenderPerBatch: this.maxToRenderPerBatchValue,
|
|
75
99
|
updateCellsBatchingPeriod: this.updateCellsBatchingPeriodValue,
|
|
@@ -82,6 +106,7 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
82
106
|
: undefined, this.viewabilityConfig, this.viewabilityConfigCallbackPairs),
|
|
83
107
|
maintainVisibleContentPosition: this.maintainVisibleContentPosition,
|
|
84
108
|
initialScrollIndex: this.initialScrollIndex,
|
|
109
|
+
findFirstChildWithMore: (first, last) => this.nesting.findFirstChildWithMore(first, last),
|
|
85
110
|
};
|
|
86
111
|
}
|
|
87
112
|
// Native callbacks fire outside Angular's bindings, so a changed state must mark the view dirty
|
|
@@ -107,7 +132,7 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
107
132
|
// Mid-fill the window climbs one batch step per render, only a render advances it
|
|
108
133
|
if (m.first !== m.target.first || m.last !== m.target.last)
|
|
109
134
|
return false;
|
|
110
|
-
const next =
|
|
135
|
+
const next = deriveWindow(this.listState, this.buildInputs(), m.count, m).target;
|
|
111
136
|
const isSettled = next.first === m.target.first && next.last === m.target.last;
|
|
112
137
|
if (!isSettled)
|
|
113
138
|
dlog(`Angular VirtualizedList window moves [${m.first}, ${m.last}] -> ` +
|
|
@@ -125,6 +150,7 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
125
150
|
this.isHorizontal,
|
|
126
151
|
this.isInverted,
|
|
127
152
|
this.windowSizeValue,
|
|
153
|
+
this.disableVirtualization,
|
|
128
154
|
this.initialNumToRenderValue,
|
|
129
155
|
this.maxToRenderPerBatchValue,
|
|
130
156
|
this.stickyHeaderIndices,
|
|
@@ -133,11 +159,14 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
133
159
|
// Arrives through `addClass` and `removeClass`, never as an input
|
|
134
160
|
anchorHostStyle(this.elementRef),
|
|
135
161
|
this.contentContainerStyle,
|
|
162
|
+
this.listHeaderComponentStyle,
|
|
163
|
+
this.listFooterComponentStyle,
|
|
136
164
|
this.renderVersion,
|
|
137
165
|
this.headerDir !== undefined,
|
|
138
166
|
this.footerDir !== undefined,
|
|
139
167
|
this.emptyDir !== undefined,
|
|
140
168
|
this.separatorTemplate !== undefined,
|
|
169
|
+
this.cellRendererTpl,
|
|
141
170
|
];
|
|
142
171
|
const previous = this.lastRecompute;
|
|
143
172
|
this.lastRecompute = recomputeInputs;
|
|
@@ -161,6 +190,7 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
161
190
|
}
|
|
162
191
|
ngOnDestroy() {
|
|
163
192
|
this.effects.dispose();
|
|
193
|
+
this.nestingMemo?.detach();
|
|
164
194
|
}
|
|
165
195
|
recomputeView() {
|
|
166
196
|
const m = this.listState.metrics;
|
|
@@ -176,24 +206,29 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
176
206
|
this.showEmpty();
|
|
177
207
|
return;
|
|
178
208
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
:
|
|
182
|
-
const plan = buildListPlan({
|
|
209
|
+
this.rows = stampPlanRows({
|
|
210
|
+
windowPlan: planFromMetrics(m, this.keyFor, this.stickyHeaderIndices),
|
|
211
|
+
cells: this.cells,
|
|
183
212
|
count: m.count,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
lengths: m.lengths,
|
|
188
|
-
total: m.total,
|
|
189
|
-
keyFor: this.keyFor,
|
|
190
|
-
stickyIndices: stickySet,
|
|
191
|
-
hasHeader: this.headerDir !== undefined,
|
|
213
|
+
isHorizontal: this.isHorizontal,
|
|
214
|
+
hasSeparators: this.separatorTemplate !== undefined,
|
|
215
|
+
rendererFor: this.rendererFor(),
|
|
192
216
|
});
|
|
193
|
-
this.
|
|
194
|
-
this.buildCells(plan, stickySet);
|
|
217
|
+
this.cells.endPass();
|
|
195
218
|
dlog(`Angular VirtualizedList window [${m.first}, ${m.last}] of ${m.count} ` +
|
|
196
|
-
`(offset=${this.listState.scrollOffset}, viewport=${this.listState.viewportLength},
|
|
219
|
+
`(offset=${this.listState.scrollOffset}, viewport=${this.listState.viewportLength}, rows=${this.rows.length})`);
|
|
220
|
+
}
|
|
221
|
+
// Only a list given a `vListCell` template builds the wrapper contexts
|
|
222
|
+
rendererFor() {
|
|
223
|
+
if (this.cellRendererTpl === undefined)
|
|
224
|
+
return undefined;
|
|
225
|
+
return cell => buildCellRendererContext({
|
|
226
|
+
cell,
|
|
227
|
+
style: this.cellStyle,
|
|
228
|
+
body: this.cellBody,
|
|
229
|
+
layout: (measure, event, index) => this.handleCellLayout(measure, event, index),
|
|
230
|
+
focus: index => this.handleCellFocus(index),
|
|
231
|
+
});
|
|
197
232
|
}
|
|
198
233
|
applyStyles(total) {
|
|
199
234
|
const styles = resolveListStyles({
|
|
@@ -203,55 +238,36 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
203
238
|
hasHeader: this.headerDir !== undefined,
|
|
204
239
|
style: this.style,
|
|
205
240
|
contentContainerStyle: this.contentContainerStyle,
|
|
241
|
+
listHeaderComponentStyle: this.listHeaderComponentStyle,
|
|
242
|
+
listFooterComponentStyle: this.listFooterComponentStyle,
|
|
206
243
|
anchorStyle: anchorHostStyle(this.elementRef),
|
|
207
244
|
maintainVisibleContentPosition: this.maintainVisibleContentPosition,
|
|
208
245
|
});
|
|
209
246
|
this.resolvedStyle = styles.style;
|
|
210
247
|
this.resolvedContentContainerStyle = styles.contentContainerStyle;
|
|
211
248
|
this.cellStyle = styles.cellStyle;
|
|
249
|
+
this.headerStyle = styles.headerStyle;
|
|
250
|
+
this.footerStyle = styles.footerStyle;
|
|
212
251
|
this.resolvedMaintainVisibleContentPosition =
|
|
213
252
|
styles.maintainVisibleContentPosition;
|
|
214
253
|
}
|
|
215
254
|
showEmpty() {
|
|
216
255
|
this.cells.clear();
|
|
217
|
-
this.
|
|
218
|
-
this.forcedStickyCell = null;
|
|
219
|
-
this.leadingSpacerStyle = null;
|
|
220
|
-
this.gapSpacerStyle = null;
|
|
221
|
-
this.trailingSpacerStyle = null;
|
|
256
|
+
this.rows = [];
|
|
222
257
|
dlog(`Angular VirtualizedList empty (viewport=${this.listState.viewportLength})`);
|
|
223
258
|
}
|
|
224
|
-
applySpacers(plan) {
|
|
225
|
-
this.leadingSpacerStyle = this.spacerStyle(plan.leadingExtent);
|
|
226
|
-
this.gapSpacerStyle = this.spacerStyle(plan.gapExtent);
|
|
227
|
-
this.trailingSpacerStyle = this.spacerStyle(plan.trailingExtent);
|
|
228
|
-
}
|
|
229
|
-
spacerStyle(extent) {
|
|
230
|
-
if (extent <= EMPTY_OFFSET)
|
|
231
|
-
return null;
|
|
232
|
-
return this.isHorizontal ? { width: extent } : { height: extent };
|
|
233
|
-
}
|
|
234
|
-
buildCells(plan, stickySet) {
|
|
235
|
-
const count = this.listState.metrics.count;
|
|
236
|
-
const forced = plan.forcedStickyCell;
|
|
237
|
-
dlog(`STICKY[list] stickySet=${stickySet === undefined ? 'undefined' : JSON.stringify([...stickySet])} ` +
|
|
238
|
-
`childPositions=${JSON.stringify(plan.stickyChildPositions)} ` +
|
|
239
|
-
`forcedStickyCell=${forced === undefined ? 'none' : forced.index}`);
|
|
240
|
-
// Sticky by construction: a forced cell exists only for an index in `stickySet`
|
|
241
|
-
this.forcedStickyCell =
|
|
242
|
-
forced !== undefined
|
|
243
|
-
? this.cells.windowCell(forced.index, forced.key, false, true)
|
|
244
|
-
: null;
|
|
245
|
-
const hasSeparators = this.separatorTemplate !== undefined;
|
|
246
|
-
// The separator gates on the last index of the data, not of the window, or a cell's height
|
|
247
|
-
// would shift as it slides past
|
|
248
|
-
this.windowCells = plan.cells.map(planned => this.cells.windowCell(planned.index, planned.key, hasSeparators && planned.index < count - 1, stickySet?.has(planned.index) === true));
|
|
249
|
-
this.cells.endPass();
|
|
250
|
-
}
|
|
251
259
|
// Angular forbids an `[onLayout]` binding, so the event arrives untyped and is narrowed here
|
|
252
|
-
handleCellLayout(measure, event) {
|
|
253
|
-
if (this.isSymbioteEvent(event))
|
|
254
|
-
|
|
260
|
+
handleCellLayout(measure, event, index) {
|
|
261
|
+
if (!this.isSymbioteEvent(event))
|
|
262
|
+
return;
|
|
263
|
+
measure(event);
|
|
264
|
+
const cellKey = this.keyFor(index);
|
|
265
|
+
this.nesting.scope.registerCellNode(event.currentTarget, cellKey);
|
|
266
|
+
this.nesting.remeasureCell(cellKey);
|
|
267
|
+
}
|
|
268
|
+
// Focus inside a cell keeps a viewport of cells around it mounted, like RN's focus capture
|
|
269
|
+
handleCellFocus(index) {
|
|
270
|
+
this.dispatch({ kind: LIST_ACTION_KIND.cellFocused, index });
|
|
255
271
|
}
|
|
256
272
|
isSymbioteEvent(value) {
|
|
257
273
|
return (typeof value === 'object' && value !== null && 'nativeEvent' in value);
|
|
@@ -271,7 +287,12 @@ export class VirtualizedList extends VirtualizedListBagsBase {
|
|
|
271
287
|
this.cdr.markForCheck();
|
|
272
288
|
}
|
|
273
289
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VirtualizedList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
274
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: VirtualizedList, isStandalone: true, selector: "VirtualizedList",
|
|
290
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: VirtualizedList, isStandalone: true, selector: "VirtualizedList", providers: [
|
|
291
|
+
{
|
|
292
|
+
provide: ListScopeProvider,
|
|
293
|
+
useExisting: forwardRef(() => VirtualizedList),
|
|
294
|
+
},
|
|
295
|
+
], viewQueries: [{ propertyName: "scrollHostRef", first: true, predicate: ["scrollHost"], descendants: true, read: ElementRef }, { propertyName: "cellBody", first: true, predicate: ["cellBody"], descendants: true, static: true }], usesInheritance: true, hostDirectives: [{ directive: i1.SymbioteStyleInputDirective, inputs: ["style", "style"] }], ngImport: i0, template: "\n @if (nesting.isNested) {\n <view #scrollHost [symbioteHostProps]=\"nestedViewBag()\">\n @if (headerDir !== undefined) {\n <view [style]=\"headerStyle\">\n <ng-container [vListOutlet]=\"headerDir.templateRef\"></ng-container>\n </view>\n }\n\n @if (itemCount === 0) {\n @if (emptyDir !== undefined) {\n <view [style]=\"cellStyle\">\n <ng-container [vListOutlet]=\"emptyDir.templateRef\"></ng-container>\n </view>\n }\n } @else {\n @for (row of rows; track row.key) {\n @if (row.kind === spacerKind) {\n <view [style]=\"row.style\"></view>\n } @else if (row.renderer !== undefined) {\n @if (row.cell.isSticky) {\n <sticky-header>\n <ng-container\n [vListOutlet]=\"cellRendererTpl\"\n [vListOutletContext]=\"row.renderer\"\n ></ng-container>\n </sticky-header>\n } @else {\n <ng-container\n [vListOutlet]=\"cellRendererTpl\"\n [vListOutletContext]=\"row.renderer\"\n ></ng-container>\n }\n } @else if (row.cell.isSticky) {\n <sticky-header\n (layout)=\"handleCellLayout(row.cell.measure, $event, row.cell.index)\"\n (focus)=\"handleCellFocus(row.cell.index)\"\n [style]=\"cellStyle\"\n >\n <ng-container\n [vListOutlet]=\"cellTemplate\" [vListOutletComponent]=\"itemComponent\"\n [vListOutletContext]=\"row.cell.context\"\n ></ng-container>\n @if (row.cell.separatorContext !== undefined) {\n <ng-container\n [vListOutlet]=\"separatorTemplate\"\n [vListOutletContext]=\"row.cell.separatorContext\"\n ></ng-container>\n }\n </sticky-header>\n } @else {\n <view\n (layout)=\"handleCellLayout(row.cell.measure, $event, row.cell.index)\"\n (focus)=\"handleCellFocus(row.cell.index)\"\n [style]=\"cellStyle\"\n >\n <ng-container\n [vListOutlet]=\"cellTemplate\" [vListOutletComponent]=\"itemComponent\"\n [vListOutletContext]=\"row.cell.context\"\n ></ng-container>\n @if (row.cell.separatorContext !== undefined) {\n <ng-container\n [vListOutlet]=\"separatorTemplate\"\n [vListOutletContext]=\"row.cell.separatorContext\"\n ></ng-container>\n }\n </view>\n }\n }\n }\n\n @if (footerDir !== undefined) {\n <view [style]=\"footerStyle\">\n <ng-container [vListOutlet]=\"footerDir.templateRef\"></ng-container>\n </view>\n }\n </view>\n } @else if (isHorizontal) {\n <horizontal-scroll-view #scrollHost [symbioteHostProps]=\"scrollViewBag()\">\n @if (shouldRenderRefreshControl) {\n <refresh-control\n [symbioteHostProps]=\"refreshControlBag()\"\n ></refresh-control>\n }\n\n @if (headerDir !== undefined) {\n <view [style]=\"headerStyle\">\n <ng-container [vListOutlet]=\"headerDir.templateRef\"></ng-container>\n </view>\n }\n\n @if (itemCount === 0) {\n @if (emptyDir !== undefined) {\n <view [style]=\"cellStyle\">\n <ng-container [vListOutlet]=\"emptyDir.templateRef\"></ng-container>\n </view>\n }\n } @else {\n @for (row of rows; track row.key) {\n @if (row.kind === spacerKind) {\n <view [style]=\"row.style\"></view>\n } @else if (row.renderer !== undefined) {\n @if (row.cell.isSticky) {\n <sticky-header>\n <ng-container\n [vListOutlet]=\"cellRendererTpl\"\n [vListOutletContext]=\"row.renderer\"\n ></ng-container>\n </sticky-header>\n } @else {\n <ng-container\n [vListOutlet]=\"cellRendererTpl\"\n [vListOutletContext]=\"row.renderer\"\n ></ng-container>\n }\n } @else if (row.cell.isSticky) {\n <sticky-header\n (layout)=\"handleCellLayout(row.cell.measure, $event, row.cell.index)\"\n (focus)=\"handleCellFocus(row.cell.index)\"\n [style]=\"cellStyle\"\n >\n <ng-container\n [vListOutlet]=\"cellTemplate\" [vListOutletComponent]=\"itemComponent\"\n [vListOutletContext]=\"row.cell.context\"\n ></ng-container>\n @if (row.cell.separatorContext !== undefined) {\n <ng-container\n [vListOutlet]=\"separatorTemplate\"\n [vListOutletContext]=\"row.cell.separatorContext\"\n ></ng-container>\n }\n </sticky-header>\n } @else {\n <view\n (layout)=\"handleCellLayout(row.cell.measure, $event, row.cell.index)\"\n (focus)=\"handleCellFocus(row.cell.index)\"\n [style]=\"cellStyle\"\n >\n <ng-container\n [vListOutlet]=\"cellTemplate\" [vListOutletComponent]=\"itemComponent\"\n [vListOutletContext]=\"row.cell.context\"\n ></ng-container>\n @if (row.cell.separatorContext !== undefined) {\n <ng-container\n [vListOutlet]=\"separatorTemplate\"\n [vListOutletContext]=\"row.cell.separatorContext\"\n ></ng-container>\n }\n </view>\n }\n }\n }\n\n @if (footerDir !== undefined) {\n <view [style]=\"footerStyle\">\n <ng-container [vListOutlet]=\"footerDir.templateRef\"></ng-container>\n </view>\n }\n </horizontal-scroll-view>\n } @else {\n <scroll-view #scrollHost [symbioteHostProps]=\"scrollViewBag()\">\n @if (shouldRenderRefreshControl) {\n <refresh-control\n [symbioteHostProps]=\"refreshControlBag()\"\n ></refresh-control>\n }\n\n @if (headerDir !== undefined) {\n <view [style]=\"headerStyle\">\n <ng-container [vListOutlet]=\"headerDir.templateRef\"></ng-container>\n </view>\n }\n\n @if (itemCount === 0) {\n @if (emptyDir !== undefined) {\n <view [style]=\"cellStyle\">\n <ng-container [vListOutlet]=\"emptyDir.templateRef\"></ng-container>\n </view>\n }\n } @else {\n <!-- The separator sits INSIDE the measuring view, matching RN's cell renderer, as a\n sibling it would add an extra flex gap -->\n @for (row of rows; track row.key) {\n @if (row.kind === spacerKind) {\n <view [style]=\"row.style\"></view>\n } @else if (row.renderer !== undefined) {\n @if (row.cell.isSticky) {\n <sticky-header>\n <ng-container\n [vListOutlet]=\"cellRendererTpl\"\n [vListOutletContext]=\"row.renderer\"\n ></ng-container>\n </sticky-header>\n } @else {\n <ng-container\n [vListOutlet]=\"cellRendererTpl\"\n [vListOutletContext]=\"row.renderer\"\n ></ng-container>\n }\n } @else if (row.cell.isSticky) {\n <sticky-header\n (layout)=\"handleCellLayout(row.cell.measure, $event, row.cell.index)\"\n (focus)=\"handleCellFocus(row.cell.index)\"\n [style]=\"cellStyle\"\n >\n <ng-container\n [vListOutlet]=\"cellTemplate\" [vListOutletComponent]=\"itemComponent\"\n [vListOutletContext]=\"row.cell.context\"\n ></ng-container>\n @if (row.cell.separatorContext !== undefined) {\n <ng-container\n [vListOutlet]=\"separatorTemplate\"\n [vListOutletContext]=\"row.cell.separatorContext\"\n ></ng-container>\n }\n </sticky-header>\n } @else {\n <view\n (layout)=\"handleCellLayout(row.cell.measure, $event, row.cell.index)\"\n (focus)=\"handleCellFocus(row.cell.index)\"\n [style]=\"cellStyle\"\n >\n <ng-container\n [vListOutlet]=\"cellTemplate\" [vListOutletComponent]=\"itemComponent\"\n [vListOutletContext]=\"row.cell.context\"\n ></ng-container>\n @if (row.cell.separatorContext !== undefined) {\n <ng-container\n [vListOutlet]=\"separatorTemplate\"\n [vListOutletContext]=\"row.cell.separatorContext\"\n ></ng-container>\n }\n </view>\n }\n }\n }\n\n @if (footerDir !== undefined) {\n <view [style]=\"footerStyle\">\n <ng-container [vListOutlet]=\"footerDir.templateRef\"></ng-container>\n </view>\n }\n </scroll-view>\n }\n\n <!-- What a `vListCell` wrapper stamps for its item and separator, once per list -->\n <ng-template #cellBody let-cell>\n <ng-container\n [vListOutlet]=\"cellTemplate\" [vListOutletComponent]=\"itemComponent\"\n [vListOutletContext]=\"cell.context\"\n ></ng-container>\n @if (cell.separatorContext !== undefined) {\n <ng-container\n [vListOutlet]=\"separatorTemplate\"\n [vListOutletContext]=\"cell.separatorContext\"\n ></ng-container>\n }\n </ng-template>\n ", isInline: true, dependencies: [{ kind: "directive", type: SymbioteHostPropsDirective, selector: "[symbioteHostProps]", inputs: ["symbioteHostProps"], exportAs: ["symbioteHost"] }, { kind: "directive", type: VListOutletDirective, selector: "[vListOutlet]", inputs: ["vListOutlet", "vListOutletContext", "vListOutletComponent"] }, { kind: "component", type: ViewHost, selector: "view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
275
296
|
}
|
|
276
297
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: VirtualizedList, decorators: [{
|
|
277
298
|
type: Component,
|
|
@@ -283,11 +304,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
283
304
|
],
|
|
284
305
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
285
306
|
imports: [SymbioteHostPropsDirective, VListOutletDirective, ViewHost],
|
|
307
|
+
providers: [
|
|
308
|
+
{
|
|
309
|
+
provide: ListScopeProvider,
|
|
310
|
+
useExisting: forwardRef(() => VirtualizedList),
|
|
311
|
+
},
|
|
312
|
+
],
|
|
286
313
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
287
314
|
template: VIRTUALIZED_LIST_TEMPLATE,
|
|
288
315
|
}]
|
|
289
316
|
}], propDecorators: { scrollHostRef: [{
|
|
290
317
|
type: ViewChild,
|
|
291
318
|
args: ['scrollHost', { read: ElementRef }]
|
|
319
|
+
}], cellBody: [{
|
|
320
|
+
type: ViewChild,
|
|
321
|
+
args: ['cellBody', { static: true }]
|
|
292
322
|
}] } });
|
|
293
323
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/virtualized-list/index.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,oFAAoF;AACpF,+FAA+F;AAE/F,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB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BAC3B,UAAU,EAAE,IAAI;oBAChB,cAAc,EAAE;wBACd,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE;qBAC9D;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,0BAA0B,EAAE,oBAAoB,EAAE,QAAQ,CAAC;oBACrE,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,yBAAyB;iBACpC;;sBAME,SAAS;uBAAC,YAAY,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/virtualized-list/index.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,oFAAoF;AACpF,+FAA+F;AAE/F,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,SAAS,EACT,UAAU,EACV,MAAM,GAKP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,UAAU,EACV,cAAc,GAQf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,IAAI,EACJ,cAAc,GAIf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,2BAA2B,EAC3B,QAAQ,GACT,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE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AuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE,yBAAyB;iBACpC;;sBAWE,SAAS;uBAAC,YAAY,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;;sBAI5C,SAAS;uBAAC,UAAU,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type OnChanges } from '@angular/core';
|
|
2
|
-
import { type IAccessibilityProps, type IAriaProps } from '@symbiote-native/components';
|
|
2
|
+
import { type IAccessibilityProps, type IAriaProps, type IListHandlers, type IListNesting } from '@symbiote-native/components';
|
|
3
3
|
import { type IStyleProp, type ISymbioteEvent, type IViewStyle } from '@symbiote-native/engine';
|
|
4
4
|
import { VirtualizedListHandleBase } from './list-handle';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -14,12 +14,16 @@ export declare abstract class VirtualizedListBagsBase<ItemT> extends Virtualized
|
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
16
|
} | undefined;
|
|
17
|
+
protected abstract get nesting(): IListNesting<ItemT>;
|
|
18
|
+
protected abstract readonly keyFor: (index: number) => string;
|
|
19
|
+
protected readonly listHandlers: IListHandlers;
|
|
17
20
|
private readonly inputsRevision;
|
|
18
21
|
readonly foldedAccessibility: import("@angular/core").Signal<IAccessibilityProps & IAriaProps & Record<string, unknown>>;
|
|
19
22
|
ngOnChanges(): void;
|
|
20
23
|
get shouldRenderRefreshControl(): boolean;
|
|
21
24
|
scrollViewBag(): Record<string, unknown>;
|
|
22
25
|
refreshControlBag(): Record<string, unknown>;
|
|
26
|
+
nestedViewBag(): Record<string, unknown>;
|
|
23
27
|
onScrollTick: (event: ISymbioteEvent) => void;
|
|
24
28
|
onLayoutTick: (event: ISymbioteEvent) => void;
|
|
25
29
|
handleRefresh: () => void;
|