@baidumap/vue-bmap 1.0.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 (52) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +271 -0
  3. package/dist/components/Control/index.d.ts +186 -0
  4. package/dist/components/Layer/index.d.ts +138 -0
  5. package/dist/components/Map/Map.d.ts +340 -0
  6. package/dist/components/Map/MapRef.d.ts +204 -0
  7. package/dist/components/Map/index.d.ts +4 -0
  8. package/dist/components/Overlay/InfoWindow.d.ts +193 -0
  9. package/dist/components/Overlay/index.d.ts +50 -0
  10. package/dist/components/Overlay/types.d.ts +799 -0
  11. package/dist/composables/index.d.ts +12 -0
  12. package/dist/composables/useCapabilities.d.ts +5 -0
  13. package/dist/composables/useDriver.d.ts +5 -0
  14. package/dist/composables/useGeocoder.d.ts +17 -0
  15. package/dist/composables/useIcon.d.ts +5 -0
  16. package/dist/composables/useMap.d.ts +8 -0
  17. package/dist/composables/useMapEvent.d.ts +4 -0
  18. package/dist/composables/useMapReady.d.ts +11 -0
  19. package/dist/composables/useMapRef.d.ts +8 -0
  20. package/dist/composables/useServiceTimeout.d.ts +7 -0
  21. package/dist/composables/useSymbol.d.ts +5 -0
  22. package/dist/const/index.d.ts +19 -0
  23. package/dist/constants/index.d.ts +195 -0
  24. package/dist/context/index.d.ts +31 -0
  25. package/dist/drivers/capabilityMatrix.d.ts +3 -0
  26. package/dist/drivers/createDriver.d.ts +18 -0
  27. package/dist/drivers/types.d.ts +359 -0
  28. package/dist/drivers/unsupported.d.ts +66 -0
  29. package/dist/drivers/v3Driver.d.ts +13 -0
  30. package/dist/drivers/v4Driver.d.ts +15 -0
  31. package/dist/index.cjs +2 -0
  32. package/dist/index.cjs.map +1 -0
  33. package/dist/index.d.ts +22 -0
  34. package/dist/index.js +4121 -0
  35. package/dist/index.js.map +1 -0
  36. package/dist/loader/index.d.ts +21 -0
  37. package/dist/loader/registry.d.ts +13 -0
  38. package/dist/loader/stableHash.d.ts +2 -0
  39. package/dist/provider/BMapProvider.d.ts +108 -0
  40. package/dist/types/core.d.ts +82 -0
  41. package/dist/types/index.d.ts +111 -0
  42. package/dist/types/results.d.ts +171 -0
  43. package/dist/types-skd.d.ts +21 -0
  44. package/dist/utils/createComponent.d.ts +51 -0
  45. package/dist/utils/debugWarn.d.ts +22 -0
  46. package/dist/utils/event.d.ts +7 -0
  47. package/dist/utils/handle.d.ts +16 -0
  48. package/dist/utils/pointEquals.d.ts +7 -0
  49. package/dist/utils/sdk.d.ts +47 -0
  50. package/dist/utils/shallowEqual.d.ts +2 -0
  51. package/dist/utils/stableStringify.d.ts +10 -0
  52. package/package.json +71 -0
