@nativescript/angular 21.0.0-rc.0 → 21.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -260,10 +260,10 @@ class NativeScriptLoadingService {
|
|
|
260
260
|
_notifyMainModuleReady() {
|
|
261
261
|
this.mainModuleReady$.next(true);
|
|
262
262
|
}
|
|
263
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
264
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
263
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptLoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
264
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptLoadingService, providedIn: 'root' }); }
|
|
265
265
|
}
|
|
266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptLoadingService, decorators: [{
|
|
267
267
|
type: Injectable,
|
|
268
268
|
args: [{ providedIn: 'root' }]
|
|
269
269
|
}] });
|
|
@@ -732,10 +732,10 @@ class NativescriptXhrFactory extends XhrFactory {
|
|
|
732
732
|
build() {
|
|
733
733
|
return new XMLHttpRequest();
|
|
734
734
|
}
|
|
735
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
736
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
735
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativescriptXhrFactory, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
736
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativescriptXhrFactory }); }
|
|
737
737
|
}
|
|
738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativescriptXhrFactory, decorators: [{
|
|
739
739
|
type: Injectable
|
|
740
740
|
}] });
|
|
741
741
|
|
|
@@ -1443,10 +1443,10 @@ class NativeScriptRendererHelperService {
|
|
|
1443
1443
|
this.endDomChanges();
|
|
1444
1444
|
}
|
|
1445
1445
|
}
|
|
1446
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
1447
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
1446
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptRendererHelperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1447
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptRendererHelperService, providedIn: 'root' }); }
|
|
1448
1448
|
}
|
|
1449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
1449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptRendererHelperService, decorators: [{
|
|
1450
1450
|
type: Injectable,
|
|
1451
1451
|
args: [{
|
|
1452
1452
|
providedIn: 'root',
|
|
@@ -1881,8 +1881,8 @@ class EmulatedRenderer extends NativeScriptRenderer {
|
|
|
1881
1881
|
.map((s) => replaceNgAttribute(s, componentId))
|
|
1882
1882
|
.forEach((s) => addScopedStyleToCss(s, this.rootModuleId));
|
|
1883
1883
|
}
|
|
1884
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
1885
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
1884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EmulatedRenderer, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1885
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EmulatedRenderer }); }
|
|
1886
1886
|
}
|
|
1887
1887
|
__decorate([
|
|
1888
1888
|
profile,
|
|
@@ -1892,7 +1892,7 @@ __decorate([
|
|
|
1892
1892
|
__metadata("design:paramtypes", [Array, String]),
|
|
1893
1893
|
__metadata("design:returntype", void 0)
|
|
1894
1894
|
], EmulatedRenderer.prototype, "addStyles", null);
|
|
1895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
1895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EmulatedRenderer, decorators: [{
|
|
1896
1896
|
type: Injectable
|
|
1897
1897
|
}], ctorParameters: () => [{ type: undefined }, { type: i1.View }], propDecorators: { addStyles: [] } });
|
|
1898
1898
|
|
|
@@ -2133,10 +2133,10 @@ class CdkPortal extends TemplatePortal {
|
|
|
2133
2133
|
constructor(templateRef, viewContainerRef) {
|
|
2134
2134
|
super(templateRef, viewContainerRef);
|
|
2135
2135
|
}
|
|
2136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2137
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
2136
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: CdkPortal, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2137
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: CdkPortal, isStandalone: true, selector: "[cdkPortal]", exportAs: ["cdkPortal"], usesInheritance: true, ngImport: i0 }); }
|
|
2138
2138
|
}
|
|
2139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: CdkPortal, decorators: [{
|
|
2140
2140
|
type: Directive,
|
|
2141
2141
|
args: [{
|
|
2142
2142
|
selector: '[cdkPortal]',
|
|
@@ -2267,10 +2267,10 @@ class CdkPortalOutlet extends BasePortalOutlet {
|
|
|
2267
2267
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
2268
2268
|
return (!(nativeElement instanceof CommentNode) ? nativeElement : nativeElement.parentNode);
|
|
2269
2269
|
}
|
|
2270
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2271
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
2270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: CdkPortalOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2271
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: CdkPortalOutlet, isStandalone: true, selector: "[cdkPortalOutlet]", inputs: { portal: ["cdkPortalOutlet", "portal"] }, outputs: { attached: "attached" }, exportAs: ["cdkPortalOutlet"], usesInheritance: true, ngImport: i0 }); }
|
|
2272
2272
|
}
|
|
2273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: CdkPortalOutlet, decorators: [{
|
|
2274
2274
|
type: Directive,
|
|
2275
2275
|
args: [{
|
|
2276
2276
|
selector: '[cdkPortalOutlet]',
|
|
@@ -2283,11 +2283,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImpor
|
|
|
2283
2283
|
type: Output
|
|
2284
2284
|
}] } });
|
|
2285
2285
|
class PortalModule {
|
|
2286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2287
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
2288
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
2286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PortalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2287
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: PortalModule, imports: [CdkPortal, CdkPortalOutlet], exports: [CdkPortal, CdkPortalOutlet] }); }
|
|
2288
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PortalModule }); }
|
|
2289
2289
|
}
|
|
2290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PortalModule, decorators: [{
|
|
2291
2291
|
type: NgModule,
|
|
2292
2292
|
args: [{
|
|
2293
2293
|
imports: [CdkPortal, CdkPortalOutlet],
|
|
@@ -2517,12 +2517,12 @@ class DetachedLoader {
|
|
|
2517
2517
|
loadWithFactoryInLocation(factory) {
|
|
2518
2518
|
return this.vc.createComponent(factory);
|
|
2519
2519
|
}
|
|
2520
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2521
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.
|
|
2520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: DetachedLoader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2521
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.3", type: DetachedLoader, isStandalone: true, selector: "DetachedContainer", viewQueries: [{ propertyName: "vc", first: true, predicate: ["vc"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `<Placeholder #loader></Placeholder>
|
|
2522
2522
|
<ng-container #vc></ng-container>
|
|
2523
2523
|
<ng-content></ng-content>`, isInline: true }); }
|
|
2524
2524
|
}
|
|
2525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: DetachedLoader, decorators: [{
|
|
2526
2526
|
type: Component,
|
|
2527
2527
|
args: [{
|
|
2528
2528
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -2593,10 +2593,10 @@ class PageService {
|
|
|
2593
2593
|
default:
|
|
2594
2594
|
}
|
|
2595
2595
|
}
|
|
2596
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2597
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
2596
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PageService, deps: [{ token: i1.Page, optional: true }, { token: i0.ElementRef, optional: true }, { token: i1.ViewBase, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2597
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PageService }); }
|
|
2598
2598
|
}
|
|
2599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PageService, decorators: [{
|
|
2600
2600
|
type: Injectable
|
|
2601
2601
|
}], ctorParameters: () => [{ type: i1.Page, decorators: [{
|
|
2602
2602
|
type: Optional
|
|
@@ -2641,8 +2641,8 @@ class FramePageComponent {
|
|
|
2641
2641
|
this.page.actionBarHidden = !!this.actionBarHidden;
|
|
2642
2642
|
}
|
|
2643
2643
|
}
|
|
2644
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2645
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.
|
|
2644
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FramePageComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2645
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.3", type: FramePageComponent, isStandalone: true, selector: "FramePage", inputs: { actionBarHidden: "actionBarHidden" }, providers: [
|
|
2646
2646
|
{
|
|
2647
2647
|
provide: Frame,
|
|
2648
2648
|
useFactory: customFrameComponentFactory,
|
|
@@ -2656,7 +2656,7 @@ class FramePageComponent {
|
|
|
2656
2656
|
PageService,
|
|
2657
2657
|
], usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true }); }
|
|
2658
2658
|
}
|
|
2659
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FramePageComponent, decorators: [{
|
|
2660
2660
|
type: Component,
|
|
2661
2661
|
args: [{
|
|
2662
2662
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -2688,8 +2688,8 @@ class FrameDirective {
|
|
|
2688
2688
|
constructor(element) {
|
|
2689
2689
|
this.element = element;
|
|
2690
2690
|
}
|
|
2691
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2692
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
2691
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FrameDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2692
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: FrameDirective, isStandalone: true, selector: "Frame", providers: [
|
|
2693
2693
|
{
|
|
2694
2694
|
provide: Frame,
|
|
2695
2695
|
useFactory: customFrameDirectiveFactory,
|
|
@@ -2697,7 +2697,7 @@ class FrameDirective {
|
|
|
2697
2697
|
},
|
|
2698
2698
|
], ngImport: i0 }); }
|
|
2699
2699
|
}
|
|
2700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FrameDirective, decorators: [{
|
|
2701
2701
|
type: Directive,
|
|
2702
2702
|
args: [{
|
|
2703
2703
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2720,8 +2720,8 @@ class PageDirective {
|
|
|
2720
2720
|
constructor(element) {
|
|
2721
2721
|
this.element = element;
|
|
2722
2722
|
}
|
|
2723
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2724
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
2723
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PageDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2724
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: PageDirective, isStandalone: true, selector: "Page", providers: [
|
|
2725
2725
|
{
|
|
2726
2726
|
provide: Page,
|
|
2727
2727
|
useFactory: customPageFactory,
|
|
@@ -2730,7 +2730,7 @@ class PageDirective {
|
|
|
2730
2730
|
PageService,
|
|
2731
2731
|
], ngImport: i0 }); }
|
|
2732
2732
|
}
|
|
2733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PageDirective, decorators: [{
|
|
2734
2734
|
type: Directive,
|
|
2735
2735
|
args: [{
|
|
2736
2736
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2748,11 +2748,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImpor
|
|
|
2748
2748
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
2749
2749
|
|
|
2750
2750
|
class FramePageModule {
|
|
2751
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2752
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
2753
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
2751
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FramePageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2752
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: FramePageModule, imports: [FrameDirective, PageDirective, FramePageComponent], exports: [FrameDirective, PageDirective, FramePageComponent] }); }
|
|
2753
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FramePageModule }); }
|
|
2754
2754
|
}
|
|
2755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FramePageModule, decorators: [{
|
|
2756
2756
|
type: NgModule,
|
|
2757
2757
|
args: [{
|
|
2758
2758
|
imports: [FrameDirective, PageDirective, FramePageComponent],
|
|
@@ -2844,10 +2844,10 @@ class ActionBarComponent {
|
|
|
2844
2844
|
this.page.actionBar = this.element.nativeElement;
|
|
2845
2845
|
this.page.actionBar.update();
|
|
2846
2846
|
}
|
|
2847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2848
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.
|
|
2847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ActionBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2848
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.3", type: ActionBarComponent, isStandalone: true, selector: "ActionBar", ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
|
|
2849
2849
|
}
|
|
2850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ActionBarComponent, decorators: [{
|
|
2851
2851
|
type: Component,
|
|
2852
2852
|
args: [{
|
|
2853
2853
|
selector: 'ActionBar',
|
|
@@ -2879,10 +2879,10 @@ class ActionBarScope {
|
|
|
2879
2879
|
this.page.actionBar.actionItems.removeItem(item.element.nativeElement);
|
|
2880
2880
|
}
|
|
2881
2881
|
}
|
|
2882
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2883
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.
|
|
2882
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ActionBarScope, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2883
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.3", type: ActionBarScope, isStandalone: true, selector: "ActionBarExtension", ngImport: i0, template: '', isInline: true }); }
|
|
2884
2884
|
}
|
|
2885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ActionBarScope, decorators: [{
|
|
2886
2886
|
type: Component,
|
|
2887
2887
|
args: [{
|
|
2888
2888
|
selector: 'ActionBarExtension',
|
|
@@ -2903,10 +2903,10 @@ class ActionItemDirective {
|
|
|
2903
2903
|
this.ownerScope.onActionDestroy(this);
|
|
2904
2904
|
}
|
|
2905
2905
|
}
|
|
2906
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2907
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
2906
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ActionItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2907
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: ActionItemDirective, isStandalone: true, selector: "ActionItem", ngImport: i0 }); }
|
|
2908
2908
|
}
|
|
2909
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ActionItemDirective, decorators: [{
|
|
2910
2910
|
type: Directive,
|
|
2911
2911
|
args: [{
|
|
2912
2912
|
selector: 'ActionItem',
|
|
@@ -2926,10 +2926,10 @@ class NavigationButtonDirective {
|
|
|
2926
2926
|
this.ownerScope.onNavButtonDestroy(this);
|
|
2927
2927
|
}
|
|
2928
2928
|
}
|
|
2929
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
2930
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
2929
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NavigationButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2930
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: NavigationButtonDirective, isStandalone: true, selector: "NavigationButton", ngImport: i0 }); }
|
|
2931
2931
|
}
|
|
2932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
2932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NavigationButtonDirective, decorators: [{
|
|
2933
2933
|
type: Directive,
|
|
2934
2934
|
args: [{
|
|
2935
2935
|
selector: 'NavigationButton',
|
|
@@ -3045,6 +3045,69 @@ class ListViewComponent {
|
|
|
3045
3045
|
get nativeElement() {
|
|
3046
3046
|
return this.templatedItemsView;
|
|
3047
3047
|
}
|
|
3048
|
+
/**
|
|
3049
|
+
* Sticky header template as supported by core ListView (string or NsTemplate).
|
|
3050
|
+
* This allows direct string templates just like XML usage:
|
|
3051
|
+
* `<ListView stickyHeaderTemplate="<GridLayout>...</GridLayout>">`.
|
|
3052
|
+
*/
|
|
3053
|
+
get stickyHeaderTemplate() {
|
|
3054
|
+
return this.templatedItemsView?.stickyHeaderTemplate;
|
|
3055
|
+
}
|
|
3056
|
+
set stickyHeaderTemplate(value) {
|
|
3057
|
+
if (this.templatedItemsView) {
|
|
3058
|
+
// If Angular template reference is also provided, that takes precedence
|
|
3059
|
+
// and will be wired in ngAfterContentInit via stickyHeaderTemplateRef.
|
|
3060
|
+
this.templatedItemsView.stickyHeaderTemplate = value;
|
|
3061
|
+
}
|
|
3062
|
+
}
|
|
3063
|
+
get stickyHeader() {
|
|
3064
|
+
return this.templatedItemsView?.stickyHeader;
|
|
3065
|
+
}
|
|
3066
|
+
set stickyHeader(value) {
|
|
3067
|
+
if (this.templatedItemsView) {
|
|
3068
|
+
this.templatedItemsView.stickyHeader = value;
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
3071
|
+
get stickyHeaderHeight() {
|
|
3072
|
+
return this.templatedItemsView?.stickyHeaderHeight;
|
|
3073
|
+
}
|
|
3074
|
+
set stickyHeaderHeight(value) {
|
|
3075
|
+
if (this.templatedItemsView) {
|
|
3076
|
+
this.templatedItemsView.stickyHeaderHeight = value;
|
|
3077
|
+
}
|
|
3078
|
+
}
|
|
3079
|
+
get stickyHeaderTopPadding() {
|
|
3080
|
+
return this.templatedItemsView?.stickyHeaderTopPadding;
|
|
3081
|
+
}
|
|
3082
|
+
set stickyHeaderTopPadding(value) {
|
|
3083
|
+
if (this.templatedItemsView) {
|
|
3084
|
+
this.templatedItemsView.stickyHeaderTopPadding = value;
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
get sectioned() {
|
|
3088
|
+
return this.templatedItemsView?.sectioned;
|
|
3089
|
+
}
|
|
3090
|
+
set sectioned(value) {
|
|
3091
|
+
if (this.templatedItemsView) {
|
|
3092
|
+
this.templatedItemsView.sectioned = value;
|
|
3093
|
+
}
|
|
3094
|
+
}
|
|
3095
|
+
get showSearch() {
|
|
3096
|
+
return this.templatedItemsView?.showSearch;
|
|
3097
|
+
}
|
|
3098
|
+
set showSearch(value) {
|
|
3099
|
+
if (this.templatedItemsView) {
|
|
3100
|
+
this.templatedItemsView.showSearch = value;
|
|
3101
|
+
}
|
|
3102
|
+
}
|
|
3103
|
+
get searchAutoHide() {
|
|
3104
|
+
return this.templatedItemsView?.searchAutoHide;
|
|
3105
|
+
}
|
|
3106
|
+
set searchAutoHide(value) {
|
|
3107
|
+
if (this.templatedItemsView) {
|
|
3108
|
+
this.templatedItemsView.searchAutoHide = value;
|
|
3109
|
+
}
|
|
3110
|
+
}
|
|
3048
3111
|
get items() {
|
|
3049
3112
|
return this._items;
|
|
3050
3113
|
}
|
|
@@ -3079,6 +3142,18 @@ class ListViewComponent {
|
|
|
3079
3142
|
NativeScriptDebug.listViewLog('TemplatedItemsView.ngAfterContentInit()');
|
|
3080
3143
|
}
|
|
3081
3144
|
this.setItemTemplates();
|
|
3145
|
+
// If an Angular sticky header template is provided, convert it into a
|
|
3146
|
+
// core `Template` function. Core will call this to create header views
|
|
3147
|
+
// and then assign bindingContext for each section.
|
|
3148
|
+
if (this.stickyHeaderTemplateRef && this.templatedItemsView) {
|
|
3149
|
+
const angularHeaderTemplate = () => {
|
|
3150
|
+
const viewRef = this.loader.createEmbeddedView(this.stickyHeaderTemplateRef);
|
|
3151
|
+
const root = getItemViewRoot(viewRef);
|
|
3152
|
+
root[NG_VIEW] = viewRef;
|
|
3153
|
+
return root;
|
|
3154
|
+
};
|
|
3155
|
+
this.templatedItemsView.stickyHeaderTemplate = angularHeaderTemplate;
|
|
3156
|
+
}
|
|
3082
3157
|
}
|
|
3083
3158
|
ngOnDestroy() {
|
|
3084
3159
|
this.templatedItemsView = null;
|
|
@@ -3127,7 +3202,27 @@ class ListViewComponent {
|
|
|
3127
3202
|
const index = args.index;
|
|
3128
3203
|
const lview = args.object;
|
|
3129
3204
|
const items = lview.items;
|
|
3130
|
-
const
|
|
3205
|
+
const isSectioned = lview.sectioned;
|
|
3206
|
+
let currentItem;
|
|
3207
|
+
let absoluteIndex = index;
|
|
3208
|
+
if (isSectioned) {
|
|
3209
|
+
const sectionIndex = this.resolveSectionIndex(args, args.view);
|
|
3210
|
+
const rowIndex = this.resolveRowIndex(args, args.view);
|
|
3211
|
+
if (sectionIndex === undefined || rowIndex === undefined) {
|
|
3212
|
+
return;
|
|
3213
|
+
}
|
|
3214
|
+
currentItem = this.getSectionItem(lview, sectionIndex, rowIndex);
|
|
3215
|
+
if (currentItem === undefined || currentItem === null) {
|
|
3216
|
+
return;
|
|
3217
|
+
}
|
|
3218
|
+
absoluteIndex = this.computeAbsoluteIndex(lview, sectionIndex, rowIndex);
|
|
3219
|
+
}
|
|
3220
|
+
else {
|
|
3221
|
+
currentItem = this.getFlatItem(items, index);
|
|
3222
|
+
if (currentItem === undefined || currentItem === null) {
|
|
3223
|
+
return;
|
|
3224
|
+
}
|
|
3225
|
+
}
|
|
3131
3226
|
let template;
|
|
3132
3227
|
if (args.view) {
|
|
3133
3228
|
if (NativeScriptDebug.isLogEnabled()) {
|
|
@@ -3138,18 +3233,18 @@ class ListViewComponent {
|
|
|
3138
3233
|
templateKey = this._viewToTemplate.get(args.view.getChildAt(0));
|
|
3139
3234
|
}
|
|
3140
3235
|
if (!templateKey) {
|
|
3141
|
-
// this template was not created by us
|
|
3142
3236
|
if (NativeScriptDebug.isLogEnabled()) {
|
|
3143
3237
|
NativeScriptDebug.listViewError(`ViewReference not found for item ${index}. View recycling is not working`);
|
|
3144
3238
|
}
|
|
3145
3239
|
return;
|
|
3146
3240
|
}
|
|
3147
3241
|
template = this._templateMap.get(templateKey);
|
|
3148
|
-
template.update(args.view, { index, data: currentItem });
|
|
3242
|
+
template.update(args.view, { index: absoluteIndex, data: currentItem });
|
|
3149
3243
|
}
|
|
3150
3244
|
else {
|
|
3151
|
-
|
|
3152
|
-
|
|
3245
|
+
const templateKey = typeof lview.itemTemplateSelector === 'function'
|
|
3246
|
+
? lview.itemTemplateSelector(currentItem, absoluteIndex, items)
|
|
3247
|
+
: 'default';
|
|
3153
3248
|
template = this._templateMap.get(templateKey);
|
|
3154
3249
|
if (!template) {
|
|
3155
3250
|
if (NativeScriptDebug.isLogEnabled()) {
|
|
@@ -3157,12 +3252,79 @@ class ListViewComponent {
|
|
|
3157
3252
|
}
|
|
3158
3253
|
return;
|
|
3159
3254
|
}
|
|
3160
|
-
args.view = template.create({ index, data: currentItem });
|
|
3255
|
+
args.view = template.create({ index: absoluteIndex, data: currentItem });
|
|
3256
|
+
}
|
|
3257
|
+
const viewRef = template.getEmbeddedViewRef(args.view);
|
|
3258
|
+
if (viewRef) {
|
|
3259
|
+
this.setupViewRef(viewRef, currentItem, absoluteIndex, args.view);
|
|
3260
|
+
template.attach(args.view);
|
|
3161
3261
|
}
|
|
3162
|
-
this.setupViewRef(template.getEmbeddedViewRef(args.view), currentItem, index, args.view);
|
|
3163
|
-
template.attach(args.view);
|
|
3164
3262
|
this._changeDetectorRef.detectChanges();
|
|
3165
3263
|
}
|
|
3264
|
+
resolveSectionIndex(args, nativeView) {
|
|
3265
|
+
const eventSection = Number.isInteger(args.section) ? args.section : undefined;
|
|
3266
|
+
if (eventSection !== undefined) {
|
|
3267
|
+
return eventSection;
|
|
3268
|
+
}
|
|
3269
|
+
const viewSection = nativeView && Number.isInteger(nativeView._listViewSectionIndex)
|
|
3270
|
+
? nativeView._listViewSectionIndex
|
|
3271
|
+
: undefined;
|
|
3272
|
+
if (viewSection !== undefined) {
|
|
3273
|
+
return viewSection;
|
|
3274
|
+
}
|
|
3275
|
+
return undefined;
|
|
3276
|
+
}
|
|
3277
|
+
resolveRowIndex(args, nativeView) {
|
|
3278
|
+
if (Number.isInteger(args.index)) {
|
|
3279
|
+
return args.index;
|
|
3280
|
+
}
|
|
3281
|
+
const viewRow = nativeView && Number.isInteger(nativeView._listViewItemIndex)
|
|
3282
|
+
? nativeView._listViewItemIndex
|
|
3283
|
+
: undefined;
|
|
3284
|
+
return viewRow;
|
|
3285
|
+
}
|
|
3286
|
+
getSectionItem(listView, sectionIndex, rowIndex) {
|
|
3287
|
+
if (sectionIndex < 0 || rowIndex < 0) {
|
|
3288
|
+
return undefined;
|
|
3289
|
+
}
|
|
3290
|
+
const sectionItems = listView._getItemsInSection?.(sectionIndex);
|
|
3291
|
+
if (!sectionItems) {
|
|
3292
|
+
return undefined;
|
|
3293
|
+
}
|
|
3294
|
+
if (typeof sectionItems.getItem === 'function') {
|
|
3295
|
+
return sectionItems.getItem(rowIndex);
|
|
3296
|
+
}
|
|
3297
|
+
return sectionItems[rowIndex];
|
|
3298
|
+
}
|
|
3299
|
+
computeAbsoluteIndex(listView, sectionIndex, rowIndex) {
|
|
3300
|
+
let absoluteIndex = rowIndex;
|
|
3301
|
+
for (let i = 0; i < sectionIndex; i++) {
|
|
3302
|
+
const sectionItems = listView._getItemsInSection?.(i);
|
|
3303
|
+
absoluteIndex += this.getCollectionLength(sectionItems);
|
|
3304
|
+
}
|
|
3305
|
+
return absoluteIndex;
|
|
3306
|
+
}
|
|
3307
|
+
getCollectionLength(collection) {
|
|
3308
|
+
if (!collection) {
|
|
3309
|
+
return 0;
|
|
3310
|
+
}
|
|
3311
|
+
if (typeof collection.length === 'number') {
|
|
3312
|
+
return collection.length;
|
|
3313
|
+
}
|
|
3314
|
+
if (typeof collection.getCount === 'function') {
|
|
3315
|
+
return collection.getCount();
|
|
3316
|
+
}
|
|
3317
|
+
return 0;
|
|
3318
|
+
}
|
|
3319
|
+
getFlatItem(items, index) {
|
|
3320
|
+
if (!items) {
|
|
3321
|
+
return undefined;
|
|
3322
|
+
}
|
|
3323
|
+
if (typeof items.getItem === 'function') {
|
|
3324
|
+
return items.getItem(index);
|
|
3325
|
+
}
|
|
3326
|
+
return Array.isArray(items) ? items[index] : undefined;
|
|
3327
|
+
}
|
|
3166
3328
|
setupViewRef(viewRef, data, index, nativeElement) {
|
|
3167
3329
|
const context = viewRef.context;
|
|
3168
3330
|
this.setupItemView.next({ view: viewRef, nativeElement, data: data, index: index, context: context });
|
|
@@ -3181,8 +3343,8 @@ class ListViewComponent {
|
|
|
3181
3343
|
}
|
|
3182
3344
|
}
|
|
3183
3345
|
}
|
|
3184
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
3185
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.
|
|
3346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ListViewComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3347
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.3", type: ListViewComponent, isStandalone: true, selector: "ListView", inputs: { stickyHeaderTemplate: "stickyHeaderTemplate", stickyHeader: "stickyHeader", stickyHeaderHeight: "stickyHeaderHeight", stickyHeaderTopPadding: "stickyHeaderTopPadding", sectioned: "sectioned", showSearch: "showSearch", searchAutoHide: "searchAutoHide", items: "items" }, outputs: { setupItemView: "setupItemView" }, host: { listeners: { "itemLoading": "onItemLoading($event)" } }, providers: [{ provide: TEMPLATED_ITEMS_COMPONENT, useExisting: forwardRef(() => ListViewComponent) }], queries: [{ propertyName: "itemTemplateQuery", first: true, predicate: TemplateRef, descendants: true, read: TemplateRef }, { propertyName: "stickyHeaderTemplateRef", first: true, predicate: ["nsStickyHeaderTemplate"], descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "loader", first: true, predicate: ["loader"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `<DetachedContainer>
|
|
3186
3348
|
<ng-container #loader></ng-container>
|
|
3187
3349
|
</DetachedContainer>`, isInline: true, dependencies: [{ kind: "component", type: DetachedLoader, selector: "DetachedContainer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3188
3350
|
}
|
|
@@ -3192,7 +3354,7 @@ __decorate([
|
|
|
3192
3354
|
__metadata("design:paramtypes", [Object]),
|
|
3193
3355
|
__metadata("design:returntype", void 0)
|
|
3194
3356
|
], ListViewComponent.prototype, "onItemLoading", null);
|
|
3195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
3357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
3196
3358
|
type: Component,
|
|
3197
3359
|
args: [{
|
|
3198
3360
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -3212,6 +3374,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImpor
|
|
|
3212
3374
|
}], itemTemplateQuery: [{
|
|
3213
3375
|
type: ContentChild,
|
|
3214
3376
|
args: [TemplateRef, { read: TemplateRef, static: false }]
|
|
3377
|
+
}], stickyHeaderTemplateRef: [{
|
|
3378
|
+
type: ContentChild,
|
|
3379
|
+
args: ['nsStickyHeaderTemplate', { read: TemplateRef, static: false }]
|
|
3380
|
+
}], stickyHeaderTemplate: [{
|
|
3381
|
+
type: Input
|
|
3382
|
+
}], stickyHeader: [{
|
|
3383
|
+
type: Input
|
|
3384
|
+
}], stickyHeaderHeight: [{
|
|
3385
|
+
type: Input
|
|
3386
|
+
}], stickyHeaderTopPadding: [{
|
|
3387
|
+
type: Input
|
|
3388
|
+
}], sectioned: [{
|
|
3389
|
+
type: Input
|
|
3390
|
+
}], showSearch: [{
|
|
3391
|
+
type: Input
|
|
3392
|
+
}], searchAutoHide: [{
|
|
3393
|
+
type: Input
|
|
3215
3394
|
}], items: [{
|
|
3216
3395
|
type: Input
|
|
3217
3396
|
}], onItemLoading: [{
|
|
@@ -3239,10 +3418,10 @@ class TemplateKeyDirective {
|
|
|
3239
3418
|
values.forEach((value) => this.comp.registerTemplate(value, this.templateRef));
|
|
3240
3419
|
}
|
|
3241
3420
|
}
|
|
3242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
3243
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
3421
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TemplateKeyDirective, deps: [{ token: i0.TemplateRef }, { token: TEMPLATED_ITEMS_COMPONENT, host: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3422
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: TemplateKeyDirective, isStandalone: true, selector: "[nsTemplateKey],[nsTemplateKeys]", inputs: { nsTemplateKey: "nsTemplateKey", nsTemplateKeys: "nsTemplateKeys" }, ngImport: i0 }); }
|
|
3244
3423
|
}
|
|
3245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
3424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TemplateKeyDirective, decorators: [{
|
|
3246
3425
|
type: Directive,
|
|
3247
3426
|
args: [{
|
|
3248
3427
|
selector: '[nsTemplateKey],[nsTemplateKeys]',
|
|
@@ -3264,10 +3443,10 @@ class FrameService {
|
|
|
3264
3443
|
getFrame() {
|
|
3265
3444
|
return Frame.topmost();
|
|
3266
3445
|
}
|
|
3267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
3268
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
3446
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FrameService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3447
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FrameService, providedIn: 'root' }); }
|
|
3269
3448
|
}
|
|
3270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
3449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: FrameService, decorators: [{
|
|
3271
3450
|
type: Injectable,
|
|
3272
3451
|
args: [{
|
|
3273
3452
|
providedIn: 'root',
|
|
@@ -3910,10 +4089,10 @@ class NSLocationStrategy extends LocationStrategy {
|
|
|
3910
4089
|
this.outlets = [];
|
|
3911
4090
|
this.currentOutlet = null;
|
|
3912
4091
|
}
|
|
3913
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
3914
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
4092
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSLocationStrategy, deps: [{ token: FrameService }, { token: START_PATH, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4093
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSLocationStrategy, providedIn: 'root' }); }
|
|
3915
4094
|
}
|
|
3916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSLocationStrategy, decorators: [{
|
|
3917
4096
|
type: Injectable,
|
|
3918
4097
|
args: [{
|
|
3919
4098
|
providedIn: 'root',
|
|
@@ -4057,10 +4236,10 @@ class ModalDialogService {
|
|
|
4057
4236
|
options.parentView.showModal(componentViewRef.firstNativeLikeView, { ...options, closeCallback });
|
|
4058
4237
|
});
|
|
4059
4238
|
}
|
|
4060
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4061
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
4239
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ModalDialogService, deps: [{ token: NSLocationStrategy }, { token: i0.NgZone }, { token: i0.ApplicationRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4240
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ModalDialogService }); }
|
|
4062
4241
|
}
|
|
4063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: ModalDialogService, decorators: [{
|
|
4064
4243
|
type: Injectable
|
|
4065
4244
|
}], ctorParameters: () => [{ type: NSLocationStrategy }, { type: i0.NgZone }, { type: i0.ApplicationRef }, { type: i0.Injector }] });
|
|
4066
4245
|
|
|
@@ -4166,10 +4345,10 @@ class TabViewDirective {
|
|
|
4166
4345
|
this.tabView.selectedIndex = this._selectedIndex;
|
|
4167
4346
|
}
|
|
4168
4347
|
}
|
|
4169
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4170
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
4348
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TabViewDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4349
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: TabViewDirective, isStandalone: true, selector: "TabView", inputs: { selectedIndex: "selectedIndex" }, ngImport: i0 }); }
|
|
4171
4350
|
}
|
|
4172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TabViewDirective, decorators: [{
|
|
4173
4352
|
type: Directive,
|
|
4174
4353
|
args: [{
|
|
4175
4354
|
selector: 'TabView', // eslint-disable-line @angular-eslint/directive-selector
|
|
@@ -4242,10 +4421,10 @@ class TabViewItemDirective {
|
|
|
4242
4421
|
this.owner.tabView.items = newItems;
|
|
4243
4422
|
}
|
|
4244
4423
|
}
|
|
4245
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4246
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
4424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TabViewItemDirective, deps: [{ token: TabViewDirective }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4425
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: TabViewItemDirective, isStandalone: true, selector: "[tabItem]", inputs: { config: ["tabItem", "config"], title: "title", iconSource: "iconSource", textTransform: "textTransform" }, ngImport: i0 }); }
|
|
4247
4426
|
}
|
|
4248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TabViewItemDirective, decorators: [{
|
|
4249
4428
|
type: Directive,
|
|
4250
4429
|
args: [{
|
|
4251
4430
|
selector: '[tabItem]', // eslint-disable-line @angular-eslint/directive-selector
|
|
@@ -4267,12 +4446,12 @@ class AndroidFilterComponent {
|
|
|
4267
4446
|
constructor(device) {
|
|
4268
4447
|
this.show = device.os === platformNames.android;
|
|
4269
4448
|
}
|
|
4270
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4271
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.
|
|
4449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: AndroidFilterComponent, deps: [{ token: DEVICE }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4450
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.3", type: AndroidFilterComponent, isStandalone: true, selector: "android", ngImport: i0, template: `@if (show) {
|
|
4272
4451
|
<ng-content></ng-content>
|
|
4273
4452
|
}`, isInline: true }); }
|
|
4274
4453
|
}
|
|
4275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: AndroidFilterComponent, decorators: [{
|
|
4276
4455
|
type: Component,
|
|
4277
4456
|
args: [{
|
|
4278
4457
|
selector: 'android',
|
|
@@ -4291,12 +4470,12 @@ class IOSFilterComponent {
|
|
|
4291
4470
|
constructor(device) {
|
|
4292
4471
|
this.show = device.os === platformNames.ios;
|
|
4293
4472
|
}
|
|
4294
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4295
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.
|
|
4473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IOSFilterComponent, deps: [{ token: DEVICE }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4474
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.3", type: IOSFilterComponent, isStandalone: true, selector: "ios", ngImport: i0, template: `@if (show) {
|
|
4296
4475
|
<ng-content></ng-content>
|
|
4297
4476
|
}`, isInline: true }); }
|
|
4298
4477
|
}
|
|
4299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: IOSFilterComponent, decorators: [{
|
|
4300
4479
|
type: Component,
|
|
4301
4480
|
args: [{
|
|
4302
4481
|
selector: 'ios',
|
|
@@ -4315,12 +4494,12 @@ class AppleFilterComponent {
|
|
|
4315
4494
|
constructor() {
|
|
4316
4495
|
this.show = __APPLE__;
|
|
4317
4496
|
}
|
|
4318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4319
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.
|
|
4497
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: AppleFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4498
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.3", type: AppleFilterComponent, isStandalone: true, selector: "apple", ngImport: i0, template: `@if (show) {
|
|
4320
4499
|
<ng-content></ng-content>
|
|
4321
4500
|
}`, isInline: true }); }
|
|
4322
4501
|
}
|
|
4323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: AppleFilterComponent, decorators: [{
|
|
4324
4503
|
type: Component,
|
|
4325
4504
|
args: [{
|
|
4326
4505
|
selector: 'apple',
|
|
@@ -4338,12 +4517,12 @@ class VisionOSFilterComponent {
|
|
|
4338
4517
|
// Available in 8.6+ only
|
|
4339
4518
|
this.show = device.os === platformNames.visionos;
|
|
4340
4519
|
}
|
|
4341
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4342
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.
|
|
4520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: VisionOSFilterComponent, deps: [{ token: DEVICE }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4521
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.3", type: VisionOSFilterComponent, isStandalone: true, selector: "visionos", ngImport: i0, template: `@if (show) {
|
|
4343
4522
|
<ng-content></ng-content>
|
|
4344
4523
|
}`, isInline: true }); }
|
|
4345
4524
|
}
|
|
4346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: VisionOSFilterComponent, decorators: [{
|
|
4347
4526
|
type: Component,
|
|
4348
4527
|
args: [{
|
|
4349
4528
|
selector: 'visionos',
|
|
@@ -4360,11 +4539,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImpor
|
|
|
4360
4539
|
const CDK_COMPONENTS = [ActionBarComponent, ActionBarScope, ActionItemDirective, NavigationButtonDirective, ListViewComponent, TemplateKeyDirective, TabViewDirective, TabViewItemDirective, AndroidFilterComponent, IOSFilterComponent, AppleFilterComponent, VisionOSFilterComponent];
|
|
4361
4540
|
registerNativeScriptViewComponents();
|
|
4362
4541
|
class NativeScriptCommonModule {
|
|
4363
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4364
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
4365
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
4542
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4543
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptCommonModule, imports: [CommonModule, FramePageModule, ActionBarComponent, ActionBarScope, ActionItemDirective, NavigationButtonDirective, ListViewComponent, TemplateKeyDirective, TabViewDirective, TabViewItemDirective, AndroidFilterComponent, IOSFilterComponent, AppleFilterComponent, VisionOSFilterComponent], exports: [CommonModule, FramePageModule, ActionBarComponent, ActionBarScope, ActionItemDirective, NavigationButtonDirective, ListViewComponent, TemplateKeyDirective, TabViewDirective, TabViewItemDirective, AndroidFilterComponent, IOSFilterComponent, AppleFilterComponent, VisionOSFilterComponent] }); }
|
|
4544
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptCommonModule, providers: [ModalDialogService], imports: [CommonModule, FramePageModule, CommonModule, FramePageModule] }); }
|
|
4366
4545
|
}
|
|
4367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptCommonModule, decorators: [{
|
|
4368
4547
|
type: NgModule,
|
|
4369
4548
|
args: [{
|
|
4370
4549
|
imports: [CommonModule, FramePageModule, ...CDK_COMPONENTS],
|
|
@@ -4409,11 +4588,11 @@ class NativeScriptModule {
|
|
|
4409
4588
|
throw new Error(`NativeScriptModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.`);
|
|
4410
4589
|
}
|
|
4411
4590
|
}
|
|
4412
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4413
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
4414
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
4591
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptModule, deps: [{ token: NativeScriptModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4592
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptModule, imports: [ApplicationModule, DetachedLoader, NativeScriptCommonModule], exports: [ApplicationModule, DetachedLoader, NativeScriptCommonModule] }); }
|
|
4593
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptModule, providers: [...NATIVESCRIPT_MODULE_STATIC_PROVIDERS, ...NATIVESCRIPT_MODULE_PROVIDERS], imports: [ApplicationModule, NativeScriptCommonModule, ApplicationModule, NativeScriptCommonModule] }); }
|
|
4415
4594
|
}
|
|
4416
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptModule, decorators: [{
|
|
4417
4596
|
type: NgModule,
|
|
4418
4597
|
args: [{
|
|
4419
4598
|
imports: [ApplicationModule, DetachedLoader, NativeScriptCommonModule],
|
|
@@ -4611,14 +4790,14 @@ function generateRootLayoutAndProxy() {
|
|
|
4611
4790
|
return viewProxy;
|
|
4612
4791
|
}
|
|
4613
4792
|
class RootCompositeModule {
|
|
4614
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
4615
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
4616
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
4793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: RootCompositeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4794
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: RootCompositeModule }); }
|
|
4795
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: RootCompositeModule, providers: [
|
|
4617
4796
|
{ provide: DISABLE_ROOT_VIEW_HANDLING, useValue: true },
|
|
4618
4797
|
{ provide: APP_ROOT_VIEW, useFactory: generateRootLayoutAndProxy },
|
|
4619
4798
|
] }); }
|
|
4620
4799
|
}
|
|
4621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
4800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: RootCompositeModule, decorators: [{
|
|
4622
4801
|
type: NgModule,
|
|
4623
4802
|
args: [{
|
|
4624
4803
|
providers: [
|
|
@@ -5068,10 +5247,10 @@ class NativeDialog {
|
|
|
5068
5247
|
dialogs[i].close();
|
|
5069
5248
|
}
|
|
5070
5249
|
}
|
|
5071
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5072
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
5250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeDialog, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5251
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeDialog, providedIn: 'root' }); }
|
|
5073
5252
|
}
|
|
5074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeDialog, decorators: [{
|
|
5075
5254
|
type: Injectable,
|
|
5076
5255
|
args: [{
|
|
5077
5256
|
providedIn: 'root',
|
|
@@ -5127,10 +5306,10 @@ class NativeDialogCloseDirective {
|
|
|
5127
5306
|
// the FocusMonitor won't detect any origin change, and will always output `program`.
|
|
5128
5307
|
this.dialogRef.close(this.dialogResult);
|
|
5129
5308
|
}
|
|
5130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5131
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
5309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeDialogCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5310
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: NativeDialogCloseDirective, isStandalone: true, selector: "[native-dialog-close], [nativeDialogClose]", inputs: { dialogResult: ["native-dialog-close", "dialogResult"], _matDialogClose: ["nativeDialogClose", "_matDialogClose"] }, host: { listeners: { "tap": "_onButtonClick()" } }, exportAs: ["nativeDialogClose"], usesOnChanges: true, ngImport: i0 }); }
|
|
5132
5311
|
}
|
|
5133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeDialogCloseDirective, decorators: [{
|
|
5134
5313
|
type: Directive,
|
|
5135
5314
|
args: [{
|
|
5136
5315
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -5162,11 +5341,11 @@ function getClosestDialog(element, openDialogs) {
|
|
|
5162
5341
|
}
|
|
5163
5342
|
|
|
5164
5343
|
class NativeDialogModule {
|
|
5165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5166
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
5167
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
5344
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5345
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: NativeDialogModule, imports: [NativeDialogCloseDirective], exports: [NativeDialogCloseDirective] }); }
|
|
5346
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeDialogModule, providers: [NativeDialog] }); }
|
|
5168
5347
|
}
|
|
5169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeDialogModule, decorators: [{
|
|
5170
5349
|
type: NgModule,
|
|
5171
5350
|
args: [{
|
|
5172
5351
|
imports: [NativeDialogCloseDirective],
|
|
@@ -5187,10 +5366,10 @@ class NSFileSystem {
|
|
|
5187
5366
|
fileExists(path) {
|
|
5188
5367
|
return File.exists(path);
|
|
5189
5368
|
}
|
|
5190
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5191
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
5369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSFileSystem, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5370
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSFileSystem }); }
|
|
5192
5371
|
}
|
|
5193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSFileSystem, decorators: [{
|
|
5194
5373
|
type: Injectable
|
|
5195
5374
|
}] });
|
|
5196
5375
|
|
|
@@ -5315,10 +5494,10 @@ class TextValueAccessor extends BaseValueAccessor {
|
|
|
5315
5494
|
const normalized = super.normalizeValue(value ? `${value}` : value);
|
|
5316
5495
|
this.view.text = normalized;
|
|
5317
5496
|
}
|
|
5318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5319
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
5497
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5498
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: TextValueAccessor, isStandalone: true, selector: "TextField[ngModel],TextField[formControlName],TextField[formControl],textField[ngModel],textField[formControlName],textField[formControl],textfield[ngModel],textfield[formControlName],textfield[formControl],text-field[ngModel],text-field[formControlName],text-field[formControl],TextView[ngModel],TextView[formControlName],TextView[formControl],textView[ngModel],textView[formControlName],textView[formControl],textview[ngModel],textview[formControlName],textview[formControl],text-view[ngModel],text-view[formControlName],text-view[formControl],SearchBar[ngModel],SearchBar[formControlName],SearchBar[formControl],searchBar[ngModel],searchBar[formControlName],searchBar[formControl],searchbar[ngModel],searchbar[formControlName],searchbar[formControl],search-bar[ngModel], search-bar[formControlName],search-bar[formControl]", host: { listeners: { "blur": "onTouched()", "textChange": "onChange($event.value)" } }, providers: [TEXT_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }
|
|
5320
5499
|
}
|
|
5321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
5322
5501
|
type: Directive,
|
|
5323
5502
|
args: [{
|
|
5324
5503
|
selector: 'TextField[ngModel],TextField[formControlName],TextField[formControl],' +
|
|
@@ -5364,10 +5543,10 @@ class CheckedValueAccessor extends BaseValueAccessor {
|
|
|
5364
5543
|
const normalized = super.normalizeValue(value);
|
|
5365
5544
|
this.view.checked = normalized;
|
|
5366
5545
|
}
|
|
5367
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5368
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
5546
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: CheckedValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5547
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: CheckedValueAccessor, isStandalone: true, selector: "Switch[ngModel],Switch[formControlName],Switch[formControl],switch[ngModel],switch[formControlName],switch[formControl]", host: { listeners: { "checkedChange": "onChange($event.value)" } }, providers: [CHECKED_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }
|
|
5369
5548
|
}
|
|
5370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: CheckedValueAccessor, decorators: [{
|
|
5371
5550
|
type: Directive,
|
|
5372
5551
|
args: [{
|
|
5373
5552
|
selector: 'Switch[ngModel],Switch[formControlName],Switch[formControl],' + 'switch[ngModel],switch[formControlName],switch[formControl]',
|
|
@@ -5401,10 +5580,10 @@ class DateValueAccessor extends BaseValueAccessor {
|
|
|
5401
5580
|
const normalized = super.normalizeValue(value);
|
|
5402
5581
|
this.view.date = normalized;
|
|
5403
5582
|
}
|
|
5404
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5405
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
5583
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: DateValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5584
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: DateValueAccessor, isStandalone: true, selector: "DatePicker[ngModel],DatePicker[formControlName],DatePicker[formControl],datepicker[ngModel],datepicker[formControlName],datepicker[formControl],datePicker[ngModel],datePicker[formControlName],datePicker[formControl],date-picker[ngModel],date-picker[formControlName],date-picker[formControl]", host: { listeners: { "dateChange": "onChange($event.value)" } }, providers: [DATE_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }
|
|
5406
5585
|
}
|
|
5407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: DateValueAccessor, decorators: [{
|
|
5408
5587
|
type: Directive,
|
|
5409
5588
|
args: [{
|
|
5410
5589
|
selector: 'DatePicker[ngModel],DatePicker[formControlName],DatePicker[formControl],' + 'datepicker[ngModel],datepicker[formControlName],datepicker[formControl],' + 'datePicker[ngModel],datePicker[formControlName],datePicker[formControl],' + 'date-picker[ngModel],date-picker[formControlName],date-picker[formControl]',
|
|
@@ -5438,10 +5617,10 @@ class TimeValueAccessor extends BaseValueAccessor {
|
|
|
5438
5617
|
const normalized = super.normalizeValue(value);
|
|
5439
5618
|
this.view.time = normalized;
|
|
5440
5619
|
}
|
|
5441
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5442
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
5620
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TimeValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5621
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: TimeValueAccessor, isStandalone: true, selector: "TimePicker[ngModel],TimePicker[formControlName],TimePicker[formControl],timepicker[ngModel],timepicker[formControlName],timepicker[formControl],timePicker[ngModel],timePicker[formControlName],timePicker[formControl],time-picker[ngModel],time-picker[formControlName],time-picker[formControl]", host: { listeners: { "timeChange": "onChange($event.value)" } }, providers: [TIME_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }
|
|
5443
5622
|
}
|
|
5444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: TimeValueAccessor, decorators: [{
|
|
5445
5624
|
type: Directive,
|
|
5446
5625
|
args: [{
|
|
5447
5626
|
selector: 'TimePicker[ngModel],TimePicker[formControlName],TimePicker[formControl],' + 'timepicker[ngModel],timepicker[formControlName],timepicker[formControl],' + 'timePicker[ngModel],timePicker[formControlName],timePicker[formControl],' + 'time-picker[ngModel],time-picker[formControlName],time-picker[formControl]',
|
|
@@ -5475,10 +5654,10 @@ class NumberValueAccessor extends BaseValueAccessor {
|
|
|
5475
5654
|
const normalized = super.normalizeValue(value);
|
|
5476
5655
|
this.view.value = normalized;
|
|
5477
5656
|
}
|
|
5478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5479
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
5657
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NumberValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5658
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: NumberValueAccessor, isStandalone: true, selector: "Slider[ngModel],Slider[formControlName],Slider[formControl],slider[ngModel],slider[formControlName],slider[formControl]", host: { listeners: { "valueChange": "onChange($event.value)" } }, providers: [NUMBER_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }
|
|
5480
5659
|
}
|
|
5481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NumberValueAccessor, decorators: [{
|
|
5482
5661
|
type: Directive,
|
|
5483
5662
|
args: [{
|
|
5484
5663
|
selector: 'Slider[ngModel],Slider[formControlName],Slider[formControl],' + 'slider[ngModel],slider[formControlName],slider[formControl]',
|
|
@@ -5519,10 +5698,10 @@ class SelectedIndexValueAccessor extends BaseValueAccessor {
|
|
|
5519
5698
|
this.viewInitialized = true;
|
|
5520
5699
|
this.view.selectedIndex = this.value;
|
|
5521
5700
|
}
|
|
5522
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5523
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
5701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: SelectedIndexValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5702
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: SelectedIndexValueAccessor, isStandalone: true, selector: "SegmentedBar[ngModel],SegmentedBar[formControlName],SegmentedBar[formControl],segmentedBar[ngModel],segmentedBar[formControlName],segmentedBar[formControl],segmentedbar[ngModel],segmentedbar[formControlName],segmentedbar[formControl],segmented-bar[ngModel],segmented-bar[formControlName],segmented-bar[formControl],ListPicker[ngModel],ListPicker[formControlName],ListPicker[formControl],listPicker[ngModel],listPicker[formControlName],listPicker[formControl],listpicker[ngModel],listpicker[formControlName],listpicker[formControl],list-picker[ngModel],list-picker[formControlName],list-picker[formControl],TabView[ngModel],TabView[formControlName],TabView[formControl],tabView[ngModel],tabView[formControlName],tabView[formControl],tabview[ngModel],tabview[formControlName],tabview[formControl],tab-view[ngModel],tab-view[formControlName],tab-view[formControl]", host: { listeners: { "selectedIndexChange": "onChange($event.value)" } }, providers: [SELECTED_INDEX_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }
|
|
5524
5703
|
}
|
|
5525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: SelectedIndexValueAccessor, decorators: [{
|
|
5526
5705
|
type: Directive,
|
|
5527
5706
|
args: [{
|
|
5528
5707
|
selector: 'SegmentedBar[ngModel],SegmentedBar[formControlName],SegmentedBar[formControl],' +
|
|
@@ -5545,11 +5724,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImpor
|
|
|
5545
5724
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
5546
5725
|
|
|
5547
5726
|
class NativeScriptFormsModule {
|
|
5548
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5549
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
5550
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
5727
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5728
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptFormsModule, imports: [FormsModule, TextValueAccessor, CheckedValueAccessor, DateValueAccessor, TimeValueAccessor, SelectedIndexValueAccessor, NumberValueAccessor], exports: [FormsModule, TextValueAccessor, CheckedValueAccessor, DateValueAccessor, TimeValueAccessor, SelectedIndexValueAccessor, NumberValueAccessor] }); }
|
|
5729
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptFormsModule, imports: [FormsModule, FormsModule] }); }
|
|
5551
5730
|
}
|
|
5552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptFormsModule, decorators: [{
|
|
5553
5732
|
type: NgModule,
|
|
5554
5733
|
args: [{
|
|
5555
5734
|
providers: [],
|
|
@@ -5804,10 +5983,10 @@ class InjectableAnimationEngine extends _AnimationEngine {
|
|
|
5804
5983
|
constructor(doc, driver, normalizer) {
|
|
5805
5984
|
super(doc, driver, normalizer);
|
|
5806
5985
|
}
|
|
5807
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5808
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
5986
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: InjectableAnimationEngine, deps: [{ token: DOCUMENT }, { token: i1$1.AnimationDriver }, { token: i1$1.ɵAnimationStyleNormalizer }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5987
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: InjectableAnimationEngine }); }
|
|
5809
5988
|
}
|
|
5810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
5989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
|
|
5811
5990
|
type: Injectable
|
|
5812
5991
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
5813
5992
|
type: Inject,
|
|
@@ -5828,9 +6007,9 @@ class NativeScriptAnimationsModule {
|
|
|
5828
6007
|
// Prevents NativeScriptAnimationsModule from getting imported multiple times
|
|
5829
6008
|
throwIfAlreadyLoaded(parentModule, 'NativeScriptAnimationsModule');
|
|
5830
6009
|
}
|
|
5831
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5832
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
5833
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
6010
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptAnimationsModule, deps: [{ token: NativeScriptAnimationsModule, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6011
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptAnimationsModule, imports: [NativeScriptCommonModule] }); }
|
|
6012
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptAnimationsModule, providers: [
|
|
5834
6013
|
{
|
|
5835
6014
|
provide: AnimationDriver,
|
|
5836
6015
|
useFactory: instantiateSupportedAnimationDriver,
|
|
@@ -5848,7 +6027,7 @@ class NativeScriptAnimationsModule {
|
|
|
5848
6027
|
},
|
|
5849
6028
|
], imports: [NativeScriptCommonModule] }); }
|
|
5850
6029
|
}
|
|
5851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
6030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptAnimationsModule, decorators: [{
|
|
5852
6031
|
type: NgModule,
|
|
5853
6032
|
args: [{
|
|
5854
6033
|
imports: [NativeScriptCommonModule],
|
|
@@ -5930,10 +6109,10 @@ class NsHttpBackEnd extends HttpXhrBackend {
|
|
|
5930
6109
|
handleLocalFileRequest(url) {
|
|
5931
6110
|
return processLocalFileRequest(url, this.nsFileSystem, createSuccessResponse, createErrorResponse);
|
|
5932
6111
|
}
|
|
5933
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5934
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
6112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NsHttpBackEnd, deps: [{ token: i1$2.XhrFactory }, { token: NSFileSystem }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6113
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NsHttpBackEnd }); }
|
|
5935
6114
|
}
|
|
5936
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
6115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NsHttpBackEnd, decorators: [{
|
|
5937
6116
|
type: Injectable
|
|
5938
6117
|
}], ctorParameters: () => [{ type: i1$2.XhrFactory }, { type: NSFileSystem }] });
|
|
5939
6118
|
function createSuccessResponse(url, body, status) {
|
|
@@ -5962,11 +6141,11 @@ function provideNativeScriptHttpClient(...features) {
|
|
|
5962
6141
|
]);
|
|
5963
6142
|
}
|
|
5964
6143
|
class NativeScriptHttpClientModule {
|
|
5965
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
5966
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
5967
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
6144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptHttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6145
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptHttpClientModule }); }
|
|
6146
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptHttpClientModule, providers: [provideNativeScriptHttpClient(withInterceptorsFromDi())] }); }
|
|
5968
6147
|
}
|
|
5969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
6148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptHttpClientModule, decorators: [{
|
|
5970
6149
|
type: NgModule,
|
|
5971
6150
|
args: [{
|
|
5972
6151
|
providers: [provideNativeScriptHttpClient(withInterceptorsFromDi())],
|
|
@@ -6270,10 +6449,10 @@ class NSRouteReuseStrategy {
|
|
|
6270
6449
|
cache.clearModalCache();
|
|
6271
6450
|
}
|
|
6272
6451
|
}
|
|
6273
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
6274
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
6452
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSRouteReuseStrategy, deps: [{ token: NSLocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6453
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSRouteReuseStrategy }); }
|
|
6275
6454
|
}
|
|
6276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
6455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSRouteReuseStrategy, decorators: [{
|
|
6277
6456
|
type: Injectable
|
|
6278
6457
|
}], ctorParameters: () => [{ type: NSLocationStrategy }] });
|
|
6279
6458
|
|
|
@@ -6386,10 +6565,10 @@ class RouterExtensions {
|
|
|
6386
6565
|
const outlet = this.locationStrategy.findOutlet(outletKey, currentRouteSnapshop);
|
|
6387
6566
|
return outlet;
|
|
6388
6567
|
}
|
|
6389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
6390
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
6568
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: RouterExtensions, deps: [{ token: i1$3.Router }, { token: NSLocationStrategy }, { token: FrameService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6569
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: RouterExtensions, providedIn: 'root' }); }
|
|
6391
6570
|
}
|
|
6392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
6571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: RouterExtensions, decorators: [{
|
|
6393
6572
|
type: Injectable,
|
|
6394
6573
|
args: [{
|
|
6395
6574
|
providedIn: 'root',
|
|
@@ -6514,10 +6693,10 @@ class NSRouterLink {
|
|
|
6514
6693
|
}
|
|
6515
6694
|
return { animated, transition };
|
|
6516
6695
|
}
|
|
6517
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
6518
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
6696
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSRouterLink, deps: [{ token: i0.NgZone }, { token: i1$3.Router }, { token: RouterExtensions }, { token: i1$3.ActivatedRoute }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6697
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: NSRouterLink, isStandalone: true, selector: "[nsRouterLink]", inputs: { target: "target", queryParams: "queryParams", fragment: "fragment", queryParamsHandling: "queryParamsHandling", preserveQueryParams: "preserveQueryParams", preserveFragment: "preserveFragment", skipLocationChange: "skipLocationChange", replaceUrl: "replaceUrl", clearHistory: "clearHistory", pageTransition: "pageTransition", pageTransitionDuration: "pageTransitionDuration", params: ["nsRouterLink", "params"] }, ngImport: i0 }); }
|
|
6519
6698
|
}
|
|
6520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
6699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSRouterLink, decorators: [{
|
|
6521
6700
|
type: Directive,
|
|
6522
6701
|
args: [{
|
|
6523
6702
|
selector: '[nsRouterLink]',
|
|
@@ -6740,10 +6919,10 @@ class NSRouterLinkActive {
|
|
|
6740
6919
|
hasActiveLinks() {
|
|
6741
6920
|
return this.links.some(this.isLinkActive(this.router));
|
|
6742
6921
|
}
|
|
6743
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
6744
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
6922
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSRouterLinkActive, deps: [{ token: i1$3.Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6923
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: NSRouterLinkActive, isStandalone: true, selector: "[nsRouterLinkActive]", inputs: { nsRouterLinkActiveOptions: "nsRouterLinkActiveOptions", nsRouterLinkActive: "nsRouterLinkActive" }, queries: [{ propertyName: "links", predicate: NSRouterLink }], exportAs: ["routerLinkActive"], usesOnChanges: true, ngImport: i0 }); }
|
|
6745
6924
|
}
|
|
6746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
6925
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSRouterLinkActive, decorators: [{
|
|
6747
6926
|
type: Directive,
|
|
6748
6927
|
args: [{
|
|
6749
6928
|
selector: '[nsRouterLinkActive]',
|
|
@@ -7198,8 +7377,8 @@ class PageRouterOutlet {
|
|
|
7198
7377
|
}
|
|
7199
7378
|
return outlet;
|
|
7200
7379
|
}
|
|
7201
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
7202
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
7380
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PageRouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7381
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: PageRouterOutlet, isStandalone: true, selector: "page-router-outlet", outputs: { activateEvents: "activate", deactivateEvents: "deactivate" }, ngImport: i0 }); }
|
|
7203
7382
|
}
|
|
7204
7383
|
__decorate([
|
|
7205
7384
|
profile,
|
|
@@ -7213,7 +7392,7 @@ __decorate([
|
|
|
7213
7392
|
__metadata("design:paramtypes", [Page, ComponentRef, Object]),
|
|
7214
7393
|
__metadata("design:returntype", void 0)
|
|
7215
7394
|
], PageRouterOutlet.prototype, "loadComponentInPage", null);
|
|
7216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
7395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: PageRouterOutlet, decorators: [{
|
|
7217
7396
|
type: Directive,
|
|
7218
7397
|
args: [{
|
|
7219
7398
|
selector: 'page-router-outlet',
|
|
@@ -7276,10 +7455,10 @@ class NativescriptPlatformLocation extends PlatformLocation {
|
|
|
7276
7455
|
back() {
|
|
7277
7456
|
this.locationStrategy.back();
|
|
7278
7457
|
}
|
|
7279
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
7280
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.
|
|
7458
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativescriptPlatformLocation, deps: [{ token: NSLocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7459
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativescriptPlatformLocation }); }
|
|
7281
7460
|
}
|
|
7282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
7461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativescriptPlatformLocation, decorators: [{
|
|
7283
7462
|
type: Injectable
|
|
7284
7463
|
}], ctorParameters: () => [{ type: NSLocationStrategy }] });
|
|
7285
7464
|
|
|
@@ -7295,10 +7474,10 @@ class NSEmptyOutletComponent {
|
|
|
7295
7474
|
});
|
|
7296
7475
|
}
|
|
7297
7476
|
}
|
|
7298
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
7299
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.
|
|
7477
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSEmptyOutletComponent, deps: [{ token: i1.Page }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7478
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.3", type: NSEmptyOutletComponent, isStandalone: true, selector: "ns-empty-outlet", viewQueries: [{ propertyName: "pageRouterOutlet", first: true, predicate: PageRouterOutlet, descendants: true, read: PageRouterOutlet }], ngImport: i0, template: "<page-router-outlet isEmptyOutlet='true'></page-router-outlet>", isInline: true, dependencies: [{ kind: "directive", type: PageRouterOutlet, selector: "page-router-outlet", outputs: ["activate", "deactivate"] }] }); }
|
|
7300
7479
|
}
|
|
7301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
7480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NSEmptyOutletComponent, decorators: [{
|
|
7302
7481
|
type: Component,
|
|
7303
7482
|
args: [{
|
|
7304
7483
|
// tslint:disable-next-line:component-selector
|
|
@@ -7338,11 +7517,11 @@ class NativeScriptRouterModule {
|
|
|
7338
7517
|
static forChild(routes) {
|
|
7339
7518
|
return { ngModule: NativeScriptRouterModule, providers: RouterModule.forChild(routes).providers };
|
|
7340
7519
|
}
|
|
7341
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
7342
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.
|
|
7343
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.
|
|
7520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7521
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptRouterModule, imports: [RouterModule, NativeScriptCommonModule, NSRouterLink, NSRouterLinkActive, PageRouterOutlet, NSEmptyOutletComponent], exports: [RouterModule, NSRouterLink, NSRouterLinkActive, PageRouterOutlet, NSEmptyOutletComponent] }); }
|
|
7522
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptRouterModule, imports: [RouterModule, NativeScriptCommonModule, RouterModule] }); }
|
|
7344
7523
|
}
|
|
7345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
7524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: NativeScriptRouterModule, decorators: [{
|
|
7346
7525
|
type: NgModule,
|
|
7347
7526
|
args: [{
|
|
7348
7527
|
imports: [RouterModule, NativeScriptCommonModule, ...ROUTER_COMPONENTS],
|