@rotki/ui-library 0.16.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 (82) 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-DAvEs_TA.js → breakpoint-OTAceaTK.js} +1 -1
  5. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +32 -45
  6. package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +25 -20
  7. package/dist/components/alerts/RuiAlert.vue.d.ts +37 -61
  8. package/dist/components/buttons/button/RuiButton.vue.d.ts +52 -9
  9. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +43 -9
  10. package/dist/components/cards/RuiCard.vue.d.ts +33 -52
  11. package/dist/components/cards/RuiCardHeader.vue.d.ts +22 -11
  12. package/dist/components/chips/RuiChip.vue.d.ts +43 -86
  13. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +15 -12
  14. package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +13 -10
  15. package/dist/components/color-picker/RuiColorHue.vue.d.ts +16 -10
  16. package/dist/components/color-picker/RuiColorInput.vue.d.ts +16 -10
  17. package/dist/components/color-picker/RuiColorPicker.vue.d.ts +23 -12
  18. package/dist/components/divider/RuiDivider.vue.d.ts +22 -11
  19. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +42 -85
  20. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +40 -85
  21. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +43 -86
  22. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +59 -144
  23. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +159 -46
  24. package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +27 -44
  25. package/dist/components/forms/slider/RuiSlider.vue.d.ts +61 -152
  26. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +40 -77
  27. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +67 -176
  28. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +60 -145
  29. package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +34 -27
  30. package/dist/components/icons/RuiIcon.vue.d.ts +24 -27
  31. package/dist/components/index.d.ts +4 -2
  32. package/dist/components/index.es.js +25 -23
  33. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +23 -12
  34. package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +26 -21
  35. package/dist/components/logos/RuiLogo.vue.d.ts +30 -43
  36. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +45 -94
  37. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +24 -31
  38. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +34 -53
  39. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +67 -142
  40. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +81 -0
  41. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +45 -0
  42. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +35 -60
  43. package/dist/components/progress/RuiProgress.vue.d.ts +37 -68
  44. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +30 -45
  45. package/dist/components/steppers/RuiStepper.vue.d.ts +36 -69
  46. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +28 -19
  47. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +28 -19
  48. package/dist/components/tables/RuiDataTable.vue.d.ts +253 -21
  49. package/dist/components/tables/RuiExpandButton.vue.d.ts +22 -19
  50. package/dist/components/tables/RuiTableHead.vue.d.ts +88 -21
  51. package/dist/components/tables/RuiTablePagination.vue.d.ts +27 -36
  52. package/dist/components/tabs/tab/RuiTab.vue.d.ts +55 -106
  53. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +30 -36
  54. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +22 -11
  55. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +36 -55
  56. package/dist/composables/dropdown-menu.d.ts +18 -6
  57. package/dist/composables/index.es.js +2 -2
  58. package/dist/composables/popper.d.ts +2 -0
  59. package/dist/composables/theme.d.ts +1 -1
  60. package/dist/icons/icons_1.d.ts +44 -44
  61. package/dist/icons/icons_1.es.js +987 -987
  62. package/dist/icons/icons_2.d.ts +60 -60
  63. package/dist/icons/icons_2.es.js +1121 -1121
  64. package/dist/icons/icons_3.d.ts +76 -76
  65. package/dist/icons/icons_3.es.js +1149 -1149
  66. package/dist/icons/icons_4.d.ts +96 -96
  67. package/dist/icons/icons_4.es.js +1193 -1193
  68. package/dist/icons/icons_5.d.ts +132 -132
  69. package/dist/icons/icons_5.es.js +1267 -1267
  70. package/dist/icons/icons_6.d.ts +156 -0
  71. package/dist/icons/icons_6.es.js +1099 -475
  72. package/dist/icons/index.d.ts +1 -1
  73. package/dist/icons/index.es.js +2840 -2684
  74. package/dist/index-NNlkUY_M.js +161 -0
  75. package/dist/index.es.js +2917 -2759
  76. package/dist/style.css +1 -1
  77. package/dist/utils/helpers.d.ts +9 -0
  78. package/package.json +31 -32
  79. package/dist/RuiColorPicker.vue_vue_type_script_setup_true_lang-ByCIjyQ_.js +0 -8945
  80. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +0 -71
  81. package/dist/components/forms/auto-complete/RuiAutoCompleteSelection.vue.d.ts +0 -30
  82. package/dist/index-RsNqSz2V.js +0 -177
