qy-vue-plugins 0.1.0 → 0.1.1
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 +0 -200
- package/dist/qy-vue-plugins.css +1 -1
- package/dist/vue-plugins.es.js +4257 -25212
- package/dist/vue-plugins.umd.js +1 -41
- package/package/assets/img_c.png +0 -0
- package/package/assets/ter_c.png +0 -0
- package/package/assets/vec_c.png +0 -0
- package/package/index.ts +1 -5
- package/package/mapbox/components/MapTools.vue +2 -0
- package/package/mapbox/components/mapCompass.vue +1 -0
- package/package/mapbox/components/mapLevel.vue +1 -0
- package/package/mapbox/components/mapPitch.vue +2 -0
- package/package/mapbox/components/mapPos.vue +1 -0
- package/package/mapbox/components/mapTopic.vue +1 -1
- package/package/mapbox/widgets/CustomShapeDialog.vue +3 -1
- package/package/mapbox/widgets/IconPicker.vue +1 -0
- package/package/mapbox/widgets/LayerAttributeDialog.vue +3 -1
- package/package/mapbox/widgets/LayerDialog.vue +5 -4
- package/package/mapbox/widgets/LegendDialogLine.vue +3 -2
- package/package/mapbox/widgets/LegendDialogPoint.vue +5 -4
- package/package/mapbox/widgets/LegendPopLine.vue +2 -1
- package/package/mapbox/widgets/LegendPopPoint.vue +2 -0
- package/package/mapbox/widgets/ShapeDialog.vue +3 -1
- package/package/mapbox/widgets/TopicItemPop.vue +2 -0
- package/package/mapbox/widgets/TopicPop.vue +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,210 +17,10 @@ declare const _default: {
|
|
|
17
17
|
isNewVersion: (localVueVersion: number, interval: number | undefined, cb: (newVersion: number) => void) => Promise<{
|
|
18
18
|
stop: () => void;
|
|
19
19
|
}>;
|
|
20
|
-
MapView: {
|
|
21
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
22
|
-
mapRootId: {
|
|
23
|
-
type: import('vue').PropType<string>;
|
|
24
|
-
};
|
|
25
|
-
tdtToken: {
|
|
26
|
-
type: import('vue').PropType<string>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
mapBoxToken: {
|
|
30
|
-
type: import('vue').PropType<string>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
maxZoom: {
|
|
34
|
-
type: import('vue').PropType<number>;
|
|
35
|
-
};
|
|
36
|
-
minZoom: {
|
|
37
|
-
type: import('vue').PropType<number>;
|
|
38
|
-
};
|
|
39
|
-
zoom: {
|
|
40
|
-
type: import('vue').PropType<number>;
|
|
41
|
-
};
|
|
42
|
-
pitch: {
|
|
43
|
-
type: import('vue').PropType<number>;
|
|
44
|
-
};
|
|
45
|
-
hasScale: {
|
|
46
|
-
type: import('vue').PropType<boolean>;
|
|
47
|
-
};
|
|
48
|
-
scalePosition: {
|
|
49
|
-
type: import('vue').PropType<import('mapbox-gl').ControlPosition>;
|
|
50
|
-
};
|
|
51
|
-
center: {
|
|
52
|
-
type: import('vue').PropType<import('mapbox-gl').LngLatLike>;
|
|
53
|
-
};
|
|
54
|
-
dbfDataRequest: {
|
|
55
|
-
type: import('vue').PropType<(topicId: number | string, page: number, pageSize: number) => Promise<any>>;
|
|
56
|
-
};
|
|
57
|
-
researchDataRequest: {
|
|
58
|
-
type: import('vue').PropType<(topic: import('./types/map').GeographicLayerEntity) => Promise<{
|
|
59
|
-
lineInfo: any[];
|
|
60
|
-
pointInfo: any;
|
|
61
|
-
}>>;
|
|
62
|
-
};
|
|
63
|
-
dialogConfig: {
|
|
64
|
-
type: import('vue').PropType<{
|
|
65
|
-
center: Boolean;
|
|
66
|
-
top: string;
|
|
67
|
-
customClass: string;
|
|
68
|
-
}>;
|
|
69
|
-
};
|
|
70
|
-
}>> & Readonly<{
|
|
71
|
-
onMapReady?: ((mapInstance: import('mapbox-gl').Map) => any) | undefined;
|
|
72
|
-
}>, {
|
|
73
|
-
mapInstance: import('vue').Ref<import('mapbox-gl').Map | undefined, import('mapbox-gl').Map | undefined>;
|
|
74
|
-
initMap: () => void;
|
|
75
|
-
handleSetMapStyle: () => void;
|
|
76
|
-
resetMapView: () => void;
|
|
77
|
-
addThirdPartyLayer: (layer: import('./types/map').GeographicLayerEntity) => void;
|
|
78
|
-
addResearchMapLayer: (mapLayer: import('./types/map').GeographicLayerEntity) => void;
|
|
79
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
80
|
-
mapReady: (mapInstance: import('mapbox-gl').Map) => void;
|
|
81
|
-
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
82
|
-
P: {};
|
|
83
|
-
B: {};
|
|
84
|
-
D: {};
|
|
85
|
-
C: {};
|
|
86
|
-
M: {};
|
|
87
|
-
Defaults: {};
|
|
88
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
89
|
-
mapRootId: {
|
|
90
|
-
type: import('vue').PropType<string>;
|
|
91
|
-
};
|
|
92
|
-
tdtToken: {
|
|
93
|
-
type: import('vue').PropType<string>;
|
|
94
|
-
required: true;
|
|
95
|
-
};
|
|
96
|
-
mapBoxToken: {
|
|
97
|
-
type: import('vue').PropType<string>;
|
|
98
|
-
required: true;
|
|
99
|
-
};
|
|
100
|
-
maxZoom: {
|
|
101
|
-
type: import('vue').PropType<number>;
|
|
102
|
-
};
|
|
103
|
-
minZoom: {
|
|
104
|
-
type: import('vue').PropType<number>;
|
|
105
|
-
};
|
|
106
|
-
zoom: {
|
|
107
|
-
type: import('vue').PropType<number>;
|
|
108
|
-
};
|
|
109
|
-
pitch: {
|
|
110
|
-
type: import('vue').PropType<number>;
|
|
111
|
-
};
|
|
112
|
-
hasScale: {
|
|
113
|
-
type: import('vue').PropType<boolean>;
|
|
114
|
-
};
|
|
115
|
-
scalePosition: {
|
|
116
|
-
type: import('vue').PropType<import('mapbox-gl').ControlPosition>;
|
|
117
|
-
};
|
|
118
|
-
center: {
|
|
119
|
-
type: import('vue').PropType<import('mapbox-gl').LngLatLike>;
|
|
120
|
-
};
|
|
121
|
-
dbfDataRequest: {
|
|
122
|
-
type: import('vue').PropType<(topicId: number | string, page: number, pageSize: number) => Promise<any>>;
|
|
123
|
-
};
|
|
124
|
-
researchDataRequest: {
|
|
125
|
-
type: import('vue').PropType<(topic: import('./types/map').GeographicLayerEntity) => Promise<{
|
|
126
|
-
lineInfo: any[];
|
|
127
|
-
pointInfo: any;
|
|
128
|
-
}>>;
|
|
129
|
-
};
|
|
130
|
-
dialogConfig: {
|
|
131
|
-
type: import('vue').PropType<{
|
|
132
|
-
center: Boolean;
|
|
133
|
-
top: string;
|
|
134
|
-
customClass: string;
|
|
135
|
-
}>;
|
|
136
|
-
};
|
|
137
|
-
}>> & Readonly<{
|
|
138
|
-
onMapReady?: ((mapInstance: import('mapbox-gl').Map) => any) | undefined;
|
|
139
|
-
}>, {
|
|
140
|
-
mapInstance: import('vue').Ref<import('mapbox-gl').Map | undefined, import('mapbox-gl').Map | undefined>;
|
|
141
|
-
initMap: () => void;
|
|
142
|
-
handleSetMapStyle: () => void;
|
|
143
|
-
resetMapView: () => void;
|
|
144
|
-
addThirdPartyLayer: (layer: import('./types/map').GeographicLayerEntity) => void;
|
|
145
|
-
addResearchMapLayer: (mapLayer: import('./types/map').GeographicLayerEntity) => void;
|
|
146
|
-
}, {}, {}, {}, {}>;
|
|
147
|
-
__isFragment?: never;
|
|
148
|
-
__isTeleport?: never;
|
|
149
|
-
__isSuspense?: never;
|
|
150
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
151
|
-
mapRootId: {
|
|
152
|
-
type: import('vue').PropType<string>;
|
|
153
|
-
};
|
|
154
|
-
tdtToken: {
|
|
155
|
-
type: import('vue').PropType<string>;
|
|
156
|
-
required: true;
|
|
157
|
-
};
|
|
158
|
-
mapBoxToken: {
|
|
159
|
-
type: import('vue').PropType<string>;
|
|
160
|
-
required: true;
|
|
161
|
-
};
|
|
162
|
-
maxZoom: {
|
|
163
|
-
type: import('vue').PropType<number>;
|
|
164
|
-
};
|
|
165
|
-
minZoom: {
|
|
166
|
-
type: import('vue').PropType<number>;
|
|
167
|
-
};
|
|
168
|
-
zoom: {
|
|
169
|
-
type: import('vue').PropType<number>;
|
|
170
|
-
};
|
|
171
|
-
pitch: {
|
|
172
|
-
type: import('vue').PropType<number>;
|
|
173
|
-
};
|
|
174
|
-
hasScale: {
|
|
175
|
-
type: import('vue').PropType<boolean>;
|
|
176
|
-
};
|
|
177
|
-
scalePosition: {
|
|
178
|
-
type: import('vue').PropType<import('mapbox-gl').ControlPosition>;
|
|
179
|
-
};
|
|
180
|
-
center: {
|
|
181
|
-
type: import('vue').PropType<import('mapbox-gl').LngLatLike>;
|
|
182
|
-
};
|
|
183
|
-
dbfDataRequest: {
|
|
184
|
-
type: import('vue').PropType<(topicId: number | string, page: number, pageSize: number) => Promise<any>>;
|
|
185
|
-
};
|
|
186
|
-
researchDataRequest: {
|
|
187
|
-
type: import('vue').PropType<(topic: import('./types/map').GeographicLayerEntity) => Promise<{
|
|
188
|
-
lineInfo: any[];
|
|
189
|
-
pointInfo: any;
|
|
190
|
-
}>>;
|
|
191
|
-
};
|
|
192
|
-
dialogConfig: {
|
|
193
|
-
type: import('vue').PropType<{
|
|
194
|
-
center: Boolean;
|
|
195
|
-
top: string;
|
|
196
|
-
customClass: string;
|
|
197
|
-
}>;
|
|
198
|
-
};
|
|
199
|
-
}>> & Readonly<{
|
|
200
|
-
onMapReady?: ((mapInstance: import('mapbox-gl').Map) => any) | undefined;
|
|
201
|
-
}>, {
|
|
202
|
-
mapInstance: import('vue').Ref<import('mapbox-gl').Map | undefined, import('mapbox-gl').Map | undefined>;
|
|
203
|
-
initMap: () => void;
|
|
204
|
-
handleSetMapStyle: () => void;
|
|
205
|
-
resetMapView: () => void;
|
|
206
|
-
addThirdPartyLayer: (layer: import('./types/map').GeographicLayerEntity) => void;
|
|
207
|
-
addResearchMapLayer: (mapLayer: import('./types/map').GeographicLayerEntity) => void;
|
|
208
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
209
|
-
mapReady: (mapInstance: import('mapbox-gl').Map) => void;
|
|
210
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
211
|
-
$slots: {
|
|
212
|
-
leftBar?(_: {}): any;
|
|
213
|
-
rightBar?(_: {}): any;
|
|
214
|
-
topBar?(_: {}): any;
|
|
215
|
-
bottomBar?(_: {}): any;
|
|
216
|
-
default?(_: {}): any;
|
|
217
|
-
};
|
|
218
|
-
});
|
|
219
20
|
};
|
|
220
21
|
export default _default;
|
|
221
22
|
export declare const VuePlugins: {
|
|
222
23
|
install(Vue: any, { pinia }: {
|
|
223
24
|
pinia: any;
|
|
224
25
|
}): void;
|
|
225
|
-
setBaseUrl: (url: string) => void;
|
|
226
26
|
};
|