@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.
@@ -2499,7 +2499,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2499
2499
  }]
2500
2500
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
2501
2501
 
2502
- var IonCheckbox_1;
2503
2502
  const CHECKBOX_INPUTS = [
2504
2503
  'checked',
2505
2504
  'color',
@@ -2512,14 +2511,23 @@ const CHECKBOX_INPUTS = [
2512
2511
  'name',
2513
2512
  'value',
2514
2513
  ];
2515
- let IonCheckbox = IonCheckbox_1 = class IonCheckbox extends ValueAccessor {
2514
+ class IonCheckbox extends ValueAccessor {
2516
2515
  constructor(c, r, z, injector) {
2517
2516
  super(injector, r);
2518
2517
  this.z = z;
2518
+ defineCustomElement$17();
2519
2519
  c.detach();
2520
2520
  this.el = r.nativeElement;
2521
2521
  proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
2522
2522
  }
2523
+ ngOnInit() {
2524
+ /**
2525
+ * Data-bound input properties are set
2526
+ * by Angular after the constructor, so
2527
+ * we need to run the proxy in ngOnInit.
2528
+ */
2529
+ proxyInputs(IonCheckbox, CHECKBOX_INPUTS);
2530
+ }
2523
2531
  writeValue(value) {
2524
2532
  this.elementRef.nativeElement.checked = this.lastValue = value;
2525
2533
  setIonicClasses(this.elementRef);
@@ -2527,21 +2535,15 @@ let IonCheckbox = IonCheckbox_1 = class IonCheckbox extends ValueAccessor {
2527
2535
  handleIonChange(el) {
2528
2536
  this.handleValueChange(el, el.checked);
2529
2537
  }
2530
- };
2538
+ }
2531
2539
  /** @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 });
2532
2540
  /** @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: [
2533
2541
  {
2534
2542
  provide: NG_VALUE_ACCESSOR,
2535
- useExisting: IonCheckbox_1,
2543
+ useExisting: IonCheckbox,
2536
2544
  multi: true,
2537
2545
  },
2538
2546
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2539
- IonCheckbox = IonCheckbox_1 = __decorate([
2540
- ProxyCmp({
2541
- defineCustomElementFn: defineCustomElement$17,
2542
- inputs: CHECKBOX_INPUTS,
2543
- })
2544
- ], IonCheckbox);
2545
2547
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonCheckbox, decorators: [{
2546
2548
  type: Component,
2547
2549
  args: [{
@@ -2564,7 +2566,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2564
2566
  args: ['ionChange', ['$event.target']]
2565
2567
  }] } });
2566
2568
 
2567
- var IonDatetime_1;
2568
2569
  const DATETIME_INPUTS = [
2569
2570
  'cancelText',
2570
2571
  'clearText',
@@ -2597,33 +2598,37 @@ const DATETIME_INPUTS = [
2597
2598
  'value',
2598
2599
  'yearValues',
2599
2600
  ];
2600
- let IonDatetime = IonDatetime_1 = class IonDatetime extends ValueAccessor {
2601
+ const DATETIME_METHODS = ['confirm', 'reset', 'cancel'];
2602
+ class IonDatetime extends ValueAccessor {
2601
2603
  constructor(c, r, z, injector) {
2602
2604
  super(injector, r);
2603
2605
  this.z = z;
2606
+ defineCustomElement$18();
2604
2607
  c.detach();
2605
2608
  this.el = r.nativeElement;
2606
2609
  proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);
2607
2610
  }
2611
+ ngOnInit() {
2612
+ /**
2613
+ * Data-bound input properties are set
2614
+ * by Angular after the constructor, so
2615
+ * we need to run the proxy in ngOnInit.
2616
+ */
2617
+ proxyInputs(IonDatetime, DATETIME_INPUTS);
2618
+ proxyMethods(IonDatetime, DATETIME_METHODS);
2619
+ }
2608
2620
  handleIonChange(el) {
2609
2621
  this.handleValueChange(el, el.value);
2610
2622
  }
2611
- };
2623
+ }
2612
2624
  /** @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 });
2613
2625
  /** @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: [
2614
2626
  {
2615
2627
  provide: NG_VALUE_ACCESSOR,
2616
- useExisting: IonDatetime_1,
2628
+ useExisting: IonDatetime,
2617
2629
  multi: true,
2618
2630
  },
2619
2631
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2620
- IonDatetime = IonDatetime_1 = __decorate([
2621
- ProxyCmp({
2622
- defineCustomElementFn: defineCustomElement$18,
2623
- inputs: DATETIME_INPUTS,
2624
- methods: ['confirm', 'reset', 'cancel'],
2625
- })
2626
- ], IonDatetime);
2627
2632
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonDatetime, decorators: [{
2628
2633
  type: Component,
2629
2634
  args: [{
@@ -2673,7 +2678,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2673
2678
  }]
2674
2679
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
2675
2680
 
2676
- var IonInput_1;
2677
2681
  const INPUT_INPUTS = [
2678
2682
  'accept',
2679
2683
  'autocapitalize',
@@ -2713,14 +2717,25 @@ const INPUT_INPUTS = [
2713
2717
  'type',
2714
2718
  'value',
2715
2719
  ];
2716
- let IonInput = IonInput_1 = class IonInput extends ValueAccessor {
2720
+ const INPUT_METHODS = ['setFocus', 'getInputElement'];
2721
+ class IonInput extends ValueAccessor {
2717
2722
  constructor(c, r, z, injector) {
2718
2723
  super(injector, r);
2719
2724
  this.z = z;
2725
+ defineCustomElement$1a();
2720
2726
  c.detach();
2721
2727
  this.el = r.nativeElement;
2722
2728
  proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);
2723
2729
  }
2730
+ ngOnInit() {
2731
+ /**
2732
+ * Data-bound input properties are set
2733
+ * by Angular after the constructor, so
2734
+ * we need to run the proxy in ngOnInit.
2735
+ */
2736
+ proxyInputs(IonInput, INPUT_INPUTS);
2737
+ proxyMethods(IonInput, INPUT_METHODS);
2738
+ }
2724
2739
  handleIonInput(el) {
2725
2740
  this.handleValueChange(el, el.value);
2726
2741
  }
