@rotki/ui-library 0.14.0 → 0.15.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/{index-4pX97qAk.js → Accordion-BFcz_iFc.js} +3648 -3352
- package/dist/breakpoint-CRvqq4aP.js +37 -0
- package/dist/components/buttons/button/Button.vue.d.ts +4 -4
- package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +3 -3
- 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/revealable-text-field/RevealableTextField.vue.d.ts +9 -9
- package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +155 -0
- package/dist/components/forms/slider/Slider.vue.d.ts +9 -9
- package/dist/components/forms/switch/Switch.vue.d.ts +9 -9
- package/dist/components/forms/text-field/TextField.vue.d.ts +9 -9
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.es.js +7 -7
- package/dist/components/logos/Logo.vue.d.ts +42 -4
- package/dist/components/overlays/dialog/Dialog.vue.d.ts +5 -5
- package/dist/components/overlays/menu/Menu.vue.d.ts +85 -2
- package/dist/components/tables/DataTable.vue.d.ts +9 -6
- package/dist/components/tables/TableHead.vue.d.ts +15 -3
- package/dist/composables/dropdown-menu.d.ts +40 -0
- package/dist/composables/index.es.js +5 -81
- package/dist/consts/forms/auto-complete/index.d.ts +3 -3
- package/dist/index-x2urm9HD.js +176 -0
- package/dist/index.es.js +6 -6
- package/dist/style.css +1 -1
- package/dist/theme/index.es.js +1 -1
- package/dist/utils/assert.d.ts +1 -0
- package/dist/utils/helpers.d.ts +7 -0
- package/package.json +39 -41
- package/dist/components/forms/select/MenuSelect.vue.d.ts +0 -62
- package/dist/theme-DT8UjYf9.js +0 -124
- /package/dist/{colors-ikihApJv.js → colors-D563Ic3q.js} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { useWindowSize as d, breakpointsTailwind as l, useBreakpoints as w } from "@vueuse/core";
|
|
2
|
+
import { c as n } from "./index-x2urm9HD.js";
|
|
3
|
+
import { computed as _ } from "vue";
|
|
4
|
+
import { get as z } from "@vueuse/shared";
|
|
5
|
+
function E() {
|
|
6
|
+
const { width: m } = d(), i = {
|
|
7
|
+
xs: 0,
|
|
8
|
+
...l
|
|
9
|
+
}, o = w(i), c = Object.keys, e = c(i), r = e.map(
|
|
10
|
+
(s, t) => [
|
|
11
|
+
s,
|
|
12
|
+
t < e.length - 1 ? o.between(s, e[t + 1]) : o[s]
|
|
13
|
+
]
|
|
14
|
+
), a = r.map(([s, t]) => [
|
|
15
|
+
n(`is_${s}`),
|
|
16
|
+
t
|
|
17
|
+
]), p = e.map((s) => [
|
|
18
|
+
n(`is_${s}_and_up`),
|
|
19
|
+
o.greaterOrEqual(s)
|
|
20
|
+
]), f = e.map((s) => [
|
|
21
|
+
n(`is_${s}_and_down`),
|
|
22
|
+
o.smaller(s)
|
|
23
|
+
]), u = _(() => {
|
|
24
|
+
var s;
|
|
25
|
+
return ((s = r.find((t) => z(t[1]))) == null ? void 0 : s[0]) || "";
|
|
26
|
+
});
|
|
27
|
+
return {
|
|
28
|
+
...Object.fromEntries(a),
|
|
29
|
+
...Object.fromEntries(p),
|
|
30
|
+
...Object.fromEntries(f),
|
|
31
|
+
name: u,
|
|
32
|
+
width: m
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
E as u
|
|
37
|
+
};
|
|
@@ -11,7 +11,7 @@ export interface Props<T = undefined> {
|
|
|
11
11
|
size?: 'sm' | 'lg';
|
|
12
12
|
tag?: 'button' | 'a';
|
|
13
13
|
type?: 'button' | 'submit';
|
|
14
|
-
|
|
14
|
+
modelValue?: T;
|
|
15
15
|
}
|
|
16
16
|
declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
17
17
|
props: Props<T>;
|
|
@@ -22,7 +22,7 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
|
|
|
22
22
|
default?(_: {}): any;
|
|
23
23
|
append?(_: {}): any;
|
|
24
24
|
};
|
|
25
|
-
emit: (e: 'update:value', value?: T
|
|
25
|
+
emit: (e: 'update:model-value', value?: T) => void;
|
|
26
26
|
}, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
27
27
|
props: Props<T>;
|
|
28
28
|
expose(exposed: {}): void;
|
|
@@ -32,7 +32,7 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
|
|
|
32
32
|
default?(_: {}): any;
|
|
33
33
|
append?(_: {}): any;
|
|
34
34
|
};
|
|
35
|
-
emit: (e: 'update:value', value?: T
|
|
35
|
+
emit: (e: 'update:model-value', value?: T) => void;
|
|
36
36
|
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
37
37
|
[key: string]: any;
|
|
38
38
|
}> & {
|
|
@@ -45,7 +45,7 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
|
|
|
45
45
|
default?(_: {}): any;
|
|
46
46
|
append?(_: {}): any;
|
|
47
47
|
};
|
|
48
|
-
emit: (e: 'update:value', value?: T
|
|
48
|
+
emit: (e: 'update:model-value', value?: T) => void;
|
|
49
49
|
} | undefined;
|
|
50
50
|
};
|
|
51
51
|
export default _default;
|
|
@@ -15,13 +15,13 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
|
|
|
15
15
|
expose(exposed: {}): void;
|
|
16
16
|
attrs: any;
|
|
17
17
|
slots: {};
|
|
18
|
-
emit: (e: 'update:modelValue', modelValue
|
|
18
|
+
emit: (e: 'update:modelValue', modelValue?: T | T[]) => void;
|
|
19
19
|
}, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
20
20
|
props: Props<T>;
|
|
21
21
|
expose(exposed: {}): void;
|
|
22
22
|
attrs: any;
|
|
23
23
|
slots: {};
|
|
24
|
-
emit: (e: 'update:modelValue', modelValue
|
|
24
|
+
emit: (e: 'update:modelValue', modelValue?: T | T[]) => void;
|
|
25
25
|
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
26
|
[key: string]: any;
|
|
27
27
|
}> & {
|
|
@@ -30,7 +30,7 @@ declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VN
|
|
|
30
30
|
expose(exposed: {}): void;
|
|
31
31
|
attrs: any;
|
|
32
32
|
slots: {};
|
|
33
|
-
emit: (e: 'update:modelValue', modelValue
|
|
33
|
+
emit: (e: 'update:modelValue', modelValue?: T | T[]) => void;
|
|
34
34
|
} | undefined;
|
|
35
35
|
};
|
|
36
36
|
export default _default;
|
|
@@ -32,6 +32,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
32
|
type: globalThis.PropType<boolean>;
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
|
+
modelValue: {
|
|
36
|
+
type: globalThis.PropType<boolean>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
35
39
|
errorMessages: {
|
|
36
40
|
type: globalThis.PropType<string | string[]>;
|
|
37
41
|
default: () => never[];
|
|
@@ -44,10 +48,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
48
|
type: globalThis.PropType<string>;
|
|
45
49
|
default: string;
|
|
46
50
|
};
|
|
47
|
-
modelValue: {
|
|
48
|
-
type: globalThis.PropType<boolean>;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
51
|
hideDetails: {
|
|
52
52
|
type: globalThis.PropType<boolean>;
|
|
53
53
|
default: boolean;
|
|
@@ -76,6 +76,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
76
76
|
type: globalThis.PropType<boolean>;
|
|
77
77
|
default: boolean;
|
|
78
78
|
};
|
|
79
|
+
modelValue: {
|
|
80
|
+
type: globalThis.PropType<boolean>;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
79
83
|
errorMessages: {
|
|
80
84
|
type: globalThis.PropType<string | string[]>;
|
|
81
85
|
default: () => never[];
|
|
@@ -88,10 +92,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
88
92
|
type: globalThis.PropType<string>;
|
|
89
93
|
default: string;
|
|
90
94
|
};
|
|
91
|
-
modelValue: {
|
|
92
|
-
type: globalThis.PropType<boolean>;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
95
|
hideDetails: {
|
|
96
96
|
type: globalThis.PropType<boolean>;
|
|
97
97
|
default: boolean;
|
|
@@ -105,10 +105,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
105
105
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
106
106
|
label: string;
|
|
107
107
|
disabled: boolean;
|
|
108
|
+
modelValue: boolean;
|
|
108
109
|
errorMessages: string | string[];
|
|
109
110
|
successMessages: string | string[];
|
|
110
111
|
hint: string;
|
|
111
|
-
modelValue: boolean;
|
|
112
112
|
hideDetails: boolean;
|
|
113
113
|
}, {}>, {
|
|
114
114
|
default?(_: {}): any;
|
|
@@ -32,6 +32,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
32
|
type: globalThis.PropType<boolean>;
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
|
+
modelValue: {
|
|
36
|
+
type: globalThis.PropType<string>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
35
39
|
errorMessages: {
|
|
36
40
|
type: globalThis.PropType<string | string[]>;
|
|
37
41
|
default: () => never[];
|
|
@@ -44,10 +48,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
48
|
type: globalThis.PropType<string>;
|
|
45
49
|
default: string;
|
|
46
50
|
};
|
|
47
|
-
modelValue: {
|
|
48
|
-
type: globalThis.PropType<string>;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
51
|
hideDetails: {
|
|
52
52
|
type: globalThis.PropType<boolean>;
|
|
53
53
|
default: boolean;
|
|
@@ -75,6 +75,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
75
75
|
type: globalThis.PropType<boolean>;
|
|
76
76
|
default: boolean;
|
|
77
77
|
};
|
|
78
|
+
modelValue: {
|
|
79
|
+
type: globalThis.PropType<string>;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
78
82
|
errorMessages: {
|
|
79
83
|
type: globalThis.PropType<string | string[]>;
|
|
80
84
|
default: () => never[];
|
|
@@ -87,10 +91,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
87
91
|
type: globalThis.PropType<string>;
|
|
88
92
|
default: string;
|
|
89
93
|
};
|
|
90
|
-
modelValue: {
|
|
91
|
-
type: globalThis.PropType<string>;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
94
|
hideDetails: {
|
|
95
95
|
type: globalThis.PropType<boolean>;
|
|
96
96
|
default: boolean;
|
|
@@ -102,10 +102,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
102
102
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
103
103
|
label: string;
|
|
104
104
|
disabled: boolean;
|
|
105
|
+
modelValue: string;
|
|
105
106
|
errorMessages: string | string[];
|
|
106
107
|
successMessages: string | string[];
|
|
107
108
|
hint: string;
|
|
108
|
-
modelValue: string;
|
|
109
109
|
hideDetails: boolean;
|
|
110
110
|
}, {}>, {
|
|
111
111
|
default?(_: {}): any;
|
|
@@ -28,6 +28,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
type: globalThis.PropType<boolean>;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: globalThis.PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
31
35
|
errorMessages: {
|
|
32
36
|
type: globalThis.PropType<string | string[]>;
|
|
33
37
|
default: () => never[];
|
|
@@ -40,10 +44,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
44
|
type: globalThis.PropType<string>;
|
|
41
45
|
default: string;
|
|
42
46
|
};
|
|
43
|
-
modelValue: {
|
|
44
|
-
type: globalThis.PropType<string>;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
47
|
hideDetails: {
|
|
48
48
|
type: globalThis.PropType<boolean>;
|
|
49
49
|
default: boolean;
|
|
@@ -71,6 +71,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
type: globalThis.PropType<boolean>;
|
|
72
72
|
default: boolean;
|
|
73
73
|
};
|
|
74
|
+
modelValue: {
|
|
75
|
+
type: globalThis.PropType<string>;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
74
78
|
errorMessages: {
|
|
75
79
|
type: globalThis.PropType<string | string[]>;
|
|
76
80
|
default: () => never[];
|
|
@@ -83,10 +87,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
87
|
type: globalThis.PropType<string>;
|
|
84
88
|
default: string;
|
|
85
89
|
};
|
|
86
|
-
modelValue: {
|
|
87
|
-
type: globalThis.PropType<string>;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
90
|
hideDetails: {
|
|
91
91
|
type: globalThis.PropType<boolean>;
|
|
92
92
|
default: boolean;
|
|
@@ -102,10 +102,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
103
103
|
label: string;
|
|
104
104
|
disabled: boolean;
|
|
105
|
+
modelValue: string;
|
|
105
106
|
errorMessages: string | string[];
|
|
106
107
|
successMessages: string | string[];
|
|
107
108
|
hint: string;
|
|
108
|
-
modelValue: string;
|
|
109
109
|
hideDetails: boolean;
|
|
110
110
|
inline: boolean;
|
|
111
111
|
}, {}>;
|
|
@@ -26,6 +26,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
26
26
|
type: globalThis.PropType<boolean>;
|
|
27
27
|
default: boolean;
|
|
28
28
|
};
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: globalThis.PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
29
33
|
errorMessages: {
|
|
30
34
|
type: globalThis.PropType<string | string[]>;
|
|
31
35
|
default: () => never[];
|
|
@@ -38,10 +42,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
42
|
type: globalThis.PropType<string>;
|
|
39
43
|
default: string;
|
|
40
44
|
};
|
|
41
|
-
modelValue: {
|
|
42
|
-
type: globalThis.PropType<string>;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
45
|
textColor: {
|
|
46
46
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
47
47
|
default: undefined;
|
|
@@ -95,6 +95,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
95
95
|
type: globalThis.PropType<boolean>;
|
|
96
96
|
default: boolean;
|
|
97
97
|
};
|
|
98
|
+
modelValue: {
|
|
99
|
+
type: globalThis.PropType<string>;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
98
102
|
errorMessages: {
|
|
99
103
|
type: globalThis.PropType<string | string[]>;
|
|
100
104
|
default: () => never[];
|
|
@@ -107,10 +111,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
107
111
|
type: globalThis.PropType<string>;
|
|
108
112
|
default: string;
|
|
109
113
|
};
|
|
110
|
-
modelValue: {
|
|
111
|
-
type: globalThis.PropType<string>;
|
|
112
|
-
default: string;
|
|
113
|
-
};
|
|
114
114
|
textColor: {
|
|
115
115
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
116
116
|
default: undefined;
|
|
@@ -146,10 +146,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
146
146
|
label: string;
|
|
147
147
|
placeholder: string;
|
|
148
148
|
disabled: boolean;
|
|
149
|
+
modelValue: string;
|
|
149
150
|
errorMessages: string | string[];
|
|
150
151
|
successMessages: string | string[];
|
|
151
152
|
hint: string;
|
|
152
|
-
modelValue: string;
|
|
153
153
|
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
154
154
|
dense: boolean;
|
|
155
155
|
as: string | object;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { type MenuProps } from '../../../components/overlays/menu/Menu.vue';
|
|
2
|
+
export interface Props<T, K extends keyof T = keyof T> {
|
|
3
|
+
options: T[];
|
|
4
|
+
keyAttr?: K;
|
|
5
|
+
textAttr?: keyof T;
|
|
6
|
+
modelValue?: T extends string ? T : T[K];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
readOnly?: boolean;
|
|
9
|
+
dense?: boolean;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
floatLabel?: boolean;
|
|
12
|
+
clearable?: boolean;
|
|
13
|
+
label?: string;
|
|
14
|
+
menuOptions?: MenuProps;
|
|
15
|
+
labelClass?: string;
|
|
16
|
+
menuClass?: string;
|
|
17
|
+
optionClass?: string;
|
|
18
|
+
prependWidth?: number;
|
|
19
|
+
appendWidth?: number;
|
|
20
|
+
itemHeight?: number;
|
|
21
|
+
variant?: 'default' | 'filled' | 'outlined';
|
|
22
|
+
hint?: string;
|
|
23
|
+
errorMessages?: string | string[];
|
|
24
|
+
successMessages?: string | string[];
|
|
25
|
+
showDetails?: boolean;
|
|
26
|
+
}
|
|
27
|
+
declare const _default: <T extends string | object, K extends keyof T = keyof T>(__VLS_props: Props<T, K> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
28
|
+
props: Props<T, K>;
|
|
29
|
+
expose(exposed: {}): void;
|
|
30
|
+
attrs: any;
|
|
31
|
+
slots: {
|
|
32
|
+
activator?(_: {
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
value: T | undefined;
|
|
35
|
+
variant: "default" | "outlined" | "filled";
|
|
36
|
+
readOnly: boolean;
|
|
37
|
+
on: any;
|
|
38
|
+
open: any;
|
|
39
|
+
hasError: any;
|
|
40
|
+
hasSuccess: any;
|
|
41
|
+
}): any;
|
|
42
|
+
"activator.label"?(_: {
|
|
43
|
+
value: T | undefined;
|
|
44
|
+
}): any;
|
|
45
|
+
"activator.prepend"?(_: {
|
|
46
|
+
value: T;
|
|
47
|
+
}): any;
|
|
48
|
+
"activator.text"?(_: {
|
|
49
|
+
value: T;
|
|
50
|
+
}): any;
|
|
51
|
+
"item.prepend"?(_: {
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
option: T;
|
|
54
|
+
active: boolean;
|
|
55
|
+
}): any;
|
|
56
|
+
"item.text"?(_: {
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
option: T;
|
|
59
|
+
active: boolean;
|
|
60
|
+
}): any;
|
|
61
|
+
"item.append"?(_: {
|
|
62
|
+
disabled: boolean;
|
|
63
|
+
option: T;
|
|
64
|
+
active: boolean;
|
|
65
|
+
}): any;
|
|
66
|
+
};
|
|
67
|
+
emit: (e: 'update:model-value', value?: T | T[K]) => void;
|
|
68
|
+
}, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
69
|
+
props: Props<T, K>;
|
|
70
|
+
expose(exposed: {}): void;
|
|
71
|
+
attrs: any;
|
|
72
|
+
slots: {
|
|
73
|
+
activator?(_: {
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
value: T | undefined;
|
|
76
|
+
variant: "default" | "outlined" | "filled";
|
|
77
|
+
readOnly: boolean;
|
|
78
|
+
on: any;
|
|
79
|
+
open: any;
|
|
80
|
+
hasError: any;
|
|
81
|
+
hasSuccess: any;
|
|
82
|
+
}): any;
|
|
83
|
+
"activator.label"?(_: {
|
|
84
|
+
value: T | undefined;
|
|
85
|
+
}): any;
|
|
86
|
+
"activator.prepend"?(_: {
|
|
87
|
+
value: T;
|
|
88
|
+
}): any;
|
|
89
|
+
"activator.text"?(_: {
|
|
90
|
+
value: T;
|
|
91
|
+
}): any;
|
|
92
|
+
"item.prepend"?(_: {
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
option: T;
|
|
95
|
+
active: boolean;
|
|
96
|
+
}): any;
|
|
97
|
+
"item.text"?(_: {
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
option: T;
|
|
100
|
+
active: boolean;
|
|
101
|
+
}): any;
|
|
102
|
+
"item.append"?(_: {
|
|
103
|
+
disabled: boolean;
|
|
104
|
+
option: T;
|
|
105
|
+
active: boolean;
|
|
106
|
+
}): any;
|
|
107
|
+
};
|
|
108
|
+
emit: (e: 'update:model-value', value?: T | T[K]) => void;
|
|
109
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
}> & {
|
|
112
|
+
__ctx?: {
|
|
113
|
+
props: Props<T, K>;
|
|
114
|
+
expose(exposed: {}): void;
|
|
115
|
+
attrs: any;
|
|
116
|
+
slots: {
|
|
117
|
+
activator?(_: {
|
|
118
|
+
disabled: boolean;
|
|
119
|
+
value: T | undefined;
|
|
120
|
+
variant: "default" | "outlined" | "filled";
|
|
121
|
+
readOnly: boolean;
|
|
122
|
+
on: any;
|
|
123
|
+
open: any;
|
|
124
|
+
hasError: any;
|
|
125
|
+
hasSuccess: any;
|
|
126
|
+
}): any;
|
|
127
|
+
"activator.label"?(_: {
|
|
128
|
+
value: T | undefined;
|
|
129
|
+
}): any;
|
|
130
|
+
"activator.prepend"?(_: {
|
|
131
|
+
value: T;
|
|
132
|
+
}): any;
|
|
133
|
+
"activator.text"?(_: {
|
|
134
|
+
value: T;
|
|
135
|
+
}): any;
|
|
136
|
+
"item.prepend"?(_: {
|
|
137
|
+
disabled: boolean;
|
|
138
|
+
option: T;
|
|
139
|
+
active: boolean;
|
|
140
|
+
}): any;
|
|
141
|
+
"item.text"?(_: {
|
|
142
|
+
disabled: boolean;
|
|
143
|
+
option: T;
|
|
144
|
+
active: boolean;
|
|
145
|
+
}): any;
|
|
146
|
+
"item.append"?(_: {
|
|
147
|
+
disabled: boolean;
|
|
148
|
+
option: T;
|
|
149
|
+
active: boolean;
|
|
150
|
+
}): any;
|
|
151
|
+
};
|
|
152
|
+
emit: (e: 'update:model-value', value?: T | T[K]) => void;
|
|
153
|
+
} | undefined;
|
|
154
|
+
};
|
|
155
|
+
export default _default;
|
|
@@ -44,6 +44,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
type: globalThis.PropType<boolean>;
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: globalThis.PropType<number>;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
47
51
|
errorMessages: {
|
|
48
52
|
type: globalThis.PropType<string | string[]>;
|
|
49
53
|
default: () => never[];
|
|
@@ -56,10 +60,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
60
|
type: globalThis.PropType<string>;
|
|
57
61
|
default: string;
|
|
58
62
|
};
|
|
59
|
-
modelValue: {
|
|
60
|
-
type: globalThis.PropType<number>;
|
|
61
|
-
default: number;
|
|
62
|
-
};
|
|
63
63
|
hideDetails: {
|
|
64
64
|
type: globalThis.PropType<boolean>;
|
|
65
65
|
default: boolean;
|
|
@@ -119,6 +119,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
119
|
type: globalThis.PropType<boolean>;
|
|
120
120
|
default: boolean;
|
|
121
121
|
};
|
|
122
|
+
modelValue: {
|
|
123
|
+
type: globalThis.PropType<number>;
|
|
124
|
+
default: number;
|
|
125
|
+
};
|
|
122
126
|
errorMessages: {
|
|
123
127
|
type: globalThis.PropType<string | string[]>;
|
|
124
128
|
default: () => never[];
|
|
@@ -131,10 +135,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
135
|
type: globalThis.PropType<string>;
|
|
132
136
|
default: string;
|
|
133
137
|
};
|
|
134
|
-
modelValue: {
|
|
135
|
-
type: globalThis.PropType<number>;
|
|
136
|
-
default: number;
|
|
137
|
-
};
|
|
138
138
|
hideDetails: {
|
|
139
139
|
type: globalThis.PropType<boolean>;
|
|
140
140
|
default: boolean;
|
|
@@ -176,10 +176,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
176
176
|
max: number;
|
|
177
177
|
min: number;
|
|
178
178
|
disabled: boolean;
|
|
179
|
+
modelValue: number;
|
|
179
180
|
errorMessages: string | string[];
|
|
180
181
|
successMessages: string | string[];
|
|
181
182
|
hint: string;
|
|
182
|
-
modelValue: number;
|
|
183
183
|
hideDetails: boolean;
|
|
184
184
|
step: number;
|
|
185
185
|
showThumbLabel: boolean;
|
|
@@ -27,6 +27,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
type: globalThis.PropType<boolean>;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
+
modelValue: {
|
|
31
|
+
type: globalThis.PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
30
34
|
errorMessages: {
|
|
31
35
|
type: globalThis.PropType<string | string[]>;
|
|
32
36
|
default: () => never[];
|
|
@@ -39,10 +43,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
39
43
|
type: globalThis.PropType<string>;
|
|
40
44
|
default: string;
|
|
41
45
|
};
|
|
42
|
-
modelValue: {
|
|
43
|
-
type: globalThis.PropType<boolean>;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
46
|
hideDetails: {
|
|
47
47
|
type: globalThis.PropType<boolean>;
|
|
48
48
|
default: boolean;
|
|
@@ -66,6 +66,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
66
|
type: globalThis.PropType<boolean>;
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
|
+
modelValue: {
|
|
70
|
+
type: globalThis.PropType<boolean>;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
69
73
|
errorMessages: {
|
|
70
74
|
type: globalThis.PropType<string | string[]>;
|
|
71
75
|
default: () => never[];
|
|
@@ -78,10 +82,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
78
82
|
type: globalThis.PropType<string>;
|
|
79
83
|
default: string;
|
|
80
84
|
};
|
|
81
|
-
modelValue: {
|
|
82
|
-
type: globalThis.PropType<boolean>;
|
|
83
|
-
default: boolean;
|
|
84
|
-
};
|
|
85
85
|
hideDetails: {
|
|
86
86
|
type: globalThis.PropType<boolean>;
|
|
87
87
|
default: boolean;
|
|
@@ -93,10 +93,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
93
93
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
94
94
|
label: string;
|
|
95
95
|
disabled: boolean;
|
|
96
|
+
modelValue: boolean;
|
|
96
97
|
errorMessages: string | string[];
|
|
97
98
|
successMessages: string | string[];
|
|
98
99
|
hint: string;
|
|
99
|
-
modelValue: boolean;
|
|
100
100
|
hideDetails: boolean;
|
|
101
101
|
}, {}>, {
|
|
102
102
|
default?(_: {}): any;
|
|
@@ -44,6 +44,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
44
|
type: globalThis.PropType<boolean>;
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: globalThis.PropType<string>;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
47
51
|
errorMessages: {
|
|
48
52
|
type: globalThis.PropType<string | string[]>;
|
|
49
53
|
default: () => never[];
|
|
@@ -56,10 +60,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
56
60
|
type: globalThis.PropType<string>;
|
|
57
61
|
default: string;
|
|
58
62
|
};
|
|
59
|
-
modelValue: {
|
|
60
|
-
type: globalThis.PropType<string>;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
63
|
textColor: {
|
|
64
64
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
65
65
|
default: undefined;
|
|
@@ -119,6 +119,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
119
119
|
type: globalThis.PropType<boolean>;
|
|
120
120
|
default: boolean;
|
|
121
121
|
};
|
|
122
|
+
modelValue: {
|
|
123
|
+
type: globalThis.PropType<string>;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
122
126
|
errorMessages: {
|
|
123
127
|
type: globalThis.PropType<string | string[]>;
|
|
124
128
|
default: () => never[];
|
|
@@ -131,10 +135,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
131
135
|
type: globalThis.PropType<string>;
|
|
132
136
|
default: string;
|
|
133
137
|
};
|
|
134
|
-
modelValue: {
|
|
135
|
-
type: globalThis.PropType<string>;
|
|
136
|
-
default: string;
|
|
137
|
-
};
|
|
138
138
|
textColor: {
|
|
139
139
|
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
140
140
|
default: undefined;
|
|
@@ -176,10 +176,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
176
176
|
label: string;
|
|
177
177
|
placeholder: string;
|
|
178
178
|
disabled: boolean;
|
|
179
|
+
modelValue: string;
|
|
179
180
|
errorMessages: string | string[];
|
|
180
181
|
successMessages: string | string[];
|
|
181
182
|
hint: string;
|
|
182
|
-
modelValue: string;
|
|
183
183
|
textColor: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
184
184
|
dense: boolean;
|
|
185
185
|
as: string | object;
|
|
@@ -12,7 +12,7 @@ import { default as RuiStepper, type Props as StepperProps } from '../components
|
|
|
12
12
|
import { default as RuiTextArea, type Props as TextAreaProps } from '../components/forms/text-area/TextArea.vue';
|
|
13
13
|
import { default as RuiTextField, type TextFieldProps } from '../components/forms/text-field/TextField.vue';
|
|
14
14
|
import { default as RuiTooltip, type Props as TooltipProps } from '../components/overlays/tooltip/Tooltip.vue';
|
|
15
|
-
import { type
|
|
15
|
+
import { type MenuProps, default as RuiMenu } from '../components/overlays/menu/Menu.vue';
|
|
16
16
|
import { type Props as BadgeProps, default as RuiBadge } from '../components/overlays/badge/Badge.vue';
|
|
17
17
|
import { type Props as DialogProps, default as RuiDialog } from '../components/overlays/dialog/Dialog.vue';
|
|
18
18
|
import { type Props as FooterStepperProps, default as RuiFooterStepper } from '../components/steppers/FooterStepper.vue';
|
|
@@ -32,7 +32,7 @@ import { default as RuiTab, type Props as TabProps } from '../components/tabs/ta
|
|
|
32
32
|
import { default as RuiTabItems, type Props as TabItemsProps } from '../components/tabs/tab-items/TabItems.vue';
|
|
33
33
|
import { default as RuiTabItem, type Props as TabItemProps } from '../components/tabs/tab-item/TabItem.vue';
|
|
34
34
|
import { default as RuiSkeletonLoader, type Props as SkeletonLoaderProps } from '../components/loaders/Skeleton.vue';
|
|
35
|
-
import { type Props as MenuSelectProps, default as RuiMenuSelect } from '../components/forms/select/
|
|
35
|
+
import { type Props as MenuSelectProps, default as RuiMenuSelect } from '../components/forms/select/RuiMenuSelect.vue';
|
|
36
36
|
import { type Props as AccordionsProps, default as RuiAccordions } from '../components/accordions/accordions/Accordions.vue';
|
|
37
37
|
import { type AccordionProps, default as RuiAccordion } from '../components/accordions/accordion/Accordion.vue';
|
|
38
38
|
import type { TableColumn as DataTableColumn, GroupKeys as DataTableGroupKeys, SortColumn as DataTableSortColumn, TableSortData as DataTableSortData } from '../components/tables/TableHead.vue';
|