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