@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
@@ -0,0 +1,37 @@
1
+ import { useWindowSize as d, breakpointsTailwind as l, useBreakpoints as w } from "@vueuse/core";
2
+ import { c as n } from "./index-x2urm9HD.js";
3
+ import { computed as _ } from "vue";
4
+ import { get as z } from "@vueuse/shared";
5
+ function E() {
6
+ const { width: m } = d(), i = {
7
+ xs: 0,
8
+ ...l
9
+ }, o = w(i), c = Object.keys, e = c(i), r = e.map(
10
+ (s, t) => [
11
+ s,
12
+ t < e.length - 1 ? o.between(s, e[t + 1]) : o[s]
13
+ ]
14
+ ), a = r.map(([s, t]) => [
15
+ n(`is_${s}`),
16
+ t
17
+ ]), p = e.map((s) => [
18
+ n(`is_${s}_and_up`),
19
+ o.greaterOrEqual(s)
20
+ ]), f = e.map((s) => [
21
+ n(`is_${s}_and_down`),
22
+ o.smaller(s)
23
+ ]), u = _(() => {
24
+ var s;
25
+ return ((s = r.find((t) => z(t[1]))) == null ? void 0 : s[0]) || "";
26
+ });
27
+ return {
28
+ ...Object.fromEntries(a),
29
+ ...Object.fromEntries(p),
30
+ ...Object.fromEntries(f),
31
+ name: u,
32
+ width: m
33
+ };
34
+ }
35
+ export {
36
+ E as u
37
+ };
@@ -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;
@@ -11,7 +11,7 @@ export interface Props<T = undefined> {
11
11
  size?: 'sm' | 'lg';
12
12
  tag?: 'button' | 'a';
13
13
  type?: 'button' | 'submit';
14
- value?: T;
14
+ modelValue?: T;
15
15
  }
16
16
  declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
17
17
  props: Props<T>;
@@ -22,7 +22,7 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
22
22
  default?(_: {}): any;
23
23
  append?(_: {}): any;
24
24
  };
25
- emit: (e: 'update:value', value?: T | undefined) => void;
25
+ emit: (e: 'update:model-value', value?: T) => void;
26
26
  }, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
27
27
  props: Props<T>;
28
28
  expose(exposed: {}): void;
@@ -32,7 +32,7 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
32
32
  default?(_: {}): any;
33
33
  append?(_: {}): any;
34
34
  };
35
- emit: (e: 'update:value', value?: T | undefined) => void;
35
+ emit: (e: 'update:model-value', value?: T) => void;
36
36
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
37
  [key: string]: any;
38
38
  }> & {
@@ -45,7 +45,7 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
45
45
  default?(_: {}): any;
46
46
  append?(_: {}): any;
47
47
  };
48
- emit: (e: 'update:value', value?: T | undefined) => void;
48
+ emit: (e: 'update:model-value', value?: T) => void;
49
49
  } | undefined;
50
50
  };
51
51
  export default _default;
@@ -15,13 +15,13 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
15
15
  expose(exposed: {}): void;
16
16
  attrs: any;
17
17
  slots: {};
18
- emit: (e: 'update:modelValue', modelValue: T | T[] | undefined) => void;
18
+ emit: (e: 'update:modelValue', modelValue?: T | T[]) => void;
19
19
  }, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
20
20
  props: Props<T>;
21
21
  expose(exposed: {}): void;
22
22
  attrs: any;
23
23
  slots: {};
24
- emit: (e: 'update:modelValue', modelValue: T | T[] | undefined) => void;
24
+ emit: (e: 'update:modelValue', modelValue?: T | T[]) => void;
25
25
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
26
  [key: string]: any;
27
27
  }> & {
@@ -30,7 +30,7 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
30
30
  expose(exposed: {}): void;
31
31
  attrs: any;
32
32
  slots: {};
33
- emit: (e: 'update:modelValue', modelValue: T | T[] | undefined) => void;
33
+ emit: (e: 'update:modelValue', modelValue?: T | T[]) => void;
34
34
  } | undefined;
35
35
  };
36
36
  export default _default;
@@ -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;