@ionic/angular 7.5.6-nightly.20231117 → 7.5.6-nightly.20231120
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 +0 -1
- package/esm2020/common/index.mjs +1 -2
- package/esm2020/index.mjs +3 -2
- package/esm2020/providers/loading-controller.mjs +18 -0
- package/esm2020/standalone/index.mjs +3 -2
- package/esm2020/standalone/providers/loading-controller.mjs +21 -0
- package/fesm2015/ionic-angular-common.mjs +27 -41
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +19 -3
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +17 -3
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +27 -41
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +19 -3
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +17 -3
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +2 -1
- package/package.json +2 -2
- package/providers/loading-controller.d.ts +8 -0
- package/standalone/index.d.ts +2 -1
- package/{common → standalone}/providers/loading-controller.d.ts +1 -1
- package/esm2020/common/providers/loading-controller.mjs +0 -18
|
@@ -1,54 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, Inject, Optional, InjectionToken, inject, NgZone, ApplicationRef, Injector, createComponent, TemplateRef, Directive, ContentChild, EventEmitter, ViewContainerRef, EnvironmentInjector, Attribute, SkipSelf, Input, Output, reflectComponentType, HostListener, ElementRef, ViewChild } from '@angular/core';
|
|
3
|
-
import { loadingController, isPlatform, getPlatforms, LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_UNLOAD, componentOnReady } from '@ionic/core/components';
|
|
4
3
|
import * as i3 from '@angular/router';
|
|
5
4
|
import { NavigationStart, PRIMARY_OUTLET, ChildrenOutletContexts, ActivatedRoute, Router } from '@angular/router';
|
|
6
5
|
import * as i1 from '@angular/common';
|
|
7
6
|
import { DOCUMENT } from '@angular/common';
|
|
7
|
+
import { isPlatform, getPlatforms, LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_UNLOAD, componentOnReady } from '@ionic/core/components';
|
|
8
8
|
import { Subject, fromEvent, BehaviorSubject, combineLatest, of } from 'rxjs';
|
|
9
9
|
import { __decorate } from 'tslib';
|
|
10
10
|
import { filter, switchMap, distinctUntilChanged } from 'rxjs/operators';
|
|
11
11
|
import { NgControl } from '@angular/forms';
|
|
12
12
|
|
|
13
|
-
// TODO(FW-2827): types
|
|
14
|
-
class OverlayBaseController {
|
|
15
|
-
constructor(ctrl) {
|
|
16
|
-
this.ctrl = ctrl;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Creates a new overlay
|
|
20
|
-
*/
|
|
21
|
-
create(opts) {
|
|
22
|
-
return this.ctrl.create((opts || {}));
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* When `id` is not provided, it dismisses the top overlay.
|
|
26
|
-
*/
|
|
27
|
-
dismiss(data, role, id) {
|
|
28
|
-
return this.ctrl.dismiss(data, role, id);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Returns the top overlay.
|
|
32
|
-
*/
|
|
33
|
-
getTop() {
|
|
34
|
-
return this.ctrl.getTop();
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
class LoadingController extends OverlayBaseController {
|
|
39
|
-
constructor() {
|
|
40
|
-
super(loadingController);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/** @nocollapse */ LoadingController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
|
-
/** @nocollapse */ LoadingController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingController, providedIn: 'root' });
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingController, decorators: [{
|
|
46
|
-
type: Injectable,
|
|
47
|
-
args: [{
|
|
48
|
-
providedIn: 'root',
|
|
49
|
-
}]
|
|
50
|
-
}], ctorParameters: function () { return []; } });
|
|
51
|
-
|
|
52
13
|
class MenuController {
|
|
53
14
|
constructor(menuController) {
|
|
54
15
|
this.menuController = menuController;
|
|
@@ -2446,9 +2407,34 @@ class IonicRouteStrategy {
|
|
|
2446
2407
|
}
|
|
2447
2408
|
}
|
|
2448
2409
|
|
|
2410
|
+
// TODO(FW-2827): types
|
|
2411
|
+
class OverlayBaseController {
|
|
2412
|
+
constructor(ctrl) {
|
|
2413
|
+
this.ctrl = ctrl;
|
|
2414
|
+
}
|
|
2415
|
+
/**
|
|
2416
|
+
* Creates a new overlay
|
|
2417
|
+
*/
|
|
2418
|
+
create(opts) {
|
|
2419
|
+
return this.ctrl.create((opts || {}));
|
|
2420
|
+
}
|
|
2421
|
+
/**
|
|
2422
|
+
* When `id` is not provided, it dismisses the top overlay.
|
|
2423
|
+
*/
|
|
2424
|
+
dismiss(data, role, id) {
|
|
2425
|
+
return this.ctrl.dismiss(data, role, id);
|
|
2426
|
+
}
|
|
2427
|
+
/**
|
|
2428
|
+
* Returns the top overlay.
|
|
2429
|
+
*/
|
|
2430
|
+
getTop() {
|
|
2431
|
+
return this.ctrl.getTop();
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2449
2435
|
/**
|
|
2450
2436
|
* Generated bundle index. Do not edit.
|
|
2451
2437
|
*/
|
|
2452
2438
|
|
|
2453
|
-
export { AngularDelegate, Config, ConfigToken, DomController, IonBackButton, IonModal, IonNav, IonPopover, IonRouterOutlet, IonTabs, IonicRouteStrategy,
|
|
2439
|
+
export { AngularDelegate, Config, ConfigToken, DomController, IonBackButton, IonModal, IonNav, IonPopover, IonRouterOutlet, IonTabs, IonicRouteStrategy, MenuController, NavController, NavParams, OverlayBaseController, Platform, ProxyCmp, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, ValueAccessor, bindLifecycleEvents, provideComponentInputBinding, raf, setIonicClasses };
|
|
2454
2440
|
//# sourceMappingURL=ionic-angular-common.mjs.map
|