@robot-admin/naive-ui-components 0.22.1 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +7 -5
  3. package/README_EN.md +7 -5
  4. package/dist/C_ActionBar.d.cts +2 -1
  5. package/dist/C_ActionBar.d.ts +2 -1
  6. package/dist/C_AntV2.cjs +3 -3
  7. package/dist/C_AntV2.js +3 -3
  8. package/dist/C_BatchResult.cjs +1 -0
  9. package/dist/C_BatchResult.css +32 -0
  10. package/dist/C_BatchResult.d.cts +2 -0
  11. package/dist/C_BatchResult.d.ts +2 -0
  12. package/dist/C_BatchResult.js +1 -0
  13. package/dist/C_BatchResult2.cjs +1 -0
  14. package/dist/C_BatchResult2.js +1 -0
  15. package/dist/C_Breadcrumb.d.cts +2 -2
  16. package/dist/C_Breadcrumb.d.ts +1 -1
  17. package/dist/C_Cascade.d.cts +1 -1
  18. package/dist/C_Cascade.d.ts +1 -1
  19. package/dist/C_Chat.d.cts +1 -1
  20. package/dist/C_Chat.d.ts +1 -1
  21. package/dist/C_City.d.cts +1 -1
  22. package/dist/C_City.d.ts +1 -1
  23. package/dist/C_Code.d.cts +1 -1
  24. package/dist/C_Code.d.ts +1 -1
  25. package/dist/C_ContextMenu.d.cts +1 -1
  26. package/dist/C_ContextMenu.d.ts +1 -1
  27. package/dist/C_DataPicker.cjs +1 -0
  28. package/dist/C_DataPicker.css +55 -0
  29. package/dist/C_DataPicker.d.cts +2 -0
  30. package/dist/C_DataPicker.d.ts +5 -0
  31. package/dist/C_DataPicker.js +1 -0
  32. package/dist/C_DataPicker2.cjs +1 -0
  33. package/dist/C_DataPicker2.js +1 -0
  34. package/dist/C_Date.d.cts +1 -1
  35. package/dist/C_Date.d.ts +1 -1
  36. package/dist/C_Density.cjs +1 -0
  37. package/dist/C_Density.css +1 -0
  38. package/dist/C_Density.d.cts +3 -0
  39. package/dist/C_Density.d.ts +3 -0
  40. package/dist/C_Density.js +1 -0
  41. package/dist/C_Density2.cjs +1 -0
  42. package/dist/C_Density2.js +1 -0
  43. package/dist/C_Editor.d.cts +1 -1
  44. package/dist/C_Editor.d.ts +1 -1
  45. package/dist/C_ErrorSummary.cjs +1 -0
  46. package/dist/C_ErrorSummary.css +29 -0
  47. package/dist/C_ErrorSummary.d.cts +3 -0
  48. package/dist/C_ErrorSummary.d.ts +3 -0
  49. package/dist/C_ErrorSummary.js +1 -0
  50. package/dist/C_ErrorSummary2.cjs +1 -0
  51. package/dist/C_ErrorSummary2.js +1 -0
  52. package/dist/C_Form.base.css +150 -148
  53. package/dist/C_Form.css +151 -253
  54. package/dist/C_Form.d.cts +1 -1
  55. package/dist/C_Form.d.ts +19 -2
  56. package/dist/C_FormModal.css +1 -2
  57. package/dist/C_FormModal.d.cts +1 -1
  58. package/dist/C_FormModal.d.ts +17 -2
  59. package/dist/C_FormSearch.cjs +1 -1
  60. package/dist/C_FormSearch.css +124 -52
  61. package/dist/C_FormSearch.d.cts +3 -3
  62. package/dist/C_FormSearch.d.ts +5 -4
  63. package/dist/C_FormSearch.js +1 -1
  64. package/dist/C_FormulaEditor.d.cts +1 -1
  65. package/dist/C_FormulaEditor.d.ts +1 -1
  66. package/dist/C_Guide.d.cts +1 -1
  67. package/dist/C_Guide.d.ts +1 -1
  68. package/dist/C_Icon.d.cts +1 -1
  69. package/dist/C_Icon.d.ts +1 -1
  70. package/dist/C_Language.d.cts +1 -1
  71. package/dist/C_Language.d.ts +1 -1
  72. package/dist/C_Loading.d.cts +1 -1
  73. package/dist/C_Loading.d.ts +1 -1
  74. package/dist/C_Login.d.cts +1 -1
  75. package/dist/C_Login.d.ts +1 -1
  76. package/dist/C_Markdown.d.cts +1 -1
  77. package/dist/C_Markdown.d.ts +1 -1
  78. package/dist/C_Menu.d.cts +2 -2
  79. package/dist/C_Menu.d.ts +1 -1
  80. package/dist/C_OrgChart.d.cts +1 -1
  81. package/dist/C_OrgChart.d.ts +1 -1
  82. package/dist/C_Progress.d.cts +1 -1
  83. package/dist/C_Progress.d.ts +1 -1
  84. package/dist/C_SectionNav.cjs +1 -0
  85. package/dist/C_SectionNav.css +46 -0
  86. package/dist/C_SectionNav.d.cts +2 -0
  87. package/dist/C_SectionNav.d.ts +2 -0
  88. package/dist/C_SectionNav.js +1 -0
  89. package/dist/C_SectionNav2.cjs +1 -0
  90. package/dist/C_SectionNav2.js +1 -0
  91. package/dist/C_Skeleton.d.cts +1 -1
  92. package/dist/C_Skeleton.d.ts +1 -1
  93. package/dist/C_SplitPane2.cjs +1 -1
  94. package/dist/C_SplitPane2.js +1 -1
  95. package/dist/C_Steps.d.cts +1 -1
  96. package/dist/C_Steps.d.ts +1 -1
  97. package/dist/C_Table.base.css +258 -256
  98. package/dist/C_Table.cjs +1 -1
  99. package/dist/C_Table.css +109 -1283
  100. package/dist/C_Table.d.cts +2 -1
  101. package/dist/C_Table.d.ts +9 -8
  102. package/dist/C_Table.js +1 -1
  103. package/dist/C_Table2.cjs +3 -0
  104. package/dist/C_Table2.js +3 -0
  105. package/dist/C_Tabs.cjs +1 -1
  106. package/dist/C_Tabs.d.cts +1 -1
  107. package/dist/C_Tabs.d.ts +1 -1
  108. package/dist/C_Tabs.js +1 -1
  109. package/dist/C_TagsView.d.cts +1 -1
  110. package/dist/C_Theme.d.cts +1 -1
  111. package/dist/C_Theme.d.ts +1 -1
  112. package/dist/C_Timeline.d.cts +1 -1
  113. package/dist/C_Timeline.d.ts +1 -1
  114. package/dist/C_Transfer.d.cts +1 -1
  115. package/dist/C_Transfer.d.ts +1 -1
  116. package/dist/C_Tree.d.cts +1 -1
  117. package/dist/C_Tree.d.ts +9 -8
  118. package/dist/C_Upload.d.cts +1 -1
  119. package/dist/C_Upload.d.ts +1 -1
  120. package/dist/C_WorkFlow2.cjs +1 -1
  121. package/dist/C_WorkFlow2.js +1 -1
  122. package/dist/Card.cjs +1 -1
  123. package/dist/Card.js +1 -1
  124. package/dist/Steps.cjs +1 -1
  125. package/dist/Steps.js +1 -1
  126. package/dist/Tabs.cjs +1 -1
  127. package/dist/Tabs.js +1 -1
  128. package/dist/batchPatch.cjs +1 -0
  129. package/dist/batchPatch.d.cts +26 -0
  130. package/dist/batchPatch.d.ts +26 -0
  131. package/dist/batchPatch.js +1 -0
  132. package/dist/config.cjs +1 -1
  133. package/dist/config.d.cts +4 -1
  134. package/dist/config.d.ts +6 -2
  135. package/dist/config.js +1 -1
  136. package/dist/config2.d.ts +1 -1
  137. package/dist/constants.d.cts +1 -1
  138. package/dist/constants.d.ts +1 -1
  139. package/dist/constants2.d.cts +402 -173
  140. package/dist/constants2.d.ts +402 -173
  141. package/dist/constants3.d.cts +3 -3
  142. package/dist/constants3.d.ts +3 -3
  143. package/dist/constants4.d.cts +173 -402
  144. package/dist/constants4.d.ts +173 -402
  145. package/dist/contracts.d.ts +24 -0
  146. package/dist/data.cjs +1 -1
  147. package/dist/data.d.cts +5 -108
  148. package/dist/data.d.ts +5 -108
  149. package/dist/data.js +1 -1
  150. package/dist/data2.cjs +1 -1
  151. package/dist/data2.d.cts +108 -0
  152. package/dist/data2.d.ts +108 -0
  153. package/dist/data2.js +1 -1
  154. package/dist/data3.cjs +1 -0
  155. package/dist/data3.js +1 -0
  156. package/dist/dateRange.d.cts +108 -13
  157. package/dist/dateRange.d.ts +110 -14
  158. package/dist/density.d.ts +15 -0
  159. package/dist/dictionary.cjs +1 -0
  160. package/dist/dictionary.d.cts +38 -0
  161. package/dist/dictionary.d.ts +38 -0
  162. package/dist/dictionary.js +1 -0
  163. package/dist/helpers.cjs +1 -1
  164. package/dist/helpers.js +1 -1
  165. package/dist/index.cjs +1 -1
  166. package/dist/index.d.cts +63 -52
  167. package/dist/index.d.ts +71 -57
  168. package/dist/index.js +1 -1
  169. package/dist/index.vue.d.cts +4 -4
  170. package/dist/index.vue.d.ts +4 -4
  171. package/dist/index10.vue.d.cts +37 -80
  172. package/dist/index10.vue.d.ts +77 -53
  173. package/dist/index11.vue.d.cts +77 -53
  174. package/dist/index11.vue.d.ts +1117 -45
  175. package/dist/index12.vue.d.cts +1117 -45
  176. package/dist/index12.vue.d.ts +17 -128
  177. package/dist/index13.vue.d.cts +17 -128
  178. package/dist/index13.vue.d.ts +57 -53
  179. package/dist/index14.vue.d.cts +57 -53
  180. package/dist/index14.vue.d.ts +16 -25
  181. package/dist/index15.vue.d.cts +16 -25
  182. package/dist/index15.vue.d.ts +52 -12
  183. package/dist/index16.vue.d.cts +52 -12
  184. package/dist/index16.vue.d.ts +13 -129
  185. package/dist/index17.vue.d.cts +13 -129
  186. package/dist/index17.vue.d.ts +123 -74
  187. package/dist/index18.vue.d.cts +123 -74
  188. package/dist/index18.vue.d.ts +48 -71
  189. package/dist/index19.vue.d.cts +40 -91
  190. package/dist/index19.vue.d.ts +36 -96
  191. package/dist/index2.vue.d.cts +2 -2
  192. package/dist/index2.vue.d.ts +2 -2
  193. package/dist/index20.vue.d.cts +38 -47
  194. package/dist/index20.vue.d.ts +13 -48
  195. package/dist/index21.vue.d.cts +12 -96
  196. package/dist/index21.vue.d.ts +25 -95
  197. package/dist/index22.vue.d.cts +20 -32
  198. package/dist/index22.vue.d.ts +75 -37
  199. package/dist/index23.vue.d.cts +77 -13
  200. package/dist/index23.vue.d.ts +71 -13
  201. package/dist/index24.vue.d.cts +1 -1
  202. package/dist/index25.vue.d.cts +116 -90
  203. package/dist/index25.vue.d.ts +116 -90
  204. package/dist/index26.vue.d.cts +94 -59
  205. package/dist/index26.vue.d.ts +94 -59
  206. package/dist/index27.vue.d.cts +75 -0
  207. package/dist/index27.vue.d.ts +75 -0
  208. package/dist/index28.vue.d.cts +103 -0
  209. package/dist/index28.vue.d.ts +103 -0
  210. package/dist/index29.vue.d.cts +105 -0
  211. package/dist/index29.vue.d.ts +105 -0
  212. package/dist/index3.vue.d.cts +4 -4
  213. package/dist/index3.vue.d.ts +4 -4
  214. package/dist/index30.vue.d.cts +28 -0
  215. package/dist/index30.vue.d.ts +28 -0
  216. package/dist/index4.vue.d.cts +19 -128
  217. package/dist/index4.vue.d.ts +17 -34
  218. package/dist/index5.vue.d.cts +127 -35
  219. package/dist/index5.vue.d.ts +30 -19
  220. package/dist/index6.vue.d.cts +30 -19
  221. package/dist/index6.vue.d.ts +22 -118
  222. package/dist/index7.vue.d.cts +22 -118
  223. package/dist/index7.vue.d.ts +112 -18
  224. package/dist/index8.vue.d.cts +112 -18
  225. package/dist/index8.vue.d.ts +24 -35
  226. package/dist/index9.vue.d.cts +24 -35
  227. package/dist/index9.vue.d.ts +37 -80
  228. package/dist/numberCodec.cjs +1 -0
  229. package/dist/numberCodec.d.cts +25 -0
  230. package/dist/numberCodec.d.ts +25 -0
  231. package/dist/numberCodec.js +1 -0
  232. package/dist/observer.cjs +1 -0
  233. package/dist/observer.js +1 -0
  234. package/dist/presets.d.cts +2 -65
  235. package/dist/presets.d.ts +2 -65
  236. package/dist/resolver.cjs +1 -1
  237. package/dist/resolver.d.cts +1 -1
  238. package/dist/resolver.d.ts +1 -1
  239. package/dist/resolver.js +1 -1
  240. package/dist/serializeSearch.cjs +1 -0
  241. package/dist/serializeSearch.js +1 -0
  242. package/dist/style.css +548 -308
  243. package/dist/types.d.cts +60 -103
  244. package/dist/types.d.ts +62 -52
  245. package/dist/types2.d.cts +104 -51
  246. package/dist/types2.d.ts +56 -0
  247. package/dist/types3.d.cts +56 -0
  248. package/dist/useCollapsePanel.d.cts +3 -3
  249. package/dist/useCollapsePanel.d.ts +3 -3
  250. package/dist/useComponentLocale.cjs +1 -1
  251. package/dist/useComponentLocale.js +1 -1
  252. package/dist/useCropperCore.d.cts +7 -7
  253. package/dist/useCropperCore.d.ts +7 -7
  254. package/dist/useDataResource.cjs +1 -0
  255. package/dist/useDataResource.js +1 -0
  256. package/dist/useDictionary.cjs +1 -0
  257. package/dist/useDictionary.js +1 -0
  258. package/dist/useDynamicFormState.d.cts +960 -10
  259. package/dist/useDynamicFormState.d.ts +951 -11
  260. package/dist/useEdgeInteraction.d.cts +2 -2
  261. package/dist/useEdgeInteraction.d.ts +2 -2
  262. package/dist/useFormArray.cjs +1 -0
  263. package/dist/useFormArray.d.cts +69 -0
  264. package/dist/useFormArray.d.ts +69 -0
  265. package/dist/useFormArray.js +1 -0
  266. package/dist/useFormConfig.d.cts +14 -0
  267. package/dist/useFormConfig.d.ts +17 -38
  268. package/dist/useGridWidth.cjs +1 -0
  269. package/dist/useGridWidth.js +1 -0
  270. package/dist/useInfiniteScroll.d.cts +1 -1
  271. package/dist/useInfiniteScroll.d.ts +1 -1
  272. package/dist/useQRCode.d.cts +4 -4
  273. package/dist/useQRCode.d.ts +4 -4
  274. package/dist/useSignatureHistory.d.cts +4 -4
  275. package/dist/useSignatureHistory.d.ts +4 -4
  276. package/dist/useSplitResize.d.cts +4 -4
  277. package/dist/useSplitResize.d.ts +4 -4
  278. package/dist/useTableGlobalConfig.cjs +1 -0
  279. package/dist/useTableGlobalConfig.js +1 -0
  280. package/dist/useTableQuery.cjs +1 -3
  281. package/dist/useTableQuery.js +1 -3
  282. package/dist/useWorkflowValidation.d.cts +2 -2
  283. package/dist/useWorkflowValidation.d.ts +2 -2
  284. package/dist/validation.cjs +1 -0
  285. package/dist/validation.d.cts +18 -0
  286. package/dist/validation.d.ts +18 -0
  287. package/dist/validation.js +1 -0
  288. package/dist/verification.d.cts +2 -2
  289. package/dist/verification.d.ts +3 -3
  290. package/dist/workflows.cjs +1 -0
  291. package/dist/workflows.d.cts +2 -0
  292. package/dist/workflows.d.ts +2 -0
  293. package/dist/workflows.js +1 -0
  294. package/docs/components.en.md +13 -1
  295. package/docs/components.md +13 -1
  296. package/docs/guides/batch-results.md +47 -0
  297. package/docs/guides/data-picker.md +65 -0
  298. package/docs/guides/data-workflows.md +123 -0
  299. package/docs/guides/form-density.en.md +39 -0
  300. package/docs/guides/form-density.md +39 -0
  301. package/docs/guides/search-workflows.md +164 -0
  302. package/package.json +21 -1
  303. package/dist/C_FormSearch2.cjs +0 -1
  304. package/dist/C_FormSearch2.js +0 -1
  305. package/dist/useTableQuery.d.cts +0 -1957
  306. package/dist/useTableQuery.d.ts +0 -1946
