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