@dereekb/dbx-web 9.24.20 → 9.24.21
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/calendar/esm2020/lib/calendar.store.mjs +2 -2
- package/calendar/fesm2015/dereekb-dbx-web-calendar.mjs +1 -1
- package/calendar/fesm2015/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/calendar/fesm2020/dereekb-dbx-web-calendar.mjs +1 -1
- package/calendar/fesm2020/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/calendar/package.json +2 -2
- package/esm2020/calendar/lib/calendar.store.mjs +2 -2
- package/esm2020/mapbox/lib/mapbox.store.mjs +7 -7
- package/fesm2015/dereekb-dbx-web-calendar.mjs +1 -1
- package/fesm2015/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2015/dereekb-dbx-web-mapbox.mjs +6 -6
- package/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web-calendar.mjs +1 -1
- package/fesm2020/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web-mapbox.mjs +6 -6
- package/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/esm2020/lib/mapbox.store.mjs +7 -7
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs +6 -6
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs +6 -6
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
- package/table/package.json +3 -3
|
@@ -426,10 +426,10 @@ class DbxMapboxMapStore extends ComponentStore {
|
|
|
426
426
|
}
|
|
427
427
|
}), shareReplay(1));
|
|
428
428
|
this.whenInitialized$ = this.isInitialized$.pipe(filter((x) => true), shareReplay(1));
|
|
429
|
-
this.isRendering$ = this.whenInitialized$.pipe(switchMap(() => this.lifecycleState$.pipe(map((x) => x === 'render'), distinctUntilChanged(), shareReplay())));
|
|
430
|
-
this.isMoving$ = this.whenInitialized$.pipe(switchMap(() => this.moveState$.pipe(map((x) => x === 'moving'), distinctUntilChanged(), shareReplay())));
|
|
431
|
-
this.isZooming$ = this.whenInitialized$.pipe(switchMap(() => this.zoomState$.pipe(map((x) => x === 'zooming'), distinctUntilChanged(), shareReplay())));
|
|
432
|
-
this.isRotating$ = this.whenInitialized$.pipe(switchMap(() => this.rotateState$.pipe(map((x) => x === 'rotating'), distinctUntilChanged(), shareReplay())));
|
|
429
|
+
this.isRendering$ = this.whenInitialized$.pipe(switchMap(() => this.lifecycleState$.pipe(map((x) => x === 'render'), distinctUntilChanged(), shareReplay(1))));
|
|
430
|
+
this.isMoving$ = this.whenInitialized$.pipe(switchMap(() => this.moveState$.pipe(map((x) => x === 'moving'), distinctUntilChanged(), shareReplay(1))));
|
|
431
|
+
this.isZooming$ = this.whenInitialized$.pipe(switchMap(() => this.zoomState$.pipe(map((x) => x === 'zooming'), distinctUntilChanged(), shareReplay(1))));
|
|
432
|
+
this.isRotating$ = this.whenInitialized$.pipe(switchMap(() => this.rotateState$.pipe(map((x) => x === 'rotating'), distinctUntilChanged(), shareReplay(1))));
|
|
433
433
|
this._movingTimer = this.movingTimer();
|
|
434
434
|
this._renderingTimer = this.lifecycleRenderTimer();
|
|
435
435
|
this.centerNow$ = this.whenInitialized$.pipe(switchMap(() => this.mapInstance$.pipe(switchMap((x) => this._movingTimer.pipe(map(() => this.latLngPoint(x.getCenter())))), shareReplay(1))), shareReplay(1));
|
|
@@ -557,7 +557,7 @@ class DbxMapboxMapStore extends ComponentStore {
|
|
|
557
557
|
else {
|
|
558
558
|
return of(0);
|
|
559
559
|
}
|
|
560
|
-
}), shareReplay());
|
|
560
|
+
}), shareReplay(1));
|
|
561
561
|
}
|
|
562
562
|
lifecycleRenderTimer(period = this.timerRefreshPeriod) {
|
|
563
563
|
return this.lifecycleState$.pipe(switchMap((x) => {
|
|
@@ -567,7 +567,7 @@ class DbxMapboxMapStore extends ComponentStore {
|
|
|
567
567
|
else {
|
|
568
568
|
return of(0);
|
|
569
569
|
}
|
|
570
|
-
}), shareReplay());
|
|
570
|
+
}), shareReplay(1));
|
|
571
571
|
}
|
|
572
572
|
atNextIdle() {
|
|
573
573
|
return this.moveState$.pipe(map((x) => x === 'idle'), first());
|