@robot-admin/naive-ui-components 0.12.1 → 0.13.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 (255) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +27 -1
  3. package/README_EN.md +26 -0
  4. package/dist/C_ActionBar.css +60 -60
  5. package/dist/C_ActionBar2.cjs +1 -1
  6. package/dist/C_ActionBar2.js +1 -1
  7. package/dist/C_AntV.css +49 -49
  8. package/dist/C_AntV2.cjs +3 -3
  9. package/dist/C_AntV2.js +3 -3
  10. package/dist/C_AudioPlayer.css +81 -66
  11. package/dist/C_AudioPlayer2.cjs +1 -1
  12. package/dist/C_AudioPlayer2.js +1 -1
  13. package/dist/C_AvatarGroup.css +40 -25
  14. package/dist/C_AvatarGroup2.cjs +1 -1
  15. package/dist/C_AvatarGroup2.js +1 -1
  16. package/dist/C_Barcode.css +6 -6
  17. package/dist/C_Barcode2.cjs +1 -1
  18. package/dist/C_Barcode2.js +1 -1
  19. package/dist/C_Breadcrumb.css +14 -14
  20. package/dist/C_Breadcrumb2.cjs +1 -1
  21. package/dist/C_Breadcrumb2.js +1 -1
  22. package/dist/C_Captcha.css +50 -50
  23. package/dist/C_Captcha2.cjs +1 -1
  24. package/dist/C_Captcha2.js +1 -1
  25. package/dist/C_Cascade.css +2 -2
  26. package/dist/C_Cascade2.cjs +1 -1
  27. package/dist/C_Cascade2.js +1 -1
  28. package/dist/C_Chat.css +96 -78
  29. package/dist/C_Chat2.cjs +1 -1
  30. package/dist/C_Chat2.js +1 -1
  31. package/dist/C_City.css +52 -28
  32. package/dist/C_City2.cjs +1 -1
  33. package/dist/C_City2.js +1 -1
  34. package/dist/C_Code.css +48 -42
  35. package/dist/C_Code2.cjs +1 -1
  36. package/dist/C_Code2.js +1 -1
  37. package/dist/C_CollapsePanel.css +14 -14
  38. package/dist/C_CollapsePanel2.cjs +1 -1
  39. package/dist/C_CollapsePanel2.js +1 -1
  40. package/dist/C_ContextMenu.css +14 -14
  41. package/dist/C_ContextMenu2.cjs +1 -1
  42. package/dist/C_ContextMenu2.js +1 -1
  43. package/dist/C_Cron.css +94 -55
  44. package/dist/C_Cron2.cjs +1 -1
  45. package/dist/C_Cron2.js +1 -1
  46. package/dist/C_Date2.cjs +1 -1
  47. package/dist/C_Date2.js +1 -1
  48. package/dist/C_Draggable.css +48 -48
  49. package/dist/C_Draggable2.cjs +1 -1
  50. package/dist/C_Draggable2.js +1 -1
  51. package/dist/C_Editor.css +13 -14
  52. package/dist/C_Editor2.cjs +1 -1
  53. package/dist/C_Editor2.js +1 -1
  54. package/dist/C_FilePreview.css +18 -18
  55. package/dist/C_FilePreview2.cjs +1 -1
  56. package/dist/C_FilePreview2.js +1 -1
  57. package/dist/C_Form.base.css +36 -36
  58. package/dist/C_Form.css +49 -50
  59. package/dist/C_Form2.cjs +1 -1
  60. package/dist/C_Form2.js +1 -1
  61. package/dist/C_FormModal.css +8 -8
  62. package/dist/C_FormModal2.cjs +1 -1
  63. package/dist/C_FormModal2.js +1 -1
  64. package/dist/C_FormSearch.css +45 -45
  65. package/dist/C_FormSearch2.cjs +1 -1
  66. package/dist/C_FormSearch2.js +1 -1
  67. package/dist/C_FormulaEditor.css +94 -55
  68. package/dist/C_FormulaEditor2.cjs +2 -2
  69. package/dist/C_FormulaEditor2.js +2 -2
  70. package/dist/C_FullCalendar.css +8 -1
  71. package/dist/C_FullCalendar2.cjs +1 -1
  72. package/dist/C_FullCalendar2.js +1 -1
  73. package/dist/C_GlobalSearch2.cjs +1 -1
  74. package/dist/C_GlobalSearch2.js +1 -1
  75. package/dist/C_Guide.css +14 -14
  76. package/dist/C_Guide2.cjs +1 -1
  77. package/dist/C_Guide2.js +1 -1
  78. package/dist/C_Icon.css +14 -14
  79. package/dist/C_Icon2.cjs +1 -1
  80. package/dist/C_Icon2.js +1 -1
  81. package/dist/C_ImageCropper.css +22 -22
  82. package/dist/C_ImageCropper2.cjs +1 -1
  83. package/dist/C_ImageCropper2.js +1 -1
  84. package/dist/C_Language.css +14 -14
  85. package/dist/C_Language2.cjs +1 -1
  86. package/dist/C_Language2.js +1 -1
  87. package/dist/C_Login.css +134 -134
  88. package/dist/C_Login2.cjs +1 -1
  89. package/dist/C_Login2.js +1 -1
  90. package/dist/C_Map.css +3 -3
  91. package/dist/C_Map2.cjs +1 -1
  92. package/dist/C_Map2.js +1 -1
  93. package/dist/C_Markdown.css +35 -35
  94. package/dist/C_Markdown2.cjs +1 -1
  95. package/dist/C_Markdown2.js +1 -1
  96. package/dist/C_Menu2.cjs +1 -1
  97. package/dist/C_Menu2.js +1 -1
  98. package/dist/C_NotificationCenter.css +30 -30
  99. package/dist/C_NotificationCenter2.cjs +1 -1
  100. package/dist/C_NotificationCenter2.js +1 -1
  101. package/dist/C_OrgChart.css +4 -0
  102. package/dist/C_OrgChart2.cjs +1 -1
  103. package/dist/C_OrgChart2.js +1 -1
  104. package/dist/C_Progress2.cjs +1 -1
  105. package/dist/C_Progress2.js +1 -1
  106. package/dist/C_QRCode.css +8 -8
  107. package/dist/C_QRCode2.cjs +1 -1
  108. package/dist/C_QRCode2.js +1 -1
  109. package/dist/C_Signature.css +14 -14
  110. package/dist/C_Signature2.cjs +1 -1
  111. package/dist/C_Signature2.js +1 -1
  112. package/dist/C_Skeleton2.cjs +1 -1
  113. package/dist/C_Skeleton2.js +1 -1
  114. package/dist/C_SplitPane.css +39 -39
  115. package/dist/C_SplitPane2.cjs +1 -1
  116. package/dist/C_SplitPane2.js +1 -1
  117. package/dist/C_Steps.css +48 -38
  118. package/dist/C_Steps2.cjs +1 -1
  119. package/dist/C_Steps2.js +1 -1
  120. package/dist/C_Table.base.css +160 -160
  121. package/dist/C_Table.css +173 -174
  122. package/dist/C_TagsView.css +52 -52
  123. package/dist/C_TagsView2.cjs +1 -1
  124. package/dist/C_TagsView2.js +1 -1
  125. package/dist/C_Theme.css +14 -14
  126. package/dist/C_Theme2.cjs +1 -1
  127. package/dist/C_Theme2.js +1 -1
  128. package/dist/C_Time.css +4 -4
  129. package/dist/C_Time2.cjs +1 -1
  130. package/dist/C_Time2.js +1 -1
  131. package/dist/C_Timeline.css +76 -58
  132. package/dist/C_Timeline2.cjs +1 -1
  133. package/dist/C_Timeline2.js +1 -1
  134. package/dist/C_Transfer.css +51 -51
  135. package/dist/C_Transfer2.cjs +1 -1
  136. package/dist/C_Transfer2.js +1 -1
  137. package/dist/C_Tree.css +35 -32
  138. package/dist/C_Tree2.cjs +1 -1
  139. package/dist/C_Tree2.js +1 -1
  140. package/dist/C_Upload.css +53 -50
  141. package/dist/C_Upload2.cjs +1 -1
  142. package/dist/C_Upload2.js +1 -1
  143. package/dist/C_VideoPlayer.css +17 -13
  144. package/dist/C_VideoPlayer2.cjs +2 -2
  145. package/dist/C_VideoPlayer2.js +2 -2
  146. package/dist/C_VtableGantt.css +19 -19
  147. package/dist/C_VtableGantt2.cjs +1 -1
  148. package/dist/C_VtableGantt2.js +1 -1
  149. package/dist/C_WaterFall.css +19 -15
  150. package/dist/C_WaterFall2.cjs +1 -1
  151. package/dist/C_WaterFall2.js +1 -1
  152. package/dist/C_WorkFlow.css +123 -123
  153. package/dist/C_WorkFlow2.cjs +1 -1
  154. package/dist/C_WorkFlow2.js +1 -1
  155. package/dist/constants.d.cts +4 -4
  156. package/dist/constants.d.ts +4 -4
  157. package/dist/constants2.d.cts +4 -4
  158. package/dist/constants2.d.ts +4 -4
  159. package/dist/constants3.d.cts +9 -5
  160. package/dist/constants3.d.ts +9 -5
  161. package/dist/constants4.d.cts +5 -5
  162. package/dist/constants4.d.ts +5 -5
  163. package/dist/constants5.d.cts +2 -2
  164. package/dist/constants5.d.ts +2 -2
  165. package/dist/data.d.cts +15 -15
  166. package/dist/data.d.ts +15 -15
  167. package/dist/data2.cjs +1 -1
  168. package/dist/data2.js +1 -1
  169. package/dist/index.cjs +1 -1
  170. package/dist/index.d.cts +0 -1
  171. package/dist/index.js +1 -1
  172. package/dist/index.vue.d.cts +2 -0
  173. package/dist/index.vue.d.ts +2 -0
  174. package/dist/index10.vue.d.cts +1 -1
  175. package/dist/index10.vue.d.ts +3 -3
  176. package/dist/index11.vue.d.cts +3 -3
  177. package/dist/index11.vue.d.ts +3 -3
  178. package/dist/index12.vue.d.cts +3 -3
  179. package/dist/index13.vue.d.ts +2 -2
  180. package/dist/index14.vue.d.cts +2 -2
  181. package/dist/index14.vue.d.ts +14 -47
  182. package/dist/index15.vue.d.cts +14 -47
  183. package/dist/index15.vue.d.ts +2 -2
  184. package/dist/index16.vue.d.cts +2 -2
  185. package/dist/index17.vue.d.ts +5 -5
  186. package/dist/index18.vue.d.cts +5 -5
  187. package/dist/index18.vue.d.ts +2 -2
  188. package/dist/index19.vue.d.cts +1 -1
  189. package/dist/index19.vue.d.ts +1 -1
  190. package/dist/index2.vue.d.cts +2 -2
  191. package/dist/index2.vue.d.ts +2 -2
  192. package/dist/index20.vue.d.cts +2 -2
  193. package/dist/index20.vue.d.ts +2 -2
  194. package/dist/index21.vue.d.cts +2 -2
  195. package/dist/index21.vue.d.ts +2 -2
  196. package/dist/index22.vue.d.cts +2 -2
  197. package/dist/index22.vue.d.ts +2 -2
  198. package/dist/index24.vue.d.cts +3 -3
  199. package/dist/index24.vue.d.ts +3 -3
  200. package/dist/index25.vue.d.cts +1 -1
  201. package/dist/index25.vue.d.ts +1 -1
  202. package/dist/index26.vue.d.cts +4 -4
  203. package/dist/index26.vue.d.ts +4 -4
  204. package/dist/index27.vue.d.cts +3 -3
  205. package/dist/index27.vue.d.ts +3 -3
  206. package/dist/index3.vue.d.cts +4 -4
  207. package/dist/index3.vue.d.ts +4 -4
  208. package/dist/index4.vue.d.cts +2 -2
  209. package/dist/index5.vue.d.ts +2 -2
  210. package/dist/index6.vue.d.cts +2 -2
  211. package/dist/index7.vue.d.ts +2 -2
  212. package/dist/index8.vue.d.cts +2 -2
  213. package/dist/index9.vue.d.ts +1 -1
  214. package/dist/mapUtils.d.cts +3 -3
  215. package/dist/mapUtils.d.ts +3 -3
  216. package/dist/presets.d.cts +1 -1
  217. package/dist/presets.d.ts +1 -1
  218. package/dist/style.css +1573 -1365
  219. package/dist/useCalendarEvents.d.cts +23 -18
  220. package/dist/useCalendarEvents.d.ts +23 -18
  221. package/dist/useCollapsePanel.d.cts +7 -6
  222. package/dist/useCollapsePanel.d.ts +7 -6
  223. package/dist/useCropperCore.d.cts +34 -19
  224. package/dist/useCropperCore.d.ts +34 -19
  225. package/dist/useDraggableLayout.d.cts +4 -4
  226. package/dist/useDraggableLayout.d.ts +4 -4
  227. package/dist/useDynamicFormState.d.cts +7 -2
  228. package/dist/useDynamicFormState.d.ts +7 -2
  229. package/dist/useEdgeInteraction.d.cts +19 -19
  230. package/dist/useEdgeInteraction.d.ts +19 -19
  231. package/dist/useFullscreen.d.cts +6 -6
  232. package/dist/useFullscreen.d.ts +6 -6
  233. package/dist/useInfiniteScroll.d.cts +4 -4
  234. package/dist/useInfiniteScroll.d.ts +4 -4
  235. package/dist/useQRCode.d.cts +5 -4
  236. package/dist/useQRCode.d.ts +5 -4
  237. package/dist/useSearchState.d.cts +9 -9
  238. package/dist/useSearchState.d.ts +9 -9
  239. package/dist/useSignatureHistory.d.cts +18 -10
  240. package/dist/useSignatureHistory.d.ts +18 -10
  241. package/dist/useSplitResize.d.cts +3 -3
  242. package/dist/useSplitResize.d.ts +3 -3
  243. package/dist/useTableQuery.cjs +3 -3
  244. package/dist/useTableQuery.d.cts +3 -6
  245. package/dist/useTableQuery.d.ts +3 -6
  246. package/dist/useTableQuery.js +3 -3
  247. package/dist/useTimeSelection.d.cts +8 -5
  248. package/dist/useTimeSelection.d.ts +8 -5
  249. package/dist/useTreeOperations.d.cts +8 -8
  250. package/dist/useTreeOperations.d.ts +8 -8
  251. package/dist/useWorkflowValidation.d.cts +10 -8
  252. package/dist/useWorkflowValidation.d.ts +10 -8
  253. package/dist/verification.d.cts +3 -3
  254. package/dist/verification.d.ts +3 -3
  255. package/package.json +4 -3
@@ -212,10 +212,10 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
212
212
  onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
213
213
  onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
