@robot-admin/naive-ui-components 0.10.2 → 0.11.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 (652) hide show
  1. package/CHANGELOG.md +111 -94
  2. package/LICENSE +21 -21
  3. package/README.md +463 -315
  4. package/README_EN.md +404 -0
  5. package/SECURITY.md +23 -0
  6. package/dist/C_ActionBar.cjs +1 -1
  7. package/dist/C_ActionBar.css +46 -48
  8. package/dist/C_ActionBar.d.cts +1 -1
  9. package/dist/C_ActionBar.js +1 -1
  10. package/dist/C_ActionBar2.cjs +1 -0
  11. package/dist/C_ActionBar2.js +1 -2
  12. package/dist/C_AntV.cjs +1 -1
  13. package/dist/C_AntV.css +3 -3
  14. package/dist/C_AntV.d.cts +1 -1
  15. package/dist/C_AntV.js +1 -1
  16. package/dist/C_AntV2.cjs +4 -0
  17. package/dist/C_AntV2.js +3 -4
  18. package/dist/C_AudioPlayer.cjs +1 -1
  19. package/dist/C_AudioPlayer.css +15 -7
  20. package/dist/C_AudioPlayer.d.cts +1 -1
  21. package/dist/C_AudioPlayer.js +1 -1
  22. package/dist/C_AudioPlayer2.cjs +1 -0
  23. package/dist/C_AudioPlayer2.js +1 -2
  24. package/dist/C_AvatarGroup.cjs +1 -1
  25. package/dist/C_AvatarGroup.css +15 -7
  26. package/dist/C_AvatarGroup.d.cts +1 -1
  27. package/dist/C_AvatarGroup2.cjs +1 -0
  28. package/dist/C_AvatarGroup2.js +1 -2
  29. package/dist/C_Barcode.cjs +1 -1
  30. package/dist/C_Barcode.css +0 -2
  31. package/dist/C_Barcode.d.cts +1 -1
  32. package/dist/C_Barcode2.cjs +1 -0
  33. package/dist/C_Barcode2.js +1 -2
  34. package/dist/C_Breadcrumb.cjs +1 -1
  35. package/dist/C_Breadcrumb.css +0 -2
  36. package/dist/C_Breadcrumb.d.cts +2 -2
  37. package/dist/C_Breadcrumb.d.ts +1 -1
  38. package/dist/C_Breadcrumb.js +1 -1
  39. package/dist/C_Breadcrumb2.cjs +1 -0
  40. package/dist/C_Breadcrumb2.js +1 -2
  41. package/dist/C_Captcha.cjs +1 -1
  42. package/dist/C_Captcha.css +46 -21
  43. package/dist/C_Captcha.d.cts +3 -2
  44. package/dist/C_Captcha.d.ts +3 -2
  45. package/dist/C_Captcha.js +1 -1
  46. package/dist/C_Captcha2.cjs +1 -0
  47. package/dist/C_Captcha2.js +1 -2
  48. package/dist/C_Cascade.cjs +1 -1
  49. package/dist/C_Cascade.css +0 -2
  50. package/dist/C_Cascade.d.cts +1 -1
  51. package/dist/C_Cascade.d.ts +1 -1
  52. package/dist/C_Cascade2.cjs +1 -0
  53. package/dist/C_Cascade2.js +1 -2
  54. package/dist/C_Chat.cjs +1 -1
  55. package/dist/C_Chat.css +0 -2
  56. package/dist/C_Chat.d.cts +1 -1
  57. package/dist/C_Chat.d.ts +1 -1
  58. package/dist/C_Chat.js +1 -1
  59. package/dist/C_Chat2.cjs +1 -0
  60. package/dist/C_Chat2.js +1 -2
  61. package/dist/C_City.cjs +1 -1
  62. package/dist/C_City.css +28 -30
  63. package/dist/C_City.d.cts +1 -1
  64. package/dist/C_City.d.ts +1 -1
  65. package/dist/C_City2.cjs +1 -0
  66. package/dist/C_City2.js +1 -2
  67. package/dist/C_Code.cjs +1 -1
  68. package/dist/C_Code.css +241 -4
  69. package/dist/C_Code.d.cts +1 -1
  70. package/dist/C_Code.d.ts +1 -1
  71. package/dist/C_Code.js +1 -1
  72. package/dist/C_Code2.cjs +1 -0
  73. package/dist/C_Code2.js +1 -2
  74. package/dist/C_CollapsePanel.cjs +1 -1
  75. package/dist/C_CollapsePanel.css +12 -6
  76. package/dist/C_CollapsePanel.d.cts +1 -1
  77. package/dist/C_CollapsePanel.js +1 -1
  78. package/dist/C_CollapsePanel2.cjs +1 -0
  79. package/dist/C_CollapsePanel2.js +1 -2
  80. package/dist/C_ContextMenu.cjs +1 -1
  81. package/dist/C_ContextMenu.css +16 -18
  82. package/dist/C_ContextMenu.d.cts +1 -1
  83. package/dist/C_ContextMenu.d.ts +1 -1
  84. package/dist/C_ContextMenu.js +1 -1
  85. package/dist/C_ContextMenu2.cjs +1 -0
  86. package/dist/C_ContextMenu2.js +1 -2
  87. package/dist/C_Cron.cjs +1 -1
  88. package/dist/C_Cron.css +18 -8
  89. package/dist/C_Cron.d.cts +1 -1
  90. package/dist/C_Cron.js +1 -1
  91. package/dist/C_Cron2.cjs +1 -0
  92. package/dist/C_Cron2.js +1 -2
  93. package/dist/C_Date.cjs +1 -1
  94. package/dist/C_Date.css +1 -0
  95. package/dist/C_Date.d.cts +2 -2
  96. package/dist/C_Date.d.ts +2 -2
  97. package/dist/C_Date2.cjs +1 -0
  98. package/dist/C_Date2.js +1 -2
  99. package/dist/C_Draggable.cjs +1 -1
  100. package/dist/C_Draggable.css +9 -5
  101. package/dist/C_Draggable.d.cts +1 -1
  102. package/dist/C_Draggable2.cjs +1 -0
  103. package/dist/C_Draggable2.js +1 -2
  104. package/dist/C_Editor.cjs +1 -1
  105. package/dist/C_Editor.css +80 -67
  106. package/dist/C_Editor.d.cts +1 -1
  107. package/dist/C_Editor.d.ts +1 -1
  108. package/dist/C_Editor2.cjs +1 -0
  109. package/dist/C_Editor2.js +1 -2
  110. package/dist/C_FilePreview.cjs +1 -1
  111. package/dist/C_FilePreview.css +0 -2
  112. package/dist/C_FilePreview.d.cts +1 -1
  113. package/dist/C_FilePreview.js +1 -1
  114. package/dist/C_FilePreview2.cjs +1 -0
  115. package/dist/C_FilePreview2.js +1 -2
  116. package/dist/C_Form.base.css +980 -0
  117. package/dist/C_Form.cjs +1 -1
  118. package/dist/C_Form.css +256 -155
  119. package/dist/C_Form.d.cts +2 -2
  120. package/dist/C_Form.d.ts +2 -2
  121. package/dist/C_Form.js +1 -1
  122. package/dist/C_Form2.cjs +1 -0
  123. package/dist/C_Form2.js +1 -2
  124. package/dist/C_FormSearch.cjs +1 -1
  125. package/dist/C_FormSearch.css +47 -47
  126. package/dist/C_FormSearch.d.cts +2 -2
  127. package/dist/C_FormSearch.d.ts +2 -2
  128. package/dist/C_FormSearch2.cjs +1 -0
  129. package/dist/C_FormSearch2.js +1 -2
  130. package/dist/C_FormulaEditor.cjs +1 -1
  131. package/dist/C_FormulaEditor.css +64 -38
  132. package/dist/C_FormulaEditor.d.cts +1 -1
  133. package/dist/C_FormulaEditor.js +1 -1
  134. package/dist/C_FormulaEditor2.cjs +2 -0
  135. package/dist/C_FormulaEditor2.js +2 -2
  136. package/dist/C_FullCalendar.cjs +1 -1
  137. package/dist/C_FullCalendar.css +0 -2
  138. package/dist/C_FullCalendar.d.cts +1 -1
  139. package/dist/C_FullCalendar2.cjs +1 -0
  140. package/dist/C_FullCalendar2.js +1 -2
  141. package/dist/C_GlobalSearch.cjs +1 -1
  142. package/dist/C_GlobalSearch.css +111 -113
  143. package/dist/C_GlobalSearch.d.cts +1 -1
  144. package/dist/C_GlobalSearch2.cjs +1 -0
  145. package/dist/C_GlobalSearch2.js +1 -2
  146. package/dist/C_Guide.cjs +1 -1
  147. package/dist/C_Guide.css +1 -0
  148. package/dist/C_Guide.d.cts +1 -1
  149. package/dist/C_Guide.d.ts +1 -1
  150. package/dist/C_Guide.js +1 -1
  151. package/dist/C_Guide2.cjs +1 -0
  152. package/dist/C_Guide2.js +1 -2
  153. package/dist/C_Icon.cjs +1 -1
  154. package/dist/C_Icon.css +58 -0
  155. package/dist/C_Icon.d.cts +1 -1
  156. package/dist/C_Icon.d.ts +1 -1
  157. package/dist/C_Icon2.cjs +1 -0
  158. package/dist/C_Icon2.js +1 -2
  159. package/dist/C_ImageCropper.cjs +1 -1
  160. package/dist/C_ImageCropper.css +0 -2
  161. package/dist/C_ImageCropper.d.cts +1 -1
  162. package/dist/C_ImageCropper.js +1 -1
  163. package/dist/C_ImageCropper2.cjs +1 -0
  164. package/dist/C_ImageCropper2.js +1 -2
  165. package/dist/C_Language.cjs +1 -1
  166. package/dist/C_Language.css +1 -0
  167. package/dist/C_Language.d.cts +1 -1
  168. package/dist/C_Language.d.ts +1 -1
  169. package/dist/C_Language.js +1 -1
  170. package/dist/C_Language2.cjs +1 -0
  171. package/dist/C_Language2.js +1 -2
  172. package/dist/C_Login.cjs +1 -1
  173. package/dist/C_Login.css +92 -76
  174. package/dist/C_Login.d.cts +1 -1
  175. package/dist/C_Login.d.ts +1 -1
  176. package/dist/C_Login.js +1 -1
  177. package/dist/C_Login2.cjs +1 -0
  178. package/dist/C_Login2.js +1 -2
  179. package/dist/C_Map.cjs +1 -1
  180. package/dist/C_Map.css +665 -5
  181. package/dist/C_Map.d.cts +1 -1
  182. package/dist/C_Map2.cjs +1 -0
  183. package/dist/C_Map2.js +1 -2
  184. package/dist/C_Markdown.cjs +1 -1
  185. package/dist/C_Markdown.css +940 -35
  186. package/dist/C_Markdown.d.cts +1 -1
  187. package/dist/C_Markdown.d.ts +1 -1
  188. package/dist/C_Markdown2.cjs +1 -0
  189. package/dist/C_Markdown2.js +1 -2
  190. package/dist/C_Menu.cjs +1 -1
  191. package/dist/C_Menu.css +1 -0
  192. package/dist/C_Menu.d.cts +3 -3
  193. package/dist/C_Menu.d.ts +3 -3
  194. package/dist/C_Menu2.cjs +1 -0
  195. package/dist/C_Menu2.js +1 -2
  196. package/dist/C_NotificationCenter.cjs +1 -1
  197. package/dist/C_NotificationCenter.css +95 -47
  198. package/dist/C_NotificationCenter.d.cts +1 -1
  199. package/dist/C_NotificationCenter.js +1 -1
  200. package/dist/C_NotificationCenter2.cjs +1 -0
  201. package/dist/C_NotificationCenter2.js +1 -2
  202. package/dist/C_OrgChart.cjs +1 -1
  203. package/dist/C_OrgChart.css +6 -4
  204. package/dist/C_OrgChart.d.cts +1 -1
  205. package/dist/C_OrgChart.d.ts +1 -1
  206. package/dist/C_OrgChart2.cjs +1 -0
  207. package/dist/C_OrgChart2.js +1 -2
  208. package/dist/C_Progress.cjs +1 -1
  209. package/dist/C_Progress.css +1 -0
  210. package/dist/C_Progress.d.cts +1 -1
  211. package/dist/C_Progress.d.ts +1 -1
  212. package/dist/C_Progress2.cjs +1 -0
  213. package/dist/C_Progress2.js +1 -2
  214. package/dist/C_QRCode.cjs +1 -1
  215. package/dist/C_QRCode.css +8 -10
  216. package/dist/C_QRCode.d.cts +1 -1
  217. package/dist/C_QRCode2.cjs +1 -0
  218. package/dist/C_QRCode2.js +1 -2
  219. package/dist/C_Signature.cjs +1 -1
  220. package/dist/C_Signature.css +0 -2
  221. package/dist/C_Signature.d.cts +1 -1
  222. package/dist/C_Signature.js +1 -1
  223. package/dist/C_Signature2.cjs +1 -0
  224. package/dist/C_Signature2.js +1 -2
  225. package/dist/C_Skeleton.cjs +1 -1
  226. package/dist/C_Skeleton.css +0 -2
  227. package/dist/C_Skeleton.d.cts +1 -1
  228. package/dist/C_Skeleton.d.ts +1 -1
  229. package/dist/C_Skeleton2.cjs +1 -0
  230. package/dist/C_Skeleton2.js +1 -2
  231. package/dist/C_SplitPane.cjs +1 -1
  232. package/dist/C_SplitPane.css +27 -11
  233. package/dist/C_SplitPane.d.cts +1 -1
  234. package/dist/C_SplitPane.js +1 -1
  235. package/dist/C_SplitPane2.cjs +1 -0
  236. package/dist/C_SplitPane2.js +1 -2
  237. package/dist/C_Steps.cjs +1 -1
  238. package/dist/C_Steps.css +37 -39
  239. package/dist/C_Steps.d.cts +1 -1
  240. package/dist/C_Steps.d.ts +1 -1
  241. package/dist/C_Steps2.cjs +1 -0
  242. package/dist/C_Steps2.js +1 -2
  243. package/dist/C_Table.base.css +1588 -0
  244. package/dist/C_Table.cjs +1 -1
  245. package/dist/C_Table.css +1202 -112
  246. package/dist/C_Table.d.cts +2 -2
  247. package/dist/C_Table.d.ts +11 -2
  248. package/dist/C_Table.js +1 -1
  249. package/dist/C_TagsView.cjs +1 -1
  250. package/dist/C_TagsView.css +44 -40
  251. package/dist/C_TagsView.d.cts +2 -2
  252. package/dist/C_TagsView.d.ts +2 -2
  253. package/dist/C_TagsView.js +1 -1
  254. package/dist/C_TagsView2.cjs +1 -0
  255. package/dist/C_TagsView2.js +1 -2
  256. package/dist/C_Theme.cjs +1 -1
  257. package/dist/C_Theme.css +1 -0
  258. package/dist/C_Theme.d.cts +1 -1
  259. package/dist/C_Theme.d.ts +1 -1
  260. package/dist/C_Theme.js +1 -1
  261. package/dist/C_Theme2.cjs +1 -0
  262. package/dist/C_Theme2.js +1 -2
  263. package/dist/C_Time.cjs +1 -1
  264. package/dist/C_Time.css +0 -2
  265. package/dist/C_Time.d.cts +2 -2
  266. package/dist/C_Time.d.ts +2 -2
  267. package/dist/C_Time2.cjs +1 -0
  268. package/dist/C_Time2.js +1 -2
  269. package/dist/C_Timeline.cjs +1 -1
  270. package/dist/C_Timeline.css +44 -46
  271. package/dist/C_Timeline.d.cts +1 -1
  272. package/dist/C_Timeline.js +1 -1
  273. package/dist/C_Timeline2.cjs +1 -0
  274. package/dist/C_Timeline2.js +1 -2
  275. package/dist/C_Transfer.cjs +1 -1
  276. package/dist/C_Transfer.css +21 -9
  277. package/dist/C_Transfer.d.cts +1 -1
  278. package/dist/C_Transfer.js +1 -1
  279. package/dist/C_Transfer2.cjs +1 -0
  280. package/dist/C_Transfer2.js +1 -2
  281. package/dist/C_Tree.cjs +1 -1
  282. package/dist/C_Tree.css +0 -2
  283. package/dist/C_Tree.d.cts +1 -1
  284. package/dist/C_Tree.js +1 -1
  285. package/dist/C_Tree2.cjs +1 -0
  286. package/dist/C_Tree2.js +1 -2
  287. package/dist/C_Upload.cjs +1 -1
  288. package/dist/C_Upload.css +17 -17
  289. package/dist/C_Upload.d.cts +1 -1
  290. package/dist/C_Upload.js +1 -1
  291. package/dist/C_Upload2.cjs +1 -0
  292. package/dist/C_Upload2.js +1 -25
  293. package/dist/C_VideoPlayer.cjs +1 -1
  294. package/dist/C_VideoPlayer.css +35 -24
  295. package/dist/C_VideoPlayer.d.cts +2 -2
  296. package/dist/C_VideoPlayer.d.ts +2 -2
  297. package/dist/C_VideoPlayer.js +1 -1
  298. package/dist/C_VideoPlayer2.cjs +3 -0
  299. package/dist/C_VideoPlayer2.js +3 -4
  300. package/dist/C_VtableGantt.cjs +1 -1
  301. package/dist/C_VtableGantt.css +15 -7
  302. package/dist/C_VtableGantt.d.cts +1 -1
  303. package/dist/C_VtableGantt.d.ts +1 -1
  304. package/dist/C_VtableGantt.js +1 -1
  305. package/dist/C_VtableGantt2.cjs +1 -0
  306. package/dist/C_VtableGantt2.js +1 -2
  307. package/dist/C_WaterFall.cjs +1 -1
  308. package/dist/C_WaterFall.css +15 -17
  309. package/dist/C_WaterFall.d.cts +1 -1
  310. package/dist/C_WaterFall2.cjs +1 -0
  311. package/dist/C_WaterFall2.js +1 -2
  312. package/dist/C_WorkFlow.cjs +1 -1
  313. package/dist/C_WorkFlow.css +257 -197
  314. package/dist/C_WorkFlow.d.cts +1 -1
  315. package/dist/C_WorkFlow.js +1 -1
  316. package/dist/C_WorkFlow2.cjs +1 -0
  317. package/dist/C_WorkFlow2.js +1 -2
  318. package/dist/city.cjs +1 -0
  319. package/dist/city.js +1 -2
  320. package/dist/config.cjs +1 -0
  321. package/dist/config.d.cts +33 -0
  322. package/dist/config.d.ts +33 -0
  323. package/dist/config.js +1 -0
  324. package/dist/constants.d.cts +272 -0
  325. package/dist/constants.d.ts +2 -3
  326. package/dist/constants2.d.cts +177 -0
  327. package/dist/constants2.d.ts +3 -4
  328. package/dist/constants3.d.cts +479 -0
  329. package/dist/constants3.d.ts +16 -12
  330. package/dist/constants4.d.cts +420 -0
  331. package/dist/constants4.d.ts +27 -37
  332. package/dist/constants5.d.cts +491 -0
  333. package/dist/constants5.d.ts +20 -4
  334. package/dist/data.cjs +1 -0
  335. package/dist/data.d.cts +67 -0
  336. package/dist/data.d.ts +12 -12
  337. package/dist/data.js +1 -0
  338. package/dist/export-helper.cjs +1 -0
  339. package/dist/helpers.cjs +1 -0
  340. package/dist/helpers.js +1 -0
  341. package/dist/html.cjs +1 -0
  342. package/dist/html.js +1 -0
  343. package/dist/images/marker-icon-2x.png +0 -0
  344. package/dist/images/marker-icon.png +0 -0
  345. package/dist/images/marker-shadow.png +0 -0
  346. package/dist/index.cjs +1 -2
  347. package/dist/index.d.cts +60 -99
  348. package/dist/index.d.ts +75 -164
  349. package/dist/index.js +1 -2
  350. package/dist/index.vue.d.cts +79 -0
  351. package/dist/index.vue.d.ts +3 -4
  352. package/dist/index10.vue.d.cts +47 -0
  353. package/dist/index10.vue.d.ts +80 -40
  354. package/dist/index11.vue.d.cts +88 -0
  355. package/dist/index11.vue.d.ts +68 -78
  356. package/dist/index12.vue.d.cts +79 -0
  357. package/dist/index12.vue.d.ts +49 -45
  358. package/dist/index13.vue.d.cts +64 -0
  359. package/dist/index13.vue.d.ts +99 -34
  360. package/dist/index14.vue.d.cts +106 -0
  361. package/dist/index14.vue.d.ts +82 -99
  362. package/dist/index15.vue.d.cts +91 -0
  363. package/dist/index15.vue.d.ts +25 -83
  364. package/dist/index16.vue.d.cts +34 -0
  365. package/dist/index16.vue.d.ts +113 -24
  366. package/dist/index17.vue.d.cts +124 -0
  367. package/dist/index17.vue.d.ts +76 -110
  368. package/dist/index18.vue.d.cts +83 -0
  369. package/dist/index18.vue.d.ts +67 -73
  370. package/dist/index19.vue.d.cts +101 -0
  371. package/dist/index19.vue.d.ts +93 -59
  372. package/dist/index2.vue.d.cts +82 -0
  373. package/dist/index2.vue.d.ts +7 -8
  374. package/dist/index20.vue.d.cts +54 -0
  375. package/dist/index20.vue.d.ts +40 -88
  376. package/dist/index21.vue.d.cts +103 -0
  377. package/dist/index21.vue.d.ts +89 -41
  378. package/dist/index22.vue.d.cts +45 -0
  379. package/dist/index22.vue.d.ts +37 -96
  380. package/dist/index23.vue.d.cts +19 -0
  381. package/dist/index23.vue.d.ts +8 -35
  382. package/dist/{index28.vue.d.ts → index24.vue.d.cts} +4 -5
  383. package/dist/index24.vue.d.ts +650 -86
  384. package/dist/index25.vue.d.cts +96 -0
  385. package/dist/index25.vue.d.ts +86 -10
  386. package/dist/index26.vue.d.cts +111 -0
  387. package/dist/index26.vue.d.ts +4 -5
  388. package/dist/index27.vue.d.cts +80 -0
  389. package/dist/index27.vue.d.ts +2 -3
  390. package/dist/index3.vue.d.cts +87 -0
  391. package/dist/index3.vue.d.ts +4 -5
  392. package/dist/index4.vue.d.cts +37 -0
  393. package/dist/index4.vue.d.ts +6 -7
  394. package/dist/index5.vue.d.cts +133 -0
  395. package/dist/index5.vue.d.ts +2 -3
  396. package/dist/index6.vue.d.cts +29 -0
  397. package/dist/index6.vue.d.ts +25 -38
  398. package/dist/index7.vue.d.cts +32 -0
  399. package/dist/index7.vue.d.ts +117 -23
  400. package/dist/index8.vue.d.cts +127 -0
  401. package/dist/index8.vue.d.ts +17 -111
  402. package/dist/index9.vue.d.cts +34 -0
  403. package/dist/index9.vue.d.ts +38 -26
  404. package/dist/public.d.ts +166 -0
  405. package/dist/resolver.cjs +1 -2
  406. package/dist/resolver.d.cts +6 -4
  407. package/dist/resolver.d.ts +6 -4
  408. package/dist/resolver.js +1 -2
  409. package/dist/storage.cjs +1 -0
  410. package/dist/storage.js +1 -2
  411. package/dist/style.css +9864 -7702
  412. package/dist/types.d.cts +107 -0
  413. package/dist/types.d.ts +52 -102
  414. package/dist/types2.d.cts +58 -0
  415. package/dist/useCalendarEvents.d.cts +150 -0
  416. package/dist/useCalendarEvents.d.ts +3 -4
  417. package/dist/useCollapsePanel.d.cts +133 -0
  418. package/dist/useCollapsePanel.d.ts +2 -3
  419. package/dist/useCropperCore.d.cts +104 -0
  420. package/dist/useCropperCore.d.ts +11 -9
  421. package/dist/useDraggableLayout.d.cts +196 -0
  422. package/dist/useDraggableLayout.d.ts +17 -15
  423. package/dist/useDynamicFormState.d.cts +749 -0
  424. package/dist/useDynamicFormState.d.ts +234 -112
  425. package/dist/useEdgeInteraction.d.cts +324 -0
  426. package/dist/useEdgeInteraction.d.ts +6 -7
  427. package/dist/useFullscreen.d.cts +165 -0
  428. package/dist/useFullscreen.d.ts +1 -2
  429. package/dist/useGlobalSearch.d.cts +110 -0
  430. package/dist/useGlobalSearch.d.ts +17 -9
  431. package/dist/useInfiniteScroll.d.cts +177 -0
  432. package/dist/useInfiniteScroll.d.ts +13 -5
  433. package/dist/useQRCode.d.cts +89 -0
  434. package/dist/useQRCode.d.ts +5 -3
  435. package/dist/useSearchState.d.cts +871 -0
  436. package/dist/useSearchState.d.ts +830 -30
  437. package/dist/useSignatureHistory.d.cts +197 -0
  438. package/dist/useSignatureHistory.d.ts +10 -5
  439. package/dist/useSplitResize.d.cts +157 -0
  440. package/dist/useSplitResize.d.ts +3 -4
  441. package/dist/useTableQuery.cjs +3 -0
  442. package/dist/{useModalEdit.d.ts → useTableQuery.d.cts} +624 -211
  443. package/dist/useTableQuery.d.ts +1721 -0
  444. package/dist/useTableQuery.js +3 -0
  445. package/dist/useTimeSelection.d.cts +116 -0
  446. package/dist/useTimeSelection.d.ts +20 -9
  447. package/dist/useTreeOperations.d.cts +185 -0
  448. package/dist/useTreeOperations.d.ts +13 -11
  449. package/dist/useWorkflowValidation.d.cts +1051 -0
  450. package/dist/useWorkflowValidation.d.ts +62 -63
  451. package/dist/verification.d.cts +58 -0
  452. package/dist/verification.d.ts +58 -0
  453. package/package.json +102 -69
  454. package/dist/C_ActionBar-BAcfOfRw.css.map +0 -1
  455. package/dist/C_ActionBar-DG2HW7t5.css.map +0 -1
  456. package/dist/C_ActionBar.js.map +0 -1
  457. package/dist/C_ActionBar2.js.map +0 -1
  458. package/dist/C_AntV-D_jTK8oZ.css.map +0 -1
  459. package/dist/C_AntV-DanTAq22.css.map +0 -1
  460. package/dist/C_AntV.js.map +0 -1
  461. package/dist/C_AntV2.js.map +0 -1
  462. package/dist/C_AudioPlayer-BnYIJXPD.css.map +0 -1
  463. package/dist/C_AudioPlayer-Cj4lUdZo.css.map +0 -1
  464. package/dist/C_AudioPlayer.js.map +0 -1
  465. package/dist/C_AudioPlayer2.js.map +0 -1
  466. package/dist/C_AvatarGroup-B9d-GJ9c.css.map +0 -1
  467. package/dist/C_AvatarGroup-D3PwsKME.css.map +0 -1
  468. package/dist/C_AvatarGroup.js.map +0 -1
  469. package/dist/C_AvatarGroup2.js.map +0 -1
  470. package/dist/C_Barcode-CAU2mFcx.css.map +0 -1
  471. package/dist/C_Barcode-D2oJaEg3.css.map +0 -1
  472. package/dist/C_Barcode.js.map +0 -1
  473. package/dist/C_Barcode2.js.map +0 -1
  474. package/dist/C_Breadcrumb-BiH0d9AI.css.map +0 -1
  475. package/dist/C_Breadcrumb-DOcLt9uX.css.map +0 -1
  476. package/dist/C_Breadcrumb.js.map +0 -1
  477. package/dist/C_Breadcrumb2.js.map +0 -1
  478. package/dist/C_Captcha-B3yrtG7t.css.map +0 -1
  479. package/dist/C_Captcha-D4hDdWDu.css.map +0 -1
  480. package/dist/C_Captcha.js.map +0 -1
  481. package/dist/C_Captcha2.js.map +0 -1
  482. package/dist/C_Cascade-CmCrLVft.css.map +0 -1
  483. package/dist/C_Cascade-U6A5AJJb.css.map +0 -1
  484. package/dist/C_Cascade.js.map +0 -1
  485. package/dist/C_Cascade2.js.map +0 -1
  486. package/dist/C_Chat-DeUv6uuI.css.map +0 -1
  487. package/dist/C_Chat-DwatUQqu.css.map +0 -1
  488. package/dist/C_Chat.js.map +0 -1
  489. package/dist/C_Chat2.js.map +0 -1
  490. package/dist/C_City-DdkX6u64.css.map +0 -1
  491. package/dist/C_City-iP-dIvui.css.map +0 -1
  492. package/dist/C_City.js.map +0 -1
  493. package/dist/C_City2.js.map +0 -1
  494. package/dist/C_Code-BWmJMNS7.css.map +0 -1
  495. package/dist/C_Code-k14vjgVl.css.map +0 -1
  496. package/dist/C_Code.js.map +0 -1
  497. package/dist/C_Code2.js.map +0 -1
  498. package/dist/C_CollapsePanel-BSKcWSmY.css.map +0 -1
  499. package/dist/C_CollapsePanel-DRvRq8tB.css.map +0 -1
  500. package/dist/C_CollapsePanel.js.map +0 -1
  501. package/dist/C_CollapsePanel2.js.map +0 -1
  502. package/dist/C_ContextMenu-C9iuxG2n.css.map +0 -1
  503. package/dist/C_ContextMenu-CD0iaSju.css.map +0 -1
  504. package/dist/C_ContextMenu.js.map +0 -1
  505. package/dist/C_ContextMenu2.js.map +0 -1
  506. package/dist/C_Cron-BIQ2By9v.css.map +0 -1
  507. package/dist/C_Cron-BNSAGD6A.css.map +0 -1
  508. package/dist/C_Cron.js.map +0 -1
  509. package/dist/C_Cron2.js.map +0 -1
  510. package/dist/C_Date.js.map +0 -1
  511. package/dist/C_Date2.js.map +0 -1
  512. package/dist/C_Draggable-BDAbk4s5.css.map +0 -1
  513. package/dist/C_Draggable-UhfDLXop.css.map +0 -1
  514. package/dist/C_Draggable.js.map +0 -1
  515. package/dist/C_Draggable2.js.map +0 -1
  516. package/dist/C_Editor-CZOaChru.css.map +0 -1
  517. package/dist/C_Editor-kJAQq5z6.css.map +0 -1
  518. package/dist/C_Editor.js.map +0 -1
  519. package/dist/C_Editor2.js.map +0 -1
  520. package/dist/C_FilePreview-Bs_omgJS.css.map +0 -1
  521. package/dist/C_FilePreview-DbwoyF2j.css.map +0 -1
  522. package/dist/C_FilePreview.js.map +0 -1
  523. package/dist/C_FilePreview2.js.map +0 -1
  524. package/dist/C_Form-B_2ql62V.css.map +0 -1
  525. package/dist/C_Form-CX-7xsz3.css.map +0 -1
  526. package/dist/C_Form.js.map +0 -1
  527. package/dist/C_Form2.js.map +0 -1
  528. package/dist/C_FormSearch-C3F8peAY.css.map +0 -1
  529. package/dist/C_FormSearch-qW56bJPo.css.map +0 -1
  530. package/dist/C_FormSearch.js.map +0 -1
  531. package/dist/C_FormSearch2.js.map +0 -1
  532. package/dist/C_FormulaEditor-ChOvDbsZ.css.map +0 -1
  533. package/dist/C_FormulaEditor-mfiIUDY4.css.map +0 -1
  534. package/dist/C_FormulaEditor.js.map +0 -1
  535. package/dist/C_FormulaEditor2.js.map +0 -1
  536. package/dist/C_FullCalendar-C2nsqrgS.css.map +0 -1
  537. package/dist/C_FullCalendar-DdFtXVhy.css.map +0 -1
  538. package/dist/C_FullCalendar.js.map +0 -1
  539. package/dist/C_FullCalendar2.js.map +0 -1
  540. package/dist/C_GlobalSearch-Dq4Wo01K.css.map +0 -1
  541. package/dist/C_GlobalSearch-RB7J43gu.css.map +0 -1
  542. package/dist/C_GlobalSearch.js.map +0 -1
  543. package/dist/C_GlobalSearch2.js.map +0 -1
  544. package/dist/C_Guide.js.map +0 -1
  545. package/dist/C_Guide2.js.map +0 -1
  546. package/dist/C_Icon.js.map +0 -1
  547. package/dist/C_Icon2.js.map +0 -1
  548. package/dist/C_ImageCropper-CdTX2nxU.css.map +0 -1
  549. package/dist/C_ImageCropper-ilOqPklJ.css.map +0 -1
  550. package/dist/C_ImageCropper.js.map +0 -1
  551. package/dist/C_ImageCropper2.js.map +0 -1
  552. package/dist/C_Language.js.map +0 -1
  553. package/dist/C_Language2.js.map +0 -1
  554. package/dist/C_Login-BrQBs_m4.css.map +0 -1
  555. package/dist/C_Login-xMI1_ojE.css.map +0 -1
  556. package/dist/C_Login.js.map +0 -1
  557. package/dist/C_Login2.js.map +0 -1
  558. package/dist/C_Map-CWMMN58_.css.map +0 -1
  559. package/dist/C_Map-xSR2H-9o.css.map +0 -1
  560. package/dist/C_Map.js.map +0 -1
  561. package/dist/C_Map2.js.map +0 -1
  562. package/dist/C_Markdown-C7lTVJ1S.css.map +0 -1
  563. package/dist/C_Markdown-CZDm_baQ.css.map +0 -1
  564. package/dist/C_Markdown.js.map +0 -1
  565. package/dist/C_Markdown2.js.map +0 -1
  566. package/dist/C_Menu.js.map +0 -1
  567. package/dist/C_Menu2.js.map +0 -1
  568. package/dist/C_NotificationCenter-D7GGGWg7.css.map +0 -1
  569. package/dist/C_NotificationCenter-SSmeHA45.css.map +0 -1
  570. package/dist/C_NotificationCenter.js.map +0 -1
  571. package/dist/C_NotificationCenter2.js.map +0 -1
  572. package/dist/C_OrgChart-BXEp4i4w.css.map +0 -1
  573. package/dist/C_OrgChart-DqBufOv5.css.map +0 -1
  574. package/dist/C_OrgChart.js.map +0 -1
  575. package/dist/C_OrgChart2.js.map +0 -1
  576. package/dist/C_Progress.js.map +0 -1
  577. package/dist/C_Progress2.js.map +0 -1
  578. package/dist/C_QRCode-B_1lHUdx.css.map +0 -1
  579. package/dist/C_QRCode-CuQRYu0s.css.map +0 -1
  580. package/dist/C_QRCode.js.map +0 -1
  581. package/dist/C_QRCode2.js.map +0 -1
  582. package/dist/C_Signature-Bp-RBpAl.css.map +0 -1
  583. package/dist/C_Signature-Cb2VW1ok.css.map +0 -1
  584. package/dist/C_Signature.js.map +0 -1
  585. package/dist/C_Signature2.js.map +0 -1
  586. package/dist/C_Skeleton-BJoFYwrF.css.map +0 -1
  587. package/dist/C_Skeleton-Djsjw8XY.css.map +0 -1
  588. package/dist/C_Skeleton.js.map +0 -1
  589. package/dist/C_Skeleton2.js.map +0 -1
  590. package/dist/C_SplitPane-CgGWYsRE.css.map +0 -1
  591. package/dist/C_SplitPane-DGf6WEeR.css.map +0 -1
  592. package/dist/C_SplitPane.js.map +0 -1
  593. package/dist/C_SplitPane2.js.map +0 -1
  594. package/dist/C_Steps-27Exh7PM.css.map +0 -1
  595. package/dist/C_Steps-DU9ZsFrs.css.map +0 -1
  596. package/dist/C_Steps.js.map +0 -1
  597. package/dist/C_Steps2.js.map +0 -1
  598. package/dist/C_Table--kbQaaBv.css.map +0 -1
  599. package/dist/C_Table-D631kdXC.css.map +0 -1
  600. package/dist/C_Table.js.map +0 -1
  601. package/dist/C_Table2.js +0 -4
  602. package/dist/C_Table2.js.map +0 -1
  603. package/dist/C_TagsView-DtGtYhBH.css.map +0 -1
  604. package/dist/C_TagsView-s1dnSJAV.css.map +0 -1
  605. package/dist/C_TagsView.js.map +0 -1
  606. package/dist/C_TagsView2.js.map +0 -1
  607. package/dist/C_Theme.js.map +0 -1
  608. package/dist/C_Theme2.js.map +0 -1
  609. package/dist/C_Time-BQ9PGy8B.css.map +0 -1
  610. package/dist/C_Time-CO73krC6.css.map +0 -1
  611. package/dist/C_Time.js.map +0 -1
  612. package/dist/C_Time2.js.map +0 -1
  613. package/dist/C_Timeline-DdESmqwL.css.map +0 -1
  614. package/dist/C_Timeline-irQcO-b7.css.map +0 -1
  615. package/dist/C_Timeline.js.map +0 -1
  616. package/dist/C_Timeline2.js.map +0 -1
  617. package/dist/C_Transfer-11y3k-WD.css.map +0 -1
  618. package/dist/C_Transfer-EzdHzZNv.css.map +0 -1
  619. package/dist/C_Transfer.js.map +0 -1
  620. package/dist/C_Transfer2.js.map +0 -1
  621. package/dist/C_Tree-CsXgGfhn.css.map +0 -1
  622. package/dist/C_Tree-P7eRpnOa.css.map +0 -1
  623. package/dist/C_Tree.js.map +0 -1
  624. package/dist/C_Tree2.js.map +0 -1
  625. package/dist/C_Upload-CHjiVVh7.css.map +0 -1
  626. package/dist/C_Upload-DE3OLsZD.css.map +0 -1
  627. package/dist/C_Upload.js.map +0 -1
  628. package/dist/C_Upload2.js.map +0 -1
  629. package/dist/C_VideoPlayer-CnaNOFtW.css.map +0 -1
  630. package/dist/C_VideoPlayer-cnP88zNV.css.map +0 -1
  631. package/dist/C_VideoPlayer.js.map +0 -1
  632. package/dist/C_VideoPlayer2.js.map +0 -1
  633. package/dist/C_VtableGantt-CZlJgvpC.css.map +0 -1
  634. package/dist/C_VtableGantt-DKfQkql0.css.map +0 -1
  635. package/dist/C_VtableGantt.js.map +0 -1
  636. package/dist/C_VtableGantt2.js.map +0 -1
  637. package/dist/C_WaterFall-BJ_39ext.css.map +0 -1
  638. package/dist/C_WaterFall-cYc1vntE.css.map +0 -1
  639. package/dist/C_WaterFall.js.map +0 -1
  640. package/dist/C_WaterFall2.js.map +0 -1
  641. package/dist/C_WorkFlow-BFzRGGhJ.css.map +0 -1
  642. package/dist/C_WorkFlow-DSyCOvRp.css.map +0 -1
  643. package/dist/C_WorkFlow.js.map +0 -1
  644. package/dist/C_WorkFlow2.js.map +0 -1
  645. package/dist/city.js.map +0 -1
  646. package/dist/index.cjs.map +0 -1
  647. package/dist/index.js.map +0 -1
  648. package/dist/index2.d.ts +0 -120
  649. package/dist/resolver.cjs.map +0 -1
  650. package/dist/resolver.js.map +0 -1
  651. package/dist/storage.js.map +0 -1
  652. /package/dist/{chunk.js → chunk.cjs} +0 -0
