@ionic/angular 7.5.6-nightly.20231116 → 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 -3
- package/css/core.css +66 -0
- package/css/core.css.map +1 -1
- package/css/display.css +44 -0
- package/css/display.css.map +1 -1
- package/css/float-elements.css +44 -0
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css +88 -0
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +22 -0
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css +44 -0
- package/css/padding.css.map +1 -1
- package/css/structure.css +44 -0
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css +44 -0
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css +44 -0
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css +44 -0
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +220 -0
- package/css/utils.bundle.css.map +1 -1
- package/esm2020/common/index.mjs +1 -4
- package/esm2020/index.mjs +5 -2
- package/esm2020/providers/alert-controller.mjs +18 -0
- package/esm2020/providers/loading-controller.mjs +18 -0
- package/esm2020/providers/picker-controller.mjs +18 -0
- package/esm2020/standalone/index.mjs +5 -2
- package/esm2020/standalone/providers/alert-controller.mjs +18 -0
- package/esm2020/standalone/providers/loading-controller.mjs +21 -0
- package/esm2020/standalone/providers/picker-controller.mjs +21 -0
- package/fesm2015/ionic-angular-common.mjs +27 -69
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +49 -3
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +45 -3
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +27 -69
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +49 -3
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +45 -3
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +4 -1
- package/package.json +2 -2
- package/providers/alert-controller.d.ts +8 -0
- package/providers/loading-controller.d.ts +8 -0
- package/providers/picker-controller.d.ts +8 -0
- package/standalone/index.d.ts +4 -1
- package/{common → standalone}/providers/alert-controller.d.ts +1 -1
- package/{common → standalone}/providers/loading-controller.d.ts +1 -1
- package/{common → standalone}/providers/picker-controller.d.ts +1 -1
- package/esm2020/common/providers/alert-controller.mjs +0 -18
- package/esm2020/common/providers/loading-controller.mjs +0 -18
- package/esm2020/common/providers/picker-controller.mjs +0 -18
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { OverlayBaseController } from '@ionic/angular/common';
|
|
3
|
+
import { loadingController } from '@ionic/core/components';
|
|
4
|
+
import { defineCustomElement } from '@ionic/core/components/ion-loading.js';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class LoadingController extends OverlayBaseController {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(loadingController);
|
|
9
|
+
// TODO: FW-5415 may remove the need for this
|
|
10
|
+
defineCustomElement();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
/** @nocollapse */ LoadingController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
/** @nocollapse */ LoadingController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingController, providedIn: 'root' });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingController, decorators: [{
|
|
16
|
+
type: Injectable,
|
|
17
|
+
args: [{
|
|
18
|
+
providedIn: 'root',
|
|
19
|
+
}]
|
|
20
|
+
}], ctorParameters: function () { return []; } });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1jb250cm9sbGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3RhbmRhbG9uZS9zcmMvcHJvdmlkZXJzL2xvYWRpbmctY29udHJvbGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBRTlELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzNELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDOztBQUs1RSxNQUFNLE9BQU8saUJBQWtCLFNBQVEscUJBQTREO0lBQ2pHO1FBQ0UsS0FBSyxDQUFDLGlCQUFpQixDQUFDLENBQUM7UUFFekIsNkNBQTZDO1FBQzdDLG1CQUFtQixFQUFFLENBQUM7SUFDeEIsQ0FBQzs7a0lBTlUsaUJBQWlCO3NJQUFqQixpQkFBaUIsY0FGaEIsTUFBTTs0RkFFUCxpQkFBaUI7a0JBSDdCLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgT3ZlcmxheUJhc2VDb250cm9sbGVyIH0gZnJvbSAnQGlvbmljL2FuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB0eXBlIHsgTG9hZGluZ09wdGlvbnMgfSBmcm9tICdAaW9uaWMvY29yZS9jb21wb25lbnRzJztcbmltcG9ydCB7IGxvYWRpbmdDb250cm9sbGVyIH0gZnJvbSAnQGlvbmljL2NvcmUvY29tcG9uZW50cyc7XG5pbXBvcnQgeyBkZWZpbmVDdXN0b21FbGVtZW50IH0gZnJvbSAnQGlvbmljL2NvcmUvY29tcG9uZW50cy9pb24tbG9hZGluZy5qcyc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBMb2FkaW5nQ29udHJvbGxlciBleHRlbmRzIE92ZXJsYXlCYXNlQ29udHJvbGxlcjxMb2FkaW5nT3B0aW9ucywgSFRNTElvbkxvYWRpbmdFbGVtZW50PiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKGxvYWRpbmdDb250cm9sbGVyKTtcblxuICAgIC8vIFRPRE86IEZXLTU0MTUgbWF5IHJlbW92ZSB0aGUgbmVlZCBmb3IgdGhpc1xuICAgIGRlZmluZUN1c3RvbUVsZW1lbnQoKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { OverlayBaseController } from '@ionic/angular/common';
|
|
3
|
+
import { pickerController } from '@ionic/core/components';
|
|
4
|
+
import { defineCustomElement } from '@ionic/core/components/ion-picker.js';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class PickerController extends OverlayBaseController {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(pickerController);
|
|
9
|
+
// TODO: FW-5415 may remove the need for this
|
|
10
|
+
defineCustomElement();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
/** @nocollapse */ PickerController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PickerController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
/** @nocollapse */ PickerController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PickerController, providedIn: 'root' });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PickerController, decorators: [{
|
|
16
|
+
type: Injectable,
|
|
17
|
+
args: [{
|
|
18
|
+
providedIn: 'root',
|
|
19
|
+
}]
|
|
20
|
+
}], ctorParameters: function () { return []; } });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGlja2VyLWNvbnRyb2xsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zdGFuZGFsb25lL3NyYy9wcm92aWRlcnMvcGlja2VyLWNvbnRyb2xsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUU5RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQzs7QUFLM0UsTUFBTSxPQUFPLGdCQUFpQixTQUFRLHFCQUEwRDtJQUM5RjtRQUNFLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO1FBRXhCLDZDQUE2QztRQUM3QyxtQkFBbUIsRUFBRSxDQUFDO0lBQ3hCLENBQUM7O2lJQU5VLGdCQUFnQjtxSUFBaEIsZ0JBQWdCLGNBRmYsTUFBTTs0RkFFUCxnQkFBZ0I7a0JBSDVCLFVBQVU7bUJBQUM7b0JBQ1YsVUFBVSxFQUFFLE1BQU07aUJBQ25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgT3ZlcmxheUJhc2VDb250cm9sbGVyIH0gZnJvbSAnQGlvbmljL2FuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB0eXBlIHsgUGlja2VyT3B0aW9ucyB9IGZyb20gJ0Bpb25pYy9jb3JlL2NvbXBvbmVudHMnO1xuaW1wb3J0IHsgcGlja2VyQ29udHJvbGxlciB9IGZyb20gJ0Bpb25pYy9jb3JlL2NvbXBvbmVudHMnO1xuaW1wb3J0IHsgZGVmaW5lQ3VzdG9tRWxlbWVudCB9IGZyb20gJ0Bpb25pYy9jb3JlL2NvbXBvbmVudHMvaW9uLXBpY2tlci5qcyc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxufSlcbmV4cG9ydCBjbGFzcyBQaWNrZXJDb250cm9sbGVyIGV4dGVuZHMgT3ZlcmxheUJhc2VDb250cm9sbGVyPFBpY2tlck9wdGlvbnMsIEhUTUxJb25QaWNrZXJFbGVtZW50PiB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKHBpY2tlckNvbnRyb2xsZXIpO1xuXG4gICAgLy8gVE9ETzogRlctNTQxNSBtYXkgcmVtb3ZlIHRoZSBuZWVkIGZvciB0aGlzXG4gICAgZGVmaW5lQ3VzdG9tRWxlbWVudCgpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,68 +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 { alertController, loadingController, pickerController, 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 { __awaiter, __decorate } from 'tslib';
|
|
5
4
|
import * as i3 from '@angular/router';
|
|
6
5
|
import { NavigationStart, PRIMARY_OUTLET, ChildrenOutletContexts, ActivatedRoute, Router } from '@angular/router';
|
|
7
6
|
import * as i1 from '@angular/common';
|
|
8
7
|
import { DOCUMENT } from '@angular/common';
|
|
8
|
+
import { isPlatform, getPlatforms, LIFECYCLE_WILL_ENTER, LIFECYCLE_DID_ENTER, LIFECYCLE_WILL_LEAVE, LIFECYCLE_DID_LEAVE, LIFECYCLE_WILL_UNLOAD, componentOnReady } from '@ionic/core/components';
|
|
9
9
|
import { Subject, fromEvent, BehaviorSubject, combineLatest, of } from 'rxjs';
|
|
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 AlertController extends OverlayBaseController {
|
|
39
|
-
constructor() {
|
|
40
|
-
super(alertController);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/** @nocollapse */ AlertController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AlertController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
|
-
/** @nocollapse */ AlertController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AlertController, providedIn: 'root' });
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AlertController, decorators: [{
|
|
46
|
-
type: Injectable,
|
|
47
|
-
args: [{
|
|
48
|
-
providedIn: 'root',
|
|
49
|
-
}]
|
|
50
|
-
}], ctorParameters: function () { return []; } });
|
|
51
|
-
|
|
52
|
-
class LoadingController extends OverlayBaseController {
|
|
53
|
-
constructor() {
|
|
54
|
-
super(loadingController);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
/** @nocollapse */ LoadingController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
58
|
-
/** @nocollapse */ LoadingController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingController, providedIn: 'root' });
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoadingController, decorators: [{
|
|
60
|
-
type: Injectable,
|
|
61
|
-
args: [{
|
|
62
|
-
providedIn: 'root',
|
|
63
|
-
}]
|
|
64
|
-
}], ctorParameters: function () { return []; } });
|
|
65
|
-
|
|
66
13
|
class MenuController {
|
|
67
14
|
constructor(menuController) {
|
|
68
15
|
this.menuController = menuController;
|
|
@@ -155,20 +102,6 @@ class MenuController {
|
|
|
155
102
|
}
|
|
156
103
|
}
|
|
157
104
|
|
|
158
|
-
class PickerController extends OverlayBaseController {
|
|
159
|
-
constructor() {
|
|
160
|
-
super(pickerController);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
/** @nocollapse */ PickerController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PickerController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
164
|
-
/** @nocollapse */ PickerController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PickerController, providedIn: 'root' });
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: PickerController, decorators: [{
|
|
166
|
-
type: Injectable,
|
|
167
|
-
args: [{
|
|
168
|
-
providedIn: 'root',
|
|
169
|
-
}]
|
|
170
|
-
}], ctorParameters: function () { return []; } });
|
|
171
|
-
|
|
172
105
|
class DomController {
|
|
173
106
|
/**
|
|
174
107
|
* Schedules a task to run during the READ phase of the next frame.
|
|
@@ -2491,9 +2424,34 @@ class IonicRouteStrategy {
|
|
|
2491
2424
|
}
|
|
2492
2425
|
}
|
|
2493
2426
|
|
|
2427
|
+
// TODO(FW-2827): types
|
|
2428
|
+
class OverlayBaseController {
|
|
2429
|
+
constructor(ctrl) {
|
|
2430
|
+
this.ctrl = ctrl;
|
|
2431
|
+
}
|
|
2432
|
+
/**
|
|
2433
|
+
* Creates a new overlay
|
|
2434
|
+
*/
|
|
2435
|
+
create(opts) {
|
|
2436
|
+
return this.ctrl.create((opts || {}));
|
|
2437
|
+
}
|
|
2438
|
+
/**
|
|
2439
|
+
* When `id` is not provided, it dismisses the top overlay.
|
|
2440
|
+
*/
|
|
2441
|
+
dismiss(data, role, id) {
|
|
2442
|
+
return this.ctrl.dismiss(data, role, id);
|
|
2443
|
+
}
|
|
2444
|
+
/**
|
|
2445
|
+
* Returns the top overlay.
|
|
2446
|
+
*/
|
|
2447
|
+
getTop() {
|
|
2448
|
+
return this.ctrl.getTop();
|
|
2449
|
+
}
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2494
2452
|
/**
|
|
2495
2453
|
* Generated bundle index. Do not edit.
|
|
2496
2454
|
*/
|
|
2497
2455
|
|
|
2498
|
-
export {
|
|
2456
|
+
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 };
|
|
2499
2457
|
//# sourceMappingURL=ionic-angular-common.mjs.map
|