@rotki/ui-library 0.5.0 → 0.6.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/buttons/button/Button.vue.d.ts +38 -95
- package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +28 -41
- package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +151 -1
- package/dist/components/forms/text-field/TextField.vue.d.ts +21 -1
- package/dist/components/index.d.ts +19 -18
- package/dist/components/index.es.js +19 -17
- package/dist/components/tables/DataTable.vue.d.ts +8 -1
- package/dist/components/tabs/tab/Tab.vue.d.ts +5 -1
- package/dist/index-2e3eeb1f.js +5701 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +2561 -2559
- package/dist/style.css +1 -1
- package/package.json +34 -32
- package/dist/index-c9ad6bd3.js +0 -5605
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ContextColorsType } from '../../../consts/colors';
|
|
2
|
-
export interface Props {
|
|
2
|
+
export interface Props<T = undefined> {
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
color?: ContextColorsType;
|
|
@@ -7,101 +7,44 @@ export interface Props {
|
|
|
7
7
|
elevation?: number | string | null;
|
|
8
8
|
variant?: 'default' | 'outlined' | 'text' | 'fab';
|
|
9
9
|
icon?: boolean;
|
|
10
|
+
active?: boolean;
|
|
10
11
|
size?: 'sm' | 'lg';
|
|
11
12
|
tag?: 'button' | 'a';
|
|
13
|
+
value?: T;
|
|
12
14
|
}
|
|
13
|
-
declare const _default:
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
type: globalThis.PropType<"a" | "button">;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
-
variant: {
|
|
52
|
-
type: globalThis.PropType<"default" | "text" | "outlined" | "fab">;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
color: {
|
|
56
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
57
|
-
default: undefined;
|
|
58
|
-
};
|
|
59
|
-
size: {
|
|
60
|
-
type: globalThis.PropType<"sm" | "lg">;
|
|
61
|
-
default: undefined;
|
|
62
|
-
};
|
|
63
|
-
elevation: {
|
|
64
|
-
type: globalThis.PropType<string | number | null>;
|
|
65
|
-
default: null;
|
|
66
|
-
};
|
|
67
|
-
disabled: {
|
|
68
|
-
type: globalThis.PropType<boolean>;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
loading: {
|
|
72
|
-
type: globalThis.PropType<boolean>;
|
|
73
|
-
default: boolean;
|
|
74
|
-
};
|
|
75
|
-
rounded: {
|
|
76
|
-
type: globalThis.PropType<boolean>;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
icon: {
|
|
80
|
-
type: globalThis.PropType<boolean>;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
tag: {
|
|
84
|
-
type: globalThis.PropType<"a" | "button">;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
}>>, {
|
|
88
|
-
variant: "default" | "text" | "outlined" | "fab";
|
|
89
|
-
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
90
|
-
size: "sm" | "lg";
|
|
91
|
-
elevation: string | number | null;
|
|
92
|
-
disabled: boolean;
|
|
93
|
-
loading: boolean;
|
|
94
|
-
rounded: boolean;
|
|
95
|
-
icon: boolean;
|
|
96
|
-
tag: "a" | "button";
|
|
97
|
-
}, {}>, {
|
|
98
|
-
prepend?(_: {}): any;
|
|
99
|
-
default?(_: {}): any;
|
|
100
|
-
append?(_: {}): any;
|
|
101
|
-
}>;
|
|
102
|
-
export default _default;
|
|
103
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
-
new (): {
|
|
105
|
-
$slots: S;
|
|
106
|
-
};
|
|
15
|
+
declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
16
|
+
props: Props<T>;
|
|
17
|
+
expose(exposed: {}): void;
|
|
18
|
+
attrs: any;
|
|
19
|
+
slots: {
|
|
20
|
+
prepend?(_: {}): any;
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
append?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
emit: (e: 'update:value', value?: T | undefined) => void;
|
|
25
|
+
}, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
26
|
+
props: Props<T>;
|
|
27
|
+
expose(exposed: {}): void;
|
|
28
|
+
attrs: any;
|
|
29
|
+
slots: {
|
|
30
|
+
prepend?(_: {}): any;
|
|
31
|
+
default?(_: {}): any;
|
|
32
|
+
append?(_: {}): any;
|
|
33
|
+
};
|
|
34
|
+
emit: (e: 'update:value', value?: T | undefined) => void;
|
|
35
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}> & {
|
|
38
|
+
__ctx?: {
|
|
39
|
+
props: Props<T>;
|
|
40
|
+
expose(exposed: {}): void;
|
|
41
|
+
attrs: any;
|
|
42
|
+
slots: {
|
|
43
|
+
prepend?(_: {}): any;
|
|
44
|
+
default?(_: {}): any;
|
|
45
|
+
append?(_: {}): any;
|
|
46
|
+
};
|
|
47
|
+
emit: (e: 'update:value', value?: T | undefined) => void;
|
|
48
|
+
} | undefined;
|
|
107
49
|
};
|
|
50
|
+
export default _default;
|
|
@@ -1,48 +1,35 @@
|
|
|
1
1
|
import { type ContextColorsType } from '../../../consts/colors';
|
|
2
|
-
export interface Props {
|
|
2
|
+
export interface Props<T = undefined> {
|
|
3
3
|
vertical?: boolean;
|
|
4
4
|
color?: ContextColorsType;
|
|
5
5
|
variant?: 'default' | 'outlined' | 'text';
|
|
6
6
|
size?: 'sm' | 'lg';
|
|
7
|
+
gap?: 'sm' | 'md' | 'lg';
|
|
8
|
+
required?: boolean;
|
|
9
|
+
modelValue?: T | T[];
|
|
10
|
+
disabled?: boolean;
|
|
7
11
|
}
|
|
8
|
-
declare const _default: import("vue").
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
32
|
-
default: undefined;
|
|
33
|
-
};
|
|
34
|
-
size: {
|
|
35
|
-
type: globalThis.PropType<"sm" | "lg">;
|
|
36
|
-
default: undefined;
|
|
37
|
-
};
|
|
38
|
-
vertical: {
|
|
39
|
-
type: globalThis.PropType<boolean>;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
}>>, {
|
|
43
|
-
variant: "default" | "text" | "outlined";
|
|
44
|
-
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
45
|
-
size: "sm" | "lg";
|
|
46
|
-
vertical: boolean;
|
|
47
|
-
}, {}>;
|
|
12
|
+
declare const _default: <T = undefined>(__VLS_props: Props<T> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
|
|
13
|
+
props: Props<T>;
|
|
14
|
+
expose(exposed: {}): void;
|
|
15
|
+
attrs: any;
|
|
16
|
+
slots: {};
|
|
17
|
+
emit: (e: 'update:modelValue', modelValue: T | T[] | undefined) => void;
|
|
18
|
+
}, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
19
|
+
props: Props<T>;
|
|
20
|
+
expose(exposed: {}): void;
|
|
21
|
+
attrs: any;
|
|
22
|
+
slots: {};
|
|
23
|
+
emit: (e: 'update:modelValue', modelValue: T | T[] | undefined) => void;
|
|
24
|
+
}>) => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}> & {
|
|
27
|
+
__ctx?: {
|
|
28
|
+
props: Props<T>;
|
|
29
|
+
expose(exposed: {}): void;
|
|
30
|
+
attrs: any;
|
|
31
|
+
slots: {};
|
|
32
|
+
emit: (e: 'update:modelValue', modelValue: T | T[] | undefined) => void;
|
|
33
|
+
} | undefined;
|
|
34
|
+
};
|
|
48
35
|
export default _default;
|
|
@@ -1,4 +1,154 @@
|
|
|
1
|
-
|
|
1
|
+
import { type TextFieldProps } from '../../../components/forms/text-field/TextField.vue';
|
|
2
|
+
export interface Props extends TextFieldProps {
|
|
3
|
+
}
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
|
+
variant: {
|
|
6
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
color: {
|
|
10
|
+
type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
label: {
|
|
14
|
+
type: globalThis.PropType<string>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
placeholder: {
|
|
18
|
+
type: globalThis.PropType<string>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
type: globalThis.PropType<boolean>;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
readonly: {
|
|
26
|
+
type: globalThis.PropType<boolean>;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: globalThis.PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
textColor: {
|
|
34
|
+
type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
dense: {
|
|
38
|
+
type: globalThis.PropType<boolean>;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
hint: {
|
|
42
|
+
type: globalThis.PropType<string>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
as: {
|
|
46
|
+
type: globalThis.PropType<string | object>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
errorMessages: {
|
|
50
|
+
type: globalThis.PropType<string[]>;
|
|
51
|
+
default: () => never[];
|
|
52
|
+
};
|
|
53
|
+
successMessages: {
|
|
54
|
+
type: globalThis.PropType<string[]>;
|
|
55
|
+
default: () => never[];
|
|
56
|
+
};
|
|
57
|
+
hideDetails: {
|
|
58
|
+
type: globalThis.PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
prependIcon: {
|
|
62
|
+
type: globalThis.PropType<import("../../..").RuiIcons>;
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
appendIcon: {
|
|
66
|
+
type: globalThis.PropType<import("../../..").RuiIcons>;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
variant: {
|
|
71
|
+
type: globalThis.PropType<"default" | "outlined" | "filled">;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
color: {
|
|
75
|
+
type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
label: {
|
|
79
|
+
type: globalThis.PropType<string>;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
82
|
+
placeholder: {
|
|
83
|
+
type: globalThis.PropType<string>;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
disabled: {
|
|
87
|
+
type: globalThis.PropType<boolean>;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
readonly: {
|
|
91
|
+
type: globalThis.PropType<boolean>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
modelValue: {
|
|
95
|
+
type: globalThis.PropType<string>;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
textColor: {
|
|
99
|
+
type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
dense: {
|
|
103
|
+
type: globalThis.PropType<boolean>;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
hint: {
|
|
107
|
+
type: globalThis.PropType<string>;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
as: {
|
|
111
|
+
type: globalThis.PropType<string | object>;
|
|
112
|
+
default: undefined;
|
|
113
|
+
};
|
|
114
|
+
errorMessages: {
|
|
115
|
+
type: globalThis.PropType<string[]>;
|
|
116
|
+
default: () => never[];
|
|
117
|
+
};
|
|
118
|
+
successMessages: {
|
|
119
|
+
type: globalThis.PropType<string[]>;
|
|
120
|
+
default: () => never[];
|
|
121
|
+
};
|
|
122
|
+
hideDetails: {
|
|
123
|
+
type: globalThis.PropType<boolean>;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
prependIcon: {
|
|
127
|
+
type: globalThis.PropType<import("../../..").RuiIcons>;
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
130
|
+
appendIcon: {
|
|
131
|
+
type: globalThis.PropType<import("../../..").RuiIcons>;
|
|
132
|
+
default: undefined;
|
|
133
|
+
};
|
|
134
|
+
}>>, {
|
|
135
|
+
variant: "default" | "outlined" | "filled";
|
|
136
|
+
color: "grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
137
|
+
label: string;
|
|
138
|
+
placeholder: string;
|
|
139
|
+
disabled: boolean;
|
|
140
|
+
readonly: boolean;
|
|
141
|
+
modelValue: string;
|
|
142
|
+
textColor: "grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
143
|
+
dense: boolean;
|
|
144
|
+
hint: string;
|
|
145
|
+
as: string | object;
|
|
146
|
+
errorMessages: string[];
|
|
147
|
+
successMessages: string[];
|
|
148
|
+
hideDetails: boolean;
|
|
149
|
+
prependIcon: import("../../..").RuiIcons;
|
|
150
|
+
appendIcon: import("../../..").RuiIcons;
|
|
151
|
+
}, {}>, {
|
|
2
152
|
prepend?(_: {}): any;
|
|
3
153
|
append?(_: {}): any;
|
|
4
154
|
}>;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { type ContextColorsType } from '../../../consts/colors';
|
|
2
2
|
import { type RuiIcons } from '~/src';
|
|
3
|
-
export interface
|
|
3
|
+
export interface TextFieldProps {
|
|
4
4
|
modelValue?: string;
|
|
5
5
|
label?: string;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
variant?: 'default' | 'filled' | 'outlined';
|
|
9
9
|
color?: 'grey' | ContextColorsType;
|
|
10
|
+
textColor?: 'grey' | ContextColorsType;
|
|
10
11
|
dense?: boolean;
|
|
11
12
|
hint?: string;
|
|
12
13
|
as?: string | object;
|
|
13
14
|
errorMessages?: string[];
|
|
15
|
+
successMessages?: string[];
|
|
14
16
|
hideDetails?: boolean;
|
|
15
17
|
prependIcon?: RuiIcons;
|
|
16
18
|
appendIcon?: RuiIcons;
|
|
@@ -45,6 +47,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
45
47
|
type: globalThis.PropType<string>;
|
|
46
48
|
default: string;
|
|
47
49
|
};
|
|
50
|
+
textColor: {
|
|
51
|
+
type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
48
54
|
dense: {
|
|
49
55
|
type: globalThis.PropType<boolean>;
|
|
50
56
|
default: boolean;
|
|
@@ -61,6 +67,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
61
67
|
type: globalThis.PropType<string[]>;
|
|
62
68
|
default: () => never[];
|
|
63
69
|
};
|
|
70
|
+
successMessages: {
|
|
71
|
+
type: globalThis.PropType<string[]>;
|
|
72
|
+
default: () => never[];
|
|
73
|
+
};
|
|
64
74
|
hideDetails: {
|
|
65
75
|
type: globalThis.PropType<boolean>;
|
|
66
76
|
default: boolean;
|
|
@@ -107,6 +117,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
107
117
|
type: globalThis.PropType<string>;
|
|
108
118
|
default: string;
|
|
109
119
|
};
|
|
120
|
+
textColor: {
|
|
121
|
+
type: globalThis.PropType<"grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
122
|
+
default: undefined;
|
|
123
|
+
};
|
|
110
124
|
dense: {
|
|
111
125
|
type: globalThis.PropType<boolean>;
|
|
112
126
|
default: boolean;
|
|
@@ -123,6 +137,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
123
137
|
type: globalThis.PropType<string[]>;
|
|
124
138
|
default: () => never[];
|
|
125
139
|
};
|
|
140
|
+
successMessages: {
|
|
141
|
+
type: globalThis.PropType<string[]>;
|
|
142
|
+
default: () => never[];
|
|
143
|
+
};
|
|
126
144
|
hideDetails: {
|
|
127
145
|
type: globalThis.PropType<boolean>;
|
|
128
146
|
default: boolean;
|
|
@@ -148,10 +166,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
148
166
|
disabled: boolean;
|
|
149
167
|
readonly: boolean;
|
|
150
168
|
modelValue: string;
|
|
169
|
+
textColor: "grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
151
170
|
dense: boolean;
|
|
152
171
|
hint: string;
|
|
153
172
|
as: string | object;
|
|
154
173
|
errorMessages: string[];
|
|
174
|
+
successMessages: string[];
|
|
155
175
|
hideDetails: boolean;
|
|
156
176
|
prependIcon: RuiIcons;
|
|
157
177
|
appendIcon: RuiIcons;
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { default as RuiAlert } from '../components/alerts/Alert.vue';
|
|
1
|
+
import { type Props as AlertProps, default as RuiAlert } from '../components/alerts/Alert.vue';
|
|
2
2
|
import { type Props as AutoCompleteProps, default as RuiAutoComplete } from '../components/forms/auto-complete/AutoComplete.vue';
|
|
3
3
|
import { type Props as ButtonProps, default as RuiButton } from '../components/buttons/button/Button.vue';
|
|
4
|
-
import { default as RuiButtonGroup } from '../components/buttons/button-group/ButtonGroup.vue';
|
|
5
|
-
import { default as RuiIcon } from '../components/icons/Icon.vue';
|
|
6
|
-
import { default as RuiCheckbox } from '../components/forms/checkbox/Checkbox.vue';
|
|
4
|
+
import { type Props as ButtonGroupProps, default as RuiButtonGroup } from '../components/buttons/button-group/ButtonGroup.vue';
|
|
5
|
+
import { type Props as IconProps, default as RuiIcon } from '../components/icons/Icon.vue';
|
|
6
|
+
import { type Props as CheckboxProps, default as RuiCheckbox } from '../components/forms/checkbox/Checkbox.vue';
|
|
7
7
|
import { type Props as ChipProps, default as RuiChip } from '../components/chips/Chip.vue';
|
|
8
|
-
import { default as RuiStepper } from '../components/steppers/Stepper.vue';
|
|
9
|
-
import { default as RuiTextField } from '../components/forms/text-field/TextField.vue';
|
|
8
|
+
import { default as RuiStepper, type Props as StepperProps } from '../components/steppers/Stepper.vue';
|
|
9
|
+
import { default as RuiTextField, type TextFieldProps } from '../components/forms/text-field/TextField.vue';
|
|
10
10
|
import { default as RuiTooltip, type Props as TooltipProps } from '../components/overlays/tooltip/Tooltip.vue';
|
|
11
11
|
import { type Props as BadgeProps, default as RuiBadge } from '../components/overlays/badge/Badge.vue';
|
|
12
12
|
import { type Props as DialogProps, default as RuiDialog } from '../components/overlays/dialog/Dialog.vue';
|
|
13
|
-
import { default as RuiFooterStepper } from '../components/steppers/FooterStepper.vue';
|
|
14
|
-
import { default as RuiProgress } from '../components/progress/Progress.vue';
|
|
15
|
-
import { default as RuiRadioGroup } from '../components/forms/radio-button/radio-group/RadioGroup.vue';
|
|
16
|
-
import { default as RuiRadio } from '../components/forms/radio-button/radio/Radio.vue';
|
|
17
|
-
import { default as RuiRevealableTextField } from '../components/forms/revealable-text-field/RevealableTextField.vue';
|
|
18
|
-
import { default as RuiLogo } from '../components/logos/Logo.vue';
|
|
13
|
+
import { type Props as FooterStepperProps, default as RuiFooterStepper } from '../components/steppers/FooterStepper.vue';
|
|
14
|
+
import { type Props as ProgressProps, default as RuiProgress } from '../components/progress/Progress.vue';
|
|
15
|
+
import { type Props as RadioGroupProps, default as RuiRadioGroup } from '../components/forms/radio-button/radio-group/RadioGroup.vue';
|
|
16
|
+
import { type Props as RadioProps, default as RuiRadio } from '../components/forms/radio-button/radio/Radio.vue';
|
|
17
|
+
import { type Props as RevealableTextFieldProps, default as RuiRevealableTextField } from '../components/forms/revealable-text-field/RevealableTextField.vue';
|
|
18
|
+
import { type Props as LogoProps, default as RuiLogo } from '../components/logos/Logo.vue';
|
|
19
19
|
import { default as RuiSimpleSelect, type Props as SimpleSelectProps } from '../components/forms/select/SimpleSelect.vue';
|
|
20
20
|
import { type TableColumn as DataTableColumn, type TableOptions as DataTableOptions, type Props as DataTableProps, type SortColumn as DataTableSortColumn, default as RuiDataTable } from '../components/tables/DataTable.vue';
|
|
21
|
-
import { type TablePaginationData } from '../components/tables/TablePagination.vue';
|
|
21
|
+
import { default as RuiTablePagination, type TablePaginationData, type Props as TablePaginationProps } from '../components/tables/TablePagination.vue';
|
|
22
22
|
import { type Props as CardProps, default as RuiCard } from '../components/cards/Card.vue';
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
|
|
23
|
+
import { type Props as CardHeaderProps, default as RuiCardHeader } from '../components/cards/CardHeader.vue';
|
|
24
|
+
import { default as RuiTabs, type Props as TabsProps } from '../components/tabs/tabs/Tabs.vue';
|
|
25
|
+
import { default as RuiTab, type Props as TabProps } from '../components/tabs/tab/Tab.vue';
|
|
26
|
+
import { default as RuiTabItems, type Props as TabItemsProps } from '../components/tabs/tab-items/TabItems.vue';
|
|
27
|
+
import { default as RuiTabItem, type Props as TabItemProps } from '../components/tabs/tab-item/TabItem.vue';
|
|
28
|
+
export { RuiAlert, RuiAutoComplete, RuiBadge, RuiButton, RuiButtonGroup, RuiCheckbox, RuiChip, RuiFooterStepper, RuiIcon, RuiLogo, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiStepper, RuiTextField, RuiTooltip, RuiDataTable, RuiSimpleSelect, RuiDialog, RuiCard, RuiCardHeader, RuiTabs, RuiTab, RuiTabItems, RuiTabItem, RuiTablePagination, AutoCompleteProps, ChipProps, TooltipProps, SimpleSelectProps, DataTableProps, DataTableColumn, DataTableSortColumn, DataTableOptions, TablePaginationData, DialogProps, ButtonProps, ButtonGroupProps, CardProps, CardHeaderProps, BadgeProps, AlertProps, CheckboxProps, ProgressProps, RadioGroupProps, RadioProps, LogoProps, StepperProps, TextFieldProps, IconProps, FooterStepperProps, TabsProps, TabProps, TabItemsProps, TabItemProps, TablePaginationProps, RevealableTextFieldProps, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as p, a as l, R as m, B as T, b, k as d, l as g, C as n, c as C, D as c, j as x, F as B, I as F, _ as I, P as S, d as h, e as A, f as D, i as P, g as f, n as k, p as G, o as j, q, m as v, h as H, T as L } from "../index-2e3eeb1f.js";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@vueuse/shared";
|
|
4
4
|
import "../index-393a0e94.js";
|
|
@@ -7,29 +7,31 @@ import "@vueuse/core";
|
|
|
7
7
|
import "../colors-01d79c7b.js";
|
|
8
8
|
import "vue-router";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
p as RuiAlert,
|
|
11
|
+
l as RuiAutoComplete,
|
|
12
|
+
m as RuiBadge,
|
|
13
13
|
T as RuiButton,
|
|
14
14
|
b as RuiButtonGroup,
|
|
15
15
|
d as RuiCard,
|
|
16
|
-
g as
|
|
16
|
+
g as RuiCardHeader,
|
|
17
|
+
n as RuiCheckbox,
|
|
17
18
|
C as RuiChip,
|
|
18
19
|
c as RuiDataTable,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
x as RuiDialog,
|
|
21
|
+
B as RuiFooterStepper,
|
|
22
|
+
F as RuiIcon,
|
|
23
|
+
I as RuiLogo,
|
|
24
|
+
S as RuiProgress,
|
|
25
|
+
h as RuiRadio,
|
|
26
|
+
A as RuiRadioGroup,
|
|
27
|
+
D as RuiRevealableTextField,
|
|
28
|
+
P as RuiSimpleSelect,
|
|
28
29
|
f as RuiStepper,
|
|
29
30
|
k as RuiTab,
|
|
30
31
|
G as RuiTabItem,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
v as
|
|
32
|
+
j as RuiTabItems,
|
|
33
|
+
q as RuiTablePagination,
|
|
34
|
+
v as RuiTabs,
|
|
35
|
+
H as RuiTextField,
|
|
34
36
|
L as RuiTooltip
|
|
35
37
|
};
|
|
@@ -120,6 +120,10 @@ export interface Props<T, K extends keyof T> {
|
|
|
120
120
|
* flag to outline the flag with a border
|
|
121
121
|
*/
|
|
122
122
|
outlined?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* should add zebra-striping to the table row
|
|
125
|
+
*/
|
|
126
|
+
striped?: boolean;
|
|
123
127
|
/**
|
|
124
128
|
* flag to show loading state of the table
|
|
125
129
|
* triggers an indefinite progress at the bottom of the table header
|
|
@@ -153,6 +157,7 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
|
|
|
153
157
|
}) => any>> & {
|
|
154
158
|
"no-data"?(_: {}): any;
|
|
155
159
|
"empty-description"?(_: {}): any;
|
|
160
|
+
"body.append"?(_: {}): any;
|
|
156
161
|
tfoot?(_: {}): any;
|
|
157
162
|
};
|
|
158
163
|
emit: {
|
|
@@ -161,7 +166,7 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
|
|
|
161
166
|
(e: 'update:sort', value?: SortColumn<T> | SortColumn<T>[] | undefined): void;
|
|
162
167
|
(e: 'update:options', value: TableOptions<T>): void;
|
|
163
168
|
};
|
|
164
|
-
}, "attrs" | "
|
|
169
|
+
}, "attrs" | "emit" | "slots"> | undefined, __VLS_expose?: ((exposed: {}) => void) | undefined, __VLS_setup?: Promise<{
|
|
165
170
|
props: Props<T, IdType>;
|
|
166
171
|
expose(exposed: {}): void;
|
|
167
172
|
attrs: any;
|
|
@@ -174,6 +179,7 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
|
|
|
174
179
|
}) => any>> & {
|
|
175
180
|
"no-data"?(_: {}): any;
|
|
176
181
|
"empty-description"?(_: {}): any;
|
|
182
|
+
"body.append"?(_: {}): any;
|
|
177
183
|
tfoot?(_: {}): any;
|
|
178
184
|
};
|
|
179
185
|
emit: {
|
|
@@ -198,6 +204,7 @@ declare const _default: <T extends object, IdType extends keyof T = keyof T>(__V
|
|
|
198
204
|
}) => any>> & {
|
|
199
205
|
"no-data"?(_: {}): any;
|
|
200
206
|
"empty-description"?(_: {}): any;
|
|
207
|
+
"body.append"?(_: {}): any;
|
|
201
208
|
tfoot?(_: {}): any;
|
|
202
209
|
};
|
|
203
210
|
emit: {
|
|
@@ -128,7 +128,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
128
128
|
tabValue: string | number;
|
|
129
129
|
exact: boolean;
|
|
130
130
|
exactPath: boolean;
|
|
131
|
-
}, {}>,
|
|
131
|
+
}, {}>, {
|
|
132
|
+
default?(props?: object | undefined): any;
|
|
133
|
+
prepend?(props?: object | undefined): any;
|
|
134
|
+
append?(props?: object | undefined): any;
|
|
135
|
+
}>;
|
|
132
136
|
export default _default;
|
|
133
137
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
134
138
|
new (): {
|