@ionic/angular 7.5.1-dev.11697476647.1a8e5f25 → 7.5.1-dev.11697480817.10fa2601
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/esm2020/standalone/directives/checkbox.mjs +9 -2
- package/esm2020/standalone/directives/datetime.mjs +10 -3
- package/esm2020/standalone/directives/input.mjs +10 -3
- package/esm2020/standalone/directives/radio-group.mjs +9 -2
- package/esm2020/standalone/directives/radio.mjs +9 -2
- package/esm2020/standalone/directives/range.mjs +9 -2
- package/esm2020/standalone/directives/searchbar.mjs +10 -3
- package/esm2020/standalone/directives/segment.mjs +9 -2
- package/esm2020/standalone/directives/select.mjs +10 -3
- package/esm2020/standalone/directives/textarea.mjs +10 -3
- package/esm2020/standalone/directives/toggle.mjs +9 -2
- package/fesm2015/ionic-angular-standalone.mjs +93 -16
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +93 -16
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/package.json +2 -2
- package/standalone/directives/checkbox.d.ts +3 -1
- package/standalone/directives/datetime.d.ts +3 -1
- package/standalone/directives/input.d.ts +3 -1
- package/standalone/directives/radio-group.d.ts +3 -1
- package/standalone/directives/radio.d.ts +3 -1
- package/standalone/directives/range.d.ts +3 -1
- package/standalone/directives/searchbar.d.ts +3 -1
- package/standalone/directives/segment.d.ts +3 -1
- package/standalone/directives/select.d.ts +3 -1
- package/standalone/directives/textarea.d.ts +3 -1
- package/standalone/directives/toggle.d.ts +3 -1
|
@@ -2514,11 +2514,18 @@ class IonCheckbox extends ValueAccessor {
|
|
|
2514
2514
|
super(injector, r);
|
|
2515
2515
|
this.z = z;
|
|
2516
2516
|
defineCustomElement$17();
|
|
2517
|
-
proxyInputs(IonCheckbox, CHECKBOX_INPUTS);
|
|
2518
2517
|
c.detach();
|
|
2519
2518
|
this.el = r.nativeElement;
|
|
2520
2519
|
proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
|
|
2521
2520
|
}
|
|
2521
|
+
ngOnInit() {
|
|
2522
|
+
/**
|
|
2523
|
+
* Data-bound input properties are set
|
|
2524
|
+
* by Angular after the constructor, so
|
|
2525
|
+
* we need to run the proxy in ngOnInit.
|
|
2526
|
+
*/
|
|
2527
|
+
proxyInputs(IonCheckbox, CHECKBOX_INPUTS);
|
|
2528
|
+
}
|
|
2522
2529
|
writeValue(value) {
|
|
2523
2530
|
this.elementRef.nativeElement.checked = this.lastValue = value;
|
|
2524
2531
|
setIonicClasses(this.elementRef);
|
|
@@ -2595,12 +2602,19 @@ class IonDatetime extends ValueAccessor {
|
|
|
2595
2602
|
super(injector, r);
|
|
2596
2603
|
this.z = z;
|
|
2597
2604
|
defineCustomElement$18();
|
|
2598
|
-
proxyInputs(IonDatetime, DATETIME_INPUTS);
|
|
2599
|
-
proxyMethods(IonDatetime, DATETIME_METHODS);
|
|
2600
2605
|
c.detach();
|
|
2601
2606
|
this.el = r.nativeElement;
|
|
2602
2607
|
proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);
|
|
2603
2608
|
}
|
|
2609
|
+
ngOnInit() {
|
|
2610
|
+
/**
|
|
2611
|
+
* Data-bound input properties are set
|
|
2612
|
+
* by Angular after the constructor, so
|
|
2613
|
+
* we need to run the proxy in ngOnInit.
|
|
2614
|
+
*/
|
|
2615
|
+
proxyInputs(IonDatetime, DATETIME_INPUTS);
|
|
2616
|
+
proxyMethods(IonDatetime, DATETIME_METHODS);
|
|
2617
|
+
}
|
|
2604
2618
|
handleIonChange(el) {
|
|
2605
2619
|
this.handleValueChange(el, el.value);
|
|
2606
2620
|
}
|
|
@@ -2707,12 +2721,19 @@ class IonInput extends ValueAccessor {
|
|
|
2707
2721
|
super(injector, r);
|
|
2708
2722
|
this.z = z;
|
|
2709
2723
|
defineCustomElement$1a();
|
|
2710
|
-
proxyInputs(IonInput, INPUT_INPUTS);
|
|
2711
|
-
proxyMethods(IonInput, INPUT_METHODS);
|
|
2712
2724
|
c.detach();
|
|
2713
2725
|
this.el = r.nativeElement;
|
|
2714
2726
|
proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);
|
|
2715
2727
|
}
|
|
2728
|
+
ngOnInit() {
|
|
2729
|
+
/**
|
|
2730
|
+
* Data-bound input properties are set
|
|
2731
|
+
* by Angular after the constructor, so
|
|
2732
|
+
* we need to run the proxy in ngOnInit.
|
|
2733
|
+
*/
|
|
2734
|
+
proxyInputs(IonInput, INPUT_INPUTS);
|
|
2735
|
+
proxyMethods(IonInput, INPUT_METHODS);
|
|
2736
|
+
}
|
|
2716
2737
|
handleIonInput(el) {
|
|
2717
2738
|
this.handleValueChange(el, el.value);
|
|
2718
2739
|
}
|
|
@@ -2768,11 +2789,18 @@ class IonRadioGroup extends ValueAccessor {
|
|
|
2768
2789
|
super(injector, r);
|
|
2769
2790
|
this.z = z;
|
|
2770
2791
|
defineCustomElement$1b();
|
|
2771
|
-
proxyInputs(IonRadioGroup, RADIO_GROUP_INPUTS);
|
|
2772
2792
|
c.detach();
|
|
2773
2793
|
this.el = r.nativeElement;
|
|
2774
2794
|
proxyOutputs(this, this.el, ['ionChange']);
|
|
2775
2795
|
}
|
|
2796
|
+
ngOnInit() {
|
|
2797
|
+
/**
|
|
2798
|
+
* Data-bound input properties are set
|
|
2799
|
+
* by Angular after the constructor, so
|
|
2800
|
+
* we need to run the proxy in ngOnInit.
|
|
2801
|
+
*/
|
|
2802
|
+
proxyInputs(IonRadioGroup, RADIO_GROUP_INPUTS);
|
|
2803
|
+
}
|
|
2776
2804
|
handleIonChange(el) {
|
|
2777
2805
|
this.handleValueChange(el, el.value);
|
|
2778
2806
|
}
|
|
@@ -2813,11 +2841,18 @@ class IonRadio extends ValueAccessor {
|
|
|
2813
2841
|
super(injector, r);
|
|
2814
2842
|
this.z = z;
|
|
2815
2843
|
defineCustomElement$1c();
|
|
2816
|
-
proxyInputs(IonRadio, RADIO_INPUTS);
|
|
2817
2844
|
c.detach();
|
|
2818
2845
|
this.el = r.nativeElement;
|
|
2819
2846
|
proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
|
|
2820
2847
|
}
|
|
2848
|
+
ngOnInit() {
|
|
2849
|
+
/**
|
|
2850
|
+
* Data-bound input properties are set
|
|
2851
|
+
* by Angular after the constructor, so
|
|
2852
|
+
* we need to run the proxy in ngOnInit.
|
|
2853
|
+
*/
|
|
2854
|
+
proxyInputs(IonRadio, RADIO_INPUTS);
|
|
2855
|
+
}
|
|
2821
2856
|
handleIonSelect(el) {
|
|
2822
2857
|
/**
|
|
2823
2858
|
* The `el` type is any to access the `checked` state property
|
|
@@ -2881,11 +2916,18 @@ class IonRange extends ValueAccessor {
|
|
|
2881
2916
|
super(injector, r);
|
|
2882
2917
|
this.z = z;
|
|
2883
2918
|
defineCustomElement$1d();
|
|
2884
|
-
proxyInputs(IonRange, RANGE_INPUTS);
|
|
2885
2919
|
c.detach();
|
|
2886
2920
|
this.el = r.nativeElement;
|
|
2887
2921
|
proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
|
|
2888
2922
|
}
|
|
2923
|
+
ngOnInit() {
|
|
2924
|
+
/**
|
|
2925
|
+
* Data-bound input properties are set
|
|
2926
|
+
* by Angular after the constructor, so
|
|
2927
|
+
* we need to run the proxy in ngOnInit.
|
|
2928
|
+
*/
|
|
2929
|
+
proxyInputs(IonRange, RANGE_INPUTS);
|
|
2930
|
+
}
|
|
2889
2931
|
handleIonChange(el) {
|
|
2890
2932
|
this.handleValueChange(el, el.value);
|
|
2891
2933
|
}
|
|
@@ -2948,12 +2990,19 @@ class IonSearchbar extends ValueAccessor {
|
|
|
2948
2990
|
super(injector, r);
|
|
2949
2991
|
this.z = z;
|
|
2950
2992
|
defineCustomElement$1e();
|
|
2951
|
-
proxyInputs(IonSearchbar, SEARCHBAR_INPUTS);
|
|
2952
|
-
proxyMethods(IonSearchbar, SEARCHBAR_METHODS);
|
|
2953
2993
|
c.detach();
|
|
2954
2994
|
this.el = r.nativeElement;
|
|
2955
2995
|
proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
|
|
2956
2996
|
}
|
|
2997
|
+
ngOnInit() {
|
|
2998
|
+
/**
|
|
2999
|
+
* Data-bound input properties are set
|
|
3000
|
+
* by Angular after the constructor, so
|
|
3001
|
+
* we need to run the proxy in ngOnInit.
|
|
3002
|
+
*/
|
|
3003
|
+
proxyInputs(IonSearchbar, SEARCHBAR_INPUTS);
|
|
3004
|
+
proxyMethods(IonSearchbar, SEARCHBAR_METHODS);
|
|
3005
|
+
}
|
|
2957
3006
|
handleIonInput(el) {
|
|
2958
3007
|
this.handleValueChange(el, el.value);
|
|
2959
3008
|
}
|
|
@@ -2994,11 +3043,18 @@ class IonSegment extends ValueAccessor {
|
|
|
2994
3043
|
super(injector, r);
|
|
2995
3044
|
this.z = z;
|
|
2996
3045
|
defineCustomElement$1f();
|
|
2997
|
-
proxyInputs(IonSegment, SEGMENT_INPUTS);
|
|
2998
3046
|
c.detach();
|
|
2999
3047
|
this.el = r.nativeElement;
|
|
3000
3048
|
proxyOutputs(this, this.el, ['ionChange']);
|
|
3001
3049
|
}
|
|
3050
|
+
ngOnInit() {
|
|
3051
|
+
/**
|
|
3052
|
+
* Data-bound input properties are set
|
|
3053
|
+
* by Angular after the constructor, so
|
|
3054
|
+
* we need to run the proxy in ngOnInit.
|
|
3055
|
+
*/
|
|
3056
|
+
proxyInputs(IonSegment, SEGMENT_INPUTS);
|
|
3057
|
+
}
|
|
3002
3058
|
handleIonChange(el) {
|
|
3003
3059
|
this.handleValueChange(el, el.value);
|
|
3004
3060
|
}
|
|
@@ -3062,12 +3118,19 @@ class IonSelect extends ValueAccessor {
|
|
|
3062
3118
|
super(injector, r);
|
|
3063
3119
|
this.z = z;
|
|
3064
3120
|
defineCustomElement$1g();
|
|
3065
|
-
proxyInputs(IonSelect, SELECT_INPUTS);
|
|
3066
|
-
proxyMethods(IonSelect, SELECT_METHODS);
|
|
3067
3121
|
c.detach();
|
|
3068
3122
|
this.el = r.nativeElement;
|
|
3069
3123
|
proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
|
|
3070
3124
|
}
|
|
3125
|
+
ngOnInit() {
|
|
3126
|
+
/**
|
|
3127
|
+
* Data-bound input properties are set
|
|
3128
|
+
* by Angular after the constructor, so
|
|
3129
|
+
* we need to run the proxy in ngOnInit.
|
|
3130
|
+
*/
|
|
3131
|
+
proxyInputs(IonSelect, SELECT_INPUTS);
|
|
3132
|
+
proxyMethods(IonSelect, SELECT_METHODS);
|
|
3133
|
+
}
|
|
3071
3134
|
handleIonChange(el) {
|
|
3072
3135
|
this.handleValueChange(el, el.value);
|
|
3073
3136
|
}
|
|
@@ -3140,12 +3203,19 @@ class IonTextarea extends ValueAccessor {
|
|
|
3140
3203
|
super(injector, r);
|
|
3141
3204
|
this.z = z;
|
|
3142
3205
|
defineCustomElement$1h();
|
|
3143
|
-
proxyInputs(IonTextarea, TEXTAREA_INPUTS);
|
|
3144
|
-
proxyMethods(IonTextarea, TEXTAREA_METHODS);
|
|
3145
3206
|
c.detach();
|
|
3146
3207
|
this.el = r.nativeElement;
|
|
3147
3208
|
proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);
|
|
3148
3209
|
}
|
|
3210
|
+
ngOnInit() {
|
|
3211
|
+
/**
|
|
3212
|
+
* Data-bound input properties are set
|
|
3213
|
+
* by Angular after the constructor, so
|
|
3214
|
+
* we need to run the proxy in ngOnInit.
|
|
3215
|
+
*/
|
|
3216
|
+
proxyInputs(IonTextarea, TEXTAREA_INPUTS);
|
|
3217
|
+
proxyMethods(IonTextarea, TEXTAREA_METHODS);
|
|
3218
|
+
}
|
|
3149
3219
|
handleIonInput(el) {
|
|
3150
3220
|
this.handleValueChange(el, el.value);
|
|
3151
3221
|
}
|
|
@@ -3197,11 +3267,18 @@ class IonToggle extends ValueAccessor {
|
|
|
3197
3267
|
super(injector, r);
|
|
3198
3268
|
this.z = z;
|
|
3199
3269
|
defineCustomElement$1i();
|
|
3200
|
-
proxyInputs(IonToggle, TOGGLE_INPUTS);
|
|
3201
3270
|
c.detach();
|
|
3202
3271
|
this.el = r.nativeElement;
|
|
3203
3272
|
proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
|
|
3204
3273
|
}
|
|
3274
|
+
ngOnInit() {
|
|
3275
|
+
/**
|
|
3276
|
+
* Data-bound input properties are set
|
|
3277
|
+
* by Angular after the constructor, so
|
|
3278
|
+
* we need to run the proxy in ngOnInit.
|
|
3279
|
+
*/
|
|
3280
|
+
proxyInputs(IonToggle, TOGGLE_INPUTS);
|
|
3281
|
+
}
|
|
3205
3282
|
writeValue(value) {
|
|
3206
3283
|
this.elementRef.nativeElement.checked = this.lastValue = value;
|
|
3207
3284
|
setIonicClasses(this.elementRef);
|