@ionic/angular 7.5.3-dev.11698687076.1aaa7af2 → 7.5.3-dev.11698693746.12de705e

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.
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { Directive, Attribute, Optional, SkipSelf, Component, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, APP_INITIALIZER, Injectable, HostListener } from '@angular/core';
3
+ import { Directive, Attribute, Optional, SkipSelf, Component, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, APP_INITIALIZER, Injectable, forwardRef, HostListener } from '@angular/core';
4
4
  import * as i2$1 from '@ionic/angular/common';
5
5
  import { IonRouterOutlet as IonRouterOutlet$1, ProxyCmp as ProxyCmp$1, IonBackButton as IonBackButton$1, IonModal as IonModal$1, IonPopover as IonPopover$1, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, IonTabs as IonTabs$1, ConfigToken, provideComponentInputBinding, AngularDelegate, ModalController, PopoverController, MenuController as MenuController$1, IonNav as IonNav$1, ValueAccessor, setIonicClasses } from '@ionic/angular/common';
6
6
  export { ActionSheetController, AlertController, AnimationController, Config, DomController, GestureController, IonicRouteStrategy, LoadingController, ModalController, NavController, NavParams, PickerController, Platform, PopoverController, ToastController } from '@ionic/angular/common';
@@ -2119,19 +2119,17 @@ const CHECKBOX_INPUTS = [
2119
2119
  'name',
2120
2120
  'value',
2121
2121
  ];
2122
- class IonCheckbox extends ValueAccessor {
2122
+ const accessorProvider$a = {
2123
+ provide: NG_VALUE_ACCESSOR,
2124
+ useExisting: forwardRef(() => IonCheckbox),
2125
+ multi: true,
2126
+ };
2127
+ let IonCheckbox = class IonCheckbox extends ValueAccessor {
2123
2128
  constructor(c, r, z, injector) {
2124
2129
  super(injector, r);
2125
2130
  this.z = z;
2126
- defineCustomElement$17();
2127
2131
  c.detach();
2128
2132
  this.el = r.nativeElement;
2129
- /**
2130
- * Data-bound input properties are set
2131
- * by Angular after the constructor, so
2132
- * we need to run the proxy before ngOnInit.
2133
- */
2134
- proxyInputs(IonCheckbox, CHECKBOX_INPUTS);
2135
2133
  proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
2136
2134
  }
2137
2135
  writeValue(value) {
@@ -2141,15 +2139,15 @@ class IonCheckbox extends ValueAccessor {
2141
2139
  handleIonChange(el) {
2142
2140
  this.handleValueChange(el, el.checked);
2143
2141
  }
2144
- }
2142
+ };
2145
2143
  /** @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 });
2146
- /** @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: [
2147
- {
2148
- provide: NG_VALUE_ACCESSOR,
2149
- useExisting: IonCheckbox,
2150
- multi: true,
2151
- },
2152
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2144
+ /** @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: [accessorProvider$a], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2145
+ IonCheckbox = __decorate([
2146
+ ProxyCmp({
2147
+ defineCustomElementFn: defineCustomElement$17,
2148
+ inputs: CHECKBOX_INPUTS,
2149
+ })
2150
+ ], IonCheckbox);
2153
2151
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonCheckbox, decorators: [{
2154
2152
  type: Component,
2155
2153
  args: [{
@@ -2158,13 +2156,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2158
2156
  template: '<ng-content></ng-content>',
2159
2157
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2160
2158
  inputs: CHECKBOX_INPUTS,
2161
- providers: [
2162
- {
2163
- provide: NG_VALUE_ACCESSOR,
2164
- useExisting: IonCheckbox,
2165
- multi: true,
2166
- },
2167
- ],
2159
+ providers: [accessorProvider$a],
2168
2160
  standalone: true,
2169
2161
  }]
2170
2162
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonChange: [{
@@ -2204,35 +2196,32 @@ const DATETIME_INPUTS = [
2204
2196
  'value',
2205
2197
  'yearValues',
2206
2198
  ];
2207
- const DATETIME_METHODS = ['confirm', 'reset', 'cancel'];
2208
- class IonDatetime extends ValueAccessor {
2199
+ const accessorProvider$9 = {
2200
+ provide: NG_VALUE_ACCESSOR,
2201
+ useExisting: forwardRef(() => IonDatetime),
2202
+ multi: true,
2203
+ };
2204
+ let IonDatetime = class IonDatetime extends ValueAccessor {
2209
2205
  constructor(c, r, z, injector) {
2210
2206
  super(injector, r);
2211
2207
  this.z = z;
2212
- defineCustomElement$18();
2213
2208
  c.detach();
2214
2209
  this.el = r.nativeElement;
2215
- /**
2216
- * Data-bound input properties are set
2217
- * by Angular after the constructor, so
2218
- * we need to run the proxy before ngOnInit.
2219
- */
2220
- proxyInputs(IonDatetime, DATETIME_INPUTS);
2221
- proxyMethods(IonDatetime, DATETIME_METHODS);
2222
2210
  proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);
2223
2211
  }