214
214
  }>, {
215
- disabled: boolean;
216
215
  data: Record<string, unknown>;
217
- multiple: boolean;
216
+ disabled: boolean;
218
217
  draggable: boolean;
218
+ multiple: boolean;
219
219
  action: string;
220
220
  maxSize: number;
221
221
  headers: Record<string, string>;
@@ -345,7 +345,7 @@ declare function useDragDrop(containerRef: Ref<HTMLElement | undefined>, enabled
345
345
  declare function useFileHash(chunkSize: Ref<number>): {
346
346
  hashing: vue.ComputedRef<boolean>;
347
347
  hashProgress: Readonly<Ref<number, number>>;
348
- calculateHash: (file: File) => Promise<string>;
348
+ calculateHash: (file: File, onProgress?: (percent: number) => void) => Promise<string>;
349
349
  };
350
350
  //#endregion
351
351
  //#region src/components/C_Upload/composables/useChunkUpload.d.ts
@@ -359,7 +359,7 @@ interface UseChunkUploadOptions {
359
359
  /** 请求头 */
360
360
  headers: Ref<Record<string, string>>;
361
361
  /** 附加字段 */
362
- data: Ref<Record<string, any>>;
362
+ data: Ref<Record<string, unknown>>;
363
363
  /** 自定义上传函数 */
364
364
  customRequest?: Ref<CustomUploadRequest | undefined>;
365
365
  /** 已上传分片查询 */
@@ -379,7 +379,7 @@ declare function useChunkUpload(options: UseChunkUploadOptions): {
379
379
  file: File;
380
380
  hash: string;
381
381
  onProgress: (progress: ChunkProgress) => void;
382
- onSuccess: (response: any) => void;
382
+ onSuccess: (response: unknown) => void;
383
383
  onError: (error: Error) => void;
384
384
  isPaused: () => boolean;
385
385
  }) => Promise<void>;
@@ -212,10 +212,10 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
212
212
  onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
213
213
  onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
214
214
  }>, {
215
- disabled: boolean;
216
215
  data: Record<string, unknown>;
217
- multiple: boolean;
216
+ disabled: boolean;
218
217
  draggable: boolean;
218
+ multiple: boolean;
219
219
  action: string;
220
220
  maxSize: number;
221
221
  headers: Record<string, string>;
@@ -345,7 +345,7 @@ declare function useDragDrop(containerRef: Ref<HTMLElement | undefined>, enabled
345
345
  declare function useFileHash(chunkSize: Ref<number>): {
346
346
  hashing: vue.ComputedRef<boolean>;
347
347
  hashProgress: Readonly<Ref<number, number>>;
348
- calculateHash: (file: File) => Promise<string>;
348
+ calculateHash: (file: File, onProgress?: (percent: number) => void) => Promise<string>;
349
349
  };
350
350
  //#endregion
351
351
  //#region src/components/C_Upload/composables/useChunkUpload.d.ts
@@ -359,7 +359,7 @@ interface UseChunkUploadOptions {
359
359
  /** 请求头 */
360
360
  headers: Ref<Record<string, string>>;
361
361
  /** 附加字段 */
362
- data: Ref<Record<string, any>>;
362
+ data: Ref<Record<string, unknown>>;
363
363
  /** 自定义上传函数 */
364
364
  customRequest?: Ref<CustomUploadRequest | undefined>;
365
365
  /** 已上传分片查询 */
@@ -379,7 +379,7 @@ declare function useChunkUpload(options: UseChunkUploadOptions): {
379
379
  file: File;
380
380
  hash: string;
381
381
  onProgress: (progress: ChunkProgress) => void;
382
- onSuccess: (response: any) => void;
382
+ onSuccess: (response: unknown) => void;
383
383
  onError: (error: Error) => void;
384
384
  isPaused: () => boolean;
385
385
  }) => Promise<void>;
@@ -258,8 +258,8 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
258
258
  //#endregion
259
259
  //#region src/components/C_VideoPlayer/index.vue.d.ts
260
260
  declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
261
- error: (error: Error) => any;
262
261
  ended: () => any;
262
+ error: (error: Error) => any;
263
263
  ready: () => any;
264
264
  stateChange: (state: PlayerState) => any;
265
265
  timeUpdate: (currentTime: number, duration: number) => any;
@@ -271,8 +271,8 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
271
271
  chapterChange: (chapter: Chapter) => any;
272
272
  progressUpdate: (data: ProgressData) => any;
273
273
  }, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
274
- onError?: ((error: Error) => any) | undefined;
275
274
  onEnded?: (() => any) | undefined;
275
+ onError?: ((error: Error) => any) | undefined;
276
276
  onReady?: (() => any) | undefined;
277
277
  onStateChange?: ((state: PlayerState) => any) | undefined;
278
278
  onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
@@ -258,8 +258,8 @@ type PlayerInstance = InstanceType<typeof xgplayer.default>;
258
258
  //#endregion
259
259
  //#region src/components/C_VideoPlayer/index.vue.d.ts
260
260
  declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
261
- error: (error: Error) => any;
262
261
  ended: () => any;
262
+ error: (error: Error) => any;
263
263
  ready: () => any;
264
264
  stateChange: (state: PlayerState) => any;
265
265
  timeUpdate: (currentTime: number, duration: number) => any;
@@ -271,8 +271,8 @@ declare const __VLS_export: vue.DefineComponent<VideoPlayerProps, VideoPlayerExp
271
271
  chapterChange: (chapter: Chapter) => any;
272
272
  progressUpdate: (data: ProgressData) => any;
273
273
  }, string, vue.PublicProps, Readonly<VideoPlayerProps> & Readonly<{
274
- onError?: ((error: Error) => any) | undefined;
275
274
  onEnded?: (() => any) | undefined;
275
+ onError?: ((error: Error) => any) | undefined;
276
276
  onReady?: (() => any) | undefined;
277
277
  onStateChange?: ((state: PlayerState) => any) | undefined;
278
278
  onTimeUpdate?: ((currentTime: number, duration: number) => any) | undefined;
package/dist/data.d.cts CHANGED
@@ -47,45 +47,45 @@ interface CTabsEmits {
47
47
  }
48
48
  //#endregion
49
49
  //#region src/components/C_Tabs/index.vue.d.ts
50
- declare var __VLS_18: {
50
+ declare var __VLS_19: {
51
51
  item: TabsItem;
52
52
  active: boolean;
53
- }, __VLS_36: string, __VLS_37: {
53
+ }, __VLS_37: string, __VLS_38: {
54
54
  item: TabsItem;
55
55
  active: boolean;
56
- }, __VLS_44: {
56
+ }, __VLS_45: {
57
57
  item: TabsItem;
58
58
  active: boolean;
59
59
  };
60
- type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_36>]?: (props: typeof __VLS_37) => any } & {
61
- tab?: (props: typeof __VLS_18) => any;
60
+ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_37>]?: (props: typeof __VLS_38) => any } & {
61
+ tab?: (props: typeof __VLS_19) => any;
62
62
  } & {
63
- pane?: (props: typeof __VLS_44) => any;
63
+ pane?: (props: typeof __VLS_45) => any;
64
64
  };
65
65
  declare const __VLS_base: vue.DefineComponent<CTabsProps, {
66
66
  activeValue: vue.WritableComputedRef<TabsValue | null, TabsValue | null>;
67
67
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
68
- add: () => any;
69
- change: (value: TabsValue, item: TabsItem | undefined) => any;
70
68
  "update:modelValue": (value: TabsValue) => any;
69
+ change: (value: TabsValue, item: TabsItem | undefined) => any;
70
+ add: () => any;
71
71
  close: (value: TabsValue) => any;
72
72
  }, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
73
- onAdd?: (() => any) | undefined;
74
- onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
75
73
  "onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
74
+ onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
75
+ onAdd?: (() => any) | undefined;
76
76
  onClose?: ((value: TabsValue) => any) | undefined;
77
77
  }>, {
78
78
  type: TabsType;
79
- size: TabsSize;
80
- items: readonly TabsItem[];
81
79
  modelValue: TabsValue | null;
82
80
  animated: boolean;
81
+ size: TabsSize;
82
+ items: readonly TabsItem[];
83
+ addable: boolean;
84
+ closable: boolean;
85
+ defaultValue: TabsValue | null;
83
86
  placement: TabsPlacement;
84
87
  displayDirective: TabsDisplayDirective;
85
- defaultValue: TabsValue | null;
86
- closable: boolean;
87
88
  justifyContent: TabsJustifyContent;
88
- addable: boolean;
89
89
  tabsOnly: boolean;
90
90
  paneClass: string;
91
91
  paneStyle: string | vue.CSSProperties;
package/dist/data.d.ts CHANGED
@@ -47,45 +47,45 @@ interface CTabsEmits {
47
47
  }
48
48
  //#endregion
49
49
  //#region src/components/C_Tabs/index.vue.d.ts
50
- declare var __VLS_18: {
50
+ declare var __VLS_19: {
51
51
  item: TabsItem;
52
52
  active: boolean;
53
- }, __VLS_36: string, __VLS_37: {
53
+ }, __VLS_37: string, __VLS_38: {
54
54
  item: TabsItem;
55
55
  active: boolean;
56
- }, __VLS_44: {
56
+ }, __VLS_45: {
57
57
  item: TabsItem;
58
58
  active: boolean;
59
59
  };
60
- type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_36>]?: (props: typeof __VLS_37) => any } & {
61
- tab?: (props: typeof __VLS_18) => any;
60
+ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_37>]?: (props: typeof __VLS_38) => any } & {
61
+ tab?: (props: typeof __VLS_19) => any;
62
62
  } & {
63
- pane?: (props: typeof __VLS_44) => any;
63
+ pane?: (props: typeof __VLS_45) => any;
64
64
  };
65
65
  declare const __VLS_base: vue.DefineComponent<CTabsProps, {
66
66
  activeValue: vue.WritableComputedRef<TabsValue | null, TabsValue | null>;
67
67
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
68
- add: () => any;
69
- change: (value: TabsValue, item: TabsItem | undefined) => any;
70
68
  "update:modelValue": (value: TabsValue) => any;
69
+ change: (value: TabsValue, item: TabsItem | undefined) => any;
70
+ add: () => any;
71
71
  close: (value: TabsValue) => any;
72
72
  }, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
73
- onAdd?: (() => any) | undefined;
74
- onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
75
73
  "onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
74
+ onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
75
+ onAdd?: (() => any) | undefined;
76
76
  onClose?: ((value: TabsValue) => any) | undefined;
