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