@ionic/angular 7.4.4-dev.11700515976.1ccd503d → 7.4.4-dev.11700516449.1d005735

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 +27 -1
  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 +56 -4
  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 +2650 -156
  61. package/fesm2015/ionic-angular.mjs.map +1 -1
  62. package/fesm2020/ionic-angular.mjs +2642 -157
  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 +2 -2
  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
@@ -1,30 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
2
- import { ValueAccessor } from '@ionic/angular/common';
3
- import type { CheckboxChangeEventDetail, Components } from '@ionic/core/components';
4
- import * as i0 from "@angular/core";
5
- export declare class IonCheckbox extends ValueAccessor {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
8
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
9
- writeValue(value: boolean): void;
10
- handleIonChange(el: HTMLIonCheckboxElement | HTMLIonToggleElement): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<IonCheckbox, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<IonCheckbox, "ion-checkbox", never, { "checked": "checked"; "color": "color"; "disabled": "disabled"; "indeterminate": "indeterminate"; "justify": "justify"; "labelPlacement": "labelPlacement"; "legacy": "legacy"; "mode": "mode"; "name": "name"; "value": "value"; }, {}, never, ["*"], true>;
13
- }
14
- export declare interface IonCheckbox extends Components.IonCheckbox {
15
- /**
16
- * Emitted when the checked property has changed
17
- as a result of a user action such as a click.
18
- This event will not emit when programmatically
19
- setting the checked property.
20
- */
21
- ionChange: EventEmitter<CustomEvent<CheckboxChangeEventDetail>>;
22
- /**
23
- * Emitted when the checkbox has focus.
24
- */
25
- ionFocus: EventEmitter<CustomEvent<void>>;
26
- /**
27
- * Emitted when the checkbox loses focus.
28
- */
29
- ionBlur: EventEmitter<CustomEvent<void>>;
30
- }
@@ -1,30 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
2
- import { ValueAccessor } from '@ionic/angular/common';
3
- import type { DatetimeChangeEventDetail, Components } from '@ionic/core/components';
4
- import * as i0 from "@angular/core";
5
- export declare class IonDatetime extends ValueAccessor {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
8
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
9
- handleIonChange(el: HTMLIonDatetimeElement): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<IonDatetime, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<IonDatetime, "ion-datetime", never, { "cancelText": "cancelText"; "clearText": "clearText"; "color": "color"; "dayValues": "dayValues"; "disabled": "disabled"; "doneText": "doneText"; "firstDayOfWeek": "firstDayOfWeek"; "highlightedDates": "highlightedDates"; "hourCycle": "hourCycle"; "hourValues": "hourValues"; "isDateEnabled": "isDateEnabled"; "locale": "locale"; "max": "max"; "min": "min"; "minuteValues": "minuteValues"; "mode": "mode"; "monthValues": "monthValues"; "multiple": "multiple"; "name": "name"; "preferWheel": "preferWheel"; "presentation": "presentation"; "readonly": "readonly"; "showClearButton": "showClearButton"; "showDefaultButtons": "showDefaultButtons"; "showDefaultTimeLabel": "showDefaultTimeLabel"; "showDefaultTitle": "showDefaultTitle"; "size": "size"; "titleSelectedDatesFormatter": "titleSelectedDatesFormatter"; "value": "value"; "yearValues": "yearValues"; }, {}, never, ["*"], true>;
12
- }
13
- export declare interface IonDatetime extends Components.IonDatetime {
14
- /**
15
- * Emitted when the datetime selection was cancelled.
16
- */
17
- ionCancel: EventEmitter<CustomEvent<void>>;
18
- /**
19
- * Emitted when the value (selected date) has changed.
20
- */
21
- ionChange: EventEmitter<CustomEvent<DatetimeChangeEventDetail>>;
22
- /**
23
- * Emitted when the datetime has focus.
24
- */
25
- ionFocus: EventEmitter<CustomEvent<void>>;
26
- /**
27
- * Emitted when the datetime loses focus.
28
- */
29
- ionBlur: EventEmitter<CustomEvent<void>>;
30
- }
@@ -1,9 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class IonIcon {
4
- protected z: NgZone;
5
- protected el: HTMLElement;
6
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<IonIcon, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<IonIcon, "ion-icon", never, { "color": "color"; "flipRtl": "flipRtl"; "icon": "icon"; "ios": "ios"; "lazy": "lazy"; "md": "md"; "mode": "mode"; "name": "name"; "sanitize": "sanitize"; "size": "size"; "src": "src"; }, {}, never, ["*"], true>;
9
- }
@@ -1,12 +0,0 @@
1
- export * from './checkbox';
2
- export * from './datetime';
3
- export * from './icon';
4
- export * from './input';
5
- export * from './radio-group';
6
- export * from './radio';
7
- export * from './range';
8
- export * from './searchbar';
9
- export * from './segment';
10
- export * from './select';
11
- export * from './textarea';
12
- export * from './toggle';
@@ -1,47 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
2
- import { ValueAccessor } from '@ionic/angular/common';
3
- import type { InputInputEventDetail as IIonInputInputInputEventDetail, InputChangeEventDetail as IIonInputInputChangeEventDetail, Components } from '@ionic/core/components';
4
- import * as i0 from "@angular/core";
5
- export declare class IonInput extends ValueAccessor {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
8
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
9
- handleIonInput(el: HTMLIonInputElement): void;
10
- registerOnChange(fn: (_: any) => void): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<IonInput, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<IonInput, "ion-input", never, { "accept": "accept"; "autocapitalize": "autocapitalize"; "autocomplete": "autocomplete"; "autocorrect": "autocorrect"; "autofocus": "autofocus"; "clearInput": "clearInput"; "clearOnEdit": "clearOnEdit"; "color": "color"; "counter": "counter"; "counterFormatter": "counterFormatter"; "debounce": "debounce"; "disabled": "disabled"; "enterkeyhint": "enterkeyhint"; "errorText": "errorText"; "fill": "fill"; "helperText": "helperText"; "inputmode": "inputmode"; "label": "label"; "labelPlacement": "labelPlacement"; "legacy": "legacy"; "max": "max"; "maxlength": "maxlength"; "min": "min"; "minlength": "minlength"; "mode": "mode"; "multiple": "multiple"; "name": "name"; "pattern": "pattern"; "placeholder": "placeholder"; "readonly": "readonly"; "required": "required"; "shape": "shape"; "size": "size"; "spellcheck": "spellcheck"; "step": "step"; "type": "type"; "value": "value"; }, {}, never, ["*"], true>;
13
- }
14
- export declare interface IonInput extends Components.IonInput {
15
- /**
16
- * The `ionInput` event is fired each time the user modifies the input's value.
17
- Unlike the `ionChange` event, the `ionInput` event is fired for each alteration
18
- to the input's value. This typically happens for each keystroke as the user types.
19
-
20
- For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
21
- is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
22
- the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If
23
- the input is cleared on edit, the type is `null`.
24
- */
25
- ionInput: EventEmitter<CustomEvent<IIonInputInputInputEventDetail>>;
26
- /**
27
- * The `ionChange` event is fired when the user modifies the input's value.
28
- Unlike the `ionInput` event, the `ionChange` event is only fired when changes
29
- are committed, not as the user types.
30
-
31
- Depending on the way the users interacts with the element, the `ionChange`
32
- event fires at a different moment:
33
- - When the user commits the change explicitly (e.g. by selecting a date
34
- from a date picker for `<ion-input type="date">`, pressing the "Enter" key, etc.).
35
- - When the element loses focus after its value has changed: for elements
36
- where the user's interaction is typing.
37
- */
38
- ionChange: EventEmitter<CustomEvent<IIonInputInputChangeEventDetail>>;
39
- /**
40
- * Emitted when the input loses focus.
41
- */
42
- ionBlur: EventEmitter<CustomEvent<FocusEvent>>;
43
- /**
44
- * Emitted when the input has focus.
45
- */
46
- ionFocus: EventEmitter<CustomEvent<FocusEvent>>;
47
- }