@ionic/angular 7.3.4-dev.11696436834.1e83c799 → 7.3.4-dev.11699991837.1bc64f72

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 (192) hide show
  1. package/README.md +0 -20
  2. package/app-initialize.d.ts +1 -1
  3. package/directives/control-value-accessors/boolean-value-accessor.d.ts +1 -1
  4. package/directives/control-value-accessors/numeric-value-accessor.d.ts +1 -1
  5. package/directives/control-value-accessors/radio-value-accessor.d.ts +1 -1
  6. package/directives/control-value-accessors/select-value-accessor.d.ts +1 -1
  7. package/directives/control-value-accessors/text-value-accessor.d.ts +1 -1
  8. package/{common/directives → directives}/control-value-accessors/value-accessor.d.ts +2 -2
  9. package/directives/navigation/ion-back-button.d.ts +16 -6
  10. package/directives/navigation/ion-router-outlet.d.ts +122 -4
  11. package/directives/navigation/ion-tabs.d.ts +64 -4
  12. package/directives/navigation/nav-delegate.d.ts +9 -0
  13. package/directives/navigation/router-link-delegate.d.ts +41 -7
  14. package/{common/directives → directives}/navigation/stack-utils.d.ts +1 -1
  15. package/directives/overlays/modal.d.ts +47 -3
  16. package/directives/overlays/popover.d.ts +43 -3
  17. package/directives/proxies-list.d.ts +1 -1
  18. package/directives/proxies.d.ts +29 -3
  19. package/esm2020/app-initialize.mjs +2 -2
  20. package/esm2020/directives/control-value-accessors/boolean-value-accessor.mjs +4 -4
  21. package/esm2020/directives/control-value-accessors/numeric-value-accessor.mjs +2 -2
  22. package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +3 -6
  23. package/esm2020/directives/control-value-accessors/select-value-accessor.mjs +2 -2
  24. package/esm2020/directives/control-value-accessors/text-value-accessor.mjs +2 -2
  25. package/esm2020/directives/control-value-accessors/value-accessor.mjs +141 -0
  26. package/esm2020/directives/navigation/ion-back-button.mjs +36 -15
  27. package/esm2020/directives/navigation/ion-router-outlet.mjs +435 -6
  28. package/esm2020/directives/navigation/ion-tabs.mjs +166 -9
  29. package/esm2020/directives/navigation/nav-delegate.mjs +42 -0
  30. package/esm2020/directives/navigation/nav-params.mjs +45 -0
  31. package/esm2020/directives/navigation/router-link-delegate.mjs +92 -11
  32. package/esm2020/directives/navigation/stack-controller.mjs +275 -0
  33. package/esm2020/directives/navigation/stack-utils.mjs +73 -0
  34. package/esm2020/directives/overlays/modal.mjs +88 -8
  35. package/esm2020/directives/overlays/popover.mjs +87 -8
  36. package/esm2020/directives/proxies-list.mjs +3 -1
  37. package/esm2020/directives/proxies.mjs +62 -10
  38. package/esm2020/index.mjs +22 -5
  39. package/esm2020/ionic-core.mjs +6 -0
  40. package/esm2020/ionic-module.mjs +32 -14
  41. package/esm2020/providers/action-sheet-controller.mjs +18 -0
  42. package/esm2020/providers/alert-controller.mjs +18 -0
  43. package/esm2020/providers/angular-delegate.mjs +152 -0
  44. package/esm2020/providers/animation-controller.mjs +37 -0
  45. package/esm2020/providers/config.mjs +44 -0
  46. package/esm2020/providers/dom-controller.mjs +44 -0
  47. package/esm2020/providers/gesture-controller.mjs +31 -0
  48. package/esm2020/providers/loading-controller.mjs +18 -0
  49. package/esm2020/providers/menu-controller.mjs +100 -0
  50. package/esm2020/providers/modal-controller.mjs +25 -0
  51. package/esm2020/providers/nav-controller.mjs +221 -0
  52. package/esm2020/providers/picker-controller.mjs +18 -0
  53. package/esm2020/providers/platform.mjs +246 -0
  54. package/esm2020/providers/popover-controller.mjs +25 -0
  55. package/esm2020/providers/toast-controller.mjs +18 -0
  56. package/esm2020/types/interfaces.mjs +2 -0
  57. package/esm2020/util/ionic-router-reuse-strategy.mjs +55 -0
  58. package/esm2020/util/overlay.mjs +25 -0
  59. package/esm2020/util/util.mjs +10 -0
  60. package/fesm2015/ionic-angular.mjs +2656 -162
  61. package/fesm2015/ionic-angular.mjs.map +1 -1
  62. package/fesm2020/ionic-angular.mjs +2648 -163
  63. package/fesm2020/ionic-angular.mjs.map +1 -1
  64. package/index.d.ts +20 -4
  65. package/ionic-core.d.ts +2 -0
  66. package/ionic-module.d.ts +2 -2
  67. package/package.json +2 -18
  68. package/{common/providers → providers}/action-sheet-controller.d.ts +2 -2
  69. package/{common/providers → providers}/alert-controller.d.ts +2 -2
  70. package/{common/providers → providers}/angular-delegate.d.ts +1 -1
  71. package/{common/providers → providers}/animation-controller.d.ts +1 -1
  72. package/{common/providers → providers}/config.d.ts +1 -1
  73. package/{common/providers → providers}/gesture-controller.d.ts +1 -1
  74. package/{common/providers → providers}/loading-controller.d.ts +2 -2
  75. package/{common/providers → providers}/modal-controller.d.ts +2 -2
  76. package/{common/providers → providers}/nav-controller.d.ts +2 -2
  77. package/{common/providers → providers}/picker-controller.d.ts +2 -2
  78. package/{common/providers → providers}/platform.d.ts +1 -1
  79. package/{common/providers → providers}/popover-controller.d.ts +2 -2
  80. package/{common/providers → providers}/toast-controller.d.ts +2 -2
  81. package/test/README.md +0 -8
  82. package/{common/types → types}/interfaces.d.ts +4 -0
  83. package/common/directives/control-value-accessors/index.d.ts +0 -1
  84. package/common/directives/navigation/back-button.d.ts +0 -26
  85. package/common/directives/navigation/nav.d.ts +0 -13
  86. package/common/directives/navigation/router-link-delegate.d.ts +0 -50
  87. package/common/directives/navigation/router-outlet.d.ts +0 -103
  88. package/common/directives/navigation/tabs.d.ts +0 -74
  89. package/common/index.d.ts +0 -28
  90. package/common/overlays/modal.d.ts +0 -50
  91. package/common/overlays/popover.d.ts +0 -46
  92. package/common/utils/proxy.d.ts +0 -8
  93. package/directives/navigation/ion-nav.d.ts +0 -8
  94. package/esm2020/common/directives/control-value-accessors/index.mjs +0 -2
  95. package/esm2020/common/directives/control-value-accessors/value-accessor.mjs +0 -141
  96. package/esm2020/common/directives/navigation/back-button.mjs +0 -59
  97. package/esm2020/common/directives/navigation/nav-params.mjs +0 -45
  98. package/esm2020/common/directives/navigation/nav.mjs +0 -47
  99. package/esm2020/common/directives/navigation/router-link-delegate.mjs +0 -111
  100. package/esm2020/common/directives/navigation/router-outlet.mjs +0 -461
  101. package/esm2020/common/directives/navigation/stack-controller.mjs +0 -275
  102. package/esm2020/common/directives/navigation/stack-utils.mjs +0 -73
  103. package/esm2020/common/directives/navigation/tabs.mjs +0 -172
  104. package/esm2020/common/index.mjs +0 -28
  105. package/esm2020/common/ionic-angular-common.mjs +0 -5
  106. package/esm2020/common/overlays/modal.mjs +0 -87
  107. package/esm2020/common/overlays/popover.mjs +0 -79
  108. package/esm2020/common/providers/action-sheet-controller.mjs +0 -18
  109. package/esm2020/common/providers/alert-controller.mjs +0 -18
  110. package/esm2020/common/providers/angular-delegate.mjs +0 -152
  111. package/esm2020/common/providers/animation-controller.mjs +0 -37
  112. package/esm2020/common/providers/config.mjs +0 -44
  113. package/esm2020/common/providers/dom-controller.mjs +0 -44
  114. package/esm2020/common/providers/gesture-controller.mjs +0 -31
  115. package/esm2020/common/providers/loading-controller.mjs +0 -18
  116. package/esm2020/common/providers/menu-controller.mjs +0 -100
  117. package/esm2020/common/providers/modal-controller.mjs +0 -25
  118. package/esm2020/common/providers/nav-controller.mjs +0 -221
  119. package/esm2020/common/providers/picker-controller.mjs +0 -18
  120. package/esm2020/common/providers/platform.mjs +0 -246
  121. package/esm2020/common/providers/popover-controller.mjs +0 -25
  122. package/esm2020/common/providers/toast-controller.mjs +0 -18
  123. package/esm2020/common/types/interfaces.mjs +0 -2
  124. package/esm2020/common/utils/overlay.mjs +0 -25
  125. package/esm2020/common/utils/proxy.mjs +0 -47
  126. package/esm2020/common/utils/routing.mjs +0 -55
  127. package/esm2020/common/utils/util.mjs +0 -10
  128. package/esm2020/directives/navigation/ion-nav.mjs +0 -21
  129. package/esm2020/standalone/directives/angular-component-lib/utils.mjs +0 -51
  130. package/esm2020/standalone/directives/checkbox.mjs +0 -73
  131. package/esm2020/standalone/directives/datetime.mjs +0 -90
  132. package/esm2020/standalone/directives/icon.mjs +0 -33
  133. package/esm2020/standalone/directives/index.mjs +0 -13
  134. package/esm2020/standalone/directives/input.mjs +0 -112
  135. package/esm2020/standalone/directives/proxies.mjs +0 -2268
  136. package/esm2020/standalone/directives/radio-group.mjs +0 -58
  137. package/esm2020/standalone/directives/radio.mjs +0 -62
  138. package/esm2020/standalone/directives/range.mjs +0 -77
  139. package/esm2020/standalone/directives/searchbar.mjs +0 -80
  140. package/esm2020/standalone/directives/segment.mjs +0 -58
  141. package/esm2020/standalone/directives/select.mjs +0 -81
  142. package/esm2020/standalone/directives/textarea.mjs +0 -90
  143. package/esm2020/standalone/directives/toggle.mjs +0 -73
  144. package/esm2020/standalone/index.mjs +0 -15
  145. package/esm2020/standalone/ionic-angular-standalone.mjs +0 -5
  146. package/esm2020/standalone/navigation/back-button.mjs +0 -32
  147. package/esm2020/standalone/navigation/nav.mjs +0 -28
  148. package/esm2020/standalone/navigation/router-link-delegate.mjs +0 -28
  149. package/esm2020/standalone/navigation/router-outlet.mjs +0 -23
  150. package/esm2020/standalone/navigation/tabs.mjs +0 -46
  151. package/esm2020/standalone/overlays/modal.mjs +0 -32
  152. package/esm2020/standalone/overlays/popover.mjs +0 -28
  153. package/esm2020/standalone/providers/ionic-angular.mjs +0 -41
  154. package/fesm2015/ionic-angular-common.mjs +0 -2620
  155. package/fesm2015/ionic-angular-common.mjs.map +0 -1
  156. package/fesm2015/ionic-angular-standalone.mjs +0 -3286
  157. package/fesm2015/ionic-angular-standalone.mjs.map +0 -1
  158. package/fesm2020/ionic-angular-common.mjs +0 -2609
  159. package/fesm2020/ionic-angular-common.mjs.map +0 -1
  160. package/fesm2020/ionic-angular-standalone.mjs +0 -3284
  161. package/fesm2020/ionic-angular-standalone.mjs.map +0 -1
  162. package/standalone/directives/angular-component-lib/utils.d.ts +0 -9
  163. package/standalone/directives/checkbox.d.ts +0 -30
  164. package/standalone/directives/datetime.d.ts +0 -30
  165. package/standalone/directives/icon.d.ts +0 -9
  166. package/standalone/directives/index.d.ts +0 -12
  167. package/standalone/directives/input.d.ts +0 -47
  168. package/standalone/directives/proxies.d.ts +0 -903
  169. package/standalone/directives/radio-group.d.ts +0 -18
  170. package/standalone/directives/radio.d.ts +0 -22
  171. package/standalone/directives/range.d.ts +0 -47
  172. package/standalone/directives/searchbar.d.ts +0 -45
  173. package/standalone/directives/segment.d.ts +0 -19
  174. package/standalone/directives/select.d.ts +0 -34
  175. package/standalone/directives/textarea.d.ts +0 -37
  176. package/standalone/directives/toggle.d.ts +0 -28
  177. package/standalone/index.d.ts +0 -12
  178. package/standalone/navigation/back-button.d.ts +0 -9
  179. package/standalone/navigation/nav.d.ts +0 -8
  180. package/standalone/navigation/router-link-delegate.d.ts +0 -10
  181. package/standalone/navigation/router-outlet.d.ts +0 -6
  182. package/standalone/navigation/tabs.d.ts +0 -12
  183. package/standalone/overlays/modal.d.ts +0 -6
  184. package/standalone/overlays/popover.d.ts +0 -6
  185. package/standalone/providers/ionic-angular.d.ts +0 -3
  186. /package/{common/directives → directives}/navigation/nav-params.d.ts +0 -0
  187. /package/{common/directives → directives}/navigation/stack-controller.d.ts +0 -0
  188. /package/{common/providers → providers}/dom-controller.d.ts +0 -0
  189. /package/{common/providers → providers}/menu-controller.d.ts +0 -0
  190. /package/{common/utils/routing.d.ts → util/ionic-router-reuse-strategy.d.ts} +0 -0
  191. /package/{common/utils → util}/overlay.d.ts +0 -0
  192. /package/{common/utils → util}/util.d.ts +0 -0
