@ionic/angular 7.5.1-dev.11697480817.10fa2601 → 7.5.1-dev.11697488622.175c9183

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