@robot-admin/naive-ui-components 0.40.5 → 0.41.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 (493) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +58 -232
  3. package/README_EN.md +59 -235
  4. package/dist/ActionOverflow.cjs +1 -0
  5. package/dist/ActionOverflow.js +1 -0
  6. package/dist/C_ActionBar.css +63 -53
  7. package/dist/C_ActionBar2.cjs +1 -1
  8. package/dist/C_ActionBar2.js +1 -1
  9. package/dist/C_ApprovalViewer.cjs +1 -0
  10. package/dist/C_ApprovalViewer.css +79 -0
  11. package/dist/C_ApprovalViewer.d.cts +2 -0
  12. package/dist/C_ApprovalViewer.d.ts +2 -0
  13. package/dist/C_ApprovalViewer.js +1 -0
  14. package/dist/C_ApprovalViewer2.cjs +1 -0
  15. package/dist/C_ApprovalViewer2.js +1 -0
  16. package/dist/C_Attachments.cjs +1 -0
  17. package/dist/C_Attachments.css +204 -0
  18. package/dist/C_Attachments.d.cts +2 -0
  19. package/dist/C_Attachments.d.ts +2 -0
  20. package/dist/C_Attachments.js +1 -0
  21. package/dist/C_Attachments2.cjs +1 -0
  22. package/dist/C_Attachments2.js +1 -0
  23. package/dist/C_AudioPlayer.d.cts +1 -1
  24. package/dist/C_AudioPlayer.d.ts +1 -1
  25. package/dist/C_AutoComplete.d.cts +2 -2
  26. package/dist/C_AutoComplete.d.ts +2 -2
  27. package/dist/C_AvatarGroup.d.cts +1 -1
  28. package/dist/C_AvatarGroup.d.ts +1 -1
  29. package/dist/C_Barcode.d.cts +1 -1
  30. package/dist/C_Barcode.d.ts +1 -1
  31. package/dist/C_BatchResult.css +10 -10
  32. package/dist/C_BatchResult.d.cts +1 -1
  33. package/dist/C_BatchResult.d.ts +1 -1
  34. package/dist/C_BatchResult2.cjs +1 -1
  35. package/dist/C_BatchResult2.js +1 -1
  36. package/dist/C_Breadcrumb.d.cts +2 -2
  37. package/dist/C_Breadcrumb.d.ts +1 -1
  38. package/dist/C_Cascade.d.cts +1 -1
  39. package/dist/C_Cascade.d.ts +1 -1
  40. package/dist/C_ChangeReview.cjs +1 -0
  41. package/dist/C_ChangeReview.css +49 -0
  42. package/dist/C_ChangeReview.d.cts +2 -0
  43. package/dist/C_ChangeReview.d.ts +2 -0
  44. package/dist/C_ChangeReview.js +1 -0
  45. package/dist/C_ChangeReview2.cjs +1 -0
  46. package/dist/C_ChangeReview2.js +1 -0
  47. package/dist/C_Chat.css +120 -67
  48. package/dist/C_Chat.d.cts +2 -2
  49. package/dist/C_Chat.d.ts +2 -2
  50. package/dist/C_Chat2.cjs +1 -1
  51. package/dist/C_Chat2.js +1 -1
  52. package/dist/C_City.d.cts +1 -1
  53. package/dist/C_City.d.ts +1 -1
  54. package/dist/C_Code.d.cts +1 -1
  55. package/dist/C_Code.d.ts +1 -1
  56. package/dist/C_ContextMenu.d.cts +1 -1
  57. package/dist/C_ContextMenu.d.ts +1 -1
  58. package/dist/C_DataPicker.cjs +1 -1
  59. package/dist/C_DataPicker.css +125 -50
  60. package/dist/C_DataPicker.d.cts +3 -3
  61. package/dist/C_DataPicker.d.ts +4 -3
  62. package/dist/C_DataPicker.js +1 -1
  63. package/dist/C_DataPicker2.cjs +1 -1
  64. package/dist/C_DataPicker2.js +1 -1
  65. package/dist/C_Date.d.cts +1 -1
  66. package/dist/C_Date.d.ts +1 -1
  67. package/dist/C_Density.d.cts +1 -1
  68. package/dist/C_Density.d.ts +1 -1
  69. package/dist/C_Descriptions.cjs +1 -0
  70. package/dist/C_Descriptions.css +86 -0
  71. package/dist/C_Descriptions.d.cts +2 -0
  72. package/dist/C_Descriptions.d.ts +2 -0
  73. package/dist/C_Descriptions.js +1 -0
  74. package/dist/C_Descriptions2.cjs +1 -0
  75. package/dist/C_Descriptions2.js +1 -0
  76. package/dist/C_Editor.d.cts +1 -1
  77. package/dist/C_Editor.d.ts +1 -1
  78. package/dist/C_Editor2.cjs +1 -1
  79. package/dist/C_Editor2.js +1 -1
  80. package/dist/C_ErrorSummary.d.cts +1 -1
  81. package/dist/C_ErrorSummary.d.ts +1 -1
  82. package/dist/C_FilePreview.cjs +1 -1
  83. package/dist/C_FilePreview.d.cts +2 -1
  84. package/dist/C_FilePreview.d.ts +2 -1
  85. package/dist/C_FilePreview.js +1 -1
  86. package/dist/C_FilePreview2.cjs +1 -1
  87. package/dist/C_FilePreview2.js +1 -1
  88. package/dist/C_FilterBuilder.cjs +1 -0
  89. package/dist/C_FilterBuilder.css +59 -0
  90. package/dist/C_FilterBuilder.d.cts +2 -0
  91. package/dist/C_FilterBuilder.d.ts +2 -0
  92. package/dist/C_FilterBuilder.js +1 -0
  93. package/dist/C_FilterBuilder2.cjs +1 -0
  94. package/dist/C_FilterBuilder2.js +1 -0
  95. package/dist/C_Form.base.css +16 -16
  96. package/dist/C_Form.css +16 -16
  97. package/dist/C_Form.d.cts +1 -1
  98. package/dist/C_Form.d.ts +3 -3
  99. package/dist/C_FormModal.css +64 -54
  100. package/dist/C_FormModal.d.cts +2 -2
  101. package/dist/C_FormModal.d.ts +4 -4
  102. package/dist/C_FormModal2.cjs +1 -1
  103. package/dist/C_FormModal2.js +1 -1
  104. package/dist/C_FormSearch.d.cts +2 -1
  105. package/dist/C_FormSearch.d.ts +3 -2
  106. package/dist/C_GlobalSearch.css +156 -137
  107. package/dist/C_GlobalSearch.d.cts +2 -2
  108. package/dist/C_GlobalSearch.d.ts +2 -2
  109. package/dist/C_GlobalSearch2.cjs +1 -1
  110. package/dist/C_GlobalSearch2.js +1 -1
  111. package/dist/C_Guide.css +49 -3
  112. package/dist/C_Guide.d.cts +1 -1
  113. package/dist/C_Guide.d.ts +1 -1
  114. package/dist/C_Guide2.cjs +1 -1
  115. package/dist/C_Guide2.js +1 -1
  116. package/dist/C_Icon.d.cts +1 -1
  117. package/dist/C_Icon.d.ts +1 -1
  118. package/dist/C_ImageAnnotator.cjs +1 -0
  119. package/dist/C_ImageAnnotator.css +143 -0
  120. package/dist/C_ImageAnnotator.d.cts +2 -0
  121. package/dist/C_ImageAnnotator.d.ts +2 -0
  122. package/dist/C_ImageAnnotator.js +1 -0
  123. package/dist/C_ImageAnnotator2.cjs +1 -0
  124. package/dist/C_ImageAnnotator2.js +1 -0
  125. package/dist/C_ImportWizard.cjs +1 -0
  126. package/dist/C_ImportWizard.css +42 -0
  127. package/dist/C_ImportWizard.d.cts +2 -0
  128. package/dist/C_ImportWizard.d.ts +2 -0
  129. package/dist/C_ImportWizard.js +1 -0
  130. package/dist/C_ImportWizard2.cjs +1 -0
  131. package/dist/C_ImportWizard2.js +1 -0
  132. package/dist/C_Language.d.cts +1 -1
  133. package/dist/C_Language.d.ts +1 -1
  134. package/dist/C_Loading.d.cts +1 -1
  135. package/dist/C_Loading.d.ts +1 -1
  136. package/dist/C_Login.d.cts +1 -1
  137. package/dist/C_Login.d.ts +1 -1
  138. package/dist/C_Markdown.d.cts +1 -1
  139. package/dist/C_Markdown.d.ts +1 -1
  140. package/dist/C_Markdown2.cjs +1 -1
  141. package/dist/C_Markdown2.js +1 -1
  142. package/dist/C_Menu.d.cts +2 -2
  143. package/dist/C_Menu.d.ts +1 -1
  144. package/dist/C_NotificationCenter.cjs +1 -1
  145. package/dist/C_NotificationCenter.css +39 -39
  146. package/dist/C_NotificationCenter.d.cts +2 -1
  147. package/dist/C_NotificationCenter.d.ts +2 -1
  148. package/dist/C_NotificationCenter.js +1 -1
  149. package/dist/C_NotificationCenter2.cjs +1 -1
  150. package/dist/C_NotificationCenter2.js +1 -1
  151. package/dist/C_NotificationInbox.cjs +1 -0
  152. package/dist/C_NotificationInbox.css +154 -0
  153. package/dist/C_NotificationInbox.d.cts +2 -0
  154. package/dist/C_NotificationInbox.d.ts +2 -0
  155. package/dist/C_NotificationInbox.js +1 -0
  156. package/dist/C_NotificationInbox2.cjs +1 -0
  157. package/dist/C_NotificationInbox2.js +1 -0
  158. package/dist/C_OrgChart.d.cts +1 -1
  159. package/dist/C_OrgChart.d.ts +1 -1
  160. package/dist/C_Progress.d.cts +1 -1
  161. package/dist/C_Progress.d.ts +1 -1
  162. package/dist/C_QRCode2.cjs +1 -1
  163. package/dist/C_QRCode2.js +1 -1
  164. package/dist/C_RecordList.cjs +1 -0
  165. package/dist/C_RecordList.css +70 -0
  166. package/dist/C_RecordList.d.cts +2 -0
  167. package/dist/C_RecordList.d.ts +2 -0
  168. package/dist/C_RecordList.js +1 -0
  169. package/dist/C_RecordList2.cjs +1 -0
  170. package/dist/C_RecordList2.js +1 -0
  171. package/dist/C_RecurrenceEditor.cjs +1 -0
  172. package/dist/C_RecurrenceEditor.css +68 -0
  173. package/dist/C_RecurrenceEditor.d.cts +2 -0
  174. package/dist/C_RecurrenceEditor.d.ts +2 -0
  175. package/dist/C_RecurrenceEditor.js +1 -0
  176. package/dist/C_RecurrenceEditor2.cjs +1 -0
  177. package/dist/C_RecurrenceEditor2.js +1 -0
  178. package/dist/C_RelationshipExplorer.cjs +1 -0
  179. package/dist/C_RelationshipExplorer.css +76 -0
  180. package/dist/C_RelationshipExplorer.d.cts +2 -0
  181. package/dist/C_RelationshipExplorer.d.ts +2 -0
  182. package/dist/C_RelationshipExplorer.js +1 -0
  183. package/dist/C_RelationshipExplorer2.cjs +1 -0
  184. package/dist/C_RelationshipExplorer2.js +1 -0
  185. package/dist/C_ResourceSchedule.cjs +1 -0
  186. package/dist/C_ResourceSchedule.css +104 -0
  187. package/dist/C_ResourceSchedule.d.cts +2 -0
  188. package/dist/C_ResourceSchedule.d.ts +2 -0
  189. package/dist/C_ResourceSchedule.js +1 -0
  190. package/dist/C_ResourceSchedule2.cjs +1 -0
  191. package/dist/C_ResourceSchedule2.js +1 -0
  192. package/dist/C_ScanInput.cjs +1 -0
  193. package/dist/C_ScanInput.css +33 -0
  194. package/dist/C_ScanInput.d.cts +2 -0
  195. package/dist/C_ScanInput.d.ts +2 -0
  196. package/dist/C_ScanInput.js +1 -0
  197. package/dist/C_ScanInput2.cjs +1 -0
  198. package/dist/C_ScanInput2.js +1 -0
  199. package/dist/C_SectionNav.d.cts +1 -1
  200. package/dist/C_SectionNav.d.ts +1 -1
  201. package/dist/C_Select.d.cts +2 -2
  202. package/dist/C_Select.d.ts +2 -2
  203. package/dist/C_Skeleton.d.cts +1 -1
  204. package/dist/C_Skeleton.d.ts +1 -1
  205. package/dist/C_Steps.d.cts +1 -1
  206. package/dist/C_Steps.d.ts +1 -1
  207. package/dist/C_Table.base.css +194 -184
  208. package/dist/C_Table.css +178 -168
  209. package/dist/C_Table.d.cts +2 -2
  210. package/dist/C_Table.d.ts +15 -14
  211. package/dist/C_Table2.cjs +3 -3
  212. package/dist/C_Table2.js +3 -3
  213. package/dist/C_TagsView.d.cts +2 -2
  214. package/dist/C_TagsView.d.ts +1 -1
  215. package/dist/C_TaskBoard.cjs +1 -0
  216. package/dist/C_TaskBoard.css +58 -0
  217. package/dist/C_TaskBoard.d.cts +2 -0
  218. package/dist/C_TaskBoard.d.ts +2 -0
  219. package/dist/C_TaskBoard.js +1 -0
  220. package/dist/C_TaskBoard2.cjs +1 -0
  221. package/dist/C_TaskBoard2.js +1 -0
  222. package/dist/C_TaskPanel.cjs +1 -0
  223. package/dist/C_TaskPanel.css +68 -0
  224. package/dist/C_TaskPanel.d.cts +2 -0
  225. package/dist/C_TaskPanel.d.ts +2 -0
  226. package/dist/C_TaskPanel.js +1 -0
  227. package/dist/C_TaskPanel2.cjs +1 -0
  228. package/dist/C_TaskPanel2.js +1 -0
  229. package/dist/C_Theme.d.cts +1 -1
  230. package/dist/C_Theme.d.ts +1 -1
  231. package/dist/C_Timeline.d.cts +1 -1
  232. package/dist/C_Timeline.d.ts +1 -1
  233. package/dist/C_Timeline2.cjs +1 -1
  234. package/dist/C_Timeline2.js +1 -1
  235. package/dist/C_Transfer.css +108 -41
  236. package/dist/C_Transfer.d.cts +2 -2
  237. package/dist/C_Transfer.d.ts +2 -2
  238. package/dist/C_Transfer2.cjs +1 -1
  239. package/dist/C_Transfer2.js +1 -1
  240. package/dist/C_Tree.d.cts +1 -1
  241. package/dist/C_Tree.d.ts +13 -12
  242. package/dist/C_Upload.cjs +1 -1
  243. package/dist/C_Upload.d.cts +2 -1
  244. package/dist/C_Upload.d.ts +2 -1
  245. package/dist/C_Upload.js +1 -1
  246. package/dist/C_Upload2.cjs +1 -1
  247. package/dist/C_Upload2.js +1 -1
  248. package/dist/C_UserPicker.d.cts +1 -1
  249. package/dist/C_UserPicker.d.ts +2 -2
  250. package/dist/C_WorkFlow.d.ts +2 -2
  251. package/dist/ExportMenu.cjs +1 -0
  252. package/dist/ExportMenu.js +1 -0
  253. package/dist/NotificationItem.cjs +1 -0
  254. package/dist/NotificationItem.js +1 -0
  255. package/dist/component-config.d.ts +33 -10
  256. package/dist/config.d.cts +1 -1
  257. package/dist/config.d.ts +1 -1
  258. package/dist/constants.cjs +1 -0
  259. package/dist/constants.d.cts +3 -3
  260. package/dist/constants.d.ts +3 -3
  261. package/dist/constants.js +1 -0
  262. package/dist/constants2.d.cts +2 -2
  263. package/dist/constants2.d.ts +2 -2
  264. package/dist/constants3.d.cts +3 -229
  265. package/dist/constants3.d.ts +3 -229
  266. package/dist/constants4.d.cts +8 -198
  267. package/dist/constants4.d.ts +8 -198
  268. package/dist/constants5.d.cts +2 -2
  269. package/dist/constants5.d.ts +2 -2
  270. package/dist/context.d.cts +33 -10
  271. package/dist/data2.d.cts +6 -6
  272. package/dist/data2.d.ts +6 -6
  273. package/dist/dateRange.d.cts +4 -263
  274. package/dist/dateRange.d.ts +4 -263
  275. package/dist/editors.d.cts +11 -11
  276. package/dist/editors.d.ts +11 -11
  277. package/dist/excel.cjs +1 -0
  278. package/dist/excel.js +1 -0
  279. package/dist/fieldRenderers.cjs +1 -1
  280. package/dist/fieldRenderers.js +1 -1
  281. package/dist/fileUrl.cjs +1 -0
  282. package/dist/fileUrl.js +1 -0
  283. package/dist/html2.cjs +1 -0
  284. package/dist/html2.js +1 -0
  285. package/dist/index.cjs +1 -1
  286. package/dist/index.d.cts +88 -69
  287. package/dist/index.d.ts +87 -68
  288. package/dist/index.js +1 -1
  289. package/dist/index.vue.d.cts +54 -75
  290. package/dist/index.vue.d.ts +54 -75
  291. package/dist/index10.vue.d.cts +25 -27
  292. package/dist/index10.vue.d.ts +54 -41
  293. package/dist/index11.vue.d.cts +54 -41
  294. package/dist/index11.vue.d.ts +133 -75
  295. package/dist/index12.vue.d.cts +133 -75
  296. package/dist/index12.vue.d.ts +24 -6
  297. package/dist/index13.vue.d.cts +24 -6
  298. package/dist/index13.vue.d.ts +39 -57
  299. package/dist/index14.vue.d.cts +39 -57
  300. package/dist/index14.vue.d.ts +80 -16
  301. package/dist/index15.vue.d.cts +80 -16
  302. package/dist/index15.vue.d.ts +16 -56
  303. package/dist/index16.vue.d.cts +16 -56
  304. package/dist/index16.vue.d.ts +40 -118
  305. package/dist/index17.vue.d.cts +40 -118
  306. package/dist/index17.vue.d.ts +58 -52
  307. package/dist/index18.vue.d.cts +58 -52
  308. package/dist/index18.vue.d.ts +16 -20
  309. package/dist/index19.vue.d.cts +16 -20
  310. package/dist/index19.vue.d.ts +67 -14
  311. package/dist/index2.vue.d.cts +55 -17
  312. package/dist/index2.vue.d.ts +55 -17
  313. package/dist/index20.vue.d.cts +67 -14
  314. package/dist/index20.vue.d.ts +127 -123
  315. package/dist/index21.vue.d.cts +127 -123
  316. package/dist/index21.vue.d.ts +51 -76
  317. package/dist/index22.vue.d.cts +51 -76
  318. package/dist/index22.vue.d.ts +31 -71
  319. package/dist/index23.vue.d.cts +31 -129
  320. package/dist/index23.vue.d.ts +62 -118
  321. package/dist/index24.vue.d.cts +75 -50
  322. package/dist/index24.vue.d.ts +20 -49
  323. package/dist/index25.vue.d.cts +18 -18
  324. package/dist/index25.vue.d.ts +14 -22
  325. package/dist/index26.vue.d.cts +16 -26
  326. package/dist/index26.vue.d.ts +129 -24
  327. package/dist/index27.vue.d.cts +113 -81
  328. package/dist/index27.vue.d.ts +78 -96
  329. package/dist/index28.vue.d.cts +76 -29
  330. package/dist/index28.vue.d.ts +73 -31
  331. package/dist/index29.vue.d.cts +65 -13
  332. package/dist/index29.vue.d.ts +65 -13
  333. package/dist/index3.vue.d.cts +67 -70
  334. package/dist/index3.vue.d.ts +67 -70
  335. package/dist/index30.vue.d.cts +130 -81
  336. package/dist/index30.vue.d.ts +130 -81
  337. package/dist/index31.vue.d.cts +41 -94
  338. package/dist/index31.vue.d.ts +41 -94
  339. package/dist/index32.vue.d.cts +44 -61
  340. package/dist/index32.vue.d.ts +44 -61
  341. package/dist/index33.vue.d.cts +58 -0
  342. package/dist/index33.vue.d.ts +58 -0
  343. package/dist/index34.vue.d.cts +62 -0
  344. package/dist/index34.vue.d.ts +62 -0
  345. package/dist/index35.vue.d.cts +42 -0
  346. package/dist/index35.vue.d.ts +42 -0
  347. package/dist/index36.vue.d.cts +28 -0
  348. package/dist/index36.vue.d.ts +28 -0
  349. package/dist/index37.vue.d.cts +30 -0
  350. package/dist/index37.vue.d.ts +30 -0
  351. package/dist/index38.vue.d.cts +103 -0
  352. package/dist/index38.vue.d.ts +103 -0
  353. package/dist/index39.vue.d.cts +38 -0
  354. package/dist/index39.vue.d.ts +38 -0
  355. package/dist/index4.vue.d.cts +27 -36
  356. package/dist/index4.vue.d.ts +27 -36
  357. package/dist/index40.vue.d.cts +19 -0
  358. package/dist/index40.vue.d.ts +19 -0
  359. package/dist/index41.vue.d.cts +89 -0
  360. package/dist/index41.vue.d.ts +89 -0
  361. package/dist/index42.vue.d.cts +110 -0
  362. package/dist/index42.vue.d.ts +110 -0
  363. package/dist/index43.vue.d.cts +89 -0
  364. package/dist/index43.vue.d.ts +89 -0
  365. package/dist/index44.vue.d.cts +71 -0
  366. package/dist/index44.vue.d.ts +71 -0
  367. package/dist/index45.vue.d.cts +50 -0
  368. package/dist/index45.vue.d.ts +50 -0
  369. package/dist/index5.vue.d.cts +78 -17
  370. package/dist/index5.vue.d.ts +78 -17
  371. package/dist/index6.vue.d.cts +34 -132
  372. package/dist/index6.vue.d.ts +31 -34
  373. package/dist/index7.vue.d.cts +20 -34
  374. package/dist/index7.vue.d.ts +20 -28
  375. package/dist/index8.vue.d.cts +130 -29
  376. package/dist/index8.vue.d.ts +33 -118
  377. package/dist/index9.vue.d.cts +33 -118
  378. package/dist/index9.vue.d.ts +25 -27
  379. package/dist/localSource.cjs +1 -0
  380. package/dist/{formField.d.cts → localSource.d.cts} +42 -2
  381. package/dist/{formField.d.ts → localSource.d.ts} +42 -2
  382. package/dist/localSource.js +1 -0
  383. package/dist/mapUtils.d.cts +2 -2
  384. package/dist/mapUtils.d.ts +2 -2
  385. package/dist/model.d.cts +88 -0
  386. package/dist/model.d.ts +88 -0
  387. package/dist/presets.d.cts +2 -2
  388. package/dist/presets.d.ts +2 -2
  389. package/dist/previewLimits.cjs +1 -0
  390. package/dist/previewLimits.js +1 -0
  391. package/dist/resolver.cjs +1 -1
  392. package/dist/resolver.d.cts +1 -1
  393. package/dist/resolver.d.ts +1 -1
  394. package/dist/resolver.js +1 -1
  395. package/dist/rule.d.cts +51 -0
  396. package/dist/rule.d.ts +51 -0
  397. package/dist/source.cjs +1 -1
  398. package/dist/source.d.cts +2 -2
  399. package/dist/source.d.ts +2 -2
  400. package/dist/source.js +1 -1
  401. package/dist/style.css +1974 -542
  402. package/dist/types.d.cts +4 -0
  403. package/dist/types.d.ts +4 -0
  404. package/dist/types10.d.cts +229 -0
  405. package/dist/types10.d.ts +285 -0
  406. package/dist/types11.d.cts +285 -0
  407. package/dist/types2.d.cts +188 -31
  408. package/dist/types2.d.ts +188 -31
  409. package/dist/types3.d.cts +84 -101
  410. package/dist/types3.d.ts +82 -105
  411. package/dist/types4.d.cts +24 -106
  412. package/dist/types4.d.ts +30 -55
  413. package/dist/types5.d.cts +106 -55
  414. package/dist/types5.d.ts +130 -41
  415. package/dist/types6.d.cts +130 -41
  416. package/dist/types6.d.ts +244 -265
  417. package/dist/types7.d.cts +244 -265
  418. package/dist/types7.d.ts +60 -0
  419. package/dist/types8.d.cts +60 -0
  420. package/dist/types8.d.ts +50 -0
  421. package/dist/types9.d.cts +50 -0
  422. package/dist/types9.d.ts +229 -0
  423. package/dist/useCollapsePanel.d.cts +5 -5
  424. package/dist/useCollapsePanel.d.ts +5 -5
  425. package/dist/useComponentTheme.cjs +1 -1
  426. package/dist/useComponentTheme.js +1 -1
  427. package/dist/useCropperCore.d.cts +8 -8
  428. package/dist/useCropperCore.d.ts +8 -8
  429. package/dist/useDynamicFormState.d.cts +5 -4
  430. package/dist/useDynamicFormState.d.ts +5 -4
  431. package/dist/useEdgeInteraction.d.cts +1 -1
  432. package/dist/useEdgeInteraction.d.ts +1 -1
  433. package/dist/useFormArray.cjs +1 -1
  434. package/dist/useFormArray.d.cts +39 -3
  435. package/dist/useFormArray.d.ts +39 -3
  436. package/dist/useFormArray.js +1 -1
  437. package/dist/useFormRenderer.d.cts +6 -2
  438. package/dist/useFormRenderer.d.ts +6 -2
  439. package/dist/useFullscreen.d.cts +5 -97
  440. package/dist/useFullscreen.d.ts +5 -97
  441. package/dist/useGlobalSearch.d.cts +45 -3
  442. package/dist/useGlobalSearch.d.ts +45 -3
  443. package/dist/useLocalFileUrl.cjs +1 -0
  444. package/dist/useLocalFileUrl.js +1 -0
  445. package/dist/useQRCode.d.cts +5 -5
  446. package/dist/useQRCode.d.ts +5 -5
  447. package/dist/useSignatureHistory.d.cts +3 -3
  448. package/dist/useSignatureHistory.d.ts +3 -3
  449. package/dist/useSplitResize.d.cts +7 -7
  450. package/dist/useSplitResize.d.ts +7 -7
  451. package/dist/useTimeSelection.d.cts +3 -3
  452. package/dist/useTimeSelection.d.ts +3 -3
  453. package/dist/useWorkflowValidation.d.cts +6 -6
  454. package/dist/useWorkflowValidation.d.ts +6 -6
  455. package/dist/verification.d.cts +4 -4
  456. package/dist/verification.d.ts +4 -4
  457. package/dist/workflows.cjs +1 -1
  458. package/dist/workflows.d.cts +2 -2
  459. package/dist/workflows.d.ts +2 -2
  460. package/dist/workflows.js +1 -1
  461. package/docs/components.en.md +125 -135
  462. package/docs/components.md +125 -135
  463. package/docs/engineering.en.md +6 -4
  464. package/docs/engineering.md +6 -4
  465. package/docs/guides/api-migration.md +1 -1
  466. package/docs/guides/approval-viewer.md +50 -0
  467. package/docs/guides/attachments.md +39 -0
  468. package/docs/guides/batch-results.md +3 -1
  469. package/docs/guides/change-review.md +49 -0
  470. package/docs/guides/component-contracts.md +8 -0
  471. package/docs/guides/data-picker.md +75 -1
  472. package/docs/guides/data-workflows.md +27 -1
  473. package/docs/guides/dockable-workbench.md +49 -0
  474. package/docs/guides/filter-builder.md +47 -0
  475. package/docs/guides/global-search.md +49 -0
  476. package/docs/guides/image-annotator.md +27 -0
  477. package/docs/guides/import-wizard.md +40 -0
  478. package/docs/guides/notification-center.md +29 -0
  479. package/docs/guides/resource-schedule.md +58 -0
  480. package/docs/guides/scene-components.md +53 -0
  481. package/docs/guides/search-workflows.md +2 -0
  482. package/docs/guides/split-pane.md +2 -0
  483. package/docs/guides/table-density.md +47 -1
  484. package/docs/guides/task-board.md +53 -0
  485. package/docs/guides/task-panel.md +30 -0
  486. package/docs/guides/transfer.md +35 -0
  487. package/docs/guides/usage.en.md +23 -17
  488. package/docs/guides/usage.md +10 -24
  489. package/package.json +1 -1
  490. package/dist/formField.cjs +0 -1
  491. package/dist/formField.js +0 -1
  492. package/dist/html.cjs +0 -1
  493. package/dist/html.js +0 -1