@@ -23,199 +23,73 @@ export interface Props {
23
23
  rowHeight?: number | string;
24
24
  autoGrow?: boolean;
25
25
  }
26
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
27
- readonly: {
28
- type: globalThis.PropType<boolean>;
29
- default: boolean;
30
- };
31
- color: {
32
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
33
- default: undefined;
34
- };
35
- label: {
36
- type: globalThis.PropType<string>;
37
- default: string;
38
- };
39
- placeholder: {
40
- type: globalThis.PropType<string>;
41
- default: string;
42
- };
43
- value: {
44
- type: globalThis.PropType<string>;
45
- default: string;
46
- };
47
- variant: {
48
- type: globalThis.PropType<"default" | "outlined" | "filled">;
49
- default: string;
50
- };
51
- disabled: {
52
- type: globalThis.PropType<boolean>;
53
- default: boolean;
54
- };
55
- dense: {
56
- type: globalThis.PropType<boolean>;
57
- default: boolean;
58
- };
59
- textColor: {
60
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
61
- default: undefined;
62
- };
63
- errorMessages: {
64
- type: globalThis.PropType<string | string[]>;
65
- default: () => never[];
66
- };
67
- successMessages: {
68
- type: globalThis.PropType<string | string[]>;
69
- default: () => never[];
70
- };
71
- hint: {
72
- type: globalThis.PropType<string>;
73
- default: string;
74
- };
75
- hideDetails: {
76
- type: globalThis.PropType<boolean>;
77
- default: boolean;
78
- };
79
- prependIcon: {
80
- type: globalThis.PropType<RuiIcons>;
81
- default: undefined;
82
- };
83
- appendIcon: {
84
- type: globalThis.PropType<RuiIcons>;
85
- default: undefined;
86
- };
87
- clearable: {
88
- type: globalThis.PropType<boolean>;
89
- default: boolean;
90
- };
91
- noResize: {
92
- type: globalThis.PropType<boolean>;
93
- default: boolean;
94
- };
95
- minRows: {
96
- type: globalThis.PropType<string | number>;
97
- default: number;
98
- };
99
- maxRows: {
100
- type: globalThis.PropType<string | number>;
101
- default: undefined;
102
- };
103
- rowHeight: {
104
- type: globalThis.PropType<string | number>;
105
- default: number;
106
- };
107
- autoGrow: {
108
- type: globalThis.PropType<boolean>;
109
- default: boolean;
110
- };
111
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
27
+ value: string;
28
+ label: string;
29
+ placeholder: string;
30
+ disabled: boolean;
31
+ variant: string;
32
+ color: undefined;
33
+ textColor: undefined;
34
+ dense: boolean;
35
+ hint: string;
36
+ errorMessages: () => never[];
37
+ successMessages: () => never[];
38
+ hideDetails: boolean;
39
+ prependIcon: undefined;
40
+ appendIcon: undefined;
41
+ readonly: boolean;
42
+ clearable: boolean;
43
+ noResize: boolean;
44
+ minRows: number;
45
+ rowHeight: number;
46
+ maxRows: undefined;
47
+ autoGrow: boolean;
48
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
112
49
  input: (modelValue: string) => void;
113
50
  "click:clear": () => void;
