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