package/README_EN.md CHANGED
@@ -3,8 +3,8 @@
3
3
  ![Naive UI Components — Vue 3 business components in the Robot ecosystem](./docs/assets/naive-ui-components-banner.png)
4
4
 
5
5
  <div align="center">
6
- <p><strong>Turn recurring business interactions into composable components.</strong></p>
7
- <p>Vue 3 · Naive UI · TypeScript · 63 business components</p>
6
+ <p><strong>A Vue 3 component library for administration interfaces</strong></p>
7
+ <p>Naive UI · TypeScript · 78 components</p>
8
8
  <p>
9
9
  <a href="https://www.npmjs.com/package/@robot-admin/naive-ui-components"><img src="https://img.shields.io/npm/v/@robot-admin/naive-ui-components?style=flat-square&amp;color=249D70&amp;labelColor=183C2E" alt="npm version"></a>
10
10
  <a href="./package.json"><img src="https://img.shields.io/badge/Vue-3.5+-249D70?style=flat-square&amp;logo=vue.js&amp;logoColor=white&amp;labelColor=183C2E" alt="Vue 3.5+"></a>
@@ -15,6 +15,7 @@
15
15
  <p>
16
16
  <a href="#quick-start">Quick start</a> ·
17
17
  <a href="#capability-map">Capabilities</a> ·
