@ionic/angular 8.5.7-dev.11747094257.1dd7476b → 8.5.7-dev.11747676931.1d53b808
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/directives/control-value-accessors/numeric-value-accessor.d.ts +2 -2
- package/directives/control-value-accessors/text-value-accessor.d.ts +2 -2
- package/esm2022/directives/control-value-accessors/numeric-value-accessor.mjs +4 -4
- package/esm2022/directives/control-value-accessors/text-value-accessor.mjs +3 -3
- package/esm2022/standalone/directives/index.mjs +2 -1
- package/esm2022/standalone/directives/input-otp.mjs +90 -0
- package/esm2022/standalone/index.mjs +2 -2
- package/fesm2022/ionic-angular-standalone.mjs +94 -12
- package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2022/ionic-angular.mjs +5 -5
- package/fesm2022/ionic-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/standalone/directives/index.d.ts +1 -0
- package/standalone/directives/input-otp.d.ts +49 -0
- package/standalone/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/angular",
|
|
3
|
-
"version": "8.5.7-dev.
|
|
3
|
+
"version": "8.5.7-dev.11747676931.1d53b808",
|
|
4
4
|
"description": "Angular specific wrappers for @ionic/core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@ionic/core": "8.5.7-dev.
|
|
53
|
+
"@ionic/core": "8.5.7-dev.11747676931.1d53b808",
|
|
54
54
|
"ionicons": "^7.0.0",
|
|
55
55
|
"jsonc-parser": "^3.0.0",
|
|
56
56
|
"tslib": "^2.3.0"
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
+
import type { InputOtpInputEventDetail as IIonInputOtpInputEventDetail, InputOtpChangeEventDetail as IIonInputOtpChangeEventDetail, InputOtpCompleteEventDetail as IIonInputOtpCompleteEventDetail, Components } from '@ionic/core/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IonInputOtp extends ValueAccessor {
|
|
6
|
+
protected z: NgZone;
|
|
7
|
+
protected el: HTMLElement;
|
|
8
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
+
handleIonInput(el: HTMLIonInputOtpElement): void;
|
|
10
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonInputOtp, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonInputOtp, "ion-input-otp", never, { "autocapitalize": { "alias": "autocapitalize"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "inputmode": { "alias": "inputmode"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "separators": { "alias": "separators"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
13
|
+
}
|
|
14
|
+
export declare interface IonInputOtp extends Components.IonInputOtp {
|
|
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<IIonInputOtpInputEventDetail>>;
|
|
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
|
+
* The `ionChange` event fires when the `<ion-input-otp>` component loses
|
|
32
|
+
* focus after its value has changed.
|
|
33
|
+
*
|
|
34
|
+
* This event will not emit when programmatically setting the `value` property.
|
|
35
|
+
*/
|
|
36
|
+
ionChange: EventEmitter<CustomEvent<IIonInputOtpChangeEventDetail>>;
|
|
37
|
+
/**
|
|
38
|
+
* Emitted when all input boxes have been filled with valid values.
|
|
39
|
+
*/
|
|
40
|
+
ionComplete: EventEmitter<CustomEvent<IIonInputOtpCompleteEventDetail>>;
|
|
41
|
+
/**
|
|
42
|
+
* Emitted when the input group loses focus.
|
|
43
|
+
*/
|
|
44
|
+
ionBlur: EventEmitter<CustomEvent<FocusEvent>>;
|
|
45
|
+
/**
|
|
46
|
+
* Emitted when the input group has focus.
|
|
47
|
+
*/
|
|
48
|
+
ionFocus: EventEmitter<CustomEvent<FocusEvent>>;
|
|
49
|
+
}
|
package/standalone/index.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ export { PopoverController } from './providers/popover-controller';
|
|
|
17
17
|
export { ToastController } from './providers/toast-controller';
|
|
18
18
|
export { DomController, NavController, Config, Platform, NavParams, IonicRouteStrategy, ViewWillEnter, ViewDidEnter, ViewWillLeave, ViewDidLeave, } from '@ionic/angular/common';
|
|
19
19
|
export { IonNav } from './navigation/nav';
|
|
20
|
-
export { IonCheckbox, IonDatetime, IonInput, IonIcon, IonRadioGroup, IonRange, IonSearchbar, IonSegment, IonSelect, IonTextarea, IonToggle, } from './directives';
|
|
20
|
+
export { IonCheckbox, IonDatetime, IonInput, IonInputOtp, IonIcon, IonRadioGroup, IonRange, IonSearchbar, IonSegment, IonSelect, IonTextarea, IonToggle, } from './directives';
|
|
21
21
|
export * from './directives/proxies';
|
|
22
22
|
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, InputOtpCustomEvent, InputOtpChangeEventDetail, InputOtpCompleteEventDetail, InputOtpInputEventDetail, 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/components';
|