@robot-admin/naive-ui-components 0.8.2 → 0.9.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.
Files changed (47) hide show
  1. package/README.md +39 -24
  2. package/dist/constants.d.ts +3 -3
  3. package/dist/constants2.d.ts +6 -6
  4. package/dist/constants3.d.ts +3 -3
  5. package/dist/constants4.d.ts +5 -5
  6. package/dist/constants5.d.ts +2 -2
  7. package/dist/data.d.ts +2 -2
  8. package/dist/index.vue.d.ts +1 -1
  9. package/dist/index11.vue.d.ts +4 -4
  10. package/dist/index12.vue.d.ts +1 -1
  11. package/dist/index13.vue.d.ts +2 -2
  12. package/dist/index14.vue.d.ts +1 -1
  13. package/dist/index15.vue.d.ts +8 -8
  14. package/dist/index16.vue.d.ts +2 -2
  15. package/dist/index17.vue.d.ts +1 -1
  16. package/dist/index18.vue.d.ts +4 -4
  17. package/dist/index2.vue.d.ts +1 -1
  18. package/dist/index20.vue.d.ts +2 -2
  19. package/dist/index21.vue.d.ts +3 -3
  20. package/dist/index22.vue.d.ts +2 -2
  21. package/dist/index23.vue.d.ts +2 -2
  22. package/dist/index24.vue.d.ts +1 -1
  23. package/dist/index26.vue.d.ts +4 -4
  24. package/dist/index27.vue.d.ts +4 -4
  25. package/dist/index28.vue.d.ts +2 -2
  26. package/dist/index3.vue.d.ts +3 -3
  27. package/dist/index4.vue.d.ts +6 -6
  28. package/dist/index6.vue.d.ts +6 -6
  29. package/dist/index7.vue.d.ts +2 -2
  30. package/dist/index8.vue.d.ts +3 -3
  31. package/dist/index9.vue.d.ts +2 -2
  32. package/dist/themes/glass-morphism.css +1 -0
  33. package/dist/useCalendarEvents.d.ts +1 -1
  34. package/dist/useCollapsePanel.d.ts +3 -3
  35. package/dist/useCropperCore.d.ts +3 -3
  36. package/dist/useDraggableLayout.d.ts +3 -3
  37. package/dist/useDynamicFormState.d.ts +8 -8
  38. package/dist/useEdgeInteraction.d.ts +1 -1
  39. package/dist/useFullscreen.d.ts +2 -2
  40. package/dist/useInfiniteScroll.d.ts +3 -3
  41. package/dist/useQRCode.d.ts +4 -4
  42. package/dist/useSignatureHistory.d.ts +1 -1
  43. package/dist/useSplitResize.d.ts +6 -6
  44. package/dist/useTimeSelection.d.ts +1 -1
  45. package/dist/useTreeOperations.d.ts +3 -3
  46. package/dist/useWorkflowValidation.d.ts +4 -4
  47. 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
