@rotki/ui-library 1.3.0 → 1.5.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 (71) hide show
  1. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +17 -39
  2. package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +5 -28
  3. package/dist/components/alerts/RuiAlert.vue.d.ts +15 -44
  4. package/dist/components/buttons/button/RuiButton.vue.d.ts +8 -10
  5. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +7 -9
  6. package/dist/components/cards/RuiCard.vue.d.ts +15 -41
  7. package/dist/components/cards/RuiCardHeader.vue.d.ts +11 -27
  8. package/dist/components/chips/RuiChip.vue.d.ts +14 -48
  9. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +6 -15
  10. package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +3 -12
  11. package/dist/components/color-picker/RuiColorHue.vue.d.ts +4 -13
  12. package/dist/components/color-picker/RuiColorInput.vue.d.ts +4 -13
  13. package/dist/components/color-picker/RuiColorPicker.vue.d.ts +5 -26
  14. package/dist/components/divider/RuiDivider.vue.d.ts +2 -23
  15. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +264 -20
  16. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +15 -47
  17. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +10 -10
  18. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +9 -9
  19. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +18 -58
  20. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +10 -10
  21. package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +5 -30
  22. package/dist/components/forms/slider/RuiSlider.vue.d.ts +5 -60
  23. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +12 -44
  24. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +20 -68
  25. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +24 -64
  26. package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +4 -29
  27. package/dist/components/icons/RuiIcon.vue.d.ts +2 -25
  28. package/dist/components/index.es.js +5946 -42
  29. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +2 -23
  30. package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +2 -25
  31. package/dist/components/logos/RuiLogo.vue.d.ts +2 -31
  32. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +12 -48
  33. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +9 -27
  34. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +24 -48
  35. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +32 -73
  36. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +26 -54
  37. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +12 -30
  38. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +17 -44
  39. package/dist/components/progress/RuiProgress.vue.d.ts +2 -37
  40. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +5 -32
  41. package/dist/components/steppers/RuiStepper.vue.d.ts +14 -40
  42. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +4 -25
  43. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +4 -25
  44. package/dist/components/tables/RuiDataTable.vue.d.ts +15 -24
  45. package/dist/components/tables/RuiExpandButton.vue.d.ts +9 -25
  46. package/dist/components/tables/RuiTableHead.vue.d.ts +9 -15
  47. package/dist/components/tables/RuiTablePagination.vue.d.ts +5 -30
  48. package/dist/components/tabs/tab/RuiTab.vue.d.ts +21 -59
  49. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +10 -32
  50. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +9 -9
  51. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +7 -36
  52. package/dist/composables/dropdown-menu.d.ts +2 -2
  53. package/dist/composables/icons.d.ts +10 -4
  54. package/dist/composables/index--ZwAZVMb.js +482 -0
  55. package/dist/composables/index.es.js +4 -5
  56. package/dist/composables/popper.d.ts +6 -6
  57. package/dist/composables/sticky-header.d.ts +3 -3
  58. package/dist/index.d.ts +1 -0
  59. package/dist/index.es.js +2917 -2916
  60. package/dist/style.css +1 -1
  61. package/dist/theme/index.es.js +1 -1
  62. package/dist/types/index-DSBIGM2a.js +39 -0
  63. package/dist/utils/generate-id.d.ts +1 -1
  64. package/dist/utils/index-Cps3W0wA.js +108 -0
  65. package/dist/vendor-BRFX1hnB.js +1626 -0
  66. package/dist/web-types.json +584 -620
  67. package/package.json +33 -33
  68. package/dist/RuiNavigationDrawer-DGs1QHIz.js +0 -7951
  69. package/dist/breakpoint-sPlgsoXp.js +0 -37
  70. package/dist/index-DIN-6VhY.js +0 -154
  71. /package/dist/{colors-D563Ic3q.js → consts/colors-D563Ic3q.js} +0 -0
@@ -26,17 +26,15 @@ export interface Props<TValue, TItem> {
26
26
  hideNoData?: boolean;
27
27
  noDataText?: string;
28
28
  }
29
- declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
30
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
31
- "onUpdate:modelValue"?: ((modelValue: TValue | undefined) => any) | undefined;
32
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{}>> & {
33
- "onUpdate:modelValue"?: ((modelValue: TValue | undefined) => any) | undefined;
34
- }, never>, "onUpdate:modelValue"> & ({
29
+ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
30
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
31
+ readonly "onUpdate:modelValue"?: ((modelValue: TValue | undefined) => any) | undefined;
32
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
35
33
  modelValue: TValue | undefined;
36
34
  } & Props<TValue, TItem>)> & import("vue").PublicProps;
