@rotki/ui-library 0.13.0 → 0.15.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.
Files changed (54) hide show
  1. package/dist/Accordion-BFcz_iFc.js +8386 -0
  2. package/dist/breakpoint-CRvqq4aP.js +37 -0
  3. package/dist/components/accordions/accordion/Accordion.vue.d.ts +71 -0
  4. package/dist/components/accordions/accordions/Accordions.vue.d.ts +31 -0
  5. package/dist/components/alerts/Alert.vue.d.ts +10 -10
  6. package/dist/components/buttons/button/Button.vue.d.ts +4 -4
  7. package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +3 -3
  8. package/dist/components/cards/Card.vue.d.ts +3 -3
  9. package/dist/components/chips/Chip.vue.d.ts +18 -18
  10. package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +58 -172
  11. package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +26 -77
  12. package/dist/components/forms/checkbox/Checkbox.vue.d.ts +18 -18
  13. package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +18 -18
  14. package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +18 -18
  15. package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +9 -9
  16. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +155 -0
  17. package/dist/components/forms/slider/Slider.vue.d.ts +192 -0
  18. package/dist/components/forms/switch/Switch.vue.d.ts +18 -18
  19. package/dist/components/forms/text-area/TextArea.vue.d.ts +9 -9
  20. package/dist/components/forms/text-field/TextField.vue.d.ts +9 -9
  21. package/dist/components/icons/Icon.vue.d.ts +6 -6
  22. package/dist/components/index.d.ts +6 -1
  23. package/dist/components/index.es.js +38 -42
  24. package/dist/components/loaders/Skeleton.vue.d.ts +6 -6
  25. package/dist/components/loaders/SkeletonBase.vue.d.ts +3 -3
  26. package/dist/components/logos/Logo.vue.d.ts +42 -4
  27. package/dist/components/overlays/badge/Badge.vue.d.ts +15 -15
  28. package/dist/components/overlays/dialog/Dialog.vue.d.ts +8 -8
  29. package/dist/components/overlays/menu/Menu.vue.d.ts +191 -0
  30. package/dist/components/progress/Progress.vue.d.ts +6 -6
  31. package/dist/components/tables/DataTable.vue.d.ts +13 -8
  32. package/dist/components/tables/TableHead.vue.d.ts +15 -3
  33. package/dist/components/tables/TablePagination.vue.d.ts +10 -0
  34. package/dist/components/tabs/tab/Tab.vue.d.ts +28 -28
  35. package/dist/components/tabs/tabs/Tabs.vue.d.ts +9 -9
  36. package/dist/composables/defaults/table.d.ts +1 -0
  37. package/dist/composables/dropdown-menu.d.ts +40 -0
  38. package/dist/composables/forms/auto-complete/index.d.ts +9 -0
  39. package/dist/composables/index.es.js +5 -85
  40. package/dist/composables/popper.d.ts +2 -2
  41. package/dist/composables/sticky-header.d.ts +5 -5
  42. package/dist/consts/forms/auto-complete/index.d.ts +4 -0
  43. package/dist/index-x2urm9HD.js +176 -0
  44. package/dist/index.d.ts +1 -1
  45. package/dist/index.es.js +2787 -2786
  46. package/dist/style.css +1 -1
  47. package/dist/theme/index.es.js +1 -1
  48. package/dist/utils/assert.d.ts +1 -0
  49. package/dist/utils/forms/auto-complete/index.d.ts +2 -0
  50. package/dist/utils/helpers.d.ts +7 -0
  51. package/package.json +46 -48
  52. package/dist/index-Ph4f0pga.js +0 -7435
  53. package/dist/theme-DT8UjYf9.js +0 -124
  54. /package/dist/{colors-ikihApJv.js → colors-D563Ic3q.js} +0 -0
