@ionic/angular 8.8.9-dev.11780414486.1df2bd72 → 8.8.9-dev.11780493108.1d8e1a89

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.
Files changed (243) hide show
  1. package/app-initialize.d.ts +3 -0
  2. package/common/directives/control-value-accessors/index.d.ts +1 -0
  3. package/common/directives/control-value-accessors/value-accessor.d.ts +36 -0
  4. package/common/directives/navigation/back-button.d.ts +23 -0
  5. package/common/directives/navigation/nav-params.d.ts +45 -0
  6. package/common/directives/navigation/nav.d.ts +21 -0
  7. package/common/directives/navigation/router-link-delegate.d.ts +60 -0
  8. package/common/directives/navigation/router-outlet.d.ts +104 -0
  9. package/common/directives/navigation/stack-controller.d.ts +42 -0
  10. package/common/directives/navigation/stack-utils.d.ts +38 -0
  11. package/common/directives/navigation/tabs.d.ts +83 -0
  12. package/common/index.d.ts +22 -0
  13. package/common/overlays/modal.d.ts +62 -0
  14. package/common/overlays/popover.d.ts +46 -0
  15. package/common/providers/angular-delegate.d.ts +28 -0
  16. package/common/providers/config.d.ts +11 -0
  17. package/common/providers/dom-controller.d.ts +16 -0
  18. package/common/providers/menu-controller.d.ts +78 -0
  19. package/common/providers/nav-controller.d.ts +116 -0
  20. package/common/providers/platform.d.ts +174 -0
  21. package/common/types/interfaces.d.ts +8 -0
  22. package/common/types/ionic-lifecycle-hooks.d.ts +27 -0
  23. package/common/types/overlay-options.d.ts +16 -0
  24. package/common/utils/overlay.d.ts +21 -0
  25. package/common/utils/proxy.d.ts +8 -0
  26. package/common/utils/routing.d.ts +28 -0
  27. package/common/utils/util.d.ts +1 -0
  28. package/css/core.css +1 -1
  29. package/css/core.css.map +1 -1
  30. package/css/display.css +1 -1
  31. package/css/display.css.map +1 -1
  32. package/css/flex-utils.css +1 -1
  33. package/css/flex-utils.css.map +1 -1
  34. package/css/float-elements.css.map +1 -1
  35. package/css/global.bundle.css.map +1 -1
  36. package/css/ionic/bundle.ionic.css +1 -0
  37. package/css/ionic/bundle.ionic.css.map +1 -0
  38. package/css/ionic/core.ionic.css +1 -0
  39. package/css/ionic/core.ionic.css.map +1 -0
  40. package/css/ionic/global.bundle.ionic.css +1 -0
  41. package/css/ionic/global.bundle.ionic.css.map +1 -0
  42. package/css/ionic/ionic-swiper.ionic.css +1 -0
  43. package/css/ionic/ionic-swiper.ionic.css.map +1 -0
  44. package/css/ionic/link.ionic.css +1 -0
  45. package/css/ionic/link.ionic.css.map +1 -0
  46. package/css/ionic/structure.ionic.css +1 -0
  47. package/css/ionic/structure.ionic.css.map +1 -0
  48. package/css/ionic/typography.ionic.css +1 -0
  49. package/css/ionic/typography.ionic.css.map +1 -0
  50. package/css/ionic/utils.bundle.ionic.css +1 -0
  51. package/css/ionic/utils.bundle.ionic.css.map +1 -0
  52. package/css/ionic-swiper.css +1 -1
  53. package/css/ionic-swiper.css.map +1 -1
  54. package/css/ionic.bundle.css +1 -1
  55. package/css/ionic.bundle.css.map +1 -1
  56. package/css/normalize.css.map +1 -1
  57. package/css/padding.css.map +1 -1
  58. package/css/palettes/dark.always.css.map +1 -1
  59. package/css/palettes/dark.class.css.map +1 -1
  60. package/css/palettes/dark.system.css.map +1 -1
  61. package/css/palettes/high-contrast-dark.always.css.map +1 -1
  62. package/css/palettes/high-contrast-dark.class.css.map +1 -1
  63. package/css/palettes/high-contrast-dark.system.css.map +1 -1
  64. package/css/palettes/high-contrast.always.css.map +1 -1
  65. package/css/palettes/high-contrast.class.css.map +1 -1
  66. package/css/palettes/high-contrast.system.css.map +1 -1
  67. package/css/structure.css.map +1 -1
  68. package/css/text-alignment.css.map +1 -1
  69. package/css/text-transformation.css.map +1 -1
  70. package/css/typography.css.map +1 -1
  71. package/css/utils.bundle.css +1 -1
  72. package/css/utils.bundle.css.map +1 -1
  73. package/directives/angular-component-lib/utils.d.ts +9 -0
  74. package/directives/control-value-accessors/boolean-value-accessor.d.ts +10 -0
  75. package/directives/control-value-accessors/index.d.ts +4 -0
  76. package/directives/control-value-accessors/numeric-value-accessor.d.ts +11 -0
  77. package/directives/control-value-accessors/select-value-accessor.d.ts +9 -0
  78. package/directives/control-value-accessors/text-value-accessor.d.ts +9 -0
  79. package/directives/navigation/ion-back-button.d.ts +9 -0
  80. package/directives/navigation/ion-nav.d.ts +8 -0
  81. package/directives/navigation/ion-router-outlet.d.ts +25 -0
  82. package/directives/navigation/ion-tabs.d.ts +13 -0
  83. package/directives/navigation/router-link-delegate.d.ts +16 -0
  84. package/directives/overlays/modal.d.ts +6 -0
  85. package/directives/overlays/popover.d.ts +6 -0
  86. package/directives/proxies-list.d.ts +2 -0
  87. package/{types/ionic-angular.d.ts → directives/proxies.d.ts} +408 -642
  88. package/directives/validators/index.d.ts +2 -0
  89. package/directives/validators/max-validator.d.ts +12 -0
  90. package/directives/validators/min-validator.d.ts +12 -0
  91. package/esm2022/app-initialize.mjs +29 -0
  92. package/esm2022/common/directives/control-value-accessors/index.mjs +2 -0
  93. package/esm2022/common/directives/control-value-accessors/value-accessor.mjs +153 -0
  94. package/esm2022/common/directives/navigation/back-button.mjs +61 -0
  95. package/esm2022/common/directives/navigation/nav-params.mjs +47 -0
  96. package/esm2022/common/directives/navigation/nav.mjs +49 -0
  97. package/esm2022/common/directives/navigation/router-link-delegate.mjs +156 -0
  98. package/esm2022/common/directives/navigation/router-outlet.mjs +480 -0
  99. package/esm2022/common/directives/navigation/stack-controller.mjs +280 -0
  100. package/esm2022/common/directives/navigation/stack-utils.mjs +73 -0
  101. package/esm2022/common/directives/navigation/tabs.mjs +279 -0
  102. package/esm2022/common/index.mjs +20 -0
  103. package/esm2022/common/ionic-angular-common.mjs +5 -0
  104. package/esm2022/common/overlays/modal.mjs +103 -0
  105. package/esm2022/common/overlays/popover.mjs +91 -0
  106. package/esm2022/common/providers/angular-delegate.mjs +203 -0
  107. package/esm2022/common/providers/config.mjs +45 -0
  108. package/esm2022/common/providers/dom-controller.mjs +45 -0
  109. package/esm2022/common/providers/menu-controller.mjs +114 -0
  110. package/esm2022/common/providers/nav-controller.mjs +235 -0
  111. package/esm2022/common/providers/platform.mjs +258 -0
  112. package/esm2022/common/types/interfaces.mjs +2 -0
  113. package/esm2022/common/types/ionic-lifecycle-hooks.mjs +5 -0
  114. package/esm2022/common/types/overlay-options.mjs +2 -0
  115. package/esm2022/common/utils/overlay.mjs +26 -0
  116. package/esm2022/common/utils/proxy.mjs +47 -0
  117. package/esm2022/common/utils/routing.mjs +55 -0
  118. package/esm2022/common/utils/util.mjs +10 -0
  119. package/esm2022/directives/angular-component-lib/utils.mjs +59 -0
  120. package/esm2022/directives/control-value-accessors/boolean-value-accessor.mjs +42 -0
  121. package/esm2022/directives/control-value-accessors/index.mjs +5 -0
  122. package/esm2022/directives/control-value-accessors/numeric-value-accessor.mjs +50 -0
  123. package/esm2022/directives/control-value-accessors/select-value-accessor.mjs +39 -0
  124. package/esm2022/directives/control-value-accessors/text-value-accessor.mjs +38 -0
  125. package/esm2022/directives/navigation/ion-back-button.mjs +24 -0
  126. package/esm2022/directives/navigation/ion-nav.mjs +21 -0
  127. package/esm2022/directives/navigation/ion-router-outlet.mjs +52 -0
  128. package/esm2022/directives/navigation/ion-tabs.mjs +59 -0
  129. package/esm2022/directives/navigation/router-link-delegate.mjs +32 -0
  130. package/esm2022/directives/overlays/modal.mjs +22 -0
  131. package/esm2022/directives/overlays/popover.mjs +18 -0
  132. package/esm2022/directives/proxies-list.mjs +92 -0
  133. package/esm2022/directives/proxies.mjs +2438 -0
  134. package/esm2022/directives/validators/index.mjs +3 -0
  135. package/esm2022/directives/validators/max-validator.mjs +27 -0
  136. package/esm2022/directives/validators/min-validator.mjs +27 -0
  137. package/esm2022/index.mjs +32 -0
  138. package/esm2022/ionic-angular.mjs +5 -0
  139. package/esm2022/ionic-module.mjs +111 -0
  140. package/esm2022/providers/action-sheet-controller.mjs +19 -0
  141. package/esm2022/providers/alert-controller.mjs +19 -0
  142. package/esm2022/providers/animation-controller.mjs +38 -0
  143. package/esm2022/providers/gesture-controller.mjs +33 -0
  144. package/esm2022/providers/loading-controller.mjs +19 -0
  145. package/esm2022/providers/menu-controller.mjs +19 -0
  146. package/esm2022/providers/modal-controller.mjs +26 -0
  147. package/esm2022/providers/picker-controller.mjs +22 -0
  148. package/esm2022/providers/popover-controller.mjs +19 -0
  149. package/esm2022/providers/toast-controller.mjs +19 -0
  150. package/esm2022/standalone/directives/angular-component-lib/utils.mjs +59 -0
  151. package/esm2022/standalone/directives/checkbox.mjs +76 -0
  152. package/esm2022/standalone/directives/datetime.mjs +95 -0
  153. package/esm2022/standalone/directives/icon.mjs +35 -0
  154. package/esm2022/standalone/directives/index.mjs +13 -0
  155. package/esm2022/standalone/directives/input-otp.mjs +90 -0
  156. package/esm2022/standalone/directives/input.mjs +113 -0
  157. package/esm2022/standalone/directives/proxies.mjs +2326 -0
  158. package/esm2022/standalone/directives/radio-group.mjs +60 -0
  159. package/esm2022/standalone/directives/range.mjs +78 -0
  160. package/esm2022/standalone/directives/searchbar.mjs +82 -0
  161. package/esm2022/standalone/directives/segment.mjs +60 -0
  162. package/esm2022/standalone/directives/select.mjs +84 -0
  163. package/esm2022/standalone/directives/textarea.mjs +91 -0
  164. package/esm2022/standalone/directives/toggle.mjs +76 -0
  165. package/esm2022/standalone/index.mjs +25 -0
  166. package/esm2022/standalone/ionic-angular-standalone.mjs +5 -0
  167. package/esm2022/standalone/navigation/back-button.mjs +32 -0
  168. package/esm2022/standalone/navigation/nav.mjs +28 -0
  169. package/esm2022/standalone/navigation/router-link-delegate.mjs +28 -0
  170. package/esm2022/standalone/navigation/router-outlet.mjs +60 -0
  171. package/esm2022/standalone/navigation/tabs.mjs +58 -0
  172. package/esm2022/standalone/overlays/modal.mjs +32 -0
  173. package/esm2022/standalone/overlays/popover.mjs +28 -0
  174. package/esm2022/standalone/providers/action-sheet-controller.mjs +21 -0
  175. package/esm2022/standalone/providers/alert-controller.mjs +21 -0
  176. package/esm2022/standalone/providers/animation-controller.mjs +38 -0
  177. package/esm2022/standalone/providers/gesture-controller.mjs +33 -0
  178. package/esm2022/standalone/providers/ionic-angular.mjs +38 -0
  179. package/esm2022/standalone/providers/loading-controller.mjs +21 -0
  180. package/esm2022/standalone/providers/menu-controller.mjs +19 -0
  181. package/esm2022/standalone/providers/modal-controller.mjs +28 -0
  182. package/esm2022/standalone/providers/picker-controller.mjs +24 -0
  183. package/esm2022/standalone/providers/popover-controller.mjs +21 -0
  184. package/esm2022/standalone/providers/toast-controller.mjs +21 -0
  185. package/fesm2022/ionic-angular-common.mjs +79 -68
  186. package/fesm2022/ionic-angular-common.mjs.map +1 -1
  187. package/fesm2022/ionic-angular-standalone.mjs +882 -903
  188. package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
  189. package/fesm2022/ionic-angular.mjs +744 -1065
  190. package/fesm2022/ionic-angular.mjs.map +1 -1
  191. package/index.d.ts +27 -0
  192. package/ionic-module.d.ts +28 -0
  193. package/package.json +16 -11
  194. package/providers/action-sheet-controller.d.ts +8 -0
  195. package/providers/alert-controller.d.ts +8 -0
  196. package/providers/animation-controller.d.ts +25 -0
  197. package/providers/gesture-controller.d.ts +13 -0
  198. package/providers/loading-controller.d.ts +8 -0
  199. package/providers/menu-controller.d.ts +7 -0
  200. package/providers/modal-controller.d.ts +12 -0
  201. package/providers/picker-controller.d.ts +11 -0
  202. package/providers/popover-controller.d.ts +9 -0
  203. package/providers/toast-controller.d.ts +8 -0
  204. package/schematics/add/index.js +1 -27
  205. package/schematics/utils/ast.js +2 -1
  206. package/schematics/utils/config.js +11 -10
  207. package/schematics/utils/package.js +2 -1
  208. package/standalone/directives/angular-component-lib/utils.d.ts +9 -0
  209. package/standalone/directives/checkbox.d.ts +30 -0
  210. package/standalone/directives/datetime.d.ts +30 -0
  211. package/standalone/directives/icon.d.ts +9 -0
  212. package/standalone/directives/index.d.ts +12 -0
  213. package/standalone/directives/input-otp.d.ts +49 -0
  214. package/standalone/directives/input.d.ts +47 -0
  215. package/standalone/directives/proxies.d.ts +1053 -0
  216. package/standalone/directives/radio-group.d.ts +18 -0
  217. package/standalone/directives/range.d.ts +47 -0
  218. package/standalone/directives/searchbar.d.ts +45 -0
  219. package/standalone/directives/segment.d.ts +19 -0
  220. package/standalone/directives/select.d.ts +34 -0
  221. package/standalone/directives/textarea.d.ts +37 -0
  222. package/standalone/directives/toggle.d.ts +28 -0
  223. package/standalone/index.d.ts +23 -0
  224. package/standalone/navigation/back-button.d.ts +9 -0
  225. package/standalone/navigation/nav.d.ts +8 -0
  226. package/standalone/navigation/router-link-delegate.d.ts +10 -0
  227. package/standalone/navigation/router-outlet.d.ts +25 -0
  228. package/standalone/navigation/tabs.d.ts +13 -0
  229. package/standalone/overlays/modal.d.ts +6 -0
  230. package/standalone/overlays/popover.d.ts +6 -0
  231. package/standalone/providers/action-sheet-controller.d.ts +8 -0
  232. package/standalone/providers/alert-controller.d.ts +8 -0
  233. package/standalone/providers/animation-controller.d.ts +25 -0
  234. package/standalone/providers/gesture-controller.d.ts +13 -0
  235. package/standalone/providers/ionic-angular.d.ts +7 -0
  236. package/standalone/providers/loading-controller.d.ts +8 -0
  237. package/standalone/providers/menu-controller.d.ts +7 -0
  238. package/standalone/providers/modal-controller.d.ts +12 -0
  239. package/standalone/providers/picker-controller.d.ts +11 -0
  240. package/standalone/providers/popover-controller.d.ts +9 -0
  241. package/standalone/providers/toast-controller.d.ts +8 -0
  242. package/types/ionic-angular-common.d.ts +0 -1014
  243. package/types/ionic-angular-standalone.d.ts +0 -1560
@@ -0,0 +1,3 @@
1
+ import { NgZone } from '@angular/core';
2
+ import type { Config } from '@ionic/angular/common';
3
+ export declare const appInitialize: (config: Config, doc: Document, zone: NgZone) => () => any;
@@ -0,0 +1 @@
1
+ export * from './value-accessor';
@@ -0,0 +1,36 @@
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;
@@ -0,0 +1,23 @@
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
+ }
@@ -0,0 +1,45 @@
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
+ }
@@ -0,0 +1,21 @@
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
+ }
@@ -0,0 +1,60 @@
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
+ }
@@ -0,0 +1,104 @@
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;
@@ -0,0 +1,42 @@
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
+ }
@@ -0,0 +1,38 @@
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
+ }
@@ -0,0 +1,83 @@
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
+ }
@@ -0,0 +1,22 @@
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';
@@ -0,0 +1,62 @@
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
+ }
@@ -0,0 +1,46 @@
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
+ }
@@ -0,0 +1,28 @@
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);
@@ -0,0 +1,11 @@
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>;