2224
2212
  handleIonChange(el) {
2225
2213
  this.handleValueChange(el, el.value);
2226
2214
  }
2227
- }
2215
+ };
2228
2216
  /** @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 });
2229
- /** @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: [
2230
- {
2231
- provide: NG_VALUE_ACCESSOR,
2232
- useExisting: IonDatetime,
2233
- multi: true,
2234
- },
2235
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2217
+ /** @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: [accessorProvider$9], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2218
+ IonDatetime = __decorate([
2219
+ ProxyCmp({
2220
+ defineCustomElementFn: defineCustomElement$18,
2221
+ inputs: DATETIME_INPUTS,
2222
+ methods: ['confirm', 'reset', 'cancel'],
2223
+ })
2224
+ ], IonDatetime);
2236
2225
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonDatetime, decorators: [{
2237
2226
  type: Component,
2238
2227
  args: [{
@@ -2241,13 +2230,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2241
2230
  template: '<ng-content></ng-content>',
2242
2231
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2243
2232
  inputs: DATETIME_INPUTS,
2244
- providers: [
2245
- {
2246
- provide: NG_VALUE_ACCESSOR,
2247
- useExisting: IonDatetime,
2248
- multi: true,
2249
- },
2250
- ],
2233
+ providers: [accessorProvider$9],
2251
2234
  standalone: true,
2252
2235
  }]
2253
2236
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonChange: [{
@@ -2321,21 +2304,17 @@ const INPUT_INPUTS = [
2321
2304
  'type',
2322
2305
  'value',
2323
2306
  ];
2324
- const INPUT_METHODS = ['setFocus', 'getInputElement'];
2325
- class IonInput extends ValueAccessor {
2307
+ const accessorProvider$8 = {
2308
+ provide: NG_VALUE_ACCESSOR,
2309
+ useExisting: forwardRef(() => IonInput),
2310
+ multi: true,
2311
+ };
2312
+ let IonInput = class IonInput extends ValueAccessor {
2326
2313
  constructor(c, r, z, injector) {
2327
2314
  super(injector, r);
2328
2315
  this.z = z;
2329
- defineCustomElement$1a();
2330
2316
  c.detach();
2331
2317
  this.el = r.nativeElement;
2332
- /**
2333
- * Data-bound input properties are set
2334
- * by Angular after the constructor, so
2335
- * we need to run the proxy before ngOnInit.
2336
- */
2337
- proxyInputs(IonInput, INPUT_INPUTS);
2338
- proxyMethods(IonInput, INPUT_METHODS);
2339
2318
  proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);
2340
2319
  }
2341
2320
  handleIonInput(el) {
@@ -2356,15 +2335,16 @@ class IonInput extends ValueAccessor {
2356
2335
  }
2357
2336
  });
2358
2337
  }
