vue2-sxo 0.0.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/README.md +9 -0
- package/dist/components/Accordion.d.ts +76 -0
- package/dist/components/Alert.d.ts +58 -0
- package/dist/components/Avatar.d.ts +29 -0
- package/dist/components/BackTop.d.ts +31 -0
- package/dist/components/Badge.d.ts +14 -0
- package/dist/components/Box.d.ts +13 -0
- package/dist/components/Breadcrumb.d.ts +35 -0
- package/dist/components/Button.d.ts +32 -0
- package/dist/components/Card.d.ts +32 -0
- package/dist/components/Checkbox.d.ts +108 -0
- package/dist/components/Dialog.d.ts +45 -0
- package/dist/components/Divider.d.ts +32 -0
- package/dist/components/Dropdown.d.ts +63 -0
- package/dist/components/Empty.d.ts +32 -0
- package/dist/components/Feedback.d.ts +177 -0
- package/dist/components/Form.d.ts +29 -0
- package/dist/components/I18n.d.ts +27 -0
- package/dist/components/Icon.d.ts +40 -0
- package/dist/components/Input.d.ts +41 -0
- package/dist/components/Layout.d.ts +102 -0
- package/dist/components/Menu.d.ts +35 -0
- package/dist/components/Pagination.d.ts +78 -0
- package/dist/components/Radio.d.ts +107 -0
- package/dist/components/Result.d.ts +32 -0
- package/dist/components/Search.d.ts +59 -0
- package/dist/components/Select.d.ts +52 -0
- package/dist/components/Slider.d.ts +49 -0
- package/dist/components/Switch.d.ts +41 -0
- package/dist/components/Tabs.d.ts +51 -0
- package/dist/components/Tag.d.ts +50 -0
- package/dist/components/Timeline.d.ts +54 -0
- package/dist/components/Toast.d.ts +2 -0
- package/dist/components/Tooltip.d.ts +31 -0
- package/dist/hooks.d.ts +13 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +2674 -0
- package/dist/plugin.d.ts +44 -0
- package/package.json +59 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { SpinnerOptions, ProgressOptions, SkeletonOptions } from '../../../../packages/ui/src';
|
|
2
|
+
export declare const Spinner: import('vue').DefineComponent<{
|
|
3
|
+
size: {
|
|
4
|
+
type: () => SpinnerOptions["size"];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
color: {
|
|
8
|
+
type: () => SpinnerOptions["color"];
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
size: {
|
|
13
|
+
type: () => SpinnerOptions["size"];
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
color: {
|
|
17
|
+
type: () => SpinnerOptions["color"];
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}>>, {
|
|
21
|
+
color: "primary" | "secondary" | "accent" | undefined;
|
|
22
|
+
size: "sm" | "md" | "lg" | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const Progress: import('vue').DefineComponent<{
|
|
25
|
+
value: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
max: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
color: {
|
|
34
|
+
type: () => ProgressOptions["color"];
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
type: () => ProgressOptions["size"];
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
42
|
+
value: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
max: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
default: number;
|
|
49
|
+
};
|
|
50
|
+
color: {
|
|
51
|
+
type: () => ProgressOptions["color"];
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
size: {
|
|
55
|
+
type: () => ProgressOptions["size"];
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
}>>, {
|
|
59
|
+
color: "primary" | "success" | "warning" | "error" | undefined;
|
|
60
|
+
size: "sm" | "md" | "lg" | undefined;
|
|
61
|
+
max: number;
|
|
62
|
+
}>;
|
|
63
|
+
export declare const Skeleton: import('vue').DefineComponent<{
|
|
64
|
+
variant: {
|
|
65
|
+
type: () => SkeletonOptions["variant"];
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
69
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
70
|
+
animate: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
75
|
+
variant: {
|
|
76
|
+
type: () => SkeletonOptions["variant"];
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
80
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
81
|
+
animate: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
}>>, {
|
|
86
|
+
variant: any;
|
|
87
|
+
animate: boolean;
|
|
88
|
+
}>;
|
|
89
|
+
export declare const Feedback: {
|
|
90
|
+
Spinner: import('vue').DefineComponent<{
|
|
91
|
+
size: {
|
|
92
|
+
type: () => SpinnerOptions["size"];
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
color: {
|
|
96
|
+
type: () => SpinnerOptions["color"];
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
100
|
+
size: {
|
|
101
|
+
type: () => SpinnerOptions["size"];
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
color: {
|
|
105
|
+
type: () => SpinnerOptions["color"];
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
}>>, {
|
|
109
|
+
color: "primary" | "secondary" | "accent" | undefined;
|
|
110
|
+
size: "sm" | "md" | "lg" | undefined;
|
|
111
|
+
}>;
|
|
112
|
+
Progress: import('vue').DefineComponent<{
|
|
113
|
+
value: {
|
|
114
|
+
type: NumberConstructor;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
max: {
|
|
118
|
+
type: NumberConstructor;
|
|
119
|
+
default: number;
|
|
120
|
+
};
|
|
121
|
+
color: {
|
|
122
|
+
type: () => ProgressOptions["color"];
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
size: {
|
|
126
|
+
type: () => ProgressOptions["size"];
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
130
|
+
value: {
|
|
131
|
+
type: NumberConstructor;
|
|
132
|
+
required: true;
|
|
133
|
+
};
|
|
134
|
+
max: {
|
|
135
|
+
type: NumberConstructor;
|
|
136
|
+
default: number;
|
|
137
|
+
};
|
|
138
|
+
color: {
|
|
139
|
+
type: () => ProgressOptions["color"];
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
size: {
|
|
143
|
+
type: () => ProgressOptions["size"];
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
}>>, {
|
|
147
|
+
color: "primary" | "success" | "warning" | "error" | undefined;
|
|
148
|
+
size: "sm" | "md" | "lg" | undefined;
|
|
149
|
+
max: number;
|
|
150
|
+
}>;
|
|
151
|
+
Skeleton: import('vue').DefineComponent<{
|
|
152
|
+
variant: {
|
|
153
|
+
type: () => SkeletonOptions["variant"];
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
156
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
157
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
158
|
+
animate: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
163
|
+
variant: {
|
|
164
|
+
type: () => SkeletonOptions["variant"];
|
|
165
|
+
default: string;
|
|
166
|
+
};
|
|
167
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
168
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
169
|
+
animate: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
}>>, {
|
|
174
|
+
variant: any;
|
|
175
|
+
animate: boolean;
|
|
176
|
+
}>;
|
|
177
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ValidationRule } from '../../../../packages/design/src';
|
|
2
|
+
export declare const Form: import('vue').DefineComponent<{
|
|
3
|
+
initialValues: {
|
|
4
|
+
type: () => Record<string, any>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
rules: {
|
|
8
|
+
type: () => Record<string, ValidationRule[]>;
|
|
9
|
+
default: () => {};
|
|
10
|
+
};
|
|
11
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
initialValues: {
|
|
13
|
+
type: () => Record<string, any>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
rules: {
|
|
17
|
+
type: () => Record<string, ValidationRule[]>;
|
|
18
|
+
default: () => {};
|
|
19
|
+
};
|
|
20
|
+
}>>, {
|
|
21
|
+
rules: Record<string, ValidationRule[]>;
|
|
22
|
+
}>;
|
|
23
|
+
export declare const FormItem: import('vue').DefineComponent<{
|
|
24
|
+
name: StringConstructor;
|
|
25
|
+
label: StringConstructor;
|
|
26
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
name: StringConstructor;
|
|
28
|
+
label: StringConstructor;
|
|
29
|
+
}>>, {}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { I18nMessages } from '../../../../packages/design/src';
|
|
2
|
+
export declare const I18nProvider: import('vue').DefineComponent<{
|
|
3
|
+
locale: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
messages: {
|
|
8
|
+
type: () => I18nMessages;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, () => import('vue').VNode[], {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
+
locale: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
messages: {
|
|
17
|
+
type: () => I18nMessages;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}>>, {
|
|
21
|
+
locale: string;
|
|
22
|
+
}>;
|
|
23
|
+
export declare function useI18n(): {
|
|
24
|
+
locale: any;
|
|
25
|
+
t: any;
|
|
26
|
+
setLocale: any;
|
|
27
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Icons } from '../../../../packages/component-icons/src';
|
|
2
|
+
export declare const Icon: import('vue').DefineComponent<{
|
|
3
|
+
name: {
|
|
4
|
+
type: () => keyof typeof Icons;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
size: {
|
|
8
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
color: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
strokeWidth: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
name: {
|
|
21
|
+
type: () => keyof typeof Icons;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
color: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
strokeWidth: {
|
|
33
|
+
type: NumberConstructor;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
}>>, {
|
|
37
|
+
color: string;
|
|
38
|
+
size: string | number;
|
|
39
|
+
strokeWidth: number;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { InputOptions } from '../../../../packages/ui/src';
|
|
2
|
+
export declare const Input: import('vue').DefineComponent<{
|
|
3
|
+
variant: {
|
|
4
|
+
type: () => InputOptions["variant"];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
size: {
|
|
8
|
+
type: () => InputOptions["size"];
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
invalid: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
value: {
|
|
16
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
variant: {
|
|
21
|
+
type: () => InputOptions["variant"];
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
size: {
|
|
25
|
+
type: () => InputOptions["size"];
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
invalid: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
value: {
|
|
33
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
}>>, {
|
|
37
|
+
value: string | number;
|
|
38
|
+
invalid: boolean;
|
|
39
|
+
variant: "ghost" | "outline" | "bottom-line" | undefined;
|
|
40
|
+
size: "sm" | "md" | "lg" | undefined;
|
|
41
|
+
}>;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export type Responsive<T> = T | {
|
|
3
|
+
base?: T;
|
|
4
|
+
sm?: T;
|
|
5
|
+
md?: T;
|
|
6
|
+
lg?: T;
|
|
7
|
+
xl?: T;
|
|
8
|
+
'2xl'?: T;
|
|
9
|
+
};
|
|
10
|
+
export declare const Stack: import('vue').DefineComponent<{
|
|
11
|
+
direction: {
|
|
12
|
+
type: PropType<Responsive<"row" | "col">>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
gap: {
|
|
16
|
+
type: PropType<Responsive<string | number>>;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
align: {
|
|
20
|
+
type: PropType<Responsive<"start" | "center" | "end" | "baseline" | "stretch">>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
justify: {
|
|
24
|
+
type: PropType<Responsive<"start" | "center" | "end" | "between" | "around" | "evenly">>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
wrap: {
|
|
28
|
+
type: PropType<Responsive<boolean>>;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
32
|
+
direction: {
|
|
33
|
+
type: PropType<Responsive<"row" | "col">>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
gap: {
|
|
37
|
+
type: PropType<Responsive<string | number>>;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
align: {
|
|
41
|
+
type: PropType<Responsive<"start" | "center" | "end" | "baseline" | "stretch">>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
justify: {
|
|
45
|
+
type: PropType<Responsive<"start" | "center" | "end" | "between" | "around" | "evenly">>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
wrap: {
|
|
49
|
+
type: PropType<Responsive<boolean>>;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
}>>, {
|
|
53
|
+
direction: Responsive<"col" | "row">;
|
|
54
|
+
gap: Responsive<string | number>;
|
|
55
|
+
align: Responsive<"center" | "start" | "end" | "baseline" | "stretch">;
|
|
56
|
+
justify: Responsive<"center" | "start" | "end" | "between" | "around" | "evenly">;
|
|
57
|
+
wrap: Responsive<boolean>;
|
|
58
|
+
}>;
|
|
59
|
+
export declare const Grid: import('vue').DefineComponent<{
|
|
60
|
+
cols: {
|
|
61
|
+
type: PropType<Responsive<number>>;
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
rows: {
|
|
65
|
+
type: PropType<Responsive<number>>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
gap: {
|
|
69
|
+
type: PropType<Responsive<string | number>>;
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
73
|
+
cols: {
|
|
74
|
+
type: PropType<Responsive<number>>;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
rows: {
|
|
78
|
+
type: PropType<Responsive<number>>;
|
|
79
|
+
default: undefined;
|
|
80
|
+
};
|
|
81
|
+
gap: {
|
|
82
|
+
type: PropType<Responsive<string | number>>;
|
|
83
|
+
default: number;
|
|
84
|
+
};
|
|
85
|
+
}>>, {
|
|
86
|
+
gap: Responsive<string | number>;
|
|
87
|
+
cols: Responsive<number>;
|
|
88
|
+
rows: Responsive<number>;
|
|
89
|
+
}>;
|
|
90
|
+
export declare const Container: import('vue').DefineComponent<{
|
|
91
|
+
center: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
96
|
+
center: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
}>>, {
|
|
101
|
+
center: boolean;
|
|
102
|
+
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { MenuOptions } from '../../../../packages/ui/src';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export interface MenuItem {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Menu: import('vue').DefineComponent<{
|
|
8
|
+
label: {
|
|
9
|
+
type: PropType<string | any>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
items: {
|
|
13
|
+
type: PropType<MenuItem[]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
variant: {
|
|
17
|
+
type: PropType<MenuOptions["variant"]>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
label: {
|
|
22
|
+
type: PropType<string | any>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
items: {
|
|
26
|
+
type: PropType<MenuItem[]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
variant: {
|
|
30
|
+
type: PropType<MenuOptions["variant"]>;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
variant: "default" | "compact" | undefined;
|
|
35
|
+
}>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { PaginationOptions } from '../../../../packages/ui/src';
|
|
3
|
+
export declare const Pagination: import('vue').DefineComponent<{
|
|
4
|
+
total: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
pageSize: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
current: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
type: PropType<PaginationOptions["size"]>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
variant: {
|
|
21
|
+
type: PropType<PaginationOptions["variant"]>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
rounded: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
showTotal: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
showJumper: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
total: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
pageSize: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
current: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
size: {
|
|
50
|
+
type: PropType<PaginationOptions["size"]>;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
variant: {
|
|
54
|
+
type: PropType<PaginationOptions["variant"]>;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
rounded: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
showTotal: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
showJumper: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
}>>, {
|
|
70
|
+
variant: "ghost" | "solid" | "outline" | undefined;
|
|
71
|
+
size: "sm" | "md" | "lg" | undefined;
|
|
72
|
+
rounded: boolean;
|
|
73
|
+
current: number;
|
|
74
|
+
total: number;
|
|
75
|
+
pageSize: number;
|
|
76
|
+
showTotal: boolean;
|
|
77
|
+
showJumper: boolean;
|
|
78
|
+
}>;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { RadioOptions } from '../../../../packages/ui/src';
|
|
2
|
+
export declare const RadioGroup: import('vue').DefineComponent<{
|
|
3
|
+
value: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
name: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: () => string;
|
|
10
|
+
};
|
|
11
|
+
size: {
|
|
12
|
+
type: () => RadioOptions["size"];
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
color: {
|
|
16
|
+
type: () => RadioOptions["color"];
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
direction: {
|
|
20
|
+
type: () => "row" | "col";
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
gap: {
|
|
24
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
value: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
name: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: () => string;
|
|
35
|
+
};
|
|
36
|
+
size: {
|
|
37
|
+
type: () => RadioOptions["size"];
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
color: {
|
|
41
|
+
type: () => RadioOptions["color"];
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
direction: {
|
|
45
|
+
type: () => "row" | "col";
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
gap: {
|
|
49
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
}>>, {
|
|
53
|
+
name: string;
|
|
54
|
+
value: string;
|
|
55
|
+
color: "primary" | "success" | undefined;
|
|
56
|
+
size: "sm" | "md" | "lg" | undefined;
|
|
57
|
+
direction: "col" | "row";
|
|
58
|
+
gap: string | number;
|
|
59
|
+
}>;
|
|
60
|
+
export declare const Radio: import('vue').DefineComponent<{
|
|
61
|
+
value: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
label: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
size: {
|
|
70
|
+
type: () => RadioOptions["size"];
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
color: {
|
|
74
|
+
type: () => RadioOptions["color"];
|
|
75
|
+
default: undefined;
|
|
76
|
+
};
|
|
77
|
+
disabled: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
82
|
+
value: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
label: {
|
|
87
|
+
type: StringConstructor;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
size: {
|
|
91
|
+
type: () => RadioOptions["size"];
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
color: {
|
|
95
|
+
type: () => RadioOptions["color"];
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
disabled: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
}>>, {
|
|
103
|
+
color: "primary" | "success" | undefined;
|
|
104
|
+
label: string;
|
|
105
|
+
size: "sm" | "md" | "lg" | undefined;
|
|
106
|
+
disabled: boolean;
|
|
107
|
+
}>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ResultOptions } from '../../../../packages/ui/src';
|
|
2
|
+
export declare const Result: import('vue').DefineComponent<{
|
|
3
|
+
status: {
|
|
4
|
+
type: () => ResultOptions["status"];
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
title: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
subTitle: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}, () => import('vue').VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
status: {
|
|
17
|
+
type: () => ResultOptions["status"];
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
title: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
subTitle: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
}>>, {
|
|
29
|
+
title: string;
|
|
30
|
+
status: "success" | "warning" | "error" | "info" | "404" | "500" | "403" | undefined;
|
|
31
|
+
subTitle: string;
|
|
32
|
+
}>;
|