@@ -0,0 +1,193 @@
1
+ import { PropType } from 'vue';
2
+ import { Point } from '../../types';
3
+
4
+ export declare const InfoWindow: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ content: {
6
+ type: PropType<string | HTMLElement>;
7
+ required: true;
8
+ };
9
+ open: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ position: {
14
+ type: PropType<Point>;
15
+ default: any;
16
+ };
17
+ width: {
18
+ type: NumberConstructor;
19
+ default: any;
20
+ };
21
+ height: {
22
+ type: NumberConstructor;
23
+ default: any;
24
+ };
25
+ maxWidth: {
26
+ type: NumberConstructor;
27
+ default: any;
28
+ };
29
+ offset: {
30
+ default: any;
31
+ };
32
+ title: {
33
+ type: StringConstructor;
34
+ default: any;
35
+ };
36
+ enableAutoPan: {
37
+ type: BooleanConstructor;
38
+ default: any;
39
+ };
40
+ enableCloseOnClick: {
41
+ type: BooleanConstructor;
42
+ default: any;
43
+ };
44
+ enableMessage: {
45
+ type: BooleanConstructor;
46
+ default: any;
47
+ };
48
+ message: {
49
+ type: StringConstructor;
50
+ default: any;
51
+ };
52
+ maxContent: {
53
+ type: StringConstructor;
54
+ default: any;
55
+ };
56
+ enableMaximize: {
57
+ type: BooleanConstructor;
58
+ default: any;
59
+ };
60
+ enableSearchTool: {
61
+ type: BooleanConstructor;
62
+ default: any;
63
+ };
64
+ onOpen: {
65
+ type: PropType<(raw: unknown) => void>;
66
+ default: any;
67
+ };
68
+ onClose: {
69
+ type: PropType<(raw: unknown) => void>;
70
+ default: any;
71
+ };
72
+ onClickClose: {
73
+ type: PropType<(raw: unknown) => void>;
74
+ default: any;
75
+ };
76
+ onMaximize: {
77
+ type: PropType<(raw: unknown) => void>;
78
+ default: any;
79
+ };
80
+ onRestore: {
81
+ type: PropType<(raw: unknown) => void>;
82
+ default: any;
83
+ };
84
+ onResize: {
85
+ type: PropType<(raw: unknown) => void>;
86
+ default: any;
87
+ };
88
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
89
+ content: {
90
+ type: PropType<string | HTMLElement>;
91
+ required: true;
92
+ };
93
+ open: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
97
+ position: {
98
+ type: PropType<Point>;
99
+ default: any;
100
+ };
101
+ width: {
102
+ type: NumberConstructor;
103
+ default: any;
104
+ };
105
+ height: {
106
+ type: NumberConstructor;
107
+ default: any;
108
+ };
109
+ maxWidth: {
110
+ type: NumberConstructor;
111
+ default: any;
112
+ };
113
+ offset: {
114
+ default: any;
115
+ };
116
+ title: {
117
+ type: StringConstructor;
118
+ default: any;
119
+ };
120
+ enableAutoPan: {
121
+ type: BooleanConstructor;
122
+ default: any;
123
+ };
124
+ enableCloseOnClick: {
125
+ type: BooleanConstructor;
126
+ default: any;
127
+ };
128
+ enableMessage: {
129
+ type: BooleanConstructor;
130
+ default: any;
131
+ };
132
+ message: {
133
+ type: StringConstructor;
134
+ default: any;
135
+ };
136
+ maxContent: {
137
+ type: StringConstructor;
138
+ default: any;
139
+ };
140
+ enableMaximize: {
141
+ type: BooleanConstructor;
142
+ default: any;
143
+ };
144
+ enableSearchTool: {
145
+ type: BooleanConstructor;
146
+ default: any;
147
+ };
148
+ onOpen: {
149
+ type: PropType<(raw: unknown) => void>;
150
+ default: any;
151
+ };
152
+ onClose: {
153
+ type: PropType<(raw: unknown) => void>;
154
+ default: any;
155
+ };
156
+ onClickClose: {
157
+ type: PropType<(raw: unknown) => void>;
158
+ default: any;
159
+ };
160
+ onMaximize: {
161
+ type: PropType<(raw: unknown) => void>;
162
+ default: any;
163
+ };
164
+ onRestore: {
165
+ type: PropType<(raw: unknown) => void>;
166
+ default: any;
167
+ };
168
+ onResize: {
169
+ type: PropType<(raw: unknown) => void>;
170
+ default: any;
171
+ };
172
+ }>> & Readonly<{}>, {
173
+ width: number;
174
+ height: number;
175
+ onOpen: (raw: unknown) => void;
176
+ onClose: (raw: unknown) => void;
177
+ offset: unknown;
178
+ title: string;
179
+ position: Point;
180
+ maxWidth: number;
181
+ enableAutoPan: boolean;
182
+ enableCloseOnClick: boolean;
183
+ enableMessage: boolean;
184
+ message: string;
185
+ maxContent: string;
186
+ enableMaximize: boolean;
187
+ enableSearchTool: boolean;
188
+ onResize: (raw: unknown) => void;
189
+ open: boolean;
190
+ onClickClose: (raw: unknown) => void;
191
+ onMaximize: (raw: unknown) => void;
192
+ onRestore: (raw: unknown) => void;
193
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,50 @@
1
+ export type { MarkerProps, LabelProps, PolylineProps, PolygonProps, CircleProps, RectangleProps, BezierCurveProps, PrismProps, GroundOverlayProps, GroundPointProps, PointCollectionProps, InfoWindowProps, SymbolProps, IconProps, IconSequenceProps, HotspotProps, CustomOverlayProps, Marker3DProps, Marker3DOptions, IconSequenceHandle, MarkerOptions, LabelOptions, PolylineOptions, PolygonOptions, CircleOptions, RectangleOptions, BezierCurveOptions, PrismOptions, GroundOverlayOptions, GroundPointOptions, PointCollectionOptions, InfoWindowOptions, SymbolOptions, IconOptions, HotspotOptions, CustomOverlayOptions, OverlayReactProps, PlainIcon, SymbolIcon, } from './types';
2
+ export declare const Marker: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
3
+ [x: string]: any;
4
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ export declare const Label: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
6
+ [x: string]: any;
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ export declare const Polyline: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
9
+ [x: string]: any;
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ export declare const Polygon: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
12
+ [x: string]: any;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
+ export declare const Circle: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
15
+ [x: string]: any;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
+ export declare const Rectangle: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
18
+ [x: string]: any;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
+ export declare const BezierCurve: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
21
+ [x: string]: any;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
+ export declare const Prism: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
24
+ [x: string]: any;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ export declare const GroundOverlay: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
27
+ [x: string]: any;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
29
+ export declare const GroundPoint: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
30
+ [x: string]: any;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
+ export declare const PointCollection: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
33
+ [x: string]: any;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
35
+ export declare const Symbol: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
36
+ [x: string]: any;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
+ export declare const Icon: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
39
+ [x: string]: any;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
+ export declare const IconSequence: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
42
+ [x: string]: any;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
44
+ export declare const Hotspot: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
45
+ [x: string]: any;
46
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
47
+ export declare const Marker3D: import('vue').DefineComponent<{}, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
48
+ [x: string]: any;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
50
+ export { InfoWindow } from './InfoWindow';