@visitscotland/component-library 3.0.2 → 3.0.4
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/CHANGELOG.md +30 -7
- package/dist/client/fonts/custom-icons.ttf +0 -0
- package/dist/client/fonts/custom-icons.woff2 +0 -0
- package/dist/client/fonts/fa-brands-400.ttf +0 -0
- package/dist/client/fonts/fa-brands-400.woff2 +0 -0
- package/dist/client/fonts/fa-duotone-900.ttf +0 -0
- package/dist/client/fonts/fa-duotone-900.woff2 +0 -0
- package/dist/client/manifest.json +51 -54
- package/dist/client/scripts/54bee03d4647544c11f5.js +1 -0
- package/dist/client/scripts/{ce3e6734cb84e74451cd.js → 6207179e793d6e2f8d9e.js} +1 -1
- package/dist/client/scripts/6b53edbec946bee62d26.js +1 -0
- package/dist/client/scripts/{31f9d972fa4753eaee60.js → 8e0a1eb35d5006bcaf29.js} +1 -1
- package/dist/client/scripts/8e3fa387146c24502ada.js +1 -0
- package/dist/client/scripts/{83e6099b792b76d2ee7f.js → 9101e0f2b766ea15df2e.js} +1 -1
- package/dist/client/scripts/{b6a50a2b854d09970111.js → bef607c592b6cb0a9124.js} +1 -1
- package/dist/client/scripts/{1ce57deef9f60d08e168.js → dbefa7802bf2a65b8a37.js} +1 -1
- package/dist/client/scripts/{8751d1ac21308fc7e78b.js → ee1669cbdcce1bd4b354.js} +1 -1
- package/dist/client/scripts/{43310958bc4363082dd8.js → f35abe8b7b5ef124937e.js} +1 -1
- package/dist/client/scripts/{8fc24289899913dd4b9c.js → fea0e33760eef6a2afcc.js} +1 -1
- package/dist/client/styles/4b4417e0ec7c6d38af51.css +18 -0
- package/dist/client/styles/{c01ba1121e07f8275c28.css → 54bee03d4647544c11f5.css} +1 -1
- package/dist/client/styles/{ce3e6734cb84e74451cd.css → 6207179e793d6e2f8d9e.css} +1 -1
- package/dist/client/styles/{f304d9429842a3472c24.css → 8e3fa387146c24502ada.css} +1 -1
- package/dist/client/styles/{7f0830b7d5e434d7a977.css → a4bf5693a18f72023719.css} +1 -1
- package/dist/client/styles/{1ce57deef9f60d08e168.css → dbefa7802bf2a65b8a37.css} +1 -1
- package/dist/client/styles/{70ed495c15ada9f41f04.css → ec0a9a2c688a656c0695.css} +1 -1
- package/dist/client/styles/third-party/_cludo-search-results.css +1 -1
- package/dist/client/styles/third-party/_font-awesome.css +12 -12
- package/dist/components/components/form/Form.vue.d.ts +1 -0
- package/dist/components/icons.css +4 -8
- package/dist/components/vs-component-library.css +1 -1
- package/dist/components/vs-component-library.js +205 -170
- package/dist/components/vs-component-library.mjs +15301 -8009
- package/dist/ssr/fonts/custom-icons.ttf +0 -0
- package/dist/ssr/fonts/custom-icons.woff2 +0 -0
- package/dist/ssr/fonts/fa-brands-400.ttf +0 -0
- package/dist/ssr/fonts/fa-brands-400.woff2 +0 -0
- package/dist/ssr/fonts/fa-duotone-900.ttf +0 -0
- package/dist/ssr/fonts/fa-duotone-900.woff2 +0 -0
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/8df2da33c2482bedd1e8.css +164 -0
- package/package.json +1 -2
- package/dist/client/scripts/5d2e8fcc89de9881e3f0.js +0 -1
- package/dist/client/scripts/86ef112affb6b291623a.js +0 -1
- package/dist/client/scripts/c01ba1121e07f8275c28.js +0 -1
- package/dist/client/scripts/f304d9429842a3472c24.js +0 -1
- package/dist/client/styles/a78ff92ceead2d31f3a9.css +0 -18
- package/dist/components/components/map/Map.vue.d.ts +0 -370
- package/dist/components/components/map/components/MapMarker.vue.d.ts +0 -87
- package/dist/components/components/map-marker-icon/MapMarkerIcon.vue.d.ts +0 -50
- package/dist/components/components/map-with-sidebar/MapWithSidebar.vue.d.ts +0 -366
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarButtons.vue.d.ts +0 -39
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarCategory.vue.d.ts +0 -57
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarControls.vue.d.ts +0 -16
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarDetail.vue.d.ts +0 -36
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarListItem.vue.d.ts +0 -65
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarPanel.vue.d.ts +0 -274
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarSubcategory.vue.d.ts +0 -35
- package/dist/components/maps.css +0 -1
- package/dist/components/maps.js +0 -508
- package/dist/components/maps.mjs +0 -20815
- package/dist/components/v4-Dx4zqkIC.mjs +0 -7197
- package/dist/components/v4-tWlzORDj.js +0 -36
- package/dist/components/v4.css +0 -1
- package/dist/ssr/styles/2eb2ef074b456be4560b.css +0 -164
- /package/dist/client/scripts/{a78ff92ceead2d31f3a9.js → 4b4417e0ec7c6d38af51.js} +0 -0
- /package/dist/client/scripts/{7f0830b7d5e434d7a977.js → a4bf5693a18f72023719.js} +0 -0
- /package/dist/client/scripts/{70ed495c15ada9f41f04.js → ec0a9a2c688a656c0695.js} +0 -0
- /package/dist/client/styles/{5d2e8fcc89de9881e3f0.css → 6b53edbec946bee62d26.css} +0 -0
- /package/dist/client/styles/{31f9d972fa4753eaee60.css → 8e0a1eb35d5006bcaf29.css} +0 -0
- /package/dist/client/styles/{8751d1ac21308fc7e78b.css → ee1669cbdcce1bd4b354.css} +0 -0
- /package/dist/client/styles/{8fc24289899913dd4b9c.css → fea0e33760eef6a2afcc.css} +0 -0
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
/**
|
|
3
|
-
* Starting latitude for map view
|
|
4
|
-
*/
|
|
5
|
-
overviewMapLatitude: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Starting longitude for map view
|
|
11
|
-
*/
|
|
12
|
-
overviewMapLongitude: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Starting zoom level for map view
|
|
18
|
-
*/
|
|
19
|
-
overviewMapZoom: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Unique ID for the map
|
|
25
|
-
*/
|
|
26
|
-
mapId: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Whether or not the map is visible
|
|
32
|
-
* used for triggering resize
|
|
33
|
-
*/
|
|
34
|
-
isVisible: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Place data for markers
|
|
40
|
-
*/
|
|
41
|
-
places: {
|
|
42
|
-
type: ArrayConstructor;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* Category filters array
|
|
47
|
-
*/
|
|
48
|
-
filters: {
|
|
49
|
-
type: ArrayConstructor;
|
|
50
|
-
default(): any[];
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Whether the map should fit to marker bounds
|
|
54
|
-
*/
|
|
55
|
-
fitToMarkers: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Whether the map should show regions polygons
|
|
61
|
-
*/
|
|
62
|
-
showPolygons: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* The current selectdd item
|
|
68
|
-
*/
|
|
69
|
-
selectedItem: {
|
|
70
|
-
type: ObjectConstructor;
|
|
71
|
-
default: any;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Data to set map bounds
|
|
75
|
-
*/
|
|
76
|
-
boundsData: {
|
|
77
|
-
type: ObjectConstructor;
|
|
78
|
-
default: () => void;
|
|
79
|
-
};
|
|
80
|
-
/** If the map should show an info message defined
|
|
81
|
-
* a slot
|
|
82
|
-
*/
|
|
83
|
-
showInfoMessage: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
default: any;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Allows parent component to fire a reset zoom event
|
|
89
|
-
*/
|
|
90
|
-
resetZoom: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* Turn popups off on map markers
|
|
96
|
-
*/
|
|
97
|
-
showMarkerPopups: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
}, void, {
|
|
102
|
-
isDesktop: boolean;
|
|
103
|
-
geojsonData: {
|
|
104
|
-
type: string;
|
|
105
|
-
features: any[];
|
|
106
|
-
};
|
|
107
|
-
polygons: {
|
|
108
|
-
type: string;
|
|
109
|
-
features: any[];
|
|
110
|
-
};
|
|
111
|
-
multiPolygons: any[];
|
|
112
|
-
mapbox: {
|
|
113
|
-
map: any;
|
|
114
|
-
bounds: any;
|
|
115
|
-
rotation: number;
|
|
116
|
-
config: {
|
|
117
|
-
container: unknown;
|
|
118
|
-
style: string;
|
|
119
|
-
pitchWithRotate: boolean;
|
|
120
|
-
dragRotate: boolean;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
markers: any[];
|
|
124
|
-
popup: any;
|
|
125
|
-
hoveredStateId: any;
|
|
126
|
-
activeStateId: any;
|
|
127
|
-
showMapMessage: boolean;
|
|
128
|
-
isLoading: boolean;
|
|
129
|
-
showZoomMessage: any;
|
|
130
|
-
}, {
|
|
131
|
-
activeMarkerPostion: () => any;
|
|
132
|
-
highlightedPlace: () => any;
|
|
133
|
-
activePlace: () => any;
|
|
134
|
-
getZoom(): any;
|
|
135
|
-
}, {
|
|
136
|
-
/**
|
|
137
|
-
* Adds a mapbox map to the page
|
|
138
|
-
*/
|
|
139
|
-
addMap(): void;
|
|
140
|
-
/**
|
|
141
|
-
* Adds mapbox map controls
|
|
142
|
-
*/
|
|
143
|
-
addMapControls(): void;
|
|
144
|
-
/**
|
|
145
|
-
* Initialise features array for points & polygons
|
|
146
|
-
*/
|
|
147
|
-
initialiseMapFeatures(): void;
|
|
148
|
-
/**
|
|
149
|
-
* Returns correct coordinates for points & polygons
|
|
150
|
-
*/
|
|
151
|
-
getCoordinateArray(place: any): any[];
|
|
152
|
-
/**
|
|
153
|
-
* Returns object for a map feature
|
|
154
|
-
* including points, polygons or multi-polygons
|
|
155
|
-
*/
|
|
156
|
-
getMapFeatures(place: any, coordinateArray: any): number;
|
|
157
|
-
/**
|
|
158
|
-
* Returns object for itinerary points
|
|
159
|
-
*/
|
|
160
|
-
getItineraryMapFeatures(place: any): number;
|
|
161
|
-
/**
|
|
162
|
-
* Initialise add map markers
|
|
163
|
-
*/
|
|
164
|
-
initialiseMapMarkers(): void;
|
|
165
|
-
/**
|
|
166
|
-
* Creates a map marker component instance for a point
|
|
167
|
-
* and appends it to the map
|
|
168
|
-
*/
|
|
169
|
-
createMapMarker(feature: any): void;
|
|
170
|
-
/**
|
|
171
|
-
* Hide all polygons
|
|
172
|
-
*/
|
|
173
|
-
hideMapPolygons(): void;
|
|
174
|
-
/**
|
|
175
|
-
* Show all polygons
|
|
176
|
-
*/
|
|
177
|
-
showMapPolygons(): void;
|
|
178
|
-
/**
|
|
179
|
-
* Add polygons from data into map
|
|
180
|
-
*/
|
|
181
|
-
addMapPolygons(): void;
|
|
182
|
-
/**
|
|
183
|
-
* Remove the current active polygon
|
|
184
|
-
*/
|
|
185
|
-
removeActivePolygon(): void;
|
|
186
|
-
/**
|
|
187
|
-
* Add a new active polygon
|
|
188
|
-
*/
|
|
189
|
-
addActivePolygon(feature: any): void;
|
|
190
|
-
/**
|
|
191
|
-
* Remove the current hovered polygon
|
|
192
|
-
*/
|
|
193
|
-
removeHoveredPolygon(): void;
|
|
194
|
-
/**
|
|
195
|
-
* Add a hovered polygon
|
|
196
|
-
*/
|
|
197
|
-
addHoveredPolygon(feature: any): void;
|
|
198
|
-
/**
|
|
199
|
-
* Add a map popup when feature is hovered
|
|
200
|
-
*/
|
|
201
|
-
addMapPopup(feature: any): void;
|
|
202
|
-
/**
|
|
203
|
-
* Remove the popup from the map
|
|
204
|
-
*/
|
|
205
|
-
removeMapPopup(marker: any): void;
|
|
206
|
-
/**
|
|
207
|
-
* Get coordinates to decide where to show popup
|
|
208
|
-
*/
|
|
209
|
-
getCoordinates(feature: any): any;
|
|
210
|
-
/**
|
|
211
|
-
* Find the centre of a polygon to display popup
|
|
212
|
-
*/
|
|
213
|
-
findFeatureCentre(markers: any): {
|
|
214
|
-
lat: number;
|
|
215
|
-
lng: number;
|
|
216
|
-
};
|
|
217
|
-
/**
|
|
218
|
-
* Get correct popup html based on map feature type
|
|
219
|
-
*/
|
|
220
|
-
getPopupHtml(feature: any): string;
|
|
221
|
-
/**
|
|
222
|
-
* Detect keyboard nav to toggle popup
|
|
223
|
-
*/
|
|
224
|
-
setupMarkerListeners(marker: any): void;
|
|
225
|
-
/**
|
|
226
|
-
* Ensures map fits to bounds
|
|
227
|
-
*/
|
|
228
|
-
fitToBounds(): void;
|
|
229
|
-
/**
|
|
230
|
-
* Initialises the map component
|
|
231
|
-
*/
|
|
232
|
-
initialiseMapComponent(): void;
|
|
233
|
-
/**
|
|
234
|
-
* Initialises lazy loading
|
|
235
|
-
*/
|
|
236
|
-
lazyloadMapComponent(): void;
|
|
237
|
-
/**
|
|
238
|
-
* Checks for window size on resize
|
|
239
|
-
*/
|
|
240
|
-
onResize(): void;
|
|
241
|
-
/**
|
|
242
|
-
* Creates a map bounding object from polygon data
|
|
243
|
-
*/
|
|
244
|
-
getBoundsFromPolygon(): any;
|
|
245
|
-
/**
|
|
246
|
-
* Check a marker is visible on the map
|
|
247
|
-
*/
|
|
248
|
-
checkPointIsVisible(): any;
|
|
249
|
-
/**
|
|
250
|
-
* Reposition map to centre on point
|
|
251
|
-
*/
|
|
252
|
-
centreMapOnPoint(coords: any): void;
|
|
253
|
-
/**
|
|
254
|
-
* Calculate bounding box depending on data provided
|
|
255
|
-
*/
|
|
256
|
-
calculateBoundingBox(): any;
|
|
257
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
258
|
-
/**
|
|
259
|
-
* Starting latitude for map view
|
|
260
|
-
*/
|
|
261
|
-
overviewMapLatitude: {
|
|
262
|
-
type: StringConstructor;
|
|
263
|
-
default: string;
|
|
264
|
-
};
|
|
265
|
-
/**
|
|
266
|
-
* Starting longitude for map view
|
|
267
|
-
*/
|
|
268
|
-
overviewMapLongitude: {
|
|
269
|
-
type: StringConstructor;
|
|
270
|
-
default: string;
|
|
271
|
-
};
|
|
272
|
-
/**
|
|
273
|
-
* Starting zoom level for map view
|
|
274
|
-
*/
|
|
275
|
-
overviewMapZoom: {
|
|
276
|
-
type: StringConstructor;
|
|
277
|
-
default: string;
|
|
278
|
-
};
|
|
279
|
-
/**
|
|
280
|
-
* Unique ID for the map
|
|
281
|
-
*/
|
|
282
|
-
mapId: {
|
|
283
|
-
type: StringConstructor;
|
|
284
|
-
required: true;
|
|
285
|
-
};
|
|
286
|
-
/**
|
|
287
|
-
* Whether or not the map is visible
|
|
288
|
-
* used for triggering resize
|
|
289
|
-
*/
|
|
290
|
-
isVisible: {
|
|
291
|
-
type: BooleanConstructor;
|
|
292
|
-
required: true;
|
|
293
|
-
};
|
|
294
|
-
/**
|
|
295
|
-
* Place data for markers
|
|
296
|
-
*/
|
|
297
|
-
places: {
|
|
298
|
-
type: ArrayConstructor;
|
|
299
|
-
required: true;
|
|
300
|
-
};
|
|
301
|
-
/**
|
|
302
|
-
* Category filters array
|
|
303
|
-
*/
|
|
304
|
-
filters: {
|
|
305
|
-
type: ArrayConstructor;
|
|
306
|
-
default(): any[];
|
|
307
|
-
};
|
|
308
|
-
/**
|
|
309
|
-
* Whether the map should fit to marker bounds
|
|
310
|
-
*/
|
|
311
|
-
fitToMarkers: {
|
|
312
|
-
type: BooleanConstructor;
|
|
313
|
-
default: boolean;
|
|
314
|
-
};
|
|
315
|
-
/**
|
|
316
|
-
* Whether the map should show regions polygons
|
|
317
|
-
*/
|
|
318
|
-
showPolygons: {
|
|
319
|
-
type: BooleanConstructor;
|
|
320
|
-
default: boolean;
|
|
321
|
-
};
|
|
322
|
-
/**
|
|
323
|
-
* The current selectdd item
|
|
324
|
-
*/
|
|
325
|
-
selectedItem: {
|
|
326
|
-
type: ObjectConstructor;
|
|
327
|
-
default: any;
|
|
328
|
-
};
|
|
329
|
-
/**
|
|
330
|
-
* Data to set map bounds
|
|
331
|
-
*/
|
|
332
|
-
boundsData: {
|
|
333
|
-
type: ObjectConstructor;
|
|
334
|
-
default: () => void;
|
|
335
|
-
};
|
|
336
|
-
/** If the map should show an info message defined
|
|
337
|
-
* a slot
|
|
338
|
-
*/
|
|
339
|
-
showInfoMessage: {
|
|
340
|
-
type: BooleanConstructor;
|
|
341
|
-
default: any;
|
|
342
|
-
};
|
|
343
|
-
/**
|
|
344
|
-
* Allows parent component to fire a reset zoom event
|
|
345
|
-
*/
|
|
346
|
-
resetZoom: {
|
|
347
|
-
type: BooleanConstructor;
|
|
348
|
-
default: boolean;
|
|
349
|
-
};
|
|
350
|
-
/**
|
|
351
|
-
* Turn popups off on map markers
|
|
352
|
-
*/
|
|
353
|
-
showMarkerPopups: {
|
|
354
|
-
type: BooleanConstructor;
|
|
355
|
-
default: boolean;
|
|
356
|
-
};
|
|
357
|
-
}>>, {
|
|
358
|
-
filters: unknown[];
|
|
359
|
-
overviewMapLatitude: string;
|
|
360
|
-
overviewMapLongitude: string;
|
|
361
|
-
overviewMapZoom: string;
|
|
362
|
-
fitToMarkers: boolean;
|
|
363
|
-
showPolygons: boolean;
|
|
364
|
-
selectedItem: Record<string, any>;
|
|
365
|
-
boundsData: Record<string, any>;
|
|
366
|
-
showInfoMessage: boolean;
|
|
367
|
-
resetZoom: boolean;
|
|
368
|
-
showMarkerPopups: boolean;
|
|
369
|
-
}, {}>;
|
|
370
|
-
export default _default;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
/**
|
|
3
|
-
* Details for the marker
|
|
4
|
-
*/
|
|
5
|
-
feature: {
|
|
6
|
-
type: ObjectConstructor;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Id for the map - to be used with
|
|
11
|
-
* the map store
|
|
12
|
-
*/
|
|
13
|
-
mapId: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* If the map has enabled popups for markers
|
|
19
|
-
*/
|
|
20
|
-
hasPopups: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Selected place ID
|
|
26
|
-
*/
|
|
27
|
-
selectedPlace: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: any;
|
|
30
|
-
};
|
|
31
|
-
}, void, any, {
|
|
32
|
-
getMarkerIcon(): any;
|
|
33
|
-
highlightedPlace: () => any;
|
|
34
|
-
activePlace: () => any;
|
|
35
|
-
activeSubcat: () => any;
|
|
36
|
-
isActive(): boolean;
|
|
37
|
-
}, {
|
|
38
|
-
/**
|
|
39
|
-
* Fires on click of the marker
|
|
40
|
-
*/
|
|
41
|
-
markerClick(): void;
|
|
42
|
-
/**
|
|
43
|
-
* Fires on hover over the maker
|
|
44
|
-
*/
|
|
45
|
-
handleHover(feature: any): void;
|
|
46
|
-
/**
|
|
47
|
-
* Sets up event listener to remove active
|
|
48
|
-
* marker on map click
|
|
49
|
-
*/
|
|
50
|
-
handleClickEvent(e: any): void;
|
|
51
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("showDetail" | "setCategory")[], "showDetail" | "setCategory", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
52
|
-
/**
|
|
53
|
-
* Details for the marker
|
|
54
|
-
*/
|
|
55
|
-
feature: {
|
|
56
|
-
type: ObjectConstructor;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Id for the map - to be used with
|
|
61
|
-
* the map store
|
|
62
|
-
*/
|
|
63
|
-
mapId: {
|
|
64
|
-
type: StringConstructor;
|
|
65
|
-
required: true;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* If the map has enabled popups for markers
|
|
69
|
-
*/
|
|
70
|
-
hasPopups: {
|
|
71
|
-
type: BooleanConstructor;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Selected place ID
|
|
76
|
-
*/
|
|
77
|
-
selectedPlace: {
|
|
78
|
-
type: StringConstructor;
|
|
79
|
-
default: any;
|
|
80
|
-
};
|
|
81
|
-
}>> & {
|
|
82
|
-
onShowDetail?: (...args: any[]) => any;
|
|
83
|
-
onSetCategory?: (...args: any[]) => any;
|
|
84
|
-
}, {
|
|
85
|
-
selectedPlace: string;
|
|
86
|
-
}, {}>;
|
|
87
|
-
export default _default;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
id: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
isHovered: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
number: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
isMapMarker: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
}, any, any, {
|
|
19
|
-
mapMarkerType(): string;
|
|
20
|
-
parentClasses(): "" | "vs-map-marker-icon--map-marker";
|
|
21
|
-
markerClasses(): string[];
|
|
22
|
-
}, {}, {
|
|
23
|
-
methods: {
|
|
24
|
-
getIconDetails(name: any): {
|
|
25
|
-
name: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
}, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
-
id: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
isHovered: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
number: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
isMapMarker: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
}>>, {
|
|
46
|
-
number: string;
|
|
47
|
-
isMapMarker: boolean;
|
|
48
|
-
isHovered: boolean;
|
|
49
|
-
}, {}>;
|
|
50
|
-
export default _default;
|