114
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
115
- readonly: {
116
- type: globalThis.PropType<boolean>;
117
- default: boolean;
118
- };
119
- color: {
120
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
121
- default: undefined;
122
- };
123
- label: {
124
- type: globalThis.PropType<string>;
125
- default: string;
126
- };
127
- placeholder: {
128
- type: globalThis.PropType<string>;
129
- default: string;
130
- };
131
- value: {
132
- type: globalThis.PropType<string>;
133
- default: string;
134
- };
135
- variant: {
136
- type: globalThis.PropType<"default" | "outlined" | "filled">;
137
- default: string;
138
- };
139
- disabled: {
140
- type: globalThis.PropType<boolean>;
141
- default: boolean;
142
- };
143
- dense: {
144
- type: globalThis.PropType<boolean>;
145
- default: boolean;
146
- };
147
- textColor: {
148
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
149
- default: undefined;
150
- };
151
- errorMessages: {
152
- type: globalThis.PropType<string | string[]>;
153
- default: () => never[];
154
- };
155
- successMessages: {
156
- type: globalThis.PropType<string | string[]>;
157
- default: () => never[];
158
- };
159
- hint: {
160
- type: globalThis.PropType<string>;
161
- default: string;
162
- };
163
- hideDetails: {
164
- type: globalThis.PropType<boolean>;
165
- default: boolean;
166
- };
167
- prependIcon: {
168
- type: globalThis.PropType<RuiIcons>;
169
- default: undefined;
170
- };
171
- appendIcon: {
172
- type: globalThis.PropType<RuiIcons>;
173
- default: undefined;
174
- };
175
- clearable: {
176
- type: globalThis.PropType<boolean>;
177
- default: boolean;
178
- };
179
- noResize: {
180
- type: globalThis.PropType<boolean>;
181
- default: boolean;
182
- };
183
- minRows: {
184
- type: globalThis.PropType<string | number>;
185
- default: number;
186
- };
187
- maxRows: {
188
- type: globalThis.PropType<string | number>;
189
- default: undefined;
190
- };
191
- rowHeight: {
192
- type: globalThis.PropType<string | number>;
193
- default: number;
194
- };
195
- autoGrow: {
196
- type: globalThis.PropType<boolean>;
197
- default: boolean;
198
- };
199
- }>> & {
51
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
52
+ value: string;
53
+ label: string;
54
+ placeholder: string;
55
+ disabled: boolean;
56
+ variant: string;
57
+ color: undefined;
58
+ textColor: undefined;
59
+ dense: boolean;
60
+ hint: string;
61
+ errorMessages: () => never[];
62
+ successMessages: () => never[];
63
+ hideDetails: boolean;
64
+ prependIcon: undefined;
65
+ appendIcon: undefined;
66
+ readonly: boolean;
67
+ clearable: boolean;
68
+ noResize: boolean;
69
+ minRows: number;
70
+ rowHeight: number;
71
+ maxRows: undefined;
72
+ autoGrow: boolean;
73
+ }>>> & {
200
74
  onInput?: ((modelValue: string) => any) | undefined;
201
75
  "onClick:clear"?: (() => any) | undefined;
202
76
  }, {
77
+ value: string;
203
78
  readonly: boolean;
204
79
  color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
205
80
  label: string;
206
- placeholder: string;
207
- value: string;
208
81
  variant: "default" | "outlined" | "filled";
209
82
  disabled: boolean;
210
- dense: boolean;
211
83
  textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
84
+ dense: boolean;
212
85
  errorMessages: string | string[];
213
86
  successMessages: string | string[];
214
87
  hint: string;
88
+ clearable: boolean;
215
89
  hideDetails: boolean;
90
+ placeholder: string;
216
91
  prependIcon: RuiIcons;
217
92
  appendIcon: RuiIcons;
218
- clearable: boolean;
219
93
  noResize: boolean;
220
94
  minRows: string | number;
221
95
  maxRows: string | number;
@@ -226,8 +100,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
226
100
  append?(_: {}): any;
227
101
  }>;
228
102
  export default _default;
