@ionic/angular 7.4.2-dev.11695667578.1539f05b → 7.4.2-dev.11695737717.1804b7c2

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 (216) hide show
  1. package/README.md +0 -20
  2. package/app-initialize.d.ts +1 -1
  3. package/css/core.css +0 -101
  4. package/css/core.css.map +1 -1
  5. package/css/display.css +0 -33
  6. package/css/display.css.map +1 -1
  7. package/css/float-elements.css +0 -33
  8. package/css/float-elements.css.map +1 -1
  9. package/css/global.bundle.css +6 -84
  10. package/css/global.bundle.css.map +1 -1
  11. package/css/ionic-swiper.css +0 -33
  12. package/css/ionic-swiper.css.map +1 -1
  13. package/css/ionic.bundle.css +1 -1
  14. package/css/ionic.bundle.css.map +1 -1
  15. package/css/padding.css +0 -33
  16. package/css/padding.css.map +1 -1
  17. package/css/structure.css +0 -33
  18. package/css/structure.css.map +1 -1
  19. package/css/text-alignment.css +0 -33
  20. package/css/text-alignment.css.map +1 -1
  21. package/css/text-transformation.css +0 -33
  22. package/css/text-transformation.css.map +1 -1
  23. package/css/typography.css +6 -51
  24. package/css/typography.css.map +1 -1
  25. package/css/utils.bundle.css +0 -165
  26. package/css/utils.bundle.css.map +1 -1
  27. package/directives/control-value-accessors/boolean-value-accessor.d.ts +1 -1
  28. package/directives/control-value-accessors/numeric-value-accessor.d.ts +1 -1
  29. package/directives/control-value-accessors/radio-value-accessor.d.ts +1 -1
  30. package/directives/control-value-accessors/select-value-accessor.d.ts +1 -1
  31. package/directives/control-value-accessors/text-value-accessor.d.ts +1 -1
  32. package/{common/directives → directives}/control-value-accessors/value-accessor.d.ts +2 -2
  33. package/directives/navigation/ion-back-button.d.ts +16 -6
  34. package/directives/navigation/ion-router-outlet.d.ts +122 -4
  35. package/directives/navigation/ion-tabs.d.ts +64 -4
  36. package/directives/navigation/nav-delegate.d.ts +9 -0
  37. package/directives/navigation/router-link-delegate.d.ts +41 -7
  38. package/{common/directives → directives}/navigation/stack-utils.d.ts +1 -1
  39. package/directives/overlays/modal.d.ts +47 -3
  40. package/directives/overlays/popover.d.ts +43 -3
  41. package/directives/proxies-list.d.ts +1 -1
  42. package/directives/proxies.d.ts +26 -0
  43. package/esm2020/app-initialize.mjs +2 -2
  44. package/esm2020/directives/control-value-accessors/boolean-value-accessor.mjs +4 -4
  45. package/esm2020/directives/control-value-accessors/numeric-value-accessor.mjs +2 -2
  46. package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +3 -6
  47. package/esm2020/directives/control-value-accessors/select-value-accessor.mjs +2 -2
  48. package/esm2020/directives/control-value-accessors/text-value-accessor.mjs +2 -2
  49. package/esm2020/directives/control-value-accessors/value-accessor.mjs +141 -0
  50. package/esm2020/directives/navigation/ion-back-button.mjs +36 -15
  51. package/esm2020/directives/navigation/ion-router-outlet.mjs +435 -6
  52. package/esm2020/directives/navigation/ion-tabs.mjs +166 -9
  53. package/esm2020/directives/navigation/nav-delegate.mjs +42 -0
  54. package/esm2020/directives/navigation/nav-params.mjs +45 -0
  55. package/esm2020/directives/navigation/router-link-delegate.mjs +92 -11
  56. package/esm2020/directives/navigation/stack-controller.mjs +275 -0
  57. package/esm2020/directives/navigation/stack-utils.mjs +73 -0
  58. package/esm2020/directives/overlays/modal.mjs +88 -8
  59. package/esm2020/directives/overlays/popover.mjs +87 -8
  60. package/esm2020/directives/proxies-list.mjs +3 -1
  61. package/esm2020/directives/proxies.mjs +53 -1
  62. package/esm2020/index.mjs +21 -4
  63. package/esm2020/ionic-core.mjs +6 -0
  64. package/esm2020/ionic-module.mjs +32 -14
  65. package/esm2020/providers/action-sheet-controller.mjs +18 -0
  66. package/esm2020/providers/alert-controller.mjs +18 -0
  67. package/esm2020/providers/angular-delegate.mjs +152 -0
  68. package/esm2020/providers/animation-controller.mjs +37 -0
  69. package/esm2020/providers/config.mjs +44 -0
  70. package/esm2020/providers/dom-controller.mjs +44 -0
  71. package/esm2020/providers/gesture-controller.mjs +31 -0
  72. package/esm2020/providers/loading-controller.mjs +18 -0
  73. package/esm2020/providers/menu-controller.mjs +100 -0
  74. package/esm2020/providers/modal-controller.mjs +25 -0
  75. package/esm2020/providers/nav-controller.mjs +221 -0
  76. package/esm2020/providers/picker-controller.mjs +18 -0
  77. package/esm2020/providers/platform.mjs +246 -0
  78. package/esm2020/providers/popover-controller.mjs +25 -0
  79. package/esm2020/providers/toast-controller.mjs +18 -0
  80. package/esm2020/types/interfaces.mjs +2 -0
  81. package/esm2020/util/ionic-router-reuse-strategy.mjs +55 -0
  82. package/esm2020/util/overlay.mjs +25 -0
  83. package/esm2020/util/util.mjs +10 -0
  84. package/fesm2015/ionic-angular.mjs +2645 -151
  85. package/fesm2015/ionic-angular.mjs.map +1 -1
  86. package/fesm2020/ionic-angular.mjs +2637 -152
  87. package/fesm2020/ionic-angular.mjs.map +1 -1
  88. package/index.d.ts +19 -3
  89. package/ionic-core.d.ts +2 -0
  90. package/ionic-module.d.ts +2 -2
  91. package/package.json +2 -18
  92. package/{common/providers → providers}/action-sheet-controller.d.ts +2 -2
  93. package/{common/providers → providers}/alert-controller.d.ts +2 -2
  94. package/{common/providers → providers}/angular-delegate.d.ts +1 -1
  95. package/{common/providers → providers}/animation-controller.d.ts +1 -1
  96. package/{common/providers → providers}/config.d.ts +1 -1
  97. package/{common/providers → providers}/gesture-controller.d.ts +1 -1
  98. package/{common/providers → providers}/loading-controller.d.ts +2 -2
  99. package/{common/providers → providers}/modal-controller.d.ts +2 -2
  100. package/{common/providers → providers}/nav-controller.d.ts +2 -2
  101. package/{common/providers → providers}/picker-controller.d.ts +2 -2
  102. package/{common/providers → providers}/platform.d.ts +2 -2
  103. package/{common/providers → providers}/popover-controller.d.ts +2 -2
  104. package/{common/providers → providers}/toast-controller.d.ts +2 -2
  105. package/test/README.md +0 -8
  106. package/{common/types → types}/interfaces.d.ts +4 -0
  107. package/common/directives/control-value-accessors/index.d.ts +0 -1
  108. package/common/directives/navigation/back-button.d.ts +0 -26
  109. package/common/directives/navigation/nav.d.ts +0 -13
  110. package/common/directives/navigation/router-link-delegate.d.ts +0 -50
  111. package/common/directives/navigation/router-outlet.d.ts +0 -103
  112. package/common/directives/navigation/tabs.d.ts +0 -74
  113. package/common/index.d.ts +0 -28
  114. package/common/overlays/modal.d.ts +0 -50
  115. package/common/overlays/popover.d.ts +0 -46
  116. package/common/utils/proxy.d.ts +0 -8
  117. package/directives/navigation/ion-nav.d.ts +0 -8
  118. package/esm2020/common/directives/control-value-accessors/index.mjs +0 -2
  119. package/esm2020/common/directives/control-value-accessors/value-accessor.mjs +0 -141
  120. package/esm2020/common/directives/navigation/back-button.mjs +0 -59
  121. package/esm2020/common/directives/navigation/nav-params.mjs +0 -45
  122. package/esm2020/common/directives/navigation/nav.mjs +0 -47
  123. package/esm2020/common/directives/navigation/router-link-delegate.mjs +0 -111
  124. package/esm2020/common/directives/navigation/router-outlet.mjs +0 -461
  125. package/esm2020/common/directives/navigation/stack-controller.mjs +0 -275
  126. package/esm2020/common/directives/navigation/stack-utils.mjs +0 -73
  127. package/esm2020/common/directives/navigation/tabs.mjs +0 -172
  128. package/esm2020/common/index.mjs +0 -28
  129. package/esm2020/common/ionic-angular-common.mjs +0 -5
  130. package/esm2020/common/overlays/modal.mjs +0 -87
  131. package/esm2020/common/overlays/popover.mjs +0 -79
  132. package/esm2020/common/providers/action-sheet-controller.mjs +0 -18
  133. package/esm2020/common/providers/alert-controller.mjs +0 -18
  134. package/esm2020/common/providers/angular-delegate.mjs +0 -152
  135. package/esm2020/common/providers/animation-controller.mjs +0 -37
  136. package/esm2020/common/providers/config.mjs +0 -44
  137. package/esm2020/common/providers/dom-controller.mjs +0 -44
  138. package/esm2020/common/providers/gesture-controller.mjs +0 -31
  139. package/esm2020/common/providers/loading-controller.mjs +0 -18
  140. package/esm2020/common/providers/menu-controller.mjs +0 -100
  141. package/esm2020/common/providers/modal-controller.mjs +0 -25
  142. package/esm2020/common/providers/nav-controller.mjs +0 -221
  143. package/esm2020/common/providers/picker-controller.mjs +0 -18
  144. package/esm2020/common/providers/platform.mjs +0 -246
  145. package/esm2020/common/providers/popover-controller.mjs +0 -25
  146. package/esm2020/common/providers/toast-controller.mjs +0 -18
  147. package/esm2020/common/types/interfaces.mjs +0 -2
  148. package/esm2020/common/utils/overlay.mjs +0 -25
  149. package/esm2020/common/utils/proxy.mjs +0 -47
  150. package/esm2020/common/utils/routing.mjs +0 -55
  151. package/esm2020/common/utils/util.mjs +0 -10
  152. package/esm2020/directives/navigation/ion-nav.mjs +0 -21
  153. package/esm2020/standalone/directives/angular-component-lib/utils.mjs +0 -51
  154. package/esm2020/standalone/directives/checkbox.mjs +0 -73
  155. package/esm2020/standalone/directives/datetime.mjs +0 -90
  156. package/esm2020/standalone/directives/icon.mjs +0 -33
  157. package/esm2020/standalone/directives/index.mjs +0 -13
  158. package/esm2020/standalone/directives/input.mjs +0 -112
  159. package/esm2020/standalone/directives/proxies.mjs +0 -2268
  160. package/esm2020/standalone/directives/radio-group.mjs +0 -58
  161. package/esm2020/standalone/directives/radio.mjs +0 -62
  162. package/esm2020/standalone/directives/range.mjs +0 -77
  163. package/esm2020/standalone/directives/searchbar.mjs +0 -80
  164. package/esm2020/standalone/directives/segment.mjs +0 -58
  165. package/esm2020/standalone/directives/select.mjs +0 -81
  166. package/esm2020/standalone/directives/textarea.mjs +0 -90
  167. package/esm2020/standalone/directives/toggle.mjs +0 -73
  168. package/esm2020/standalone/index.mjs +0 -15
  169. package/esm2020/standalone/ionic-angular-standalone.mjs +0 -5
  170. package/esm2020/standalone/navigation/back-button.mjs +0 -32
  171. package/esm2020/standalone/navigation/nav.mjs +0 -28
  172. package/esm2020/standalone/navigation/router-link-delegate.mjs +0 -30
  173. package/esm2020/standalone/navigation/router-outlet.mjs +0 -23
  174. package/esm2020/standalone/navigation/tabs.mjs +0 -46
  175. package/esm2020/standalone/overlays/modal.mjs +0 -32
  176. package/esm2020/standalone/overlays/popover.mjs +0 -28
  177. package/esm2020/standalone/providers/ionic-angular.mjs +0 -41
  178. package/fesm2015/ionic-angular-common.mjs +0 -2620
  179. package/fesm2015/ionic-angular-common.mjs.map +0 -1
  180. package/fesm2015/ionic-angular-standalone.mjs +0 -3288
  181. package/fesm2015/ionic-angular-standalone.mjs.map +0 -1
  182. package/fesm2020/ionic-angular-common.mjs +0 -2609
  183. package/fesm2020/ionic-angular-common.mjs.map +0 -1
  184. package/fesm2020/ionic-angular-standalone.mjs +0 -3286
  185. package/fesm2020/ionic-angular-standalone.mjs.map +0 -1
  186. package/standalone/directives/angular-component-lib/utils.d.ts +0 -9
  187. package/standalone/directives/checkbox.d.ts +0 -30
  188. package/standalone/directives/datetime.d.ts +0 -30
  189. package/standalone/directives/icon.d.ts +0 -9
  190. package/standalone/directives/index.d.ts +0 -12
  191. package/standalone/directives/input.d.ts +0 -47
  192. package/standalone/directives/proxies.d.ts +0 -903
  193. package/standalone/directives/radio-group.d.ts +0 -18
  194. package/standalone/directives/radio.d.ts +0 -22
  195. package/standalone/directives/range.d.ts +0 -47
  196. package/standalone/directives/searchbar.d.ts +0 -45
  197. package/standalone/directives/segment.d.ts +0 -19
  198. package/standalone/directives/select.d.ts +0 -34
  199. package/standalone/directives/textarea.d.ts +0 -37
  200. package/standalone/directives/toggle.d.ts +0 -28
  201. package/standalone/index.d.ts +0 -12
  202. package/standalone/navigation/back-button.d.ts +0 -9
  203. package/standalone/navigation/nav.d.ts +0 -8
  204. package/standalone/navigation/router-link-delegate.d.ts +0 -10
  205. package/standalone/navigation/router-outlet.d.ts +0 -6
  206. package/standalone/navigation/tabs.d.ts +0 -12
  207. package/standalone/overlays/modal.d.ts +0 -6
  208. package/standalone/overlays/popover.d.ts +0 -6
  209. package/standalone/providers/ionic-angular.d.ts +0 -3
  210. /package/{common/directives → directives}/navigation/nav-params.d.ts +0 -0
  211. /package/{common/directives → directives}/navigation/stack-controller.d.ts +0 -0
  212. /package/{common/providers → providers}/dom-controller.d.ts +0 -0
  213. /package/{common/providers → providers}/menu-controller.d.ts +0 -0
  214. /package/{common/utils/routing.d.ts → util/ionic-router-reuse-strategy.d.ts} +0 -0
  215. /package/{common/utils → util}/overlay.d.ts +0 -0
  216. /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
- }