@coolon/angular-ui-powerups 0.0.48 → 0.0.49

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.
@@ -3510,6 +3510,7 @@
3510
3510
  _this.router = router;
3511
3511
  _this.placeHistory = placeHistory;
3512
3512
  _this.animate = true;
3513
+ _this._activePlace = new pectin.MutableValueModel();
3513
3514
  _this._incomingRouteChange = new pectin.Guard();
3514
3515
  _this._inOutletUpdate = new pectin.Guard();
3515
3516
  _this._activatedRouteModel = new pectin.MutableValueModel();
@@ -3562,6 +3563,14 @@
3562
3563
  // txo.observe('urls', urls);
3563
3564
  // txo.observe('this._resolvedParameters', this._resolvedParameters);
3564
3565
  }
3566
+ /**
3567
+ * @return {?}
3568
+ */
3569
+ PlaceOutletComponent.prototype.ngOnInit = /**
3570
+ * @return {?}
3571
+ */
3572
+ function () {
3573
+ };
3565
3574
  Object.defineProperty(PlaceOutletComponent.prototype, "incomingRouteChange", {
3566
3575
  get: /**
3567
3576
  * @return {?}
@@ -3572,14 +3581,16 @@
3572
3581
  enumerable: true,
3573
3582
  configurable: true
3574
3583
  });
3575
- /**
3576
- * @return {?}
3577
- */
3578
- PlaceOutletComponent.prototype.ngOnInit = /**
3579
- * @return {?}
3580
- */
3581
- function () {
3582
- };
3584
+ Object.defineProperty(PlaceOutletComponent.prototype, "activePlace", {
3585
+ get: /**
3586
+ * @return {?}
3587
+ */
3588
+ function () {
3589
+ return this._activePlace.readonly;
3590
+ },
3591
+ enumerable: true,
3592
+ configurable: true
3593
+ });
3583
3594
  /**
3584
3595
  * @param {?} routerOutlet
3585
3596
  * @param {?} place
@@ -3597,7 +3608,7 @@
3597
3608
  */
3598
3609
  function () {
3599
3610
  try {
3600
- _this._currentPlace = place;
3611
+ _this._activePlace.value = place;
3601
3612
  _this._activatedRouteModel.value = routerOutlet.activatedRoute;
3602
3613
  _this._placeDefinition.value = place.placeDefinition;
3603
3614
  place.initialiseBindings(_this._resolvedParameters);
@@ -3627,7 +3638,7 @@
3627
3638
  * @return {?}
3628
3639
  */
3629
3640
  function () {
3630
- _this._currentPlace = null;
3641
+ _this._activePlace.value = null;
3631
3642
  _this._activatedRouteModel.value = null;
3632
3643
  _this._placeDefinition.value = null;
3633
3644
  }));
@@ -3650,8 +3661,8 @@
3650
3661
  * @return {?}
3651
3662
  */
3652
3663
  function () {
3653
- if (this._currentPlace) {
3654
- this._currentPlace.onPlaceReady();
3664
+ if (this._activePlace.value) {
3665
+ this._activePlace.value.onPlaceReady();
3655
3666
  }
3656
3667
  };
3657
3668
  /**
@@ -3710,7 +3721,7 @@
3710
3721
  * @type {?}
3711
3722
  * @private
3712
3723
  */
3713
- PlaceOutletComponent.prototype._currentPlace;
3724
+ PlaceOutletComponent.prototype._activePlace;
3714
3725
  /**
3715
3726
  * @type {?}
3716
3727
  * @private