@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
|
@@ -2841,6 +2841,21 @@ if (false) {
|
|
|
2841
2841
|
Visit.prototype.visitParameters;
|
|
2842
2842
|
}
|
|
2843
2843
|
|
|
2844
|
+
/**
|
|
2845
|
+
* @fileoverview added by tsickle
|
|
2846
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2847
|
+
*/
|
|
2848
|
+
/** @type {?} */
|
|
2849
|
+
const AUP_PLACE_CONFIG = new InjectionToken('AUP_PLACE_CONFIG');
|
|
2850
|
+
/**
|
|
2851
|
+
* @record
|
|
2852
|
+
*/
|
|
2853
|
+
function PlaceConfig() { }
|
|
2854
|
+
if (false) {
|
|
2855
|
+
/** @type {?} */
|
|
2856
|
+
PlaceConfig.prototype.animationDuration;
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2844
2859
|
/**
|
|
2845
2860
|
* @fileoverview added by tsickle
|
|
2846
2861
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -3399,12 +3414,14 @@ class PlaceOutletComponent extends DisposableComponent {
|
|
|
3399
3414
|
/**
|
|
3400
3415
|
* @param {?} router
|
|
3401
3416
|
* @param {?} placeRouter
|
|
3417
|
+
* @param {?} placeConfig
|
|
3402
3418
|
* @param {?} parentOutlet
|
|
3403
3419
|
*/
|
|
3404
|
-
constructor(router, placeRouter, parentOutlet) {
|
|
3420
|
+
constructor(router, placeRouter, placeConfig, parentOutlet) {
|
|
3405
3421
|
super();
|
|
3406
3422
|
this.router = router;
|
|
3407
3423
|
this.placeRouter = placeRouter;
|
|
3424
|
+
this.placeConfig = placeConfig;
|
|
3408
3425
|
this.animate = true;
|
|
3409
3426
|
this.placeChanged = new EventEmitter();
|
|
3410
3427
|
this._activePlace = new MutableValueModel();
|
|
@@ -3489,6 +3506,12 @@ class PlaceOutletComponent extends DisposableComponent {
|
|
|
3489
3506
|
*/
|
|
3490
3507
|
ngOnInit() {
|
|
3491
3508
|
}
|
|
3509
|
+
/**
|
|
3510
|
+
* @return {?}
|
|
3511
|
+
*/
|
|
3512
|
+
get animationDuration() {
|
|
3513
|
+
return this.placeConfig && this.placeConfig.animationDuration ? this.placeConfig.animationDuration : "500ms";
|
|
3514
|
+
}
|
|
3492
3515
|
/**
|
|
3493
3516
|
* @param {?} visit
|
|
3494
3517
|
* @return {?}
|
|
@@ -3582,7 +3605,7 @@ class PlaceOutletComponent extends DisposableComponent {
|
|
|
3582
3605
|
PlaceOutletComponent.decorators = [
|
|
3583
3606
|
{ type: Component, args: [{
|
|
3584
3607
|
selector: 'aup-place-outlet',
|
|
3585
|
-
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",
|
|
3608
|
+
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",
|
|
3586
3609
|
animations: [LEFT_RIGHT_PLACE_ANIMATION],
|
|
3587
3610
|
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}"]
|
|
3588
3611
|
}] }
|
|
@@ -3591,6 +3614,7 @@ PlaceOutletComponent.decorators = [
|
|
|
3591
3614
|
PlaceOutletComponent.ctorParameters = () => [
|
|
3592
3615
|
{ type: Router },
|
|
3593
3616
|
{ type: PlaceRouter },
|
|
3617
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [AUP_PLACE_CONFIG,] }] },
|
|
3594
3618
|
{ type: PlaceOutletComponent, decorators: [{ type: SkipSelf }, { type: Optional }] }
|
|
3595
3619
|
];
|
|
3596
3620
|
PlaceOutletComponent.propDecorators = {
|
|
@@ -3672,6 +3696,8 @@ if (false) {
|
|
|
3672
3696
|
* @private
|
|
3673
3697
|
*/
|
|
3674
3698
|
PlaceOutletComponent.prototype.placeRouter;
|
|
3699
|
+
/** @type {?} */
|
|
3700
|
+
PlaceOutletComponent.prototype.placeConfig;
|
|
3675
3701
|
}
|
|
3676
3702
|
|
|
3677
3703
|
/**
|
|
@@ -3878,7 +3904,9 @@ PlaceModule.decorators = [
|
|
|
3878
3904
|
TabbedPlaceNavigationComponent,
|
|
3879
3905
|
ListPlaceNavComponent
|
|
3880
3906
|
],
|
|
3881
|
-
providers: [
|
|
3907
|
+
providers: [
|
|
3908
|
+
// {provide: AUP_PLACE_CONFIG, useValue: {animationDuration: "100ms"}}
|
|
3909
|
+
]
|
|
3882
3910
|
},] }
|
|
3883
3911
|
];
|
|
3884
3912
|
|
|
@@ -5192,5 +5220,5 @@ if (false) {
|
|
|
5192
5220
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5193
5221
|
*/
|
|
5194
5222
|
|
|
5195
|
-
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,
|
|
5223
|
+
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 };
|
|
5196
5224
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|