- 基于 **Naive UI** 的 Vue 3 企业级组件库,从 Robot Admin 中提炼的 51 个高质量业务组件。
5
+ **基于 Naive UI 的 Vue 3 企业级组件库**
6
+
7
+ 从 Robot Admin 中提炼的 51 个高质量业务组件,支持全量注册、按需导入(Tree-Shaking)和子路径独立导入。
8
+
9
+ [![NPM Version](https://img.shields.io/npm/v/@agile-team/naive-ui-components)](https://www.npmjs.com/package/@agile-team/naive-ui-components)
10
+ [![License](https://img.shields.io/npm/l/@agile-team/naive-ui-components)](./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
- 支持 **全量注册**、**按需导入(Tree-Shaking)** 和 **子路径独立导入**,配合多入口构建输出 ESM / CJS / DTS,满足不同集成场景。
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
- ### 按需导入(主入口 Tree-Shaking)
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
- ### Composables 单独使用
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
- ## 📋 组件清单(51 个)
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)
@@ -110,16 +110,16 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
110
110
  reset: typeof handleReset;
111
111
  validate: () => CronValidation;
112
112
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
113
- "update:modelValue": (value: string) => any;
114
113
  change: (value: string) => any;
114
+ "update:modelValue": (value: string) => any;
115
115
  "validation-change": (result: CronValidation) => any;
116
116
  }, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
117
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
118
117
  onChange?: ((value: string) => any) | undefined;
118
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
119
119
  "onValidation-change"?: ((result: CronValidation) => any) | undefined;
120
120
  }>, {
121
- modelValue: string;
122
121
  disabled: boolean;
122
+ modelValue: string;
123
123
  height: string | number;
124
124
  showPreview: boolean;
125
125
  previewCount: number;
@@ -112,22 +112,22 @@ interface FormulaEditorExpose {
112
112
  //#endregion
113
113
  //#region src/components/C_FormulaEditor/index.vue.d.ts
114
114
  declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
115
- "update:modelValue": (value: string) => any;
116
115
  change: (value: string) => any;
116
+ "update:modelValue": (value: string) => any;
117
117
  "validation-change": (result: FormulaValidation) => any;
118
118
  }, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
119
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
120
119
  onChange?: ((value: string) => any) | undefined;
120
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
121
121
  "onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
122
122
  }>, {
123
- modelValue: string;
124
- variables: FormulaVariable[];
125
- functions: FormulaFunction[];
126
- sampleData: Record<string, number | string | boolean>;
127
123
  disabled: boolean;
124
+ modelValue: string;
128
125
  placeholder: string;
129
126
  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>;
@@ -150,29 +150,29 @@ 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;
155
154
  read: (ids: string[]) => any;
155
+ itemClick: (message: NotificationMessage) => any;
156
156
  allRead: (category?: NotificationCategory | undefined) => any;
157
157
  unreadChange: (count: number) => any;
158
158
  wsStatusChange: (status: string) => any;
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;
164
163
  onRead?: ((ids: string[]) => any) | undefined;
164
+ onItemClick?: ((message: NotificationMessage) => any) | undefined;
165
165
  onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
166
166
  onUnreadChange?: ((count: number) => any) | undefined;
167
167
  onWsStatusChange?: ((status: string) => any) | undefined;
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
@@ -196,30 +196,30 @@ type __VLS_Slots = {} & {
196
196
  area?: (props: typeof __VLS_11) => any;
197
197
  };
198
198
  declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
199
+ success: (file: UploadFileItem, response: any) => any;
199
200
  change: (fileList: UploadFileItem[]) => any;
200
201
  error: (file: UploadFileItem, error: Error) => any;
201
- success: (file: UploadFileItem, response: any) => 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
+ onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
207
208
  onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
208
209
  onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
209
- onSuccess?: ((file: UploadFileItem, response: any) => 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
+ data: Record<string, any>;
217
+ maxSize: number;
218
+ multiple: boolean;
217
219
  action: string;
218
220
  headers: Record<string, string>;
219
- multiple: boolean;
220
221
  directory: boolean;
221
222
  accept: string;
222
- maxSize: number;
223
223
  maxCount: number;
224
224
  draggable: boolean;
225
225
  pasteable: boolean;
@@ -260,10 +260,10 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
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
262
  ended: () => any;
263
+ error: (error: Error) => any;
263
264
  ready: () => 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;
@@ -273,10 +273,10 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
273
273
  progressUpdate: (data: ProgressData) => any;
274
274
  }, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
275
275
  onEnded?: (() => any) | undefined;
276
+ onError?: ((error: Error) => any) | undefined;
276
277
  onReady?: (() => 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,11 +23,11 @@ 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];
27
+ zoom: number;
28
28
  markers: MapMarker$1[];
29
- amapKey: string;
30
29
  mapType: "osm" | "amap";
30
+ amapKey: string;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  //#endregion
@@ -63,10 +63,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
63
63
  "onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
64
64
  "onAction-click"?: ((action: ActionItem) => any) | undefined;
65
65
  }>, {
66
+ config: ActionBarConfig;
66
67
  actions: ActionItem[];
67
68
  leftActions: ActionItem[];
68
69
  rightActions: ActionItem[];
69
- config: ActionBarConfig;
70
70
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
71
71
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
72
72
  declare const _default: typeof __VLS_export;
@@ -62,26 +62,26 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
62
62
  visible: vue.ComputedRef<boolean>;
63
63
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
64
64
  select: (item: ContextMenuItem) => any;
65
- close: () => any;
66
65
  open: (position: {
67
66
  x: number;
68
67
  y: number;
69
68
  }) => any;
69
+ close: () => any;
70
70
  }, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
71
71
  onSelect?: ((item: ContextMenuItem) => any) | undefined;
72
- onClose?: (() => any) | undefined;
73
72
  onOpen?: ((position: {
74
73
  x: number;
75
74
  y: number;
76
75
  }) => any) | undefined;
76
+ onClose?: (() => any) | undefined;
77
77
  }>, {
78
- items: ContextMenuItem[];
79
78
  disabled: boolean;
80
- zIndex: number;
79
+ items: ContextMenuItem[];
81
80
  minWidth: number;
82
81
  maxWidth: number;
83
82
  subMenuPlacement: "right" | "left";
84
83
  autoClose: boolean;
84
+ zIndex: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const _default: typeof __VLS_export;
87
87
  //#endregion
@@ -38,8 +38,8 @@ 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;
42
+ mode: DatePickerMode;
43
43
  placeholder: string;
44
44
  startPlaceholder: string;
45
45
  endPlaceholder: string;
@@ -28,12 +28,12 @@ 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
+ disabled: boolean;
31
32
  theme: "light" | "dark";
32
33
  modelValue: string;
33
- disabled: boolean;
34
34
  placeholder: string;
35
- height: number;
36
35
  readonly: boolean;
36
+ height: number;
37
37
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
38
38
  declare const _default: typeof __VLS_export;
39
39
  //#endregion
@@ -89,8 +89,8 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
89
89
  onComplete?: (() => any) | undefined;
90
90
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
91
91
  }>, {
92
- keyboard: boolean;
93
92
  steps: GuideStep[];
93
+ keyboard: boolean;
94
94
  doneBtnText: string;
95
95
  nextBtnText: string;
96
96
  prevBtnText: string;
@@ -41,29 +41,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
41
41
  errorMessage: Readonly<vue.Ref<string, string>>; /** DOM引用 */
42
42
  el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- click: (event: MouseEvent) => any;
45
44
  error: (type: string, error?: any) => any;
45
+ click: (event: MouseEvent) => any;
46
46
  load: () => any;
47
47
  }, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
