@ionic/angular 8.8.9-dev.11780683233.1c5e9d9b → 8.8.9-dev.11780690883.11fe8a2a
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/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 +68 -79
- 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 +11 -16
- package/schematics/add/index.js +27 -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 +1014 -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
package/app-initialize.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './value-accessor';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ValueAccessor implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
5
|
-
protected injector: Injector;
|
|
6
|
-
protected elementRef: ElementRef;
|
|
7
|
-
private onChange;
|
|
8
|
-
private onTouched;
|
|
9
|
-
protected lastValue: any;
|
|
10
|
-
private statusChanges?;
|
|
11
|
-
constructor(injector: Injector, elementRef: ElementRef);
|
|
12
|
-
writeValue(value: any): void;
|
|
13
|
-
/**
|
|
14
|
-
* Notifies the ControlValueAccessor of a change in the value of the control.
|
|
15
|
-
*
|
|
16
|
-
* This is called by each of the ValueAccessor directives when we want to update
|
|
17
|
-
* the status and validity of the form control. For example with text components this
|
|
18
|
-
* is called when the ionInput event is fired. For select components this is called
|
|
19
|
-
* when the ionChange event is fired.
|
|
20
|
-
*
|
|
21
|
-
* This also updates the Ionic form status classes on the element.
|
|
22
|
-
*
|
|
23
|
-
* @param el The component element.
|
|
24
|
-
* @param value The new value of the control.
|
|
25
|
-
*/
|
|
26
|
-
handleValueChange(el: HTMLElement, value: any): void;
|
|
27
|
-
_handleBlurEvent(el: any): void;
|
|
28
|
-
registerOnChange(fn: (value: any) => void): void;
|
|
29
|
-
registerOnTouched(fn: () => void): void;
|
|
30
|
-
setDisabledState(isDisabled: boolean): void;
|
|
31
|
-
ngOnDestroy(): void;
|
|
32
|
-
ngAfterViewInit(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessor, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessor, never, never, {}, {}, never, never, false, never>;
|
|
35
|
-
}
|
|
36
|
-
export declare const setIonicClasses: (element: ElementRef) => void;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ElementRef, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import type { Components } from '@ionic/core';
|
|
3
|
-
import { Config } from '../../providers/config';
|
|
4
|
-
import { NavController } from '../../providers/nav-controller';
|
|
5
|
-
import { IonRouterOutlet } from './router-outlet';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare interface IonBackButton extends Components.IonBackButton {
|
|
8
|
-
}
|
|
9
|
-
export declare class IonBackButton {
|
|
10
|
-
private routerOutlet;
|
|
11
|
-
private navCtrl;
|
|
12
|
-
private config;
|
|
13
|
-
private r;
|
|
14
|
-
protected z: NgZone;
|
|
15
|
-
protected el: HTMLElement;
|
|
16
|
-
constructor(routerOutlet: IonRouterOutlet, navCtrl: NavController, config: Config, r: ElementRef, z: NgZone, c: ChangeDetectorRef);
|
|
17
|
-
/**
|
|
18
|
-
* @internal
|
|
19
|
-
*/
|
|
20
|
-
onClick(ev: Event): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonBackButton, [{ optional: true; }, null, null, null, null, null]>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IonBackButton, never, never, { "color": { "alias": "color"; "required": false; }; "defaultHref": { "alias": "defaultHref"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "routerAnimation": { "alias": "routerAnimation"; "required": false; }; "text": { "alias": "text"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description
|
|
3
|
-
* NavParams are an object that exists on a page and can contain data for that particular view.
|
|
4
|
-
* Similar to how data was pass to a view in V1 with `$stateParams`, NavParams offer a much more flexible
|
|
5
|
-
* option with a simple `get` method.
|
|
6
|
-
*
|
|
7
|
-
* @usage
|
|
8
|
-
* ```ts
|
|
9
|
-
* import { NavParams } from '@ionic/angular';
|
|
10
|
-
*
|
|
11
|
-
* export class MyClass{
|
|
12
|
-
*
|
|
13
|
-
* constructor(navParams: NavParams){
|
|
14
|
-
* // userParams is an object we have in our nav-parameters
|
|
15
|
-
* navParams.get('userParams');
|
|
16
|
-
* }
|
|
17
|
-
*
|
|
18
|
-
* }
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare class NavParams {
|
|
22
|
-
data: {
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
};
|
|
25
|
-
constructor(data?: {
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
});
|
|
28
|
-
/**
|
|
29
|
-
* Get the value of a nav-parameter for the current view
|
|
30
|
-
*
|
|
31
|
-
* ```ts
|
|
32
|
-
* import { NavParams } from 'ionic-angular';
|
|
33
|
-
*
|
|
34
|
-
* export class MyClass{
|
|
35
|
-
* constructor(public navParams: NavParams){
|
|
36
|
-
* // userParams is an object we have in our nav-parameters
|
|
37
|
-
* this.navParams.get('userParams');
|
|
38
|
-
* }
|
|
39
|
-
* }
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @param param Which param you want to look up
|
|
43
|
-
*/
|
|
44
|
-
get<T = any>(param: string): T;
|
|
45
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Injector, EnvironmentInjector, NgZone, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import type { Components } from '@ionic/core';
|
|
3
|
-
import { AngularDelegate } from '../../providers/angular-delegate';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare interface IonNav extends Components.IonNav {
|
|
6
|
-
/**
|
|
7
|
-
* Event fired when the nav will change components
|
|
8
|
-
*/
|
|
9
|
-
ionNavWillChange: EventEmitter<CustomEvent<void>>;
|
|
10
|
-
/**
|
|
11
|
-
* Event fired when the nav has changed components
|
|
12
|
-
*/
|
|
13
|
-
ionNavDidChange: EventEmitter<CustomEvent<void>>;
|
|
14
|
-
}
|
|
15
|
-
export declare class IonNav {
|
|
16
|
-
protected z: NgZone;
|
|
17
|
-
protected el: HTMLElement;
|
|
18
|
-
constructor(ref: ElementRef, environmentInjector: EnvironmentInjector, injector: Injector, angularDelegate: AngularDelegate, z: NgZone, c: ChangeDetectorRef);
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonNav, never>;
|
|
20
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IonNav, never, never, { "animated": { "alias": "animated"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "root": { "alias": "root"; "required": false; }; "rootParams": { "alias": "rootParams"; "required": false; }; "swipeGesture": { "alias": "swipeGesture"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { LocationStrategy } from '@angular/common';
|
|
2
|
-
import { ElementRef, OnChanges, OnInit } from '@angular/core';
|
|
3
|
-
import { Router, RouterLink } from '@angular/router';
|
|
4
|
-
import type { AnimationBuilder, RouterDirection } from '@ionic/core/components';
|
|
5
|
-
import { NavController } from '../../providers/nav-controller';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Adds support for Ionic routing directions and animations to the base Angular router link directive.
|
|
9
|
-
*
|
|
10
|
-
* When the router link is clicked, the directive will assign the direction and
|
|
11
|
-
* animation so that the routing integration will transition correctly.
|
|
12
|
-
*/
|
|
13
|
-
export declare class RouterLinkDelegateDirective implements OnInit, OnChanges {
|
|
14
|
-
private locationStrategy;
|
|
15
|
-
private navCtrl;
|
|
16
|
-
private elementRef;
|
|
17
|
-
private router;
|
|
18
|
-
private routerLink?;
|
|
19
|
-
routerDirection: RouterDirection;
|
|
20
|
-
routerAnimation?: AnimationBuilder;
|
|
21
|
-
constructor(locationStrategy: LocationStrategy, navCtrl: NavController, elementRef: ElementRef, router: Router, routerLink?: RouterLink | undefined);
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
ngOnChanges(): void;
|
|
24
|
-
/**
|
|
25
|
-
* The `tabindex` is set to `0` by default on the host element when
|
|
26
|
-
* the `routerLink` directive is used. This causes issues with Ionic
|
|
27
|
-
* components that wrap an `a` or `button` element, such as `ion-item`.
|
|
28
|
-
* See issue https://github.com/angular/angular/issues/28345
|
|
29
|
-
*
|
|
30
|
-
* This method removes the `tabindex` attribute from the host element
|
|
31
|
-
* to allow the Ionic component to manage the focus state correctly.
|
|
32
|
-
*/
|
|
33
|
-
private updateTabindex;
|
|
34
|
-
private updateTargetUrlAndHref;
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
|
-
onClick(ev: UIEvent): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkDelegateDirective, [null, null, null, null, { optional: true; }]>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkDelegateDirective, ":not(a):not(area)[routerLink]", never, { "routerDirection": { "alias": "routerDirection"; "required": false; }; "routerAnimation": { "alias": "routerAnimation"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
|
-
}
|
|
42
|
-
export declare class RouterLinkWithHrefDelegateDirective implements OnInit, OnChanges {
|
|
43
|
-
private locationStrategy;
|
|
44
|
-
private navCtrl;
|
|
45
|
-
private elementRef;
|
|
46
|
-
private router;
|
|
47
|
-
private routerLink?;
|
|
48
|
-
routerDirection: RouterDirection;
|
|
49
|
-
routerAnimation?: AnimationBuilder;
|
|
50
|
-
constructor(locationStrategy: LocationStrategy, navCtrl: NavController, elementRef: ElementRef, router: Router, routerLink?: RouterLink | undefined);
|
|
51
|
-
ngOnInit(): void;
|
|
52
|
-
ngOnChanges(): void;
|
|
53
|
-
private updateTargetUrlAndHref;
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
onClick(): void;
|
|
58
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkWithHrefDelegateDirective, [null, null, null, null, { optional: true; }]>;
|
|
59
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkWithHrefDelegateDirective, "a[routerLink],area[routerLink]", never, { "routerDirection": { "alias": "routerDirection"; "required": false; }; "routerAnimation": { "alias": "routerAnimation"; "required": false; }; }, {}, never, never, false, never>;
|
|
60
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { Location } from '@angular/common';
|
|
2
|
-
import { ComponentRef, ElementRef, NgZone, OnDestroy, OnInit, EventEmitter, EnvironmentInjector } from '@angular/core';
|
|
3
|
-
import type { Provider } from '@angular/core';
|
|
4
|
-
import { OutletContext, Router, ActivatedRoute, Data } from '@angular/router';
|
|
5
|
-
import type { AnimationBuilder } from '@ionic/core/components';
|
|
6
|
-
import { RouteView, StackDidChangeEvent, StackWillChangeEvent } from './stack-utils';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare abstract class IonRouterOutlet implements OnDestroy, OnInit {
|
|
9
|
-
readonly parentOutlet?: IonRouterOutlet | undefined;
|
|
10
|
-
abstract outletContent: any;
|
|
11
|
-
nativeEl: HTMLIonRouterOutletElement;
|
|
12
|
-
activatedView: RouteView | null;
|
|
13
|
-
tabsPrefix: string | undefined;
|
|
14
|
-
private _swipeGesture?;
|
|
15
|
-
private stackCtrl;
|
|
16
|
-
private proxyMap;
|
|
17
|
-
private currentActivatedRoute$;
|
|
18
|
-
private activated;
|
|
19
|
-
/** @internal */
|
|
20
|
-
get activatedComponentRef(): ComponentRef<any> | null;
|
|
21
|
-
private _activatedRoute;
|
|
22
|
-
/**
|
|
23
|
-
* The name of the outlet
|
|
24
|
-
*/
|
|
25
|
-
name: string;
|
|
26
|
-
/** @internal */
|
|
27
|
-
stackWillChange: EventEmitter<StackWillChangeEvent>;
|
|
28
|
-
/** @internal */
|
|
29
|
-
stackDidChange: EventEmitter<StackDidChangeEvent>;
|
|
30
|
-
activateEvents: EventEmitter<any>;
|
|
31
|
-
deactivateEvents: EventEmitter<any>;
|
|
32
|
-
private parentContexts;
|
|
33
|
-
private location;
|
|
34
|
-
private environmentInjector;
|
|
35
|
-
private inputBinder;
|
|
36
|
-
/** @nodoc */
|
|
37
|
-
readonly supportsBindingToComponentInputs = true;
|
|
38
|
-
private config;
|
|
39
|
-
private navCtrl;
|
|
40
|
-
set animation(animation: AnimationBuilder);
|
|
41
|
-
set animated(animated: boolean);
|
|
42
|
-
set swipeGesture(swipe: boolean);
|
|
43
|
-
constructor(name: string, tabs: string, commonLocation: Location, elementRef: ElementRef, router: Router, zone: NgZone, activatedRoute: ActivatedRoute, parentOutlet?: IonRouterOutlet | undefined);
|
|
44
|
-
ngOnDestroy(): void;
|
|
45
|
-
getContext(): OutletContext | null;
|
|
46
|
-
ngOnInit(): void;
|
|
47
|
-
private initializeOutletWithName;
|
|
48
|
-
get isActivated(): boolean;
|
|
49
|
-
get component(): Record<string, unknown>;
|
|
50
|
-
get activatedRoute(): ActivatedRoute;
|
|
51
|
-
get activatedRouteData(): Data;
|
|
52
|
-
/**
|
|
53
|
-
* Called when the `RouteReuseStrategy` instructs to detach the subtree
|
|
54
|
-
*/
|
|
55
|
-
detach(): ComponentRef<any>;
|
|
56
|
-
/**
|
|
57
|
-
* Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree
|
|
58
|
-
*/
|
|
59
|
-
attach(_ref: ComponentRef<any>, _activatedRoute: ActivatedRoute): void;
|
|
60
|
-
deactivate(): void;
|
|
61
|
-
activateWith(activatedRoute: ActivatedRoute, environmentInjector: EnvironmentInjector | null): void;
|
|
62
|
-
/**
|
|
63
|
-
* Returns `true` if there are pages in the stack to go back.
|
|
64
|
-
*/
|
|
65
|
-
canGoBack(deep?: number, stackId?: string): boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Resolves to `true` if it the outlet was able to sucessfully pop the last N pages.
|
|
68
|
-
*/
|
|
69
|
-
pop(deep?: number, stackId?: string): Promise<boolean>;
|
|
70
|
-
/**
|
|
71
|
-
* Returns the URL of the active page of each stack.
|
|
72
|
-
*/
|
|
73
|
-
getLastUrl(stackId?: string): string | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* Returns the RouteView of the active page of each stack.
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
getLastRouteView(stackId?: string): RouteView | undefined;
|
|
79
|
-
/**
|
|
80
|
-
* Returns the root view in the tab stack.
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
getRootView(stackId?: string): RouteView | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* Returns the active stack ID. In the context of ion-tabs, it means the active tab.
|
|
86
|
-
*/
|
|
87
|
-
getActiveStackId(): string | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Since the activated route can change over the life time of a component in an ion router outlet, we create
|
|
90
|
-
* a proxy so that we can update the values over time as a user navigates back to components already in the stack.
|
|
91
|
-
*/
|
|
92
|
-
private createActivatedRouteProxy;
|
|
93
|
-
/**
|
|
94
|
-
* Create a wrapped observable that will switch to the latest activated route matched by the given component
|
|
95
|
-
*/
|
|
96
|
-
private proxyObservable;
|
|
97
|
-
/**
|
|
98
|
-
* Updates the activated route proxy for the given component to the new incoming router state
|
|
99
|
-
*/
|
|
100
|
-
private updateActivatedRouteProxy;
|
|
101
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonRouterOutlet, [{ attribute: "name"; }, { attribute: "tabs"; optional: true; }, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
|
|
102
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IonRouterOutlet, "ion-router-outlet", ["outlet"], { "animated": { "alias": "animated"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "swipeGesture": { "alias": "swipeGesture"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "stackWillChange": "stackWillChange"; "stackDidChange": "stackDidChange"; "activateEvents": "activate"; "deactivateEvents": "deactivate"; }, never, never, false, never>;
|
|
103
|
-
}
|
|
104
|
-
export declare const provideComponentInputBinding: () => Provider;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Location } from '@angular/common';
|
|
2
|
-
import { ComponentRef, NgZone } from '@angular/core';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { NavController } from '../../providers/nav-controller';
|
|
5
|
-
import { RouteView, StackDidChangeEvent } from './stack-utils';
|
|
6
|
-
export declare class StackController {
|
|
7
|
-
private containerEl;
|
|
8
|
-
private router;
|
|
9
|
-
private navCtrl;
|
|
10
|
-
private zone;
|
|
11
|
-
private location;
|
|
12
|
-
private views;
|
|
13
|
-
private runningTask?;
|
|
14
|
-
private skipTransition;
|
|
15
|
-
private tabsPrefix;
|
|
16
|
-
private activeView;
|
|
17
|
-
private nextId;
|
|
18
|
-
constructor(tabsPrefix: string | undefined, containerEl: HTMLIonRouterOutletElement, router: Router, navCtrl: NavController, zone: NgZone, location: Location);
|
|
19
|
-
createView(ref: ComponentRef<any>, activatedRoute: ActivatedRoute): RouteView;
|
|
20
|
-
getExistingView(activatedRoute: ActivatedRoute): RouteView | undefined;
|
|
21
|
-
setActive(enteringView: RouteView): Promise<StackDidChangeEvent>;
|
|
22
|
-
canGoBack(deep: number, stackId?: string | undefined): boolean;
|
|
23
|
-
pop(deep: number, stackId?: string | undefined): Promise<boolean>;
|
|
24
|
-
startBackTransition(): Promise<boolean> | Promise<void>;
|
|
25
|
-
endBackTransition(shouldComplete: boolean): void;
|
|
26
|
-
getLastUrl(stackId?: string): RouteView | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* @internal
|
|
29
|
-
*/
|
|
30
|
-
getRootUrl(stackId?: string): RouteView | undefined;
|
|
31
|
-
getActiveStackId(): string | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
35
|
-
getActiveView(): RouteView | undefined;
|
|
36
|
-
hasRunningTask(): boolean;
|
|
37
|
-
destroy(): void;
|
|
38
|
-
private getStack;
|
|
39
|
-
private insertView;
|
|
40
|
-
private transition;
|
|
41
|
-
private wait;
|
|
42
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { ComponentRef } from '@angular/core';
|
|
2
|
-
import { ActivatedRoute, NavigationExtras, Router } from '@angular/router';
|
|
3
|
-
import type { AnimationBuilder, NavDirection, RouterDirection } from '@ionic/core/components';
|
|
4
|
-
export declare const insertView: (views: RouteView[], view: RouteView, direction: RouterDirection) => RouteView[];
|
|
5
|
-
export declare const getUrl: (router: Router, activatedRoute: ActivatedRoute) => string;
|
|
6
|
-
export declare const isTabSwitch: (enteringView: RouteView, leavingView: RouteView | undefined) => boolean;
|
|
7
|
-
export declare const computeStackId: (prefixUrl: string[] | undefined, url: string) => string | undefined;
|
|
8
|
-
export declare const toSegments: (path: string) => string[];
|
|
9
|
-
export declare const destroyView: (view: RouteView | undefined) => void;
|
|
10
|
-
export interface StackWillChangeEvent {
|
|
11
|
-
enteringView: RouteView;
|
|
12
|
-
/**
|
|
13
|
-
* `true` if the event is trigged as a result of a switch
|
|
14
|
-
* between tab navigation stacks.
|
|
15
|
-
*/
|
|
16
|
-
tabSwitch: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface StackDidChangeEvent {
|
|
19
|
-
enteringView: RouteView;
|
|
20
|
-
direction: RouterDirection;
|
|
21
|
-
animation: NavDirection | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* `true` if the event is trigged as a result of a switch
|
|
24
|
-
* between tab navigation stacks.
|
|
25
|
-
*/
|
|
26
|
-
tabSwitch: boolean;
|
|
27
|
-
}
|
|
28
|
-
export interface RouteView {
|
|
29
|
-
id: number;
|
|
30
|
-
url: string;
|
|
31
|
-
stackId: string | undefined;
|
|
32
|
-
element: HTMLElement;
|
|
33
|
-
ref: ComponentRef<any>;
|
|
34
|
-
savedData?: any;
|
|
35
|
-
savedExtras?: NavigationExtras;
|
|
36
|
-
unlistenEvents: () => void;
|
|
37
|
-
animationBuilder?: AnimationBuilder;
|
|
38
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { AfterContentChecked, AfterContentInit, ElementRef, EventEmitter, AfterViewInit, QueryList } from '@angular/core';
|
|
2
|
-
import { NavController } from '../../providers/nav-controller';
|
|
3
|
-
import { StackDidChangeEvent, StackWillChangeEvent } from './stack-utils';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare abstract class IonTabs implements AfterViewInit, AfterContentInit, AfterContentChecked {
|
|
6
|
-
private navCtrl;
|
|
7
|
-
/**
|
|
8
|
-
* Note: These must be redeclared on each child class since it needs
|
|
9
|
-
* access to generated components such as IonRouterOutlet and IonTabBar.
|
|
10
|
-
*/
|
|
11
|
-
abstract outlet: any;
|
|
12
|
-
abstract tabBar: any;
|
|
13
|
-
abstract tabBars: QueryList<any>;
|
|
14
|
-
abstract tabs: QueryList<any>;
|
|
15
|
-
tabsInner: ElementRef<HTMLDivElement>;
|
|
16
|
-
/**
|
|
17
|
-
* Emitted before the tab view is changed.
|
|
18
|
-
*/
|
|
19
|
-
ionTabsWillChange: EventEmitter<{
|
|
20
|
-
tab: string;
|
|
21
|
-
}>;
|
|
22
|
-
/**
|
|
23
|
-
* Emitted after the tab view is changed.
|
|
24
|
-
*/
|
|
25
|
-
ionTabsDidChange: EventEmitter<{
|
|
26
|
-
tab: string;
|
|
27
|
-
}>;
|
|
28
|
-
private tabBarSlot;
|
|
29
|
-
private hasTab;
|
|
30
|
-
private selectedTab?;
|
|
31
|
-
private leavingTab?;
|
|
32
|
-
constructor(navCtrl: NavController);
|
|
33
|
-
ngAfterViewInit(): void;
|
|
34
|
-
ngAfterContentInit(): void;
|
|
35
|
-
ngAfterContentChecked(): void;
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
onStackWillChange({ enteringView, tabSwitch }: StackWillChangeEvent): void;
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
|
-
onStackDidChange({ enteringView, tabSwitch }: StackDidChangeEvent): void;
|
|
44
|
-
/**
|
|
45
|
-
* When a tab button is clicked, there are several scenarios:
|
|
46
|
-
* 1. If the selected tab is currently active (the tab button has been clicked
|
|
47
|
-
* again), then it should go to the root view for that tab.
|
|
48
|
-
*
|
|
49
|
-
* a. Get the saved root view from the router outlet. If the saved root view
|
|
50
|
-
* matches the tabRootUrl, set the route view to this view including the
|
|
51
|
-
* navigation extras. Any `queryParams` or `fragment` declared on the tab
|
|
52
|
-
* button's `href` are also forwarded.
|
|
53
|
-
* b. If the saved root view from the router outlet does not match, navigate
|
|
54
|
-
* to the tabRootUrl, forwarding any `queryParams`/`fragment` declared on
|
|
55
|
-
* the tab button's `href`.
|
|
56
|
-
*
|
|
57
|
-
* 2. If the current tab tab is not currently selected, get the last route
|
|
58
|
-
* view from the router outlet.
|
|
59
|
-
*
|
|
60
|
-
* a. If the last route view exists, navigate to that view including any
|
|
61
|
-
* navigation extras.
|
|
62
|
-
* b. If the last route view doesn't exist, then navigate to the default
|
|
63
|
-
* tabRootUrl, forwarding any `queryParams`/`fragment` declared on the
|
|
64
|
-
* tab button's `href`.
|
|
65
|
-
*/
|
|
66
|
-
select(tabOrEvent: string | CustomEvent): Promise<boolean> | undefined;
|
|
67
|
-
private setActiveTab;
|
|
68
|
-
private tabSwitch;
|
|
69
|
-
getSelected(): string | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* Detects changes to the slot attribute of the tab bar.
|
|
72
|
-
*
|
|
73
|
-
* If the slot attribute has changed, then the tab bar
|
|
74
|
-
* should be relocated to the new slot position.
|
|
75
|
-
*/
|
|
76
|
-
private detectSlotChanges;
|
|
77
|
-
/**
|
|
78
|
-
* Relocates the tab bar to the new slot position.
|
|
79
|
-
*/
|
|
80
|
-
private relocateTabBar;
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonTabs, never>;
|
|
82
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IonTabs, "ion-tabs", never, {}, { "ionTabsWillChange": "ionTabsWillChange"; "ionTabsDidChange": "ionTabsDidChange"; }, never, never, false, never>;
|
|
83
|
-
}
|
package/common/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export { DomController } from './providers/dom-controller';
|
|
2
|
-
export { MenuController } from './providers/menu-controller';
|
|
3
|
-
export { NavController } from './providers/nav-controller';
|
|
4
|
-
export { Config, ConfigToken } from './providers/config';
|
|
5
|
-
export { Platform } from './providers/platform';
|
|
6
|
-
export { AngularDelegate, bindLifecycleEvents, IonModalToken } from './providers/angular-delegate';
|
|
7
|
-
export type { IonicWindow } from './types/interfaces';
|
|
8
|
-
export type { ViewDidEnter, ViewDidLeave, ViewWillEnter, ViewWillLeave } from './types/ionic-lifecycle-hooks';
|
|
9
|
-
export type { ModalOptions, PopoverOptions } from './types/overlay-options';
|
|
10
|
-
export { NavParams } from './directives/navigation/nav-params';
|
|
11
|
-
export { IonModal } from './overlays/modal';
|
|
12
|
-
export { IonPopover } from './overlays/popover';
|
|
13
|
-
export { IonRouterOutlet, provideComponentInputBinding } from './directives/navigation/router-outlet';
|
|
14
|
-
export * from './directives/control-value-accessors';
|
|
15
|
-
export { IonBackButton } from './directives/navigation/back-button';
|
|
16
|
-
export { IonNav } from './directives/navigation/nav';
|
|
17
|
-
export { RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, } from './directives/navigation/router-link-delegate';
|
|
18
|
-
export { IonTabs } from './directives/navigation/tabs';
|
|
19
|
-
export { ProxyCmp } from './utils/proxy';
|
|
20
|
-
export { OverlayBaseController } from './utils/overlay';
|
|
21
|
-
export { IonicRouteStrategy } from './utils/routing';
|
|
22
|
-
export { raf } from './utils/util';
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, TemplateRef } from '@angular/core';
|
|
2
|
-
import type { Components, ModalBreakpointChangeEventDetail, ModalDragEventDetail } from '@ionic/core/components';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare interface IonModal extends Components.IonModal {
|
|
5
|
-
/**
|
|
6
|
-
* Emitted after the modal has presented.
|
|
7
|
-
**/
|
|
8
|
-
ionModalDidPresent: EventEmitter<CustomEvent>;
|
|
9
|
-
/**
|
|
10
|
-
* Emitted before the modal has presented.
|
|
11
|
-
*/
|
|
12
|
-
ionModalWillPresent: EventEmitter<CustomEvent>;
|
|
13
|
-
/**
|
|
14
|
-
* Emitted before the modal has dismissed.
|
|
15
|
-
*/
|
|
16
|
-
ionModalWillDismiss: EventEmitter<CustomEvent>;
|
|
17
|
-
/**
|
|
18
|
-
* Emitted after the modal has dismissed.
|
|
19
|
-
*/
|
|
20
|
-
ionModalDidDismiss: EventEmitter<CustomEvent>;
|
|
21
|
-
/**
|
|
22
|
-
* Emitted after the modal breakpoint has changed.
|
|
23
|
-
*/
|
|
24
|
-
ionBreakpointDidChange: EventEmitter<CustomEvent<ModalBreakpointChangeEventDetail>>;
|
|
25
|
-
/**
|
|
26
|
-
* Emitted when the sheet or card modal has started being dragged.
|
|
27
|
-
*/
|
|
28
|
-
ionDragStart: EventEmitter<void>;
|
|
29
|
-
/**
|
|
30
|
-
* Emitted while the sheet or card modal is being dragged.
|
|
31
|
-
*/
|
|
32
|
-
ionDragMove: EventEmitter<CustomEvent<ModalDragEventDetail>>;
|
|
33
|
-
/**
|
|
34
|
-
* Emitted when the sheet or card modal has finished being dragged.
|
|
35
|
-
*/
|
|
36
|
-
ionDragEnd: EventEmitter<CustomEvent<ModalDragEventDetail>>;
|
|
37
|
-
/**
|
|
38
|
-
* Emitted after the modal has presented. Shorthand for ionModalDidPresent.
|
|
39
|
-
*/
|
|
40
|
-
didPresent: EventEmitter<CustomEvent>;
|
|
41
|
-
/**
|
|
42
|
-
* Emitted before the modal has presented. Shorthand for ionModalWillPresent.
|
|
43
|
-
*/
|
|
44
|
-
willPresent: EventEmitter<CustomEvent>;
|
|
45
|
-
/**
|
|
46
|
-
* Emitted before the modal has dismissed. Shorthand for ionModalWillDismiss.
|
|
47
|
-
*/
|
|
48
|
-
willDismiss: EventEmitter<CustomEvent>;
|
|
49
|
-
/**
|
|
50
|
-
* Emitted after the modal has dismissed. Shorthand for ionModalDidDismiss.
|
|
51
|
-
*/
|
|
52
|
-
didDismiss: EventEmitter<CustomEvent>;
|
|
53
|
-
}
|
|
54
|
-
export declare class IonModal {
|
|
55
|
-
protected z: NgZone;
|
|
56
|
-
template: TemplateRef<any>;
|
|
57
|
-
isCmpOpen: boolean;
|
|
58
|
-
protected el: HTMLElement;
|
|
59
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonModal, never>;
|
|
61
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IonModal, "ion-modal", never, { "animated": { "alias": "animated"; "required": false; }; "keepContentsMounted": { "alias": "keepContentsMounted"; "required": false; }; "backdropBreakpoint": { "alias": "backdropBreakpoint"; "required": false; }; "backdropDismiss": { "alias": "backdropDismiss"; "required": false; }; "breakpoints": { "alias": "breakpoints"; "required": false; }; "canDismiss": { "alias": "canDismiss"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "enterAnimation": { "alias": "enterAnimation"; "required": false; }; "expandToScroll": { "alias": "expandToScroll"; "required": false; }; "event": { "alias": "event"; "required": false; }; "focusTrap": { "alias": "focusTrap"; "required": false; }; "handle": { "alias": "handle"; "required": false; }; "handleBehavior": { "alias": "handleBehavior"; "required": false; }; "initialBreakpoint": { "alias": "initialBreakpoint"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "keyboardClose": { "alias": "keyboardClose"; "required": false; }; "leaveAnimation": { "alias": "leaveAnimation"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "presentingElement": { "alias": "presentingElement"; "required": false; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; }; "translucent": { "alias": "translucent"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; }, {}, ["template"], never, false, never>;
|
|
62
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, TemplateRef } from '@angular/core';
|
|
2
|
-
import type { Components } from '@ionic/core/components';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare interface IonPopover extends Components.IonPopover {
|
|
5
|
-
/**
|
|
6
|
-
* Emitted after the popover has presented.
|
|
7
|
-
*/
|
|
8
|
-
ionPopoverDidPresent: EventEmitter<CustomEvent>;
|
|
9
|
-
/**
|
|
10
|
-
* Emitted before the popover has presented.
|
|
11
|
-
*/
|
|
12
|
-
ionPopoverWillPresent: EventEmitter<CustomEvent>;
|
|
13
|
-
/**
|
|
14
|
-
* Emitted after the popover has dismissed.
|
|
15
|
-
*/
|
|
16
|
-
ionPopoverWillDismiss: EventEmitter<CustomEvent>;
|
|
17
|
-
/**
|
|
18
|
-
* Emitted after the popover has dismissed.
|
|
19
|
-
*/
|
|
20
|
-
ionPopoverDidDismiss: EventEmitter<CustomEvent>;
|
|
21
|
-
/**
|
|
22
|
-
* Emitted after the popover has presented. Shorthand for ionPopoverDidPresent.
|
|
23
|
-
*/
|
|
24
|
-
didPresent: EventEmitter<CustomEvent>;
|
|
25
|
-
/**
|
|
26
|
-
* Emitted before the popover has presented. Shorthand for ionPopoverWillPresent.
|
|
27
|
-
*/
|
|
28
|
-
willPresent: EventEmitter<CustomEvent>;
|
|
29
|
-
/**
|
|
30
|
-
* Emitted after the popover has presented. Shorthand for ionPopoverWillDismiss.
|
|
31
|
-
*/
|
|
32
|
-
willDismiss: EventEmitter<CustomEvent>;
|
|
33
|
-
/**
|
|
34
|
-
* Emitted after the popover has dismissed. Shorthand for ionPopoverDidDismiss.
|
|
35
|
-
*/
|
|
36
|
-
didDismiss: EventEmitter<CustomEvent>;
|
|
37
|
-
}
|
|
38
|
-
export declare class IonPopover {
|
|
39
|
-
protected z: NgZone;
|
|
40
|
-
template: TemplateRef<any>;
|
|
41
|
-
isCmpOpen: boolean;
|
|
42
|
-
protected el: HTMLElement;
|
|
43
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonPopover, never>;
|
|
45
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IonPopover, "ion-popover", never, { "alignment": { "alias": "alignment"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; "arrow": { "alias": "arrow"; "required": false; }; "keepContentsMounted": { "alias": "keepContentsMounted"; "required": false; }; "backdropDismiss": { "alias": "backdropDismiss"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "dismissOnSelect": { "alias": "dismissOnSelect"; "required": false; }; "enterAnimation": { "alias": "enterAnimation"; "required": false; }; "event": { "alias": "event"; "required": false; }; "focusTrap": { "alias": "focusTrap"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "keyboardClose": { "alias": "keyboardClose"; "required": false; }; "leaveAnimation": { "alias": "leaveAnimation"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; }; "translucent": { "alias": "translucent"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "triggerAction": { "alias": "triggerAction"; "required": false; }; "reference": { "alias": "reference"; "required": false; }; "size": { "alias": "size"; "required": false; }; "side": { "alias": "side"; "required": false; }; }, {}, ["template"], never, false, never>;
|
|
46
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentRef, EnvironmentInjector, InjectionToken, Injector, NgZone } from '@angular/core';
|
|
2
|
-
import { FrameworkDelegate } from '@ionic/core/components';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const IonModalToken: InjectionToken<HTMLIonModalElement>;
|
|
5
|
-
export declare class AngularDelegate {
|
|
6
|
-
private zone;
|
|
7
|
-
private applicationRef;
|
|
8
|
-
private config;
|
|
9
|
-
create(environmentInjector: EnvironmentInjector, injector: Injector, elementReferenceKey?: string, customInjector?: Injector): AngularFrameworkDelegate;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AngularDelegate, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AngularDelegate>;
|
|
12
|
-
}
|
|
13
|
-
export declare class AngularFrameworkDelegate implements FrameworkDelegate {
|
|
14
|
-
private environmentInjector;
|
|
15
|
-
private injector;
|
|
16
|
-
private applicationRef;
|
|
17
|
-
private zone;
|
|
18
|
-
private elementReferenceKey?;
|
|
19
|
-
private enableSignalsSupport?;
|
|
20
|
-
private customInjector?;
|
|
21
|
-
private elRefMap;
|
|
22
|
-
private elEventsMap;
|
|
23
|
-
constructor(environmentInjector: EnvironmentInjector, injector: Injector, applicationRef: ApplicationRef, zone: NgZone, elementReferenceKey?: string | undefined, enableSignalsSupport?: boolean | undefined, customInjector?: Injector | undefined);
|
|
24
|
-
attachViewToDom(container: any, component: any, params?: any, cssClasses?: string[]): Promise<any>;
|
|
25
|
-
removeViewFromDom(_container: any, component: any): Promise<void>;
|
|
26
|
-
}
|
|
27
|
-
export declare const attachView: (zone: NgZone, environmentInjector: EnvironmentInjector, injector: Injector, applicationRef: ApplicationRef, elRefMap: WeakMap<HTMLElement, ComponentRef<any>>, elEventsMap: WeakMap<HTMLElement, () => void>, container: any, component: any, params: any, cssClasses: string[] | undefined, elementReferenceKey: string | undefined, enableSignalsSupport: boolean | undefined, customInjector?: Injector) => any;
|
|
28
|
-
export declare const bindLifecycleEvents: (zone: NgZone, instance: any, element: HTMLElement) => (() => void);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import type { IonicConfig } from '@ionic/core/components';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class Config {
|
|
5
|
-
get(key: keyof IonicConfig, fallback?: any): any;
|
|
6
|
-
getBoolean(key: keyof IonicConfig, fallback?: boolean): boolean;
|
|
7
|
-
getNumber(key: keyof IonicConfig, fallback?: number): number;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Config, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Config>;
|
|
10
|
-
}
|
|
11
|
-
export declare const ConfigToken: InjectionToken<any>;
|