@coolon/angular-ui-powerups 0.0.33 → 0.0.34

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.
@@ -1693,11 +1693,9 @@ class PlaceComponent extends DisposableComponent {
1693
1693
  return PlaceComponent.getDefinition((/** @type {?} */ ((/** @type {?} */ (this.constructor)))));
1694
1694
  }
1695
1695
  /**
1696
- * @param {?=} nextPlace
1697
- * @param {?=} nextState
1698
1696
  * @return {?}
1699
1697
  */
1700
- canDeactivate(nextPlace, nextState) {
1698
+ canDeactivate() {
1701
1699
  return true;
1702
1700
  }
1703
1701
  /**
@@ -2605,21 +2603,7 @@ class LeavePlaceGuard {
2605
2603
  * @return {?}
2606
2604
  */
2607
2605
  canDeactivate(component, currentRoute, currentState, nextState) {
2608
- /** @type {?} */
2609
- const placeComponent = nextState ?
2610
- (/** @type {?} */ (nextState.root.firstChild.component)) :
2611
- null;
2612
- /** @type {?} */
2613
- const nextPlaceDefinition = lang.constructorChain(placeComponent).includes(PlaceComponent) ?
2614
- PlaceComponent.getDefinition((/** @type {?} */ ((/** @type {?} */ (placeComponent))))) :
2615
- null;
2616
- if (nextPlaceDefinition.isDescriptorFor(component)) {
2617
- // console.log("Same place different route. Do we need a place component hook for this??");
2618
- return true;
2619
- }
2620
- else {
2621
- return component.canDeactivate(nextPlaceDefinition, nextState);
2622
- }
2606
+ return component.canDeactivate();
2623
2607
  }
2624
2608
  }
2625
2609
  LeavePlaceGuard.decorators = [
@@ -3050,26 +3034,6 @@ function RouteId(type, options) {
3050
3034
  UseDelegate()(prototype, propertyKey);
3051
3035
  });
3052
3036
  }
3053
- /**
3054
- * @deprecated use RouteParameter instead.
3055
- * @template T
3056
- * @param {?} type
3057
- * @param {?=} options
3058
- * @return {?}
3059
- */
3060
- function QueryParameter(type, options) {
3061
- return (/**
3062
- * @param {?} prototype
3063
- * @param {?} propertyKey
3064
- * @return {?}
3065
- */
3066
- (prototype, propertyKey) => {
3067
- /** @type {?} */
3068
- const param = createDefinition(propertyKey, type, options, false);
3069
- Klass.get(prototype).addToOwnMetadataList(RouteParameterBindings.ROUTE_PARAMETER_LIST_KEY, param);
3070
- UseDelegate()(prototype, propertyKey);
3071
- });
3072
- }
3073
3037
  /**
3074
3038
  * @template T
3075
3039
  * @param {?} type
@@ -3090,27 +3054,6 @@ function RouteParameter(type, options) {
3090
3054
  UseDelegate()(prototype, propertyKey);
3091
3055
  });
3092
3056
  }
3093
- /**
3094
- * @deprecated use RouteParameterList instead
3095
- * @template E
3096
- * @param {?} elementType
3097
- * @param {?=} options
3098
- * @return {?}
3099
- */
3100
- function QueryParameterList(elementType, options) {
3101
- // assert.isTruthy(type.isValid());
3102
- return (/**
3103
- * @param {?} prototype
3104
- * @param {?} propertyKey
3105
- * @return {?}
3106
- */
3107
- (prototype, propertyKey) => {
3108
- /** @type {?} */
3109
- const param = createArrayDefinition(propertyKey, elementType, options);
3110
- Klass.get(prototype).addToOwnMetadataList(RouteParameterBindings.ROUTE_PARAMETER_LIST_KEY, param);
3111
- UseDelegate()(prototype, propertyKey);
3112
- });
3113
- }
3114
3057
  /**
3115
3058
  * @template E
3116
3059
  * @param {?} elementType
@@ -3323,5 +3266,5 @@ class VisitSnapshot {
3323
3266
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3324
3267
  */
3325
3268
 
3326
- export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, NumberInputComponent, ParameterType, PasswordInputComponent, Place, PlaceComponent, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceService, Point, QueryParameter, QueryParameterList, ResizeAwareComponent, ResolvedRouteParameterSnapshot, RouteId, RouteParameter, RouteParameterBindings, RouteParameterList, RouteParameterSanitiser, Sanitiser, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, VisitSnapshot, slideDownAndUpAnimation, CommandDirective as ɵa, FocusBindingDirective as ɵb, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh, PlaceModule as ɵi, EmptyStateComponent as ɵj, BusyOverlayComponent as ɵk, PlaceOutletComponent as ɵl, LEFT_RIGHT_PLACE_ANIMATION as ɵm, PlaceService as ɵn, TabbedPlaceNavigationComponent as ɵo, InteractionModule as ɵp, ActivityContainerComponent as ɵq, ConfirmationDialogComponent as ɵr, AbstractActivity as ɵs, ACTIVITY_DATA as ɵt, AlertDialogComponent as ɵv, ActivityOutletComponent as ɵx, DialogInteractionService as ɵy, InteractionContext as ɵz };
3269
+ export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, NumberInputComponent, ParameterType, PasswordInputComponent, Place, PlaceComponent, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceService, Point, ResizeAwareComponent, ResolvedRouteParameterSnapshot, RouteId, RouteParameter, RouteParameterBindings, RouteParameterList, RouteParameterSanitiser, Sanitiser, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, VisitSnapshot, slideDownAndUpAnimation, CommandDirective as ɵa, FocusBindingDirective as ɵb, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh, PlaceModule as ɵi, EmptyStateComponent as ɵj, BusyOverlayComponent as ɵk, PlaceOutletComponent as ɵl, LEFT_RIGHT_PLACE_ANIMATION as ɵm, PlaceService as ɵn, TabbedPlaceNavigationComponent as ɵo, InteractionModule as ɵp, ActivityContainerComponent as ɵq, ConfirmationDialogComponent as ɵr, AbstractActivity as ɵs, ACTIVITY_DATA as ɵt, AlertDialogComponent as ɵv, ActivityOutletComponent as ɵx, DialogInteractionService as ɵy, InteractionContext as ɵz };
3327
3270
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map