@@ -30,22 +30,22 @@ interface Condition {
30
30
  id: string;
31
31
  name: string;
32
32
  field: string;
33
- operator: "equals" | "not_equals" | "greater_than" | "less_than" | "contains";
33
+ operator: 'equals' | 'not_equals' | 'greater_than' | 'less_than' | 'contains';
34
34
  value: string;
35
35
  }
36
- type NodeStatus = "pending" | "approved" | "rejected" | "active" | "completed";
37
- type NodeType = "start" | "approval" | "copy" | "condition";
38
- type ApprovalMode = "any" | "all" | "sequence";
39
- type ValidationErrorType = "required" | "invalid" | "incomplete" | "warning" | "error" | "custom";
36
+ type NodeStatus = 'pending' | 'approved' | 'rejected' | 'active' | 'completed';
37
+ type NodeType = 'start' | 'approval' | 'copy' | 'condition';
38
+ type ApprovalMode = 'any' | 'all' | 'sequence';
39
+ type ValidationErrorType = 'required' | 'invalid' | 'incomplete' | 'warning' | 'error' | 'custom';
40
40
  interface BaseNodeData {
41
41
  title: string;
42
42
  status?: NodeStatus;
43
- config?: Record<string, any>;
43
+ config?: Record<string, unknown>;
44
44
  initiators?: User[];
45
45
  }