2359
- }
2338
+ };
2360
2339
  /** @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 });
2361
- /** @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: [
2362
- {
2363
- provide: NG_VALUE_ACCESSOR,
2364
- useExisting: IonInput,
2365
- multi: true,
2366
- },
2367
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2340
+ /** @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: [accessorProvider$8], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2341
+ IonInput = __decorate([
2342
+ ProxyCmp({
2343
+ defineCustomElementFn: defineCustomElement$1a,
2344
+ inputs: INPUT_INPUTS,
2345
+ methods: ['setFocus', 'getInputElement'],
2346
+ })
2347
+ ], IonInput);
2368
2348
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonInput, decorators: [{
2369
2349
  type: Component,
2370
2350
  args: [{
@@ -2373,13 +2353,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2373
2353
  template: '<ng-content></ng-content>',
2374
2354
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2375
2355
  inputs: INPUT_INPUTS,
2376
- providers: [
2377
- {
2378
- provide: NG_VALUE_ACCESSOR,
2379
- useExisting: IonInput,
2380
- multi: true,
2381
- },
2382
- ],
2356
+ providers: [accessorProvider$8],
2383
2357
  standalone: true,
2384
2358
  }]
2385
2359
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonInput: [{
@@ -2388,33 +2362,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2388
2362
  }] } });
2389
2363
 
2390
2364
  const RADIO_GROUP_INPUTS = ['allowEmptySelection', 'name', 'value'];
2391
- class IonRadioGroup extends ValueAccessor {
2365
+ const accessorProvider$7 = {
2366
+ provide: NG_VALUE_ACCESSOR,
2367
+ useExisting: forwardRef(() => IonRadioGroup),
2368
+ multi: true,
2369
+ };
2370
+ let IonRadioGroup = class IonRadioGroup extends ValueAccessor {
2392
2371
  constructor(c, r, z, injector) {
2393
2372
  super(injector, r);
2394
2373
  this.z = z;
2395
- defineCustomElement$1b();
2396
2374
  c.detach();
2397
2375
  this.el = r.nativeElement;
2398
- /**
2399
- * Data-bound input properties are set
2400
- * by Angular after the constructor, so
2401
- * we need to run the proxy before ngOnInit.
2402
- */
2403
- proxyInputs(IonRadioGroup, RADIO_GROUP_INPUTS);
2404
2376
  proxyOutputs(this, this.el, ['ionChange']);
2405
2377
  }
2406
2378
  handleIonChange(el) {
2407
2379
  this.handleValueChange(el, el.value);
2408
2380
  }
2409
- }
2381
+ };
2410
2382
  /** @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 });
2411
- /** @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: [
2412
- {
2413
- provide: NG_VALUE_ACCESSOR,
2414
- useExisting: IonRadioGroup,
2415
- multi: true,
2416
- },
2417
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2383
+ /** @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: [accessorProvider$7], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2384
+ IonRadioGroup = __decorate([
2385
+ ProxyCmp({
2386
+ defineCustomElementFn: defineCustomElement$1b,
2387
+ inputs: RADIO_GROUP_INPUTS,
2388
+ })
2389
+ ], IonRadioGroup);
2418
2390
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadioGroup, decorators: [{
2419
2391
  type: Component,
2420
2392
  args: [{
@@ -2423,13 +2395,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2423
2395
  template: '<ng-content></ng-content>',
2424
2396
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2425
2397
  inputs: RADIO_GROUP_INPUTS,
2426
- providers: [
2427
- {
2428
- provide: NG_VALUE_ACCESSOR,
2429
- useExisting: IonRadioGroup,
2430
- multi: true,
2431
- },
2432
- ],
2398
+ providers: [accessorProvider$7],
2433
2399
  standalone: true,
2434
2400
  }]
2435
2401
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonChange: [{
@@ -2438,19 +2404,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2438
2404
  }] } });
2439
2405
 
2440
2406
  const RADIO_INPUTS = ['color', 'disabled', 'justify', 'labelPlacement', 'legacy', 'mode', 'name', 'value'];
2441
- class IonRadio extends ValueAccessor {
2407
+ const accessorProvider$6 = {
2408
+ provide: NG_VALUE_ACCESSOR,
2409
+ useExisting: forwardRef(() => IonRadio),
2410
+ multi: true,
2411
+ };
2412
+ let IonRadio = class IonRadio extends ValueAccessor {
2442
2413
  constructor(c, r, z, injector) {
2443
2414
  super(injector, r);
2444
2415
  this.z = z;
2445
- defineCustomElement$1c();
2446
2416
  c.detach();
2447
2417
  this.el = r.nativeElement;
2448
- /**
2449
- * Data-bound input properties are set
2450
- * by Angular after the constructor, so
2451
- * we need to run the proxy before ngOnInit.
2452
- */
2453
- proxyInputs(IonRadio, RADIO_INPUTS);
2454
2418
  proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
