@dereekb/dbx-web 9.23.21 → 9.23.22
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.base.component.mjs +2 -2
- package/calendar/esm2020/lib/calendar.store.mjs +8 -3
- package/calendar/fesm2015/dereekb-dbx-web-calendar.mjs +9 -4
- package/calendar/fesm2015/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/calendar/fesm2020/dereekb-dbx-web-calendar.mjs +9 -4
- package/calendar/fesm2020/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/calendar/lib/calendar.store.d.ts +1 -0
- package/calendar/package.json +3 -3
- package/esm2020/calendar/lib/calendar.base.component.mjs +2 -2
- package/esm2020/calendar/lib/calendar.store.mjs +8 -3
- package/esm2020/mapbox/lib/mapbox.rxjs.mjs +1 -1
- package/esm2020/mapbox/lib/mapbox.store.mjs +10 -1
- package/fesm2015/dereekb-dbx-web-calendar.mjs +9 -4
- package/fesm2015/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2015/dereekb-dbx-web-mapbox.mjs +57 -53
- package/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web-calendar.mjs +9 -4
- package/fesm2020/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web-mapbox.mjs +61 -53
- package/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/esm2020/lib/mapbox.rxjs.mjs +1 -1
- package/mapbox/esm2020/lib/mapbox.store.mjs +10 -1
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs +57 -53
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs +61 -53
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/lib/mapbox.rxjs.d.ts +2 -1
- package/mapbox/lib/mapbox.store.d.ts +3 -1
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
- package/table/package.json +3 -3
|
@@ -3,13 +3,14 @@ import { LatLngPointInput, LatLngBound, LatLngBoundCheckFunction, RoundNumberToS
|
|
|
3
3
|
import { OperatorFunction } from 'rxjs';
|
|
4
4
|
import { MapboxZoomLevel } from './mapbox';
|
|
5
5
|
import { MapboxViewportBoundFunction } from './mapbox.util';
|
|
6
|
+
export declare type FilterMapboxBoundReadItemValueFunction<T> = (value: T) => MapboxViewportBoundFunctionItemValue;
|
|
6
7
|
export interface FilterMapboxBoundConfig<T> {
|
|
7
8
|
boundFunctionObs: ObservableOrValue<MapboxViewportBoundFunction>;
|
|
8
9
|
boundDecisionObs: ObservableOrValue<LatLngBoundCheckFunction>;
|
|
9
10
|
/**
|
|
10
11
|
* Reads the value from the input item.
|
|
11
12
|
*/
|
|
12
|
-
readValue:
|
|
13
|
+
readValue: FilterMapboxBoundReadItemValueFunction<T>;
|
|
13
14
|
/**
|
|
14
15
|
* Minimum precision to retain. Defaults to LAT_LONG_10M_PRECISION
|
|
15
16
|
*/
|
|
@@ -2,12 +2,13 @@ import { OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { IsWithinLatLngBoundFunction, LatLngBound, LatLngPointInput, LatLngPoint, Maybe, OverlapsLatLngBoundFunction, Vector } from '@dereekb/util';
|
|
3
3
|
import { ComponentStore } from '@ngrx/component-store';
|
|
4
4
|
import { MapService } from 'ngx-mapbox-gl';
|
|
5
|
-
import { Observable, Subscription } from 'rxjs';
|
|
5
|
+
import { Observable, Subscription, OperatorFunction } from 'rxjs';
|
|
6
6
|
import * as MapboxGl from 'mapbox-gl';
|
|
7
7
|
import { DbxMapboxClickEvent, MapboxEaseTo, MapboxFitBounds, MapboxFitPositions, MapboxFlyTo, MapboxJumpTo, MapboxResetNorth, MapboxResetNorthPitch, MapboxRotateTo, MapboxSnapToNorth, MapboxStyleConfig, MapboxZoomLevel } from './mapbox';
|
|
8
8
|
import { DbxMapboxService } from './mapbox.service';
|
|
9
9
|
import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
10
10
|
import { MapboxViewportBoundFunction } from './mapbox.util';
|
|
11
|
+
import { FilterMapboxBoundConfig, FilterMapboxBoundReadItemValueFunction } from './mapbox.rxjs';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare type MapboxMapLifecycleState = 'init' | 'load' | 'render' | 'idle';
|
|
13
14
|
export declare type MapboxMapMoveState = 'init' | 'idle' | 'moving';
|
|
@@ -110,6 +111,7 @@ export declare class DbxMapboxMapStore extends ComponentStore<DbxMapboxStoreStat
|
|
|
110
111
|
atNextIdle(): Observable<boolean>;
|
|
111
112
|
calculateNextCenterWithOffset(inputOffset: LatLngPointInput): Observable<LatLngPoint>;
|
|
112
113
|
calculateNextCenterOffsetWithScreenMarginChange(sizing: DbxMapboxMarginCalculationSizing): Observable<LatLngPoint>;
|
|
114
|
+
filterByViewportBound<T>(input: FilterMapboxBoundReadItemValueFunction<T> | Omit<FilterMapboxBoundConfig<T>, 'boundFunctionObs' | 'boundDecisionObs'>): OperatorFunction<T[], T[]>;
|
|
113
115
|
readonly currentMapService$: Observable<Maybe<MapService>>;
|
|
114
116
|
readonly mapService$: Observable<MapService>;
|
|
115
117
|
readonly currentMapInstance$: Observable<Maybe<MapboxGl.Map>>;
|
package/mapbox/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/mapbox",
|
|
3
|
-
"version": "9.23.
|
|
3
|
+
"version": "9.23.22",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.1.0",
|
|
6
6
|
"@angular/core": "^14.1.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.23.
|
|
8
|
-
"@dereekb/dbx-web": "9.23.
|
|
7
|
+
"@dereekb/dbx-core": "9.23.22",
|
|
8
|
+
"@dereekb/dbx-web": "9.23.22",
|
|
9
9
|
"ngx-mapbox-gl": "^9.1.0",
|
|
10
10
|
"mapbox-gl": "^2.9.2",
|
|
11
11
|
"@mapbox/geo-viewport": "git+https://git@github.com/dereekb/geo-viewport#165513972f87dca23a20c177f4d173edc51b5e2f"
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web",
|
|
3
|
-
"version": "9.23.
|
|
3
|
+
"version": "9.23.22",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0",
|
|
7
7
|
"linkify-string": "4.0.0-beta.5",
|
|
8
8
|
"linkifyjs": "^4.0.0-beta.5",
|
|
9
9
|
"@angular/material": "^14.2.0",
|
|
10
|
-
"@dereekb/rxjs": "9.23.
|
|
11
|
-
"@dereekb/dbx-core": "9.23.
|
|
10
|
+
"@dereekb/rxjs": "9.23.22",
|
|
11
|
+
"@dereekb/dbx-core": "9.23.22",
|
|
12
12
|
"change-case": "^4.1.2",
|
|
13
13
|
"@angular/flex-layout": "^14.0.0-beta.41",
|
|
14
14
|
"ng-overlay-container": "^14.0.0",
|
package/table/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/table",
|
|
3
|
-
"version": "9.23.
|
|
3
|
+
"version": "9.23.22",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.2.0",
|
|
6
6
|
"@angular/core": "^14.2.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.23.
|
|
7
|
+
"@dereekb/dbx-core": "9.23.22",
|
|
8
8
|
"@angular/material": "^14.2.0",
|
|
9
9
|
"@angular/forms": "^14.2.0",
|
|
10
|
-
"@dereekb/dbx-web": "9.23.
|
|
10
|
+
"@dereekb/dbx-web": "9.23.22"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"tslib": "^2.3.0"
|