@rotki/ui-library 2.7.0 → 2.8.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.
- package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +3 -2
- package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +2 -1
- package/dist/components/alerts/RuiAlert.vue.d.ts +4 -3
- package/dist/components/buttons/button/RuiButton.vue.d.ts +7 -5
- package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +6 -5
- package/dist/components/calendar/RuiCalendar.vue.d.ts +4 -2
- package/dist/components/calendar/RuiCalendarGrid.vue.d.ts +4 -2
- package/dist/components/calendar/RuiCalendarHeader.vue.d.ts +4 -2
- package/dist/components/calendar/RuiCalendarMenu.vue.d.ts +4 -2
- package/dist/components/cards/RuiCard.vue.d.ts +4 -3
- package/dist/components/cards/RuiCardHeader.vue.d.ts +3 -2
- package/dist/components/chips/RuiChip.vue.d.ts +4 -3
- package/dist/components/color-picker/RuiColorBoard.vue.d.ts +2 -1
- package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +2 -1
- package/dist/components/color-picker/RuiColorHue.vue.d.ts +4 -3
- package/dist/components/color-picker/RuiColorInput.vue.d.ts +4 -3
- package/dist/components/color-picker/RuiColorPicker.vue.d.ts +2 -1
- package/dist/components/color-picker/utils.d.ts +1 -1
- package/dist/components/date-time-picker/RuiDateTimePicker.vue.d.ts +10 -8
- package/dist/components/date-time-picker/RuiDateTimePickerMenu.vue.d.ts +5 -3
- package/dist/components/divider/RuiDivider.vue.d.ts +2 -1
- package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +29 -28
- package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +4 -3
- package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +7 -6
- package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +7 -6
- package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +8 -6
- package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +747 -10
- package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +3 -2
- package/dist/components/forms/slider/RuiSlider.vue.d.ts +3 -2
- package/dist/components/forms/switch/RuiSwitch.vue.d.ts +3 -2
- package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +8 -6
- package/dist/components/forms/text-field/RuiTextField.vue.d.ts +10 -8
- package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +2 -1
- package/dist/components/icons/RuiIcon.vue.d.ts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.es.js +4343 -4260
- package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +2 -1
- package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +2 -1
- package/dist/components/logos/RuiLogo.vue.d.ts +2 -1
- package/dist/components/overlays/badge/RuiBadge.vue.d.ts +5 -4
- package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +3 -2
- package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +6 -5
- package/dist/components/overlays/menu/RuiMenu.vue.d.ts +6 -3
- package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +6 -5
- package/dist/components/overlays/notification/RuiNotification.vue.d.ts +4 -3
- package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +4 -3
- package/dist/components/progress/RuiProgress.vue.d.ts +3 -2
- package/dist/components/steppers/RuiFooterStepper.vue.d.ts +2 -1
- package/dist/components/steppers/RuiStepper.vue.d.ts +4 -3
- package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +2 -1
- package/dist/components/steppers/RuiStepperIcon.vue.d.ts +2 -1
- package/dist/components/tables/RuiDataTable.vue.d.ts +13 -12
- package/dist/components/tables/RuiExpandButton.vue.d.ts +3 -2
- package/dist/components/tables/RuiTableHead.vue.d.ts +7 -6
- package/dist/components/tables/RuiTablePagination.vue.d.ts +3 -2
- package/dist/components/tabs/tab/RuiTab.vue.d.ts +5 -4
- package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +4 -3
- package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +7 -6
- package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +3 -2
- package/dist/components/time-picker/RuiTimePicker.vue.d.ts +4 -2
- package/dist/composables/defaults/table.d.ts +1 -2
- package/dist/composables/dropdown-menu.d.ts +3 -2
- package/dist/composables/index-CC7A7CEh.js +737 -0
- package/dist/composables/index.es.js +1 -1
- package/dist/composables/popper.d.ts +2 -2
- package/dist/composables/sticky-header.d.ts +1 -1
- package/dist/consts/time-accuracy-BnKA5GyT.js +1 -1
- package/dist/consts/typography.d.ts +38 -4
- package/dist/{index-cTPqOSmm.js → index-D7l4d7N2.js} +4 -4
- package/dist/index.es.js +4 -4
- package/dist/style.css +1 -1
- package/dist/theme/index.es.js +30 -23
- package/dist/utils/form-text-detail.d.ts +1 -1
- package/dist/utils/index-DJ-ueLCs.js +158 -0
- package/dist/vendor-Hqbg5uCG.js +1931 -0
- package/dist/web-types.json +59 -39
- package/package.json +41 -48
- package/README.md +0 -276
- package/dist/composables/index-D7DVd8pO.js +0 -717
- package/dist/utils/index-D-sENcA8.js +0 -158
- package/dist/vendor-X3mXJl51.js +0 -1931
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export interface Props {
|
|
2
2
|
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
3
3
|
}
|
|
4
|
-
declare const
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
5
5
|
rounded: "none" | "sm" | "md" | "lg" | "full";
|
|
6
6
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
7
8
|
export default _default;
|
|
@@ -2,8 +2,9 @@ import { type Props as SkeletonBaseProps } from '../../components/loaders/RuiSke
|
|
|
2
2
|
export interface Props extends SkeletonBaseProps {
|
|
3
3
|
type?: 'text' | 'paragraph' | 'heading' | 'article' | 'button' | 'icon' | 'avatar' | 'thumbnail' | 'custom';
|
|
4
4
|
}
|
|
5
|
-
declare const
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
6
|
type: "text" | "paragraph" | "heading" | "article" | "button" | "icon" | "avatar" | "thumbnail" | "custom";
|
|
7
7
|
rounded: "none" | "sm" | "md" | "lg" | "full";
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
@@ -13,11 +13,12 @@ export interface Props {
|
|
|
13
13
|
size?: string | number;
|
|
14
14
|
uniqueKey?: string | number;
|
|
15
15
|
}
|
|
16
|
-
declare const
|
|
16
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
17
|
size: string | number;
|
|
18
18
|
text: boolean;
|
|
19
19
|
branch: "develop" | "main" | string;
|
|
20
20
|
logo: keyof ExternalLinks;
|
|
21
21
|
uniqueKey: string | number;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
23
24
|
export default _default;
|
|
@@ -21,20 +21,21 @@ type __VLS_Slots = {} & {
|
|
|
21
21
|
} & {
|
|
22
22
|
icon?: (props: typeof __VLS_10) => any;
|
|
23
23
|
};
|
|
24
|
-
declare const
|
|
24
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
25
|
+
left: boolean;
|
|
25
26
|
size: "sm" | "md" | "lg";
|
|
26
|
-
color: "default" | ContextColorsType;
|
|
27
27
|
placement: "top" | "center" | "bottom";
|
|
28
|
+
color: "default" | ContextColorsType;
|
|
28
29
|
text: string | null;
|
|
29
30
|
rounded: "sm" | "md" | "lg" | "full";
|
|
30
31
|
icon: RuiIcons | null;
|
|
31
32
|
modelValue: boolean;
|
|
32
33
|
dot: boolean;
|
|
33
|
-
left: boolean;
|
|
34
34
|
offsetX: string | number;
|
|
35
35
|
offsetY: string | number;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
-
declare const
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
38
39
|
export default _default;
|
|
39
40
|
type __VLS_WithSlots<T, S> = T & {
|
|
40
41
|
new (): {
|
|
@@ -8,11 +8,12 @@ declare var __VLS_8: string, __VLS_9: any;
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
[K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<BottomSheetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BottomSheetProps> & Readonly<{}>, {
|
|
12
12
|
modelValue: boolean;
|
|
13
13
|
persistent: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
declare const
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
16
17
|
export default _default;
|
|
17
18
|
type __VLS_WithSlots<T, S> = T & {
|
|
18
19
|
new (): {
|
|
@@ -22,25 +22,26 @@ type __VLS_Slots = {} & {
|
|
|
22
22
|
} & {
|
|
23
23
|
default?: (props: typeof __VLS_18) => any;
|
|
24
24
|
};
|
|
25
|
-
declare const
|
|
26
|
-
"update:model-value": (value: boolean) => any;
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
27
26
|
closed: () => any;
|
|
27
|
+
"update:model-value": (value: boolean) => any;
|
|
28
28
|
"click:outside": () => any;
|
|
29
29
|
"click:esc": () => any;
|
|
30
30
|
}, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
|
|
31
|
-
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
32
31
|
onClosed?: (() => any) | undefined;
|
|
32
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
33
33
|
"onClick:outside"?: (() => any) | undefined;
|
|
34
34
|
"onClick:esc"?: (() => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
|
-
modelValue: boolean;
|
|
37
36
|
width: string | number;
|
|
37
|
+
modelValue: boolean;
|
|
38
38
|
contentClass: any;
|
|
39
39
|
persistent: boolean;
|
|
40
40
|
zIndex: string | number;
|
|
41
41
|
bottomSheet: boolean;
|
|
42
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
-
declare const
|
|
43
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
44
|
+
declare const _default: typeof __VLS_export;
|
|
44
45
|
export default _default;
|
|
45
46
|
type __VLS_WithSlots<T, S> = T & {
|
|
46
47
|
new (): {
|
|
@@ -17,6 +17,7 @@ export interface MenuProps {
|
|
|
17
17
|
showDetails?: boolean;
|
|
18
18
|
dense?: boolean;
|
|
19
19
|
persistent?: boolean;
|
|
20
|
+
disableAutoFocus?: boolean;
|
|
20
21
|
}
|
|
21
22
|
declare var __VLS_1: {
|
|
22
23
|
attrs: {};
|
|
@@ -32,17 +33,17 @@ type __VLS_Slots = {} & {
|
|
|
32
33
|
} & {
|
|
33
34
|
default?: (props: typeof __VLS_18) => any;
|
|
34
35
|
};
|
|
35
|
-
declare const
|
|
36
|
+
declare const __VLS_base: import("vue").DefineComponent<MenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
36
37
|
"update:model-value": (value: boolean) => any;
|
|
37
38
|
}, string, import("vue").PublicProps, Readonly<MenuProps> & Readonly<{
|
|
38
39
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
39
40
|
}>, {
|
|
41
|
+
popper: PopperOptions;
|
|
40
42
|
disabled: boolean;
|
|
41
43
|
modelValue: boolean;
|
|
42
44
|
errorMessages: string | string[];
|
|
43
45
|
successMessages: string | string[];
|
|
44
46
|
hint: string;
|
|
45
|
-
popper: PopperOptions;
|
|
46
47
|
openOnHover: boolean;
|
|
47
48
|
fullWidth: boolean;
|
|
48
49
|
openDelay: number;
|
|
@@ -52,8 +53,10 @@ declare const __VLS_component: import("vue").DefineComponent<MenuProps, {}, {},
|
|
|
52
53
|
closeOnContentClick: boolean;
|
|
53
54
|
persistOnActivatorClick: boolean;
|
|
54
55
|
persistent: boolean;
|
|
56
|
+
disableAutoFocus: boolean;
|
|
55
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
56
|
-
declare const
|
|
58
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
59
|
+
declare const _default: typeof __VLS_export;
|
|
57
60
|
export default _default;
|
|
58
61
|
type __VLS_WithSlots<T, S> = T & {
|
|
59
62
|
new (): {
|
|
@@ -25,15 +25,15 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
} & {
|
|
26
26
|
default?: (props: typeof __VLS_13) => any;
|
|
27
27
|
};
|
|
28
|
-
declare const
|
|
29
|
-
"update:model-value": (value: boolean) => any;
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<NavigationDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
30
29
|
closed: () => any;
|
|
30
|
+
"update:model-value": (value: boolean) => any;
|
|
31
31
|
}, string, import("vue").PublicProps, Readonly<NavigationDrawerProps> & Readonly<{
|
|
32
|
-
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
33
32
|
onClosed?: (() => any) | undefined;
|
|
33
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
|
-
modelValue: boolean;
|
|
36
35
|
width: string | number;
|
|
36
|
+
modelValue: boolean;
|
|
37
37
|
contentClass: string | object | string[];
|
|
38
38
|
overlay: boolean;
|
|
39
39
|
position: "left" | "right";
|
|
@@ -41,7 +41,8 @@ declare const __VLS_component: import("vue").DefineComponent<NavigationDrawerPro
|
|
|
41
41
|
stateless: boolean;
|
|
42
42
|
miniVariant: boolean;
|
|
43
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
|
-
declare const
|
|
44
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
45
46
|
export default _default;
|
|
46
47
|
type __VLS_WithSlots<T, S> = T & {
|
|
47
48
|
new (): {
|
|
@@ -8,15 +8,16 @@ declare var __VLS_11: {};
|
|
|
8
8
|
type __VLS_Slots = {} & {
|
|
9
9
|
default?: (props: typeof __VLS_11) => any;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<NotificationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
12
|
"update:model-value": (value: boolean) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<NotificationProps> & Readonly<{
|
|
14
14
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
theme: "light" | "dark";
|
|
17
16
|
width: number | string;
|
|
17
|
+
theme: "light" | "dark";
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
-
declare const
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
20
21
|
export default _default;
|
|
21
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
22
23
|
new (): {
|
|
@@ -18,20 +18,21 @@ type __VLS_Slots = {} & {
|
|
|
18
18
|
} & {
|
|
19
19
|
default?: (props: typeof __VLS_17) => any;
|
|
20
20
|
};
|
|
21
|
-
declare const
|
|
21
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {
|
|
22
22
|
onOpen: (immediate?: boolean) => void;
|
|
23
23
|
onClose: (immediate?: boolean) => void;
|
|
24
24
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
25
|
+
popper: PopperOptions;
|
|
25
26
|
text: string | null;
|
|
26
27
|
disabled: boolean;
|
|
27
|
-
popper: PopperOptions;
|
|
28
28
|
openDelay: number;
|
|
29
29
|
closeDelay: number;
|
|
30
30
|
hideArrow: boolean;
|
|
31
31
|
persistOnTooltipHover: boolean;
|
|
32
32
|
tooltipClass: string;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
-
declare const
|
|
34
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
35
36
|
export default _default;
|
|
36
37
|
type __VLS_WithSlots<T, S> = T & {
|
|
37
38
|
new (): {
|
|
@@ -23,14 +23,15 @@ export interface Props {
|
|
|
23
23
|
*/
|
|
24
24
|
size?: number | string;
|
|
25
25
|
}
|
|
26
|
-
declare const
|
|
26
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
27
27
|
size: number | string;
|
|
28
28
|
value: number;
|
|
29
|
+
color: ContextColorsType | "inherit";
|
|
29
30
|
bufferValue: number;
|
|
30
31
|
variant: "determinate" | "indeterminate" | "buffer";
|
|
31
|
-
color: ContextColorsType | "inherit";
|
|
32
32
|
circular: boolean;
|
|
33
33
|
showLabel: boolean;
|
|
34
34
|
thickness: number | string;
|
|
35
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
36
37
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export interface Props {
|
|
|
5
5
|
arrowButtons?: boolean;
|
|
6
6
|
hideButtons?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
9
|
"update:modelValue": (modelValue: number) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
11
|
"onUpdate:modelValue"?: ((modelValue: number) => any) | undefined;
|
|
@@ -15,4 +15,5 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
15
15
|
arrowButtons: boolean;
|
|
16
16
|
hideButtons: boolean;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
18
19
|
export default _default;
|
|
@@ -16,16 +16,17 @@ declare var __VLS_1: {
|
|
|
16
16
|
type __VLS_Slots = {} & {
|
|
17
17
|
icon?: (props: typeof __VLS_1) => any;
|
|
18
18
|
};
|
|
19
|
-
declare const
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
20
|
+
orientation: StepperOrientation;
|
|
20
21
|
step: number;
|
|
21
22
|
custom: boolean;
|
|
22
23
|
iconTop: boolean;
|
|
23
24
|
titleClass: string;
|
|
24
25
|
subtitleClass: string;
|
|
25
|
-
orientation: StepperOrientation;
|
|
26
26
|
keepActiveVisible: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
-
declare const
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
29
30
|
export default _default;
|
|
30
31
|
type __VLS_WithSlots<T, S> = T & {
|
|
31
32
|
new (): {
|
|
@@ -3,7 +3,8 @@ type __VLS_Props = {
|
|
|
3
3
|
state?: StepperState;
|
|
4
4
|
index: number;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
7
|
state: StepperState;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
@@ -3,7 +3,8 @@ type __VLS_Props = {
|
|
|
3
3
|
state?: StepperState;
|
|
4
4
|
index: number;
|
|
5
5
|
};
|
|
6
|
-
declare const
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
7
|
state: StepperState;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
9
10
|
export default _default;
|
|
@@ -141,18 +141,18 @@ export interface Props<T, K extends keyof T> {
|
|
|
141
141
|
scroller?: HTMLElement | null;
|
|
142
142
|
itemClass?: ((item: T) => string) | string;
|
|
143
143
|
}
|
|
144
|
-
declare const
|
|
145
|
-
props: __VLS_PrettifyLocal<
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}
|
|
155
|
-
expose(exposed:
|
|
144
|
+
declare const __VLS_export: <T extends object, IdType extends keyof T = keyof T>(__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<{
|
|
145
|
+
props: __VLS_PrettifyLocal<Props<T, IdType> & {
|
|
146
|
+
"onUpdate:model-value"?: ((value?: T[IdType][] | undefined) => any) | undefined;
|
|
147
|
+
"onUpdate:expanded"?: ((value: T[]) => any) | undefined;
|
|
148
|
+
"onUpdate:pagination"?: ((value: TablePaginationData) => any) | undefined;
|
|
149
|
+
"onUpdate:sort"?: ((value?: TableSortData<T>) => any) | undefined;
|
|
150
|
+
"onUpdate:options"?: ((value: TableOptions<T>) => any) | undefined;
|
|
151
|
+
"onUpdate:group"?: ((value?: GroupKeys<T>) => any) | undefined;
|
|
152
|
+
"onUpdate:collapsed"?: ((value?: T[] | undefined) => any) | undefined;
|
|
153
|
+
"onCopy:group"?: ((value: GroupData<T>) => any) | undefined;
|
|
154
|
+
}> & import("vue").PublicProps;
|
|
155
|
+
expose: (exposed: {}) => void;
|
|
156
156
|
attrs: any;
|
|
157
157
|
slots: Partial<Record<`header.${string}`, (props: {
|
|
158
158
|
column: TableColumn<T>;
|
|
@@ -198,6 +198,7 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
|
|
|
198
198
|
}>) => import("vue").VNode & {
|
|
199
199
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
200
200
|
};
|
|
201
|
+
declare const _default: typeof __VLS_export;
|
|
201
202
|
export default _default;
|
|
202
203
|
type __VLS_PrettifyLocal<T> = {
|
|
203
204
|
[K in keyof T as K]: T[K];
|
|
@@ -7,10 +7,11 @@ declare var __VLS_6: {};
|
|
|
7
7
|
type __VLS_Slots = {} & {
|
|
8
8
|
default?: (props: typeof __VLS_6) => any;
|
|
9
9
|
};
|
|
10
|
-
declare const
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
11
11
|
icon: RuiIcons;
|
|
12
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
14
15
|
export default _default;
|
|
15
16
|
type __VLS_WithSlots<T, S> = T & {
|
|
16
17
|
new (): {
|
|
@@ -65,15 +65,15 @@ export interface Props<T> {
|
|
|
65
65
|
columnAttr?: keyof TableColumn<T>;
|
|
66
66
|
dataId?: string;
|
|
67
67
|
}
|
|
68
|
-
declare const
|
|
69
|
-
props: __VLS_PrettifyLocal<
|
|
70
|
-
|
|
68
|
+
declare const __VLS_export: <T extends object, K extends keyof T = keyof T>(__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<{
|
|
69
|
+
props: __VLS_PrettifyLocal<Props<T> & {
|
|
70
|
+
onSort?: ((value: {
|
|
71
71
|
key: TableRowKey<T>;
|
|
72
72
|
direction?: "asc" | "desc";
|
|
73
73
|
}) => any) | undefined;
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
expose(exposed:
|
|
74
|
+
"onSelect:all"?: ((value: boolean) => any) | undefined;
|
|
75
|
+
}> & import("vue").PublicProps;
|
|
76
|
+
expose: (exposed: {}) => void;
|
|
77
77
|
attrs: any;
|
|
78
78
|
slots: {
|
|
79
79
|
[x: `header.${string}`]: ((props: {
|
|
@@ -98,6 +98,7 @@ declare const _default: <T extends object, K extends keyof T = keyof T>(__VLS_pr
|
|
|
98
98
|
}>) => import("vue").VNode & {
|
|
99
99
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
100
100
|
};
|
|
101
|
+
declare const _default: typeof __VLS_export;
|
|
101
102
|
export default _default;
|
|
102
103
|
type __VLS_PrettifyLocal<T> = {
|
|
103
104
|
[K in keyof T as K]: T[K];
|
|
@@ -10,13 +10,14 @@ export interface Props {
|
|
|
10
10
|
disablePerPage?: boolean;
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
14
|
"update:model-value": (value: TablePaginationData) => any;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
16
16
|
"onUpdate:model-value"?: ((value: TablePaginationData) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
loading: boolean;
|
|
19
18
|
dense: boolean;
|
|
19
|
+
loading: boolean;
|
|
20
20
|
disablePerPage: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
22
23
|
export default _default;
|
|
@@ -21,17 +21,17 @@ type __VLS_Slots = {
|
|
|
21
21
|
prepend?: (props?: object) => any;
|
|
22
22
|
append?: (props?: object) => any;
|
|
23
23
|
};
|
|
24
|
-
declare const
|
|
24
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
25
25
|
click: (value: string | number) => any;
|
|
26
26
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
27
27
|
onClick?: ((value: string | number) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
|
-
active: boolean;
|
|
30
|
-
vertical: boolean;
|
|
31
29
|
value: number | string;
|
|
32
30
|
color: ContextColorsType;
|
|
33
31
|
link: boolean;
|
|
34
32
|
disabled: boolean;
|
|
33
|
+
active: boolean;
|
|
34
|
+
vertical: boolean;
|
|
35
35
|
target: string;
|
|
36
36
|
align: "start" | "center" | "end";
|
|
37
37
|
to: RouteLocationRaw;
|
|
@@ -41,7 +41,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
41
41
|
exactPath: boolean;
|
|
42
42
|
indicatorPosition: "start" | "end";
|
|
43
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
|
-
declare const
|
|
44
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
45
46
|
export default _default;
|
|
46
47
|
type __VLS_WithSlots<T, S> = T & {
|
|
47
48
|
new (): {
|
|
@@ -10,13 +10,14 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
} & {
|
|
11
11
|
default?: (props: typeof __VLS_8) => any;
|
|
12
12
|
};
|
|
13
|
-
declare const
|
|
13
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
|
+
value: number | string;
|
|
14
15
|
reverse: boolean;
|
|
15
16
|
active: boolean;
|
|
16
|
-
value: number | string;
|
|
17
17
|
eager: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
-
declare const
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
20
21
|
export default _default;
|
|
21
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
22
23
|
new (): {
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
export interface Props<T> {
|
|
2
2
|
modelValue?: T;
|
|
3
3
|
}
|
|
4
|
-
declare const
|
|
5
|
-
props: __VLS_PrettifyLocal<
|
|
6
|
-
readonly "onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
|
|
7
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & {
|
|
4
|
+
declare const __VLS_export: <T extends string | number>(__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<{
|
|
5
|
+
props: __VLS_PrettifyLocal<{
|
|
8
6
|
modelValue?: Props<T>["modelValue"];
|
|
9
|
-
} & {
|
|
10
|
-
|
|
7
|
+
} & {
|
|
8
|
+
"onUpdate:modelValue"?: ((value: T | undefined) => any) | undefined;
|
|
9
|
+
}> & import("vue").PublicProps;
|
|
10
|
+
expose: (exposed: {}) => void;
|
|
11
11
|
attrs: any;
|
|
12
12
|
slots: {};
|
|
13
13
|
emit: (evt: "update:modelValue", value: T | undefined) => void;
|
|
14
14
|
}>) => import("vue").VNode & {
|
|
15
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
16
16
|
};
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
17
18
|
export default _default;
|
|
18
19
|
type __VLS_PrettifyLocal<T> = {
|
|
19
20
|
[K in keyof T as K]: T[K];
|
|
@@ -8,17 +8,18 @@ export interface Props {
|
|
|
8
8
|
align?: 'start' | 'center' | 'end';
|
|
9
9
|
indicatorPosition?: 'start' | 'end';
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
12
|
"update:modelValue": (modelValue: string | number) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
vertical: boolean;
|
|
17
16
|
color: ContextColorsType;
|
|
18
17
|
disabled: boolean;
|
|
18
|
+
vertical: boolean;
|
|
19
19
|
modelValue: number | string;
|
|
20
20
|
align: "start" | "center" | "end";
|
|
21
21
|
grow: boolean;
|
|
22
22
|
indicatorPosition: "start" | "end";
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
24
25
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export interface RuiTimePickerProps {
|
|
|
5
5
|
borderless?: boolean;
|
|
6
6
|
}
|
|
7
7
|
type __VLS_Props = RuiTimePickerProps;
|
|
8
|
-
type
|
|
8
|
+
type __VLS_ModelProps = {
|
|
9
9
|
modelValue: Date | undefined;
|
|
10
10
|
'hour'?: number | undefined;
|
|
11
11
|
'minute'?: number | undefined;
|
|
@@ -13,7 +13,8 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
13
13
|
'millisecond'?: number | undefined;
|
|
14
14
|
'selection'?: TimePickerSelection;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
18
|
"update:modelValue": (value: Date | undefined) => any;
|
|
18
19
|
"update:hour": (value: number | undefined) => any;
|
|
19
20
|
"update:minute": (value: number | undefined) => any;
|
|
@@ -31,4 +32,5 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
31
32
|
borderless: boolean;
|
|
32
33
|
accuracy: TimeAccuracy;
|
|
33
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
34
36
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
-
export type KeyOfType<T, V> = V extends object ? keyof T : keyof {
|
|
2
|
+
export type KeyOfType<T, V> = T extends string | number | boolean | symbol | null | undefined ? never : V extends object ? keyof T : keyof {
|
|
3
3
|
[P in keyof T as T[P] extends V ? P : V extends T[P] ? P : never]: any;
|
|
4
4
|
};
|
|
5
5
|
export interface DropdownItemAttr<TValue, TItem> {
|
|
@@ -9,6 +9,7 @@ export interface DropdownItemAttr<TValue, TItem> {
|
|
|
9
9
|
export interface DropdownOptions<TValue, TItem> {
|
|
10
10
|
options: Ref<TItem[]>;
|
|
11
11
|
dense?: Ref<boolean>;
|
|
12
|
+
disabled?: Ref<boolean>;
|
|
12
13
|
value: Ref<TItem | TItem[] | undefined>;
|
|
13
14
|
menuRef: Ref<HTMLElement>;
|
|
14
15
|
keyAttr?: KeyOfType<TItem, TValue extends Array<infer U> ? U : TValue>;
|
|
@@ -26,7 +27,7 @@ export declare function useDropdownOptionProperty<TValue, TItem>({ keyAttr, text
|
|
|
26
27
|
getIdentifier: (item: TItem) => TItem | TItem[KeyOfType<TItem, TValue extends Array<infer U> ? U : TValue>];
|
|
27
28
|
getText: (item: TItem) => string | undefined;
|
|
28
29
|
};
|
|
29
|
-
export declare function useDropdownMenu<TValue, TItem>({ appendWidth, autoFocus, autoSelectFirst, dense, hideSelected, itemHeight, keyAttr, menuRef, options: allOptions, overscan, prependWidth, setValue, textAttr, value, }: DropdownOptions<TValue, TItem>): {
|
|
30
|
+
export declare function useDropdownMenu<TValue, TItem>({ appendWidth, autoFocus, autoSelectFirst, dense, disabled, hideSelected, itemHeight, keyAttr, menuRef, options: allOptions, overscan, prependWidth, setValue, textAttr, value, }: DropdownOptions<TValue, TItem>): {
|
|
30
31
|
applyHighlighted: () => void;
|
|
31
32
|
containerProps: {
|
|
32
33
|
ref: Ref<HTMLElement | null>;
|