46
46
  interface StartNodeData extends BaseNodeData {
47
47
  title: string;
48
- status: "active";
48
+ status: 'active';
49
49
  }
50
50
  interface ApprovalNodeData extends BaseNodeData {
51
51
  approvers?: User[];
@@ -76,7 +76,7 @@ interface WorkflowNode {
76
76
  height?: number;
77
77
  parentNode?: string;
78
78
  zIndex?: number;
79
- extent?: "parent" | [[number, number], [number, number]];
79
+ extent?: 'parent' | [[number, number], [number, number]];
80
80
  expandParent?: boolean;
81
81
  }
82
82
  interface WorkflowEdge {
@@ -90,12 +90,12 @@ interface WorkflowEdge {
90
90
  hidden?: boolean;
91
91
  deletable?: boolean;
92
92
  selectable?: boolean;
93
- data?: any;
94
- style?: any;
93
+ data?: unknown;
94
+ style?: Record<string, string | number>;
95
95
  label?: string;
96
- labelStyle?: any;
96
+ labelStyle?: Record<string, string | number>;
97
97
  labelShowBg?: boolean;
98
- labelBgStyle?: any;
98
+ labelBgStyle?: Record<string, string | number>;
99
99
  labelBgPadding?: [number, number];
100
100
  labelBgBorderRadius?: number;
101
101
  markerStart?: string;
@@ -118,15 +118,15 @@ interface WorkflowProps {
118
118
  departments?: Department[];
119
119
  modelValue?: WorkflowData;
120
120
  readonly?: boolean;
121
- theme?: "light" | "dark";
121
+ theme?: 'light' | 'dark';
122
122
  }
123
123
  interface WorkflowEmits {
124
- "update:modelValue": [value: WorkflowData];
124
+ 'update:modelValue': [value: WorkflowData];
125
125
  change: [value: WorkflowData];
126
- "node-click": [node: WorkflowNode];
127
- "edge-click": [edge: WorkflowEdge];
126
+ 'node-click': [node: WorkflowNode];
127
+ 'edge-click': [edge: WorkflowEdge];
128
128
  save: [data: WorkflowData];
129
- "validate-error": [errors: ValidationError[]];
129
+ 'validate-error': [errors: ValidationError[]];
130
130
  }
131
131
  interface ValidationError {
132
132
  nodeId: string;
@@ -135,7 +135,7 @@ interface ValidationError {
135
135
  message: string;
136
136
  type: ValidationErrorType;
137
137
  details?: string;
138
- severity?: "low" | "medium" | "high";
138
+ severity?: 'low' | 'medium' | 'high';
139
139
  fixSuggestion?: string;
140
140
  }
141
141
  interface MenuPosition {
@@ -156,9 +156,9 @@ interface NodeConfigFormData {
156
156
  }
157
157
  interface ValidationRule {
158
158
  field: string;
159
- type: "required" | "min" | "max" | "pattern" | "custom";
159
+ type: 'required' | 'min' | 'max' | 'pattern' | 'custom';
160
160
  message: string;
161
- validator?: (value: any, data: any) => boolean;
161
+ validator?: (value: unknown, data: unknown) => boolean;
162
162
  }
163
163
  interface WorkflowConfig {
164
164
  title?: string;
@@ -194,14 +194,14 @@ interface NodeTemplate {
194
194
  }
195
195
  interface WorkflowUtils {
196
196
  validateWorkflow: (data: WorkflowData) => ValidationError[];
197
- exportWorkflow: (data: WorkflowData, format?: "json" | "yaml") => string;
198
- importWorkflow: (content: string, format?: "json" | "yaml") => WorkflowData;
197
+ exportWorkflow: (data: WorkflowData, format?: 'json' | 'yaml') => string;
198
+ importWorkflow: (content: string, format?: 'json' | 'yaml') => WorkflowData;
199
199
  generateNodeId: (type: NodeType) => string;
200
200
  generateEdgeId: (sourceId: string, targetId: string) => string;
201
201
  cloneWorkflow: (data: WorkflowData) => WorkflowData;
202
202
  mergeWorkflows: (workflows: WorkflowData[]) => WorkflowData;
203
203
  }
204
- interface WorkflowApiResponse<T = any> {
204
+ interface WorkflowApiResponse<T = unknown> {
205
205
  success: boolean;
206
206
  data?: T;
207
207
  message?: string;
@@ -214,7 +214,7 @@ interface WorkflowHistory {
214
214
  version: number;
215
215
  data: WorkflowData;
216
216
  changes: {
217
- type: "create" | "update" | "delete";
217
+ type: 'create' | 'update' | 'delete';
218
218
  nodeId?: string;
219
219
  edgeId?: string;
220
220
  description: string;
@@ -240,19 +240,19 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
240
240
  "update:modelValue": (value: WorkflowData) => any;
241
241
  change: (value: WorkflowData) => any;
242
242
  save: (data: WorkflowData) => any;
243
- "validate-error": (errors: ValidationError[]) => any;
244
243
  "node-click": (node: WorkflowNode) => any;
244
+ "validate-error": (errors: ValidationError[]) => any;
245
245
  "edge-click": (edge: WorkflowEdge) => any;
246
246
  }, string, vue.PublicProps, Readonly<WorkflowProps> & Readonly<{
247
247
  "onUpdate:modelValue"?: ((value: WorkflowData) => any) | undefined;
248
248
  onChange?: ((value: WorkflowData) => any) | undefined;
249
249
  onSave?: ((data: WorkflowData) => any) | undefined;
250
- "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
251
250
  "onNode-click"?: ((node: WorkflowNode) => any) | undefined;
251
+ "onValidate-error"?: ((errors: ValidationError[]) => any) | undefined;
252
252
  "onEdge-click"?: ((edge: WorkflowEdge) => any) | undefined;
253
253
  }>, {
254
- readonly: boolean;
255
254
  theme: "light" | "dark";
255
+ readonly: boolean;
256
256
  users: User[];
257
257
  roles: Role[];
258
258
  departments: Department[];
@@ -260,7 +260,7 @@ declare const __VLS_export: vue.DefineComponent<WorkflowProps, {
260
260
  declare const _default: typeof __VLS_export;
261
261
  //#endregion
262
262
  //#region src/components/C_WorkFlow/composables/useWorkflowNodes.d.ts
263
- type EmitFn = (event: string, ...args: any[]) => void;
263
+ type EmitFn = <Event extends keyof WorkflowEmits>(event: Event, ...args: WorkflowEmits[Event]) => void;
264
264
  /** 工作流节点管理 —— 封装节点 CRUD、provide/inject、边重连、画布操作等逻辑 */
265
265
  declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef: Ref): {
266
266
  nodes: Ref<{
@@ -273,7 +273,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
273
273
  data: {
274
274
  title: string;
275
275
  status: "active";
276
- config?: Record<string, any> | undefined;
276
+ config?: Record<string, unknown> | undefined;
277
277
  initiators?: {
278
278
  id: string;
279
279
  name: string;
@@ -296,7 +296,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
296
296
  approvalMode?: ApprovalMode | undefined;
297
297
  title: string;
298
298
  status?: NodeStatus | undefined;
299
- config?: Record<string, any> | undefined;
299
+ config?: Record<string, unknown> | undefined;
300
300
  initiators?: {
301
301
  id: string;
302
302
  name: string;
@@ -318,7 +318,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
318
318
  }[] | undefined;
319
319
  title: string;
320
320
  status?: NodeStatus | undefined;
321
- config?: Record<string, any> | undefined;
321
+ config?: Record<string, unknown> | undefined;
322
322
  initiators?: {
323
323
  id: string;
324
324
  name: string;
@@ -338,7 +338,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
338
338
  }[] | undefined;
339
339
  title: string;
340
340
  status?: NodeStatus | undefined;
341
- config?: Record<string, any> | undefined;
341
+ config?: Record<string, unknown> | undefined;
342
342
  initiators?: {
343
343
  id: string;
344
344
  name: string;
@@ -371,7 +371,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
371
371
  data: {
372
372
  title: string;
373
373
  status: "active";
374
- config?: Record<string, any> | undefined;
374
+ config?: Record<string, unknown> | undefined;
375
375
  initiators?: {
376
376
  id: string;
377
377
  name: string;
@@ -394,7 +394,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
394
394
  approvalMode?: ApprovalMode | undefined;
395
395
  title: string;
396
396
  status?: NodeStatus | undefined;
397
- config?: Record<string, any> | undefined;
397
+ config?: Record<string, unknown> | undefined;
398
398
  initiators?: {
399
399
  id: string;
400
400
  name: string;
@@ -416,7 +416,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
416
416
  }[] | undefined;
417
417
  title: string;
418
418
  status?: NodeStatus | undefined;
419
- config?: Record<string, any> | undefined;
419
+ config?: Record<string, unknown> | undefined;
420
420
  initiators?: {
421
421
  id: string;
422
422
  name: string;
@@ -436,7 +436,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
436
436
  }[] | undefined;
437
437
  title: string;
438
438
  status?: NodeStatus | undefined;
439
- config?: Record<string, any> | undefined;
439
+ config?: Record<string, unknown> | undefined;
440
440
  initiators?: {
441
441
  id: string;
442
442
  name: string;
@@ -471,12 +471,12 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
471
471
  hidden?: boolean | undefined;
472
472
  deletable?: boolean | undefined;
473
473
  selectable?: boolean | undefined;
474
- data?: any;
475
- style?: any;
474
+ data?: unknown;
475
+ style?: Record<string, string | number> | undefined;
476
476
  label?: string | undefined;
477
- labelStyle?: any;
477
+ labelStyle?: Record<string, string | number> | undefined;
478
478
  labelShowBg?: boolean | undefined;
479
- labelBgStyle?: any;
479
+ labelBgStyle?: Record<string, string | number> | undefined;
480
480
  labelBgPadding?: [number, number] | undefined;
481
481
  labelBgBorderRadius?: number | undefined;
482
482
  markerStart?: string | undefined;
@@ -492,12 +492,12 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
492
492
  hidden?: boolean | undefined;
493
493
  deletable?: boolean | undefined;
494
494
  selectable?: boolean | undefined;
495
- data?: any;
496
- style?: any;
495
+ data?: unknown;
496
+ style?: Record<string, string | number> | undefined;
497
497
  label?: string | undefined;
498
- labelStyle?: any;
498
+ labelStyle?: Record<string, string | number> | undefined;
499
499
  labelShowBg?: boolean | undefined;
500
- labelBgStyle?: any;
500
+ labelBgStyle?: Record<string, string | number> | undefined;
501
501
  labelBgPadding?: [number, number] | undefined;
502
502
  labelBgBorderRadius?: number | undefined;
503
503
  markerStart?: string | undefined;
@@ -522,7 +522,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
522
522
  data: {
523
523
  title: string;
524
524
  status: "active";
525
- config?: Record<string, any> | undefined;
525
+ config?: Record<string, unknown> | undefined;
526
526
  initiators?: {
527
527
  id: string;
528
528
  name: string;
@@ -545,7 +545,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
545
545
  approvalMode?: ApprovalMode | undefined;
546
546
  title: string;
547
547
  status?: NodeStatus | undefined;
548
- config?: Record<string, any> | undefined;
548
+ config?: Record<string, unknown> | undefined;
549
549
  initiators?: {
550
550
  id: string;
551
551
  name: string;
@@ -567,7 +567,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
567
567
  }[] | undefined;
568
568
  title: string;
569
569
  status?: NodeStatus | undefined;
570
- config?: Record<string, any> | undefined;
570
+ config?: Record<string, unknown> | undefined;
571
571
  initiators?: {
572
572
  id: string;
573
573
  name: string;
@@ -587,7 +587,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
587
587
  }[] | undefined;
588
588
  title: string;
589
589
  status?: NodeStatus | undefined;
590
- config?: Record<string, any> | undefined;
590
+ config?: Record<string, unknown> | undefined;
591
591
  initiators?: {
592
592
  id: string;
593
593
  name: string;
@@ -620,7 +620,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
620
620
  data: {
621
621
  title: string;
622
622
  status: "active";
623
- config?: Record<string, any> | undefined;
623
+ config?: Record<string, unknown> | undefined;
624
624
  initiators?: {
625
625
  id: string;
626
626
  name: string;
@@ -643,7 +643,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
643
643
  approvalMode?: ApprovalMode | undefined;
644
644
  title: string;
645
645
  status?: NodeStatus | undefined;
646
- config?: Record<string, any> | undefined;
646
+ config?: Record<string, unknown> | undefined;
647
647
  initiators?: {
648
648
  id: string;
649
649
  name: string;
@@ -665,7 +665,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
665
665
  }[] | undefined;
666
666
  title: string;
667
667
  status?: NodeStatus | undefined;
668
- config?: Record<string, any> | undefined;
668
+ config?: Record<string, unknown> | undefined;
669
669
  initiators?: {
670
670
  id: string;
671
671
  name: string;
@@ -685,7 +685,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
685
685
  }[] | undefined;
686
686
  title: string;
687
687
  status?: NodeStatus | undefined;
688
- config?: Record<string, any> | undefined;
688
+ config?: Record<string, unknown> | undefined;
689
689
  initiators?: {
690
690
  id: string;
691
691
  name: string;
@@ -730,7 +730,7 @@ declare function useWorkflowNodes(props: WorkflowProps, emit: EmitFn, vueFlowRef
730
730
  //#endregion
731
731
  //#region src/components/C_WorkFlow/composables/useWorkflowPreview.d.ts
732
732
  /** 详情项类型 */
733
- type DetailItemType = "text" | "mode" | "users" | "warning";
733
+ type DetailItemType = 'text' | 'mode' | 'users' | 'warning';
734
734
  /** 结构化详情项 */
735
735
  interface DetailItem {
736
736
  type: DetailItemType;
@@ -775,7 +775,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
775
775
  data: {
776
776
  title: string;
777
777
  status: "active";
778
- config?: Record<string, any> | undefined;
778
+ config?: Record<string, unknown> | undefined;
779
779
  initiators?: {
780
780
  id: string;
781
781
  name: string;
@@ -798,7 +798,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
798
798
  approvalMode?: ApprovalMode | undefined;
799
799
  title: string;
800
800
  status?: NodeStatus | undefined;
801
- config?: Record<string, any> | undefined;
801
+ config?: Record<string, unknown> | undefined;
802
802
  initiators?: {
803
803
  id: string;
804
804
  name: string;
@@ -820,7 +820,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
820
820
  }[] | undefined;
821
821
  title: string;
822
822
  status?: NodeStatus | undefined;
823
- config?: Record<string, any> | undefined;
823
+ config?: Record<string, unknown> | undefined;
824
824
  initiators?: {
825
825
  id: string;
826
826
  name: string;
@@ -840,7 +840,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
840
840
  }[] | undefined;
841
841
  title: string;
842
842
  status?: NodeStatus | undefined;
843
- config?: Record<string, any> | undefined;
843
+ config?: Record<string, unknown> | undefined;
844
844
  initiators?: {
845
845
  id: string;
846
846
  name: string;
@@ -890,7 +890,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
890
890
  data: {
891
891
  title: string;
892
892
  status: "active";
893
- config?: Record<string, any> | undefined;
893
+ config?: Record<string, unknown> | undefined;
894
894
  initiators?: {
895
895
  id: string;
896
896
  name: string;
@@ -913,7 +913,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
913
913
  approvalMode?: ApprovalMode | undefined;
914
914
  title: string;
915
915
  status?: NodeStatus | undefined;
916
- config?: Record<string, any> | undefined;
916
+ config?: Record<string, unknown> | undefined;
917
917
  initiators?: {
918
918
  id: string;
919
919
  name: string;
@@ -935,7 +935,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
935
935
  }[] | undefined;
936
936
  title: string;
937
937
  status?: NodeStatus | undefined;
938
- config?: Record<string, any> | undefined;
938
+ config?: Record<string, unknown> | undefined;
939
939
  initiators?: {
940
940
  id: string;
941
941
  name: string;
@@ -955,7 +955,7 @@ declare function useWorkflowPreview(nodes: Ref<WorkflowNode[]>, edges: Ref<Workf
955
955
  }[] | undefined;
956
956
  title: string;
957
957
  status?: NodeStatus | undefined;
958
- config?: Record<string, any> | undefined;
958
+ config?: Record<string, unknown> | undefined;
959
959
  initiators?: {
960
960
  id: string;
961
961
  name: string;
@@ -1048,5 +1048,4 @@ declare function useWorkflowValidation(nodes: Ref<WorkflowNode[]>, edges: Ref<Wo
1048
1048
  resetValidation: () => void;
1049
1049
  };
1050
1050
  //#endregion
1051
- export { WorkflowProps as A, WorkflowApiResponse as C, WorkflowEmits as D, WorkflowEdge as E, WorkflowUtils as M, WorkflowHistory as O, ValidationErrorType as S, WorkflowData as T, NodeType as _, ApprovalMode as a, User as b, Condition as c, Department as d, MenuPosition as f, NodeTemplate as g, NodeStatus as h, _default as i, WorkflowStats as j, WorkflowNode as k, ConditionNodeData as l, NodeData as m, useWorkflowPreview as n, ApprovalNodeData as o, NodeConfigFormData as p, useWorkflowNodes as r, BaseNodeData as s, useWorkflowValidation as t, CopyNodeData as u, Role as v, WorkflowConfig as w, ValidationError as x, StartNodeData as y };
1052
- //# sourceMappingURL=useWorkflowValidation.d.ts.map
1051
+ export { WorkflowProps as A, WorkflowApiResponse as C, WorkflowEmits as D, WorkflowEdge as E, WorkflowUtils as M, WorkflowHistory as O, ValidationErrorType as S, WorkflowData as T, NodeType as _, ApprovalMode as a, User as b, Condition as c, Department as d, MenuPosition as f, NodeTemplate as g, NodeStatus as h, _default as i, WorkflowStats as j, WorkflowNode as k, ConditionNodeData as l, NodeData as m, useWorkflowPreview as n, ApprovalNodeData as o, NodeConfigFormData as p, useWorkflowNodes as r, BaseNodeData as s, useWorkflowValidation as t, CopyNodeData as u, Role as v, WorkflowConfig as w, ValidationError as x, StartNodeData as y };
@@ -0,0 +1,58 @@
1
+ import { a as CaptchaSuccessPayload, c as CaptchaVerifier, i as CaptchaProps, r as CaptchaProof } from "./types2.cjs";
2
+ import * as vue from "vue";
3
+
4
+ //#region src/components/C_Captcha/index.vue.d.ts
5
+ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
6
+ validate: () => boolean;
7
+ getToken: () => string;
8
+ getVerificationData: () => {
9
+ verifiedBy: "local" | "server";
10
+ token: string;
11
+ timestamp: number;
12
+ type: "puzzle-captcha";
13
+ } | null;
14
+ reset: () => void;
15
+ show: () => void;
16
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
+ change: (valid: boolean) => any;
18
+ success: (data: CaptchaSuccessPayload) => any;
19
+ reset: () => any;
20
+ fail: (error: string) => any;
21
+ "verify-error": (error: unknown) => any;
22
+ "load-error": (error: unknown) => any;
23
+ }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
24
+ onChange?: ((valid: boolean) => any) | undefined;
25
+ onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
26
+ onReset?: (() => any) | undefined;
27
+ onFail?: ((error: string) => any) | undefined;
28
+ "onVerify-error"?: ((error: unknown) => any) | undefined;
29
+ "onLoad-error"?: ((error: unknown) => any) | undefined;
30
+ }>, {
31
+ disabled: boolean;
32
+ theme: "light" | "dark";
33
+ images: string[];
34
+ verificationTimeout: number;
35
+ requireServerVerification: boolean;
36
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
37
+ declare const _default: typeof __VLS_export;
38
+ //#endregion
39
+ //#region src/components/C_Captcha/verification.d.ts
40
+ type CaptchaVerificationErrorCode = 'aborted' | 'missing-verifier' | 'missing-token' | 'rejected' | 'timeout';
41
+ /** Error with a stable machine-readable reason for captcha verification. */
42
+ declare class CaptchaVerificationError extends Error {
43
+ readonly code: CaptchaVerificationErrorCode;
44
+ readonly cause?: unknown | undefined;
45
+ constructor(code: CaptchaVerificationErrorCode, message: string, cause?: unknown | undefined);
46
+ }
47
+ /** Create a correlation token. It is not an authentication credential. */
48
+ declare function createCaptchaProof(): CaptchaProof;
49
+ interface VerifyCaptchaProofOptions {
50
+ verifier?: CaptchaVerifier;
51
+ timeout?: number;
52
+ requireServerVerification?: boolean;
53
+ signal?: AbortSignal;
54
+ }
55
+ /** Normalize local/server verification with cancellation and a hard timeout. */
56
+ declare function verifyCaptchaProof(proof: CaptchaProof, options?: VerifyCaptchaProofOptions): Promise<CaptchaSuccessPayload>;
57
+ //#endregion
58
+ export { _default as i, createCaptchaProof as n, verifyCaptchaProof as r, CaptchaVerificationError as t };
@@ -0,0 +1,58 @@
1
+ import { a as CaptchaSuccessPayload, c as CaptchaVerifier, i as CaptchaProps, r as CaptchaProof } from "./types.js";
2
+ import * as vue from "vue";
3
+
4
+ //#region src/components/C_Captcha/index.vue.d.ts
5
+ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
6
+ validate: () => boolean;
7
+ getToken: () => string;
8
+ getVerificationData: () => {
9
+ verifiedBy: "local" | "server";
10
+ token: string;
11
+ timestamp: number;
12
+ type: "puzzle-captcha";
13
+ } | null;
14
+ reset: () => void;
15
+ show: () => void;
16
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
+ change: (valid: boolean) => any;
18
+ success: (data: CaptchaSuccessPayload) => any;
19
+ reset: () => any;
20
+ fail: (error: string) => any;
21
+ "verify-error": (error: unknown) => any;
22
+ "load-error": (error: unknown) => any;
23
+ }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
24
+ onChange?: ((valid: boolean) => any) | undefined;
25
+ onSuccess?: ((data: CaptchaSuccessPayload) => any) | undefined;
26
+ onReset?: (() => any) | undefined;
27
+ onFail?: ((error: string) => any) | undefined;
28
+ "onVerify-error"?: ((error: unknown) => any) | undefined;
29
+ "onLoad-error"?: ((error: unknown) => any) | undefined;
30
+ }>, {
31
+ disabled: boolean;
32
+ theme: "light" | "dark";
33
+ images: string[];
34
+ verificationTimeout: number;
35
+ requireServerVerification: boolean;
36
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
37
+ declare const _default: typeof __VLS_export;
38
+ //#endregion
39
+ //#region src/components/C_Captcha/verification.d.ts
40
+ type CaptchaVerificationErrorCode = 'aborted' | 'missing-verifier' | 'missing-token' | 'rejected' | 'timeout';
41
+ /** Error with a stable machine-readable reason for captcha verification. */
42
+ declare class CaptchaVerificationError extends Error {
43
+ readonly code: CaptchaVerificationErrorCode;
44
+ readonly cause?: unknown | undefined;
45
+ constructor(code: CaptchaVerificationErrorCode, message: string, cause?: unknown | undefined);
46
+ }
47
+ /** Create a correlation token. It is not an authentication credential. */
48
+ declare function createCaptchaProof(): CaptchaProof;
49
+ interface VerifyCaptchaProofOptions {
50
+ verifier?: CaptchaVerifier;
51
+ timeout?: number;
52
+ requireServerVerification?: boolean;
53
+ signal?: AbortSignal;
54
+ }
55
+ /** Normalize local/server verification with cancellation and a hard timeout. */
56
+ declare function verifyCaptchaProof(proof: CaptchaProof, options?: VerifyCaptchaProofOptions): Promise<CaptchaSuccessPayload>;
57
+ //#endregion
58
+ export { _default as i, createCaptchaProof as n, verifyCaptchaProof as r, CaptchaVerificationError as t };