2455
2419
  }
2456
2420
  handleIonSelect(el) {
@@ -2460,15 +2424,15 @@ class IonRadio extends ValueAccessor {
2460
2424
  */
2461
2425
  this.handleValueChange(el, el.checked);
2462
2426
  }
2463
- }
2427
+ };
2464
2428
  /** @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 });
2465
- /** @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: [
2466
- {
2467
- provide: NG_VALUE_ACCESSOR,
2468
- useExisting: IonRadio,
2469
- multi: true,
2470
- },
2471
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2429
+ /** @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: [accessorProvider$6], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2430
+ IonRadio = __decorate([
2431
+ ProxyCmp({
2432
+ defineCustomElementFn: defineCustomElement$1c,
2433
+ inputs: RADIO_INPUTS,
2434
+ })
2435
+ ], IonRadio);
2472
2436
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadio, decorators: [{
2473
2437
  type: Component,
2474
2438
  args: [{
@@ -2477,13 +2441,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2477
2441
  template: '<ng-content></ng-content>',
2478
2442
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2479
2443
  inputs: RADIO_INPUTS,
2480
- providers: [
2481
- {
2482
- provide: NG_VALUE_ACCESSOR,
2483
- useExisting: IonRadio,
2484
- multi: true,
2485
- },
2486
- ],
2444
+ providers: [accessorProvider$6],
2487
2445
  standalone: true,
2488
2446
  }]
2489
2447
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonSelect: [{
@@ -2511,33 +2469,31 @@ const RANGE_INPUTS = [
2511
2469
  'ticks',
2512
2470
  'value',
2513
2471
  ];
2514
- class IonRange extends ValueAccessor {
2472
+ const accessorProvider$5 = {
2473
+ provide: NG_VALUE_ACCESSOR,
2474
+ useExisting: forwardRef(() => IonRange),
2475
+ multi: true,
2476
+ };
2477
+ let IonRange = class IonRange extends ValueAccessor {
2515
2478
  constructor(c, r, z, injector) {
2516
2479
  super(injector, r);
2517
2480
  this.z = z;
2518
- defineCustomElement$1d();
2519
2481
  c.detach();
2520
2482
  this.el = r.nativeElement;
2521
- /**
2522
- * Data-bound input properties are set
2523
- * by Angular after the constructor, so
2524
- * we need to run the proxy before ngOnInit.
2525
- */
2526
- proxyInputs(IonRange, RANGE_INPUTS);
2527
2483
  proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
2528
2484
  }
2529
2485
  handleIonChange(el) {
2530
2486
  this.handleValueChange(el, el.value);
2531
2487
  }
2532
- }
2488
+ };
2533
2489
  /** @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 });
2534
- /** @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: [
2535
- {
2536
- provide: NG_VALUE_ACCESSOR,
2537
- useExisting: IonRange,
2538
- multi: true,
2539
- },
2540
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2490
+ /** @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: [accessorProvider$5], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2491
+ IonRange = __decorate([
2492
+ ProxyCmp({
2493
+ defineCustomElementFn: defineCustomElement$1d,
2494
+ inputs: RANGE_INPUTS,
2495
+ })
2496
+ ], IonRange);
2541
2497
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRange, decorators: [{
2542
2498
  type: Component,
2543
2499
  args: [{
@@ -2546,13 +2502,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2546
2502
  template: '<ng-content></ng-content>',
2547
2503
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2548
2504
  inputs: RANGE_INPUTS,
2549
- providers: [
2550
- {
2551
- provide: NG_VALUE_ACCESSOR,
2552
- useExisting: IonRange,
2553
- multi: true,
2554
- },
2555
- ],
2505
+ providers: [accessorProvider$5],
2556
2506
  standalone: true,
2557
2507
  }]
2558
2508
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonChange: [{
@@ -2582,35 +2532,32 @@ const SEARCHBAR_INPUTS = [
2582
2532
  'type',
2583
2533
  'value',
2584
2534
  ];
2585
- const SEARCHBAR_METHODS = ['setFocus', 'getInputElement'];
2586
- class IonSearchbar extends ValueAccessor {
2535
+ const accessorProvider$4 = {
2536
+ provide: NG_VALUE_ACCESSOR,
2537
+ useExisting: forwardRef(() => IonSearchbar),
2538
+ multi: true,
2539
+ };
2540
+ let IonSearchbar = class IonSearchbar extends ValueAccessor {
2587
2541
  constructor(c, r, z, injector) {
2588
2542
  super(injector, r);
2589
2543
  this.z = z;
2590
- defineCustomElement$1e();
2591
2544
  c.detach();
2592
2545
  this.el = r.nativeElement;
2593
- /**
2594
- * Data-bound input properties are set
2595
- * by Angular after the constructor, so
2596
- * we need to run the proxy before ngOnInit.
2597
- */
2598
- proxyInputs(IonSearchbar, SEARCHBAR_INPUTS);
2599
- proxyMethods(IonSearchbar, SEARCHBAR_METHODS);
2600
2546
  proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
