@rotki/ui-library 0.12.0 → 0.14.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/Accordion.vue.d.ts +71 -0
- package/dist/components/accordions/accordions/Accordions.vue.d.ts +31 -0
- package/dist/components/alerts/Alert.vue.d.ts +10 -10
- package/dist/components/cards/Card.vue.d.ts +3 -3
- package/dist/components/chips/Chip.vue.d.ts +18 -18
- package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +58 -172
- package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +26 -77
- package/dist/components/forms/checkbox/Checkbox.vue.d.ts +9 -9
- package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +9 -9
- package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +9 -9
- package/dist/components/forms/select/MenuSelect.vue.d.ts +62 -0
- package/dist/components/forms/slider/Slider.vue.d.ts +192 -0
- package/dist/components/forms/switch/Switch.vue.d.ts +109 -0
- package/dist/components/forms/text-area/TextArea.vue.d.ts +9 -9
- package/dist/components/icons/Icon.vue.d.ts +6 -6
- package/dist/components/index.d.ts +7 -1
- package/dist/components/index.es.js +38 -41
- package/dist/components/loaders/Skeleton.vue.d.ts +6 -6
- package/dist/components/loaders/SkeletonBase.vue.d.ts +3 -3
- package/dist/components/overlays/badge/Badge.vue.d.ts +15 -15
- package/dist/components/overlays/dialog/Dialog.vue.d.ts +3 -3
- package/dist/components/overlays/menu/Menu.vue.d.ts +108 -0
- package/dist/components/progress/Progress.vue.d.ts +6 -6
- package/dist/components/tables/DataTable.vue.d.ts +4 -2
- package/dist/components/tables/TablePagination.vue.d.ts +10 -0
- package/dist/components/tabs/tab/Tab.vue.d.ts +28 -28
- package/dist/components/tabs/tabs/Tabs.vue.d.ts +9 -9
- package/dist/composables/defaults/table.d.ts +1 -0
- package/dist/composables/forms/auto-complete/index.d.ts +9 -0
- package/dist/composables/index.es.js +5 -9
- package/dist/composables/popper.d.ts +2 -2
- package/dist/composables/sticky-header.d.ts +5 -5
- package/dist/consts/forms/auto-complete/index.d.ts +4 -0
- package/dist/index-4pX97qAk.js +8090 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +2786 -2784
- package/dist/style.css +1 -1
- package/dist/utils/forms/auto-complete/index.d.ts +2 -0
- package/package.json +27 -27
- package/dist/index-9kAPUqqg.js +0 -7341
|
@@ -1,43 +1,40 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import "vue";
|
|
3
|
-
import "@vueuse/shared";
|
|
4
|
-
import "../theme-DT8UjYf9.js";
|
|
5
|
-
import "../icons/icons_1.es.js";
|
|
6
|
-
import "../icons/icons_2.es.js";
|
|
7
|
-
import "../icons/icons_5.es.js";
|
|
8
|
-
import "@vueuse/core";
|
|
9
|
-
import "../colors-ikihApJv.js";
|
|
10
|
-
import "vue-router";
|
|
1
|
+
import { G as u, z as s, A as e, a as R, B as o, b as t, d as r, o as l, p as d, C as p, e as n, D as T, n as b, x as c, F as S, I as x, _ as g, l as m, M as A, P as C, R as h, f as B, g as D, m as F, v as I, y as k, h as v, i as w, r as G, t as M, s as P, u as f, E, q as L, w as j, j as q, k as y } from "../index-4pX97qAk.js";
|
|
11
2
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
3
|
+
u as RuiAccordion,
|
|
4
|
+
s as RuiAccordions,
|
|
5
|
+
e as RuiAlert,
|
|
6
|
+
R as RuiAutoComplete,
|
|
7
|
+
o as RuiBadge,
|
|
8
|
+
t as RuiButton,
|
|
9
|
+
r as RuiButtonGroup,
|
|
10
|
+
l as RuiCard,
|
|
11
|
+
d as RuiCardHeader,
|
|
12
|
+
p as RuiCheckbox,
|
|
13
|
+
n as RuiChip,
|
|
14
|
+
T as RuiDataTable,
|
|
15
|
+
b as RuiDialog,
|
|
16
|
+
c as RuiDivider,
|
|
17
|
+
S as RuiFooterStepper,
|
|
18
|
+
x as RuiIcon,
|
|
19
|
+
g as RuiLogo,
|
|
20
|
+
m as RuiMenu,
|
|
21
|
+
A as RuiMenuSelect,
|
|
22
|
+
C as RuiProgress,
|
|
23
|
+
h as RuiRadio,
|
|
24
|
+
B as RuiRadioGroup,
|
|
25
|
+
D as RuiRevealableTextField,
|
|
26
|
+
F as RuiSimpleSelect,
|
|
27
|
+
I as RuiSkeletonLoader,
|
|
28
|
+
k as RuiSlider,
|
|
29
|
+
v as RuiStepper,
|
|
30
|
+
w as RuiSwitch,
|
|
31
|
+
G as RuiTab,
|
|
32
|
+
M as RuiTabItem,
|
|
33
|
+
P as RuiTabItems,
|
|
34
|
+
f as RuiTablePagination,
|
|
35
|
+
E as RuiTableRowExpander,
|
|
36
|
+
L as RuiTabs,
|
|
37
|
+
j as RuiTextArea,
|
|
38
|
+
q as RuiTextField,
|
|
39
|
+
y as RuiTooltip
|
|
43
40
|
};
|
|
@@ -4,24 +4,24 @@ export interface Props extends SkeletonBaseProps {
|
|
|
4
4
|
}
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
type: {
|
|
7
|
-
type: globalThis.PropType<"
|
|
7
|
+
type: globalThis.PropType<"heading" | "paragraph" | "text" | "article" | "button" | "icon" | "custom" | "avatar" | "thumbnail">;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
rounded: {
|
|
11
|
-
type: globalThis.PropType<"
|
|
11
|
+
type: globalThis.PropType<"sm" | "md" | "lg" | "none" | "full">;
|
|
12
12
|
default: undefined;
|
|
13
13
|
};
|
|
14
14
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
15
|
type: {
|
|
16
|
-
type: globalThis.PropType<"
|
|
16
|
+
type: globalThis.PropType<"heading" | "paragraph" | "text" | "article" | "button" | "icon" | "custom" | "avatar" | "thumbnail">;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
rounded: {
|
|
20
|
-
type: globalThis.PropType<"
|
|
20
|
+
type: globalThis.PropType<"sm" | "md" | "lg" | "none" | "full">;
|
|
21
21
|
default: undefined;
|
|
22
22
|
};
|
|
23
23
|
}>>, {
|
|
24
|
-
type: "
|
|
25
|
-
rounded: "
|
|
24
|
+
type: "heading" | "paragraph" | "text" | "article" | "button" | "icon" | "custom" | "avatar" | "thumbnail";
|
|
25
|
+
rounded: "sm" | "md" | "lg" | "none" | "full";
|
|
26
26
|
}, {}>;
|
|
27
27
|
export default _default;
|
|
@@ -3,15 +3,15 @@ export interface Props {
|
|
|
3
3
|
}
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
rounded: {
|
|
6
|
-
type: globalThis.PropType<"
|
|
6
|
+
type: globalThis.PropType<"sm" | "md" | "lg" | "none" | "full">;
|
|
7
7
|
default: undefined;
|
|
8
8
|
};
|
|
9
9
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
10
10
|
rounded: {
|
|
11
|
-
type: globalThis.PropType<"
|
|
11
|
+
type: globalThis.PropType<"sm" | "md" | "lg" | "none" | "full">;
|
|
12
12
|
default: undefined;
|
|
13
13
|
};
|
|
14
14
|
}>>, {
|
|
15
|
-
rounded: "
|
|
15
|
+
rounded: "sm" | "md" | "lg" | "none" | "full";
|
|
16
16
|
}, {}>;
|
|
17
17
|
export default _default;
|
|
@@ -14,20 +14,20 @@ export interface Props {
|
|
|
14
14
|
color?: 'default' | ContextColorsType;
|
|
15
15
|
}
|
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
17
|
-
color: {
|
|
18
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "default">;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
17
|
size: {
|
|
22
|
-
type: globalThis.PropType<"sm" | "
|
|
18
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
23
19
|
default: string;
|
|
24
20
|
};
|
|
25
21
|
text: {
|
|
26
22
|
type: globalThis.PropType<string | null>;
|
|
27
23
|
default: null;
|
|
28
24
|
};
|
|
25
|
+
color: {
|
|
26
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "default">;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
29
|
rounded: {
|
|
30
|
-
type: globalThis.PropType<"sm" | "
|
|
30
|
+
type: globalThis.PropType<"sm" | "md" | "lg" | "full">;
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
icon: {
|
|
@@ -59,20 +59,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
59
59
|
default: number;
|
|
60
60
|
};
|
|
61
61
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
62
|
-
color: {
|
|
63
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "default">;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
62
|
size: {
|
|
67
|
-
type: globalThis.PropType<"sm" | "
|
|
63
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
68
64
|
default: string;
|
|
69
65
|
};
|
|
70
66
|
text: {
|
|
71
67
|
type: globalThis.PropType<string | null>;
|
|
72
68
|
default: null;
|
|
73
69
|
};
|
|
70
|
+
color: {
|
|
71
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success" | "default">;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
74
|
rounded: {
|
|
75
|
-
type: globalThis.PropType<"sm" | "
|
|
75
|
+
type: globalThis.PropType<"sm" | "md" | "lg" | "full">;
|
|
76
76
|
default: string;
|
|
77
77
|
};
|
|
78
78
|
icon: {
|
|
@@ -104,10 +104,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
104
104
|
default: number;
|
|
105
105
|
};
|
|
106
106
|
}>>, {
|
|
107
|
-
|
|
108
|
-
size: "sm" | "lg" | "md";
|
|
107
|
+
size: "sm" | "md" | "lg";
|
|
109
108
|
text: string | null;
|
|
110
|
-
|
|
109
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success" | "default";
|
|
110
|
+
rounded: "sm" | "md" | "lg" | "full";
|
|
111
111
|
icon: RuiIcons | null;
|
|
112
112
|
modelValue: boolean;
|
|
113
113
|
left: boolean;
|
|
@@ -6,7 +6,7 @@ export interface Props {
|
|
|
6
6
|
}
|
|
7
7
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
8
8
|
size: {
|
|
9
|
-
type: globalThis.PropType<"sm" | "
|
|
9
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
12
|
modelValue: {
|
|
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
25
|
"update:model-value": (modelValue: boolean) => void;
|
|
26
26
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
27
27
|
size: {
|
|
28
|
-
type: globalThis.PropType<"sm" | "
|
|
28
|
+
type: globalThis.PropType<"sm" | "md" | "lg">;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
modelValue: {
|
|
@@ -43,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
43
43
|
}>> & {
|
|
44
44
|
"onUpdate:model-value"?: ((modelValue: boolean) => any) | undefined;
|
|
45
45
|
}, {
|
|
46
|
-
size: "sm" | "
|
|
46
|
+
size: "sm" | "md" | "lg";
|
|
47
47
|
dismissible: boolean;
|
|
48
48
|
persistent: boolean;
|
|
49
49
|
}, {}>, {
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { type PopperOptions } from '../../../composables/popper';
|
|
2
|
+
export interface Props {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
openOnHover?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
openDelay?: number;
|
|
7
|
+
closeDelay?: number;
|
|
8
|
+
popper?: PopperOptions;
|
|
9
|
+
menuClass?: string;
|
|
10
|
+
closeOnContentClick?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare function checkClick(): void;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
14
|
+
disabled: {
|
|
15
|
+
type: globalThis.PropType<boolean>;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: globalThis.PropType<boolean>;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
openDelay: {
|
|
23
|
+
type: globalThis.PropType<number>;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
closeDelay: {
|
|
27
|
+
type: globalThis.PropType<number>;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
popper: {
|
|
31
|
+
type: globalThis.PropType<PopperOptions>;
|
|
32
|
+
default: () => {};
|
|
33
|
+
};
|
|
34
|
+
openOnHover: {
|
|
35
|
+
type: globalThis.PropType<boolean>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
menuClass: {
|
|
39
|
+
type: globalThis.PropType<string>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
closeOnContentClick: {
|
|
43
|
+
type: globalThis.PropType<boolean>;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
"update:model-value": (value: boolean) => void;
|
|
48
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
49
|
+
disabled: {
|
|
50
|
+
type: globalThis.PropType<boolean>;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
modelValue: {
|
|
54
|
+
type: globalThis.PropType<boolean>;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
openDelay: {
|
|
58
|
+
type: globalThis.PropType<number>;
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
61
|
+
closeDelay: {
|
|
62
|
+
type: globalThis.PropType<number>;
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
popper: {
|
|
66
|
+
type: globalThis.PropType<PopperOptions>;
|
|
67
|
+
default: () => {};
|
|
68
|
+
};
|
|
69
|
+
openOnHover: {
|
|
70
|
+
type: globalThis.PropType<boolean>;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
menuClass: {
|
|
74
|
+
type: globalThis.PropType<string>;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
closeOnContentClick: {
|
|
78
|
+
type: globalThis.PropType<boolean>;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
}>> & {
|
|
82
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
modelValue: boolean;
|
|
86
|
+
openDelay: number;
|
|
87
|
+
closeDelay: number;
|
|
88
|
+
popper: PopperOptions;
|
|
89
|
+
openOnHover: boolean;
|
|
90
|
+
menuClass: string;
|
|
91
|
+
closeOnContentClick: boolean;
|
|
92
|
+
}, {}>, {
|
|
93
|
+
activator?(_: {
|
|
94
|
+
on: {
|
|
95
|
+
mouseover: () => void;
|
|
96
|
+
mouseleave: () => void;
|
|
97
|
+
click: typeof checkClick;
|
|
98
|
+
};
|
|
99
|
+
open: boolean;
|
|
100
|
+
}): any;
|
|
101
|
+
default?(_: {}): any;
|
|
102
|
+
}>;
|
|
103
|
+
export default _default;
|
|
104
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
105
|
+
new (): {
|
|
106
|
+
$slots: S;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
@@ -24,6 +24,10 @@ export interface Props {
|
|
|
24
24
|
size?: number | string;
|
|
25
25
|
}
|
|
26
26
|
declare const _default: import("vue").DefineComponent<{
|
|
27
|
+
size: {
|
|
28
|
+
type: globalThis.PropType<string | number>;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
27
31
|
value: {
|
|
28
32
|
type: globalThis.PropType<number>;
|
|
29
33
|
default: number;
|
|
@@ -52,11 +56,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
56
|
type: globalThis.PropType<string | number>;
|
|
53
57
|
default: number;
|
|
54
58
|
};
|
|
59
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
55
60
|
size: {
|
|
56
61
|
type: globalThis.PropType<string | number>;
|
|
57
62
|
default: number;
|
|
58
63
|
};
|
|
59
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
60
64
|
value: {
|
|
61
65
|
type: globalThis.PropType<number>;
|
|
62
66
|
default: number;
|
|
@@ -85,11 +89,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
89
|
type: globalThis.PropType<string | number>;
|
|
86
90
|
default: number;
|
|
87
91
|
};
|
|
88
|
-
size: {
|
|
89
|
-
type: globalThis.PropType<string | number>;
|
|
90
|
-
default: number;
|
|
91
|
-
};
|
|
92
92
|
}>>, {
|
|
93
|
+
size: string | number;
|
|
93
94
|
value: number;
|
|
94
95
|
bufferValue: number;
|
|
95
96
|
variant: "determinate" | "indeterminate" | "buffer";
|
|
@@ -97,6 +98,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
98
|
circular: boolean;
|
|
98
99
|
showLabel: boolean;
|
|
99
100
|
thickness: string | number;
|
|
100
|
-
size: string | number;
|
|
101
101
|
}, {}>;
|
|
102
102
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type TablePaginationData } from './TablePagination.vue';
|
|
2
|
-
import { type GroupData, type GroupKeys, type
|
|
2
|
+
import { type GroupData, type GroupKeys, type TableColumn, type TableRowKeyData, type TableSortData } from './TableHead.vue';
|
|
3
3
|
export interface TableOptions<T> {
|
|
4
4
|
pagination?: TablePaginationData;
|
|
5
|
-
sort?:
|
|
5
|
+
sort?: TableSortData<T>;
|
|
6
6
|
}
|
|
7
7
|
export interface GroupHeader<T> {
|
|
8
8
|
__header__: true;
|
|
@@ -89,6 +89,7 @@ export interface Props<T, K extends keyof T> {
|
|
|
89
89
|
* triggers indefinite progress at the bottom of the table header
|
|
90
90
|
*/
|
|
91
91
|
loading?: boolean;
|
|
92
|
+
disablePerPage?: boolean;
|
|
92
93
|
/**
|
|
93
94
|
* data to display for empty state
|
|
94
95
|
* text and icon
|
|
@@ -130,6 +131,7 @@ export interface Props<T, K extends keyof T> {
|
|
|
130
131
|
*/
|
|
131
132
|
group?: TableRowKeyData<T>;
|
|
132
133
|
collapsed?: T[];
|
|
134
|
+
disabledRows?: T[];
|
|
133
135
|
}
|
|
134
136
|
declare const _default: <T extends object, IdType extends keyof T = keyof T>(__VLS_props: Props<T, IdType> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
135
137
|
props: Props<T, IdType>;
|
|
@@ -7,6 +7,7 @@ export interface TablePaginationData {
|
|
|
7
7
|
export interface Props {
|
|
8
8
|
modelValue: TablePaginationData;
|
|
9
9
|
dense?: boolean;
|
|
10
|
+
disablePerPage?: boolean;
|
|
10
11
|
loading?: boolean;
|
|
11
12
|
}
|
|
12
13
|
declare const _default: import("vue").DefineComponent<{
|
|
@@ -22,6 +23,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
23
|
type: globalThis.PropType<boolean>;
|
|
23
24
|
default: boolean;
|
|
24
25
|
};
|
|
26
|
+
disablePerPage: {
|
|
27
|
+
type: globalThis.PropType<boolean>;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
25
30
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
31
|
"update:model-value": (value: TablePaginationData) => void;
|
|
27
32
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -37,10 +42,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
42
|
type: globalThis.PropType<boolean>;
|
|
38
43
|
default: boolean;
|
|
39
44
|
};
|
|
45
|
+
disablePerPage: {
|
|
46
|
+
type: globalThis.PropType<boolean>;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
40
49
|
}>> & {
|
|
41
50
|
"onUpdate:model-value"?: ((value: TablePaginationData) => any) | undefined;
|
|
42
51
|
}, {
|
|
43
52
|
loading: boolean;
|
|
44
53
|
dense: boolean;
|
|
54
|
+
disablePerPage: boolean;
|
|
45
55
|
}, {}>;
|
|
46
56
|
export default _default;
|
|
@@ -14,14 +14,22 @@ export interface Props {
|
|
|
14
14
|
align?: 'start' | 'center' | 'end';
|
|
15
15
|
}
|
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
17
|
-
|
|
18
|
-
type: globalThis.PropType<
|
|
19
|
-
default:
|
|
17
|
+
active: {
|
|
18
|
+
type: globalThis.PropType<boolean>;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
vertical: {
|
|
22
|
+
type: globalThis.PropType<boolean>;
|
|
23
|
+
default: boolean;
|
|
20
24
|
};
|
|
21
25
|
link: {
|
|
22
26
|
type: globalThis.PropType<boolean>;
|
|
23
27
|
default: boolean;
|
|
24
28
|
};
|
|
29
|
+
color: {
|
|
30
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
25
33
|
target: {
|
|
26
34
|
type: globalThis.PropType<string>;
|
|
27
35
|
default: string;
|
|
@@ -34,14 +42,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
42
|
type: globalThis.PropType<boolean>;
|
|
35
43
|
default: boolean;
|
|
36
44
|
};
|
|
37
|
-
active: {
|
|
38
|
-
type: globalThis.PropType<boolean>;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
vertical: {
|
|
42
|
-
type: globalThis.PropType<boolean>;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
45
|
align: {
|
|
46
46
|
type: globalThis.PropType<"end" | "center" | "start">;
|
|
47
47
|
default: string;
|
|
@@ -65,14 +65,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
65
65
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
66
66
|
click: (tabValue: string | number) => void;
|
|
67
67
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
68
|
-
|
|
69
|
-
type: globalThis.PropType<
|
|
70
|
-
default:
|
|
68
|
+
active: {
|
|
69
|
+
type: globalThis.PropType<boolean>;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
vertical: {
|
|
73
|
+
type: globalThis.PropType<boolean>;
|
|
74
|
+
default: boolean;
|
|
71
75
|
};
|
|
72
76
|
link: {
|
|
73
77
|
type: globalThis.PropType<boolean>;
|
|
74
78
|
default: boolean;
|
|
75
79
|
};
|
|
80
|
+
color: {
|
|
81
|
+
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
76
84
|
target: {
|
|
77
85
|
type: globalThis.PropType<string>;
|
|
78
86
|
default: string;
|
|
@@ -85,14 +93,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
85
93
|
type: globalThis.PropType<boolean>;
|
|
86
94
|
default: boolean;
|
|
87
95
|
};
|
|
88
|
-
active: {
|
|
89
|
-
type: globalThis.PropType<boolean>;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
vertical: {
|
|
93
|
-
type: globalThis.PropType<boolean>;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
96
|
align: {
|
|
97
97
|
type: globalThis.PropType<"end" | "center" | "start">;
|
|
98
98
|
default: string;
|
|
@@ -116,22 +116,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
116
116
|
}>> & {
|
|
117
117
|
onClick?: ((tabValue: string | number) => any) | undefined;
|
|
118
118
|
}, {
|
|
119
|
-
|
|
119
|
+
active: boolean;
|
|
120
|
+
vertical: boolean;
|
|
120
121
|
link: boolean;
|
|
122
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
121
123
|
target: string;
|
|
122
124
|
to: string;
|
|
123
125
|
disabled: boolean;
|
|
124
|
-
active: boolean;
|
|
125
|
-
vertical: boolean;
|
|
126
126
|
align: "end" | "center" | "start";
|
|
127
127
|
grow: boolean;
|
|
128
128
|
tabValue: string | number;
|
|
129
129
|
exact: boolean;
|
|
130
130
|
exactPath: boolean;
|
|
131
131
|
}, {}>, {
|
|
132
|
-
default
|
|
133
|
-
prepend
|
|
134
|
-
append
|
|
132
|
+
default?: ((props?: object | undefined) => any) | undefined;
|
|
133
|
+
prepend?: ((props?: object | undefined) => any) | undefined;
|
|
134
|
+
append?: ((props?: object | undefined) => any) | undefined;
|
|
135
135
|
}>;
|
|
136
136
|
export default _default;
|
|
137
137
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,6 +8,10 @@ export interface Props {
|
|
|
8
8
|
align?: 'start' | 'center' | 'end';
|
|
9
9
|
}
|
|
10
10
|
declare const _default: import("vue").DefineComponent<{
|
|
11
|
+
vertical: {
|
|
12
|
+
type: globalThis.PropType<boolean>;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
11
15
|
color: {
|
|
12
16
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
13
17
|
default: undefined;
|
|
@@ -16,10 +20,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
20
|
type: globalThis.PropType<boolean>;
|
|
17
21
|
default: boolean;
|
|
18
22
|
};
|
|
19
|
-
vertical: {
|
|
20
|
-
type: globalThis.PropType<boolean>;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
23
|
modelValue: {
|
|
24
24
|
type: globalThis.PropType<string | number>;
|
|
25
25
|
default: undefined;
|
|
@@ -35,6 +35,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
36
|
"update:modelValue": (modelValue: string | number) => void;
|
|
37
37
|
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
|
+
vertical: {
|
|
39
|
+
type: globalThis.PropType<boolean>;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
38
42
|
color: {
|
|
39
43
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
40
44
|
default: undefined;
|
|
@@ -43,10 +47,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
47
|
type: globalThis.PropType<boolean>;
|
|
44
48
|
default: boolean;
|
|
45
49
|
};
|
|
46
|
-
vertical: {
|
|
47
|
-
type: globalThis.PropType<boolean>;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
50
|
modelValue: {
|
|
51
51
|
type: globalThis.PropType<string | number>;
|
|
52
52
|
default: undefined;
|
|
@@ -62,9 +62,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
}>> & {
|
|
63
63
|
"onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
|
|
64
64
|
}, {
|
|
65
|
+
vertical: boolean;
|
|
65
66
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
66
67
|
disabled: boolean;
|
|
67
|
-
vertical: boolean;
|
|
68
68
|
modelValue: string | number;
|
|
69
69
|
align: "end" | "center" | "start";
|
|
70
70
|
grow: boolean;
|
|
@@ -4,6 +4,7 @@ export interface TableOptions {
|
|
|
4
4
|
itemsPerPage: Ref<number>;
|
|
5
5
|
globalItemsPerPage: MaybeRef<boolean>;
|
|
6
6
|
limits: MaybeRef<number[]>;
|
|
7
|
+
stickyOffset: MaybeRef<number>;
|
|
7
8
|
}
|
|
8
9
|
export declare const TableSymbol: InjectionKey<TableOptions>;
|
|
9
10
|
export declare function createTableDefaults(options?: Partial<TableOptions>): TableOptions;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function useAutoCompleteProps<T extends object>(props: {
|
|
2
|
+
keyProp?: Extract<keyof T, string>;
|
|
3
|
+
textProp?: Extract<keyof T, string>;
|
|
4
|
+
itemDisabledProp?: Extract<keyof T, string>;
|
|
5
|
+
}): {
|
|
6
|
+
getItemKey: (item: T) => string | undefined;
|
|
7
|
+
getTextValue: (item: T) => string | undefined;
|
|
8
|
+
isItemDisabled: (item: T) => boolean;
|
|
9
|
+
};
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { u as
|
|
1
|
+
import { u as v, a as B } from "../theme-DT8UjYf9.js";
|
|
2
2
|
import { useWindowSize as m, breakpointsTailwind as d, useBreakpoints as w } from "@vueuse/core";
|
|
3
3
|
import { computed as _ } from "vue";
|
|
4
4
|
import { get as h } from "@vueuse/shared";
|
|
5
|
-
import "../icons/icons_1.es.js";
|
|
6
|
-
import "../icons/icons_2.es.js";
|
|
7
|
-
import "../icons/icons_5.es.js";
|
|
8
|
-
import "../colors-ikihApJv.js";
|
|
9
5
|
const C = /\d/, g = ["-", "_", "/", "."];
|
|
10
6
|
function E(e = "") {
|
|
11
7
|
if (!C.test(e))
|
|
@@ -50,7 +46,7 @@ function R(e, n) {
|
|
|
50
46
|
function l(e, n) {
|
|
51
47
|
return z(R(e || "", n));
|
|
52
48
|
}
|
|
53
|
-
function
|
|
49
|
+
function L() {
|
|
54
50
|
const { width: e } = m(), n = {
|
|
55
51
|
xs: 0,
|
|
56
52
|
...d
|
|
@@ -81,7 +77,7 @@ function B() {
|
|
|
81
77
|
};
|
|
82
78
|
}
|
|
83
79
|
export {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
80
|
+
L as useBreakpoint,
|
|
81
|
+
v as useIcons,
|
|
82
|
+
B as useRotkiTheme
|
|
87
83
|
};
|