@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.
- package/esm2020/lib/index.mjs +2 -1
- package/esm2020/lib/util/cdk.mjs +22 -0
- package/esm2020/lib/util/index.mjs +2 -0
- package/esm2020/mapbox/lib/index.mjs +2 -1
- package/esm2020/mapbox/lib/mapbox.layout.component.mjs +2 -2
- package/esm2020/mapbox/lib/mapbox.menu.component.mjs +98 -0
- package/esm2020/mapbox/lib/mapbox.module.mjs +8 -4
- package/esm2020/mapbox/lib/mapbox.store.mjs +4 -1
- package/fesm2015/dereekb-dbx-web-mapbox.mjs +106 -10
- package/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2015/dereekb-dbx-web.mjs +23 -1
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web-mapbox.mjs +104 -10
- package/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +23 -1
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/util/cdk.d.ts +9 -0
- package/lib/util/index.d.ts +1 -0
- package/mapbox/esm2020/lib/index.mjs +2 -1
- package/mapbox/esm2020/lib/mapbox.layout.component.mjs +2 -2
- package/mapbox/esm2020/lib/mapbox.menu.component.mjs +98 -0
- package/mapbox/esm2020/lib/mapbox.module.mjs +8 -4
- package/mapbox/esm2020/lib/mapbox.store.mjs +4 -1
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs +106 -10
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs +104 -10
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/lib/index.d.ts +1 -0
- package/mapbox/lib/mapbox.menu.component.d.ts +30 -0
- package/mapbox/lib/mapbox.module.d.ts +8 -7
- package/mapbox/lib/mapbox.store.d.ts +6 -0
- package/mapbox/package.json +5 -5
- 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 "
|
|
8
|
-
import * as i5 from "@angular/
|
|
9
|
-
import * as i6 from "@
|
|
10
|
-
import * as i7 from "@
|
|
11
|
-
import * as i8 from "@angular/material/
|
|
12
|
-
import * as i9 from "angular
|
|
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
|
|
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);
|
package/mapbox/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/mapbox",
|
|
3
|
-
"version": "9.
|
|
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.
|
|
9
|
-
"@dereekb/dbx-web": "9.
|
|
10
|
-
"mapbox-gl": "^
|
|
11
|
-
"
|
|
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.
|
|
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.
|
|
11
|
-
"@dereekb/dbx-core": "9.
|
|
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",
|