2601
2547
  }
2602
2548
  handleIonInput(el) {
2603
2549
  this.handleValueChange(el, el.value);
2604
2550
  }
2605
- }
2551
+ };
2606
2552
  /** @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 });
2607
- /** @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: [
2608
- {
2609
- provide: NG_VALUE_ACCESSOR,
2610
- useExisting: IonSearchbar,
2611
- multi: true,
2612
- },
2613
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2553
+ /** @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: [accessorProvider$4], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2554
+ IonSearchbar = __decorate([
2555
+ ProxyCmp({
2556
+ defineCustomElementFn: defineCustomElement$1e,
2557
+ inputs: SEARCHBAR_INPUTS,
2558
+ methods: ['setFocus', 'getInputElement'],
2559
+ })
2560
+ ], IonSearchbar);
2614
2561
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSearchbar, decorators: [{
2615
2562
  type: Component,
2616
2563
  args: [{
@@ -2619,13 +2566,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2619
2566
  template: '<ng-content></ng-content>',
2620
2567
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2621
2568
  inputs: SEARCHBAR_INPUTS,
2622
- providers: [
2623
- {
2624
- provide: NG_VALUE_ACCESSOR,
2625
- useExisting: IonSearchbar,
2626
- multi: true,
2627
- },
2628
- ],
2569
+ providers: [accessorProvider$4],
2629
2570
  standalone: true,
2630
2571
  }]
2631
2572
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonInput: [{
@@ -2634,33 +2575,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2634
2575
  }] } });
2635
2576
 
2636
2577
  const SEGMENT_INPUTS = ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value'];
2637
- class IonSegment extends ValueAccessor {
2578
+ const accessorProvider$3 = {
2579
+ provide: NG_VALUE_ACCESSOR,
2580
+ useExisting: forwardRef(() => IonSegment),
2581
+ multi: true,
2582
+ };
2583
+ let IonSegment = class IonSegment extends ValueAccessor {
2638
2584
  constructor(c, r, z, injector) {
2639
2585
  super(injector, r);
2640
2586
  this.z = z;
2641
- defineCustomElement$1f();
2642
2587
  c.detach();
2643
2588
  this.el = r.nativeElement;
2644
- /**
2645
- * Data-bound input properties are set
2646
- * by Angular after the constructor, so
2647
- * we need to run the proxy before ngOnInit.
2648
- */
2649
- proxyInputs(IonSegment, SEGMENT_INPUTS);
2650
2589
  proxyOutputs(this, this.el, ['ionChange']);
2651
2590
  }
2652
2591
  handleIonChange(el) {
2653
2592
  this.handleValueChange(el, el.value);
2654
2593
  }
