@ionic/angular 8.0.0-beta.1 → 8.0.0-beta.3

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 (232) hide show
  1. package/common/directives/control-value-accessors/value-accessor.d.ts +1 -1
  2. package/common/directives/navigation/back-button.d.ts +1 -4
  3. package/common/directives/navigation/nav.d.ts +10 -2
  4. package/common/directives/navigation/router-link-delegate.d.ts +2 -2
  5. package/common/directives/navigation/router-outlet.d.ts +6 -6
  6. package/common/directives/navigation/tabs.d.ts +5 -5
  7. package/common/overlays/modal.d.ts +1 -1
  8. package/common/overlays/popover.d.ts +1 -1
  9. package/common/providers/dom-controller.d.ts +1 -1
  10. package/css/palettes/dark.always.css.map +1 -0
  11. package/css/{themes → palettes}/dark.class.css +4 -4
  12. package/css/palettes/dark.class.css.map +1 -0
  13. package/css/palettes/dark.system.css.map +1 -0
  14. package/css/palettes/high-contrast-dark.always.css.map +1 -0
  15. package/css/{themes → palettes}/high-contrast-dark.class.css +10 -10
  16. package/css/palettes/high-contrast-dark.class.css.map +1 -0
  17. package/css/palettes/high-contrast-dark.system.css.map +1 -0
  18. package/css/palettes/high-contrast.always.css.map +1 -0
  19. package/css/{themes → palettes}/high-contrast.class.css +31 -31
  20. package/css/palettes/high-contrast.class.css.map +1 -0
  21. package/css/palettes/high-contrast.system.css.map +1 -0
  22. package/directives/control-value-accessors/boolean-value-accessor.d.ts +1 -1
  23. package/directives/control-value-accessors/numeric-value-accessor.d.ts +1 -1
  24. package/directives/control-value-accessors/select-value-accessor.d.ts +1 -1
  25. package/directives/control-value-accessors/text-value-accessor.d.ts +1 -1
  26. package/directives/navigation/ion-back-button.d.ts +1 -1
  27. package/directives/navigation/ion-nav.d.ts +1 -1
  28. package/directives/navigation/ion-router-outlet.d.ts +3 -3
  29. package/directives/navigation/ion-tabs.d.ts +1 -1
  30. package/directives/navigation/router-link-delegate.d.ts +2 -2
  31. package/directives/overlays/modal.d.ts +1 -1
  32. package/directives/overlays/popover.d.ts +1 -1
  33. package/directives/proxies.d.ts +80 -80
  34. package/directives/validators/max-validator.d.ts +1 -1
  35. package/directives/validators/min-validator.d.ts +1 -1
  36. package/esm2022/common/directives/control-value-accessors/value-accessor.mjs +145 -0
  37. package/esm2022/common/directives/navigation/back-button.mjs +61 -0
  38. package/esm2022/common/directives/navigation/nav-params.mjs +46 -0
  39. package/esm2022/common/directives/navigation/nav.mjs +49 -0
  40. package/esm2022/common/directives/navigation/router-link-delegate.mjs +123 -0
  41. package/esm2022/common/directives/navigation/router-outlet.mjs +480 -0
  42. package/esm2022/common/directives/navigation/stack-controller.mjs +280 -0
  43. package/esm2022/common/directives/navigation/tabs.mjs +174 -0
  44. package/esm2022/common/overlays/modal.mjs +91 -0
  45. package/esm2022/common/overlays/popover.mjs +83 -0
  46. package/esm2022/common/providers/angular-delegate.mjs +155 -0
  47. package/{esm2020 → esm2022}/common/providers/config.mjs +4 -4
  48. package/{esm2020 → esm2022}/common/providers/dom-controller.mjs +4 -4
  49. package/esm2022/common/providers/menu-controller.mjs +114 -0
  50. package/esm2022/common/providers/nav-controller.mjs +227 -0
  51. package/esm2022/common/providers/platform.mjs +257 -0
  52. package/esm2022/common/utils/overlay.mjs +26 -0
  53. package/esm2022/directives/control-value-accessors/boolean-value-accessor.mjs +41 -0
  54. package/esm2022/directives/control-value-accessors/numeric-value-accessor.mjs +49 -0
  55. package/esm2022/directives/control-value-accessors/select-value-accessor.mjs +38 -0
  56. package/esm2022/directives/control-value-accessors/text-value-accessor.mjs +37 -0
  57. package/{esm2020 → esm2022}/directives/navigation/ion-back-button.mjs +4 -4
  58. package/{esm2020 → esm2022}/directives/navigation/ion-nav.mjs +4 -4
  59. package/esm2022/directives/navigation/ion-router-outlet.mjs +52 -0
  60. package/esm2022/directives/navigation/ion-tabs.mjs +50 -0
  61. package/{esm2020 → esm2022}/directives/navigation/router-link-delegate.mjs +7 -7
  62. package/{esm2020 → esm2022}/directives/overlays/modal.mjs +5 -5
  63. package/{esm2020 → esm2022}/directives/overlays/popover.mjs +4 -4
  64. package/esm2022/directives/proxies.mjs +2207 -0
  65. package/{esm2020 → esm2022}/directives/validators/max-validator.mjs +4 -4
  66. package/{esm2020 → esm2022}/directives/validators/min-validator.mjs +4 -4
  67. package/{esm2020 → esm2022}/ionic-module.mjs +41 -41
  68. package/{esm2020 → esm2022}/providers/action-sheet-controller.mjs +4 -4
  69. package/{esm2020 → esm2022}/providers/alert-controller.mjs +4 -4
  70. package/{esm2020 → esm2022}/providers/animation-controller.mjs +4 -4
  71. package/esm2022/providers/gesture-controller.mjs +32 -0
  72. package/{esm2020 → esm2022}/providers/loading-controller.mjs +4 -4
  73. package/{esm2020 → esm2022}/providers/menu-controller.mjs +4 -4
  74. package/esm2022/providers/modal-controller.mjs +24 -0
  75. package/{esm2020 → esm2022}/providers/picker-controller.mjs +4 -4
  76. package/esm2022/providers/popover-controller.mjs +18 -0
  77. package/{esm2020 → esm2022}/providers/toast-controller.mjs +4 -4
  78. package/esm2022/standalone/directives/checkbox.mjs +74 -0
  79. package/esm2022/standalone/directives/datetime.mjs +93 -0
  80. package/esm2022/standalone/directives/icon.mjs +35 -0
  81. package/esm2022/standalone/directives/input.mjs +113 -0
  82. package/esm2022/standalone/directives/proxies.mjs +2108 -0
  83. package/esm2022/standalone/directives/radio-group.mjs +60 -0
  84. package/esm2022/standalone/directives/range.mjs +78 -0
  85. package/esm2022/standalone/directives/searchbar.mjs +82 -0
  86. package/esm2022/standalone/directives/segment.mjs +60 -0
  87. package/esm2022/standalone/directives/select.mjs +82 -0
  88. package/esm2022/standalone/directives/textarea.mjs +91 -0
  89. package/esm2022/standalone/directives/toggle.mjs +74 -0
  90. package/esm2022/standalone/navigation/back-button.mjs +32 -0
  91. package/esm2022/standalone/navigation/nav.mjs +28 -0
  92. package/{esm2020 → esm2022}/standalone/navigation/router-link-delegate.mjs +7 -7
  93. package/esm2022/standalone/navigation/router-outlet.mjs +60 -0
  94. package/esm2022/standalone/navigation/tabs.mjs +49 -0
  95. package/esm2022/standalone/overlays/modal.mjs +32 -0
  96. package/{esm2020 → esm2022}/standalone/overlays/popover.mjs +4 -4
  97. package/{esm2020 → esm2022}/standalone/providers/action-sheet-controller.mjs +4 -4
  98. package/{esm2020 → esm2022}/standalone/providers/alert-controller.mjs +4 -4
  99. package/{esm2020 → esm2022}/standalone/providers/animation-controller.mjs +4 -4
  100. package/esm2022/standalone/providers/gesture-controller.mjs +32 -0
  101. package/esm2022/standalone/providers/ionic-angular.mjs +38 -0
  102. package/{esm2020 → esm2022}/standalone/providers/loading-controller.mjs +4 -4
  103. package/{esm2020 → esm2022}/standalone/providers/menu-controller.mjs +4 -4
  104. package/esm2022/standalone/providers/modal-controller.mjs +26 -0
  105. package/{esm2020 → esm2022}/standalone/providers/picker-controller.mjs +4 -4
  106. package/esm2022/standalone/providers/popover-controller.mjs +20 -0
  107. package/{esm2020 → esm2022}/standalone/providers/toast-controller.mjs +4 -4
  108. package/{fesm2020 → fesm2022}/ionic-angular-common.mjs +221 -156
  109. package/fesm2022/ionic-angular-common.mjs.map +1 -0
  110. package/{fesm2020 → fesm2022}/ionic-angular-standalone.mjs +481 -312
  111. package/fesm2022/ionic-angular-standalone.mjs.map +1 -0
  112. package/{fesm2020 → fesm2022}/ionic-angular.mjs +565 -390
  113. package/fesm2022/ionic-angular.mjs.map +1 -0
  114. package/package.json +16 -26
  115. package/schematics/utils/config.js +0 -1
  116. package/standalone/directives/checkbox.d.ts +1 -1
  117. package/standalone/directives/datetime.d.ts +1 -1
  118. package/standalone/directives/icon.d.ts +1 -1
  119. package/standalone/directives/input.d.ts +1 -1
  120. package/standalone/directives/proxies.d.ts +69 -69
  121. package/standalone/directives/radio-group.d.ts +1 -1
  122. package/standalone/directives/range.d.ts +1 -1
  123. package/standalone/directives/searchbar.d.ts +1 -1
  124. package/standalone/directives/segment.d.ts +1 -1
  125. package/standalone/directives/select.d.ts +1 -1
  126. package/standalone/directives/textarea.d.ts +1 -1
  127. package/standalone/directives/toggle.d.ts +1 -1
  128. package/standalone/navigation/back-button.d.ts +1 -1
  129. package/standalone/navigation/nav.d.ts +1 -1
  130. package/standalone/navigation/router-link-delegate.d.ts +2 -2
  131. package/standalone/navigation/router-outlet.d.ts +3 -3
  132. package/standalone/navigation/tabs.d.ts +1 -1
  133. package/standalone/overlays/modal.d.ts +1 -1
  134. package/standalone/overlays/popover.d.ts +1 -1
  135. package/standalone/providers/ionic-angular.d.ts +2 -2
  136. package/css/themes/dark.always.css.map +0 -1
  137. package/css/themes/dark.class.css.map +0 -1
  138. package/css/themes/dark.system.css.map +0 -1
  139. package/css/themes/high-contrast-dark.always.css.map +0 -1
  140. package/css/themes/high-contrast-dark.class.css.map +0 -1
  141. package/css/themes/high-contrast-dark.system.css.map +0 -1
  142. package/css/themes/high-contrast.always.css.map +0 -1
  143. package/css/themes/high-contrast.class.css.map +0 -1
  144. package/css/themes/high-contrast.system.css.map +0 -1
  145. package/esm2020/common/directives/control-value-accessors/value-accessor.mjs +0 -141
  146. package/esm2020/common/directives/navigation/back-button.mjs +0 -59
  147. package/esm2020/common/directives/navigation/nav-params.mjs +0 -45
  148. package/esm2020/common/directives/navigation/nav.mjs +0 -47
  149. package/esm2020/common/directives/navigation/router-link-delegate.mjs +0 -111
  150. package/esm2020/common/directives/navigation/router-outlet.mjs +0 -470
  151. package/esm2020/common/directives/navigation/stack-controller.mjs +0 -272
  152. package/esm2020/common/directives/navigation/tabs.mjs +0 -172
  153. package/esm2020/common/overlays/modal.mjs +0 -87
  154. package/esm2020/common/overlays/popover.mjs +0 -79
  155. package/esm2020/common/providers/angular-delegate.mjs +0 -152
  156. package/esm2020/common/providers/menu-controller.mjs +0 -113
  157. package/esm2020/common/providers/nav-controller.mjs +0 -221
  158. package/esm2020/common/providers/platform.mjs +0 -254
  159. package/esm2020/common/utils/overlay.mjs +0 -25
  160. package/esm2020/directives/control-value-accessors/boolean-value-accessor.mjs +0 -41
  161. package/esm2020/directives/control-value-accessors/numeric-value-accessor.mjs +0 -48
  162. package/esm2020/directives/control-value-accessors/select-value-accessor.mjs +0 -38
  163. package/esm2020/directives/control-value-accessors/text-value-accessor.mjs +0 -37
  164. package/esm2020/directives/navigation/ion-router-outlet.mjs +0 -43
  165. package/esm2020/directives/navigation/ion-tabs.mjs +0 -47
  166. package/esm2020/directives/proxies.mjs +0 -2047
  167. package/esm2020/providers/gesture-controller.mjs +0 -31
  168. package/esm2020/providers/modal-controller.mjs +0 -24
  169. package/esm2020/providers/popover-controller.mjs +0 -18
  170. package/esm2020/standalone/directives/checkbox.mjs +0 -72
  171. package/esm2020/standalone/directives/datetime.mjs +0 -91
  172. package/esm2020/standalone/directives/icon.mjs +0 -33
  173. package/esm2020/standalone/directives/input.mjs +0 -111
  174. package/esm2020/standalone/directives/proxies.mjs +0 -1970
  175. package/esm2020/standalone/directives/radio-group.mjs +0 -58
  176. package/esm2020/standalone/directives/range.mjs +0 -76
  177. package/esm2020/standalone/directives/searchbar.mjs +0 -80
  178. package/esm2020/standalone/directives/segment.mjs +0 -58
  179. package/esm2020/standalone/directives/select.mjs +0 -80
  180. package/esm2020/standalone/directives/textarea.mjs +0 -89
  181. package/esm2020/standalone/directives/toggle.mjs +0 -72
  182. package/esm2020/standalone/navigation/back-button.mjs +0 -32
  183. package/esm2020/standalone/navigation/nav.mjs +0 -28
  184. package/esm2020/standalone/navigation/router-outlet.mjs +0 -51
  185. package/esm2020/standalone/navigation/tabs.mjs +0 -46
  186. package/esm2020/standalone/overlays/modal.mjs +0 -32
  187. package/esm2020/standalone/providers/gesture-controller.mjs +0 -31
  188. package/esm2020/standalone/providers/ionic-angular.mjs +0 -43
  189. package/esm2020/standalone/providers/modal-controller.mjs +0 -26
  190. package/esm2020/standalone/providers/popover-controller.mjs +0 -20
  191. package/fesm2015/ionic-angular-common.mjs +0 -2484
  192. package/fesm2015/ionic-angular-common.mjs.map +0 -1
  193. package/fesm2015/ionic-angular-standalone.mjs +0 -3146
  194. package/fesm2015/ionic-angular-standalone.mjs.map +0 -1
  195. package/fesm2015/ionic-angular.mjs +0 -2790
  196. package/fesm2015/ionic-angular.mjs.map +0 -1
  197. package/fesm2020/ionic-angular-common.mjs.map +0 -1
  198. package/fesm2020/ionic-angular-standalone.mjs.map +0 -1
  199. package/fesm2020/ionic-angular.mjs.map +0 -1
  200. package/test/README.md +0 -118
  201. package/css/{themes → palettes}/dark.always.css +0 -0
  202. package/css/{themes → palettes}/dark.css +0 -0
  203. package/css/{themes → palettes}/dark.css.map +0 -0
  204. package/css/{themes → palettes}/dark.system.css +0 -0
  205. package/css/{themes → palettes}/high-contrast-dark.always.css +1 -1
  206. package/css/{themes → palettes}/high-contrast-dark.css +0 -0
  207. package/css/{themes → palettes}/high-contrast-dark.css.map +0 -0
  208. package/css/{themes → palettes}/high-contrast-dark.system.css +1 -1
  209. package/css/{themes → palettes}/high-contrast.always.css +25 -25
  210. package/css/{themes → palettes}/high-contrast.css +0 -0
  211. package/css/{themes → palettes}/high-contrast.css.map +0 -0
  212. package/css/{themes → palettes}/high-contrast.system.css +25 -25
  213. /package/{esm2020 → esm2022}/app-initialize.mjs +0 -0
  214. /package/{esm2020 → esm2022}/common/directives/control-value-accessors/index.mjs +0 -0
  215. /package/{esm2020 → esm2022}/common/directives/navigation/stack-utils.mjs +0 -0
  216. /package/{esm2020 → esm2022}/common/index.mjs +0 -0
  217. /package/{esm2020 → esm2022}/common/ionic-angular-common.mjs +0 -0
  218. /package/{esm2020 → esm2022}/common/types/interfaces.mjs +0 -0
  219. /package/{esm2020 → esm2022}/common/types/ionic-lifecycle-hooks.mjs +0 -0
  220. /package/{esm2020 → esm2022}/common/utils/proxy.mjs +0 -0
  221. /package/{esm2020 → esm2022}/common/utils/routing.mjs +0 -0
  222. /package/{esm2020 → esm2022}/common/utils/util.mjs +0 -0
  223. /package/{esm2020 → esm2022}/directives/angular-component-lib/utils.mjs +0 -0
  224. /package/{esm2020 → esm2022}/directives/control-value-accessors/index.mjs +0 -0
  225. /package/{esm2020 → esm2022}/directives/proxies-list.mjs +0 -0
  226. /package/{esm2020 → esm2022}/directives/validators/index.mjs +0 -0
  227. /package/{esm2020 → esm2022}/index.mjs +0 -0
  228. /package/{esm2020 → esm2022}/ionic-angular.mjs +0 -0
  229. /package/{esm2020 → esm2022}/standalone/directives/angular-component-lib/utils.mjs +0 -0
  230. /package/{esm2020 → esm2022}/standalone/directives/index.mjs +0 -0
  231. /package/{esm2020 → esm2022}/standalone/index.mjs +0 -0
  232. /package/{esm2020 → esm2022}/standalone/ionic-angular-standalone.mjs +0 -0