@@ -1 +1 @@
1
- require(`./chunk.cjs`);const e=require(`./config.cjs`);let t=require(`vue`);const n=Object.freeze({"notification.invalidResponse":`消息接口返回的数据或统计无效`,"notification.operationFailed":`消息操作失败,请重试`,"notification.missingFetch":`远程消息模式未配置 fetchNotifications`,"notification.missingAction":`远程消息模式未配置 {name} 接口`,"notification.expiredScope":`消息作用域已失效`,"chat.self":`Me`,"common.search":`搜索...`,"common.add":`新增`,"common.refresh":`刷新`,"common.expand":`展开详情`,"common.collapse":`收起`,"common.unknown":`未知`,"tree.search":`搜索树节点`,"tree.expandAll":`展开全部`,"tree.collapseAll":`收起全部`,"tree.menu.add":`新增子菜单`,"tree.menu.deleteConfirm":`确认删除该菜单吗?`,"tree.file.open":`打开`,"tree.file.rename":`重命名`,"tree.file.deleteConfirm":`确认删除该文件吗?`,"tree.org.add":`新增下级`,"transfer.source":`可选列表`,"transfer.target":`已选列表`,"transfer.empty":`暂无数据`,"transfer.emptyTarget":`未选择任何项`,"transfer.searchSource":`搜索可选列表`,"transfer.searchTarget":`搜索已选列表`,"transfer.toTarget":`移至已选列表`,"transfer.toSource":`移回可选列表`,"split.resize":`调整面板大小`,"split.expandFirst":`展开首面板`,"split.collapseFirst":`折叠首面板`,"split.expandSecond":`展开第二面板`,"split.collapseSecond":`折叠第二面板`,"chat.sessions":`会话`,"chat.search":`搜索联系人`,"chat.online":`在线`,"chat.empty":`暂无消息,发送第一条吧`,"chat.choose":`选择一个会话开始聊天`,"chat.placeholder":`输入消息...`,"chat.title":`聊天`,"chat.emoji":`表情`,"chat.attach":`添加附件`,"chat.send":`发送`,"chat.imagePreview":`预览{name}的图片`,"chat.image":`聊天图片`,"chat.file":`文件`,"chat.failed":`发送失败,点击重试`,"chat.sending":`发送中...`,"time.now":`刚刚`,"time.minutes":`{count}分钟前`,"time.hours":`{count}小时前`,"time.days":`{count}天前`,"time.weeks":`{count}周前`,"time.months":`{count}个月前`,"time.yesterday":`昨天 {time}`,"theme.light":`当前: 浅色模式 (点击切换)`,"theme.dark":`当前: 深色模式 (点击切换)`,"theme.system":`当前: 跟随系统 (点击切换)`,"language.switch":`语言切换`,"skeleton.loading":`加载中`,"timeline.loading":`加载中...`,"notification.title":`消息中心`,"notification.viewAll":`查看全部消息`,"notification.badge":`消息通知`,"notification.unreadBadge":`消息通知({count} 条未读)`,"notification.all":`全部`,"notification.system":`系统通知`,"notification.business":`业务消息`,"notification.alarm":`告警预警`,"notification.low":`低`,"notification.normal":`普通`,"notification.high":`重要`,"notification.urgent":`紧急`,"notification.markRead":`标记已读`,"notification.delete":`删除消息`,"notification.allRead":`全部已读`,"notification.clear":`清空`,"notification.loadMore":`加载更多`,"notification.loading":`加载中...`,"notification.empty":`暂无消息`,"notification.back":`返回列表`,"notification.details":`查看详情`,"notification.connected":`已连接`,"notification.connecting":`连接中...`,"notification.disconnected":`未连接`,"notification.reconnecting":`重连中...`,"common.confirm":`确定`,"common.cancel":`取消`,"common.save":`保存`,"common.submit":`提交`,"common.reset":`重置`,"common.retry":`重试`,"common.edit":`编辑`,"common.detail":`详情`,"common.delete":`删除`,"common.select":`选择`,"common.print":`打印`,"common.loading":`正在加载`,"table.loading":`正在加载数据`,"table.loadFailed":`数据加载失败`,"table.deleteTitle":`确认删除`,"table.deleteContent":`确定要删除这条记录吗?`,"table.deleteSuccess":`删除成功`,"table.deleteFailed":`删除失败`,"table.detailFailed":`获取详情失败`,"table.moreActions":`更多操作`,"table.actionFailed":`{action}失败`,"table.cancelSelection":`取消选择`,"table.columnSettings":`列设置`,"table.export":`导出`,"table.settings":`表格设置`,"table.selectedCount":`已选择 {count} 项`,"table.addRow":`增行`,"table.insertRow":`插行`,"table.deleteRow":`删除行`,"table.copyRow":`复制行`,"table.moveUp":`上移`,"table.moveDown":`下移`,"table.addRowSuccess":`添加行成功`,"table.insertRowSuccess":`插入行成功`,"table.deleteRowSuccess":`删除行成功`,"table.copyRowSuccess":`复制行成功`,"table.moveUpSuccess":`行已上移`,"table.moveDownSuccess":`行已下移`,"table.selectRowFirst":`请先选择一行数据`,"table.selectDeleteRowFirst":`请先选择要删除的行`,"table.selectCopyRowFirst":`请先选择要复制的行`,"table.firstRow":`已经是第一行`,"table.lastRow":`已经是最后一行`,"table.deleteRowContent":`确定要删除选中的行吗?此操作不可撤销。`,"table.confirmDeleteRow":`确认删除`,"table.printTargetMissing":`打印元素未找到`,"table.downloadTargetMissing":`下载元素未找到`,"table.invalidRowKeys":`表格存在 {count} 个缺失或重复的行键`,"breadcrumb.label":`面包屑`,"breadcrumb.expandPath":`展开完整路径`,"breadcrumb.fullPath":`完整路径`,"breadcrumb.directoryPages":`目录页面`,"breadcrumb.pageCount":`{count} 个页面`,"breadcrumb.current":`当前`,"form.required":`{label}不能为空`,"search.valueRequired":`请输入搜索内容,或选择筛选条件`,"search.failed":`搜索失败`,"captcha.trigger":`点击进行人机验证`,"captcha.verifying":`正在验证…`,"captcha.success":`验证成功`,"captcha.failed":`验证失败,请重试`,"captcha.reset":`重新验证`,"captcha.puzzleFailed":`拼图验证失败`,"captcha.verifyFailed":`服务端验证失败`,"captcha.loadFailed":`验证码加载失败`}),r=Object.freeze({"notification.invalidResponse":`Invalid notification response or counts`,"notification.operationFailed":`Notification action failed. Try again.`,"notification.missingFetch":`Remote notifications require fetchNotifications`,"notification.missingAction":`Remote notifications require the {name} adapter`,"notification.expiredScope":`Notification scope has expired`,"chat.self":`Me`,"common.search":`Search...`,"common.add":`Add`,"common.refresh":`Refresh`,"common.expand":`Show details`,"common.collapse":`Collapse`,"common.unknown":`Unknown`,"tree.search":`Search tree nodes`,"tree.expandAll":`Expand all`,"tree.collapseAll":`Collapse all`,"tree.menu.add":`Add submenu`,"tree.menu.deleteConfirm":`Delete this menu?`,"tree.file.open":`Open`,"tree.file.rename":`Rename`,"tree.file.deleteConfirm":`Delete this file?`,"tree.org.add":`Add child`,"transfer.source":`Available`,"transfer.target":`Selected`,"transfer.empty":`No data`,"transfer.emptyTarget":`Nothing selected`,"transfer.searchSource":`Search available items`,"transfer.searchTarget":`Search selected items`,"transfer.toTarget":`Move to selected`,"transfer.toSource":`Move to available`,"split.resize":`Resize panels`,"split.expandFirst":`Expand first panel`,"split.collapseFirst":`Collapse first panel`,"split.expandSecond":`Expand second panel`,"split.collapseSecond":`Collapse second panel`,"chat.sessions":`Conversations`,"chat.search":`Search contacts`,"chat.online":`Online`,"chat.empty":`No messages yet. Send the first one.`,"chat.choose":`Select a conversation to start chatting`,"chat.placeholder":`Type a message...`,"chat.title":`Chat`,"chat.emoji":`Emoji`,"chat.attach":`Add attachment`,"chat.send":`Send`,"chat.imagePreview":`Preview image from {name}`,"chat.image":`Chat image`,"chat.file":`File`,"chat.failed":`Send failed. Click to retry.`,"chat.sending":`Sending...`,"time.now":`Just now`,"time.minutes":`{count} minutes ago`,"time.hours":`{count} hours ago`,"time.days":`{count} days ago`,"time.weeks":`{count} weeks ago`,"time.months":`{count} months ago`,"time.yesterday":`Yesterday {time}`,"theme.light":`Current: Light mode (click to switch)`,"theme.dark":`Current: Dark mode (click to switch)`,"theme.system":`Current: System mode (click to switch)`,"language.switch":`Switch language`,"skeleton.loading":`Loading`,"timeline.loading":`Loading...`,"notification.title":`Notification center`,"notification.viewAll":`View all notifications`,"notification.badge":`Notifications`,"notification.unreadBadge":`Notifications ({count} unread)`,"notification.all":`All`,"notification.system":`System`,"notification.business":`Business`,"notification.alarm":`Alerts`,"notification.low":`Low`,"notification.normal":`Normal`,"notification.high":`Important`,"notification.urgent":`Urgent`,"notification.markRead":`Mark as read`,"notification.delete":`Delete notification`,"notification.allRead":`Mark all as read`,"notification.clear":`Clear`,"notification.loadMore":`Load more`,"notification.loading":`Loading...`,"notification.empty":`No notifications`,"notification.back":`Back to list`,"notification.details":`View details`,"notification.connected":`Connected`,"notification.connecting":`Connecting...`,"notification.disconnected":`Disconnected`,"notification.reconnecting":`Reconnecting...`,"common.confirm":`Confirm`,"common.cancel":`Cancel`,"common.save":`Save`,"common.submit":`Submit`,"common.reset":`Reset`,"common.retry":`Retry`,"common.edit":`Edit`,"common.detail":`Details`,"common.delete":`Delete`,"common.select":`Select`,"common.print":`Print`,"common.loading":`Loading`,"table.loading":`Loading data`,"table.loadFailed":`Failed to load data`,"table.deleteTitle":`Confirm deletion`,"table.deleteContent":`Are you sure you want to delete this record?`,"table.deleteSuccess":`Deleted successfully`,"table.deleteFailed":`Delete failed`,"table.detailFailed":`Failed to load details`,"table.moreActions":`More actions`,"table.actionFailed":`{action} failed`,"table.cancelSelection":`Clear selection`,"table.columnSettings":`Column settings`,"table.export":`Export`,"table.settings":`Table settings`,"table.selectedCount":`{count} selected`,"table.addRow":`Add row`,"table.insertRow":`Insert row`,"table.deleteRow":`Delete row`,"table.copyRow":`Copy row`,"table.moveUp":`Move up`,"table.moveDown":`Move down`,"table.addRowSuccess":`Row added`,"table.insertRowSuccess":`Row inserted`,"table.deleteRowSuccess":`Row deleted`,"table.copyRowSuccess":`Row copied`,"table.moveUpSuccess":`Row moved up`,"table.moveDownSuccess":`Row moved down`,"table.selectRowFirst":`Select a row first`,"table.selectDeleteRowFirst":`Select a row to delete first`,"table.selectCopyRowFirst":`Select a row to copy first`,"table.firstRow":`This is already the first row`,"table.lastRow":`This is already the last row`,"table.deleteRowContent":`Are you sure you want to delete the selected row? This cannot be undone.`,"table.confirmDeleteRow":`Delete row`,"table.printTargetMissing":`Print target was not found`,"table.downloadTargetMissing":`Download target was not found`,"table.invalidRowKeys":`{count} table row keys are missing or duplicated`,"breadcrumb.label":`Breadcrumb`,"breadcrumb.expandPath":`Show full path`,"breadcrumb.fullPath":`Full path`,"breadcrumb.directoryPages":`Directory pages`,"breadcrumb.pageCount":`{count} pages`,"breadcrumb.current":`Current`,"form.required":`{label} is required`,"search.valueRequired":`Enter a search term or choose a filter`,"search.failed":`Search failed`,"captcha.trigger":`Click to verify`,"captcha.verifying":`Verifying…`,"captcha.success":`Verified`,"captcha.failed":`Verification failed. Try again.`,"captcha.reset":`Verify again`,"captcha.puzzleFailed":`Puzzle verification failed`,"captcha.verifyFailed":`Server verification failed`,"captcha.loadFailed":`Failed to load captcha`}),i=(e,t)=>t?e.replace(/\{([^{}]+)\}/g,(e,n)=>Object.prototype.hasOwnProperty.call(t,n)?String(t[n]):e):e;function a(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function o(e){return e===`en-US`?r:n}function s(e,t={},n={},r){let s=t.t??n.t;if(s)return s(e,r);let c=o(t.locale??n.locale);return i(a(t.messages,e)??a(n.messages,e)??a(c,e)??e,r)}function c(n){let r=(0,t.getCurrentInstance)()?(0,t.inject)(e.COMPONENT_LOCALE_KEY,{}):{};return{t:(e,i)=>s(e,(0,t.toValue)(n),r,i)}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
1
+ require(`./chunk.cjs`);const e=require(`./config.cjs`);let t=require(`vue`);const n=Object.freeze({"validation.summary":`请检查以下内容`,"validation.previous":`上一组`,"validation.next":`下一组`,"picker.title":`选择数据`,"picker.placeholder":`请选择`,"picker.searchPlaceholder":`输入关键字`,"picker.clear":`清空选择`,"picker.searchLabel":`搜索候选数据`,"picker.search":`搜索`,"picker.loadFailed":`候选数据加载失败`,"picker.labelFailed":`名称加载失败,保留原编码`,"picker.selected":`已选 {count} 项`,"picker.moreSelected":`另 {count} 项`,"batch.title":`批量操作结果`,"batch.summary":`共 {total} 项,成功 {success},失败 {failure},冲突 {conflict},跳过 {skipped}`,"batch.filterLabel":`筛选操作结果`,"batch.all":`全部`,"batch.retry":`重试可重试项({count})`,"batch.id":`业务标识`,"batch.status":`结果`,"batch.message":`说明`,"batch.retryColumn":`重试`,"batch.retryable":`可重试`,"batch.success":`成功`,"batch.failure":`失败`,"batch.conflict":`冲突`,"batch.skipped":`跳过`,"section.navigation":`单据分区导航`,"section.errors":`{count} 项错误`,"notification.invalidResponse":`消息接口返回的数据或统计无效`,"notification.operationFailed":`消息操作失败,请重试`,"notification.missingFetch":`远程消息模式未配置 fetchNotifications`,"notification.missingAction":`远程消息模式未配置 {name} 接口`,"notification.expiredScope":`消息作用域已失效`,"chat.self":`Me`,"common.search":`搜索...`,"common.add":`新增`,"common.refresh":`刷新`,"common.expand":`展开详情`,"common.collapse":`收起`,"common.unknown":`未知`,"tree.search":`搜索树节点`,"tree.expandAll":`展开全部`,"tree.collapseAll":`收起全部`,"tree.menu.add":`新增子菜单`,"tree.menu.deleteConfirm":`确认删除该菜单吗?`,"tree.file.open":`打开`,"tree.file.rename":`重命名`,"tree.file.deleteConfirm":`确认删除该文件吗?`,"tree.org.add":`新增下级`,"transfer.source":`可选列表`,"transfer.target":`已选列表`,"transfer.empty":`暂无数据`,"transfer.emptyTarget":`未选择任何项`,"transfer.searchSource":`搜索可选列表`,"transfer.searchTarget":`搜索已选列表`,"transfer.toTarget":`移至已选列表`,"transfer.toSource":`移回可选列表`,"split.resize":`调整面板大小`,"split.expandFirst":`展开首面板`,"split.collapseFirst":`折叠首面板`,"split.expandSecond":`展开第二面板`,"split.collapseSecond":`折叠第二面板`,"chat.sessions":`会话`,"chat.search":`搜索联系人`,"chat.online":`在线`,"chat.empty":`暂无消息,发送第一条吧`,"chat.choose":`选择一个会话开始聊天`,"chat.placeholder":`输入消息...`,"chat.title":`聊天`,"chat.emoji":`表情`,"chat.attach":`添加附件`,"chat.send":`发送`,"chat.imagePreview":`预览{name}的图片`,"chat.image":`聊天图片`,"chat.file":`文件`,"chat.failed":`发送失败,点击重试`,"chat.sending":`发送中...`,"time.now":`刚刚`,"time.minutes":`{count}分钟前`,"time.hours":`{count}小时前`,"time.days":`{count}天前`,"time.weeks":`{count}周前`,"time.months":`{count}个月前`,"time.yesterday":`昨天 {time}`,"theme.light":`当前: 浅色模式 (点击切换)`,"theme.dark":`当前: 深色模式 (点击切换)`,"theme.system":`当前: 跟随系统 (点击切换)`,"language.switch":`语言切换`,"skeleton.loading":`加载中`,"timeline.loading":`加载中...`,"notification.title":`消息中心`,"notification.viewAll":`查看全部消息`,"notification.badge":`消息通知`,"notification.unreadBadge":`消息通知({count} 条未读)`,"notification.all":`全部`,"notification.system":`系统通知`,"notification.business":`业务消息`,"notification.alarm":`告警预警`,"notification.low":`低`,"notification.normal":`普通`,"notification.high":`重要`,"notification.urgent":`紧急`,"notification.markRead":`标记已读`,"notification.delete":`删除消息`,"notification.allRead":`全部已读`,"notification.clear":`清空`,"notification.loadMore":`加载更多`,"notification.loading":`加载中...`,"notification.empty":`暂无消息`,"notification.back":`返回列表`,"notification.details":`查看详情`,"notification.connected":`已连接`,"notification.connecting":`连接中...`,"notification.disconnected":`未连接`,"notification.reconnecting":`重连中...`,"common.confirm":`确定`,"common.cancel":`取消`,"common.save":`保存`,"common.submit":`提交`,"common.reset":`重置`,"common.retry":`重试`,"common.edit":`编辑`,"common.detail":`详情`,"common.delete":`删除`,"common.select":`选择`,"common.print":`打印`,"common.loading":`正在加载`,"table.loading":`正在加载数据`,"table.loadFailed":`数据加载失败`,"table.deleteTitle":`确认删除`,"table.deleteContent":`确定要删除这条记录吗?`,"table.deleteSuccess":`删除成功`,"table.deleteFailed":`删除失败`,"table.detailFailed":`获取详情失败`,"table.moreActions":`更多操作`,"table.actionFailed":`{action}失败`,"table.cancelSelection":`取消选择`,"table.columnSettings":`列设置`,"table.export":`导出`,"table.settings":`表格设置`,"table.selectedCount":`已选择 {count} 项`,"table.addRow":`增行`,"table.insertRow":`插行`,"table.deleteRow":`删除行`,"table.copyRow":`复制行`,"table.moveUp":`上移`,"table.moveDown":`下移`,"table.addRowSuccess":`添加行成功`,"table.insertRowSuccess":`插入行成功`,"table.deleteRowSuccess":`删除行成功`,"table.copyRowSuccess":`复制行成功`,"table.moveUpSuccess":`行已上移`,"table.moveDownSuccess":`行已下移`,"table.selectRowFirst":`请先选择一行数据`,"table.selectDeleteRowFirst":`请先选择要删除的行`,"table.selectCopyRowFirst":`请先选择要复制的行`,"table.firstRow":`已经是第一行`,"table.lastRow":`已经是最后一行`,"table.deleteRowContent":`确定要删除选中的行吗?此操作不可撤销。`,"table.confirmDeleteRow":`确认删除`,"table.printTargetMissing":`打印元素未找到`,"table.downloadTargetMissing":`下载元素未找到`,"table.invalidRowKeys":`表格存在 {count} 个缺失或重复的行键`,"breadcrumb.label":`面包屑`,"breadcrumb.expandPath":`展开完整路径`,"breadcrumb.fullPath":`完整路径`,"breadcrumb.directoryPages":`目录页面`,"breadcrumb.pageCount":`{count} 个页面`,"breadcrumb.current":`当前`,"form.required":`{label}不能为空`,"search.valueRequired":`请输入搜索内容,或选择筛选条件`,"search.failed":`搜索失败`,"captcha.trigger":`点击进行人机验证`,"captcha.verifying":`正在验证…`,"captcha.success":`验证成功`,"captcha.failed":`验证失败,请重试`,"captcha.reset":`重新验证`,"captcha.puzzleFailed":`拼图验证失败`,"captcha.verifyFailed":`服务端验证失败`,"captcha.loadFailed":`验证码加载失败`}),r=Object.freeze({"validation.summary":`Please check the following`,"validation.previous":`Previous group`,"validation.next":`Next group`,"picker.title":`Select data`,"picker.placeholder":`Please select`,"picker.searchPlaceholder":`Enter keywords`,"picker.clear":`Clear selection`,"picker.searchLabel":`Search candidates`,"picker.search":`Search`,"picker.loadFailed":`Could not load candidates`,"picker.labelFailed":`Could not load labels; original values are retained`,"picker.selected":`{count} selected`,"picker.moreSelected":`{count} more`,"batch.title":`Batch operation results`,"batch.summary":`{total} items: {success} succeeded, {failure} failed, {conflict} conflicted, {skipped} skipped`,"batch.filterLabel":`Filter results`,"batch.all":`All`,"batch.retry":`Retry eligible items ({count})`,"batch.id":`Business key`,"batch.status":`Result`,"batch.message":`Details`,"batch.retryColumn":`Retry`,"batch.retryable":`Retryable`,"batch.success":`Success`,"batch.failure":`Failure`,"batch.conflict":`Conflict`,"batch.skipped":`Skipped`,"section.navigation":`Document sections`,"section.errors":`{count} errors`,"notification.invalidResponse":`Invalid notification response or counts`,"notification.operationFailed":`Notification action failed. Try again.`,"notification.missingFetch":`Remote notifications require fetchNotifications`,"notification.missingAction":`Remote notifications require the {name} adapter`,"notification.expiredScope":`Notification scope has expired`,"chat.self":`Me`,"common.search":`Search...`,"common.add":`Add`,"common.refresh":`Refresh`,"common.expand":`Show details`,"common.collapse":`Collapse`,"common.unknown":`Unknown`,"tree.search":`Search tree nodes`,"tree.expandAll":`Expand all`,"tree.collapseAll":`Collapse all`,"tree.menu.add":`Add submenu`,"tree.menu.deleteConfirm":`Delete this menu?`,"tree.file.open":`Open`,"tree.file.rename":`Rename`,"tree.file.deleteConfirm":`Delete this file?`,"tree.org.add":`Add child`,"transfer.source":`Available`,"transfer.target":`Selected`,"transfer.empty":`No data`,"transfer.emptyTarget":`Nothing selected`,"transfer.searchSource":`Search available items`,"transfer.searchTarget":`Search selected items`,"transfer.toTarget":`Move to selected`,"transfer.toSource":`Move to available`,"split.resize":`Resize panels`,"split.expandFirst":`Expand first panel`,"split.collapseFirst":`Collapse first panel`,"split.expandSecond":`Expand second panel`,"split.collapseSecond":`Collapse second panel`,"chat.sessions":`Conversations`,"chat.search":`Search contacts`,"chat.online":`Online`,"chat.empty":`No messages yet. Send the first one.`,"chat.choose":`Select a conversation to start chatting`,"chat.placeholder":`Type a message...`,"chat.title":`Chat`,"chat.emoji":`Emoji`,"chat.attach":`Add attachment`,"chat.send":`Send`,"chat.imagePreview":`Preview image from {name}`,"chat.image":`Chat image`,"chat.file":`File`,"chat.failed":`Send failed. Click to retry.`,"chat.sending":`Sending...`,"time.now":`Just now`,"time.minutes":`{count} minutes ago`,"time.hours":`{count} hours ago`,"time.days":`{count} days ago`,"time.weeks":`{count} weeks ago`,"time.months":`{count} months ago`,"time.yesterday":`Yesterday {time}`,"theme.light":`Current: Light mode (click to switch)`,"theme.dark":`Current: Dark mode (click to switch)`,"theme.system":`Current: System mode (click to switch)`,"language.switch":`Switch language`,"skeleton.loading":`Loading`,"timeline.loading":`Loading...`,"notification.title":`Notification center`,"notification.viewAll":`View all notifications`,"notification.badge":`Notifications`,"notification.unreadBadge":`Notifications ({count} unread)`,"notification.all":`All`,"notification.system":`System`,"notification.business":`Business`,"notification.alarm":`Alerts`,"notification.low":`Low`,"notification.normal":`Normal`,"notification.high":`Important`,"notification.urgent":`Urgent`,"notification.markRead":`Mark as read`,"notification.delete":`Delete notification`,"notification.allRead":`Mark all as read`,"notification.clear":`Clear`,"notification.loadMore":`Load more`,"notification.loading":`Loading...`,"notification.empty":`No notifications`,"notification.back":`Back to list`,"notification.details":`View details`,"notification.connected":`Connected`,"notification.connecting":`Connecting...`,"notification.disconnected":`Disconnected`,"notification.reconnecting":`Reconnecting...`,"common.confirm":`Confirm`,"common.cancel":`Cancel`,"common.save":`Save`,"common.submit":`Submit`,"common.reset":`Reset`,"common.retry":`Retry`,"common.edit":`Edit`,"common.detail":`Details`,"common.delete":`Delete`,"common.select":`Select`,"common.print":`Print`,"common.loading":`Loading`,"table.loading":`Loading data`,"table.loadFailed":`Failed to load data`,"table.deleteTitle":`Confirm deletion`,"table.deleteContent":`Are you sure you want to delete this record?`,"table.deleteSuccess":`Deleted successfully`,"table.deleteFailed":`Delete failed`,"table.detailFailed":`Failed to load details`,"table.moreActions":`More actions`,"table.actionFailed":`{action} failed`,"table.cancelSelection":`Clear selection`,"table.columnSettings":`Column settings`,"table.export":`Export`,"table.settings":`Table settings`,"table.selectedCount":`{count} selected`,"table.addRow":`Add row`,"table.insertRow":`Insert row`,"table.deleteRow":`Delete row`,"table.copyRow":`Copy row`,"table.moveUp":`Move up`,"table.moveDown":`Move down`,"table.addRowSuccess":`Row added`,"table.insertRowSuccess":`Row inserted`,"table.deleteRowSuccess":`Row deleted`,"table.copyRowSuccess":`Row copied`,"table.moveUpSuccess":`Row moved up`,"table.moveDownSuccess":`Row moved down`,"table.selectRowFirst":`Select a row first`,"table.selectDeleteRowFirst":`Select a row to delete first`,"table.selectCopyRowFirst":`Select a row to copy first`,"table.firstRow":`This is already the first row`,"table.lastRow":`This is already the last row`,"table.deleteRowContent":`Are you sure you want to delete the selected row? This cannot be undone.`,"table.confirmDeleteRow":`Delete row`,"table.printTargetMissing":`Print target was not found`,"table.downloadTargetMissing":`Download target was not found`,"table.invalidRowKeys":`{count} table row keys are missing or duplicated`,"breadcrumb.label":`Breadcrumb`,"breadcrumb.expandPath":`Show full path`,"breadcrumb.fullPath":`Full path`,"breadcrumb.directoryPages":`Directory pages`,"breadcrumb.pageCount":`{count} pages`,"breadcrumb.current":`Current`,"form.required":`{label} is required`,"search.valueRequired":`Enter a search term or choose a filter`,"search.failed":`Search failed`,"captcha.trigger":`Click to verify`,"captcha.verifying":`Verifying…`,"captcha.success":`Verified`,"captcha.failed":`Verification failed. Try again.`,"captcha.reset":`Verify again`,"captcha.puzzleFailed":`Puzzle verification failed`,"captcha.verifyFailed":`Server verification failed`,"captcha.loadFailed":`Failed to load captcha`}),i=(e,t)=>t?e.replace(/\{([^{}]+)\}/g,(e,n)=>Object.prototype.hasOwnProperty.call(t,n)?String(t[n]):e):e;function a(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function o(e){return e===`en-US`?r:n}function s(e,t={},n={},r){let s=t.t??n.t;if(s)return s(e,r);let c=o(t.locale??n.locale);return i(a(t.messages,e)??a(n.messages,e)??a(c,e)??e,r)}function c(n){let r=(0,t.getCurrentInstance)()?(0,t.inject)(e.COMPONENT_LOCALE_KEY,{}):{};return{t:(e,i)=>s(e,(0,t.toValue)(n),r,i)}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
@@ -1 +1 @@
1
- import{COMPONENT_LOCALE_KEY as e}from"./config.js";import{getCurrentInstance as t,inject as n,toValue as r}from"vue";const i=Object.freeze({"notification.invalidResponse":`消息接口返回的数据或统计无效`,"notification.operationFailed":`消息操作失败,请重试`,"notification.missingFetch":`远程消息模式未配置 fetchNotifications`,"notification.missingAction":`远程消息模式未配置 {name} 接口`,"notification.expiredScope":`消息作用域已失效`,"chat.self":`Me`,"common.search":`搜索...`,"common.add":`新增`,"common.refresh":`刷新`,"common.expand":`展开详情`,"common.collapse":`收起`,"common.unknown":`未知`,"tree.search":`搜索树节点`,"tree.expandAll":`展开全部`,"tree.collapseAll":`收起全部`,"tree.menu.add":`新增子菜单`,"tree.menu.deleteConfirm":`确认删除该菜单吗?`,"tree.file.open":`打开`,"tree.file.rename":`重命名`,"tree.file.deleteConfirm":`确认删除该文件吗?`,"tree.org.add":`新增下级`,"transfer.source":`可选列表`,"transfer.target":`已选列表`,"transfer.empty":`暂无数据`,"transfer.emptyTarget":`未选择任何项`,"transfer.searchSource":`搜索可选列表`,"transfer.searchTarget":`搜索已选列表`,"transfer.toTarget":`移至已选列表`,"transfer.toSource":`移回可选列表`,"split.resize":`调整面板大小`,"split.expandFirst":`展开首面板`,"split.collapseFirst":`折叠首面板`,"split.expandSecond":`展开第二面板`,"split.collapseSecond":`折叠第二面板`,"chat.sessions":`会话`,"chat.search":`搜索联系人`,"chat.online":`在线`,"chat.empty":`暂无消息,发送第一条吧`,"chat.choose":`选择一个会话开始聊天`,"chat.placeholder":`输入消息...`,"chat.title":`聊天`,"chat.emoji":`表情`,"chat.attach":`添加附件`,"chat.send":`发送`,"chat.imagePreview":`预览{name}的图片`,"chat.image":`聊天图片`,"chat.file":`文件`,"chat.failed":`发送失败,点击重试`,"chat.sending":`发送中...`,"time.now":`刚刚`,"time.minutes":`{count}分钟前`,"time.hours":`{count}小时前`,"time.days":`{count}天前`,"time.weeks":`{count}周前`,"time.months":`{count}个月前`,"time.yesterday":`昨天 {time}`,"theme.light":`当前: 浅色模式 (点击切换)`,"theme.dark":`当前: 深色模式 (点击切换)`,"theme.system":`当前: 跟随系统 (点击切换)`,"language.switch":`语言切换`,"skeleton.loading":`加载中`,"timeline.loading":`加载中...`,"notification.title":`消息中心`,"notification.viewAll":`查看全部消息`,"notification.badge":`消息通知`,"notification.unreadBadge":`消息通知({count} 条未读)`,"notification.all":`全部`,"notification.system":`系统通知`,"notification.business":`业务消息`,"notification.alarm":`告警预警`,"notification.low":`低`,"notification.normal":`普通`,"notification.high":`重要`,"notification.urgent":`紧急`,"notification.markRead":`标记已读`,"notification.delete":`删除消息`,"notification.allRead":`全部已读`,"notification.clear":`清空`,"notification.loadMore":`加载更多`,"notification.loading":`加载中...`,"notification.empty":`暂无消息`,"notification.back":`返回列表`,"notification.details":`查看详情`,"notification.connected":`已连接`,"notification.connecting":`连接中...`,"notification.disconnected":`未连接`,"notification.reconnecting":`重连中...`,"common.confirm":`确定`,"common.cancel":`取消`,"common.save":`保存`,"common.submit":`提交`,"common.reset":`重置`,"common.retry":`重试`,"common.edit":`编辑`,"common.detail":`详情`,"common.delete":`删除`,"common.select":`选择`,"common.print":`打印`,"common.loading":`正在加载`,"table.loading":`正在加载数据`,"table.loadFailed":`数据加载失败`,"table.deleteTitle":`确认删除`,"table.deleteContent":`确定要删除这条记录吗?`,"table.deleteSuccess":`删除成功`,"table.deleteFailed":`删除失败`,"table.detailFailed":`获取详情失败`,"table.moreActions":`更多操作`,"table.actionFailed":`{action}失败`,"table.cancelSelection":`取消选择`,"table.columnSettings":`列设置`,"table.export":`导出`,"table.settings":`表格设置`,"table.selectedCount":`已选择 {count} 项`,"table.addRow":`增行`,"table.insertRow":`插行`,"table.deleteRow":`删除行`,"table.copyRow":`复制行`,"table.moveUp":`上移`,"table.moveDown":`下移`,"table.addRowSuccess":`添加行成功`,"table.insertRowSuccess":`插入行成功`,"table.deleteRowSuccess":`删除行成功`,"table.copyRowSuccess":`复制行成功`,"table.moveUpSuccess":`行已上移`,"table.moveDownSuccess":`行已下移`,"table.selectRowFirst":`请先选择一行数据`,"table.selectDeleteRowFirst":`请先选择要删除的行`,"table.selectCopyRowFirst":`请先选择要复制的行`,"table.firstRow":`已经是第一行`,"table.lastRow":`已经是最后一行`,"table.deleteRowContent":`确定要删除选中的行吗?此操作不可撤销。`,"table.confirmDeleteRow":`确认删除`,"table.printTargetMissing":`打印元素未找到`,"table.downloadTargetMissing":`下载元素未找到`,"table.invalidRowKeys":`表格存在 {count} 个缺失或重复的行键`,"breadcrumb.label":`面包屑`,"breadcrumb.expandPath":`展开完整路径`,"breadcrumb.fullPath":`完整路径`,"breadcrumb.directoryPages":`目录页面`,"breadcrumb.pageCount":`{count} 个页面`,"breadcrumb.current":`当前`,"form.required":`{label}不能为空`,"search.valueRequired":`请输入搜索内容,或选择筛选条件`,"search.failed":`搜索失败`,"captcha.trigger":`点击进行人机验证`,"captcha.verifying":`正在验证…`,"captcha.success":`验证成功`,"captcha.failed":`验证失败,请重试`,"captcha.reset":`重新验证`,"captcha.puzzleFailed":`拼图验证失败`,"captcha.verifyFailed":`服务端验证失败`,"captcha.loadFailed":`验证码加载失败`}),a=Object.freeze({"notification.invalidResponse":`Invalid notification response or counts`,"notification.operationFailed":`Notification action failed. Try again.`,"notification.missingFetch":`Remote notifications require fetchNotifications`,"notification.missingAction":`Remote notifications require the {name} adapter`,"notification.expiredScope":`Notification scope has expired`,"chat.self":`Me`,"common.search":`Search...`,"common.add":`Add`,"common.refresh":`Refresh`,"common.expand":`Show details`,"common.collapse":`Collapse`,"common.unknown":`Unknown`,"tree.search":`Search tree nodes`,"tree.expandAll":`Expand all`,"tree.collapseAll":`Collapse all`,"tree.menu.add":`Add submenu`,"tree.menu.deleteConfirm":`Delete this menu?`,"tree.file.open":`Open`,"tree.file.rename":`Rename`,"tree.file.deleteConfirm":`Delete this file?`,"tree.org.add":`Add child`,"transfer.source":`Available`,"transfer.target":`Selected`,"transfer.empty":`No data`,"transfer.emptyTarget":`Nothing selected`,"transfer.searchSource":`Search available items`,"transfer.searchTarget":`Search selected items`,"transfer.toTarget":`Move to selected`,"transfer.toSource":`Move to available`,"split.resize":`Resize panels`,"split.expandFirst":`Expand first panel`,"split.collapseFirst":`Collapse first panel`,"split.expandSecond":`Expand second panel`,"split.collapseSecond":`Collapse second panel`,"chat.sessions":`Conversations`,"chat.search":`Search contacts`,"chat.online":`Online`,"chat.empty":`No messages yet. Send the first one.`,"chat.choose":`Select a conversation to start chatting`,"chat.placeholder":`Type a message...`,"chat.title":`Chat`,"chat.emoji":`Emoji`,"chat.attach":`Add attachment`,"chat.send":`Send`,"chat.imagePreview":`Preview image from {name}`,"chat.image":`Chat image`,"chat.file":`File`,"chat.failed":`Send failed. Click to retry.`,"chat.sending":`Sending...`,"time.now":`Just now`,"time.minutes":`{count} minutes ago`,"time.hours":`{count} hours ago`,"time.days":`{count} days ago`,"time.weeks":`{count} weeks ago`,"time.months":`{count} months ago`,"time.yesterday":`Yesterday {time}`,"theme.light":`Current: Light mode (click to switch)`,"theme.dark":`Current: Dark mode (click to switch)`,"theme.system":`Current: System mode (click to switch)`,"language.switch":`Switch language`,"skeleton.loading":`Loading`,"timeline.loading":`Loading...`,"notification.title":`Notification center`,"notification.viewAll":`View all notifications`,"notification.badge":`Notifications`,"notification.unreadBadge":`Notifications ({count} unread)`,"notification.all":`All`,"notification.system":`System`,"notification.business":`Business`,"notification.alarm":`Alerts`,"notification.low":`Low`,"notification.normal":`Normal`,"notification.high":`Important`,"notification.urgent":`Urgent`,"notification.markRead":`Mark as read`,"notification.delete":`Delete notification`,"notification.allRead":`Mark all as read`,"notification.clear":`Clear`,"notification.loadMore":`Load more`,"notification.loading":`Loading...`,"notification.empty":`No notifications`,"notification.back":`Back to list`,"notification.details":`View details`,"notification.connected":`Connected`,"notification.connecting":`Connecting...`,"notification.disconnected":`Disconnected`,"notification.reconnecting":`Reconnecting...`,"common.confirm":`Confirm`,"common.cancel":`Cancel`,"common.save":`Save`,"common.submit":`Submit`,"common.reset":`Reset`,"common.retry":`Retry`,"common.edit":`Edit`,"common.detail":`Details`,"common.delete":`Delete`,"common.select":`Select`,"common.print":`Print`,"common.loading":`Loading`,"table.loading":`Loading data`,"table.loadFailed":`Failed to load data`,"table.deleteTitle":`Confirm deletion`,"table.deleteContent":`Are you sure you want to delete this record?`,"table.deleteSuccess":`Deleted successfully`,"table.deleteFailed":`Delete failed`,"table.detailFailed":`Failed to load details`,"table.moreActions":`More actions`,"table.actionFailed":`{action} failed`,"table.cancelSelection":`Clear selection`,"table.columnSettings":`Column settings`,"table.export":`Export`,"table.settings":`Table settings`,"table.selectedCount":`{count} selected`,"table.addRow":`Add row`,"table.insertRow":`Insert row`,"table.deleteRow":`Delete row`,"table.copyRow":`Copy row`,"table.moveUp":`Move up`,"table.moveDown":`Move down`,"table.addRowSuccess":`Row added`,"table.insertRowSuccess":`Row inserted`,"table.deleteRowSuccess":`Row deleted`,"table.copyRowSuccess":`Row copied`,"table.moveUpSuccess":`Row moved up`,"table.moveDownSuccess":`Row moved down`,"table.selectRowFirst":`Select a row first`,"table.selectDeleteRowFirst":`Select a row to delete first`,"table.selectCopyRowFirst":`Select a row to copy first`,"table.firstRow":`This is already the first row`,"table.lastRow":`This is already the last row`,"table.deleteRowContent":`Are you sure you want to delete the selected row? This cannot be undone.`,"table.confirmDeleteRow":`Delete row`,"table.printTargetMissing":`Print target was not found`,"table.downloadTargetMissing":`Download target was not found`,"table.invalidRowKeys":`{count} table row keys are missing or duplicated`,"breadcrumb.label":`Breadcrumb`,"breadcrumb.expandPath":`Show full path`,"breadcrumb.fullPath":`Full path`,"breadcrumb.directoryPages":`Directory pages`,"breadcrumb.pageCount":`{count} pages`,"breadcrumb.current":`Current`,"form.required":`{label} is required`,"search.valueRequired":`Enter a search term or choose a filter`,"search.failed":`Search failed`,"captcha.trigger":`Click to verify`,"captcha.verifying":`Verifying…`,"captcha.success":`Verified`,"captcha.failed":`Verification failed. Try again.`,"captcha.reset":`Verify again`,"captcha.puzzleFailed":`Puzzle verification failed`,"captcha.verifyFailed":`Server verification failed`,"captcha.loadFailed":`Failed to load captcha`}),o=(e,t)=>t?e.replace(/\{([^{}]+)\}/g,(e,n)=>Object.prototype.hasOwnProperty.call(t,n)?String(t[n]):e):e;function s(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function c(e){return e===`en-US`?a:i}function l(e,t={},n={},r){let i=t.t??n.t;if(i)return i(e,r);let a=c(t.locale??n.locale);return o(s(t.messages,e)??s(n.messages,e)??s(a,e)??e,r)}function u(i){let a=t()?n(e,{}):{};return{t:(e,t)=>l(e,r(i),a,t)}}export{u as t};
1
+ import{COMPONENT_LOCALE_KEY as e}from"./config.js";import{getCurrentInstance as t,inject as n,toValue as r}from"vue";const i=Object.freeze({"validation.summary":`请检查以下内容`,"validation.previous":`上一组`,"validation.next":`下一组`,"picker.title":`选择数据`,"picker.placeholder":`请选择`,"picker.searchPlaceholder":`输入关键字`,"picker.clear":`清空选择`,"picker.searchLabel":`搜索候选数据`,"picker.search":`搜索`,"picker.loadFailed":`候选数据加载失败`,"picker.labelFailed":`名称加载失败,保留原编码`,"picker.selected":`已选 {count} 项`,"picker.moreSelected":`另 {count} 项`,"batch.title":`批量操作结果`,"batch.summary":`共 {total} 项,成功 {success},失败 {failure},冲突 {conflict},跳过 {skipped}`,"batch.filterLabel":`筛选操作结果`,"batch.all":`全部`,"batch.retry":`重试可重试项({count})`,"batch.id":`业务标识`,"batch.status":`结果`,"batch.message":`说明`,"batch.retryColumn":`重试`,"batch.retryable":`可重试`,"batch.success":`成功`,"batch.failure":`失败`,"batch.conflict":`冲突`,"batch.skipped":`跳过`,"section.navigation":`单据分区导航`,"section.errors":`{count} 项错误`,"notification.invalidResponse":`消息接口返回的数据或统计无效`,"notification.operationFailed":`消息操作失败,请重试`,"notification.missingFetch":`远程消息模式未配置 fetchNotifications`,"notification.missingAction":`远程消息模式未配置 {name} 接口`,"notification.expiredScope":`消息作用域已失效`,"chat.self":`Me`,"common.search":`搜索...`,"common.add":`新增`,"common.refresh":`刷新`,"common.expand":`展开详情`,"common.collapse":`收起`,"common.unknown":`未知`,"tree.search":`搜索树节点`,"tree.expandAll":`展开全部`,"tree.collapseAll":`收起全部`,"tree.menu.add":`新增子菜单`,"tree.menu.deleteConfirm":`确认删除该菜单吗?`,"tree.file.open":`打开`,"tree.file.rename":`重命名`,"tree.file.deleteConfirm":`确认删除该文件吗?`,"tree.org.add":`新增下级`,"transfer.source":`可选列表`,"transfer.target":`已选列表`,"transfer.empty":`暂无数据`,"transfer.emptyTarget":`未选择任何项`,"transfer.searchSource":`搜索可选列表`,"transfer.searchTarget":`搜索已选列表`,"transfer.toTarget":`移至已选列表`,"transfer.toSource":`移回可选列表`,"split.resize":`调整面板大小`,"split.expandFirst":`展开首面板`,"split.collapseFirst":`折叠首面板`,"split.expandSecond":`展开第二面板`,"split.collapseSecond":`折叠第二面板`,"chat.sessions":`会话`,"chat.search":`搜索联系人`,"chat.online":`在线`,"chat.empty":`暂无消息,发送第一条吧`,"chat.choose":`选择一个会话开始聊天`,"chat.placeholder":`输入消息...`,"chat.title":`聊天`,"chat.emoji":`表情`,"chat.attach":`添加附件`,"chat.send":`发送`,"chat.imagePreview":`预览{name}的图片`,"chat.image":`聊天图片`,"chat.file":`文件`,"chat.failed":`发送失败,点击重试`,"chat.sending":`发送中...`,"time.now":`刚刚`,"time.minutes":`{count}分钟前`,"time.hours":`{count}小时前`,"time.days":`{count}天前`,"time.weeks":`{count}周前`,"time.months":`{count}个月前`,"time.yesterday":`昨天 {time}`,"theme.light":`当前: 浅色模式 (点击切换)`,"theme.dark":`当前: 深色模式 (点击切换)`,"theme.system":`当前: 跟随系统 (点击切换)`,"language.switch":`语言切换`,"skeleton.loading":`加载中`,"timeline.loading":`加载中...`,"notification.title":`消息中心`,"notification.viewAll":`查看全部消息`,"notification.badge":`消息通知`,"notification.unreadBadge":`消息通知({count} 条未读)`,"notification.all":`全部`,"notification.system":`系统通知`,"notification.business":`业务消息`,"notification.alarm":`告警预警`,"notification.low":`低`,"notification.normal":`普通`,"notification.high":`重要`,"notification.urgent":`紧急`,"notification.markRead":`标记已读`,"notification.delete":`删除消息`,"notification.allRead":`全部已读`,"notification.clear":`清空`,"notification.loadMore":`加载更多`,"notification.loading":`加载中...`,"notification.empty":`暂无消息`,"notification.back":`返回列表`,"notification.details":`查看详情`,"notification.connected":`已连接`,"notification.connecting":`连接中...`,"notification.disconnected":`未连接`,"notification.reconnecting":`重连中...`,"common.confirm":`确定`,"common.cancel":`取消`,"common.save":`保存`,"common.submit":`提交`,"common.reset":`重置`,"common.retry":`重试`,"common.edit":`编辑`,"common.detail":`详情`,"common.delete":`删除`,"common.select":`选择`,"common.print":`打印`,"common.loading":`正在加载`,"table.loading":`正在加载数据`,"table.loadFailed":`数据加载失败`,"table.deleteTitle":`确认删除`,"table.deleteContent":`确定要删除这条记录吗?`,"table.deleteSuccess":`删除成功`,"table.deleteFailed":`删除失败`,"table.detailFailed":`获取详情失败`,"table.moreActions":`更多操作`,"table.actionFailed":`{action}失败`,"table.cancelSelection":`取消选择`,"table.columnSettings":`列设置`,"table.export":`导出`,"table.settings":`表格设置`,"table.selectedCount":`已选择 {count} 项`,"table.addRow":`增行`,"table.insertRow":`插行`,"table.deleteRow":`删除行`,"table.copyRow":`复制行`,"table.moveUp":`上移`,"table.moveDown":`下移`,"table.addRowSuccess":`添加行成功`,"table.insertRowSuccess":`插入行成功`,"table.deleteRowSuccess":`删除行成功`,"table.copyRowSuccess":`复制行成功`,"table.moveUpSuccess":`行已上移`,"table.moveDownSuccess":`行已下移`,"table.selectRowFirst":`请先选择一行数据`,"table.selectDeleteRowFirst":`请先选择要删除的行`,"table.selectCopyRowFirst":`请先选择要复制的行`,"table.firstRow":`已经是第一行`,"table.lastRow":`已经是最后一行`,"table.deleteRowContent":`确定要删除选中的行吗?此操作不可撤销。`,"table.confirmDeleteRow":`确认删除`,"table.printTargetMissing":`打印元素未找到`,"table.downloadTargetMissing":`下载元素未找到`,"table.invalidRowKeys":`表格存在 {count} 个缺失或重复的行键`,"breadcrumb.label":`面包屑`,"breadcrumb.expandPath":`展开完整路径`,"breadcrumb.fullPath":`完整路径`,"breadcrumb.directoryPages":`目录页面`,"breadcrumb.pageCount":`{count} 个页面`,"breadcrumb.current":`当前`,"form.required":`{label}不能为空`,"search.valueRequired":`请输入搜索内容,或选择筛选条件`,"search.failed":`搜索失败`,"captcha.trigger":`点击进行人机验证`,"captcha.verifying":`正在验证…`,"captcha.success":`验证成功`,"captcha.failed":`验证失败,请重试`,"captcha.reset":`重新验证`,"captcha.puzzleFailed":`拼图验证失败`,"captcha.verifyFailed":`服务端验证失败`,"captcha.loadFailed":`验证码加载失败`}),a=Object.freeze({"validation.summary":`Please check the following`,"validation.previous":`Previous group`,"validation.next":`Next group`,"picker.title":`Select data`,"picker.placeholder":`Please select`,"picker.searchPlaceholder":`Enter keywords`,"picker.clear":`Clear selection`,"picker.searchLabel":`Search candidates`,"picker.search":`Search`,"picker.loadFailed":`Could not load candidates`,"picker.labelFailed":`Could not load labels; original values are retained`,"picker.selected":`{count} selected`,"picker.moreSelected":`{count} more`,"batch.title":`Batch operation results`,"batch.summary":`{total} items: {success} succeeded, {failure} failed, {conflict} conflicted, {skipped} skipped`,"batch.filterLabel":`Filter results`,"batch.all":`All`,"batch.retry":`Retry eligible items ({count})`,"batch.id":`Business key`,"batch.status":`Result`,"batch.message":`Details`,"batch.retryColumn":`Retry`,"batch.retryable":`Retryable`,"batch.success":`Success`,"batch.failure":`Failure`,"batch.conflict":`Conflict`,"batch.skipped":`Skipped`,"section.navigation":`Document sections`,"section.errors":`{count} errors`,"notification.invalidResponse":`Invalid notification response or counts`,"notification.operationFailed":`Notification action failed. Try again.`,"notification.missingFetch":`Remote notifications require fetchNotifications`,"notification.missingAction":`Remote notifications require the {name} adapter`,"notification.expiredScope":`Notification scope has expired`,"chat.self":`Me`,"common.search":`Search...`,"common.add":`Add`,"common.refresh":`Refresh`,"common.expand":`Show details`,"common.collapse":`Collapse`,"common.unknown":`Unknown`,"tree.search":`Search tree nodes`,"tree.expandAll":`Expand all`,"tree.collapseAll":`Collapse all`,"tree.menu.add":`Add submenu`,"tree.menu.deleteConfirm":`Delete this menu?`,"tree.file.open":`Open`,"tree.file.rename":`Rename`,"tree.file.deleteConfirm":`Delete this file?`,"tree.org.add":`Add child`,"transfer.source":`Available`,"transfer.target":`Selected`,"transfer.empty":`No data`,"transfer.emptyTarget":`Nothing selected`,"transfer.searchSource":`Search available items`,"transfer.searchTarget":`Search selected items`,"transfer.toTarget":`Move to selected`,"transfer.toSource":`Move to available`,"split.resize":`Resize panels`,"split.expandFirst":`Expand first panel`,"split.collapseFirst":`Collapse first panel`,"split.expandSecond":`Expand second panel`,"split.collapseSecond":`Collapse second panel`,"chat.sessions":`Conversations`,"chat.search":`Search contacts`,"chat.online":`Online`,"chat.empty":`No messages yet. Send the first one.`,"chat.choose":`Select a conversation to start chatting`,"chat.placeholder":`Type a message...`,"chat.title":`Chat`,"chat.emoji":`Emoji`,"chat.attach":`Add attachment`,"chat.send":`Send`,"chat.imagePreview":`Preview image from {name}`,"chat.image":`Chat image`,"chat.file":`File`,"chat.failed":`Send failed. Click to retry.`,"chat.sending":`Sending...`,"time.now":`Just now`,"time.minutes":`{count} minutes ago`,"time.hours":`{count} hours ago`,"time.days":`{count} days ago`,"time.weeks":`{count} weeks ago`,"time.months":`{count} months ago`,"time.yesterday":`Yesterday {time}`,"theme.light":`Current: Light mode (click to switch)`,"theme.dark":`Current: Dark mode (click to switch)`,"theme.system":`Current: System mode (click to switch)`,"language.switch":`Switch language`,"skeleton.loading":`Loading`,"timeline.loading":`Loading...`,"notification.title":`Notification center`,"notification.viewAll":`View all notifications`,"notification.badge":`Notifications`,"notification.unreadBadge":`Notifications ({count} unread)`,"notification.all":`All`,"notification.system":`System`,"notification.business":`Business`,"notification.alarm":`Alerts`,"notification.low":`Low`,"notification.normal":`Normal`,"notification.high":`Important`,"notification.urgent":`Urgent`,"notification.markRead":`Mark as read`,"notification.delete":`Delete notification`,"notification.allRead":`Mark all as read`,"notification.clear":`Clear`,"notification.loadMore":`Load more`,"notification.loading":`Loading...`,"notification.empty":`No notifications`,"notification.back":`Back to list`,"notification.details":`View details`,"notification.connected":`Connected`,"notification.connecting":`Connecting...`,"notification.disconnected":`Disconnected`,"notification.reconnecting":`Reconnecting...`,"common.confirm":`Confirm`,"common.cancel":`Cancel`,"common.save":`Save`,"common.submit":`Submit`,"common.reset":`Reset`,"common.retry":`Retry`,"common.edit":`Edit`,"common.detail":`Details`,"common.delete":`Delete`,"common.select":`Select`,"common.print":`Print`,"common.loading":`Loading`,"table.loading":`Loading data`,"table.loadFailed":`Failed to load data`,"table.deleteTitle":`Confirm deletion`,"table.deleteContent":`Are you sure you want to delete this record?`,"table.deleteSuccess":`Deleted successfully`,"table.deleteFailed":`Delete failed`,"table.detailFailed":`Failed to load details`,"table.moreActions":`More actions`,"table.actionFailed":`{action} failed`,"table.cancelSelection":`Clear selection`,"table.columnSettings":`Column settings`,"table.export":`Export`,"table.settings":`Table settings`,"table.selectedCount":`{count} selected`,"table.addRow":`Add row`,"table.insertRow":`Insert row`,"table.deleteRow":`Delete row`,"table.copyRow":`Copy row`,"table.moveUp":`Move up`,"table.moveDown":`Move down`,"table.addRowSuccess":`Row added`,"table.insertRowSuccess":`Row inserted`,"table.deleteRowSuccess":`Row deleted`,"table.copyRowSuccess":`Row copied`,"table.moveUpSuccess":`Row moved up`,"table.moveDownSuccess":`Row moved down`,"table.selectRowFirst":`Select a row first`,"table.selectDeleteRowFirst":`Select a row to delete first`,"table.selectCopyRowFirst":`Select a row to copy first`,"table.firstRow":`This is already the first row`,"table.lastRow":`This is already the last row`,"table.deleteRowContent":`Are you sure you want to delete the selected row? This cannot be undone.`,"table.confirmDeleteRow":`Delete row`,"table.printTargetMissing":`Print target was not found`,"table.downloadTargetMissing":`Download target was not found`,"table.invalidRowKeys":`{count} table row keys are missing or duplicated`,"breadcrumb.label":`Breadcrumb`,"breadcrumb.expandPath":`Show full path`,"breadcrumb.fullPath":`Full path`,"breadcrumb.directoryPages":`Directory pages`,"breadcrumb.pageCount":`{count} pages`,"breadcrumb.current":`Current`,"form.required":`{label} is required`,"search.valueRequired":`Enter a search term or choose a filter`,"search.failed":`Search failed`,"captcha.trigger":`Click to verify`,"captcha.verifying":`Verifying…`,"captcha.success":`Verified`,"captcha.failed":`Verification failed. Try again.`,"captcha.reset":`Verify again`,"captcha.puzzleFailed":`Puzzle verification failed`,"captcha.verifyFailed":`Server verification failed`,"captcha.loadFailed":`Failed to load captcha`}),o=(e,t)=>t?e.replace(/\{([^{}]+)\}/g,(e,n)=>Object.prototype.hasOwnProperty.call(t,n)?String(t[n]):e):e;function s(e,t){return e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0}function c(e){return e===`en-US`?a:i}function l(e,t={},n={},r){let i=t.t??n.t;if(i)return i(e,r);let a=c(t.locale??n.locale);return o(s(t.messages,e)??s(n.messages,e)??s(a,e)??e,r)}function u(i){let a=t()?n(e,{}):{};return{t:(e,t)=>l(e,r(i),a,t)}}export{u as t};
@@ -52,30 +52,30 @@ interface ImageCropperEmits {
52
52
  //#region src/components/C_ImageCropper/index.vue.d.ts
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
54
  error: (error: Error) => any;
55
- ready: () => any;
56
55
  cancel: () => any;
57
56
  confirm: (result: CropResult) => any;
57
+ ready: () => any;
58
58
  crop: (result: CropResult) => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
60
  onError?: ((error: Error) => any) | undefined;
61
- onReady?: (() => any) | undefined;
62
61
  onCancel?: (() => any) | undefined;
63
62
  onConfirm?: ((result: CropResult) => any) | undefined;
63
+ onReady?: (() => any) | undefined;
64
64
  onCrop?: ((result: CropResult) => any) | undefined;
65
65
  }>, {
66
- height: string | number;
67
66
  disabled: boolean;
68
- aspectRatio: number;
69
- showPreview: boolean;
70
- showToolbar: boolean;
67
+ height: string | number;
71
68
  modalTitle: string;
72
- modal: boolean;
69
+ showPreview: boolean;
70
+ aspectRatio: number;
73
71
  src: string;
72
+ showToolbar: boolean;
74
73
  outputFormat: CropOutputFormat;
75
74
  outputQuality: number;
76
75
  maxOutputWidth: number;
77
76
  maxOutputHeight: number;
78
77
  circular: boolean;
78
+ modal: boolean;
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const _default: typeof __VLS_export;
81
81
  //#endregion
@@ -52,30 +52,30 @@ interface ImageCropperEmits {
52
52
  //#region src/components/C_ImageCropper/index.vue.d.ts
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
54
  error: (error: Error) => any;
55
- ready: () => any;
56
55
  cancel: () => any;
57
56
  confirm: (result: CropResult) => any;
57
+ ready: () => any;
58
58
  crop: (result: CropResult) => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
60
  onError?: ((error: Error) => any) | undefined;
61
- onReady?: (() => any) | undefined;
62
61
  onCancel?: (() => any) | undefined;
63
62
  onConfirm?: ((result: CropResult) => any) | undefined;
63
+ onReady?: (() => any) | undefined;
64
64
  onCrop?: ((result: CropResult) => any) | undefined;
65
65
  }>, {
66
- height: string | number;
67
66
  disabled: boolean;
68
- aspectRatio: number;
69
- showPreview: boolean;
70
- showToolbar: boolean;
67
+ height: string | number;
71
68
  modalTitle: string;
72
- modal: boolean;
69
+ showPreview: boolean;
70
+ aspectRatio: number;
73
71
  src: string;
72
+ showToolbar: boolean;
74
73
  outputFormat: CropOutputFormat;
75
74
  outputQuality: number;
76
75
  maxOutputWidth: number;
77
76
  maxOutputHeight: number;
78
77
  circular: boolean;
78
+ modal: boolean;
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const _default: typeof __VLS_export;
81
81
  //#endregion
@@ -0,0 +1 @@
1
+ require(`./chunk.cjs`);const e=require(`./observer.cjs`);let t=require(`vue`);function n(n){let r=(0,t.shallowRef)(),i=(0,t.shallowRef)(null),a=(0,t.shallowRef)(`idle`),o=0,s,c=!1,l=!1,u=!1,d=`idle`,f=e=>n.isEmpty?.(e)??(e==null||Array.isArray(e)&&e.length===0),p=(e,t)=>!c&&e===o&&(!t||!t.signal.aborted),m=(e,t,n)=>{let o=f(e)?`empty`:`ready`;return!p(t,n)||(d=o,r.value=e,!p(t,n))||(i.value=null,!p(t,n))?!1:(a.value=o,p(t,n))},h=()=>{let e=++o,t=s;return s=void 0,t?.abort(),e===o&&a.value===`loading`&&(a.value=d),e},g=()=>{h()},_=(t,r,o)=>{p(r,o)&&(i.value=t,p(r,o)&&(a.value=`error`,p(r,o)&&e.t(()=>n.onError?.(t))))},v=e=>!p(e)||(d=`idle`,r.value=void 0,!p(e))||(i.value=null,!p(e))?!1:(a.value=`idle`,p(e)),y=async(e,t)=>{if(!p(t))return!1;let r=new AbortController;if(s=r,a.value=`loading`,!p(t,r)||(i.value=null,!p(t,r)))return!1;try{return m(await n.load({key:e,signal:r.signal}),t,r)}catch(e){return _(e,t,r),!1}finally{s===r&&(s=void 0)}},b=async()=>{if(c)return!1;let e=h();if(!p(e))return!1;let r=n.source===void 0?void 0:(0,t.toValue)(n.source);if(r!==void 0)try{return m(r,e)}catch(t){return _(t,e),!1}let i=(0,t.toValue)(n.key);return p(e)?i==null?(v(e),!1):l?(u=!0,!1):y(i,e):!1},x=()=>{},S=()=>{c||(c=!0,x(),g())};return(0,t.getCurrentScope)()&&(0,t.onScopeDispose)(S),x=(0,t.watch)(()=>[(0,t.toValue)(n.key),n.source===void 0?void 0:(0,t.toValue)(n.source)],()=>{v(h())&&b()},{immediate:n.immediate!==!1,flush:`sync`}),c&&x(),(0,t.getCurrentInstance)()&&((0,t.onDeactivated)(()=>{l=!0,u=a.value===`loading`,g()}),(0,t.onActivated)(()=>{l&&(l=!1,u&&(u=!1,b()))})),{data:r,error:i,status:a,loading:(0,t.computed)(()=>a.value===`loading`),stale:(0,t.computed)(()=>a.value===`error`&&r.value!==void 0),reload:b,abort:g,dispose:S}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
@@ -0,0 +1 @@
1
+ import{t as e}from"./observer.js";import{computed as t,getCurrentInstance as n,getCurrentScope as r,onActivated as i,onDeactivated as a,onScopeDispose as o,shallowRef as s,toValue as c,watch as l}from"vue";function u(u){let d=s(),f=s(null),p=s(`idle`),m=0,h,g=!1,_=!1,v=!1,y=`idle`,b=e=>u.isEmpty?.(e)??(e==null||Array.isArray(e)&&e.length===0),x=(e,t)=>!g&&e===m&&(!t||!t.signal.aborted),S=(e,t,n)=>{let r=b(e)?`empty`:`ready`;return!x(t,n)||(y=r,d.value=e,!x(t,n))||(f.value=null,!x(t,n))?!1:(p.value=r,x(t,n))},C=()=>{let e=++m,t=h;return h=void 0,t?.abort(),e===m&&p.value===`loading`&&(p.value=y),e},w=()=>{C()},T=(t,n,r)=>{x(n,r)&&(f.value=t,x(n,r)&&(p.value=`error`,x(n,r)&&e(()=>u.onError?.(t))))},E=e=>!x(e)||(y=`idle`,d.value=void 0,!x(e))||(f.value=null,!x(e))?!1:(p.value=`idle`,x(e)),D=async(e,t)=>{if(!x(t))return!1;let n=new AbortController;if(h=n,p.value=`loading`,!x(t,n)||(f.value=null,!x(t,n)))return!1;try{return S(await u.load({key:e,signal:n.signal}),t,n)}catch(e){return T(e,t,n),!1}finally{h===n&&(h=void 0)}},O=async()=>{if(g)return!1;let e=C();if(!x(e))return!1;let t=u.source===void 0?void 0:c(u.source);if(t!==void 0)try{return S(t,e)}catch(t){return T(t,e),!1}let n=c(u.key);return x(e)?n==null?(E(e),!1):_?(v=!0,!1):D(n,e):!1},k=()=>{},A=()=>{g||(g=!0,k(),w())};return r()&&o(A),k=l(()=>[c(u.key),u.source===void 0?void 0:c(u.source)],()=>{E(C())&&O()},{immediate:u.immediate!==!1,flush:`sync`}),g&&k(),n()&&(a(()=>{_=!0,v=p.value===`loading`,w()}),i(()=>{_&&(_=!1,v&&(v=!1,O()))})),{data:d,error:f,status:p,loading:t(()=>p.value===`loading`),stale:t(()=>p.value===`error`&&d.value!==void 0),reload:O,abort:w,dispose:A}}export{u as t};
@@ -0,0 +1 @@
1
+ require(`./chunk.cjs`);const e=require(`./dictionary.cjs`),t=require(`./observer.cjs`),n=require(`./config.cjs`);let r=require(`vue`);const i=Object.freeze([]);function a(e){return typeof e==`string`||typeof e==`boolean`||typeof e==`number`&&Number.isFinite(e)}function o(e,t){if(!e||typeof e.label!=`string`||!a(e.value))throw TypeError(`[dictionary] 选项必须有字符串 label 和有限的原始 value`);if(e.disabled!==void 0&&typeof e.disabled!=`boolean`)throw TypeError(`[dictionary] disabled 必须是 boolean`);if(t.has(e.value))throw TypeError(`[dictionary] 选项 value 不得重复`);return t.add(e.value),{...e}}function s(a,s={}){let c=(0,r.getCurrentInstance)()?(0,r.inject)(n.DICTIONARY_PROVIDER_KEY,void 0):void 0,l=new Map,u=(0,r.shallowReactive)(new Map),d=(0,r.shallowReactive)(new Map),f=(0,r.shallowReactive)(new Map),p=(0,r.shallowReactive)(new Map),m=!1,h=(e,t)=>!m&&l.get(e)===t,g=(e,t,n)=>h(e,t)&&!n.signal.aborted&&t.controller===n,_=(e,n)=>{f.set(e,n),t.t(()=>s.onError?.(n,e))},v=e=>{if(!Array.isArray(e))throw TypeError(`[dictionary] 选项源必须返回数组`);let t=new Set;return e.map(e=>o(e,t))},y=(t,n)=>{let r=v(n);u.set(t,r),p.set(t,e.t(r))};function b(e,t){if(h(e,t))try{y(e,t.source.getOptions()),f.delete(e)}catch(t){_(e,t)}}async function x(e,t){if(t.controller?.abort(),!t.source.load){b(e,t);return}let n=new AbortController;t.controller=n;let{revision:r}=t;d.set(e,!0),f.delete(e);try{let i=await t.source.load({signal:n.signal});if(!g(e,t,n))return;y(e,r===t.revision?i:t.source.getOptions())}catch(r){g(e,t,n)&&_(e,r)}finally{h(e,t)&&t.controller===n&&(d.set(e,!1),t.controller=void 0)}}function S({key:e,binding:t,source:n,error:r}){let i=l.get(e);if(i&&i.source===n&&i.binding===t)return;if(C(e),!n){t!==void 0&&_(e,r??Error(`[dictionary] 未注册字典: ${String(t)}`));return}let a={binding:t,source:n,revision:0};l.set(e,a),b(e,a);try{a.unsubscribe=n.subscribe?.(()=>{h(e,a)&&(a.revision++,b(e,a))})}catch(t){_(e,t)}n.load&&x(e,a)}function C(e){let t=l.get(e);l.delete(e),t?.controller?.abort();try{t?.unsubscribe?.()}catch(t){m||_(e,t)}u.delete(e),d.delete(e),f.delete(e),p.delete(e)}let w=(0,r.watch)(()=>[...(0,r.toValue)(a)].map(([e,t])=>{try{return{key:e,binding:t,source:typeof t==`string`?c?.getDictionary(t):t}}catch(n){return{key:e,binding:t,source:void 0,error:n}}}),e=>{let t=new Set(e.map(e=>e.key));for(let e of new Set([...l.keys(),...f.keys()]))t.has(e)||C(e);e.forEach(S)},{immediate:!0}),T=()=>{if(!m){m=!0,w();for(let e of new Set([...l.keys(),...f.keys()]))C(e)}};return(0,r.getCurrentScope)()&&(0,r.onScopeDispose)(T),{dispose:T,getOptions:e=>u.get(e)??i,getLabel:(e,t)=>p.get(e)?.(t)??String(t??``),isLoading:e=>d.get(e)??!1,getError:e=>f.get(e),async reload(e){let t=e===void 0?[...l]:l.has(e)?[[e,l.get(e)]]:[];await Promise.all(t.map(([e,t])=>x(e,t)))}}}Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
@@ -0,0 +1 @@
1
+ import{t as e}from"./dictionary.js";import{t}from"./observer.js";import{DICTIONARY_PROVIDER_KEY as n}from"./config.js";import{getCurrentInstance as r,getCurrentScope as i,inject as a,onScopeDispose as o,shallowReactive as s,toValue as c,watch as l}from"vue";const u=Object.freeze([]);function d(e){return typeof e==`string`||typeof e==`boolean`||typeof e==`number`&&Number.isFinite(e)}function f(e,t){if(!e||typeof e.label!=`string`||!d(e.value))throw TypeError(`[dictionary] 选项必须有字符串 label 和有限的原始 value`);if(e.disabled!==void 0&&typeof e.disabled!=`boolean`)throw TypeError(`[dictionary] disabled 必须是 boolean`);if(t.has(e.value))throw TypeError(`[dictionary] 选项 value 不得重复`);return t.add(e.value),{...e}}function p(d,p={}){let m=r()?a(n,void 0):void 0,h=new Map,g=s(new Map),_=s(new Map),v=s(new Map),y=s(new Map),b=!1,x=(e,t)=>!b&&h.get(e)===t,S=(e,t,n)=>x(e,t)&&!n.signal.aborted&&t.controller===n,C=(e,n)=>{v.set(e,n),t(()=>p.onError?.(n,e))},w=e=>{if(!Array.isArray(e))throw TypeError(`[dictionary] 选项源必须返回数组`);let t=new Set;return e.map(e=>f(e,t))},T=(t,n)=>{let r=w(n);g.set(t,r),y.set(t,e(r))};function E(e,t){if(x(e,t))try{T(e,t.source.getOptions()),v.delete(e)}catch(t){C(e,t)}}async function D(e,t){if(t.controller?.abort(),!t.source.load){E(e,t);return}let n=new AbortController;t.controller=n;let{revision:r}=t;_.set(e,!0),v.delete(e);try{let i=await t.source.load({signal:n.signal});if(!S(e,t,n))return;T(e,r===t.revision?i:t.source.getOptions())}catch(r){S(e,t,n)&&C(e,r)}finally{x(e,t)&&t.controller===n&&(_.set(e,!1),t.controller=void 0)}}function O({key:e,binding:t,source:n,error:r}){let i=h.get(e);if(i&&i.source===n&&i.binding===t)return;if(k(e),!n){t!==void 0&&C(e,r??Error(`[dictionary] 未注册字典: ${String(t)}`));return}let a={binding:t,source:n,revision:0};h.set(e,a),E(e,a);try{a.unsubscribe=n.subscribe?.(()=>{x(e,a)&&(a.revision++,E(e,a))})}catch(t){C(e,t)}n.load&&D(e,a)}function k(e){let t=h.get(e);h.delete(e),t?.controller?.abort();try{t?.unsubscribe?.()}catch(t){b||C(e,t)}g.delete(e),_.delete(e),v.delete(e),y.delete(e)}let A=l(()=>[...c(d)].map(([e,t])=>{try{return{key:e,binding:t,source:typeof t==`string`?m?.getDictionary(t):t}}catch(n){return{key:e,binding:t,source:void 0,error:n}}}),e=>{let t=new Set(e.map(e=>e.key));for(let e of new Set([...h.keys(),...v.keys()]))t.has(e)||k(e);e.forEach(O)},{immediate:!0}),j=()=>{if(!b){b=!0,A();for(let e of new Set([...h.keys(),...v.keys()]))k(e)}};return i()&&o(j),{dispose:j,getOptions:e=>g.get(e)??u,getLabel:(e,t)=>y.get(e)?.(t)??String(t??``),isLoading:e=>_.get(e)??!1,getError:e=>v.get(e),async reload(e){let t=e===void 0?[...h]:h.has(e)?[[e,h.get(e)]]:[];await Promise.all(t.map(([e,t])=>D(e,t)))}}}export{p as t};