@ionic/angular 7.6.2-dev.11706202387.1dfcd9b8 → 7.6.2-dev.11706205501.196a5433

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.
Files changed (29) hide show
  1. package/common/directives/navigation/nav.d.ts +2 -2
  2. package/common/providers/angular-delegate.d.ts +5 -4
  3. package/directives/navigation/ion-nav.d.ts +2 -2
  4. package/esm2020/common/directives/navigation/nav.mjs +5 -5
  5. package/esm2020/common/providers/angular-delegate.mjs +35 -23
  6. package/esm2020/directives/navigation/ion-nav.mjs +5 -5
  7. package/esm2020/providers/modal-controller.mjs +4 -3
  8. package/esm2020/providers/popover-controller.mjs +4 -3
  9. package/esm2020/standalone/navigation/nav.mjs +5 -5
  10. package/esm2020/standalone/providers/modal-controller.mjs +4 -3
  11. package/esm2020/standalone/providers/popover-controller.mjs +4 -3
  12. package/fesm2015/ionic-angular-common.mjs +38 -26
  13. package/fesm2015/ionic-angular-common.mjs.map +1 -1
  14. package/fesm2015/ionic-angular-standalone.mjs +9 -7
  15. package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
  16. package/fesm2015/ionic-angular.mjs +9 -7
  17. package/fesm2015/ionic-angular.mjs.map +1 -1
  18. package/fesm2020/ionic-angular-common.mjs +38 -26
  19. package/fesm2020/ionic-angular-common.mjs.map +1 -1
  20. package/fesm2020/ionic-angular-standalone.mjs +9 -7
  21. package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
  22. package/fesm2020/ionic-angular.mjs +9 -7
  23. package/fesm2020/ionic-angular.mjs.map +1 -1
  24. package/package.json +2 -2
  25. package/providers/modal-controller.d.ts +1 -0
  26. package/providers/popover-controller.d.ts +1 -0
  27. package/standalone/navigation/nav.d.ts +2 -2
  28. package/standalone/providers/modal-controller.d.ts +1 -0
  29. package/standalone/providers/popover-controller.d.ts +1 -0
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { ViewContainerRef, Component, Attribute, Optional, SkipSelf, ViewChild, ChangeDetectionStrategy, Directive, ContentChild, ContentChildren, inject, EnvironmentInjector, Injectable, APP_INITIALIZER, forwardRef, HostListener } from '@angular/core';
3
+ import { ViewContainerRef, Component, Attribute, Optional, SkipSelf, ViewChild, ChangeDetectionStrategy, Directive, ContentChild, ContentChildren, inject, Injector, EnvironmentInjector, Injectable, APP_INITIALIZER, 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, OverlayBaseController, AngularDelegate, ConfigToken, provideComponentInputBinding, MenuController as MenuController$1, IonNav as IonNav$1, ValueAccessor, setIonicClasses } from '@ionic/angular/common';
6
6
  export { Config, DomController, IonicRouteStrategy, NavController, Platform } from '@ionic/angular/common';
@@ -2161,13 +2161,14 @@ class ModalController extends OverlayBaseController {
2161
2161
  constructor() {
2162
2162
  super(modalController);
2163
2163
  this.angularDelegate = inject(AngularDelegate);
2164
+ this.injector = inject(Injector);
2164
2165
  this.environmentInjector = inject(EnvironmentInjector);
2165
2166
  defineCustomElement$3();
2166
2167
  }
2167
2168
  create(opts) {
2168
2169
  return super.create({
2169
2170
  ...opts,
2170
- delegate: this.angularDelegate.create(this.environmentInjector, 'modal'),
2171
+ delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'modal'),
2171
2172
  });
2172
2173
  }
2173
2174
  }
@@ -2181,13 +2182,14 @@ class PopoverController extends OverlayBaseController {
2181
2182
  constructor() {
2182
2183
  super(popoverController);
2183
2184
  this.angularDelegate = inject(AngularDelegate);
2185
+ this.injector = inject(Injector);
2184
2186
  this.environmentInjector = inject(EnvironmentInjector);
2185
2187
  defineCustomElement$4();
2186
2188
  }
2187
2189
  create(opts) {
2188
2190
  return super.create({
2189
2191
  ...opts,
2190
- delegate: this.angularDelegate.create(this.environmentInjector, 'popover'),
2192
+ delegate: this.angularDelegate.create(this.environmentInjector, this.injector, 'popover'),
2191
2193
  });
2192
2194
  }
2193
2195
  }
@@ -2384,11 +2386,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2384
2386
  }], ctorParameters: function () { return []; } });
2385
2387
 
2386
2388
  let IonNav = class IonNav extends IonNav$1 {
2387
- constructor(ref, environmentInjector, angularDelegate, z, c) {
2388
- super(ref, environmentInjector, angularDelegate, z, c);
2389
+ constructor(ref, environmentInjector, injector, angularDelegate, z, c) {
2390
+ super(ref, environmentInjector, injector, angularDelegate, z, c);
2389
2391
  }
2390
2392
  };
2391
- /** @nocollapse */ IonNav.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token: i2$1.AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2393
+ /** @nocollapse */ IonNav.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonNav, deps: [{ token: i0.ElementRef }, { token: i0.EnvironmentInjector }, { token: i0.Injector }, { token: i2$1.AngularDelegate }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2392
2394
  /** @nocollapse */ IonNav.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonNav, isStandalone: true, selector: "ion-nav", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
2393
2395
  IonNav = __decorate([
2394
2396
  ProxyCmp$1({
@@ -2402,7 +2404,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
2402
2404
  template: '<ng-content></ng-content>',
2403
2405
  standalone: true,
2404
2406
  }]
2405
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i2$1.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
2407
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.EnvironmentInjector }, { type: i0.Injector }, { type: i2$1.AngularDelegate }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
2406
2408
 
2407
2409
  const CHECKBOX_INPUTS = [
2408
2410
  'checked',