77
77
  }>, {
78
78
  type: TabsType;
79
- size: TabsSize;
80
- items: readonly TabsItem[];
81
79
  modelValue: TabsValue | null;
82
80
  animated: boolean;
81
+ size: TabsSize;
82
+ items: readonly TabsItem[];
83
+ addable: boolean;
84
+ closable: boolean;
85
+ defaultValue: TabsValue | null;
83
86
  placement: TabsPlacement;
84
87
  displayDirective: TabsDisplayDirective;
85
- defaultValue: TabsValue | null;
86
- closable: boolean;
87
88
  justifyContent: TabsJustifyContent;
88
- addable: boolean;
89
89
  tabsOnly: boolean;
90
90
  paneClass: string;
91
91
  paneStyle: string | vue.CSSProperties;
package/dist/data2.cjs CHANGED
@@ -1 +1 @@
1
- require(`./chunk.cjs`);const e=require(`./C_Icon2.cjs`),t=require(`./export-helper.cjs`);let n=require(`vue`),r=require(`naive-ui`);const i={key:1,class:`c-tabs__label`},a=(0,n.defineComponent)({name:`C_Tabs`,__name:`index`,props:{modelValue:{default:void 0},defaultValue:{default:void 0},items:{default:()=>[]},type:{default:`line`},size:{default:`small`},placement:{default:`top`},justifyContent:{default:`start`},animated:{type:Boolean,default:!0},closable:{type:Boolean,default:!1},addable:{type:Boolean,default:!1},tabsOnly:{type:Boolean,default:!1},displayDirective:{default:`show:lazy`},paneClass:{default:void 0},paneStyle:{default:void 0},beforeChange:{type:Function,default:void 0}},emits:[`update:modelValue`,`change`,`close`,`add`],setup(t,{expose:a,emit:o}){let s=t,c=o,l=(0,n.defineComponent)({name:`CTabsRenderNode`,props:{render:{type:Function,required:!0},item:{type:Object,required:!0}},setup(e){return()=>e.render(e.item)}}),u=()=>s.items.find(e=>!e.disabled)?.key??null,d=(0,n.ref)(s.defaultValue??u()),f=(0,n.computed)({get:()=>s.modelValue===void 0?d.value:s.modelValue,set:e=>{e!==null&&(s.modelValue===void 0&&(d.value=e),c(`update:modelValue`,e),c(`change`,e,s.items.find(t=>t.key===e)))}}),p=async(e,t)=>{if(!s.beforeChange)return!0;try{return await s.beforeChange(e,t??null)!==!1}catch{return!1}},m=e=>`pane-${String(e.key)}`;return(0,n.watch)(()=>s.modelValue,e=>{e!==void 0&&(d.value=e)}),(0,n.watch)(()=>s.items.map(e=>`${typeof e.key}:${String(e.key)}`).join(`|`),()=>{let e=f.value;if(e!==null&&s.items.some(t=>t.key===e))return;let t=s.defaultValue??u();t!==null&&(f.value=t)}),a({activeValue:f}),(a,o)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.NTabs),{value:f.value,"onUpdate:value":o[0]||=e=>f.value=e,class:(0,n.normalizeClass)([`c-tabs`,[`is-${t.type}`,{"is-tabs-only":t.tabsOnly}]]),type:t.type,size:t.size,placement:t.placement,"justify-content":t.justifyContent,animated:t.animated,closable:t.closable,addable:t.addable,"before-leave":p,onClose:o[1]||=e=>c(`close`,e),onAdd:o[2]||=e=>c(`add`)},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(t.items,o=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.NTabPane),{key:o.key,name:o.key,disabled:o.disabled,closable:o.closable,"display-directive":t.displayDirective,class:(0,n.normalizeClass)(t.paneClass),style:(0,n.normalizeStyle)(t.paneStyle)},{tab:(0,n.withCtx)(()=>[(0,n.renderSlot)(a.$slots,`tab`,{item:o,active:f.value===o.key},()=>[o.renderTab?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(l),{key:0,render:o.renderTab,item:o},null,8,[`render`,`item`])):((0,n.openBlock)(),(0,n.createElementBlock)(`span`,i,[o.icon?((0,n.openBlock)(),(0,n.createBlock)(e.t,{key:0,class:`c-tabs__icon`,name:o.icon,size:14},null,8,[`name`])):(0,n.createCommentVNode)(`v-if`,!0),(0,n.createElementVNode)(`span`,null,(0,n.toDisplayString)(o.label),1),o.badge===void 0?(0,n.createCommentVNode)(`v-if`,!0):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.NBadge),{key:1,class:`c-tabs__badge`,value:o.badge,type:o.badgeType||`info`},null,8,[`value`,`type`]))]))],!0)]),default:(0,n.withCtx)(()=>[t.tabsOnly?(0,n.createCommentVNode)(`v-if`,!0):(0,n.renderSlot)(a.$slots,m(o),{item:o,active:f.value===o.key},()=>[o.render?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(l),{key:0,render:o.render,item:o},null,8,[`render`,`item`])):(0,n.renderSlot)(a.$slots,`pane`,{item:o,active:f.value===o.key},void 0,!0,1)],!0,0)]),_:2},1032,[`name`,`disabled`,`closable`,`display-directive`,`class`,`style`]))),128))]),_:3},8,[`value`,`class`,`type`,`size`,`placement`,`justify-content`,`animated`,`closable`,`addable`]))}});var o=t.t(a,[[`__scopeId`,`data-v-595c4b3f`]]);function s(e){let t=new Set;for(let n of e){if(typeof n.key!=`string`&&typeof n.key!=`number`)throw TypeError(`C_Tabs 的 item.key 必须是字符串或数字`);if(typeof n.key==`string`&&n.key.trim().length===0)throw TypeError(`C_Tabs 的 item.key 不能为空`);if(t.has(n.key))throw RangeError(`C_Tabs 存在重复 key: ${String(n.key)}`);if(typeof n.label!=`string`||n.label.trim().length===0)throw TypeError(`C_Tabs 的 ${String(n.key)} 缺少有效 label`);t.add(n.key)}return e}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
1
+ require(`./chunk.cjs`);const e=require(`./C_Icon2.cjs`),t=require(`./export-helper.cjs`);let n=require(`vue`),r=require(`naive-ui`);const i={key:1,class:`c-tabs__label`},a=(0,n.defineComponent)({name:`C_Tabs`,__name:`index`,props:{modelValue:{default:void 0},defaultValue:{default:void 0},items:{default:()=>[]},type:{default:`line`},size:{default:`small`},placement:{default:`top`},justifyContent:{default:`start`},animated:{type:Boolean,default:!0},closable:{type:Boolean,default:!1},addable:{type:Boolean,default:!1},tabsOnly:{type:Boolean,default:!1},displayDirective:{default:`show:lazy`},paneClass:{default:void 0},paneStyle:{default:void 0},beforeChange:{type:Function,default:void 0}},emits:[`update:modelValue`,`change`,`close`,`add`],setup(t,{expose:a,emit:o}){let s=t,c=o,l=(0,n.defineComponent)({name:`CTabsRenderNode`,props:{render:{type:Function,required:!0},item:{type:Object,required:!0}},setup(e){return()=>e.render(e.item)}}),u=()=>s.items.find(e=>!e.disabled)?.key??null,d=(0,n.ref)(s.defaultValue??u()),f=(0,n.computed)({get:()=>s.modelValue===void 0?d.value:s.modelValue,set:e=>{e!==null&&(s.modelValue===void 0&&(d.value=e),c(`update:modelValue`,e),c(`change`,e,s.items.find(t=>t.key===e)))}}),p=e=>{f.value=e},m=async(e,t)=>{if(!s.beforeChange)return!0;try{return await s.beforeChange(e,t??null)!==!1}catch{return!1}},h=e=>`pane-${String(e.key)}`;return(0,n.watch)(()=>s.modelValue,e=>{e!==void 0&&(d.value=e)}),(0,n.watch)(()=>s.items.map(e=>`${typeof e.key}:${String(e.key)}`).join(`|`),()=>{let e=f.value;if(e!==null&&s.items.some(t=>t.key===e))return;let t=s.defaultValue??u();t!==null&&(f.value=t)}),a({activeValue:f}),(a,o)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.NTabs),{value:f.value??void 0,"onUpdate:value":p,class:(0,n.normalizeClass)([`c-tabs`,[`is-${t.type}`,{"is-tabs-only":t.tabsOnly}]]),type:t.type,size:t.size,placement:t.placement,"justify-content":t.justifyContent,animated:t.animated,closable:t.closable,addable:t.addable,"before-leave":m,onClose:o[0]||=e=>c(`close`,e),onAdd:o[1]||=e=>c(`add`)},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(t.items,o=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.NTabPane),{key:o.key,name:o.key,disabled:o.disabled,closable:o.closable,"display-directive":t.displayDirective,class:(0,n.normalizeClass)(t.paneClass),style:(0,n.normalizeStyle)(t.paneStyle)},{tab:(0,n.withCtx)(()=>[(0,n.renderSlot)(a.$slots,`tab`,{item:o,active:f.value===o.key},()=>[o.renderTab?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(l),{key:0,render:o.renderTab,item:o},null,8,[`render`,`item`])):((0,n.openBlock)(),(0,n.createElementBlock)(`span`,i,[o.icon?((0,n.openBlock)(),(0,n.createBlock)(e.t,{key:0,class:`c-tabs__icon`,name:o.icon,size:14},null,8,[`name`])):(0,n.createCommentVNode)(`v-if`,!0),(0,n.createElementVNode)(`span`,null,(0,n.toDisplayString)(o.label),1),o.badge===void 0?(0,n.createCommentVNode)(`v-if`,!0):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(r.NBadge),{key:1,class:`c-tabs__badge`,value:o.badge,type:o.badgeType||`info`},null,8,[`value`,`type`]))]))],!0)]),default:(0,n.withCtx)(()=>[t.tabsOnly?(0,n.createCommentVNode)(`v-if`,!0):(0,n.renderSlot)(a.$slots,h(o),{item:o,active:f.value===o.key},()=>[o.render?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(l),{key:0,render:o.render,item:o},null,8,[`render`,`item`])):(0,n.renderSlot)(a.$slots,`pane`,{item:o,active:f.value===o.key},void 0,!0,1)],!0,0)]),_:2},1032,[`name`,`disabled`,`closable`,`display-directive`,`class`,`style`]))),128))]),_:3},8,[`value`,`class`,`type`,`size`,`placement`,`justify-content`,`animated`,`closable`,`addable`]))}});var o=t.t(a,[[`__scopeId`,`data-v-9815ba21`]]);function s(e){let t=new Set;for(let n of e){if(typeof n.key!=`string`&&typeof n.key!=`number`)throw TypeError(`C_Tabs 的 item.key 必须是字符串或数字`);if(typeof n.key==`string`&&n.key.trim().length===0)throw TypeError(`C_Tabs 的 item.key 不能为空`);if(t.has(n.key))throw RangeError(`C_Tabs 存在重复 key: ${String(n.key)}`);if(typeof n.label!=`string`||n.label.trim().length===0)throw TypeError(`C_Tabs 的 ${String(n.key)} 缺少有效 label`);t.add(n.key)}return e}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
package/dist/data2.js CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./C_Icon2.js";import{t}from"./export-helper.js";import{Fragment as n,computed as r,createBlock as i,createCommentVNode as a,createElementBlock as o,createElementVNode as s,defineComponent as c,normalizeClass as l,normalizeStyle as u,openBlock as d,ref as f,renderList as p,renderSlot as m,toDisplayString as h,unref as g,watch as _,withCtx as v}from"vue";import{NBadge as y,NTabPane as b,NTabs as x}from"naive-ui";const S={key:1,class:`c-tabs__label`};var C=t(c({name:`C_Tabs`,__name:`index`,props:{modelValue:{default:void 0},defaultValue:{default:void 0},items:{default:()=>[]},type:{default:`line`},size:{default:`small`},placement:{default:`top`},justifyContent:{default:`start`},animated:{type:Boolean,default:!0},closable:{type:Boolean,default:!1},addable:{type:Boolean,default:!1},tabsOnly:{type:Boolean,default:!1},displayDirective:{default:`show:lazy`},paneClass:{default:void 0},paneStyle:{default:void 0},beforeChange:{type:Function,default:void 0}},emits:[`update:modelValue`,`change`,`close`,`add`],setup(t,{expose:C,emit:w}){let T=t,E=w,D=c({name:`CTabsRenderNode`,props:{render:{type:Function,required:!0},item:{type:Object,required:!0}},setup(e){return()=>e.render(e.item)}}),O=()=>T.items.find(e=>!e.disabled)?.key??null,k=f(T.defaultValue??O()),A=r({get:()=>T.modelValue===void 0?k.value:T.modelValue,set:e=>{e!==null&&(T.modelValue===void 0&&(k.value=e),E(`update:modelValue`,e),E(`change`,e,T.items.find(t=>t.key===e)))}}),j=async(e,t)=>{if(!T.beforeChange)return!0;try{return await T.beforeChange(e,t??null)!==!1}catch{return!1}},M=e=>`pane-${String(e.key)}`;return _(()=>T.modelValue,e=>{e!==void 0&&(k.value=e)}),_(()=>T.items.map(e=>`${typeof e.key}:${String(e.key)}`).join(`|`),()=>{let e=A.value;if(e!==null&&T.items.some(t=>t.key===e))return;let t=T.defaultValue??O();t!==null&&(A.value=t)}),C({activeValue:A}),(r,c)=>(d(),i(g(x),{value:A.value,"onUpdate:value":c[0]||=e=>A.value=e,class:l([`c-tabs`,[`is-${t.type}`,{"is-tabs-only":t.tabsOnly}]]),type:t.type,size:t.size,placement:t.placement,"justify-content":t.justifyContent,animated:t.animated,closable:t.closable,addable:t.addable,"before-leave":j,onClose:c[1]||=e=>E(`close`,e),onAdd:c[2]||=e=>E(`add`)},{default:v(()=>[(d(!0),o(n,null,p(t.items,n=>(d(),i(g(b),{key:n.key,name:n.key,disabled:n.disabled,closable:n.closable,"display-directive":t.displayDirective,class:l(t.paneClass),style:u(t.paneStyle)},{tab:v(()=>[m(r.$slots,`tab`,{item:n,active:A.value===n.key},()=>[n.renderTab?(d(),i(g(D),{key:0,render:n.renderTab,item:n},null,8,[`render`,`item`])):(d(),o(`span`,S,[n.icon?(d(),i(e,{key:0,class:`c-tabs__icon`,name:n.icon,size:14},null,8,[`name`])):a(`v-if`,!0),s(`span`,null,h(n.label),1),n.badge===void 0?a(`v-if`,!0):(d(),i(g(y),{key:1,class:`c-tabs__badge`,value:n.badge,type:n.badgeType||`info`},null,8,[`value`,`type`]))]))],!0)]),default:v(()=>[t.tabsOnly?a(`v-if`,!0):m(r.$slots,M(n),{item:n,active:A.value===n.key},()=>[n.render?(d(),i(g(D),{key:0,render:n.render,item:n},null,8,[`render`,`item`])):m(r.$slots,`pane`,{item:n,active:A.value===n.key},void 0,!0,1)],!0,0)]),_:2},1032,[`name`,`disabled`,`closable`,`display-directive`,`class`,`style`]))),128))]),_:3},8,[`value`,`class`,`type`,`size`,`placement`,`justify-content`,`animated`,`closable`,`addable`]))}}),[[`__scopeId`,`data-v-595c4b3f`]]);function w(e){let t=new Set;for(let n of e){if(typeof n.key!=`string`&&typeof n.key!=`number`)throw TypeError(`C_Tabs 的 item.key 必须是字符串或数字`);if(typeof n.key==`string`&&n.key.trim().length===0)throw TypeError(`C_Tabs 的 item.key 不能为空`);if(t.has(n.key))throw RangeError(`C_Tabs 存在重复 key: ${String(n.key)}`);if(typeof n.label!=`string`||n.label.trim().length===0)throw TypeError(`C_Tabs 的 ${String(n.key)} 缺少有效 label`);t.add(n.key)}return e}export{C as n,w as t};
1
+ import{t as e}from"./C_Icon2.js";import{t}from"./export-helper.js";import{Fragment as n,computed as r,createBlock as i,createCommentVNode as a,createElementBlock as o,createElementVNode as s,defineComponent as c,normalizeClass as l,normalizeStyle as u,openBlock as d,ref as f,renderList as p,renderSlot as m,toDisplayString as h,unref as g,watch as _,withCtx as v}from"vue";import{NBadge as y,NTabPane as b,NTabs as x}from"naive-ui";const S={key:1,class:`c-tabs__label`};var C=t(c({name:`C_Tabs`,__name:`index`,props:{modelValue:{default:void 0},defaultValue:{default:void 0},items:{default:()=>[]},type:{default:`line`},size:{default:`small`},placement:{default:`top`},justifyContent:{default:`start`},animated:{type:Boolean,default:!0},closable:{type:Boolean,default:!1},addable:{type:Boolean,default:!1},tabsOnly:{type:Boolean,default:!1},displayDirective:{default:`show:lazy`},paneClass:{default:void 0},paneStyle:{default:void 0},beforeChange:{type:Function,default:void 0}},emits:[`update:modelValue`,`change`,`close`,`add`],setup(t,{expose:C,emit:w}){let T=t,E=w,D=c({name:`CTabsRenderNode`,props:{render:{type:Function,required:!0},item:{type:Object,required:!0}},setup(e){return()=>e.render(e.item)}}),O=()=>T.items.find(e=>!e.disabled)?.key??null,k=f(T.defaultValue??O()),A=r({get:()=>T.modelValue===void 0?k.value:T.modelValue,set:e=>{e!==null&&(T.modelValue===void 0&&(k.value=e),E(`update:modelValue`,e),E(`change`,e,T.items.find(t=>t.key===e)))}}),j=e=>{A.value=e},M=async(e,t)=>{if(!T.beforeChange)return!0;try{return await T.beforeChange(e,t??null)!==!1}catch{return!1}},N=e=>`pane-${String(e.key)}`;return _(()=>T.modelValue,e=>{e!==void 0&&(k.value=e)}),_(()=>T.items.map(e=>`${typeof e.key}:${String(e.key)}`).join(`|`),()=>{let e=A.value;if(e!==null&&T.items.some(t=>t.key===e))return;let t=T.defaultValue??O();t!==null&&(A.value=t)}),C({activeValue:A}),(r,c)=>(d(),i(g(x),{value:A.value??void 0,"onUpdate:value":j,class:l([`c-tabs`,[`is-${t.type}`,{"is-tabs-only":t.tabsOnly}]]),type:t.type,size:t.size,placement:t.placement,"justify-content":t.justifyContent,animated:t.animated,closable:t.closable,addable:t.addable,"before-leave":M,onClose:c[0]||=e=>E(`close`,e),onAdd:c[1]||=e=>E(`add`)},{default:v(()=>[(d(!0),o(n,null,p(t.items,n=>(d(),i(g(b),{key:n.key,name:n.key,disabled:n.disabled,closable:n.closable,"display-directive":t.displayDirective,class:l(t.paneClass),style:u(t.paneStyle)},{tab:v(()=>[m(r.$slots,`tab`,{item:n,active:A.value===n.key},()=>[n.renderTab?(d(),i(g(D),{key:0,render:n.renderTab,item:n},null,8,[`render`,`item`])):(d(),o(`span`,S,[n.icon?(d(),i(e,{key:0,class:`c-tabs__icon`,name:n.icon,size:14},null,8,[`name`])):a(`v-if`,!0),s(`span`,null,h(n.label),1),n.badge===void 0?a(`v-if`,!0):(d(),i(g(y),{key:1,class:`c-tabs__badge`,value:n.badge,type:n.badgeType||`info`},null,8,[`value`,`type`]))]))],!0)]),default:v(()=>[t.tabsOnly?a(`v-if`,!0):m(r.$slots,N(n),{item:n,active:A.value===n.key},()=>[n.render?(d(),i(g(D),{key:0,render:n.render,item:n},null,8,[`render`,`item`])):m(r.$slots,`pane`,{item:n,active:A.value===n.key},void 0,!0,1)],!0,0)]),_:2},1032,[`name`,`disabled`,`closable`,`display-directive`,`class`,`style`]))),128))]),_:3},8,[`value`,`class`,`type`,`size`,`placement`,`justify-content`,`animated`,`closable`,`addable`]))}}),[[`__scopeId`,`data-v-9815ba21`]]);function w(e){let t=new Set;for(let n of e){if(typeof n.key!=`string`&&typeof n.key!=`number`)throw TypeError(`C_Tabs 的 item.key 必须是字符串或数字`);if(typeof n.key==`string`&&n.key.trim().length===0)throw TypeError(`C_Tabs 的 item.key 不能为空`);if(t.has(n.key))throw RangeError(`C_Tabs 存在重复 key: ${String(n.key)}`);if(typeof n.label!=`string`||n.label.trim().length===0)throw TypeError(`C_Tabs 的 ${String(n.key)} 缺少有效 label`);t.add(n.key)}return e}export{C as n,w as t};
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./chunk.cjs`),t=require(`./config.cjs`),n=require(`./C_Icon2.cjs`),r=require(`./C_Code2.cjs`),i=require(`./C_Upload2.cjs`),a=require(`./C_Barcode2.cjs`),o=require(`./C_Captcha2.cjs`),ee=require(`./C_Cascade2.cjs`),te=require(`./C_Guide2.cjs`),ne=require(`./C_Progress2.cjs`),re=require(`./C_Steps2.cjs`),s=require(`./C_ActionBar2.cjs`),ie=require(`./C_Theme2.cjs`),ae=require(`./C_Language2.cjs`),oe=require(`./C_Date2.cjs`),se=require(`./C_Editor2.cjs`),ce=require(`./C_Markdown2.cjs`),c=require(`./C_Map2.cjs`),le=require(`./C_City2.cjs`),l=require(`./C_VtableGantt2.cjs`),u=require(`./C_Signature2.cjs`),d=require(`./C_SplitPane2.cjs`),f=require(`./C_CollapsePanel2.cjs`),ue=require(`./C_Time2.cjs`),p=require(`./storage.cjs`),m=require(`./C_FormSearch2.cjs`),h=require(`./C_Tree2.cjs`),g=require(`./C_QRCode2.cjs`),_=require(`./C_ImageCropper2.cjs`),v=require(`./C_Draggable2.cjs`),y=require(`./C_WaterFall2.cjs`),b=require(`./C_FullCalendar2.cjs`),x=require(`./C_NotificationCenter2.cjs`),S=require(`./C_Cron2.cjs`),C=require(`./C_FormulaEditor2.cjs`),w=require(`./C_AntV2.cjs`),T=require(`./C_VideoPlayer2.cjs`),E=require(`./C_FilePreview2.cjs`),D=require(`./C_WorkFlow2.cjs`),O=require(`./C_Form2.cjs`),k=require(`./helpers.cjs`),de=require(`./C_FormModal2.cjs`),A=require(`./useTableQuery.cjs`),j=require(`./C_GlobalSearch2.cjs`),M=require(`./C_Menu2.cjs`),fe=require(`./C_Breadcrumb2.cjs`),N=require(`./C_TagsView2.cjs`),P=require(`./C_AudioPlayer2.cjs`),F=require(`./C_AvatarGroup2.cjs`),I=require(`./C_Chat2.cjs`),L=require(`./C_ContextMenu2.cjs`),R=require(`./C_Login2.cjs`),z=require(`./C_Timeline2.cjs`),B=require(`./data2.cjs`),V=require(`./C_Transfer2.cjs`),pe=require(`./C_Skeleton2.cjs`),me=require(`./C_OrgChart2.cjs`);let H=require(`highlight.js/lib/core`);H=e.t(H);let U=require(`highlight.js/lib/languages/javascript`);U=e.t(U);let W=require(`highlight.js/lib/languages/typescript`);W=e.t(W);let G=require(`highlight.js/lib/languages/json`);G=e.t(G);let K=require(`highlight.js/lib/languages/xml`);K=e.t(K);let q=require(`highlight.js/lib/languages/css`);q=e.t(q);let J=require(`highlight.js/lib/languages/bash`);J=e.t(J);let Y=require(`highlight.js/lib/languages/yaml`);Y=e.t(Y);let X=require(`highlight.js/lib/languages/markdown`);X=e.t(X);let Z=require(`highlight.js/lib/languages/java`);Z=e.t(Z);let he=require(`highlight.js/lib/languages/csharp`);he=e.t(he);let ge=require(`highlight.js/lib/languages/go`);ge=e.t(ge);let _e=require(`highlight.js/lib/languages/python`);_e=e.t(_e);const ve={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)},ye=new Set,Q=new Map,$=H.default;function be(e,t){$.registerLanguage(e,t),ye.add(e)}function xe(e){[[`javascript`,U.default],[`typescript`,W.default],[`json`,G.default],[`html`,K.default],[`xml`,K.default],[`css`,q.default],[`bash`,J.default],[`shell`,J.default],[`yaml`,Y.default],[`yml`,Y.default],[`markdown`,X.default],[`java`,Z.default],[`csharp`,he.default],[`go`,ge.default],[`python`,_e.default]].forEach(([e,t])=>{be(e,t)}),$.configure({ignoreUnescapedHTML:!0,languages:e.autoDetect?void 0:[]}),e.extraLanguages?.length&&Se(e.extraLanguages,e)}async function Se(e,t={}){let n=e.map(e=>Ce(e,t));return(await Promise.allSettled(n)).map((t,n)=>t.status===`fulfilled`&&t.value?e[n]:null).filter(Boolean)}async function Ce(e,t={}){let n=e.toLowerCase();if(ye.has(n))return!0;let r=Q.get(n);if(r)return r;let i=ve[n];if(!i)return t.logger?.warn(`[HighlightPlugin] Language '${e}' not supported`),!1;let a=(async()=>{try{return be(n,(await i()).default),t.debug&&t.logger?.info(`[HighlightPlugin] Language '${n}' loaded successfully`),!0}catch(e){return t.logger?.error(`[HighlightPlugin] Failed to load language '${n}'`,e),t.onError?.(e,{source:`language-loader`,language:n}),!1}finally{Q.delete(n)}})();return Q.set(n,a),a}const we=(e={})=>({getHljs:()=>$,loadLanguage:t=>Ce(t,e),loadLanguages:t=>Se(t,e),getLoadedLanguages:()=>Array.from(ye)});function Te(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t};xe(n),typeof window<`u`&&(window.hljs=$);let r=we(n);e.provide(`highlightManager`,r),e.config.globalProperties.$highlight=r,n.debug&&n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)}const Ee=[r.t,n.t,i.t,a.t,o.t,ee.t,te.t,ne.t,re.t,s.t,ie.t,ae.t,oe.t,se.t,ce.t,c.t,le.t,l.t,u.t,d.t,f.t,ue.t,m.t,h.t,g.t,_.t,v.t,y.t,b.t,x.t,S.t,C.t,w.t,T.t,E.t,D.t,O.t,de.t,A.n,j.t,M.t,fe.t,N.t,P.t,F.t,I.t,L.t,R.t,z.t,B.n,V.t,pe.t,me.t];var De={install:(e,n={})=>{Ee.forEach(t=>{let n=t,r=n.__name||n.name||`UnknownComponent`;e.component(r,t)}),n.highlight!==void 0&&Te(e,n.highlight),n.feedback&&e.provide(t.t,n.feedback),n.locale&&e.provide(t.n,n.locale),n.form&&e.provide(O.d,n.form),n.table&&e.provide(A.u,n.table)}};exports.ACTION_BAR_DEFAULT_CONFIG=s.n,exports.ACTION_KEYS=C.i,exports.ACTION_PRESETS=s.r,exports.AVATAR_STATUS_COLOR_MAP=F.r,exports.BUTTON_TEXT=b.r,exports.CATEGORY_MAP=x.a,exports.CATEGORY_TABS=x.o,exports.COMPONENT_FEEDBACK_KEY=t.t,exports.COMPONENT_LOCALE_KEY=t.n,exports.CRON_FIELD_META=S.a,exports.CRON_TEMPLATES=S.o,exports.C_ActionBar=s.t,exports.C_AntV=w.t,exports.C_AudioPlayer=P.t,exports.C_AvatarGroup=F.t,exports.C_Barcode=a.t,exports.C_Breadcrumb=fe.t,exports.C_Captcha=o.t,exports.C_Cascade=ee.t,exports.C_Chat=I.t,exports.C_City=le.t,exports.C_Code=r.t,exports.C_CollapsePanel=f.t,exports.C_ContextMenu=L.t,exports.C_Cron=S.t,exports.C_Date=oe.t,exports.C_Draggable=v.t,exports.C_Editor=se.t,exports.C_FilePreview=E.t,exports.C_Form=O.t,exports.C_FormModal=de.t,exports.C_FormSearch=m.t,exports.C_FormulaEditor=C.t,exports.C_FullCalendar=b.t,exports.C_GlobalSearch=j.t,exports.C_Guide=te.t,exports.C_Icon=n.t,exports.C_ImageCropper=_.t,exports.C_Language=ae.t,exports.C_Login=R.t,exports.C_Map=c.t,exports.C_Markdown=ce.t,exports.C_Menu=M.t,exports.C_NotificationCenter=x.t,exports.C_OrgChart=me.t,exports.C_Progress=ne.t,exports.C_QRCode=g.t,exports.C_Signature=u.t,exports.C_Skeleton=pe.t,exports.C_SplitPane=d.t,exports.C_Steps=re.t,exports.C_Table=A.n,exports.C_Tabs=B.n,exports.C_TagsView=N.t,exports.C_Theme=ie.t,exports.C_Time=ue.t,exports.C_Timeline=z.t,exports.C_Transfer=V.t,exports.C_Tree=h.t,exports.C_Upload=i.t,exports.C_VideoPlayer=T.t,exports.C_VtableGantt=l.t,exports.C_WaterFall=y.t,exports.C_WorkFlow=D.t,exports.CaptchaVerificationError=o.n,exports.DEFAULT_ACTION_ICON=s.i,exports.DEFAULT_ANIMATION_DURATION=y.a,exports.DEFAULT_AUDIO_PLAYER_PROPS=P.n,exports.DEFAULT_AVATAR_GROUP_PROPS=F.n,exports.DEFAULT_BREAKPOINTS=y.o,exports.DEFAULT_CHAT_PROPS=I.n,exports.DEFAULT_CONTEXT_MENU_PROPS=L.n,exports.DEFAULT_CRON_EXPRESSION=S.s,exports.DEFAULT_CRON_VALUE=S.c,exports.DEFAULT_EDIT_FORM=b.i,exports.DEFAULT_FEATURES=R.n,exports.DEFAULT_FIELD_VALUE=S.l,exports.DEFAULT_FUNCTIONS=C.a,exports.DEFAULT_GAP=y.s,exports.DEFAULT_HEARTBEAT_INTERVAL=T.c,exports.DEFAULT_MAP_CONFIG=c.s,exports.DEFAULT_MAX_BADGE_COUNT=x.s,exports.DEFAULT_PAGE_SIZE=x.c,exports.DEFAULT_PLAYBACK_RATE=T.l,exports.DEFAULT_PLAYBACK_RATES=T.u,exports.DEFAULT_POLLING_INTERVAL=x.l,exports.DEFAULT_SKELETON_COUNT=y.c,exports.DEFAULT_SOCIAL_PROVIDERS=R.r,exports.DEFAULT_STORAGE_KEY=x.u,exports.DEFAULT_TIMELINE_PROPS=z.n,exports.DEFAULT_TRANSFER_PROPS=V.n,exports.DEFAULT_VOLUME=T.d,exports.DEFAULT_WS_HEARTBEAT_INTERVAL=x.d,exports.DEFAULT_WS_HEARTBEAT_MESSAGE=x.f,exports.DEFAULT_WS_MAX_RECONNECT=x.p,exports.DEFAULT_WS_RECONNECT_INTERVAL=x.m,exports.DYNAMIC_FORM_STATE_KEY=O.n,exports.EVENT_COLORS=b.a,exports.FIELD_TYPE_OPTIONS=O.r,exports.FORM_DEFAULTS=O.u,exports.FORM_GLOBAL_CONFIG_KEY=O.d,exports.HEADER_TOOLBAR=b.o,exports.INFINITE_SCROLL_THRESHOLD=y.l,exports.KEYBOARD_SHORTCUTS=T.f,exports.LAYOUTS_WITH_OWN_CONTROLS=O.f,exports.MAP_TYPES=c.c,exports.MOCK_MESSAGES=x.h,exports.MODE_ICON_MAP=P.r,exports.MONTH_LABELS=S.u,exports.NUMBER_KEYS=C.o,exports.OPERATORS=C.s,exports.OPERATOR_KEYS=C.c,exports.OSM_TILE_CONFIG=c.l,exports.PRIORITY_MAP=x.g,exports.PROGRESS_THROTTLE_INTERVAL=T.p,exports.QUALITY_LABEL_MAP=T.m,exports.SEEK_STEP=T.h,exports.SKELETON_HEIGHT_RANGE=y.u,exports.SOURCE_TYPE_MAP=T.g,exports.SPACED_OPERATORS=C.l,exports.STORAGE_KEYS=T._,exports.STORAGE_PREFIX=T.v,exports.TABLE_GLOBAL_CONFIG_KEY=A.u,exports.TIMELINE_STATUS_COLOR_MAP=z.r,exports.VOLUME_STEP=T.y,exports.WATERMARK_DEFAULT_STYLE=T.b,exports.WEEK_LABELS=S.d,exports.XGPLAYER_EVENTS=T.x,exports.applyFormatter=A.d,exports.createCaptchaProof=o.r,exports.createEditModeChecker=A.w,exports.createMenuOptions=M.n,exports.default=De,exports.defineActions=s.a,exports.defineFormConfig=k.t,exports.defineFormOptions=k.n,exports.defineTableColumns=A.r,exports.defineTableConfig=A.i,exports.defineTabs=B.t,exports.exportTableData=A.o,exports.flattenRoutes=M.r,exports.formatFileSize=i.s,exports.formatTime=P.i,exports.ganttPresetConfigs=l.n,exports.getFileIcon=i.c,exports.getInitials=F.i,exports.getItem=p.t,exports.getValidMapMarkers=c.n,exports.isValidMapCoordinate=c.r,exports.mergeFormConfig=O.p,exports.mergeGlobalConfig=A.f,exports.nameToColor=F.a,exports.normalizeMapZoom=c.i,exports.printPresets=A.v,exports.registerRenderer=O.a,exports.removeAllItem=p.n,exports.removeItem=p.r,exports.resolveActionPreset=s.o,exports.resolveConfig=A.T,exports.resolveFormConfig=O.m,exports.resolveTileConfig=c.a,exports.setItem=p.i,exports.setupHighlight=Te,exports.shouldShowActions=O.h,exports.toAMapPosition=c.o,exports.treePresetConfigs=h.r,exports.unregisterRenderer=O.o,exports.useBookmarks=T.r,exports.useCForm=k.r,exports.useCalendarEvents=b.n,exports.useCellEdit=A.S,exports.useChapters=T.i,exports.useChunkUpload=i.a,exports.useCollapsePanel=f.n,exports.useComponentFeedback=t.r,exports.useComponentLocale=t.i,exports.useCronDescription=S.n,exports.useCronParser=S.i,exports.useCronPreview=S.r,exports.useCropperCore=_.n,exports.useCrossPageSelection=A.s,exports.useDragDrop=i.n,exports.useDraggableLayout=v.n,exports.useDynamicFormState=O.i,exports.useDynamicRows=A._,exports.useEdgeInteraction=w.n,exports.useFileHash=i.o,exports.useFilePreview=E.r,exports.useFormDirty=O.l,exports.useFormGlobalConfig=O.g,exports.useFormRenderer=O.s,exports.useFormState=O.c,exports.useFormulaEvaluator=C.n,exports.useFormulaParser=C.r,exports.useFullscreen=E.n,exports.useGlobalSearch=j.n,exports.useGraphBase=w.i,exports.useGraphExport=w.r,exports.useHighlight=we,exports.useInfiniteScroll=y.n,exports.useModalEdit=A.x,exports.useNotificationCore=x.r,exports.useNotificationFormat=x.n,exports.useNotificationWS=x.i,exports.usePagination=A.h,exports.usePlaybackControl=T.o,exports.usePlayerCore=T.s,exports.usePrintWatermark=A.y,exports.useProgressTracker=T.a,exports.useQRCode=g.n,exports.useResponsiveColumns=y.i,exports.useRowDrag=A.c,exports.useRowEdit=A.C,exports.useSearchHistory=m.r,exports.useSearchState=m.n,exports.useSignatureCanvas=u.i,exports.useSignatureExport=u.n,exports.useSignatureHistory=u.r,exports.useSplitResize=d.n,exports.useSubtitle=T.n,exports.useTableActions=A.m,exports.useTableColumns=A.l,exports.useTableExpand=A.b,exports.useTableGlobalConfig=A.p,exports.useTableManager=A.g,exports.useTableQuery=A.t,exports.useTagsView=N.n,exports.useTimeSelection=ue.n,exports.useTreeOperations=h.n,exports.useUploadCore=i.r,exports.useUploadQueue=i.i,exports.useWaterFallLayout=y.r,exports.useWorkflowNodes=D.i,exports.useWorkflowPreview=D.n,exports.useWorkflowValidation=D.r,exports.validateTableRowKeys=A.a,exports.verifyCaptchaProof=o.i;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./chunk.cjs`),t=require(`./config.cjs`),n=require(`./C_Icon2.cjs`),r=require(`./C_Code2.cjs`),i=require(`./C_Upload2.cjs`),a=require(`./C_Barcode2.cjs`),o=require(`./C_Captcha2.cjs`),ee=require(`./C_Cascade2.cjs`),te=require(`./C_Guide2.cjs`),ne=require(`./C_Progress2.cjs`),re=require(`./C_Steps2.cjs`),s=require(`./C_ActionBar2.cjs`),ie=require(`./C_Theme2.cjs`),ae=require(`./C_Language2.cjs`),oe=require(`./C_Date2.cjs`),se=require(`./C_Editor2.cjs`),ce=require(`./C_Markdown2.cjs`),c=require(`./C_Map2.cjs`),le=require(`./C_City2.cjs`),l=require(`./C_VtableGantt2.cjs`),u=require(`./C_Signature2.cjs`),d=require(`./C_SplitPane2.cjs`),f=require(`./C_CollapsePanel2.cjs`),ue=require(`./C_Time2.cjs`),p=require(`./storage.cjs`),m=require(`./C_FormSearch2.cjs`),h=require(`./C_Tree2.cjs`),g=require(`./C_QRCode2.cjs`),_=require(`./C_ImageCropper2.cjs`),v=require(`./C_Draggable2.cjs`),y=require(`./C_WaterFall2.cjs`),b=require(`./C_FullCalendar2.cjs`),x=require(`./C_NotificationCenter2.cjs`),S=require(`./C_Cron2.cjs`),C=require(`./C_FormulaEditor2.cjs`),w=require(`./C_AntV2.cjs`),T=require(`./C_VideoPlayer2.cjs`),E=require(`./C_FilePreview2.cjs`),D=require(`./C_WorkFlow2.cjs`),O=require(`./C_Form2.cjs`),k=require(`./helpers.cjs`),de=require(`./C_FormModal2.cjs`),A=require(`./useTableQuery.cjs`),j=require(`./C_GlobalSearch2.cjs`),M=require(`./C_Menu2.cjs`),fe=require(`./C_Breadcrumb2.cjs`),N=require(`./C_TagsView2.cjs`),P=require(`./C_AudioPlayer2.cjs`),F=require(`./C_AvatarGroup2.cjs`),I=require(`./C_Chat2.cjs`),L=require(`./C_ContextMenu2.cjs`),R=require(`./C_Login2.cjs`),z=require(`./C_Timeline2.cjs`),B=require(`./data2.cjs`),V=require(`./C_Transfer2.cjs`),pe=require(`./C_Skeleton2.cjs`),me=require(`./C_OrgChart2.cjs`);let H=require(`highlight.js/lib/core`);H=e.t(H);let U=require(`highlight.js/lib/languages/javascript`);U=e.t(U);let W=require(`highlight.js/lib/languages/typescript`);W=e.t(W);let G=require(`highlight.js/lib/languages/json`);G=e.t(G);let K=require(`highlight.js/lib/languages/xml`);K=e.t(K);let q=require(`highlight.js/lib/languages/css`);q=e.t(q);let J=require(`highlight.js/lib/languages/bash`);J=e.t(J);let Y=require(`highlight.js/lib/languages/yaml`);Y=e.t(Y);let X=require(`highlight.js/lib/languages/markdown`);X=e.t(X);let Z=require(`highlight.js/lib/languages/java`);Z=e.t(Z);let he=require(`highlight.js/lib/languages/csharp`);he=e.t(he);let ge=require(`highlight.js/lib/languages/go`);ge=e.t(ge);let _e=require(`highlight.js/lib/languages/python`);_e=e.t(_e);const ve={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)},ye=new Set,Q=new Map,$=H.default;function be(e,t){$.registerLanguage(e,t),ye.add(e)}function xe(e){[[`javascript`,U.default],[`typescript`,W.default],[`json`,G.default],[`html`,K.default],[`xml`,K.default],[`css`,q.default],[`bash`,J.default],[`shell`,J.default],[`yaml`,Y.default],[`yml`,Y.default],[`markdown`,X.default],[`java`,Z.default],[`csharp`,he.default],[`go`,ge.default],[`python`,_e.default]].forEach(([e,t])=>{be(e,t)}),$.configure({ignoreUnescapedHTML:!0,languages:e.autoDetect?void 0:[]}),e.extraLanguages?.length&&Se(e.extraLanguages,e)}async function Se(e,t={}){let n=e.map(e=>Ce(e,t));return(await Promise.allSettled(n)).map((t,n)=>t.status===`fulfilled`&&t.value?e[n]:null).filter(Boolean)}async function Ce(e,t={}){let n=e.toLowerCase();if(ye.has(n))return!0;let r=Q.get(n);if(r)return r;let i=ve[n];if(!i)return t.logger?.warn(`[HighlightPlugin] Language '${e}' not supported`),!1;let a=(async()=>{try{return be(n,(await i()).default),t.debug&&t.logger?.info(`[HighlightPlugin] Language '${n}' loaded successfully`),!0}catch(e){return t.logger?.error(`[HighlightPlugin] Failed to load language '${n}'`,e),t.onError?.(e,{source:`language-loader`,language:n}),!1}finally{Q.delete(n)}})();return Q.set(n,a),a}const we=(e={})=>({getHljs:()=>$,loadLanguage:t=>Ce(t,e),loadLanguages:t=>Se(t,e),getLoadedLanguages:()=>Array.from(ye)});function Te(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t};xe(n),typeof window<`u`&&Reflect.set(window,`hljs`,$);let r=we(n);e.provide(`highlightManager`,r),e.config.globalProperties.$highlight=r,n.debug&&n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)}const Ee=[r.t,n.t,i.t,a.t,o.t,ee.t,te.t,ne.t,re.t,s.t,ie.t,ae.t,oe.t,se.t,ce.t,c.t,le.t,l.t,u.t,d.t,f.t,ue.t,m.t,h.t,g.t,_.t,v.t,y.t,b.t,x.t,S.t,C.t,w.t,T.t,E.t,D.t,O.t,de.t,A.n,j.t,M.t,fe.t,N.t,P.t,F.t,I.t,L.t,R.t,z.t,B.n,V.t,pe.t,me.t];var De={install:(e,n={})=>{Ee.forEach(t=>{let n=t,r=n.__name||n.name||`UnknownComponent`;e.component(r,t)}),n.highlight!==void 0&&Te(e,n.highlight),n.feedback&&e.provide(t.t,n.feedback),n.locale&&e.provide(t.n,n.locale),n.form&&e.provide(O.d,n.form),n.table&&e.provide(A.u,n.table)}};exports.ACTION_BAR_DEFAULT_CONFIG=s.n,exports.ACTION_KEYS=C.i,exports.ACTION_PRESETS=s.r,exports.AVATAR_STATUS_COLOR_MAP=F.r,exports.BUTTON_TEXT=b.r,exports.CATEGORY_MAP=x.a,exports.CATEGORY_TABS=x.o,exports.COMPONENT_FEEDBACK_KEY=t.t,exports.COMPONENT_LOCALE_KEY=t.n,exports.CRON_FIELD_META=S.a,exports.CRON_TEMPLATES=S.o,exports.C_ActionBar=s.t,exports.C_AntV=w.t,exports.C_AudioPlayer=P.t,exports.C_AvatarGroup=F.t,exports.C_Barcode=a.t,exports.C_Breadcrumb=fe.t,exports.C_Captcha=o.t,exports.C_Cascade=ee.t,exports.C_Chat=I.t,exports.C_City=le.t,exports.C_Code=r.t,exports.C_CollapsePanel=f.t,exports.C_ContextMenu=L.t,exports.C_Cron=S.t,exports.C_Date=oe.t,exports.C_Draggable=v.t,exports.C_Editor=se.t,exports.C_FilePreview=E.t,exports.C_Form=O.t,exports.C_FormModal=de.t,exports.C_FormSearch=m.t,exports.C_FormulaEditor=C.t,exports.C_FullCalendar=b.t,exports.C_GlobalSearch=j.t,exports.C_Guide=te.t,exports.C_Icon=n.t,exports.C_ImageCropper=_.t,exports.C_Language=ae.t,exports.C_Login=R.t,exports.C_Map=c.t,exports.C_Markdown=ce.t,exports.C_Menu=M.t,exports.C_NotificationCenter=x.t,exports.C_OrgChart=me.t,exports.C_Progress=ne.t,exports.C_QRCode=g.t,exports.C_Signature=u.t,exports.C_Skeleton=pe.t,exports.C_SplitPane=d.t,exports.C_Steps=re.t,exports.C_Table=A.n,exports.C_Tabs=B.n,exports.C_TagsView=N.t,exports.C_Theme=ie.t,exports.C_Time=ue.t,exports.C_Timeline=z.t,exports.C_Transfer=V.t,exports.C_Tree=h.t,exports.C_Upload=i.t,exports.C_VideoPlayer=T.t,exports.C_VtableGantt=l.t,exports.C_WaterFall=y.t,exports.C_WorkFlow=D.t,exports.CaptchaVerificationError=o.n,exports.DEFAULT_ACTION_ICON=s.i,exports.DEFAULT_ANIMATION_DURATION=y.a,exports.DEFAULT_AUDIO_PLAYER_PROPS=P.n,exports.DEFAULT_AVATAR_GROUP_PROPS=F.n,exports.DEFAULT_BREAKPOINTS=y.o,exports.DEFAULT_CHAT_PROPS=I.n,exports.DEFAULT_CONTEXT_MENU_PROPS=L.n,exports.DEFAULT_CRON_EXPRESSION=S.s,exports.DEFAULT_CRON_VALUE=S.c,exports.DEFAULT_EDIT_FORM=b.i,exports.DEFAULT_FEATURES=R.n,exports.DEFAULT_FIELD_VALUE=S.l,exports.DEFAULT_FUNCTIONS=C.a,exports.DEFAULT_GAP=y.s,exports.DEFAULT_HEARTBEAT_INTERVAL=T.c,exports.DEFAULT_MAP_CONFIG=c.s,exports.DEFAULT_MAX_BADGE_COUNT=x.s,exports.DEFAULT_PAGE_SIZE=x.c,exports.DEFAULT_PLAYBACK_RATE=T.l,exports.DEFAULT_PLAYBACK_RATES=T.u,exports.DEFAULT_POLLING_INTERVAL=x.l,exports.DEFAULT_SKELETON_COUNT=y.c,exports.DEFAULT_SOCIAL_PROVIDERS=R.r,exports.DEFAULT_STORAGE_KEY=x.u,exports.DEFAULT_TIMELINE_PROPS=z.n,exports.DEFAULT_TRANSFER_PROPS=V.n,exports.DEFAULT_VOLUME=T.d,exports.DEFAULT_WS_HEARTBEAT_INTERVAL=x.d,exports.DEFAULT_WS_HEARTBEAT_MESSAGE=x.f,exports.DEFAULT_WS_MAX_RECONNECT=x.p,exports.DEFAULT_WS_RECONNECT_INTERVAL=x.m,exports.DYNAMIC_FORM_STATE_KEY=O.n,exports.EVENT_COLORS=b.a,exports.FIELD_TYPE_OPTIONS=O.r,exports.FORM_DEFAULTS=O.u,exports.FORM_GLOBAL_CONFIG_KEY=O.d,exports.HEADER_TOOLBAR=b.o,exports.INFINITE_SCROLL_THRESHOLD=y.l,exports.KEYBOARD_SHORTCUTS=T.f,exports.LAYOUTS_WITH_OWN_CONTROLS=O.f,exports.MAP_TYPES=c.c,exports.MOCK_MESSAGES=x.h,exports.MODE_ICON_MAP=P.r,exports.MONTH_LABELS=S.u,exports.NUMBER_KEYS=C.o,exports.OPERATORS=C.s,exports.OPERATOR_KEYS=C.c,exports.OSM_TILE_CONFIG=c.l,exports.PRIORITY_MAP=x.g,exports.PROGRESS_THROTTLE_INTERVAL=T.p,exports.QUALITY_LABEL_MAP=T.m,exports.SEEK_STEP=T.h,exports.SKELETON_HEIGHT_RANGE=y.u,exports.SOURCE_TYPE_MAP=T.g,exports.SPACED_OPERATORS=C.l,exports.STORAGE_KEYS=T._,exports.STORAGE_PREFIX=T.v,exports.TABLE_GLOBAL_CONFIG_KEY=A.u,exports.TIMELINE_STATUS_COLOR_MAP=z.r,exports.VOLUME_STEP=T.y,exports.WATERMARK_DEFAULT_STYLE=T.b,exports.WEEK_LABELS=S.d,exports.XGPLAYER_EVENTS=T.x,exports.applyFormatter=A.d,exports.createCaptchaProof=o.r,exports.createEditModeChecker=A.w,exports.createMenuOptions=M.n,exports.default=De,exports.defineActions=s.a,exports.defineFormConfig=k.t,exports.defineFormOptions=k.n,exports.defineTableColumns=A.r,exports.defineTableConfig=A.i,exports.defineTabs=B.t,exports.exportTableData=A.o,exports.flattenRoutes=M.r,exports.formatFileSize=i.s,exports.formatTime=P.i,exports.ganttPresetConfigs=l.n,exports.getFileIcon=i.c,exports.getInitials=F.i,exports.getItem=p.t,exports.getValidMapMarkers=c.n,exports.isValidMapCoordinate=c.r,exports.mergeFormConfig=O.p,exports.mergeGlobalConfig=A.f,exports.nameToColor=F.a,exports.normalizeMapZoom=c.i,exports.printPresets=A.v,exports.registerRenderer=O.a,exports.removeAllItem=p.n,exports.removeItem=p.r,exports.resolveActionPreset=s.o,exports.resolveConfig=A.T,exports.resolveFormConfig=O.m,exports.resolveTileConfig=c.a,exports.setItem=p.i,exports.setupHighlight=Te,exports.shouldShowActions=O.h,exports.toAMapPosition=c.o,exports.treePresetConfigs=h.r,exports.unregisterRenderer=O.o,exports.useBookmarks=T.r,exports.useCForm=k.r,exports.useCalendarEvents=b.n,exports.useCellEdit=A.S,exports.useChapters=T.i,exports.useChunkUpload=i.a,exports.useCollapsePanel=f.n,exports.useComponentFeedback=t.r,exports.useComponentLocale=t.i,exports.useCronDescription=S.n,exports.useCronParser=S.i,exports.useCronPreview=S.r,exports.useCropperCore=_.n,exports.useCrossPageSelection=A.s,exports.useDragDrop=i.n,exports.useDraggableLayout=v.n,exports.useDynamicFormState=O.i,exports.useDynamicRows=A._,exports.useEdgeInteraction=w.n,exports.useFileHash=i.o,exports.useFilePreview=E.r,exports.useFormDirty=O.l,exports.useFormGlobalConfig=O.g,exports.useFormRenderer=O.s,exports.useFormState=O.c,exports.useFormulaEvaluator=C.n,exports.useFormulaParser=C.r,exports.useFullscreen=E.n,exports.useGlobalSearch=j.n,exports.useGraphBase=w.i,exports.useGraphExport=w.r,exports.useHighlight=we,exports.useInfiniteScroll=y.n,exports.useModalEdit=A.x,exports.useNotificationCore=x.r,exports.useNotificationFormat=x.n,exports.useNotificationWS=x.i,exports.usePagination=A.h,exports.usePlaybackControl=T.o,exports.usePlayerCore=T.s,exports.usePrintWatermark=A.y,exports.useProgressTracker=T.a,exports.useQRCode=g.n,exports.useResponsiveColumns=y.i,exports.useRowDrag=A.c,exports.useRowEdit=A.C,exports.useSearchHistory=m.r,exports.useSearchState=m.n,exports.useSignatureCanvas=u.i,exports.useSignatureExport=u.n,exports.useSignatureHistory=u.r,exports.useSplitResize=d.n,exports.useSubtitle=T.n,exports.useTableActions=A.m,exports.useTableColumns=A.l,exports.useTableExpand=A.b,exports.useTableGlobalConfig=A.p,exports.useTableManager=A.g,exports.useTableQuery=A.t,exports.useTagsView=N.n,exports.useTimeSelection=ue.n,exports.useTreeOperations=h.n,exports.useUploadCore=i.r,exports.useUploadQueue=i.i,exports.useWaterFallLayout=y.r,exports.useWorkflowNodes=D.i,exports.useWorkflowPreview=D.n,exports.useWorkflowValidation=D.r,exports.validateTableRowKeys=A.a,exports.verifyCaptchaProof=o.i;
package/dist/index.d.cts CHANGED
@@ -53,7 +53,6 @@ import { i as useTagsView, n as ContextMenuLabels, r as UseTagsViewOptions, t as
53
53
  import { a as TimelineProps, i as TimelineItem, n as DEFAULT_TIMELINE_PROPS, r as STATUS_COLOR_MAP$1, t as _default$45 } from "./index26.vue.cjs";
54
54
  import { a as TabsBadgeType, c as TabsJustifyContent, d as TabsType, f as TabsValue, i as CTabsProps, l as TabsPlacement, n as _default$41, o as TabsDisplayDirective, r as CTabsEmits, s as TabsItem, t as defineTabs, u as TabsSize } from "./data.cjs";
55
55
  import { i as TransferProps, n as DEFAULT_TRANSFER_PROPS, r as TransferItem, t as _default$46 } from "./index27.vue.cjs";
56
- import "./C_Table.cjs";
57
56
  import { App } from "vue";
58
57
 
59
58
  //#region src/index.d.ts
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{i as e,n as t,r as n,t as r}from"./config.js";import{t as i}from"./C_Icon2.js";import{t as a}from"./C_Code2.js";import{a as ee,c as te,i as ne,n as re,o as ie,r as ae,s as oe,t as o}from"./C_Upload2.js";import{t as s}from"./C_Barcode2.js";import{i as se,n as ce,r as le,t as c}from"./C_Captcha2.js";import{t as l}from"./C_Cascade2.js";import{t as u}from"./C_Guide2.js";import{t as d}from"./C_Progress2.js";import{t as f}from"./C_Steps2.js";import{a as ue,i as de,n as fe,o as pe,r as me,t as p}from"./C_ActionBar2.js";import{t as m}from"./C_Theme2.js";import{t as h}from"./C_Language2.js";import{t as g}from"./C_Date2.js";import{t as _}from"./C_Editor2.js";import{t as v}from"./C_Markdown2.js";import{a as he,c as ge,i as _e,l as ve,n as ye,o as be,r as xe,s as Se,t as y}from"./C_Map2.js";import{t as b}from"./C_City2.js";import{n as Ce,t as x}from"./C_VtableGantt2.js";import{i as we,n as Te,r as Ee,t as S}from"./C_Signature2.js";import{n as De,t as C}from"./C_SplitPane2.js";import{n as Oe,t as w}from"./C_CollapsePanel2.js";import{n as ke,t as T}from"./C_Time2.js";import{i as Ae,n as je,r as Me,t as Ne}from"./storage.js";import{n as Pe,r as Fe,t as E}from"./C_FormSearch2.js";import{n as Ie,r as Le,t as D}from"./C_Tree2.js";import{n as Re,t as O}from"./C_QRCode2.js";import{n as ze,t as k}from"./C_ImageCropper2.js";import{n as Be,t as A}from"./C_Draggable2.js";import{a as Ve,c as He,i as Ue,l as We,n as Ge,o as Ke,r as qe,s as Je,t as j,u as Ye}from"./C_WaterFall2.js";import{a as Xe,i as Ze,n as Qe,o as $e,r as et,t as M}from"./C_FullCalendar2.js";import{a as tt,c as nt,d as rt,f as it,g as at,h as ot,i as st,l as ct,m as lt,n as ut,o as dt,p as ft,r as pt,s as mt,t as N,u as ht}from"./C_NotificationCenter2.js";import{a as gt,c as _t,d as vt,i as yt,l as bt,n as xt,o as St,r as Ct,s as wt,t as Tt,u as Et}from"./C_Cron2.js";import{a as Dt,c as Ot,i as kt,l as At,n as jt,o as Mt,r as Nt,s as Pt,t as P}from"./C_FormulaEditor2.js";import{i as Ft,n as It,r as Lt,t as F}from"./C_AntV2.js";import{_ as Rt,a as zt,b as Bt,c as Vt,d as Ht,f as Ut,g as Wt,h as Gt,i as Kt,l as qt,m as Jt,n as Yt,o as Xt,p as Zt,r as Qt,s as $t,t as I,u as en,v as tn,x as nn,y as rn}from"./C_VideoPlayer2.js";import{n as an,r as on,t as L}from"./C_FilePreview2.js";import{i as sn,n as cn,r as ln,t as R}from"./C_WorkFlow2.js";import{a as un,c as dn,d as z,f as fn,g as pn,h as mn,i as hn,l as gn,m as _n,n as vn,o as yn,p as bn,r as xn,s as Sn,t as B,u as Cn}from"./C_Form2.js";import{n as wn,r as Tn,t as En}from"./helpers.js";import{t as V}from"./C_FormModal2.js";import{C as Dn,S as On,T as kn,_ as An,a as jn,b as Mn,c as Nn,d as Pn,f as Fn,g as In,h as Ln,i as Rn,l as zn,m as Bn,n as H,o as Vn,p as Hn,r as Un,s as Wn,t as Gn,u as U,v as Kn,w as qn,x as Jn,y as Yn}from"./useTableQuery.js";import{n as Xn,t as W}from"./C_GlobalSearch2.js";import{n as Zn,r as Qn,t as G}from"./C_Menu2.js";import{t as K}from"./C_Breadcrumb2.js";import{n as $n,t as q}from"./C_TagsView2.js";import{i as er,n as tr,r as nr,t as J}from"./C_AudioPlayer2.js";import{a as rr,i as ir,n as ar,r as or,t as Y}from"./C_AvatarGroup2.js";import{n as sr,t as cr}from"./C_Chat2.js";import{n as lr,t as ur}from"./C_ContextMenu2.js";import{n as dr,r as fr,t as pr}from"./C_Login2.js";import{n as mr,r as hr,t as gr}from"./C_Timeline2.js";import{n as _r,t as vr}from"./data2.js";import{n as yr,t as br}from"./C_Transfer2.js";import{t as xr}from"./C_Skeleton2.js";import{t as Sr}from"./C_OrgChart2.js";import Cr from"highlight.js/lib/core";import wr from"highlight.js/lib/languages/javascript";import Tr from"highlight.js/lib/languages/typescript";import Er from"highlight.js/lib/languages/json";import Dr from"highlight.js/lib/languages/xml";import Or from"highlight.js/lib/languages/css";import kr from"highlight.js/lib/languages/bash";import Ar from"highlight.js/lib/languages/yaml";import jr from"highlight.js/lib/languages/markdown";import Mr from"highlight.js/lib/languages/java";import Nr from"highlight.js/lib/languages/csharp";import Pr from"highlight.js/lib/languages/go";import Fr from"highlight.js/lib/languages/python";const Ir={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)},X=new Set,Z=new Map,Q=Cr;function Lr(e,t){Q.registerLanguage(e,t),X.add(e)}function Rr(e){[[`javascript`,wr],[`typescript`,Tr],[`json`,Er],[`html`,Dr],[`xml`,Dr],[`css`,Or],[`bash`,kr],[`shell`,kr],[`yaml`,Ar],[`yml`,Ar],[`markdown`,jr],[`java`,Mr],[`csharp`,Nr],[`go`,Pr],[`python`,Fr]].forEach(([e,t])=>{Lr(e,t)}),Q.configure({ignoreUnescapedHTML:!0,languages:e.autoDetect?void 0:[]}),e.extraLanguages?.length&&zr(e.extraLanguages,e)}async function zr(e,t={}){let n=e.map(e=>Br(e,t));return(await Promise.allSettled(n)).map((t,n)=>t.status===`fulfilled`&&t.value?e[n]:null).filter(Boolean)}async function Br(e,t={}){let n=e.toLowerCase();if(X.has(n))return!0;let r=Z.get(n);if(r)return r;let i=Ir[n];if(!i)return t.logger?.warn(`[HighlightPlugin] Language '${e}' not supported`),!1;let a=(async()=>{try{return Lr(n,(await i()).default),t.debug&&t.logger?.info(`[HighlightPlugin] Language '${n}' loaded successfully`),!0}catch(e){return t.logger?.error(`[HighlightPlugin] Failed to load language '${n}'`,e),t.onError?.(e,{source:`language-loader`,language:n}),!1}finally{Z.delete(n)}})();return Z.set(n,a),a}const Vr=(e={})=>({getHljs:()=>Q,loadLanguage:t=>Br(t,e),loadLanguages:t=>zr(t,e),getLoadedLanguages:()=>Array.from(X)});function $(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t};Rr(n),typeof window<`u`&&(window.hljs=Q);let r=Vr(n);e.provide(`highlightManager`,r),e.config.globalProperties.$highlight=r,n.debug&&n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)}const Hr=[a,i,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,Tt,P,F,I,L,R,B,V,H,W,G,K,q,J,Y,cr,ur,pr,gr,_r,br,xr,Sr];var Ur={install:(e,n={})=>{Hr.forEach(t=>{let n=t,r=n.__name||n.name||`UnknownComponent`;e.component(r,t)}),n.highlight!==void 0&&$(e,n.highlight),n.feedback&&e.provide(r,n.feedback),n.locale&&e.provide(t,n.locale),n.form&&e.provide(z,n.form),n.table&&e.provide(U,n.table)}};export{fe as ACTION_BAR_DEFAULT_CONFIG,kt as ACTION_KEYS,me as ACTION_PRESETS,or as AVATAR_STATUS_COLOR_MAP,et as BUTTON_TEXT,tt as CATEGORY_MAP,dt as CATEGORY_TABS,r as COMPONENT_FEEDBACK_KEY,t as COMPONENT_LOCALE_KEY,gt as CRON_FIELD_META,St as CRON_TEMPLATES,p as C_ActionBar,F as C_AntV,J as C_AudioPlayer,Y as C_AvatarGroup,s as C_Barcode,K as C_Breadcrumb,c as C_Captcha,l as C_Cascade,cr as C_Chat,b as C_City,a as C_Code,w as C_CollapsePanel,ur as C_ContextMenu,Tt as C_Cron,g as C_Date,A as C_Draggable,_ as C_Editor,L as C_FilePreview,B as C_Form,V as C_FormModal,E as C_FormSearch,P as C_FormulaEditor,M as C_FullCalendar,W as C_GlobalSearch,u as C_Guide,i as C_Icon,k as C_ImageCropper,h as C_Language,pr as C_Login,y as C_Map,v as C_Markdown,G as C_Menu,N as C_NotificationCenter,Sr as C_OrgChart,d as C_Progress,O as C_QRCode,S as C_Signature,xr as C_Skeleton,C as C_SplitPane,f as C_Steps,H as C_Table,_r as C_Tabs,q as C_TagsView,m as C_Theme,T as C_Time,gr as C_Timeline,br as C_Transfer,D as C_Tree,o as C_Upload,I as C_VideoPlayer,x as C_VtableGantt,j as C_WaterFall,R as C_WorkFlow,ce as CaptchaVerificationError,de as DEFAULT_ACTION_ICON,Ve as DEFAULT_ANIMATION_DURATION,tr as DEFAULT_AUDIO_PLAYER_PROPS,ar as DEFAULT_AVATAR_GROUP_PROPS,Ke as DEFAULT_BREAKPOINTS,sr as DEFAULT_CHAT_PROPS,lr as DEFAULT_CONTEXT_MENU_PROPS,wt as DEFAULT_CRON_EXPRESSION,_t as DEFAULT_CRON_VALUE,Ze as DEFAULT_EDIT_FORM,dr as DEFAULT_FEATURES,bt as DEFAULT_FIELD_VALUE,Dt as DEFAULT_FUNCTIONS,Je as DEFAULT_GAP,Vt as DEFAULT_HEARTBEAT_INTERVAL,Se as DEFAULT_MAP_CONFIG,mt as DEFAULT_MAX_BADGE_COUNT,nt as DEFAULT_PAGE_SIZE,qt as DEFAULT_PLAYBACK_RATE,en as DEFAULT_PLAYBACK_RATES,ct as DEFAULT_POLLING_INTERVAL,He as DEFAULT_SKELETON_COUNT,fr as DEFAULT_SOCIAL_PROVIDERS,ht as DEFAULT_STORAGE_KEY,mr as DEFAULT_TIMELINE_PROPS,yr as DEFAULT_TRANSFER_PROPS,Ht as DEFAULT_VOLUME,rt as DEFAULT_WS_HEARTBEAT_INTERVAL,it as DEFAULT_WS_HEARTBEAT_MESSAGE,ft as DEFAULT_WS_MAX_RECONNECT,lt as DEFAULT_WS_RECONNECT_INTERVAL,vn as DYNAMIC_FORM_STATE_KEY,Xe as EVENT_COLORS,xn as FIELD_TYPE_OPTIONS,Cn as FORM_DEFAULTS,z as FORM_GLOBAL_CONFIG_KEY,$e as HEADER_TOOLBAR,We as INFINITE_SCROLL_THRESHOLD,Ut as KEYBOARD_SHORTCUTS,fn as LAYOUTS_WITH_OWN_CONTROLS,ge as MAP_TYPES,ot as MOCK_MESSAGES,nr as MODE_ICON_MAP,Et as MONTH_LABELS,Mt as NUMBER_KEYS,Pt as OPERATORS,Ot as OPERATOR_KEYS,ve as OSM_TILE_CONFIG,at as PRIORITY_MAP,Zt as PROGRESS_THROTTLE_INTERVAL,Jt as QUALITY_LABEL_MAP,Gt as SEEK_STEP,Ye as SKELETON_HEIGHT_RANGE,Wt as SOURCE_TYPE_MAP,At as SPACED_OPERATORS,Rt as STORAGE_KEYS,tn as STORAGE_PREFIX,U as TABLE_GLOBAL_CONFIG_KEY,hr as TIMELINE_STATUS_COLOR_MAP,rn as VOLUME_STEP,Bt as WATERMARK_DEFAULT_STYLE,vt as WEEK_LABELS,nn as XGPLAYER_EVENTS,Pn as applyFormatter,le as createCaptchaProof,qn as createEditModeChecker,Zn as createMenuOptions,Ur as default,ue as defineActions,En as defineFormConfig,wn as defineFormOptions,Un as defineTableColumns,Rn as defineTableConfig,vr as defineTabs,Vn as exportTableData,Qn as flattenRoutes,oe as formatFileSize,er as formatTime,Ce as ganttPresetConfigs,te as getFileIcon,ir as getInitials,Ne as getItem,ye as getValidMapMarkers,xe as isValidMapCoordinate,bn as mergeFormConfig,Fn as mergeGlobalConfig,rr as nameToColor,_e as normalizeMapZoom,Kn as printPresets,un as registerRenderer,je as removeAllItem,Me as removeItem,pe as resolveActionPreset,kn as resolveConfig,_n as resolveFormConfig,he as resolveTileConfig,Ae as setItem,$ as setupHighlight,mn as shouldShowActions,be as toAMapPosition,Le as treePresetConfigs,yn as unregisterRenderer,Qt as useBookmarks,Tn as useCForm,Qe as useCalendarEvents,On as useCellEdit,Kt as useChapters,ee as useChunkUpload,Oe as useCollapsePanel,n as useComponentFeedback,e as useComponentLocale,xt as useCronDescription,yt as useCronParser,Ct as useCronPreview,ze as useCropperCore,Wn as useCrossPageSelection,re as useDragDrop,Be as useDraggableLayout,hn as useDynamicFormState,An as useDynamicRows,It as useEdgeInteraction,ie as useFileHash,on as useFilePreview,gn as useFormDirty,pn as useFormGlobalConfig,Sn as useFormRenderer,dn as useFormState,jt as useFormulaEvaluator,Nt as useFormulaParser,an as useFullscreen,Xn as useGlobalSearch,Ft as useGraphBase,Lt as useGraphExport,Vr as useHighlight,Ge as useInfiniteScroll,Jn as useModalEdit,pt as useNotificationCore,ut as useNotificationFormat,st as useNotificationWS,Ln as usePagination,Xt as usePlaybackControl,$t as usePlayerCore,Yn as usePrintWatermark,zt as useProgressTracker,Re as useQRCode,Ue as useResponsiveColumns,Nn as useRowDrag,Dn as useRowEdit,Fe as useSearchHistory,Pe as useSearchState,we as useSignatureCanvas,Te as useSignatureExport,Ee as useSignatureHistory,De as useSplitResize,Yt as useSubtitle,Bn as useTableActions,zn as useTableColumns,Mn as useTableExpand,Hn as useTableGlobalConfig,In as useTableManager,Gn as useTableQuery,$n as useTagsView,ke as useTimeSelection,Ie as useTreeOperations,ae as useUploadCore,ne as useUploadQueue,qe as useWaterFallLayout,sn as useWorkflowNodes,cn as useWorkflowPreview,ln as useWorkflowValidation,jn as validateTableRowKeys,se as verifyCaptchaProof};
1
+ import{i as e,n as t,r as n,t as r}from"./config.js";import{t as i}from"./C_Icon2.js";import{t as a}from"./C_Code2.js";import{a as ee,c as te,i as ne,n as re,o as ie,r as ae,s as oe,t as o}from"./C_Upload2.js";import{t as s}from"./C_Barcode2.js";import{i as se,n as ce,r as le,t as c}from"./C_Captcha2.js";import{t as l}from"./C_Cascade2.js";import{t as u}from"./C_Guide2.js";import{t as d}from"./C_Progress2.js";import{t as f}from"./C_Steps2.js";import{a as ue,i as de,n as fe,o as pe,r as me,t as p}from"./C_ActionBar2.js";import{t as m}from"./C_Theme2.js";import{t as h}from"./C_Language2.js";import{t as g}from"./C_Date2.js";import{t as _}from"./C_Editor2.js";import{t as v}from"./C_Markdown2.js";import{a as he,c as ge,i as _e,l as ve,n as ye,o as be,r as xe,s as Se,t as y}from"./C_Map2.js";import{t as b}from"./C_City2.js";import{n as Ce,t as x}from"./C_VtableGantt2.js";import{i as we,n as Te,r as Ee,t as S}from"./C_Signature2.js";import{n as De,t as C}from"./C_SplitPane2.js";import{n as Oe,t as w}from"./C_CollapsePanel2.js";import{n as ke,t as T}from"./C_Time2.js";import{i as Ae,n as je,r as Me,t as Ne}from"./storage.js";import{n as Pe,r as Fe,t as E}from"./C_FormSearch2.js";import{n as Ie,r as Le,t as D}from"./C_Tree2.js";import{n as Re,t as O}from"./C_QRCode2.js";import{n as ze,t as k}from"./C_ImageCropper2.js";import{n as Be,t as A}from"./C_Draggable2.js";import{a as Ve,c as He,i as Ue,l as We,n as Ge,o as Ke,r as qe,s as Je,t as j,u as Ye}from"./C_WaterFall2.js";import{a as Xe,i as Ze,n as Qe,o as $e,r as et,t as M}from"./C_FullCalendar2.js";import{a as tt,c as nt,d as rt,f as it,g as at,h as ot,i as st,l as ct,m as lt,n as ut,o as dt,p as ft,r as pt,s as mt,t as N,u as ht}from"./C_NotificationCenter2.js";import{a as gt,c as _t,d as vt,i as yt,l as bt,n as xt,o as St,r as Ct,s as wt,t as Tt,u as Et}from"./C_Cron2.js";import{a as Dt,c as Ot,i as kt,l as At,n as jt,o as Mt,r as Nt,s as Pt,t as P}from"./C_FormulaEditor2.js";import{i as Ft,n as It,r as Lt,t as F}from"./C_AntV2.js";import{_ as Rt,a as zt,b as Bt,c as Vt,d as Ht,f as Ut,g as Wt,h as Gt,i as Kt,l as qt,m as Jt,n as Yt,o as Xt,p as Zt,r as Qt,s as $t,t as I,u as en,v as tn,x as nn,y as rn}from"./C_VideoPlayer2.js";import{n as an,r as on,t as L}from"./C_FilePreview2.js";import{i as sn,n as cn,r as ln,t as R}from"./C_WorkFlow2.js";import{a as un,c as dn,d as z,f as fn,g as pn,h as mn,i as hn,l as gn,m as _n,n as vn,o as yn,p as bn,r as xn,s as Sn,t as B,u as Cn}from"./C_Form2.js";import{n as wn,r as Tn,t as En}from"./helpers.js";import{t as V}from"./C_FormModal2.js";import{C as Dn,S as On,T as kn,_ as An,a as jn,b as Mn,c as Nn,d as Pn,f as Fn,g as In,h as Ln,i as Rn,l as zn,m as Bn,n as H,o as Vn,p as Hn,r as Un,s as Wn,t as Gn,u as U,v as Kn,w as qn,x as Jn,y as Yn}from"./useTableQuery.js";import{n as Xn,t as W}from"./C_GlobalSearch2.js";import{n as Zn,r as Qn,t as G}from"./C_Menu2.js";import{t as K}from"./C_Breadcrumb2.js";import{n as $n,t as q}from"./C_TagsView2.js";import{i as er,n as tr,r as nr,t as J}from"./C_AudioPlayer2.js";import{a as rr,i as ir,n as ar,r as or,t as Y}from"./C_AvatarGroup2.js";import{n as sr,t as cr}from"./C_Chat2.js";import{n as lr,t as ur}from"./C_ContextMenu2.js";import{n as dr,r as fr,t as pr}from"./C_Login2.js";import{n as mr,r as hr,t as gr}from"./C_Timeline2.js";import{n as _r,t as vr}from"./data2.js";import{n as yr,t as br}from"./C_Transfer2.js";import{t as xr}from"./C_Skeleton2.js";import{t as Sr}from"./C_OrgChart2.js";import Cr from"highlight.js/lib/core";import wr from"highlight.js/lib/languages/javascript";import Tr from"highlight.js/lib/languages/typescript";import Er from"highlight.js/lib/languages/json";import Dr from"highlight.js/lib/languages/xml";import Or from"highlight.js/lib/languages/css";import kr from"highlight.js/lib/languages/bash";import Ar from"highlight.js/lib/languages/yaml";import jr from"highlight.js/lib/languages/markdown";import Mr from"highlight.js/lib/languages/java";import Nr from"highlight.js/lib/languages/csharp";import Pr from"highlight.js/lib/languages/go";import Fr from"highlight.js/lib/languages/python";const Ir={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)},X=new Set,Z=new Map,Q=Cr;function Lr(e,t){Q.registerLanguage(e,t),X.add(e)}function Rr(e){[[`javascript`,wr],[`typescript`,Tr],[`json`,Er],[`html`,Dr],[`xml`,Dr],[`css`,Or],[`bash`,kr],[`shell`,kr],[`yaml`,Ar],[`yml`,Ar],[`markdown`,jr],[`java`,Mr],[`csharp`,Nr],[`go`,Pr],[`python`,Fr]].forEach(([e,t])=>{Lr(e,t)}),Q.configure({ignoreUnescapedHTML:!0,languages:e.autoDetect?void 0:[]}),e.extraLanguages?.length&&zr(e.extraLanguages,e)}async function zr(e,t={}){let n=e.map(e=>Br(e,t));return(await Promise.allSettled(n)).map((t,n)=>t.status===`fulfilled`&&t.value?e[n]:null).filter(Boolean)}async function Br(e,t={}){let n=e.toLowerCase();if(X.has(n))return!0;let r=Z.get(n);if(r)return r;let i=Ir[n];if(!i)return t.logger?.warn(`[HighlightPlugin] Language '${e}' not supported`),!1;let a=(async()=>{try{return Lr(n,(await i()).default),t.debug&&t.logger?.info(`[HighlightPlugin] Language '${n}' loaded successfully`),!0}catch(e){return t.logger?.error(`[HighlightPlugin] Failed to load language '${n}'`,e),t.onError?.(e,{source:`language-loader`,language:n}),!1}finally{Z.delete(n)}})();return Z.set(n,a),a}const Vr=(e={})=>({getHljs:()=>Q,loadLanguage:t=>Br(t,e),loadLanguages:t=>zr(t,e),getLoadedLanguages:()=>Array.from(X)});function $(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t};Rr(n),typeof window<`u`&&Reflect.set(window,`hljs`,Q);let r=Vr(n);e.provide(`highlightManager`,r),e.config.globalProperties.$highlight=r,n.debug&&n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)}const Hr=[a,i,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,Tt,P,F,I,L,R,B,V,H,W,G,K,q,J,Y,cr,ur,pr,gr,_r,br,xr,Sr];var Ur={install:(e,n={})=>{Hr.forEach(t=>{let n=t,r=n.__name||n.name||`UnknownComponent`;e.component(r,t)}),n.highlight!==void 0&&$(e,n.highlight),n.feedback&&e.provide(r,n.feedback),n.locale&&e.provide(t,n.locale),n.form&&e.provide(z,n.form),n.table&&e.provide(U,n.table)}};export{fe as ACTION_BAR_DEFAULT_CONFIG,kt as ACTION_KEYS,me as ACTION_PRESETS,or as AVATAR_STATUS_COLOR_MAP,et as BUTTON_TEXT,tt as CATEGORY_MAP,dt as CATEGORY_TABS,r as COMPONENT_FEEDBACK_KEY,t as COMPONENT_LOCALE_KEY,gt as CRON_FIELD_META,St as CRON_TEMPLATES,p as C_ActionBar,F as C_AntV,J as C_AudioPlayer,Y as C_AvatarGroup,s as C_Barcode,K as C_Breadcrumb,c as C_Captcha,l as C_Cascade,cr as C_Chat,b as C_City,a as C_Code,w as C_CollapsePanel,ur as C_ContextMenu,Tt as C_Cron,g as C_Date,A as C_Draggable,_ as C_Editor,L as C_FilePreview,B as C_Form,V as C_FormModal,E as C_FormSearch,P as C_FormulaEditor,M as C_FullCalendar,W as C_GlobalSearch,u as C_Guide,i as C_Icon,k as C_ImageCropper,h as C_Language,pr as C_Login,y as C_Map,v as C_Markdown,G as C_Menu,N as C_NotificationCenter,Sr as C_OrgChart,d as C_Progress,O as C_QRCode,S as C_Signature,xr as C_Skeleton,C as C_SplitPane,f as C_Steps,H as C_Table,_r as C_Tabs,q as C_TagsView,m as C_Theme,T as C_Time,gr as C_Timeline,br as C_Transfer,D as C_Tree,o as C_Upload,I as C_VideoPlayer,x as C_VtableGantt,j as C_WaterFall,R as C_WorkFlow,ce as CaptchaVerificationError,de as DEFAULT_ACTION_ICON,Ve as DEFAULT_ANIMATION_DURATION,tr as DEFAULT_AUDIO_PLAYER_PROPS,ar as DEFAULT_AVATAR_GROUP_PROPS,Ke as DEFAULT_BREAKPOINTS,sr as DEFAULT_CHAT_PROPS,lr as DEFAULT_CONTEXT_MENU_PROPS,wt as DEFAULT_CRON_EXPRESSION,_t as DEFAULT_CRON_VALUE,Ze as DEFAULT_EDIT_FORM,dr as DEFAULT_FEATURES,bt as DEFAULT_FIELD_VALUE,Dt as DEFAULT_FUNCTIONS,Je as DEFAULT_GAP,Vt as DEFAULT_HEARTBEAT_INTERVAL,Se as DEFAULT_MAP_CONFIG,mt as DEFAULT_MAX_BADGE_COUNT,nt as DEFAULT_PAGE_SIZE,qt as DEFAULT_PLAYBACK_RATE,en as DEFAULT_PLAYBACK_RATES,ct as DEFAULT_POLLING_INTERVAL,He as DEFAULT_SKELETON_COUNT,fr as DEFAULT_SOCIAL_PROVIDERS,ht as DEFAULT_STORAGE_KEY,mr as DEFAULT_TIMELINE_PROPS,yr as DEFAULT_TRANSFER_PROPS,Ht as DEFAULT_VOLUME,rt as DEFAULT_WS_HEARTBEAT_INTERVAL,it as DEFAULT_WS_HEARTBEAT_MESSAGE,ft as DEFAULT_WS_MAX_RECONNECT,lt as DEFAULT_WS_RECONNECT_INTERVAL,vn as DYNAMIC_FORM_STATE_KEY,Xe as EVENT_COLORS,xn as FIELD_TYPE_OPTIONS,Cn as FORM_DEFAULTS,z as FORM_GLOBAL_CONFIG_KEY,$e as HEADER_TOOLBAR,We as INFINITE_SCROLL_THRESHOLD,Ut as KEYBOARD_SHORTCUTS,fn as LAYOUTS_WITH_OWN_CONTROLS,ge as MAP_TYPES,ot as MOCK_MESSAGES,nr as MODE_ICON_MAP,Et as MONTH_LABELS,Mt as NUMBER_KEYS,Pt as OPERATORS,Ot as OPERATOR_KEYS,ve as OSM_TILE_CONFIG,at as PRIORITY_MAP,Zt as PROGRESS_THROTTLE_INTERVAL,Jt as QUALITY_LABEL_MAP,Gt as SEEK_STEP,Ye as SKELETON_HEIGHT_RANGE,Wt as SOURCE_TYPE_MAP,At as SPACED_OPERATORS,Rt as STORAGE_KEYS,tn as STORAGE_PREFIX,U as TABLE_GLOBAL_CONFIG_KEY,hr as TIMELINE_STATUS_COLOR_MAP,rn as VOLUME_STEP,Bt as WATERMARK_DEFAULT_STYLE,vt as WEEK_LABELS,nn as XGPLAYER_EVENTS,Pn as applyFormatter,le as createCaptchaProof,qn as createEditModeChecker,Zn as createMenuOptions,Ur as default,ue as defineActions,En as defineFormConfig,wn as defineFormOptions,Un as defineTableColumns,Rn as defineTableConfig,vr as defineTabs,Vn as exportTableData,Qn as flattenRoutes,oe as formatFileSize,er as formatTime,Ce as ganttPresetConfigs,te as getFileIcon,ir as getInitials,Ne as getItem,ye as getValidMapMarkers,xe as isValidMapCoordinate,bn as mergeFormConfig,Fn as mergeGlobalConfig,rr as nameToColor,_e as normalizeMapZoom,Kn as printPresets,un as registerRenderer,je as removeAllItem,Me as removeItem,pe as resolveActionPreset,kn as resolveConfig,_n as resolveFormConfig,he as resolveTileConfig,Ae as setItem,$ as setupHighlight,mn as shouldShowActions,be as toAMapPosition,Le as treePresetConfigs,yn as unregisterRenderer,Qt as useBookmarks,Tn as useCForm,Qe as useCalendarEvents,On as useCellEdit,Kt as useChapters,ee as useChunkUpload,Oe as useCollapsePanel,n as useComponentFeedback,e as useComponentLocale,xt as useCronDescription,yt as useCronParser,Ct as useCronPreview,ze as useCropperCore,Wn as useCrossPageSelection,re as useDragDrop,Be as useDraggableLayout,hn as useDynamicFormState,An as useDynamicRows,It as useEdgeInteraction,ie as useFileHash,on as useFilePreview,gn as useFormDirty,pn as useFormGlobalConfig,Sn as useFormRenderer,dn as useFormState,jt as useFormulaEvaluator,Nt as useFormulaParser,an as useFullscreen,Xn as useGlobalSearch,Ft as useGraphBase,Lt as useGraphExport,Vr as useHighlight,Ge as useInfiniteScroll,Jn as useModalEdit,pt as useNotificationCore,ut as useNotificationFormat,st as useNotificationWS,Ln as usePagination,Xt as usePlaybackControl,$t as usePlayerCore,Yn as usePrintWatermark,zt as useProgressTracker,Re as useQRCode,Ue as useResponsiveColumns,Nn as useRowDrag,Dn as useRowEdit,Fe as useSearchHistory,Pe as useSearchState,we as useSignatureCanvas,Te as useSignatureExport,Ee as useSignatureHistory,De as useSplitResize,Yt as useSubtitle,Bn as useTableActions,zn as useTableColumns,Mn as useTableExpand,Hn as useTableGlobalConfig,In as useTableManager,Gn as useTableQuery,$n as useTagsView,ke as useTimeSelection,Ie as useTreeOperations,ae as useUploadCore,ne as useUploadQueue,qe as useWaterFallLayout,sn as useWorkflowNodes,cn as useWorkflowPreview,ln as useWorkflowValidation,jn as validateTableRowKeys,se as verifyCaptchaProof};
@@ -64,11 +64,13 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
64
64
  pause: () => any;
