@ionic/angular 8.1.1-dev.11714750984.1e1a2e37 → 8.1.1-dev.11714760012.1eab947e
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 +2 -10
- package/esm2022/common/directives/navigation/nav-params.mjs +1 -2
- package/esm2022/common/index.mjs +2 -2
- package/esm2022/common/providers/angular-delegate.mjs +5 -49
- package/esm2022/ionic-module.mjs +5 -7
- package/esm2022/standalone/providers/ionic-angular.mjs +4 -10
- package/fesm2022/ionic-angular-common.mjs +5 -50
- package/fesm2022/ionic-angular-common.mjs.map +1 -1
- package/fesm2022/ionic-angular-standalone.mjs +3 -9
- package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2022/ionic-angular.mjs +4 -6
- package/fesm2022/ionic-angular.mjs.map +1 -1
- package/ionic-module.d.ts +1 -5
- package/package.json +2 -2
- package/standalone/providers/ionic-angular.d.ts +1 -5
|
@@ -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';
|
|
@@ -2920,13 +2920,12 @@ const DECLARATIONS = [
|
|
|
2920
2920
|
];
|
|
2921
2921
|
class IonicModule {
|
|
2922
2922
|
static forRoot(config) {
|
|
2923
|
-
const { useSetInputAPI, ...rest } = 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,6 @@ class IonicModule {
|
|
|
2934
2933
|
multi: true,
|
|
2935
2934
|
deps: [ConfigToken, DOCUMENT, NgZone],
|
|
2936
2935
|
},
|
|
2937
|
-
useSetInputAPI ? AngularDelegateWithSignalsSupport : AngularDelegate,
|
|
2938
2936
|
provideComponentInputBinding(),
|
|
2939
2937
|
],
|
|
2940
2938
|
};
|
|
@@ -2977,14 +2975,14 @@ class IonicModule {
|
|
|
2977
2975
|
// validators
|
|
2978
2976
|
IonMinValidator,
|
|
2979
2977
|
IonMaxValidator] });
|
|
2980
|
-
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonicModule, providers: [ModalController, PopoverController], imports: [CommonModule] });
|
|
2978
|
+
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonicModule, providers: [AngularDelegate, ModalController, PopoverController], imports: [CommonModule] });
|
|
2981
2979
|
}
|
|
2982
2980
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonicModule, decorators: [{
|
|
2983
2981
|
type: NgModule,
|
|
2984
2982
|
args: [{
|
|
2985
2983
|
declarations: DECLARATIONS,
|
|
2986
2984
|
exports: DECLARATIONS,
|
|
2987
|
-
providers: [ModalController, PopoverController],
|
|
2985
|
+
providers: [AngularDelegate, ModalController, PopoverController],
|
|
2988
2986
|
imports: [CommonModule],
|
|
2989
2987
|
}]
|
|
2990
2988
|
}] });
|