@m3ui-vue/m3ui-vue 1.1.3 → 1.2.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/README.md +1 -1
- package/dist/API.md +579 -40
- package/dist/MMenuItem-DI351kIf.js +929 -0
- package/dist/MMenuItem-DI351kIf.js.map +1 -0
- package/dist/MSlider-BnEy5ieZ.js +1500 -0
- package/dist/MSlider-BnEy5ieZ.js.map +1 -0
- package/dist/MTextField-BBmkaIbO.js +633 -0
- package/dist/MTextField-BBmkaIbO.js.map +1 -0
- package/dist/api.json +1 -1
- package/dist/chart.js +83 -49
- package/dist/chart.js.map +1 -1
- package/dist/code-editor.js +1 -1
- package/dist/components/MAnimatedNumber.vue.d.ts +3 -1
- package/dist/components/MButton.vue.d.ts +9 -1
- package/dist/components/MButtonGroup.vue.d.ts +40 -31
- package/dist/components/MCarousel.vue.d.ts +2 -0
- package/dist/components/MChart.vue.d.ts +6 -0
- package/dist/components/MCircleProgressBar.vue.d.ts +5 -3
- package/dist/components/MContainerTransform.vue.d.ts +59 -0
- package/dist/components/MContextMenu.vue.d.ts +2 -2
- package/dist/components/MCopyButton.vue.d.ts +1 -1
- package/dist/components/MDialog.vue.d.ts +8 -5
- package/dist/components/MExportButton.vue.d.ts +1 -1
- package/dist/components/MFab.vue.d.ts +2 -2
- package/dist/components/MFabMenu.vue.d.ts +1 -1
- package/dist/components/MFlex.vue.d.ts +1 -1
- package/dist/components/MIconButton.vue.d.ts +15 -1
- package/dist/components/MInfiniteScroll.vue.d.ts +1 -1
- package/dist/components/MListItem.vue.d.ts +5 -5
- package/dist/components/MMap.vue.d.ts +20 -2
- package/dist/components/MMapBaseLayers.vue.d.ts +3 -0
- package/dist/components/MMapFilter.vue.d.ts +3 -0
- package/dist/components/MMapLayers.vue.d.ts +3 -0
- package/dist/components/MMenu.vue.d.ts +2 -2
- package/dist/components/MMenuItem.vue.d.ts +7 -3
- package/dist/components/MNavigationDrawer.vue.d.ts +13 -2
- package/dist/components/MNavigationRail.vue.d.ts +1 -1
- package/dist/components/MOverlay.vue.d.ts +12 -1
- package/dist/components/MProgressBar.vue.d.ts +5 -3
- package/dist/components/MPullToRefresh.vue.d.ts +7 -2
- package/dist/components/MRichTextEditor.vue.d.ts +7 -1
- package/dist/components/MSearchField.vue.d.ts +58 -0
- package/dist/components/MSegmentedButton.vue.d.ts +31 -23
- package/dist/components/MSimpleCarousel.vue.d.ts +2 -0
- package/dist/components/MSkeleton.vue.d.ts +6 -3
- package/dist/components/MSplitter.vue.d.ts +1 -1
- package/dist/components/MStack.vue.d.ts +1 -1
- package/dist/components/MSwipeToDismiss.vue.d.ts +1 -1
- package/dist/components/MSwitch.vue.d.ts +1 -1
- package/dist/components/MTextField.vue.d.ts +5 -1
- package/dist/components/MTimeline.vue.d.ts +85 -22
- package/dist/components/MToolbar.vue.d.ts +32 -5
- package/dist/components/MTooltip.vue.d.ts +1 -1
- package/dist/components/_MDrawerItemList.vue.d.ts +2 -0
- package/dist/components/_MToolbarFab.vue.d.ts +16 -0
- package/dist/composables/_containerTransform.d.ts +48 -0
- package/dist/composables/_mapStyle.d.ts +13 -0
- package/dist/composables/_themeTransition.d.ts +2 -0
- package/dist/composables/_tooltipTrigger.d.ts +22 -0
- package/dist/composables/_useMenuNav.d.ts +28 -0
- package/dist/composables/useAutoGrow.d.ts +21 -0
- package/dist/composables/useColorPalette.d.ts +1 -1
- package/dist/composables/useContainerTransform.d.ts +30 -0
- package/dist/composables/useLocale.d.ts +6 -0
- package/dist/composables/useMap.d.ts +19 -3
- package/dist/composables/useMapFilter.d.ts +4 -1
- package/dist/composables/useMapLayers.d.ts +5 -2
- package/dist/composables/useScrollReveal.d.ts +44 -0
- package/dist/composables/useThemeTokens.d.ts +21 -0
- package/dist/composables/viewportHints.d.ts +27 -0
- package/dist/directives/vClickOutside.d.ts +25 -0
- package/dist/directives/vFocusRing.d.ts +22 -0
- package/dist/directives/vLongPress.d.ts +27 -0
- package/dist/directives/vReveal.d.ts +10 -0
- package/dist/directives/vScrollElevation.d.ts +31 -0
- package/dist/directives/vSkeleton.d.ts +19 -0
- package/dist/directives/vStateLayer.d.ts +20 -0
- package/dist/directives/vSwipe.d.ts +45 -0
- package/dist/directives/vTooltip.d.ts +23 -0
- package/dist/index.d.ts +31 -1
- package/dist/locales/index.js +35 -7
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +7692 -6273
- package/dist/m3ui.js.map +1 -1
- package/dist/map.d.ts +1 -1
- package/dist/map.js +823 -793
- package/dist/map.js.map +1 -1
- package/dist/motion-DZiXG09o.js +150 -0
- package/dist/motion-DZiXG09o.js.map +1 -0
- package/dist/plugin.d.ts +24 -0
- package/dist/rich-text-editor.js +20 -16
- package/dist/rich-text-editor.js.map +1 -1
- package/dist/styles/theme.css +63 -0
- package/dist/styles.css +1 -1
- package/dist/{useLocale-SfQHnJfp.js → useLocale-JYxDDeXC.js} +6 -2
- package/dist/useLocale-JYxDDeXC.js.map +1 -0
- package/dist/useThemeTokens-Bv-Uv8eX.js +135 -0
- package/dist/useThemeTokens-Bv-Uv8eX.js.map +1 -0
- package/package.json +2 -1
- package/src/__tests__/MAnimatedNumber.test.ts +24 -2
- package/src/__tests__/MButton.test.ts +22 -0
- package/src/__tests__/MCarousel.test.ts +9 -0
- package/src/__tests__/MChart.test.ts +77 -5
- package/src/__tests__/MContainerTransform.test.ts +279 -0
- package/src/__tests__/MDialog.test.ts +27 -0
- package/src/__tests__/MIconButton.test.ts +33 -0
- package/src/__tests__/MListItemExpandable.test.ts +48 -0
- package/src/__tests__/MListItemShape.test.ts +9 -6
- package/src/__tests__/MListKeyboard.test.ts +90 -0
- package/src/__tests__/MMap.test.ts +53 -1
- package/src/__tests__/MMapLayers.test.ts +46 -2
- package/src/__tests__/MMapTools.test.ts +2 -1
- package/src/__tests__/MMenu.test.ts +104 -1
- package/src/__tests__/MMenuItem.test.ts +18 -0
- package/src/__tests__/MNavigationDrawer.test.ts +80 -0
- package/src/__tests__/MNavigationRail.test.ts +33 -0
- package/src/__tests__/MOverlay.test.ts +49 -0
- package/src/__tests__/MProgressBar.test.ts +41 -0
- package/src/__tests__/MPullToRefresh.test.ts +33 -0
- package/src/__tests__/MRichTextEditor.test.ts +22 -0
- package/src/__tests__/MSearchField.test.ts +71 -0
- package/src/__tests__/MSkeleton.test.ts +38 -0
- package/src/__tests__/MSlider.test.ts +161 -0
- package/src/__tests__/MTimeline.test.ts +238 -0
- package/src/__tests__/MToolbar.test.ts +157 -0
- package/src/__tests__/_fakeMaplibre.ts +3 -1
- package/src/__tests__/attrsFallthrough.test.ts +9 -0
- package/src/__tests__/escapeStack.test.ts +93 -0
- package/src/__tests__/hydration.test.ts +25 -0
- package/src/__tests__/ssr.test.ts +21 -2
- package/src/__tests__/useAutoGrow.test.ts +103 -0
- package/src/__tests__/useScrollReveal.test.ts +102 -0
- package/src/__tests__/useThemeTokens.test.ts +114 -0
- package/src/__tests__/vClickOutside.test.ts +82 -0
- package/src/__tests__/vFocusRing.test.ts +36 -0
- package/src/__tests__/vLongPress.test.ts +81 -0
- package/src/__tests__/vScrollElevation.test.ts +89 -0
- package/src/__tests__/vSkeleton.test.ts +48 -0
- package/src/__tests__/vStateLayer.test.ts +53 -0
- package/src/__tests__/vSwipe.test.ts +93 -0
- package/src/__tests__/vTooltip.test.ts +95 -0
- package/src/__tests__/viewportHints.test.ts +41 -0
- package/src/components/MAnimatedNumber.vue +32 -6
- package/src/components/MAutocomplete.vue +5 -0
- package/src/components/MBottomSheet.vue +4 -1
- package/src/components/MButton.vue +19 -3
- package/src/components/MButtonGroup.vue +22 -17
- package/src/components/MCarousel.vue +7 -1
- package/src/components/MChart.vue +74 -34
- package/src/components/MCircleProgressBar.vue +14 -9
- package/src/components/MCommandPalette.vue +3 -2
- package/src/components/MContainerTransform.vue +321 -0
- package/src/components/MContextMenu.vue +19 -60
- package/src/components/MDialog.vue +31 -6
- package/src/components/MDragDropList.vue +2 -0
- package/src/components/MFab.vue +10 -5
- package/src/components/MIconButton.vue +43 -2
- package/src/components/MKanban.vue +2 -0
- package/src/components/MLightbox.vue +7 -2
- package/src/components/MList.vue +26 -2
- package/src/components/MListItem.vue +138 -84
- package/src/components/MMap.vue +38 -5
- package/src/components/MMapBaseLayers.vue +7 -3
- package/src/components/MMapFilter.vue +7 -4
- package/src/components/MMapGeoJson.vue +1 -1
- package/src/components/MMapLayers.vue +6 -2
- package/src/components/MMapMeasure.vue +5 -2
- package/src/components/MMenu.vue +18 -59
- package/src/components/MMenuItem.vue +11 -2
- package/src/components/MMultiAutocomplete.vue +5 -0
- package/src/components/MNavigationDrawer.vue +96 -11
- package/src/components/MNavigationRail.vue +44 -25
- package/src/components/MOverlay.vue +32 -13
- package/src/components/MProgressBar.vue +25 -27
- package/src/components/MPullToRefresh.vue +20 -1
- package/src/components/MRichTextEditor.vue +19 -5
- package/src/components/MSearchBar.vue +5 -0
- package/src/components/MSearchField.vue +142 -0
- package/src/components/MSegmentedButton.vue +19 -17
- package/src/components/MSelect.vue +10 -1
- package/src/components/MSideSheet.vue +5 -2
- package/src/components/MSimpleCarousel.vue +10 -1
- package/src/components/MSkeleton.vue +30 -8
- package/src/components/MSlider.vue +161 -42
- package/src/components/MSpotlightSearch.vue +3 -2
- package/src/components/MTextField.vue +15 -2
- package/src/components/MTimeline.vue +370 -81
- package/src/components/MToolbar.vue +256 -15
- package/src/components/MTooltip.vue +20 -152
- package/src/components/_MDrawerItemList.vue +25 -6
- package/src/components/_MToolbarFab.vue +14 -0
- package/src/composables/_containerTransform.ts +179 -0
- package/src/composables/_mapStyle.ts +45 -0
- package/src/composables/_themeTransition.ts +2 -0
- package/src/composables/_tooltipTrigger.ts +184 -0
- package/src/composables/_useEscapeStack.ts +2 -0
- package/src/composables/_useMenuNav.ts +209 -0
- package/src/composables/useAutoGrow.ts +78 -0
- package/src/composables/useContainerTransform.ts +59 -0
- package/src/composables/useLocale.ts +10 -0
- package/src/composables/useMap.ts +43 -5
- package/src/composables/useMapFilter.ts +6 -5
- package/src/composables/useMapLayers.ts +7 -6
- package/src/composables/useScrollReveal.ts +151 -0
- package/src/composables/useThemeTokens.ts +116 -0
- package/src/composables/viewportHints.ts +80 -0
- package/src/directives/vClickOutside.ts +90 -0
- package/src/directives/vFocusRing.ts +60 -0
- package/src/directives/vLongPress.ts +134 -0
- package/src/directives/vReveal.ts +57 -0
- package/src/directives/vScrollElevation.ts +116 -0
- package/src/directives/vSkeleton.ts +87 -0
- package/src/directives/vStateLayer.ts +83 -0
- package/src/directives/vSwipe.ts +197 -0
- package/src/directives/vTooltip.ts +128 -0
- package/src/index.ts +31 -1
- package/src/locales/de.ts +4 -0
- package/src/locales/es.ts +4 -0
- package/src/locales/fr.ts +4 -0
- package/src/locales/ja.ts +4 -0
- package/src/locales/ko.ts +4 -0
- package/src/locales/pt.ts +4 -0
- package/src/locales/zh.ts +4 -0
- package/src/map.ts +1 -1
- package/src/plugin.ts +34 -0
- package/src/styles/theme.css +63 -0
- package/dist/MMenuItem-BckcR0nW.js +0 -809
- package/dist/MMenuItem-BckcR0nW.js.map +0 -1
- package/dist/MSlider-LyH_gy8D.js +0 -1411
- package/dist/MSlider-LyH_gy8D.js.map +0 -1
- package/dist/MTextField-FCPOTB0o.js +0 -672
- package/dist/MTextField-FCPOTB0o.js.map +0 -1
- package/dist/composables/_useThemeTokens.d.ts +0 -7
- package/dist/useLocale-SfQHnJfp.js.map +0 -1
- package/src/composables/_useThemeTokens.ts +0 -42
|
@@ -5,6 +5,18 @@ type __VLS_Props = {
|
|
|
5
5
|
label?: string;
|
|
6
6
|
/** Visual style */
|
|
7
7
|
variant?: 'standard' | 'filled' | 'tonal' | 'outlined';
|
|
8
|
+
/**
|
|
9
|
+
* An M3 role or any CSS color (`#fff` over a photo, `rgb(0 0 0 / 0.3)` for a scrim-like filled button,
|
|
10
|
+
* `currentColor` to follow the surrounding text). Standard and outlined use it for the icon; filled for the
|
|
11
|
+
* container with white (or the role's on-color) on it; tonal for a 20% container with the color on it.
|
|
12
|
+
* Disabled buttons and toggles keep their own colors
|
|
13
|
+
*/
|
|
14
|
+
color?: 'primary' | 'secondary' | 'tertiary' | 'error' | (string & {});
|
|
15
|
+
/**
|
|
16
|
+
* Icon color over what the variant and `color` give: an M3 role (`on-surface`…) or any CSS color (`#000` on a
|
|
17
|
+
* white filled button). Disabled buttons and toggles keep their own
|
|
18
|
+
*/
|
|
19
|
+
contentColor?: string;
|
|
8
20
|
/**
|
|
9
21
|
* Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md,
|
|
10
22
|
* 28px lg/xl)
|
|
@@ -25,6 +37,8 @@ type __VLS_Props = {
|
|
|
25
37
|
checked?: boolean;
|
|
26
38
|
/** Icon shown while checked, when it differs from `icon` (e.g. 'pause' for 'play_arrow') */
|
|
27
39
|
checkedIcon?: string;
|
|
40
|
+
/** Draw the icon filled (Material Symbols' FILL axis) without making it a toggle, e.g. media controls */
|
|
41
|
+
iconFilled?: boolean;
|
|
28
42
|
};
|
|
29
43
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
44
|
"update:checked": (args_0: boolean) => any;
|
|
@@ -33,8 +47,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
33
47
|
}>, {
|
|
34
48
|
size: "xs" | "sm" | "md" | "lg" | "xl" | number;
|
|
35
49
|
variant: "standard" | "filled" | "tonal" | "outlined";
|
|
36
|
-
shape: "rounded" | "squared";
|
|
37
50
|
disabled: boolean;
|
|
51
|
+
shape: "rounded" | "squared";
|
|
38
52
|
checked: boolean;
|
|
39
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
54
|
declare const _default: typeof __VLS_export;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
29
29
|
}>, {
|
|
30
30
|
loading: boolean;
|
|
31
31
|
ended: boolean;
|
|
32
|
-
disabled: boolean;
|
|
33
32
|
threshold: number;
|
|
33
|
+
disabled: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
@@ -48,7 +48,7 @@ type __VLS_Props = {
|
|
|
48
48
|
/** Control the expanded state (v-model:expanded) — otherwise managed internally */
|
|
49
49
|
expanded?: boolean;
|
|
50
50
|
};
|
|
51
|
-
declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {}, __VLS_23: {},
|
|
51
|
+
declare var __VLS_1: {}, __VLS_8: {}, __VLS_10: {}, __VLS_23: {}, __VLS_50: {}, __VLS_72: {}, __VLS_74: {}, __VLS_76: {};
|
|
52
52
|
type __VLS_Slots = {} & {
|
|
53
53
|
leading?: (props: typeof __VLS_1) => any;
|
|
54
54
|
} & {
|
|
@@ -58,13 +58,13 @@ type __VLS_Slots = {} & {
|
|
|
58
58
|
} & {
|
|
59
59
|
children?: (props: typeof __VLS_23) => any;
|
|
60
60
|
} & {
|
|
61
|
-
leading?: (props: typeof
|
|
61
|
+
leading?: (props: typeof __VLS_50) => any;
|
|
62
62
|
} & {
|
|
63
|
-
overline?: (props: typeof
|
|
63
|
+
overline?: (props: typeof __VLS_72) => any;
|
|
64
64
|
} & {
|
|
65
|
-
default?: (props: typeof
|
|
65
|
+
default?: (props: typeof __VLS_74) => any;
|
|
66
66
|
} & {
|
|
67
|
-
trailing?: (props: typeof
|
|
67
|
+
trailing?: (props: typeof __VLS_76) => any;
|
|
68
68
|
};
|
|
69
69
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
70
70
|
click: (e: MouseEvent) => any;
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import type * as Maplibre from 'maplibre-gl';
|
|
2
|
+
import { type MapContext } from '../composables/useMap';
|
|
2
3
|
import type { MapAdapter } from '../composables/mapAdapters';
|
|
3
4
|
export type MapControlPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
4
5
|
type __VLS_Props = {
|
|
5
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* The map's style: a style JSON URL or a style object (MapLibre's `StyleSpecification`). Changing it reloads the
|
|
8
|
+
* style, keeping what was added at runtime (see `keepLayers`)
|
|
9
|
+
*/
|
|
6
10
|
mapStyle: string | Maplibre.StyleSpecification;
|
|
11
|
+
/**
|
|
12
|
+
* What happens to the sources and layers added at runtime (with `useMap()`, or by `MMapGeoJson`, `MMapMeasure`…)
|
|
13
|
+
* when `mapStyle` changes: `true` carries them into the new style, on top of its layers; `false` drops them, as
|
|
14
|
+
* MapLibre does; a function picks the layers to carry (their sources come along)
|
|
15
|
+
*/
|
|
16
|
+
keepLayers?: boolean | ((layer: Maplibre.LayerSpecification) => boolean);
|
|
17
|
+
/**
|
|
18
|
+
* MapLibre's `transformStyle` for a `mapStyle` change, run after `keepLayers`: edit the next style before it
|
|
19
|
+
* loads (copy a layer's paint over, add a sprite…)
|
|
20
|
+
*/
|
|
21
|
+
transformStyle?: Maplibre.TransformStyleFunction;
|
|
7
22
|
/** `[lng, lat]` (v-model). When left out, the style's (or the remembered view's) */
|
|
8
23
|
center?: [number, number];
|
|
9
24
|
/** Zoom level (v-model) */
|
|
@@ -42,6 +57,8 @@ type __VLS_Slots = {} & {
|
|
|
42
57
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
43
58
|
/** The MapLibre map, once loaded */
|
|
44
59
|
map: import("vue").ShallowRef<Maplibre.Map | undefined, Maplibre.Map | undefined>;
|
|
60
|
+
/** What the components inside it share: pass the `MMap` (or this) as `map` to `MMapLayers`, `useMap()`… outside it */
|
|
61
|
+
context: MapContext;
|
|
45
62
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
63
|
ready: (map: Maplibre.Map) => any;
|
|
47
64
|
click: (event: Maplibre.MapMouseEvent) => any;
|
|
@@ -57,10 +74,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
57
74
|
"onUpdate:bearing"?: ((bearing: number) => any) | undefined;
|
|
58
75
|
"onUpdate:pitch"?: ((pitch: number) => any) | undefined;
|
|
59
76
|
}>, {
|
|
77
|
+
scale: boolean | MapControlPosition;
|
|
60
78
|
fullscreen: boolean | MapControlPosition;
|
|
61
79
|
navigation: boolean | MapControlPosition;
|
|
62
|
-
scale: boolean | MapControlPosition;
|
|
63
80
|
attribution: boolean | MapControlPosition;
|
|
81
|
+
keepLayers: boolean | ((layer: Maplibre.LayerSpecification) => boolean);
|
|
64
82
|
persist: boolean | string;
|
|
65
83
|
geolocate: boolean | MapControlPosition;
|
|
66
84
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MapSource } from '../composables/useMap';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
/** Prefix for the thumbnails' paths (e.g. `/images/`); full URLs are used as they are */
|
|
3
4
|
imageBase?: string;
|
|
@@ -5,6 +6,8 @@ type __VLS_Props = {
|
|
|
5
6
|
none?: boolean;
|
|
6
7
|
/** Lay them out in a column */
|
|
7
8
|
vertical?: boolean;
|
|
9
|
+
/** The map, when this is outside it (a side panel): the `MMap`'s template ref */
|
|
10
|
+
map?: MapSource;
|
|
8
11
|
};
|
|
9
12
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
13
|
none: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type MapSource } from '../composables/useMap';
|
|
1
2
|
type __VLS_Props = {
|
|
2
3
|
/** The layer's id */
|
|
3
4
|
layer: string;
|
|
@@ -9,6 +10,8 @@ type __VLS_Props = {
|
|
|
9
10
|
labels?: Record<string, string>;
|
|
10
11
|
/** The selected values (v-model) */
|
|
11
12
|
modelValue?: (string | number)[];
|
|
13
|
+
/** The map, when this is outside it (a side panel): the `MMap`'s template ref */
|
|
14
|
+
map?: MapSource;
|
|
12
15
|
};
|
|
13
16
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
17
|
"update:modelValue": (values: (string | number)[]) => any;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import type { MapSource } from '../composables/useMap';
|
|
1
2
|
import type { MapLayerInfo } from '../composables/mapAdapters';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
/** Show the search field */
|
|
4
5
|
search?: boolean;
|
|
5
6
|
/** Groups start collapsed */
|
|
6
7
|
collapsed?: boolean;
|
|
8
|
+
/** The map, when this is outside it (a side panel): the `MMap`'s template ref */
|
|
9
|
+
map?: MapSource;
|
|
7
10
|
};
|
|
8
11
|
declare var __VLS_25: {
|
|
9
12
|
layer: MapLayerInfo;
|
|
@@ -18,13 +18,13 @@ type __VLS_Props = {
|
|
|
18
18
|
declare function close(): void;
|
|
19
19
|
declare var __VLS_1: {
|
|
20
20
|
open: boolean;
|
|
21
|
-
},
|
|
21
|
+
}, __VLS_47: {
|
|
22
22
|
close: typeof close;
|
|
23
23
|
};
|
|
24
24
|
type __VLS_Slots = {} & {
|
|
25
25
|
trigger?: (props: typeof __VLS_1) => any;
|
|
26
26
|
} & {
|
|
27
|
-
default?: (props: typeof
|
|
27
|
+
default?: (props: typeof __VLS_47) => any;
|
|
28
28
|
};
|
|
29
29
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
30
30
|
close: typeof close;
|
|
@@ -21,11 +21,15 @@ type __VLS_Props = {
|
|
|
21
21
|
*/
|
|
22
22
|
selectedIcon?: string;
|
|
23
23
|
};
|
|
24
|
-
declare var
|
|
24
|
+
declare var __VLS_16: {
|
|
25
|
+
on: boolean;
|
|
26
|
+
}, __VLS_23: {}, __VLS_44: {};
|
|
25
27
|
type __VLS_Slots = {} & {
|
|
26
|
-
|
|
28
|
+
icon?: (props: typeof __VLS_16) => any;
|
|
27
29
|
} & {
|
|
28
|
-
|
|
30
|
+
default?: (props: typeof __VLS_23) => any;
|
|
31
|
+
} & {
|
|
32
|
+
children?: (props: typeof __VLS_44) => any;
|
|
29
33
|
};
|
|
30
34
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
35
|
click: () => any;
|
|
@@ -30,6 +30,11 @@ type __VLS_Props = {
|
|
|
30
30
|
modal?: boolean;
|
|
31
31
|
/** Compact mode (72px) showing only icons — inline variant only */
|
|
32
32
|
collapsed?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* In `collapsed` mode, shows each item's label under its icon, with the selection on a 56×32 pill around
|
|
35
|
+
* the icon, like MNavigationRail's collapsed items — nested items included
|
|
36
|
+
*/
|
|
37
|
+
collapsedLabels?: boolean;
|
|
33
38
|
/** Custom drawer width (e.g. "320px", "25rem"). Defaults to 22.5rem (360px) */
|
|
34
39
|
width?: string;
|
|
35
40
|
/**
|
|
@@ -39,8 +44,12 @@ type __VLS_Props = {
|
|
|
39
44
|
side?: 'left' | 'right' | 'top' | 'bottom';
|
|
40
45
|
/** Lets the modal drawer be swiped closed toward its edge; with false it only closes through v-model or the scrim */
|
|
41
46
|
swipeEnabled?: boolean;
|
|
47
|
+
/** Opens the groups that hold the selected item (and the selected item, if it's a group) whenever `selected` changes */
|
|
48
|
+
expandSelected?: boolean;
|
|
49
|
+
/** Keeps one group open per level: opening a group, by hand or through `expandSelected`, closes its siblings */
|
|
50
|
+
accordion?: boolean;
|
|
42
51
|
};
|
|
43
|
-
declare var __VLS_16: {}, __VLS_66: {}, __VLS_68: {}, __VLS_70: {},
|
|
52
|
+
declare var __VLS_16: {}, __VLS_66: {}, __VLS_68: {}, __VLS_70: {}, __VLS_131: {};
|
|
44
53
|
type __VLS_Slots = {} & {
|
|
45
54
|
header?: (props: typeof __VLS_16) => any;
|
|
46
55
|
} & {
|
|
@@ -50,7 +59,7 @@ type __VLS_Slots = {} & {
|
|
|
50
59
|
} & {
|
|
51
60
|
header?: (props: typeof __VLS_70) => any;
|
|
52
61
|
} & {
|
|
53
|
-
default?: (props: typeof
|
|
62
|
+
default?: (props: typeof __VLS_131) => any;
|
|
54
63
|
};
|
|
55
64
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
56
65
|
openItems: Record<string | number, boolean>;
|
|
@@ -64,6 +73,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
64
73
|
modal: boolean;
|
|
65
74
|
swipeEnabled: boolean;
|
|
66
75
|
side: "left" | "right" | "top" | "bottom";
|
|
76
|
+
expandSelected: boolean;
|
|
77
|
+
accordion: boolean;
|
|
67
78
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
68
79
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
69
80
|
declare const _default: typeof __VLS_export;
|
|
@@ -17,7 +17,7 @@ type __VLS_Props = {
|
|
|
17
17
|
/** Vertical alignment of items within the rail */
|
|
18
18
|
alignment?: 'top' | 'center' | 'bottom';
|
|
19
19
|
/**
|
|
20
|
-
* Widens the rail (
|
|
20
|
+
* Widens the rail (to fit the longest label, 220 to 360px) and shows each item's icon beside its label in a full-width pill, instead of the icon
|
|
21
21
|
* over the label. Toggle it from your own menu button.
|
|
22
22
|
*/
|
|
23
23
|
expanded?: boolean;
|
|
@@ -5,6 +5,15 @@ type __VLS_Props = {
|
|
|
5
5
|
scrim?: boolean;
|
|
6
6
|
/** Z-index value */
|
|
7
7
|
zIndex?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Closes on Escape. It shares the library's Escape stack with MDialog and the sheets, so a dialog or menu opened
|
|
10
|
+
* over it takes Escape first
|
|
11
|
+
*/
|
|
12
|
+
closeOnEscape?: boolean;
|
|
13
|
+
/** Locks the page's scroll while open (shared with the library's other modal surfaces, so stacking is safe) */
|
|
14
|
+
lockScroll?: boolean;
|
|
15
|
+
/** Name of a `<Transition>` (your CSS classes) to play instead of the default fade */
|
|
16
|
+
transition?: string;
|
|
8
17
|
};
|
|
9
18
|
declare var __VLS_13: {};
|
|
10
19
|
type __VLS_Slots = {} & {
|
|
@@ -15,9 +24,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
15
24
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
25
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
26
|
}>, {
|
|
18
|
-
modelValue: boolean;
|
|
19
27
|
scrim: boolean;
|
|
28
|
+
modelValue: boolean;
|
|
20
29
|
zIndex: number;
|
|
30
|
+
closeOnEscape: boolean;
|
|
31
|
+
lockScroll: boolean;
|
|
21
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
34
|
declare const _default: typeof __VLS_export;
|
|
@@ -3,8 +3,10 @@ type __VLS_Props = {
|
|
|
3
3
|
value?: number;
|
|
4
4
|
/** Indeterminate animation — also implied by omitting value */
|
|
5
5
|
indeterminate?: boolean;
|
|
6
|
-
/** Bar color */
|
|
7
|
-
color?: "primary" | "secondary" | "tertiary" | "error";
|
|
6
|
+
/** Bar color: an M3 role or any CSS color (`#fff` over a photo, say) */
|
|
7
|
+
color?: "primary" | "secondary" | "tertiary" | "error" | (string & {});
|
|
8
|
+
/** Track color: an M3 role or any CSS color. Default the role's container, or the bar color at 24% for a CSS color */
|
|
9
|
+
trackColor?: string;
|
|
8
10
|
/** Bar style */
|
|
9
11
|
variant?: "linear" | "wavy";
|
|
10
12
|
/** Label text above the bar */
|
|
@@ -13,7 +15,7 @@ type __VLS_Props = {
|
|
|
13
15
|
thickness?: number;
|
|
14
16
|
};
|
|
15
17
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
-
color: "primary" | "secondary" | "tertiary" | "error";
|
|
18
|
+
color: "primary" | "secondary" | "tertiary" | "error" | (string & {});
|
|
17
19
|
variant: "linear" | "wavy";
|
|
18
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -17,15 +17,20 @@ declare var __VLS_6: {};
|
|
|
17
17
|
type __VLS_Slots = {} & {
|
|
18
18
|
default?: (props: typeof __VLS_6) => any;
|
|
19
19
|
};
|
|
20
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
21
|
+
/** The element that scrolls the slot's content */
|
|
22
|
+
scrollEl: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
23
|
+
/** Scrolls the content, like `Element.scrollTo()` (e.g. `{ top: 0, behavior: 'smooth' }`) */
|
|
24
|
+
scrollTo: (options: ScrollToOptions) => void | undefined;
|
|
25
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
26
|
refresh: () => any;
|
|
22
27
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
28
|
onRefresh?: (() => any) | undefined;
|
|
24
29
|
}>, {
|
|
25
30
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
26
31
|
size: number;
|
|
27
|
-
disabled: boolean;
|
|
28
32
|
threshold: number;
|
|
33
|
+
disabled: boolean;
|
|
29
34
|
refreshing: boolean;
|
|
30
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -32,8 +32,13 @@ type __VLS_Props = {
|
|
|
32
32
|
placeholder?: string;
|
|
33
33
|
/** Disables editing */
|
|
34
34
|
disabled?: boolean;
|
|
35
|
-
/** Minimum
|
|
35
|
+
/** Minimum height of the text area (not used with `fill`) */
|
|
36
36
|
minHeight?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Fills the height you give the editor (`class="h-full"`, `flex-1`…): the toolbar stays put and the text
|
|
39
|
+
* scrolls inside, instead of the editor growing with its content
|
|
40
|
+
*/
|
|
41
|
+
fill?: boolean;
|
|
37
42
|
/**
|
|
38
43
|
* Object with all toolbar/dialog label overrides for i18n (see `RichTextEditorLabels`) — defaults come from
|
|
39
44
|
* useLocale()
|
|
@@ -45,6 +50,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
45
50
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
46
51
|
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
47
52
|
}>, {
|
|
53
|
+
fill: boolean;
|
|
48
54
|
minHeight: string;
|
|
49
55
|
disabled: boolean;
|
|
50
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** The text (v-model) */
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
/** Placeholder. Defaults to the locale's `search` */
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
/** Accessible name when there's no visible label. Defaults to the placeholder */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** Leading icon, a Material Symbol. Set to '' for none */
|
|
9
|
+
icon?: string;
|
|
10
|
+
/** Height: `sm` 40px (body-medium text), `md` 48px, `lg` 56px (M3's search bar) */
|
|
11
|
+
size?: 'sm' | 'md' | 'lg';
|
|
12
|
+
/** Shows a clear button while there's text */
|
|
13
|
+
clearable?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Escape empties the field (keeping the key from closing a dialog or menu around it); on an empty field it
|
|
16
|
+
* leaves it and lets the key through
|
|
17
|
+
*/
|
|
18
|
+
clearOnEscape?: boolean;
|
|
19
|
+
/** Disables the field */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare var __VLS_1: {}, __VLS_13: {};
|
|
23
|
+
type __VLS_Slots = {} & {
|
|
24
|
+
leading?: (props: typeof __VLS_1) => any;
|
|
25
|
+
} & {
|
|
26
|
+
trailing?: (props: typeof __VLS_13) => any;
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
29
|
+
/** The `<input>` element */
|
|
30
|
+
inputEl: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
31
|
+
/** Focuses the input */
|
|
32
|
+
focus: (options?: FocusOptions) => void | undefined;
|
|
33
|
+
/** Takes focus away from the input */
|
|
34
|
+
blur: () => void | undefined;
|
|
35
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
search: (args_0: string) => any;
|
|
37
|
+
clear: () => any;
|
|
38
|
+
"update:modelValue": (args_0: string) => any;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
|
+
onSearch?: ((args_0: string) => any) | undefined;
|
|
41
|
+
onClear?: (() => any) | undefined;
|
|
42
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
size: "sm" | "md" | "lg";
|
|
45
|
+
modelValue: string;
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
icon: string;
|
|
48
|
+
clearable: boolean;
|
|
49
|
+
clearOnEscape: boolean;
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
|
+
declare const _default: typeof __VLS_export;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -1,29 +1,37 @@
|
|
|
1
|
-
export interface SegmentedOption {
|
|
2
|
-
value:
|
|
1
|
+
export interface SegmentedOption<V extends string | number = string | number> {
|
|
2
|
+
value: V;
|
|
3
3
|
label: string;
|
|
4
4
|
icon?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}
|
|
7
|
-
type __VLS_Props = {
|
|
8
|
-
/** Selected value(s) */
|
|
9
|
-
modelValue: string | number | (string | number)[];
|
|
10
|
-
/** The options to choose from; see `SegmentedOption`. */
|
|
11
|
-
options: SegmentedOption[];
|
|
12
|
-
/** Allow multiple selections */
|
|
13
|
-
multiSelect?: boolean;
|
|
14
|
-
/** Button density */
|
|
15
|
-
density?: 'default' | 'comfortable' | 'compact';
|
|
16
|
-
/** Selected segment color */
|
|
17
|
-
color?: 'primary' | 'secondary' | 'tertiary';
|
|
18
|
-
};
|
|
19
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
"update:modelValue": (args_0: string | number | (string | number)[]) => any;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
-
"onUpdate:modelValue"?: ((args_0: string | number | (string | number)[]) => any) | undefined;
|
|
23
|
-
}>, {
|
|
24
|
-
color: "primary" | "secondary" | "tertiary";
|
|
25
|
-
multiSelect: boolean;
|
|
26
|
-
density: "default" | "comfortable" | "compact";
|
|
27
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
7
|
declare const _default: typeof __VLS_export;
|
|
29
8
|
export default _default;
|
|
9
|
+
declare const __VLS_export: <V extends string | number, M extends V | V[] = V>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
10
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
11
|
+
/** Selected value, or values with `multiSelect` (v-model); typed after the options' values */
|
|
12
|
+
modelValue: M;
|
|
13
|
+
/** The options to choose from; see `SegmentedOption`. */
|
|
14
|
+
options: SegmentedOption<V>[];
|
|
15
|
+
/** Allow multiple selections */
|
|
16
|
+
multiSelect?: boolean;
|
|
17
|
+
/** Button density */
|
|
18
|
+
density?: "default" | "comfortable" | "compact";
|
|
19
|
+
/** Selected segment color */
|
|
20
|
+
color?: "primary" | "secondary" | "tertiary";
|
|
21
|
+
} & {
|
|
22
|
+
"onUpdate:modelValue"?: ((args_0: M) => any) | undefined;
|
|
23
|
+
}> & (typeof globalThis extends {
|
|
24
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
25
|
+
} ? P : {});
|
|
26
|
+
expose: (exposed: {}) => void;
|
|
27
|
+
attrs: any;
|
|
28
|
+
slots: {};
|
|
29
|
+
emit: (evt: "update:modelValue", args_0: M) => void;
|
|
30
|
+
}>) => import("vue").VNode & {
|
|
31
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
32
|
+
};
|
|
33
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} : {
|
|
36
|
+
[K in keyof T as K]: T[K];
|
|
37
|
+
}) & {};
|
|
@@ -36,6 +36,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
36
36
|
prev: typeof prev;
|
|
37
37
|
scrollToItem: typeof scrollToItem;
|
|
38
38
|
scrollToPage: typeof scrollToPage;
|
|
39
|
+
/** Moves keyboard focus to the carousel, so the arrow keys move it */
|
|
40
|
+
focus: (options?: FocusOptions) => void | undefined;
|
|
39
41
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
42
|
change: (index: number) => any;
|
|
41
43
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A loading placeholder shape — text, circular, rectangular, or rounded — with pulse or wave animation.
|
|
3
|
-
*/
|
|
4
1
|
type __VLS_Props = {
|
|
5
2
|
/** Skeleton shape */
|
|
6
3
|
variant?: 'text' | 'circular' | 'rectangular' | 'rounded';
|
|
@@ -12,6 +9,12 @@ type __VLS_Props = {
|
|
|
12
9
|
lines?: number;
|
|
13
10
|
/** Animation style */
|
|
14
11
|
animation?: 'pulse' | 'wave' | 'none';
|
|
12
|
+
/**
|
|
13
|
+
* Corner radius: an M3 shape step (`none`, `xs` 4px, `sm` 8px, `md` 12px, `lg` 16px, `xl` 28px, `full`) or any CSS
|
|
14
|
+
* length, to match the card or thumbnail it stands in for. Defaults to the variant's (a Tailwind `rounded-*` class
|
|
15
|
+
* works too)
|
|
16
|
+
*/
|
|
17
|
+
radius?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full' | (string & {});
|
|
15
18
|
};
|
|
16
19
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
20
|
animation: "pulse" | "wave" | "none";
|
|
@@ -16,8 +16,8 @@ type __VLS_Slots = {} & {
|
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
18
|
max: number;
|
|
19
|
-
min: number;
|
|
20
19
|
direction: "horizontal" | "vertical";
|
|
20
|
+
min: number;
|
|
21
21
|
initialSplit: number;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -21,8 +21,8 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
22
|
wrap: boolean;
|
|
23
23
|
inline: boolean;
|
|
24
|
-
gap: "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
25
24
|
direction: "column" | "row";
|
|
25
|
+
gap: "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
26
26
|
align: "start" | "center" | "end" | "stretch" | "baseline";
|
|
27
27
|
justify: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
28
28
|
divider: boolean;
|
|
@@ -34,8 +34,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
34
34
|
onDismiss?: ((args_0: "start-to-end" | "end-to-start") => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
36
|
modelValue: SwipeToDismissValue;
|
|
37
|
-
disabled: boolean;
|
|
38
37
|
threshold: number;
|
|
38
|
+
disabled: boolean;
|
|
39
39
|
startToEnd: boolean;
|
|
40
40
|
endToStart: boolean;
|
|
41
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
16
16
|
"onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
color: "primary" | "secondary" | "tertiary" | "error";
|
|
19
|
-
icon: boolean;
|
|
20
19
|
disabled: boolean;
|
|
20
|
+
icon: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
export default _default;
|
|
@@ -19,8 +19,12 @@ type __VLS_Props = {
|
|
|
19
19
|
required?: boolean;
|
|
20
20
|
/** Renders a textarea instead of an input */
|
|
21
21
|
multiline?: boolean;
|
|
22
|
-
/** Textarea rows (when multiline) */
|
|
22
|
+
/** Textarea rows (when multiline); with autoGrow, the fewest it shrinks to */
|
|
23
23
|
rows?: number;
|
|
24
|
+
/** Multiline only: grows with the text from `rows` up to `maxRows`, instead of a fixed height with a drag handle */
|
|
25
|
+
autoGrow?: boolean;
|
|
26
|
+
/** With autoGrow, the most rows it grows to before scrolling. Unset grows without limit */
|
|
27
|
+
maxRows?: number;
|
|
24
28
|
/** Passed through to the native autocomplete attribute */
|
|
25
29
|
autocomplete?: string;
|
|
26
30
|
/** Material Symbol shown before the input */
|