103
+ type __VLS_WithDefaults<P, D> = {
104
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
105
+ default: D[K];
106
+ }> : P[K];
107
+ };
108
+ type __VLS_Prettify<T> = {
109
+ [K in keyof T]: T[K];
110
+ } & {};
229
111
  type __VLS_WithTemplateSlots<T, S> = T & {
230
112
  new (): {
231
113
  $slots: S;
232
114
  };
233
115
  };
116
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
117
+ type __VLS_TypePropsToOption<T> = {
118
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
119
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
120
+ } : {
121
+ type: import('vue').PropType<T[K]>;
122
+ required: true;
123
+ };
124
+ };
@@ -19,151 +19,49 @@ export interface TextFieldProps {
19
19
  readonly?: boolean;
20
20
  clearable?: boolean;
21
21
  }
22
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
- readonly: {
24
- type: globalThis.PropType<boolean>;
25
- default: boolean;
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
- placeholder: {
36
- type: globalThis.PropType<string>;
37
- default: string;
38
- };
39
- modelValue: {
40
- type: globalThis.PropType<string>;
41
- default: string;
42
- };
43
- variant: {
44
- type: globalThis.PropType<"default" | "outlined" | "filled">;
45
- default: string;
46
- };
47
- disabled: {
48
- type: globalThis.PropType<boolean>;
49
- default: boolean;
50
- };
51
- dense: {
52
- type: globalThis.PropType<boolean>;
53
- default: boolean;
54
- };
55
- textColor: {
56
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
57
- default: undefined;
58
- };
59
- errorMessages: {
60
- type: globalThis.PropType<string | string[]>;
61
- default: () => never[];
62
- };
63
- successMessages: {
64
- type: globalThis.PropType<string | string[]>;
65
- default: () => never[];
66
- };
67
- hint: {
68
- type: globalThis.PropType<string>;
69
- default: string;
70
- };
71
- as: {
72
- type: globalThis.PropType<string | object>;
73
- default: string;
74
- };
75
- hideDetails: {
76
- type: globalThis.PropType<boolean>;
77
- default: boolean;
78
- };
79
- prependIcon: {
80
- type: globalThis.PropType<RuiIcons>;
81
- default: undefined;
82
- };
83
- appendIcon: {
84
- type: globalThis.PropType<RuiIcons>;
85
- default: undefined;
86
- };
87
- clearable: {
88
- type: globalThis.PropType<boolean>;
89
- default: boolean;
90
- };
91
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TextFieldProps>, {
23
+ modelValue: string;
24
+ label: string;
25
+ placeholder: string;
26
+ disabled: boolean;
27
+ variant: string;
28
+ color: undefined;
29
+ textColor: undefined;
30
+ dense: boolean;
31
+ hint: string;
32
+ as: string;
33
+ errorMessages: () => never[];
34
+ successMessages: () => never[];
35
+ hideDetails: boolean;
36
+ prependIcon: undefined;
37
+ appendIcon: undefined;
38
+ readonly: boolean;
39
+ clearable: boolean;
40
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
92
41
  "update:modelValue": (modelValue: string) => void;
93
42
  "focus-input": (event: Event) => void;
94
43
  blur: (event: Event) => void;
95
44
  remove: (value: unknown) => void;
96
45
  clear: () => void;
97
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
98
- readonly: {
99
- type: globalThis.PropType<boolean>;
100
- default: boolean;
101
- };
102
- color: {
103
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
104
- default: undefined;
105
- };
106
- label: {
107
- type: globalThis.PropType<string>;
108
- default: string;
109
- };
110
- placeholder: {
111
- type: globalThis.PropType<string>;
112
- default: string;
113
- };
114
- modelValue: {
115
- type: globalThis.PropType<string>;
116
- default: string;
117
- };
118
- variant: {
119
- type: globalThis.PropType<"default" | "outlined" | "filled">;
120
- default: string;
121
- };
122
- disabled: {
123
- type: globalThis.PropType<boolean>;
124
- default: boolean;
125
- };
126
- dense: {
127
- type: globalThis.PropType<boolean>;
128
- default: boolean;
129
- };
130
- textColor: {
131
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
132
- default: undefined;
133
- };
134
- errorMessages: {
135
- type: globalThis.PropType<string | string[]>;
136
- default: () => never[];
137
- };
138
- successMessages: {
139
- type: globalThis.PropType<string | string[]>;
140
- default: () => never[];
141
- };
142
- hint: {
143
- type: globalThis.PropType<string>;
144
- default: string;
145
- };
146
- as: {
147
- type: globalThis.PropType<string | object>;
148
- default: string;
149
- };
150
- hideDetails: {
151
- type: globalThis.PropType<boolean>;
152
- default: boolean;
153
- };
154
- prependIcon: {
155
- type: globalThis.PropType<RuiIcons>;
156
- default: undefined;
157
- };
158
- appendIcon: {
159
- type: globalThis.PropType<RuiIcons>;
160
- default: undefined;
161
- };
162
- clearable: {
163
- type: globalThis.PropType<boolean>;
164
- default: boolean;
165
- };
166
- }>> & {
46
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TextFieldProps>, {
47
+ modelValue: string;
48
+ label: string;
49
+ placeholder: string;
50
+ disabled: boolean;
51
+ variant: string;
52
+ color: undefined;
53
+ textColor: undefined;
54
+ dense: boolean;
55
+ hint: string;
56
+ as: string;
57
+ errorMessages: () => never[];
58
+ successMessages: () => never[];
59
+ hideDetails: boolean;
60
+ prependIcon: undefined;
61
+ appendIcon: undefined;
62
+ readonly: boolean;
63
+ clearable: boolean;
64
+ }>>> & {
167
65
  onBlur?: ((event: Event) => any) | undefined;
168
66
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
169
67
  onClear?: (() => any) | undefined;
@@ -173,27 +71,44 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
173
71
  readonly: boolean;
174
72
  color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
175
73
  label: string;
176
- placeholder: string;
177
- modelValue: string;
178
74
  variant: "default" | "outlined" | "filled";
179
75
  disabled: boolean;
180
- dense: boolean;
76
+ modelValue: string;
181
77
  textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
78
+ dense: boolean;
182
79
  errorMessages: string | string[];
183
80
  successMessages: string | string[];
184
81
  hint: string;
185
- as: string | object;
82
+ clearable: boolean;
186
83
  hideDetails: boolean;
84
+ placeholder: string;
187
85
  prependIcon: RuiIcons;
188
86
  appendIcon: RuiIcons;
189
- clearable: boolean;
87
+ as: string | object;
190
88
  }, {}>, {
191
89
  prepend?(_: {}): any;
192
90
  append?(_: {}): any;
193
91
  }>;
194
92
  export default _default;
93
+ type __VLS_WithDefaults<P, D> = {
94
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
95
+ default: D[K];
96
+ }> : P[K];
97
+ };
98
+ type __VLS_Prettify<T> = {
99
+ [K in keyof T]: T[K];
100
+ } & {};
195
101
  type __VLS_WithTemplateSlots<T, S> = T & {
196
102
  new (): {
197
103
  $slots: S;
198
104
  };
199
105
  };
106
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
107
+ type __VLS_TypePropsToOption<T> = {
108
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
109
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
110
+ } : {
111
+ type: import('vue').PropType<T[K]>;
112
+ required: true;
113
+ };
114
+ };
@@ -1,32 +1,39 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- errorMessages: {
3
- type: globalThis.PropType<string | string[]>;
4
- default: () => never[];
5
- };
6
- successMessages: {
7
- type: globalThis.PropType<string | string[]>;
8
- default: () => never[];
9
- };
10
- hint: {
11
- type: globalThis.PropType<string>;
12
- default: string;
13
- };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
- errorMessages: {
16
- type: globalThis.PropType<string | string[]>;
17
- default: () => never[];
18
- };
19
- successMessages: {
20
- type: globalThis.PropType<string | string[]>;
21
- default: () => never[];
22
- };
23
- hint: {
24
- type: globalThis.PropType<string>;
25
- default: string;
26
- };
27
- }>>, {
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ errorMessages?: string | string[] | undefined;
3
+ successMessages?: string | string[] | undefined;
4
+ hint?: string | undefined;
5
+ }>, {
6
+ errorMessages: () => never[];
7
+ successMessages: () => never[];
8
+ hint: string;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
10
+ errorMessages?: string | string[] | undefined;
11
+ successMessages?: string | string[] | undefined;
12
+ hint?: string | undefined;
13
+ }>, {
14
+ errorMessages: () => never[];
15
+ successMessages: () => never[];
16
+ hint: string;
17
+ }>>>, {
28
18
  errorMessages: string | string[];
29
19
  successMessages: string | string[];
30
20
  hint: string;
31
21
  }, {}>;