37
35
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
38
36
  attrs: any;
39
- slots: ReturnType<() => {
37
+ slots: {
40
38
  activator?(_: {
41
39
  disabled: boolean;
42
40
  value: TItem | undefined;
@@ -80,14 +78,16 @@ declare const _default: <TValue, TItem>(__VLS_props: NonNullable<Awaited<typeof
80
78
  active: boolean;
81
79
  }): any;
82
80
  "no-data"?(_: {}): any;
83
- }>;
84
- emit: (evt: "update:modelValue", modelValue: TValue | undefined) => void;
81
+ };
82
+ emit: {
83
+ 'update:modelValue': [modelValue: TValue | undefined];
84
+ };
85
85
  }>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
86
86
  [key: string]: any;
87
87
  }> & {
88
88
  __ctx?: Awaited<typeof __VLS_setup>;
89
89
  };
90
90
  export default _default;
91
- type __VLS_Prettify<T> = {
91
+ type __VLS_PrettifyLocal<T> = {
92
92
  [K in keyof T]: T[K];
93
93
  } & {};
@@ -5,38 +5,13 @@ export interface Props {
5
5
  name?: string;
6
6
  variant?: 'default' | 'outlined';
7
7
  }
8
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
- disabled: boolean;
10
- name: string;
11
- variant: string;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- "update:model-value": (value?: string | number | undefined) => void;
14
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
15
- disabled: boolean;
16
- name: string;
17
- variant: string;
18
- }>>> & {
8
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
+ "update:model-value": (value?: string | number | undefined) => any;
10
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
19
11
  "onUpdate:model-value"?: ((value?: string | number | undefined) => any) | undefined;
20
- }, {
12
+ }>, {
21
13
  name: string;
22
14
  variant: "default" | "outlined";
23
15
  disabled: boolean;
24
- }, {}>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
17
  export default _default;
26
- type __VLS_WithDefaults<P, D> = {
27
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
- default: D[K];
29
- }> : P[K];
30
- };
31
- type __VLS_Prettify<T> = {
32
- [K in keyof T]: T[K];
33
- } & {};
34
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
- type __VLS_TypePropsToOption<T> = {
36
- [K in keyof T]-?: {} extends Pick<T, K> ? {
37
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
- } : {
39
- type: import('vue').PropType<T[K]>;
40
- required: true;
41
- };
42
- };
@@ -19,49 +19,11 @@ export interface Props {
19
19
  sliderClass?: string;
20
20
  tickClass?: string;
21
21
  }
22
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
23
- modelValue: number;
24
- min: number;
25
- max: number;
26
- step: number;
27
- disabled: boolean;
28
- showThumbLabel: boolean;
29
- showTicks: boolean;
30
- hideTrack: boolean;
31
- vertical: boolean;
32
- tickSize: number;
33
- color: string;
34
- label: string;
35
- hint: string;
36
- errorMessages: () => never[];
37
- successMessages: () => never[];
38
- hideDetails: boolean;
39
- sliderClass: string;
40
- tickClass: string;
41
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
42
- "update:model-value": (value: number) => void;
43
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
44
- modelValue: number;
45
- min: number;
46
- max: number;
47
- step: number;
48
- disabled: boolean;
49
- showThumbLabel: boolean;
50
- showTicks: boolean;
51
- hideTrack: boolean;
52
- vertical: boolean;
53
- tickSize: number;
54
- color: string;
55
- label: string;
56
- hint: string;
57
- errorMessages: () => never[];
58
- successMessages: () => never[];
59
- hideDetails: boolean;
60
- sliderClass: string;
61
- tickClass: string;
62
- }>>> & {
22
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
+ "update:model-value": (value: number) => any;
24
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
63
25
  "onUpdate:model-value"?: ((value: number) => any) | undefined;
64
- }, {
26
+ }>, {
65
27
  vertical: boolean;
66
28
  color: ContextColorsType;
67
29
  label: string;
@@ -80,22 +42,5 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
80
42
  tickSize: number;
81
43
  sliderClass: string;
82
44
  tickClass: string;
83
- }, {}>;
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
84
46
  export default _default;
85
- type __VLS_WithDefaults<P, D> = {
86
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
87
- default: D[K];
88
- }> : P[K];
89
- };
90
- type __VLS_Prettify<T> = {
91
- [K in keyof T]: T[K];
92
- } & {};
93
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
94
- type __VLS_TypePropsToOption<T> = {
95
- [K in keyof T]-?: {} extends Pick<T, K> ? {
96
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
97
- } : {
98
- type: import('vue').PropType<T[K]>;
99
- required: true;
100
- };
101
- };
@@ -11,33 +11,18 @@ export interface Props {
11
11
  hideDetails?: boolean;
12
12
  }
