@dereekb/dbx-web 9.24.18 → 9.24.19

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.
Files changed (31) hide show
  1. package/calendar/package.json +2 -2
  2. package/esm2020/lib/dbx-web.module.mjs +1 -17
  3. package/esm2020/lib/extension/index.mjs +4 -1
  4. package/esm2020/lib/extension/structure/index.mjs +4 -0
  5. package/esm2020/lib/extension/structure/structure.body.directive.mjs +28 -0
  6. package/esm2020/lib/extension/structure/structure.module.mjs +27 -0
  7. package/esm2020/lib/extension/structure/structure.structure.directive.mjs +23 -0
  8. package/esm2020/mapbox/lib/mapbox.store.mjs +23 -3
  9. package/fesm2015/dereekb-dbx-web-mapbox.mjs +22 -2
  10. package/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
  11. package/fesm2015/dereekb-dbx-web.mjs +103 -47
  12. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  13. package/fesm2020/dereekb-dbx-web-mapbox.mjs +22 -2
  14. package/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
  15. package/fesm2020/dereekb-dbx-web.mjs +101 -47
  16. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  17. package/lib/dbx-web.module.d.ts +0 -10
  18. package/lib/extension/index.d.ts +1 -0
  19. package/lib/extension/structure/index.d.ts +3 -0
  20. package/lib/extension/structure/structure.body.directive.d.ts +9 -0
  21. package/lib/extension/structure/structure.module.d.ts +9 -0
  22. package/lib/extension/structure/structure.structure.directive.d.ts +15 -0
  23. package/mapbox/esm2020/lib/mapbox.store.mjs +23 -3
  24. package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs +22 -2
  25. package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
  26. package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs +22 -2
  27. package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
  28. package/mapbox/lib/mapbox.store.d.ts +14 -0
  29. package/mapbox/package.json +3 -3
  30. package/package.json +3 -3
  31. package/table/package.json +3 -3
@@ -70,6 +70,10 @@ export interface DbxMapboxStoreState {
70
70
  * Map margin/offset
71
71
  */
72
72
  margin?: Maybe<DbxMapboxMarginCalculationSizing>;
73
+ /**
74
+ * Minimum vector size to use for the viewportBoundFunction$. If not defined there is no minimum.
75
+ */
76
+ minimumVirtualViewportSize?: Maybe<Partial<Vector>>;
73
77
  }
74
78
  /**
75
79
  * Store used for retrieving information.
@@ -153,11 +157,21 @@ export declare class DbxMapboxMapStore extends ComponentStore<DbxMapboxStoreStat
153
157
  readonly hasContent$: Observable<boolean>;
154
158
  readonly currentMapCanvasSize$: Observable<Maybe<Vector>>;
155
159
  readonly mapCanvasSize$: Observable<Vector>;
160
+ readonly minimumVirtualViewportSize$: Observable<Maybe<Partial<Vector>>>;
161
+ readonly rawViewportBoundFunction$: Observable<MapboxViewportBoundFunction>;
162
+ /**
163
+ * Creates a MapboxViewportBoundFunction observable that returns the minimum viewport size.
164
+ *
165
+ * @param minVector
166
+ * @returns
167
+ */
168
+ viewportBoundFunctionWithMinimumSize(minVector: Partial<Vector>): Observable<MapboxViewportBoundFunction>;
156
169
  readonly viewportBoundFunction$: Observable<MapboxViewportBoundFunction>;
157
170
  readonly clickEvent$: Observable<Maybe<DbxMapboxClickEvent>>;
158
171
  readonly doubleClickEvent$: Observable<Maybe<DbxMapboxClickEvent>>;
159
172
  readonly rightClickEvent$: Observable<Maybe<DbxMapboxClickEvent>>;
160
173
  readonly setMargin: (() => void) | ((observableOrValue: Maybe<DbxMapboxMarginCalculationSizing> | Observable<Maybe<DbxMapboxMarginCalculationSizing>>) => Subscription);
174
+ readonly setMinimumVirtualViewportSize: (() => void) | ((observableOrValue: Maybe<Partial<Vector>> | Observable<Maybe<Partial<Vector>>>) => Subscription);
161
175
  private readonly _setMapService;
162
176
  private readonly _setLifecycleState;
163
177
  private readonly _setMoveState;
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.24.18",
3
+ "version": "9.24.19",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
- "@dereekb/dbx-core": "9.24.18",
8
- "@dereekb/dbx-web": "9.24.18",
7
+ "@dereekb/dbx-core": "9.24.19",
8
+ "@dereekb/dbx-web": "9.24.19",
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.24.18",
3
+ "version": "9.24.19",
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.24.18",
11
- "@dereekb/dbx-core": "9.24.18",
10
+ "@dereekb/rxjs": "9.24.19",
11
+ "@dereekb/dbx-core": "9.24.19",
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",
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/table",
3
- "version": "9.24.18",
3
+ "version": "9.24.19",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
7
- "@dereekb/dbx-core": "9.24.18",
7
+ "@dereekb/dbx-core": "9.24.19",
8
8
  "@angular/material": "^14.2.0",
9
9
  "@angular/forms": "^14.2.0",
10
- "@dereekb/dbx-web": "9.24.18"
10
+ "@dereekb/dbx-web": "9.24.19"
11
11
  },
12
12
  "dependencies": {
13
13
  "tslib": "^2.3.0"