@nativescript/angular 20.0.1-rc.0 → 20.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/nativescript-angular-polyfills.mjs +2 -2
- package/fesm2022/nativescript-angular-polyfills.mjs.map +1 -1
- package/fesm2022/nativescript-angular-testing.mjs +7 -7
- package/fesm2022/nativescript-angular.mjs +392 -226
- package/fesm2022/nativescript-angular.mjs.map +1 -1
- package/index.d.ts +51 -27
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i1 from '@nativescript/core';
|
|
2
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';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, Inject, ComponentRef, Injectable, PlatformRef, NgModuleRef, ApplicationRef, NgZone, inject, Injector, ViewEncapsulation, runInInjectionContext, ElementRef, Directive, EventEmitter, Output, NgModule, Optional, ComponentFactoryResolver, ViewContainerRef, ViewChild, NO_ERRORS_SCHEMA, Component, Input, IterableDiffers,
|
|
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';
|
|
6
6
|
import * as i1$2 from '@angular/common';
|
|
7
7
|
import { XhrFactory, LocationStrategy, CommonModule, ɵNullViewportScroller as _NullViewportScroller, ViewportScroller, PlatformLocation, DOCUMENT } from '@angular/common';
|
|
@@ -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
|
|
|
@@ -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: "20.0.
|
|
1447
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
1446
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptRendererHelperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1447
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptRendererHelperService, providedIn: 'root' }); }
|
|
1448
1448
|
}
|
|
1449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
1449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", 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: "20.0.
|
|
1885
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
1884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: EmulatedRenderer, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1885
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", 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: "20.0.
|
|
1895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", 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: "20.0.
|
|
2137
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
2136
|
+
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 }); }
|
|
2137
|
+
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
2138
|
}
|
|
2139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", 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: "20.0.
|
|
2271
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
2270
|
+
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 }); }
|
|
2271
|
+
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
2272
|
}
|
|
2273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", 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: "20.0.3", ngImpor
|
|
|
2283
2283
|
type: Output
|
|
2284
2284
|
}] } });
|
|
2285
2285
|
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.
|
|
2286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PortalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2287
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: PortalModule, imports: [CdkPortal, CdkPortalOutlet], exports: [CdkPortal, CdkPortalOutlet] }); }
|
|
2288
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PortalModule }); }
|
|
2289
2289
|
}
|
|
2290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PortalModule, decorators: [{
|
|
2291
2291
|
type: NgModule,
|
|
2292
2292
|
args: [{
|
|
2293
2293
|
imports: [CdkPortal, CdkPortalOutlet],
|
|
@@ -2440,13 +2440,13 @@ registerElement('DetachedContainer', () => ProxyViewContainer, {
|
|
|
2440
2440
|
*/
|
|
2441
2441
|
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
2442
2442
|
class DetachedLoader {
|
|
2443
|
-
|
|
2444
|
-
constructor(resolver, changeDetector, containerRef, appRef) {
|
|
2445
|
-
this.resolver = resolver;
|
|
2446
|
-
this.changeDetector = changeDetector;
|
|
2447
|
-
this.containerRef = containerRef;
|
|
2448
|
-
this.appRef = appRef;
|
|
2443
|
+
constructor() {
|
|
2449
2444
|
this.disposeFunctions = [];
|
|
2445
|
+
// tslint:disable-line:component-class-suffix
|
|
2446
|
+
this.resolver = inject(ComponentFactoryResolver);
|
|
2447
|
+
this.changeDetector = inject(ChangeDetectorRef);
|
|
2448
|
+
this.containerRef = inject(ViewContainerRef);
|
|
2449
|
+
this.appRef = inject(ApplicationRef);
|
|
2450
2450
|
}
|
|
2451
2451
|
createComponentPortal(componentType, customInjector) {
|
|
2452
2452
|
return new ComponentPortal(componentType, this.vc, customInjector || this.vc.injector);
|
|
@@ -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: "20.0.
|
|
2521
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.
|
|
2520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DetachedLoader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2521
|
+
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
2522
|
<ng-container #vc></ng-container>
|
|
2523
2523
|
<ng-content></ng-content>`, isInline: true }); }
|
|
2524
2524
|
}
|
|
2525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DetachedLoader, decorators: [{
|
|
2526
2526
|
type: Component,
|
|
2527
2527
|
args: [{
|
|
2528
2528
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -2533,7 +2533,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImpor
|
|
|
2533
2533
|
standalone: true,
|
|
2534
2534
|
schemas: [NO_ERRORS_SCHEMA],
|
|
2535
2535
|
}]
|
|
2536
|
-
}],
|
|
2536
|
+
}], propDecorators: { vc: [{
|
|
2537
2537
|
type: ViewChild,
|
|
2538
2538
|
args: ['vc', { read: ViewContainerRef, static: true }]
|
|
2539
2539
|
}] } });
|
|
@@ -2593,10 +2593,10 @@ class PageService {
|
|
|
2593
2593
|
default:
|
|
2594
2594
|
}
|
|
2595
2595
|
}
|
|
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.
|
|
2596
|
+
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 }); }
|
|
2597
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PageService }); }
|
|
2598
2598
|
}
|
|
2599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", 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: "20.0.
|
|
2645
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.
|
|
2644
|
+
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 }); }
|
|
2645
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", 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: "20.0.
|
|
2659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", 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: "20.0.
|
|
2692
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
2691
|
+
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 }); }
|
|
2692
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", 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: "20.0.
|
|
2700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", 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: "20.0.
|
|
2724
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
2723
|
+
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 }); }
|
|
2724
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", 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: "20.0.
|
|
2733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", 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: "20.0.3", ngImpor
|
|
|
2748
2748
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
2749
2749
|
|
|
2750
2750
|
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.
|
|
2751
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FramePageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2752
|
+
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] }); }
|
|
2753
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FramePageModule }); }
|
|
2754
2754
|
}
|
|
2755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FramePageModule, decorators: [{
|
|
2756
2756
|
type: NgModule,
|
|
2757
2757
|
args: [{
|
|
2758
2758
|
imports: [FrameDirective, PageDirective, FramePageComponent],
|
|
@@ -2832,9 +2832,9 @@ const appendActionItem = (bar, item) => {
|
|
|
2832
2832
|
bar.actionItems.addItem(item);
|
|
2833
2833
|
};
|
|
2834
2834
|
class ActionBarComponent {
|
|
2835
|
-
constructor(
|
|
2836
|
-
this.element =
|
|
2837
|
-
this.page =
|
|
2835
|
+
constructor() {
|
|
2836
|
+
this.element = inject(ElementRef);
|
|
2837
|
+
this.page = inject(Page, { optional: true });
|
|
2838
2838
|
if (!this.page) {
|
|
2839
2839
|
throw new Error('No Page found in ActionBarComponent.\n' + 'Only a Page can contain an ActionBar, so please ensure ActionBar is only used inside a Component that is routed via page-router-outlet or is contained in a Page.\n' + 'Example for root action bars in AppComponent: <Frame><Page><ActionBar>....</ActionBar></Page></Frame>');
|
|
2840
2840
|
}
|
|
@@ -2844,24 +2844,20 @@ 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: "20.0.
|
|
2848
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.
|
|
2847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: ActionBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2848
|
+
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
2849
|
}
|
|
2850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: ActionBarComponent, decorators: [{
|
|
2851
2851
|
type: Component,
|
|
2852
2852
|
args: [{
|
|
2853
2853
|
selector: 'ActionBar',
|
|
2854
2854
|
template: '<ng-content></ng-content>',
|
|
2855
2855
|
standalone: true,
|
|
2856
2856
|
}]
|
|
2857
|
-
}], ctorParameters: () => [
|
|
2858
|
-
type: Optional
|
|
2859
|
-
}] }] });
|
|
2860
|
-
// eslint-disable-next-line @angular-eslint/component-class-suffix
|
|
2857
|
+
}], ctorParameters: () => [] });
|
|
2861
2858
|
class ActionBarScope {
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
this.page = page;
|
|
2859
|
+
constructor() {
|
|
2860
|
+
this.page = inject(Page, { optional: true });
|
|
2865
2861
|
if (!this.page) {
|
|
2866
2862
|
throw new Error('Inside ActionBarExtension but no ActionBar found to extend.');
|
|
2867
2863
|
}
|
|
@@ -2883,23 +2879,21 @@ class ActionBarScope {
|
|
|
2883
2879
|
this.page.actionBar.actionItems.removeItem(item.element.nativeElement);
|
|
2884
2880
|
}
|
|
2885
2881
|
}
|
|
2886
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
2887
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.
|
|
2882
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: ActionBarScope, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2883
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: ActionBarScope, isStandalone: true, selector: "ActionBarExtension", ngImport: i0, template: '', isInline: true }); }
|
|
2888
2884
|
}
|
|
2889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: ActionBarScope, decorators: [{
|
|
2890
2886
|
type: Component,
|
|
2891
2887
|
args: [{
|
|
2892
2888
|
selector: 'ActionBarExtension',
|
|
2893
2889
|
template: '',
|
|
2894
2890
|
standalone: true,
|
|
2895
2891
|
}]
|
|
2896
|
-
}], ctorParameters: () => [
|
|
2897
|
-
type: Optional
|
|
2898
|
-
}] }] });
|
|
2892
|
+
}], ctorParameters: () => [] });
|
|
2899
2893
|
class ActionItemDirective {
|
|
2900
|
-
constructor(
|
|
2901
|
-
this.element =
|
|
2902
|
-
this.ownerScope =
|
|
2894
|
+
constructor() {
|
|
2895
|
+
this.element = inject(ElementRef);
|
|
2896
|
+
this.ownerScope = inject(ActionBarScope, { optional: true });
|
|
2903
2897
|
if (this.ownerScope) {
|
|
2904
2898
|
this.ownerScope.onActionInit(this);
|
|
2905
2899
|
}
|
|
@@ -2909,22 +2903,20 @@ class ActionItemDirective {
|
|
|
2909
2903
|
this.ownerScope.onActionDestroy(this);
|
|
2910
2904
|
}
|
|
2911
2905
|
}
|
|
2912
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
2913
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
2906
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: ActionItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2907
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: ActionItemDirective, isStandalone: true, selector: "ActionItem", ngImport: i0 }); }
|
|
2914
2908
|
}
|
|
2915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: ActionItemDirective, decorators: [{
|
|
2916
2910
|
type: Directive,
|
|
2917
2911
|
args: [{
|
|
2918
|
-
selector: 'ActionItem',
|
|
2912
|
+
selector: 'ActionItem',
|
|
2919
2913
|
standalone: true,
|
|
2920
2914
|
}]
|
|
2921
|
-
}], ctorParameters: () => [
|
|
2922
|
-
type: Optional
|
|
2923
|
-
}] }] });
|
|
2915
|
+
}], ctorParameters: () => [] });
|
|
2924
2916
|
class NavigationButtonDirective {
|
|
2925
|
-
constructor(
|
|
2926
|
-
this.element =
|
|
2927
|
-
this.ownerScope =
|
|
2917
|
+
constructor() {
|
|
2918
|
+
this.element = inject(ElementRef);
|
|
2919
|
+
this.ownerScope = inject(ActionBarScope, { optional: true });
|
|
2928
2920
|
if (this.ownerScope) {
|
|
2929
2921
|
this.ownerScope.onNavButtonInit(this);
|
|
2930
2922
|
}
|
|
@@ -2934,18 +2926,16 @@ class NavigationButtonDirective {
|
|
|
2934
2926
|
this.ownerScope.onNavButtonDestroy(this);
|
|
2935
2927
|
}
|
|
2936
2928
|
}
|
|
2937
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
2938
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
2929
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NavigationButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2930
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: NavigationButtonDirective, isStandalone: true, selector: "NavigationButton", ngImport: i0 }); }
|
|
2939
2931
|
}
|
|
2940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
2932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NavigationButtonDirective, decorators: [{
|
|
2941
2933
|
type: Directive,
|
|
2942
2934
|
args: [{
|
|
2943
|
-
selector: 'NavigationButton',
|
|
2935
|
+
selector: 'NavigationButton',
|
|
2944
2936
|
standalone: true,
|
|
2945
2937
|
}]
|
|
2946
|
-
}], ctorParameters: () => [
|
|
2947
|
-
type: Optional
|
|
2948
|
-
}] }] });
|
|
2938
|
+
}], ctorParameters: () => [] });
|
|
2949
2939
|
|
|
2950
2940
|
/**
|
|
2951
2941
|
* Utility method to ensure a NgModule is only imported once in a codebase, otherwise will throw to help prevent accidental double importing
|
|
@@ -3055,6 +3045,69 @@ class ListViewComponent {
|
|
|
3055
3045
|
get nativeElement() {
|
|
3056
3046
|
return this.templatedItemsView;
|
|
3057
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
|
+
}
|
|
3058
3111
|
get items() {
|
|
3059
3112
|
return this._items;
|
|
3060
3113
|
}
|
|
@@ -3089,6 +3142,18 @@ class ListViewComponent {
|
|
|
3089
3142
|
NativeScriptDebug.listViewLog('TemplatedItemsView.ngAfterContentInit()');
|
|
3090
3143
|
}
|
|
3091
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
|
+
}
|
|
3092
3157
|
}
|
|
3093
3158
|
ngOnDestroy() {
|
|
3094
3159
|
this.templatedItemsView = null;
|
|
@@ -3137,7 +3202,27 @@ class ListViewComponent {
|
|
|
3137
3202
|
const index = args.index;
|
|
3138
3203
|
const lview = args.object;
|
|
3139
3204
|
const items = lview.items;
|
|
3140
|
-
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
|
+
}
|
|
3141
3226
|
let template;
|
|
3142
3227
|
if (args.view) {
|
|
3143
3228
|
if (NativeScriptDebug.isLogEnabled()) {
|
|
@@ -3148,18 +3233,18 @@ class ListViewComponent {
|
|
|
3148
3233
|
templateKey = this._viewToTemplate.get(args.view.getChildAt(0));
|
|
3149
3234
|
}
|
|
3150
3235
|
if (!templateKey) {
|
|
3151
|
-
// this template was not created by us
|
|
3152
3236
|
if (NativeScriptDebug.isLogEnabled()) {
|
|
3153
3237
|
NativeScriptDebug.listViewError(`ViewReference not found for item ${index}. View recycling is not working`);
|
|
3154
3238
|
}
|
|
3155
3239
|
return;
|
|
3156
3240
|
}
|
|
3157
3241
|
template = this._templateMap.get(templateKey);
|
|
3158
|
-
template.update(args.view, { index, data: currentItem });
|
|
3242
|
+
template.update(args.view, { index: absoluteIndex, data: currentItem });
|
|
3159
3243
|
}
|
|
3160
3244
|
else {
|
|
3161
|
-
|
|
3162
|
-
|
|
3245
|
+
const templateKey = typeof lview.itemTemplateSelector === 'function'
|
|
3246
|
+
? lview.itemTemplateSelector(currentItem, absoluteIndex, items)
|
|
3247
|
+
: 'default';
|
|
3163
3248
|
template = this._templateMap.get(templateKey);
|
|
3164
3249
|
if (!template) {
|
|
3165
3250
|
if (NativeScriptDebug.isLogEnabled()) {
|
|
@@ -3167,12 +3252,79 @@ class ListViewComponent {
|
|
|
3167
3252
|
}
|
|
3168
3253
|
return;
|
|
3169
3254
|
}
|
|
3170
|
-
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);
|
|
3171
3261
|
}
|
|
3172
|
-
this.setupViewRef(template.getEmbeddedViewRef(args.view), currentItem, index, args.view);
|
|
3173
|
-
template.attach(args.view);
|
|
3174
3262
|
this._changeDetectorRef.detectChanges();
|
|
3175
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
|
+
}
|
|
3176
3328
|
setupViewRef(viewRef, data, index, nativeElement) {
|
|
3177
3329
|
const context = viewRef.context;
|
|
3178
3330
|
this.setupItemView.next({ view: viewRef, nativeElement, data: data, index: index, context: context });
|
|
@@ -3191,8 +3343,8 @@ class ListViewComponent {
|
|
|
3191
3343
|
}
|
|
3192
3344
|
}
|
|
3193
3345
|
}
|
|
3194
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
3195
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.
|
|
3346
|
+
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 }); }
|
|
3347
|
+
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>
|
|
3196
3348
|
<ng-container #loader></ng-container>
|
|
3197
3349
|
</DetachedContainer>`, isInline: true, dependencies: [{ kind: "component", type: DetachedLoader, selector: "DetachedContainer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3198
3350
|
}
|
|
@@ -3202,7 +3354,7 @@ __decorate([
|
|
|
3202
3354
|
__metadata("design:paramtypes", [Object]),
|
|
3203
3355
|
__metadata("design:returntype", void 0)
|
|
3204
3356
|
], ListViewComponent.prototype, "onItemLoading", null);
|
|
3205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
3357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: ListViewComponent, decorators: [{
|
|
3206
3358
|
type: Component,
|
|
3207
3359
|
args: [{
|
|
3208
3360
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -3222,6 +3374,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImpor
|
|
|
3222
3374
|
}], itemTemplateQuery: [{
|
|
3223
3375
|
type: ContentChild,
|
|
3224
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
|
|
3225
3394
|
}], items: [{
|
|
3226
3395
|
type: Input
|
|
3227
3396
|
}], onItemLoading: [{
|
|
@@ -3249,10 +3418,10 @@ class TemplateKeyDirective {
|
|
|
3249
3418
|
values.forEach((value) => this.comp.registerTemplate(value, this.templateRef));
|
|
3250
3419
|
}
|
|
3251
3420
|
}
|
|
3252
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
3253
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
3421
|
+
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 }); }
|
|
3422
|
+
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 }); }
|
|
3254
3423
|
}
|
|
3255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
3424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: TemplateKeyDirective, decorators: [{
|
|
3256
3425
|
type: Directive,
|
|
3257
3426
|
args: [{
|
|
3258
3427
|
selector: '[nsTemplateKey],[nsTemplateKeys]',
|
|
@@ -3274,10 +3443,10 @@ class FrameService {
|
|
|
3274
3443
|
getFrame() {
|
|
3275
3444
|
return Frame.topmost();
|
|
3276
3445
|
}
|
|
3277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
3278
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
3446
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FrameService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3447
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FrameService, providedIn: 'root' }); }
|
|
3279
3448
|
}
|
|
3280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
3449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FrameService, decorators: [{
|
|
3281
3450
|
type: Injectable,
|
|
3282
3451
|
args: [{
|
|
3283
3452
|
providedIn: 'root',
|
|
@@ -3920,10 +4089,10 @@ class NSLocationStrategy extends LocationStrategy {
|
|
|
3920
4089
|
this.outlets = [];
|
|
3921
4090
|
this.currentOutlet = null;
|
|
3922
4091
|
}
|
|
3923
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
3924
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
4092
|
+
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 }); }
|
|
4093
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSLocationStrategy, providedIn: 'root' }); }
|
|
3925
4094
|
}
|
|
3926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSLocationStrategy, decorators: [{
|
|
3927
4096
|
type: Injectable,
|
|
3928
4097
|
args: [{
|
|
3929
4098
|
providedIn: 'root',
|
|
@@ -4067,10 +4236,10 @@ class ModalDialogService {
|
|
|
4067
4236
|
options.parentView.showModal(componentViewRef.firstNativeLikeView, { ...options, closeCallback });
|
|
4068
4237
|
});
|
|
4069
4238
|
}
|
|
4070
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4071
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
4239
|
+
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 }); }
|
|
4240
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: ModalDialogService }); }
|
|
4072
4241
|
}
|
|
4073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: ModalDialogService, decorators: [{
|
|
4074
4243
|
type: Injectable
|
|
4075
4244
|
}], ctorParameters: () => [{ type: NSLocationStrategy }, { type: i0.NgZone }, { type: i0.ApplicationRef }, { type: i0.Injector }] });
|
|
4076
4245
|
|
|
@@ -4176,10 +4345,10 @@ class TabViewDirective {
|
|
|
4176
4345
|
this.tabView.selectedIndex = this._selectedIndex;
|
|
4177
4346
|
}
|
|
4178
4347
|
}
|
|
4179
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4180
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
4348
|
+
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 }); }
|
|
4349
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.7", type: TabViewDirective, isStandalone: true, selector: "TabView", inputs: { selectedIndex: "selectedIndex" }, ngImport: i0 }); }
|
|
4181
4350
|
}
|
|
4182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: TabViewDirective, decorators: [{
|
|
4183
4352
|
type: Directive,
|
|
4184
4353
|
args: [{
|
|
4185
4354
|
selector: 'TabView', // eslint-disable-line @angular-eslint/directive-selector
|
|
@@ -4252,10 +4421,10 @@ class TabViewItemDirective {
|
|
|
4252
4421
|
this.owner.tabView.items = newItems;
|
|
4253
4422
|
}
|
|
4254
4423
|
}
|
|
4255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4256
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
4424
|
+
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 }); }
|
|
4425
|
+
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 }); }
|
|
4257
4426
|
}
|
|
4258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: TabViewItemDirective, decorators: [{
|
|
4259
4428
|
type: Directive,
|
|
4260
4429
|
args: [{
|
|
4261
4430
|
selector: '[tabItem]', // eslint-disable-line @angular-eslint/directive-selector
|
|
@@ -4277,12 +4446,12 @@ class AndroidFilterComponent {
|
|
|
4277
4446
|
constructor(device) {
|
|
4278
4447
|
this.show = device.os === platformNames.android;
|
|
4279
4448
|
}
|
|
4280
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4281
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.
|
|
4449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AndroidFilterComponent, deps: [{ token: DEVICE }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4450
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.7", type: AndroidFilterComponent, isStandalone: true, selector: "android", ngImport: i0, template: `@if (show) {
|
|
4282
4451
|
<ng-content></ng-content>
|
|
4283
4452
|
}`, isInline: true }); }
|
|
4284
4453
|
}
|
|
4285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AndroidFilterComponent, decorators: [{
|
|
4286
4455
|
type: Component,
|
|
4287
4456
|
args: [{
|
|
4288
4457
|
selector: 'android',
|
|
@@ -4301,12 +4470,12 @@ class IOSFilterComponent {
|
|
|
4301
4470
|
constructor(device) {
|
|
4302
4471
|
this.show = device.os === platformNames.ios;
|
|
4303
4472
|
}
|
|
4304
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4305
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.
|
|
4473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: IOSFilterComponent, deps: [{ token: DEVICE }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4474
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.7", type: IOSFilterComponent, isStandalone: true, selector: "ios", ngImport: i0, template: `@if (show) {
|
|
4306
4475
|
<ng-content></ng-content>
|
|
4307
4476
|
}`, isInline: true }); }
|
|
4308
4477
|
}
|
|
4309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: IOSFilterComponent, decorators: [{
|
|
4310
4479
|
type: Component,
|
|
4311
4480
|
args: [{
|
|
4312
4481
|
selector: 'ios',
|
|
@@ -4325,12 +4494,12 @@ class AppleFilterComponent {
|
|
|
4325
4494
|
constructor() {
|
|
4326
4495
|
this.show = __APPLE__;
|
|
4327
4496
|
}
|
|
4328
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4329
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.
|
|
4497
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AppleFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4498
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.7", type: AppleFilterComponent, isStandalone: true, selector: "apple", ngImport: i0, template: `@if (show) {
|
|
4330
4499
|
<ng-content></ng-content>
|
|
4331
4500
|
}`, isInline: true }); }
|
|
4332
4501
|
}
|
|
4333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AppleFilterComponent, decorators: [{
|
|
4334
4503
|
type: Component,
|
|
4335
4504
|
args: [{
|
|
4336
4505
|
selector: 'apple',
|
|
@@ -4348,12 +4517,12 @@ class VisionOSFilterComponent {
|
|
|
4348
4517
|
// Available in 8.6+ only
|
|
4349
4518
|
this.show = device.os === platformNames.visionos;
|
|
4350
4519
|
}
|
|
4351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4352
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.
|
|
4520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: VisionOSFilterComponent, deps: [{ token: DEVICE }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4521
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.7", type: VisionOSFilterComponent, isStandalone: true, selector: "visionos", ngImport: i0, template: `@if (show) {
|
|
4353
4522
|
<ng-content></ng-content>
|
|
4354
4523
|
}`, isInline: true }); }
|
|
4355
4524
|
}
|
|
4356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: VisionOSFilterComponent, decorators: [{
|
|
4357
4526
|
type: Component,
|
|
4358
4527
|
args: [{
|
|
4359
4528
|
selector: 'visionos',
|
|
@@ -4370,11 +4539,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImpor
|
|
|
4370
4539
|
const CDK_COMPONENTS = [ActionBarComponent, ActionBarScope, ActionItemDirective, NavigationButtonDirective, ListViewComponent, TemplateKeyDirective, TabViewDirective, TabViewItemDirective, AndroidFilterComponent, IOSFilterComponent, AppleFilterComponent, VisionOSFilterComponent];
|
|
4371
4540
|
registerNativeScriptViewComponents();
|
|
4372
4541
|
class NativeScriptCommonModule {
|
|
4373
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4374
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
|
4375
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
|
4542
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4543
|
+
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] }); }
|
|
4544
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptCommonModule, providers: [ModalDialogService], imports: [CommonModule, FramePageModule, CommonModule, FramePageModule] }); }
|
|
4376
4545
|
}
|
|
4377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptCommonModule, decorators: [{
|
|
4378
4547
|
type: NgModule,
|
|
4379
4548
|
args: [{
|
|
4380
4549
|
imports: [CommonModule, FramePageModule, ...CDK_COMPONENTS],
|
|
@@ -4419,11 +4588,11 @@ class NativeScriptModule {
|
|
|
4419
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.`);
|
|
4420
4589
|
}
|
|
4421
4590
|
}
|
|
4422
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4423
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
|
4424
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
|
4591
|
+
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 }); }
|
|
4592
|
+
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] }); }
|
|
4593
|
+
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] }); }
|
|
4425
4594
|
}
|
|
4426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptModule, decorators: [{
|
|
4427
4596
|
type: NgModule,
|
|
4428
4597
|
args: [{
|
|
4429
4598
|
imports: [ApplicationModule, DetachedLoader, NativeScriptCommonModule],
|
|
@@ -4621,14 +4790,14 @@ function generateRootLayoutAndProxy() {
|
|
|
4621
4790
|
return viewProxy;
|
|
4622
4791
|
}
|
|
4623
4792
|
class RootCompositeModule {
|
|
4624
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
4625
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
|
4626
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
|
4793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RootCompositeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4794
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: RootCompositeModule }); }
|
|
4795
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RootCompositeModule, providers: [
|
|
4627
4796
|
{ provide: DISABLE_ROOT_VIEW_HANDLING, useValue: true },
|
|
4628
4797
|
{ provide: APP_ROOT_VIEW, useFactory: generateRootLayoutAndProxy },
|
|
4629
4798
|
] }); }
|
|
4630
4799
|
}
|
|
4631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
4800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RootCompositeModule, decorators: [{
|
|
4632
4801
|
type: NgModule,
|
|
4633
4802
|
args: [{
|
|
4634
4803
|
providers: [
|
|
@@ -4718,7 +4887,7 @@ class NativeDialogRef {
|
|
|
4718
4887
|
// Transition the backdrop in parallel to the dialog.
|
|
4719
4888
|
this._nativeModalRef.stateChanged
|
|
4720
4889
|
.pipe(filter((event) => event.state === 'closing'), take(1))
|
|
4721
|
-
.subscribe((
|
|
4890
|
+
.subscribe(() => {
|
|
4722
4891
|
this._beforeClosed.next(dialogResult);
|
|
4723
4892
|
this._beforeClosed.complete();
|
|
4724
4893
|
this._nativeModalRef.dispose();
|
|
@@ -5078,10 +5247,10 @@ class NativeDialog {
|
|
|
5078
5247
|
dialogs[i].close();
|
|
5079
5248
|
}
|
|
5080
5249
|
}
|
|
5081
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5082
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
5250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeDialog, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5251
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeDialog, providedIn: 'root' }); }
|
|
5083
5252
|
}
|
|
5084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeDialog, decorators: [{
|
|
5085
5254
|
type: Injectable,
|
|
5086
5255
|
args: [{
|
|
5087
5256
|
providedIn: 'root',
|
|
@@ -5108,13 +5277,10 @@ function _applyConfigDefaults(config, defaultOptions) {
|
|
|
5108
5277
|
* Button that will close the current dialog.
|
|
5109
5278
|
*/
|
|
5110
5279
|
class NativeDialogCloseDirective {
|
|
5111
|
-
constructor(
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
this.dialogRef = dialogRef;
|
|
5116
|
-
this._elementRef = _elementRef;
|
|
5117
|
-
this._dialog = _dialog;
|
|
5280
|
+
constructor() {
|
|
5281
|
+
this.dialogRef = inject((NativeDialogRef), { optional: true });
|
|
5282
|
+
this._elementRef = inject((ElementRef));
|
|
5283
|
+
this._dialog = inject(NativeDialog);
|
|
5118
5284
|
}
|
|
5119
5285
|
ngOnInit() {
|
|
5120
5286
|
if (!this.dialogRef) {
|
|
@@ -5140,10 +5306,10 @@ class NativeDialogCloseDirective {
|
|
|
5140
5306
|
// the FocusMonitor won't detect any origin change, and will always output `program`.
|
|
5141
5307
|
this.dialogRef.close(this.dialogResult);
|
|
5142
5308
|
}
|
|
5143
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5144
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
5309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeDialogCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5310
|
+
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 }); }
|
|
5145
5311
|
}
|
|
5146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeDialogCloseDirective, decorators: [{
|
|
5147
5313
|
type: Directive,
|
|
5148
5314
|
args: [{
|
|
5149
5315
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -5151,9 +5317,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImpor
|
|
|
5151
5317
|
exportAs: 'nativeDialogClose',
|
|
5152
5318
|
standalone: true,
|
|
5153
5319
|
}]
|
|
5154
|
-
}],
|
|
5155
|
-
type: Optional
|
|
5156
|
-
}] }, { type: i0.ElementRef }, { type: NativeDialog }], propDecorators: { dialogResult: [{
|
|
5320
|
+
}], propDecorators: { dialogResult: [{
|
|
5157
5321
|
type: Input,
|
|
5158
5322
|
args: ['native-dialog-close']
|
|
5159
5323
|
}], _matDialogClose: [{
|
|
@@ -5177,11 +5341,11 @@ function getClosestDialog(element, openDialogs) {
|
|
|
5177
5341
|
}
|
|
5178
5342
|
|
|
5179
5343
|
class NativeDialogModule {
|
|
5180
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5181
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
|
5182
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
|
5344
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5345
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: NativeDialogModule, imports: [NativeDialogCloseDirective], exports: [NativeDialogCloseDirective] }); }
|
|
5346
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeDialogModule, providers: [NativeDialog] }); }
|
|
5183
5347
|
}
|
|
5184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeDialogModule, decorators: [{
|
|
5185
5349
|
type: NgModule,
|
|
5186
5350
|
args: [{
|
|
5187
5351
|
imports: [NativeDialogCloseDirective],
|
|
@@ -5202,10 +5366,10 @@ class NSFileSystem {
|
|
|
5202
5366
|
fileExists(path) {
|
|
5203
5367
|
return File.exists(path);
|
|
5204
5368
|
}
|
|
5205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5206
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
5369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSFileSystem, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5370
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSFileSystem }); }
|
|
5207
5371
|
}
|
|
5208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSFileSystem, decorators: [{
|
|
5209
5373
|
type: Injectable
|
|
5210
5374
|
}] });
|
|
5211
5375
|
|
|
@@ -5330,10 +5494,10 @@ class TextValueAccessor extends BaseValueAccessor {
|
|
|
5330
5494
|
const normalized = super.normalizeValue(value ? `${value}` : value);
|
|
5331
5495
|
this.view.text = normalized;
|
|
5332
5496
|
}
|
|
5333
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5334
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
5497
|
+
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 }); }
|
|
5498
|
+
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 }); }
|
|
5335
5499
|
}
|
|
5336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: TextValueAccessor, decorators: [{
|
|
5337
5501
|
type: Directive,
|
|
5338
5502
|
args: [{
|
|
5339
5503
|
selector: 'TextField[ngModel],TextField[formControlName],TextField[formControl],' +
|
|
@@ -5379,10 +5543,10 @@ class CheckedValueAccessor extends BaseValueAccessor {
|
|
|
5379
5543
|
const normalized = super.normalizeValue(value);
|
|
5380
5544
|
this.view.checked = normalized;
|
|
5381
5545
|
}
|
|
5382
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5383
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
5546
|
+
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 }); }
|
|
5547
|
+
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 }); }
|
|
5384
5548
|
}
|
|
5385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CheckedValueAccessor, decorators: [{
|
|
5386
5550
|
type: Directive,
|
|
5387
5551
|
args: [{
|
|
5388
5552
|
selector: 'Switch[ngModel],Switch[formControlName],Switch[formControl],' + 'switch[ngModel],switch[formControlName],switch[formControl]',
|
|
@@ -5416,10 +5580,10 @@ class DateValueAccessor extends BaseValueAccessor {
|
|
|
5416
5580
|
const normalized = super.normalizeValue(value);
|
|
5417
5581
|
this.view.date = normalized;
|
|
5418
5582
|
}
|
|
5419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5420
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
5583
|
+
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 }); }
|
|
5584
|
+
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 }); }
|
|
5421
5585
|
}
|
|
5422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DateValueAccessor, decorators: [{
|
|
5423
5587
|
type: Directive,
|
|
5424
5588
|
args: [{
|
|
5425
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]',
|
|
@@ -5453,10 +5617,10 @@ class TimeValueAccessor extends BaseValueAccessor {
|
|
|
5453
5617
|
const normalized = super.normalizeValue(value);
|
|
5454
5618
|
this.view.time = normalized;
|
|
5455
5619
|
}
|
|
5456
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5457
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
5620
|
+
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 }); }
|
|
5621
|
+
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 }); }
|
|
5458
5622
|
}
|
|
5459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: TimeValueAccessor, decorators: [{
|
|
5460
5624
|
type: Directive,
|
|
5461
5625
|
args: [{
|
|
5462
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]',
|
|
@@ -5490,10 +5654,10 @@ class NumberValueAccessor extends BaseValueAccessor {
|
|
|
5490
5654
|
const normalized = super.normalizeValue(value);
|
|
5491
5655
|
this.view.value = normalized;
|
|
5492
5656
|
}
|
|
5493
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5494
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
5657
|
+
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 }); }
|
|
5658
|
+
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 }); }
|
|
5495
5659
|
}
|
|
5496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NumberValueAccessor, decorators: [{
|
|
5497
5661
|
type: Directive,
|
|
5498
5662
|
args: [{
|
|
5499
5663
|
selector: 'Slider[ngModel],Slider[formControlName],Slider[formControl],' + 'slider[ngModel],slider[formControlName],slider[formControl]',
|
|
@@ -5534,10 +5698,10 @@ class SelectedIndexValueAccessor extends BaseValueAccessor {
|
|
|
5534
5698
|
this.viewInitialized = true;
|
|
5535
5699
|
this.view.selectedIndex = this.value;
|
|
5536
5700
|
}
|
|
5537
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5538
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
5701
|
+
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 }); }
|
|
5702
|
+
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 }); }
|
|
5539
5703
|
}
|
|
5540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: SelectedIndexValueAccessor, decorators: [{
|
|
5541
5705
|
type: Directive,
|
|
5542
5706
|
args: [{
|
|
5543
5707
|
selector: 'SegmentedBar[ngModel],SegmentedBar[formControlName],SegmentedBar[formControl],' +
|
|
@@ -5560,11 +5724,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImpor
|
|
|
5560
5724
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
5561
5725
|
|
|
5562
5726
|
class NativeScriptFormsModule {
|
|
5563
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5564
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
|
5565
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
|
5727
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptFormsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5728
|
+
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] }); }
|
|
5729
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptFormsModule, imports: [FormsModule, FormsModule] }); }
|
|
5566
5730
|
}
|
|
5567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptFormsModule, decorators: [{
|
|
5568
5732
|
type: NgModule,
|
|
5569
5733
|
args: [{
|
|
5570
5734
|
providers: [],
|
|
@@ -5815,13 +5979,14 @@ function queryDescendants(element, result, params) {
|
|
|
5815
5979
|
}
|
|
5816
5980
|
|
|
5817
5981
|
class InjectableAnimationEngine extends _AnimationEngine {
|
|
5982
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
5818
5983
|
constructor(doc, driver, normalizer) {
|
|
5819
5984
|
super(doc, driver, normalizer);
|
|
5820
5985
|
}
|
|
5821
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5822
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
5986
|
+
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 }); }
|
|
5987
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: InjectableAnimationEngine }); }
|
|
5823
5988
|
}
|
|
5824
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
5989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: InjectableAnimationEngine, decorators: [{
|
|
5825
5990
|
type: Injectable
|
|
5826
5991
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
5827
5992
|
type: Inject,
|
|
@@ -5837,13 +6002,14 @@ function instantiateDefaultStyleNormalizer() {
|
|
|
5837
6002
|
return new _WebAnimationsStyleNormalizer();
|
|
5838
6003
|
}
|
|
5839
6004
|
class NativeScriptAnimationsModule {
|
|
6005
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
5840
6006
|
constructor(parentModule) {
|
|
5841
6007
|
// Prevents NativeScriptAnimationsModule from getting imported multiple times
|
|
5842
6008
|
throwIfAlreadyLoaded(parentModule, 'NativeScriptAnimationsModule');
|
|
5843
6009
|
}
|
|
5844
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5845
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
|
5846
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
|
6010
|
+
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 }); }
|
|
6011
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptAnimationsModule, imports: [NativeScriptCommonModule] }); }
|
|
6012
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptAnimationsModule, providers: [
|
|
5847
6013
|
{
|
|
5848
6014
|
provide: AnimationDriver,
|
|
5849
6015
|
useFactory: instantiateSupportedAnimationDriver,
|
|
@@ -5861,7 +6027,7 @@ class NativeScriptAnimationsModule {
|
|
|
5861
6027
|
},
|
|
5862
6028
|
], imports: [NativeScriptCommonModule] }); }
|
|
5863
6029
|
}
|
|
5864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
6030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptAnimationsModule, decorators: [{
|
|
5865
6031
|
type: NgModule,
|
|
5866
6032
|
args: [{
|
|
5867
6033
|
imports: [NativeScriptCommonModule],
|
|
@@ -5943,10 +6109,10 @@ class NsHttpBackEnd extends HttpXhrBackend {
|
|
|
5943
6109
|
handleLocalFileRequest(url) {
|
|
5944
6110
|
return processLocalFileRequest(url, this.nsFileSystem, createSuccessResponse, createErrorResponse);
|
|
5945
6111
|
}
|
|
5946
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5947
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
6112
|
+
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 }); }
|
|
6113
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NsHttpBackEnd }); }
|
|
5948
6114
|
}
|
|
5949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
6115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NsHttpBackEnd, decorators: [{
|
|
5950
6116
|
type: Injectable
|
|
5951
6117
|
}], ctorParameters: () => [{ type: i1$2.XhrFactory }, { type: NSFileSystem }] });
|
|
5952
6118
|
function createSuccessResponse(url, body, status) {
|
|
@@ -5975,11 +6141,11 @@ function provideNativeScriptHttpClient(...features) {
|
|
|
5975
6141
|
]);
|
|
5976
6142
|
}
|
|
5977
6143
|
class NativeScriptHttpClientModule {
|
|
5978
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
5979
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
|
5980
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
|
6144
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptHttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6145
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptHttpClientModule }); }
|
|
6146
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptHttpClientModule, providers: [provideNativeScriptHttpClient(withInterceptorsFromDi())] }); }
|
|
5981
6147
|
}
|
|
5982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
6148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptHttpClientModule, decorators: [{
|
|
5983
6149
|
type: NgModule,
|
|
5984
6150
|
args: [{
|
|
5985
6151
|
providers: [provideNativeScriptHttpClient(withInterceptorsFromDi())],
|
|
@@ -6283,10 +6449,10 @@ class NSRouteReuseStrategy {
|
|
|
6283
6449
|
cache.clearModalCache();
|
|
6284
6450
|
}
|
|
6285
6451
|
}
|
|
6286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
6287
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
6452
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSRouteReuseStrategy, deps: [{ token: NSLocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6453
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSRouteReuseStrategy }); }
|
|
6288
6454
|
}
|
|
6289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
6455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSRouteReuseStrategy, decorators: [{
|
|
6290
6456
|
type: Injectable
|
|
6291
6457
|
}], ctorParameters: () => [{ type: NSLocationStrategy }] });
|
|
6292
6458
|
|
|
@@ -6399,10 +6565,10 @@ class RouterExtensions {
|
|
|
6399
6565
|
const outlet = this.locationStrategy.findOutlet(outletKey, currentRouteSnapshop);
|
|
6400
6566
|
return outlet;
|
|
6401
6567
|
}
|
|
6402
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
6403
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
6568
|
+
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 }); }
|
|
6569
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RouterExtensions, providedIn: 'root' }); }
|
|
6404
6570
|
}
|
|
6405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
6571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RouterExtensions, decorators: [{
|
|
6406
6572
|
type: Injectable,
|
|
6407
6573
|
args: [{
|
|
6408
6574
|
providedIn: 'root',
|
|
@@ -6527,10 +6693,10 @@ class NSRouterLink {
|
|
|
6527
6693
|
}
|
|
6528
6694
|
return { animated, transition };
|
|
6529
6695
|
}
|
|
6530
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
6531
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
6696
|
+
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 }); }
|
|
6697
|
+
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 }); }
|
|
6532
6698
|
}
|
|
6533
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
6699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSRouterLink, decorators: [{
|
|
6534
6700
|
type: Directive,
|
|
6535
6701
|
args: [{
|
|
6536
6702
|
selector: '[nsRouterLink]',
|
|
@@ -6753,10 +6919,10 @@ class NSRouterLinkActive {
|
|
|
6753
6919
|
hasActiveLinks() {
|
|
6754
6920
|
return this.links.some(this.isLinkActive(this.router));
|
|
6755
6921
|
}
|
|
6756
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
6757
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
6922
|
+
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 }); }
|
|
6923
|
+
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 }); }
|
|
6758
6924
|
}
|
|
6759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
6925
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSRouterLinkActive, decorators: [{
|
|
6760
6926
|
type: Directive,
|
|
6761
6927
|
args: [{
|
|
6762
6928
|
selector: '[nsRouterLinkActive]',
|
|
@@ -7211,8 +7377,8 @@ class PageRouterOutlet {
|
|
|
7211
7377
|
}
|
|
7212
7378
|
return outlet;
|
|
7213
7379
|
}
|
|
7214
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
7215
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.
|
|
7380
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PageRouterOutlet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7381
|
+
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 }); }
|
|
7216
7382
|
}
|
|
7217
7383
|
__decorate([
|
|
7218
7384
|
profile,
|
|
@@ -7226,7 +7392,7 @@ __decorate([
|
|
|
7226
7392
|
__metadata("design:paramtypes", [Page, ComponentRef, Object]),
|
|
7227
7393
|
__metadata("design:returntype", void 0)
|
|
7228
7394
|
], PageRouterOutlet.prototype, "loadComponentInPage", null);
|
|
7229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
7395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PageRouterOutlet, decorators: [{
|
|
7230
7396
|
type: Directive,
|
|
7231
7397
|
args: [{
|
|
7232
7398
|
selector: 'page-router-outlet',
|
|
@@ -7289,10 +7455,10 @@ class NativescriptPlatformLocation extends PlatformLocation {
|
|
|
7289
7455
|
back() {
|
|
7290
7456
|
this.locationStrategy.back();
|
|
7291
7457
|
}
|
|
7292
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
7293
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
|
7458
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativescriptPlatformLocation, deps: [{ token: NSLocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7459
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativescriptPlatformLocation }); }
|
|
7294
7460
|
}
|
|
7295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
7461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativescriptPlatformLocation, decorators: [{
|
|
7296
7462
|
type: Injectable
|
|
7297
7463
|
}], ctorParameters: () => [{ type: NSLocationStrategy }] });
|
|
7298
7464
|
|
|
@@ -7308,10 +7474,10 @@ class NSEmptyOutletComponent {
|
|
|
7308
7474
|
});
|
|
7309
7475
|
}
|
|
7310
7476
|
}
|
|
7311
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
7312
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.
|
|
7477
|
+
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 }); }
|
|
7478
|
+
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"] }] }); }
|
|
7313
7479
|
}
|
|
7314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
7480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NSEmptyOutletComponent, decorators: [{
|
|
7315
7481
|
type: Component,
|
|
7316
7482
|
args: [{
|
|
7317
7483
|
// tslint:disable-next-line:component-selector
|
|
@@ -7351,11 +7517,11 @@ class NativeScriptRouterModule {
|
|
|
7351
7517
|
static forChild(routes) {
|
|
7352
7518
|
return { ngModule: NativeScriptRouterModule, providers: RouterModule.forChild(routes).providers };
|
|
7353
7519
|
}
|
|
7354
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
|
7355
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
|
7356
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
|
7520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7521
|
+
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] }); }
|
|
7522
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptRouterModule, imports: [RouterModule, NativeScriptCommonModule, RouterModule] }); }
|
|
7357
7523
|
}
|
|
7358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
|
7524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NativeScriptRouterModule, decorators: [{
|
|
7359
7525
|
type: NgModule,
|
|
7360
7526
|
args: [{
|
|
7361
7527
|
imports: [RouterModule, NativeScriptCommonModule, ...ROUTER_COMPONENTS],
|