@rotki/ui-library 0.15.0 → 1.0.0-beta.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.
Files changed (124) hide show
  1. package/README.md +3 -3
  2. package/dist/RuiNavigationDrawer-By3iqC3V.js +7822 -0
  3. package/dist/__test__/options.d.ts +5 -0
  4. package/dist/{breakpoint-CRvqq4aP.js → breakpoint-OTAceaTK.js} +1 -1
  5. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +58 -0
  6. package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +36 -0
  7. package/dist/components/alerts/RuiAlert.vue.d.ts +69 -0
  8. package/dist/components/buttons/button/RuiButton.vue.d.ts +94 -0
  9. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +70 -0
  10. package/dist/components/cards/RuiCard.vue.d.ts +61 -0
  11. package/dist/components/cards/RuiCardHeader.vue.d.ts +37 -0
  12. package/dist/components/chips/RuiChip.vue.d.ts +80 -0
  13. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +26 -0
  14. package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +15 -0
  15. package/dist/components/color-picker/RuiColorHue.vue.d.ts +18 -0
  16. package/dist/components/color-picker/RuiColorInput.vue.d.ts +19 -0
  17. package/dist/components/color-picker/RuiColorPicker.vue.d.ts +32 -0
  18. package/dist/components/color-picker/utils.d.ts +44 -0
  19. package/dist/components/divider/RuiDivider.vue.d.ts +28 -0
  20. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +78 -0
  21. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +73 -0
  22. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +69 -0
  23. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +84 -0
  24. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +160 -49
  25. package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +42 -0
  26. package/dist/components/forms/slider/RuiSlider.vue.d.ts +101 -0
  27. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +72 -0
  28. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +124 -0
  29. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +114 -0
  30. package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +39 -0
  31. package/dist/components/icons/RuiIcon.vue.d.ts +35 -0
  32. package/dist/components/index.d.ts +43 -39
  33. package/dist/components/index.es.js +35 -31
  34. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +28 -0
  35. package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +32 -0
  36. package/dist/components/logos/RuiLogo.vue.d.ts +52 -0
  37. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +79 -0
  38. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +39 -0
  39. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +68 -0
  40. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +116 -0
  41. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +81 -0
  42. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +45 -0
  43. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +63 -0
  44. package/dist/components/progress/RuiProgress.vue.d.ts +71 -0
  45. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +45 -0
  46. package/dist/components/steppers/RuiStepper.vue.d.ts +64 -0
  47. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +32 -0
  48. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +32 -0
  49. package/dist/components/tables/RuiDataTable.vue.d.ts +512 -0
  50. package/dist/components/tables/RuiExpandButton.vue.d.ts +37 -0
  51. package/dist/components/tables/RuiTableHead.vue.d.ts +194 -0
  52. package/dist/components/tables/RuiTablePagination.vue.d.ts +47 -0
  53. package/dist/components/tabs/tab/RuiTab.vue.d.ts +90 -0
  54. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +48 -0
  55. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +28 -0
  56. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +53 -0
  57. package/dist/composables/dropdown-menu.d.ts +18 -6
  58. package/dist/composables/index.es.js +2 -2
  59. package/dist/composables/popper.d.ts +2 -0
  60. package/dist/composables/theme.d.ts +1 -1
  61. package/dist/consts/typography.d.ts +1 -2
  62. package/dist/icons/icons_1.d.ts +44 -44
  63. package/dist/icons/icons_1.es.js +987 -987
  64. package/dist/icons/icons_2.d.ts +60 -60
  65. package/dist/icons/icons_2.es.js +1121 -1121
  66. package/dist/icons/icons_3.d.ts +76 -76
  67. package/dist/icons/icons_3.es.js +1149 -1149
  68. package/dist/icons/icons_4.d.ts +96 -96
  69. package/dist/icons/icons_4.es.js +1193 -1193
  70. package/dist/icons/icons_5.d.ts +132 -132
  71. package/dist/icons/icons_5.es.js +1267 -1267
  72. package/dist/icons/icons_6.d.ts +156 -0
  73. package/dist/icons/icons_6.es.js +1099 -475
  74. package/dist/icons/index.d.ts +1 -1
  75. package/dist/icons/index.es.js +2840 -2684
  76. package/dist/index-NNlkUY_M.js +161 -0
  77. package/dist/index.es.js +2921 -2761
  78. package/dist/style.css +1 -1
  79. package/dist/utils/helpers.d.ts +9 -0
  80. package/package.json +45 -48
  81. package/dist/Accordion-BFcz_iFc.js +0 -8386
  82. package/dist/components/accordions/accordion/Accordion.vue.d.ts +0 -71
  83. package/dist/components/accordions/accordions/Accordions.vue.d.ts +0 -31
  84. package/dist/components/alerts/Alert.vue.d.ts +0 -93
  85. package/dist/components/buttons/button/Button.vue.d.ts +0 -51
  86. package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +0 -36
  87. package/dist/components/cards/Card.vue.d.ts +0 -80
  88. package/dist/components/cards/CardHeader.vue.d.ts +0 -26
  89. package/dist/components/chips/Chip.vue.d.ts +0 -123
  90. package/dist/components/divider/Divider.vue.d.ts +0 -17
  91. package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +0 -71
  92. package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +0 -30
  93. package/dist/components/forms/checkbox/Checkbox.vue.d.ts +0 -121
  94. package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +0 -118
  95. package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +0 -112
  96. package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +0 -169
  97. package/dist/components/forms/select/SimpleSelect.vue.d.ts +0 -59
  98. package/dist/components/forms/slider/Slider.vue.d.ts +0 -192
  99. package/dist/components/forms/switch/Switch.vue.d.ts +0 -109
  100. package/dist/components/forms/text-area/TextArea.vue.d.ts +0 -233
  101. package/dist/components/forms/text-field/TextField.vue.d.ts +0 -199
  102. package/dist/components/helpers/FormTextDetail.vue.d.ts +0 -32
  103. package/dist/components/icons/Icon.vue.d.ts +0 -38
  104. package/dist/components/loaders/Skeleton.vue.d.ts +0 -27
  105. package/dist/components/loaders/SkeletonBase.vue.d.ts +0 -17
  106. package/dist/components/logos/Logo.vue.d.ts +0 -65
  107. package/dist/components/overlays/badge/Badge.vue.d.ts +0 -128
  108. package/dist/components/overlays/dialog/Dialog.vue.d.ts +0 -60
  109. package/dist/components/overlays/menu/Menu.vue.d.ts +0 -191
  110. package/dist/components/overlays/tooltip/Tooltip.vue.d.ts +0 -88
  111. package/dist/components/progress/Progress.vue.d.ts +0 -102
  112. package/dist/components/steppers/FooterStepper.vue.d.ts +0 -50
  113. package/dist/components/steppers/Stepper.vue.d.ts +0 -97
  114. package/dist/components/steppers/StepperCustomIcon.vue.d.ts +0 -23
  115. package/dist/components/steppers/StepperIcon.vue.d.ts +0 -23
  116. package/dist/components/tables/DataTable.vue.d.ts +0 -279
  117. package/dist/components/tables/ExpandButton.vue.d.ts +0 -34
  118. package/dist/components/tables/TableHead.vue.d.ts +0 -127
  119. package/dist/components/tables/TablePagination.vue.d.ts +0 -56
  120. package/dist/components/tabs/tab/Tab.vue.d.ts +0 -141
  121. package/dist/components/tabs/tab-item/TabItem.vue.d.ts +0 -54
  122. package/dist/components/tabs/tab-items/TabItems.vue.d.ts +0 -17
  123. package/dist/components/tabs/tabs/Tabs.vue.d.ts +0 -72
  124. package/dist/index-x2urm9HD.js +0 -176