32
22
  export default _default;
23
+ type __VLS_WithDefaults<P, D> = {
24
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
+ default: D[K];
26
+ }> : P[K];
27
+ };
28
+ type __VLS_Prettify<T> = {
29
+ [K in keyof T]: T[K];
30
+ } & {};
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToOption<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
@@ -5,34 +5,31 @@ export interface Props {
5
5
  size?: number | string;
6
6
  color?: ContextColorsType;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<{
9
- name: {
10
- type: globalThis.PropType<RuiIcons>;
11
- required: true;
12
- };
13
- size: {
14
- type: globalThis.PropType<string | number>;
15
- default: number;
16
- };
17
- color: {
18
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
19
- default: undefined;
20
- };
21
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
22
- name: {
23
- type: globalThis.PropType<RuiIcons>;
24
- required: true;
25
- };
26
- size: {
27
- type: globalThis.PropType<string | number>;
28
- default: number;
29
- };
30
- color: {
31
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
32
- default: undefined;
33
- };
34
- }>>, {
8
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
+ size: number;
10
+ color: undefined;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
12
+ size: number;
13
+ color: undefined;
14
+ }>>>, {
35
15
  size: string | number;
36
16
  color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
37
17
  }, {}>;
38
18
  export default _default;
19
+ type __VLS_WithDefaults<P, D> = {
20
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
21
+ default: D[K];
22
+ }> : P[K];
23
+ };
24
+ type __VLS_Prettify<T> = {
25
+ [K in keyof T]: T[K];
26
+ } & {};
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToOption<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
@@ -1,5 +1,5 @@
1
1
  import RuiAlert, { type Props as AlertProps } from '../components/alerts/RuiAlert.vue';
