@ionic/angular 7.5.5-dev.11699898164.1391cfb3 → 7.5.5-dev.11699910223.156d984c
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 -2
- package/esm2020/common/index.mjs +1 -3
- package/esm2020/index.mjs +4 -2
- package/esm2020/providers/animation-controller.mjs +37 -0
- package/esm2020/providers/gesture-controller.mjs +31 -0
- package/esm2020/standalone/index.mjs +4 -2
- package/esm2020/standalone/providers/animation-controller.mjs +37 -0
- package/esm2020/standalone/providers/gesture-controller.mjs +31 -0
- package/fesm2015/ionic-angular-common.mjs +2 -64
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +65 -3
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +65 -3
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +2 -64
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +65 -3
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +65 -3
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +3 -1
- package/package.json +2 -2
- package/{common/providers → providers}/animation-controller.d.ts +1 -1
- package/providers/gesture-controller.d.ts +13 -0
- package/standalone/index.d.ts +3 -1
- package/standalone/providers/animation-controller.d.ts +25 -0
- package/esm2020/common/providers/animation-controller.mjs +0 -37
- package/esm2020/common/providers/gesture-controller.mjs +0 -31
- /package/{common → standalone}/providers/gesture-controller.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
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,
|
|
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
4
|
import * as i3 from '@angular/router';
|
|
5
5
|
import { NavigationStart, PRIMARY_OUTLET, ChildrenOutletContexts, ActivatedRoute, Router } from '@angular/router';
|
|
6
6
|
import * as i1 from '@angular/common';
|
|
@@ -169,68 +169,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
169
169
|
}]
|
|
170
170
|
}], ctorParameters: function () { return []; } });
|
|
171
171
|
|
|
172
|
-
class AnimationController {
|
|
173
|
-
/**
|
|
174
|
-
* Create a new animation
|
|
175
|
-
*/
|
|
176
|
-
create(animationId) {
|
|
177
|
-
return createAnimation(animationId);
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* EXPERIMENTAL
|
|
181
|
-
*
|
|
182
|
-
* Given a progression and a cubic bezier function,
|
|
183
|
-
* this utility returns the time value(s) at which the
|
|
184
|
-
* cubic bezier reaches the given time progression.
|
|
185
|
-
*
|
|
186
|
-
* If the cubic bezier never reaches the progression
|
|
187
|
-
* the result will be an empty array.
|
|
188
|
-
*
|
|
189
|
-
* This is most useful for switching between easing curves
|
|
190
|
-
* when doing a gesture animation (i.e. going from linear easing
|
|
191
|
-
* during a drag, to another easing when `progressEnd` is called)
|
|
192
|
-
*/
|
|
193
|
-
easingTime(p0, p1, p2, p3, progression) {
|
|
194
|
-
return getTimeGivenProgression(p0, p1, p2, p3, progression);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
/** @nocollapse */ AnimationController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AnimationController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
198
|
-
/** @nocollapse */ AnimationController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AnimationController, providedIn: 'root' });
|
|
199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AnimationController, decorators: [{
|
|
200
|
-
type: Injectable,
|
|
201
|
-
args: [{
|
|
202
|
-
providedIn: 'root',
|
|
203
|
-
}]
|
|
204
|
-
}] });
|
|
205
|
-
|
|
206
|
-
class GestureController {
|
|
207
|
-
constructor(zone) {
|
|
208
|
-
this.zone = zone;
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* Create a new gesture
|
|
212
|
-
*/
|
|
213
|
-
create(opts, runInsideAngularZone = false) {
|
|
214
|
-
if (runInsideAngularZone) {
|
|
215
|
-
Object.getOwnPropertyNames(opts).forEach((key) => {
|
|
216
|
-
if (typeof opts[key] === 'function') {
|
|
217
|
-
const fn = opts[key];
|
|
218
|
-
opts[key] = (...props) => this.zone.run(() => fn(...props));
|
|
219
|
-
}
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
return createGesture(opts);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
/** @nocollapse */ GestureController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: GestureController, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
226
|
-
/** @nocollapse */ GestureController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: GestureController, providedIn: 'root' });
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: GestureController, decorators: [{
|
|
228
|
-
type: Injectable,
|
|
229
|
-
args: [{
|
|
230
|
-
providedIn: 'root',
|
|
231
|
-
}]
|
|
232
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
233
|
-
|
|
234
172
|
class DomController {
|
|
235
173
|
/**
|
|
236
174
|
* Schedules a task to run during the READ phase of the next frame.
|
|
@@ -2540,5 +2478,5 @@ class IonicRouteStrategy {
|
|
|
2540
2478
|
* Generated bundle index. Do not edit.
|
|
2541
2479
|
*/
|
|
2542
2480
|
|
|
2543
|
-
export { AlertController, AngularDelegate,
|
|
2481
|
+
export { AlertController, AngularDelegate, Config, ConfigToken, DomController, IonBackButton, IonModal, IonNav, IonPopover, IonRouterOutlet, IonTabs, IonicRouteStrategy, LoadingController, MenuController, NavController, NavParams, OverlayBaseController, PickerController, Platform, ProxyCmp, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, ValueAccessor, bindLifecycleEvents, provideComponentInputBinding, raf, setIonicClasses };
|
|
2544
2482
|
//# sourceMappingURL=ionic-angular-common.mjs.map
|