@coolon/angular-ui-powerups 3.10.1 → 3.10.2

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [3.10.2](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.10.1...v3.10.2) (2021-02-08)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * added placeRouter.waitUntilIdle ([7a52bf1](https://bitbucket.org/coolon/angular-ui-powerups/commit/7a52bf1d346a76d3730a7d1cda9aa2613033eb43))
11
+
5
12
  ### [3.10.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.10.0...v3.10.1) (2021-02-08)
6
13
 
7
14
  ## [3.10.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v3.9.0...v3.10.0) (2021-02-07)
@@ -7362,6 +7362,16 @@
7362
7362
  PlaceRouter.prototype.isNavigating = function () {
7363
7363
  return this.navigationInProgress.value;
7364
7364
  };
7365
+ PlaceRouter.prototype.waitUntilIdle = function () {
7366
+ var _this = this;
7367
+ var when = pectin.Dsl.disposeWith(this).when;
7368
+ return new Promise(function (resolve) {
7369
+ when(_this.navigationInProgress).becomesFalsey(function () { return resolve(); }, {
7370
+ initialValue: 'evaluate',
7371
+ once: true
7372
+ });
7373
+ });
7374
+ };
7365
7375
  // @Trace()
7366
7376
  PlaceRouter.prototype.onPopState = function (event) {
7367
7377
  pectin.assert.isTruthy(event.navigationTrigger === 'popstate');