@ionic/angular 8.1.1-dev.11714761222.1820b7bf → 8.1.1-dev.11715021973.16675b67
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.
- package/common/index.d.ts +1 -1
- package/common/providers/angular-delegate.d.ts +1 -7
- package/esm2022/common/index.mjs +2 -2
- package/esm2022/common/providers/angular-delegate.mjs +4 -14
- package/esm2022/ionic-module.mjs +5 -6
- package/esm2022/standalone/providers/ionic-angular.mjs +5 -11
- package/fesm2022/ionic-angular-common.mjs +3 -14
- package/fesm2022/ionic-angular-common.mjs.map +1 -1
- package/fesm2022/ionic-angular-standalone.mjs +4 -10
- package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2022/ionic-angular.mjs +4 -5
- package/fesm2022/ionic-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Directive, HostListener, Component, ChangeDetectionStrategy, ViewContainerRef, Attribute, Optional, SkipSelf, ViewChild, ContentChild, ContentChildren, forwardRef, Injectable, inject, Injector, EnvironmentInjector, APP_INITIALIZER, NgZone, NgModule } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, MaxValidator, MinValidator } from '@angular/forms';
|
|
4
4
|
import * as i2$1 from '@ionic/angular/common';
|
|
5
|
-
import { ValueAccessor, setIonicClasses, IonRouterOutlet as IonRouterOutlet$1, IonTabs as IonTabs$1, IonBackButton as IonBackButton$1, IonNav as IonNav$1, RouterLinkDelegateDirective as RouterLinkDelegateDirective$1, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegateDirective$1, IonModal as IonModal$1, IonPopover as IonPopover$1, OverlayBaseController, MenuController as MenuController$1, AngularDelegate, raf, ConfigToken,
|
|
5
|
+
import { ValueAccessor, setIonicClasses, IonRouterOutlet as IonRouterOutlet$1, IonTabs as IonTabs$1, IonBackButton as IonBackButton$1, IonNav as IonNav$1, RouterLinkDelegateDirective as RouterLinkDelegateDirective$1, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegateDirective$1, IonModal as IonModal$1, IonPopover as IonPopover$1, OverlayBaseController, MenuController as MenuController$1, AngularDelegate, raf, ConfigToken, provideComponentInputBinding } from '@ionic/angular/common';
|
|
6
6
|
export { AngularDelegate, Config, DomController, IonicRouteStrategy, NavController, NavParams, Platform } from '@ionic/angular/common';
|
|
7
7
|
import { __decorate } from 'tslib';
|
|
8
8
|
import { fromEvent } from 'rxjs';
|
|
@@ -2919,14 +2919,13 @@ const DECLARATIONS = [
|
|
|
2919
2919
|
IonMaxValidator,
|
|
2920
2920
|
];
|
|
2921
2921
|
class IonicModule {
|
|
2922
|
-
static forRoot(config) {
|
|
2923
|
-
const { useSetInputAPI, ...rest } = config || {};
|
|
2922
|
+
static forRoot(config = {}) {
|
|
2924
2923
|
return {
|
|
2925
2924
|
ngModule: IonicModule,
|
|
2926
2925
|
providers: [
|
|
2927
2926
|
{
|
|
2928
2927
|
provide: ConfigToken,
|
|
2929
|
-
useValue:
|
|
2928
|
+
useValue: config,
|
|
2930
2929
|
},
|
|
2931
2930
|
{
|
|
2932
2931
|
provide: APP_INITIALIZER,
|
|
@@ -2934,7 +2933,7 @@ class IonicModule {
|
|
|
2934
2933
|
multi: true,
|
|
2935
2934
|
deps: [ConfigToken, DOCUMENT, NgZone],
|
|
2936
2935
|
},
|
|
2937
|
-
|
|
2936
|
+
AngularDelegate,
|
|
2938
2937
|
provideComponentInputBinding(),
|
|
2939
2938
|
],
|
|
2940
2939
|
};
|