@ionic/angular 7.3.4-dev.11694532574.1e397a21 → 7.3.4-dev.11694534020.12e16bee
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/common/index.d.ts +0 -2
- package/directives/control-value-accessors/boolean-value-accessor.d.ts +1 -1
- package/directives/control-value-accessors/numeric-value-accessor.d.ts +1 -1
- package/directives/control-value-accessors/radio-value-accessor.d.ts +1 -1
- package/directives/control-value-accessors/select-value-accessor.d.ts +1 -1
- package/directives/control-value-accessors/text-value-accessor.d.ts +1 -1
- package/{common/directives → directives}/control-value-accessors/value-accessor.d.ts +2 -2
- package/esm2020/app-initialize.mjs +2 -2
- package/esm2020/common/index.mjs +1 -3
- package/esm2020/directives/control-value-accessors/boolean-value-accessor.mjs +4 -4
- package/esm2020/directives/control-value-accessors/numeric-value-accessor.mjs +2 -2
- package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +3 -6
- package/esm2020/directives/control-value-accessors/select-value-accessor.mjs +2 -2
- package/esm2020/directives/control-value-accessors/text-value-accessor.mjs +2 -2
- package/esm2020/directives/control-value-accessors/value-accessor.mjs +141 -0
- package/esm2020/standalone/directives/proxies.mjs +476 -565
- package/esm2020/standalone/index.mjs +2 -2
- package/esm2020/util/util.mjs +10 -0
- package/fesm2015/ionic-angular-common.mjs +1 -149
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +570 -1448
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +152 -8
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +1 -149
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +570 -1448
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +152 -8
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/standalone/directives/proxies.d.ts +314 -0
- package/standalone/index.d.ts +1 -1
- package/common/directives/control-value-accessors/index.d.ts +0 -1
- package/esm2020/common/directives/control-value-accessors/index.mjs +0 -2
- package/esm2020/common/directives/control-value-accessors/value-accessor.mjs +0 -141
- package/esm2020/common/utils/util.mjs +0 -10
- package/esm2020/standalone/directives/checkbox.mjs +0 -73
- package/esm2020/standalone/directives/datetime.mjs +0 -90
- package/esm2020/standalone/directives/index.mjs +0 -13
- package/esm2020/standalone/directives/input.mjs +0 -112
- package/esm2020/standalone/directives/radio-group.mjs +0 -58
- package/esm2020/standalone/directives/radio.mjs +0 -62
- package/esm2020/standalone/directives/range.mjs +0 -77
- package/esm2020/standalone/directives/searchbar.mjs +0 -80
- package/esm2020/standalone/directives/segment.mjs +0 -58
- package/esm2020/standalone/directives/select.mjs +0 -81
- package/esm2020/standalone/directives/textarea.mjs +0 -90
- package/esm2020/standalone/directives/toggle.mjs +0 -73
- package/standalone/directives/checkbox.d.ts +0 -30
- package/standalone/directives/datetime.d.ts +0 -30
- package/standalone/directives/index.d.ts +0 -12
- package/standalone/directives/input.d.ts +0 -47
- package/standalone/directives/radio-group.d.ts +0 -18
- package/standalone/directives/radio.d.ts +0 -22
- package/standalone/directives/range.d.ts +0 -47
- package/standalone/directives/searchbar.d.ts +0 -45
- package/standalone/directives/segment.d.ts +0 -19
- package/standalone/directives/select.d.ts +0 -34
- package/standalone/directives/textarea.d.ts +0 -37
- package/standalone/directives/toggle.d.ts +0 -28
- /package/{common/utils → util}/util.d.ts +0 -0
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
-
import type { RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, Components } from '@ionic/core/components';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IonRange extends ValueAccessor {
|
|
6
|
-
protected z: NgZone;
|
|
7
|
-
protected el: HTMLElement;
|
|
8
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
-
handleIonChange(el: HTMLIonRangeElement): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonRange, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonRange, "ion-range", never, { "activeBarStart": "activeBarStart"; "color": "color"; "debounce": "debounce"; "disabled": "disabled"; "dualKnobs": "dualKnobs"; "label": "label"; "labelPlacement": "labelPlacement"; "legacy": "legacy"; "max": "max"; "min": "min"; "mode": "mode"; "name": "name"; "pin": "pin"; "pinFormatter": "pinFormatter"; "snaps": "snaps"; "step": "step"; "ticks": "ticks"; "value": "value"; }, {}, never, ["*"], true>;
|
|
12
|
-
}
|
|
13
|
-
export declare interface IonRange extends Components.IonRange {
|
|
14
|
-
/**
|
|
15
|
-
* The `ionChange` event is fired for `<ion-range>` elements when the user
|
|
16
|
-
modifies the element's value:
|
|
17
|
-
- When the user releases the knob after dragging;
|
|
18
|
-
- When the user moves the knob with keyboard arrows
|
|
19
|
-
|
|
20
|
-
`ionChange` is not fired when the value is changed programmatically.
|
|
21
|
-
*/
|
|
22
|
-
ionChange: EventEmitter<CustomEvent<RangeChangeEventDetail>>;
|
|
23
|
-
/**
|
|
24
|
-
* The `ionInput` event is fired for `<ion-range>` elements when the value
|
|
25
|
-
is modified. Unlike `ionChange`, `ionInput` is fired continuously
|
|
26
|
-
while the user is dragging the knob.
|
|
27
|
-
*/
|
|
28
|
-
ionInput: EventEmitter<CustomEvent<RangeChangeEventDetail>>;
|
|
29
|
-
/**
|
|
30
|
-
* Emitted when the range has focus.
|
|
31
|
-
*/
|
|
32
|
-
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
33
|
-
/**
|
|
34
|
-
* Emitted when the range loses focus.
|
|
35
|
-
*/
|
|
36
|
-
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
37
|
-
/**
|
|
38
|
-
* Emitted when the user starts moving the range knob, whether through
|
|
39
|
-
mouse drag, touch gesture, or keyboard interaction.
|
|
40
|
-
*/
|
|
41
|
-
ionKnobMoveStart: EventEmitter<CustomEvent<RangeKnobMoveStartEventDetail>>;
|
|
42
|
-
/**
|
|
43
|
-
* Emitted when the user finishes moving the range knob, whether through
|
|
44
|
-
mouse drag, touch gesture, or keyboard interaction.
|
|
45
|
-
*/
|
|
46
|
-
ionKnobMoveEnd: EventEmitter<CustomEvent<RangeKnobMoveEndEventDetail>>;
|
|
47
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
-
import type { SearchbarInputEventDetail, SearchbarChangeEventDetail, Components } from '@ionic/core/components';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IonSearchbar extends ValueAccessor {
|
|
6
|
-
protected z: NgZone;
|
|
7
|
-
protected el: HTMLElement;
|
|
8
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
-
handleIonInput(el: HTMLIonSearchbarElement): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonSearchbar, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonSearchbar, "ion-searchbar", never, { "animated": "animated"; "autocomplete": "autocomplete"; "autocorrect": "autocorrect"; "cancelButtonIcon": "cancelButtonIcon"; "cancelButtonText": "cancelButtonText"; "clearIcon": "clearIcon"; "color": "color"; "debounce": "debounce"; "disabled": "disabled"; "enterkeyhint": "enterkeyhint"; "inputmode": "inputmode"; "mode": "mode"; "name": "name"; "placeholder": "placeholder"; "searchIcon": "searchIcon"; "showCancelButton": "showCancelButton"; "showClearButton": "showClearButton"; "spellcheck": "spellcheck"; "type": "type"; "value": "value"; }, {}, never, ["*"], true>;
|
|
12
|
-
}
|
|
13
|
-
export declare interface IonSearchbar extends Components.IonSearchbar {
|
|
14
|
-
/**
|
|
15
|
-
* Emitted when the `value` of the `ion-searchbar` element has changed.
|
|
16
|
-
*/
|
|
17
|
-
ionInput: EventEmitter<CustomEvent<SearchbarInputEventDetail>>;
|
|
18
|
-
/**
|
|
19
|
-
* The `ionChange` event is fired for `<ion-searchbar>` elements when the user
|
|
20
|
-
modifies the element's value. Unlike the `ionInput` event, the `ionChange`
|
|
21
|
-
event is not necessarily fired for each alteration to an element's value.
|
|
22
|
-
|
|
23
|
-
The `ionChange` event is fired when the value has been committed
|
|
24
|
-
by the user. This can happen when the element loses focus or
|
|
25
|
-
when the "Enter" key is pressed. `ionChange` can also fire
|
|
26
|
-
when clicking the clear or cancel buttons.
|
|
27
|
-
*/
|
|
28
|
-
ionChange: EventEmitter<CustomEvent<SearchbarChangeEventDetail>>;
|
|
29
|
-
/**
|
|
30
|
-
* Emitted when the cancel button is clicked.
|
|
31
|
-
*/
|
|
32
|
-
ionCancel: EventEmitter<CustomEvent<void>>;
|
|
33
|
-
/**
|
|
34
|
-
* Emitted when the clear input button is clicked.
|
|
35
|
-
*/
|
|
36
|
-
ionClear: EventEmitter<CustomEvent<void>>;
|
|
37
|
-
/**
|
|
38
|
-
* Emitted when the input loses focus.
|
|
39
|
-
*/
|
|
40
|
-
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
41
|
-
/**
|
|
42
|
-
* Emitted when the input has focus.
|
|
43
|
-
*/
|
|
44
|
-
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
45
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
-
import type { SegmentChangeEventDetail, Components } from '@ionic/core/components';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IonSegment extends ValueAccessor {
|
|
6
|
-
protected z: NgZone;
|
|
7
|
-
protected el: HTMLElement;
|
|
8
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
-
handleIonChange(el: HTMLIonSegmentElement): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonSegment, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonSegment, "ion-segment", never, { "color": "color"; "disabled": "disabled"; "mode": "mode"; "scrollable": "scrollable"; "selectOnFocus": "selectOnFocus"; "swipeGesture": "swipeGesture"; "value": "value"; }, {}, never, ["*"], true>;
|
|
12
|
-
}
|
|
13
|
-
export declare interface IonSegment extends Components.IonSegment {
|
|
14
|
-
/**
|
|
15
|
-
* Emitted when the value property has changed and any
|
|
16
|
-
dragging pointer has been released from `ion-segment`.
|
|
17
|
-
*/
|
|
18
|
-
ionChange: EventEmitter<CustomEvent<SegmentChangeEventDetail>>;
|
|
19
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
-
import type { SelectChangeEventDetail, Components } from '@ionic/core/components';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IonSelect extends ValueAccessor {
|
|
6
|
-
protected z: NgZone;
|
|
7
|
-
protected el: HTMLElement;
|
|
8
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
-
handleIonChange(el: HTMLIonSelectElement): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonSelect, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonSelect, "ion-select", never, { "cancelText": "cancelText"; "color": "color"; "compareWith": "compareWith"; "disabled": "disabled"; "expandedIcon": "expandedIcon"; "fill": "fill"; "interface": "interface"; "interfaceOptions": "interfaceOptions"; "justify": "justify"; "label": "label"; "labelPlacement": "labelPlacement"; "legacy": "legacy"; "mode": "mode"; "multiple": "multiple"; "name": "name"; "okText": "okText"; "placeholder": "placeholder"; "selectedText": "selectedText"; "shape": "shape"; "toggleIcon": "toggleIcon"; "value": "value"; }, {}, never, ["*"], true>;
|
|
12
|
-
}
|
|
13
|
-
export declare interface IonSelect extends Components.IonSelect {
|
|
14
|
-
/**
|
|
15
|
-
* Emitted when the value has changed.
|
|
16
|
-
*/
|
|
17
|
-
ionChange: EventEmitter<CustomEvent<SelectChangeEventDetail>>;
|
|
18
|
-
/**
|
|
19
|
-
* Emitted when the selection is cancelled.
|
|
20
|
-
*/
|
|
21
|
-
ionCancel: EventEmitter<CustomEvent<void>>;
|
|
22
|
-
/**
|
|
23
|
-
* Emitted when the overlay is dismissed.
|
|
24
|
-
*/
|
|
25
|
-
ionDismiss: EventEmitter<CustomEvent<void>>;
|
|
26
|
-
/**
|
|
27
|
-
* Emitted when the select has focus.
|
|
28
|
-
*/
|
|
29
|
-
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
30
|
-
/**
|
|
31
|
-
* Emitted when the select loses focus.
|
|
32
|
-
*/
|
|
33
|
-
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
34
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
-
import type { TextareaChangeEventDetail, TextareaInputEventDetail, Components } from '@ionic/core/components';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IonTextarea extends ValueAccessor {
|
|
6
|
-
protected z: NgZone;
|
|
7
|
-
protected el: HTMLElement;
|
|
8
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
-
handleIonInput(el: HTMLIonTextareaElement): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonTextarea, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonTextarea, "ion-textarea", never, { "autoGrow": "autoGrow"; "autocapitalize": "autocapitalize"; "autofocus": "autofocus"; "clearOnEdit": "clearOnEdit"; "color": "color"; "cols": "cols"; "counter": "counter"; "counterFormatter": "counterFormatter"; "debounce": "debounce"; "disabled": "disabled"; "enterkeyhint": "enterkeyhint"; "errorText": "errorText"; "fill": "fill"; "helperText": "helperText"; "inputmode": "inputmode"; "label": "label"; "labelPlacement": "labelPlacement"; "legacy": "legacy"; "maxlength": "maxlength"; "minlength": "minlength"; "mode": "mode"; "name": "name"; "placeholder": "placeholder"; "readonly": "readonly"; "required": "required"; "rows": "rows"; "shape": "shape"; "spellcheck": "spellcheck"; "value": "value"; "wrap": "wrap"; }, {}, never, ["*"], true>;
|
|
12
|
-
}
|
|
13
|
-
export declare interface IonTextarea extends Components.IonTextarea {
|
|
14
|
-
/**
|
|
15
|
-
* The `ionChange` event is fired when the user modifies the textarea's value.
|
|
16
|
-
Unlike the `ionInput` event, the `ionChange` event is fired when
|
|
17
|
-
the element loses focus after its value has been modified.
|
|
18
|
-
*/
|
|
19
|
-
ionChange: EventEmitter<CustomEvent<TextareaChangeEventDetail>>;
|
|
20
|
-
/**
|
|
21
|
-
* The `ionInput` event is fired each time the user modifies the textarea's value.
|
|
22
|
-
Unlike the `ionChange` event, the `ionInput` event is fired for each alteration
|
|
23
|
-
to the textarea's value. This typically happens for each keystroke as the user types.
|
|
24
|
-
|
|
25
|
-
When `clearOnEdit` is enabled, the `ionInput` event will be fired when
|
|
26
|
-
the user clears the textarea by performing a keydown event.
|
|
27
|
-
*/
|
|
28
|
-
ionInput: EventEmitter<CustomEvent<TextareaInputEventDetail>>;
|
|
29
|
-
/**
|
|
30
|
-
* Emitted when the input loses focus.
|
|
31
|
-
*/
|
|
32
|
-
ionBlur: EventEmitter<CustomEvent<FocusEvent>>;
|
|
33
|
-
/**
|
|
34
|
-
* Emitted when the input has focus.
|
|
35
|
-
*/
|
|
36
|
-
ionFocus: EventEmitter<CustomEvent<FocusEvent>>;
|
|
37
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
-
import type { ToggleChangeEventDetail, Components } from '@ionic/core/components';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IonToggle 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: HTMLIonToggleElement): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonToggle, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonToggle, "ion-toggle", never, { "checked": "checked"; "color": "color"; "disabled": "disabled"; "enableOnOffLabels": "enableOnOffLabels"; "justify": "justify"; "labelPlacement": "labelPlacement"; "legacy": "legacy"; "mode": "mode"; "name": "name"; "value": "value"; }, {}, never, ["*"], true>;
|
|
13
|
-
}
|
|
14
|
-
export declare interface IonToggle extends Components.IonToggle {
|
|
15
|
-
/**
|
|
16
|
-
* Emitted when the user switches the toggle on or off. Does not emit
|
|
17
|
-
when programmatically changing the value of the `checked` property.
|
|
18
|
-
*/
|
|
19
|
-
ionChange: EventEmitter<CustomEvent<ToggleChangeEventDetail>>;
|
|
20
|
-
/**
|
|
21
|
-
* Emitted when the toggle has focus.
|
|
22
|
-
*/
|
|
23
|
-
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
24
|
-
/**
|
|
25
|
-
* Emitted when the toggle loses focus.
|
|
26
|
-
*/
|
|
27
|
-
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
28
|
-
}
|
|
File without changes
|