65
65
  ended: (index: number) => any;
66
66
  modeChange: (mode: string) => any;
67
+ error: (error: unknown) => any;
67
68
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
68
69
  onPlay?: ((index: number) => any) | undefined;
69
70
  onPause?: (() => any) | undefined;
70
71
  onEnded?: ((index: number) => any) | undefined;
71
72
  onModeChange?: ((mode: string) => any) | undefined;
73
+ onError?: ((error: unknown) => any) | undefined;
72
74
  }>, {
73
75
  initialIndex: number;
74
76
  showPlaylist: boolean;
@@ -64,11 +64,13 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
64
64
  pause: () => any;
65
65
  ended: (index: number) => any;
66
66
  modeChange: (mode: string) => any;
67
+ error: (error: unknown) => any;
67
68
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
68
69
  onPlay?: ((index: number) => any) | undefined;
69
70
  onPause?: (() => any) | undefined;
70
71
  onEnded?: ((index: number) => any) | undefined;
71
72
  onModeChange?: ((mode: string) => any) | undefined;
73
+ onError?: ((error: unknown) => any) | undefined;
72
74
  }>, {
73
75
  initialIndex: number;
74
76
  showPlaylist: boolean;
@@ -75,9 +75,9 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
75
75
  y: number;
76
76
  }) => any) | undefined;