48
- onClick?: ((event: MouseEvent) => any) | undefined;
49
48
  onError?: ((type: string, error?: any) => any) | undefined;
49
+ onClick?: ((event: MouseEvent) => 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
- name: string | any;
58
55
  color: string;
56
+ name: string | any;
57
+ rotate: number;
58
+ clickable: boolean;
59
+ loading: boolean;
60
+ flip: "horizontal" | "vertical" | "both";
59
61
  svgPath: string;
60
62
  viewBox: string;
61
63
  alt: string;
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;
@@ -12,11 +12,11 @@ type __VLS_Props = {
12
12
  tooltip?: string;
13
13
  };
14
14
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
15
- "update:modelValue": (key: string) => any;
16
15
  change: (key: string) => any;
16
+ "update:modelValue": (key: string) => any;
17
17
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
18
- "onUpdate:modelValue"?: ((key: string) => any) | undefined;
19
18
  onChange?: ((key: string) => any) | undefined;
19
+ "onUpdate:modelValue"?: ((key: string) => any) | undefined;
20
20
  }>, {
21
21
  modelValue: string;
22
22
  options: LanguageOption[];
@@ -99,9 +99,9 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
99
99
  "onRegister-submit"?: ((data: RegisterFormData) => any) | undefined;
100
100
  "onRegister-send-code"?: ((phone: string) => any) | undefined;
101
101
  }>, {
102
+ storageKey: string;
102
103
  title: string;
103
104
  loading: boolean;
104
- storageKey: string;
105
105
  defaultUsername: string;
106
106
  defaultPassword: string;
107
107
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -38,8 +38,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
38
38
  insertText: (text: string) => void;
39
39
  wordCount: vue.ComputedRef<number>;
40
40
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
41
- "update:modelValue": (value: string) => any;
42
41
  change: (text: string, html: string) => any;
42
+ "update:modelValue": (value: string) => any;
43
43
  save: (text: string, html: string) => any;
44
44
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
45
45
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -48,8 +48,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
48
48
  "auto-save": (text: string) => any;
49
49
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
50
50
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
51
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
52
51
  onChange?: ((text: string, html: string) => any) | undefined;
52
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
53
53
  onSave?: ((text: string, html: string) => any) | undefined;
54
54
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
55
55
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -58,13 +58,12 @@ 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
+ disabled: boolean;
61
62
  mode: "edit" | "editable" | "preview";
62
63
  modelValue: string;
63
- disabled: boolean;
64
64
  placeholder: string;
65
65
  height: string | number;
66
66
  isDark: boolean;
67
- autoSave: boolean;
68
67
  tocNavPosition: "left" | "right";
69
68
  defaultFullscreen: boolean;
70
69
  autofocus: boolean;
@@ -73,6 +72,7 @@ declare const __VLS_export: vue.DefineComponent<Props, {
73
72
  rightToolbar: string;
74
73
  maxLength: number;
75
74
  showWordCount: boolean;
75
+ autoSave: boolean;
76
76
  autoSaveInterval: number;
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const _default: typeof __VLS_export;
@@ -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
+ theme: "default" | "minimal";
73
74
  initialIndex: number;
74
75
  showPlaylist: boolean;
75
76
  showCover: boolean;
76
77
  autoplay: boolean;
77
78
  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
@@ -77,9 +77,10 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
77
77
  "onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
78
78
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
79
79
  }>, {
80
+ lineColor: string;
80
81
  direction: OrgChartDirection;
82
+ collapsible: boolean;
81
83
  lineStyle: OrgChartLineStyle;
82
- lineColor: string;
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;
@@ -34,13 +34,13 @@ 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
- status: "default" | "success" | "error" | "warning" | "info";
39
- strokeWidth: number;
40
37
  percentage: number | number[];
41
38
  isAnimation: boolean;
39
+ time: number;
42
40
  indicatorPlacement: "inside" | "outside";
43
41
  showIndicator: boolean;
42
+ status: "default" | "success" | "error" | "warning" | "info";
43
+ strokeWidth: number;
44
44
  unit: string;
45
45
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
46
46
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -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;
89
+ borderRadius: string;
90
90
  repeat: number;
91
+ loading: boolean;
91
92
  preset: SkeletonPreset;
92
93
  animation: SkeletonAnimation;
93
- borderRadius: string;
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;
@@ -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
- connected: boolean;
30
28
  current: number;
29
+ clickable: boolean;
30
+ connected: boolean;
31
31
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  //#endregion
@@ -76,10 +76,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
76
76
  onClose?: ((fallbackPath: string) => any) | undefined;
77
77
  onCloseAll?: (() => any) | undefined;
78
78
  }>, {
79
+ persistKey: string;
79
80
  homePath: string;
80
81
  homeTitle: string;
81
82
  homeIcon: string;
82
- persistKey: string;
83
83
  contextMenuLabels: ContextMenuLabels;
84
84
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
@@ -84,16 +84,16 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
84
84
  /** 展开全部 */expandAll: () => void; /** 折叠全部 */
85
85
  collapseAll: () => void;
86
86
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
87
- "item-click": (item: TimelineItem, index: number) => any;
88
87
  expand: (item: TimelineItem, expanded: boolean) => any;
88
+ "item-click": (item: TimelineItem, index: number) => any;
89
89
  }, string, vue.PublicProps, Readonly<TimelineProps> & Readonly<{
90
- "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
91
90
  onExpand?: ((item: TimelineItem, expanded: boolean) => any) | undefined;
91
+ "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
- items: TimelineItem[];
94
- size: "small" | "medium" | "large";
95
93
  reverse: boolean;
96
94
  mode: "vertical" | "horizontal";
95
+ size: "small" | "medium" | "large";
96
+ items: TimelineItem[];
97
97
  labelPlacement: "left" | "right" | "alternate";
98
98
  pending: boolean;
99
99
  pendingText: string;
@@ -61,15 +61,15 @@ type __VLS_Props = {
61
61
  size?: TransferProps['size'];
62
62
  };
63
63
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
64
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
64
65
  "update:modelValue": (value: (string | number)[]) => any;
65
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
67
68
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
68
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
- size: "small" | "medium" | "large";
71
- titles: [string, string];
70
+ size: "medium" | "small" | "large";
72
71
  filterable: boolean;
72
+ titles: [string, string];
73
73
  filterPlaceholder: string;
74
74
  showSelectAll: boolean;
75
75
  sourceEmptyText: string;
@@ -650,10 +650,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
650
650
  theme: "light" | "dark";
651
651
  data: GanttTask[];
652
652
  height: string | number;
653
- title: string;
654
653
  options: GanttOptions;
655
- preset: GanttPreset;
654
+ title: string;
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;
@@ -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
- max: number;
76
75
  size: number;
76
+ direction: "ltr" | "rtl";
77
+ clickable: boolean;
77
78
  overlap: number;
79
+ max: number;
78
80
  shape: "circle" | "square";
79
81
  showStatus: boolean;
80
82
  showTooltip: boolean;
81
- 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
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
+ label: string;
23
24
  height: number;
25
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
24
26
  width: number;
25
- label: string;
27
+ showText: boolean;
28
+ fontSize: number;
29
+ textPosition: "bottom" | "top";
26
30
  lineColor: string;
27
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
+ background: string;
28
32
  showBorder: boolean;
29
33
  showLabel: boolean;
30
- fontSize: number;
31
- background: string;
32
- showText: boolean;
33
- textPosition: "bottom" | "top";
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  //#endregion
@@ -18,26 +18,26 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
18
18
  reset: () => void;
19
19
  show: () => void;
20
20
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
21
- change: (valid: boolean) => any;
22
- reset: () => any;
23
21
  success: (data: {
24
22
  token: string;
25
23
  timestamp: number;
26
24
  }) => any;
27
25
  fail: (error: string) => any;
26
+ change: (valid: boolean) => any;
27
+ reset: () => any;
28
28
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
29
- onChange?: ((valid: boolean) => any) | undefined;
30
- onReset?: (() => any) | undefined;
31
29
  onSuccess?: ((data: {
32
30
  token: string;
33
31
  timestamp: number;
34
32
  }) => any) | undefined;
35
33
  onFail?: ((error: string) => any) | undefined;
34
+ onChange?: ((valid: boolean) => any) | undefined;
35
+ onReset?: (() => any) | undefined;
36
36
  }>, {
37
- theme: "light" | "dark";
38
- disabled: boolean;
39
37
  triggerText: string;
40
38
  images: string[];
39
+ disabled: boolean;
40
+ theme: "light" | "dark";
41
41
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
42
42
  declare const _default: typeof __VLS_export;
43
43
  //#endregion
@@ -17,11 +17,11 @@ type __VLS_Props = {
17
17
  modelValue?: CascadeValue;
18
18
  };
19
19
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
20
- "update:modelValue": (value: CascadeValue) => any;
21
20
  change: (value: CascadeValue) => any;
21
+ "update:modelValue": (value: CascadeValue) => any;
22
22
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
23
- "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
24
23
  onChange?: ((value: CascadeValue) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
25
25
  }>, {
26
26
  placeholders: string[];
27
27
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -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;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- "update:modelValue": (value: string) => any;
18
17
  change: (value: string) => any;
18
+ "update:modelValue": (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
20
  onChange?: ((value: string) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -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] ::-webkit-scrollbar{width:6px;height:6px}[data-design-style=glass-morphism] ::-webkit-scrollbar-thumb{background:rgba(0,0,0,.12);border-radius:3px}[data-design-style=glass-morphism] ::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.2)}[data-design-style=glass-morphism] ::-webkit-scrollbar-track{background:rgba(0,0,0,0)}[data-design-style=glass-morphism][data-theme=dark] ::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.12)}[data-design-style=glass-morphism][data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:hsla(0,0%,100%,.2)}
