@rotki/ui-library 0.13.0 → 0.14.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 (40) hide show
  1. package/dist/components/accordions/accordion/Accordion.vue.d.ts +71 -0
  2. package/dist/components/accordions/accordions/Accordions.vue.d.ts +31 -0
  3. package/dist/components/alerts/Alert.vue.d.ts +10 -10
  4. package/dist/components/cards/Card.vue.d.ts +3 -3
  5. package/dist/components/chips/Chip.vue.d.ts +18 -18
  6. package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +58 -172
  7. package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +26 -77
  8. package/dist/components/forms/checkbox/Checkbox.vue.d.ts +9 -9
  9. package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +9 -9
  10. package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +9 -9
  11. package/dist/components/forms/select/MenuSelect.vue.d.ts +62 -0
  12. package/dist/components/forms/slider/Slider.vue.d.ts +192 -0
  13. package/dist/components/forms/switch/Switch.vue.d.ts +9 -9
  14. package/dist/components/forms/text-area/TextArea.vue.d.ts +9 -9
  15. package/dist/components/icons/Icon.vue.d.ts +6 -6
  16. package/dist/components/index.d.ts +6 -1
  17. package/dist/components/index.es.js +38 -42
  18. package/dist/components/loaders/Skeleton.vue.d.ts +6 -6
  19. package/dist/components/loaders/SkeletonBase.vue.d.ts +3 -3
  20. package/dist/components/overlays/badge/Badge.vue.d.ts +15 -15
  21. package/dist/components/overlays/dialog/Dialog.vue.d.ts +3 -3
  22. package/dist/components/overlays/menu/Menu.vue.d.ts +108 -0
  23. package/dist/components/progress/Progress.vue.d.ts +6 -6
  24. package/dist/components/tables/DataTable.vue.d.ts +4 -2
  25. package/dist/components/tables/TablePagination.vue.d.ts +10 -0
  26. package/dist/components/tabs/tab/Tab.vue.d.ts +28 -28
  27. package/dist/components/tabs/tabs/Tabs.vue.d.ts +9 -9
  28. package/dist/composables/defaults/table.d.ts +1 -0
  29. package/dist/composables/forms/auto-complete/index.d.ts +9 -0
  30. package/dist/composables/index.es.js +5 -9
  31. package/dist/composables/popper.d.ts +2 -2
  32. package/dist/composables/sticky-header.d.ts +5 -5
  33. package/dist/consts/forms/auto-complete/index.d.ts +4 -0
  34. package/dist/index-4pX97qAk.js +8090 -0
  35. package/dist/index.d.ts +1 -1
  36. package/dist/index.es.js +2786 -2785
  37. package/dist/style.css +1 -1
  38. package/dist/utils/forms/auto-complete/index.d.ts +2 -0
  39. package/package.json +27 -27
  40. package/dist/index-Ph4f0pga.js +0 -7435
@@ -0,0 +1,71 @@
1
+ export interface AccordionProps {
2
+ open?: boolean;
3
+ eager?: boolean;
4
+ headerGrow?: boolean;
5
+ headerClass?: string;
6
+ contentClass?: string;
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
9
+ open: {
10
+ type: globalThis.PropType<boolean>;
11
+ default: boolean;
12
+ };
13
+ eager: {
14
+ type: globalThis.PropType<boolean>;
15
+ default: boolean;
16
+ };
17
+ headerGrow: {
18
+ type: globalThis.PropType<boolean>;
19
+ default: boolean;
20
+ };
21
+ headerClass: {
22
+ type: globalThis.PropType<string>;
23
+ default: string;
24
+ };
25
+ contentClass: {
26
+ type: globalThis.PropType<string>;
27
+ default: string;
28
+ };
29
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ click: () => void;
31
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
32
+ open: {
33
+ type: globalThis.PropType<boolean>;
34
+ default: boolean;
35
+ };
36
+ eager: {
37
+ type: globalThis.PropType<boolean>;
38
+ default: boolean;
39
+ };
40
+ headerGrow: {
41
+ type: globalThis.PropType<boolean>;
42
+ default: boolean;
43
+ };
44
+ headerClass: {
45
+ type: globalThis.PropType<string>;
46
+ default: string;
47
+ };
48
+ contentClass: {
49
+ type: globalThis.PropType<string>;
50
+ default: string;
51
+ };
52
+ }>> & {
53
+ onClick?: (() => any) | undefined;
54
+ }, {
55
+ open: boolean;
56
+ eager: boolean;
57
+ headerGrow: boolean;
58
+ headerClass: string;
59
+ contentClass: string;
60
+ }, {}>, {
61
+ header?(_: {
62
+ open: boolean;
63
+ }): any;
64
+ default?(_: {}): any;
65
+ }>;
66
+ export default _default;
67
+ type __VLS_WithTemplateSlots<T, S> = T & {
68
+ new (): {
69
+ $slots: S;
70
+ };
71
+ };
@@ -0,0 +1,31 @@
1
+ export interface Props {
2
+ modelValue?: number[] | number;
3
+ multiple?: boolean;
4
+ }
5
+ declare const _default: import("vue").DefineComponent<{
6
+ modelValue: {
7
+ type: globalThis.PropType<number | number[]>;
8
+ default: number;
9
+ };
10
+ multiple: {
11
+ type: globalThis.PropType<boolean>;
12
+ default: boolean;
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:model-value": (modelValue: number | number[]) => void;
16
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
17
+ modelValue: {
18
+ type: globalThis.PropType<number | number[]>;
19
+ default: number;
20
+ };
21
+ multiple: {
22
+ type: globalThis.PropType<boolean>;
23
+ default: boolean;
24
+ };
25
+ }>> & {
26
+ "onUpdate:model-value"?: ((modelValue: number | number[]) => any) | undefined;
27
+ }, {
28
+ modelValue: number | number[];
29
+ multiple: boolean;
30
+ }, {}>;
31
+ export default _default;
@@ -26,10 +26,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
26
26
  type: globalThis.PropType<RuiIcons>;
27
27
  default: undefined;
28
28
  };