77
77
  }>, {
78
+ zIndex: number;
78
79
  items: ContextMenuItem[];
79
80
  disabled: boolean;
80
- zIndex: number;
81
81
  minWidth: number;
82
82
  maxWidth: number;
83
83
  subMenuPlacement: "right" | "left";
@@ -43,16 +43,16 @@ interface DateExpose {
43
43
  //#endregion
44
44
  //#region src/components/C_Date/index.vue.d.ts
45
45
  declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
46
- change: (value: DateModelValue) => any;
47
46
  "update:modelValue": (value: DateModelValue) => any;
47
+ change: (value: DateModelValue) => any;
48
48
  "update:singleDate": (value: DateValue) => any;
49
49
  "update:singleDateTime": (value: DateValue) => any;
50
50
  "update:dateRange": (value: DateRangeValue) => any;
51
51
  "update:dateTimeRange": (value: DateRangeValue) => any;
52
52
  "update:smartRange": (value: DateRangeValue) => any;
53
53
  }, string, vue.PublicProps, Readonly<DateProps> & Readonly<{
54
- onChange?: ((value: DateModelValue) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: DateModelValue) => any) | undefined;
55
+ onChange?: ((value: DateModelValue) => any) | undefined;
56
56
  "onUpdate:singleDate"?: ((value: DateValue) => any) | undefined;
57
57
  "onUpdate:singleDateTime"?: ((value: DateValue) => any) | undefined;
58
58
  "onUpdate:dateRange"?: ((value: DateRangeValue) => any) | undefined;
@@ -60,10 +60,10 @@ declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {
60
60
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
61
61
  }>, {
62
62
  mode: DatePickerMode;
63
- placeholder: string;
64
63
  disabled: boolean;
65
64
  startPlaceholder: string;
66
65
  endPlaceholder: string;
66
+ placeholder: string;
67
67
  disabledBeforeToday: boolean;
68
68
  disabledAfterToday: boolean;
69
69
  startDateProps: Record<string, unknown>;
@@ -43,16 +43,16 @@ interface DateExpose {
43
43
  //#endregion
44
44
  //#region src/components/C_Date/index.vue.d.ts
45
45
  declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
46
- change: (value: DateModelValue) => any;
47
46
  "update:modelValue": (value: DateModelValue) => any;
47
+ change: (value: DateModelValue) => any;
48
48
  "update:singleDate": (value: DateValue) => any;
49
49
  "update:singleDateTime": (value: DateValue) => any;
50
50
  "update:dateRange": (value: DateRangeValue) => any;
51
51
  "update:dateTimeRange": (value: DateRangeValue) => any;
52
52
  "update:smartRange": (value: DateRangeValue) => any;
53
53
  }, string, vue.PublicProps, Readonly<DateProps> & Readonly<{
54
- onChange?: ((value: DateModelValue) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: DateModelValue) => any) | undefined;
55
+ onChange?: ((value: DateModelValue) => any) | undefined;
56
56
  "onUpdate:singleDate"?: ((value: DateValue) => any) | undefined;
57
57
  "onUpdate:singleDateTime"?: ((value: DateValue) => any) | undefined;
58
58
  "onUpdate:dateRange"?: ((value: DateRangeValue) => any) | undefined;
@@ -60,10 +60,10 @@ declare const __VLS_export: vue.DefineComponent<DateProps, DateExpose, {}, {}, {
60
60
  "onUpdate:smartRange"?: ((value: DateRangeValue) => any) | undefined;
61
61
  }>, {
62
62
  mode: DatePickerMode;
63
- placeholder: string;
64
63
  disabled: boolean;
65
64
  startPlaceholder: string;
66
65
  endPlaceholder: string;
66
+ placeholder: string;
67
67
  disabledBeforeToday: boolean;
68
68
  disabledAfterToday: boolean;
69
69
  startDateProps: Record<string, unknown>;
@@ -52,12 +52,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
52
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
- height: number;
56
55
  theme: "light" | "dark";
57
56
  modelValue: string;
58
- placeholder: string;
59
- disabled: boolean;
60
57
  readonly: boolean;
58
+ height: number;
59
+ disabled: boolean;
60
+ placeholder: string;
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -52,12 +52,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
52
52
  "onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
53
53
  "onEditor-change"?: ((html: string) => any) | undefined;
54
54
  }>, {
55
- height: number;
56
55
  theme: "light" | "dark";
57
56
  modelValue: string;
58
- placeholder: string;
59
- disabled: boolean;
60
57
  readonly: boolean;
58
+ height: number;
59
+ disabled: boolean;
60
+ placeholder: string;
61
61
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
62
62
  declare const _default: typeof __VLS_export;
63
63
  //#endregion
@@ -79,13 +79,13 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
79
79
  isCompleted: () => boolean;
80
80
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
81
81
  start: () => any;
82
- complete: () => any;
83
82
  close: (currentStep: number) => any;
83
+ complete: () => any;
84
84
  "step-change": (stepIndex: number, step: GuideStep) => any;
85
85
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
86
86
  onStart?: (() => any) | undefined;
87
- onComplete?: (() => any) | undefined;
88
87
  onClose?: ((currentStep: number) => any) | undefined;
88
+ onComplete?: (() => any) | undefined;
89
89
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
90
90
  }>, {
91
91
  steps: GuideStep[];
@@ -79,13 +79,13 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
79
79
  isCompleted: () => boolean;
80
80
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
81
81
  start: () => any;
82
- complete: () => any;
83
82
  close: (currentStep: number) => any;
83
+ complete: () => any;
84
84
  "step-change": (stepIndex: number, step: GuideStep) => any;
85
85
  }, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
86
86
  onStart?: (() => any) | undefined;
87
- onComplete?: (() => any) | undefined;
88
87
  onClose?: ((currentStep: number) => any) | undefined;
88
+ onComplete?: (() => any) | undefined;
89
89
  "onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
90
90
  }>, {
91
91
  steps: GuideStep[];