@rotki/ui-library 0.16.0 → 1.0.0-beta.10

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 (83) hide show
  1. package/README.md +3 -3
  2. package/dist/RuiNavigationDrawer-CCbOjbr3.js +7903 -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 +44 -87
  13. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +17 -14
  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 +61 -146
  23. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +172 -59
  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 +72 -181
  28. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +62 -147
  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 +46 -95
  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 +23 -20
  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 +63 -110
  53. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +30 -36
  54. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +35 -15
  55. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +36 -55
  56. package/dist/composables/dropdown-menu.d.ts +34 -11
  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 +3 -1
  73. package/dist/icons/index.es.js +2903 -2741
  74. package/dist/index-NNlkUY_M.js +161 -0
  75. package/dist/index.es.js +2934 -2773
  76. package/dist/style.css +1 -1
  77. package/dist/utils/helpers.d.ts +9 -0
  78. package/dist/utils/is-equal.d.ts +1 -0
  79. package/package.json +37 -38
  80. package/dist/RuiColorPicker.vue_vue_type_script_setup_true_lang-ByCIjyQ_.js +0 -8945
  81. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +0 -71
  82. package/dist/components/forms/auto-complete/RuiAutoCompleteSelection.vue.d.ts +0 -30
  83. package/dist/index-RsNqSz2V.js +0 -177
@@ -1,21 +1,32 @@
1
1
  export interface Props {
2
2
  modelValue?: string;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<{
5
- modelValue: {
6
- type: globalThis.PropType<string>;
7
- default: string;
8
- };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
5
+ modelValue: string;
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
7
  "update:model-value": (value: string) => void;
11
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
12
- modelValue: {
13
- type: globalThis.PropType<string>;
14
- default: string;
15
- };
16
- }>> & {
8
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
+ modelValue: string;
10
+ }>>> & {
17
11
  "onUpdate:model-value"?: ((value: string) => any) | undefined;
18
12
  }, {
19
13
  modelValue: string;
20
14
  }, {}>;
21
15
  export default _default;
16
+ type __VLS_WithDefaults<P, D> = {
17
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
18
+ default: D[K];
19
+ }> : P[K];
20
+ };
21
+ type __VLS_Prettify<T> = {
22
+ [K in keyof T]: T[K];
23
+ } & {};
24
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
+ type __VLS_TypePropsToOption<T> = {
26
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
27
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
+ } : {
29
+ type: import('vue').PropType<T[K]>;
30
+ required: true;
31
+ };
32
+ };
@@ -1,17 +1,28 @@
1
1
  export interface Props {
2
2
  vertical?: boolean;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<{
5
- vertical: {
6
- type: globalThis.PropType<boolean>;
7
- default: boolean;
8
- };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
- vertical: {
11
- type: globalThis.PropType<boolean>;
12
- default: boolean;
13
- };
14
- }>>, {
4
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
5
+ vertical: boolean;
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
+ vertical: boolean;
8
+ }>>>, {
15
9
  vertical: boolean;
16
10
  }, {}>;
17
11
  export default _default;
12
+ type __VLS_WithDefaults<P, D> = {
13
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
14
+ default: D[K];
15
+ }> : P[K];
16
+ };
17
+ type __VLS_Prettify<T> = {
18
+ [K in keyof T]: T[K];
19
+ } & {};
20
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
+ type __VLS_TypePropsToOption<T> = {
22
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
23
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
+ } : {
25
+ type: import('vue').PropType<T[K]>;
26
+ required: true;
27
+ };
28
+ };
@@ -11,101 +11,41 @@ export interface Props {
11
11
  successMessages?: string | string[];
12
12
  hideDetails?: boolean;
13
13
  }
14
- declare const _default: __VLS_WithTemplateSlots<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
- modelValue: {
28
- type: globalThis.PropType<boolean>;
29
- default: boolean;
30
- };
31
- indeterminate: {
32
- type: globalThis.PropType<boolean>;
33
- default: boolean;
34
- };
35
- disabled: {
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, {
14
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
15
+ modelValue: boolean;
16
+ indeterminate: boolean;
17
+ disabled: boolean;
18
+ color: undefined;
19
+ size: undefined;
20
+ label: string;
21
+ hint: string;
22
+ errorMessages: () => never[];
23
+ successMessages: () => never[];
24
+ hideDetails: boolean;
25
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
26
  "update:modelValue": (modelValue: boolean) => void;
57
27
  "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
- color: {
64
- type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
65
- default: undefined;
66
- };
67
- label: {
68
- type: globalThis.PropType<string>;
69
- default: string;
70
- };
71
- modelValue: {
72
- type: globalThis.PropType<boolean>;
73
- default: boolean;
74
- };
75
- indeterminate: {
76
- type: globalThis.PropType<boolean>;
77
- default: boolean;
78
- };
79
- disabled: {
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
- }>> & {
28
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
29
+ modelValue: boolean;
30
+ indeterminate: boolean;
31
+ disabled: boolean;
32
+ color: undefined;
33
+ size: undefined;
34
+ label: string;
35
+ hint: string;
36
+ errorMessages: () => never[];
37
+ successMessages: () => never[];
38
+ hideDetails: boolean;
39
+ }>>> & {
100
40
  "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
101
41
  "onUpdate:indeterminate"?: ((indeterminate: boolean) => any) | undefined;
102
42
  }, {
103
43
  size: "sm" | "lg";
104
44
  color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
105
45
  label: string;
106
- modelValue: boolean;
107
46
  indeterminate: boolean;
108
47
  disabled: boolean;
48
+ modelValue: boolean;
109
49
  errorMessages: string | string[];
110
50
  successMessages: string | string[];
111
51
  hint: string;
@@ -114,8 +54,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
114
54
  default?(_: {}): any;
115
55
  }>;
116
56
  export default _default;
57
+ type __VLS_WithDefaults<P, D> = {
58
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
59
+ default: D[K];
60
+ }> : P[K];
61
+ };
62
+ type __VLS_Prettify<T> = {
63
+ [K in keyof T]: T[K];
64
+ } & {};
117
65
  type __VLS_WithTemplateSlots<T, S> = T & {
118
66
  new (): {
119
67
  $slots: S;
120
68
  };
121
69
  };
70
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
71
+ type __VLS_TypePropsToOption<T> = {
72
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
73
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
74
+ } : {
75
+ type: import('vue').PropType<T[K]>;
76
+ required: true;
77
+ };
78
+ };
@@ -11,98 +11,36 @@ export interface RadioProps {
11
11
  successMessages?: string | string[];
12
12
  hideDetails?: boolean;
13
13
  }