@@ -1,81 +1,30 @@
1
- import type { Props as AutoCompleteProps, ModelValue, Option } from '../../../components/forms/auto-complete/AutoComplete.vue';
2
- export interface Props extends Pick<AutoCompleteProps, 'textProp' | 'keyProp' | 'dense' | 'itemDisabledProp' | 'variant'> {
3
- data: ModelValue;
1
+ import type { Props as AutoCompleteProps, ModelValue } from '../../../components/forms/auto-complete/AutoComplete.vue';
2
+ export interface Props<T extends object> extends Pick<AutoCompleteProps<T>, 'textProp' | 'keyProp' | 'dense' | 'itemDisabledProp' | 'variant'> {
3
+ data: ModelValue<T>;
4
4
  hasValue: boolean;
5
5
  wrapperWidth: number;
6
6
  }
7
- declare const _default: import("vue").DefineComponent<{
8
- variant: {
9
- type: globalThis.PropType<"default" | "outlined" | "filled">;
10
- };
11
- data: {
12
- type: globalThis.PropType<ModelValue>;
13
- required: true;
14
- };
15
- dense: {
16
- type: globalThis.PropType<boolean>;
17
- default: boolean;
18
- };
19
- wrapperWidth: {
20
- type: globalThis.PropType<number>;
21
- required: true;
22
- };
23
- textProp: {
24
- type: globalThis.PropType<string>;
25
- default: string;
26
- };
27
- keyProp: {
28
- type: globalThis.PropType<string>;
29
- default: string;
30
- };
31
- itemDisabledProp: {
32
- type: globalThis.PropType<string>;
33
- default: string;
34
- };
35
- hasValue: {
36
- type: globalThis.PropType<boolean>;
37
- required: true;
38
- };
39
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
- remove: (option: Option) => void;
41
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
42
- variant: {
43
- type: globalThis.PropType<"default" | "outlined" | "filled">;
44
- };
45
- data: {
46
- type: globalThis.PropType<ModelValue>;
47
- required: true;
48
- };
49
- dense: {
50
- type: globalThis.PropType<boolean>;
51
- default: boolean;
52
- };
53
- wrapperWidth: {
54
- type: globalThis.PropType<number>;
55
- required: true;
56
- };
57
- textProp: {
58
- type: globalThis.PropType<string>;
59
- default: string;
60
- };
61
- keyProp: {
62
- type: globalThis.PropType<string>;
63
- default: string;
64
- };
65
- itemDisabledProp: {
66
- type: globalThis.PropType<string>;
67
- default: string;
68
- };
69
- hasValue: {
70
- type: globalThis.PropType<boolean>;
71
- required: true;
72
- };
73
- }>> & {
74
- onRemove?: ((option: Option) => any) | undefined;
75
- }, {
76
- dense: boolean;
77
- textProp: string;
78
- keyProp: string;
79
- itemDisabledProp: string;
80
- }, {}>;
7
+ declare const _default: <T extends object>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
8
+ props: Props<T>;
9
+ expose(exposed: {}): void;
10
+ attrs: any;
11
+ slots: {};
12
+ emit: (e: 'remove', option: T) => void;
13
+ }, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
14
+ props: Props<T>;
15
+ expose(exposed: {}): void;
16
+ attrs: any;
17
+ slots: {};
18
+ emit: (e: 'remove', option: T) => void;
19
+ }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
20
+ [key: string]: any;
21
+ }> & {
22
+ __ctx?: {
23
+ props: Props<T>;
24
+ expose(exposed: {}): void;
25
+ attrs: any;
26
+ slots: {};
27
+ emit: (e: 'remove', option: T) => void;
28
+ } | undefined;
29
+ };
81
30
  export default _default;
@@ -12,6 +12,10 @@ export interface Props {
12
12
  hideDetails?: boolean;
13
13
  }
14
14
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
+ size: {
16
+ type: globalThis.PropType<"sm" | "lg">;
17
+ default: undefined;
18
+ };
15
19
  indeterminate: {
16
20
  type: globalThis.PropType<boolean>;
17
21
  default: boolean;
@@ -20,10 +24,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
20
24
  type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
21
25
  default: undefined;
22
26
  };
23
- size: {
24
- type: globalThis.PropType<"sm" | "lg">;
25
- default: undefined;
26
- };
27
27
  label: {
28
28
  type: globalThis.PropType<string>;
29
29
  default: string;
@@ -32,6 +32,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
32
32
  type: globalThis.PropType<boolean>;
33
33
  default: boolean;
34
34
  };