29
- closeable: {
30
- type: globalThis.PropType<boolean>;
31
- default: boolean;
32
- };
33
29
  description: {
34
30
  type: globalThis.PropType<string>;
35
31
  default: string;
@@ -38,6 +34,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
38
34
  type: globalThis.PropType<string>;
39
35
  default: string;
40
36
  };
37
+ closeable: {
38
+ type: globalThis.PropType<boolean>;
39
+ default: boolean;
40
+ };
41
41
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
42
  action: () => void;
43
43
  close: () => void;
@@ -58,10 +58,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
58
58
  type: globalThis.PropType<RuiIcons>;
59
59
  default: undefined;
60
60
  };
61
- closeable: {
62
- type: globalThis.PropType<boolean>;
63
- default: boolean;
64
- };
65
61
  description: {
66
62
  type: globalThis.PropType<string>;
67
63
  default: string;
@@ -70,17 +66,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
70
66
  type: globalThis.PropType<string>;
71
67
  default: string;
72
68
  };
69
+ closeable: {
70
+ type: globalThis.PropType<boolean>;
71
+ default: boolean;
72
+ };
73
73
  }>> & {
74
- onClose?: (() => any) | undefined;
75
74
  onAction?: (() => any) | undefined;
75
+ onClose?: (() => any) | undefined;
76
76
  }, {
77
77
  variant: "default" | "outlined" | "filled";
78
78
  type: "primary" | "secondary" | "error" | "warning" | "info" | "success";
79
79
  title: string;
80
80
  icon: RuiIcons;
81
- closeable: boolean;
82
81
  description: string;
83
82
  actionText: string;
83
+ closeable: boolean;
84
84
  }, {}>, {
85
85
  title?(_: {}): any;
86
86
  default?(_: {}): any;
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
16
  default: number;
17
17
  };
18
18
  rounded: {
19
- type: globalThis.PropType<"sm" | "lg" | "md">;
19
+ type: globalThis.PropType<"sm" | "md" | "lg">;
20
20
  default: string;
21
21
  };
22
22
  dense: {
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
41
  default: number;
42
42
  };
43
43
  rounded: {
44
- type: globalThis.PropType<"sm" | "lg" | "md">;
44
+ type: globalThis.PropType<"sm" | "md" | "lg">;
45
45
  default: string;
46
46
  };