package/index.d.ts CHANGED
@@ -4,15 +4,31 @@ export { RadioValueAccessorDirective as RadioValueAccessor } from './directives/
4
4
  export { SelectValueAccessorDirective as SelectValueAccessor } from './directives/control-value-accessors/select-value-accessor';
5
5
  export { TextValueAccessorDirective as TextValueAccessor } from './directives/control-value-accessors/text-value-accessor';
6
6
  export { IonTabs } from './directives/navigation/ion-tabs';
7
- export { IonBackButton } from './directives/navigation/ion-back-button';
8
- export { IonNav } from './directives/navigation/ion-nav';
7
+ export { IonBackButtonDelegateDirective as IonBackButtonDelegate } from './directives/navigation/ion-back-button';
8
+ export { NavDelegate } from './directives/navigation/nav-delegate';
9
9
  export { IonRouterOutlet } from './directives/navigation/ion-router-outlet';
10
10
  export { RouterLinkDelegateDirective as RouterLinkDelegate, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegate, } from './directives/navigation/router-link-delegate';
11
+ export { NavParams } from './directives/navigation/nav-params';
11
12
  export { IonModal } from './directives/overlays/modal';
12
13
  export { IonPopover } from './directives/overlays/popover';
13
14
  export * from './directives/proxies';
