@coolon/angular-ui-powerups 0.0.79 → 0.0.80
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/bundles/coolon-angular-ui-powerups.umd.js +69 -36
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.d.ts +20 -19
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +20 -19
- package/esm2015/index.js +2 -2
- package/esm2015/lib/place/components/place-outlet/place-outlet.component.js +16 -4
- package/esm2015/lib/place/index.js +2 -1
- package/esm2015/lib/place/place-config.js +16 -0
- package/esm2015/lib/place/place.module.js +4 -2
- package/esm2015/public_api.js +2 -2
- package/esm5/coolon-angular-ui-powerups.js +20 -19
- package/esm5/index.js +2 -2
- package/esm5/lib/place/components/place-outlet/place-outlet.component.js +19 -4
- package/esm5/lib/place/index.js +2 -1
- package/esm5/lib/place/place-config.js +16 -0
- package/esm5/lib/place/place.module.js +4 -2
- package/esm5/public_api.js +2 -2
- package/fesm2015/coolon-angular-ui-powerups.js +32 -4
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +35 -4
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +4 -1
- package/lib/place/index.d.ts +1 -0
- package/lib/place/place-config.d.ts +5 -0
- package/package.json +1 -1
|
@@ -3536,6 +3536,21 @@ if (false) {
|
|
|
3536
3536
|
Visit.prototype.visitParameters;
|
|
3537
3537
|
}
|
|
3538
3538
|
|
|
3539
|
+
/**
|
|
3540
|
+
* @fileoverview added by tsickle
|
|
3541
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3542
|
+
*/
|
|
3543
|
+
/** @type {?} */
|
|
3544
|
+
var AUP_PLACE_CONFIG = new InjectionToken('AUP_PLACE_CONFIG');
|
|
3545
|
+
/**
|
|
3546
|
+
* @record
|
|
3547
|
+
*/
|
|
3548
|
+
function PlaceConfig() { }
|
|
3549
|
+
if (false) {
|
|
3550
|
+
/** @type {?} */
|
|
3551
|
+
PlaceConfig.prototype.animationDuration;
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3539
3554
|
/**
|
|
3540
3555
|
* @fileoverview added by tsickle
|
|
3541
3556
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -4233,10 +4248,11 @@ if (false) {
|
|
|
4233
4248
|
}
|
|
4234
4249
|
var PlaceOutletComponent = /** @class */ (function (_super) {
|
|
4235
4250
|
__extends(PlaceOutletComponent, _super);
|
|
4236
|
-
function PlaceOutletComponent(router, placeRouter, parentOutlet) {
|
|
4251
|
+
function PlaceOutletComponent(router, placeRouter, placeConfig, parentOutlet) {
|
|
4237
4252
|
var _this = _super.call(this) || this;
|
|
4238
4253
|
_this.router = router;
|
|
4239
4254
|
_this.placeRouter = placeRouter;
|
|
4255
|
+
_this.placeConfig = placeConfig;
|
|
4240
4256
|
_this.animate = true;
|
|
4241
4257
|
_this.placeChanged = new EventEmitter();
|
|
4242
4258
|
_this._activePlace = new MutableValueModel();
|
|
@@ -4325,6 +4341,16 @@ var PlaceOutletComponent = /** @class */ (function (_super) {
|
|
|
4325
4341
|
*/
|
|
4326
4342
|
function () {
|
|
4327
4343
|
};
|
|
4344
|
+
Object.defineProperty(PlaceOutletComponent.prototype, "animationDuration", {
|
|
4345
|
+
get: /**
|
|
4346
|
+
* @return {?}
|
|
4347
|
+
*/
|
|
4348
|
+
function () {
|
|
4349
|
+
return this.placeConfig && this.placeConfig.animationDuration ? this.placeConfig.animationDuration : "500ms";
|
|
4350
|
+
},
|
|
4351
|
+
enumerable: true,
|
|
4352
|
+
configurable: true
|
|
4353
|
+
});
|
|
4328
4354
|
/**
|
|
4329
4355
|
* @param {?} visit
|
|
4330
4356
|
* @return {?}
|
|
@@ -4459,7 +4485,7 @@ var PlaceOutletComponent = /** @class */ (function (_super) {
|
|
|
4459
4485
|
PlaceOutletComponent.decorators = [
|
|
4460
4486
|
{ type: Component, args: [{
|
|
4461
4487
|
selector: 'aup-place-outlet',
|
|
4462
|
-
template: "<div class=\"router-outlet-container\"\n [@routeAnimations]=\"placeAnimationOrder.value\"\n (@routeAnimations.done)=\"animationDone()\"\n>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated(routerOutlet, $event)\">\n </router-outlet>\n</div>\n\n",
|
|
4488
|
+
template: "<div class=\"router-outlet-container\"\n [@routeAnimations]=\"{value: placeAnimationOrder.value, params:{duration: animationDuration}}\"\n (@routeAnimations.done)=\"animationDone()\"\n>\n <router-outlet #routerOutlet=\"outlet\"\n (activate)=\"onOutletActivated(routerOutlet, $event)\"\n (deactivate)=\"onOutletDeactivated(routerOutlet, $event)\">\n </router-outlet>\n</div>\n\n",
|
|
4463
4489
|
animations: [LEFT_RIGHT_PLACE_ANIMATION],
|
|
4464
4490
|
styles: [":host{display:flex;flex-direction:column;min-height:0;overflow-x:hidden}.router-outlet-container{flex:1;display:block;position:relative;min-height:0}router-outlet{display:none}"]
|
|
4465
4491
|
}] }
|
|
@@ -4468,6 +4494,7 @@ var PlaceOutletComponent = /** @class */ (function (_super) {
|
|
|
4468
4494
|
PlaceOutletComponent.ctorParameters = function () { return [
|
|
4469
4495
|
{ type: Router },
|
|
4470
4496
|
{ type: PlaceRouter },
|
|
4497
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [AUP_PLACE_CONFIG,] }] },
|
|
4471
4498
|
{ type: PlaceOutletComponent, decorators: [{ type: SkipSelf }, { type: Optional }] }
|
|
4472
4499
|
]; };
|
|
4473
4500
|
PlaceOutletComponent.propDecorators = {
|
|
@@ -4551,6 +4578,8 @@ if (false) {
|
|
|
4551
4578
|
* @private
|
|
4552
4579
|
*/
|
|
4553
4580
|
PlaceOutletComponent.prototype.placeRouter;
|
|
4581
|
+
/** @type {?} */
|
|
4582
|
+
PlaceOutletComponent.prototype.placeConfig;
|
|
4554
4583
|
}
|
|
4555
4584
|
|
|
4556
4585
|
/**
|
|
@@ -4786,7 +4815,9 @@ var PlaceModule = /** @class */ (function () {
|
|
|
4786
4815
|
TabbedPlaceNavigationComponent,
|
|
4787
4816
|
ListPlaceNavComponent
|
|
4788
4817
|
],
|
|
4789
|
-
providers: [
|
|
4818
|
+
providers: [
|
|
4819
|
+
// {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: "100ms"}}
|
|
4820
|
+
]
|
|
4790
4821
|
},] }
|
|
4791
4822
|
];
|
|
4792
4823
|
return PlaceModule;
|
|
@@ -6227,5 +6258,5 @@ if (false) {
|
|
|
6227
6258
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
6228
6259
|
*/
|
|
6229
6260
|
|
|
6230
|
-
export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, AbstractPlaceNavigationComponent, Activity, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionService, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnterPlaceGuard, FocusBindingDirective, Formatter, InplaceInteractionContextComponent, InteractionContext, InteractionGuard, InteractionModule, InteractionOutletComponent, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, ListPlaceNavComponent, NavigationSession, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceDefinition, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, ROUTE_PARAMETER_LIST_KEY, ResizeAwareComponent, RouteId, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, leftRightPlaceAnimation, slideDownAndUpAnimation, DirectivesModule as ɵa, CommandDirective as ɵb,
|
|
6261
|
+
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractActivity, AbstractInputComponent, AbstractPlaceNavigationComponent, Activity, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionService, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EnterPlaceGuard, FocusBindingDirective, Formatter, InplaceInteractionContextComponent, InteractionContext, InteractionGuard, InteractionModule, InteractionOutletComponent, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, ListPlaceNavComponent, NavigationSession, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceDefinition, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, ROUTE_PARAMETER_LIST_KEY, ResizeAwareComponent, RouteId, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, leftRightPlaceAnimation, slideDownAndUpAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, InteractionContext as ɵba, ActivityOutletComponent as ɵbb, ConfirmationDialogComponent as ɵbc, AbstractActivity as ɵbd, ACTIVITY_DATA as ɵbe, Activity as ɵbf, ConfirmThenDialogComponent as ɵbh, AlertDialogComponent as ɵbi, InteractionOutletComponent as ɵbk, InplaceInteractionContextComponent as ɵbl, DIALOG_INTERACTION_SERVICE_DEFAULTS as ɵbm, DialogInteractionService as ɵbn, FocusBindingDirective as ɵc, DisposableComponent as ɵd, ComponentsModule as ɵe, NumberInputComponent as ɵf, AbstractInputComponent as ɵg, StringInputComponent as ɵh, PasswordInputComponent as ɵi, SelectInputComponent as ɵj, NoopComponent as ɵk, PlaceModule as ɵl, EmptyStateComponent as ɵm, BusyOverlayComponent as ɵn, PlaceOutletComponent as ɵo, leftRightPlaceAnimation as ɵp, LEFT_RIGHT_PLACE_ANIMATION as ɵq, AUP_PLACE_CONFIG as ɵr, PlaceRouter as ɵt, PlaceHistory as ɵu, TabbedPlaceNavigationComponent as ɵv, AbstractPlaceNavigationComponent as ɵw, ListPlaceNavComponent as ɵx, InteractionModule as ɵy, ActivityContainerComponent as ɵz };
|
|
6231
6262
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|