@@ -2739,22 +2754,15 @@ let IonInput = IonInput_1 = class IonInput extends ValueAccessor {
2739
2754
  }
2740
2755
  });
2741
2756
  }
2742
- };
2757
+ }
2743
2758
  /** @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 });
2744
2759
  /** @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: [
2745
2760
  {
2746
2761
  provide: NG_VALUE_ACCESSOR,
2747
- useExisting: IonInput_1,
2762
+ useExisting: IonInput,
2748
2763
  multi: true,
2749
2764
  },
2750
2765
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2751
- IonInput = IonInput_1 = __decorate([
2752
- ProxyCmp({
2753
- defineCustomElementFn: defineCustomElement$1a,
2754
- inputs: INPUT_INPUTS,
2755
- methods: ['setFocus', 'getInputElement'],
2756
- })
2757
- ], IonInput);
2758
2766
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonInput, decorators: [{
2759
2767
  type: Component,
2760
2768
  args: [{
@@ -2777,34 +2785,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2777
2785
  args: ['ionInput', ['$event.target']]
2778
2786
  }] } });
2779
2787
 
2780
- var IonRadioGroup_1;
2781
2788
  const RADIO_GROUP_INPUTS = ['allowEmptySelection', 'name', 'value'];
2782
- let IonRadioGroup = IonRadioGroup_1 = class IonRadioGroup extends ValueAccessor {
2789
+ class IonRadioGroup extends ValueAccessor {
2783
2790
  constructor(c, r, z, injector) {
2784
2791
  super(injector, r);
2785
2792
  this.z = z;
2793
+ defineCustomElement$1b();
2786
2794
  c.detach();
2787
2795
  this.el = r.nativeElement;
2788
2796
  proxyOutputs(this, this.el, ['ionChange']);
2789
2797
  }
2798
+ ngOnInit() {
2799
+ /**
2800
+ * Data-bound input properties are set
2801
+ * by Angular after the constructor, so
2802
+ * we need to run the proxy in ngOnInit.
2803
+ */
2804
+ proxyInputs(IonRadioGroup, RADIO_GROUP_INPUTS);
2805
+ }
2790
2806
  handleIonChange(el) {
2791
2807
  this.handleValueChange(el, el.value);
2792
2808
  }
