@ionic/angular 8.8.9-dev.11780945313.14080cb4 → 8.8.9-dev.11781013468.1ed93da9
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/README.md +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/fesm2022/ionic-angular-common.mjs +96 -84
- package/fesm2022/ionic-angular-common.mjs.map +1 -1
- package/fesm2022/ionic-angular-standalone.mjs +903 -911
- package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2022/ionic-angular.mjs +1065 -771
- package/fesm2022/ionic-angular.mjs.map +1 -1
- package/package.json +16 -16
- package/schematics/add/index.js +1 -1
- package/schematics/utils/ast.js +1 -2
- package/schematics/utils/config.js +10 -11
- package/schematics/utils/package.js +1 -2
- package/types/ionic-angular-common.d.ts +1013 -0
- package/types/ionic-angular-standalone.d.ts +1560 -0
- package/{directives/proxies.d.ts → types/ionic-angular.d.ts} +703 -478
- package/app-initialize.d.ts +0 -3
- package/common/directives/control-value-accessors/index.d.ts +0 -1
- package/common/directives/control-value-accessors/value-accessor.d.ts +0 -36
- package/common/directives/navigation/back-button.d.ts +0 -23
- package/common/directives/navigation/nav-params.d.ts +0 -45
- package/common/directives/navigation/nav.d.ts +0 -21
- package/common/directives/navigation/router-link-delegate.d.ts +0 -60
- package/common/directives/navigation/router-outlet.d.ts +0 -104
- package/common/directives/navigation/stack-controller.d.ts +0 -42
- package/common/directives/navigation/stack-utils.d.ts +0 -38
- package/common/directives/navigation/tabs.d.ts +0 -83
- package/common/index.d.ts +0 -22
- package/common/overlays/modal.d.ts +0 -62
- package/common/overlays/popover.d.ts +0 -46
- package/common/providers/angular-delegate.d.ts +0 -28
- package/common/providers/config.d.ts +0 -11
- package/common/providers/dom-controller.d.ts +0 -16
- package/common/providers/menu-controller.d.ts +0 -78
- package/common/providers/nav-controller.d.ts +0 -116
- package/common/providers/platform.d.ts +0 -174
- package/common/types/interfaces.d.ts +0 -8
- package/common/types/ionic-lifecycle-hooks.d.ts +0 -27
- package/common/types/overlay-options.d.ts +0 -16
- package/common/utils/overlay.d.ts +0 -21
- package/common/utils/proxy.d.ts +0 -8
- package/common/utils/routing.d.ts +0 -28
- package/common/utils/util.d.ts +0 -1
- package/css/ionic/bundle.ionic.css +0 -1
- package/css/ionic/bundle.ionic.css.map +0 -1
- package/css/ionic/core.ionic.css +0 -1
- package/css/ionic/core.ionic.css.map +0 -1
- package/css/ionic/global.bundle.ionic.css +0 -1
- package/css/ionic/global.bundle.ionic.css.map +0 -1
- package/css/ionic/ionic-swiper.ionic.css +0 -1
- package/css/ionic/ionic-swiper.ionic.css.map +0 -1
- package/css/ionic/link.ionic.css +0 -1
- package/css/ionic/link.ionic.css.map +0 -1
- package/css/ionic/structure.ionic.css +0 -1
- package/css/ionic/structure.ionic.css.map +0 -1
- package/css/ionic/typography.ionic.css +0 -1
- package/css/ionic/typography.ionic.css.map +0 -1
- package/css/ionic/utils.bundle.ionic.css +0 -1
- package/css/ionic/utils.bundle.ionic.css.map +0 -1
- package/directives/angular-component-lib/utils.d.ts +0 -9
- package/directives/control-value-accessors/boolean-value-accessor.d.ts +0 -10
- package/directives/control-value-accessors/index.d.ts +0 -4
- package/directives/control-value-accessors/numeric-value-accessor.d.ts +0 -11
- package/directives/control-value-accessors/select-value-accessor.d.ts +0 -9
- package/directives/control-value-accessors/text-value-accessor.d.ts +0 -9
- package/directives/navigation/ion-back-button.d.ts +0 -9
- package/directives/navigation/ion-nav.d.ts +0 -8
- package/directives/navigation/ion-router-outlet.d.ts +0 -25
- package/directives/navigation/ion-tabs.d.ts +0 -13
- package/directives/navigation/router-link-delegate.d.ts +0 -16
- package/directives/overlays/modal.d.ts +0 -6
- package/directives/overlays/popover.d.ts +0 -6
- package/directives/proxies-list.d.ts +0 -2
- package/directives/validators/index.d.ts +0 -2
- package/directives/validators/max-validator.d.ts +0 -12
- package/directives/validators/min-validator.d.ts +0 -12
- package/esm2022/app-initialize.mjs +0 -29
- package/esm2022/common/directives/control-value-accessors/index.mjs +0 -2
- package/esm2022/common/directives/control-value-accessors/value-accessor.mjs +0 -153
- package/esm2022/common/directives/navigation/back-button.mjs +0 -61
- package/esm2022/common/directives/navigation/nav-params.mjs +0 -47
- package/esm2022/common/directives/navigation/nav.mjs +0 -49
- package/esm2022/common/directives/navigation/router-link-delegate.mjs +0 -156
- package/esm2022/common/directives/navigation/router-outlet.mjs +0 -480
- package/esm2022/common/directives/navigation/stack-controller.mjs +0 -280
- package/esm2022/common/directives/navigation/stack-utils.mjs +0 -73
- package/esm2022/common/directives/navigation/tabs.mjs +0 -279
- package/esm2022/common/index.mjs +0 -20
- package/esm2022/common/ionic-angular-common.mjs +0 -5
- package/esm2022/common/overlays/modal.mjs +0 -103
- package/esm2022/common/overlays/popover.mjs +0 -91
- package/esm2022/common/providers/angular-delegate.mjs +0 -203
- package/esm2022/common/providers/config.mjs +0 -45
- package/esm2022/common/providers/dom-controller.mjs +0 -45
- package/esm2022/common/providers/menu-controller.mjs +0 -114
- package/esm2022/common/providers/nav-controller.mjs +0 -235
- package/esm2022/common/providers/platform.mjs +0 -258
- package/esm2022/common/types/interfaces.mjs +0 -2
- package/esm2022/common/types/ionic-lifecycle-hooks.mjs +0 -5
- package/esm2022/common/types/overlay-options.mjs +0 -2
- package/esm2022/common/utils/overlay.mjs +0 -26
- package/esm2022/common/utils/proxy.mjs +0 -47
- package/esm2022/common/utils/routing.mjs +0 -55
- package/esm2022/common/utils/util.mjs +0 -10
- package/esm2022/directives/angular-component-lib/utils.mjs +0 -59
- package/esm2022/directives/control-value-accessors/boolean-value-accessor.mjs +0 -42
- package/esm2022/directives/control-value-accessors/index.mjs +0 -5
- package/esm2022/directives/control-value-accessors/numeric-value-accessor.mjs +0 -50
- package/esm2022/directives/control-value-accessors/select-value-accessor.mjs +0 -39
- package/esm2022/directives/control-value-accessors/text-value-accessor.mjs +0 -38
- package/esm2022/directives/navigation/ion-back-button.mjs +0 -24
- package/esm2022/directives/navigation/ion-nav.mjs +0 -21
- package/esm2022/directives/navigation/ion-router-outlet.mjs +0 -52
- package/esm2022/directives/navigation/ion-tabs.mjs +0 -59
- package/esm2022/directives/navigation/router-link-delegate.mjs +0 -32
- package/esm2022/directives/overlays/modal.mjs +0 -22
- package/esm2022/directives/overlays/popover.mjs +0 -18
- package/esm2022/directives/proxies-list.mjs +0 -93
- package/esm2022/directives/proxies.mjs +0 -2465
- package/esm2022/directives/validators/index.mjs +0 -3
- package/esm2022/directives/validators/max-validator.mjs +0 -27
- package/esm2022/directives/validators/min-validator.mjs +0 -27
- package/esm2022/index.mjs +0 -32
- package/esm2022/ionic-angular.mjs +0 -5
- package/esm2022/ionic-module.mjs +0 -111
- package/esm2022/providers/action-sheet-controller.mjs +0 -19
- package/esm2022/providers/alert-controller.mjs +0 -19
- package/esm2022/providers/animation-controller.mjs +0 -38
- package/esm2022/providers/gesture-controller.mjs +0 -33
- package/esm2022/providers/loading-controller.mjs +0 -19
- package/esm2022/providers/menu-controller.mjs +0 -19
- package/esm2022/providers/modal-controller.mjs +0 -26
- package/esm2022/providers/picker-controller.mjs +0 -22
- package/esm2022/providers/popover-controller.mjs +0 -19
- package/esm2022/providers/toast-controller.mjs +0 -19
- package/esm2022/standalone/directives/angular-component-lib/utils.mjs +0 -59
- package/esm2022/standalone/directives/checkbox.mjs +0 -76
- package/esm2022/standalone/directives/datetime.mjs +0 -95
- package/esm2022/standalone/directives/icon.mjs +0 -35
- package/esm2022/standalone/directives/index.mjs +0 -13
- package/esm2022/standalone/directives/input-otp.mjs +0 -90
- package/esm2022/standalone/directives/input.mjs +0 -113
- package/esm2022/standalone/directives/proxies.mjs +0 -2356
- package/esm2022/standalone/directives/radio-group.mjs +0 -60
- package/esm2022/standalone/directives/range.mjs +0 -78
- package/esm2022/standalone/directives/searchbar.mjs +0 -82
- package/esm2022/standalone/directives/segment.mjs +0 -60
- package/esm2022/standalone/directives/select.mjs +0 -84
- package/esm2022/standalone/directives/textarea.mjs +0 -91
- package/esm2022/standalone/directives/toggle.mjs +0 -76
- package/esm2022/standalone/index.mjs +0 -25
- package/esm2022/standalone/ionic-angular-standalone.mjs +0 -5
- package/esm2022/standalone/navigation/back-button.mjs +0 -32
- package/esm2022/standalone/navigation/nav.mjs +0 -28
- package/esm2022/standalone/navigation/router-link-delegate.mjs +0 -28
- package/esm2022/standalone/navigation/router-outlet.mjs +0 -60
- package/esm2022/standalone/navigation/tabs.mjs +0 -58
- package/esm2022/standalone/overlays/modal.mjs +0 -32
- package/esm2022/standalone/overlays/popover.mjs +0 -28
- package/esm2022/standalone/providers/action-sheet-controller.mjs +0 -21
- package/esm2022/standalone/providers/alert-controller.mjs +0 -21
- package/esm2022/standalone/providers/animation-controller.mjs +0 -38
- package/esm2022/standalone/providers/gesture-controller.mjs +0 -33
- package/esm2022/standalone/providers/ionic-angular.mjs +0 -38
- package/esm2022/standalone/providers/loading-controller.mjs +0 -21
- package/esm2022/standalone/providers/menu-controller.mjs +0 -19
- package/esm2022/standalone/providers/modal-controller.mjs +0 -28
- package/esm2022/standalone/providers/picker-controller.mjs +0 -24
- package/esm2022/standalone/providers/popover-controller.mjs +0 -21
- package/esm2022/standalone/providers/toast-controller.mjs +0 -21
- package/index.d.ts +0 -27
- package/ionic-module.d.ts +0 -28
- package/providers/action-sheet-controller.d.ts +0 -8
- package/providers/alert-controller.d.ts +0 -8
- package/providers/animation-controller.d.ts +0 -25
- package/providers/gesture-controller.d.ts +0 -13
- package/providers/loading-controller.d.ts +0 -8
- package/providers/menu-controller.d.ts +0 -7
- package/providers/modal-controller.d.ts +0 -12
- package/providers/picker-controller.d.ts +0 -11
- package/providers/popover-controller.d.ts +0 -9
- package/providers/toast-controller.d.ts +0 -8
- package/standalone/directives/angular-component-lib/utils.d.ts +0 -9
- package/standalone/directives/checkbox.d.ts +0 -30
- package/standalone/directives/datetime.d.ts +0 -30
- package/standalone/directives/icon.d.ts +0 -9
- package/standalone/directives/index.d.ts +0 -12
- package/standalone/directives/input-otp.d.ts +0 -49
- package/standalone/directives/input.d.ts +0 -47
- package/standalone/directives/proxies.d.ts +0 -1062
- package/standalone/directives/radio-group.d.ts +0 -18
- package/standalone/directives/range.d.ts +0 -47
- package/standalone/directives/searchbar.d.ts +0 -45
- package/standalone/directives/segment.d.ts +0 -19
- package/standalone/directives/select.d.ts +0 -34
- package/standalone/directives/textarea.d.ts +0 -37
- package/standalone/directives/toggle.d.ts +0 -28
- package/standalone/index.d.ts +0 -23
- package/standalone/navigation/back-button.d.ts +0 -9
- package/standalone/navigation/nav.d.ts +0 -8
- package/standalone/navigation/router-link-delegate.d.ts +0 -10
- package/standalone/navigation/router-outlet.d.ts +0 -25
- package/standalone/navigation/tabs.d.ts +0 -13
- package/standalone/overlays/modal.d.ts +0 -6
- package/standalone/overlays/popover.d.ts +0 -6
- package/standalone/providers/action-sheet-controller.d.ts +0 -8
- package/standalone/providers/alert-controller.d.ts +0 -8
- package/standalone/providers/animation-controller.d.ts +0 -25
- package/standalone/providers/gesture-controller.d.ts +0 -13
- package/standalone/providers/ionic-angular.d.ts +0 -7
- package/standalone/providers/loading-controller.d.ts +0 -8
- package/standalone/providers/menu-controller.d.ts +0 -7
- package/standalone/providers/modal-controller.d.ts +0 -12
- package/standalone/providers/picker-controller.d.ts +0 -11
- package/standalone/providers/popover-controller.d.ts +0 -9
- package/standalone/providers/toast-controller.d.ts +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Inject, Optional, InjectionToken, inject, NgZone, ApplicationRef, Injector, createComponent, TemplateRef,
|
|
2
|
+
import { Injectable, Inject, Optional, InjectionToken, inject, NgZone, ApplicationRef, Injector, createComponent, TemplateRef, ContentChild, Directive, EventEmitter, ViewContainerRef, EnvironmentInjector, Output, Input, Attribute, SkipSelf, reflectComponentType, HostListener, ElementRef, ViewChild } from '@angular/core';
|
|
3
3
|
import * as i3 from '@angular/router';
|
|
4
4
|
import { NavigationStart, NavigationCancel, NavigationError, PRIMARY_OUTLET, ChildrenOutletContexts, ActivatedRoute, Router } from '@angular/router';
|
|
5
5
|
import * as i1 from '@angular/common';
|
|
@@ -25,10 +25,10 @@ class DomController {
|
|
|
25
25
|
write(cb) {
|
|
26
26
|
getQueue().write(cb);
|
|
27
27
|
}
|
|
28
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
28
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: DomController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
29
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: DomController, providedIn: 'root' });
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: DomController, decorators: [{
|
|
32
32
|
type: Injectable,
|
|
33
33
|
args: [{
|
|
34
34
|
providedIn: 'root',
|
|
@@ -382,18 +382,18 @@ class Platform {
|
|
|
382
382
|
height() {
|
|
383
383
|
return this.win.innerHeight;
|
|
384
384
|
}
|
|
385
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
386
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
385
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: Platform, deps: [{ token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
386
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: Platform, providedIn: 'root' });
|
|
387
387
|
}
|
|
388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: Platform, decorators: [{
|
|
389
389
|
type: Injectable,
|
|
390
390
|
args: [{
|
|
391
391
|
providedIn: 'root',
|
|
392
392
|
}]
|
|
393
|
-
}], ctorParameters:
|
|
393
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
394
394
|
type: Inject,
|
|
395
395
|
args: [DOCUMENT]
|
|
396
|
-
}] }, { type: i0.NgZone }]
|
|
396
|
+
}] }, { type: i0.NgZone }] });
|
|
397
397
|
const readQueryParam = (url, key) => {
|
|
398
398
|
key = key.replace(/[[\]\\]/g, '\\$&');
|
|
399
399
|
const regex = new RegExp('[\\?&]' + key + '=([^&#]*)');
|
|
@@ -617,17 +617,17 @@ class NavController {
|
|
|
617
617
|
return this.router.navigateByUrl(urlTree, options);
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
621
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
620
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: NavController, deps: [{ token: Platform }, { token: i1.Location }, { token: i3.UrlSerializer }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
621
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: NavController, providedIn: 'root' });
|
|
622
622
|
}
|
|
623
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: NavController, decorators: [{
|
|
624
624
|
type: Injectable,
|
|
625
625
|
args: [{
|
|
626
626
|
providedIn: 'root',
|
|
627
627
|
}]
|
|
628
|
-
}], ctorParameters:
|
|
628
|
+
}], ctorParameters: () => [{ type: Platform }, { type: i1.Location }, { type: i3.UrlSerializer }, { type: i3.Router, decorators: [{
|
|
629
629
|
type: Optional
|
|
630
|
-
}] }]
|
|
630
|
+
}] }] });
|
|
631
631
|
const getAnimation = (direction, animated, animationDirection) => {
|
|
632
632
|
if (animated === false) {
|
|
633
633
|
return undefined;
|
|
@@ -668,10 +668,10 @@ class Config {
|
|
|
668
668
|
}
|
|
669
669
|
return 0;
|
|
670
670
|
}
|
|
671
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
672
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
671
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: Config, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
672
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: Config, providedIn: 'root' });
|
|
673
673
|
}
|
|
674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: Config, decorators: [{
|
|
675
675
|
type: Injectable,
|
|
676
676
|
args: [{
|
|
677
677
|
providedIn: 'root',
|
|
@@ -745,10 +745,10 @@ class AngularDelegate {
|
|
|
745
745
|
create(environmentInjector, injector, elementReferenceKey, customInjector) {
|
|
746
746
|
return new AngularFrameworkDelegate(environmentInjector, injector, this.applicationRef, this.zone, elementReferenceKey, this.config.useSetInputAPI ?? false, customInjector);
|
|
747
747
|
}
|
|
748
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
749
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
748
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: AngularDelegate, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
749
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: AngularDelegate });
|
|
750
750
|
}
|
|
751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: AngularDelegate, decorators: [{
|
|
752
752
|
type: Injectable
|
|
753
753
|
}] });
|
|
754
754
|
class AngularFrameworkDelegate {
|
|
@@ -890,9 +890,18 @@ const attachView = (zone, environmentInjector, injector, applicationRef, elRefMa
|
|
|
890
890
|
hostElement.classList.add(cssClass);
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
const unbindEvents = bindLifecycleEvents(zone, instance, hostElement);
|
|
893
|
+
const unbindEvents = bindLifecycleEvents(zone, componentRef.changeDetectorRef, instance, hostElement);
|
|
894
894
|
container.appendChild(hostElement);
|
|
895
895
|
applicationRef.attachView(componentRef.hostView);
|
|
896
|
+
/**
|
|
897
|
+
* Run change detection on the freshly attached view so Angular's init hooks
|
|
898
|
+
* (`ngOnInit`, `ngAfterViewInit`) fire before the web component dispatches its
|
|
899
|
+
* Ionic lifecycle events (`ionViewWillEnter`, etc.). `createComponent` only runs
|
|
900
|
+
* the creation pass. The init hooks run during an update pass. Under Zone.js an
|
|
901
|
+
* implicit tick used to cover this, but zoneless Angular schedules no such tick,
|
|
902
|
+
* so without this the first `ionViewWillEnter` could run before `ngOnInit`.
|
|
903
|
+
*/
|
|
904
|
+
componentRef.changeDetectorRef.detectChanges();
|
|
896
905
|
elRefMap.set(hostElement, componentRef);
|
|
897
906
|
elEventsMap.set(hostElement, unbindEvents);
|
|
898
907
|
return hostElement;
|
|
@@ -904,10 +913,24 @@ const LIFECYCLES = [
|
|
|
904
913
|
LIFECYCLE_DID_LEAVE,
|
|
905
914
|
LIFECYCLE_WILL_UNLOAD,
|
|
906
915
|
];
|
|
907
|
-
const bindLifecycleEvents = (zone, instance, element) => {
|
|
916
|
+
const bindLifecycleEvents = (zone, changeDetectorRef, instance, element) => {
|
|
917
|
+
/**
|
|
918
|
+
* `zone.run` keeps the listener registration (and, under Zone.js, the handler
|
|
919
|
+
* execution) inside the Angular zone, so async work started inside a lifecycle
|
|
920
|
+
* hook is still zone-tracked. Under zoneless Angular it is a passthrough.
|
|
921
|
+
*/
|
|
908
922
|
return zone.run(() => {
|
|
909
923
|
const unregisters = LIFECYCLES.filter((eventName) => typeof instance[eventName] === 'function').map((eventName) => {
|
|
910
|
-
const handler = (ev) =>
|
|
924
|
+
const handler = (ev) => {
|
|
925
|
+
instance[eventName](ev.detail);
|
|
926
|
+
/**
|
|
927
|
+
* Ionic lifecycle events (`ionViewWillEnter`, etc.) are dispatched from
|
|
928
|
+
* the web component via a native event listener, so under zoneless
|
|
929
|
+
* Angular nothing schedules change detection for state the hook mutates.
|
|
930
|
+
* Mark the view dirty explicitly. This is a no-op-or-better under Zone.js.
|
|
931
|
+
*/
|
|
932
|
+
changeDetectorRef.markForCheck();
|
|
933
|
+
};
|
|
911
934
|
element.addEventListener(eventName, handler);
|
|
912
935
|
return () => element.removeEventListener(eventName, handler);
|
|
913
936
|
});
|
|
@@ -1010,14 +1033,7 @@ const MODAL_METHODS = [
|
|
|
1010
1033
|
'setCurrentBreakpoint',
|
|
1011
1034
|
'getCurrentBreakpoint',
|
|
1012
1035
|
];
|
|
1013
|
-
let IonModal =
|
|
1014
|
-
/**
|
|
1015
|
-
* @Component extends from @Directive
|
|
1016
|
-
* so by defining the inputs here we
|
|
1017
|
-
* do not need to re-define them for the
|
|
1018
|
-
* lazy loaded popover.
|
|
1019
|
-
*/
|
|
1020
|
-
class IonModal {
|
|
1036
|
+
let IonModal = class IonModal {
|
|
1021
1037
|
z;
|
|
1022
1038
|
// TODO(FW-2827): type
|
|
1023
1039
|
template;
|
|
@@ -1049,8 +1065,8 @@ class IonModal {
|
|
|
1049
1065
|
'ionDragEnd',
|
|
1050
1066
|
]);
|
|
1051
1067
|
}
|
|
1052
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1053
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1068
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1069
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: IonModal, isStandalone: true, selector: "ion-modal", inputs: { animated: "animated", keepContentsMounted: "keepContentsMounted", backdropBreakpoint: "backdropBreakpoint", backdropDismiss: "backdropDismiss", breakpoints: "breakpoints", canDismiss: "canDismiss", cssClass: "cssClass", enterAnimation: "enterAnimation", expandToScroll: "expandToScroll", event: "event", focusTrap: "focusTrap", handle: "handle", handleBehavior: "handleBehavior", initialBreakpoint: "initialBreakpoint", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", presentingElement: "presentingElement", showBackdrop: "showBackdrop", translucent: "translucent", trigger: "trigger" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
|
|
1054
1070
|
};
|
|
1055
1071
|
IonModal = __decorate([
|
|
1056
1072
|
ProxyCmp({
|
|
@@ -1064,14 +1080,14 @@ IonModal = __decorate([
|
|
|
1064
1080
|
* lazy loaded popover.
|
|
1065
1081
|
*/
|
|
1066
1082
|
], IonModal);
|
|
1067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonModal, decorators: [{
|
|
1068
1084
|
type: Directive,
|
|
1069
1085
|
args: [{
|
|
1070
1086
|
selector: 'ion-modal',
|
|
1071
1087
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1072
1088
|
inputs: MODAL_INPUTS,
|
|
1073
1089
|
}]
|
|
1074
|
-
}], ctorParameters:
|
|
1090
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { template: [{
|
|
1075
1091
|
type: ContentChild,
|
|
1076
1092
|
args: [TemplateRef, { static: false }]
|
|
1077
1093
|
}] } });
|
|
@@ -1100,14 +1116,7 @@ const POPOVER_INPUTS = [
|
|
|
1100
1116
|
'side',
|
|
1101
1117
|
];
|
|
1102
1118
|
const POPOVER_METHODS = ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss'];
|
|
1103
|
-
let IonPopover =
|
|
1104
|
-
/**
|
|
1105
|
-
* @Component extends from @Directive
|
|
1106
|
-
* so by defining the inputs here we
|
|
1107
|
-
* do not need to re-define them for the
|
|
1108
|
-
* lazy loaded popover.
|
|
1109
|
-
*/
|
|
1110
|
-
class IonPopover {
|
|
1119
|
+
let IonPopover = class IonPopover {
|
|
1111
1120
|
z;
|
|
1112
1121
|
// TODO(FW-2827): type
|
|
1113
1122
|
template;
|
|
@@ -1135,8 +1144,8 @@ class IonPopover {
|
|
|
1135
1144
|
'didDismiss',
|
|
1136
1145
|
]);
|
|
1137
1146
|
}
|
|
1138
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1139
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1147
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonPopover, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1148
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: IonPopover, isStandalone: true, selector: "ion-popover", inputs: { alignment: "alignment", animated: "animated", arrow: "arrow", keepContentsMounted: "keepContentsMounted", backdropDismiss: "backdropDismiss", cssClass: "cssClass", dismissOnSelect: "dismissOnSelect", enterAnimation: "enterAnimation", event: "event", focusTrap: "focusTrap", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", showBackdrop: "showBackdrop", translucent: "translucent", trigger: "trigger", triggerAction: "triggerAction", reference: "reference", size: "size", side: "side" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
|
|
1140
1149
|
};
|
|
1141
1150
|
IonPopover = __decorate([
|
|
1142
1151
|
ProxyCmp({
|
|
@@ -1150,14 +1159,14 @@ IonPopover = __decorate([
|
|
|
1150
1159
|
* lazy loaded popover.
|
|
1151
1160
|
*/
|
|
1152
1161
|
], IonPopover);
|
|
1153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonPopover, decorators: [{
|
|
1154
1163
|
type: Directive,
|
|
1155
1164
|
args: [{
|
|
1156
1165
|
selector: 'ion-popover',
|
|
1157
1166
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1158
1167
|
inputs: POPOVER_INPUTS,
|
|
1159
1168
|
}]
|
|
1160
|
-
}], ctorParameters:
|
|
1169
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { template: [{
|
|
1161
1170
|
type: ContentChild,
|
|
1162
1171
|
args: [TemplateRef, { static: false }]
|
|
1163
1172
|
}] } });
|
|
@@ -1259,7 +1268,7 @@ class StackController {
|
|
|
1259
1268
|
createView(ref, activatedRoute) {
|
|
1260
1269
|
const url = getUrl(this.router, activatedRoute);
|
|
1261
1270
|
const element = ref?.location?.nativeElement;
|
|
1262
|
-
const unlistenEvents = bindLifecycleEvents(this.zone, ref.instance, element);
|
|
1271
|
+
const unlistenEvents = bindLifecycleEvents(this.zone, ref.changeDetectorRef, ref.instance, element);
|
|
1263
1272
|
return {
|
|
1264
1273
|
id: this.nextId++,
|
|
1265
1274
|
stackId: computeStackId(this.tabsPrefix, url),
|
|
@@ -1514,6 +1523,7 @@ const cleanup = (activeRoute, views, viewsSnapshot, location, zone) => {
|
|
|
1514
1523
|
};
|
|
1515
1524
|
|
|
1516
1525
|
// TODO(FW-2827): types
|
|
1526
|
+
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
1517
1527
|
class IonRouterOutlet {
|
|
1518
1528
|
parentOutlet;
|
|
1519
1529
|
nativeEl;
|
|
@@ -1567,6 +1577,7 @@ class IonRouterOutlet {
|
|
|
1567
1577
|
onEnd: (shouldContinue) => this.stackCtrl.endBackTransition(shouldContinue),
|
|
1568
1578
|
}
|
|
1569
1579
|
: undefined;
|
|
1580
|
+
this.nativeEl.swipeGesture = swipe;
|
|
1570
1581
|
}
|
|
1571
1582
|
constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
|
|
1572
1583
|
this.parentOutlet = parentOutlet;
|
|
@@ -1839,10 +1850,10 @@ class IonRouterOutlet {
|
|
|
1839
1850
|
proxy.component = activatedRoute.component;
|
|
1840
1851
|
this.currentActivatedRoute$.next({ component, activatedRoute });
|
|
1841
1852
|
}
|
|
1842
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1843
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1853
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i3.Router }, { token: i0.NgZone }, { token: i3.ActivatedRoute }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1854
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: IonRouterOutlet, isStandalone: true, selector: "ion-router-outlet", inputs: { animated: "animated", animation: "animation", mode: "mode", swipeGesture: "swipeGesture", name: "name" }, outputs: { stackWillChange: "stackWillChange", stackDidChange: "stackDidChange", activateEvents: "activate", deactivateEvents: "deactivate" }, exportAs: ["outlet"], ngImport: i0 });
|
|
1844
1855
|
}
|
|
1845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonRouterOutlet, decorators: [{
|
|
1846
1857
|
type: Directive,
|
|
1847
1858
|
args: [{
|
|
1848
1859
|
selector: 'ion-router-outlet',
|
|
@@ -1850,7 +1861,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1850
1861
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1851
1862
|
inputs: ['animated', 'animation', 'mode', 'swipeGesture'],
|
|
1852
1863
|
}]
|
|
1853
|
-
}], ctorParameters:
|
|
1864
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1854
1865
|
type: Attribute,
|
|
1855
1866
|
args: ['name']
|
|
1856
1867
|
}] }, { type: undefined, decorators: [{
|
|
@@ -1862,7 +1873,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1862
1873
|
type: SkipSelf
|
|
1863
1874
|
}, {
|
|
1864
1875
|
type: Optional
|
|
1865
|
-
}] }]
|
|
1876
|
+
}] }], propDecorators: { name: [{
|
|
1866
1877
|
type: Input
|
|
1867
1878
|
}], stackWillChange: [{
|
|
1868
1879
|
type: Output
|
|
@@ -1956,10 +1967,10 @@ class RoutedComponentInputBinder {
|
|
|
1956
1967
|
});
|
|
1957
1968
|
this.outletDataSubscriptions.set(outlet, dataSubscription);
|
|
1958
1969
|
}
|
|
1959
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1960
|
-
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1970
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1971
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: RoutedComponentInputBinder });
|
|
1961
1972
|
}
|
|
1962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
|
|
1963
1974
|
type: Injectable
|
|
1964
1975
|
}] });
|
|
1965
1976
|
const provideComponentInputBinding = () => {
|
|
@@ -2092,12 +2103,12 @@ class ValueAccessor {
|
|
|
2092
2103
|
});
|
|
2093
2104
|
}
|
|
2094
2105
|
}
|
|
2095
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2096
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2106
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2107
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: ValueAccessor, isStandalone: true, host: { listeners: { "ionBlur": "_handleBlurEvent($event.target)" } }, ngImport: i0 });
|
|
2097
2108
|
}
|
|
2098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: ValueAccessor, decorators: [{
|
|
2099
2110
|
type: Directive
|
|
2100
|
-
}], ctorParameters:
|
|
2111
|
+
}], ctorParameters: () => [{ type: i0.Injector }, { type: i0.ElementRef }], propDecorators: { _handleBlurEvent: [{
|
|
2101
2112
|
type: HostListener,
|
|
2102
2113
|
args: ['ionBlur', ['$event.target']]
|
|
2103
2114
|
}] } });
|
|
@@ -2170,23 +2181,23 @@ let IonBackButton = class IonBackButton {
|
|
|
2170
2181
|
ev.preventDefault();
|
|
2171
2182
|
}
|
|
2172
2183
|
}
|
|
2173
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2174
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2184
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: NavController }, { token: Config }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2185
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: IonBackButton, isStandalone: true, inputs: { color: "color", defaultHref: "defaultHref", disabled: "disabled", icon: "icon", mode: "mode", routerAnimation: "routerAnimation", text: "text", type: "type" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
|
|
2175
2186
|
};
|
|
2176
2187
|
IonBackButton = __decorate([
|
|
2177
2188
|
ProxyCmp({
|
|
2178
2189
|
inputs: BACK_BUTTON_INPUTS,
|
|
2179
2190
|
})
|
|
2180
2191
|
], IonBackButton);
|
|
2181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonBackButton, decorators: [{
|
|
2182
2193
|
type: Directive,
|
|
2183
2194
|
args: [{
|
|
2184
2195
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2185
2196
|
inputs: BACK_BUTTON_INPUTS,
|
|
2186
2197
|
}]
|
|
2187
|
-
}], ctorParameters:
|
|
2198
|
+
}], ctorParameters: () => [{ type: IonRouterOutlet, decorators: [{
|
|
2188
2199
|
type: Optional
|
|
2189
|
-
}] }, { type: NavController }, { type: Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]
|
|
2200
|
+
}] }, { type: NavController }, { type: Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], propDecorators: { onClick: [{
|
|
2190
2201
|
type: HostListener,
|
|
2191
2202
|
args: ['click', ['$event']]
|
|
2192
2203
|
}] } });
|
|
@@ -2217,8 +2228,8 @@ let IonNav = class IonNav {
|
|
|
2217
2228
|
ref.nativeElement.delegate = angularDelegate.create(environmentInjector, injector);
|
|
2218
2229
|
proxyOutputs(this, this.el, ['ionNavDidChange', 'ionNavWillChange']);
|
|
2219
2230
|
}
|
|
2220
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2221
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2231
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token: i0.Injector }, { token: AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2232
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: IonNav, isStandalone: true, inputs: { animated: "animated", animation: "animation", root: "root", rootParams: "rootParams", swipeGesture: "swipeGesture" }, ngImport: i0 });
|
|
2222
2233
|
};
|
|
2223
2234
|
IonNav = __decorate([
|
|
2224
2235
|
ProxyCmp({
|
|
@@ -2226,13 +2237,13 @@ IonNav = __decorate([
|
|
|
2226
2237
|
methods: NAV_METHODS,
|
|
2227
2238
|
})
|
|
2228
2239
|
], IonNav);
|
|
2229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonNav, decorators: [{
|
|
2230
2241
|
type: Directive,
|
|
2231
2242
|
args: [{
|
|
2232
2243
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2233
2244
|
inputs: NAV_INPUTS,
|
|
2234
2245
|
}]
|
|
2235
|
-
}], ctorParameters:
|
|
2246
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }] });
|
|
2236
2247
|
|
|
2237
2248
|
/**
|
|
2238
2249
|
* Adds support for Ionic routing directions and animations to the base Angular router link directive.
|
|
@@ -2313,17 +2324,17 @@ class RouterLinkDelegateDirective {
|
|
|
2313
2324
|
*/
|
|
2314
2325
|
ev.preventDefault();
|
|
2315
2326
|
}
|
|
2316
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2317
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2327
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: RouterLinkDelegateDirective, deps: [{ token: i1.LocationStrategy }, { token: NavController }, { token: i0.ElementRef }, { token: i3.Router }, { token: i3.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2328
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: RouterLinkDelegateDirective, isStandalone: true, selector: ":not(a):not(area)[routerLink]", inputs: { routerDirection: "routerDirection", routerAnimation: "routerAnimation" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 });
|
|
2318
2329
|
}
|
|
2319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: RouterLinkDelegateDirective, decorators: [{
|
|
2320
2331
|
type: Directive,
|
|
2321
2332
|
args: [{
|
|
2322
2333
|
selector: ':not(a):not(area)[routerLink]',
|
|
2323
2334
|
}]
|
|
2324
|
-
}], ctorParameters:
|
|
2335
|
+
}], ctorParameters: () => [{ type: i1.LocationStrategy }, { type: NavController }, { type: i0.ElementRef }, { type: i3.Router }, { type: i3.RouterLink, decorators: [{
|
|
2325
2336
|
type: Optional
|
|
2326
|
-
}] }]
|
|
2337
|
+
}] }], propDecorators: { routerDirection: [{
|
|
2327
2338
|
type: Input
|
|
2328
2339
|
}], routerAnimation: [{
|
|
2329
2340
|
type: Input
|
|
@@ -2364,17 +2375,17 @@ class RouterLinkWithHrefDelegateDirective {
|
|
|
2364
2375
|
onClick() {
|
|
2365
2376
|
this.navCtrl.setDirection(this.routerDirection, undefined, undefined, this.routerAnimation);
|
|
2366
2377
|
}
|
|
2367
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2368
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2378
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: RouterLinkWithHrefDelegateDirective, deps: [{ token: i1.LocationStrategy }, { token: NavController }, { token: i0.ElementRef }, { token: i3.Router }, { token: i3.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2379
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: RouterLinkWithHrefDelegateDirective, isStandalone: true, selector: "a[routerLink],area[routerLink]", inputs: { routerDirection: "routerDirection", routerAnimation: "routerAnimation" }, host: { listeners: { "click": "onClick()" } }, usesOnChanges: true, ngImport: i0 });
|
|
2369
2380
|
}
|
|
2370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: RouterLinkWithHrefDelegateDirective, decorators: [{
|
|
2371
2382
|
type: Directive,
|
|
2372
2383
|
args: [{
|
|
2373
2384
|
selector: 'a[routerLink],area[routerLink]',
|
|
2374
2385
|
}]
|
|
2375
|
-
}], ctorParameters:
|
|
2386
|
+
}], ctorParameters: () => [{ type: i1.LocationStrategy }, { type: NavController }, { type: i0.ElementRef }, { type: i3.Router }, { type: i3.RouterLink, decorators: [{
|
|
2376
2387
|
type: Optional
|
|
2377
|
-
}] }]
|
|
2388
|
+
}] }], propDecorators: { routerDirection: [{
|
|
2378
2389
|
type: Input
|
|
2379
2390
|
}], routerAnimation: [{
|
|
2380
2391
|
type: Input
|
|
@@ -2421,6 +2432,7 @@ const parseHrefExtras = (href) => {
|
|
|
2421
2432
|
extras.fragment = fragment;
|
|
2422
2433
|
return extras;
|
|
2423
2434
|
};
|
|
2435
|
+
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2424
2436
|
class IonTabs {
|
|
2425
2437
|
navCtrl;
|
|
2426
2438
|
tabsInner;
|
|
@@ -2638,15 +2650,15 @@ class IonTabs {
|
|
|
2638
2650
|
this.tabsInner.nativeElement.after(tabBar);
|
|
2639
2651
|
}
|
|
2640
2652
|
}
|
|
2641
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2642
|
-
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2653
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonTabs, deps: [{ token: NavController }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2654
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.14", type: IonTabs, isStandalone: true, selector: "ion-tabs", outputs: { ionTabsWillChange: "ionTabsWillChange", ionTabsDidChange: "ionTabsDidChange" }, host: { listeners: { "ionTabButtonClick": "select($event)" } }, viewQueries: [{ propertyName: "tabsInner", first: true, predicate: ["tabsInner"], descendants: true, read: ElementRef, static: true }], ngImport: i0 });
|
|
2643
2655
|
}
|
|
2644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: IonTabs, decorators: [{
|
|
2645
2657
|
type: Directive,
|
|
2646
2658
|
args: [{
|
|
2647
2659
|
selector: 'ion-tabs',
|
|
2648
2660
|
}]
|
|
2649
|
-
}], ctorParameters:
|
|
2661
|
+
}], ctorParameters: () => [{ type: NavController }], propDecorators: { tabsInner: [{
|
|
2650
2662
|
type: ViewChild,
|
|
2651
2663
|
args: ['tabsInner', { read: ElementRef, static: true }]
|
|
2652
2664
|
}], ionTabsWillChange: [{
|
|
@@ -2743,5 +2755,5 @@ class IonicRouteStrategy {
|
|
|
2743
2755
|
* Generated bundle index. Do not edit.
|
|
2744
2756
|
*/
|
|
2745
2757
|
|
|
2746
|
-
export { AngularDelegate, Config, ConfigToken, DomController, IonBackButton, IonModal, IonModalToken, IonNav, IonPopover, IonRouterOutlet, IonTabs, IonicRouteStrategy, MenuController, NavController, NavParams, OverlayBaseController, Platform, ProxyCmp, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, ValueAccessor,
|
|
2758
|
+
export { AngularDelegate, Config, ConfigToken, DomController, IonBackButton, IonModal, IonModalToken, IonNav, IonPopover, IonRouterOutlet, IonTabs, IonicRouteStrategy, MenuController, NavController, NavParams, OverlayBaseController, Platform, ProxyCmp, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, ValueAccessor, provideComponentInputBinding, raf, setIonicClasses };
|
|
2747
2759
|
//# sourceMappingURL=ionic-angular-common.mjs.map
|