@solfacil/girassol 0.18.0 → 0.19.1
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/girassol.es.js +4330 -4256
- package/dist/girassol.umd.js +6 -6
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -0
- package/dist/types/components/accordion/Accordion.vue.d.ts +19 -76
- package/dist/types/components/alert/Alert.vue.d.ts +51 -0
- package/dist/types/components/{informations/alert → alert}/index.d.ts +0 -0
- package/dist/types/components/buttons/button/Button.vue.d.ts +53 -0
- package/dist/types/components/buttons/button-destructive/ButtonDestructive.vue.d.ts +39 -0
- package/dist/types/components/{forms/button → buttons}/index.d.ts +0 -0
- package/dist/types/components/chips/removable-chip/RemovableChip.vue.d.ts +49 -0
- package/dist/types/components/{filters/chip → chips}/removable-chip/index.d.ts +0 -0
- package/dist/types/components/{filters/chip → chips}/removable-chip/types.d.ts +0 -0
- package/dist/types/components/chips/selectable-chip/SelectableChip.vue.d.ts +51 -0
- package/dist/types/components/{filters/chip → chips}/selectable-chip/index.d.ts +0 -0
- package/dist/types/components/{filters/chip → chips}/selectable-chip/types.d.ts +0 -0
- package/dist/types/components/{filters/chip → chips}/types.d.ts +0 -0
- package/dist/types/components/collapsible/Collapsible.vue.d.ts +25 -90
- package/dist/types/components/empty-state/EmptyState.vue.d.ts +17 -74
- package/dist/types/components/file-upload/FileUpload.vue.d.ts +2 -2
- package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +37 -131
- package/dist/types/components/forms/inputs/input-text/InputText.vue.d.ts +36 -135
- package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +3 -3
- package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +37 -131
- package/dist/types/components/forms/select/ListOption.vue.d.ts +18 -81
- package/dist/types/components/forms/select/Select.vue.d.ts +67 -218
- package/dist/types/components/forms/switch/Switch.vue.d.ts +2 -2
- package/dist/types/components/list/List.vue.d.ts +63 -174
- package/dist/types/components/list/ListItem.vue.d.ts +61 -132
- package/dist/types/components/list/ListItemTextValue.vue.d.ts +21 -82
- package/dist/types/components/menus/menu/Menu.vue.d.ts +35 -94
- package/dist/types/components/menus/menu-item/menu-item/MenuItem.vue.d.ts +13 -64
- package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +24 -85
- package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +22 -69
- package/dist/types/components/modals/modal/Modal.vue.d.ts +44 -164
- package/dist/types/components/modals/onboarding/Onboarding.vue.d.ts +1 -1
- package/dist/types/components/search/Search.vue.d.ts +2 -2
- package/dist/types/components/tabs/TabItem.vue.d.ts +19 -70
- package/dist/types/components/tag/Tag.vue.d.ts +50 -0
- package/dist/types/components/{informations/tag → tag}/index.d.ts +0 -0
- package/dist/types/components/text-value/TextValue.vue.d.ts +45 -0
- package/dist/types/components/{informations/text-value → text-value}/index.d.ts +0 -0
- package/dist/types/components/{informations/text-value → text-value}/types.d.ts +0 -0
- package/dist/types/composables/use-toast/Toast.vue.d.ts +36 -133
- package/dist/types/index.d.ts +406 -406
- package/package.json +24 -23
- package/theme/safelist.ts +157 -21
- package/vite.config.ts +3 -1
- package/windi.config.ts +1 -1
- package/dist/cli/src/cli.d.ts +0 -1
- package/dist/cli/src/commands/create:component.d.ts +0 -1
- package/dist/cli/src/commands/generate:plugin.d.ts +0 -1
- package/dist/cli/src/commands/generate:types.d.ts +0 -7
- package/dist/cli/src/commands/girassol-cli.d.ts +0 -1
- package/dist/cli/src/extensions/cli-extension.d.ts +0 -1
- package/dist/cli/src/types.d.ts +0 -0
- package/dist/theme/solfacil/borders.d.ts +0 -18
- package/dist/theme/solfacil/colors.d.ts +0 -63
- package/dist/theme/solfacil/effects.d.ts +0 -17
- package/dist/theme/solfacil/index.d.ts +0 -18
- package/dist/theme/solfacil/miscs.d.ts +0 -144
- package/dist/theme/solfacil/screens.d.ts +0 -29
- package/dist/theme/solfacil/spacing.d.ts +0 -64
- package/dist/theme/solfacil/typography.d.ts +0 -41
- package/dist/theme/solfacil/utilities.d.ts +0 -8
- package/dist/types/components/accordion/accordion.spec.d.ts +0 -1
- package/dist/types/components/breadcrumb/breadcrumb.spec.d.ts +0 -1
- package/dist/types/components/collapsible/collapsible.spec.d.ts +0 -1
- package/dist/types/components/date-picker/datepicker.spec.d.ts +0 -1
- package/dist/types/components/empty-state/empty-state.spec.d.ts +0 -1
- package/dist/types/components/file-upload/file-upload.spec.d.ts +0 -1
- package/dist/types/components/filters/chip/removable-chip/RemovableChip.vue.d.ts +0 -120
- package/dist/types/components/filters/chip/removable-chip/removable-chip.spec.d.ts +0 -1
- package/dist/types/components/filters/chip/selectable-chip/SelectableChip.vue.d.ts +0 -125
- package/dist/types/components/filters/chip/selectable-chip/selectable-chip.spec.d.ts +0 -1
- package/dist/types/components/forms/button/button/Button.vue.d.ts +0 -122
- package/dist/types/components/forms/button/button/button.spec.d.ts +0 -1
- package/dist/types/components/forms/button/button-destructive/ButtonDestructive.vue.d.ts +0 -96
- package/dist/types/components/forms/checkbox/checkbox/checkbox.spec.d.ts +0 -1
- package/dist/types/components/forms/checkbox/checkbox-group/checkbox-group.spec.d.ts +0 -1
- package/dist/types/components/forms/inputs/input-core/input.spec.d.ts +0 -1
- package/dist/types/components/forms/inputs/input-password/input-password.spec.d.ts +0 -1
- package/dist/types/components/forms/inputs/input-text/input-text.spec.d.ts +0 -1
- package/dist/types/components/forms/inputs/input-textarea/textarea.spec.d.ts +0 -1
- package/dist/types/components/forms/radio/radio/radio.spec.d.ts +0 -1
- package/dist/types/components/forms/radio/radio-group/radio-group.spec.d.ts +0 -1
- package/dist/types/components/forms/select/select.spec.d.ts +0 -1
- package/dist/types/components/forms/switch/switch.spec.d.ts +0 -1
- package/dist/types/components/informations/alert/Alert.vue.d.ts +0 -126
- package/dist/types/components/informations/alert/alert.spec.d.ts +0 -1
- package/dist/types/components/informations/tag/Tag.vue.d.ts +0 -121
- package/dist/types/components/informations/tag/tag.spec.d.ts +0 -1
- package/dist/types/components/informations/text-value/TextValue.vue.d.ts +0 -104
- package/dist/types/components/informations/text-value/text-value.spec.d.ts +0 -1
- package/dist/types/components/list/list.spec.d.ts +0 -1
- package/dist/types/components/menus/menu/menu.spec.d.ts +0 -1
- package/dist/types/components/modals/modal/modal.spec.d.ts +0 -1
- package/dist/types/components/modals/onboarding/onboading.spec.d.ts +0 -1
- package/dist/types/components/pagination/pagination.spec.d.ts +0 -1
- package/dist/types/components/search/search.spec.d.ts +0 -1
- package/dist/types/components/steps/steps.spec.d.ts +0 -1
- package/dist/types/components/tabs/tabs.spec.d.ts +0 -1
- package/dist/types/composables/use-filters/use-filters.spec.d.ts +0 -1
- package/dist/types/composables/use-toast/use-toast.spec.d.ts +0 -1
- package/dist/vite-modules/generate-component-types.d.ts +0 -3
- package/dist/vite.config.d.ts +0 -2
- package/dist/windi.config.d.ts +0 -2
|
@@ -1,93 +1,25 @@
|
|
|
1
1
|
import type { Option } from './types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
options: Option[];
|
|
10
|
-
multiple?: boolean | undefined;
|
|
11
|
-
isSelected: (option: Option) => boolean;
|
|
12
|
-
}>>> & {
|
|
13
|
-
onSelect?: ((option: Option) => any) | undefined;
|
|
14
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
15
|
-
$attrs: {
|
|
16
|
-
[x: string]: unknown;
|
|
17
|
-
};
|
|
18
|
-
$refs: {
|
|
19
|
-
[x: string]: unknown;
|
|
20
|
-
};
|
|
21
|
-
$slots: Readonly<{
|
|
22
|
-
[name: string]: import("vue").Slot | undefined;
|
|
23
|
-
}>;
|
|
24
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
25
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
26
|
-
$emit: (event: "select", option: Option) => void;
|
|
27
|
-
$el: any;
|
|
28
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
29
|
-
id: string;
|
|
30
|
-
name: string;
|
|
31
|
-
options: Option[];
|
|
32
|
-
multiple?: boolean | undefined;
|
|
33
|
-
isSelected: (option: Option) => boolean;
|
|
34
|
-
}>>> & {
|
|
35
|
-
onSelect?: ((option: Option) => any) | undefined;
|
|
36
|
-
}, {
|
|
37
|
-
list: import("vue").Ref<string>;
|
|
38
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
-
select: (option: Option) => void;
|
|
40
|
-
}, string, {}, {}, string> & {
|
|
41
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
54
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
55
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
56
|
-
};
|
|
57
|
-
$forceUpdate: () => void;
|
|
58
|
-
$nextTick: typeof import("vue").nextTick;
|
|
59
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
60
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
61
|
-
id: string;
|
|
62
|
-
name: string;
|
|
63
|
-
options: Option[];
|
|
64
|
-
multiple?: boolean | undefined;
|
|
65
|
-
isSelected: (option: Option) => boolean;
|
|
66
|
-
}>>> & {
|
|
67
|
-
onSelect?: ((option: Option) => any) | undefined;
|
|
68
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
69
|
-
list: import("vue").Ref<string>;
|
|
70
|
-
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
71
|
-
__isFragment?: undefined;
|
|
72
|
-
__isTeleport?: undefined;
|
|
73
|
-
__isSuspense?: undefined;
|
|
74
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
75
3
|
id: string;
|
|
76
4
|
name: string;
|
|
77
5
|
options: Option[];
|
|
78
6
|
multiple?: boolean | undefined;
|
|
79
7
|
isSelected: (option: Option) => boolean;
|
|
80
|
-
}
|
|
81
|
-
onSelect?: ((option: Option) => any) | undefined;
|
|
82
|
-
}, {
|
|
8
|
+
}>, {
|
|
83
9
|
list: import("vue").Ref<string>;
|
|
84
10
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
85
11
|
select: (option: Option) => void;
|
|
86
|
-
}, string,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
12
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
options: Option[];
|
|
16
|
+
multiple?: boolean | undefined;
|
|
17
|
+
isSelected: (option: Option) => boolean;
|
|
18
|
+
}>>> & {
|
|
19
|
+
onSelect?: ((option: Option) => any) | undefined;
|
|
20
|
+
}, {}>, {
|
|
21
|
+
'no-data': (_: {}) => any;
|
|
22
|
+
}>;
|
|
91
23
|
export default _default;
|
|
92
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
93
25
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -98,3 +30,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
98
30
|
required: true;
|
|
99
31
|
};
|
|
100
32
|
};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -1,194 +1,5 @@
|
|
|
1
1
|
import type { Option, Select } from './types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{
|
|
7
|
-
error: string | null;
|
|
8
|
-
size: import("./types").Size;
|
|
9
|
-
placeholder: string;
|
|
10
|
-
loading: boolean;
|
|
11
|
-
multiple: boolean;
|
|
12
|
-
options: Select['options'];
|
|
13
|
-
dropdownPosition: 'bottom' | 'top' | 'dynamic';
|
|
14
|
-
searchable: boolean;
|
|
15
|
-
closeOnSelect: boolean;
|
|
16
|
-
fetchOnSearch: boolean;
|
|
17
|
-
searchPlaceholder: string;
|
|
18
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
-
id: Select['id'];
|
|
20
|
-
label?: Select['label'];
|
|
21
|
-
ariaLabel?: Select['ariaLabel'];
|
|
22
|
-
name: Select['name'];
|
|
23
|
-
dropdownPosition?: "bottom" | "top" | "dynamic" | undefined;
|
|
24
|
-
selected?: Select['selected'];
|
|
25
|
-
options: Select['options'];
|
|
26
|
-
required?: Select['required'];
|
|
27
|
-
disabled?: Select['disabled'];
|
|
28
|
-
loading?: Select['loading'];
|
|
29
|
-
searchable?: Select['searchable'];
|
|
30
|
-
closeOnSelect?: Select['closeOnSelect'];
|
|
31
|
-
fetchOnSearch?: Select['fetchOnSearch'];
|
|
32
|
-
multiple?: Select['multiple'];
|
|
33
|
-
helperText?: string | undefined;
|
|
34
|
-
size?: Select['size'];
|
|
35
|
-
placeholder?: Select['placeholder'];
|
|
36
|
-
searchPlaceholder?: Select['searchPlaceholder'];
|
|
37
|
-
error?: string | null | undefined;
|
|
38
|
-
useField?: typeof import("vee-validate").useField | undefined;
|
|
39
|
-
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
40
|
-
opts?: Partial<import("vee-validate").FieldOptions<Option>> | undefined;
|
|
41
|
-
}>, {
|
|
42
|
-
dropdownPosition: string;
|
|
43
|
-
error: null;
|
|
44
|
-
size: string;
|
|
45
|
-
placeholder: string;
|
|
46
|
-
searchPlaceholder: string;
|
|
47
|
-
loading: boolean;
|
|
48
|
-
closeOnSelect: boolean;
|
|
49
|
-
fetchOnSearch: boolean;
|
|
50
|
-
searchable: boolean;
|
|
51
|
-
multiple: boolean;
|
|
52
|
-
options: () => never[];
|
|
53
|
-
}>>> & {
|
|
54
|
-
"onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
|
|
55
|
-
onSearch?: ((value: string) => any) | undefined;
|
|
56
|
-
onCloseDropdown?: (() => any) | undefined;
|
|
57
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "size" | "placeholder" | "loading" | "multiple" | "options" | "dropdownPosition" | "searchable" | "closeOnSelect" | "fetchOnSearch" | "searchPlaceholder">;
|
|
58
|
-
$attrs: {
|
|
59
|
-
[x: string]: unknown;
|
|
60
|
-
};
|
|
61
|
-
$refs: {
|
|
62
|
-
[x: string]: unknown;
|
|
63
|
-
};
|
|
64
|
-
$slots: Readonly<{
|
|
65
|
-
[name: string]: import("vue").Slot | undefined;
|
|
66
|
-
}>;
|
|
67
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
68
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
69
|
-
$emit: ((event: "search", value: string) => void) & ((event: "update:selected", value: Option | Option[] | undefined) => void) & ((event: "closeDropdown") => void);
|
|
70
|
-
$el: any;
|
|
71
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
72
|
-
id: Select['id'];
|
|
73
|
-
label?: Select['label'];
|
|
74
|
-
ariaLabel?: Select['ariaLabel'];
|
|
75
|
-
name: Select['name'];
|
|
76
|
-
dropdownPosition?: "bottom" | "top" | "dynamic" | undefined;
|
|
77
|
-
selected?: Select['selected'];
|
|
78
|
-
options: Select['options'];
|
|
79
|
-
required?: Select['required'];
|
|
80
|
-
disabled?: Select['disabled'];
|
|
81
|
-
loading?: Select['loading'];
|
|
82
|
-
searchable?: Select['searchable'];
|
|
83
|
-
closeOnSelect?: Select['closeOnSelect'];
|
|
84
|
-
fetchOnSearch?: Select['fetchOnSearch'];
|
|
85
|
-
multiple?: Select['multiple'];
|
|
86
|
-
helperText?: string | undefined;
|
|
87
|
-
size?: Select['size'];
|
|
88
|
-
placeholder?: Select['placeholder'];
|
|
89
|
-
searchPlaceholder?: Select['searchPlaceholder'];
|
|
90
|
-
error?: string | null | undefined;
|
|
91
|
-
useField?: typeof import("vee-validate").useField | undefined;
|
|
92
|
-
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
93
|
-
opts?: Partial<import("vee-validate").FieldOptions<Option>> | undefined;
|
|
94
|
-
}>, {
|
|
95
|
-
dropdownPosition: string;
|
|
96
|
-
error: null;
|
|
97
|
-
size: string;
|
|
98
|
-
placeholder: string;
|
|
99
|
-
searchPlaceholder: string;
|
|
100
|
-
loading: boolean;
|
|
101
|
-
closeOnSelect: boolean;
|
|
102
|
-
fetchOnSearch: boolean;
|
|
103
|
-
searchable: boolean;
|
|
104
|
-
multiple: boolean;
|
|
105
|
-
options: () => never[];
|
|
106
|
-
}>>> & {
|
|
107
|
-
"onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
|
|
108
|
-
onSearch?: ((value: string) => any) | undefined;
|
|
109
|
-
onCloseDropdown?: (() => any) | undefined;
|
|
110
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
111
|
-
closeDropdown: () => void;
|
|
112
|
-
} & {
|
|
113
|
-
search: (value: string) => void;
|
|
114
|
-
} & {
|
|
115
|
-
"update:selected": (value: Option | Option[] | undefined) => void;
|
|
116
|
-
}, string, {
|
|
117
|
-
error: string | null;
|
|
118
|
-
size: import("./types").Size;
|
|
119
|
-
placeholder: string;
|
|
120
|
-
loading: boolean;
|
|
121
|
-
multiple: boolean;
|
|
122
|
-
options: Select['options'];
|
|
123
|
-
dropdownPosition: 'bottom' | 'top' | 'dynamic';
|
|
124
|
-
searchable: boolean;
|
|
125
|
-
closeOnSelect: boolean;
|
|
126
|
-
fetchOnSearch: boolean;
|
|
127
|
-
searchPlaceholder: string;
|
|
128
|
-
}, {}, string> & {
|
|
129
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
130
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
131
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
132
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
133
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
134
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
135
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
136
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
137
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
138
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
139
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
140
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
141
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
142
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
143
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
144
|
-
};
|
|
145
|
-
$forceUpdate: () => void;
|
|
146
|
-
$nextTick: typeof import("vue").nextTick;
|
|
147
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
148
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
149
|
-
id: Select['id'];
|
|
150
|
-
label?: Select['label'];
|
|
151
|
-
ariaLabel?: Select['ariaLabel'];
|
|
152
|
-
name: Select['name'];
|
|
153
|
-
dropdownPosition?: "bottom" | "top" | "dynamic" | undefined;
|
|
154
|
-
selected?: Select['selected'];
|
|
155
|
-
options: Select['options'];
|
|
156
|
-
required?: Select['required'];
|
|
157
|
-
disabled?: Select['disabled'];
|
|
158
|
-
loading?: Select['loading'];
|
|
159
|
-
searchable?: Select['searchable'];
|
|
160
|
-
closeOnSelect?: Select['closeOnSelect'];
|
|
161
|
-
fetchOnSearch?: Select['fetchOnSearch'];
|
|
162
|
-
multiple?: Select['multiple'];
|
|
163
|
-
helperText?: string | undefined;
|
|
164
|
-
size?: Select['size'];
|
|
165
|
-
placeholder?: Select['placeholder'];
|
|
166
|
-
searchPlaceholder?: Select['searchPlaceholder'];
|
|
167
|
-
error?: string | null | undefined;
|
|
168
|
-
useField?: typeof import("vee-validate").useField | undefined;
|
|
169
|
-
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
170
|
-
opts?: Partial<import("vee-validate").FieldOptions<Option>> | undefined;
|
|
171
|
-
}>, {
|
|
172
|
-
dropdownPosition: string;
|
|
173
|
-
error: null;
|
|
174
|
-
size: string;
|
|
175
|
-
placeholder: string;
|
|
176
|
-
searchPlaceholder: string;
|
|
177
|
-
loading: boolean;
|
|
178
|
-
closeOnSelect: boolean;
|
|
179
|
-
fetchOnSearch: boolean;
|
|
180
|
-
searchable: boolean;
|
|
181
|
-
multiple: boolean;
|
|
182
|
-
options: () => never[];
|
|
183
|
-
}>>> & {
|
|
184
|
-
"onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
|
|
185
|
-
onSearch?: ((value: string) => any) | undefined;
|
|
186
|
-
onCloseDropdown?: (() => any) | undefined;
|
|
187
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
188
|
-
__isFragment?: undefined;
|
|
189
|
-
__isTeleport?: undefined;
|
|
190
|
-
__isSuspense?: undefined;
|
|
191
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
192
3
|
id: Select['id'];
|
|
193
4
|
label?: Select['label'];
|
|
194
5
|
ariaLabel?: Select['ariaLabel'];
|
|
@@ -223,48 +34,81 @@ declare const _default: {
|
|
|
223
34
|
searchable: boolean;
|
|
224
35
|
multiple: boolean;
|
|
225
36
|
options: () => never[];
|
|
226
|
-
}
|
|
227
|
-
"onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
|
|
228
|
-
onSearch?: ((value: string) => any) | undefined;
|
|
229
|
-
onCloseDropdown?: (() => any) | undefined;
|
|
230
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
231
38
|
closeDropdown: () => void;
|
|
232
39
|
} & {
|
|
233
40
|
search: (value: string) => void;
|
|
234
41
|
} & {
|
|
235
42
|
"update:selected": (value: Option | Option[] | undefined) => void;
|
|
236
|
-
}, string, {
|
|
237
|
-
|
|
238
|
-
|
|
43
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
44
|
+
id: Select['id'];
|
|
45
|
+
label?: Select['label'];
|
|
46
|
+
ariaLabel?: Select['ariaLabel'];
|
|
47
|
+
name: Select['name'];
|
|
48
|
+
dropdownPosition?: "bottom" | "top" | "dynamic" | undefined;
|
|
49
|
+
selected?: Select['selected'];
|
|
50
|
+
options: Select['options'];
|
|
51
|
+
required?: Select['required'];
|
|
52
|
+
disabled?: Select['disabled'];
|
|
53
|
+
loading?: Select['loading'];
|
|
54
|
+
searchable?: Select['searchable'];
|
|
55
|
+
closeOnSelect?: Select['closeOnSelect'];
|
|
56
|
+
fetchOnSearch?: Select['fetchOnSearch'];
|
|
57
|
+
multiple?: Select['multiple'];
|
|
58
|
+
helperText?: string | undefined;
|
|
59
|
+
size?: Select['size'];
|
|
60
|
+
placeholder?: Select['placeholder'];
|
|
61
|
+
searchPlaceholder?: Select['searchPlaceholder'];
|
|
62
|
+
error?: string | null | undefined;
|
|
63
|
+
useField?: typeof import("vee-validate").useField | undefined;
|
|
64
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
65
|
+
opts?: Partial<import("vee-validate").FieldOptions<Option>> | undefined;
|
|
66
|
+
}>, {
|
|
67
|
+
dropdownPosition: string;
|
|
68
|
+
error: null;
|
|
69
|
+
size: string;
|
|
239
70
|
placeholder: string;
|
|
71
|
+
searchPlaceholder: string;
|
|
240
72
|
loading: boolean;
|
|
73
|
+
closeOnSelect: boolean;
|
|
74
|
+
fetchOnSearch: boolean;
|
|
75
|
+
searchable: boolean;
|
|
241
76
|
multiple: boolean;
|
|
77
|
+
options: () => never[];
|
|
78
|
+
}>>> & {
|
|
79
|
+
"onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
|
|
80
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
81
|
+
onCloseDropdown?: (() => any) | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
size: import("./types").Size;
|
|
84
|
+
loading: boolean;
|
|
85
|
+
error: string | null;
|
|
86
|
+
multiple: boolean;
|
|
87
|
+
placeholder: string;
|
|
242
88
|
options: Select['options'];
|
|
243
89
|
dropdownPosition: 'bottom' | 'top' | 'dynamic';
|
|
244
90
|
searchable: boolean;
|
|
245
91
|
closeOnSelect: boolean;
|
|
246
92
|
fetchOnSearch: boolean;
|
|
247
93
|
searchPlaceholder: string;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
};
|
|
267
|
-
});
|
|
94
|
+
}>, {
|
|
95
|
+
label: (_: {
|
|
96
|
+
id: string;
|
|
97
|
+
for: string;
|
|
98
|
+
}) => any;
|
|
99
|
+
'toggle-dropdown': (_: {
|
|
100
|
+
toggle: {
|
|
101
|
+
open: () => void;
|
|
102
|
+
close: () => void;
|
|
103
|
+
toggleDropdown: () => void;
|
|
104
|
+
};
|
|
105
|
+
isOpen: boolean;
|
|
106
|
+
select: (selected: Option) => void;
|
|
107
|
+
selected: Option | Option[] | undefined;
|
|
108
|
+
}) => any;
|
|
109
|
+
search: (_: {}) => any;
|
|
110
|
+
'no-data': (_: {}) => any;
|
|
111
|
+
}>;
|
|
268
112
|
export default _default;
|
|
269
113
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
270
114
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -280,3 +124,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
280
124
|
default: D[K];
|
|
281
125
|
} : P[K];
|
|
282
126
|
};
|
|
127
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
128
|
+
new (): {
|
|
129
|
+
$slots: S;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
5
5
|
label: string;
|
|
6
6
|
checked?: boolean | undefined;
|
|
7
7
|
class?: string | Record<string, boolean> | undefined;
|
|
8
|
-
textDirection?: "
|
|
8
|
+
textDirection?: "left" | "right" | undefined;
|
|
9
9
|
hideLabel?: boolean | undefined;
|
|
10
10
|
stretchLabel?: boolean | undefined;
|
|
11
11
|
}>, {
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
22
22
|
label: string;
|
|
23
23
|
checked?: boolean | undefined;
|
|
24
24
|
class?: string | Record<string, boolean> | undefined;
|
|
25
|
-
textDirection?: "
|
|
25
|
+
textDirection?: "left" | "right" | undefined;
|
|
26
26
|
hideLabel?: boolean | undefined;
|
|
27
27
|
stretchLabel?: boolean | undefined;
|
|
28
28
|
}>, {
|