18
+ <a href="#integration-recipes">Integration recipes</a> ·
18
19
  <a href="./docs/components.en.md">Component catalog</a> ·
19
20
  <a href="https://www.tzagileteam.com/robot/components/preface">Online docs</a> ·
20
21
  <a href="https://robotadmin.cn">Live demo</a> ·
@@ -24,72 +25,23 @@
24
25
 
25
26
  ## Overview
26
27
 
27
- **Naive UI Components** is a Vue 3 business component library extracted from [Robot Admin](https://github.com/ChenyCHENYU/Robot_Admin), published independently as `@robot-admin/naive-ui-components`. Built on Naive UI, it provides `C_*` components and composables for forms, tables, editors, workflows, files and media. It can also be used in other Vue 3 applications.
28
+ **Naive UI Components** is a Vue 3 library extracted from [Robot Admin](https://github.com/ChenyCHENYU/Robot_Admin) and published independently as `@robot-admin/naive-ui-components`. It provides typed configuration for forms, tables, entity pickers, and workspaces. The host application owns endpoints, permissions, and task execution.
28
29
 
29
- | Design focus | Available today |
30
- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
31
- | Configuration | Typed configuration for fields, columns, actions and dialogs; 8 form layouts |
32
- | Connected types | Field paths, columns, events and instance methods, with helpers such as `defineFormOptions`, `useCForm` and `useTableQuery` |
33
- | Selective loading | 63 component entries, an auto-import resolver, component CSS and base styles for forms and tables |
34
- | Application integration | Global registration or local imports; injectable feedback, locale and defaults; form dialogs compatible with structurally matching headless CRUD controllers |
35
-
36
- The library handles UI and interaction. Applications supply business APIs, authentication, authorization, upload services and platform configuration. The current repository version is **0.40.5**. See the [changelog](./CHANGELOG.md) for release details.
37
-
38
- Start with component props, business data and public types. Use composables when coordinating forms, queries and dialogs. Existing projects can simplify one page at a time using the [0.40.4 adoption notes](./docs/guides/api-migration.md#0404-接入收敛) (Chinese); existing compatibility APIs remain available.
39
-
40
- ## Capability map
41
-
42
- | Scenario | Representative components | Capabilities |
43
- | --------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
44
- | Data entry | `C_Form` · `C_FormModal` · `C_FormSearch` | Dynamic fields, validation, async submission, search and create/edit dialogs |
45
- | Data operations | `C_Table` · `C_ActionBar` · `C_Tree` · `C_Transfer` | Pagination, trees, inline/row/cell editing, cross-page selection, exports and batch actions |
46
- | Search and selection | `C_Select` · `C_AutoComplete` · `C_DataPicker` · `C_UserPicker` | Remote options, text suggestions, multi-column entity selection and organization-based people selection |
47
- | Structures and cards | `C_OrgChart` · `C_WaterFall` | Reporting relationships, responsive cards, list windowing and inferred business fields |
48
- | Editing | `C_Editor` · `C_Markdown` · `C_Cron` · `C_FormulaEditor` | Rich text, Markdown, Cron previews and local formula evaluation |
49
- | Workflow and planning | `C_AntV` · `C_WorkFlow` · `C_VtableGantt` · `C_FullCalendar` | ER/BPMN/UML, approval flows, Gantt charts and calendars |
50
- | Files and media | `C_Upload` · `C_FilePreview` · `C_VideoPlayer` · `C_AudioPlayer` | Chunked uploads, PDF/Word/Excel previews and audio/video playback |
51
- | Images and maps | `C_Signature` · `C_ImageCropper` · `C_QRCode` · `C_Map` | Signatures, cropping, QR codes, OpenStreetMap and AMap |
52
- | Workspace | `C_Menu` · `C_Tabs` · `C_TagsView` · `C_GlobalSearch` | Menus, view switching, tab navigation and global search |
53
- | Common interactions | `C_Login` · `C_Captcha` · `C_Guide` · `C_PageLoading` | Login UI, human verification, onboarding and navigation feedback |
54
-
55
- Browse [all 63 components and dependencies](./docs/components.en.md), or explore scenarios in [Robot Admin](https://robotadmin.cn). Cron previews calculate times only; formulas run locally. Production human verification requires server validation. See the [usage guide](./docs/guides/usage.en.md).
56
-
57
- ### Choose by task
58
-
59
- The focused guides below are in Chinese.
60
-
61
- | Task | Recommended entry and usage |
62
- | ------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
63
- | Filter, edit and run batch actions | Compose `C_FormSearch`, `C_FormModal` and `C_ActionBar`, sharing field definitions and compact density; see [workspace composition](./docs/guides/data-workflows.md) |
64
- | Select values, suggest text or choose entities | Use `C_Select`, `C_AutoComplete` or `C_DataPicker` respectively; remote fields accept `source` directly. See [search and selection](./docs/guides/search-workflows.md) |
65
- | Browse a hierarchy, display reporting lines or choose people | Use `C_Tree`, `C_OrgChart` or `C_UserPicker`; see [organization examples](./docs/guides/tree-org-examples.md) and [person selection](./docs/guides/user-picker.md) |
66
- | Display and edit tabular data | `C_Table` includes row numbers and pagination by default; a selection column enables selection, and `config.edit` selects the editing mode. See [table editing](./docs/guides/table-editing.md) and [widths and density](./docs/guides/table-density.md) |
67
-
68
- Forms and search can accompany `C_Table` or another grid, retaining each grid's native column and pagination contracts. Workflow, upload and map components provide UI and integration points; applications own approval execution, file services and platform authorization.
30
+ The current repository version is **0.41.0**. See the [changelog](./CHANGELOG.md) for release details.
69
31
 
70
32
  ## Quick start
71
33
 
72
34
  ### Install
73
35
 
74
- Add the library and required peer dependencies to an existing Vue 3 application:
36
+ Install the library alongside its required peers in your Vue 3 project. Use your project's package manager.
75
37
 
76
38
  ```bash
77
- bun add @robot-admin/naive-ui-components
78
- bun add vue@^3.5.3 naive-ui@^2.35.0
39
+ bun add @robot-admin/naive-ui-components vue@^3.5.3 naive-ui@^2.35.0
79
40
  ```
80
41
 
81
- The minimum peer profile covers browser bundling, types and CJS SSR. The verified native Node ESM SSR configuration uses Naive UI 2.45.3. See the [consumer environment matrix](./docs/engineering.en.md#consumer-environment-matrix).
82
-
83
- You can also use your project's npm or pnpm setup. Install optional peers only for the features that need them:
84
-
85
- | Feature | Additional dependency |
86
- | -------------------------------------------- | ------------------------------ |
87
- | Root imports / `C_Breadcrumb` / `C_TagsView` | `vue-router@^4.6.4` / `^5.3.1` |
88
- | `C_Table` row/column dragging | `sortablejs@^1.15.7` |
89
-
90
- ### Build a form from configuration
42
+ The package root, `C_Breadcrumb`, and `C_TagsView` require `vue-router@^4.6.4` or `^5.3.1`. Table row and column dragging require `sortablejs@^1.15.7`. See the [consumer environment matrix](./docs/engineering.en.md#consumer-environment-matrix) for verified browser, declaration, and SSR combinations.
91
43
 
92
- Place this example in `App.vue`. It uses a component subpath and its CSS entry, with no global registration required:
44
+ ### Configure a form
93
45
 
94
46
  ```vue
95
47
  <script setup lang="ts">
@@ -97,223 +49,95 @@ Place this example in `App.vue`. It uses a component subpath and its CSS entry,
97
49
  import {
98
50
  C_Form,
99
51
  defineFormOptions,
100
- useCForm,
101
52
  } from '@robot-admin/naive-ui-components/C_Form'
102
53
  import '@robot-admin/naive-ui-components/C_Form/style.css'
103
54
 
104
- interface Contact {
105
- name: string
106
- email: string
107
- }
108
-
109
- const result = ref('')
110
- const { formRef, bindings } = useCForm<Contact>({
111
- initialValues: { name: '', email: '' },
112
- options: defineFormOptions<Contact>([
113
- { type: 'input', prop: 'name', label: 'Name', required: true },
114
- { type: 'input', prop: 'email', label: 'Email' },
115
- ]),
116
- config: {
117
- labelPlacement: 'top',
118
- onSubmit: ({ model }) => {
119
- result.value = `Validated: ${model.name}`
120
- },
121
- },
122
- })
55
+ const draft = ref({ name: '' })
56
+ const fields = defineFormOptions<typeof draft.value>([
57
+ { type: 'input', prop: 'name', label: 'Name', required: true },
58
+ ])
123
59
  </script>
124
60
 
125
61
  <template>
126
62
  <C_Form
127
- ref="formRef"
128
- v-bind="bindings"
63
+ v-model="draft"
64
+ :options="fields"
129
65
  />
130
- <p v-if="result">{{ result }}</p>
131
66
  </template>
132
67
  ```
133
68
 
134
- The form includes submission, reset and validation. For persistence, await your async request inside `config.onSubmit`; use `@submit` for completion notifications. See the [usage guide](./docs/guides/usage.en.md) for layouts, validation rules, dialogs and remote tables.
69
+ Pass a save handler to `config.onSubmit`. Use `useCForm()` when code outside the template needs to read, update, or validate the form. See [forms and tables](./docs/guides/usage.en.md#recommended-c_form--c_table-setup) for full examples.
135
70
 
136
- ### Use public Props directly
71
+ ### Use public props directly
137
72
 
138
- For simple components, bind props directly. When extracting configuration, use the component's public type to check fields without duplicating an interface or adding a configuration factory:
73
+ Pass simple props directly, as in `<C_Progress :percentage="62.5" />`. When you extract props into a configuration object, import its public type, such as `ProgressProps`, from the component subpath and check it with `satisfies`. See the [waterfall guide](./docs/guides/waterfall.md) for business fields inferred in slots.
139
74
 
140
- ```vue
141
- <script setup lang="ts">
142
- import {
143
- C_Progress,
144
- type ProgressProps,
145
- } from '@robot-admin/naive-ui-components/C_Progress'
146
- import '@robot-admin/naive-ui-components/C_Progress/style.css'
147
-
148
- const progress = {
149
- percentage: 62.5,
150
- isAnimation: true,
151
- } satisfies ProgressProps
152
- </script>
153
-
154
- <template>
155
- <C_Progress v-bind="progress" />
156
- </template>
157
- ```
75
+ ## Capability map
158
76
 
159
- `BarcodeProps`, `CascadeProps`, `StepsProps`, `CodeProps`, `EditorProps` and `MarkdownProps` are also available from their component subpaths. They share declarations with the actual component props.
77
+ | Area | Representative components | Capabilities |
78
+ | ----------------------- | ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------- |
79
+ | Forms and tables | `C_Form` · `C_FormModal` · `C_FormSearch` · `C_Table` | Configurable fields, validation, inline editing, pagination, selection and export |
80
+ | Search and selection | `C_Select` · `C_AutoComplete` · `C_DataPicker` · `C_UserPicker` · `C_Tree` | Remote options, suggestions, table pickers, organization-based selection and tree navigation |
81
+ | Approvals and tasks | `C_WorkFlow` · `C_ApprovalViewer` · `C_NotificationInbox` · `C_TaskPanel` | Workflow definitions, approval history, inbox lists and background task progress |
82
+ | Data operations | `C_ImportWizard` · `C_BatchResult` · `C_ChangeReview` · `C_FilterBuilder` | Import preflight, itemized results, field diffs and combined filters |
83
+ | Workspaces and planning | `C_Tabs` · `C_SplitPane` · `C_OrgChart` · `C_ResourceSchedule` · `C_TaskBoard` | Pane layouts, organization charts, resource schedules and controlled task moves |
84
+ | Content and media | `C_Editor` · `C_Markdown` · `C_Attachments` · `C_FilePreview` · `C_WaterFall` | Content editing, attachments, document preview and long lists |
160
85
 
161
- ### Infer waterfall business fields
86
+ See the [component catalog](./docs/components.en.md) for the remaining components and dependencies. Explore how the components are used in [Robot Admin](https://robotadmin.cn).
162
87
 
163
- Provide `id`, `src`, `width` and `height` in `items`. Additional business fields flow into slots and events automatically, without converting your data to a base `WaterFallItem[]`:
88
+ ## Integration recipes
164
89
 
165
- ```vue
166
- <script setup lang="ts">
167
- import { C_WaterFall } from '@robot-admin/naive-ui-components/C_WaterFall'
168
- import '@robot-admin/naive-ui-components/C_WaterFall/style.css'
169
-
170
- const products = [
171
- {
172
- id: 1,
173
- src: '/images/product.jpg',
174
- width: 640,
175
- height: 480,
176
- productCode: 'A-01',
177
- price: 125.5,
178
- },
179
- ]
180
- </script>
181
-
182
- <template>
183
- <C_WaterFall :items="products">
184
- <template #item="{ item, width, height }">
185
- <img
186
- :src="item.src"
187
- :alt="item.productCode"
188
- :width="width"
189
- :height="height"
190
- loading="lazy"
191
- />
192
- <p>{{ item.productCode }} · {{ item.price.toFixed(2) }}</p>
193
- </template>
194
- </C_WaterFall>
195
- </template>
196
- ```
197
-
198
- Replace the image path with an application asset. Slot and event records are read-only and preserve Vue's nested `ref` unwrapping; edit the source data owned by your application. See the [waterfall guide](./docs/guides/waterfall.md) (Chinese) for long lists, variable-height cards and scroll containers.
90
+ | Goal | Public entry |
91
+ | ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
92
+ | Export a chosen range | Set `C_Table`'s `export.scopes` for current page, selected rows, or all matching results. Use `requestData` or `onExportMatching` for remote export and pass the last successful query to the host. [Export guide](./docs/guides/table-density.md#异步导出的快照与卸载) |
93
+ | Share a query across tabs | Import `useTabbedQuery` from `/workflows` and provide the active tab, initial criteria, and a request callback. Each tab keeps its pagination, and a newly submitted query resets all pages. [Tabbed queries](./docs/guides/data-workflows.md#多页签共享查询) |
94
+ | Fill fields from a selected record | Use `createDataPickerField({ source, columns, mapFields })`. The source determines the row type. The selected value and related fields commit together. Selecting the same entity preserves manual edits. [Entity selection and field mapping](./docs/guides/data-picker.md#表单内嵌选择) |
95
+ | Protect an unsaved draft | Configure `beforeClose` on `C_FormModal`. Use `requestDiscard()` and `sessionKey` to apply the same guard when switching records in an open dialog. [Form dialogs](./docs/guides/usage.en.md#recommended-c_form--c_table-setup) |
96
+ | Review approval history | Pass a business key and data source to `C_ApprovalViewer`. It displays submissions and handling records. An inbox can pass `instance-id` to open a specific instance. The optional diagram loads on demand. [Approval viewer](./docs/guides/approval-viewer.md) |
97
+ | Track background jobs | Pass tasks to `C_TaskPanel` and handle download and retry events. Running tasks distinguish known progress from unknown progress, and itemized results load when opened. [Task panel](./docs/guides/task-panel.md) |
199
98
 
200
99
  ### Scope table preferences per account
201
100
 
202
- Register once when the app starts. `session` is your existing reactive identity state; keep it `undefined` until the identity is fully resolved:
203
-
204
- ```ts
205
- import { TABLE_GLOBAL_CONFIG_KEY } from '@robot-admin/naive-ui-components/config'
206
-
207
- app.provide(TABLE_GLOBAL_CONFIG_KEY, {
208
- defaults: { density: 'compact' },
209
- get persistPrefix() {
210
- const scope = session.value
211
- return scope
212
- ? JSON.stringify([scope.tenantId, scope.companyId, scope.userId])
213
- : undefined
214
- },
215
- })
216
- ```
217
-
218
- Each page only supplies a stable table ID, such as `config: { persistKey: 'shipping' }`. The compact default applies to headers, regular cells, actions and editors; a regional `C_Density` or local config can override it. Column visibility, order and widths are stored per scope without mutating business column definitions. The lightweight `/config` entry exports the same configuration key as `/C_Table`.
219
-
220
- Declare the getter at startup and change its reactive value when accounts change; do not remove the field. An explicitly configured prefix that is `undefined`, empty or whitespace disables preference reads and writes, without falling back to legacy caches. Omitting `persistPrefix` retains legacy keys. Tables without `persistKey` keep settings only in memory and clear them on scope changes. See the [scope guide](./docs/guides/table-density.md#表格偏好与作用域) (Chinese).
101
+ Provide a reactive `persistPrefix` via `TABLE_GLOBAL_CONFIG_KEY`, then give each table a stable `config.persistKey`. See [table preference scoping](./docs/guides/table-density.md#表格偏好与作用域) for the full setup.
221
102
 
222
103
  ## Imports and styles
223
104
 
224
- ### Choose an import strategy
225
-
226
- | Strategy | Use case | Styles |
227
- | -------------------- | ------------------------------------------ | ------------------------------------------- |
228
- | Component subpaths | Explicit control over each component entry | Import `C_Component/style.css` |
229
- | Auto-import resolver | Use components directly in templates | Set `importStyle: true` explicitly |
230
- | Named root imports | Existing Tree-Shaking setups | Import the required CSS or full `style.css` |
231
- | Global `app.use()` | Register the entire library | Import full `style.css` |
105
+ | Strategy | Styles |
106
+ | ----------------------------------- | --------------------------------------------------------------------------------------------------- |
107
+ | Component subpaths | Import `C_Component/style.css` for the component, composed styles, and shared tokens |
108
+ | Resolver | Set `RobotNaiveUiResolver({ importStyle: true })` in Vite's `unplugin-vue-components` configuration |
109
+ | Package root or global registration | Import the individual styles you need or the package root's `style.css` |
232
110
 
233
- ### Automatic imports
234
-
235
- Install `unplugin-vue-components`, then add the resolver to your Vite configuration:
236
-
237
- ```bash
238
- bun add -d unplugin-vue-components
239
- ```
240
-
241
- ```ts
242
- // vite.config.ts
243
- import { defineConfig } from 'vite'
244
- import vue from '@vitejs/plugin-vue'
245
- import Components from 'unplugin-vue-components/vite'
246
- import { RobotNaiveUiResolver } from '@robot-admin/naive-ui-components/resolver'
247
-
248
- export default defineConfig({
249
- plugins: [
250
- vue(),
251
- Components({
252
- resolvers: [RobotNaiveUiResolver({ importStyle: true })],
253
- }),
254
- ],
255
- })
256
- ```
257
-
258
- The resolver uses component subpaths by default. `importStyle` defaults to `false`, so enable automatic CSS explicitly. Both `true` and `'full'` load full component styles. `'base'` excludes built-in rich-text editor styles for `C_Form` / `C_Table`; other components retain full styles. Choose base styles only when not using built-in rich-text fields.
259
-
260
- Each component CSS entry loads its composed styles and shared design tokens automatically. Manual imports can use `C_Form/base.css` and `C_Table/base.css`; full styles also have `full.css` aliases. Load heavy editors, flows, maps and media with their business routes. See [import strategies](./docs/guides/usage.en.md#import-strategies) for details and global registration examples.
261
-
262
- The repository builds minimal consumers per entry and checks initial JS gzip, heavy dependency boundaries and first-open increments. Measurements include Vue and Naive UI, cannot be summed into a whole-app estimate, and do not replace page-level interaction measurements. See [development and build](./docs/engineering.en.md#development) for coverage; the [0.15.0 size report](./docs/performance-0.15.0.md) (Chinese) is retained as historical context only.
263
-
264
- Root imports aggregate navigation components and require `vue-router` at runtime. Applications without it should use component subpaths; their unrelated optional peers are not required.
111
+ Use full styles for built-in rich-text fields. Ordinary forms and tables can use `C_Form/base.css` and `C_Table/base.css`, or `importStyle: 'base'` with the resolver. See [import strategies](./docs/guides/usage.en.md#import-strategies) for configuration examples.
265
112
 
266
113
  ## Documentation
267
114
 
268
- | Document | Contents |
269
- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
270
- | [Architecture and isolation](./docs/architecture.en.md) | Dependency boundaries, instance ownership and the independent Element Plus roadmap |
271
- | [Component catalog](./docs/components.en.md) | All 63 components, dependencies and behavior boundaries |
272
- | [Usage guide](./docs/guides/usage.en.md) | Imports, forms/tables, Cron/formulas, maps, onboarding, captcha, login and page loading |
273
- | [Density and workbenches](./docs/guides/table-density.md) | Shared form/search/table density, edit modes, split panes and tree capabilities (Chinese) |
274
- | [Theme and visual standard](./docs/guides/theme.md) | Semantic colors, light/dark mode, control sizes and local overrides with the existing provider (Chinese) |
275
- | [Lists and async tasks](./docs/guides/runtime-performance.md) | Automatic list windows, chat scrolling, search indexes and media task ownership (Chinese) |
276
- | [Waterfall lists](./docs/guides/waterfall.md) | Automatic windows, nested scrolling, measured cards and keyboard navigation (Chinese) |
277
- | [Compatible API migration](./docs/guides/api-migration.md) | 0.40.4 adoption notes, standard models, application renderers and read-only migration checks (Chinese) |
278
- | [Production coverage review](./docs/wl-ui-produce-coverage.md) | wl-ui-produce capability mapping and adapter boundaries (Chinese) |
279
- | [0.40.4 component audit](./docs/component-audit-closure-0.40.4.md) | That release's fixes, type improvements, compatibility boundaries and packaged-consumer validation (Chinese) |
280
- | [Development and build](./docs/engineering.en.md) | Source structure, six-stage build, adding components, checks and releases |
281
- | [Brand assets](./docs/assets/README.md) | Robot family logo, editable SVG sources and high-resolution PNGs |
282
- | [Changelog](./CHANGELOG.md) | Releases and compatibility changes |
283
- | [Security policy](./SECURITY.md) | Vulnerability reporting and maintenance policy |
284
-
285
- Dependency security depends on the actual lockfile and audit run. `bun run check:audit` retains raw findings and verifies evidence for narrowly scoped local mitigations or unaffected paths; `check:audit:raw` provides the original report. Repository overrides and development patches do not propagate to consumers, so applications must audit their own lockfiles. Historical scans are not current results. See the [security policy](./SECURITY.md) for bundled-runtime and consumer-dependency boundaries.
115
+ | Document | Coverage |
116
+ | ----------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
117
+ | [Component catalog](./docs/components.en.md) | Public components, dependencies, and usage boundaries |
118
+ | [Usage guide](./docs/guides/usage.en.md) · [Business scenes](./docs/guides/scene-components.md) | Component configuration and composition examples |
119
+ | [Theme](./docs/guides/theme.md) · [Architecture](./docs/architecture.en.md) · [Runtime performance](./docs/guides/runtime-performance.md) | Theme tokens, instance isolation, long lists, and deferred loading |
120
+ | [API migration](./docs/guides/api-migration.md) · [Changelog](./CHANGELOG.md) | Adoption notes and release history |
121
+ | [Maintenance and releases](./docs/engineering.en.md) · [Security](./SECURITY.md) · [Brand assets](./docs/assets/README.md) | Build and release checks, dependency auditing, logo and banner sources |
286
122
 
287
123
  ## Local development
288
124
 
289
- Maintaining this repository requires **Node.js ≥20.19.0** and the pinned **Bun 1.4.2**. CI uses `.node-version`, the frozen lockfile and checks actual dependency overrides. The minimum Bun version for consumers remains 1.3.14.
290
-
291
- Source checks and builds use locked **TypeScript 5.9.3**. CI additionally verifies consumption of the built declarations with **TypeScript 5.8.3**; this does not claim support for building repository source with 5.8. See [TypeScript build and consumption](./docs/engineering.en.md#typescript-build-and-consumption).
125
+ Use Node.js 20.19+ and the Bun version pinned in the repository's `packageManager` field.
292
126
 
293
127
  ```bash
294
- git clone https://github.com/ChenyCHENYU/naive-ui-components.git
295
- cd naive-ui-components
296
128
  bun install --frozen-lockfile
297
- bun run dev
298
- ```
299
-
300
- `dev` watches library builds and shared SCSS. Interactive demonstrations are provided by Robot Admin, which consumes the library.
301
-
302
- ```bash
303
- bun run verify # Lint, types, logic/component tests, exports, build and consumer types
304
- bun run check:audit # Separate dependency audit; CI runs this before verify
129
+ bun run verify
305
130
  ```
306
131
 
307
- See [development and build](./docs/engineering.en.md) for individual checks and publishing. The CI workflow is defined in [ci.yml](./.github/workflows/ci.yml).
132
+ `verify` runs static checks, unit and component tests, packaged-consumer checks, and bundle budget checks. For interactive demos, run `bun run build` followed by `bun run dev:search-workflows` and open the [local scene gallery](http://127.0.0.1:4188/scenes.html). Run `bun run test:browser` after `verify` to check browser interactions.
308
133
 
309
134
  ## Robot ecosystem
310
135
 
311
- | Project | Responsibility |
312
- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
313
- | **Naive UI Components** | Independently consumable Vue 3 business components and composables |
314
- | [Robot Admin](https://github.com/ChenyCHENYU/Robot_Admin) | PC Web application template, business pages and interactive demos |
315
- | [robot-admin-packages](https://github.com/ChenyCHENYU/robot-admin-packages) | Requests, validation, themes, layouts, directives, file utilities and Git tooling |
316
- | [Robot Cloud](https://github.com/ChenyCHENYU/Robot_Cloud) | Authentication, company context, system management and authorization services |
136
+ | Project | Role |
137
+ | --------------------------------------------------------------------------- | ------------------------------------------------------------------- |
138
+ | [Robot Admin](https://github.com/ChenyCHENYU/Robot_Admin) | PC web starter and component scenarios |
139
+ | [robot-admin-packages](https://github.com/ChenyCHENYU/robot-admin-packages) | Requests, validation, themes, layouts, files, and engineering tools |
140
+ | [Robot Cloud](https://github.com/ChenyCHENYU/Robot_Cloud) | Authentication, company context, and authorization services |
317
141
 
318
142
  ## License
319
143
 
@@ -0,0 +1 @@
1
+ require(`./chunk.cjs`);const e=require(`./useComponentLocale.cjs`),t=require(`./export-helper.cjs`);require(`./C_Icon2.cjs`);const n=require(`./actionIcon.cjs`);let r=require(`vue`),i=require(`naive-ui`);const a=(0,r.defineComponent)({__name:`ActionOverflow`,props:{anchor:{},threshold:{},entries:{},size:{},resolve:{type:Function}},emits:[`narrow`,`select`],setup(t,{emit:a}){let o=t,s=a,{t:c}=e.t();(0,r.watch)(()=>[o.anchor,o.threshold],([e,t],n,r)=>{if(s(`narrow`,!1),!e)return;let i=()=>{let{width:n}=e.getBoundingClientRect();n>0&&s(`narrow`,n<t)};if(i(),typeof ResizeObserver>`u`)return;let a=new ResizeObserver(i);a.observe(e),r(()=>a.disconnect())},{immediate:!0,flush:`post`}),(0,r.onBeforeUnmount)(()=>s(`narrow`,!1));let l=(0,r.computed)(()=>o.entries.map(e=>{let{label:t,icon:r,disabled:i}=o.resolve(e);return{key:e.renderKey,label:t,disabled:i,icon:()=>n.t(r,14)}}));function u(e){let t=o.entries.find(t=>t.renderKey===e);t&&s(`select`,t)}return(e,a)=>t.entries.length?((0,r.openBlock)(),(0,r.createBlock)((0,r.unref)(i.NDropdown),{key:0,trigger:`click`,options:l.value,onSelect:u},{default:(0,r.withCtx)(()=>[(0,r.createVNode)((0,r.unref)(i.NButton),{class:`actions-overflow`,size:t.size,"render-icon":()=>(0,r.unref)(n.t)(`mdi:dots-horizontal`,14),"aria-haspopup":`menu`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)((0,r.unref)(c)(`common.more`)),1)]),_:1},8,[`size`,`render-icon`])]),_:1},8,[`options`])):(0,r.createCommentVNode)(`v-if`,!0)}});var o=t.t(a,[[`__scopeId`,`data-v-41d2044a`]]);exports.default=o;
@@ -0,0 +1 @@
1
+ import{t as e}from"./useComponentLocale.js";import{t}from"./export-helper.js";import"./C_Icon2.js";import{t as n}from"./actionIcon.js";import{computed as r,createBlock as i,createCommentVNode as a,createTextVNode as o,createVNode as s,defineComponent as c,onBeforeUnmount as l,openBlock as u,toDisplayString as d,unref as f,watch as p,withCtx as m}from"vue";import{NButton as h,NDropdown as g}from"naive-ui";var _=t(c({__name:`ActionOverflow`,props:{anchor:{},threshold:{},entries:{},size:{},resolve:{type:Function}},emits:[`narrow`,`select`],setup(t,{emit:c}){let _=t,v=c,{t:y}=e();p(()=>[_.anchor,_.threshold],([e,t],n,r)=>{if(v(`narrow`,!1),!e)return;let i=()=>{let{width:n}=e.getBoundingClientRect();n>0&&v(`narrow`,n<t)};if(i(),typeof ResizeObserver>`u`)return;let a=new ResizeObserver(i);a.observe(e),r(()=>a.disconnect())},{immediate:!0,flush:`post`}),l(()=>v(`narrow`,!1));let b=r(()=>_.entries.map(e=>{let{label:t,icon:r,disabled:i}=_.resolve(e);return{key:e.renderKey,label:t,disabled:i,icon:()=>n(r,14)}}));function x(e){let t=_.entries.find(t=>t.renderKey===e);t&&v(`select`,t)}return(e,r)=>t.entries.length?(u(),i(f(g),{key:0,trigger:`click`,options:b.value,onSelect:x},{default:m(()=>[s(f(h),{class:`actions-overflow`,size:t.size,"render-icon":()=>f(n)(`mdi:dots-horizontal`,14),"aria-haspopup":`menu`},{default:m(()=>[o(d(f(y)(`common.more`)),1)]),_:1},8,[`size`,`render-icon`])]),_:1},8,[`options`])):a(`v-if`,!0)}}),[[`__scopeId`,`data-v-41d2044a`]]);export{_ as default};