@dereekb/dbx-web 9.4.0 → 9.5.0

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 (34) hide show
  1. package/esm2020/lib/index.mjs +2 -1
  2. package/esm2020/lib/util/cdk.mjs +22 -0
  3. package/esm2020/lib/util/index.mjs +2 -0
  4. package/esm2020/mapbox/lib/index.mjs +2 -1
  5. package/esm2020/mapbox/lib/mapbox.layout.component.mjs +2 -2
  6. package/esm2020/mapbox/lib/mapbox.menu.component.mjs +98 -0
  7. package/esm2020/mapbox/lib/mapbox.module.mjs +8 -4
  8. package/esm2020/mapbox/lib/mapbox.store.mjs +4 -1
  9. package/fesm2015/dereekb-dbx-web-mapbox.mjs +106 -10
  10. package/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
  11. package/fesm2015/dereekb-dbx-web.mjs +23 -1
  12. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  13. package/fesm2020/dereekb-dbx-web-mapbox.mjs +104 -10
  14. package/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
  15. package/fesm2020/dereekb-dbx-web.mjs +23 -1
  16. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  17. package/lib/index.d.ts +1 -0
  18. package/lib/util/cdk.d.ts +9 -0
  19. package/lib/util/index.d.ts +1 -0
  20. package/mapbox/esm2020/lib/index.mjs +2 -1
  21. package/mapbox/esm2020/lib/mapbox.layout.component.mjs +2 -2
  22. package/mapbox/esm2020/lib/mapbox.menu.component.mjs +98 -0
  23. package/mapbox/esm2020/lib/mapbox.module.mjs +8 -4
  24. package/mapbox/esm2020/lib/mapbox.store.mjs +4 -1
  25. package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs +106 -10
  26. package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
  27. package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs +104 -10
  28. package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
  29. package/mapbox/lib/index.d.ts +1 -0
  30. package/mapbox/lib/mapbox.menu.component.d.ts +30 -0
  31. package/mapbox/lib/mapbox.module.d.ts +8 -7
  32. package/mapbox/lib/mapbox.store.d.ts +6 -0
  33. package/mapbox/package.json +5 -5
  34. package/package.json +3 -3
@@ -4,15 +4,16 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "./mapbox.store.map.directive";
5
5
  import * as i2 from "./mapbox.layout.component";
6
6
  import * as i3 from "./mapbox.layout.drawer.component";
7
- import * as i4 from "@angular/common";
8
- import * as i5 from "@angular/material/sidenav";
9
- import * as i6 from "@dereekb/dbx-core";
10
- import * as i7 from "@angular/material/button";
11
- import * as i8 from "@angular/material/icon";
12
- import * as i9 from "angular-resize-event";
7
+ import * as i4 from "./mapbox.menu.component";
8
+ import * as i5 from "@angular/common";
9
+ import * as i6 from "@angular/material/sidenav";
10
+ import * as i7 from "@dereekb/dbx-core";
11
+ import * as i8 from "@angular/material/button";
12
+ import * as i9 from "@angular/material/icon";
13
+ import * as i10 from "angular-resize-event";
13
14
  export declare class DbxMapboxModule {
14
15
  static forRoot(config: DbxMapboxConfig): ModuleWithProviders<DbxMapboxModule>;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxMapboxModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxMapboxModule, [typeof i1.DbxMapboxMapDirective, typeof i2.DbxMapboxLayoutComponent, typeof i3.DbxMapboxLayoutDrawerComponent], [typeof i4.CommonModule, typeof i5.MatSidenavModule, typeof i6.DbxInjectionComponentModule, typeof i7.MatButtonModule, typeof i8.MatIconModule, typeof i9.AngularResizeEventModule], [typeof i1.DbxMapboxMapDirective, typeof i2.DbxMapboxLayoutComponent, typeof i3.DbxMapboxLayoutDrawerComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxMapboxModule, [typeof i1.DbxMapboxMapDirective, typeof i2.DbxMapboxLayoutComponent, typeof i3.DbxMapboxLayoutDrawerComponent, typeof i4.DbxMapboxMenuComponent], [typeof i5.CommonModule, typeof i6.MatSidenavModule, typeof i7.DbxInjectionComponentModule, typeof i8.MatButtonModule, typeof i9.MatIconModule, typeof i10.AngularResizeEventModule], [typeof i1.DbxMapboxMapDirective, typeof i2.DbxMapboxLayoutComponent, typeof i3.DbxMapboxLayoutDrawerComponent, typeof i4.DbxMapboxMenuComponent]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxMapboxModule>;
18
19
  }
@@ -42,6 +42,10 @@ export interface DbxMapboxStoreState {
42
42
  * Latest double-click event
43
43
  */
44
44
  doubleClickEvent?: Maybe<DbxMapboxClickEvent>;
45
+ /**
46
+ * Latest contextmenu event.
47
+ */
48
+ rightClickEvent?: Maybe<DbxMapboxClickEvent>;
45
49
  /**
46
50
  * Whether or not to retain content between resets.
47
51
  *
@@ -122,6 +126,7 @@ export declare class DbxMapboxMapStore extends ComponentStore<DbxMapboxStoreStat
122
126
  readonly hasContent$: Observable<boolean>;
123
127
  readonly clickEvent$: Observable<Maybe<DbxMapboxClickEvent>>;
124
128
  readonly doubleClickEvent$: Observable<Maybe<DbxMapboxClickEvent>>;
129
+ readonly rightClickEvent$: Observable<Maybe<DbxMapboxClickEvent>>;
125
130
  private readonly _setMapService;
126
131
  private readonly _setLifecycleState;
127
132
  private readonly _setMoveState;
@@ -129,6 +134,7 @@ export declare class DbxMapboxMapStore extends ComponentStore<DbxMapboxStoreStat
129
134
  private readonly _setRotateState;
130
135
  private readonly _setClickEvent;
131
136
  private readonly _setDoubleClickEvent;
137
+ private readonly _setRightClickEvent;
132
138
  private readonly _setError;
133
139
  readonly clearContent: () => void;
134
140
  readonly setContent: (() => void) | ((observableOrValue: Maybe<DbxInjectionComponentConfig<unknown>> | Observable<Maybe<DbxInjectionComponentConfig<unknown>>>) => Subscription);
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.4.0",
3
+ "version": "9.5.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
7
  "rxjs": "^7.5.0",
8
- "@dereekb/util": "9.4.0",
9
- "@dereekb/dbx-web": "9.4.0",
10
- "mapbox-gl": "^2.9.2",
11
- "ngx-mapbox-gl": "^9.1.0"
8
+ "@dereekb/util": "9.5.0",
9
+ "@dereekb/dbx-web": "9.5.0",
10
+ "ngx-mapbox-gl": "^9.1.0",
11
+ "mapbox-gl": "^2.9.2"
12
12
  },
13
13
  "dependencies": {
14
14
  "tslib": "^2.3.0"
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "9.4.0",
3
+ "version": "9.5.0",
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.0.0",
10
- "@dereekb/rxjs": "9.4.0",
11
- "@dereekb/dbx-core": "9.4.0",
10
+ "@dereekb/rxjs": "9.5.0",
11
+ "@dereekb/dbx-core": "9.5.0",
12
12
  "angular-calendar": "^0.30.1",
13
13
  "@angular/flex-layout": "^14.0.0-beta.40",
14
14
  "ng-overlay-container": "^14.0.0",