2793
- };
2809
+ }
2794
2810
  /** @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 });
2795
2811
  /** @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: [
2796
2812
  {
2797
2813
  provide: NG_VALUE_ACCESSOR,
2798
- useExisting: IonRadioGroup_1,
2814
+ useExisting: IonRadioGroup,
2799
2815
  multi: true,
2800
2816
  },
2801
2817
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2802
- IonRadioGroup = IonRadioGroup_1 = __decorate([
2803
- ProxyCmp({
2804
- defineCustomElementFn: defineCustomElement$1b,
2805
- inputs: RADIO_GROUP_INPUTS,
2806
- })
2807
- ], IonRadioGroup);
2808
2818
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadioGroup, decorators: [{
2809
2819
  type: Component,
2810
2820
  args: [{
@@ -2827,16 +2837,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2827
2837
  args: ['ionChange', ['$event.target']]
2828
2838
  }] } });
2829
2839
 
2830
- var IonRadio_1;
2831
2840
  const RADIO_INPUTS = ['color', 'disabled', 'justify', 'labelPlacement', 'legacy', 'mode', 'name', 'value'];
2832
- let IonRadio = IonRadio_1 = class IonRadio extends ValueAccessor {
2841
+ class IonRadio extends ValueAccessor {
2833
2842
  constructor(c, r, z, injector) {
2834
2843
  super(injector, r);
2835
2844
  this.z = z;
2845
+ defineCustomElement$1c();
2836
2846
  c.detach();
2837
2847
  this.el = r.nativeElement;
2838
2848
  proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
2839
2849
  }
2850
+ ngOnInit() {
2851
+ /**
2852
+ * Data-bound input properties are set
2853
+ * by Angular after the constructor, so
2854
+ * we need to run the proxy in ngOnInit.
2855
+ */
2856
+ proxyInputs(IonRadio, RADIO_INPUTS);
2857
+ }
2840
2858
  handleIonSelect(el) {
2841
2859
  /**
2842
2860
  * The `el` type is any to access the `checked` state property
@@ -2844,21 +2862,15 @@ let IonRadio = IonRadio_1 = class IonRadio extends ValueAccessor {
2844
2862
  */
2845
2863
  this.handleValueChange(el, el.checked);
2846
2864
  }
2847
- };
2865
+ }
2848
2866
  /** @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 });
2849
2867
  /** @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: [
2850
2868
  {
2851
2869
  provide: NG_VALUE_ACCESSOR,
2852
- useExisting: IonRadio_1,
2870
+ useExisting: IonRadio,
2853
2871
  multi: true,
2854
2872
  },
2855
2873
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2856
- IonRadio = IonRadio_1 = __decorate([
2857
- ProxyCmp({
2858
- defineCustomElementFn: defineCustomElement$1c,
2859
- inputs: RADIO_INPUTS,
2860
- })
2861
- ], IonRadio);
2862
2874
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadio, decorators: [{
2863
2875
  type: Component,
2864
2876
  args: [{
@@ -2881,7 +2893,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2881
2893
  args: ['ionSelect', ['$event.target']]
2882
2894
  }] } });
2883
2895
 
2884
- var IonRange_1;
2885
2896
  const RANGE_INPUTS = [
2886
2897
  'activeBarStart',
2887
2898
  'color',
@@ -2902,32 +2913,35 @@ const RANGE_INPUTS = [
2902
2913
  'ticks',
2903
2914
  'value',
2904
2915
  ];
2905
- let IonRange = IonRange_1 = class IonRange extends ValueAccessor {
2916
+ class IonRange extends ValueAccessor {
2906
2917
  constructor(c, r, z, injector) {
2907
2918
  super(injector, r);
2908
2919
  this.z = z;
2920
+ defineCustomElement$1d();
2909
2921
  c.detach();
2910
2922
  this.el = r.nativeElement;
2911
2923
  proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
2912
2924
  }
2925
+ ngOnInit() {
2926
+ /**
2927
+ * Data-bound input properties are set
2928
+ * by Angular after the constructor, so
2929
+ * we need to run the proxy in ngOnInit.
2930
+ */
2931
+ proxyInputs(IonRange, RANGE_INPUTS);
2932
+ }
2913
2933
  handleIonChange(el) {
2914
2934
  this.handleValueChange(el, el.value);
2915
2935
  }
