@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.
- package/README.md +3 -3
- package/dist/RuiNavigationDrawer-By3iqC3V.js +7822 -0
- package/dist/__test__/options.d.ts +5 -0
- package/dist/{breakpoint-CRvqq4aP.js → breakpoint-OTAceaTK.js} +1 -1
- package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +58 -0
- package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +36 -0
- package/dist/components/alerts/RuiAlert.vue.d.ts +69 -0
- package/dist/components/buttons/button/RuiButton.vue.d.ts +94 -0
- package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +70 -0
- package/dist/components/cards/RuiCard.vue.d.ts +61 -0
- package/dist/components/cards/RuiCardHeader.vue.d.ts +37 -0
- package/dist/components/chips/RuiChip.vue.d.ts +80 -0
- package/dist/components/color-picker/RuiColorBoard.vue.d.ts +26 -0
- package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +15 -0
- package/dist/components/color-picker/RuiColorHue.vue.d.ts +18 -0
- package/dist/components/color-picker/RuiColorInput.vue.d.ts +19 -0
- package/dist/components/color-picker/RuiColorPicker.vue.d.ts +32 -0
- package/dist/components/color-picker/utils.d.ts +44 -0
- package/dist/components/divider/RuiDivider.vue.d.ts +28 -0
- package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +78 -0
- package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +73 -0
- package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +69 -0
- package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +84 -0
- package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +160 -49
- package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +42 -0
- package/dist/components/forms/slider/RuiSlider.vue.d.ts +101 -0
- package/dist/components/forms/switch/RuiSwitch.vue.d.ts +72 -0
- package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +124 -0
- package/dist/components/forms/text-field/RuiTextField.vue.d.ts +114 -0
- package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +39 -0
- package/dist/components/icons/RuiIcon.vue.d.ts +35 -0
- package/dist/components/index.d.ts +43 -39
- package/dist/components/index.es.js +35 -31
- package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +28 -0
- package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +32 -0
- package/dist/components/logos/RuiLogo.vue.d.ts +52 -0
- package/dist/components/overlays/badge/RuiBadge.vue.d.ts +79 -0
- package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +39 -0
- package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +68 -0
- package/dist/components/overlays/menu/RuiMenu.vue.d.ts +116 -0
- package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +81 -0
- package/dist/components/overlays/notification/RuiNotification.vue.d.ts +45 -0
- package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +63 -0
- package/dist/components/progress/RuiProgress.vue.d.ts +71 -0
- package/dist/components/steppers/RuiFooterStepper.vue.d.ts +45 -0
- package/dist/components/steppers/RuiStepper.vue.d.ts +64 -0
- package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +32 -0
- package/dist/components/steppers/RuiStepperIcon.vue.d.ts +32 -0
- package/dist/components/tables/RuiDataTable.vue.d.ts +512 -0
- package/dist/components/tables/RuiExpandButton.vue.d.ts +37 -0
- package/dist/components/tables/RuiTableHead.vue.d.ts +194 -0
- package/dist/components/tables/RuiTablePagination.vue.d.ts +47 -0
- package/dist/components/tabs/tab/RuiTab.vue.d.ts +90 -0
- package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +48 -0
- package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +28 -0
- package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +53 -0
- package/dist/composables/dropdown-menu.d.ts +18 -6
- package/dist/composables/index.es.js +2 -2
- package/dist/composables/popper.d.ts +2 -0
- package/dist/composables/theme.d.ts +1 -1
- package/dist/consts/typography.d.ts +1 -2
- package/dist/icons/icons_1.d.ts +44 -44
- package/dist/icons/icons_1.es.js +987 -987
- package/dist/icons/icons_2.d.ts +60 -60
- package/dist/icons/icons_2.es.js +1121 -1121
- package/dist/icons/icons_3.d.ts +76 -76
- package/dist/icons/icons_3.es.js +1149 -1149
- package/dist/icons/icons_4.d.ts +96 -96
- package/dist/icons/icons_4.es.js +1193 -1193
- package/dist/icons/icons_5.d.ts +132 -132
- package/dist/icons/icons_5.es.js +1267 -1267
- package/dist/icons/icons_6.d.ts +156 -0
- package/dist/icons/icons_6.es.js +1099 -475
- package/dist/icons/index.d.ts +1 -1
- package/dist/icons/index.es.js +2840 -2684
- package/dist/index-NNlkUY_M.js +161 -0
- package/dist/index.es.js +2921 -2761
- package/dist/style.css +1 -1
- package/dist/utils/helpers.d.ts +9 -0
- package/package.json +45 -48
- package/dist/Accordion-BFcz_iFc.js +0 -8386
- package/dist/components/accordions/accordion/Accordion.vue.d.ts +0 -71
- package/dist/components/accordions/accordions/Accordions.vue.d.ts +0 -31
- package/dist/components/alerts/Alert.vue.d.ts +0 -93
- package/dist/components/buttons/button/Button.vue.d.ts +0 -51
- package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +0 -36
- package/dist/components/cards/Card.vue.d.ts +0 -80
- package/dist/components/cards/CardHeader.vue.d.ts +0 -26
- package/dist/components/chips/Chip.vue.d.ts +0 -123
- package/dist/components/divider/Divider.vue.d.ts +0 -17
- package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +0 -71
- package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +0 -30
- package/dist/components/forms/checkbox/Checkbox.vue.d.ts +0 -121
- package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +0 -118
- package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +0 -112
- package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +0 -169
- package/dist/components/forms/select/SimpleSelect.vue.d.ts +0 -59
- package/dist/components/forms/slider/Slider.vue.d.ts +0 -192
- package/dist/components/forms/switch/Switch.vue.d.ts +0 -109
- package/dist/components/forms/text-area/TextArea.vue.d.ts +0 -233
- package/dist/components/forms/text-field/TextField.vue.d.ts +0 -199
- package/dist/components/helpers/FormTextDetail.vue.d.ts +0 -32
- package/dist/components/icons/Icon.vue.d.ts +0 -38
- package/dist/components/loaders/Skeleton.vue.d.ts +0 -27
- package/dist/components/loaders/SkeletonBase.vue.d.ts +0 -17
- package/dist/components/logos/Logo.vue.d.ts +0 -65
- package/dist/components/overlays/badge/Badge.vue.d.ts +0 -128
- package/dist/components/overlays/dialog/Dialog.vue.d.ts +0 -60
- package/dist/components/overlays/menu/Menu.vue.d.ts +0 -191
- package/dist/components/overlays/tooltip/Tooltip.vue.d.ts +0 -88
- package/dist/components/progress/Progress.vue.d.ts +0 -102
- package/dist/components/steppers/FooterStepper.vue.d.ts +0 -50
- package/dist/components/steppers/Stepper.vue.d.ts +0 -97
- package/dist/components/steppers/StepperCustomIcon.vue.d.ts +0 -23
- package/dist/components/steppers/StepperIcon.vue.d.ts +0 -23
- package/dist/components/tables/DataTable.vue.d.ts +0 -279
- package/dist/components/tables/ExpandButton.vue.d.ts +0 -34
- package/dist/components/tables/TableHead.vue.d.ts +0 -127
- package/dist/components/tables/TablePagination.vue.d.ts +0 -56
- package/dist/components/tabs/tab/Tab.vue.d.ts +0 -141
- package/dist/components/tabs/tab-item/TabItem.vue.d.ts +0 -54
- package/dist/components/tabs/tab-items/TabItems.vue.d.ts +0 -17
- package/dist/components/tabs/tabs/Tabs.vue.d.ts +0 -72
- package/dist/index-x2urm9HD.js +0 -176
|
@@ -0,0 +1,42 @@
|
|
|
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<__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
|
+
}>>> & {
|
|
19
|
+
"onUpdate:model-value"?: ((value?: string | number | undefined) => any) | undefined;
|
|
20
|
+
}, {
|
|
21
|
+
name: string;
|
|
22
|
+
variant: "default" | "outlined";
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
}, {}>;
|
|
25
|
+
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
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { ContextColorsType } from '../../../consts/colors';
|
|
2
|
+
export interface Props {
|
|
3
|
+
modelValue?: number;
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
step?: number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
showThumbLabel?: boolean;
|
|
9
|
+
showTicks?: boolean;
|
|
10
|
+
hideTrack?: boolean;
|
|
11
|
+
tickSize?: number;
|
|
12
|
+
vertical?: boolean;
|
|
13
|
+
color?: ContextColorsType;
|
|
14
|
+
label?: string;
|
|
15
|
+
hint?: string;
|
|
16
|
+
errorMessages?: string | string[];
|
|
17
|
+
successMessages?: string | string[];
|
|
18
|
+
hideDetails?: boolean;
|
|
19
|
+
sliderClass?: string;
|
|
20
|
+
tickClass?: string;
|
|
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
|
+
}>>> & {
|
|
63
|
+
"onUpdate:model-value"?: ((value: number) => any) | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
vertical: boolean;
|
|
66
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
67
|
+
label: string;
|
|
68
|
+
disabled: boolean;
|
|
69
|
+
modelValue: number;
|
|
70
|
+
errorMessages: string | string[];
|
|
71
|
+
successMessages: string | string[];
|
|
72
|
+
hint: string;
|
|
73
|
+
hideDetails: boolean;
|
|
74
|
+
step: number;
|
|
75
|
+
min: number;
|
|
76
|
+
max: number;
|
|
77
|
+
showThumbLabel: boolean;
|
|
78
|
+
showTicks: boolean;
|
|
79
|
+
hideTrack: boolean;
|
|
80
|
+
tickSize: number;
|
|
81
|
+
sliderClass: string;
|
|
82
|
+
tickClass: string;
|
|
83
|
+
}, {}>;
|
|
84
|
+
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
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { ContextColorsType } from '../../../consts/colors';
|
|
2
|
+
export interface Props {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
color?: ContextColorsType;
|
|
6
|
+
size?: 'sm';
|
|
7
|
+
label?: string;
|
|
8
|
+
hint?: string;
|
|
9
|
+
errorMessages?: string | string[];
|
|
10
|
+
successMessages?: string | string[];
|
|
11
|
+
hideDetails?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
14
|
+
modelValue: boolean;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
color: undefined;
|
|
17
|
+
size: undefined;
|
|
18
|
+
label: string;
|
|
19
|
+
hint: string;
|
|
20
|
+
errorMessages: () => never[];
|
|
21
|
+
successMessages: () => never[];
|
|
22
|
+
hideDetails: boolean;
|
|
23
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (modelValue: boolean) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
26
|
+
modelValue: boolean;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
color: undefined;
|
|
29
|
+
size: undefined;
|
|
30
|
+
label: string;
|
|
31
|
+
hint: string;
|
|
32
|
+
errorMessages: () => never[];
|
|
33
|
+
successMessages: () => never[];
|
|
34
|
+
hideDetails: boolean;
|
|
35
|
+
}>>> & {
|
|
36
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
size: "sm";
|
|
39
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
40
|
+
label: string;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
modelValue: boolean;
|
|
43
|
+
errorMessages: string | string[];
|
|
44
|
+
successMessages: string | string[];
|
|
45
|
+
hint: string;
|
|
46
|
+
hideDetails: boolean;
|
|
47
|
+
}, {}>, {
|
|
48
|
+
default?(_: {}): any;
|
|
49
|
+
}>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithDefaults<P, D> = {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
53
|
+
default: D[K];
|
|
54
|
+
}> : P[K];
|
|
55
|
+
};
|
|
56
|
+
type __VLS_Prettify<T> = {
|
|
57
|
+
[K in keyof T]: T[K];
|
|
58
|
+
} & {};
|
|
59
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
60
|
+
new (): {
|
|
61
|
+
$slots: S;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
65
|
+
type __VLS_TypePropsToOption<T> = {
|
|
66
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
67
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
68
|
+
} : {
|
|
69
|
+
type: import('vue').PropType<T[K]>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import type { ContextColorsType } from '../../../consts/colors';
|
|
2
|
+
import type { RuiIcons } from '../../../icons';
|
|
3
|
+
export interface Props {
|
|
4
|
+
value?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
variant?: 'default' | 'filled' | 'outlined';
|
|
9
|
+
color?: ContextColorsType;
|
|
10
|
+
textColor?: ContextColorsType;
|
|
11
|
+
dense?: boolean;
|
|
12
|
+
hint?: string;
|
|
13
|
+
errorMessages?: string | string[];
|
|
14
|
+
successMessages?: string | string[];
|
|
15
|
+
hideDetails?: boolean;
|
|
16
|
+
prependIcon?: RuiIcons;
|
|
17
|
+
appendIcon?: RuiIcons;
|
|
18
|
+
readonly?: boolean;
|
|
19
|
+
clearable?: boolean;
|
|
20
|
+
noResize?: boolean;
|
|
21
|
+
minRows?: number | string;
|
|
22
|
+
maxRows?: number | string;
|
|
23
|
+
rowHeight?: number | string;
|
|
24
|
+
autoGrow?: boolean;
|
|
25
|
+
}
|
|
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, {
|
|
49
|
+
input: (modelValue: string) => void;
|
|
50
|
+
"click:clear": () => void;
|
|
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
|
+
}>>> & {
|
|
74
|
+
onInput?: ((modelValue: string) => any) | undefined;
|
|
75
|
+
"onClick:clear"?: (() => any) | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
value: string;
|
|
78
|
+
readonly: boolean;
|
|
79
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
80
|
+
label: string;
|
|
81
|
+
variant: "default" | "outlined" | "filled";
|
|
82
|
+
disabled: boolean;
|
|
83
|
+
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
84
|
+
dense: boolean;
|
|
85
|
+
errorMessages: string | string[];
|
|
86
|
+
successMessages: string | string[];
|
|
87
|
+
hint: string;
|
|
88
|
+
clearable: boolean;
|
|
89
|
+
hideDetails: boolean;
|
|
90
|
+
placeholder: string;
|
|
91
|
+
prependIcon: RuiIcons;
|
|
92
|
+
appendIcon: RuiIcons;
|
|
93
|
+
noResize: boolean;
|
|
94
|
+
minRows: string | number;
|
|
95
|
+
maxRows: string | number;
|
|
96
|
+
rowHeight: string | number;
|
|
97
|
+
autoGrow: boolean;
|
|
98
|
+
}, {}>, {
|
|
99
|
+
prepend?(_: {}): any;
|
|
100
|
+
append?(_: {}): any;
|
|
101
|
+
}>;
|
|
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
|
+
} & {};
|
|
111
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
112
|
+
new (): {
|
|
113
|
+
$slots: S;
|
|
114
|
+
};
|
|
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
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { ContextColorsType } from '../../../consts/colors';
|
|
2
|
+
import type { RuiIcons } from '../../../icons';
|
|
3
|
+
export interface TextFieldProps {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
variant?: 'default' | 'filled' | 'outlined';
|
|
9
|
+
color?: ContextColorsType;
|
|
10
|
+
textColor?: ContextColorsType;
|
|
11
|
+
dense?: boolean;
|
|
12
|
+
hint?: string;
|
|
13
|
+
as?: string | object;
|
|
14
|
+
errorMessages?: string | string[];
|
|
15
|
+
successMessages?: string | string[];
|
|
16
|
+
hideDetails?: boolean;
|
|
17
|
+
prependIcon?: RuiIcons;
|
|
18
|
+
appendIcon?: RuiIcons;
|
|
19
|
+
readonly?: boolean;
|
|
20
|
+
clearable?: boolean;
|
|
21
|
+
}
|
|
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, {
|
|
41
|
+
"update:modelValue": (modelValue: string) => void;
|
|
42
|
+
"focus-input": (event: Event) => void;
|
|
43
|
+
blur: (event: Event) => void;
|
|
44
|
+
remove: (value: unknown) => void;
|
|
45
|
+
clear: () => void;
|
|
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
|
+
}>>> & {
|
|
65
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
67
|
+
onClear?: (() => any) | undefined;
|
|
68
|
+
"onFocus-input"?: ((event: Event) => any) | undefined;
|
|
69
|
+
onRemove?: ((value: unknown) => any) | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
readonly: boolean;
|
|
72
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
73
|
+
label: string;
|
|
74
|
+
variant: "default" | "outlined" | "filled";
|
|
75
|
+
disabled: boolean;
|
|
76
|
+
modelValue: string;
|
|
77
|
+
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
78
|
+
dense: boolean;
|
|
79
|
+
errorMessages: string | string[];
|
|
80
|
+
successMessages: string | string[];
|
|
81
|
+
hint: string;
|
|
82
|
+
clearable: boolean;
|
|
83
|
+
hideDetails: boolean;
|
|
84
|
+
placeholder: string;
|
|
85
|
+
prependIcon: RuiIcons;
|
|
86
|
+
appendIcon: RuiIcons;
|
|
87
|
+
as: string | object;
|
|
88
|
+
}, {}>, {
|
|
89
|
+
prepend?(_: {}): any;
|
|
90
|
+
append?(_: {}): any;
|
|
91
|
+
}>;
|
|
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
|
+
} & {};
|
|
101
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
102
|
+
new (): {
|
|
103
|
+
$slots: S;
|
|
104
|
+
};
|
|
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
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
}>>>, {
|
|
18
|
+
errorMessages: string | string[];
|
|
19
|
+
successMessages: string | string[];
|
|
20
|
+
hint: string;
|
|
21
|
+
}, {}>;
|
|
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
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ContextColorsType } from '../../consts/colors';
|
|
2
|
+
import type { RuiIcons } from '../../icons';
|
|
3
|
+
export interface Props {
|
|
4
|
+
name: RuiIcons;
|
|
5
|
+
size?: number | string;
|
|
6
|
+
color?: ContextColorsType;
|
|
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
|
+
}>>>, {
|
|
15
|
+
size: string | number;
|
|
16
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
17
|
+
}, {}>;
|
|
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,39 +1,43 @@
|
|
|
1
|
-
import { type Props as AlertProps
|
|
2
|
-
import { type
|
|
3
|
-
import { type Props as ButtonProps
|
|
4
|
-
import { type Props as ButtonGroupProps
|
|
5
|
-
import { type Props as IconProps
|
|
6
|
-
import { type Props as CheckboxProps
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { type Props as ChipProps
|
|
10
|
-
import { type Props as DividerProps
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { type MenuProps
|
|
16
|
-
import { type Props as BadgeProps
|
|
17
|
-
import { type
|
|
18
|
-
import { type Props as FooterStepperProps
|
|
19
|
-
import { type Props as ProgressProps
|
|
20
|
-
import { type Props as RadioGroupProps
|
|
21
|
-
import { type RadioProps
|
|
22
|
-
import { type Props as RevealableTextFieldProps
|
|
23
|
-
import { type Props as LogoProps
|
|
24
|
-
import
|
|
25
|
-
import { type TableOptions as DataTableOptions, type Props as DataTableProps
|
|
26
|
-
import { type Props as ExpandButtonProps
|
|
27
|
-
import
|
|
28
|
-
import { type Props as CardProps
|
|
29
|
-
import { type Props as CardHeaderProps
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import { type Props as MenuSelectProps
|
|
36
|
-
import { type Props as AccordionsProps
|
|
37
|
-
import { type AccordionProps
|
|
38
|
-
import
|
|
39
|
-
|
|
1
|
+
import RuiAlert, { type Props as AlertProps } from '../components/alerts/RuiAlert.vue';
|
|
2
|
+
import RuiAutoComplete, { type AutoCompleteProps } from '@/components/forms/auto-complete/RuiAutoComplete.vue';
|
|
3
|
+
import RuiButton, { type Props as ButtonProps } from '../components/buttons/button/RuiButton.vue';
|
|
4
|
+
import RuiButtonGroup, { type Props as ButtonGroupProps } from '../components/buttons/button-group/RuiButtonGroup.vue';
|
|
5
|
+
import RuiIcon, { type Props as IconProps } from '../components/icons/RuiIcon.vue';
|
|
6
|
+
import RuiCheckbox, { type Props as CheckboxProps } from '../components/forms/checkbox/RuiCheckbox.vue';
|
|
7
|
+
import RuiSwitch, { type Props as SwitchProps } from '../components/forms/switch/RuiSwitch.vue';
|
|
8
|
+
import RuiSlider, { type Props as SliderProps } from '../components/forms/slider/RuiSlider.vue';
|
|
9
|
+
import RuiChip, { type Props as ChipProps } from '../components/chips/RuiChip.vue';
|
|
10
|
+
import RuiDivider, { type Props as DividerProps } from '../components/divider/RuiDivider.vue';
|
|
11
|
+
import RuiStepper, { type Props as StepperProps } from '../components/steppers/RuiStepper.vue';
|
|
12
|
+
import RuiTextArea, { type Props as TextAreaProps } from '../components/forms/text-area/RuiTextArea.vue';
|
|
13
|
+
import RuiTextField, { type TextFieldProps } from '../components/forms/text-field/RuiTextField.vue';
|
|
14
|
+
import RuiTooltip, { type Props as TooltipProps } from '../components/overlays/tooltip/RuiTooltip.vue';
|
|
15
|
+
import RuiMenu, { type MenuProps } from '../components/overlays/menu/RuiMenu.vue';
|
|
16
|
+
import RuiBadge, { type Props as BadgeProps } from '../components/overlays/badge/RuiBadge.vue';
|
|
17
|
+
import RuiDialog, { type DialogProps } from '../components/overlays/dialog/RuiDialog.vue';
|
|
18
|
+
import RuiFooterStepper, { type Props as FooterStepperProps } from '../components/steppers/RuiFooterStepper.vue';
|
|
19
|
+
import RuiProgress, { type Props as ProgressProps } from '../components/progress/RuiProgress.vue';
|
|
20
|
+
import RuiRadioGroup, { type Props as RadioGroupProps } from '../components/forms/radio-button/radio-group/RuiRadioGroup.vue';
|
|
21
|
+
import RuiRadio, { type RadioProps } from '../components/forms/radio-button/radio/RuiRadio.vue';
|
|
22
|
+
import RuiRevealableTextField, { type Props as RevealableTextFieldProps } from '../components/forms/revealable-text-field/RuiRevealableTextField.vue';
|
|
23
|
+
import RuiLogo, { type Props as LogoProps } from '../components/logos/RuiLogo.vue';
|
|
24
|
+
import RuiSimpleSelect, { type Props as SimpleSelectProps } from '../components/forms/select/RuiSimpleSelect.vue';
|
|
25
|
+
import RuiDataTable, { type TableOptions as DataTableOptions, type Props as DataTableProps } from '../components/tables/RuiDataTable.vue';
|
|
26
|
+
import RuiTableRowExpander, { type Props as ExpandButtonProps } from '../components/tables/RuiExpandButton.vue';
|
|
27
|
+
import RuiTablePagination, { type TablePaginationData, type Props as TablePaginationProps } from '../components/tables/RuiTablePagination.vue';
|
|
28
|
+
import RuiCard, { type Props as CardProps } from '../components/cards/RuiCard.vue';
|
|
29
|
+
import RuiCardHeader, { type Props as CardHeaderProps } from '../components/cards/RuiCardHeader.vue';
|
|
30
|
+
import RuiTabs, { type Props as TabsProps } from '../components/tabs/tabs/RuiTabs.vue';
|
|
31
|
+
import RuiTab, { type Props as TabProps } from '../components/tabs/tab/RuiTab.vue';
|
|
32
|
+
import RuiTabItems, { type Props as TabItemsProps } from '../components/tabs/tab-items/RuiTabItems.vue';
|
|
33
|
+
import RuiTabItem, { type Props as TabItemProps } from '../components/tabs/tab-item/RuiTabItem.vue';
|
|
34
|
+
import RuiSkeletonLoader, { type Props as SkeletonLoaderProps } from '../components/loaders/RuiSkeletonLoader.vue';
|
|
35
|
+
import RuiMenuSelect, { type Props as MenuSelectProps } from '../components/forms/select/RuiMenuSelect.vue';
|
|
36
|
+
import RuiAccordions, { type Props as AccordionsProps } from '../components/accordions/accordions/RuiAccordions.vue';
|
|
37
|
+
import RuiAccordion, { type AccordionProps } from '../components/accordions/accordion/RuiAccordion.vue';
|
|
38
|
+
import RuiBottomSheet, { type BottomSheetProps } from '../components/overlays/bottom-sheet/RuiBottomSheet.vue';
|
|
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';
|
|
42
|
+
import type { TableColumn as DataTableColumn, GroupKeys as DataTableGroupKeys, SortColumn as DataTableSortColumn, TableSortData as DataTableSortData } from '../components/tables/RuiTableHead.vue';
|
|
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, };
|