@m3ui-vue/m3ui-vue 1.0.2 → 1.1.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/API.md +666 -12
- package/dist/MMenuItem-BOkcVtEe.js +809 -0
- package/dist/MMenuItem-BOkcVtEe.js.map +1 -0
- package/dist/MSlider-BXsBv0ox.js +1402 -0
- package/dist/MSlider-BXsBv0ox.js.map +1 -0
- package/dist/MTextField-rML9jnXs.js +671 -0
- package/dist/MTextField-rML9jnXs.js.map +1 -0
- package/dist/api.json +1 -1
- package/dist/code-editor.js +1 -1
- package/dist/components/MBottomSheet.vue.d.ts +20 -1
- package/dist/components/MDialog.vue.d.ts +17 -8
- package/dist/components/MDragDropList.vue.d.ts +1 -1
- package/dist/components/MIconButton.vue.d.ts +1 -1
- package/dist/components/MMap.vue.d.ts +74 -0
- package/dist/components/MMapBaseLayers.vue.d.ts +15 -0
- package/dist/components/MMapControl.vue.d.ts +40 -0
- package/dist/components/MMapFeatureInfo.vue.d.ts +25 -0
- package/dist/components/MMapFilter.vue.d.ts +19 -0
- package/dist/components/MMapGeoJson.vue.d.ts +34 -0
- package/dist/components/MMapHover.vue.d.ts +17 -0
- package/dist/components/MMapIdentify.vue.d.ts +37 -0
- package/dist/components/MMapLayers.vue.d.ts +31 -0
- package/dist/components/MMapMarker.vue.d.ts +45 -0
- package/dist/components/MMapMeasure.vue.d.ts +43 -0
- package/dist/components/MMapPopup.vue.d.ts +45 -0
- package/dist/components/MMapSearch.vue.d.ts +28 -0
- package/dist/components/MMenuItem.vue.d.ts +2 -2
- package/dist/components/MSeekBar.vue.d.ts +122 -0
- package/dist/components/MSplitButton.vue.d.ts +2 -2
- package/dist/components/_MMapAttribution.vue.d.ts +7 -0
- package/dist/components/_MMapLayerItem.vue.d.ts +25 -0
- package/dist/composables/_mapGeometry.d.ts +13 -0
- package/dist/composables/_mapPin.d.ts +5 -0
- package/dist/composables/_popupPosition.d.ts +12 -0
- package/dist/composables/_ssrState.d.ts +30 -0
- package/dist/composables/_storageKeys.d.ts +3 -0
- package/dist/composables/_useCalendarMonth.d.ts +24 -0
- package/dist/composables/_useEscapeStack.d.ts +3 -0
- package/dist/composables/_useScrollLock.d.ts +8 -0
- package/dist/composables/_useSheetMotion.d.ts +16 -1
- package/dist/composables/_useThemeTokens.d.ts +7 -0
- package/dist/composables/mapAdapters.d.ts +111 -0
- package/dist/composables/mapSearch.d.ts +31 -0
- package/dist/composables/themeInitScript.d.ts +4 -3
- package/dist/composables/useColorPalette.d.ts +173 -7
- package/dist/composables/useLocale.d.ts +38 -0
- package/dist/composables/useMap.d.ts +47 -0
- package/dist/composables/useMapFilter.d.ts +10 -0
- package/dist/composables/useMapLayers.d.ts +30 -0
- package/dist/composables/useTheme.d.ts +2 -1
- package/dist/index.d.ts +4 -1
- package/dist/locales/index.js +273 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +7913 -8625
- package/dist/m3ui.js.map +1 -1
- package/dist/map.d.ts +24 -0
- package/dist/map.js +2067 -0
- package/dist/map.js.map +1 -0
- package/dist/plugin.d.ts +18 -2
- package/dist/rich-text-editor.js +26 -25
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/{useLocale-CuvWRZ1h.js → useLocale-CqQrhWFl.js} +40 -2
- package/dist/useLocale-CqQrhWFl.js.map +1 -0
- package/package.json +11 -2
- package/src/__tests__/MDialog.test.ts +30 -0
- package/src/__tests__/MFab.test.ts +52 -6
- package/src/__tests__/MMap.test.ts +422 -0
- package/src/__tests__/MMapLayers.test.ts +257 -0
- package/src/__tests__/MMapTools.test.ts +233 -0
- package/src/__tests__/MSeekBar.test.ts +170 -0
- package/src/__tests__/MTooltip.test.ts +110 -0
- package/src/__tests__/_fakeMaplibre.ts +161 -0
- package/src/__tests__/calendarMonth.test.ts +59 -0
- package/src/__tests__/hydration.test.ts +33 -0
- package/src/__tests__/pickerModals.test.ts +128 -0
- package/src/__tests__/popupPosition.test.ts +224 -0
- package/src/__tests__/scrollLock.test.ts +110 -0
- package/src/__tests__/sheets.test.ts +158 -0
- package/src/__tests__/ssr.test.ts +63 -1
- package/src/__tests__/ssrState.test.ts +155 -0
- package/src/__tests__/themeInitScript.test.ts +18 -0
- package/src/components/MAutocomplete.vue +2 -4
- package/src/components/MBottomSheet.vue +211 -13
- package/src/components/MCommandPalette.vue +4 -6
- package/src/components/MContextMenu.vue +19 -5
- package/src/components/MDatePicker.vue +29 -70
- package/src/components/MDatePickerModal.vue +116 -172
- package/src/components/MDateRangePicker.vue +29 -51
- package/src/components/MDateRangePickerModal.vue +84 -162
- package/src/components/MDialog.vue +87 -63
- package/src/components/MFab.vue +29 -7
- package/src/components/MIconButton.vue +1 -1
- package/src/components/MLightbox.vue +12 -5
- package/src/components/MMap.vue +568 -0
- package/src/components/MMapBaseLayers.vue +67 -0
- package/src/components/MMapControl.vue +175 -0
- package/src/components/MMapFeatureInfo.vue +41 -0
- package/src/components/MMapFilter.vue +80 -0
- package/src/components/MMapGeoJson.vue +136 -0
- package/src/components/MMapHover.vue +131 -0
- package/src/components/MMapIdentify.vue +104 -0
- package/src/components/MMapLayers.vue +111 -0
- package/src/components/MMapMarker.vue +109 -0
- package/src/components/MMapMeasure.vue +452 -0
- package/src/components/MMapPopup.vue +103 -0
- package/src/components/MMapSearch.vue +162 -0
- package/src/components/MMenu.vue +31 -12
- package/src/components/MMenuItem.vue +21 -4
- package/src/components/MMultiAutocomplete.vue +2 -4
- package/src/components/MMultiSelect.vue +2 -4
- package/src/components/MNavigationDrawer.vue +2 -8
- package/src/components/MNavigationRail.vue +2 -3
- package/src/components/MSearchBar.vue +2 -5
- package/src/components/MSeekBar.vue +593 -0
- package/src/components/MSelect.vue +2 -8
- package/src/components/MSplitButton.vue +23 -7
- package/src/components/MSpotlightSearch.vue +4 -6
- package/src/components/MTimePicker.vue +23 -6
- package/src/components/MTimePickerModal.vue +213 -226
- package/src/components/MTooltip.vue +99 -3
- package/src/components/_MMapAttribution.vue +81 -0
- package/src/components/_MMapLayerItem.vue +77 -0
- package/src/composables/_mapGeometry.ts +75 -0
- package/src/composables/_mapPin.ts +25 -0
- package/src/composables/_popupPosition.ts +39 -0
- package/src/composables/_ssrState.ts +80 -0
- package/src/composables/_storageKeys.ts +6 -0
- package/src/composables/_useCalendarMonth.ts +74 -0
- package/src/composables/_useEscapeStack.ts +33 -0
- package/src/composables/_useScrollLock.ts +41 -0
- package/src/composables/_useSheetMotion.ts +82 -20
- package/src/composables/_useThemeTokens.ts +42 -0
- package/src/composables/mapAdapters.ts +208 -0
- package/src/composables/mapSearch.ts +56 -0
- package/src/composables/themeInitScript.ts +6 -4
- package/src/composables/useColorPalette.ts +23 -9
- package/src/composables/useLocale.ts +78 -0
- package/src/composables/useMap.ts +98 -0
- package/src/composables/useMapFilter.ts +45 -0
- package/src/composables/useMapLayers.ts +124 -0
- package/src/composables/useTheme.ts +8 -3
- package/src/composables/useWindowSizeClass.ts +14 -5
- package/src/index.ts +4 -1
- package/src/locales/de.ts +39 -1
- package/src/locales/es.ts +39 -1
- package/src/locales/fr.ts +39 -1
- package/src/locales/ja.ts +39 -1
- package/src/locales/ko.ts +39 -1
- package/src/locales/pt.ts +39 -1
- package/src/locales/zh.ts +39 -1
- package/src/map.ts +32 -0
- package/src/plugin.ts +54 -3
- package/dist/MTextField-BPbFeI9M.js +0 -1368
- package/dist/MTextField-BPbFeI9M.js.map +0 -1
- package/dist/useLocale-CuvWRZ1h.js.map +0 -1
package/dist/code-editor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./useLocale-
|
|
1
|
+
import { i as e } from "./useLocale-CqQrhWFl.js";
|
|
2
2
|
import { t } from "./MIcon-DLOkQduI.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, onMounted as p, openBlock as m, ref as h, renderSlot as g, toDisplayString as _, watch as v, withCtx as y } from "vue";
|
|
@@ -3,8 +3,22 @@ type __VLS_Props = {
|
|
|
3
3
|
modelValue: boolean;
|
|
4
4
|
/** Sheet header title */
|
|
5
5
|
title?: string;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Tallest the sheet gets, as a CSS length (`'480px'`, `'70dvh'`); past it the content scrolls. Default 60vh,
|
|
8
|
+
* or the whole screen with `partial`
|
|
9
|
+
*/
|
|
10
|
+
maxHeight?: string;
|
|
11
|
+
/** @deprecated Use `max-height="92vh"` */
|
|
7
12
|
fullHeight?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Opens a sheet taller than this share of the screen partially expanded (`true` = half, or a ratio
|
|
15
|
+
* like 0.4); dragging the handle or the content up expands it fully
|
|
16
|
+
*/
|
|
17
|
+
partial?: boolean | number;
|
|
18
|
+
/** Fully (true) or partially (false) expanded, with `partial` (v-model:expanded) */
|
|
19
|
+
expanded?: boolean;
|
|
20
|
+
/** Squares the top corners while the expanded sheet fills the screen, as Android's views sheet does */
|
|
21
|
+
squareCornersWhenFull?: boolean;
|
|
8
22
|
};
|
|
9
23
|
declare var __VLS_21: {}, __VLS_23: {};
|
|
10
24
|
type __VLS_Slots = {} & {
|
|
@@ -14,10 +28,15 @@ type __VLS_Slots = {} & {
|
|
|
14
28
|
};
|
|
15
29
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
30
|
"update:modelValue": (args_0: boolean) => any;
|
|
31
|
+
"update:expanded": (args_0: boolean) => any;
|
|
17
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
33
|
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
34
|
+
"onUpdate:expanded"?: ((args_0: boolean) => any) | undefined;
|
|
19
35
|
}>, {
|
|
36
|
+
expanded: boolean;
|
|
20
37
|
fullHeight: boolean;
|
|
38
|
+
partial: boolean | number;
|
|
39
|
+
squareCornersWhenFull: boolean;
|
|
21
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
41
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
42
|
declare const _default: typeof __VLS_export;
|
|
@@ -21,22 +21,30 @@ type __VLS_Props = {
|
|
|
21
21
|
* turned off
|
|
22
22
|
*/
|
|
23
23
|
closable?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Just the dialog's box (surface, shape, elevation), scrim, Escape, scroll lock and animation, with the default
|
|
26
|
+
* slot filling it: no title row, padding, close button or actions. For dialogs that draw everything themselves
|
|
27
|
+
* (the date and time pickers). `title` then only names it for assistive technology
|
|
28
|
+
*/
|
|
29
|
+
bare?: boolean;
|
|
24
30
|
};
|
|
25
|
-
declare var
|
|
31
|
+
declare var __VLS_13: {}, __VLS_22: {}, __VLS_24: {}, __VLS_26: {}, __VLS_28: {}, __VLS_43: {}, __VLS_45: {}, __VLS_47: {};
|
|
26
32
|
type __VLS_Slots = {} & {
|
|
27
|
-
|
|
33
|
+
default?: (props: typeof __VLS_13) => any;
|
|
34
|
+
} & {
|
|
35
|
+
icon?: (props: typeof __VLS_22) => any;
|
|
28
36
|
} & {
|
|
29
|
-
title?: (props: typeof
|
|
37
|
+
title?: (props: typeof __VLS_24) => any;
|
|
30
38
|
} & {
|
|
31
|
-
default?: (props: typeof
|
|
39
|
+
default?: (props: typeof __VLS_26) => any;
|
|
32
40
|
} & {
|
|
33
|
-
actions?: (props: typeof
|
|
41
|
+
actions?: (props: typeof __VLS_28) => any;
|
|
34
42
|
} & {
|
|
35
|
-
title?: (props: typeof
|
|
43
|
+
title?: (props: typeof __VLS_43) => any;
|
|
36
44
|
} & {
|
|
37
|
-
actions?: (props: typeof
|
|
45
|
+
actions?: (props: typeof __VLS_45) => any;
|
|
38
46
|
} & {
|
|
39
|
-
default?: (props: typeof
|
|
47
|
+
default?: (props: typeof __VLS_47) => any;
|
|
40
48
|
};
|
|
41
49
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
50
|
"update:modelValue": (args_0: boolean) => any;
|
|
@@ -48,6 +56,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
48
56
|
fullscreen: boolean;
|
|
49
57
|
maxWidth: string;
|
|
50
58
|
persistent: boolean;
|
|
59
|
+
bare: boolean;
|
|
51
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
52
61
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
53
62
|
declare const _default: typeof __VLS_export;
|
|
@@ -46,8 +46,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
46
46
|
}) => any) | undefined;
|
|
47
47
|
}>, {
|
|
48
48
|
disabled: boolean;
|
|
49
|
-
handle: boolean;
|
|
50
49
|
bare: boolean;
|
|
50
|
+
handle: boolean;
|
|
51
51
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
52
52
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
53
53
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
/** Material Symbol icon name */
|
|
3
3
|
icon: string;
|
|
4
|
-
/** Accessible label (aria-label
|
|
4
|
+
/** Accessible label (its aria-label; no visible tooltip: wrap it in MTooltip for one) */
|
|
5
5
|
label?: string;
|
|
6
6
|
/** Visual style */
|
|
7
7
|
variant?: 'standard' | 'filled' | 'tonal' | 'outlined';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type * as Maplibre from 'maplibre-gl';
|
|
2
|
+
import type { MapAdapter } from '../composables/mapAdapters';
|
|
3
|
+
export type MapControlPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/** The map's style: a style JSON URL or a style object (MapLibre's `StyleSpecification`). Changing it reloads the style */
|
|
6
|
+
mapStyle: string | Maplibre.StyleSpecification;
|
|
7
|
+
/** `[lng, lat]` (v-model). When left out, the style's (or the remembered view's) */
|
|
8
|
+
center?: [number, number];
|
|
9
|
+
/** Zoom level (v-model) */
|
|
10
|
+
zoom?: number;
|
|
11
|
+
/** Rotation in degrees (v-model) */
|
|
12
|
+
bearing?: number;
|
|
13
|
+
/** Tilt in degrees (v-model) */
|
|
14
|
+
pitch?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Remember the view (center, zoom, bearing, pitch) in localStorage and start from it on the next visit: `true`
|
|
17
|
+
* under `m3-map-view`, or your own key (one per map)
|
|
18
|
+
*/
|
|
19
|
+
persist?: boolean | string;
|
|
20
|
+
/** Zoom and compass buttons: `false`, or a corner (`true` is top-right) */
|
|
21
|
+
navigation?: boolean | MapControlPosition;
|
|
22
|
+
/** A button that centers the map on the user's location and follows it: `false`, or a corner (`true` is top-right) */
|
|
23
|
+
geolocate?: boolean | MapControlPosition;
|
|
24
|
+
/** A fullscreen button: `false`, or a corner (`true` is top-right) */
|
|
25
|
+
fullscreen?: boolean | MapControlPosition;
|
|
26
|
+
/** A metric scale bar: `false`, or a corner (`true` is bottom-left) */
|
|
27
|
+
scale?: boolean | MapControlPosition;
|
|
28
|
+
/** The credits of the style's sources, an info button that opens into a pill: `false`, or a corner (`true` is bottom-right). Most tile providers require it */
|
|
29
|
+
attribution?: boolean | MapControlPosition;
|
|
30
|
+
/** Anything else for MapLibre's `Map` constructor (`maxZoom`, `maxBounds`, `cooperativeGestures`…) */
|
|
31
|
+
options?: Partial<Omit<Maplibre.MapOptions, 'container' | 'style'>>;
|
|
32
|
+
/**
|
|
33
|
+
* Reads the style's conventions (layer names, groups, base layers, what to identify or show on hover) for
|
|
34
|
+
* `MMapLayers`, `MMapBaseLayers`, `MMapIdentify` and `MMapHover`: `genericAdapter`, `orvianAdapter()`, or your own
|
|
35
|
+
*/
|
|
36
|
+
adapter?: MapAdapter;
|
|
37
|
+
};
|
|
38
|
+
declare var __VLS_6: {};
|
|
39
|
+
type __VLS_Slots = {} & {
|
|
40
|
+
default?: (props: typeof __VLS_6) => any;
|
|
41
|
+
};
|
|
42
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
43
|
+
/** The MapLibre map, once loaded */
|
|
44
|
+
map: import("vue").ShallowRef<Maplibre.Map | undefined, Maplibre.Map | undefined>;
|
|
45
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
ready: (map: Maplibre.Map) => any;
|
|
47
|
+
click: (event: Maplibre.MapMouseEvent) => any;
|
|
48
|
+
"update:center": (center: [number, number]) => any;
|
|
49
|
+
"update:zoom": (zoom: number) => any;
|
|
50
|
+
"update:bearing": (bearing: number) => any;
|
|
51
|
+
"update:pitch": (pitch: number) => any;
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
53
|
+
onReady?: ((map: Maplibre.Map) => any) | undefined;
|
|
54
|
+
onClick?: ((event: Maplibre.MapMouseEvent) => any) | undefined;
|
|
55
|
+
"onUpdate:center"?: ((center: [number, number]) => any) | undefined;
|
|
56
|
+
"onUpdate:zoom"?: ((zoom: number) => any) | undefined;
|
|
57
|
+
"onUpdate:bearing"?: ((bearing: number) => any) | undefined;
|
|
58
|
+
"onUpdate:pitch"?: ((pitch: number) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
fullscreen: boolean | MapControlPosition;
|
|
61
|
+
navigation: boolean | MapControlPosition;
|
|
62
|
+
scale: boolean | MapControlPosition;
|
|
63
|
+
attribution: boolean | MapControlPosition;
|
|
64
|
+
persist: boolean | string;
|
|
65
|
+
geolocate: boolean | MapControlPosition;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
67
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
68
|
+
declare const _default: typeof __VLS_export;
|
|
69
|
+
export default _default;
|
|
70
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
71
|
+
new (): {
|
|
72
|
+
$slots: S;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Prefix for the thumbnails' paths (e.g. `/images/`); full URLs are used as they are */
|
|
3
|
+
imageBase?: string;
|
|
4
|
+
/** Offer "no base layer" */
|
|
5
|
+
none?: boolean;
|
|
6
|
+
/** Lay them out in a column */
|
|
7
|
+
vertical?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
none: boolean;
|
|
11
|
+
vertical: boolean;
|
|
12
|
+
imageBase: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { MapControlPosition } from './MMap.vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** The corner */
|
|
4
|
+
position?: MapControlPosition;
|
|
5
|
+
/** Draw it as a control group (a surface with dividers between buttons), like MapLibre's zoom buttons */
|
|
6
|
+
group?: boolean;
|
|
7
|
+
/** Expanded into its `#panel` (v-model:expanded) */
|
|
8
|
+
expanded?: boolean;
|
|
9
|
+
/** Springs the control's size when its content changes size (expanding, or anything else) */
|
|
10
|
+
animate?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_1: {
|
|
13
|
+
close: () => void;
|
|
14
|
+
}, __VLS_3: {
|
|
15
|
+
expanded: boolean;
|
|
16
|
+
toggle: () => void;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
panel?: (props: typeof __VLS_1) => any;
|
|
20
|
+
} & {
|
|
21
|
+
default?: (props: typeof __VLS_3) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:expanded": (args_0: boolean) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
"onUpdate:expanded"?: ((args_0: boolean) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
animate: boolean;
|
|
29
|
+
position: MapControlPosition;
|
|
30
|
+
expanded: boolean;
|
|
31
|
+
group: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { MapIdentifyResult } from '../composables/mapAdapters';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** What was found */
|
|
4
|
+
results: MapIdentifyResult[];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_6: {
|
|
7
|
+
field: {
|
|
8
|
+
key: string;
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
};
|
|
12
|
+
result: MapIdentifyResult;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
value?: (props: typeof __VLS_6) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** The layer's id */
|
|
3
|
+
layer: string;
|
|
4
|
+
/** The property to filter by */
|
|
5
|
+
property: string;
|
|
6
|
+
/** The values to offer (labels in `labels`); by default the ones found in the layer's loaded features */
|
|
7
|
+
values?: (string | number)[];
|
|
8
|
+
/** Labels for the values, by value */
|
|
9
|
+
labels?: Record<string, string>;
|
|
10
|
+
/** The selected values (v-model) */
|
|
11
|
+
modelValue?: (string | number)[];
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (values: (string | number)[]) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((values: (string | number)[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type * as Maplibre from 'maplibre-gl';
|
|
2
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
3
|
+
/** A layer of `MMapGeoJson`: any MapLibre layer without its `source` (and `id`, made up when left out). */
|
|
4
|
+
export type MapGeoJsonLayer = DistributiveOmit<Exclude<Maplibre.LayerSpecification, Maplibre.BackgroundLayerSpecification>, 'id' | 'source'> & {
|
|
5
|
+
id?: string;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
/** A GeoJSON object, or the URL of one */
|
|
9
|
+
data: Maplibre.GeoJSONSourceSpecification['data'];
|
|
10
|
+
/** The source's id (and the prefix of its layers' made-up ids). Unique on the map; generated when left out */
|
|
11
|
+
id?: string;
|
|
12
|
+
/** How to draw it: MapLibre layers without `source`. Defaults to theme-colored fill, outline, line and circle layers */
|
|
13
|
+
layers?: MapGeoJsonLayer[];
|
|
14
|
+
/** Insert the layers below this layer id (e.g. under the style's labels) */
|
|
15
|
+
before?: string;
|
|
16
|
+
/** Show a pointer over its features (set it when you handle `click`) */
|
|
17
|
+
interactive?: boolean;
|
|
18
|
+
/** More options for the GeoJSON source (`cluster`, `promoteId`, `tolerance`…) */
|
|
19
|
+
sourceOptions?: Partial<Omit<Maplibre.GeoJSONSourceSpecification, 'type' | 'data'>>;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
22
|
+
/** The source's id */
|
|
23
|
+
sourceId: string;
|
|
24
|
+
/** The ids of its layers on the map */
|
|
25
|
+
layerIds: () => string[];
|
|
26
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
click: (event: Maplibre.MapLayerMouseEvent) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
+
onClick?: ((event: Maplibre.MapLayerMouseEvent) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
interactive: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { MapControlPosition } from './MMap.vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** On (v-model) */
|
|
4
|
+
modelValue?: boolean;
|
|
5
|
+
/** Its on/off button: `false`, or a corner (`true` is top-right) */
|
|
6
|
+
control?: boolean | MapControlPosition;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (on: boolean) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((on: boolean) => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
modelValue: boolean;
|
|
14
|
+
control: boolean | MapControlPosition;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type MapIdentifyResult } from '../composables/mapAdapters';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Listen to clicks. It also pauses by itself while another tool owns them (`MMapMeasure` measuring) */
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
/** Show the results in a popup at the click */
|
|
6
|
+
popup?: boolean;
|
|
7
|
+
/** Mark where the user clicked while there are results */
|
|
8
|
+
marker?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare function close(): void;
|
|
11
|
+
declare var __VLS_12: {
|
|
12
|
+
results: MapIdentifyResult[];
|
|
13
|
+
lngLat: [number, number];
|
|
14
|
+
close: typeof close;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_12) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
20
|
+
close: typeof close;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
identify: (results: MapIdentifyResult[], lngLat: [number, number]) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
|
+
onIdentify?: ((results: MapIdentifyResult[], lngLat: [number, number]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
marker: boolean;
|
|
27
|
+
popup: boolean;
|
|
28
|
+
enabled: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { MapLayerInfo } from '../composables/mapAdapters';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Show the search field */
|
|
4
|
+
search?: boolean;
|
|
5
|
+
/** Groups start collapsed */
|
|
6
|
+
collapsed?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_25: {
|
|
9
|
+
layer: MapLayerInfo;
|
|
10
|
+
visible: boolean;
|
|
11
|
+
}, __VLS_36: {
|
|
12
|
+
layer: MapLayerInfo;
|
|
13
|
+
visible: boolean;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
16
|
+
actions?: (props: typeof __VLS_25) => any;
|
|
17
|
+
} & {
|
|
18
|
+
actions?: (props: typeof __VLS_36) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
+
search: boolean;
|
|
22
|
+
collapsed: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type * as Maplibre from 'maplibre-gl';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Position, `[lng, lat]` (v-model with `draggable`) */
|
|
4
|
+
lngLat: [number, number];
|
|
5
|
+
/** The pin's color (any CSS color). Defaults to the theme's primary; ignored with custom content */
|
|
6
|
+
color?: string;
|
|
7
|
+
/** Let the user drag it */
|
|
8
|
+
draggable?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Which part of the marker sits on `lngLat`. By default the pin's tip (MapLibre's placement: its center, offset
|
|
11
|
+
* `[0, -14]`), and the center of custom content
|
|
12
|
+
*/
|
|
13
|
+
anchor?: Maplibre.PositionAnchor;
|
|
14
|
+
/** Offset in pixels, `[x, y]`. The pin's default is MapLibre's `[0, -14]`, which puts its tip on `lngLat` */
|
|
15
|
+
offset?: [number, number];
|
|
16
|
+
/** Rotation in degrees */
|
|
17
|
+
rotation?: number;
|
|
18
|
+
};
|
|
19
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
default?: (props: typeof __VLS_1) => any;
|
|
22
|
+
} & {
|
|
23
|
+
popup?: (props: typeof __VLS_3) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
26
|
+
/** The MapLibre marker */
|
|
27
|
+
marker: () => Maplibre.Marker | undefined;
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
click: (event: MouseEvent) => any;
|
|
30
|
+
"update:lngLat": (lngLat: [number, number]) => any;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
33
|
+
"onUpdate:lngLat"?: ((lngLat: [number, number]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
rotation: number;
|
|
36
|
+
draggable: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type LngLat } from '../composables/_mapGeometry';
|
|
2
|
+
import type { MapControlPosition } from './MMap.vue';
|
|
3
|
+
type Mode = 'distance' | 'area';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/** The measuring mode (v-model): `'distance'`, `'area'`, or null. Set it to start measuring from outside */
|
|
6
|
+
modelValue?: Mode | null;
|
|
7
|
+
/** Its buttons: `false` (drive it with v-model), or a corner (`true` is top-right) */
|
|
8
|
+
control?: boolean | MapControlPosition;
|
|
9
|
+
};
|
|
10
|
+
declare function start(next: Mode): void;
|
|
11
|
+
declare function finish(byEscape?: boolean): void;
|
|
12
|
+
/** Deletes one finished measurement. */
|
|
13
|
+
declare function remove(index: number): void;
|
|
14
|
+
declare function clear(): void;
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
16
|
+
start: typeof start;
|
|
17
|
+
finish: typeof finish;
|
|
18
|
+
clear: typeof clear;
|
|
19
|
+
remove: typeof remove;
|
|
20
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (mode: Mode | null) => any;
|
|
22
|
+
change: (measurements: {
|
|
23
|
+
mode: Mode;
|
|
24
|
+
points: LngLat[];
|
|
25
|
+
closed: boolean;
|
|
26
|
+
length: number;
|
|
27
|
+
area?: number;
|
|
28
|
+
}[]) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((mode: Mode | null) => any) | undefined;
|
|
31
|
+
onChange?: ((measurements: {
|
|
32
|
+
mode: Mode;
|
|
33
|
+
points: LngLat[];
|
|
34
|
+
closed: boolean;
|
|
35
|
+
length: number;
|
|
36
|
+
area?: number;
|
|
37
|
+
}[]) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
modelValue: Mode | null;
|
|
40
|
+
control: boolean | MapControlPosition;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type * as Maplibre from 'maplibre-gl';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Position, `[lng, lat]` */
|
|
4
|
+
lngLat: [number, number];
|
|
5
|
+
/** Shown (v-model) */
|
|
6
|
+
open?: boolean;
|
|
7
|
+
/** Show a close button */
|
|
8
|
+
closeButton?: boolean;
|
|
9
|
+
/** Close it when the map is clicked */
|
|
10
|
+
closeOnClick?: boolean;
|
|
11
|
+
/** Where the popup sits relative to `lngLat`. By default MapLibre picks the side with room */
|
|
12
|
+
anchor?: Maplibre.PositionAnchor;
|
|
13
|
+
/**
|
|
14
|
+
* Offset from `lngLat`: pixels, `[x, y]`, or one per side (`{ bottom: [0, -38], … }`, MapLibre's `Offset`).
|
|
15
|
+
* By default none: its tip touches the point
|
|
16
|
+
*/
|
|
17
|
+
offset?: Maplibre.Offset;
|
|
18
|
+
/** Maximum width (CSS) */
|
|
19
|
+
maxWidth?: string;
|
|
20
|
+
};
|
|
21
|
+
declare var __VLS_1: {};
|
|
22
|
+
type __VLS_Slots = {} & {
|
|
23
|
+
default?: (props: typeof __VLS_1) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
26
|
+
/** The MapLibre popup */
|
|
27
|
+
popup: () => Maplibre.Popup | undefined;
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
"update:open": (open: boolean) => any;
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
open: boolean;
|
|
34
|
+
maxWidth: string;
|
|
35
|
+
closeButton: boolean;
|
|
36
|
+
closeOnClick: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
|
+
declare const _default: typeof __VLS_export;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type MapSearchProvider, type MapSearchResult } from '../composables/mapSearch';
|
|
2
|
+
import type { MapControlPosition } from './MMap.vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
/** Where to search: `nominatimProvider(options)` by default, or your own function */
|
|
5
|
+
provider?: MapSearchProvider;
|
|
6
|
+
/** The corner */
|
|
7
|
+
position?: MapControlPosition;
|
|
8
|
+
/** The field's placeholder (the locale's "Search places" by default) */
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
/** The zoom to fly to for a result without an extent */
|
|
11
|
+
zoom?: number;
|
|
12
|
+
/** Mark the picked result */
|
|
13
|
+
marker?: boolean;
|
|
14
|
+
/** Search while typing (debounced), for providers that allow it; Nominatim's public server doesn't */
|
|
15
|
+
instant?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
select: (result: MapSearchResult) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onSelect?: ((result: MapSearchResult) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
marker: boolean;
|
|
23
|
+
position: MapControlPosition;
|
|
24
|
+
instant: boolean;
|
|
25
|
+
zoom: number;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
@@ -21,11 +21,11 @@ type __VLS_Props = {
|
|
|
21
21
|
*/
|
|
22
22
|
selectedIcon?: string;
|
|
23
23
|
};
|
|
24
|
-
declare var __VLS_21: {},
|
|
24
|
+
declare var __VLS_21: {}, __VLS_42: {};
|
|
25
25
|
type __VLS_Slots = {} & {
|
|
26
26
|
default?: (props: typeof __VLS_21) => any;
|
|
27
27
|
} & {
|
|
28
|
-
children?: (props: typeof
|
|
28
|
+
children?: (props: typeof __VLS_42) => any;
|
|
29
29
|
};
|
|
30
30
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
31
|
click: () => any;
|