14
15
  export * from './directives/validators';
15
- export { ActionSheetController, AlertController, LoadingController, MenuController, ModalController, PickerController, PopoverController, ToastController, AnimationController, GestureController, DomController, NavController, Config, Platform, AngularDelegate, NavParams, IonicRouteStrategy, } from '@ionic/angular/common';
16
+ export { AngularDelegate } from './providers/angular-delegate';
17
+ export { ActionSheetController } from './providers/action-sheet-controller';
18
+ export { AlertController } from './providers/alert-controller';
19
+ export { LoadingController } from './providers/loading-controller';
20
+ export { MenuController } from './providers/menu-controller';
21
+ export { PickerController } from './providers/picker-controller';
22
+ export { ModalController } from './providers/modal-controller';
23
+ export { Platform } from './providers/platform';
24
+ export { PopoverController } from './providers/popover-controller';
25
+ export { ToastController } from './providers/toast-controller';
26
+ export { NavController } from './providers/nav-controller';
27
+ export { DomController } from './providers/dom-controller';
28
+ export { Config } from './providers/config';
29
+ export { AnimationController } from './providers/animation-controller';
30
+ export { GestureController } from './providers/gesture-controller';
31
+ export { IonicRouteStrategy } from './util/ionic-router-reuse-strategy';
16
32
  export * from './types/ionic-lifecycle-hooks';
17
33
  export { IonicModule } from './ionic-module';