2916
- };
2936
+ }
2917
2937
  /** @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 });
2918
2938
  /** @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: [
2919
2939
  {
2920
2940
  provide: NG_VALUE_ACCESSOR,
2921
- useExisting: IonRange_1,
2941
+ useExisting: IonRange,
2922
2942
  multi: true,
2923
2943
  },
2924
2944
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2925
- IonRange = IonRange_1 = __decorate([
2926
- ProxyCmp({
2927
- defineCustomElementFn: defineCustomElement$1d,
2928
- inputs: RANGE_INPUTS,
2929
- })
2930
- ], IonRange);
2931
2945
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRange, decorators: [{
2932
2946
  type: Component,
2933
2947
  args: [{
@@ -2950,7 +2964,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2950
2964
  args: ['ionChange', ['$event.target']]
2951
2965
  }] } });
2952
2966
 
2953
- var IonSearchbar_1;
2954
2967
  const SEARCHBAR_INPUTS = [
2955
2968
  'animated',
2956
2969
  'autocomplete',
@@ -2973,33 +2986,37 @@ const SEARCHBAR_INPUTS = [
2973
2986
  'type',
2974
2987
  'value',
2975
2988
  ];
2976
- let IonSearchbar = IonSearchbar_1 = class IonSearchbar extends ValueAccessor {
2989
+ const SEARCHBAR_METHODS = ['setFocus', 'getInputElement'];
2990
+ class IonSearchbar extends ValueAccessor {
2977
2991
  constructor(c, r, z, injector) {
2978
2992
  super(injector, r);
2979
2993
  this.z = z;
2994
+ defineCustomElement$1e();
2980
2995
  c.detach();
2981
2996
  this.el = r.nativeElement;
2982
2997
  proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
2983
2998
  }
2999
+ ngOnInit() {
3000
+ /**
3001
+ * Data-bound input properties are set
3002
+ * by Angular after the constructor, so
3003
+ * we need to run the proxy in ngOnInit.
3004
+ */
3005
+ proxyInputs(IonSearchbar, SEARCHBAR_INPUTS);
3006
+ proxyMethods(IonSearchbar, SEARCHBAR_METHODS);
3007
+ }
2984
3008
  handleIonInput(el) {
2985
3009
  this.handleValueChange(el, el.value);
2986
3010
  }
2987
- };
3011
+ }
2988
3012
  /** @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 });
2989
3013
  /** @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: [
2990
3014
  {
2991
3015
  provide: NG_VALUE_ACCESSOR,
2992
- useExisting: IonSearchbar_1,
3016
+ useExisting: IonSearchbar,
2993
3017
  multi: true,
2994
3018
  },
2995
3019
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2996
- IonSearchbar = IonSearchbar_1 = __decorate([
2997
- ProxyCmp({
2998
- defineCustomElementFn: defineCustomElement$1e,
2999
- inputs: SEARCHBAR_INPUTS,
3000
- methods: ['setFocus', 'getInputElement'],
3001
- })
3002
- ], IonSearchbar);
3003
3020
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSearchbar, decorators: [{
3004
3021
  type: Component,
3005
3022
  args: [{
@@ -3022,34 +3039,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
3022
3039
  args: ['ionInput', ['$event.target']]
3023
3040
  }] } });
3024
3041
 
3025
- var IonSegment_1;
3026
3042
  const SEGMENT_INPUTS = ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value'];
3027
- let IonSegment = IonSegment_1 = class IonSegment extends ValueAccessor {
3043
+ class IonSegment extends ValueAccessor {
3028
3044
  constructor(c, r, z, injector) {
3029
3045
  super(injector, r);
3030
3046
  this.z = z;
3047
+ defineCustomElement$1f();
3031
3048
  c.detach();
3032
3049
  this.el = r.nativeElement;
3033
3050
  proxyOutputs(this, this.el, ['ionChange']);
3034
3051
  }
3052
+ ngOnInit() {
3053
+ /**
3054
+ * Data-bound input properties are set
3055
+ * by Angular after the constructor, so
3056
+ * we need to run the proxy in ngOnInit.
3057
+ */
3058
+ proxyInputs(IonSegment, SEGMENT_INPUTS);
3059
+ }
3035
3060
  handleIonChange(el) {
3036
3061
  this.handleValueChange(el, el.value);
3037
3062
  }