2655
- }
2594
+ };
2656
2595
  /** @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 });
2657
- /** @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: [
2658
- {
2659
- provide: NG_VALUE_ACCESSOR,
2660
- useExisting: IonSegment,
2661
- multi: true,
2662
- },
2663
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2596
+ /** @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: [accessorProvider$3], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2597
+ IonSegment = __decorate([
2598
+ ProxyCmp({
2599
+ defineCustomElementFn: defineCustomElement$1f,
2600
+ inputs: SEGMENT_INPUTS,
2601
+ })
2602
+ ], IonSegment);
2664
2603
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSegment, decorators: [{
2665
2604
  type: Component,
2666
2605
  args: [{
@@ -2669,13 +2608,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2669
2608
  template: '<ng-content></ng-content>',
2670
2609
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2671
2610
  inputs: SEGMENT_INPUTS,
2672
- providers: [
2673
- {
2674
- provide: NG_VALUE_ACCESSOR,
2675
- useExisting: IonSegment,
2676
- multi: true,
2677
- },
2678
- ],
2611
+ providers: [accessorProvider$3],
2679
2612
  standalone: true,
2680
2613
  }]
2681
2614
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonChange: [{
@@ -2706,35 +2639,32 @@ const SELECT_INPUTS = [
2706
2639
  'toggleIcon',
2707
2640
  'value',
2708
2641
  ];
2709
- const SELECT_METHODS = ['open'];
2710
- class IonSelect extends ValueAccessor {
2642
+ const accessorProvider$2 = {
2643
+ provide: NG_VALUE_ACCESSOR,
2644
+ useExisting: forwardRef(() => IonSelect),
2645
+ multi: true,
2646
+ };
2647
+ let IonSelect = class IonSelect extends ValueAccessor {
2711
2648
  constructor(c, r, z, injector) {
2712
2649
  super(injector, r);
2713
2650
  this.z = z;
2714
- defineCustomElement$1g();
2715
2651
  c.detach();
2716
2652
  this.el = r.nativeElement;
2717
- /**
2718
- * Data-bound input properties are set
2719
- * by Angular after the constructor, so
2720
- * we need to run the proxy before ngOnInit.
2721
- */
2722
- proxyInputs(IonSelect, SELECT_INPUTS);
2723
- proxyMethods(IonSelect, SELECT_METHODS);
2724
2653
  proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
2725
2654
  }
2726
2655
  handleIonChange(el) {
2727
2656
  this.handleValueChange(el, el.value);
2728
2657
  }
2729
- }
2658
+ };
2730
2659
  /** @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 });
2731
- /** @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: [
2732
- {
2733
- provide: NG_VALUE_ACCESSOR,
2734
- useExisting: IonSelect,
2735
- multi: true,
2736
- },
2737
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2660
+ /** @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: [accessorProvider$2], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2661
+ IonSelect = __decorate([
2662
+ ProxyCmp({
2663
+ defineCustomElementFn: defineCustomElement$1g,
2664
+ inputs: SELECT_INPUTS,
2665
+ methods: ['open'],
2666
+ })
2667
+ ], IonSelect);
2738
2668
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonSelect, decorators: [{
2739
2669
  type: Component,
2740
2670
  args: [{
@@ -2743,13 +2673,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2743
2673
  template: '<ng-content></ng-content>',
2744
2674
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2745
2675
  inputs: SELECT_INPUTS,
2746
- providers: [
2747
- {
2748
- provide: NG_VALUE_ACCESSOR,
2749
- useExisting: IonSelect,
2750
- multi: true,
2751
- },
2752
- ],
2676
+ providers: [accessorProvider$2],
2753
2677
  standalone: true,
2754
2678
  }]
2755
2679
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonChange: [{
@@ -2789,35 +2713,32 @@ const TEXTAREA_INPUTS = [
2789
2713
  'value',
2790
2714
  'wrap',
2791
2715
  ];
2792
- const TEXTAREA_METHODS = ['setFocus', 'getInputElement'];
2793
- class IonTextarea extends ValueAccessor {
2716
+ const accessorProvider$1 = {
2717
+ provide: NG_VALUE_ACCESSOR,
2718
+ useExisting: forwardRef(() => IonTextarea),
2719
+ multi: true,
2720
+ };
2721
+ let IonTextarea = class IonTextarea extends ValueAccessor {
2794
2722
  constructor(c, r, z, injector) {
2795
2723
  super(injector, r);
2796
2724
  this.z = z;
2797
- defineCustomElement$1h();
2798
2725
  c.detach();
2799
2726
  this.el = r.nativeElement;
2800
- /**
2801
- * Data-bound input properties are set
2802
- * by Angular after the constructor, so
2803
- * we need to run the proxy before ngOnInit.
2804
- */
2805
- proxyInputs(IonTextarea, TEXTAREA_INPUTS);
2806
- proxyMethods(IonTextarea, TEXTAREA_METHODS);
2807
2727
  proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);