35
+ modelValue: {
36
+ type: globalThis.PropType<boolean>;
37
+ default: boolean;
38
+ };
35
39
  errorMessages: {
36
40
  type: globalThis.PropType<string | string[]>;
37
41
  default: () => never[];
@@ -44,10 +48,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
48
  type: globalThis.PropType<string>;
45
49
  default: string;
46
50
  };
47
- modelValue: {
48
- type: globalThis.PropType<boolean>;
49
- default: boolean;
50
- };
51
51
  hideDetails: {
52
52
  type: globalThis.PropType<boolean>;
53
53
  default: boolean;
@@ -56,6 +56,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
56
56
  "update:modelValue": (modelValue: boolean) => void;
57
57
  "update:indeterminate": (indeterminate: boolean) => void;
58
58
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
59
+ size: {
60
+ type: globalThis.PropType<"sm" | "lg">;
61
+ default: undefined;
62
+ };
59
63
  indeterminate: {
60
64
  type: globalThis.PropType<boolean>;
61
65
  default: boolean;
@@ -64,10 +68,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
68
  type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
65
69
  default: undefined;
66
70
  };
67
- size: {
68
- type: globalThis.PropType<"sm" | "lg">;
69
- default: undefined;
70
- };
71
71
  label: {
72
72
  type: globalThis.PropType<string>;
73
73
  default: string;
@@ -76,6 +76,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
76
76
  type: globalThis.PropType<boolean>;
77
77
  default: boolean;
78
78
  };
79
+ modelValue: {
80
+ type: globalThis.PropType<boolean>;
81
+ default: boolean;
82
+ };
79
83
  errorMessages: {
80
84
  type: globalThis.PropType<string | string[]>;
81
85
  default: () => never[];
@@ -88,10 +92,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
88
92
  type: globalThis.PropType<string>;
89
93
  default: string;
90
94
  };
91
- modelValue: {
92
- type: globalThis.PropType<boolean>;
93
- default: boolean;
94
- };
95
95
  hideDetails: {
96
96
  type: globalThis.PropType<boolean>;
97
97
  default: boolean;
@@ -100,15 +100,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
100
100
  "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
101
101
  "onUpdate:indeterminate"?: ((indeterminate: boolean) => any) | undefined;
102
102
  }, {
103
+ size: "sm" | "lg";
103
104
  indeterminate: boolean;
104
105
  color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
105
- size: "sm" | "lg";
106
106
  label: string;
107
107
  disabled: boolean;
108
+ modelValue: boolean;
108
109
  errorMessages: string | string[];
109
110
  successMessages: string | string[];
110
111
  hint: string;
111
- modelValue: boolean;
112
112
  hideDetails: boolean;
113
113
  }, {}>, {
114
114
  default?(_: {}): any;
@@ -12,6 +12,10 @@ export interface RadioProps {
12
12
  hideDetails?: boolean;
13
13
  }
14
14
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
+ size: {
16
+ type: globalThis.PropType<"sm" | "lg">;
17
+ default: undefined;
18
+ };
15
19
  value: {
16
20
  type: globalThis.PropType<string>;
17
21
  required: true;
@@ -20,10 +24,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
20
24
  type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
21
25
  default: undefined;
22
26
  };
23
- size: {
24
- type: globalThis.PropType<"sm" | "lg">;
25
- default: undefined;
26
- };
27
27
  label: {
28
28
  type: globalThis.PropType<string>;
29
29
  default: string;
@@ -32,6 +32,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
32
32
  type: globalThis.PropType<boolean>;
33
33
  default: boolean;
34
34
  };
35
+ modelValue: {
36
+ type: globalThis.PropType<string>;
37
+ default: string;
38
+ };
35
39
  errorMessages: {
36
40
  type: globalThis.PropType<string | string[]>;
37
41
  default: () => never[];
@@ -44,10 +48,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
48
  type: globalThis.PropType<string>;
45
49
  default: string;
46
50
  };
47
- modelValue: {
48
- type: globalThis.PropType<string>;
49
- default: string;
50
- };
51
51
  hideDetails: {
52
52
  type: globalThis.PropType<boolean>;
53
53
  default: boolean;
@@ -55,6 +55,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
55
55
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
56
  "update:modelValue": (modelValue: string) => void;
57
57
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
58
+ size: {
59
+ type: globalThis.PropType<"sm" | "lg">;
60
+ default: undefined;
61
+ };
58
62
  value: {
59
63
  type: globalThis.PropType<string>;
60
64
  required: true;
@@ -63,10 +67,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
63
67
  type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
64
68
  default: undefined;
65
69
  };
66
- size: {
67
- type: globalThis.PropType<"sm" | "lg">;
68
- default: undefined;
69
- };
70
70
  label: {
71
71
  type: globalThis.PropType<string>;
72
72
  default: string;
@@ -75,6 +75,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
75
75
  type: globalThis.PropType<boolean>;
76
76
  default: boolean;
77
77
  };
78
+ modelValue: {
79
+ type: globalThis.PropType<string>;
80
+ default: string;
81
+ };
78
82
  errorMessages: {
79
83
  type: globalThis.PropType<string | string[]>;
80
84
  default: () => never[];
@@ -87,10 +91,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
87
91
  type: globalThis.PropType<string>;
88
92
  default: string;
89
93
  };
90
- modelValue: {
91
- type: globalThis.PropType<string>;
92
- default: string;
93
- };
94
94
  hideDetails: {
95
95
  type: globalThis.PropType<boolean>;
96
96
  default: boolean;
@@ -98,14 +98,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
98
98
  }>> & {
99
99
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
100
100
  }, {
101
- color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
102
101
  size: "sm" | "lg";
102
+ color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
103
103
  label: string;
104
104
  disabled: boolean;
105
+ modelValue: string;
105
106
  errorMessages: string | string[];
106
107
  successMessages: string | string[];
107
108
  hint: string;
108
- modelValue: string;
109
109
  hideDetails: boolean;
110
110
  }, {}>, {
111
111
  default?(_: {}): any;
@@ -12,14 +12,14 @@ export interface Props {
12
12
  size?: 'sm' | 'lg';
13
13
  }
14
14
  declare const _default: import("vue").DefineComponent<{
15
- color: {
16
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
17
- default: undefined;
18
- };
19
15
  size: {
20
16
  type: globalThis.PropType<"sm" | "lg">;
21
17
  default: undefined;
22
18
  };
19
+ color: {
20
+ type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
21
+ default: undefined;
22
+ };
23
23
  label: {
24
24
  type: globalThis.PropType<string>;
25
25
  default: string;
@@ -28,6 +28,10 @@ declare const _default: import("vue").DefineComponent<{
28
28
  type: globalThis.PropType<boolean>;
29
29
  default: boolean;
30
30
  };
31
+ modelValue: {
32
+ type: globalThis.PropType<string>;
33
+ default: string;
34
+ };
31
35
  errorMessages: {
32
36
  type: globalThis.PropType<string | string[]>;
33
37
  default: () => never[];
@@ -40,10 +44,6 @@ declare const _default: import("vue").DefineComponent<{
40
44
  type: globalThis.PropType<string>;
41
45
  default: string;
42
46
  };
43
- modelValue: {
44
- type: globalThis.PropType<string>;
45
- default: string;
46
- };
47
47
  hideDetails: {
48
48
  type: globalThis.PropType<boolean>;
49
49
  default: boolean;
@@ -55,14 +55,14 @@ declare const _default: import("vue").DefineComponent<{
55
55
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
56
  "update:modelValue": (value: string) => void;
57
57
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
58
- color: {
59
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
60
- default: undefined;
61
- };
62
58
  size: {
63
59
  type: globalThis.PropType<"sm" | "lg">;
64
60
  default: undefined;
65
61
  };
62
+ color: {
63
+ type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
64
+ default: undefined;
65
+ };
66
66
  label: {
67
67
  type: globalThis.PropType<string>;
68
68
  default: string;
@@ -71,6 +71,10 @@ declare const _default: import("vue").DefineComponent<{
71
71
  type: globalThis.PropType<boolean>;
72
72
  default: boolean;
73
73
  };
74
+ modelValue: {
75
+ type: globalThis.PropType<string>;
76
+ default: string;
77
+ };
74
78
  errorMessages: {
75
79
  type: globalThis.PropType<string | string[]>;
76
80
  default: () => never[];
@@ -83,10 +87,6 @@ declare const _default: import("vue").DefineComponent<{
83
87
  type: globalThis.PropType<string>;
84
88
  default: string;
85
89
  };
86
- modelValue: {
87
- type: globalThis.PropType<string>;
88
- default: string;
89
- };
90
90
  hideDetails: {
91
91
  type: globalThis.PropType<boolean>;
92
92
  default: boolean;
@@ -98,14 +98,14 @@ declare const _default: import("vue").DefineComponent<{
98
98
  }>> & {
99
99
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
100
100
  }, {
101
- color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
102
101
  size: "sm" | "lg";
102
+ color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
103
103
  label: string;
104
104
  disabled: boolean;
105
+ modelValue: string;
105
106
  errorMessages: string | string[];
106
107
  successMessages: string | string[];
107
108
  hint: string;
108
- modelValue: string;
109
109
  hideDetails: boolean;
110
110
  inline: boolean;
111
111
  }, {}>;
@@ -26,6 +26,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
26
26
  type: globalThis.PropType<boolean>;
27
27
  default: boolean;
28
28
  };
29
+ modelValue: {
30
+ type: globalThis.PropType<string>;
31
+ default: string;
32
+ };
29
33
  errorMessages: {
30
34
  type: globalThis.PropType<string | string[]>;
31
35
  default: () => never[];
@@ -38,10 +42,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
38
42
  type: globalThis.PropType<string>;
39
43
  default: string;
40
44
  };
41
- modelValue: {
42
- type: globalThis.PropType<string>;
43
- default: string;
44
- };
45
45
  textColor: {
46
46
  type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
47
47
  default: undefined;
@@ -95,6 +95,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
95
95
  type: globalThis.PropType<boolean>;
96
96
  default: boolean;
97
97
  };
98
+ modelValue: {
99
+ type: globalThis.PropType<string>;
100
+ default: string;
101
+ };
98
102
  errorMessages: {
99
103
  type: globalThis.PropType<string | string[]>;
100
104
  default: () => never[];
@@ -107,10 +111,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
107
111
  type: globalThis.PropType<string>;
108
112
  default: string;
109
113
  };
110
- modelValue: {
111
- type: globalThis.PropType<string>;
112
- default: string;
113
- };
114
114
  textColor: {
115
115
  type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
116
116
  default: undefined;
@@ -146,10 +146,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
146
146
  label: string;
147
147
  placeholder: string;
148
148
  disabled: boolean;
149
+ modelValue: string;
149
150
  errorMessages: string | string[];
150
151
  successMessages: string | string[];
151
152
  hint: string;
152
- modelValue: string;
153
153
  textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
154
154
  dense: boolean;
155
155
  as: string | object;
@@ -0,0 +1,155 @@
1
+ import { type MenuProps } from '../../../components/overlays/menu/Menu.vue';
2
+ export interface Props<T, K extends keyof T = keyof T> {
3
+ options: T[];
4
+ keyAttr?: K;
5
+ textAttr?: keyof T;
6
+ modelValue?: T extends string ? T : T[K];
7
+ disabled?: boolean;
8
+ readOnly?: boolean;
9
+ dense?: boolean;
10
+ fullWidth?: boolean;
11
+ floatLabel?: boolean;
12
+ clearable?: boolean;
13
+ label?: string;
14
+ menuOptions?: MenuProps;
15
+ labelClass?: string;
16
+ menuClass?: string;
17
+ optionClass?: string;
18
+ prependWidth?: number;
19
+ appendWidth?: number;
20
+ itemHeight?: number;
21
+ variant?: 'default' | 'filled' | 'outlined';
22
+ hint?: string;
23
+ errorMessages?: string | string[];
24
+ successMessages?: string | string[];
25
+ showDetails?: boolean;
26
+ }
27
+ declare const _default: <T extends string | object, K extends keyof T = keyof T>(__VLS_props: Props<T, K> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
28
+ props: Props<T, K>;
29
+ expose(exposed: {}): void;
30
+ attrs: any;
31
+ slots: {
32
+ activator?(_: {
33
+ disabled: boolean;
34
+ value: T | undefined;
35
+ variant: "default" | "outlined" | "filled";
36
+ readOnly: boolean;
37
+ on: any;
38
+ open: any;
39
+ hasError: any;
40
+ hasSuccess: any;
41
+ }): any;
42
+ "activator.label"?(_: {
43
+ value: T | undefined;
44
+ }): any;
45
+ "activator.prepend"?(_: {
46
+ value: T;
47
+ }): any;
48
+ "activator.text"?(_: {
49
+ value: T;
50
+ }): any;
51
+ "item.prepend"?(_: {
52
+ disabled: boolean;
53
+ option: T;
54
+ active: boolean;
55
+ }): any;
56
+ "item.text"?(_: {
57
+ disabled: boolean;
58
+ option: T;
59
+ active: boolean;
60
+ }): any;
61
+ "item.append"?(_: {
62
+ disabled: boolean;
63
+ option: T;
64
+ active: boolean;
65
+ }): any;
66
+ };
67
+ emit: (e: 'update:model-value', value?: T | T[K]) => void;
68
+ }, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
69
+ props: Props<T, K>;
70
+ expose(exposed: {}): void;
71
+ attrs: any;
72
+ slots: {
73
+ activator?(_: {
74
+ disabled: boolean;
75
+ value: T | undefined;
76
+ variant: "default" | "outlined" | "filled";
77
+ readOnly: boolean;
78
+ on: any;
79
+ open: any;
80
+ hasError: any;
81
+ hasSuccess: any;
82
+ }): any;
83
+ "activator.label"?(_: {
84
+ value: T | undefined;
85
+ }): any;
86
+ "activator.prepend"?(_: {
87
+ value: T;
88
+ }): any;
89
+ "activator.text"?(_: {
90
+ value: T;
91
+ }): any;
92
+ "item.prepend"?(_: {
93
+ disabled: boolean;
94
+ option: T;
95
+ active: boolean;
96
+ }): any;
97
+ "item.text"?(_: {
98
+ disabled: boolean;
99
+ option: T;
100
+ active: boolean;
101
+ }): any;
102
+ "item.append"?(_: {
103
+ disabled: boolean;
104
+ option: T;
105
+ active: boolean;
106
+ }): any;
107
+ };
108
+ emit: (e: 'update:model-value', value?: T | T[K]) => void;
109
+ }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
110
+ [key: string]: any;
111
+ }> & {
112
+ __ctx?: {
113
+ props: Props<T, K>;
114
+ expose(exposed: {}): void;
115
+ attrs: any;
116
+ slots: {
117
+ activator?(_: {
118
+ disabled: boolean;
119
+ value: T | undefined;
120
+ variant: "default" | "outlined" | "filled";
121
+ readOnly: boolean;
122
+ on: any;
123
+ open: any;
124
+ hasError: any;
125
+ hasSuccess: any;
126
+ }): any;
127
+ "activator.label"?(_: {
128
+ value: T | undefined;
129
+ }): any;
130
+ "activator.prepend"?(_: {
131
+ value: T;
132
+ }): any;
133
+ "activator.text"?(_: {
134
+ value: T;
135
+ }): any;
136
+ "item.prepend"?(_: {
137
+ disabled: boolean;
138
+ option: T;
139
+ active: boolean;
140
+ }): any;
141
+ "item.text"?(_: {
142
+ disabled: boolean;
143
+ option: T;
144
+ active: boolean;
145
+ }): any;
146
+ "item.append"?(_: {
147
+ disabled: boolean;
148
+ option: T;
149
+ active: boolean;
150
+ }): any;
151
+ };
152
+ emit: (e: 'update:model-value', value?: T | T[K]) => void;
153
+ } | undefined;
154
+ };
155
+ export default _default;