@sumaris-net/ngx-components 2.2.6-rc1 → 2.2.6-rc2
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/esm2020/src/app/shared/toolbar/toolbar.mjs +7 -5
- package/fesm2015/sumaris-net.ngx-components.mjs +6 -4
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +6 -4
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/toolbar/toolbar.d.ts +1 -1
|
@@ -18797,15 +18797,17 @@ class ToolbarComponent {
|
|
|
18797
18797
|
// Listen progress bar service mode
|
|
18798
18798
|
if (progressBarService) {
|
|
18799
18799
|
this.progressBarMode$ = progressBarService.onProgressChanged
|
|
18800
|
-
.pipe(startWith(
|
|
18801
|
-
distinctUntilChanged()
|
|
18800
|
+
.pipe(startWith(null), debounceTime(100), // wait 100ms, to group changes
|
|
18801
|
+
distinctUntilChanged(),
|
|
18802
|
+
// DEBUG
|
|
18803
|
+
tap((mode) => console.debug('[toolbar] Updating progressBarMode: ' + mode)));
|
|
18802
18804
|
}
|
|
18803
18805
|
}
|
|
18804
18806
|
set backHref(value) {
|
|
18805
18807
|
if (value !== this._backHref) {
|
|
18806
18808
|
this._backHref = value;
|
|
18807
18809
|
this.canGoBack = this.canGoBack || isNotNil(value);
|
|
18808
|
-
this.
|
|
18810
|
+
this.markForCheck();
|
|
18809
18811
|
}
|
|
18810
18812
|
}
|
|
18811
18813
|
get backHref() {
|
|
@@ -18815,7 +18817,7 @@ class ToolbarComponent {
|
|
|
18815
18817
|
if (value !== this._defaultBackHref) {
|
|
18816
18818
|
this._defaultBackHref = value;
|
|
18817
18819
|
this.canGoBack = this.canGoBack || isNotNil(value);
|
|
18818
|
-
this.
|
|
18820
|
+
this.markForCheck();
|
|
18819
18821
|
}
|
|
18820
18822
|
}
|
|
18821
18823
|
get defaultBackHref() {
|