@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
|
@@ -3,7 +3,7 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { Directive, Attribute, Optional, SkipSelf, Component, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, inject, Injector, EnvironmentInjector, Injectable, APP_INITIALIZER, forwardRef, HostListener } from '@angular/core';
|
|
4
4
|
import * as i2$1 from '@ionic/angular/common';
|
|
5
5
|
import { IonRouterOutlet as IonRouterOutlet$1, ProxyCmp as ProxyCmp$1, IonBackButton as IonBackButton$1, IonModal as IonModal$1, IonPopover as IonPopover$1, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, IonTabs as IonTabs$1, OverlayBaseController, AngularDelegate, ConfigToken, provideComponentInputBinding, MenuController as MenuController$1, IonNav as IonNav$1, ValueAccessor, setIonicClasses } from '@ionic/angular/common';
|
|
6
|
-
export { AlertController,
|
|
6
|
+
export { AlertController, Config, DomController, IonicRouteStrategy, LoadingController, NavController, NavParams, PickerController, Platform } from '@ionic/angular/common';
|
|
7
7
|
import { defineCustomElement as defineCustomElement$2 } from '@ionic/core/components/ion-back-button.js';
|
|
8
8
|
import { defineCustomElement as defineCustomElement$1 } from '@ionic/core/components/ion-router-outlet.js';
|
|
9
9
|
import * as i1 from '@angular/common';
|
|
@@ -77,7 +77,7 @@ import { defineCustomElement as defineCustomElement$12 } from '@ionic/core/compo
|
|
|
77
77
|
import { defineCustomElement as defineCustomElement$13 } from '@ionic/core/components/ion-title.js';
|
|
78
78
|
import { defineCustomElement as defineCustomElement$14 } from '@ionic/core/components/ion-toast.js';
|
|
79
79
|
import { defineCustomElement as defineCustomElement$15 } from '@ionic/core/components/ion-toolbar.js';
|
|
80
|
-
import { modalController, popoverController, initialize, actionSheetController, menuController, toastController } from '@ionic/core/components';
|
|
80
|
+
import { modalController, popoverController, initialize, actionSheetController, createAnimation, getTimeGivenProgression, createGesture, menuController, toastController } from '@ionic/core/components';
|
|
81
81
|
export { IonicSafeString, IonicSlides, createAnimation, createGesture, getPlatforms, getTimeGivenProgression, iosTransitionAnimation, isPlatform, mdTransitionAnimation } from '@ionic/core/components';
|
|
82
82
|
import { defineCustomElement as defineCustomElement$16 } from '@ionic/core/components/ion-nav.js';
|
|
83
83
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
@@ -2129,6 +2129,68 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2129
2129
|
}]
|
|
2130
2130
|
}], ctorParameters: function () { return []; } });
|
|
2131
2131
|
|
|
2132
|
+
class AnimationController {
|
|
2133
|
+
/**
|
|
2134
|
+
* Create a new animation
|
|
2135
|
+
*/
|
|
2136
|
+
create(animationId) {
|
|
2137
|
+
return createAnimation(animationId);
|
|
2138
|
+
}
|
|
2139
|
+
/**
|
|
2140
|
+
* EXPERIMENTAL
|
|
2141
|
+
*
|
|
2142
|
+
* Given a progression and a cubic bezier function,
|
|
2143
|
+
* this utility returns the time value(s) at which the
|
|
2144
|
+
* cubic bezier reaches the given time progression.
|
|
2145
|
+
*
|
|
2146
|
+
* If the cubic bezier never reaches the progression
|
|
2147
|
+
* the result will be an empty array.
|
|
2148
|
+
*
|
|
2149
|
+
* This is most useful for switching between easing curves
|
|
2150
|
+
* when doing a gesture animation (i.e. going from linear easing
|
|
2151
|
+
* during a drag, to another easing when `progressEnd` is called)
|
|
2152
|
+
*/
|
|
2153
|
+
easingTime(p0, p1, p2, p3, progression) {
|
|
2154
|
+
return getTimeGivenProgression(p0, p1, p2, p3, progression);
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
/** @nocollapse */ AnimationController.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AnimationController, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2158
|
+
/** @nocollapse */ AnimationController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AnimationController, providedIn: 'root' });
|
|
2159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AnimationController, decorators: [{
|
|
2160
|
+
type: Injectable,
|
|
2161
|
+
args: [{
|
|
2162
|
+
providedIn: 'root',
|
|
2163
|
+
}]
|
|
2164
|
+
}] });
|
|
2165
|
+
|
|
2166
|
+
class GestureController {
|
|
2167
|
+
constructor(zone) {
|
|
2168
|
+
this.zone = zone;
|
|
2169
|
+
}
|
|
2170
|
+
/**
|
|
2171
|
+
* Create a new gesture
|
|
2172
|
+
*/
|
|
2173
|
+
create(opts, runInsideAngularZone = false) {
|
|
2174
|
+
if (runInsideAngularZone) {
|
|
2175
|
+
Object.getOwnPropertyNames(opts).forEach((key) => {
|
|
2176
|
+
if (typeof opts[key] === 'function') {
|
|
2177
|
+
const fn = opts[key];
|
|
2178
|
+
opts[key] = (...props) => this.zone.run(() => fn(...props));
|
|
2179
|
+
}
|
|
2180
|
+
});
|
|
2181
|
+
}
|
|
2182
|
+
return createGesture(opts);
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
/** @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 });
|
|
2186
|
+
/** @nocollapse */ GestureController.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: GestureController, providedIn: 'root' });
|
|
2187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: GestureController, decorators: [{
|
|
2188
|
+
type: Injectable,
|
|
2189
|
+
args: [{
|
|
2190
|
+
providedIn: 'root',
|
|
2191
|
+
}]
|
|
2192
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
2193
|
+
|
|
2132
2194
|
class MenuController extends MenuController$1 {
|
|
2133
2195
|
constructor() {
|
|
2134
2196
|
super(menuController);
|
|
@@ -2976,5 +3038,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
2976
3038
|
* Generated bundle index. Do not edit.
|
|
2977
3039
|
*/
|
|
2978
3040
|
|
|
2979
|
-
export { ActionSheetController, IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonModal, IonNav, IonNavLink, IonNote, IonPicker, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRouterLink, IonRouterLinkWithHref, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonTabs, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, MenuController, ModalController, PopoverController, ToastController, provideIonicAngular };
|
|
3041
|
+
export { ActionSheetController, AnimationController, GestureController, IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonModal, IonNav, IonNavLink, IonNote, IonPicker, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRouterLink, IonRouterLinkWithHref, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonTabs, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, MenuController, ModalController, PopoverController, ToastController, provideIonicAngular };
|
|
2980
3042
|
//# sourceMappingURL=ionic-angular-standalone.mjs.map
|