@@ -66,9 +66,9 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
66
66
  }) => any) | undefined;
67
67
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
68
68
  }>, {
69
+ initialView: CalendarViewType;
69
70
  editable: boolean;
70
71
  events: CalendarEvent[];
71
- initialView: CalendarViewType;
72
72
  showAddDialog: boolean;
73
73
  showEditDialog: boolean;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -71,22 +71,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
71
71
  type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
72
72
  declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
73
73
  change: (activeKeys: string[]) => any;
74
- expand: (key: string) => any;
75
74
  collapse: (key: string) => any;
75
+ expand: (key: string) => any;
76
76
  "update:activeKeys": (keys: string[]) => any;
77
77
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
78
78
  onChange?: ((activeKeys: string[]) => any) | undefined;
79
- onExpand?: ((key: string) => any) | undefined;
80
79
  onCollapse?: ((key: string) => any) | undefined;
80
+ onExpand?: ((key: string) => any) | undefined;
81
81
  "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
82
82
  }>, {
83
- persistKey: string;
84
83
  bordered: boolean;
85
84
  activeKeys: string[];
86
85
  defaultActiveKeys: string[];
87
86
  accordion: boolean;
88
87
  variant: CollapsePanelVariant;
89
88
  expandIconPosition: ExpandIconPosition;
89
+ persistKey: string;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
92
92
  declare const _default: typeof __VLS_export;
@@ -51,27 +51,27 @@ interface ImageCropperEmits {
51
51
  //#endregion
52
52
  //#region src/components/C_ImageCropper/index.vue.d.ts
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
- ready: () => any;
55
54
  error: (error: Event) => any;
55
+ ready: () => any;
56
56
  crop: (result: any) => any;
57
57
  confirm: (result: any) => any;
58
58
  cancel: () => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
- onReady?: (() => any) | undefined;
61
60
  onError?: ((error: Event) => any) | undefined;
61
+ onReady?: (() => any) | undefined;
62
62
  onCrop?: ((result: any) => any) | undefined;
63
63
  onConfirm?: ((result: any) => any) | undefined;
64
64
  onCancel?: (() => any) | undefined;
65
65
  }>, {
66
66
  disabled: boolean;
67
67
  height: string | number;
68
- showPreview: boolean;
69
68
  src: string;
70
69
  aspectRatio: number;
71
70
  outputFormat: CropOutputFormat;
72
71
  outputQuality: number;
73
72
  maxOutputWidth: number;
74
73
  maxOutputHeight: number;
74
+ showPreview: boolean;
75
75
  showToolbar: boolean;
76
76
  circular: boolean;
77
77
  modal: boolean;
@@ -116,13 +116,13 @@ 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";
119
+ disabled: boolean;
120
120
  sort: boolean;
121
121
  modelValue: DraggableItem[];
122
- disabled: boolean;
123
122
  emptyText: string;
124
- animation: number;
123
+ direction: "vertical" | "horizontal";
125
124
  delay: number;
125
+ animation: number;
126
126
  layout: LayoutMode;
127
127
  itemClass: string;
128
128
  group: string | GroupOptions;
@@ -1362,10 +1362,8 @@ 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;
1368
- readonly key?: string | undefined;
1369
1367
  readonly options?: {
1370
1368
  readonly suppressWarning?: boolean | undefined;
1371
1369
  readonly suppressValidatorError?: boolean | undefined;
@@ -1421,10 +1419,13 @@ declare const useDynamicFormState: () => {
1421
1419
  readonly keys?: readonly string[] | undefined;
1422
1420
  readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
1423
1421
  } | undefined;
1422
+ readonly key?: string | undefined;
1423
+ readonly level?: "warning" | "error" | undefined;
1424
1424
  readonly trigger?: string | readonly string[] | undefined;
1425
- readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1426
1425
  readonly pattern?: (RegExp | string) | undefined;
1426
+ readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
1427
1427
  readonly min?: number | undefined;
1428
+ readonly max?: number | undefined;
1428
1429
  readonly len?: number | undefined;
1429
1430
  readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
1430
1431
  readonly whitespace?: boolean | 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,10 +3645,8 @@ 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;
3651
- readonly key?: string | undefined;
3652
3650
  readonly options?: {
3653
3651
  readonly suppressWarning?: boolean | undefined;
3654
3652
  readonly suppressValidatorError?: boolean | undefined;
@@ -3704,10 +3702,13 @@ declare const useDynamicFormState: () => {
3704
3702
  readonly keys?: readonly string[] | undefined;
3705
3703
  readonly error?: ((rule: InternalRuleItem, message: string) => ValidateError) | undefined;
3706
3704
  } | undefined;
3705
+ readonly key?: string | undefined;
3706
+ readonly level?: "warning" | "error" | undefined;
3707
3707
  readonly trigger?: string | readonly string[] | undefined;
3708
- readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3709
3708
  readonly pattern?: (RegExp | string) | undefined;
3709
+ readonly asyncValidator?: naive_ui_es_form_src_interface0.FormItemRuleAsyncValidator | undefined;
3710
3710
  readonly min?: number | undefined;
3711
+ readonly max?: number | undefined;
3711
3712
  readonly len?: number | undefined;
3712
3713
  readonly enum?: readonly (string | number | boolean | null | undefined)[] | undefined;
3713
3714
  readonly whitespace?: boolean | 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
  }[];
@@ -260,10 +260,10 @@ declare const __VLS_export: vue.DefineComponent<Props, {
260
260
  "onData-change"?: ((data: DiagramData) => any) | undefined;
261
261
  }>, {
262
262
  theme: "light" | "dark";
263
+ readonly: boolean;
263
264
  height: string | number;
264
265
  width: string | number;
265
266
  showToolbar: boolean;
266
- readonly: boolean;
267
267
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
268
268
  declare const _default: typeof __VLS_export;
269
269
  //#endregion
@@ -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,19 +79,19 @@ 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
+ columns: number;
92
93
  loading: boolean;
93
94
  animationDuration: number;
94
- columns: number;
95
95
  gap: number;
96
96
  infinite: boolean;
97
97
  lazy: boolean;
@@ -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;
55
54
  label: string;
55
+ size: number;
56
+ showBorder: boolean;
57
+ showLabel: boolean;
56
58
  color: string;
59
+ margin: number;
57
60
  bgColor: string;
58
61
  errorCorrectionLevel: ErrorCorrectionLevel;
59
- 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
@@ -108,10 +108,10 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
108
108
  onRedo?: (() => any) | undefined;
109
109
  }>, {
110
110
  disabled: boolean;
111
+ readonly: boolean;
111
112
  height: number | string;
112
113
  width: number | string;
113
114
  showToolbar: boolean;
114
- readonly: boolean;
115
115
  maxHistory: number;
116
116
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
117
117
  declare const _default: typeof __VLS_export;
@@ -66,27 +66,27 @@ 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
- expand: (target: CollapseTarget) => any;
70
69
  resize: (firstSize: number, secondSize: number) => any;
71
70
  collapse: (target: CollapseTarget) => any;
71
+ expand: (target: CollapseTarget) => any;
72
72
  "drag-start": (size: number) => any;
73
73
  "drag-end": (size: number) => any;
74
74
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
75
- onExpand?: ((target: CollapseTarget) => any) | undefined;
76
75
  onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
77
76
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
77
+ onExpand?: ((target: CollapseTarget) => any) | undefined;
78
78
  "onDrag-start"?: ((size: number) => any) | undefined;
79
79
  "onDrag-end"?: ((size: number) => any) | undefined;
80
80
  }>, {
81
- direction: SplitDirection;
82
81
  disabled: boolean;
83
- step: number;
84
- collapsible: boolean;
85
- maxSize: number;
86
82
  defaultSize: number;
83
+ direction: SplitDirection;
87
84
  minSize: number;
85
+ maxSize: number;
86
+ collapsible: boolean;
88
87
  showCollapseButton: boolean;
89
88
  gutterSize: number;
89
+ step: number;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
92
92
  declare const _default: typeof __VLS_export;
@@ -50,9 +50,9 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
50
50
  }>, {
51
51
  mode: TimeMode;
52
52
  placeholder: string;
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
+ showToolbar: boolean;
107
107
  labelField: string;
108
- keyField: string;
109
108
  childrenField: string;
110
- showToolbar: boolean;
109
+ keyField: string;
111
110
  draggable: boolean;
111
+ actions: ActionConfig[];
112
112
  searchPattern: string;
113
113
  searchable: boolean;
114
114
  searchPlaceholder: string;
@@ -237,18 +237,18 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
237
237
  conditionNodes: number;
238
238
  }>;
239
239
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
240
- "update:modelValue": (value: WorkflowData) => any;
241
240
  change: (value: WorkflowData) => any;
242
- "node-click": (node: WorkflowNode) => any;
241
+ "update:modelValue": (value: WorkflowData) => any;
243
242
  "validate-error": (errors: ValidationError[]) => any;
244
243
  save: (data: WorkflowData) => any;
244
+ "node-click": (node: WorkflowNode) => any;
245
245
  "edge-click": (edge: WorkflowEdge) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
- "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
247
  onChange?: ((value: WorkflowData) => any) | undefined;
249
- "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
248
+ "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
250
249
  "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
251
250
  onSave?: ((data: WorkflowData) => any) | undefined;
251
+ "onNode-click"?: ((node: WorkflowNode) => 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.8.2",
6
+ "version": "0.9.0",
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",