@witchcraft/ui 0.3.19 → 0.3.21
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/module.json +1 -1
- package/dist/runtime/assets/animations.css +1 -1
- package/dist/runtime/components/Aria/Aria.d.vue.ts +2 -1
- package/dist/runtime/components/Aria/Aria.vue.d.ts +2 -1
- package/dist/runtime/components/Icon/Icon.d.vue.ts +3 -2
- package/dist/runtime/components/Icon/Icon.vue.d.ts +3 -2
- package/dist/runtime/components/LibButton/LibButton.d.vue.ts +5 -4
- package/dist/runtime/components/LibButton/LibButton.vue.d.ts +5 -4
- package/dist/runtime/components/LibCheckbox/LibCheckbox.d.vue.ts +4 -5
- package/dist/runtime/components/LibCheckbox/LibCheckbox.vue.d.ts +4 -5
- package/dist/runtime/components/LibColorInput/LibColorInput.d.vue.ts +7 -6
- package/dist/runtime/components/LibColorInput/LibColorInput.vue.d.ts +7 -6
- package/dist/runtime/components/LibColorPicker/LibColorPicker.d.vue.ts +7 -5
- package/dist/runtime/components/LibColorPicker/LibColorPicker.vue.d.ts +7 -5
- package/dist/runtime/components/LibDarkModeSwitcher/LibDarkModeSwitcher.d.vue.ts +10 -9
- package/dist/runtime/components/LibDarkModeSwitcher/LibDarkModeSwitcher.vue.d.ts +10 -9
- package/dist/runtime/components/LibDatePicker/LibDatePicker.d.vue.ts +156 -5
- package/dist/runtime/components/LibDatePicker/LibDatePicker.vue.d.ts +156 -5
- package/dist/runtime/components/LibDatePicker/LibRangeDatePicker.d.vue.ts +154 -6
- package/dist/runtime/components/LibDatePicker/LibRangeDatePicker.vue +8 -4
- package/dist/runtime/components/LibDatePicker/LibRangeDatePicker.vue.d.ts +154 -6
- package/dist/runtime/components/LibDatePicker/LibSingleDatePicker.d.vue.ts +7 -5
- package/dist/runtime/components/LibDatePicker/LibSingleDatePicker.vue.d.ts +7 -5
- package/dist/runtime/components/LibDatePicker/LibTimeZonePicker.d.vue.ts +7 -6
- package/dist/runtime/components/LibDatePicker/LibTimeZonePicker.vue.d.ts +7 -6
- package/dist/runtime/components/LibDebug/LibDebug.d.vue.ts +3 -2
- package/dist/runtime/components/LibDebug/LibDebug.vue.d.ts +3 -2
- package/dist/runtime/components/LibDevOnly/LibDevOnly.d.vue.ts +3 -2
- package/dist/runtime/components/LibDevOnly/LibDevOnly.vue.d.ts +3 -2
- package/dist/runtime/components/LibFileInput/LibFileInput.d.vue.ts +20 -19
- package/dist/runtime/components/LibFileInput/LibFileInput.vue.d.ts +20 -19
- package/dist/runtime/components/LibInputDeprecated/LibInputDeprecated.d.vue.ts +106 -15
- package/dist/runtime/components/LibInputDeprecated/LibInputDeprecated.vue.d.ts +106 -15
- package/dist/runtime/components/LibLabel/LibLabel.d.vue.ts +3 -2
- package/dist/runtime/components/LibLabel/LibLabel.vue.d.ts +3 -2
- package/dist/runtime/components/LibMultiValues/LibMultiValues.d.vue.ts +15 -10
- package/dist/runtime/components/LibMultiValues/LibMultiValues.vue.d.ts +15 -10
- package/dist/runtime/components/LibNotifications/LibNotification.d.vue.ts +14 -5
- package/dist/runtime/components/LibNotifications/LibNotification.vue +2 -2
- package/dist/runtime/components/LibNotifications/LibNotification.vue.d.ts +14 -5
- package/dist/runtime/components/LibNotifications/LibNotificationTestMessageComponent.d.vue.ts +2 -1
- package/dist/runtime/components/LibNotifications/LibNotificationTestMessageComponent.vue.d.ts +2 -1
- package/dist/runtime/components/LibNotifications/LibNotifications.d.vue.ts +3 -1
- package/dist/runtime/components/LibNotifications/LibNotifications.vue +34 -17
- package/dist/runtime/components/LibNotifications/LibNotifications.vue.d.ts +3 -1
- package/dist/runtime/components/LibNotifications/calculateNotificationProgress.d.ts +2 -0
- package/dist/runtime/components/LibNotifications/calculateNotificationProgress.js +4 -0
- package/dist/runtime/components/LibPagination/LibPagination.d.vue.ts +51 -50
- package/dist/runtime/components/LibPagination/LibPagination.vue.d.ts +51 -50
- package/dist/runtime/components/LibPalette/LibPalette.d.vue.ts +3 -2
- package/dist/runtime/components/LibPalette/LibPalette.vue.d.ts +3 -2
- package/dist/runtime/components/LibPopup/LibPopup.d.vue.ts +9 -3
- package/dist/runtime/components/LibPopup/LibPopup.vue.d.ts +9 -3
- package/dist/runtime/components/LibProgressBar/LibProgressBar.d.vue.ts +3 -2
- package/dist/runtime/components/LibProgressBar/LibProgressBar.vue.d.ts +3 -2
- package/dist/runtime/components/LibRecorder/LibRecorder.d.vue.ts +3 -2
- package/dist/runtime/components/LibRecorder/LibRecorder.vue.d.ts +3 -2
- package/dist/runtime/components/LibRoot/LibRoot.d.vue.ts +5 -4
- package/dist/runtime/components/LibRoot/LibRoot.vue.d.ts +5 -4
- package/dist/runtime/components/LibSimpleInput/LibSimpleInput.d.vue.ts +18 -13
- package/dist/runtime/components/LibSimpleInput/LibSimpleInput.vue +1 -1
- package/dist/runtime/components/LibSimpleInput/LibSimpleInput.vue.d.ts +18 -13
- package/dist/runtime/components/LibSuggestions/LibSuggestions.d.vue.ts +23 -18
- package/dist/runtime/components/LibSuggestions/LibSuggestions.vue.d.ts +23 -18
- package/dist/runtime/components/LibTable/LibTable.d.vue.ts +34 -13
- package/dist/runtime/components/LibTable/LibTable.vue.d.ts +34 -13
- package/dist/runtime/components/Template/NAME.d.vue.ts +3 -2
- package/dist/runtime/components/Template/NAME.vue.d.ts +3 -2
- package/dist/runtime/components/TestControls/TestControls.d.vue.ts +2 -1
- package/dist/runtime/components/TestControls/TestControls.vue.d.ts +2 -1
- package/dist/runtime/composables/useTimeConditionally.d.ts +16 -0
- package/dist/runtime/composables/useTimeConditionally.js +27 -0
- package/package.json +50 -50
- package/src/runtime/assets/animations.css +52 -5
- package/src/runtime/components/LibCheckbox/LibCheckbox.vue +3 -1
- package/src/runtime/components/LibDatePicker/LibRangeDatePicker.vue +8 -4
- package/src/runtime/components/LibFileInput/LibFileInput.vue +13 -4
- package/src/runtime/components/LibInputDeprecated/LibInputDeprecated.vue +6 -1
- package/src/runtime/components/LibNotifications/LibNotification.vue +2 -2
- package/src/runtime/components/LibNotifications/LibNotifications.vue +35 -18
- package/src/runtime/components/LibNotifications/calculateNotificationProgress.ts +8 -0
- package/src/runtime/components/LibSimpleInput/LibSimpleInput.vue +2 -0
- package/src/runtime/composables/useTimeConditionally.ts +51 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { Theme } from "metamorphosis";
|
|
2
2
|
import type { BaseInteractiveProps, LinkableByIdProps } from "../shared/props.js";
|
|
3
|
-
declare const _default:
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<LinkableByIdProps & BaseInteractiveProps & {
|
|
4
6
|
theme?: Theme;
|
|
5
7
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkableByIdProps & BaseInteractiveProps & {
|
|
6
8
|
theme?: Theme;
|
|
@@ -11,4 +13,3 @@ declare const _default: import("vue").DefineComponent<LinkableByIdProps & BaseIn
|
|
|
11
13
|
border: boolean;
|
|
12
14
|
unstyle: boolean;
|
|
13
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
-
export default _default;
|
|
@@ -6,7 +6,9 @@ interface Props extends
|
|
|
6
6
|
/** @vue-ignore */
|
|
7
7
|
Partial<Omit<HTMLAttributes, "class"> & TailwindClassProp>, RealProps {
|
|
8
8
|
}
|
|
9
|
-
declare const _default:
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
10
12
|
modelValue?: boolean;
|
|
11
13
|
}, {
|
|
12
14
|
recompute: (force?: boolean) => void;
|
|
@@ -34,11 +36,15 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
34
36
|
}) => any;
|
|
35
37
|
} & {
|
|
36
38
|
popup?: (props: {
|
|
37
|
-
position:
|
|
39
|
+
position: {
|
|
40
|
+
x: number;
|
|
41
|
+
y: number;
|
|
42
|
+
maxWidth?: number | undefined;
|
|
43
|
+
maxHeight?: number | undefined;
|
|
44
|
+
};
|
|
38
45
|
extractEl: (_: any) => any;
|
|
39
46
|
}) => any;
|
|
40
47
|
}>;
|
|
41
|
-
export default _default;
|
|
42
48
|
type __VLS_WithSlots<T, S> = T & {
|
|
43
49
|
new (): {
|
|
44
50
|
$slots: S;
|
|
@@ -6,7 +6,9 @@ interface Props extends
|
|
|
6
6
|
/** @vue-ignore */
|
|
7
7
|
Partial<Omit<HTMLAttributes, "class"> & TailwindClassProp>, RealProps {
|
|
8
8
|
}
|
|
9
|
-
declare const _default:
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
10
12
|
modelValue?: boolean;
|
|
11
13
|
}, {
|
|
12
14
|
recompute: (force?: boolean) => void;
|
|
@@ -34,11 +36,15 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
34
36
|
}) => any;
|
|
35
37
|
} & {
|
|
36
38
|
popup?: (props: {
|
|
37
|
-
position:
|
|
39
|
+
position: {
|
|
40
|
+
x: number;
|
|
41
|
+
y: number;
|
|
42
|
+
maxWidth?: number | undefined;
|
|
43
|
+
maxHeight?: number | undefined;
|
|
44
|
+
};
|
|
38
45
|
extractEl: (_: any) => any;
|
|
39
46
|
}) => any;
|
|
40
47
|
}>;
|
|
41
|
-
export default _default;
|
|
42
48
|
type __VLS_WithSlots<T, S> = T & {
|
|
43
49
|
new (): {
|
|
44
50
|
$slots: S;
|
|
@@ -21,7 +21,9 @@ interface Props extends
|
|
|
21
21
|
/** @vue-ignore */
|
|
22
22
|
Partial<Omit<HTMLAttributes, "class"> & TailwindClassProp>, RealProps {
|
|
23
23
|
}
|
|
24
|
-
declare const _default:
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
25
27
|
disabled: boolean;
|
|
26
28
|
readonly: boolean;
|
|
27
29
|
border: boolean;
|
|
@@ -34,7 +36,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {},
|
|
|
34
36
|
} & {
|
|
35
37
|
default?: (props: {}) => any;
|
|
36
38
|
}>;
|
|
37
|
-
export default _default;
|
|
38
39
|
type __VLS_WithSlots<T, S> = T & {
|
|
39
40
|
new (): {
|
|
40
41
|
$slots: S;
|
|
@@ -21,7 +21,9 @@ interface Props extends
|
|
|
21
21
|
/** @vue-ignore */
|
|
22
22
|
Partial<Omit<HTMLAttributes, "class"> & TailwindClassProp>, RealProps {
|
|
23
23
|
}
|
|
24
|
-
declare const _default:
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
25
27
|
disabled: boolean;
|
|
26
28
|
readonly: boolean;
|
|
27
29
|
border: boolean;
|
|
@@ -34,7 +36,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {},
|
|
|
34
36
|
} & {
|
|
35
37
|
default?: (props: {}) => any;
|
|
36
38
|
}>;
|
|
37
|
-
export default _default;
|
|
38
39
|
type __VLS_WithSlots<T, S> = T & {
|
|
39
40
|
new (): {
|
|
40
41
|
$slots: S;
|
|
@@ -26,7 +26,9 @@ interface Props extends
|
|
|
26
26
|
/** @vue-ignore */
|
|
27
27
|
Partial<Omit<HTMLAttributes, "class"> & TailwindClassProp>, RealProps {
|
|
28
28
|
}
|
|
29
|
-
declare const _default:
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
declare const __VLS_export: import("vue").DefineComponent<Props & {
|
|
30
32
|
/**
|
|
31
33
|
* Puts the element into recording mode if true. See {@link props.recorder}.
|
|
32
34
|
*/
|
|
@@ -74,4 +76,3 @@ declare const _default: import("vue").DefineComponent<Props & {
|
|
|
74
76
|
unbind: (el: HTMLElement) => void;
|
|
75
77
|
};
|
|
76
78
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
77
|
-
export default _default;
|
|
@@ -26,7 +26,9 @@ interface Props extends
|
|
|
26
26
|
/** @vue-ignore */
|
|
27
27
|
Partial<Omit<HTMLAttributes, "class"> & TailwindClassProp>, RealProps {
|
|
28
28
|
}
|
|
29
|
-
declare const _default:
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
declare const __VLS_export: import("vue").DefineComponent<Props & {
|
|
30
32
|
/**
|
|
31
33
|
* Puts the element into recording mode if true. See {@link props.recorder}.
|
|
32
34
|
*/
|
|
@@ -74,4 +76,3 @@ declare const _default: import("vue").DefineComponent<Props & {
|
|
|
74
76
|
unbind: (el: HTMLElement) => void;
|
|
75
77
|
};
|
|
76
78
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
77
|
-
export default _default;
|
|
@@ -14,11 +14,11 @@ type __VLS_Props = {
|
|
|
14
14
|
useNotifications?: boolean;
|
|
15
15
|
notificationHandler?: NotificationHandler;
|
|
16
16
|
};
|
|
17
|
-
declare var
|
|
17
|
+
declare var __VLS_11: {};
|
|
18
18
|
type __VLS_Slots = {} & {
|
|
19
|
-
default?: (props: typeof
|
|
19
|
+
default?: (props: typeof __VLS_11) => any;
|
|
20
20
|
};
|
|
21
|
-
declare const
|
|
21
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
22
22
|
darkMode: import("../../composables/useDarkMode.js").DarkModeState & import("../../composables/useDarkMode.js").DarkModeCommands;
|
|
23
23
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
24
|
theme: Theme;
|
|
@@ -32,7 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
32
32
|
useNotifications: boolean;
|
|
33
33
|
notificationHandler: NotificationHandler;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
-
declare const
|
|
35
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
36
37
|
export default _default;
|
|
37
38
|
type __VLS_WithSlots<T, S> = T & {
|
|
38
39
|
new (): {
|
|
@@ -14,11 +14,11 @@ type __VLS_Props = {
|
|
|
14
14
|
useNotifications?: boolean;
|
|
15
15
|
notificationHandler?: NotificationHandler;
|
|
16
16
|
};
|
|
17
|
-
declare var
|
|
17
|
+
declare var __VLS_11: {};
|
|
18
18
|
type __VLS_Slots = {} & {
|
|
19
|
-
default?: (props: typeof
|
|
19
|
+
default?: (props: typeof __VLS_11) => any;
|
|
20
20
|
};
|
|
21
|
-
declare const
|
|
21
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
22
22
|
darkMode: import("../../composables/useDarkMode.js").DarkModeState & import("../../composables/useDarkMode.js").DarkModeCommands;
|
|
23
23
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
24
24
|
theme: Theme;
|
|
@@ -32,7 +32,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
|
32
32
|
useNotifications: boolean;
|
|
33
33
|
notificationHandler: NotificationHandler;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
-
declare const
|
|
35
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
36
37
|
export default _default;
|
|
37
38
|
type __VLS_WithSlots<T, S> = T & {
|
|
38
39
|
new (): {
|
|
@@ -9,27 +9,32 @@ type RealProps = LinkableByIdProps & LabelProps & BaseInteractiveProps & {
|
|
|
9
9
|
};
|
|
10
10
|
interface Props extends
|
|
11
11
|
/** @vue-ignore */
|
|
12
|
-
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "onInput"> & TailwindClassProp>, RealProps {
|
|
12
|
+
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "onInput" | "autocomplete"> & TailwindClassProp>, RealProps {
|
|
13
13
|
}
|
|
14
|
-
declare const _default:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
19
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onInput" | "onSubmit" | "onUpdate:modelValue"> & (Props & {
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: <T>(__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<{
|
|
17
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(Props & {
|
|
20
18
|
modelValue: T;
|
|
21
|
-
}) & {
|
|
22
|
-
|
|
19
|
+
}) & {
|
|
20
|
+
onInput?: ((val: InputEvent) => any) | undefined;
|
|
21
|
+
onSubmit?: ((val: T) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
23
|
+
}> & (typeof globalThis extends {
|
|
24
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
25
|
+
} ? P : {});
|
|
26
|
+
expose: (exposed: {}) => void;
|
|
23
27
|
attrs: any;
|
|
24
28
|
slots: {};
|
|
25
29
|
emit: {
|
|
26
30
|
(e: "submit", val: T): void;
|
|
27
31
|
(e: "input", val: InputEvent): void;
|
|
28
|
-
} & ((
|
|
32
|
+
} & ((event: "update:modelValue", value: T) => void);
|
|
29
33
|
}>) => import("vue").VNode & {
|
|
30
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
35
|
};
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} : {
|
|
34
39
|
[K in keyof T as K]: T[K];
|
|
35
|
-
} & {};
|
|
40
|
+
}) & {};
|
|
@@ -97,7 +97,7 @@ const fallbackId = getFallbackId();
|
|
|
97
97
|
const props = defineProps({
|
|
98
98
|
id: { type: String, required: false, default: "" },
|
|
99
99
|
label: { type: String, required: false, default: "" },
|
|
100
|
-
disabled: { type: Boolean, required: false, default: false },
|
|
100
|
+
disabled: { type: [Boolean, String], required: false, default: false },
|
|
101
101
|
readonly: { type: Boolean, required: false, default: false },
|
|
102
102
|
border: { type: Boolean, required: false, default: true },
|
|
103
103
|
unstyle: { type: Boolean, required: false, default: false },
|
|
@@ -9,27 +9,32 @@ type RealProps = LinkableByIdProps & LabelProps & BaseInteractiveProps & {
|
|
|
9
9
|
};
|
|
10
10
|
interface Props extends
|
|
11
11
|
/** @vue-ignore */
|
|
12
|
-
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "onInput"> & TailwindClassProp>, RealProps {
|
|
12
|
+
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "onInput" | "autocomplete"> & TailwindClassProp>, RealProps {
|
|
13
13
|
}
|
|
14
|
-
declare const _default:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
19
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onInput" | "onSubmit" | "onUpdate:modelValue"> & (Props & {
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: <T>(__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<{
|
|
17
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(Props & {
|
|
20
18
|
modelValue: T;
|
|
21
|
-
}) & {
|
|
22
|
-
|
|
19
|
+
}) & {
|
|
20
|
+
onInput?: ((val: InputEvent) => any) | undefined;
|
|
21
|
+
onSubmit?: ((val: T) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
23
|
+
}> & (typeof globalThis extends {
|
|
24
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
25
|
+
} ? P : {});
|
|
26
|
+
expose: (exposed: {}) => void;
|
|
23
27
|
attrs: any;
|
|
24
28
|
slots: {};
|
|
25
29
|
emit: {
|
|
26
30
|
(e: "submit", val: T): void;
|
|
27
31
|
(e: "input", val: InputEvent): void;
|
|
28
|
-
} & ((
|
|
32
|
+
} & ((event: "update:modelValue", value: T) => void);
|
|
29
33
|
}>) => import("vue").VNode & {
|
|
30
34
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
31
35
|
};
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} : {
|
|
34
39
|
[K in keyof T as K]: T[K];
|
|
35
|
-
} & {};
|
|
40
|
+
}) & {};
|
|
@@ -21,15 +21,10 @@ Partial<Omit<HTMLAttributes, "class" | "onSubmit"> & {
|
|
|
21
21
|
/** @vue-ignore */
|
|
22
22
|
WrapperTypes, RealProps {
|
|
23
23
|
}
|
|
24
|
-
declare const _default:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly "onUpdate:activeSuggestion"?: ((val: number) => any) | undefined;
|
|
29
|
-
readonly "onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
|
|
30
|
-
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
31
|
-
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
32
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSubmit" | "onUpdate:modelValue" | "onUpdate:open" | "onUpdate:isOpen" | "onUpdate:activeSuggestion" | "onUpdate:inputValue"> & (Props & SuggestionsProps<TSuggestion> & {
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
declare const __VLS_export: <TSuggestion extends string | object, TValue extends string | string[]>(__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<{
|
|
27
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(Props & SuggestionsProps<TSuggestion> & {
|
|
33
28
|
/**
|
|
34
29
|
* The final valid value. This is *not* the value you want to share with the input. If `restrictToSuggestions` is true this will not update on any invalid values that `inputValue` might be set to.
|
|
35
30
|
*
|
|
@@ -43,8 +38,17 @@ declare const _default: <TSuggestion extends string | object, TValue extends str
|
|
|
43
38
|
*/
|
|
44
39
|
inputValue?: string;
|
|
45
40
|
open?: boolean;
|
|
46
|
-
}) & {
|
|
47
|
-
|
|
41
|
+
}) & {
|
|
42
|
+
onSubmit?: ((val: string, suggestion?: any, wasRemoved?: boolean | undefined) => any) | undefined;
|
|
43
|
+
"onUpdate:isOpen"?: ((val: boolean) => any) | undefined;
|
|
44
|
+
"onUpdate:activeSuggestion"?: ((val: number) => any) | undefined;
|
|
45
|
+
"onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
|
|
46
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
47
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
48
|
+
}> & (typeof globalThis extends {
|
|
49
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
50
|
+
} ? P : {});
|
|
51
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
48
52
|
suggestions: {
|
|
49
53
|
list: any[] | undefined;
|
|
50
54
|
filtered: any[] | undefined;
|
|
@@ -75,20 +79,21 @@ declare const _default: <TSuggestion extends string | object, TValue extends str
|
|
|
75
79
|
inputBlurHandler: (e: MouseEvent) => void;
|
|
76
80
|
/** A focus handler for the input that controls the component. */
|
|
77
81
|
inputFocusHandler: (e: FocusEvent) => void;
|
|
78
|
-
}>)
|
|
82
|
+
}>) => void;
|
|
79
83
|
attrs: any;
|
|
80
84
|
slots: {
|
|
81
85
|
item?: (props: {
|
|
82
86
|
item: any;
|
|
83
|
-
index:
|
|
84
|
-
isSelected:
|
|
87
|
+
index: number;
|
|
88
|
+
isSelected: boolean;
|
|
85
89
|
}) => any;
|
|
86
90
|
};
|
|
87
|
-
emit: SuggestionsEmits<false> & (((
|
|
91
|
+
emit: SuggestionsEmits<false> & (((event: "update:modelValue", value: TValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "update:open", value: boolean) => void));
|
|
88
92
|
}>) => import("vue").VNode & {
|
|
89
93
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
90
94
|
};
|
|
91
|
-
|
|
92
|
-
|
|
95
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
96
|
+
[K in keyof T]: T[K];
|
|
97
|
+
} : {
|
|
93
98
|
[K in keyof T as K]: T[K];
|
|
94
|
-
} & {};
|
|
99
|
+
}) & {};
|
|
@@ -21,15 +21,10 @@ Partial<Omit<HTMLAttributes, "class" | "onSubmit"> & {
|
|
|
21
21
|
/** @vue-ignore */
|
|
22
22
|
WrapperTypes, RealProps {
|
|
23
23
|
}
|
|
24
|
-
declare const _default:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly "onUpdate:activeSuggestion"?: ((val: number) => any) | undefined;
|
|
29
|
-
readonly "onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
|
|
30
|
-
readonly "onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
31
|
-
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
32
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSubmit" | "onUpdate:modelValue" | "onUpdate:open" | "onUpdate:isOpen" | "onUpdate:activeSuggestion" | "onUpdate:inputValue"> & (Props & SuggestionsProps<TSuggestion> & {
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
declare const __VLS_export: <TSuggestion extends string | object, TValue extends string | string[]>(__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<{
|
|
27
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(Props & SuggestionsProps<TSuggestion> & {
|
|
33
28
|
/**
|
|
34
29
|
* The final valid value. This is *not* the value you want to share with the input. If `restrictToSuggestions` is true this will not update on any invalid values that `inputValue` might be set to.
|
|
35
30
|
*
|
|
@@ -43,8 +38,17 @@ declare const _default: <TSuggestion extends string | object, TValue extends str
|
|
|
43
38
|
*/
|
|
44
39
|
inputValue?: string;
|
|
45
40
|
open?: boolean;
|
|
46
|
-
}) & {
|
|
47
|
-
|
|
41
|
+
}) & {
|
|
42
|
+
onSubmit?: ((val: string, suggestion?: any, wasRemoved?: boolean | undefined) => any) | undefined;
|
|
43
|
+
"onUpdate:isOpen"?: ((val: boolean) => any) | undefined;
|
|
44
|
+
"onUpdate:activeSuggestion"?: ((val: number) => any) | undefined;
|
|
45
|
+
"onUpdate:modelValue"?: ((value: TValue) => any) | undefined;
|
|
46
|
+
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
47
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
48
|
+
}> & (typeof globalThis extends {
|
|
49
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
50
|
+
} ? P : {});
|
|
51
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
48
52
|
suggestions: {
|
|
49
53
|
list: any[] | undefined;
|
|
50
54
|
filtered: any[] | undefined;
|
|
@@ -75,20 +79,21 @@ declare const _default: <TSuggestion extends string | object, TValue extends str
|
|
|
75
79
|
inputBlurHandler: (e: MouseEvent) => void;
|
|
76
80
|
/** A focus handler for the input that controls the component. */
|
|
77
81
|
inputFocusHandler: (e: FocusEvent) => void;
|
|
78
|
-
}>)
|
|
82
|
+
}>) => void;
|
|
79
83
|
attrs: any;
|
|
80
84
|
slots: {
|
|
81
85
|
item?: (props: {
|
|
82
86
|
item: any;
|
|
83
|
-
index:
|
|
84
|
-
isSelected:
|
|
87
|
+
index: number;
|
|
88
|
+
isSelected: boolean;
|
|
85
89
|
}) => any;
|
|
86
90
|
};
|
|
87
|
-
emit: SuggestionsEmits<false> & (((
|
|
91
|
+
emit: SuggestionsEmits<false> & (((event: "update:modelValue", value: TValue) => void) & ((event: "update:inputValue", value: string) => void) & ((event: "update:open", value: boolean) => void));
|
|
88
92
|
}>) => import("vue").VNode & {
|
|
89
93
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
90
94
|
};
|
|
91
|
-
|
|
92
|
-
|
|
95
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
96
|
+
[K in keyof T]: T[K];
|
|
97
|
+
} : {
|
|
93
98
|
[K in keyof T as K]: T[K];
|
|
94
|
-
} & {};
|
|
99
|
+
}) & {};
|
|
@@ -69,26 +69,46 @@ interface Props extends
|
|
|
69
69
|
/** @vue-ignore */
|
|
70
70
|
Partial<Omit<TableHTMLAttributes, "class" | "readonly" | "disabled"> & TailwindClassProp>, RealProps {
|
|
71
71
|
}
|
|
72
|
-
declare const _default:
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
declare const _default: typeof __VLS_export;
|
|
73
|
+
export default _default;
|
|
74
|
+
declare const __VLS_export: <T>(__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<{
|
|
75
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<Props> & (typeof globalThis extends {
|
|
76
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
77
|
+
} ? P : {});
|
|
78
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
75
79
|
forceRecalculateFixedVirtualizer: () => void;
|
|
76
|
-
}>)
|
|
80
|
+
}>) => void;
|
|
77
81
|
attrs: any;
|
|
78
82
|
slots: {
|
|
79
|
-
[x: string]: ((props: {
|
|
80
|
-
colKey:
|
|
83
|
+
[x: `header-${string}`]: ((props: {
|
|
84
|
+
colKey: string | number | symbol;
|
|
81
85
|
config: any;
|
|
82
86
|
style: {
|
|
83
|
-
width:
|
|
87
|
+
width: undefined;
|
|
84
88
|
};
|
|
85
|
-
class:
|
|
89
|
+
class: string | undefined;
|
|
86
90
|
}) => any) | undefined;
|
|
87
91
|
} & {
|
|
88
92
|
[x: string]: ((props: {
|
|
89
|
-
class:
|
|
93
|
+
class: string | undefined;
|
|
94
|
+
style: {
|
|
95
|
+
width: undefined;
|
|
96
|
+
};
|
|
97
|
+
item: any;
|
|
98
|
+
value: any;
|
|
99
|
+
}) => any) | undefined;
|
|
100
|
+
[x: number]: ((props: {
|
|
101
|
+
class: string | undefined;
|
|
90
102
|
style: {
|
|
91
|
-
width:
|
|
103
|
+
width: undefined;
|
|
104
|
+
};
|
|
105
|
+
item: any;
|
|
106
|
+
value: any;
|
|
107
|
+
}) => any) | undefined;
|
|
108
|
+
[x: symbol]: ((props: {
|
|
109
|
+
class: string | undefined;
|
|
110
|
+
style: {
|
|
111
|
+
width: undefined;
|
|
92
112
|
};
|
|
93
113
|
item: any;
|
|
94
114
|
value: any;
|
|
@@ -98,7 +118,8 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
98
118
|
}>) => import("vue").VNode & {
|
|
99
119
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
100
120
|
};
|
|
101
|
-
|
|
102
|
-
|
|
121
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
122
|
+
[K in keyof T]: T[K];
|
|
123
|
+
} : {
|
|
103
124
|
[K in keyof T as K]: T[K];
|
|
104
|
-
} & {};
|
|
125
|
+
}) & {};
|
|
@@ -69,26 +69,46 @@ interface Props extends
|
|
|
69
69
|
/** @vue-ignore */
|
|
70
70
|
Partial<Omit<TableHTMLAttributes, "class" | "readonly" | "disabled"> & TailwindClassProp>, RealProps {
|
|
71
71
|
}
|
|
72
|
-
declare const _default:
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
declare const _default: typeof __VLS_export;
|
|
73
|
+
export default _default;
|
|
74
|
+
declare const __VLS_export: <T>(__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<{
|
|
75
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<Props> & (typeof globalThis extends {
|
|
76
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
77
|
+
} ? P : {});
|
|
78
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
75
79
|
forceRecalculateFixedVirtualizer: () => void;
|
|
76
|
-
}>)
|
|
80
|
+
}>) => void;
|
|
77
81
|
attrs: any;
|
|
78
82
|
slots: {
|
|
79
|
-
[x: string]: ((props: {
|
|
80
|
-
colKey:
|
|
83
|
+
[x: `header-${string}`]: ((props: {
|
|
84
|
+
colKey: string | number | symbol;
|
|
81
85
|
config: any;
|
|
82
86
|
style: {
|
|
83
|
-
width:
|
|
87
|
+
width: undefined;
|
|
84
88
|
};
|
|
85
|
-
class:
|
|
89
|
+
class: string | undefined;
|
|
86
90
|
}) => any) | undefined;
|
|
87
91
|
} & {
|
|
88
92
|
[x: string]: ((props: {
|
|
89
|
-
class:
|
|
93
|
+
class: string | undefined;
|
|
94
|
+
style: {
|
|
95
|
+
width: undefined;
|
|
96
|
+
};
|
|
97
|
+
item: any;
|
|
98
|
+
value: any;
|
|
99
|
+
}) => any) | undefined;
|
|
100
|
+
[x: number]: ((props: {
|
|
101
|
+
class: string | undefined;
|
|
90
102
|
style: {
|
|
91
|
-
width:
|
|
103
|
+
width: undefined;
|
|
104
|
+
};
|
|
105
|
+
item: any;
|
|
106
|
+
value: any;
|
|
107
|
+
}) => any) | undefined;
|
|
108
|
+
[x: symbol]: ((props: {
|
|
109
|
+
class: string | undefined;
|
|
110
|
+
style: {
|
|
111
|
+
width: undefined;
|
|
92
112
|
};
|
|
93
113
|
item: any;
|
|
94
114
|
value: any;
|
|
@@ -98,7 +118,8 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
98
118
|
}>) => import("vue").VNode & {
|
|
99
119
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
100
120
|
};
|
|
101
|
-
|
|
102
|
-
|
|
121
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
122
|
+
[K in keyof T]: T[K];
|
|
123
|
+
} : {
|
|
103
124
|
[K in keyof T as K]: T[K];
|
|
104
|
-
} & {};
|
|
125
|
+
}) & {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
modelValue: string;
|
|
3
5
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
6
|
"update:modelValue": (value: string) => any;
|
|
@@ -9,7 +11,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
9
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
12
|
default?: (props: {}) => any;
|
|
11
13
|
}>;
|
|
12
|
-
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
15
16
|
$slots: S;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
2
4
|
modelValue: string;
|
|
3
5
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
6
|
"update:modelValue": (value: string) => any;
|
|
@@ -9,7 +11,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
9
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
10
12
|
default?: (props: {}) => any;
|
|
11
13
|
}>;
|
|
12
|
-
export default _default;
|
|
13
14
|
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
15
16
|
$slots: S;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
showOutline: boolean;
|
|
3
3
|
};
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: 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>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
5
6
|
export default _default;
|