@robot-admin/naive-ui-components 0.8.2 → 0.9.1
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 +39 -24
- package/dist/constants.d.ts +2 -2
- package/dist/constants2.d.ts +4 -4
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.ts +6 -6
- package/dist/constants5.d.ts +4 -4
- package/dist/data.d.ts +1 -1
- package/dist/index10.vue.d.ts +1 -1
- package/dist/index11.vue.d.ts +3 -3
- package/dist/index12.vue.d.ts +1 -1
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index14.vue.d.ts +3 -3
- package/dist/index15.vue.d.ts +5 -5
- package/dist/index18.vue.d.ts +4 -4
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.ts +1 -1
- package/dist/index22.vue.d.ts +2 -2
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index26.vue.d.ts +3 -3
- package/dist/index28.vue.d.ts +3 -3
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index4.vue.d.ts +6 -6
- package/dist/index6.vue.d.ts +3 -3
- package/dist/index8.vue.d.ts +3 -3
- package/dist/themes/glass-morphism.css +1 -0
- package/dist/useCropperCore.d.ts +1 -1
- package/dist/useDraggableLayout.d.ts +10 -10
- package/dist/useDynamicFormState.d.ts +6 -6
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFullscreen.d.ts +2 -2
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useModalEdit.d.ts +2 -2
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSearchState.d.ts +2 -2
- package/dist/useSignatureHistory.d.ts +2 -2
- package/dist/useSplitResize.d.ts +7 -7
- package/dist/useTimeSelection.d.ts +2 -2
- package/dist/useTreeOperations.d.ts +2 -2
- package/dist/useWorkflowValidation.d.ts +2 -2
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
1
3
|
# @agile-team/naive-ui-components
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
**基于 Naive UI 的 Vue 3 企业级组件库**
|
|
6
|
+
|
|
7
|
+
从 Robot Admin 中提炼的 51 个高质量业务组件,支持全量注册、按需导入(Tree-Shaking)和子路径独立导入。
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/@agile-team/naive-ui-components)
|
|
10
|
+
[](./LICENSE)
|
|
11
|
+
|
|
12
|
+
[在线文档](https://www.tzagileteam.com/robot/components/preface) · [GitHub](https://github.com/ChenyCHENYU/naive-ui-components) · [NPM](https://www.npmjs.com/package/@agile-team/naive-ui-components)
|
|
4
13
|
|
|
5
|
-
|
|
14
|
+
[English](./README_EN.md)
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
---
|
|
6
19
|
|
|
7
20
|
## 📦 安装
|
|
8
21
|
|
|
@@ -16,9 +29,9 @@ bun add @agile-team/naive-ui-components
|
|
|
16
29
|
bun add vue@^3.5.0 naive-ui@^2.35.0
|
|
17
30
|
```
|
|
18
31
|
|
|
19
|
-
|
|
32
|
+
### 🚀 快速开始
|
|
20
33
|
|
|
21
|
-
|
|
34
|
+
#### 全局注册
|
|
22
35
|
|
|
23
36
|
```typescript
|
|
24
37
|
import { createApp } from 'vue'
|
|
@@ -30,7 +43,7 @@ app.use(NaiveUIComponents)
|
|
|
30
43
|
app.mount('#app')
|
|
31
44
|
```
|
|
32
45
|
|
|
33
|
-
|
|
46
|
+
#### 按需导入(主入口 Tree-Shaking)
|
|
34
47
|
|
|
35
48
|
```vue
|
|
36
49
|
<script setup lang="ts">
|
|
@@ -39,7 +52,7 @@ app.mount('#app')
|
|
|
39
52
|
</script>
|
|
40
53
|
```
|
|
41
54
|
|
|
42
|
-
|
|
55
|
+
#### 子路径独立导入(推荐,最小打包体积)
|
|
43
56
|
|
|
44
57
|
每个组件都提供独立的子路径入口,仅加载目标组件的代码和类型:
|
|
45
58
|
|
|
@@ -54,7 +67,7 @@ app.mount('#app')
|
|
|
54
67
|
|
|
55
68
|
> 子路径导入提供完整的 TypeScript 类型支持(`.d.ts`),IDE 可自动补全 props / emits / slots。
|
|
56
69
|
|
|
57
|
-
|
|
70
|
+
#### Composables 单独使用
|
|
58
71
|
|
|
59
72
|
```typescript
|
|
60
73
|
import {
|
|
@@ -64,11 +77,11 @@ import {
|
|
|
64
77
|
} from '@agile-team/naive-ui-components'
|
|
65
78
|
```
|
|
66
79
|
|
|
67
|
-
|
|
80
|
+
### 📋 组件清单(51 个)
|
|
68
81
|
|
|
69
82
|
> 💡 所有组件均提供 **在线交互演示**,访问 [组件文档](https://www.tzagileteam.com/robot/components/preface) 可直接在页面中体验真实效果(通过 iframe 嵌入 Robot Admin 生产环境)。
|
|
70
83
|
|
|
71
|
-
|
|
84
|
+
#### 基础组件
|
|
72
85
|
|
|
73
86
|
| 组件 | 说明 | 外部依赖 |
|
|
74
87
|
| ---------------- | ---------------- | --------------------------- |
|
|
@@ -93,7 +106,7 @@ import {
|
|
|
93
106
|
| `C_OrgChart` | 组织架构图 | - |
|
|
94
107
|
| `C_Skeleton` | 骨架屏占位组件 | - |
|
|
95
108
|
|
|
96
|
-
|
|
109
|
+
#### 内容 & 编辑组件
|
|
97
110
|
|
|
98
111
|
| 组件 | 说明 | 外部依赖 |
|
|
99
112
|
| ----------------- | -------------------- | -------------------- |
|
|
@@ -104,7 +117,7 @@ import {
|
|
|
104
117
|
| `C_QRCode` | 二维码生成器 | `qrcode` |
|
|
105
118
|
| `C_ImageCropper` | 图片裁剪器 | `vue-cropper` |
|
|
106
119
|
|
|
107
|
-
|
|
120
|
+
#### 数据展示组件
|
|
108
121
|
|
|
109
122
|
| 组件 | 说明 | 外部依赖 |
|
|
110
123
|
| ---------------- | ----------------------------------------- | ------------------------------------ |
|
|
@@ -119,7 +132,7 @@ import {
|
|
|
119
132
|
| `C_FilePreview` | 文件预览(PDF/Word/Excel) | `xlsx`、`mammoth`、`@tato30/vue-pdf` |
|
|
120
133
|
| `C_Timeline` | 时间线(垂直/水平/可折叠) | - |
|
|
121
134
|
|
|
122
|
-
|
|
135
|
+
#### 表单 & 布局组件
|
|
123
136
|
|
|
124
137
|
| 组件 | 说明 | 外部依赖 |
|
|
125
138
|
| ----------------- | ------------------------------------------------- | ---------------------------- |
|
|
@@ -133,7 +146,7 @@ import {
|
|
|
133
146
|
| `C_Cron` | Cron 表达式编辑器 | - |
|
|
134
147
|
| `C_Transfer` | 穿梭框(搜索/全选/批量操作) | - |
|
|
135
148
|
|
|
136
|
-
|
|
149
|
+
#### 交互 & 业务组件
|
|
137
150
|
|
|
138
151
|
| 组件 | 说明 | 外部依赖 |
|
|
139
152
|
| --------------- | -------------------------------------- | -------- |
|
|
@@ -141,7 +154,7 @@ import {
|
|
|
141
154
|
| `C_ContextMenu` | 右键菜单(嵌套子菜单/快捷键/危险操作) | - |
|
|
142
155
|
| `C_Login` | 登录组件(5种模式/验证码/记住密码) | - |
|
|
143
156
|
|
|
144
|
-
|
|
157
|
+
#### 流程 & 通知组件
|
|
145
158
|
|
|
146
159
|
| 组件 | 说明 | 外部依赖 |
|
|
147
160
|
| ---------------------- | ------------------------------------ | ---------------- |
|
|
@@ -149,7 +162,7 @@ import {
|
|
|
149
162
|
| `C_NotificationCenter` | 通知中心(WebSocket/轮询) | - |
|
|
150
163
|
| `C_Upload` | 大文件上传(分片/断点续传/哈希校验) | `spark-md5` |
|
|
151
164
|
|
|
152
|
-
|
|
165
|
+
### 🔌 可选依赖
|
|
153
166
|
|
|
154
167
|
包含外部依赖的组件以 `optionalDependencies` 声明。**按需安装**:
|
|
155
168
|
|
|
@@ -173,9 +186,9 @@ bun add print-js html2canvas
|
|
|
173
186
|
bun add expr-eval
|
|
174
187
|
```
|
|
175
188
|
|
|
176
|
-
|
|
189
|
+
### 🏗️ 构建架构
|
|
177
190
|
|
|
178
|
-
|
|
191
|
+
#### 四阶段构建流水线
|
|
179
192
|
|
|
180
193
|
```
|
|
181
194
|
bun run build
|
|
@@ -185,7 +198,7 @@ bun run build
|
|
|
185
198
|
└── 4. gen-exports.js → 自动生成 package.json exports 映射
|
|
186
199
|
```
|
|
187
200
|
|
|
188
|
-
|
|
201
|
+
#### 技术要点
|
|
189
202
|
|
|
190
203
|
- **构建引擎**:[tsdown](https://github.com/rolldown/tsdown)(基于 Rolldown),51 个独立入口并行编译
|
|
191
204
|
- **SCSS 处理**:自定义 `scssTransformPlugin` 在 Rolldown 管线内编译 SFC SCSS,独立 Sass CLI 编译全局样式
|
|
@@ -194,7 +207,7 @@ bun run build
|
|
|
194
207
|
- **子路径导出**:`gen-exports.js` 自动扫描 `dist/` 并写入 `package.json` 的 `exports` 字段
|
|
195
208
|
- **导出冲突检测**:`check-export-conflicts.js` 确保组件间无命名冲突
|
|
196
209
|
|
|
197
|
-
|
|
210
|
+
#### 输出产物
|
|
198
211
|
|
|
199
212
|
```
|
|
200
213
|
dist/
|
|
@@ -204,7 +217,7 @@ dist/
|
|
|
204
217
|
└── [chunk].js # 共享代码块
|
|
205
218
|
```
|
|
206
219
|
|
|
207
|
-
|
|
220
|
+
### 🔧 开发
|
|
208
221
|
|
|
209
222
|
```bash
|
|
210
223
|
bun install # 安装依赖
|
|
@@ -217,7 +230,7 @@ bun run check:exports # 检测导出命名冲突
|
|
|
217
230
|
bun run type-check # TypeScript 类型检查
|
|
218
231
|
```
|
|
219
232
|
|
|
220
|
-
|
|
233
|
+
#### 项目结构
|
|
221
234
|
|
|
222
235
|
```
|
|
223
236
|
naive-ui-components/
|
|
@@ -251,14 +264,14 @@ naive-ui-components/
|
|
|
251
264
|
└── tsconfig.json
|
|
252
265
|
```
|
|
253
266
|
|
|
254
|
-
|
|
267
|
+
#### 添加新组件
|
|
255
268
|
|
|
256
269
|
1. 创建 `src/components/C_NewComponent/` 目录
|
|
257
270
|
2. 编写 `index.vue`、`index.ts`(barrel)、`types.ts`
|
|
258
271
|
3. 在 `src/index.ts` 中添加 `export * from './components/C_NewComponent'`
|
|
259
272
|
4. 运行 `bun run build`—构建脚本会自动生成子路径入口和 exports 映射
|
|
260
273
|
|
|
261
|
-
|
|
274
|
+
#### 发布
|
|
262
275
|
|
|
263
276
|
```bash
|
|
264
277
|
bun run release:patch # 0.3.0 → 0.3.1
|
|
@@ -270,7 +283,9 @@ bun run release:major # 0.3.0 → 1.0.0
|
|
|
270
283
|
|
|
271
284
|
MIT License
|
|
272
285
|
|
|
273
|
-
|
|
286
|
+
---
|
|
287
|
+
|
|
288
|
+
## 🔗 链接
|
|
274
289
|
|
|
275
290
|
- [组件在线文档(含交互演示)](https://www.tzagileteam.com/robot/components/preface)
|
|
276
291
|
- [Robot Admin 主项目](https://github.com/ChenyCHENYU/robot_admin)
|
package/dist/constants.d.ts
CHANGED
|
@@ -119,11 +119,11 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
|
|
|
119
119
|
"onValidation-change"?: ((result: CronValidation) => any) | undefined;
|
|
120
120
|
}>, {
|
|
121
121
|
modelValue: string;
|
|
122
|
-
disabled: boolean;
|
|
123
122
|
height: string | number;
|
|
124
|
-
|
|
123
|
+
disabled: boolean;
|
|
125
124
|
previewCount: number;
|
|
126
125
|
showTemplates: boolean;
|
|
126
|
+
showPreview: boolean;
|
|
127
127
|
showSecond: boolean;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
129
129
|
declare const _default: typeof __VLS_export;
|
package/dist/constants2.d.ts
CHANGED
|
@@ -121,13 +121,13 @@ declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEdito
|
|
|
121
121
|
"onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
123
|
modelValue: string;
|
|
124
|
-
|
|
125
|
-
functions: FormulaFunction[];
|
|
126
|
-
sampleData: Record<string, number | string | boolean>;
|
|
124
|
+
height: string | number;
|
|
127
125
|
disabled: boolean;
|
|
128
126
|
placeholder: string;
|
|
129
|
-
height: string | number;
|
|
130
127
|
showPreview: boolean;
|
|
128
|
+
variables: FormulaVariable[];
|
|
129
|
+
functions: FormulaFunction[];
|
|
130
|
+
sampleData: Record<string, number | string | boolean>;
|
|
131
131
|
showKeyboard: boolean;
|
|
132
132
|
showVariablePanel: boolean;
|
|
133
133
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/constants3.d.ts
CHANGED
|
@@ -150,8 +150,8 @@ interface NotificationCenterExpose {
|
|
|
150
150
|
//#endregion
|
|
151
151
|
//#region src/components/C_NotificationCenter/index.vue.d.ts
|
|
152
152
|
declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, NotificationCenterExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
153
|
-
itemClick: (message: NotificationMessage) => any;
|
|
154
153
|
delete: (ids: string[]) => any;
|
|
154
|
+
itemClick: (message: NotificationMessage) => any;
|
|
155
155
|
read: (ids: string[]) => any;
|
|
156
156
|
allRead: (category?: NotificationCategory | undefined) => any;
|
|
157
157
|
unreadChange: (count: number) => any;
|
|
@@ -159,8 +159,8 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
|
|
|
159
159
|
newMessage: (message: NotificationMessage) => any;
|
|
160
160
|
navigate: (url: string) => any;
|
|
161
161
|
}, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
|
|
162
|
-
onItemClick?: ((message: NotificationMessage) => any) | undefined;
|
|
163
162
|
onDelete?: ((ids: string[]) => any) | undefined;
|
|
163
|
+
onItemClick?: ((message: NotificationMessage) => any) | undefined;
|
|
164
164
|
onRead?: ((ids: string[]) => any) | undefined;
|
|
165
165
|
onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
|
|
166
166
|
onUnreadChange?: ((count: number) => any) | undefined;
|
|
@@ -168,11 +168,11 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
|
|
|
168
168
|
onNewMessage?: ((message: NotificationMessage) => any) | undefined;
|
|
169
169
|
onNavigate?: ((url: string) => any) | undefined;
|
|
170
170
|
}>, {
|
|
171
|
+
pageSize: number;
|
|
171
172
|
storageKey: string;
|
|
172
173
|
desktopNotification: boolean;
|
|
173
174
|
maxBadgeCount: number;
|
|
174
175
|
pollingInterval: number;
|
|
175
|
-
pageSize: number;
|
|
176
176
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
177
177
|
declare const _default: typeof __VLS_export;
|
|
178
178
|
//#endregion
|
package/dist/constants4.d.ts
CHANGED
|
@@ -197,31 +197,31 @@ type __VLS_Slots = {} & {
|
|
|
197
197
|
};
|
|
198
198
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
199
199
|
change: (fileList: UploadFileItem[]) => any;
|
|
200
|
-
error: (file: UploadFileItem, error: Error) => any;
|
|
201
200
|
success: (file: UploadFileItem, response: any) => any;
|
|
201
|
+
error: (file: UploadFileItem, error: Error) => any;
|
|
202
202
|
progress: (file: UploadFileItem, percent: number) => any;
|
|
203
203
|
remove: (file: UploadFileItem) => any;
|
|
204
204
|
finish: (fileList: UploadFileItem[]) => any;
|
|
205
205
|
exceed: (files: File[], fileList: UploadFileItem[]) => any;
|
|
206
206
|
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
207
207
|
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
208
|
-
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
209
208
|
onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
|
|
209
|
+
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
210
210
|
onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
|
|
211
211
|
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
212
212
|
onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
213
213
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
214
214
|
}>, {
|
|
215
|
-
data: Record<string, any>;
|
|
216
215
|
disabled: boolean;
|
|
216
|
+
draggable: boolean;
|
|
217
|
+
data: Record<string, any>;
|
|
218
|
+
maxSize: number;
|
|
219
|
+
multiple: boolean;
|
|
217
220
|
action: string;
|
|
218
221
|
headers: Record<string, string>;
|
|
219
|
-
multiple: boolean;
|
|
220
222
|
directory: boolean;
|
|
221
223
|
accept: string;
|
|
222
|
-
maxSize: number;
|
|
223
224
|
maxCount: number;
|
|
224
|
-
draggable: boolean;
|
|
225
225
|
pasteable: boolean;
|
|
226
226
|
chunked: boolean;
|
|
227
227
|
chunkSize: number;
|
package/dist/constants5.d.ts
CHANGED
|
@@ -259,11 +259,11 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
|
|
|
259
259
|
//#endregion
|
|
260
260
|
//#region src/components/C_VideoPlayer/index.vue.d.ts
|
|
261
261
|
declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
262
|
-
ended: () => any;
|
|
263
262
|
ready: () => any;
|
|
263
|
+
error: (error: Error) => any;
|
|
264
|
+
ended: () => any;
|
|
264
265
|
stateChange: (state: PlayerState) => any;
|
|
265
266
|
timeUpdate: (currentTime: number, duration: number) => any;
|
|
266
|
-
error: (error: Error) => any;
|
|
267
267
|
qualityChange: (quality: QualityLevel) => any;
|
|
268
268
|
rateChange: (rate: number) => any;
|
|
269
269
|
fullscreenChange: (isFullscreen: boolean) => any;
|
|
@@ -272,11 +272,11 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
|
|
|
272
272
|
chapterChange: (chapter: Chapter) => any;
|
|
273
273
|
progressUpdate: (data: ProgressData) => any;
|
|
274
274
|
}, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
|
|
275
|
-
onEnded?: (() => any) | undefined;
|
|
276
275
|
onReady?: (() => any) | undefined;
|
|
276
|
+
onError?: ((error: Error) => any) | undefined;
|
|
277
|
+
onEnded?: (() => any) | undefined;
|
|
277
278
|
onStateChange?: ((state: PlayerState) => any) | undefined;
|
|
278
279
|
onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
|
|
279
|
-
onError?: ((error: Error) => any) | undefined;
|
|
280
280
|
onQualityChange?: ((quality: QualityLevel) => any) | undefined;
|
|
281
281
|
onRateChange?: ((rate: number) => any) | undefined;
|
|
282
282
|
onFullscreenChange?: ((isFullscreen: boolean) => any) | undefined;
|
package/dist/data.d.ts
CHANGED
|
@@ -23,10 +23,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
23
23
|
onMarkerClick?: ((marker: MapMarker$1, event: any) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
height: string;
|
|
26
|
-
zoom: number;
|
|
27
26
|
center: [number, number];
|
|
28
27
|
markers: MapMarker$1[];
|
|
29
28
|
amapKey: string;
|
|
29
|
+
zoom: number;
|
|
30
30
|
mapType: "osm" | "amap";
|
|
31
31
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -33,12 +33,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
33
33
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
34
34
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
|
+
trim: boolean;
|
|
36
37
|
code: string;
|
|
37
38
|
language: string;
|
|
38
39
|
showHeader: boolean;
|
|
39
40
|
showLineNumbers: boolean;
|
|
40
41
|
wordWrap: boolean;
|
|
41
|
-
trim: boolean;
|
|
42
42
|
showFullscreen: boolean;
|
|
43
43
|
autoLoadLanguage: boolean;
|
|
44
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -61,22 +61,22 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
61
61
|
close: () => void; /** 当前是否可见 */
|
|
62
62
|
visible: vue.ComputedRef<boolean>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
-
select: (item: ContextMenuItem) => any;
|
|
65
64
|
close: () => any;
|
|
65
|
+
select: (item: ContextMenuItem) => any;
|
|
66
66
|
open: (position: {
|
|
67
67
|
x: number;
|
|
68
68
|
y: number;
|
|
69
69
|
}) => any;
|
|
70
70
|
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
-
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
71
|
onClose?: (() => any) | undefined;
|
|
72
|
+
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
73
73
|
onOpen?: ((position: {
|
|
74
74
|
x: number;
|
|
75
75
|
y: number;
|
|
76
76
|
}) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
items: ContextMenuItem[];
|
|
79
78
|
disabled: boolean;
|
|
79
|
+
items: ContextMenuItem[];
|
|
80
80
|
zIndex: number;
|
|
81
81
|
minWidth: number;
|
|
82
82
|
maxWidth: number;
|
package/dist/index12.vue.d.ts
CHANGED
|
@@ -38,9 +38,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
38
38
|
"onUpdate:dateTimeRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
39
39
|
"onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
|
-
mode: DatePickerMode;
|
|
42
41
|
disabled: boolean;
|
|
43
42
|
placeholder: string;
|
|
43
|
+
mode: DatePickerMode;
|
|
44
44
|
startPlaceholder: string;
|
|
45
45
|
endPlaceholder: string;
|
|
46
46
|
disabledBeforeToday: boolean;
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -28,11 +28,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
28
28
|
"onEditor-mounted"?: ((editor: any) => any) | undefined;
|
|
29
29
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
theme: "light" | "dark";
|
|
32
31
|
modelValue: string;
|
|
32
|
+
height: number;
|
|
33
33
|
disabled: boolean;
|
|
34
34
|
placeholder: string;
|
|
35
|
-
|
|
35
|
+
theme: "light" | "dark";
|
|
36
36
|
readonly: boolean;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
package/dist/index14.vue.d.ts
CHANGED
|
@@ -79,22 +79,22 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
79
79
|
resetCompleted: () => void;
|
|
80
80
|
isCompleted: () => boolean;
|
|
81
81
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
82
|
-
close: (currentStep: number) => any;
|
|
83
82
|
start: () => any;
|
|
84
83
|
complete: () => any;
|
|
84
|
+
close: (currentStep: number) => any;
|
|
85
85
|
"step-change": (stepIndex: number, step: GuideStep) => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
|
|
87
|
-
onClose?: ((currentStep: number) => any) | undefined;
|
|
88
87
|
onStart?: (() => any) | undefined;
|
|
89
88
|
onComplete?: (() => any) | undefined;
|
|
89
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
90
90
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
-
keyboard: boolean;
|
|
93
92
|
steps: GuideStep[];
|
|
94
93
|
doneBtnText: string;
|
|
95
94
|
nextBtnText: string;
|
|
96
95
|
prevBtnText: string;
|
|
97
96
|
showProgress: boolean;
|
|
97
|
+
keyboard: boolean;
|
|
98
98
|
animate: boolean;
|
|
99
99
|
allowClose: boolean;
|
|
100
100
|
popoverClass: string;
|
package/dist/index15.vue.d.ts
CHANGED
|
@@ -49,21 +49,21 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
49
49
|
onError?: ((type: string, error?: any) => any) | undefined;
|
|
50
50
|
onLoad?: (() => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
|
-
size: number | string;
|
|
53
|
-
clickable: boolean;
|
|
54
52
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
53
|
+
size: number | string;
|
|
55
54
|
title: string;
|
|
56
|
-
loading: boolean;
|
|
57
55
|
name: string | any;
|
|
56
|
+
clickable: boolean;
|
|
57
|
+
flip: "horizontal" | "vertical" | "both";
|
|
58
58
|
color: string;
|
|
59
|
+
rotate: number;
|
|
59
60
|
svgPath: string;
|
|
60
61
|
viewBox: string;
|
|
61
62
|
alt: string;
|
|
63
|
+
loading: boolean;
|
|
62
64
|
fallbackIcon: string;
|
|
63
65
|
ariaLabel: string;
|
|
64
66
|
customClass: string;
|
|
65
|
-
rotate: number;
|
|
66
|
-
flip: "horizontal" | "vertical" | "both";
|
|
67
67
|
componentProps: Record<string, any>;
|
|
68
68
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
69
69
|
declare const _default: typeof __VLS_export;
|
package/dist/index18.vue.d.ts
CHANGED
|
@@ -58,13 +58,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
58
58
|
"onAuto-save"?: ((text: string) => any) | undefined;
|
|
59
59
|
"onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
|
-
mode: "edit" | "editable" | "preview";
|
|
62
61
|
modelValue: string;
|
|
62
|
+
height: string | number;
|
|
63
63
|
disabled: boolean;
|
|
64
64
|
placeholder: string;
|
|
65
|
-
|
|
66
|
-
isDark: boolean;
|
|
67
|
-
autoSave: boolean;
|
|
65
|
+
mode: "edit" | "editable" | "preview";
|
|
68
66
|
tocNavPosition: "left" | "right";
|
|
69
67
|
defaultFullscreen: boolean;
|
|
70
68
|
autofocus: boolean;
|
|
@@ -73,7 +71,9 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
73
71
|
rightToolbar: string;
|
|
74
72
|
maxLength: number;
|
|
75
73
|
showWordCount: boolean;
|
|
74
|
+
autoSave: boolean;
|
|
76
75
|
autoSaveInterval: number;
|
|
76
|
+
isDark: boolean;
|
|
77
77
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
78
78
|
declare const _default: typeof __VLS_export;
|
|
79
79
|
//#endregion
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -70,12 +70,12 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
70
70
|
onEnded?: ((index: number) => any) | undefined;
|
|
71
71
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
72
72
|
}>, {
|
|
73
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
74
|
+
theme: "default" | "minimal";
|
|
73
75
|
initialIndex: number;
|
|
74
76
|
showPlaylist: boolean;
|
|
75
77
|
showCover: boolean;
|
|
76
78
|
autoplay: boolean;
|
|
77
|
-
mode: "list" | "loop" | "single" | "shuffle";
|
|
78
|
-
theme: "default" | "minimal";
|
|
79
79
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
//#endregion
|
package/dist/index20.vue.d.ts
CHANGED
|
@@ -78,8 +78,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
78
78
|
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
79
79
|
}>, {
|
|
80
80
|
direction: OrgChartDirection;
|
|
81
|
-
lineStyle: OrgChartLineStyle;
|
|
82
81
|
lineColor: string;
|
|
82
|
+
collapsible: boolean;
|
|
83
|
+
lineStyle: OrgChartLineStyle;
|
|
83
84
|
lineWidth: number;
|
|
84
85
|
nodeSpacing: number;
|
|
85
86
|
levelSpacing: number;
|
|
@@ -88,7 +89,6 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
|
88
89
|
initialZoom: number;
|
|
89
90
|
minZoom: number;
|
|
90
91
|
maxZoom: number;
|
|
91
|
-
collapsible: boolean;
|
|
92
92
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
93
93
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
94
94
|
declare const _default: typeof __VLS_export;
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ type __VLS_Slots = {} & {
|
|
|
34
34
|
indicator?: (props: typeof __VLS_9) => any;
|
|
35
35
|
};
|
|
36
36
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
37
|
-
time: number;
|
|
38
37
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
38
|
+
time: number;
|
|
39
39
|
strokeWidth: number;
|
|
40
40
|
percentage: number | number[];
|
|
41
41
|
isAnimation: boolean;
|
package/dist/index22.vue.d.ts
CHANGED
|
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
|
|
|
86
86
|
default?: (props: typeof __VLS_1) => any;
|
|
87
87
|
};
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
|
-
loading: boolean;
|
|
90
89
|
repeat: number;
|
|
91
|
-
preset: SkeletonPreset;
|
|
92
90
|
animation: SkeletonAnimation;
|
|
93
91
|
borderRadius: string;
|
|
92
|
+
loading: boolean;
|
|
93
|
+
preset: SkeletonPreset;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
95
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
96
|
declare const _default: typeof __VLS_export;
|
package/dist/index23.vue.d.ts
CHANGED
|
@@ -24,10 +24,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
24
24
|
onChange?: ((args_0: number) => any) | undefined;
|
|
25
25
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
|
-
clickable: boolean;
|
|
28
27
|
direction: "horizontal" | "vertical";
|
|
29
|
-
|
|
28
|
+
clickable: boolean;
|
|
30
29
|
current: number;
|
|
30
|
+
connected: boolean;
|
|
31
31
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
//#endregion
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -90,10 +90,10 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
90
90
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
91
91
|
onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
|
-
items: TimelineItem[];
|
|
94
|
-
size: "small" | "medium" | "large";
|
|
95
|
-
reverse: boolean;
|
|
96
93
|
mode: "vertical" | "horizontal";
|
|
94
|
+
reverse: boolean;
|
|
95
|
+
size: "small" | "medium" | "large";
|
|
96
|
+
items: TimelineItem[];
|
|
97
97
|
labelPlacement: "left" | "right" | "alternate";
|
|
98
98
|
pending: boolean;
|
|
99
99
|
pendingText: string;
|
package/dist/index28.vue.d.ts
CHANGED
|
@@ -647,13 +647,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
647
647
|
onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
|
|
648
648
|
onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
|
|
649
649
|
}>, {
|
|
650
|
-
theme: "light" | "dark";
|
|
651
|
-
data: GanttTask[];
|
|
652
650
|
height: string | number;
|
|
653
651
|
title: string;
|
|
652
|
+
theme: "light" | "dark";
|
|
654
653
|
options: GanttOptions;
|
|
655
|
-
|
|
654
|
+
data: GanttTask[];
|
|
656
655
|
showToolbar: boolean;
|
|
656
|
+
preset: GanttPreset;
|
|
657
657
|
showFullscreenButton: boolean;
|
|
658
658
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
659
659
|
declare const _default: typeof __VLS_export;
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -72,15 +72,15 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
72
72
|
onItemClick?: ((item: AvatarItem) => any) | undefined;
|
|
73
73
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
-
|
|
75
|
+
direction: "ltr" | "rtl";
|
|
76
76
|
size: number;
|
|
77
|
+
max: number;
|
|
77
78
|
overlap: number;
|
|
78
79
|
shape: "circle" | "square";
|
|
79
80
|
showStatus: boolean;
|
|
80
81
|
showTooltip: boolean;
|
|
81
82
|
clickable: boolean;
|
|
82
83
|
overflowClickable: boolean;
|
|
83
|
-
direction: "ltr" | "rtl";
|
|
84
84
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
|
86
86
|
//#endregion
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -21,16 +21,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
height: number;
|
|
24
|
-
width: number;
|
|
25
24
|
label: string;
|
|
26
|
-
|
|
25
|
+
width: number;
|
|
27
26
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
28
|
-
showBorder: boolean;
|
|
29
|
-
showLabel: boolean;
|
|
30
|
-
fontSize: number;
|
|
31
|
-
background: string;
|
|
32
27
|
showText: boolean;
|
|
28
|
+
fontSize: number;
|
|
33
29
|
textPosition: "bottom" | "top";
|
|
30
|
+
lineColor: string;
|
|
31
|
+
background: string;
|
|
32
|
+
showBorder: boolean;
|
|
33
|
+
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -19,25 +19,25 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
|
|
|
19
19
|
show: () => void;
|
|
20
20
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
21
21
|
change: (valid: boolean) => any;
|
|
22
|
-
reset: () => any;
|
|
23
22
|
success: (data: {
|
|
24
23
|
token: string;
|
|
25
24
|
timestamp: number;
|
|
26
25
|
}) => any;
|
|
27
26
|
fail: (error: string) => any;
|
|
27
|
+
reset: () => any;
|
|
28
28
|
}, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
|
|
29
29
|
onChange?: ((valid: boolean) => any) | undefined;
|
|
30
|
-
onReset?: (() => any) | undefined;
|
|
31
30
|
onSuccess?: ((data: {
|
|
32
31
|
token: string;
|
|
33
32
|
timestamp: number;
|
|
34
33
|
}) => any) | undefined;
|
|
35
34
|
onFail?: ((error: string) => any) | undefined;
|
|
35
|
+
onReset?: (() => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
-
theme: "light" | "dark";
|
|
38
37
|
disabled: boolean;
|
|
39
38
|
triggerText: string;
|
|
40
39
|
images: string[];
|
|
40
|
+
theme: "light" | "dark";
|
|
41
41
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const _default: typeof __VLS_export;
|
|
43
43
|
//#endregion
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
|
|
|
86
86
|
declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
87
87
|
scrollToBottom: () => void;
|
|
88
88
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
89
|
-
"load-more": () => any;
|
|
90
89
|
send: (content: string) => any;
|
|
91
90
|
"select-contact": (id: string) => any;
|
|
91
|
+
"load-more": () => any;
|
|
92
92
|
"image-preview": (url: string) => any;
|
|
93
93
|
"file-click": (msg: ChatMessage) => any;
|
|
94
94
|
"file-upload": () => any;
|
|
95
95
|
"emoji-click": () => any;
|
|
96
96
|
resend: (msg: ChatMessage) => any;
|
|
97
97
|
}, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
|
|
98
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
99
98
|
onSend?: ((content: string) => any) | undefined;
|
|
100
99
|
"onSelect-contact"?: ((id: string) => any) | undefined;
|
|
100
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
101
101
|
"onImage-preview"?: ((url: string) => any) | undefined;
|
|
102
102
|
"onFile-click"?: ((msg: ChatMessage) => any) | undefined;
|
|
103
103
|
"onFile-upload"?: (() => any) | undefined;
|
|
@@ -106,12 +106,12 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
106
106
|
}>, {
|
|
107
107
|
placeholder: string;
|
|
108
108
|
title: string;
|
|
109
|
-
messages: ChatMessage[];
|
|
110
109
|
showContacts: boolean;
|
|
111
110
|
showTimestamp: boolean;
|
|
112
111
|
showSendBtn: boolean;
|
|
113
112
|
loadingHistory: boolean;
|
|
114
113
|
contacts: ChatContact[];
|
|
114
|
+
messages: ChatMessage[];
|
|
115
115
|
currentContactId: string;
|
|
116
116
|
selfAvatar: string;
|
|
117
117
|
selfName: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-design-style=glass-morphism]{--_dt-radius: var(--dt-radius, 12px);--_dt-radius-sm: var(--dt-radius-sm, 8px);--_dt-card-border: var(--dt-card-border, rgba(0, 0, 0, 0.06));--_dt-card-shadow: var(--dt-card-shadow, 0 0.5px 0 0 rgba(0, 0, 0, 0.04), 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 4px 12px 0 rgba(0, 0, 0, 0.03));--_dt-card-hover-shadow: var(--dt-card-hover-shadow, 0 1px 1px 0 rgba(0, 0, 0, 0.04), 0 4px 8px 0 rgba(0, 0, 0, 0.06), 0 12px 24px 0 rgba(0, 0, 0, 0.06));--_dt-transition: var(--dt-transition, 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94));--_dt-transition-fast: var(--dt-transition-fast, 0.2s ease)}[data-design-style=glass-morphism][data-theme=dark]{--_dt-card-border: var(--dt-card-border, rgba(255, 255, 255, 0.08));--_dt-card-shadow: var(--dt-card-shadow, 0 0.5px 0 0 rgba(255, 255, 255, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 4px 12px 0 rgba(0, 0, 0, 0.15));--_dt-card-hover-shadow: var(--dt-card-hover-shadow, 0 1px 1px 0 rgba(255, 255, 255, 0.05), 0 4px 8px 0 rgba(0, 0, 0, 0.25), 0 12px 24px 0 rgba(0, 0, 0, 0.2))}[data-design-style=glass-morphism] .c-table-wrapper{border-radius:var(--_dt-radius);border:1px solid var(--_dt-card-border);box-shadow:var(--_dt-card-shadow);transition:box-shadow var(--_dt-transition)}[data-design-style=glass-morphism] .c-table-wrapper :deep(.n-data-table){border-radius:var(--_dt-radius)}[data-design-style=glass-morphism] .dynamic-rows-toolbar{border-radius:var(--_dt-radius-sm);border-color:var(--_dt-card-border);box-shadow:var(--_dt-card-shadow)}[data-design-style=glass-morphism] .batch-actions-bar{border-radius:var(--_dt-radius-sm)}[data-design-style=glass-morphism] .c-table-wrapper :deep(.n-modal .n-card){border-radius:16px}[data-design-style=glass-morphism] .c-action-bar{border-radius:var(--_dt-radius-sm);border-color:var(--_dt-card-border);box-shadow:var(--_dt-card-shadow);transition:box-shadow var(--_dt-transition)}[data-design-style=glass-morphism] .actions-group :deep(.n-button:hover:not(:disabled)){transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.08)}[data-design-style=glass-morphism] .actions-group :deep(.n-button:active:not(:disabled)){transform:scale(0.97);box-shadow:none}[data-design-style=glass-morphism] .actions-group :deep(.n-button--primary-type:hover:not(:disabled)),[data-design-style=glass-morphism] .actions-group :deep(.n-button--info-type:hover:not(:disabled)),[data-design-style=glass-morphism] .actions-group :deep(.n-button--success-type:hover:not(:disabled)),[data-design-style=glass-morphism] .actions-group :deep(.n-button--warning-type:hover:not(:disabled)),[data-design-style=glass-morphism] .actions-group :deep(.n-button--error-type:hover:not(:disabled)){box-shadow:0 2px 8px rgba(0,0,0,.1)}[data-design-style=glass-morphism][data-theme=dark] .c-action-bar{border-color:var(--_dt-card-border);box-shadow:var(--_dt-card-shadow)}[data-design-style=glass-morphism] .form-search-card{border-radius:var(--_dt-radius);box-shadow:var(--_dt-card-shadow)}[data-design-style=glass-morphism] .form-search-card .input-history{border-radius:var(--_dt-radius-sm);box-shadow:0 4px 16px rgba(0,0,0,.08),0 0 1px rgba(0,0,0,.06)}[data-design-style=glass-morphism] .c-chat{border-radius:var(--_dt-radius);box-shadow:var(--_dt-card-shadow);border-color:var(--_dt-card-border)}[data-design-style=glass-morphism] .c-chat__bubble{border-radius:var(--_dt-radius)}[data-design-style=glass-morphism] .c-chat .is-other .c-chat__bubble{border-top-left-radius:4px}[data-design-style=glass-morphism] .c-chat .is-self .c-chat__bubble{border-top-right-radius:4px}[data-design-style=glass-morphism] .c-collapse-panel--card .collapse-item{border-radius:var(--_dt-radius-sm);border-color:var(--_dt-card-border);box-shadow:var(--_dt-card-shadow);transition:box-shadow var(--_dt-transition)}[data-design-style=glass-morphism] .c-collapse-panel--card .collapse-item--active{box-shadow:var(--_dt-card-hover-shadow)}[data-design-style=glass-morphism] .c-collapse-panel--bordered{border-color:var(--_dt-card-border)}[data-design-style=glass-morphism] .single-card,[data-design-style=glass-morphism] .group-card{border-radius:var(--_dt-radius);box-shadow:var(--_dt-card-shadow);transition:box-shadow var(--_dt-transition)}[data-design-style=glass-morphism] .step-icon{transition:all var(--_dt-transition-fast)}[data-design-style=glass-morphism] .c-timeline__content{border-radius:var(--_dt-radius-sm);border-color:var(--_dt-card-border);box-shadow:var(--_dt-card-shadow)}[data-design-style=glass-morphism] .c-timeline__tag{border-radius:6px}[data-design-style=glass-morphism] .c-notification-center__popover{border-radius:var(--_dt-radius) !important;backdrop-filter:blur(16px) saturate(150%);-webkit-backdrop-filter:blur(16px) saturate(150%);box-shadow:0 8px 32px rgba(0,0,0,.08),0 0 1px rgba(0,0,0,.06) !important}[data-design-style=glass-morphism][data-theme=dark] .c-notification-center__popover{box-shadow:0 8px 32px rgba(0,0,0,.3),0 0 1px hsla(0,0%,100%,.06) !important}[data-design-style=glass-morphism] .robot-dialog-container{border-radius:var(--_dt-radius)}[data-design-style=glass-morphism] .robot-result-item{border-radius:var(--_dt-radius-sm)}[data-design-style=glass-morphism] .c-split-pane{border-radius:var(--_dt-radius);border-color:var(--_dt-card-border)}[data-design-style=glass-morphism] .c-skeleton-wrapper{border-radius:var(--_dt-radius)}[data-design-style=glass-morphism] .c-transfer-panel{border-radius:var(--_dt-radius-sm);border-color:var(--_dt-card-border);box-shadow:var(--_dt-card-shadow)}[data-design-style=glass-morphism] .c-login-panel{--cl-panel-radius: 16px;--cl-btn-radius: var(--_dt-radius-sm);box-shadow:0 24px 80px rgba(0,0,0,.12),0 0 1px rgba(0,0,0,.1)}[data-design-style=glass-morphism] .c-chat ::-webkit-scrollbar,[data-design-style=glass-morphism] .c-timeline ::-webkit-scrollbar{width:4px;height:4px}[data-design-style=glass-morphism] .c-chat ::-webkit-scrollbar-thumb,[data-design-style=glass-morphism] .c-timeline ::-webkit-scrollbar-thumb{background:rgba(0,0,0,.12);border-radius:2px}[data-design-style=glass-morphism] .c-chat ::-webkit-scrollbar-track,[data-design-style=glass-morphism] .c-timeline ::-webkit-scrollbar-track{background:rgba(0,0,0,0)}
|
package/dist/useCropperCore.d.ts
CHANGED
|
@@ -63,8 +63,8 @@ declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperE
|
|
|
63
63
|
onConfirm?: ((result: any) => any) | undefined;
|
|
64
64
|
onCancel?: (() => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
|
-
disabled: boolean;
|
|
67
66
|
height: string | number;
|
|
67
|
+
disabled: boolean;
|
|
68
68
|
showPreview: boolean;
|
|
69
69
|
src: string;
|
|
70
70
|
aspectRatio: number;
|
|
@@ -116,20 +116,12 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
116
116
|
"onItem-remove"?: ((item: DraggableItem, index: number) => any) | undefined;
|
|
117
117
|
"onList-change"?: ((list: DraggableItem[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
|
-
direction: "vertical" | "horizontal";
|
|
120
|
-
sort: boolean;
|
|
121
119
|
modelValue: DraggableItem[];
|
|
122
120
|
disabled: boolean;
|
|
123
|
-
|
|
121
|
+
sort: boolean;
|
|
122
|
+
group: string | GroupOptions;
|
|
124
123
|
animation: number;
|
|
125
124
|
delay: number;
|
|
126
|
-
layout: LayoutMode;
|
|
127
|
-
itemClass: string;
|
|
128
|
-
group: string | GroupOptions;
|
|
129
|
-
alignItems: AlignItems;
|
|
130
|
-
flexWrap: boolean;
|
|
131
|
-
justifyContent: JustifyContent;
|
|
132
|
-
gap: string | number;
|
|
133
125
|
handle: string;
|
|
134
126
|
showHandle: boolean;
|
|
135
127
|
ghostClass: string;
|
|
@@ -137,11 +129,19 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
|
|
|
137
129
|
dragClass: string;
|
|
138
130
|
wrapperClass: string;
|
|
139
131
|
listClass: string;
|
|
132
|
+
itemClass: string;
|
|
140
133
|
showEmptyState: boolean;
|
|
134
|
+
emptyText: string;
|
|
141
135
|
swapThreshold: number;
|
|
142
136
|
invertSwap: boolean;
|
|
137
|
+
direction: "vertical" | "horizontal";
|
|
138
|
+
layout: LayoutMode;
|
|
143
139
|
gridColumns: number;
|
|
144
140
|
gridRows: number;
|
|
141
|
+
gap: string | number;
|
|
142
|
+
flexWrap: boolean;
|
|
143
|
+
justifyContent: JustifyContent;
|
|
144
|
+
alignItems: AlignItems;
|
|
145
145
|
customStyles: Record<string, string | number>;
|
|
146
146
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
147
147
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1362,9 +1362,9 @@ declare const useDynamicFormState: () => {
|
|
|
1362
1362
|
readonly value?: any;
|
|
1363
1363
|
readonly placeholder?: string | undefined;
|
|
1364
1364
|
readonly rules?: readonly {
|
|
1365
|
-
readonly max?: number | undefined;
|
|
1366
1365
|
readonly type?: RuleType | undefined;
|
|
1367
1366
|
readonly required?: boolean | undefined;
|
|
1367
|
+
readonly max?: number | undefined;
|
|
1368
1368
|
readonly key?: string | undefined;
|
|
1369
1369
|
readonly options?: {
|
|
1370
1370
|
readonly suppressWarning?: boolean | undefined;
|
|
@@ -1421,9 +1421,10 @@ declare const useDynamicFormState: () => {
|
|
|
1421
1421
|
readonly keys?: readonly string[] | undefined;
|
|
1422
1422
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
1423
1423
|
} | undefined;
|
|
1424
|
+
readonly level?: "warning" | "error" | undefined;
|
|
1424
1425
|
readonly trigger?: string | readonly string[] | undefined;
|
|
1425
|
-
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1426
1426
|
readonly pattern?: (RegExp | string) | undefined;
|
|
1427
|
+
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
1427
1428
|
readonly min?: number | undefined;
|
|
1428
1429
|
readonly len?: number | undefined;
|
|
1429
1430
|
readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
|
|
@@ -1999,7 +2000,6 @@ declare const useDynamicFormState: () => {
|
|
|
1999
2000
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
2000
2001
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
2001
2002
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
2002
|
-
readonly level?: "warning" | "error" | undefined;
|
|
2003
2003
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
2004
2004
|
}[] | undefined;
|
|
2005
2005
|
readonly attrs?: {
|
|
@@ -3645,9 +3645,9 @@ declare const useDynamicFormState: () => {
|
|
|
3645
3645
|
readonly span?: number | undefined;
|
|
3646
3646
|
} | undefined;
|
|
3647
3647
|
readonly rules?: readonly {
|
|
3648
|
-
readonly max?: number | undefined;
|
|
3649
3648
|
readonly type?: RuleType | undefined;
|
|
3650
3649
|
readonly required?: boolean | undefined;
|
|
3650
|
+
readonly max?: number | undefined;
|
|
3651
3651
|
readonly key?: string | undefined;
|
|
3652
3652
|
readonly options?: {
|
|
3653
3653
|
readonly suppressWarning?: boolean | undefined;
|
|
@@ -3704,9 +3704,10 @@ declare const useDynamicFormState: () => {
|
|
|
3704
3704
|
readonly keys?: readonly string[] | undefined;
|
|
3705
3705
|
readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
|
|
3706
3706
|
} | undefined;
|
|
3707
|
+
readonly level?: "warning" | "error" | undefined;
|
|
3707
3708
|
readonly trigger?: string | readonly string[] | undefined;
|
|
3708
|
-
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3709
3709
|
readonly pattern?: (RegExp | string) | undefined;
|
|
3710
|
+
readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
|
|
3710
3711
|
readonly min?: number | undefined;
|
|
3711
3712
|
readonly len?: number | undefined;
|
|
3712
3713
|
readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
|
|
@@ -4282,7 +4283,6 @@ declare const useDynamicFormState: () => {
|
|
|
4282
4283
|
readonly transform?: ((value: Value) => Value) | undefined;
|
|
4283
4284
|
readonly message?: string | ((a?: string) => string) | undefined;
|
|
4284
4285
|
readonly renderMessage?: (() => vue.VNodeChild) | undefined;
|
|
4285
|
-
readonly level?: "warning" | "error" | undefined;
|
|
4286
4286
|
readonly validator: NonNullable<naive_ui0.FormItemRule["validator"]>;
|
|
4287
4287
|
}[] | undefined;
|
|
4288
4288
|
}[];
|
|
@@ -259,11 +259,11 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
259
259
|
onReady?: ((graph: any) => any) | undefined;
|
|
260
260
|
"onData-change"?: ((data: DiagramData) => any) | undefined;
|
|
261
261
|
}>, {
|
|
262
|
-
theme: "light" | "dark";
|
|
263
262
|
height: string | number;
|
|
263
|
+
theme: "light" | "dark";
|
|
264
264
|
width: string | number;
|
|
265
|
-
showToolbar: boolean;
|
|
266
265
|
readonly: boolean;
|
|
266
|
+
showToolbar: boolean;
|
|
267
267
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
268
268
|
declare const _default: typeof __VLS_export;
|
|
269
269
|
//#endregion
|
package/dist/useFullscreen.d.ts
CHANGED
|
@@ -9,11 +9,11 @@ type __VLS_Props = {
|
|
|
9
9
|
autoPreview?: boolean;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
12
|
-
download: (file: string | File) => any;
|
|
13
12
|
preview: (file: string | File) => any;
|
|
13
|
+
download: (file: string | File) => any;
|
|
14
14
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
-
onDownload?: ((file: string | File) => any) | undefined;
|
|
16
15
|
onPreview?: ((file: string | File) => any) | undefined;
|
|
16
|
+
onDownload?: ((file: string | File) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
fileName: string;
|
|
19
19
|
autoPreview: boolean;
|
|
@@ -79,20 +79,20 @@ type __VLS_Slots = {} & {
|
|
|
79
79
|
footer?: (props: typeof __VLS_5) => any;
|
|
80
80
|
};
|
|
81
81
|
declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
82
|
-
"item-click": (item: WaterFallItem, index: number) => any;
|
|
83
82
|
"load-more": () => any;
|
|
83
|
+
"item-click": (item: WaterFallItem, index: number) => any;
|
|
84
84
|
"image-loaded": (item: WaterFallItem) => any;
|
|
85
85
|
"image-error": (item: WaterFallItem) => any;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
|
|
87
|
-
"onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
|
|
88
87
|
"onLoad-more"?: (() => any) | undefined;
|
|
88
|
+
"onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
|
|
89
89
|
"onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
|
|
90
90
|
"onImage-error"?: ((item: WaterFallItem) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
+
gap: number;
|
|
93
|
+
columns: number;
|
|
92
94
|
loading: boolean;
|
|
93
95
|
animationDuration: number;
|
|
94
|
-
columns: number;
|
|
95
|
-
gap: number;
|
|
96
96
|
infinite: boolean;
|
|
97
97
|
lazy: boolean;
|
|
98
98
|
skeleton: boolean;
|
package/dist/useModalEdit.d.ts
CHANGED
|
@@ -884,8 +884,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
884
884
|
getSelectedRows: () => DataRecord[];
|
|
885
885
|
} | undefined;
|
|
886
886
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
887
|
-
cancel: (rowData: DataRecord, rowIndex: number) => any;
|
|
888
887
|
save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
|
|
888
|
+
cancel: (rowData: DataRecord, rowIndex: number) => any;
|
|
889
889
|
"pagination-change": (...args: unknown[]) => any;
|
|
890
890
|
"row-delete": (...args: unknown[]) => any;
|
|
891
891
|
"expand-change": (expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any;
|
|
@@ -900,8 +900,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
|
|
|
900
900
|
"view-detail": (data: DataRecord) => any;
|
|
901
901
|
"column-change": (columns: TableColumn[]) => any;
|
|
902
902
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
903
|
-
onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
|
|
904
903
|
onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
|
|
904
|
+
onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
|
|
905
905
|
"onPagination-change"?: ((...args: unknown[]) => any) | undefined;
|
|
906
906
|
"onRow-delete"?: ((...args: unknown[]) => any) | undefined;
|
|
907
907
|
"onExpand-change"?: ((expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any) | undefined;
|
package/dist/useQRCode.d.ts
CHANGED
|
@@ -50,16 +50,16 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
|
|
|
50
50
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
51
51
|
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
}>, {
|
|
53
|
-
size: number;
|
|
54
53
|
mode: RenderMode;
|
|
54
|
+
size: number;
|
|
55
55
|
label: string;
|
|
56
|
+
showBorder: boolean;
|
|
57
|
+
showLabel: boolean;
|
|
56
58
|
color: string;
|
|
57
59
|
bgColor: string;
|
|
58
60
|
errorCorrectionLevel: ErrorCorrectionLevel;
|
|
59
61
|
margin: number;
|
|
60
62
|
logo: LogoOptions;
|
|
61
|
-
showBorder: boolean;
|
|
62
|
-
showLabel: boolean;
|
|
63
63
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
//#endregion
|
package/dist/useSearchState.d.ts
CHANGED
|
@@ -55,12 +55,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
55
55
|
cleanFn: () => void;
|
|
56
56
|
changeFoldState: () => void;
|
|
57
57
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
58
|
-
reset: () => any;
|
|
59
58
|
search: (params: SearchFormParams) => any;
|
|
59
|
+
reset: () => any;
|
|
60
60
|
"change-params": (params: SearchFormParams) => any;
|
|
61
61
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
62
|
-
onReset?: (() => any) | undefined;
|
|
63
62
|
onSearch?: ((params: SearchFormParams) => any) | undefined;
|
|
63
|
+
onReset?: (() => any) | undefined;
|
|
64
64
|
"onChange-params"?: ((params: SearchFormParams) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
size: "small" | "medium" | "large";
|
|
@@ -107,11 +107,11 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
|
|
|
107
107
|
onUndo?: (() => any) | undefined;
|
|
108
108
|
onRedo?: (() => any) | undefined;
|
|
109
109
|
}>, {
|
|
110
|
-
disabled: boolean;
|
|
111
110
|
height: number | string;
|
|
111
|
+
disabled: boolean;
|
|
112
112
|
width: number | string;
|
|
113
|
-
showToolbar: boolean;
|
|
114
113
|
readonly: boolean;
|
|
114
|
+
showToolbar: boolean;
|
|
115
115
|
maxHistory: number;
|
|
116
116
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
117
117
|
declare const _default: typeof __VLS_export;
|
package/dist/useSplitResize.d.ts
CHANGED
|
@@ -66,25 +66,25 @@ type __VLS_Slots = {} & {
|
|
|
66
66
|
second?: (props: typeof __VLS_13) => any;
|
|
67
67
|
};
|
|
68
68
|
declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
69
|
+
"drag-start": (size: number) => any;
|
|
70
|
+
"drag-end": (size: number) => any;
|
|
69
71
|
expand: (target: CollapseTarget) => any;
|
|
70
72
|
resize: (firstSize: number, secondSize: number) => any;
|
|
71
73
|
collapse: (target: CollapseTarget) => any;
|
|
72
|
-
"drag-start": (size: number) => any;
|
|
73
|
-
"drag-end": (size: number) => any;
|
|
74
74
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
75
|
+
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
76
|
+
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
75
77
|
onExpand?: ((target: CollapseTarget) => any) | undefined;
|
|
76
78
|
onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
|
|
77
79
|
onCollapse?: ((target: CollapseTarget) => any) | undefined;
|
|
78
|
-
"onDrag-start"?: ((size: number) => any) | undefined;
|
|
79
|
-
"onDrag-end"?: ((size: number) => any) | undefined;
|
|
80
80
|
}>, {
|
|
81
|
-
direction: SplitDirection;
|
|
82
81
|
disabled: boolean;
|
|
82
|
+
direction: SplitDirection;
|
|
83
83
|
step: number;
|
|
84
|
-
collapsible: boolean;
|
|
85
|
-
maxSize: number;
|
|
86
84
|
defaultSize: number;
|
|
87
85
|
minSize: number;
|
|
86
|
+
maxSize: number;
|
|
87
|
+
collapsible: boolean;
|
|
88
88
|
showCollapseButton: boolean;
|
|
89
89
|
gutterSize: number;
|
|
90
90
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -48,11 +48,11 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
|
|
|
48
48
|
"onChange-start"?: ((time: number | null) => any) | undefined;
|
|
49
49
|
"onChange-end"?: ((time: number | null) => any) | undefined;
|
|
50
50
|
}>, {
|
|
51
|
-
mode: TimeMode;
|
|
52
51
|
placeholder: string;
|
|
52
|
+
mode: TimeMode;
|
|
53
|
+
format: string;
|
|
53
54
|
startPlaceholder: string;
|
|
54
55
|
endPlaceholder: string;
|
|
55
|
-
format: string;
|
|
56
56
|
useHours: boolean;
|
|
57
57
|
useMinutes: boolean;
|
|
58
58
|
useSeconds: boolean;
|
|
@@ -102,13 +102,13 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
|
|
|
102
102
|
"onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
|
|
103
103
|
"onNode-drop"?: ((info: DropInfo) => any) | undefined;
|
|
104
104
|
}>, {
|
|
105
|
-
actions: ActionConfig[];
|
|
106
105
|
mode: TreeMode;
|
|
106
|
+
draggable: boolean;
|
|
107
|
+
actions: ActionConfig[];
|
|
107
108
|
labelField: string;
|
|
108
109
|
keyField: string;
|
|
109
110
|
childrenField: string;
|
|
110
111
|
showToolbar: boolean;
|
|
111
|
-
draggable: boolean;
|
|
112
112
|
searchPattern: string;
|
|
113
113
|
searchable: boolean;
|
|
114
114
|
searchPlaceholder: string;
|
|
@@ -239,16 +239,16 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
|
|
|
239
239
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
240
240
|
"update:modelValue": (value: WorkflowData) => any;
|
|
241
241
|
change: (value: WorkflowData) => any;
|
|
242
|
+
save: (data: WorkflowData) => any;
|
|
242
243
|
"node-click": (node: WorkflowNode) => any;
|
|
243
244
|
"validate-error": (errors: ValidationError[]) => any;
|
|
244
|
-
save: (data: WorkflowData) => any;
|
|
245
245
|
"edge-click": (edge: WorkflowEdge) => any;
|
|
246
246
|
}, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
|
|
247
247
|
"onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
|
|
248
248
|
onChange?: ((value: WorkflowData) => any) | undefined;
|
|
249
|
+
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
249
250
|
"onNode-click"?: ((node: WorkflowNode) => any) | undefined;
|
|
250
251
|
"onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
|
|
251
|
-
onSave?: ((data: WorkflowData) => any) | undefined;
|
|
252
252
|
"onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
|
|
253
253
|
}>, {
|
|
254
254
|
theme: "light" | "dark";
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.9.1",
|
|
7
7
|
"description": "基于 Naive UI 的 Vue 3 组件库",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "dist/index.cjs",
|
|
@@ -26,11 +26,13 @@
|
|
|
26
26
|
"import": "./dist/C_*.js",
|
|
27
27
|
"require": "./dist/C_*.cjs"
|
|
28
28
|
},
|
|
29
|
-
"./C_*/style.css": "./dist/C_*.css"
|
|
29
|
+
"./C_*/style.css": "./dist/C_*.css",
|
|
30
|
+
"./themes/glass-morphism.css": "./dist/themes/glass-morphism.css"
|
|
30
31
|
},
|
|
31
32
|
"sideEffects": [
|
|
32
33
|
"dist/style.css",
|
|
33
|
-
"dist/C_*.css"
|
|
34
|
+
"dist/C_*.css",
|
|
35
|
+
"dist/themes/*.css"
|
|
34
36
|
],
|
|
35
37
|
"files": [
|
|
36
38
|
"dist",
|
|
@@ -58,9 +60,10 @@
|
|
|
58
60
|
"scripts": {
|
|
59
61
|
"dev": "node scripts/watch-global-scss.js & tsdown --watch",
|
|
60
62
|
"build:scss": "node scripts/gen-global-scss.js && sass src/styles/global.scss dist/global-scss.css --style=compressed --no-source-map --load-path=src --silence-deprecation=legacy-js-api",
|
|
63
|
+
"build:themes": "sass src/styles/themes:dist/themes --style=compressed --no-source-map --load-path=src --silence-deprecation=legacy-js-api",
|
|
61
64
|
"build:css": "node scripts/merge-css.js",
|
|
62
65
|
"build:exports": "node scripts/gen-exports.js",
|
|
63
|
-
"build": "tsdown && bun run build:scss && bun run build:css && bun run build:exports",
|
|
66
|
+
"build": "tsdown && bun run build:scss && bun run build:themes && bun run build:css && bun run build:exports",
|
|
64
67
|
"type-check": "tsc --noEmit",
|
|
65
68
|
"check:exports": "node scripts/check-export-conflicts.js",
|
|
66
69
|
"prepublishOnly": "bun run build",
|