2
- import RuiAutoComplete, { type Props as AutoCompleteProps } from '../components/forms/auto-complete/RuiAutoComplete.vue';
2
+ import RuiAutoComplete, { type AutoCompleteProps } from '@/components/forms/auto-complete/RuiAutoComplete.vue';
3
3
  import RuiButton, { type Props as ButtonProps } from '../components/buttons/button/RuiButton.vue';
4
4
  import RuiButtonGroup, { type Props as ButtonGroupProps } from '../components/buttons/button-group/RuiButtonGroup.vue';
5
5
  import RuiIcon, { type Props as IconProps } from '../components/icons/RuiIcon.vue';
@@ -37,5 +37,7 @@ import RuiAccordions, { type Props as AccordionsProps } from '../components/acco
37
37
  import RuiAccordion, { type AccordionProps } from '../components/accordions/accordion/RuiAccordion.vue';
38
38
  import RuiBottomSheet, { type BottomSheetProps } from '../components/overlays/bottom-sheet/RuiBottomSheet.vue';
39
39
  import RuiColorPicker, { type Props as ColorPickerProps } from '../components/color-picker/RuiColorPicker.vue';
40
+ import RuiNotification, { type NotificationProps } from '../components/overlays/notification/RuiNotification.vue';
41
+ import RuiNavigationDrawer, { type NavigationDrawerProps } from '../components/overlays/navigation-drawer/RuiNavigationDrawer.vue';
40
42
  import type { TableColumn as DataTableColumn, GroupKeys as DataTableGroupKeys, SortColumn as DataTableSortColumn, TableSortData as DataTableSortData } from '../components/tables/RuiTableHead.vue';