13
13
  declare function __VLS_template(): {
14
- default?(_: {}): any;
14
+ slots: {
15
+ default?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ attrs: Partial<{}>;
15
19
  };
16
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
- modelValue: boolean;
18
- disabled: boolean;
19
- color: undefined;
20
- size: undefined;
21
- label: string;
22
- hint: string;
23
- errorMessages: () => never[];
24
- successMessages: () => never[];
25
- hideDetails: boolean;
26
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
- "update:modelValue": (modelValue: boolean) => void;
28
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
29
- modelValue: boolean;
30
- disabled: boolean;
31
- color: undefined;
32
- size: undefined;
33
- label: string;
34
- hint: string;
35
- errorMessages: () => never[];
36
- successMessages: () => never[];
37
- hideDetails: boolean;
38
- }>>> & {
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
22
+ "update:modelValue": (modelValue: boolean) => any;
23
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
39
24
  "onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
40
- }, {
25
+ }>, {
41
26
  size: "sm";
42
27
  color: ContextColorsType;
43
28
  label: string;
@@ -47,28 +32,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
47
32
  successMessages: string | string[];
48
33
  hint: string;
49
34
  hideDetails: boolean;
50
- }, {}>;
51
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
52
37
  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
38
  type __VLS_WithTemplateSlots<T, S> = T & {
62
39
  new (): {
63
40
  $slots: S;
64
41
  };
65
42
  };
66
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
67
- type __VLS_TypePropsToOption<T> = {
68
- [K in keyof T]-?: {} extends Pick<T, K> ? {
69
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
70
- } : {
71
- type: import('vue').PropType<T[K]>;
72
- required: true;
73
- };
74
- };
@@ -27,58 +27,27 @@ type __VLS_PublicProps = {
27
27
  modelValue: string;
28
28
  } & typeof __VLS_typeProps;
29
29
  declare function __VLS_template(): {
30
- prepend?(_: {}): any;
31
- append?(_: {}): any;
30
+ slots: {
31
+ prepend?(_: {}): any;
32
+ append?(_: {}): any;
33
+ };
34
+ refs: {
35
+ prepend: HTMLDivElement;
36
+ textareaSizer: HTMLTextAreaElement;
37
+ textarea: HTMLTextAreaElement;
38
+ append: HTMLDivElement;
39
+ };
40
+ attrs: Partial<{}>;
32
41
  };
33
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
34
- label: string;
35
- placeholder: string;
36
- disabled: boolean;
37
- variant: string;
38
- color: undefined;
39
- textColor: undefined;
40
- dense: boolean;
41
- hint: string;
42
- errorMessages: () => never[];
43
- successMessages: () => never[];
44
- hideDetails: boolean;
45
- prependIcon: undefined;
46
- appendIcon: undefined;
47
- readonly: boolean;
48
- clearable: boolean;
49
- noResize: boolean;
50
- minRows: number;
51
- rowHeight: number;
52
- maxRows: undefined;
53
- autoGrow: boolean;
54
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
- "update:modelValue": (modelValue: string) => void;
56
- "click:clear": () => void;
57
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
58
- label: string;
59
- placeholder: string;
60
- disabled: boolean;
61
- variant: string;
62
- color: undefined;
63
- textColor: undefined;
64
- dense: boolean;
65
- hint: string;
66
- errorMessages: () => never[];
67
- successMessages: () => never[];
68
- hideDetails: boolean;
69
- prependIcon: undefined;
70
- appendIcon: undefined;
71
- readonly: boolean;
72
- clearable: boolean;
73
- noResize: boolean;
74
- minRows: number;
75
- rowHeight: number;
76
- maxRows: undefined;
77
- autoGrow: boolean;
78
- }>>> & {
42
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
43
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
+ "update:modelValue": (modelValue: string) => any;
45
+ } & {
46
+ "click:clear": () => any;
47
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
79
48
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
80
49
  "onClick:clear"?: (() => any) | undefined;
81
- }, {
50
+ }>, {
82
51
  readonly: boolean;
83
52
  color: ContextColorsType;
84
53
  label: string;
@@ -99,28 +68,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
99
68
  maxRows: number | string;
100
69
  rowHeight: number | string;
101
70
  autoGrow: boolean;
102
- }, {}>;
103
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
71
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
72
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
104
73
  export default _default;
105
- type __VLS_WithDefaults<P, D> = {
106
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
107
- default: D[K];
108
- }> : P[K];
109
- };
110
- type __VLS_Prettify<T> = {
111
- [K in keyof T]: T[K];
112
- } & {};
113
74
  type __VLS_WithTemplateSlots<T, S> = T & {
114
75
  new (): {
115
76
  $slots: S;
116
77
  };
117
78
  };