47
47
  dense: {
@@ -59,7 +59,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
59
59
  }>>, {
60
60
  variant: "flat" | "outlined";
61
61
  elevation: number;
62
- rounded: "sm" | "lg" | "md";
62
+ rounded: "sm" | "md" | "lg";
63
63
  dense: boolean;
64
64
  divide: boolean;
65
65
  noPadding: boolean;
@@ -13,6 +13,10 @@ export interface Props {
13
13
  textColor?: string;
14
14
  }
15
15
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
+ size: {
17
+ type: globalThis.PropType<"sm" | "md">;
18
+ default: string;
19
+ };
16
20
  variant: {
17
21
  type: globalThis.PropType<"outlined" | "filled">;
18
22
  default: string;
@@ -21,14 +25,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
21
25
  type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
22
26
  default: string;
23
27
  };
24
- size: {
25
- type: globalThis.PropType<"sm" | "md">;
26
- default: string;
27
- };
28
28
  disabled: {
29
29
  type: globalThis.PropType<boolean>;
30
30
  default: boolean;
31
31
  };
32
+ closeable: {
33
+ type: globalThis.PropType<boolean>;
34
+ default: boolean;
35
+ };
32
36
  textColor: {
33
37
  type: globalThis.PropType<string>;
34
38
  default: undefined;
@@ -41,10 +45,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
45
  type: globalThis.PropType<boolean>;
42
46
  default: boolean;
43
47
  };
44
- closeable: {
45
- type: globalThis.PropType<boolean>;
46
- default: boolean;
47
- };
48
48
  closeIcon: {
49
49
  type: globalThis.PropType<RuiIcons>;
50
50
  default: string;
@@ -57,6 +57,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
57
57
  "click:close": () => void;
58
58
  click: () => void;
59
59
  }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
60
+ size: {
61
+ type: globalThis.PropType<"sm" | "md">;
62
+ default: string;
63
+ };
60
64
  variant: {
61
65
  type: globalThis.PropType<"outlined" | "filled">;
62
66
  default: string;
@@ -65,14 +69,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
65
69
  type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
66
70
  default: string;
67
71
  };
68
- size: {
69
- type: globalThis.PropType<"sm" | "md">;
70
- default: string;
71
- };
72
72
  disabled: {
73
73
  type: globalThis.PropType<boolean>;
74
74
  default: boolean;
75
75
  };
76
+ closeable: {
77
+ type: globalThis.PropType<boolean>;
78
+ default: boolean;
79
+ };
76
80
  textColor: {
77
81
  type: globalThis.PropType<string>;
78
82
  default: undefined;
@@ -85,10 +89,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
85
89
  type: globalThis.PropType<boolean>;
86
90
  default: boolean;
87
91
  };
88
- closeable: {
89
- type: globalThis.PropType<boolean>;
90
- default: boolean;
91
- };
92
92
  closeIcon: {
93
93
  type: globalThis.PropType<RuiIcons>;
94
94
  default: string;
@@ -101,14 +101,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
101
101
  onClick?: (() => any) | undefined;
102
102
  "onClick:close"?: (() => any) | undefined;
103
103
  }, {
104
+ size: "sm" | "md";
104
105
  variant: "outlined" | "filled";
105
106
  color: "grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success";
106
- size: "sm" | "md";
107
107
  disabled: boolean;
108
+ closeable: boolean;
108
109
  textColor: string;
109
110
  tile: boolean;
110
111
  clickable: boolean;
111
- closeable: boolean;
112
112
  closeIcon: RuiIcons;
113
113
  bgColor: string;
114
114
  }, {}>, {
@@ -1,185 +1,71 @@
1
1
  import type { ContextColorsType } from '../../../consts/colors';
2
- export type Option = Record<string, any>;
3
- export type ModelValue = Option | Option[] | null;
4
- export interface Props {
5
- data: Option[];
6
- modelValue: ModelValue;
2
+ export type ModelValue<T> = T | null | T[];
3
+ export interface Props<T extends object> {
4
+ data: T[];
5
+ modelValue: ModelValue<T>;
7
6
  nullable?: boolean;
8
7
  disabled?: boolean;
9
8
  searchQuery?: string;
10
- searchProp?: string;
9
+ searchProp?: Extract<keyof T, string>;
11
10
  placeholder?: string;
12
11
  label?: string;
13
- keyProp?: string;
14
- textProp?: string;
15
- itemDisabledProp?: string;
12
+ keyProp?: Extract<keyof T, string>;
13
+ textProp?: Extract<keyof T, string>;
14
+ itemDisabledProp?: Extract<keyof T, string>;
16
15
  variant?: 'default' | 'filled' | 'outlined';
17
16
  color?: ContextColorsType;
18
17
  dense?: boolean;
19
18
  hint?: string;
20
19
  errorMessages?: string[];
21
20
  }
22
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
- variant: {
24
- type: globalThis.PropType<"default" | "outlined" | "filled">;
25
- default: string;
26
- };
27
- color: {
28
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
29
- default: undefined;
30
- };
31
- label: {
32
- type: globalThis.PropType<string>;
33
- default: string;
34
- };
35
- data: {
36
- type: globalThis.PropType<Option[]>;
37
- required: true;
38
- };
39
- placeholder: {
40
- type: globalThis.PropType<string>;
41
- default: string;
42
- };
43
- disabled: {
44
- type: globalThis.PropType<boolean>;
45
- default: boolean;
46
- };
47
- errorMessages: {
48
- type: globalThis.PropType<string[]>;
49
- default: () => never[];
50
- };
51
- hint: {
52
- type: globalThis.PropType<string>;
53
- default: string;
54
- };
55
- modelValue: {
56
- type: globalThis.PropType<ModelValue>;
57
- required: true;
58
- };
59
- dense: {
60
- type: globalThis.PropType<boolean>;
61
- default: boolean;
62
- };
63
- textProp: {
64
- type: globalThis.PropType<string>;
65
- default: string;
66
- };
67
- keyProp: {
68
- type: globalThis.PropType<string>;
69
- default: string;
70
- };
71
- itemDisabledProp: {
72
- type: globalThis.PropType<string>;
73
- default: string;
74
- };
75
- nullable: {
76
- type: globalThis.PropType<boolean>;
77
- default: boolean;
78
- };
79
- searchQuery: {
80
- type: globalThis.PropType<string>;
81
- default: string;
82
- };
83
- searchProp: {
84
- type: globalThis.PropType<string>;
85
- default: string;
86
- };
87
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
88
- "update:modelValue": (modelValue: ModelValue) => void;
89
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
90
- variant: {
91
- type: globalThis.PropType<"default" | "outlined" | "filled">;
92
- default: string;
93
- };
94
- color: {
95
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
96
- default: undefined;
97
- };
98
- label: {
99
- type: globalThis.PropType<string>;
100
- default: string;
101
- };
102
- data: {
103
- type: globalThis.PropType<Option[]>;
104
- required: true;
105
- };
106
- placeholder: {
107
- type: globalThis.PropType<string>;
108
- default: string;
109
- };
110
- disabled: {
111
- type: globalThis.PropType<boolean>;
112
- default: boolean;
113
- };
114
- errorMessages: {
115
- type: globalThis.PropType<string[]>;
116
- default: () => never[];
117
- };
118
- hint: {
119
- type: globalThis.PropType<string>;
120
- default: string;
121
- };
122
- modelValue: {
123
- type: globalThis.PropType<ModelValue>;
124
- required: true;
125
- };
126
- dense: {
127
- type: globalThis.PropType<boolean>;
128
- default: boolean;
129
- };
130
- textProp: {
131
- type: globalThis.PropType<string>;
132
- default: string;
133
- };
134
- keyProp: {
135
- type: globalThis.PropType<string>;
136
- default: string;
137
- };
138
- itemDisabledProp: {
139
- type: globalThis.PropType<string>;
140
- default: string;
141
- };
142
- nullable: {
143
- type: globalThis.PropType<boolean>;
144
- default: boolean;
145
- };
146
- searchQuery: {
147
- type: globalThis.PropType<string>;
148
- default: string;
149
- };
150
- searchProp: {
151
- type: globalThis.PropType<string>;
152
- default: string;
153
- };
154
- }>> & {
155
- "onUpdate:modelValue"?: ((modelValue: ModelValue) => any) | undefined;
156
- }, {
157
- variant: "default" | "outlined" | "filled";
158
- color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
159
- label: string;
160
- placeholder: string;
161
- disabled: boolean;
162
- errorMessages: string[];
163
- hint: string;
164
- dense: boolean;
165
- textProp: string;
166
- keyProp: string;
167
- itemDisabledProp: string;
168
- nullable: boolean;
169
- searchQuery: string;
170
- searchProp: string;
171
- }, {}>, {
172
- "no-data"?(_: {}): any;
173
- prefix?(_: {
174
- class: string;
175
- }): any;
176
- default?(_: {
177
- [x: string]: any;
178
- }): any;
179
- }>;
180
- export default _default;
181
- type __VLS_WithTemplateSlots<T, S> = T & {
182
- new (): {
183
- $slots: S;
184
- };
21
+ declare const _default: <T extends object>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
22
+ props: Props<T>;
23
+ expose(exposed: {}): void;
24
+ attrs: any;
25
+ slots: {
26
+ "no-data"?(_: {}): any;
27
+ prefix?(_: {
28
+ class: string;
29
+ item: T;
30
+ }): any;
31
+ default?(_: {
32
+ item: T;
33
+ }): any;
34
+ };
35
+ emit: (e: 'update:modelValue', modelValue: ModelValue<T>) => void;
36
+ }, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
37
+ props: Props<T>;
38
+ expose(exposed: {}): void;
39
+ attrs: any;
40
+ slots: {
41
+ "no-data"?(_: {}): any;
42
+ prefix?(_: {
43
+ class: string;
44
+ item: T;
45
+ }): any;
46
+ default?(_: {
47
+ item: T;
48
+ }): any;
49
+ };
50
+ emit: (e: 'update:modelValue', modelValue: ModelValue<T>) => void;
51
+ }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
52
+ [key: string]: any;
53
+ }> & {
54
+ __ctx?: {
55
+ props: Props<T>;
56
+ expose(exposed: {}): void;
57
+ attrs: any;
58
+ slots: {
59
+ "no-data"?(_: {}): any;
60
+ prefix?(_: {
61
+ class: string;
62
+ item: T;
63
+ }): any;
64
+ default?(_: {
65
+ item: T;
66
+ }): any;
67
+ };
68
+ emit: (e: 'update:modelValue', modelValue: ModelValue<T>) => void;
69
+ } | undefined;
185
70
  };
71
+ export default _default;
@@ -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;