3038
- };
3063
+ }
3039
3064
  /** @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 });
3040
3065
  /** @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: [
3041
3066
  {
3042
3067
  provide: NG_VALUE_ACCESSOR,
3043
- useExisting: IonSegment_1,
3068
+ useExisting: IonSegment,
3044
3069
  multi: true,
3045
3070
  },
3046
3071
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3047
- IonSegment = IonSegment_1 = __decorate([
3048
- ProxyCmp({
3049
- defineCustomElementFn: defineCustomElement$1f,
3050
- inputs: SEGMENT_INPUTS,
3051
- })
3052
- ], IonSegment);
3053
3072
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSegment, decorators: [{
3054
3073
  type: Component,
3055
3074
  args: [{
@@ -3072,7 +3091,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
3072
3091
  args: ['ionChange', ['$event.target']]
3073
3092
  }] } });
3074
3093
 
3075
- var IonSelect_1;
3076
3094
  const SELECT_INPUTS = [
3077
3095
  'cancelText',
3078
3096
  'color',
@@ -3096,33 +3114,37 @@ const SELECT_INPUTS = [
3096
3114
  'toggleIcon',
3097
3115
  'value',
3098
3116
  ];
3099
- let IonSelect = IonSelect_1 = class IonSelect extends ValueAccessor {
3117
+ const SELECT_METHODS = ['open'];
3118
+ class IonSelect extends ValueAccessor {
3100
3119
  constructor(c, r, z, injector) {
3101
3120
  super(injector, r);
3102
3121
  this.z = z;
3122
+ defineCustomElement$1g();
3103
3123
  c.detach();
3104
3124
  this.el = r.nativeElement;
3105
3125
  proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
3106
3126
  }
3127
+ ngOnInit() {
3128
+ /**
3129
+ * Data-bound input properties are set
3130
+ * by Angular after the constructor, so
3131
+ * we need to run the proxy in ngOnInit.
3132
+ */
3133
+ proxyInputs(IonSelect, SELECT_INPUTS);
3134
+ proxyMethods(IonSelect, SELECT_METHODS);
3135
+ }
3107
3136
  handleIonChange(el) {
3108
3137
  this.handleValueChange(el, el.value);
3109
3138
  }
3110
- };
3139
+ }
3111
3140
  /** @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 });
3112
3141
  /** @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: [
3113
3142
  {
3114
3143
  provide: NG_VALUE_ACCESSOR,
3115
- useExisting: IonSelect_1,
3144
+ useExisting: IonSelect,
3116
3145
  multi: true,
3117
3146
  },
3118
3147
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3119
- IonSelect = IonSelect_1 = __decorate([
3120
- ProxyCmp({
3121
- defineCustomElementFn: defineCustomElement$1g,
3122
- inputs: SELECT_INPUTS,
3123
- methods: ['open'],
3124
- })
3125
- ], IonSelect);
3126
3148
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSelect, decorators: [{
3127
3149
  type: Component,
3128
3150
  args: [{
@@ -3145,7 +3167,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
3145
3167
  args: ['ionChange', ['$event.target']]
3146
3168
  }] } });
3147
3169
 
3148
- var IonTextarea_1;
3149
3170
  const TEXTAREA_INPUTS = [
3150
3171
  'autoGrow',
3151
3172
  'autocapitalize',
@@ -3178,33 +3199,37 @@ const TEXTAREA_INPUTS = [
3178
3199
  'value',
3179
3200
  'wrap',
3180
3201
  ];
3181
- let IonTextarea = IonTextarea_1 = class IonTextarea extends ValueAccessor {
3202
+ const TEXTAREA_METHODS = ['setFocus', 'getInputElement'];
3203
+ class IonTextarea extends ValueAccessor {
3182
3204
  constructor(c, r, z, injector) {
3183
3205
  super(injector, r);
3184
3206
  this.z = z;
3207
+ defineCustomElement$1h();
3185
3208
  c.detach();
3186
3209
  this.el = r.nativeElement;
3187
3210
  proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);
3188
3211
  }
3212
+ ngOnInit() {
3213
+ /**
3214
+ * Data-bound input properties are set
3215
+ * by Angular after the constructor, so
3216
+ * we need to run the proxy in ngOnInit.
3217
+ */
3218
+ proxyInputs(IonTextarea, TEXTAREA_INPUTS);
3219
+ proxyMethods(IonTextarea, TEXTAREA_METHODS);
3220
+ }
3189
3221
  handleIonInput(el) {
3190
3222
  this.handleValueChange(el, el.value);
3191
3223
  }
