@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.
@@ -2214,16 +2214,12 @@
2214
2214
  configurable: true
2215
2215
  });
2216
2216
  /**
2217
- * @param {?=} nextPlace
2218
- * @param {?=} nextState
2219
2217
  * @return {?}
2220
2218
  */
2221
2219
  PlaceComponent.prototype.canDeactivate = /**
2222
- * @param {?=} nextPlace
2223
- * @param {?=} nextState
2224
2220
  * @return {?}
2225
2221
  */
2226
- function (nextPlace, nextState) {
2222
+ function () {
2227
2223
  return true;
2228
2224
  };
2229
2225
  /**
@@ -3234,21 +3230,7 @@
3234
3230
  * @return {?}
3235
3231
  */
3236
3232
  function (component, currentRoute, currentState, nextState) {
3237
- /** @type {?} */
3238
- var placeComponent = nextState ?
3239
- (/** @type {?} */ (nextState.root.firstChild.component)) :
3240
- null;
3241
- /** @type {?} */
3242
- var nextPlaceDefinition = pectin.lang.constructorChain(placeComponent).includes(exports.PlaceComponent) ?
3243
- exports.PlaceComponent.getDefinition((/** @type {?} */ ((/** @type {?} */ (placeComponent))))) :
3244
- null;
3245
- if (nextPlaceDefinition.isDescriptorFor(component)) {
3246
- // console.log("Same place different route. Do we need a place component hook for this??");
3247
- return true;
3248
- }
3249
- else {
3250
- return component.canDeactivate(nextPlaceDefinition, nextState);
3251
- }
3233
+ return component.canDeactivate();
3252
3234
  };
3253
3235
  LeavePlaceGuard.decorators = [
3254
3236
  { type: core.Injectable, args: [{
@@ -3792,26 +3774,6 @@
3792
3774
  pectin.UseDelegate()(prototype, propertyKey);
3793
3775
  });
3794
3776
  }
3795
- /**
3796
- * @deprecated use RouteParameter instead.
3797
- * @template T
3798
- * @param {?} type
3799
- * @param {?=} options
3800
- * @return {?}
3801
- */
3802
- function QueryParameter(type, options) {
3803
- return (/**
3804
- * @param {?} prototype
3805
- * @param {?} propertyKey
3806
- * @return {?}
3807
- */
3808
- function (prototype, propertyKey) {
3809
- /** @type {?} */
3810
- var param = createDefinition(propertyKey, type, options, false);
3811
- typescriptUtilities.Klass.get(prototype).addToOwnMetadataList(exports.RouteParameterBindings.ROUTE_PARAMETER_LIST_KEY, param);
3812
- pectin.UseDelegate()(prototype, propertyKey);
3813
- });
3814
- }
3815
3777
  /**
3816
3778
  * @template T
3817
3779
  * @param {?} type
@@ -3832,27 +3794,6 @@
3832
3794
  pectin.UseDelegate()(prototype, propertyKey);
3833
3795
  });
3834
3796
  }
3835
- /**
3836
- * @deprecated use RouteParameterList instead
3837
- * @template E
3838
- * @param {?} elementType
3839
- * @param {?=} options
3840
- * @return {?}
3841
- */
3842
- function QueryParameterList(elementType, options) {
3843
- // assert.isTruthy(type.isValid());
3844
- return (/**
3845
- * @param {?} prototype
3846
- * @param {?} propertyKey
3847
- * @return {?}
3848
- */
3849
- function (prototype, propertyKey) {
3850
- /** @type {?} */
3851
- var param = createArrayDefinition(propertyKey, elementType, options);
3852
- typescriptUtilities.Klass.get(prototype).addToOwnMetadataList(exports.RouteParameterBindings.ROUTE_PARAMETER_LIST_KEY, param);
3853
- pectin.UseDelegate()(prototype, propertyKey);
3854
- });
3855
- }
3856
3797
  /**
3857
3798
  * @template E
3858
3799
  * @param {?} elementType
@@ -4110,8 +4051,6 @@
4110
4051
  exports.PlaceRouteGuard = PlaceRouteGuard;
4111
4052
  exports.PlaceService = PlaceService;
4112
4053
  exports.Point = Point;
4113
- exports.QueryParameter = QueryParameter;
4114
- exports.QueryParameterList = QueryParameterList;
4115
4054
  exports.ResizeAwareComponent = ResizeAwareComponent;
4116
4055
  exports.ResolvedRouteParameterSnapshot = ResolvedRouteParameterSnapshot;
4117
4056
  exports.RouteId = RouteId;