@hina-ui/vue 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +769 -331
- package/dist/index.js.map +1 -1
- package/dist/types/components/accordion/AccordionContent.vue.d.ts.map +1 -1
- package/dist/types/components/avatar/AvatarGroup.vue.d.ts.map +1 -1
- package/dist/types/components/avatar/utils/children.d.ts +3 -0
- package/dist/types/components/avatar/utils/children.d.ts.map +1 -0
- package/dist/types/components/checkbox/Checkbox.vue.d.ts +2 -0
- package/dist/types/components/checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/types/components/checkbox/checkbox.variants.d.ts +75 -2
- package/dist/types/components/checkbox/checkbox.variants.d.ts.map +1 -1
- package/dist/types/components/checkbox-group/CheckboxGroup.vue.d.ts +32 -27
- package/dist/types/components/checkbox-group/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/types/components/checkbox-group/checkbox-group.variants.d.ts +34 -0
- package/dist/types/components/checkbox-group/checkbox-group.variants.d.ts.map +1 -1
- package/dist/types/components/collapsible/CollapsibleContent.vue.d.ts.map +1 -1
- package/dist/types/components/combobox/Combobox.vue.d.ts +38 -38
- package/dist/types/components/combobox/Combobox.vue.d.ts.map +1 -1
- package/dist/types/components/combobox/ComboboxList.vue.d.ts +22 -15
- package/dist/types/components/combobox/ComboboxList.vue.d.ts.map +1 -1
- package/dist/types/components/date-picker/DatePicker.vue.d.ts.map +1 -1
- package/dist/types/components/date-range-picker/DateRangePicker.vue.d.ts.map +1 -1
- package/dist/types/components/date-time-picker/DateTimePicker.vue.d.ts.map +1 -1
- package/dist/types/components/dialog/Dialog.vue.d.ts +22 -16
- package/dist/types/components/dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/types/components/dialog/dialog.variants.d.ts +32 -2
- package/dist/types/components/dialog/dialog.variants.d.ts.map +1 -1
- package/dist/types/components/form-field/FormField.vue.d.ts +7 -4
- package/dist/types/components/form-field/FormField.vue.d.ts.map +1 -1
- package/dist/types/components/form-field/form-field.variants.d.ts +73 -1
- package/dist/types/components/form-field/form-field.variants.d.ts.map +1 -1
- package/dist/types/components/form-field/types.d.ts +6 -0
- package/dist/types/components/form-field/types.d.ts.map +1 -0
- package/dist/types/components/form-layout/FormLayout.vue.d.ts +2 -1
- package/dist/types/components/form-layout/FormLayout.vue.d.ts.map +1 -1
- package/dist/types/components/form-layout/context.d.ts +7 -0
- package/dist/types/components/form-layout/context.d.ts.map +1 -0
- package/dist/types/components/image/ImageGroup.vue.d.ts.map +1 -1
- package/dist/types/components/image/composables/useImageGroupState.d.ts +7 -0
- package/dist/types/components/image/composables/useImageGroupState.d.ts.map +1 -0
- package/dist/types/components/input/Input.vue.d.ts +3 -3
- package/dist/types/components/input/Input.vue.d.ts.map +1 -1
- package/dist/types/components/input/InputBase.vue.d.ts +3 -3
- package/dist/types/components/input/InputBase.vue.d.ts.map +1 -1
- package/dist/types/components/input/input.variants.d.ts +53 -7
- package/dist/types/components/input/input.variants.d.ts.map +1 -1
- package/dist/types/components/input-group/InputGroup.vue.d.ts +3 -3
- package/dist/types/components/input-group/InputGroup.vue.d.ts.map +1 -1
- package/dist/types/components/input-group/context.d.ts +2 -1
- package/dist/types/components/input-group/context.d.ts.map +1 -1
- package/dist/types/components/input-group/input-group.variants.d.ts +13 -1
- package/dist/types/components/input-group/input-group.variants.d.ts.map +1 -1
- package/dist/types/components/listbox/Listbox.vue.d.ts +36 -29
- package/dist/types/components/listbox/Listbox.vue.d.ts.map +1 -1
- package/dist/types/components/listbox/ListboxOptionContent.vue.d.ts +31 -0
- package/dist/types/components/listbox/ListboxOptionContent.vue.d.ts.map +1 -0
- package/dist/types/components/listbox/listbox.variants.d.ts +19 -1
- package/dist/types/components/listbox/listbox.variants.d.ts.map +1 -1
- package/dist/types/components/multi-combobox/MultiCombobox.vue.d.ts +41 -43
- package/dist/types/components/multi-combobox/MultiCombobox.vue.d.ts.map +1 -1
- package/dist/types/components/multi-combobox/composables/useMultiCombobox.d.ts +27 -0
- package/dist/types/components/multi-combobox/composables/useMultiCombobox.d.ts.map +1 -0
- package/dist/types/components/multi-select/MultiSelect.vue.d.ts +39 -41
- package/dist/types/components/multi-select/MultiSelect.vue.d.ts.map +1 -1
- package/dist/types/components/number-input/NumberInput.vue.d.ts +3 -3
- package/dist/types/components/number-input/NumberInput.vue.d.ts.map +1 -1
- package/dist/types/components/number-input/number-input.variants.d.ts +10 -1
- package/dist/types/components/number-input/number-input.variants.d.ts.map +1 -1
- package/dist/types/components/password-input/PasswordInput.vue.d.ts +3 -3
- package/dist/types/components/password-input/PasswordInput.vue.d.ts.map +1 -1
- package/dist/types/components/radio-group/RadioGroup.vue.d.ts +32 -27
- package/dist/types/components/radio-group/RadioGroup.vue.d.ts.map +1 -1
- package/dist/types/components/scroll-area/scroll-restore.d.ts +0 -1
- package/dist/types/components/scroll-area/scroll-restore.d.ts.map +1 -1
- package/dist/types/components/search-input/SearchInput.vue.d.ts +3 -3
- package/dist/types/components/search-input/SearchInput.vue.d.ts.map +1 -1
- package/dist/types/components/segmented-control/SegmentedControl.vue.d.ts +30 -30
- package/dist/types/components/segmented-control/SegmentedControl.vue.d.ts.map +1 -1
- package/dist/types/components/select/Select.vue.d.ts +41 -37
- package/dist/types/components/select/Select.vue.d.ts.map +1 -1
- package/dist/types/components/select/SelectList.vue.d.ts +22 -15
- package/dist/types/components/select/SelectList.vue.d.ts.map +1 -1
- package/dist/types/components/select/composables/useClearTransition.d.ts +10 -0
- package/dist/types/components/select/composables/useClearTransition.d.ts.map +1 -0
- package/dist/types/components/select/select.variants.d.ts +16 -0
- package/dist/types/components/select/select.variants.d.ts.map +1 -1
- package/dist/types/components/select/types.d.ts +7 -7
- package/dist/types/components/select/types.d.ts.map +1 -1
- package/dist/types/components/switch/Switch.vue.d.ts +3 -0
- package/dist/types/components/switch/Switch.vue.d.ts.map +1 -1
- package/dist/types/components/tags-input/TagsInput.vue.d.ts.map +1 -1
- package/dist/types/components/textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/types/components/textarea/composables/useTextareaSizing.d.ts +27 -0
- package/dist/types/components/textarea/composables/useTextareaSizing.d.ts.map +1 -0
- package/dist/types/components/textarea/textarea.variants.d.ts +9 -6
- package/dist/types/components/textarea/textarea.variants.d.ts.map +1 -1
- package/dist/types/components/tree-select/TreeSelect.vue.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/caret.d.ts +0 -4
- package/dist/types/lib/caret.d.ts.map +1 -1
- package/dist/types/lib/collapse.d.ts +2 -0
- package/dist/types/lib/collapse.d.ts.map +1 -1
- package/dist/types/lib/field-focus.d.ts +0 -4
- package/dist/types/lib/field-focus.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/accordion/AccordionContent.vue +2 -11
- package/src/components/avatar/AvatarGroup.vue +3 -8
- package/src/components/avatar/utils/children.ts +7 -0
- package/src/components/checkbox/Checkbox.vue +25 -4
- package/src/components/checkbox/checkbox.variants.ts +34 -3
- package/src/components/checkbox-group/CheckboxGroup.vue +14 -5
- package/src/components/checkbox-group/checkbox-group.variants.ts +9 -0
- package/src/components/collapsible/CollapsibleContent.vue +2 -11
- package/src/components/combobox/Combobox.vue +4 -3
- package/src/components/combobox/ComboboxList.vue +3 -3
- package/src/components/date-picker/DatePicker.vue +1 -0
- package/src/components/date-range-picker/DateRangePicker.vue +1 -0
- package/src/components/date-time-picker/DateTimePicker.vue +1 -0
- package/src/components/dialog/Dialog.vue +70 -39
- package/src/components/dialog/dialog.variants.ts +9 -3
- package/src/components/form-field/FormField.vue +82 -37
- package/src/components/form-field/form-field.variants.ts +39 -0
- package/src/components/form-field/types.ts +5 -0
- package/src/components/form-layout/FormLayout.vue +13 -7
- package/src/components/form-layout/context.ts +19 -0
- package/src/components/image/ImageGroup.vue +2 -30
- package/src/components/image/composables/useImageGroupState.ts +35 -0
- package/src/components/input/Input.vue +3 -3
- package/src/components/input/InputBase.vue +6 -5
- package/src/components/input/input.variants.ts +19 -5
- package/src/components/input-group/InputGroup.vue +16 -5
- package/src/components/input-group/context.ts +2 -1
- package/src/components/input-group/input-group.variants.ts +8 -1
- package/src/components/listbox/Listbox.vue +26 -29
- package/src/components/listbox/ListboxOptionContent.vue +28 -0
- package/src/components/listbox/listbox.variants.ts +6 -1
- package/src/components/multi-combobox/MultiCombobox.vue +15 -52
- package/src/components/multi-combobox/composables/useMultiCombobox.ts +63 -0
- package/src/components/multi-select/MultiSelect.vue +4 -4
- package/src/components/number-input/NumberInput.vue +9 -7
- package/src/components/number-input/number-input.variants.ts +5 -1
- package/src/components/password-input/PasswordInput.vue +3 -3
- package/src/components/radio-group/RadioGroup.vue +29 -8
- package/src/components/scroll-area/scroll-restore.ts +0 -5
- package/src/components/search-input/SearchInput.vue +3 -3
- package/src/components/segmented-control/SegmentedControl.vue +3 -3
- package/src/components/select/Select.vue +69 -25
- package/src/components/select/SelectList.vue +3 -3
- package/src/components/select/composables/useClearTransition.ts +25 -0
- package/src/components/select/select.variants.ts +24 -0
- package/src/components/select/types.ts +10 -8
- package/src/components/switch/Switch.vue +26 -4
- package/src/components/tags-input/TagsInput.vue +1 -0
- package/src/components/textarea/Textarea.vue +3 -41
- package/src/components/textarea/composables/useTextareaSizing.ts +54 -0
- package/src/components/textarea/textarea.variants.ts +6 -5
- package/src/components/tree-select/TreeSelect.vue +1 -0
- package/src/index.ts +1 -0
- package/src/lib/caret.ts +0 -4
- package/src/lib/collapse.ts +21 -1
- package/src/lib/field-focus.ts +0 -4
- package/src/styles/interaction.css +6 -4
|
@@ -3,18 +3,36 @@ export declare const listbox: import("tailwind-variants").TVReturnType<{
|
|
|
3
3
|
variant: {
|
|
4
4
|
primary: "border-line bg-surface border shadow-sm";
|
|
5
5
|
secondary: "bg-inset";
|
|
6
|
+
bare: "rounded-none border-0 bg-transparent shadow-none";
|
|
6
7
|
};
|
|
7
8
|
}, undefined, string[], {
|
|
8
9
|
variant: {
|
|
9
10
|
primary: "border-line bg-surface border shadow-sm";
|
|
10
11
|
secondary: "bg-inset";
|
|
12
|
+
bare: "rounded-none border-0 bg-transparent shadow-none";
|
|
11
13
|
};
|
|
12
14
|
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
13
15
|
variant: {
|
|
14
16
|
primary: "border-line bg-surface border shadow-sm";
|
|
15
17
|
secondary: "bg-inset";
|
|
18
|
+
bare: "rounded-none border-0 bg-transparent shadow-none";
|
|
19
|
+
};
|
|
20
|
+
}, undefined>>;
|
|
21
|
+
export declare const listboxContent: import("tailwind-variants").TVReturnType<{
|
|
22
|
+
padded: {
|
|
23
|
+
true: "p-1";
|
|
24
|
+
false: "p-0";
|
|
25
|
+
};
|
|
26
|
+
}, undefined, "flex flex-col outline-none", {
|
|
27
|
+
padded: {
|
|
28
|
+
true: "p-1";
|
|
29
|
+
false: "p-0";
|
|
30
|
+
};
|
|
31
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
32
|
+
padded: {
|
|
33
|
+
true: "p-1";
|
|
34
|
+
false: "p-0";
|
|
16
35
|
};
|
|
17
36
|
}, undefined>>;
|
|
18
|
-
export declare const listboxContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "flex flex-col p-1 outline-none", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
19
37
|
export type ListboxVariants = VariantProps<typeof listbox>;
|
|
20
38
|
//# sourceMappingURL=listbox.variants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listbox.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/listbox/listbox.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"listbox.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/listbox/listbox.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAEpD,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;cAelB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;cAMzB,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAA"}
|
|
@@ -1,48 +1,46 @@
|
|
|
1
1
|
import { type InputVariants } from '../input/input.variants';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
import type { SelectItems, SelectOption } from '../select/types';
|
|
3
|
+
declare const __VLS_export: <T extends SelectOption = SelectOption>(__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<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
5
|
+
options: SelectItems<T>;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
ignoreFilter?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
clearable?: boolean;
|
|
10
|
+
name?: string;
|
|
11
|
+
variant?: InputVariants["variant"];
|
|
12
|
+
size?: InputVariants["size"];
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
invalid?: boolean;
|
|
15
|
+
class?: string;
|
|
16
|
+
} & {
|
|
17
|
+
modelValue?: Array<string | number>;
|
|
18
|
+
search?: string;
|
|
19
|
+
open?: boolean;
|
|
20
|
+
}) & {
|
|
21
|
+
onClear?: (() => any) | undefined;
|
|
22
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
24
|
+
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
25
|
+
}> & (typeof globalThis extends {
|
|
26
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
27
|
+
} ? P : {});
|
|
28
|
+
expose: (exposed: {}) => void;
|
|
29
|
+
attrs: any;
|
|
30
|
+
slots: {
|
|
31
|
+
option?(props: {
|
|
32
|
+
option: T;
|
|
33
|
+
}): unknown;
|
|
34
|
+
};
|
|
35
|
+
emit: ((evt: "clear") => void) & (((event: "update:open", value: boolean) => void) & ((event: "update:modelValue", value: (string | number)[]) => void) & ((event: "update:search", value: string) => void));
|
|
36
|
+
}>) => import("vue").VNode & {
|
|
37
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
38
|
};
|
|
26
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
27
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
clear: () => any;
|
|
29
|
-
"update:open": (value: boolean) => any;
|
|
30
|
-
"update:modelValue": (value: (string | number)[]) => any;
|
|
31
|
-
"update:search": (value: string) => any;
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
33
|
-
onClear?: (() => any) | undefined;
|
|
34
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
35
|
-
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
36
|
-
"onUpdate:search"?: ((value: string) => any) | undefined;
|
|
37
|
-
}>, {
|
|
38
|
-
clearable: boolean;
|
|
39
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
39
|
declare const _default: typeof __VLS_export;
|
|
42
40
|
export default _default;
|
|
43
|
-
type
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
};
|
|
41
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} : {
|
|
44
|
+
[K in keyof T as K]: T[K];
|
|
45
|
+
}) & {};
|
|
48
46
|
//# sourceMappingURL=MultiCombobox.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiCombobox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-combobox/MultiCombobox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MultiCombobox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-combobox/MultiCombobox.vue"],"names":[],"mappings":"AAyLE,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAUhE,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,YAAY,GAAG,YAAY,EAC7D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAgZO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;iBA5YzC,WAAW,CAAC,CAAC,CAAC;sBACT,MAAM;uBACL,OAAO;kBACZ,OAAO;oBACL,OAAO;eACZ,MAAM;kBACH,aAAa,CAAC,SAAS,CAAC;eAC3B,aAAa,CAAC,MAAM,CAAC;mBACjB,OAAO;kBACR,OAAO;gBACT,MAAM;;qBA8CP,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;iBACxB,MAAM;eACR,OAAO;;;;;;KAkV2E,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;uBAvX2B;YAAE,MAAM,EAAE,CAAC,CAAA;SAAE,GAAG,OAAO;;UAyXtD,sMAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { type SelectItems, type SelectOption } from '../../select/types';
|
|
3
|
+
interface MultiComboboxOptions<T extends SelectOption> {
|
|
4
|
+
options: () => SelectItems<T>;
|
|
5
|
+
model: Ref<Array<string | number>>;
|
|
6
|
+
open: Ref<boolean>;
|
|
7
|
+
disabled: () => boolean;
|
|
8
|
+
onClear: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function useMultiCombobox<T extends SelectOption>(options: MultiComboboxOptions<T>): {
|
|
11
|
+
selected: import("vue").ComputedRef<{
|
|
12
|
+
value: string | number;
|
|
13
|
+
label: string;
|
|
14
|
+
}[]>;
|
|
15
|
+
keyboard: Ref<boolean, boolean>;
|
|
16
|
+
input: import("vue").ShallowRef<{
|
|
17
|
+
$el: HTMLInputElement;
|
|
18
|
+
} | null, {
|
|
19
|
+
$el: HTMLInputElement;
|
|
20
|
+
} | null>;
|
|
21
|
+
remove: (value: string | number) => void;
|
|
22
|
+
clear: () => void;
|
|
23
|
+
onHostClick: (event: MouseEvent) => void;
|
|
24
|
+
onInputKeydown: (event: KeyboardEvent) => void;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=useMultiCombobox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMultiCombobox.d.ts","sourceRoot":"","sources":["../../../../../src/components/multi-combobox/composables/useMultiCombobox.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8C,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAE1E,OAAO,EAAkB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAExF,UAAU,oBAAoB,CAAC,CAAC,SAAS,YAAY;IACnD,OAAO,EAAE,MAAM,WAAW,CAAC,CAAC,CAAC,CAAA;IAC7B,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAA;IAClC,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IAClB,QAAQ,EAAE,MAAM,OAAO,CAAA;IACvB,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,YAAY,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC;;;;;;;aAGvD,gBAAgB;;aAAhB,gBAAgB;;oBAkBzB,MAAM,GAAG,MAAM;;yBAYV,UAAU;4BAKP,aAAa;EAY7C"}
|
|
@@ -1,47 +1,45 @@
|
|
|
1
1
|
import { type InputVariants } from '../input/input.variants';
|
|
2
2
|
import { type SelectItems, type SelectOption } from '../select/types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
3
|
+
declare const __VLS_export: <T extends SelectOption = SelectOption>(__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<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
5
|
+
options: SelectItems<T>;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
autocomplete?: string;
|
|
10
|
+
maxVisible?: number;
|
|
11
|
+
clearable?: boolean;
|
|
12
|
+
variant?: InputVariants["variant"];
|
|
13
|
+
size?: InputVariants["size"];
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
class?: string;
|
|
17
|
+
} & {
|
|
18
|
+
modelValue?: Array<string | number>;
|
|
19
|
+
open?: boolean;
|
|
20
|
+
}) & {
|
|
21
|
+
onClear?: (() => any) | undefined;
|
|
22
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
24
|
+
}> & (typeof globalThis extends {
|
|
25
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
26
|
+
} ? P : {});
|
|
27
|
+
expose: (exposed: {}) => void;
|
|
28
|
+
attrs: any;
|
|
29
|
+
slots: {
|
|
30
|
+
option?(props: {
|
|
31
|
+
option: T;
|
|
32
|
+
}): unknown;
|
|
33
|
+
};
|
|
34
|
+
emit: ((evt: "clear") => void) & (((event: "update:open", value: boolean) => void) & ((event: "update:modelValue", value: (string | number)[]) => void));
|
|
35
|
+
}>) => import("vue").VNode & {
|
|
36
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
37
|
};
|
|
26
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
27
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
clear: () => any;
|
|
29
|
-
"update:open": (value: boolean) => any;
|
|
30
|
-
"update:modelValue": (value: (string | number)[]) => any;
|
|
31
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
32
|
-
onClear?: (() => any) | undefined;
|
|
33
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
34
|
-
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
35
|
-
}>, {
|
|
36
|
-
clearable: boolean;
|
|
37
|
-
maxVisible: number;
|
|
38
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
40
38
|
declare const _default: typeof __VLS_export;
|
|
41
39
|
export default _default;
|
|
42
|
-
type
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
};
|
|
40
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} : {
|
|
43
|
+
[K in keyof T as K]: T[K];
|
|
44
|
+
}) & {};
|
|
47
45
|
//# sourceMappingURL=MultiSelect.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-select/MultiSelect.vue"],"names":[],"mappings":"AAyME,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAkB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"MultiSelect.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/multi-select/MultiSelect.vue"],"names":[],"mappings":"AAyME,OAAO,EAKL,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAkB,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAGrF,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,YAAY,GAAG,YAAY,EAC7D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA0bO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;iBAtbzC,WAAW,CAAC,CAAC,CAAC;sBACT,MAAM;eACb,MAAM;mBACF,OAAO;uBACH,MAAM;qBACR,MAAM;oBACP,OAAO;kBACT,aAAa,CAAC,SAAS,CAAC;eAC3B,aAAa,CAAC,MAAM,CAAC;mBACjB,OAAO;kBACR,OAAO;gBACT,MAAM;;qBA2DP,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;eAC1B,OAAO;;;;;KA+W2E,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;uBAja2B;YAAE,MAAM,EAAE,CAAC,CAAA;SAAE,GAAG,OAAO;;UAmatD,kJAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type TextInputVariants } from '../input/input.variants';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
modelValue?: number | null;
|
|
4
4
|
defaultValue?: number;
|
|
@@ -9,8 +9,8 @@ type __VLS_Props = {
|
|
|
9
9
|
formatOptions?: Intl.NumberFormatOptions;
|
|
10
10
|
locale?: string;
|
|
11
11
|
controls?: boolean;
|
|
12
|
-
variant?:
|
|
13
|
-
size?:
|
|
12
|
+
variant?: TextInputVariants['variant'];
|
|
13
|
+
size?: TextInputVariants['size'];
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
readonly?: boolean;
|
|
16
16
|
invalid?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/number-input/NumberInput.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NumberInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/number-input/NumberInput.vue"],"names":[],"mappings":"AAgIE,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,yBAAyB,CAAA;AAKhC,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,aAAa,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAA;IACxC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAA;IACtC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AA2LN,QAAA,MAAM,YAAY;;;;;cAlMD,OAAO;UAJX,MAAM;kBACE,OAAO;6EAyM1B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
export declare const numberInputStepper: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
divided: {
|
|
3
|
+
true: "border-line border-s";
|
|
4
|
+
};
|
|
2
5
|
size: {
|
|
3
6
|
sm: "[&_svg]:size-3";
|
|
4
7
|
md: "[&_svg]:size-3";
|
|
5
8
|
lg: "[&_svg]:size-3.5";
|
|
6
9
|
};
|
|
7
|
-
}, undefined, "
|
|
10
|
+
}, undefined, "flex shrink-0 flex-col", {
|
|
11
|
+
divided: {
|
|
12
|
+
true: "border-line border-s";
|
|
13
|
+
};
|
|
8
14
|
size: {
|
|
9
15
|
sm: "[&_svg]:size-3";
|
|
10
16
|
md: "[&_svg]:size-3";
|
|
11
17
|
lg: "[&_svg]:size-3.5";
|
|
12
18
|
};
|
|
13
19
|
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
20
|
+
divided: {
|
|
21
|
+
true: "border-line border-s";
|
|
22
|
+
};
|
|
14
23
|
size: {
|
|
15
24
|
sm: "[&_svg]:size-3";
|
|
16
25
|
md: "[&_svg]:size-3";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-input.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/number-input/number-input.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"number-input.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/number-input/number-input.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB7B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;cAW1B,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TextInputVariants } from '../input/input.variants';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
variant?:
|
|
4
|
-
size?:
|
|
3
|
+
variant?: TextInputVariants['variant'];
|
|
4
|
+
size?: TextInputVariants['size'];
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
invalid?: boolean;
|
|
7
7
|
class?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/password-input/PasswordInput.vue"],"names":[],"mappings":"AAgEE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"PasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/password-input/PasswordInput.vue"],"names":[],"mappings":"AAgEE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAIhE,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAA;IACtC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAYJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAqIxD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,34 +1,39 @@
|
|
|
1
1
|
import { type CheckboxVariants } from '../checkbox/checkbox.variants';
|
|
2
2
|
import { type CheckboxGroupVariants } from '../checkbox-group/checkbox-group.variants';
|
|
3
3
|
import type { SelectOption } from '../select/types';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
4
|
+
declare const __VLS_export: <T extends SelectOption = SelectOption>(__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<{
|
|
5
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
6
|
+
options: T[];
|
|
7
|
+
orientation?: CheckboxGroupVariants["orientation"];
|
|
8
|
+
size?: CheckboxVariants["size"];
|
|
9
|
+
controlPlacement?: CheckboxVariants["controlPlacement"];
|
|
10
|
+
block?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
invalid?: boolean;
|
|
13
|
+
class?: string;
|
|
14
|
+
} & {
|
|
15
|
+
modelValue?: string | number | null;
|
|
16
|
+
}) & {
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
18
|
+
}> & (typeof globalThis extends {
|
|
19
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
20
|
+
} ? P : {});
|
|
21
|
+
expose: (exposed: {}) => void;
|
|
22
|
+
attrs: any;
|
|
23
|
+
slots: {
|
|
24
|
+
option?(props: {
|
|
25
|
+
option: T;
|
|
26
|
+
}): unknown;
|
|
27
|
+
};
|
|
28
|
+
emit: (event: "update:modelValue", value: string | number | null | undefined) => void;
|
|
29
|
+
}>) => import("vue").VNode & {
|
|
30
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
19
31
|
};
|
|
20
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
21
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
-
"update:modelValue": (value: string | number | null | undefined) => any;
|
|
23
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
-
"onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
32
|
declare const _default: typeof __VLS_export;
|
|
28
33
|
export default _default;
|
|
29
|
-
type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
35
|
+
[K in keyof T]: T[K];
|
|
36
|
+
} : {
|
|
37
|
+
[K in keyof T as K]: T[K];
|
|
38
|
+
}) & {};
|
|
34
39
|
//# sourceMappingURL=RadioGroup.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/radio-group/RadioGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/radio-group/RadioGroup.vue"],"names":[],"mappings":"AAiHE,OAAO,EAOL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,2CAA2C,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAGnD,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,YAAY,GAAG,YAAY,EAC7D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAoMO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;iBAhM3C,CAAC,EAAE;sBACE,qBAAqB,CAAC,aAAa,CAAC;eAC3C,gBAAgB,CAAC,MAAM,CAAC;2BACZ,gBAAgB,CAAC,kBAAkB,CAAC;gBAC/C,OAAO;mBACJ,OAAO;kBACR,OAAO;gBACT,MAAM;;qBAgBL,MAAM,GAAG,MAAM,GAAG,IAAI;;;KAyKwD,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;uBAhL2B;YAAE,MAAM,EAAE,CAAC,CAAA;SAAE,GAAG,OAAO;;;EAoLzD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -10,7 +10,6 @@ export declare function firstPaintRestoreScript(): string;
|
|
|
10
10
|
export type ScrollRecord = Record<string, number>;
|
|
11
11
|
export interface ScrollRestorerPorts {
|
|
12
12
|
getViewport: () => HTMLElement | null;
|
|
13
|
-
/** Where the first-paint script left the scroller, read once and cleared. */
|
|
14
13
|
takeFirstPaintTop: () => number | undefined;
|
|
15
14
|
readState: () => unknown;
|
|
16
15
|
writeState: (state: Record<string, unknown>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-restore.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/scroll-restore.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,aAAa,CAAA;AAC5C,eAAO,MAAM,mBAAmB,OAAO,CAAA;AACvC,eAAO,MAAM,gBAAgB,MAAM,CAAA;AACnC,eAAO,MAAM,mBAAmB,wBAAwB,CAAA;AACxD,eAAO,MAAM,gBAAgB,qBAAqB,CAAA;AAClD,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAC9C,eAAO,MAAM,mBAAmB,IAAI,CAAA;AAEpC,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,WAIhD;AAED,wBAAgB,uBAAuB,WAmBtC;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAEjD,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,WAAW,GAAG,IAAI,CAAA;IACrC,
|
|
1
|
+
{"version":3,"file":"scroll-restore.d.ts","sourceRoot":"","sources":["../../../../src/components/scroll-area/scroll-restore.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,aAAa,CAAA;AAC5C,eAAO,MAAM,mBAAmB,OAAO,CAAA;AACvC,eAAO,MAAM,gBAAgB,MAAM,CAAA;AACnC,eAAO,MAAM,mBAAmB,wBAAwB,CAAA;AACxD,eAAO,MAAM,gBAAgB,qBAAqB,CAAA;AAClD,eAAO,MAAM,cAAc,mBAAmB,CAAA;AAC9C,eAAO,MAAM,mBAAmB,IAAI,CAAA;AAEpC,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,WAIhD;AAED,wBAAgB,uBAAuB,WAmBtC;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAEjD,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,WAAW,GAAG,IAAI,CAAA;IACrC,iBAAiB,EAAE,MAAM,MAAM,GAAG,SAAS,CAAA;IAC3C,SAAS,EAAE,MAAM,OAAO,CAAA;IACxB,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAA;IACpD,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,EAAE,EAAE,EAAE,MAAM,KAAK,MAAM,IAAI,CAAA;CACrD;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;IACpC,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,IAAI,EAAE,MAAM,IAAI,CAAA;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,SAAS,EAAE,MAAM,OAAO,CAAA;CACzB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,YAAY,CAK7D;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;;;;EAMzE;AAOD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,mBAAmB,GAAG,cAAc,CAwE5F"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TextInputVariants } from '../input/input.variants';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
variant?:
|
|
4
|
-
size?:
|
|
3
|
+
variant?: TextInputVariants['variant'];
|
|
4
|
+
size?: TextInputVariants['size'];
|
|
5
5
|
clearable?: boolean;
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/search-input/SearchInput.vue"],"names":[],"mappings":"AA+DE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"SearchInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/search-input/SearchInput.vue"],"names":[],"mappings":"AA+DE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAIhE,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAA;IACtC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAqBN,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA2GxD,QAAA,MAAM,YAAY;;;;;;;;;eA5IA,OAAO;6EAgJvB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import type { SelectOption } from '../select/types';
|
|
2
2
|
import { type SegmentedControlVariants, type SegmentedItemVariants } from './segmented-control.variants';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
3
|
+
declare const __VLS_export: <T extends SelectOption = SelectOption>(__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<{
|
|
4
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
5
|
+
options: T[];
|
|
6
|
+
size?: SegmentedItemVariants["size"];
|
|
7
|
+
orientation?: SegmentedControlVariants["orientation"];
|
|
8
|
+
block?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
class?: string;
|
|
11
|
+
} & {
|
|
12
|
+
modelValue?: string | number;
|
|
13
|
+
}) & {
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
15
|
+
}> & (typeof globalThis extends {
|
|
16
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
17
|
+
} ? P : {});
|
|
18
|
+
expose: (exposed: {}) => void;
|
|
19
|
+
attrs: any;
|
|
20
|
+
slots: {
|
|
21
|
+
option?(props: {
|
|
22
|
+
option: T;
|
|
23
|
+
}): unknown;
|
|
24
|
+
};
|
|
25
|
+
emit: (event: "update:modelValue", value: string | number | undefined) => void;
|
|
26
|
+
}>) => import("vue").VNode & {
|
|
27
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
18
28
|
};
|
|
19
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
20
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (value: string | number | undefined) => any;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
24
|
-
}>, {
|
|
25
|
-
block: boolean;
|
|
26
|
-
orientation: "horizontal" | "vertical";
|
|
27
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
30
30
|
export default _default;
|
|
31
|
-
type
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
};
|
|
31
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} : {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
}) & {};
|
|
36
36
|
//# sourceMappingURL=SegmentedControl.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/segmented-control/SegmentedControl.vue"],"names":[],"mappings":"AAwFE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAIL,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC3B,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"SegmentedControl.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/segmented-control/SegmentedControl.vue"],"names":[],"mappings":"AAwFE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAIL,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC3B,MAAM,8BAA8B,CAAA;AAErC,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,YAAY,GAAG,YAAY,EAC7D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA2KO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;iBAvKzC,CAAC,EAAE;eACL,qBAAqB,CAAC,MAAM,CAAC;sBACtB,wBAAwB,CAAC,aAAa,CAAC;gBAC7C,OAAO;mBACJ,OAAO;gBACV,MAAM;;qBA6BP,MAAM,GAAG,MAAM;;;KAqI+D,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;uBA3J2B;YAAE,MAAM,EAAE,CAAC,CAAA;SAAE,GAAG,OAAO;;;EA+JzD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|