18
- export { createAnimation, createGesture, iosTransitionAnimation, mdTransitionAnimation, IonicSlides, getPlatforms, isPlatform, getTimeGivenProgression, Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, NavComponentWithProps, SpinnerTypes, AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, BreadcrumbCustomEvent, BreadcrumbCollapsedClickEventDetail, ActionSheetOptions, ActionSheetButton, AlertOptions, AlertInput, AlertButton, BackButtonEvent, CheckboxCustomEvent, CheckboxChangeEventDetail, DatetimeCustomEvent, DatetimeChangeEventDetail, InfiniteScrollCustomEvent, InputCustomEvent, InputChangeEventDetail, ItemReorderEventDetail, ItemReorderCustomEvent, ItemSlidingCustomEvent, IonicSafeString, LoadingOptions, MenuCustomEvent, ModalOptions, NavCustomEvent, PickerOptions, PickerButton, PickerColumn, PickerColumnOption, PlatformConfig, PopoverOptions, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, RefresherCustomEvent, RefresherEventDetail, RouterEventDetail, RouterCustomEvent, ScrollBaseCustomEvent, ScrollBaseDetail, ScrollDetail, ScrollCustomEvent, SearchbarCustomEvent, SearchbarChangeEventDetail, SearchbarInputEventDetail, SegmentChangeEventDetail, SegmentCustomEvent, SegmentValue, SelectChangeEventDetail, SelectCustomEvent, TabsCustomEvent, TextareaChangeEventDetail, TextareaCustomEvent, ToastOptions, ToastButton, ToastLayout, ToggleChangeEventDetail, ToggleCustomEvent, } from '@ionic/core';
34
+ export { createAnimation, createGesture, iosTransitionAnimation, mdTransitionAnimation, IonicSlides, getPlatforms, isPlatform, getTimeGivenProgression, getIonPageElement, Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, NavComponentWithProps, SpinnerTypes, AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, BreadcrumbCustomEvent, BreadcrumbCollapsedClickEventDetail, ActionSheetOptions, ActionSheetButton, AlertOptions, AlertInput, AlertButton, BackButtonEvent, CheckboxCustomEvent, CheckboxChangeEventDetail, DatetimeCustomEvent, DatetimeChangeEventDetail, InfiniteScrollCustomEvent, InputCustomEvent, InputChangeEventDetail, ItemReorderEventDetail, ItemReorderCustomEvent, ItemSlidingCustomEvent, IonicSafeString, LoadingOptions, MenuCustomEvent, ModalOptions, NavCustomEvent, PickerOptions, PickerButton, PickerColumn, PickerColumnOption, PlatformConfig, PopoverOptions, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, RefresherCustomEvent, RefresherEventDetail, RouterEventDetail, RouterCustomEvent, ScrollBaseCustomEvent, ScrollBaseDetail, ScrollDetail, ScrollCustomEvent, SearchbarCustomEvent, SearchbarChangeEventDetail, SearchbarInputEventDetail, SegmentChangeEventDetail, SegmentCustomEvent, SegmentValue, SelectChangeEventDetail, SelectCustomEvent, TabsCustomEvent, TextareaChangeEventDetail, TextareaCustomEvent, ToastOptions, ToastButton, ToastLayout, ToggleChangeEventDetail, ToggleCustomEvent, TransitionOptions, } from '@ionic/core';
@@ -0,0 +1,2 @@
1
+ export { IonicSafeString, getPlatforms, isPlatform, createAnimation } from '@ionic/core';
2
+ export { Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, mdTransitionAnimation, iosTransitionAnimation, NavComponentWithProps, } from '@ionic/core';
package/ionic-module.d.ts CHANGED
@@ -12,7 +12,7 @@ import * as i8 from "./directives/control-value-accessors/text-value-accessor";
12
12
  import * as i9 from "./directives/navigation/ion-tabs";
13
13
  import * as i10 from "./directives/navigation/ion-router-outlet";
14
14
  import * as i11 from "./directives/navigation/ion-back-button";
15
- import * as i12 from "./directives/navigation/ion-nav";
15
+ import * as i12 from "./directives/navigation/nav-delegate";
16
16
  import * as i13 from "./directives/navigation/router-link-delegate";
17
17
  import * as i14 from "./directives/validators/min-validator";
18
18
  import * as i15 from "./directives/validators/max-validator";
@@ -20,6 +20,6 @@ import * as i16 from "@angular/common";
20
20
  export declare class IonicModule {
21
21
  static forRoot(config?: IonicConfig): ModuleWithProviders<IonicModule>;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<IonicModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<IonicModule, [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSelect, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.RadioValueAccessorDirective, typeof i7.SelectValueAccessorDirective, typeof i8.TextValueAccessorDirective, typeof i9.IonTabs, typeof i10.IonRouterOutlet, typeof i11.IonBackButton, typeof i12.IonNav, typeof i13.RouterLinkDelegateDirective, typeof i13.RouterLinkWithHrefDelegateDirective, typeof i14.IonMinValidator, typeof i15.IonMaxValidator], [typeof i16.CommonModule], [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSelect, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.RadioValueAccessorDirective, typeof i7.SelectValueAccessorDirective, typeof i8.TextValueAccessorDirective, typeof i9.IonTabs, typeof i10.IonRouterOutlet, typeof i11.IonBackButton, typeof i12.IonNav, typeof i13.RouterLinkDelegateDirective, typeof i13.RouterLinkWithHrefDelegateDirective, typeof i14.IonMinValidator, typeof i15.IonMaxValidator]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IonicModule, [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackButton, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNav, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSelect, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.RadioValueAccessorDirective, typeof i7.SelectValueAccessorDirective, typeof i8.TextValueAccessorDirective, typeof i9.IonTabs, typeof i10.IonRouterOutlet, typeof i11.IonBackButtonDelegateDirective, typeof i12.NavDelegate, typeof i13.RouterLinkDelegateDirective, typeof i13.RouterLinkWithHrefDelegateDirective, typeof i14.IonMinValidator, typeof i15.IonMaxValidator], [typeof i16.CommonModule], [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackButton, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNav, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSelect, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.RadioValueAccessorDirective, typeof i7.SelectValueAccessorDirective, typeof i8.TextValueAccessorDirective, typeof i9.IonTabs, typeof i10.IonRouterOutlet, typeof i11.IonBackButtonDelegateDirective, typeof i12.NavDelegate, typeof i13.RouterLinkDelegateDirective, typeof i13.RouterLinkWithHrefDelegateDirective, typeof i14.IonMinValidator, typeof i15.IonMaxValidator]>;
24
24
  static ɵinj: i0.ɵɵInjectorDeclaration<IonicModule>;
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/angular",
3
- "version": "7.3.4-dev.11696436834.1e83c799",
3
+ "version": "7.3.4-dev.11699991837.1bc64f72",
4
4
  "description": "Angular specific wrappers for @ionic/core",
5
5
  "keywords": [
6
6
  "ionic",
@@ -37,26 +37,10 @@
37
37
  "es2015": "./fesm2015/ionic-angular.mjs",
38
38
  "node": "./fesm2015/ionic-angular.mjs",
39
39
  "default": "./fesm2020/ionic-angular.mjs"
40
- },
41
- "./common": {
42
- "types": "./common/index.d.ts",
43
- "esm2020": "./esm2020/common/ionic-angular-common.mjs",
44
- "es2020": "./fesm2020/ionic-angular-common.mjs",
45
- "es2015": "./fesm2015/ionic-angular-common.mjs",
46
- "node": "./fesm2015/ionic-angular-common.mjs",
47
- "default": "./fesm2020/ionic-angular-common.mjs"
48
- },
49
- "./standalone": {
50
- "types": "./standalone/index.d.ts",
51
- "esm2020": "./esm2020/standalone/ionic-angular-standalone.mjs",
52
- "es2020": "./fesm2020/ionic-angular-standalone.mjs",
53
- "es2015": "./fesm2015/ionic-angular-standalone.mjs",
54
- "node": "./fesm2015/ionic-angular-standalone.mjs",
55
- "default": "./fesm2020/ionic-angular-standalone.mjs"
56
40
  }
57
41
  },