@@ -1,121 +0,0 @@
1
- import type { ContextColorsType } from '../../../consts/colors';
2
- export interface Props {
3
- modelValue?: boolean;
4
- indeterminate?: boolean;
5
- disabled?: boolean;
6
- color?: ContextColorsType;
7
- size?: 'sm' | 'lg';
8
- label?: string;
9
- hint?: string;
10
- errorMessages?: string | string[];
11
- successMessages?: string | string[];
12
- hideDetails?: boolean;
13
- }
14
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
- size: {
16
- type: globalThis.PropType<"sm" | "lg">;
17
- default: undefined;
18
- };
19
- indeterminate: {
20
- type: globalThis.PropType<boolean>;
21
- default: boolean;
22
- };
23
- color: {
24
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
25
- default: undefined;
26
- };
27
- label: {
28
- type: globalThis.PropType<string>;
29
- default: string;
30
- };
31
- disabled: {
32
- type: globalThis.PropType<boolean>;
33
- default: boolean;
34
- };
35
- modelValue: {
36
- type: globalThis.PropType<boolean>;
37
- default: boolean;
38
- };
39
- errorMessages: {
40
- type: globalThis.PropType<string | string[]>;
41
- default: () => never[];
42
- };
43
- successMessages: {
44
- type: globalThis.PropType<string | string[]>;
45
- default: () => never[];
46
- };
47
- hint: {
48
- type: globalThis.PropType<string>;
49
- default: string;
50
- };
51
- hideDetails: {
52
- type: globalThis.PropType<boolean>;
53
- default: boolean;
54
- };
55
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
- "update:modelValue": (modelValue: boolean) => void;
57
- "update:indeterminate": (indeterminate: boolean) => void;
58
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
59
- size: {
60
- type: globalThis.PropType<"sm" | "lg">;
61
- default: undefined;
62
- };
63
- indeterminate: {
64
- type: globalThis.PropType<boolean>;
65
- default: boolean;
66
- };
67
- color: {
68
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
69
- default: undefined;
70
- };
71
- label: {
72
- type: globalThis.PropType<string>;
73
- default: string;
74
- };
75
- disabled: {
76
- type: globalThis.PropType<boolean>;
77
- default: boolean;
78
- };
79
- modelValue: {
80
- type: globalThis.PropType<boolean>;
81
- default: boolean;
82
- };
83
- errorMessages: {
84
- type: globalThis.PropType<string | string[]>;
85
- default: () => never[];
86
- };
87
- successMessages: {
88
- type: globalThis.PropType<string | string[]>;
89
- default: () => never[];
90
- };
91
- hint: {
92
- type: globalThis.PropType<string>;
93
- default: string;
94
- };
95
- hideDetails: {
96
- type: globalThis.PropType<boolean>;
97
- default: boolean;
98
- };
99
- }>> & {
100
- "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
101
- "onUpdate:indeterminate"?: ((indeterminate: boolean) => any) | undefined;
102
- }, {
103
- size: "sm" | "lg";
104
- indeterminate: boolean;
105
- color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
106
- label: string;
107
- disabled: boolean;
108
- modelValue: boolean;
109
- errorMessages: string | string[];
110
- successMessages: string | string[];
111
- hint: string;
112
- hideDetails: boolean;
113
- }, {}>, {
114
- default?(_: {}): any;
115
- }>;
116
- export default _default;
117
- type __VLS_WithTemplateSlots<T, S> = T & {
118
- new (): {
119
- $slots: S;
120
- };
121
- };
@@ -1,118 +0,0 @@
1
- import type { ContextColorsType } from '../../../../consts/colors';
2
- export interface RadioProps {
3
- value: string;
4
- modelValue?: string;
5
- disabled?: boolean;
6
- color?: ContextColorsType;
7
- size?: 'sm' | 'lg';
8
- label?: string;
9
- hint?: string;
10
- errorMessages?: string | string[];
11
- successMessages?: string | string[];
12
- hideDetails?: boolean;
13
- }
14
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
- size: {
16
- type: globalThis.PropType<"sm" | "lg">;
17
- default: undefined;
18
- };
19
- value: {
20
- type: globalThis.PropType<string>;
21
- required: true;
22
- };
23
- color: {
24
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
25
- default: undefined;
26
- };
27
- label: {
28
- type: globalThis.PropType<string>;
29
- default: string;
30
- };
31
- disabled: {
32
- type: globalThis.PropType<boolean>;
33
- default: boolean;
34
- };
35
- modelValue: {
36
- type: globalThis.PropType<string>;
37
- default: string;
38
- };
39
- errorMessages: {
40
- type: globalThis.PropType<string | string[]>;
41
- default: () => never[];
42
- };
43
- successMessages: {
44
- type: globalThis.PropType<string | string[]>;
45
- default: () => never[];
46
- };
47
- hint: {
48
- type: globalThis.PropType<string>;
49
- default: string;
50
- };
51
- hideDetails: {
52
- type: globalThis.PropType<boolean>;
53
- default: boolean;
54
- };
55
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
- "update:modelValue": (modelValue: string) => void;
57
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
58
- size: {
59
- type: globalThis.PropType<"sm" | "lg">;
60
- default: undefined;
61
- };
62
- value: {
63
- type: globalThis.PropType<string>;
64
- required: true;
65
- };
66
- color: {
67
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
68
- default: undefined;
69
- };
70
- label: {
71
- type: globalThis.PropType<string>;
72
- default: string;
73
- };
74
- disabled: {
75
- type: globalThis.PropType<boolean>;
76
- default: boolean;
77
- };
78
- modelValue: {
79
- type: globalThis.PropType<string>;
80
- default: string;
81
- };
82
- errorMessages: {
83
- type: globalThis.PropType<string | string[]>;
84
- default: () => never[];
85
- };
86
- successMessages: {
87
- type: globalThis.PropType<string | string[]>;
88
- default: () => never[];
89
- };
90
- hint: {
91
- type: globalThis.PropType<string>;
92
- default: string;
93
- };
94
- hideDetails: {
95
- type: globalThis.PropType<boolean>;
96
- default: boolean;
97
- };
98
- }>> & {
99
- "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
100
- }, {
101
- size: "sm" | "lg";
102
- color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
103
- label: string;
104
- disabled: boolean;
105
- modelValue: string;
106
- errorMessages: string | string[];
107
- successMessages: string | string[];
108
- hint: string;
109
- hideDetails: boolean;
110
- }, {}>, {
111
- default?(_: {}): any;
112
- }>;
113
- export default _default;
114
- type __VLS_WithTemplateSlots<T, S> = T & {
115
- new (): {
116
- $slots: S;
117
- };
118
- };
@@ -1,112 +0,0 @@
1
- import type { ContextColorsType } from '~/src';
2
- export interface Props {
3
- modelValue?: string;
4
- inline?: boolean;
5
- label?: string;
6
- hint?: string;
7
- errorMessages?: string | string[];
8
- successMessages?: string | string[];
9
- hideDetails?: boolean;
10
- disabled?: boolean;
11
- color?: ContextColorsType;
12
- size?: 'sm' | 'lg';
13
- }
14
- declare const _default: import("vue").DefineComponent<{
15
- size: {
16
- type: globalThis.PropType<"sm" | "lg">;
17
- default: undefined;
18
- };
19
- color: {
20
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
21
- default: undefined;
22
- };
23
- label: {
24
- type: globalThis.PropType<string>;
25
- default: string;
26
- };
27
- disabled: {
28
- type: globalThis.PropType<boolean>;
29
- default: boolean;
30
- };
31
- modelValue: {
32
- type: globalThis.PropType<string>;
33
- default: string;
34
- };
35
- errorMessages: {
36
- type: globalThis.PropType<string | string[]>;
37
- default: () => never[];
38
- };
39
- successMessages: {
40
- type: globalThis.PropType<string | string[]>;
41
- default: () => never[];
42
- };
43
- hint: {
44
- type: globalThis.PropType<string>;
45
- default: string;
46
- };
47
- hideDetails: {
48
- type: globalThis.PropType<boolean>;
49
- default: boolean;
50
- };
51
- inline: {
52
- type: globalThis.PropType<boolean>;
53
- default: boolean;
54
- };
55
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
- "update:modelValue": (value: string) => void;
57
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
58
- size: {
59
- type: globalThis.PropType<"sm" | "lg">;
60
- default: undefined;
61
- };
62
- color: {
63
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
64
- default: undefined;
65
- };
66
- label: {
67
- type: globalThis.PropType<string>;
68
- default: string;
69
- };
70
- disabled: {
71
- type: globalThis.PropType<boolean>;
72
- default: boolean;
73
- };
74
- modelValue: {
75
- type: globalThis.PropType<string>;
76
- default: string;
77
- };
78
- errorMessages: {
79
- type: globalThis.PropType<string | string[]>;
80
- default: () => never[];
81
- };
82
- successMessages: {
83
- type: globalThis.PropType<string | string[]>;
84
- default: () => never[];
85
- };
86
- hint: {
87
- type: globalThis.PropType<string>;
88
- default: string;
89
- };
90
- hideDetails: {
91
- type: globalThis.PropType<boolean>;
92
- default: boolean;
93
- };
94
- inline: {
95
- type: globalThis.PropType<boolean>;
96
- default: boolean;
97
- };
98
- }>> & {
99
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
100
- }, {
101
- size: "sm" | "lg";
102
- color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
103
- label: string;
104
- disabled: boolean;
105
- modelValue: string;
106
- errorMessages: string | string[];
107
- successMessages: string | string[];
108
- hint: string;
109
- hideDetails: boolean;
110
- inline: boolean;
111
- }, {}>;
112
- export default _default;
@@ -1,169 +0,0 @@
1
- import { type TextFieldProps } from '../../../components/forms/text-field/TextField.vue';
2
- export interface Props extends TextFieldProps {
3
- }
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
- readonly: {
6
- type: globalThis.PropType<boolean>;
7
- default: boolean;
8
- };
9
- variant: {
10
- type: globalThis.PropType<"default" | "outlined" | "filled">;
11
- default: string;
12
- };
13
- color: {
14
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
15
- default: undefined;
16
- };
17
- label: {
18
- type: globalThis.PropType<string>;
19
- default: string;
20
- };
21
- placeholder: {
22
- type: globalThis.PropType<string>;
23
- default: string;
24
- };
25
- disabled: {
26
- type: globalThis.PropType<boolean>;
27
- default: boolean;
28
- };
29
- modelValue: {
30
- type: globalThis.PropType<string>;
31
- default: string;
32
- };
33
- errorMessages: {
34
- type: globalThis.PropType<string | string[]>;
35
- default: () => never[];
36
- };
37
- successMessages: {
38
- type: globalThis.PropType<string | string[]>;
39
- default: () => never[];
40
- };
41
- hint: {
42
- type: globalThis.PropType<string>;
43
- default: string;
44
- };
45
- textColor: {
46
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
47
- default: undefined;
48
- };
49
- dense: {
50
- type: globalThis.PropType<boolean>;
51
- default: boolean;
52
- };
53
- as: {
54
- type: globalThis.PropType<string | object>;
55
- default: undefined;
56
- };
57
- hideDetails: {
58
- type: globalThis.PropType<boolean>;
59
- default: boolean;
60
- };
61
- prependIcon: {
62
- type: globalThis.PropType<import("../../..").RuiIcons>;
63
- default: undefined;
64
- };
65
- appendIcon: {
66
- type: globalThis.PropType<import("../../..").RuiIcons>;
67
- default: undefined;
68
- };
69
- clearable: {
70
- type: globalThis.PropType<boolean>;
71
- default: boolean;
72
- };
73
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
74
- readonly: {
75
- type: globalThis.PropType<boolean>;
76
- default: boolean;
77
- };
78
- variant: {
79
- type: globalThis.PropType<"default" | "outlined" | "filled">;
80
- default: string;
81
- };
82
- color: {
83
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
84
- default: undefined;
85
- };
86
- label: {
87
- type: globalThis.PropType<string>;
88
- default: string;
89
- };
90
- placeholder: {
91
- type: globalThis.PropType<string>;
92
- default: string;
93
- };
94
- disabled: {
95
- type: globalThis.PropType<boolean>;
96
- default: boolean;
97
- };
98
- modelValue: {
99
- type: globalThis.PropType<string>;
100
- default: string;
101
- };
102
- errorMessages: {
103
- type: globalThis.PropType<string | string[]>;
104
- default: () => never[];
105
- };
106
- successMessages: {
107
- type: globalThis.PropType<string | string[]>;
108
- default: () => never[];
109
- };
110
- hint: {
111
- type: globalThis.PropType<string>;
112
- default: string;
113
- };
114
- textColor: {
115
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
116
- default: undefined;
117
- };
118
- dense: {
119
- type: globalThis.PropType<boolean>;
120
- default: boolean;
121
- };
122
- as: {
123
- type: globalThis.PropType<string | object>;
124
- default: undefined;
125
- };
126
- hideDetails: {
127
- type: globalThis.PropType<boolean>;
128
- default: boolean;
129
- };
130
- prependIcon: {
131
- type: globalThis.PropType<import("../../..").RuiIcons>;
132
- default: undefined;
133
- };
134
- appendIcon: {
135
- type: globalThis.PropType<import("../../..").RuiIcons>;
136
- default: undefined;
137
- };
138
- clearable: {
139
- type: globalThis.PropType<boolean>;
140
- default: boolean;
141
- };
142
- }>>, {
143
- readonly: boolean;
144
- variant: "default" | "outlined" | "filled";
145
- color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
146
- label: string;
147
- placeholder: string;
148
- disabled: boolean;
149
- modelValue: string;
150
- errorMessages: string | string[];
151
- successMessages: string | string[];
152
- hint: string;
153
- textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
154
- dense: boolean;
155
- as: string | object;
156
- hideDetails: boolean;
157
- prependIcon: import("../../..").RuiIcons;
158
- appendIcon: import("../../..").RuiIcons;
159
- clearable: boolean;
160
- }, {}>, {
161
- prepend?(_: {}): any;
162
- append?(_: {}): any;
163
- }>;
164
- export default _default;
165
- type __VLS_WithTemplateSlots<T, S> = T & {
166
- new (): {
167
- $slots: S;
168
- };
169
- };
@@ -1,59 +0,0 @@
1
- export interface Props {
2
- modelValue: string | number;
3
- options: string[] | number[];
4
- disabled?: boolean;
5
- name?: string;
6
- variant?: 'default' | 'outlined';
7
- }
8
- declare const _default: import("vue").DefineComponent<{
9
- name: {
10
- type: globalThis.PropType<string>;
11
- default: string;
12
- };
13
- variant: {
14
- type: globalThis.PropType<"default" | "outlined">;
15
- default: string;
16
- };
17
- disabled: {
18
- type: globalThis.PropType<boolean>;
19
- default: boolean;
20
- };
21
- modelValue: {
22
- type: globalThis.PropType<string | number>;
23
- required: true;
24
- };
25
- options: {
26
- type: globalThis.PropType<string[] | number[]>;
27
- required: true;
28
- };
29
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
- "update:model-value": (value?: string | number | undefined) => void;
31
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
32
- name: {
33
- type: globalThis.PropType<string>;
34
- default: string;
35
- };
36
- variant: {
37
- type: globalThis.PropType<"default" | "outlined">;
38
- default: string;
39
- };
40
- disabled: {
41
- type: globalThis.PropType<boolean>;
42
- default: boolean;
43
- };
44
- modelValue: {
45
- type: globalThis.PropType<string | number>;
46
- required: true;
47
- };
48
- options: {
49
- type: globalThis.PropType<string[] | number[]>;
50
- required: true;
51
- };
52
- }>> & {
53
- "onUpdate:model-value"?: ((value?: string | number | undefined) => any) | undefined;
54
- }, {
55
- name: string;
56
- variant: "default" | "outlined";
57
- disabled: boolean;
58
- }, {}>;
59
- export default _default;