@ionic/angular 7.5.1-dev.11697219867.13d96ccb → 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.
@@ -2497,7 +2497,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2497
2497
  }]
2498
2498
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
2499
2499
 
2500
- var IonCheckbox_1;
2501
2500
  const CHECKBOX_INPUTS = [
2502
2501
  'checked',
2503
2502
  'color',
@@ -2510,14 +2509,23 @@ const CHECKBOX_INPUTS = [
2510
2509
  'name',
2511
2510
  'value',
2512
2511
  ];
2513
- let IonCheckbox = IonCheckbox_1 = class IonCheckbox extends ValueAccessor {
2512
+ class IonCheckbox extends ValueAccessor {
2514
2513
  constructor(c, r, z, injector) {
2515
2514
  super(injector, r);
2516
2515
  this.z = z;
2516
+ defineCustomElement$17();
2517
2517
  c.detach();
2518
2518
  this.el = r.nativeElement;
2519
2519
  proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
2520
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
+ }
2521
2529
  writeValue(value) {
2522
2530
  this.elementRef.nativeElement.checked = this.lastValue = value;
2523
2531
  setIonicClasses(this.elementRef);
@@ -2525,21 +2533,15 @@ let IonCheckbox = IonCheckbox_1 = class IonCheckbox extends ValueAccessor {
2525
2533
  handleIonChange(el) {
2526
2534
  this.handleValueChange(el, el.checked);
2527
2535
  }
2528
- };
2536
+ }
2529
2537
  /** @nocollapse */ IonCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2530
2538
  /** @nocollapse */ IonCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonCheckbox, isStandalone: true, selector: "ion-checkbox", inputs: { checked: "checked", color: "color", disabled: "disabled", indeterminate: "indeterminate", justify: "justify", labelPlacement: "labelPlacement", legacy: "legacy", mode: "mode", name: "name", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
2531
2539
  {
2532
2540
  provide: NG_VALUE_ACCESSOR,
2533
- useExisting: IonCheckbox_1,
2541
+ useExisting: IonCheckbox,
2534
2542
  multi: true,
2535
2543
  },
2536
2544
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2537
- IonCheckbox = IonCheckbox_1 = __decorate([
2538
- ProxyCmp({
2539
- defineCustomElementFn: defineCustomElement$17,
2540
- inputs: CHECKBOX_INPUTS,
2541
- })
2542
- ], IonCheckbox);
2543
2545
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonCheckbox, decorators: [{
2544
2546
  type: Component,
2545
2547
  args: [{
@@ -2562,7 +2564,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2562
2564
  args: ['ionChange', ['$event.target']]
2563
2565
  }] } });
2564
2566
 
2565
- var IonDatetime_1;
2566
2567
  const DATETIME_INPUTS = [
2567
2568
  'cancelText',
2568
2569
  'clearText',
@@ -2595,33 +2596,37 @@ const DATETIME_INPUTS = [
2595
2596
  'value',
2596
2597
  'yearValues',
2597
2598
  ];
2598
- let IonDatetime = IonDatetime_1 = class IonDatetime extends ValueAccessor {
2599
+ const DATETIME_METHODS = ['confirm', 'reset', 'cancel'];
2600
+ class IonDatetime extends ValueAccessor {
2599
2601
  constructor(c, r, z, injector) {
2600
2602
  super(injector, r);
2601
2603
  this.z = z;
2604
+ defineCustomElement$18();
2602
2605
  c.detach();
2603
2606
  this.el = r.nativeElement;
2604
2607
  proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);
2605
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
+ }
2606
2618
  handleIonChange(el) {
2607
2619
  this.handleValueChange(el, el.value);
2608
2620
  }
2609
- };
2621
+ }
2610
2622
  /** @nocollapse */ IonDatetime.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonDatetime, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2611
2623
  /** @nocollapse */ IonDatetime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonDatetime, isStandalone: true, selector: "ion-datetime", inputs: { cancelText: "cancelText", clearText: "clearText", color: "color", dayValues: "dayValues", disabled: "disabled", doneText: "doneText", firstDayOfWeek: "firstDayOfWeek", highlightedDates: "highlightedDates", hourCycle: "hourCycle", hourValues: "hourValues", isDateEnabled: "isDateEnabled", locale: "locale", max: "max", min: "min", minuteValues: "minuteValues", mode: "mode", monthValues: "monthValues", multiple: "multiple", name: "name", preferWheel: "preferWheel", presentation: "presentation", readonly: "readonly", showClearButton: "showClearButton", showDefaultButtons: "showDefaultButtons", showDefaultTimeLabel: "showDefaultTimeLabel", showDefaultTitle: "showDefaultTitle", size: "size", titleSelectedDatesFormatter: "titleSelectedDatesFormatter", value: "value", yearValues: "yearValues" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
2612
2624
  {
2613
2625
  provide: NG_VALUE_ACCESSOR,
2614
- useExisting: IonDatetime_1,
2626
+ useExisting: IonDatetime,
2615
2627
  multi: true,
2616
2628
  },
2617
2629
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2618
- IonDatetime = IonDatetime_1 = __decorate([
2619
- ProxyCmp({
2620
- defineCustomElementFn: defineCustomElement$18,
2621
- inputs: DATETIME_INPUTS,
2622
- methods: ['confirm', 'reset', 'cancel'],
2623
- })
2624
- ], IonDatetime);
2625
2630
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonDatetime, decorators: [{
2626
2631
  type: Component,
2627
2632
  args: [{
@@ -2671,7 +2676,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2671
2676
  }]
2672
2677
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
2673
2678
 
2674
- var IonInput_1;
2675
2679
  const INPUT_INPUTS = [
2676
2680
  'accept',
2677
2681
  'autocapitalize',
@@ -2711,14 +2715,25 @@ const INPUT_INPUTS = [
2711
2715
  'type',
2712
2716
  'value',
2713
2717
  ];
2714
- let IonInput = IonInput_1 = class IonInput extends ValueAccessor {
2718
+ const INPUT_METHODS = ['setFocus', 'getInputElement'];
2719
+ class IonInput extends ValueAccessor {
2715
2720
  constructor(c, r, z, injector) {
2716
2721
  super(injector, r);
2717
2722
  this.z = z;
2723
+ defineCustomElement$1a();
2718
2724
  c.detach();
2719
2725
  this.el = r.nativeElement;
2720
2726
  proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);
2721
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
+ }
2722
2737
  handleIonInput(el) {
2723
2738
  this.handleValueChange(el, el.value);
2724
2739
  }
@@ -2737,22 +2752,15 @@ let IonInput = IonInput_1 = class IonInput extends ValueAccessor {
2737
2752
  }
2738
2753
  });
2739
2754
  }
2740
- };
2755
+ }
2741
2756
  /** @nocollapse */ IonInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2742
2757
  /** @nocollapse */ IonInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonInput, isStandalone: true, selector: "ion-input", inputs: { accept: "accept", autocapitalize: "autocapitalize", autocomplete: "autocomplete", autocorrect: "autocorrect", autofocus: "autofocus", clearInput: "clearInput", clearOnEdit: "clearOnEdit", color: "color", counter: "counter", counterFormatter: "counterFormatter", debounce: "debounce", disabled: "disabled", enterkeyhint: "enterkeyhint", errorText: "errorText", fill: "fill", helperText: "helperText", inputmode: "inputmode", label: "label", labelPlacement: "labelPlacement", legacy: "legacy", max: "max", maxlength: "maxlength", min: "min", minlength: "minlength", mode: "mode", multiple: "multiple", name: "name", pattern: "pattern", placeholder: "placeholder", readonly: "readonly", required: "required", shape: "shape", size: "size", spellcheck: "spellcheck", step: "step", type: "type", value: "value" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
2743
2758
  {
2744
2759
  provide: NG_VALUE_ACCESSOR,
2745
- useExisting: IonInput_1,
2760
+ useExisting: IonInput,
2746
2761
  multi: true,
2747
2762
  },
2748
2763
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2749
- IonInput = IonInput_1 = __decorate([
2750
- ProxyCmp({
2751
- defineCustomElementFn: defineCustomElement$1a,
2752
- inputs: INPUT_INPUTS,
2753
- methods: ['setFocus', 'getInputElement'],
2754
- })
2755
- ], IonInput);
2756
2764
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonInput, decorators: [{
2757
2765
  type: Component,
2758
2766
  args: [{
@@ -2775,34 +2783,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2775
2783
  args: ['ionInput', ['$event.target']]
2776
2784
  }] } });
2777
2785
 
2778
- var IonRadioGroup_1;
2779
2786
  const RADIO_GROUP_INPUTS = ['allowEmptySelection', 'name', 'value'];
2780
- let IonRadioGroup = IonRadioGroup_1 = class IonRadioGroup extends ValueAccessor {
2787
+ class IonRadioGroup extends ValueAccessor {
2781
2788
  constructor(c, r, z, injector) {
2782
2789
  super(injector, r);
2783
2790
  this.z = z;
2791
+ defineCustomElement$1b();
2784
2792
  c.detach();
2785
2793
  this.el = r.nativeElement;
2786
2794
  proxyOutputs(this, this.el, ['ionChange']);
2787
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
+ }
2788
2804
  handleIonChange(el) {
2789
2805
  this.handleValueChange(el, el.value);
2790
2806
  }
2791
- };
2807
+ }
2792
2808
  /** @nocollapse */ IonRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2793
2809
  /** @nocollapse */ IonRadioGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonRadioGroup, isStandalone: true, selector: "ion-radio-group", inputs: { allowEmptySelection: "allowEmptySelection", name: "name", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
2794
2810
  {
2795
2811
  provide: NG_VALUE_ACCESSOR,
2796
- useExisting: IonRadioGroup_1,
2812
+ useExisting: IonRadioGroup,
2797
2813
  multi: true,
2798
2814
  },
2799
2815
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2800
- IonRadioGroup = IonRadioGroup_1 = __decorate([
2801
- ProxyCmp({
2802
- defineCustomElementFn: defineCustomElement$1b,
2803
- inputs: RADIO_GROUP_INPUTS,
2804
- })
2805
- ], IonRadioGroup);
2806
2816
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadioGroup, decorators: [{
2807
2817
  type: Component,
2808
2818
  args: [{
@@ -2825,16 +2835,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2825
2835
  args: ['ionChange', ['$event.target']]
2826
2836
  }] } });
2827
2837
 
2828
- var IonRadio_1;
2829
2838
  const RADIO_INPUTS = ['color', 'disabled', 'justify', 'labelPlacement', 'legacy', 'mode', 'name', 'value'];
2830
- let IonRadio = IonRadio_1 = class IonRadio extends ValueAccessor {
2839
+ class IonRadio extends ValueAccessor {
2831
2840
  constructor(c, r, z, injector) {
2832
2841
  super(injector, r);
2833
2842
  this.z = z;
2843
+ defineCustomElement$1c();
2834
2844
  c.detach();
2835
2845
  this.el = r.nativeElement;
2836
2846
  proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
2837
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
+ }
2838
2856
  handleIonSelect(el) {
2839
2857
  /**
2840
2858
  * The `el` type is any to access the `checked` state property
@@ -2842,21 +2860,15 @@ let IonRadio = IonRadio_1 = class IonRadio extends ValueAccessor {
2842
2860
  */
2843
2861
  this.handleValueChange(el, el.checked);
2844
2862
  }
2845
- };
2863
+ }
2846
2864
  /** @nocollapse */ IonRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2847
2865
  /** @nocollapse */ IonRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonRadio, isStandalone: true, selector: "ion-radio", inputs: { color: "color", disabled: "disabled", justify: "justify", labelPlacement: "labelPlacement", legacy: "legacy", mode: "mode", name: "name", value: "value" }, host: { listeners: { "ionSelect": "handleIonSelect($event.target)" } }, providers: [
2848
2866
  {
2849
2867
  provide: NG_VALUE_ACCESSOR,
2850
- useExisting: IonRadio_1,
2868
+ useExisting: IonRadio,
2851
2869
  multi: true,
2852
2870
  },
2853
2871
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2854
- IonRadio = IonRadio_1 = __decorate([
2855
- ProxyCmp({
2856
- defineCustomElementFn: defineCustomElement$1c,
2857
- inputs: RADIO_INPUTS,
2858
- })
2859
- ], IonRadio);
2860
2872
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadio, decorators: [{
2861
2873
  type: Component,
2862
2874
  args: [{
@@ -2879,7 +2891,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2879
2891
  args: ['ionSelect', ['$event.target']]
2880
2892
  }] } });
2881
2893
 
2882
- var IonRange_1;
2883
2894
  const RANGE_INPUTS = [
2884
2895
  'activeBarStart',
2885
2896
  'color',
@@ -2900,32 +2911,35 @@ const RANGE_INPUTS = [
2900
2911
  'ticks',
2901
2912
  'value',
2902
2913
  ];
2903
- let IonRange = IonRange_1 = class IonRange extends ValueAccessor {
2914
+ class IonRange extends ValueAccessor {
2904
2915
  constructor(c, r, z, injector) {
2905
2916
  super(injector, r);
2906
2917
  this.z = z;
2918
+ defineCustomElement$1d();
2907
2919
  c.detach();
2908
2920
  this.el = r.nativeElement;
2909
2921
  proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
2910
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
+ }
2911
2931
  handleIonChange(el) {
2912
2932
  this.handleValueChange(el, el.value);
2913
2933
  }
2914
- };
2934
+ }
2915
2935
  /** @nocollapse */ IonRange.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRange, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2916
2936
  /** @nocollapse */ IonRange.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonRange, isStandalone: true, selector: "ion-range", inputs: { 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" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
2917
2937
  {
2918
2938
  provide: NG_VALUE_ACCESSOR,
2919
- useExisting: IonRange_1,
2939
+ useExisting: IonRange,
2920
2940
  multi: true,
2921
2941
  },
2922
2942
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2923
- IonRange = IonRange_1 = __decorate([
2924
- ProxyCmp({
2925
- defineCustomElementFn: defineCustomElement$1d,
2926
- inputs: RANGE_INPUTS,
2927
- })
2928
- ], IonRange);
2929
2943
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRange, decorators: [{
2930
2944
  type: Component,
2931
2945
  args: [{
@@ -2948,7 +2962,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2948
2962
  args: ['ionChange', ['$event.target']]
2949
2963
  }] } });
2950
2964
 
2951
- var IonSearchbar_1;
2952
2965
  const SEARCHBAR_INPUTS = [
2953
2966
  'animated',
2954
2967
  'autocomplete',
@@ -2971,33 +2984,37 @@ const SEARCHBAR_INPUTS = [
2971
2984
  'type',
2972
2985
  'value',
2973
2986
  ];
2974
- let IonSearchbar = IonSearchbar_1 = class IonSearchbar extends ValueAccessor {
2987
+ const SEARCHBAR_METHODS = ['setFocus', 'getInputElement'];
2988
+ class IonSearchbar extends ValueAccessor {
2975
2989
  constructor(c, r, z, injector) {
2976
2990
  super(injector, r);
2977
2991
  this.z = z;
2992
+ defineCustomElement$1e();
2978
2993
  c.detach();
2979
2994
  this.el = r.nativeElement;
2980
2995
  proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
2981
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
+ }
2982
3006
  handleIonInput(el) {
2983
3007
  this.handleValueChange(el, el.value);
2984
3008
  }
2985
- };
3009
+ }
2986
3010
  /** @nocollapse */ IonSearchbar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSearchbar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
2987
3011
  /** @nocollapse */ IonSearchbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonSearchbar, isStandalone: true, selector: "ion-searchbar", inputs: { 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" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
2988
3012
  {
2989
3013
  provide: NG_VALUE_ACCESSOR,
2990
- useExisting: IonSearchbar_1,
3014
+ useExisting: IonSearchbar,
2991
3015
  multi: true,
2992
3016
  },
2993
3017
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2994
- IonSearchbar = IonSearchbar_1 = __decorate([
2995
- ProxyCmp({
2996
- defineCustomElementFn: defineCustomElement$1e,
2997
- inputs: SEARCHBAR_INPUTS,
2998
- methods: ['setFocus', 'getInputElement'],
2999
- })
3000
- ], IonSearchbar);
3001
3018
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSearchbar, decorators: [{
3002
3019
  type: Component,
3003
3020
  args: [{
@@ -3020,34 +3037,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
3020
3037
  args: ['ionInput', ['$event.target']]
3021
3038
  }] } });
3022
3039
 
3023
- var IonSegment_1;
3024
3040
  const SEGMENT_INPUTS = ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value'];
3025
- let IonSegment = IonSegment_1 = class IonSegment extends ValueAccessor {
3041
+ class IonSegment extends ValueAccessor {
3026
3042
  constructor(c, r, z, injector) {
3027
3043
  super(injector, r);
3028
3044
  this.z = z;
3045
+ defineCustomElement$1f();
3029
3046
  c.detach();
3030
3047
  this.el = r.nativeElement;
3031
3048
  proxyOutputs(this, this.el, ['ionChange']);
3032
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
+ }
3033
3058
  handleIonChange(el) {
3034
3059
  this.handleValueChange(el, el.value);
3035
3060
  }
3036
- };
3061
+ }
3037
3062
  /** @nocollapse */ IonSegment.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSegment, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3038
3063
  /** @nocollapse */ IonSegment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonSegment, isStandalone: true, selector: "ion-segment", inputs: { color: "color", disabled: "disabled", mode: "mode", scrollable: "scrollable", selectOnFocus: "selectOnFocus", swipeGesture: "swipeGesture", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
3039
3064
  {
3040
3065
  provide: NG_VALUE_ACCESSOR,
3041
- useExisting: IonSegment_1,
3066
+ useExisting: IonSegment,
3042
3067
  multi: true,
3043
3068
  },
3044
3069
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3045
- IonSegment = IonSegment_1 = __decorate([
3046
- ProxyCmp({
3047
- defineCustomElementFn: defineCustomElement$1f,
3048
- inputs: SEGMENT_INPUTS,
3049
- })
3050
- ], IonSegment);
3051
3070
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSegment, decorators: [{
3052
3071
  type: Component,
3053
3072
  args: [{
@@ -3070,7 +3089,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
3070
3089
  args: ['ionChange', ['$event.target']]
3071
3090
  }] } });
3072
3091
 
3073
- var IonSelect_1;
3074
3092
  const SELECT_INPUTS = [
3075
3093
  'cancelText',
3076
3094
  'color',
@@ -3094,33 +3112,37 @@ const SELECT_INPUTS = [
3094
3112
  'toggleIcon',
3095
3113
  'value',
3096
3114
  ];
3097
- let IonSelect = IonSelect_1 = class IonSelect extends ValueAccessor {
3115
+ const SELECT_METHODS = ['open'];
3116
+ class IonSelect extends ValueAccessor {
3098
3117
  constructor(c, r, z, injector) {
3099
3118
  super(injector, r);
3100
3119
  this.z = z;
3120
+ defineCustomElement$1g();
3101
3121
  c.detach();
3102
3122
  this.el = r.nativeElement;
3103
3123
  proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
3104
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
+ }
3105
3134
  handleIonChange(el) {
3106
3135
  this.handleValueChange(el, el.value);
3107
3136
  }
3108
- };
3137
+ }
3109
3138
  /** @nocollapse */ IonSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3110
3139
  /** @nocollapse */ IonSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonSelect, isStandalone: true, selector: "ion-select", inputs: { 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" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
3111
3140
  {
3112
3141
  provide: NG_VALUE_ACCESSOR,
3113
- useExisting: IonSelect_1,
3142
+ useExisting: IonSelect,
3114
3143
  multi: true,
3115
3144
  },
3116
3145
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3117
- IonSelect = IonSelect_1 = __decorate([
3118
- ProxyCmp({
3119
- defineCustomElementFn: defineCustomElement$1g,
3120
- inputs: SELECT_INPUTS,
3121
- methods: ['open'],
3122
- })
3123
- ], IonSelect);
3124
3146
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSelect, decorators: [{
3125
3147
  type: Component,
3126
3148
  args: [{
@@ -3143,7 +3165,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
3143
3165
  args: ['ionChange', ['$event.target']]
3144
3166
  }] } });
3145
3167
 
3146
- var IonTextarea_1;
3147
3168
  const TEXTAREA_INPUTS = [
3148
3169
  'autoGrow',
3149
3170
  'autocapitalize',
@@ -3176,33 +3197,37 @@ const TEXTAREA_INPUTS = [
3176
3197
  'value',
3177
3198
  'wrap',
3178
3199
  ];
3179
- let IonTextarea = IonTextarea_1 = class IonTextarea extends ValueAccessor {
3200
+ const TEXTAREA_METHODS = ['setFocus', 'getInputElement'];
3201
+ class IonTextarea extends ValueAccessor {
3180
3202
  constructor(c, r, z, injector) {
3181
3203
  super(injector, r);
3182
3204
  this.z = z;
3205
+ defineCustomElement$1h();
3183
3206
  c.detach();
3184
3207
  this.el = r.nativeElement;
3185
3208
  proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);
3186
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
+ }
3187
3219
  handleIonInput(el) {
3188
3220
  this.handleValueChange(el, el.value);
3189
3221
  }
3190
- };
3222
+ }
3191
3223
  /** @nocollapse */ IonTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTextarea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3192
3224
  /** @nocollapse */ IonTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonTextarea, isStandalone: true, selector: "ion-textarea", inputs: { 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" }, host: { listeners: { "ionInput": "handleIonInput($event.target)" } }, providers: [
3193
3225
  {
3194
3226
  provide: NG_VALUE_ACCESSOR,
3195
- useExisting: IonTextarea_1,
3227
+ useExisting: IonTextarea,
3196
3228
  multi: true,
3197
3229
  },
3198
3230
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3199
- IonTextarea = IonTextarea_1 = __decorate([
3200
- ProxyCmp({
3201
- defineCustomElementFn: defineCustomElement$1h,
3202
- inputs: TEXTAREA_INPUTS,
3203
- methods: ['setFocus', 'getInputElement'],
3204
- })
3205
- ], IonTextarea);
3206
3231
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTextarea, decorators: [{
3207
3232
  type: Component,
3208
3233
  args: [{
@@ -3225,7 +3250,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
3225
3250
  args: ['ionInput', ['$event.target']]
3226
3251
  }] } });
3227
3252
 
3228
- var IonToggle_1;
3229
3253
  const TOGGLE_INPUTS = [
3230
3254
  'checked',
3231
3255
  'color',
@@ -3238,14 +3262,23 @@ const TOGGLE_INPUTS = [
3238
3262
  'name',
3239
3263
  'value',
3240
3264
  ];
3241
- let IonToggle = IonToggle_1 = class IonToggle extends ValueAccessor {
3265
+ class IonToggle extends ValueAccessor {
3242
3266
  constructor(c, r, z, injector) {
3243
3267
  super(injector, r);
3244
3268
  this.z = z;
3269
+ defineCustomElement$1i();
3245
3270
  c.detach();
3246
3271
  this.el = r.nativeElement;
3247
3272
  proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
3248
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
+ }
3249
3282
  writeValue(value) {
3250
3283
  this.elementRef.nativeElement.checked = this.lastValue = value;
3251
3284
  setIonicClasses(this.elementRef);
@@ -3253,21 +3286,15 @@ let IonToggle = IonToggle_1 = class IonToggle extends ValueAccessor {
3253
3286
  handleIonChange(el) {
3254
3287
  this.handleValueChange(el, el.checked);
3255
3288
  }
3256
- };
3289
+ }
3257
3290
  /** @nocollapse */ IonToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
3258
3291
  /** @nocollapse */ IonToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonToggle, isStandalone: true, selector: "ion-toggle", inputs: { checked: "checked", color: "color", disabled: "disabled", enableOnOffLabels: "enableOnOffLabels", justify: "justify", labelPlacement: "labelPlacement", legacy: "legacy", mode: "mode", name: "name", value: "value" }, host: { listeners: { "ionChange": "handleIonChange($event.target)" } }, providers: [
3259
3292
  {
3260
3293
  provide: NG_VALUE_ACCESSOR,
3261
- useExisting: IonToggle_1,
3294
+ useExisting: IonToggle,
3262
3295
  multi: true,
3263
3296
  },
3264
3297
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3265
- IonToggle = IonToggle_1 = __decorate([
3266
- ProxyCmp({
3267
- defineCustomElementFn: defineCustomElement$1i,
3268
- inputs: TOGGLE_INPUTS,
3269
- })
3270
- ], IonToggle);
3271
3298
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonToggle, decorators: [{
3272
3299
  type: Component,
3273
3300
  args: [{