vue-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 +52 -0
- package/dist/components/Accordion.d.ts +58 -0
- package/dist/components/Admin.d.ts +246 -0
- package/dist/components/Alert.d.ts +64 -0
- package/dist/components/Avatar.d.ts +32 -0
- package/dist/components/BackTop.d.ts +42 -0
- package/dist/components/Badge.d.ts +17 -0
- package/dist/components/Box.d.ts +15 -0
- package/dist/components/Breadcrumb.d.ts +39 -0
- package/dist/components/Button.d.ts +35 -0
- package/dist/components/Calendar.d.ts +18 -0
- package/dist/components/Card.d.ts +35 -0
- package/dist/components/Cascader.d.ts +72 -0
- package/dist/components/Checkbox.d.ts +110 -0
- package/dist/components/CommandPalette.d.ts +27 -0
- package/dist/components/DatePicker.d.ts +74 -0
- package/dist/components/Descriptions.d.ts +48 -0
- package/dist/components/Dialog.d.ts +49 -0
- package/dist/components/Divider.d.ts +35 -0
- package/dist/components/Drawer.d.ts +75 -0
- package/dist/components/Dropdown.d.ts +68 -0
- package/dist/components/Empty.d.ts +35 -0
- package/dist/components/Feedback.d.ts +124 -0
- package/dist/components/Form.d.ts +75 -0
- package/dist/components/I18n.d.ts +30 -0
- package/dist/components/Icon.d.ts +43 -0
- package/dist/components/Input.d.ts +46 -0
- package/dist/components/Layout.d.ts +108 -0
- package/dist/components/Mentions.d.ts +80 -0
- package/dist/components/Menu.d.ts +39 -0
- package/dist/components/Pagination.d.ts +90 -0
- package/dist/components/Popconfirm.d.ts +47 -0
- package/dist/components/Popover.d.ts +44 -0
- package/dist/components/Radio.d.ts +79 -0
- package/dist/components/Rate.d.ts +54 -0
- package/dist/components/Result.d.ts +35 -0
- package/dist/components/Search.d.ts +66 -0
- package/dist/components/Select.d.ts +124 -0
- package/dist/components/Skeleton.d.ts +74 -0
- package/dist/components/Slider.d.ts +54 -0
- package/dist/components/Statistic.d.ts +51 -0
- package/dist/components/Steps.d.ts +86 -0
- package/dist/components/Switch.d.ts +47 -0
- package/dist/components/Table.d.ts +148 -0
- package/dist/components/Tabs.d.ts +62 -0
- package/dist/components/Tag.d.ts +55 -0
- package/dist/components/Timeline.d.ts +59 -0
- package/dist/components/Toast.d.ts +13 -0
- package/dist/components/Tooltip.d.ts +34 -0
- package/dist/components/Transfer.d.ts +72 -0
- package/dist/components/Tree.d.ts +31 -0
- package/dist/components/TreeSelect.d.ts +80 -0
- package/dist/components/Upload.d.ts +84 -0
- package/dist/components/VirtualList.d.ts +49 -0
- package/dist/hooks.d.ts +13 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.ts +52 -0
- package/dist/index.js +4297 -0
- package/dist/plugin.d.ts +49 -0
- package/package.json +65 -0
package/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# vue-sxo
|
|
2
|
+
|
|
3
|
+
SXO 设计系统的 Vue 3 适配器。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pnpm add vue-sxo @sxo/ui @sxo/engine @sxo/design
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## 快速开始
|
|
12
|
+
|
|
13
|
+
### 1. 注册插件
|
|
14
|
+
|
|
15
|
+
在 `main.ts` 中引入并使用 `createSxo` 插件:
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { createApp } from 'vue';
|
|
19
|
+
import { createSxo } from 'vue-sxo';
|
|
20
|
+
import App from './App.vue';
|
|
21
|
+
|
|
22
|
+
const app = createApp(App);
|
|
23
|
+
|
|
24
|
+
// 可以传入自定义 tokens
|
|
25
|
+
app.use(createSxo({
|
|
26
|
+
mode: 'light'
|
|
27
|
+
}));
|
|
28
|
+
|
|
29
|
+
app.mount('#app');
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### 2. 使用组件
|
|
33
|
+
|
|
34
|
+
```vue
|
|
35
|
+
<template>
|
|
36
|
+
<SxoButton variant="primary" @click="handleClick">
|
|
37
|
+
Click Me
|
|
38
|
+
</SxoButton>
|
|
39
|
+
</template>
|
|
40
|
+
|
|
41
|
+
<script setup>
|
|
42
|
+
import { Button as SxoButton } from 'vue-sxo';
|
|
43
|
+
|
|
44
|
+
const handleClick = () => console.log('Hello SXO!');
|
|
45
|
+
</script>
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## 功能
|
|
49
|
+
|
|
50
|
+
- **Vue 3 原生支持**: 基于 Composition API 构建。
|
|
51
|
+
- **自动样式注入**: 组件渲染时自动通过样式引擎注入所需 CSS。
|
|
52
|
+
- **类型安全**: 完善的 TypeScript 支持。
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { AccordionOptions } from '../../../../packages/ui/src';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export declare const Accordion: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: PropType<string[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
allowMultiple: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
variant: {
|
|
13
|
+
type: PropType<AccordionOptions["variant"]>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: PropType<string[]>;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
allowMultiple: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
variant: {
|
|
28
|
+
type: PropType<AccordionOptions["variant"]>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
variant: "ghost" | "bordered" | "splitted" | undefined;
|
|
35
|
+
modelValue: string[];
|
|
36
|
+
allowMultiple: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
export declare const AccordionItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
39
|
+
value: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
title: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
|
+
value: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
title: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { StatCardOptions, KanbanColumn } from '../../../../packages/component-admin/src';
|
|
3
|
+
export declare const StatCard: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
title: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
9
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
trend: StringConstructor;
|
|
13
|
+
trendDirection: {
|
|
14
|
+
type: PropType<"up" | "down">;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
variant: {
|
|
18
|
+
type: PropType<StatCardOptions["variant"]>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
color: {
|
|
22
|
+
type: PropType<StatCardOptions["color"]>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
title: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
value: {
|
|
33
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
trend: StringConstructor;
|
|
37
|
+
trendDirection: {
|
|
38
|
+
type: PropType<"up" | "down">;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
variant: {
|
|
42
|
+
type: PropType<StatCardOptions["variant"]>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
color: {
|
|
46
|
+
type: PropType<StatCardOptions["color"]>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
color: "error" | "primary" | "success" | "warning" | "info" | undefined;
|
|
51
|
+
variant: "bordered" | "solid" | "simple" | undefined;
|
|
52
|
+
trendDirection: "up" | "down";
|
|
53
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
54
|
+
export declare const AdminShell: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
55
|
+
logo: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
menuItems: {
|
|
60
|
+
type: PropType<{
|
|
61
|
+
id: string;
|
|
62
|
+
label: string;
|
|
63
|
+
icon?: string;
|
|
64
|
+
active?: boolean;
|
|
65
|
+
}[]>;
|
|
66
|
+
default: () => never[];
|
|
67
|
+
};
|
|
68
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
71
|
+
logo: {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
menuItems: {
|
|
76
|
+
type: PropType<{
|
|
77
|
+
id: string;
|
|
78
|
+
label: string;
|
|
79
|
+
icon?: string;
|
|
80
|
+
active?: boolean;
|
|
81
|
+
}[]>;
|
|
82
|
+
default: () => never[];
|
|
83
|
+
};
|
|
84
|
+
}>> & Readonly<{}>, {
|
|
85
|
+
logo: string;
|
|
86
|
+
menuItems: {
|
|
87
|
+
id: string;
|
|
88
|
+
label: string;
|
|
89
|
+
icon?: string;
|
|
90
|
+
active?: boolean;
|
|
91
|
+
}[];
|
|
92
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
93
|
+
export declare const LoginScreen: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
94
|
+
title: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
subtitle: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
variant: {
|
|
103
|
+
type: PropType<"centered" | "split">;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
107
|
+
[key: string]: any;
|
|
108
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "submit"[], "submit", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
109
|
+
title: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
subtitle: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
variant: {
|
|
118
|
+
type: PropType<"centered" | "split">;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
}>> & Readonly<{
|
|
122
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
}>, {
|
|
124
|
+
title: string;
|
|
125
|
+
variant: "split" | "centered";
|
|
126
|
+
subtitle: string;
|
|
127
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
128
|
+
export declare const Result: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
129
|
+
status: {
|
|
130
|
+
type: PropType<"success" | "error" | "info" | "warning" | "404" | "500">;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
title: StringConstructor;
|
|
134
|
+
subtitle: StringConstructor;
|
|
135
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
136
|
+
[key: string]: any;
|
|
137
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
138
|
+
status: {
|
|
139
|
+
type: PropType<"success" | "error" | "info" | "warning" | "404" | "500">;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
title: StringConstructor;
|
|
143
|
+
subtitle: StringConstructor;
|
|
144
|
+
}>> & Readonly<{}>, {
|
|
145
|
+
status: "error" | "success" | "warning" | "info" | "404" | "500";
|
|
146
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
147
|
+
export declare const PageHeader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
148
|
+
title: StringConstructor;
|
|
149
|
+
subtitle: StringConstructor;
|
|
150
|
+
breadcrumb: {
|
|
151
|
+
type: PropType<{
|
|
152
|
+
label: string;
|
|
153
|
+
link?: string;
|
|
154
|
+
}[]>;
|
|
155
|
+
default: () => never[];
|
|
156
|
+
};
|
|
157
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
158
|
+
[key: string]: any;
|
|
159
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
160
|
+
title: StringConstructor;
|
|
161
|
+
subtitle: StringConstructor;
|
|
162
|
+
breadcrumb: {
|
|
163
|
+
type: PropType<{
|
|
164
|
+
label: string;
|
|
165
|
+
link?: string;
|
|
166
|
+
}[]>;
|
|
167
|
+
default: () => never[];
|
|
168
|
+
};
|
|
169
|
+
}>> & Readonly<{}>, {
|
|
170
|
+
breadcrumb: {
|
|
171
|
+
label: string;
|
|
172
|
+
link?: string;
|
|
173
|
+
}[];
|
|
174
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
175
|
+
export declare const QueryFilter: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
176
|
+
[key: string]: any;
|
|
177
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("reset" | "search")[], "reset" | "search", import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
178
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
179
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
180
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
181
|
+
export declare const StepForm: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
182
|
+
steps: {
|
|
183
|
+
type: PropType<{
|
|
184
|
+
title: string;
|
|
185
|
+
description?: string;
|
|
186
|
+
}[]>;
|
|
187
|
+
required: true;
|
|
188
|
+
};
|
|
189
|
+
current: {
|
|
190
|
+
type: NumberConstructor;
|
|
191
|
+
default: number;
|
|
192
|
+
};
|
|
193
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
194
|
+
[key: string]: any;
|
|
195
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("submit" | "update:current")[], "submit" | "update:current", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
196
|
+
steps: {
|
|
197
|
+
type: PropType<{
|
|
198
|
+
title: string;
|
|
199
|
+
description?: string;
|
|
200
|
+
}[]>;
|
|
201
|
+
required: true;
|
|
202
|
+
};
|
|
203
|
+
current: {
|
|
204
|
+
type: NumberConstructor;
|
|
205
|
+
default: number;
|
|
206
|
+
};
|
|
207
|
+
}>> & Readonly<{
|
|
208
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
209
|
+
"onUpdate:current"?: ((...args: any[]) => any) | undefined;
|
|
210
|
+
}>, {
|
|
211
|
+
current: number;
|
|
212
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
213
|
+
export declare const Kanban: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
214
|
+
columns: {
|
|
215
|
+
type: PropType<KanbanColumn[]>;
|
|
216
|
+
required: true;
|
|
217
|
+
};
|
|
218
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
219
|
+
[key: string]: any;
|
|
220
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
221
|
+
columns: {
|
|
222
|
+
type: PropType<KanbanColumn[]>;
|
|
223
|
+
required: true;
|
|
224
|
+
};
|
|
225
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
226
|
+
export declare const DescriptionList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
227
|
+
title: StringConstructor;
|
|
228
|
+
items: {
|
|
229
|
+
type: PropType<{
|
|
230
|
+
label: string;
|
|
231
|
+
content: any;
|
|
232
|
+
}[]>;
|
|
233
|
+
required: true;
|
|
234
|
+
};
|
|
235
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
236
|
+
[key: string]: any;
|
|
237
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
238
|
+
title: StringConstructor;
|
|
239
|
+
items: {
|
|
240
|
+
type: PropType<{
|
|
241
|
+
label: string;
|
|
242
|
+
content: any;
|
|
243
|
+
}[]>;
|
|
244
|
+
required: true;
|
|
245
|
+
};
|
|
246
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { AlertOptions } from '../../../../packages/ui/src';
|
|
3
|
+
export declare const Alert: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
type: {
|
|
5
|
+
type: PropType<AlertOptions["type"]>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
variant: {
|
|
9
|
+
type: PropType<AlertOptions["variant"]>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
description: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
closable: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
showIcon: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "close"[], "close", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
31
|
+
type: {
|
|
32
|
+
type: PropType<AlertOptions["type"]>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
variant: {
|
|
36
|
+
type: PropType<AlertOptions["variant"]>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
title: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
description: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
closable: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
showIcon: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{
|
|
56
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
57
|
+
}>, {
|
|
58
|
+
type: "error" | "success" | "warning" | "info" | undefined;
|
|
59
|
+
title: string;
|
|
60
|
+
variant: "subtle" | "solid" | "outline" | undefined;
|
|
61
|
+
description: string;
|
|
62
|
+
closable: boolean;
|
|
63
|
+
showIcon: boolean;
|
|
64
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AvatarOptions } from '../../../../packages/ui/src';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export declare const Avatar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
src: StringConstructor;
|
|
5
|
+
alt: StringConstructor;
|
|
6
|
+
fallback: StringConstructor;
|
|
7
|
+
size: {
|
|
8
|
+
type: PropType<AvatarOptions["size"]>;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
shape: {
|
|
12
|
+
type: PropType<AvatarOptions["shape"]>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
src: StringConstructor;
|
|
19
|
+
alt: StringConstructor;
|
|
20
|
+
fallback: StringConstructor;
|
|
21
|
+
size: {
|
|
22
|
+
type: PropType<AvatarOptions["size"]>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
shape: {
|
|
26
|
+
type: PropType<AvatarOptions["shape"]>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
|
+
size: "sm" | "md" | "lg" | "xl" | undefined;
|
|
31
|
+
shape: "circle" | "square" | undefined;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const BackTop: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
visibilityHeight: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
right: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
bottom: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
target: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
+
visibilityHeight: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
right: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
bottom: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: number;
|
|
32
|
+
};
|
|
33
|
+
target: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
visibilityHeight: number;
|
|
39
|
+
right: number;
|
|
40
|
+
bottom: number;
|
|
41
|
+
target: string;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BadgeOptions } from '../../../../packages/ui/src';
|
|
3
|
+
export declare const Badge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
variant: {
|
|
5
|
+
type: PropType<BadgeOptions["variant"]>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
variant: {
|
|
12
|
+
type: PropType<BadgeOptions["variant"]>;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {
|
|
16
|
+
variant: "primary" | "secondary" | "accent" | "neon" | "outline" | undefined;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Box: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
as: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
as: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
as: string;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const BreadcrumbItem: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
href: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
current: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
href: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
current: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {
|
|
22
|
+
href: string;
|
|
23
|
+
current: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
export declare const Breadcrumb: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
26
|
+
separator: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
33
|
+
separator: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
separator: string;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ButtonOptions } from '../../../../packages/ui/src';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export declare const Button: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
variant: {
|
|
5
|
+
type: PropType<ButtonOptions["variant"]>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
type: PropType<ButtonOptions["size"]>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
variant: {
|
|
20
|
+
type: PropType<ButtonOptions["variant"]>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: PropType<ButtonOptions["size"]>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
|
+
variant: "primary" | "secondary" | "accent" | "ghost" | "outline" | undefined;
|
|
33
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const Calendar: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: DateConstructor;
|
|
4
|
+
default: () => Date;
|
|
5
|
+
};
|
|
6
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: DateConstructor;
|
|
11
|
+
default: () => Date;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{
|
|
14
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
modelValue: Date;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CardOptions } from '../../../../packages/ui/src';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
export declare const Card: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
variant: {
|
|
5
|
+
type: PropType<CardOptions["variant"]>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
padding: {
|
|
9
|
+
type: PropType<CardOptions["padding"]>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
interactive: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
variant: {
|
|
20
|
+
type: PropType<CardOptions["variant"]>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
padding: {
|
|
24
|
+
type: PropType<CardOptions["padding"]>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
interactive: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{}>, {
|
|
32
|
+
variant: "accent" | "ghost" | "outline" | "elevated" | undefined;
|
|
33
|
+
padding: "none" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
34
|
+
interactive: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|