14
- declare const _default: __VLS_WithTemplateSlots<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
- modelValue: {
28
- type: globalThis.PropType<string>;
29
- default: string;
30
- };
31
- value: {
32
- type: globalThis.PropType<string>;
33
- required: true;
34
- };
35
- disabled: {
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, {
14
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioProps>, {
15
+ modelValue: string;
16
+ disabled: boolean;
17
+ color: undefined;
18
+ size: undefined;
19
+ label: string;
20
+ hint: string;
21
+ errorMessages: () => never[];
22
+ successMessages: () => never[];
23
+ hideDetails: boolean;
24
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
25
  "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
- 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
- modelValue: {
71
- type: globalThis.PropType<string>;
72
- default: string;
73
- };
74
- value: {
75
- type: globalThis.PropType<string>;
76
- required: true;
77
- };
78
- disabled: {
79
- type: globalThis.PropType<boolean>;
80
- default: boolean;
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
- }>> & {
26
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<RadioProps>, {
27
+ modelValue: string;
28
+ disabled: boolean;
29
+ color: undefined;
30
+ size: undefined;
31
+ label: string;
32
+ hint: string;
33
+ errorMessages: () => never[];
34
+ successMessages: () => never[];
35
+ hideDetails: boolean;
36
+ }>>> & {
99
37
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
100
38
  }, {
101
39
  size: "sm" | "lg";
102
40
  color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
103
41
  label: string;
104
- modelValue: string;
105
42
  disabled: boolean;
43
+ modelValue: string;
106
44
  errorMessages: string | string[];
107
45
  successMessages: string | string[];
108
46
  hint: string;
@@ -111,8 +49,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
111
49
  default?(_: {}): any;
112
50
  }>;
113
51
  export default _default;
52
+ type __VLS_WithDefaults<P, D> = {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
+ default: D[K];
55
+ }> : P[K];
56
+ };
57
+ type __VLS_Prettify<T> = {
58
+ [K in keyof T]: T[K];
59
+ } & {};
114
60
  type __VLS_WithTemplateSlots<T, S> = T & {
115
61
  new (): {
116
62
  $slots: S;
117
63
  };
118
64
  };
65
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
66
+ type __VLS_TypePropsToOption<T> = {
67
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
68
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
69
+ } : {
70
+ type: import('vue').PropType<T[K]>;
71
+ required: true;
72
+ };
73
+ };
@@ -11,102 +11,59 @@ export interface Props {
11
11
  color?: ContextColorsType;
12
12
  size?: 'sm' | 'lg';
13
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
- modelValue: {
28
- type: globalThis.PropType<string>;
29
- default: string;
30
- };
31
- disabled: {
32
- type: globalThis.PropType<boolean>;
33
- default: boolean;
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, {
14
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
15
+ modelValue: string;
16
+ inline: boolean;
17
+ label: string;
18
+ hint: string;
19
+ errorMessages: () => never[];
20
+ successMessages: () => never[];
21
+ hideDetails: boolean;
22
+ disabled: boolean;
23
+ color: undefined;
24
+ size: undefined;
25
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
26
  "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
- modelValue: {
71
- type: globalThis.PropType<string>;
72
- default: string;
73
- };
74
- disabled: {
75
- type: globalThis.PropType<boolean>;
76
- default: boolean;
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
- }>> & {
27
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
28
+ modelValue: string;
29
+ inline: boolean;
30
+ label: string;
31
+ hint: string;
32
+ errorMessages: () => never[];
33
+ successMessages: () => never[];
34
+ hideDetails: boolean;
35
+ disabled: boolean;
36
+ color: undefined;
37
+ size: undefined;
38
+ }>>> & {
99
39
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
100
40
  }, {
101
41
  size: "sm" | "lg";
102
42
  color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
103
43
  label: string;
104
- modelValue: string;
105
44
  disabled: boolean;
45
+ modelValue: string;
46
+ inline: boolean;
106
47
  errorMessages: string | string[];
107
48
  successMessages: string | string[];
108
49
  hint: string;
109
50
  hideDetails: boolean;
110
- inline: boolean;
111
51
  }, {}>;
112
52
  export default _default;
53
+ type __VLS_WithDefaults<P, D> = {
54
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
55
+ default: D[K];
56
+ }> : P[K];
57
+ };
58
+ type __VLS_Prettify<T> = {
59
+ [K in keyof T]: T[K];
60
+ } & {};
61
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
62
+ type __VLS_TypePropsToOption<T> = {
63
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
64
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
65
+ } : {
66
+ type: import('vue').PropType<T[K]>;
67
+ required: true;
68
+ };
69
+ };