@m3ui-vue/m3ui-vue 0.9.1 → 0.9.3
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 +43 -0
- package/dist/API.md +266 -60
- package/dist/{MIcon-CaEooCmZ.js → MIcon-DLOkQduI.js} +10 -3
- package/dist/MIcon-DLOkQduI.js.map +1 -0
- package/dist/{MTextField-pJU1vFaR.js → MTextField-DKtgPymd.js} +422 -206
- package/dist/MTextField-DKtgPymd.js.map +1 -0
- package/dist/THIRD_PARTY_LICENSES.md +547 -0
- package/dist/api.json +1 -1
- package/dist/code-editor.js +2 -2
- package/dist/components/MBox.vue.d.ts +3 -3
- package/dist/components/MButton.vue.d.ts +4 -2
- package/dist/components/MButtonGroup.vue.d.ts +2 -0
- package/dist/components/MColorPicker.vue.d.ts +13 -1
- package/dist/components/MColorPickerModal.vue.d.ts +14 -2
- package/dist/components/MDragHandle.vue.d.ts +12 -0
- package/dist/components/MEmojiSelector.vue.d.ts +1 -1
- package/dist/components/MFab.vue.d.ts +5 -3
- package/dist/components/MFabMenu.vue.d.ts +1 -1
- package/dist/components/MIcon.vue.d.ts +3 -0
- package/dist/components/MIconButton.vue.d.ts +15 -1
- package/dist/components/MListItem.vue.d.ts +5 -5
- package/dist/components/MMenuItem.vue.d.ts +17 -4
- package/dist/components/MOverlay.vue.d.ts +1 -1
- package/dist/components/MScrollField.vue.d.ts +40 -0
- package/dist/components/MScrollable.vue.d.ts +9 -0
- package/dist/components/MSplitButton.vue.d.ts +2 -0
- package/dist/components/MSplitter.vue.d.ts +2 -2
- package/dist/components/MSwipeToDismiss.vue.d.ts +49 -0
- package/dist/components/MTabs.vue.d.ts +6 -0
- package/dist/components/MTimePickerModal.vue.d.ts +3 -0
- package/dist/components/MTimeScroll.vue.d.ts +22 -0
- package/dist/components/MToggleButton.vue.d.ts +2 -0
- package/dist/components/MTransition.vue.d.ts +34 -0
- package/dist/components/MTree.vue.d.ts +2 -2
- package/dist/components/MWindow.vue.d.ts +1 -1
- package/dist/components/_MColorPanel.vue.d.ts +18 -0
- package/dist/components/_MDrawerItemList.vue.d.ts +3 -0
- package/dist/composables/_colorUtils.d.ts +34 -0
- package/dist/composables/_themeColor.d.ts +1 -0
- package/dist/composables/_useSpring.d.ts +17 -0
- package/dist/composables/dynamicColor.d.ts +18 -0
- package/dist/composables/useColorPalette.d.ts +27 -0
- package/dist/composables/useLocale.d.ts +16 -0
- package/dist/directives/vRipple.d.ts +16 -0
- package/dist/emoji-names-de-BphO5XpV.js.map +1 -1
- package/dist/emoji-names-en-9ZvMRvzi.js.map +1 -1
- package/dist/emoji-names-es-DvfWU3Pj.js.map +1 -1
- package/dist/emoji-names-fr-B-jhUlsP.js.map +1 -1
- package/dist/emoji-names-ja-l8cMFJo1.js.map +1 -1
- package/dist/emoji-names-ko-YP-o9G0c.js.map +1 -1
- package/dist/emoji-names-pt-DGj_Js4M.js.map +1 -1
- package/dist/emoji-names-zh-Dzecwtw_.js.map +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/locales/index.js +112 -0
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +7443 -6150
- package/dist/m3ui.js.map +1 -1
- package/dist/material-color-utilities-Cktu8DBU.js +3160 -0
- package/dist/material-color-utilities-Cktu8DBU.js.map +1 -0
- package/dist/plugin.d.ts +18 -0
- package/dist/rich-text-editor.js +22 -22
- package/dist/styles/palettes.css +546 -0
- package/dist/styles/theme.css +90 -0
- package/dist/styles.css +1 -1
- package/dist/terminal.js +1 -1
- package/dist/{useLocale-Drihe5G2.js → useLocale-Cn9MVIdw.js} +17 -1
- package/dist/useLocale-Cn9MVIdw.js.map +1 -0
- package/package.json +3 -2
- package/src/__tests__/MButtonGroup.test.ts +51 -0
- package/src/__tests__/MColorPicker.test.ts +141 -0
- package/src/__tests__/MDragHandle.test.ts +57 -0
- package/src/__tests__/MIconButton.test.ts +60 -0
- package/src/__tests__/MListItemShape.test.ts +76 -0
- package/src/__tests__/MMenuItem.test.ts +84 -0
- package/src/__tests__/MScrollField.test.ts +69 -0
- package/src/__tests__/MScrollable.test.ts +42 -0
- package/src/__tests__/MSwipeToDismiss.test.ts +104 -0
- package/src/__tests__/MTabs.test.ts +39 -0
- package/src/__tests__/MTimePickerModal.test.ts +52 -0
- package/src/__tests__/MTimeScroll.test.ts +44 -0
- package/src/__tests__/MTransition.test.ts +27 -0
- package/src/__tests__/dynamicColor.test.ts +191 -0
- package/src/__tests__/vRipple.test.ts +92 -0
- package/src/components/MBox.vue +4 -2
- package/src/components/MButton.vue +4 -13
- package/src/components/MButtonGroup.vue +118 -44
- package/src/components/MColorPicker.vue +114 -210
- package/src/components/MColorPickerModal.vue +50 -251
- package/src/components/MDragHandle.vue +54 -0
- package/src/components/MFab.vue +8 -15
- package/src/components/MIcon.vue +4 -2
- package/src/components/MIconButton.vue +96 -24
- package/src/components/MList.vue +33 -3
- package/src/components/MListItem.vue +75 -5
- package/src/components/MMenuItem.vue +115 -13
- package/src/components/MScrollField.vue +310 -0
- package/src/components/MScrollable.vue +160 -5
- package/src/components/MSplitButton.vue +5 -12
- package/src/components/MSplitter.vue +33 -10
- package/src/components/MSwipeToDismiss.vue +247 -0
- package/src/components/MTabs.vue +16 -5
- package/src/components/MTimePickerModal.vue +48 -8
- package/src/components/MTimeScroll.vue +161 -0
- package/src/components/MToggleButton.vue +5 -12
- package/src/components/MTransition.vue +149 -0
- package/src/components/_MColorPanel.vue +478 -0
- package/src/composables/_carouselStrategy.ts +3 -0
- package/src/composables/_colorUtils.ts +107 -0
- package/src/composables/_themeColor.ts +33 -0
- package/src/composables/_useSpring.ts +91 -0
- package/src/composables/dynamicColor.ts +85 -0
- package/src/composables/useColorPalette.ts +171 -25
- package/src/composables/useFieldBg.ts +6 -0
- package/src/composables/useLocale.ts +34 -0
- package/src/data/emoji-names/emoji-names-de.ts +1 -0
- package/src/data/emoji-names/emoji-names-en.ts +1 -0
- package/src/data/emoji-names/emoji-names-es.ts +1 -0
- package/src/data/emoji-names/emoji-names-fr.ts +1 -0
- package/src/data/emoji-names/emoji-names-ja.ts +1 -0
- package/src/data/emoji-names/emoji-names-ko.ts +1 -0
- package/src/data/emoji-names/emoji-names-pt.ts +1 -0
- package/src/data/emoji-names/emoji-names-zh.ts +1 -0
- package/src/data/emojis.ts +1 -0
- package/src/directives/vRipple.ts +73 -0
- package/src/index.ts +14 -1
- package/src/locales/de.ts +16 -0
- package/src/locales/es.ts +16 -0
- package/src/locales/fr.ts +16 -0
- package/src/locales/ja.ts +16 -0
- package/src/locales/ko.ts +16 -0
- package/src/locales/pt.ts +16 -0
- package/src/locales/zh.ts +16 -0
- package/src/plugin.ts +30 -7
- package/src/styles/palettes.css +546 -0
- package/src/styles/theme.css +90 -0
- package/dist/MIcon-CaEooCmZ.js.map +0 -1
- package/dist/MTextField-pJU1vFaR.js.map +0 -1
- package/dist/useLocale-Drihe5G2.js.map +0 -1
package/dist/code-editor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./useLocale-
|
|
2
|
-
import { t } from "./MIcon-
|
|
1
|
+
import { i as e } from "./useLocale-Cn9MVIdw.js";
|
|
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";
|
|
5
5
|
//#region src/components/MCodeEditor.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -5,8 +5,8 @@ type __VLS_Props = {
|
|
|
5
5
|
padding?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
6
6
|
/** Border radius */
|
|
7
7
|
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
8
|
-
/** Shadow elevation level */
|
|
9
|
-
elevation?: 0 | 1 | 2 | 3;
|
|
8
|
+
/** Shadow elevation level (M3 levels 0–5) */
|
|
9
|
+
elevation?: 0 | 1 | 2 | 3 | 4 | 5;
|
|
10
10
|
/** Show border */
|
|
11
11
|
border?: boolean;
|
|
12
12
|
/** HTML tag to render */
|
|
@@ -20,7 +20,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
20
20
|
tag: string;
|
|
21
21
|
rounded: "none" | "sm" | "md" | "lg" | "xl" | "full";
|
|
22
22
|
padding: "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
23
|
-
elevation: 0 | 1 | 2 | 3;
|
|
23
|
+
elevation: 0 | 1 | 2 | 3 | 4 | 5;
|
|
24
24
|
border: boolean;
|
|
25
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -29,10 +29,12 @@ type __VLS_Props = {
|
|
|
29
29
|
shape?: 'rounded' | 'squared';
|
|
30
30
|
/** Vue Router destination — renders as RouterLink instead of button */
|
|
31
31
|
to?: string | Record<string, any>;
|
|
32
|
+
/** Any CSS color for the press ripple; defaults to the button's content color */
|
|
33
|
+
rippleColor?: string;
|
|
32
34
|
};
|
|
33
|
-
declare var
|
|
35
|
+
declare var __VLS_18: {};
|
|
34
36
|
type __VLS_Slots = {} & {
|
|
35
|
-
default?: (props: typeof
|
|
37
|
+
default?: (props: typeof __VLS_18) => any;
|
|
36
38
|
};
|
|
37
39
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
38
40
|
color: string;
|
|
@@ -19,6 +19,8 @@ type __VLS_Props = {
|
|
|
19
19
|
selectionRequired?: boolean;
|
|
20
20
|
/** Selected button color */
|
|
21
21
|
color?: 'primary' | 'secondary' | 'tertiary';
|
|
22
|
+
/** Any CSS color for the press ripple; defaults to the button's content color */
|
|
23
|
+
rippleColor?: string;
|
|
22
24
|
};
|
|
23
25
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
26
|
"update:modelValue": (args_0: unknown) => any;
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
/** Selected color in hex format (v-model) */
|
|
2
|
+
/** Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque. */
|
|
3
3
|
modelValue: string;
|
|
4
4
|
/** Field label */
|
|
5
5
|
label?: string;
|
|
6
6
|
/** Preset color swatches shown in the panel */
|
|
7
7
|
presets?: string[];
|
|
8
|
+
/** Adds an opacity slider and an alpha channel to the value */
|
|
9
|
+
alpha?: boolean;
|
|
10
|
+
/** Remember picked colors and show them above the presets (stored in localStorage, shared by every picker). */
|
|
11
|
+
recent?: boolean;
|
|
12
|
+
/** How many recent colors to keep. */
|
|
13
|
+
recentLimit?: number;
|
|
14
|
+
/** Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge). */
|
|
15
|
+
eyedropper?: boolean;
|
|
8
16
|
/** Disables the picker */
|
|
9
17
|
disabled?: boolean;
|
|
10
18
|
/** Error state */
|
|
@@ -22,6 +30,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
22
30
|
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
23
31
|
}>, {
|
|
24
32
|
presets: string[];
|
|
33
|
+
alpha: boolean;
|
|
34
|
+
recent: boolean;
|
|
35
|
+
eyedropper: boolean;
|
|
36
|
+
recentLimit: number;
|
|
25
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
38
|
declare const _default: typeof __VLS_export;
|
|
27
39
|
export default _default;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
/** Selected color in hex format (v-model) */
|
|
2
|
+
/** Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque. */
|
|
3
3
|
modelValue: string;
|
|
4
4
|
/** Controls dialog visibility (v-model:show) */
|
|
5
5
|
show?: boolean;
|
|
6
6
|
/** Preset color swatches shown in the dialog */
|
|
7
7
|
presets?: string[];
|
|
8
|
-
/** Dialog title */
|
|
8
|
+
/** Dialog title; defaults to the locale's `selectColor` */
|
|
9
9
|
title?: string;
|
|
10
|
+
/** Adds an opacity slider and an alpha channel to the value */
|
|
11
|
+
alpha?: boolean;
|
|
12
|
+
/** Remember confirmed colors and show them above the presets (stored in localStorage, shared by every picker). */
|
|
13
|
+
recent?: boolean;
|
|
14
|
+
/** How many recent colors to keep. */
|
|
15
|
+
recentLimit?: number;
|
|
16
|
+
/** Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge). */
|
|
17
|
+
eyedropper?: boolean;
|
|
10
18
|
};
|
|
11
19
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
20
|
"update:modelValue": (args_0: string) => any;
|
|
@@ -17,6 +25,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
17
25
|
}>, {
|
|
18
26
|
show: boolean;
|
|
19
27
|
presets: string[];
|
|
28
|
+
alpha: boolean;
|
|
29
|
+
recent: boolean;
|
|
30
|
+
eyedropper: boolean;
|
|
31
|
+
recentLimit: number;
|
|
20
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
33
|
declare const _default: typeof __VLS_export;
|
|
22
34
|
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** `vertical` is a tall capsule for horizontal drags (between side-by-side panes); `horizontal` is a wide one for vertical drags. */
|
|
3
|
+
orientation?: 'vertical' | 'horizontal';
|
|
4
|
+
/** Show the dragged look (the parent is dragging) */
|
|
5
|
+
dragging?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
orientation: "vertical" | "horizontal";
|
|
9
|
+
dragging: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -27,9 +27,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
27
27
|
}>, {
|
|
28
28
|
height: string;
|
|
29
29
|
search: boolean;
|
|
30
|
-
emojiSize: number;
|
|
31
30
|
recent: boolean;
|
|
32
31
|
recentLimit: number;
|
|
32
|
+
emojiSize: number;
|
|
33
33
|
skinTones: boolean;
|
|
34
34
|
preview: boolean;
|
|
35
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -42,12 +42,14 @@ type __VLS_Props = {
|
|
|
42
42
|
* the content's own leave animation has time to play instead of just
|
|
43
43
|
* vanishing. 'none' skips any panel-level transition entirely. */
|
|
44
44
|
contentTransition?: 'scale' | 'fade' | 'none';
|
|
45
|
+
/** Any CSS color for the press ripple; defaults to the FAB's content color */
|
|
46
|
+
rippleColor?: string;
|
|
45
47
|
};
|
|
46
|
-
declare var
|
|
48
|
+
declare var __VLS_45: {
|
|
47
49
|
close: () => boolean;
|
|
48
50
|
};
|
|
49
51
|
type __VLS_Slots = {} & {
|
|
50
|
-
content?: (props: typeof
|
|
52
|
+
content?: (props: typeof __VLS_45) => any;
|
|
51
53
|
};
|
|
52
54
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
55
|
click: (args_0: MouseEvent) => any;
|
|
@@ -56,11 +58,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
56
58
|
}>, {
|
|
57
59
|
color: "primary" | "secondary" | "tertiary" | "surface";
|
|
58
60
|
size: "small" | "regular" | "medium" | "large";
|
|
61
|
+
scrim: boolean;
|
|
59
62
|
disabled: boolean;
|
|
60
63
|
persistent: boolean;
|
|
61
64
|
direction: "up" | "down" | "left" | "right" | "radial";
|
|
62
65
|
align: "start" | "end";
|
|
63
|
-
scrim: boolean;
|
|
64
66
|
contentTransition: "scale" | "fade" | "none";
|
|
65
67
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
66
68
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -40,12 +40,12 @@ type __VLS_Props = {
|
|
|
40
40
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
41
41
|
color: "primary" | "secondary" | "tertiary" | "surface";
|
|
42
42
|
size: "small" | "regular" | "large";
|
|
43
|
+
scrim: boolean;
|
|
43
44
|
disabled: boolean;
|
|
44
45
|
itemSize: "small" | "regular" | "large";
|
|
45
46
|
persistent: boolean;
|
|
46
47
|
direction: "up" | "down";
|
|
47
48
|
align: "start" | "end";
|
|
48
|
-
scrim: boolean;
|
|
49
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
50
|
declare const _default: typeof __VLS_export;
|
|
51
51
|
export default _default;
|
|
@@ -3,9 +3,12 @@ type __VLS_Props = {
|
|
|
3
3
|
name: string;
|
|
4
4
|
/** Icon size in px */
|
|
5
5
|
size?: number;
|
|
6
|
+
/** Filled glyph (the Material Symbols FILL axis), as M3 draws a selected icon */
|
|
7
|
+
filled?: boolean;
|
|
6
8
|
};
|
|
7
9
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
10
|
size: number;
|
|
11
|
+
filled: boolean;
|
|
9
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
13
|
declare const _default: typeof __VLS_export;
|
|
11
14
|
export default _default;
|
|
@@ -16,12 +16,26 @@ type __VLS_Props = {
|
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
/** Vue Router destination — renders as RouterLink instead of button */
|
|
18
18
|
to?: string | Record<string, any>;
|
|
19
|
+
/** Any CSS color for the press ripple; defaults to the button's content color */
|
|
20
|
+
rippleColor?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Makes it a toggle button (v-model:checked): selected colors, a filled icon, and a shape that morphs when
|
|
23
|
+
* pressed and when checked. Leave it unset for a plain icon button
|
|
24
|
+
*/
|
|
25
|
+
checked?: boolean;
|
|
26
|
+
/** Icon shown while checked, when it differs from `icon` (e.g. 'pause' for 'play_arrow') */
|
|
27
|
+
checkedIcon?: string;
|
|
19
28
|
};
|
|
20
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
"update:checked": (args_0: boolean) => any;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
"onUpdate:checked"?: ((args_0: boolean) => any) | undefined;
|
|
33
|
+
}>, {
|
|
21
34
|
size: "xs" | "sm" | "md" | "lg" | "xl" | number;
|
|
22
35
|
variant: "standard" | "filled" | "tonal" | "outlined";
|
|
23
36
|
shape: "rounded" | "squared";
|
|
24
37
|
disabled: boolean;
|
|
38
|
+
checked: boolean;
|
|
25
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
40
|
declare const _default: typeof __VLS_export;
|
|
27
41
|
export default _default;
|
|
@@ -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_42: {}, __VLS_64: {}, __VLS_66: {}, __VLS_68: {};
|
|
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_42) => any;
|
|
62
62
|
} & {
|
|
63
|
-
overline?: (props: typeof
|
|
63
|
+
overline?: (props: typeof __VLS_64) => any;
|
|
64
64
|
} & {
|
|
65
|
-
default?: (props: typeof
|
|
65
|
+
default?: (props: typeof __VLS_66) => any;
|
|
66
66
|
} & {
|
|
67
|
-
trailing?: (props: typeof
|
|
67
|
+
trailing?: (props: typeof __VLS_68) => 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;
|
|
@@ -9,21 +9,34 @@ type __VLS_Props = {
|
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
/** Danger/destructive styling (error color) */
|
|
11
11
|
danger?: boolean;
|
|
12
|
-
/** Keep the menu open after this item is clicked
|
|
12
|
+
/** Keep the menu open after this item is clicked. Defaults to true for `checked` items, false otherwise */
|
|
13
13
|
keepOpen?: boolean;
|
|
14
|
+
/** Makes it one choice of several (radio-like): selected look while true. Leave unset for a plain item */
|
|
15
|
+
selected?: boolean;
|
|
16
|
+
/** Makes it an on/off setting (v-model:checked, checkbox-like): checked look while true. Leave unset for a plain item */
|
|
17
|
+
checked?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Icon shown while selected or checked. Defaults to a check that slides in when the item has no `icon`;
|
|
20
|
+
* with an `icon`, that icon stays and turns filled
|
|
21
|
+
*/
|
|
22
|
+
selectedIcon?: string;
|
|
14
23
|
};
|
|
15
|
-
declare var
|
|
24
|
+
declare var __VLS_21: {}, __VLS_40: {};
|
|
16
25
|
type __VLS_Slots = {} & {
|
|
17
|
-
default?: (props: typeof
|
|
26
|
+
default?: (props: typeof __VLS_21) => any;
|
|
18
27
|
} & {
|
|
19
|
-
children?: (props: typeof
|
|
28
|
+
children?: (props: typeof __VLS_40) => any;
|
|
20
29
|
};
|
|
21
30
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
31
|
click: () => any;
|
|
32
|
+
"update:checked": (args_0: boolean) => any;
|
|
23
33
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
24
34
|
onClick?: (() => any) | undefined;
|
|
35
|
+
"onUpdate:checked"?: ((args_0: boolean) => any) | undefined;
|
|
25
36
|
}>, {
|
|
37
|
+
selected: boolean;
|
|
26
38
|
disabled: boolean;
|
|
39
|
+
checked: boolean;
|
|
27
40
|
danger: boolean;
|
|
28
41
|
keepOpen: boolean;
|
|
29
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
16
16
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
modelValue: boolean;
|
|
19
|
-
zIndex: number;
|
|
20
19
|
scrim: boolean;
|
|
20
|
+
zIndex: number;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Index of the selected item, 0 to count - 1 (v-model) */
|
|
3
|
+
modelValue: number;
|
|
4
|
+
/** Number of items; the wheel wraps around after the last one */
|
|
5
|
+
count: number;
|
|
6
|
+
/**
|
|
7
|
+
* Accessible name of the field. Include the range when it isn't obvious ("Select year between 2000 and
|
|
8
|
+
* 2025"): the wheel wraps, so screen readers can't tell where it ends.
|
|
9
|
+
*/
|
|
10
|
+
label?: string;
|
|
11
|
+
/** Text for each item (also what screen readers announce). Defaults to the index with at least 2 digits. */
|
|
12
|
+
format?: (index: number) => string;
|
|
13
|
+
/** Height in px; three items fit in the default 200 (ScrollFieldDefaults.ScrollFieldHeight) */
|
|
14
|
+
height?: number;
|
|
15
|
+
/** Disables the field */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_Slots = {
|
|
19
|
+
item?: (props: {
|
|
20
|
+
index: number;
|
|
21
|
+
selected: boolean;
|
|
22
|
+
}) => unknown;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
"update:modelValue": (args_0: number) => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
|
+
"onUpdate:modelValue"?: ((args_0: number) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
format: (index: number) => string;
|
|
30
|
+
height: number;
|
|
31
|
+
disabled: 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
|
+
};
|
|
@@ -5,6 +5,13 @@ type __VLS_Props = {
|
|
|
5
5
|
height?: string;
|
|
6
6
|
/** Maximum height (CSS value) */
|
|
7
7
|
maxHeight?: string;
|
|
8
|
+
/**
|
|
9
|
+
* `native`: the browser's scrollbar. `indicator`: M3's thin scrollbar, visual only (scroll with the wheel,
|
|
10
|
+
* touch or keys). `none`: no scrollbar at all.
|
|
11
|
+
*/
|
|
12
|
+
scrollbar?: 'native' | 'indicator' | 'none';
|
|
13
|
+
/** With `scrollbar="indicator"`: show it only while scrolling, fading out after (false keeps it visible) */
|
|
14
|
+
scrollbarFade?: boolean;
|
|
8
15
|
};
|
|
9
16
|
declare var __VLS_1: {};
|
|
10
17
|
type __VLS_Slots = {} & {
|
|
@@ -12,6 +19,8 @@ type __VLS_Slots = {} & {
|
|
|
12
19
|
};
|
|
13
20
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
14
21
|
direction: "vertical" | "horizontal" | "both";
|
|
22
|
+
scrollbar: "native" | "indicator" | "none";
|
|
23
|
+
scrollbarFade: boolean;
|
|
15
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
26
|
declare const _default: typeof __VLS_export;
|
|
@@ -19,6 +19,8 @@ type __VLS_Props = {
|
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
/** Dropdown menu items; see `SplitButtonItem` */
|
|
21
21
|
items?: SplitButtonItem[];
|
|
22
|
+
/** Any CSS color for the press ripple; defaults to the button's content color */
|
|
23
|
+
rippleColor?: string;
|
|
22
24
|
};
|
|
23
25
|
declare var __VLS_34: {
|
|
24
26
|
close: () => boolean;
|
|
@@ -8,11 +8,11 @@ type __VLS_Props = {
|
|
|
8
8
|
/** Maximum panel percentage */
|
|
9
9
|
max?: number;
|
|
10
10
|
};
|
|
11
|
-
declare var __VLS_1: {},
|
|
11
|
+
declare var __VLS_1: {}, __VLS_8: {};
|
|
12
12
|
type __VLS_Slots = {} & {
|
|
13
13
|
first?: (props: typeof __VLS_1) => any;
|
|
14
14
|
} & {
|
|
15
|
-
second?: (props: typeof
|
|
15
|
+
second?: (props: typeof __VLS_8) => any;
|
|
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;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export type SwipeToDismissValue = 'settled' | 'start-to-end' | 'end-to-start';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** State (v-model): `'settled'`, or dismissed towards `'start-to-end'` / `'end-to-start'`. Set it to animate there. */
|
|
4
|
+
modelValue?: SwipeToDismissValue;
|
|
5
|
+
/** Allow dismissing by swiping in the reading direction (right in LTR) */
|
|
6
|
+
startToEnd?: boolean;
|
|
7
|
+
/** Allow dismissing by swiping against the reading direction (left in LTR) */
|
|
8
|
+
endToStart?: boolean;
|
|
9
|
+
/** Turns the swipe gesture off (setting v-model still works) */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** How far, in px, the content has to move before releasing dismisses it (SwipeToDismissBoxDefaults: 56dp) */
|
|
12
|
+
threshold?: number;
|
|
13
|
+
};
|
|
14
|
+
declare var __VLS_1: {
|
|
15
|
+
direction: SwipeToDismissValue;
|
|
16
|
+
target: SwipeToDismissValue;
|
|
17
|
+
progress: number;
|
|
18
|
+
}, __VLS_3: {};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
background?: (props: typeof __VLS_1) => any;
|
|
21
|
+
} & {
|
|
22
|
+
default?: (props: typeof __VLS_3) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
25
|
+
/** Animates back to `'settled'` */
|
|
26
|
+
reset: () => void;
|
|
27
|
+
/** Animates away in the given direction */
|
|
28
|
+
dismiss: (dir: Exclude<SwipeToDismissValue, "settled">) => void;
|
|
29
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
+
"update:modelValue": (args_0: SwipeToDismissValue) => any;
|
|
31
|
+
dismiss: (args_0: "start-to-end" | "end-to-start") => any;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((args_0: SwipeToDismissValue) => any) | undefined;
|
|
34
|
+
onDismiss?: ((args_0: "start-to-end" | "end-to-start") => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
modelValue: SwipeToDismissValue;
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
threshold: number;
|
|
39
|
+
startToEnd: boolean;
|
|
40
|
+
endToStart: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
43
|
+
declare const _default: typeof __VLS_export;
|
|
44
|
+
export default _default;
|
|
45
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -16,6 +16,12 @@ type __VLS_Props = {
|
|
|
16
16
|
variant?: 'primary' | 'secondary';
|
|
17
17
|
/** Fixed (default, M3 `TabRow`): tabs evenly share the available width, no scrolling — use for 2-5 tabs. Scrollable (M3 `ScrollableTabRow`): tabs keep their natural width and the row scrolls horizontally when they overflow — use for many tabs. */
|
|
18
18
|
scrollable?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Where a tab's icon goes: `top`, stacked above the label in a 64px tab (Compose's `Tab`), or `leading`,
|
|
21
|
+
* beside the label in a 48px tab (Compose's `LeadingIconTab`). Defaults to `top` for primary tabs and
|
|
22
|
+
* `leading` for secondary ones.
|
|
23
|
+
*/
|
|
24
|
+
iconPosition?: 'top' | 'leading';
|
|
19
25
|
};
|
|
20
26
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
27
|
"update:modelValue": (args_0: string | number) => any;
|
|
@@ -9,6 +9,8 @@ type __VLS_Props = {
|
|
|
9
9
|
minuteStep?: number;
|
|
10
10
|
/** Dialog title */
|
|
11
11
|
title?: string;
|
|
12
|
+
/** How the time is picked before switching to keyboard input: a clock `dial`, or `scroll` wheels (MTimeScroll) */
|
|
13
|
+
mode?: 'dial' | 'scroll';
|
|
12
14
|
};
|
|
13
15
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
16
|
"update:modelValue": (args_0: string | null) => any;
|
|
@@ -17,6 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
17
19
|
"onUpdate:modelValue"?: ((args_0: string | null) => any) | undefined;
|
|
18
20
|
"onUpdate:show"?: ((args_0: boolean) => any) | undefined;
|
|
19
21
|
}>, {
|
|
22
|
+
mode: "dial" | "scroll";
|
|
20
23
|
show: boolean;
|
|
21
24
|
modelValue: string | null;
|
|
22
25
|
minuteStep: number;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Selected time in HH:MM, 24-hour (v-model); null shows 12:00 AM (00:00 in 24-hour mode) */
|
|
3
|
+
modelValue: string | null;
|
|
4
|
+
/** 24-hour wheel (00–23) instead of 1–12 with AM/PM */
|
|
5
|
+
use24h?: boolean;
|
|
6
|
+
/** Minute increment step; the minute wheel shows only multiples of it */
|
|
7
|
+
minuteStep?: number;
|
|
8
|
+
/** Disables the wheels and the AM/PM toggle */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (args_0: string) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
modelValue: string | null;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
minuteStep: number;
|
|
19
|
+
use24h: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
@@ -9,6 +9,8 @@ type __VLS_Props = {
|
|
|
9
9
|
icon?: string;
|
|
10
10
|
/** Same 5-tier expressive sizing as MButton */
|
|
11
11
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
12
|
+
/** Any CSS color for the press ripple; defaults to the button's content color */
|
|
13
|
+
rippleColor?: string;
|
|
12
14
|
};
|
|
13
15
|
declare var __VLS_6: {};
|
|
14
16
|
type __VLS_Slots = {} & {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* M3's navigation transitions between two views (a port of Compose's `MaterialTransitions`): `shared-axis`
|
|
3
|
+
* slides the new view in from the side as the old one slides out (use `reverse` when going back), and
|
|
4
|
+
* `fade-through` fades the old view out and the new one in with a slight scale, for destinations without a
|
|
5
|
+
* spatial relationship such as navigation bar tabs. Wrap content that changes its `key` (or a `v-if`/`v-else`
|
|
6
|
+
* pair, or a `<RouterView>` slot's component); both views overlap while they animate.
|
|
7
|
+
*
|
|
8
|
+
* @slot default The current view; give it a `key` that changes with it
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
/** `shared-axis` (horizontal, for forward/back navigation) or `fade-through` (unrelated destinations) */
|
|
12
|
+
type?: 'shared-axis' | 'fade-through';
|
|
13
|
+
/** Shared axis: play the backward transition (the new view comes from the start side) */
|
|
14
|
+
reverse?: boolean;
|
|
15
|
+
/** Animate the first view too */
|
|
16
|
+
appear?: boolean;
|
|
17
|
+
};
|
|
18
|
+
declare var __VLS_12: {};
|
|
19
|
+
type __VLS_Slots = {} & {
|
|
20
|
+
default?: (props: typeof __VLS_12) => any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
23
|
+
reverse: boolean;
|
|
24
|
+
type: "shared-axis" | "fade-through";
|
|
25
|
+
appear: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -55,12 +55,12 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
|
55
55
|
expandAll: typeof expandAll;
|
|
56
56
|
collapseAll: typeof collapseAll;
|
|
57
57
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
58
|
-
"update:selected": (args_0: string | number | null) => any;
|
|
59
58
|
"update:checked": (args_0: (string | number)[]) => any;
|
|
59
|
+
"update:selected": (args_0: string | number | null) => any;
|
|
60
60
|
"node-click": (args_0: TreeNode) => any;
|
|
61
61
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
62
|
-
"onUpdate:selected"?: ((args_0: string | number | null) => any) | undefined;
|
|
63
62
|
"onUpdate:checked"?: ((args_0: (string | number)[]) => any) | undefined;
|
|
63
|
+
"onUpdate:selected"?: ((args_0: string | number | null) => any) | undefined;
|
|
64
64
|
"onNode-click"?: ((args_0: TreeNode) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
selected: string | number | null;
|
|
@@ -120,8 +120,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
120
120
|
maximizable: boolean;
|
|
121
121
|
draggable: boolean;
|
|
122
122
|
minWidth: number;
|
|
123
|
-
resizable: boolean;
|
|
124
123
|
snap: boolean;
|
|
124
|
+
resizable: boolean;
|
|
125
125
|
offscreen: boolean;
|
|
126
126
|
resetPosition: boolean;
|
|
127
127
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
presets: string[];
|
|
4
|
+
alpha: boolean;
|
|
5
|
+
recent: boolean;
|
|
6
|
+
eyedropper: boolean;
|
|
7
|
+
/** Shown as the left half of the preview, click to restore */
|
|
8
|
+
original?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
11
|
+
focus: () => void | undefined;
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (args_0: string) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -48,10 +48,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
48
48
|
MIcon: import("vue").DefineComponent<{
|
|
49
49
|
name: string;
|
|
50
50
|
size?: number;
|
|
51
|
+
filled?: boolean;
|
|
51
52
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
52
53
|
name: string;
|
|
53
54
|
size?: number;
|
|
55
|
+
filled?: boolean;
|
|
54
56
|
}> & Readonly<{}>, {
|
|
55
57
|
size: number;
|
|
58
|
+
filled: boolean;
|
|
56
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
57
60
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|