@ionic/angular 8.1.1-dev.11714760012.1eab947e → 8.1.1-dev.11714761222.1820b7bf

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.
@@ -2,7 +2,7 @@ import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
3
  import { ViewContainerRef, Component, Attribute, Optional, SkipSelf, ViewChild, ChangeDetectionStrategy, Directive, ContentChild, ContentChildren, inject, Injector, EnvironmentInjector, Injectable, makeEnvironmentProviders, APP_INITIALIZER, forwardRef, HostListener } from '@angular/core';
4
4
  import * as i2$1 from '@ionic/angular/common';
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, OverlayBaseController, AngularDelegate, ConfigToken, provideComponentInputBinding, MenuController as MenuController$1, IonNav as IonNav$1, ValueAccessor, setIonicClasses } from '@ionic/angular/common';
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, OverlayBaseController, AngularDelegate, ConfigToken, provideComponentInputBinding, AngularDelegateWithSignalsSupport, MenuController as MenuController$1, IonNav as IonNav$1, ValueAccessor, setIonicClasses } from '@ionic/angular/common';
6
6
  export { Config, DomController, IonicRouteStrategy, NavController, NavParams, Platform } from '@ionic/angular/common';
7
7
  import { defineCustomElement as defineCustomElement$2 } from '@ionic/core/components/ion-back-button.js';
8
8
  import { defineCustomElement as defineCustomElement$1 } from '@ionic/core/components/ion-router-outlet.js';
@@ -2375,10 +2375,16 @@ class PopoverController extends OverlayBaseController {
2375
2375
  }
2376
2376
 
2377
2377
  const provideIonicAngular = (config) => {
2378
+ const { useSetInputAPI, ...rest } = config || {};
2379
+ /**
2380
+ * TODO FW-4967
2381
+ * Use makeEnvironmentProviders once Angular 14 support is dropped.
2382
+ * This prevents provideIonicAngular from being accidentally referenced in an @Component.
2383
+ */
2378
2384
  return makeEnvironmentProviders([
2379
2385
  {
2380
2386
  provide: ConfigToken,
2381
- useValue: config,
2387
+ useValue: rest,
2382
2388
  },
2383
2389
  {
2384
2390
  provide: APP_INITIALIZER,
@@ -2387,7 +2393,7 @@ const provideIonicAngular = (config) => {
2387
2393
  deps: [ConfigToken, DOCUMENT],
2388
2394
  },
2389
2395
  provideComponentInputBinding(),
2390
- AngularDelegate,
2396
+ useSetInputAPI ? AngularDelegateWithSignalsSupport : AngularDelegate,
2391
2397
  ModalController,
2392
2398
  PopoverController,
2393
2399
  ]);