58
42
  "dependencies": {
59
- "@ionic/core": "7.3.4-dev.11696436834.1e83c799",
43
+ "@ionic/core": "7.3.4-dev.11699991837.1bc64f72",
60
44
  "ionicons": "^7.0.0",
61
45
  "jsonc-parser": "^3.0.0",
62
46
  "tslib": "^2.3.0"
@@ -1,5 +1,5 @@
1
- import type { ActionSheetOptions } from '@ionic/core/components';
2
- import { OverlayBaseController } from '../utils/overlay';
1
+ import { ActionSheetOptions } from '@ionic/core';
2
+ import { OverlayBaseController } from '../util/overlay';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ActionSheetController extends OverlayBaseController<ActionSheetOptions, HTMLIonActionSheetElement> {
5
5
  constructor();
@@ -1,5 +1,5 @@
1
- import type { AlertOptions } from '@ionic/core/components';
2
- import { OverlayBaseController } from '../utils/overlay';
1
+ import { AlertOptions } from '@ionic/core';
2
+ import { OverlayBaseController } from '../util/overlay';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AlertController extends OverlayBaseController<AlertOptions, HTMLIonAlertElement> {
5
5
  constructor();
@@ -1,5 +1,5 @@
1
1
  import { ApplicationRef, NgZone, Injector, EnvironmentInjector, ComponentRef } from '@angular/core';
2
- import { FrameworkDelegate } from '@ionic/core/components';
2
+ import { FrameworkDelegate } from '@ionic/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class AngularDelegate {
5
5
  private zone;
@@ -1,4 +1,4 @@
1
- import type { Animation } from '@ionic/core/components';
1
+ import { Animation } from '@ionic/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class AnimationController {
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import type { IonicConfig } from '@ionic/core/components';
2
+ import { IonicConfig } from '@ionic/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class Config {
5
5
  get(key: keyof IonicConfig, fallback?: any): any;
@@ -1,5 +1,5 @@
1
1
  import { NgZone } from '@angular/core';
2
- import type { Gesture, GestureConfig } from '@ionic/core/components';
2
+ import { Gesture, GestureConfig } from '@ionic/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class GestureController {
5
5
  private zone;
@@ -1,5 +1,5 @@
1
- import type { LoadingOptions } from '@ionic/core/components';
2
- import { OverlayBaseController } from '../utils/overlay';
1
+ import { LoadingOptions } from '@ionic/core';
2
+ import { OverlayBaseController } from '../util/overlay';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class LoadingController extends OverlayBaseController<LoadingOptions, HTMLIonLoadingElement> {
5
5
  constructor();
@@ -1,5 +1,5 @@
1
- import type { ModalOptions } from '@ionic/core/components';
2
- import { OverlayBaseController } from '../utils/overlay';
1
+ import { ModalOptions } from '@ionic/core';
2
+ import { OverlayBaseController } from '../util/overlay';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ModalController extends OverlayBaseController<ModalOptions, HTMLIonModalElement> {
5
5
  private angularDelegate;
@@ -1,7 +1,7 @@
1
1
  import { Location } from '@angular/common';
2
2
  import { NavigationExtras, Router, UrlSerializer, UrlTree } from '@angular/router';
3
- import type { AnimationBuilder, NavDirection, RouterDirection } from '@ionic/core/components';
4
- import { IonRouterOutlet } from '../directives/navigation/router-outlet';
3
+ import { AnimationBuilder, NavDirection, RouterDirection } from '@ionic/core';
4
+ import { IonRouterOutlet } from '../directives/navigation/ion-router-outlet';
5
5
  import { Platform } from './platform';
6
6
  import * as i0 from "@angular/core";
7
7
  export interface AnimationOptions {
@@ -1,5 +1,5 @@
1
- import type { PickerOptions } from '@ionic/core/components';
2
- import { OverlayBaseController } from '../utils/overlay';
1
+ import { PickerOptions } from '@ionic/core';
2
+ import { OverlayBaseController } from '../util/overlay';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PickerController extends OverlayBaseController<PickerOptions, HTMLIonPickerElement> {
5
5
  constructor();
@@ -1,5 +1,5 @@
1
1
  import { NgZone } from '@angular/core';
2
- import type { BackButtonEventDetail, Platforms } from '@ionic/core/components';
2
+ import { BackButtonEventDetail, Platforms } from '@ionic/core';
3
3
  import { Subscription, Subject } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export interface BackButtonEmitter extends Subject<BackButtonEventDetail> {
@@ -1,5 +1,5 @@
1
- import type { PopoverOptions } from '@ionic/core/components';
2
- import { OverlayBaseController } from '../utils/overlay';
1
+ import { PopoverOptions } from '@ionic/core';
2
+ import { OverlayBaseController } from '../util/overlay';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PopoverController extends OverlayBaseController<PopoverOptions, HTMLIonPopoverElement> {
5
5
  private angularDelegate;
@@ -1,5 +1,5 @@
1
- import type { ToastOptions } from '@ionic/core/components';
2
- import { OverlayBaseController } from '../utils/overlay';
1
+ import { ToastOptions } from '@ionic/core';
2
+ import { OverlayBaseController } from '../util/overlay';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ToastController extends OverlayBaseController<ToastOptions, HTMLIonToastElement> {
5
5
  constructor();
package/test/README.md CHANGED
@@ -70,14 +70,6 @@ If you want to add a version-specific change, add the change inside of the appro
70
70
 
71
71
  If you need to add E2E tests that are only run on a specific version of the JS Framework, replicate the `VersionTest` component on each partial application. This ensures that tests for framework version X do not get run for framework version Y.
72
72
 
73
- ### Testing Lazy Loaded Ionic Components
74
-
75
- Tests for lazy loaded Ionic UI components should only be added under the `/lazy` route. This ensures the `IonicModule` is added.
76
-
77
- ### Testing Standalone Ionic Components
78
-
79
- Tests for standalone Ionic UI components should only be added under the `/standalone` route. This allows for an isolated environment where the lazy loaded `IonicModule` is not initialized. The standalone components use Stencil's custom element bundle instead of the lazy loaded bundle. If `IonicModule` is initialized then the Stencil components will fall back to using the lazy loaded implementation instead of the custom elements bundle implementation.
80
-
81
73
  ## Adding New Test Apps
82
74
 
83
75
  As we add support for new versions of Angular, we will also need to update this directory to test against new applications. The following steps can serve as a guide for adding new apps:
@@ -6,3 +6,7 @@ export interface IonicWindow extends Window {
6
6
  Ionic: IonicGlobal;
7
7
  __zone_symbol__requestAnimationFrame?: (ts: FrameRequestCallback) => number;
8
8
  }
9
+ export interface HTMLStencilElement extends HTMLElement {
10
+ componentOnReady?(): Promise<this>;
11
+ forceUpdate?(): void;
12
+ }
@@ -1 +0,0 @@
1
- export * from './value-accessor';
@@ -1,26 +0,0 @@
1
- import { ElementRef, NgZone, ChangeDetectorRef } from '@angular/core';
2
- import type { Components } from '@ionic/core';
3
- import type { AnimationBuilder } from '@ionic/core/components';
4
- import { Config } from '../../providers/config';
5
- import { NavController } from '../../providers/nav-controller';
6
- import { IonRouterOutlet } from './router-outlet';
7
- import * as i0 from "@angular/core";
8
- export declare interface IonBackButton extends Components.IonBackButton {
9
- }
10
- export declare class IonBackButton {
11
- private routerOutlet;
12
- private navCtrl;
13
- private config;
14
- private r;
15
- protected z: NgZone;
16
- defaultHref: string | undefined;
17
- routerAnimation: AnimationBuilder | undefined;
18
- protected el: HTMLElement;
19
- constructor(routerOutlet: IonRouterOutlet, navCtrl: NavController, config: Config, r: ElementRef, z: NgZone, c: ChangeDetectorRef);
20
- /**
21
- * @internal
22
- */
23
- onClick(ev: Event): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<IonBackButton, [{ optional: true; }, null, null, null, null, null]>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<IonBackButton, never, never, { "color": "color"; "defaultHref": "defaultHref"; "disabled": "disabled"; "icon": "icon"; "mode": "mode"; "routerAnimation": "routerAnimation"; "text": "text"; "type": "type"; }, {}, never, never, false>;
26
- }
@@ -1,13 +0,0 @@
1
- import { ElementRef, Injector, EnvironmentInjector, NgZone, ChangeDetectorRef } 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
- export declare class IonNav {
8
- protected z: NgZone;
9
- protected el: HTMLElement;
10
- constructor(ref: ElementRef, environmentInjector: EnvironmentInjector, injector: Injector, angularDelegate: AngularDelegate, z: NgZone, c: ChangeDetectorRef);
11
- static ɵfac: i0.ɵɵFactoryDeclaration<IonNav, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<IonNav, never, never, { "animated": "animated"; "animation": "animation"; "root": "root"; "rootParams": "rootParams"; "swipeGesture": "swipeGesture"; }, {}, never, never, false>;
13
- }
@@ -1,50 +0,0 @@
1
- import { LocationStrategy } from '@angular/common';
2
- import { ElementRef, OnChanges, OnInit } from '@angular/core';
3
- import { Router, RouterLink } from '@angular/router';
4
- import type { AnimationBuilder, RouterDirection } from '@ionic/core/components';
5
- import { NavController } from '../../providers/nav-controller';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Adds support for Ionic routing directions and animations to the base Angular router link directive.
9
- *
10
- * When the router link is clicked, the directive will assign the direction and
11
- * animation so that the routing integration will transition correctly.
12
- */
13
- export declare class RouterLinkDelegateDirective implements OnInit, OnChanges {
14
- private locationStrategy;
15
- private navCtrl;
16
- private elementRef;
17
- private router;
18
- private routerLink?;
19
- routerDirection: RouterDirection;
20
- routerAnimation?: AnimationBuilder;
21
- constructor(locationStrategy: LocationStrategy, navCtrl: NavController, elementRef: ElementRef, router: Router, routerLink?: RouterLink | undefined);
22
- ngOnInit(): void;
23
- ngOnChanges(): void;
24
- private updateTargetUrlAndHref;
25
- /**
26
- * @internal
27
- */
28
- onClick(ev: UIEvent): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkDelegateDirective, [null, null, null, null, { optional: true; }]>;
30
- static ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkDelegateDirective, ":not(a):not(area)[routerLink]", never, { "routerDirection": "routerDirection"; "routerAnimation": "routerAnimation"; }, {}, never, never, false>;
31
- }
32
- export declare class RouterLinkWithHrefDelegateDirective implements OnInit, OnChanges {
33
- private locationStrategy;
34
- private navCtrl;
35
- private elementRef;
36
- private router;
37
- private routerLink?;
38
- routerDirection: RouterDirection;
39
- routerAnimation?: AnimationBuilder;
40
- constructor(locationStrategy: LocationStrategy, navCtrl: NavController, elementRef: ElementRef, router: Router, routerLink?: RouterLink | undefined);
41
- ngOnInit(): void;
42
- ngOnChanges(): void;
43
- private updateTargetUrlAndHref;
44
- /**
45
- * @internal
46
- */
47
- onClick(): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<RouterLinkWithHrefDelegateDirective, [null, null, null, null, { optional: true; }]>;
49
- static ɵdir: i0.ɵɵDirectiveDeclaration<RouterLinkWithHrefDelegateDirective, "a[routerLink],area[routerLink]", never, { "routerDirection": "routerDirection"; "routerAnimation": "routerAnimation"; }, {}, never, never, false>;
50
- }
@@ -1,103 +0,0 @@
1
- import { Location } from '@angular/common';
2
- import { ComponentRef, ElementRef, NgZone, OnDestroy, OnInit, EventEmitter, EnvironmentInjector } from '@angular/core';
3
- import type { Provider } from '@angular/core';
4
- import { OutletContext, Router, ActivatedRoute, Data } from '@angular/router';
5
- import type { AnimationBuilder } from '@ionic/core/components';
6
- import { RouteView, StackDidChangeEvent, StackWillChangeEvent } from './stack-utils';
7
- import * as i0 from "@angular/core";
8
- export declare class IonRouterOutlet implements OnDestroy, OnInit {
9
- readonly parentOutlet?: IonRouterOutlet | undefined;
10
- nativeEl: HTMLIonRouterOutletElement;
11
- activatedView: RouteView | null;
12
- tabsPrefix: string | undefined;
13
- private _swipeGesture?;
14
- private stackCtrl;
15
- private proxyMap;
16
- private currentActivatedRoute$;
17
- private activated;
18
- /** @internal */
19
- get activatedComponentRef(): ComponentRef<any> | null;
20
- private _activatedRoute;
21
- /**
22
- * The name of the outlet
23
- */
24
- name: string;
25
- /** @internal */
26
- stackWillChange: EventEmitter<StackWillChangeEvent>;
27
- /** @internal */
28
- stackDidChange: EventEmitter<StackDidChangeEvent>;
29
- activateEvents: EventEmitter<any>;
30
- deactivateEvents: EventEmitter<any>;
31
- private parentContexts;
32
- private location;
33
- private environmentInjector;
34
- private inputBinder;
35
- /** @nodoc */
36
- readonly supportsBindingToComponentInputs = true;
37
- private config;
38
- private navCtrl;
39
- set animation(animation: AnimationBuilder);
40
- set animated(animated: boolean);
41
- set swipeGesture(swipe: boolean);
42
- constructor(name: string, tabs: string, commonLocation: Location, elementRef: ElementRef, router: Router, zone: NgZone, activatedRoute: ActivatedRoute, parentOutlet?: IonRouterOutlet | undefined);
43
- ngOnDestroy(): void;
44
- getContext(): OutletContext | null;
45
- ngOnInit(): void;
46
- private initializeOutletWithName;
47
- get isActivated(): boolean;
48
- get component(): Record<string, unknown>;
49
- get activatedRoute(): ActivatedRoute;
50
- get activatedRouteData(): Data;
51
- /**
52
- * Called when the `RouteReuseStrategy` instructs to detach the subtree
53
- */
54
- detach(): ComponentRef<any>;
55
- /**
56
- * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree
57
- */
58
- attach(_ref: ComponentRef<any>, _activatedRoute: ActivatedRoute): void;
59
- deactivate(): void;
60
- activateWith(activatedRoute: ActivatedRoute, environmentInjector: EnvironmentInjector | null): void;
61
- /**
62
- * Returns `true` if there are pages in the stack to go back.
63
- */
64
- canGoBack(deep?: number, stackId?: string): boolean;
65
- /**
66
- * Resolves to `true` if it the outlet was able to sucessfully pop the last N pages.
67
- */
68
- pop(deep?: number, stackId?: string): Promise<boolean>;
69
- /**
70
- * Returns the URL of the active page of each stack.
71
- */
72
- getLastUrl(stackId?: string): string | undefined;
73
- /**
74
- * Returns the RouteView of the active page of each stack.
75
- * @internal
76
- */
77
- getLastRouteView(stackId?: string): RouteView | undefined;
78
- /**
79
- * Returns the root view in the tab stack.
80
- * @internal
81
- */
82
- getRootView(stackId?: string): RouteView | undefined;
83
- /**
84
- * Returns the active stack ID. In the context of ion-tabs, it means the active tab.
85
- */
86
- getActiveStackId(): string | undefined;
87
- /**
88
- * Since the activated route can change over the life time of a component in an ion router outlet, we create
89
- * a proxy so that we can update the values over time as a user navigates back to components already in the stack.
90
- */
91
- private createActivatedRouteProxy;
92
- /**
93
- * Create a wrapped observable that will switch to the latest activated route matched by the given component
94
- */
95
- private proxyObservable;
96
- /**
97
- * Updates the activated route proxy for the given component to the new incoming router state
98
- */
99
- private updateActivatedRouteProxy;
100
- static ɵfac: i0.ɵɵFactoryDeclaration<IonRouterOutlet, [{ attribute: "name"; }, { attribute: "tabs"; optional: true; }, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
101
- static ɵdir: i0.ɵɵDirectiveDeclaration<IonRouterOutlet, "ion-router-outlet", ["outlet"], { "animated": "animated"; "animation": "animation"; "mode": "mode"; "swipeGesture": "swipeGesture"; "name": "name"; }, { "stackWillChange": "stackWillChange"; "stackDidChange": "stackDidChange"; "activateEvents": "activate"; "deactivateEvents": "deactivate"; }, never, never, false>;
102
- }
103
- export declare const provideComponentInputBinding: () => Provider;
@@ -1,74 +0,0 @@
1
- import { AfterContentChecked, AfterContentInit, ElementRef, EventEmitter } 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 class IonTabs implements 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
- outlet: any;
12
- tabBar: any;
13
- tabBars: any;
14
- tabsInner: ElementRef<HTMLDivElement>;
15
- /**
16
- * Emitted before the tab view is changed.
17
- */
18
- ionTabsWillChange: EventEmitter<{
19
- tab: string;
20
- }>;
21
- /**
22
- * Emitted after the tab view is changed.
23
- */
24
- ionTabsDidChange: EventEmitter<{
25
- tab: string;
26
- }>;
27
- private tabBarSlot;
28
- constructor(navCtrl: NavController);
29
- ngAfterContentInit(): void;
30
- ngAfterContentChecked(): void;
31
- /**
32
- * @internal
33
- */
34
- onStackWillChange({ enteringView, tabSwitch }: StackWillChangeEvent): void;
35
- /**
36
- * @internal
37
- */
38
- onStackDidChange({ enteringView, tabSwitch }: StackDidChangeEvent): void;
39
- /**
40
- * When a tab button is clicked, there are several scenarios:
41
- * 1. If the selected tab is currently active (the tab button has been clicked
42
- * again), then it should go to the root view for that tab.
43
- *
44
- * a. Get the saved root view from the router outlet. If the saved root view
45
- * matches the tabRootUrl, set the route view to this view including the
46
- * navigation extras.
47
- * b. If the saved root view from the router outlet does
48
- * not match, navigate to the tabRootUrl. No navigation extras are
49
- * included.
50
- *
51
- * 2. If the current tab tab is not currently selected, get the last route
52
- * view from the router outlet.
53
- *
54
- * a. If the last route view exists, navigate to that view including any
55
- * navigation extras
56
- * b. If the last route view doesn't exist, then navigate
57
- * to the default tabRootUrl
58
- */
59
- select(tabOrEvent: string | CustomEvent): Promise<boolean> | undefined;
60
- getSelected(): string | undefined;
61
- /**
62
- * Detects changes to the slot attribute of the tab bar.
63
- *
64
- * If the slot attribute has changed, then the tab bar
65
- * should be relocated to the new slot position.
66
- */
67
- private detectSlotChanges;
68
- /**
69
- * Relocates the tab bar to the new slot position.
70
- */
71
- private relocateTabBar;
72
- static ɵfac: i0.ɵɵFactoryDeclaration<IonTabs, never>;
73
- static ɵdir: i0.ɵɵDirectiveDeclaration<IonTabs, "ion-tabs", never, {}, { "ionTabsWillChange": "ionTabsWillChange"; "ionTabsDidChange": "ionTabsDidChange"; }, never, never, false>;
74
- }
package/common/index.d.ts DELETED
@@ -1,28 +0,0 @@
1
- export { ActionSheetController } from './providers/action-sheet-controller';
2
- export { AlertController } from './providers/alert-controller';
3
- export { LoadingController } from './providers/loading-controller';
4
- export { MenuController } from './providers/menu-controller';
5
- export { ModalController } from './providers/modal-controller';
6
- export { PickerController } from './providers/picker-controller';
7
- export { PopoverController } from './providers/popover-controller';
8
- export { ToastController } from './providers/toast-controller';
9
- export { AnimationController } from './providers/animation-controller';
10
- export { GestureController } from './providers/gesture-controller';
11
- export { DomController } from './providers/dom-controller';
12
- export { NavController } from './providers/nav-controller';
13
- export { Config, ConfigToken } from './providers/config';
14
- export { Platform } from './providers/platform';
15
- export { bindLifecycleEvents, AngularDelegate } from './providers/angular-delegate';
16
- export type { IonicWindow } from './types/interfaces';
17
- export { NavParams } from './directives/navigation/nav-params';
18
- export { IonPopover } from './overlays/popover';
19
- export { IonModal } from './overlays/modal';
20
- export { IonRouterOutlet, provideComponentInputBinding } from './directives/navigation/router-outlet';
21
- export { IonBackButton } from './directives/navigation/back-button';
22
- export { RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, } from './directives/navigation/router-link-delegate';
23
- export { IonNav } from './directives/navigation/nav';
24
- export { IonTabs } from './directives/navigation/tabs';
25
- export * from './directives/control-value-accessors';
26
- export { ProxyCmp } from './utils/proxy';
27
- export { IonicRouteStrategy } from './utils/routing';
28
- export { raf } from './utils/util';
@@ -1,50 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, TemplateRef } from '@angular/core';
2
- import type { Components, ModalBreakpointChangeEventDetail } 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 after the modal has presented. Shorthand for ionModalDidPresent.
27
- */
28
- didPresent: EventEmitter<CustomEvent>;
29
- /**
30
- * Emitted before the modal has presented. Shorthand for ionModalWillPresent.
31
- */
32
- willPresent: EventEmitter<CustomEvent>;
33
- /**
34
- * Emitted before the modal has dismissed. Shorthand for ionModalWillDismiss.
35
- */
36
- willDismiss: EventEmitter<CustomEvent>;
37
- /**
38
- * Emitted after the modal has dismissed. Shorthand for ionModalDidDismiss.
39
- */
40
- didDismiss: EventEmitter<CustomEvent>;
41
- }
42
- export declare class IonModal {
43
- protected z: NgZone;
44
- template: TemplateRef<any>;
45
- isCmpOpen: boolean;
46
- protected el: HTMLElement;
47
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
48
- static ɵfac: i0.ɵɵFactoryDeclaration<IonModal, never>;
49
- static ɵdir: i0.ɵɵDirectiveDeclaration<IonModal, "ion-modal", never, { "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"; }, {}, ["template"], never, false>;
50
- }