@@ -11,6 +11,7 @@ import { filter, switchMap, distinctUntilChanged } from 'rxjs/operators';
11
11
  import { NgControl } from '@angular/forms';
12
12
 
13
13
  class MenuController {
14
+ menuController;
14
15
  constructor(menuController) {
15
16
  this.menuController = menuController;
16
17
  }
@@ -138,10 +139,10 @@ class DomController {
138
139
  write(cb) {
139
140
  getQueue().write(cb);
140
141
  }
142
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DomController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
143
+ /** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DomController, providedIn: 'root' });
141
144
  }
142
- /** @nocollapse */ DomController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DomController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
143
- /** @nocollapse */ DomController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DomController, providedIn: 'root' });
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DomController, decorators: [{
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DomController, decorators: [{
145
146
  type: Injectable,
146
147
  args: [{
147
148
  providedIn: 'root',
@@ -166,41 +167,44 @@ const getQueue = () => {
166
167
  };
167
168
 
168
169
  class Platform {
170
+ doc;
171
+ _readyPromise;
172
+ win;
173
+ /**
174
+ * @hidden
175
+ */
176
+ backButton = new Subject();
177
+ /**
178
+ * The keyboardDidShow event emits when the
179
+ * on-screen keyboard is presented.
180
+ */
181
+ keyboardDidShow = new Subject();
182
+ /**
183
+ * The keyboardDidHide event emits when the
184
+ * on-screen keyboard is hidden.
185
+ */
186
+ keyboardDidHide = new Subject();
187
+ /**
188
+ * The pause event emits when the native platform puts the application
189
+ * into the background, typically when the user switches to a different
190
+ * application. This event would emit when a Cordova app is put into
191
+ * the background, however, it would not fire on a standard web browser.
192
+ */
193
+ pause = new Subject();
194
+ /**
195
+ * The resume event emits when the native platform pulls the application
196
+ * out from the background. This event would emit when a Cordova app comes
197
+ * out from the background, however, it would not fire on a standard web browser.
198
+ */
199
+ resume = new Subject();
200
+ /**
201
+ * The resize event emits when the browser window has changed dimensions. This
202
+ * could be from a browser window being physically resized, or from a device
203
+ * changing orientation.
204
+ */
205
+ resize = new Subject();
169
206
  constructor(doc, zone) {
170
207
  this.doc = doc;
171
- /**
172
- * @hidden
173
- */
174
- this.backButton = new Subject();
175
- /**
176
- * The keyboardDidShow event emits when the
177
- * on-screen keyboard is presented.
178
- */
179
- this.keyboardDidShow = new Subject();
180
- /**
181
- * The keyboardDidHide event emits when the
182
- * on-screen keyboard is hidden.
183
- */
184
- this.keyboardDidHide = new Subject();
185
- /**
186
- * The pause event emits when the native platform puts the application
187
- * into the background, typically when the user switches to a different
188
- * application. This event would emit when a Cordova app is put into
189
- * the background, however, it would not fire on a standard web browser.
190
- */
191
- this.pause = new Subject();
192
- /**
193
- * The resume event emits when the native platform pulls the application
194
- * out from the background. This event would emit when a Cordova app comes
195
- * out from the background, however, it would not fire on a standard web browser.
196
- */
197
- this.resume = new Subject();
198
- /**
199
- * The resize event emits when the browser window has changed dimensions. This
200
- * could be from a browser window being physically resized, or from a device
201
- * changing orientation.
202
- */
203
- this.resize = new Subject();
204
208
  zone.run(() => {
205
209
  this.win = doc.defaultView;
206
210
  this.backButton.subscribeWithPriority = function (priority, callback) {
@@ -378,10 +382,10 @@ class Platform {
378
382
  height() {
379
383
  return this.win.innerHeight;
380
384
  }
385
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Platform, deps: [{ token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
386
+ /** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Platform, providedIn: 'root' });
381
387
  }
382
- /** @nocollapse */ Platform.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Platform, deps: [{ token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
383
- /** @nocollapse */ Platform.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Platform, providedIn: 'root' });
384
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Platform, decorators: [{
388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Platform, decorators: [{
385
389
  type: Injectable,
386
390
  args: [{
387
391
  providedIn: 'root',
@@ -415,14 +419,20 @@ const proxyEvent = (emitter, el, eventName, zone) => {
415
419
  };
416
420
 
417
421
  class NavController {
422
+ location;
423
+ serializer;
424
+ router;
425
+ topOutlet;
426
+ direction = DEFAULT_DIRECTION;
427
+ animated = DEFAULT_ANIMATED;
428
+ animationBuilder;
429
+ guessDirection = 'forward';
430
+ guessAnimation;
431
+ lastNavId = -1;
418
432
  constructor(platform, location, serializer, router) {
419
433
  this.location = location;
420
434
  this.serializer = serializer;
421
435
  this.router = router;
422
- this.direction = DEFAULT_DIRECTION;
423
- this.animated = DEFAULT_ANIMATED;
424
- this.guessDirection = 'forward';
425
- this.lastNavId = -1;
426
436
  // Subscribe to router events to detect direction
427
437
  if (router) {
428
438
  router.events.subscribe((ev) => {
@@ -600,10 +610,10 @@ class NavController {
600
610
  return this.router.navigateByUrl(urlTree, options);
601
611
  }
602
612
  }
613
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavController, deps: [{ token: Platform }, { token: i1.Location }, { token: i3.UrlSerializer }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
614
+ /** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavController, providedIn: 'root' });
603
615
  }
604
- /** @nocollapse */ NavController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NavController, deps: [{ token: Platform }, { token: i1.Location }, { token: i3.UrlSerializer }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
605
- /** @nocollapse */ NavController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NavController, providedIn: 'root' });
606
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NavController, decorators: [{
616
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavController, decorators: [{
607
617
  type: Injectable,
608
618
  args: [{
609
619
  providedIn: 'root',
@@ -651,10 +661,10 @@ class Config {
651
661
  }
652
662
  return 0;
653
663
  }
664
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Config, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
665
+ /** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Config, providedIn: 'root' });
654
666
  }
655
- /** @nocollapse */ Config.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Config, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
656
- /** @nocollapse */ Config.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Config, providedIn: 'root' });
657
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: Config, decorators: [{
667
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Config, decorators: [{
658
668
  type: Injectable,
659
669
  args: [{
660
670
  providedIn: 'root',
@@ -692,6 +702,7 @@ const getConfig = () => {
692
702
  * ```
693
703
  */
694
704
  class NavParams {
705
+ data;
695
706
  constructor(data = {}) {
696
707
  this.data = data;
697
708
  }
@@ -718,28 +729,31 @@ class NavParams {
718
729
 
719
730
  // TODO(FW-2827): types
720
731
  class AngularDelegate {
721
- constructor() {
722
- this.zone = inject(NgZone);
723
- this.applicationRef = inject(ApplicationRef);
724
- }
732
+ zone = inject(NgZone);
733
+ applicationRef = inject(ApplicationRef);
725
734
  create(environmentInjector, injector, elementReferenceKey) {
726
735
  return new AngularFrameworkDelegate(environmentInjector, injector, this.applicationRef, this.zone, elementReferenceKey);
727
736
  }
737
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AngularDelegate, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
738
+ /** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AngularDelegate });
728
739
  }
729
- /** @nocollapse */ AngularDelegate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AngularDelegate, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
730
- /** @nocollapse */ AngularDelegate.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AngularDelegate });
731
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AngularDelegate, decorators: [{
740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AngularDelegate, decorators: [{
732
741
  type: Injectable
733
742
  }] });
734
743
  class AngularFrameworkDelegate {
744
+ environmentInjector;
745
+ injector;
746
+ applicationRef;
747
+ zone;
748
+ elementReferenceKey;
749
+ elRefMap = new WeakMap();
750
+ elEventsMap = new WeakMap();
735
751
  constructor(environmentInjector, injector, applicationRef, zone, elementReferenceKey) {
736
752
  this.environmentInjector = environmentInjector;
737
753
  this.injector = injector;
738
754
  this.applicationRef = applicationRef;
739
755
  this.zone = zone;
740
756
  this.elementReferenceKey = elementReferenceKey;
741
- this.elRefMap = new WeakMap();
742
- this.elEventsMap = new WeakMap();
743
757
  }
744
758
  attachViewToDom(container, component, params, cssClasses) {
745
759
  return this.zone.run(() => {
@@ -865,6 +879,8 @@ const provideNavParamsInjectable = (params) => {
865
879
  };
866
880
 
867
881
  // TODO: Is there a way we can grab this from angular-component-lib instead?
882
+ /* eslint-disable */
883
+ /* tslint:disable */
868
884
  const proxyInputs = (Cmp, inputs) => {
869
885
  const Prototype = Cmp.prototype;
870
886
  inputs.forEach((item) => {
@@ -932,9 +948,13 @@ const POPOVER_INPUTS = [
932
948
  ];
933
949
  const POPOVER_METHODS = ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss'];
934
950
  let IonPopover = class IonPopover {
951
+ z;
952
+ // TODO(FW-2827): type
953
+ template;
954
+ isCmpOpen = false;
955
+ el;
935
956
  constructor(c, r, z) {
936
957
  this.z = z;
937
- this.isCmpOpen = false;
938
958
  this.el = r.nativeElement;
939
959
  this.el.addEventListener('ionMount', () => {
940
960
  this.isCmpOpen = true;
@@ -955,9 +975,9 @@ let IonPopover = class IonPopover {
955
975
  'didDismiss',
956
976
  ]);
957
977
  }
978
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonPopover, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
979
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonPopover, selector: "ion-popover", inputs: { alignment: "alignment", animated: "animated", arrow: "arrow", keepContentsMounted: "keepContentsMounted", backdropDismiss: "backdropDismiss", cssClass: "cssClass", dismissOnSelect: "dismissOnSelect", enterAnimation: "enterAnimation", event: "event", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", showBackdrop: "showBackdrop", translucent: "translucent", trigger: "trigger", triggerAction: "triggerAction", reference: "reference", size: "size", side: "side" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
958
980
  };
959
- /** @nocollapse */ IonPopover.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonPopover, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
960
- /** @nocollapse */ IonPopover.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonPopover, selector: "ion-popover", inputs: { alignment: "alignment", animated: "animated", arrow: "arrow", keepContentsMounted: "keepContentsMounted", backdropDismiss: "backdropDismiss", cssClass: "cssClass", dismissOnSelect: "dismissOnSelect", enterAnimation: "enterAnimation", event: "event", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", showBackdrop: "showBackdrop", translucent: "translucent", trigger: "trigger", triggerAction: "triggerAction", reference: "reference", size: "size", side: "side" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
961
981
  IonPopover = __decorate([
962
982
  ProxyCmp({
963
983
  inputs: POPOVER_INPUTS,
@@ -970,7 +990,7 @@ IonPopover = __decorate([
970
990
  * lazy loaded popover.
971
991
  */
972
992
  ], IonPopover);
973
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonPopover, decorators: [{
993
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonPopover, decorators: [{
974
994
  type: Directive,
975
995
  args: [{
976
996
  selector: 'ion-popover',
@@ -1013,9 +1033,13 @@ const MODAL_METHODS = [
1013
1033
  'getCurrentBreakpoint',
1014
1034
  ];
1015
1035
  let IonModal = class IonModal {
1036
+ z;
1037
+ // TODO(FW-2827): type
1038
+ template;
1039
+ isCmpOpen = false;
1040
+ el;
1016
1041
  constructor(c, r, z) {
1017
1042
  this.z = z;
1018
- this.isCmpOpen = false;
1019
1043
  this.el = r.nativeElement;
1020
1044
  this.el.addEventListener('ionMount', () => {
1021
1045
  this.isCmpOpen = true;
@@ -1037,9 +1061,9 @@ let IonModal = class IonModal {
1037
1061
  'didDismiss',
1038
1062
  ]);
1039
1063
  }
1064
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1065
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonModal, selector: "ion-modal", inputs: { animated: "animated", keepContentsMounted: "keepContentsMounted", backdropBreakpoint: "backdropBreakpoint", backdropDismiss: "backdropDismiss", breakpoints: "breakpoints", canDismiss: "canDismiss", cssClass: "cssClass", enterAnimation: "enterAnimation", event: "event", handle: "handle", handleBehavior: "handleBehavior", initialBreakpoint: "initialBreakpoint", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", presentingElement: "presentingElement", showBackdrop: "showBackdrop", translucent: "translucent", trigger: "trigger" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
1040
1066
  };
1041
- /** @nocollapse */ IonModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1042
- /** @nocollapse */ IonModal.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonModal, selector: "ion-modal", inputs: { animated: "animated", keepContentsMounted: "keepContentsMounted", backdropBreakpoint: "backdropBreakpoint", backdropDismiss: "backdropDismiss", breakpoints: "breakpoints", canDismiss: "canDismiss", cssClass: "cssClass", enterAnimation: "enterAnimation", event: "event", handle: "handle", handleBehavior: "handleBehavior", initialBreakpoint: "initialBreakpoint", isOpen: "isOpen", keyboardClose: "keyboardClose", leaveAnimation: "leaveAnimation", mode: "mode", presentingElement: "presentingElement", showBackdrop: "showBackdrop", translucent: "translucent", trigger: "trigger" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0 });
1043
1067
  IonModal = __decorate([
1044
1068
  ProxyCmp({
1045
1069
  inputs: MODAL_INPUTS,
@@ -1052,7 +1076,7 @@ IonModal = __decorate([
1052
1076
  * lazy loaded popover.
1053
1077
  */
1054
1078
  ], IonModal);
1055
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonModal, decorators: [{
1079
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonModal, decorators: [{
1056
1080
  type: Directive,
1057
1081
  args: [{
1058
1082
  selector: 'ion-modal',
@@ -1139,15 +1163,23 @@ const destroyView = (view) => {
1139
1163
 
1140
1164
  // TODO(FW-2827): types
1141
1165
  class StackController {
1166
+ containerEl;
1167
+ router;
1168
+ navCtrl;
1169
+ zone;
1170
+ location;
1171
+ views = [];
1172
+ runningTask;
1173
+ skipTransition = false;
1174
+ tabsPrefix;
1175
+ activeView;
1176
+ nextId = 0;
1142
1177
  constructor(tabsPrefix, containerEl, router, navCtrl, zone, location) {
1143
1178
  this.containerEl = containerEl;
1144
1179
  this.router = router;
1145
1180
  this.navCtrl = navCtrl;
1146
1181
  this.zone = zone;
1147
1182
  this.location = location;
1148
- this.views = [];
1149
- this.skipTransition = false;
1150
- this.nextId = 0;
1151
1183
  this.tabsPrefix = tabsPrefix !== undefined ? toSegments(tabsPrefix) : undefined;
1152
1184
  }
1153
1185
  createView(ref, activatedRoute) {
@@ -1410,47 +1442,43 @@ const cleanup = (activeRoute, views, viewsSnapshot, location, zone) => {
1410
1442
  // TODO(FW-2827): types
1411
1443
  // eslint-disable-next-line @angular-eslint/directive-class-suffix
1412
1444
  class IonRouterOutlet {
1413
- constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, outletContent, parentOutlet) {
1414
- this.outletContent = outletContent;
1415
- this.parentOutlet = parentOutlet;
1416
- this.activatedView = null;
1417
- // Maintain map of activated route proxies for each component instance
1418
- this.proxyMap = new WeakMap();
1419
- // Keep the latest activated route in a subject for the proxy routes to switch map to
1420
- this.currentActivatedRoute$ = new BehaviorSubject(null);
1421
- this.activated = null;
1422
- this._activatedRoute = null;
1423
- /**
1424
- * The name of the outlet
1425
- */
1426
- this.name = PRIMARY_OUTLET;
1427
- /** @internal */
1428
- this.stackWillChange = new EventEmitter();
1429
- /** @internal */
1430
- this.stackDidChange = new EventEmitter();
1431
- // eslint-disable-next-line @angular-eslint/no-output-rename
1432
- this.activateEvents = new EventEmitter();
1433
- // eslint-disable-next-line @angular-eslint/no-output-rename
1434
- this.deactivateEvents = new EventEmitter();
1435
- this.parentContexts = inject(ChildrenOutletContexts);
1436
- this.location = inject(ViewContainerRef);
1437
- this.environmentInjector = inject(EnvironmentInjector);
1438
- this.inputBinder = inject(INPUT_BINDER, { optional: true });
1439
- /** @nodoc */
1440
- this.supportsBindingToComponentInputs = true;
1441
- // Ionic providers
1442
- this.config = inject(Config);
1443
- this.navCtrl = inject(NavController);
1444
- this.nativeEl = elementRef.nativeElement;
1445
- this.name = name || PRIMARY_OUTLET;
1446
- this.tabsPrefix = tabs === 'true' ? getUrl(router, activatedRoute) : undefined;
1447
- this.stackCtrl = new StackController(this.tabsPrefix, this.nativeEl, router, this.navCtrl, zone, commonLocation);
1448
- this.parentContexts.onChildOutletCreated(this.name, this);
1449
- }
1445
+ parentOutlet;
1446
+ nativeEl;
1447
+ activatedView = null;
1448
+ tabsPrefix;
1449
+ _swipeGesture;
1450
+ stackCtrl;
1451
+ // Maintain map of activated route proxies for each component instance
1452
+ proxyMap = new WeakMap();
1453
+ // Keep the latest activated route in a subject for the proxy routes to switch map to
1454
+ currentActivatedRoute$ = new BehaviorSubject(null);
1455
+ activated = null;
1450
1456
  /** @internal */
1451
1457
  get activatedComponentRef() {
1452
1458
  return this.activated;
1453
1459
  }
1460
+ _activatedRoute = null;
1461
+ /**
1462
+ * The name of the outlet
1463
+ */
1464
+ name = PRIMARY_OUTLET;
1465
+ /** @internal */
1466
+ stackWillChange = new EventEmitter();
1467
+ /** @internal */
1468
+ stackDidChange = new EventEmitter();
1469
+ // eslint-disable-next-line @angular-eslint/no-output-rename
1470
+ activateEvents = new EventEmitter();
1471
+ // eslint-disable-next-line @angular-eslint/no-output-rename
1472
+ deactivateEvents = new EventEmitter();
1473
+ parentContexts = inject(ChildrenOutletContexts);
1474
+ location = inject(ViewContainerRef);
1475
+ environmentInjector = inject(EnvironmentInjector);
1476
+ inputBinder = inject(INPUT_BINDER, { optional: true });
1477
+ /** @nodoc */
1478
+ supportsBindingToComponentInputs = true;
1479
+ // Ionic providers
1480
+ config = inject(Config);
1481
+ navCtrl = inject(NavController);
1454
1482
  set animation(animation) {
1455
1483
  this.nativeEl.animation = animation;
1456
1484
  }
@@ -1467,6 +1495,14 @@ class IonRouterOutlet {
1467
1495
  }
1468
1496
  : undefined;
1469
1497
  }
1498
+ constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
1499
+ this.parentOutlet = parentOutlet;
1500
+ this.nativeEl = elementRef.nativeElement;
1501
+ this.name = name || PRIMARY_OUTLET;
1502
+ this.tabsPrefix = tabs === 'true' ? getUrl(router, activatedRoute) : undefined;
1503
+ this.stackCtrl = new StackController(this.tabsPrefix, this.nativeEl, router, this.navCtrl, zone, commonLocation);
1504
+ this.parentContexts.onChildOutletCreated(this.name, this);
1505
+ }
1470
1506
  ngOnDestroy() {
1471
1507
  this.stackCtrl.destroy();
1472
1508
  this.inputBinder?.unsubscribeFromRouteData(this);
@@ -1615,6 +1651,11 @@ class IonRouterOutlet {
1615
1651
  component$.next(cmpRef.instance);
1616
1652
  // Calling `markForCheck` to make sure we will run the change detection when the
1617
1653
  // `RouterOutlet` is inside a `ChangeDetectionStrategy.OnPush` component.
1654
+ /**
1655
+ * At this point this.activated has been set earlier
1656
+ * in this function, so it is guaranteed to be non-null.
1657
+ */
1658
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1618
1659
  enteringView = this.stackCtrl.createView(this.activated, activatedRoute);
1619
1660
  // Store references to the proxy by component
1620
1661
  this.proxyMap.set(cmpRef.instance, activatedRouteProxy);
@@ -1725,10 +1766,10 @@ class IonRouterOutlet {
1725
1766
  proxy.component = activatedRoute.component;
1726
1767
  this.currentActivatedRoute$.next({ component, activatedRoute });
1727
1768
  }
1769
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i3.Router }, { token: i0.NgZone }, { token: i3.ActivatedRoute }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
1770
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonRouterOutlet, selector: "ion-router-outlet", inputs: { animated: "animated", animation: "animation", mode: "mode", swipeGesture: "swipeGesture", name: "name" }, outputs: { stackWillChange: "stackWillChange", stackDidChange: "stackDidChange", activateEvents: "activate", deactivateEvents: "deactivate" }, exportAs: ["outlet"], ngImport: i0 });
1728
1771
  }
1729
- /** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i3.Router }, { token: i0.NgZone }, { token: i3.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
1730
- /** @nocollapse */ IonRouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, selector: "ion-router-outlet", inputs: { animated: "animated", animation: "animation", mode: "mode", swipeGesture: "swipeGesture", name: "name" }, outputs: { stackWillChange: "stackWillChange", stackDidChange: "stackDidChange", activateEvents: "activate", deactivateEvents: "deactivate" }, exportAs: ["outlet"], ngImport: i0 });
1731
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, decorators: [{
1772
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonRouterOutlet, decorators: [{
1732
1773
  type: Directive,
1733
1774
  args: [{
1734
1775
  selector: 'ion-router-outlet',
@@ -1744,7 +1785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1744
1785
  }, {
1745
1786
  type: Attribute,
1746
1787
  args: ['tabs']
1747
- }] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i3.Router }, { type: i0.NgZone }, { type: i3.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: IonRouterOutlet, decorators: [{
1788
+ }] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i3.Router }, { type: i0.NgZone }, { type: i3.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
1748
1789
  type: SkipSelf
1749
1790
  }, {
1750
1791
  type: Optional
@@ -1762,6 +1803,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1762
1803
  args: ['deactivate']
1763
1804
  }] } });
1764
1805
  class OutletInjector {
1806
+ route;
1807
+ childContexts;
1808
+ parent;
1765
1809
  constructor(route, childContexts, parent) {
1766
1810
  this.route = route;
1767
1811
  this.childContexts = childContexts;
@@ -1794,9 +1838,7 @@ const INPUT_BINDER = new InjectionToken('');
1794
1838
  * the subscriptions are cleaned up.
1795
1839
  */
1796
1840
  class RoutedComponentInputBinder {
1797
- constructor() {
1798
- this.outletDataSubscriptions = new Map();
1799
- }
1841
+ outletDataSubscriptions = new Map();
1800
1842
  bindActivatedRouteToOutletComponent(outlet) {
1801
1843
  this.unsubscribeFromRouteData(outlet);
1802
1844
  this.subscribeToRouteData(outlet);
@@ -1841,10 +1883,10 @@ class RoutedComponentInputBinder {
1841
1883
  });
1842
1884
  this.outletDataSubscriptions.set(outlet, dataSubscription);
1843
1885
  }
1886
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1887
+ /** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RoutedComponentInputBinder });
1844
1888
  }
1845
- /** @nocollapse */ RoutedComponentInputBinder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RoutedComponentInputBinder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1846
- /** @nocollapse */ RoutedComponentInputBinder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RoutedComponentInputBinder });
1847
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
1889
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RoutedComponentInputBinder, decorators: [{
1848
1890
  type: Injectable
1849
1891
  }] });
1850
1892
  const provideComponentInputBinding = () => {
@@ -1867,6 +1909,12 @@ function componentInputBindingFactory(router) {
1867
1909
 
1868
1910
  const BACK_BUTTON_INPUTS = ['color', 'defaultHref', 'disabled', 'icon', 'mode', 'routerAnimation', 'text', 'type'];
1869
1911
  let IonBackButton = class IonBackButton {
1912
+ routerOutlet;
1913
+ navCtrl;
1914
+ config;
1915
+ r;
1916
+ z;
1917
+ el;
1870
1918
  constructor(routerOutlet, navCtrl, config, r, z, c) {
1871
1919
  this.routerOutlet = routerOutlet;
1872
1920
  this.navCtrl = navCtrl;
@@ -1891,15 +1939,15 @@ let IonBackButton = class IonBackButton {
1891
1939
  ev.preventDefault();
1892
1940
  }
1893
1941
  }
1942
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: NavController }, { token: Config }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
1943
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonBackButton, inputs: { color: "color", defaultHref: "defaultHref", disabled: "disabled", icon: "icon", mode: "mode", routerAnimation: "routerAnimation", text: "text", type: "type" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
1894
1944
  };
1895
- /** @nocollapse */ IonBackButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonBackButton, deps: [{ token: IonRouterOutlet, optional: true }, { token: NavController }, { token: Config }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
1896
- /** @nocollapse */ IonBackButton.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonBackButton, inputs: { color: "color", defaultHref: "defaultHref", disabled: "disabled", icon: "icon", mode: "mode", routerAnimation: "routerAnimation", text: "text", type: "type" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
1897
1945
  IonBackButton = __decorate([
1898
1946
  ProxyCmp({
1899
1947
  inputs: BACK_BUTTON_INPUTS,
1900
1948
  })
1901
1949
  ], IonBackButton);
1902
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonBackButton, decorators: [{
1950
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonBackButton, decorators: [{
1903
1951
  type: Directive,
1904
1952
  args: [{
1905
1953
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
@@ -1907,11 +1955,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1907
1955
  }]
1908
1956
  }], ctorParameters: function () { return [{ type: IonRouterOutlet, decorators: [{
1909
1957
  type: Optional
1910
- }] }, { type: NavController }, { type: Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { defaultHref: [{
1911
- type: Input
1912
- }], routerAnimation: [{
1913
- type: Input
1914
- }], onClick: [{
1958
+ }] }, { type: NavController }, { type: Config }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { onClick: [{
1915
1959
  type: HostListener,
1916
1960
  args: ['click', ['$event']]
1917
1961
  }] } });
@@ -1923,13 +1967,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1923
1967
  * animation so that the routing integration will transition correctly.
1924
1968
  */
1925
1969
  class RouterLinkDelegateDirective {
1970
+ locationStrategy;
1971
+ navCtrl;
1972
+ elementRef;
1973
+ router;
1974
+ routerLink;
1975
+ routerDirection = 'forward';
1976
+ routerAnimation;
1926
1977
  constructor(locationStrategy, navCtrl, elementRef, router, routerLink) {
1927
1978
  this.locationStrategy = locationStrategy;
1928
1979
  this.navCtrl = navCtrl;
1929
1980
  this.elementRef = elementRef;
1930
1981
  this.router = router;
1931
1982
  this.routerLink = routerLink;
1932
- this.routerDirection = 'forward';
1933
1983
  }
1934
1984
  ngOnInit() {
1935
1985
  this.updateTargetUrlAndHref();
@@ -1958,10 +2008,10 @@ class RouterLinkDelegateDirective {
1958
2008
  */
1959
2009
  ev.preventDefault();
1960
2010
  }
2011
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkDelegateDirective, deps: [{ token: i1.LocationStrategy }, { token: NavController }, { token: i0.ElementRef }, { token: i3.Router }, { token: i3.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2012
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RouterLinkDelegateDirective, selector: ":not(a):not(area)[routerLink]", inputs: { routerDirection: "routerDirection", routerAnimation: "routerAnimation" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 });
1961
2013
  }
1962
- /** @nocollapse */ RouterLinkDelegateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RouterLinkDelegateDirective, deps: [{ token: i1.LocationStrategy }, { token: NavController }, { token: i0.ElementRef }, { token: i3.Router }, { token: i3.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1963
- /** @nocollapse */ RouterLinkDelegateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: RouterLinkDelegateDirective, selector: ":not(a):not(area)[routerLink]", inputs: { routerDirection: "routerDirection", routerAnimation: "routerAnimation" }, host: { listeners: { "click": "onClick($event)" } }, usesOnChanges: true, ngImport: i0 });
1964
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RouterLinkDelegateDirective, decorators: [{
2014
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkDelegateDirective, decorators: [{
1965
2015
  type: Directive,
1966
2016
  args: [{
1967
2017
  selector: ':not(a):not(area)[routerLink]',
@@ -1977,13 +2027,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1977
2027
  args: ['click', ['$event']]
1978
2028
  }] } });
1979
2029
  class RouterLinkWithHrefDelegateDirective {
2030
+ locationStrategy;
2031
+ navCtrl;
2032
+ elementRef;
2033
+ router;
2034
+ routerLink;
2035
+ routerDirection = 'forward';
2036
+ routerAnimation;
1980
2037
  constructor(locationStrategy, navCtrl, elementRef, router, routerLink) {
1981
2038
  this.locationStrategy = locationStrategy;
1982
2039
  this.navCtrl = navCtrl;
1983
2040
  this.elementRef = elementRef;
1984
2041
  this.router = router;
1985
2042
  this.routerLink = routerLink;
1986
- this.routerDirection = 'forward';
1987
2043
  }
1988
2044
  ngOnInit() {
1989
2045
  this.updateTargetUrlAndHref();
@@ -2003,10 +2059,10 @@ class RouterLinkWithHrefDelegateDirective {
2003
2059
  onClick() {
2004
2060
  this.navCtrl.setDirection(this.routerDirection, undefined, undefined, this.routerAnimation);
2005
2061
  }
2062
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkWithHrefDelegateDirective, deps: [{ token: i1.LocationStrategy }, { token: NavController }, { token: i0.ElementRef }, { token: i3.Router }, { token: i3.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2063
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RouterLinkWithHrefDelegateDirective, selector: "a[routerLink],area[routerLink]", inputs: { routerDirection: "routerDirection", routerAnimation: "routerAnimation" }, host: { listeners: { "click": "onClick()" } }, usesOnChanges: true, ngImport: i0 });
2006
2064
  }
2007
- /** @nocollapse */ RouterLinkWithHrefDelegateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RouterLinkWithHrefDelegateDirective, deps: [{ token: i1.LocationStrategy }, { token: NavController }, { token: i0.ElementRef }, { token: i3.Router }, { token: i3.RouterLink, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2008
- /** @nocollapse */ RouterLinkWithHrefDelegateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: RouterLinkWithHrefDelegateDirective, selector: "a[routerLink],area[routerLink]", inputs: { routerDirection: "routerDirection", routerAnimation: "routerAnimation" }, host: { listeners: { "click": "onClick()" } }, usesOnChanges: true, ngImport: i0 });
2009
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RouterLinkWithHrefDelegateDirective, decorators: [{
2065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RouterLinkWithHrefDelegateDirective, decorators: [{
2010
2066
  type: Directive,
2011
2067
  args: [{
2012
2068
  selector: 'a[routerLink],area[routerLink]',
@@ -2039,6 +2095,8 @@ const NAV_METHODS = [
2039
2095
  'getPrevious',
2040
2096
  ];
2041
2097
  let IonNav = class IonNav {
2098
+ z;
2099
+ el;
2042
2100
  constructor(ref, environmentInjector, injector, angularDelegate, z, c) {
2043
2101
  this.z = z;
2044
2102
  c.detach();
@@ -2046,16 +2104,16 @@ let IonNav = class IonNav {
2046
2104
  ref.nativeElement.delegate = angularDelegate.create(environmentInjector, injector);
2047
2105
  proxyOutputs(this, this.el, ['ionNavDidChange', 'ionNavWillChange']);
2048
2106
  }
2107
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token: i0.Injector }, { token: AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2108
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonNav, inputs: { animated: "animated", animation: "animation", root: "root", rootParams: "rootParams", swipeGesture: "swipeGesture" }, ngImport: i0 });
2049
2109
  };
2050
- /** @nocollapse */ IonNav.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token: i0.Injector }, { token: AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2051
- /** @nocollapse */ IonNav.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonNav, inputs: { animated: "animated", animation: "animation", root: "root", rootParams: "rootParams", swipeGesture: "swipeGesture" }, ngImport: i0 });
2052
2110
  IonNav = __decorate([
2053
2111
  ProxyCmp({
2054
2112
  inputs: NAV_INPUTS,
2055
2113
  methods: NAV_METHODS,
2056
2114
  })
2057
2115
  ], IonNav);
2058
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, decorators: [{
2116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonNav, decorators: [{
2059
2117
  type: Directive,
2060
2118
  args: [{
2061
2119
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
@@ -2065,17 +2123,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2065
2123
 
2066
2124
  // eslint-disable-next-line @angular-eslint/directive-class-suffix
2067
2125
  class IonTabs {
2126
+ navCtrl;
2127
+ tabsInner;
2128
+ /**
2129
+ * Emitted before the tab view is changed.
2130
+ */
2131
+ ionTabsWillChange = new EventEmitter();
2132
+ /**
2133
+ * Emitted after the tab view is changed.
2134
+ */
2135
+ ionTabsDidChange = new EventEmitter();
2136
+ tabBarSlot = 'bottom';
2068
2137
  constructor(navCtrl) {
2069
2138
  this.navCtrl = navCtrl;
2070
- /**
2071
- * Emitted before the tab view is changed.
2072
- */
2073
- this.ionTabsWillChange = new EventEmitter();
2074
- /**
2075
- * Emitted after the tab view is changed.
2076
- */
2077
- this.ionTabsDidChange = new EventEmitter();
2078
- this.tabBarSlot = 'bottom';
2079
2139
  }
2080
2140
  ngAfterContentInit() {
2081
2141
  this.detectSlotChanges();
@@ -2212,10 +2272,10 @@ class IonTabs {
2212
2272
  this.tabsInner.nativeElement.after(tabBar);
2213
2273
  }
2214
2274
  }
2275
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonTabs, deps: [{ token: NavController }], target: i0.ɵɵFactoryTarget.Directive });
2276
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: IonTabs, selector: "ion-tabs", outputs: { ionTabsWillChange: "ionTabsWillChange", ionTabsDidChange: "ionTabsDidChange" }, host: { listeners: { "ionTabButtonClick": "select($event)" } }, viewQueries: [{ propertyName: "tabsInner", first: true, predicate: ["tabsInner"], descendants: true, read: ElementRef, static: true }], ngImport: i0 });
2215
2277
  }
2216
- /** @nocollapse */ IonTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTabs, deps: [{ token: NavController }], target: i0.ɵɵFactoryTarget.Directive });
2217
- /** @nocollapse */ IonTabs.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonTabs, selector: "ion-tabs", outputs: { ionTabsWillChange: "ionTabsWillChange", ionTabsDidChange: "ionTabsDidChange" }, host: { listeners: { "ionTabButtonClick": "select($event)" } }, viewQueries: [{ propertyName: "tabsInner", first: true, predicate: ["tabsInner"], descendants: true, read: ElementRef, static: true }], ngImport: i0 });
2218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTabs, decorators: [{
2278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonTabs, decorators: [{
2219
2279
  type: Directive,
2220
2280
  args: [{
2221
2281
  selector: 'ion-tabs',
@@ -2244,15 +2304,19 @@ const raf = (h) => {
2244
2304
 
2245
2305
  // TODO(FW-2827): types
2246
2306
  class ValueAccessor {
2307
+ injector;
2308
+ elementRef;
2309
+ onChange = () => {
2310
+ /**/
2311
+ };
2312
+ onTouched = () => {
2313
+ /**/
2314
+ };
2315
+ lastValue;
2316
+ statusChanges;
2247
2317
  constructor(injector, elementRef) {
2248
2318
  this.injector = injector;
2249
2319
  this.elementRef = elementRef;
2250
- this.onChange = () => {
2251
- /**/
2252
- };
2253
- this.onTouched = () => {
2254
- /**/
2255
- };
2256
2320
  }
2257
2321
  writeValue(value) {
2258
2322
  this.elementRef.nativeElement.value = this.lastValue = value;
@@ -2333,10 +2397,10 @@ class ValueAccessor {
2333
2397
  });
2334
2398
  }
2335
2399
  }
2400
+ /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2401
+ /** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ValueAccessor, host: { listeners: { "ionBlur": "_handleBlurEvent($event.target)" } }, ngImport: i0 });
2336
2402
  }
2337
- /** @nocollapse */ ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2338
- /** @nocollapse */ ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: ValueAccessor, host: { listeners: { "ionBlur": "_handleBlurEvent($event.target)" } }, ngImport: i0 });
2339
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ValueAccessor, decorators: [{
2403
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ValueAccessor, decorators: [{
2340
2404
  type: Directive
2341
2405
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
2342
2406
  type: HostListener,
@@ -2436,6 +2500,7 @@ class IonicRouteStrategy {
2436
2500
 
2437
2501
  // TODO(FW-2827): types
2438
2502
  class OverlayBaseController {
2503
+ ctrl;
2439
2504
  constructor(ctrl) {
2440
2505
  this.ctrl = ctrl;
2441
2506
  }