@d3-maps/vue 0.1.0 → 0.1.1-next.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/dist/index.d.ts +19 -19
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "@d3-maps/core/index.css";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue6 from "vue";
|
|
3
3
|
import { App, StyleValue } from "vue";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _d3_maps_core1 from "@d3-maps/core";
|
|
5
5
|
import { MapConfig, MapContext, MapFeatureProps, MapMarkerProps, ZoomEvent, ZoomProps } from "@d3-maps/core";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Map.vue.d.ts
|
|
8
8
|
type __VLS_Slots$3 = {
|
|
9
9
|
default?: (props: MapContext) => unknown;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_base$3:
|
|
11
|
+
declare const __VLS_base$3: vue6.DefineComponent<MapConfig, {}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<MapConfig> & Readonly<{}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const __VLS_export$4: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
13
13
|
declare const _default: typeof __VLS_export$4;
|
|
14
14
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -19,11 +19,11 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/components/MapFeature.vue.d.ts
|
|
21
21
|
type __VLS_Props$2 = MapFeatureProps<StyleValue>;
|
|
22
|
-
declare const __VLS_export$3:
|
|
22
|
+
declare const __VLS_export$3: vue6.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {} & {
|
|
23
23
|
[x: string]: any;
|
|
24
|
-
}, string,
|
|
24
|
+
}, string, vue6.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
25
25
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string,
|
|
26
|
+
}>, {}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const _default$1: typeof __VLS_export$3;
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/components/MapFeatures.vue.d.ts
|
|
@@ -33,14 +33,14 @@ interface Props {
|
|
|
33
33
|
stroke?: string;
|
|
34
34
|
}
|
|
35
35
|
declare var __VLS_1$2: {
|
|
36
|
-
features:
|
|
36
|
+
features: _d3_maps_core1.MapFeature[];
|
|
37
37
|
};
|
|
38
38
|
type __VLS_Slots$2 = {} & {
|
|
39
39
|
default?: (props: typeof __VLS_1$2) => any;
|
|
40
40
|
};
|
|
41
|
-
declare const __VLS_base$2:
|
|
41
|
+
declare const __VLS_base$2: vue6.DefineComponent<Props, {}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {}, string, vue6.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
42
42
|
idKey: string;
|
|
43
|
-
}, {}, {}, {}, string,
|
|
43
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
44
44
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
45
45
|
declare const _default$2: typeof __VLS_export$2;
|
|
46
46
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -55,13 +55,13 @@ declare var __VLS_1$1: {};
|
|
|
55
55
|
type __VLS_Slots$1 = {} & {
|
|
56
56
|
default?: (props: typeof __VLS_1$1) => any;
|
|
57
57
|
};
|
|
58
|
-
declare const __VLS_base$1:
|
|
58
|
+
declare const __VLS_base$1: vue6.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {} & {
|
|
59
59
|
[x: string]: any;
|
|
60
|
-
}, string,
|
|
60
|
+
}, string, vue6.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
61
61
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
62
62
|
}>, {
|
|
63
|
-
coordinates:
|
|
64
|
-
}, {}, {}, {}, string,
|
|
63
|
+
coordinates: _d3_maps_core1.MapMarkerCoordinates;
|
|
64
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
65
65
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
66
66
|
declare const _default$3: typeof __VLS_export$1;
|
|
67
67
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -76,14 +76,14 @@ declare var __VLS_1: {};
|
|
|
76
76
|
type __VLS_Slots = {} & {
|
|
77
77
|
default?: (props: typeof __VLS_1) => any;
|
|
78
78
|
};
|
|
79
|
-
declare const __VLS_base:
|
|
80
|
-
container:
|
|
81
|
-
zoomBehavior:
|
|
82
|
-
}, {}, {}, {},
|
|
79
|
+
declare const __VLS_base: vue6.DefineComponent<__VLS_Props, {
|
|
80
|
+
container: vue6.Ref<SVGGElement | null, SVGGElement | null>;
|
|
81
|
+
zoomBehavior: vue6.ComputedRef<_d3_maps_core1.ZoomBehavior<SVGSVGElement, unknown>>;
|
|
82
|
+
}, {}, {}, {}, vue6.ComponentOptionsMixin, vue6.ComponentOptionsMixin, {} & {
|
|
83
83
|
zoom: (payload: ZoomEvent) => any;
|
|
84
84
|
zoomstart: (payload: ZoomEvent) => any;
|
|
85
85
|
zoomend: (payload: ZoomEvent) => any;
|
|
86
|
-
}, string,
|
|
86
|
+
}, string, vue6.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
87
87
|
onZoom?: ((payload: ZoomEvent) => any) | undefined;
|
|
88
88
|
onZoomstart?: ((payload: ZoomEvent) => any) | undefined;
|
|
89
89
|
onZoomend?: ((payload: ZoomEvent) => any) | undefined;
|
|
@@ -92,7 +92,7 @@ declare const __VLS_base: vue16.DefineComponent<__VLS_Props, {
|
|
|
92
92
|
zoom: number;
|
|
93
93
|
minZoom: number;
|
|
94
94
|
maxZoom: number;
|
|
95
|
-
}, {}, {}, {}, string,
|
|
95
|
+
}, {}, {}, {}, string, vue6.ComponentProvideOptions, false, {}, any>;
|
|
96
96
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
97
97
|
declare const _default$4: typeof __VLS_export;
|
|
98
98
|
type __VLS_WithSlots<T, S> = T & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d3-maps/vue",
|
|
3
|
-
"version": "0.1.0",
|
|
3
|
+
"version": "0.1.1-next.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Vue bindings for @d3-maps/core to build reactive D3 SVG maps",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vue": "3.5.25"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@d3-maps/core": "0.1.0"
|
|
47
|
+
"@d3-maps/core": "0.1.1-next.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/geojson": "^7946.0.16",
|