41
- export { RuiAlert, RuiAutoComplete, RuiBadge, RuiButton, RuiButtonGroup, RuiCheckbox, RuiChip, RuiFooterStepper, RuiIcon, RuiLogo, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiStepper, RuiSwitch, RuiTextField, RuiTooltip, RuiMenu, RuiDataTable, RuiSimpleSelect, RuiDialog, RuiCard, RuiCardHeader, RuiTabs, RuiTab, RuiTabItems, RuiTabItem, RuiTablePagination, RuiSkeletonLoader, RuiTextArea, RuiDivider, RuiTableRowExpander, RuiMenuSelect, RuiSlider, RuiAccordions, RuiAccordion, RuiBottomSheet, RuiColorPicker, AutoCompleteProps, ChipProps, TooltipProps, MenuProps, SimpleSelectProps, DataTableProps, DataTableColumn, DataTableSortColumn, DataTableOptions, TablePaginationData, DialogProps, ButtonProps, ButtonGroupProps, CardProps, CardHeaderProps, BadgeProps, AlertProps, CheckboxProps, SwitchProps, ProgressProps, RadioGroupProps, RadioProps, LogoProps, StepperProps, TextFieldProps, IconProps, FooterStepperProps, TabsProps, TabProps, TabItemsProps, TabItemProps, TablePaginationProps, RevealableTextFieldProps, SkeletonLoaderProps, DividerProps, TextAreaProps, ExpandButtonProps, DataTableSortData, DataTableGroupKeys, MenuSelectProps, SliderProps, AccordionsProps, AccordionProps, BottomSheetProps, ColorPickerProps, };
43
+ export { RuiAlert, RuiAutoComplete, RuiBadge, RuiButton, RuiButtonGroup, RuiCheckbox, RuiChip, RuiFooterStepper, RuiIcon, RuiLogo, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiStepper, RuiSwitch, RuiTextField, RuiTooltip, RuiMenu, RuiDataTable, RuiSimpleSelect, RuiDialog, RuiCard, RuiCardHeader, RuiTabs, RuiTab, RuiTabItems, RuiTabItem, RuiTablePagination, RuiSkeletonLoader, RuiTextArea, RuiDivider, RuiTableRowExpander, RuiMenuSelect, RuiSlider, RuiAccordions, RuiAccordion, RuiBottomSheet, RuiColorPicker, RuiNavigationDrawer, RuiNotification, AutoCompleteProps, ChipProps, TooltipProps, MenuProps, SimpleSelectProps, DataTableProps, DataTableColumn, DataTableSortColumn, DataTableOptions, TablePaginationData, DialogProps, ButtonProps, ButtonGroupProps, CardProps, CardHeaderProps, BadgeProps, AlertProps, CheckboxProps, SwitchProps, ProgressProps, RadioGroupProps, RadioProps, LogoProps, StepperProps, TextFieldProps, IconProps, FooterStepperProps, TabsProps, TabProps, TabItemsProps, TabItemProps, TablePaginationProps, RevealableTextFieldProps, SkeletonLoaderProps, DividerProps, TextAreaProps, ExpandButtonProps, DataTableSortData, DataTableGroupKeys, MenuSelectProps, SliderProps, AccordionsProps, AccordionProps, BottomSheetProps, ColorPickerProps, NavigationDrawerProps, NotificationProps, };