3192
- };
3224
+ }
3193
3225
  /** @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 });
3194
3226
  /** @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: [
3195
3227
  {
3196
3228
  provide: NG_VALUE_ACCESSOR,
3197
- useExisting: IonTextarea_1,
3229
+ useExisting: IonTextarea,
3198
3230
  multi: true,
3199
3231
  },
3200
3232
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3201
- IonTextarea = IonTextarea_1 = __decorate([
3202
- ProxyCmp({
3203
- defineCustomElementFn: defineCustomElement$1h,
3204
- inputs: TEXTAREA_INPUTS,
3205
- methods: ['setFocus', 'getInputElement'],
3206
- })
3207
- ], IonTextarea);
3208
3233
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTextarea, decorators: [{
3209
3234
  type: Component,
3210
3235
  args: [{
@@ -3227,7 +3252,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
3227
3252
  args: ['ionInput', ['$event.target']]
3228
3253
  }] } });
3229
3254
 
3230
- var IonToggle_1;
3231
3255
  const TOGGLE_INPUTS = [
3232
3256
  'checked',
3233
3257
  'color',
@@ -3240,14 +3264,23 @@ const TOGGLE_INPUTS = [
3240
3264
  'name',
3241
3265
  'value',
3242
3266
  ];
3243
- let IonToggle = IonToggle_1 = class IonToggle extends ValueAccessor {
3267
+ class IonToggle extends ValueAccessor {
3244
3268
  constructor(c, r, z, injector) {
3245
3269
  super(injector, r);
3246
3270
  this.z = z;
3271
+ defineCustomElement$1i();
3247
3272
  c.detach();
3248
3273
  this.el = r.nativeElement;
3249
3274
  proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
3250
3275
  }
3276
+ ngOnInit() {
3277
+ /**
3278
+ * Data-bound input properties are set
3279
+ * by Angular after the constructor, so
3280
+ * we need to run the proxy in ngOnInit.
3281
+ */
3282
+ proxyInputs(IonToggle, TOGGLE_INPUTS);
3283
+ }
3251
3284
  writeValue(value) {
3252
3285
  this.elementRef.nativeElement.checked = this.lastValue = value;
3253
3286
  setIonicClasses(this.elementRef);
@@ -3255,21 +3288,15 @@ let IonToggle = IonToggle_1 = class IonToggle extends ValueAccessor {
3255
3288
  handleIonChange(el) {
3256
3289
  this.handleValueChange(el, el.checked);
3257
3290
  }
3258
- };
3291
+ }
3259
3292
  /** @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 });
3260
3293
  /** @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: [
3261
3294
  {
3262
3295
  provide: NG_VALUE_ACCESSOR,
3263
- useExisting: IonToggle_1,
3296
+ useExisting: IonToggle,
3264
3297
  multi: true,
3265
3298
  },
3266
3299
  ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
3267
- IonToggle = IonToggle_1 = __decorate([
3268
- ProxyCmp({
3269
- defineCustomElementFn: defineCustomElement$1i,
3270
- inputs: TOGGLE_INPUTS,
3271
- })
3272
- ], IonToggle);
3273
3300
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonToggle, decorators: [{
3274
3301
  type: Component,
3275
3302
  args: [{