118
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
119
- type __VLS_TypePropsToOption<T> = {
120
- [K in keyof T]-?: {} extends Pick<T, K> ? {
121
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
122
- } : {
123
- type: import('vue').PropType<T[K]>;
124
- required: true;
125
- };
126
- };
@@ -23,56 +23,33 @@ type __VLS_PublicProps = {
23
23
  modelValue: string;
24
24
  } & typeof __VLS_typeProps;
25
25
  declare function __VLS_template(): {
26
- prepend?(_: {}): any;
27
- append?(_: {}): any;
26
+ slots: {
27
+ prepend?(_: {}): any;
28
+ append?(_: {}): any;
29
+ };
30
+ refs: {
31
+ prepend: HTMLDivElement;
32
+ innerWrapper: HTMLDivElement;
33
+ inputRef: unknown;
34
+ append: HTMLDivElement;
35
+ };
36
+ attrs: Partial<{}>;
28
37
  };
29
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
30
- label: string;
31
- placeholder: string;
32
- disabled: boolean;
33
- variant: string;
34
- color: undefined;
35
- textColor: undefined;
36
- dense: boolean;
37
- hint: string;
38
- as: string;
39
- errorMessages: () => never[];
40
- successMessages: () => never[];
41
- hideDetails: boolean;
42
- prependIcon: undefined;
43
- appendIcon: undefined;
44
- readonly: boolean;
45
- clearable: boolean;
46
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
- "update:modelValue": (modelValue: string) => void;
48
- "focus-input": (event: Event) => void;
49
- blur: (event: Event) => void;
50
- remove: (value: unknown) => void;
51
- clear: () => void;
52
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
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
- as: string;
62
- errorMessages: () => never[];
63
- successMessages: () => never[];
64
- hideDetails: boolean;
65
- prependIcon: undefined;
66
- appendIcon: undefined;
67
- readonly: boolean;
68
- clearable: boolean;
69
- }>>> & {
38
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
+ "update:modelValue": (modelValue: string) => any;
41
+ } & {
42
+ clear: () => any;
43
+ blur: (event: Event) => any;
44
+ "focus-input": (event: Event) => any;
45
+ remove: (value: unknown) => any;
46
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
47
+ onClear?: (() => any) | undefined;
70
48
  onBlur?: ((event: Event) => any) | undefined;
71
49
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
72
- onClear?: (() => any) | undefined;
73
50
  "onFocus-input"?: ((event: Event) => any) | undefined;
74
51
  onRemove?: ((value: unknown) => any) | undefined;
75
- }, {
52
+ }>, {
76
53
  readonly: boolean;
77
54
  color: ContextColorsType;
78
55
  label: string;
@@ -89,28 +66,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
89
66
  prependIcon: RuiIcons;
90
67
  appendIcon: RuiIcons;
91
68
  as: string | object;
92
- }, {}>;
93
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
69
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
70
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
94
71
  export default _default;
95
- type __VLS_WithDefaults<P, D> = {
96
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
97
- default: D[K];
98
- }> : P[K];
99
- };
100
- type __VLS_Prettify<T> = {
101
- [K in keyof T]: T[K];
102
- } & {};
103
72
  type __VLS_WithTemplateSlots<T, S> = T & {
104
73
  new (): {
105
74
  $slots: S;
106
75
  };
107
76
  };
108
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
109
- type __VLS_TypePropsToOption<T> = {
110
- [K in keyof T]-?: {} extends Pick<T, K> ? {
111
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
112
- } : {
113
- type: import('vue').PropType<T[K]>;
114
- required: true;
115
- };
116
- };
@@ -1,39 +1,14 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  errorMessages?: string | string[];
3
3
  successMessages?: string | string[];
4
4
  hint?: string;
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<{
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
10
6
  errorMessages?: string | string[];
11
7
  successMessages?: string | string[];
12
8
  hint?: string;
13
- }>, {
14
- errorMessages: () => never[];
15
- successMessages: () => never[];
16
- hint: string;
17
- }>>>, {
9
+ }> & Readonly<{}>, {
18
10
  errorMessages: string | string[];
19
11
  successMessages: string | string[];
20
12
  hint: string;
21
- }, {}>;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
14
  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,31 +5,8 @@ export interface Props {
5
5
  size?: number | string;
6
6
  color?: ContextColorsType;
7
7
  }
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
- }>>>, {
8
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
9
  size: number | string;
16
10
  color: ContextColorsType;
17
- }, {}>;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
12
  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
- };