@witchcraft/ui 0.3.20 → 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.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.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 +2 -1
- package/dist/runtime/components/LibNotifications/LibNotifications.vue.d.ts +2 -1
- 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/package.json +50 -50
- package/src/runtime/assets/animations.css +2 -2
- package/src/runtime/components/LibCheckbox/LibCheckbox.vue +3 -1
- package/src/runtime/components/LibFileInput/LibFileInput.vue +13 -4
- package/src/runtime/components/LibInputDeprecated/LibInputDeprecated.vue +6 -1
- package/src/runtime/components/LibSimpleInput/LibSimpleInput.vue +2 -0
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
type
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
"label"?: string;
|
|
4
4
|
};
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_9: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_9) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
10
|
"update:modelValue": (value: string) => any;
|
|
11
11
|
"update:label": (value: string) => any;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
"onUpdate:label"?: ((value: string) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
type
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
"label"?: string;
|
|
4
4
|
};
|
|
5
|
-
declare var
|
|
5
|
+
declare var __VLS_9: {};
|
|
6
6
|
type __VLS_Slots = {} & {
|
|
7
|
-
default?: (props: typeof
|
|
7
|
+
default?: (props: typeof __VLS_9) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
10
|
"update:modelValue": (value: string) => any;
|
|
11
11
|
"update:label": (value: string) => any;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
14
|
"onUpdate:label"?: ((value: string) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_WithSlots<T, S> = T & {
|
|
19
20
|
new (): {
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
*
|
|
6
6
|
* The value can be undefined, it will just display undefined.
|
|
7
7
|
*/
|
|
8
|
-
declare const _default:
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
9
11
|
/** The value to debug, can be anything. */
|
|
10
12
|
value?: any;
|
|
11
13
|
/** Sets the tab size in css. Defaults to 3. */
|
|
@@ -24,7 +26,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
24
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
25
27
|
default?: (props: {}) => any;
|
|
26
28
|
}>;
|
|
27
|
-
export default _default;
|
|
28
29
|
type __VLS_WithSlots<T, S> = T & {
|
|
29
30
|
new (): {
|
|
30
31
|
$slots: S;
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
*
|
|
6
6
|
* The value can be undefined, it will just display undefined.
|
|
7
7
|
*/
|
|
8
|
-
declare const _default:
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
9
11
|
/** The value to debug, can be anything. */
|
|
10
12
|
value?: any;
|
|
11
13
|
/** Sets the tab size in css. Defaults to 3. */
|
|
@@ -24,7 +26,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
24
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
25
27
|
default?: (props: {}) => any;
|
|
26
28
|
}>;
|
|
27
|
-
export default _default;
|
|
28
29
|
type __VLS_WithSlots<T, S> = T & {
|
|
29
30
|
new (): {
|
|
30
31
|
$slots: S;
|
|
@@ -6,7 +6,9 @@ declare module "vue" {
|
|
|
6
6
|
DevOnly: any;
|
|
7
7
|
}
|
|
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<{
|
|
10
12
|
show?: boolean;
|
|
11
13
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
12
14
|
show?: boolean;
|
|
@@ -17,7 +19,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
17
19
|
} & {
|
|
18
20
|
default?: (props: {}) => any;
|
|
19
21
|
}>;
|
|
20
|
-
export default _default;
|
|
21
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
22
23
|
new (): {
|
|
23
24
|
$slots: S;
|
|
@@ -6,7 +6,9 @@ declare module "vue" {
|
|
|
6
6
|
DevOnly: any;
|
|
7
7
|
}
|
|
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<{
|
|
10
12
|
show?: boolean;
|
|
11
13
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
12
14
|
show?: boolean;
|
|
@@ -17,7 +19,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
17
19
|
} & {
|
|
18
20
|
default?: (props: {}) => any;
|
|
19
21
|
}>;
|
|
20
|
-
export default _default;
|
|
21
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
22
23
|
new (): {
|
|
23
24
|
$slots: S;
|
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
import { type HTMLAttributes, type InputHTMLAttributes } from "vue";
|
|
2
2
|
import type { FileInputError } from "../../types/index.js";
|
|
3
3
|
import { type LinkableByIdProps, type TailwindClassProp, type WrapperProps } from "../shared/props.js";
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
type WrapperTypes = WrapperProps<"input", Omit<InputHTMLAttributes, "autocomplete">> & WrapperProps<"wrapper", HTMLAttributes> & WrapperProps<"previews", HTMLAttributes>;
|
|
7
|
+
type RealProps = LinkableByIdProps & {
|
|
8
|
+
multiple?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* A list of extensions or mime types to add to the input's accept. Basic validations are done so that files match an extension and mimeType, but note that a file could still be lying, all files should be validated server side.
|
|
11
|
+
*
|
|
12
|
+
* Pass an empty array to allow any filetype.
|
|
13
|
+
*/
|
|
14
|
+
formats?: string[];
|
|
15
|
+
compact?: boolean;
|
|
16
|
+
};
|
|
17
|
+
interface Props extends
|
|
18
|
+
/** @vue-ignore */
|
|
19
|
+
Partial<Omit<InputHTMLAttributes, "class" | "multiple" | "formats" | "compact" | "autocomplete"> & TailwindClassProp>,
|
|
20
|
+
/** @vue-ignore */
|
|
21
|
+
Partial<WrapperTypes>, RealProps {
|
|
22
|
+
}
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
5
24
|
clearFiles: () => void;
|
|
6
25
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
26
|
input: (val: File[], clearFiles: () => void) => any;
|
|
@@ -20,24 +39,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
20
39
|
} & {
|
|
21
40
|
formats?: (props: {}) => any;
|
|
22
41
|
}>;
|
|
23
|
-
export default _default;
|
|
24
|
-
type WrapperTypes = WrapperProps<"input", InputHTMLAttributes> & WrapperProps<"wrapper", HTMLAttributes> & WrapperProps<"previews", HTMLAttributes>;
|
|
25
|
-
type RealProps = LinkableByIdProps & {
|
|
26
|
-
multiple?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* A list of extensions or mime types to add to the input's accept. Basic validations are done so that files match an extension and mimeType, but note that a file could still be lying, all files should be validated server side.
|
|
29
|
-
*
|
|
30
|
-
* Pass an empty array to allow any filetype.
|
|
31
|
-
*/
|
|
32
|
-
formats?: string[];
|
|
33
|
-
compact?: boolean;
|
|
34
|
-
};
|
|
35
|
-
interface Props extends
|
|
36
|
-
/** @vue-ignore */
|
|
37
|
-
Partial<Omit<InputHTMLAttributes, "class" | "multiple" | "formats" | "compact"> & TailwindClassProp>,
|
|
38
|
-
/** @vue-ignore */
|
|
39
|
-
Partial<WrapperTypes>, RealProps {
|
|
40
|
-
}
|
|
41
42
|
type __VLS_WithSlots<T, S> = T & {
|
|
42
43
|
new (): {
|
|
43
44
|
$slots: S;
|
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
import { type HTMLAttributes, type InputHTMLAttributes } from "vue";
|
|
2
2
|
import type { FileInputError } from "../../types/index.js";
|
|
3
3
|
import { type LinkableByIdProps, type TailwindClassProp, type WrapperProps } from "../shared/props.js";
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
type WrapperTypes = WrapperProps<"input", Omit<InputHTMLAttributes, "autocomplete">> & WrapperProps<"wrapper", HTMLAttributes> & WrapperProps<"previews", HTMLAttributes>;
|
|
7
|
+
type RealProps = LinkableByIdProps & {
|
|
8
|
+
multiple?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* A list of extensions or mime types to add to the input's accept. Basic validations are done so that files match an extension and mimeType, but note that a file could still be lying, all files should be validated server side.
|
|
11
|
+
*
|
|
12
|
+
* Pass an empty array to allow any filetype.
|
|
13
|
+
*/
|
|
14
|
+
formats?: string[];
|
|
15
|
+
compact?: boolean;
|
|
16
|
+
};
|
|
17
|
+
interface Props extends
|
|
18
|
+
/** @vue-ignore */
|
|
19
|
+
Partial<Omit<InputHTMLAttributes, "class" | "multiple" | "formats" | "compact" | "autocomplete"> & TailwindClassProp>,
|
|
20
|
+
/** @vue-ignore */
|
|
21
|
+
Partial<WrapperTypes>, RealProps {
|
|
22
|
+
}
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
5
24
|
clearFiles: () => void;
|
|
6
25
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
26
|
input: (val: File[], clearFiles: () => void) => any;
|
|
@@ -20,24 +39,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
20
39
|
} & {
|
|
21
40
|
formats?: (props: {}) => any;
|
|
22
41
|
}>;
|
|
23
|
-
export default _default;
|
|
24
|
-
type WrapperTypes = WrapperProps<"input", InputHTMLAttributes> & WrapperProps<"wrapper", HTMLAttributes> & WrapperProps<"previews", HTMLAttributes>;
|
|
25
|
-
type RealProps = LinkableByIdProps & {
|
|
26
|
-
multiple?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* A list of extensions or mime types to add to the input's accept. Basic validations are done so that files match an extension and mimeType, but note that a file could still be lying, all files should be validated server side.
|
|
29
|
-
*
|
|
30
|
-
* Pass an empty array to allow any filetype.
|
|
31
|
-
*/
|
|
32
|
-
formats?: string[];
|
|
33
|
-
compact?: boolean;
|
|
34
|
-
};
|
|
35
|
-
interface Props extends
|
|
36
|
-
/** @vue-ignore */
|
|
37
|
-
Partial<Omit<InputHTMLAttributes, "class" | "multiple" | "formats" | "compact"> & TailwindClassProp>,
|
|
38
|
-
/** @vue-ignore */
|
|
39
|
-
Partial<WrapperTypes>, RealProps {
|
|
40
|
-
}
|
|
41
42
|
type __VLS_WithSlots<T, S> = T & {
|
|
42
43
|
new (): {
|
|
43
44
|
$slots: S;
|
|
@@ -7,11 +7,13 @@ type RealProps = SuggestionsProps & LinkableByIdProps & LabelProps & BaseInterac
|
|
|
7
7
|
};
|
|
8
8
|
interface Props extends
|
|
9
9
|
/** @vue-ignore */
|
|
10
|
-
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit"> & TailwindClassProp>,
|
|
10
|
+
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "autocomplete"> & TailwindClassProp>,
|
|
11
11
|
/** @vue-ignore */
|
|
12
12
|
Partial<WrapperTypes>, RealProps {
|
|
13
13
|
}
|
|
14
|
-
declare const _default:
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
15
17
|
values?: string[] | undefined;
|
|
16
18
|
modelValue: string;
|
|
17
19
|
inputValue?: string;
|
|
@@ -107,8 +109,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
107
109
|
"update:inputValue": (value: string) => any;
|
|
108
110
|
"update:values": (value: string[] | undefined) => any;
|
|
109
111
|
} & {
|
|
110
|
-
blur: (val: FocusEvent) => any;
|
|
111
112
|
input: (val: InputEvent) => any;
|
|
113
|
+
blur: (val: FocusEvent) => any;
|
|
112
114
|
submit: (val: string, suggestion?: any) => any;
|
|
113
115
|
keydown: (val: KeyboardEvent) => any;
|
|
114
116
|
focus: (val: FocusEvent) => any;
|
|
@@ -118,8 +120,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
118
120
|
modelValue: string;
|
|
119
121
|
inputValue?: string;
|
|
120
122
|
}> & Readonly<{
|
|
121
|
-
onBlur?: ((val: FocusEvent) => any) | undefined;
|
|
122
123
|
onInput?: ((val: InputEvent) => any) | undefined;
|
|
124
|
+
onBlur?: ((val: FocusEvent) => any) | undefined;
|
|
123
125
|
onSubmit?: ((val: string, suggestion?: any) => any) | undefined;
|
|
124
126
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
125
127
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
@@ -136,28 +138,117 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
136
138
|
suggestions: any[];
|
|
137
139
|
updateOnlyOnSubmit: boolean;
|
|
138
140
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
139
|
-
label?: (props:
|
|
141
|
+
label?: (props: {
|
|
142
|
+
label: string | undefined;
|
|
143
|
+
id: string;
|
|
144
|
+
isOpen: boolean;
|
|
145
|
+
valid: boolean;
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
readonly: boolean;
|
|
148
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
149
|
+
}) => any;
|
|
140
150
|
} & {
|
|
141
|
-
default?: (props:
|
|
151
|
+
default?: (props: {
|
|
152
|
+
id: string;
|
|
153
|
+
isOpen: boolean;
|
|
154
|
+
valid: boolean;
|
|
155
|
+
disabled: boolean;
|
|
156
|
+
readonly: boolean;
|
|
157
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
158
|
+
}) => any;
|
|
142
159
|
} & {
|
|
143
|
-
left?: (props:
|
|
160
|
+
left?: (props: {
|
|
161
|
+
id: string;
|
|
162
|
+
isOpen: boolean;
|
|
163
|
+
valid: boolean;
|
|
164
|
+
disabled: boolean;
|
|
165
|
+
readonly: boolean;
|
|
166
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
167
|
+
}) => any;
|
|
144
168
|
} & {
|
|
145
|
-
input?: (props:
|
|
169
|
+
input?: (props: {
|
|
170
|
+
suggestionsIndicatorClickHandler: (e: MouseEvent) => void;
|
|
171
|
+
id: string;
|
|
172
|
+
isOpen: boolean;
|
|
173
|
+
valid: boolean;
|
|
174
|
+
disabled: boolean;
|
|
175
|
+
readonly: boolean;
|
|
176
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
177
|
+
class: undefined;
|
|
178
|
+
canEdit: boolean;
|
|
179
|
+
"aria-autocomplete": "both" | undefined;
|
|
180
|
+
"aria-controls": string | undefined;
|
|
181
|
+
role: string | undefined;
|
|
182
|
+
"aria-expanded": boolean | undefined;
|
|
183
|
+
"aria-activedescendant": string | undefined;
|
|
184
|
+
border: boolean;
|
|
185
|
+
isValid: boolean;
|
|
186
|
+
onKeydown: (e: KeyboardEvent) => void;
|
|
187
|
+
onBlur: (e: FocusEvent) => void;
|
|
188
|
+
onFocus: (e: FocusEvent) => void;
|
|
189
|
+
modelValue: string;
|
|
190
|
+
"onUpdate:modelValue": (e: string) => void;
|
|
191
|
+
onSubmit: (e: string) => void;
|
|
192
|
+
}) => any;
|
|
146
193
|
} & {
|
|
147
194
|
indicator?: (props: {
|
|
148
|
-
isOpen:
|
|
149
|
-
suggestionsIndicatorClickHandler:
|
|
195
|
+
isOpen: boolean;
|
|
196
|
+
suggestionsIndicatorClickHandler: (e: MouseEvent) => void;
|
|
150
197
|
}) => any;
|
|
151
198
|
} & {
|
|
152
|
-
values?: (props:
|
|
199
|
+
values?: (props: {
|
|
200
|
+
id: string;
|
|
201
|
+
isOpen: boolean;
|
|
202
|
+
valid: boolean;
|
|
203
|
+
disabled: boolean;
|
|
204
|
+
readonly: boolean;
|
|
205
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
206
|
+
class: undefined;
|
|
207
|
+
hasSlotRight: boolean;
|
|
208
|
+
label: string | undefined;
|
|
209
|
+
border: boolean;
|
|
210
|
+
modelValue: string[] | undefined;
|
|
211
|
+
"onUpdate:modelValue": (e: string[]) => string[];
|
|
212
|
+
}) => any;
|
|
153
213
|
} & {
|
|
154
|
-
right?: (props:
|
|
214
|
+
right?: (props: {
|
|
215
|
+
id: string;
|
|
216
|
+
isOpen: boolean;
|
|
217
|
+
valid: boolean;
|
|
218
|
+
disabled: boolean;
|
|
219
|
+
readonly: boolean;
|
|
220
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
221
|
+
}) => any;
|
|
155
222
|
} & {
|
|
156
|
-
suggestions?: (props:
|
|
223
|
+
suggestions?: (props: {
|
|
224
|
+
id: string;
|
|
225
|
+
isOpen: boolean;
|
|
226
|
+
valid: boolean;
|
|
227
|
+
disabled: boolean;
|
|
228
|
+
readonly: boolean;
|
|
229
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
230
|
+
class: undefined;
|
|
231
|
+
suggestions: any[] | undefined;
|
|
232
|
+
allowOpenEmpty: boolean;
|
|
233
|
+
restrictToSuggestions: boolean;
|
|
234
|
+
suggestionLabel: ((item: any) => string) | undefined;
|
|
235
|
+
suggestionsFilter: ((input: string | number, items: any[]) => any[]) | undefined;
|
|
236
|
+
modelValue: string | string[];
|
|
237
|
+
inputValue: string;
|
|
238
|
+
isValid: boolean;
|
|
239
|
+
"onUpdate:inputValue": (e: string) => string;
|
|
240
|
+
onSubmit: (e: string, suggestion?: any, wasRemoved?: boolean) => void;
|
|
241
|
+
"onUpdate:modelValue": (e: string | string[]) => void;
|
|
242
|
+
"onUpdate:isOpen": (e: boolean) => void;
|
|
243
|
+
"onUpdate:activeSuggestion": (e: number) => number;
|
|
244
|
+
}) => any;
|
|
157
245
|
} & {
|
|
158
|
-
'suggestion-item'?: (props:
|
|
246
|
+
'suggestion-item'?: (props: {
|
|
247
|
+
item: any;
|
|
248
|
+
index: number;
|
|
249
|
+
isSelected: boolean;
|
|
250
|
+
}) => any;
|
|
159
251
|
}>;
|
|
160
|
-
export default _default;
|
|
161
252
|
type __VLS_WithSlots<T, S> = T & {
|
|
162
253
|
new (): {
|
|
163
254
|
$slots: S;
|
|
@@ -7,11 +7,13 @@ type RealProps = SuggestionsProps & LinkableByIdProps & LabelProps & BaseInterac
|
|
|
7
7
|
};
|
|
8
8
|
interface Props extends
|
|
9
9
|
/** @vue-ignore */
|
|
10
|
-
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit"> & TailwindClassProp>,
|
|
10
|
+
Partial<Omit<InputHTMLAttributes, "class" | "readonly" | "disabled" | "onSubmit" | "autocomplete"> & TailwindClassProp>,
|
|
11
11
|
/** @vue-ignore */
|
|
12
12
|
Partial<WrapperTypes>, RealProps {
|
|
13
13
|
}
|
|
14
|
-
declare const _default:
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
15
17
|
values?: string[] | undefined;
|
|
16
18
|
modelValue: string;
|
|
17
19
|
inputValue?: string;
|
|
@@ -107,8 +109,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
107
109
|
"update:inputValue": (value: string) => any;
|
|
108
110
|
"update:values": (value: string[] | undefined) => any;
|
|
109
111
|
} & {
|
|
110
|
-
blur: (val: FocusEvent) => any;
|
|
111
112
|
input: (val: InputEvent) => any;
|
|
113
|
+
blur: (val: FocusEvent) => any;
|
|
112
114
|
submit: (val: string, suggestion?: any) => any;
|
|
113
115
|
keydown: (val: KeyboardEvent) => any;
|
|
114
116
|
focus: (val: FocusEvent) => any;
|
|
@@ -118,8 +120,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
118
120
|
modelValue: string;
|
|
119
121
|
inputValue?: string;
|
|
120
122
|
}> & Readonly<{
|
|
121
|
-
onBlur?: ((val: FocusEvent) => any) | undefined;
|
|
122
123
|
onInput?: ((val: InputEvent) => any) | undefined;
|
|
124
|
+
onBlur?: ((val: FocusEvent) => any) | undefined;
|
|
123
125
|
onSubmit?: ((val: string, suggestion?: any) => any) | undefined;
|
|
124
126
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
125
127
|
"onUpdate:inputValue"?: ((value: string) => any) | undefined;
|
|
@@ -136,28 +138,117 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props & {
|
|
|
136
138
|
suggestions: any[];
|
|
137
139
|
updateOnlyOnSubmit: boolean;
|
|
138
140
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
139
|
-
label?: (props:
|
|
141
|
+
label?: (props: {
|
|
142
|
+
label: string | undefined;
|
|
143
|
+
id: string;
|
|
144
|
+
isOpen: boolean;
|
|
145
|
+
valid: boolean;
|
|
146
|
+
disabled: boolean;
|
|
147
|
+
readonly: boolean;
|
|
148
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
149
|
+
}) => any;
|
|
140
150
|
} & {
|
|
141
|
-
default?: (props:
|
|
151
|
+
default?: (props: {
|
|
152
|
+
id: string;
|
|
153
|
+
isOpen: boolean;
|
|
154
|
+
valid: boolean;
|
|
155
|
+
disabled: boolean;
|
|
156
|
+
readonly: boolean;
|
|
157
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
158
|
+
}) => any;
|
|
142
159
|
} & {
|
|
143
|
-
left?: (props:
|
|
160
|
+
left?: (props: {
|
|
161
|
+
id: string;
|
|
162
|
+
isOpen: boolean;
|
|
163
|
+
valid: boolean;
|
|
164
|
+
disabled: boolean;
|
|
165
|
+
readonly: boolean;
|
|
166
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
167
|
+
}) => any;
|
|
144
168
|
} & {
|
|
145
|
-
input?: (props:
|
|
169
|
+
input?: (props: {
|
|
170
|
+
suggestionsIndicatorClickHandler: (e: MouseEvent) => void;
|
|
171
|
+
id: string;
|
|
172
|
+
isOpen: boolean;
|
|
173
|
+
valid: boolean;
|
|
174
|
+
disabled: boolean;
|
|
175
|
+
readonly: boolean;
|
|
176
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
177
|
+
class: undefined;
|
|
178
|
+
canEdit: boolean;
|
|
179
|
+
"aria-autocomplete": "both" | undefined;
|
|
180
|
+
"aria-controls": string | undefined;
|
|
181
|
+
role: string | undefined;
|
|
182
|
+
"aria-expanded": boolean | undefined;
|
|
183
|
+
"aria-activedescendant": string | undefined;
|
|
184
|
+
border: boolean;
|
|
185
|
+
isValid: boolean;
|
|
186
|
+
onKeydown: (e: KeyboardEvent) => void;
|
|
187
|
+
onBlur: (e: FocusEvent) => void;
|
|
188
|
+
onFocus: (e: FocusEvent) => void;
|
|
189
|
+
modelValue: string;
|
|
190
|
+
"onUpdate:modelValue": (e: string) => void;
|
|
191
|
+
onSubmit: (e: string) => void;
|
|
192
|
+
}) => any;
|
|
146
193
|
} & {
|
|
147
194
|
indicator?: (props: {
|
|
148
|
-
isOpen:
|
|
149
|
-
suggestionsIndicatorClickHandler:
|
|
195
|
+
isOpen: boolean;
|
|
196
|
+
suggestionsIndicatorClickHandler: (e: MouseEvent) => void;
|
|
150
197
|
}) => any;
|
|
151
198
|
} & {
|
|
152
|
-
values?: (props:
|
|
199
|
+
values?: (props: {
|
|
200
|
+
id: string;
|
|
201
|
+
isOpen: boolean;
|
|
202
|
+
valid: boolean;
|
|
203
|
+
disabled: boolean;
|
|
204
|
+
readonly: boolean;
|
|
205
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
206
|
+
class: undefined;
|
|
207
|
+
hasSlotRight: boolean;
|
|
208
|
+
label: string | undefined;
|
|
209
|
+
border: boolean;
|
|
210
|
+
modelValue: string[] | undefined;
|
|
211
|
+
"onUpdate:modelValue": (e: string[]) => string[];
|
|
212
|
+
}) => any;
|
|
153
213
|
} & {
|
|
154
|
-
right?: (props:
|
|
214
|
+
right?: (props: {
|
|
215
|
+
id: string;
|
|
216
|
+
isOpen: boolean;
|
|
217
|
+
valid: boolean;
|
|
218
|
+
disabled: boolean;
|
|
219
|
+
readonly: boolean;
|
|
220
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
221
|
+
}) => any;
|
|
155
222
|
} & {
|
|
156
|
-
suggestions?: (props:
|
|
223
|
+
suggestions?: (props: {
|
|
224
|
+
id: string;
|
|
225
|
+
isOpen: boolean;
|
|
226
|
+
valid: boolean;
|
|
227
|
+
disabled: boolean;
|
|
228
|
+
readonly: boolean;
|
|
229
|
+
emitSubmit: (val: any, _wasRemoved: boolean) => void;
|
|
230
|
+
class: undefined;
|
|
231
|
+
suggestions: any[] | undefined;
|
|
232
|
+
allowOpenEmpty: boolean;
|
|
233
|
+
restrictToSuggestions: boolean;
|
|
234
|
+
suggestionLabel: ((item: any) => string) | undefined;
|
|
235
|
+
suggestionsFilter: ((input: string | number, items: any[]) => any[]) | undefined;
|
|
236
|
+
modelValue: string | string[];
|
|
237
|
+
inputValue: string;
|
|
238
|
+
isValid: boolean;
|
|
239
|
+
"onUpdate:inputValue": (e: string) => string;
|
|
240
|
+
onSubmit: (e: string, suggestion?: any, wasRemoved?: boolean) => void;
|
|
241
|
+
"onUpdate:modelValue": (e: string | string[]) => void;
|
|
242
|
+
"onUpdate:isOpen": (e: boolean) => void;
|
|
243
|
+
"onUpdate:activeSuggestion": (e: number) => number;
|
|
244
|
+
}) => any;
|
|
157
245
|
} & {
|
|
158
|
-
'suggestion-item'?: (props:
|
|
246
|
+
'suggestion-item'?: (props: {
|
|
247
|
+
item: any;
|
|
248
|
+
index: number;
|
|
249
|
+
isSelected: boolean;
|
|
250
|
+
}) => any;
|
|
159
251
|
}>;
|
|
160
|
-
export default _default;
|
|
161
252
|
type __VLS_WithSlots<T, S> = T & {
|
|
162
253
|
new (): {
|
|
163
254
|
$slots: S;
|
|
@@ -8,7 +8,9 @@ interface Props extends
|
|
|
8
8
|
/** @vue-ignore */
|
|
9
9
|
Partial<Omit<LabelHTMLAttributes, "class"> & TailwindClassProp>, RealProps {
|
|
10
10
|
}
|
|
11
|
-
declare const _default:
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
14
|
id: string;
|
|
13
15
|
disabled: boolean;
|
|
14
16
|
readonly: boolean;
|
|
@@ -18,7 +20,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {},
|
|
|
18
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
19
21
|
default?: (props: {}) => any;
|
|
20
22
|
}>;
|
|
21
|
-
export default _default;
|
|
22
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
23
24
|
new (): {
|
|
24
25
|
$slots: S;
|
|
@@ -8,7 +8,9 @@ interface Props extends
|
|
|
8
8
|
/** @vue-ignore */
|
|
9
9
|
Partial<Omit<LabelHTMLAttributes, "class"> & TailwindClassProp>, RealProps {
|
|
10
10
|
}
|
|
11
|
-
declare const _default:
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
14
|
id: string;
|
|
13
15
|
disabled: boolean;
|
|
14
16
|
readonly: boolean;
|
|
@@ -18,7 +20,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {},
|
|
|
18
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
19
21
|
default?: (props: {}) => any;
|
|
20
22
|
}>;
|
|
21
|
-
export default _default;
|
|
22
23
|
type __VLS_WithSlots<T, S> = T & {
|
|
23
24
|
new (): {
|
|
24
25
|
$slots: S;
|
|
@@ -10,20 +10,25 @@ Partial<Omit<HTMLAttributes, "class"> & TailwindClassProp>,
|
|
|
10
10
|
/** @vue-ignore */
|
|
11
11
|
WrapperTypes, RealProps {
|
|
12
12
|
}
|
|
13
|
-
declare const _default:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
declare const __VLS_export: <T extends string | number>(__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<{
|
|
16
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<(Props & {
|
|
17
17
|
modelValue?: T[];
|
|
18
|
-
}) & {
|
|
19
|
-
|
|
18
|
+
}) & {
|
|
19
|
+
"onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
|
|
20
|
+
}> & (typeof globalThis extends {
|
|
21
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
22
|
+
} ? P : {});
|
|
23
|
+
expose: (exposed: {}) => void;
|
|
20
24
|
attrs: any;
|
|
21
25
|
slots: {};
|
|
22
|
-
emit: (
|
|
26
|
+
emit: (event: "update:modelValue", value: T[]) => void;
|
|
23
27
|
}>) => import("vue").VNode & {
|
|
24
28
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
25
29
|
};
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} : {
|
|
28
33
|
[K in keyof T as K]: T[K];
|
|
29
|
-
} & {};
|
|
34
|
+
}) & {};
|