2808
2728
  }
2809
2729
  handleIonInput(el) {
2810
2730
  this.handleValueChange(el, el.value);
2811
2731
  }
2812
- }
2732
+ };
2813
2733
  /** @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 });
2814
- /** @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: [
2815
- {
2816
- provide: NG_VALUE_ACCESSOR,
2817
- useExisting: IonTextarea,
2818
- multi: true,
2819
- },
2820
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2734
+ /** @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: [accessorProvider$1], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2735
+ IonTextarea = __decorate([
2736
+ ProxyCmp({
2737
+ defineCustomElementFn: defineCustomElement$1h,
2738
+ inputs: TEXTAREA_INPUTS,
2739
+ methods: ['setFocus', 'getInputElement'],
2740
+ })
2741
+ ], IonTextarea);
2821
2742
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTextarea, decorators: [{
2822
2743
  type: Component,
2823
2744
  args: [{
@@ -2826,13 +2747,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2826
2747
  template: '<ng-content></ng-content>',
2827
2748
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2828
2749
  inputs: TEXTAREA_INPUTS,
2829
- providers: [
2830
- {
2831
- provide: NG_VALUE_ACCESSOR,
2832
- useExisting: IonTextarea,
2833
- multi: true,
2834
- },
2835
- ],
2750
+ providers: [accessorProvider$1],
2836
2751
  standalone: true,
2837
2752
  }]
2838
2753
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonInput: [{
@@ -2852,19 +2767,17 @@ const TOGGLE_INPUTS = [
2852
2767
  'name',
2853
2768
  'value',
2854
2769
  ];
2855
- class IonToggle extends ValueAccessor {
2770
+ const accessorProvider = {
2771
+ provide: NG_VALUE_ACCESSOR,
2772
+ useExisting: forwardRef(() => IonToggle),
2773
+ multi: true,
2774
+ };
2775
+ let IonToggle = class IonToggle extends ValueAccessor {
2856
2776
  constructor(c, r, z, injector) {
2857
2777
  super(injector, r);
2858
2778
  this.z = z;
2859
- defineCustomElement$1i();
2860
2779
  c.detach();
2861
2780
  this.el = r.nativeElement;
2862
- /**
2863
- * Data-bound input properties are set
2864
- * by Angular after the constructor, so
2865
- * we need to run the proxy before ngOnInit.
2866
- */
2867
- proxyInputs(IonToggle, TOGGLE_INPUTS);
2868
2781
  proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
2869
2782
  }
2870
2783
  writeValue(value) {
@@ -2874,15 +2787,15 @@ class IonToggle extends ValueAccessor {
2874
2787
  handleIonChange(el) {
2875
2788
  this.handleValueChange(el, el.checked);
2876
2789
  }
2877
- }
2790
+ };
2878
2791
  /** @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 });
2879
- /** @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: [
2880
- {
2881
- provide: NG_VALUE_ACCESSOR,
2882
- useExisting: IonToggle,
2883
- multi: true,
2884
- },
2885
- ], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2792
+ /** @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: [accessorProvider], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2793
+ IonToggle = __decorate([
2794
+ ProxyCmp({
2795
+ defineCustomElementFn: defineCustomElement$1i,
2796
+ inputs: TOGGLE_INPUTS,
2797
+ })
2798
+ ], IonToggle);
2886
2799
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonToggle, decorators: [{
2887
2800
  type: Component,
2888
2801
  args: [{
@@ -2891,13 +2804,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2891
2804
  template: '<ng-content></ng-content>',
2892
2805
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
2893
2806
  inputs: TOGGLE_INPUTS,
2894
- providers: [
2895
- {
2896
- provide: NG_VALUE_ACCESSOR,
2897
- useExisting: IonToggle,
2898
- multi: true,
2899
- },
2900
- ],
2807
+ providers: [accessorProvider],
2901
2808
  standalone: true,
2902
2809
  }]
2903
2810
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonChange: [{