@ionic/angular 8.8.9-dev.11780604658.184bb991 → 8.8.9-dev.11780683233.1c5e9d9b
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.
- package/README.md +1 -1
- package/app-initialize.d.ts +3 -0
- package/common/directives/control-value-accessors/index.d.ts +1 -0
- package/common/directives/control-value-accessors/value-accessor.d.ts +36 -0
- package/common/directives/navigation/back-button.d.ts +23 -0
- package/common/directives/navigation/nav-params.d.ts +45 -0
- package/common/directives/navigation/nav.d.ts +21 -0
- package/common/directives/navigation/router-link-delegate.d.ts +60 -0
- package/common/directives/navigation/router-outlet.d.ts +104 -0
- package/common/directives/navigation/stack-controller.d.ts +42 -0
- package/common/directives/navigation/stack-utils.d.ts +38 -0
- package/common/directives/navigation/tabs.d.ts +83 -0
- package/common/index.d.ts +22 -0
- package/common/overlays/modal.d.ts +62 -0
- package/common/overlays/popover.d.ts +46 -0
- package/common/providers/angular-delegate.d.ts +28 -0
- package/common/providers/config.d.ts +11 -0
- package/common/providers/dom-controller.d.ts +16 -0
- package/common/providers/menu-controller.d.ts +78 -0
- package/common/providers/nav-controller.d.ts +116 -0
- package/common/providers/platform.d.ts +174 -0
- package/common/types/interfaces.d.ts +8 -0
- package/common/types/ionic-lifecycle-hooks.d.ts +27 -0
- package/common/types/overlay-options.d.ts +16 -0
- package/common/utils/overlay.d.ts +21 -0
- package/common/utils/proxy.d.ts +8 -0
- package/common/utils/routing.d.ts +28 -0
- package/common/utils/util.d.ts +1 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -0
- package/css/ionic/bundle.ionic.css.map +1 -0
- package/css/ionic/core.ionic.css +1 -0
- package/css/ionic/core.ionic.css.map +1 -0
- package/css/ionic/global.bundle.ionic.css +1 -0
- package/css/ionic/global.bundle.ionic.css.map +1 -0
- package/css/ionic/ionic-swiper.ionic.css +1 -0
- package/css/ionic/ionic-swiper.ionic.css.map +1 -0
- package/css/ionic/link.ionic.css +1 -0
- package/css/ionic/link.ionic.css.map +1 -0
- package/css/ionic/structure.ionic.css +1 -0
- package/css/ionic/structure.ionic.css.map +1 -0
- package/css/ionic/typography.ionic.css +1 -0
- package/css/ionic/typography.ionic.css.map +1 -0
- package/css/ionic/utils.bundle.ionic.css +1 -0
- package/css/ionic/utils.bundle.ionic.css.map +1 -0
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/directives/angular-component-lib/utils.d.ts +9 -0
- package/directives/control-value-accessors/boolean-value-accessor.d.ts +10 -0
- package/directives/control-value-accessors/index.d.ts +4 -0
- package/directives/control-value-accessors/numeric-value-accessor.d.ts +11 -0
- package/directives/control-value-accessors/select-value-accessor.d.ts +9 -0
- package/directives/control-value-accessors/text-value-accessor.d.ts +9 -0
- package/directives/navigation/ion-back-button.d.ts +9 -0
- package/directives/navigation/ion-nav.d.ts +8 -0
- package/directives/navigation/ion-router-outlet.d.ts +25 -0
- package/directives/navigation/ion-tabs.d.ts +13 -0
- package/directives/navigation/router-link-delegate.d.ts +16 -0
- package/directives/overlays/modal.d.ts +6 -0
- package/directives/overlays/popover.d.ts +6 -0
- package/directives/proxies-list.d.ts +2 -0
- package/{types/ionic-angular.d.ts → directives/proxies.d.ts} +417 -642
- package/directives/validators/index.d.ts +2 -0
- package/directives/validators/max-validator.d.ts +12 -0
- package/directives/validators/min-validator.d.ts +12 -0
- package/esm2022/app-initialize.mjs +29 -0
- package/esm2022/common/directives/control-value-accessors/index.mjs +2 -0
- package/esm2022/common/directives/control-value-accessors/value-accessor.mjs +153 -0
- package/esm2022/common/directives/navigation/back-button.mjs +61 -0
- package/esm2022/common/directives/navigation/nav-params.mjs +47 -0
- package/esm2022/common/directives/navigation/nav.mjs +49 -0
- package/esm2022/common/directives/navigation/router-link-delegate.mjs +156 -0
- package/esm2022/common/directives/navigation/router-outlet.mjs +480 -0
- package/esm2022/common/directives/navigation/stack-controller.mjs +280 -0
- package/esm2022/common/directives/navigation/stack-utils.mjs +73 -0
- package/esm2022/common/directives/navigation/tabs.mjs +279 -0
- package/esm2022/common/index.mjs +20 -0
- package/esm2022/common/ionic-angular-common.mjs +5 -0
- package/esm2022/common/overlays/modal.mjs +103 -0
- package/esm2022/common/overlays/popover.mjs +91 -0
- package/esm2022/common/providers/angular-delegate.mjs +203 -0
- package/esm2022/common/providers/config.mjs +45 -0
- package/esm2022/common/providers/dom-controller.mjs +45 -0
- package/esm2022/common/providers/menu-controller.mjs +114 -0
- package/esm2022/common/providers/nav-controller.mjs +235 -0
- package/esm2022/common/providers/platform.mjs +258 -0
- package/esm2022/common/types/interfaces.mjs +2 -0
- package/esm2022/common/types/ionic-lifecycle-hooks.mjs +5 -0
- package/esm2022/common/types/overlay-options.mjs +2 -0
- package/esm2022/common/utils/overlay.mjs +26 -0
- package/esm2022/common/utils/proxy.mjs +47 -0
- package/esm2022/common/utils/routing.mjs +55 -0
- package/esm2022/common/utils/util.mjs +10 -0
- package/esm2022/directives/angular-component-lib/utils.mjs +59 -0
- package/esm2022/directives/control-value-accessors/boolean-value-accessor.mjs +42 -0
- package/esm2022/directives/control-value-accessors/index.mjs +5 -0
- package/esm2022/directives/control-value-accessors/numeric-value-accessor.mjs +50 -0
- package/esm2022/directives/control-value-accessors/select-value-accessor.mjs +39 -0
- package/esm2022/directives/control-value-accessors/text-value-accessor.mjs +38 -0
- package/esm2022/directives/navigation/ion-back-button.mjs +24 -0
- package/esm2022/directives/navigation/ion-nav.mjs +21 -0
- package/esm2022/directives/navigation/ion-router-outlet.mjs +52 -0
- package/esm2022/directives/navigation/ion-tabs.mjs +59 -0
- package/esm2022/directives/navigation/router-link-delegate.mjs +32 -0
- package/esm2022/directives/overlays/modal.mjs +22 -0
- package/esm2022/directives/overlays/popover.mjs +18 -0
- package/esm2022/directives/proxies-list.mjs +93 -0
- package/esm2022/directives/proxies.mjs +2465 -0
- package/esm2022/directives/validators/index.mjs +3 -0
- package/esm2022/directives/validators/max-validator.mjs +27 -0
- package/esm2022/directives/validators/min-validator.mjs +27 -0
- package/esm2022/index.mjs +32 -0
- package/esm2022/ionic-angular.mjs +5 -0
- package/esm2022/ionic-module.mjs +111 -0
- package/esm2022/providers/action-sheet-controller.mjs +19 -0
- package/esm2022/providers/alert-controller.mjs +19 -0
- package/esm2022/providers/animation-controller.mjs +38 -0
- package/esm2022/providers/gesture-controller.mjs +33 -0
- package/esm2022/providers/loading-controller.mjs +19 -0
- package/esm2022/providers/menu-controller.mjs +19 -0
- package/esm2022/providers/modal-controller.mjs +26 -0
- package/esm2022/providers/picker-controller.mjs +22 -0
- package/esm2022/providers/popover-controller.mjs +19 -0
- package/esm2022/providers/toast-controller.mjs +19 -0
- package/esm2022/standalone/directives/angular-component-lib/utils.mjs +59 -0
- package/esm2022/standalone/directives/checkbox.mjs +76 -0
- package/esm2022/standalone/directives/datetime.mjs +95 -0
- package/esm2022/standalone/directives/icon.mjs +35 -0
- package/esm2022/standalone/directives/index.mjs +13 -0
- package/esm2022/standalone/directives/input-otp.mjs +90 -0
- package/esm2022/standalone/directives/input.mjs +113 -0
- package/esm2022/standalone/directives/proxies.mjs +2356 -0
- package/esm2022/standalone/directives/radio-group.mjs +60 -0
- package/esm2022/standalone/directives/range.mjs +78 -0
- package/esm2022/standalone/directives/searchbar.mjs +82 -0
- package/esm2022/standalone/directives/segment.mjs +60 -0
- package/esm2022/standalone/directives/select.mjs +84 -0
- package/esm2022/standalone/directives/textarea.mjs +91 -0
- package/esm2022/standalone/directives/toggle.mjs +76 -0
- package/esm2022/standalone/index.mjs +25 -0
- package/esm2022/standalone/ionic-angular-standalone.mjs +5 -0
- package/esm2022/standalone/navigation/back-button.mjs +32 -0
- package/esm2022/standalone/navigation/nav.mjs +28 -0
- package/esm2022/standalone/navigation/router-link-delegate.mjs +28 -0
- package/esm2022/standalone/navigation/router-outlet.mjs +60 -0
- package/esm2022/standalone/navigation/tabs.mjs +58 -0
- package/esm2022/standalone/overlays/modal.mjs +32 -0
- package/esm2022/standalone/overlays/popover.mjs +28 -0
- package/esm2022/standalone/providers/action-sheet-controller.mjs +21 -0
- package/esm2022/standalone/providers/alert-controller.mjs +21 -0
- package/esm2022/standalone/providers/animation-controller.mjs +38 -0
- package/esm2022/standalone/providers/gesture-controller.mjs +33 -0
- package/esm2022/standalone/providers/ionic-angular.mjs +38 -0
- package/esm2022/standalone/providers/loading-controller.mjs +21 -0
- package/esm2022/standalone/providers/menu-controller.mjs +19 -0
- package/esm2022/standalone/providers/modal-controller.mjs +28 -0
- package/esm2022/standalone/providers/picker-controller.mjs +24 -0
- package/esm2022/standalone/providers/popover-controller.mjs +21 -0
- package/esm2022/standalone/providers/toast-controller.mjs +21 -0
- package/fesm2022/ionic-angular-common.mjs +85 -98
- package/fesm2022/ionic-angular-common.mjs.map +1 -1
- package/fesm2022/ionic-angular-standalone.mjs +911 -903
- package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2022/ionic-angular.mjs +779 -1093
- package/fesm2022/ionic-angular.mjs.map +1 -1
- package/index.d.ts +27 -0
- package/ionic-module.d.ts +28 -0
- package/package.json +16 -16
- package/providers/action-sheet-controller.d.ts +8 -0
- package/providers/alert-controller.d.ts +8 -0
- package/providers/animation-controller.d.ts +25 -0
- package/providers/gesture-controller.d.ts +13 -0
- package/providers/loading-controller.d.ts +8 -0
- package/providers/menu-controller.d.ts +7 -0
- package/providers/modal-controller.d.ts +12 -0
- package/providers/picker-controller.d.ts +11 -0
- package/providers/popover-controller.d.ts +9 -0
- package/providers/toast-controller.d.ts +8 -0
- package/schematics/add/index.js +1 -1
- package/schematics/utils/ast.js +3 -35
- package/schematics/utils/config.js +11 -10
- package/schematics/utils/package.js +2 -5
- package/standalone/directives/angular-component-lib/utils.d.ts +9 -0
- package/standalone/directives/checkbox.d.ts +30 -0
- package/standalone/directives/datetime.d.ts +30 -0
- package/standalone/directives/icon.d.ts +9 -0
- package/standalone/directives/index.d.ts +12 -0
- package/standalone/directives/input-otp.d.ts +49 -0
- package/standalone/directives/input.d.ts +47 -0
- package/standalone/directives/proxies.d.ts +1062 -0
- package/standalone/directives/radio-group.d.ts +18 -0
- package/standalone/directives/range.d.ts +47 -0
- package/standalone/directives/searchbar.d.ts +45 -0
- package/standalone/directives/segment.d.ts +19 -0
- package/standalone/directives/select.d.ts +34 -0
- package/standalone/directives/textarea.d.ts +37 -0
- package/standalone/directives/toggle.d.ts +28 -0
- package/standalone/index.d.ts +23 -0
- package/standalone/navigation/back-button.d.ts +9 -0
- package/standalone/navigation/nav.d.ts +8 -0
- package/standalone/navigation/router-link-delegate.d.ts +10 -0
- package/standalone/navigation/router-outlet.d.ts +25 -0
- package/standalone/navigation/tabs.d.ts +13 -0
- package/standalone/overlays/modal.d.ts +6 -0
- package/standalone/overlays/popover.d.ts +6 -0
- package/standalone/providers/action-sheet-controller.d.ts +8 -0
- package/standalone/providers/alert-controller.d.ts +8 -0
- package/standalone/providers/animation-controller.d.ts +25 -0
- package/standalone/providers/gesture-controller.d.ts +13 -0
- package/standalone/providers/ionic-angular.d.ts +7 -0
- package/standalone/providers/loading-controller.d.ts +8 -0
- package/standalone/providers/menu-controller.d.ts +7 -0
- package/standalone/providers/modal-controller.d.ts +12 -0
- package/standalone/providers/picker-controller.d.ts +11 -0
- package/standalone/providers/popover-controller.d.ts +9 -0
- package/standalone/providers/toast-controller.d.ts +8 -0
- package/types/ionic-angular-common.d.ts +0 -1021
- package/types/ionic-angular-standalone.d.ts +0 -1560
|
@@ -0,0 +1,47 @@
|
|
|
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": { "alias": "accept"; "required": false; }; "autocapitalize": { "alias": "autocapitalize"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "autocorrect": { "alias": "autocorrect"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearInput": { "alias": "clearInput"; "required": false; }; "clearOnEdit": { "alias": "clearOnEdit"; "required": false; }; "color": { "alias": "color"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "counterFormatter": { "alias": "counterFormatter"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "enterkeyhint": { "alias": "enterkeyhint"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "name": { "alias": "name"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "spellcheck": { "alias": "spellcheck"; "required": false; }; "step": { "alias": "step"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
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
|
+
}
|