@ionic/angular 8.5.7-dev.11747858611.1d1dc603 → 8.5.7-dev.11747949628.1b740070
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/directives/proxies-list.d.ts +1 -1
- package/directives/proxies.d.ts +0 -46
- 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/directives/proxies-list.mjs +1 -2
- package/esm2022/directives/proxies.mjs +1 -30
- package/esm2022/index.mjs +1 -1
- package/esm2022/ionic-module.mjs +2 -2
- package/esm2022/standalone/directives/index.mjs +1 -2
- package/esm2022/standalone/directives/proxies.mjs +1 -33
- package/esm2022/standalone/index.mjs +2 -2
- package/fesm2022/ionic-angular-standalone.mjs +124 -237
- package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2022/ionic-angular.mjs +8 -37
- package/fesm2022/ionic-angular.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/ionic-module.d.ts +1 -1
- package/package.json +2 -2
- package/standalone/directives/index.d.ts +0 -1
- package/standalone/directives/proxies.d.ts +0 -46
- package/standalone/index.d.ts +2 -2
- package/esm2022/standalone/directives/input-otp.mjs +0 -90
- package/standalone/directives/input-otp.d.ts +0 -49
package/index.d.ts
CHANGED
|
@@ -23,4 +23,4 @@ export { PickerController } from './providers/picker-controller';
|
|
|
23
23
|
export { PopoverController } from './providers/popover-controller';
|
|
24
24
|
export { ToastController } from './providers/toast-controller';
|
|
25
25
|
export { IonicModule } from './ionic-module';
|
|
26
|
-
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,
|
|
26
|
+
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, openURL, } from '@ionic/core';
|
package/ionic-module.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ type OptInAngularFeatures = {
|
|
|
22
22
|
export declare class IonicModule {
|
|
23
23
|
static forRoot(config?: IonicConfig & OptInAngularFeatures): ModuleWithProviders<IonicModule>;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonicModule, never>;
|
|
25
|
-
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.
|
|
25
|
+
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.IonInputPasswordToggle, 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.IonPickerColumn, typeof i1.IonPickerColumnOption, typeof i1.IonPickerLegacy, 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.IonSegmentContent, typeof i1.IonSegmentView, typeof i1.IonSelect, typeof i1.IonSelectModal, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTab, 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.SelectValueAccessorDirective, typeof i7.TextValueAccessorDirective, typeof i8.IonTabs, typeof i9.IonRouterOutlet, typeof i10.IonBackButton, typeof i11.IonNav, typeof i12.RouterLinkDelegateDirective, typeof i12.RouterLinkWithHrefDelegateDirective, typeof i13.IonMinValidator, typeof i14.IonMaxValidator], [typeof i15.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.IonInputPasswordToggle, 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.IonPickerColumn, typeof i1.IonPickerColumnOption, typeof i1.IonPickerLegacy, 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.IonSegmentContent, typeof i1.IonSegmentView, typeof i1.IonSelect, typeof i1.IonSelectModal, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTab, 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.SelectValueAccessorDirective, typeof i7.TextValueAccessorDirective, typeof i8.IonTabs, typeof i9.IonRouterOutlet, typeof i10.IonBackButton, typeof i11.IonNav, typeof i12.RouterLinkDelegateDirective, typeof i12.RouterLinkWithHrefDelegateDirective, typeof i13.IonMinValidator, typeof i14.IonMaxValidator]>;
|
|
26
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<IonicModule>;
|
|
27
27
|
}
|
|
28
28
|
export {};
|
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.11747949628.1b740070",
|
|
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.11747949628.1b740070",
|
|
54
54
|
"ionicons": "^7.0.0",
|
|
55
55
|
"jsonc-parser": "^3.0.0",
|
|
56
56
|
"tslib": "^2.3.0"
|
|
@@ -6,9 +6,6 @@ import type { OverlayEventDetail as IIonAlertOverlayEventDetail } from '@ionic/c
|
|
|
6
6
|
import type { BreadcrumbCollapsedClickEventDetail as IIonBreadcrumbsBreadcrumbCollapsedClickEventDetail } from '@ionic/core/components';
|
|
7
7
|
import type { ScrollBaseDetail as IIonContentScrollBaseDetail } from '@ionic/core/components';
|
|
8
8
|
import type { ScrollDetail as IIonContentScrollDetail } from '@ionic/core/components';
|
|
9
|
-
import type { InputOtpInputEventDetail as IIonInputOtpInputOtpInputEventDetail } from '@ionic/core/components';
|
|
10
|
-
import type { InputOtpChangeEventDetail as IIonInputOtpInputOtpChangeEventDetail } from '@ionic/core/components';
|
|
11
|
-
import type { InputOtpCompleteEventDetail as IIonInputOtpInputOtpCompleteEventDetail } from '@ionic/core/components';
|
|
12
9
|
import type { OverlayEventDetail as IIonLoadingOverlayEventDetail } from '@ionic/core/components';
|
|
13
10
|
import type { MenuCloseEventDetail as IIonMenuMenuCloseEventDetail } from '@ionic/core/components';
|
|
14
11
|
import type { PickerColumnChangeEventDetail as IIonPickerColumnPickerColumnChangeEventDetail } from '@ionic/core/components';
|
|
@@ -432,49 +429,6 @@ export declare class IonInfiniteScrollContent {
|
|
|
432
429
|
}
|
|
433
430
|
export declare interface IonInfiniteScrollContent extends Components.IonInfiniteScrollContent {
|
|
434
431
|
}
|
|
435
|
-
export declare class IonInputOtp {
|
|
436
|
-
protected z: NgZone;
|
|
437
|
-
protected el: HTMLIonInputOtpElement;
|
|
438
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
439
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonInputOtp, never>;
|
|
440
|
-
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>;
|
|
441
|
-
}
|
|
442
|
-
export declare interface IonInputOtp extends Components.IonInputOtp {
|
|
443
|
-
/**
|
|
444
|
-
* The `ionInput` event is fired each time the user modifies the input's value.
|
|
445
|
-
Unlike the `ionChange` event, the `ionInput` event is fired for each alteration
|
|
446
|
-
to the input's value. This typically happens for each keystroke as the user types.
|
|
447
|
-
|
|
448
|
-
For elements that accept text input (`type=text`, `type=tel`, etc.), the interface
|
|
449
|
-
is [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,
|
|
450
|
-
the interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If
|
|
451
|
-
the input is cleared on edit, the type is `null`.
|
|
452
|
-
*/
|
|
453
|
-
ionInput: EventEmitter<CustomEvent<IIonInputOtpInputOtpInputEventDetail>>;
|
|
454
|
-
/**
|
|
455
|
-
* The `ionChange` event is fired when the user modifies the input's value.
|
|
456
|
-
Unlike the `ionInput` event, the `ionChange` event is only fired when changes
|
|
457
|
-
are committed, not as the user types.
|
|
458
|
-
|
|
459
|
-
The `ionChange` event fires when the `<ion-input-otp>` component loses
|
|
460
|
-
focus after its value has changed.
|
|
461
|
-
|
|
462
|
-
This event will not emit when programmatically setting the `value` property.
|
|
463
|
-
*/
|
|
464
|
-
ionChange: EventEmitter<CustomEvent<IIonInputOtpInputOtpChangeEventDetail>>;
|
|
465
|
-
/**
|
|
466
|
-
* Emitted when all input boxes have been filled with valid values.
|
|
467
|
-
*/
|
|
468
|
-
ionComplete: EventEmitter<CustomEvent<IIonInputOtpInputOtpCompleteEventDetail>>;
|
|
469
|
-
/**
|
|
470
|
-
* Emitted when the input group loses focus.
|
|
471
|
-
*/
|
|
472
|
-
ionBlur: EventEmitter<CustomEvent<FocusEvent>>;
|
|
473
|
-
/**
|
|
474
|
-
* Emitted when the input group has focus.
|
|
475
|
-
*/
|
|
476
|
-
ionFocus: EventEmitter<CustomEvent<FocusEvent>>;
|
|
477
|
-
}
|
|
478
432
|
export declare class IonInputPasswordToggle {
|
|
479
433
|
protected z: NgZone;
|
|
480
434
|
protected el: HTMLIonInputPasswordToggleElement;
|
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,
|
|
20
|
+
export { IonCheckbox, IonDatetime, IonInput, IonIcon, IonRadioGroup, IonRange, IonSearchbar, IonSegment, IonSelect, IonTextarea, IonToggle, } from './directives';
|
|
21
21
|
export * from './directives/proxies';
|
|
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,
|
|
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, 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';
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
|
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
5
|
-
import { defineCustomElement } from '@ionic/core/components/ion-input-otp.js';
|
|
6
|
-
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
const INPUT_OTP_INPUTS = [
|
|
9
|
-
'autocapitalize',
|
|
10
|
-
'color',
|
|
11
|
-
'disabled',
|
|
12
|
-
'fill',
|
|
13
|
-
'inputmode',
|
|
14
|
-
'length',
|
|
15
|
-
'pattern',
|
|
16
|
-
'readonly',
|
|
17
|
-
'separators',
|
|
18
|
-
'shape',
|
|
19
|
-
'size',
|
|
20
|
-
'type',
|
|
21
|
-
'value',
|
|
22
|
-
];
|
|
23
|
-
/**
|
|
24
|
-
* Pulling the provider into an object and using PURE works
|
|
25
|
-
* around an ng-packagr issue that causes
|
|
26
|
-
* components with multiple decorators and
|
|
27
|
-
* a provider to be re-assigned. This re-assignment
|
|
28
|
-
* is not supported by Webpack and causes treeshaking
|
|
29
|
-
* to not work on these kinds of components.
|
|
30
|
-
*/
|
|
31
|
-
const accessorProvider = {
|
|
32
|
-
provide: NG_VALUE_ACCESSOR,
|
|
33
|
-
useExisting: /*@__PURE__*/ forwardRef(() => IonInputOtp),
|
|
34
|
-
multi: true,
|
|
35
|
-
};
|
|
36
|
-
let IonInputOtp = class IonInputOtp extends ValueAccessor {
|
|
37
|
-
z;
|
|
38
|
-
el;
|
|
39
|
-
constructor(c, r, z, injector) {
|
|
40
|
-
super(injector, r);
|
|
41
|
-
this.z = z;
|
|
42
|
-
c.detach();
|
|
43
|
-
this.el = r.nativeElement;
|
|
44
|
-
proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionComplete', 'ionBlur', 'ionFocus']);
|
|
45
|
-
}
|
|
46
|
-
handleIonInput(el) {
|
|
47
|
-
this.handleValueChange(el, el.value);
|
|
48
|
-
}
|
|
49
|
-
registerOnChange(fn) {
|
|
50
|
-
super.registerOnChange((value) => {
|
|
51
|
-
if (this.type === 'number') {
|
|
52
|
-
/**
|
|
53
|
-
* If the input type is `number`, we need to convert the value to a number
|
|
54
|
-
* when the value is not empty. If the value is empty, we want to treat
|
|
55
|
-
* the value as null.
|
|
56
|
-
*/
|
|
57
|
-
fn(value === '' ? null : parseFloat(value));
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
fn(value);
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonInputOtp, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonInputOtp, isStandalone: true, selector: "ion-input-otp", inputs: { autocapitalize: "autocapitalize", color: "color", disabled: "disabled", fill: "fill", inputmode: "inputmode", length: "length", pattern: "pattern", readonly: "readonly", separators: "separators", shape: "shape", size: "size", type: "type", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [accessorProvider], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
66
|
-
};
|
|
67
|
-
IonInputOtp = __decorate([
|
|
68
|
-
ProxyCmp({
|
|
69
|
-
defineCustomElementFn: defineCustomElement,
|
|
70
|
-
inputs: INPUT_OTP_INPUTS,
|
|
71
|
-
methods: ['reset', 'setFocus'],
|
|
72
|
-
})
|
|
73
|
-
], IonInputOtp);
|
|
74
|
-
export { IonInputOtp };
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonInputOtp, decorators: [{
|
|
76
|
-
type: Component,
|
|
77
|
-
args: [{
|
|
78
|
-
selector: 'ion-input-otp',
|
|
79
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
80
|
-
template: '<ng-content></ng-content>',
|
|
81
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
82
|
-
inputs: INPUT_OTP_INPUTS,
|
|
83
|
-
providers: [accessorProvider],
|
|
84
|
-
standalone: true,
|
|
85
|
-
}]
|
|
86
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonInput: [{
|
|
87
|
-
type: HostListener,
|
|
88
|
-
args: ['ionInput', ['$event.target']]
|
|
89
|
-
}] } });
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtb3RwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3RhbmRhbG9uZS9zcmMvZGlyZWN0aXZlcy9pbnB1dC1vdHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFFdkIsU0FBUyxFQUdULFlBQVksRUFHWixVQUFVLEdBQ1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDbkQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBT3RELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBRTlFLE9BQU8sRUFBRSxRQUFRLEVBQUUsWUFBWSxFQUFFLE1BQU0sK0JBQStCLENBQUM7O0FBRXZFLE1BQU0sZ0JBQWdCLEdBQUc7SUFDdkIsZ0JBQWdCO0lBQ2hCLE9BQU87SUFDUCxVQUFVO0lBQ1YsTUFBTTtJQUNOLFdBQVc7SUFDWCxRQUFRO0lBQ1IsU0FBUztJQUNULFVBQVU7SUFDVixZQUFZO0lBQ1osT0FBTztJQUNQLE1BQU07SUFDTixNQUFNO0lBQ04sT0FBTztDQUNSLENBQUM7QUFFRjs7Ozs7OztHQU9HO0FBQ0gsTUFBTSxnQkFBZ0IsR0FBRztJQUN2QixPQUFPLEVBQUUsaUJBQWlCO0lBQzFCLF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zLlxuICAgKi9cbiAgaW9uQmx1cjogRXZlbnRFbWl0dGVyPEN1c3RvbUV2ZW50PEZvY3VzRXZlbnQ+PjtcbiAgLyoqXG4gICAqIEVtaXR0ZWQgd2hlbiB0aGUgaW5wdXQgZ3JvdXAgaGFzIGZvY3VzLlxuICAgKi9cbiAgaW9uRm9jdXM6IEV2ZW50RW1pdHRlcjxDdXN0b21FdmVudDxGb2N1c0V2ZW50Pj47XG59XG4iXX0=
|
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
}
|