@das-fed/upf-ui 6.4.0-dev.237 → 6.4.0-dev.239

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 (1074) hide show
  1. package/esm-map.json +1 -0
  2. package/package.json +3 -3
  3. package/packages/business-components/ai-panel/index-BdLFU3HT.js +182 -0
  4. package/packages/business-components/ai-panel/index-BdLFU3HT.js.gz +0 -0
  5. package/packages/business-components/ai-panel/{index-BybM3Q9u.js → index-Cc1_Wpca.js} +2057 -1584
  6. package/packages/business-components/ai-panel/index-Cc1_Wpca.js.gz +0 -0
  7. package/packages/business-components/ai-panel/{index-CwdJKHy0.js → index-DCyDBdoc.js} +22 -8
  8. package/packages/business-components/ai-panel/index-DCyDBdoc.js.gz +0 -0
  9. package/packages/business-components/ai-panel/index.d.ts +28 -0
  10. package/packages/business-components/ai-panel/index.js +1 -1
  11. package/packages/business-components/ai-panel/src/dasAI/components/aiChat/index.vue.d.ts +13 -0
  12. package/packages/business-components/ai-panel/src/dasAI/components/chat/index.vue.d.ts +11 -0
  13. package/packages/business-components/ai-panel/src/dasAI/components/folderDialog/index.vue.d.ts +16 -0
  14. package/packages/business-components/ai-panel/src/dasAI/components/history/index.vue.d.ts +13 -0
  15. package/packages/business-components/ai-panel/src/dasAI/components/prompt/index.vue.d.ts +11 -0
  16. package/packages/business-components/ai-panel/src/dasAI/components/referenceContent/index.vue.d.ts +15 -0
  17. package/packages/business-components/ai-panel/src/dasAI/components/selectType/index.vue.d.ts +11 -0
  18. package/packages/business-components/ai-panel/src/dasAI/components/sender/index.vue.d.ts +11 -0
  19. package/packages/business-components/ai-panel/src/dasAI/components/useChat/index.vue.d.ts +11 -0
  20. package/packages/business-components/ai-panel/src/dasAI/hooks/audio.d.ts +2 -2
  21. package/packages/business-components/ai-panel/src/dasAI/hooks/knowbase.d.ts +1 -1
  22. package/packages/business-components/ai-panel/src/index.vue.d.ts +2 -2
  23. package/packages/business-components/ai-panel/style.css +1 -1
  24. package/packages/business-components/ai-panel/style.css.gz +0 -0
  25. package/packages/business-components/app-container/index.d.ts +0 -1
  26. package/packages/business-components/app-container/index.js +163 -144
  27. package/packages/business-components/app-container/index.js.gz +0 -0
  28. package/packages/business-components/app-container/src/index.vue.d.ts +0 -1
  29. package/packages/business-components/app-container/src/type.d.ts +0 -1
  30. package/packages/business-components/app-container/style.css +1 -1
  31. package/packages/business-components/app-container/style.css.gz +0 -0
  32. package/packages/business-components/area-phone-select/index.d.ts +54 -54
  33. package/packages/business-components/area-phone-select/index.js +176 -127
  34. package/packages/business-components/area-phone-select/index.js.gz +0 -0
  35. package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +7 -7
  36. package/packages/business-components/change-enterprises/index.js +73 -47
  37. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  38. package/packages/business-components/change-pwd/index.js +27 -15
  39. package/packages/business-components/change-pwd/index.js.gz +0 -0
  40. package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +20 -20
  41. package/packages/business-components/currency-page/index.js +51 -34
  42. package/packages/business-components/currency-page/index.js.gz +0 -0
  43. package/packages/business-components/device-panel/index.js +17852 -13132
  44. package/packages/business-components/device-panel/index.js.gz +0 -0
  45. package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/listItem.vue.d.ts +2 -2
  46. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-device-detail.d.ts +1 -1
  47. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-device-operate-log.d.ts +1 -1
  48. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-operating-data.d.ts +1 -1
  49. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-operation-plan.d.ts +1 -1
  50. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-video-monitoring.d.ts +1 -1
  51. package/packages/business-components/device-panel/src/components/alarmDevicePanel/index.vue.d.ts +8 -8
  52. package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/listItem.vue.d.ts +2 -2
  53. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-alarm-log.d.ts +1 -1
  54. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-device-detail.d.ts +1 -1
  55. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-device-operate-log.d.ts +1 -1
  56. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-operating-data.d.ts +1 -1
  57. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-operation-plan.d.ts +1 -1
  58. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-video-monitoring.d.ts +1 -1
  59. package/packages/business-components/device-panel/src/components/devicePanelModal/type.d.ts +3 -3
  60. package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +2 -2
  61. package/packages/business-components/device-panel/src/components/videoDialog/hooks/use-video/PlayerProvider.d.ts +2 -2
  62. package/packages/business-components/device-panel/src/components/videoDialog/hooks/use-video/index.d.ts +1 -1
  63. package/packages/business-components/device-panel/style.css +1 -1
  64. package/packages/business-components/device-panel/style.css.gz +0 -0
  65. package/packages/business-components/echarts/index.d.ts +5 -5
  66. package/packages/business-components/echarts/index.js +2616 -2586
  67. package/packages/business-components/echarts/index.js.gz +0 -0
  68. package/packages/business-components/echarts/src/Index.vue.d.ts +1 -1
  69. package/packages/business-components/echarts/style.css +1 -1
  70. package/packages/business-components/export-button/index.d.ts +3 -3
  71. package/packages/business-components/export-button/index.js +131 -123
  72. package/packages/business-components/export-button/index.js.gz +0 -0
  73. package/packages/business-components/export-button/src/App.vue.d.ts +1 -1
  74. package/packages/business-components/import-button/index.d.ts +11 -11
  75. package/packages/business-components/import-button/index.js +223 -187
  76. package/packages/business-components/import-button/index.js.gz +0 -0
  77. package/packages/business-components/import-button/src/App.vue.d.ts +4 -4
  78. package/packages/business-components/layout-breadcrumb/index.js +51 -57
  79. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  80. package/packages/business-components/model-table-dialog/index.d.ts +49 -49
  81. package/packages/business-components/model-table-dialog/index.js +361 -313
  82. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  83. package/packages/business-components/model-table-dialog/src/Index.vue.d.ts +5 -5
  84. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +1 -1
  85. package/packages/business-components/payment/index.js +256 -166
  86. package/packages/business-components/payment/index.js.gz +0 -0
  87. package/packages/business-components/process-configuration/index.js +311 -225
  88. package/packages/business-components/process-configuration/index.js.gz +0 -0
  89. package/packages/business-components/process-configuration/src/hooks/useCopyDialog.d.ts +1 -1
  90. package/packages/business-components/process-configuration/src/hooks/useDeleteDialog.d.ts +1 -1
  91. package/packages/business-components/process-form/index.js +1530 -1305
  92. package/packages/business-components/process-form/index.js.gz +0 -0
  93. package/packages/business-components/process-form/src/hooks/useForm.d.ts +23 -23
  94. package/packages/business-components/process-form/src/hooks/useSelector.d.ts +5 -15
  95. package/packages/business-components/process-form/src/type.d.ts +38 -35
  96. package/packages/business-components/process-form/src/utils/processRules.d.ts +41 -38
  97. package/packages/business-components/process-form/src/widgets/layout/accordion/accordion.d.ts +1 -1
  98. package/packages/business-components/process-form/src/widgets/layout/grid/grid.d.ts +1 -1
  99. package/packages/business-components/process-form/src/widgets/layout/grid/gridLayout.vue.d.ts +1 -1
  100. package/packages/business-components/process-form/src/widgets/store.d.ts +7 -7
  101. package/packages/business-components/process-form/style.css +1 -1
  102. package/packages/business-components/process-log/index.js +576 -403
  103. package/packages/business-components/process-log/index.js.gz +0 -0
  104. package/packages/business-components/process-log/style.css +1 -1
  105. package/packages/business-components/process-log/style.css.gz +0 -0
  106. package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +64 -2
  107. package/packages/business-components/process-search-form/index.js +5 -6
  108. package/packages/business-components/process-search-form/index.js.gz +0 -0
  109. package/packages/business-components/process-table/hooks/useProcessTable.d.ts +1 -1
  110. package/packages/business-components/process-table/hooks/useTableShow.d.ts +1 -1
  111. package/packages/business-components/process-table/index.d.ts +14 -14
  112. package/packages/business-components/process-table/index.js +486 -425
  113. package/packages/business-components/process-table/index.js.gz +0 -0
  114. package/packages/business-components/upload-file/index.js +63 -57
  115. package/packages/business-components/upload-file/index.js.gz +0 -0
  116. package/packages/business-components/upload-file/style.css +1 -1
  117. package/packages/business-components/urgent-panel/index.js +1913 -1439
  118. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  119. package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +2 -2
  120. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/EventInfo.vue.d.ts +1 -1
  121. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-user-select/use-select-list.d.ts +1 -1
  122. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-user-select/use-select-org-user.d.ts +1 -1
  123. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-user-select/use-select-user.d.ts +1 -1
  124. package/packages/business-components/urgent-panel/style.css +1 -1
  125. package/packages/business-components/urgent-panel/style.css.gz +0 -0
  126. package/packages/business-components/user-org-dialog/index.d.ts +5 -0
  127. package/packages/business-components/user-org-dialog/index.js +129 -67
  128. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  129. package/packages/business-components/user-org-dialog/src/Index.vue.d.ts +1 -0
  130. package/packages/business-components/user-org-dialog/src/hooks/use-select-list.d.ts +1 -1
  131. package/packages/business-components/user-org-dialog/src/hooks/use-select-org.d.ts +1 -1
  132. package/packages/business-components/user-org-dialog/src/hooks/use-select-user.d.ts +1 -1
  133. package/packages/business-components/user-org-dialog/src/type.d.ts +1 -0
  134. package/packages/business-components/video-dialog/index.js +413 -345
  135. package/packages/business-components/video-dialog/index.js.gz +0 -0
  136. package/packages/business-components/video-dialog/src/component/Player/index.vue.d.ts +1 -1
  137. package/packages/business-components/video-dialog/src/hooks/use-video/PlayerProvider.d.ts +2 -2
  138. package/packages/business-components/video-dialog/style.css +1 -1
  139. package/packages/business-components/video-dialog/style.css.gz +0 -0
  140. package/packages/components/alert/index.d.ts +4 -5
  141. package/packages/components/alert/index.js +77 -86
  142. package/packages/components/alert/index.js.gz +0 -0
  143. package/packages/components/alert/style.css +1 -1
  144. package/packages/components/alert/style.css.gz +0 -0
  145. package/packages/components/audio-video/index.d.ts +8 -8
  146. package/packages/components/audio-video/index.js +196 -169
  147. package/packages/components/audio-video/index.js.gz +0 -0
  148. package/packages/components/audio-video/src/player/index.vue.d.ts +2 -2
  149. package/packages/components/autocomplete/index.d.ts +37 -37
  150. package/packages/components/autocomplete/index.js +274 -247
  151. package/packages/components/autocomplete/index.js.gz +0 -0
  152. package/packages/components/autocomplete/src/index.vue.d.ts +4 -4
  153. package/packages/components/autocomplete/style.css +1 -1
  154. package/packages/components/autocomplete/style.css.gz +0 -0
  155. package/packages/components/breadcrumb/index.js +85 -67
  156. package/packages/components/breadcrumb/index.js.gz +0 -0
  157. package/packages/components/breadcrumb/style.css +1 -1
  158. package/packages/components/breadcrumb/style.css.gz +0 -0
  159. package/packages/components/button/index.d.ts +15 -15
  160. package/packages/components/button/index.js +341 -290
  161. package/packages/components/button/index.js.gz +0 -0
  162. package/packages/components/button/src/Index.vue.d.ts +5 -5
  163. package/packages/components/button/src/type.d.ts +1 -1
  164. package/packages/components/button/style.css +1 -1
  165. package/packages/components/button/style.css.gz +0 -0
  166. package/packages/components/calendar/index.js +334 -269
  167. package/packages/components/calendar/index.js.gz +0 -0
  168. package/packages/components/calendar/style.css +1 -1
  169. package/packages/components/calendar/style.css.gz +0 -0
  170. package/packages/components/cascader/index.d.ts +38 -38
  171. package/packages/components/cascader/index.js +209 -207
  172. package/packages/components/cascader/index.js.gz +0 -0
  173. package/packages/components/cascader/src/Index.vue.d.ts +4 -4
  174. package/packages/components/cascader/style.css +1 -1
  175. package/packages/components/cascader/style.css.gz +0 -0
  176. package/packages/components/checkbox/index.d.ts +63 -63
  177. package/packages/components/checkbox/index.js +359 -261
  178. package/packages/components/checkbox/index.js.gz +0 -0
  179. package/packages/components/checkbox/src/Index.vue.d.ts +7 -7
  180. package/packages/components/checkbox/style.css +1 -1
  181. package/packages/components/checkbox/style.css.gz +0 -0
  182. package/packages/components/collapse-panel/index.d.ts +9 -9
  183. package/packages/components/collapse-panel/index.js +30 -28
  184. package/packages/components/collapse-panel/index.js.gz +0 -0
  185. package/packages/components/collapse-panel/src/Index.vue.d.ts +1 -1
  186. package/packages/components/collapse-panel/style.css +1 -1
  187. package/packages/components/collapse-panel/style.css.gz +0 -0
  188. package/packages/components/collapse-transition/index.js +13 -6
  189. package/packages/components/collapse-transition/index.js.gz +0 -0
  190. package/packages/components/collaspe/index.d.ts +13 -13
  191. package/packages/components/collaspe/index.js +27 -25
  192. package/packages/components/collaspe/index.js.gz +0 -0
  193. package/packages/components/collaspe/src/Index.vue.d.ts +1 -1
  194. package/packages/components/color-picker/index.d.ts +10 -10
  195. package/packages/components/color-picker/index.js +112 -97
  196. package/packages/components/color-picker/index.js.gz +0 -0
  197. package/packages/components/color-picker/src/Index.vue.d.ts +2 -2
  198. package/packages/components/color-picker/src/type.d.ts +1 -1
  199. package/packages/components/color-picker/style.css +1 -1
  200. package/packages/components/color-picker/style.css.gz +0 -0
  201. package/packages/components/custom-search-item/index.d.ts +13 -13
  202. package/packages/components/custom-search-item/index.js +46 -41
  203. package/packages/components/custom-search-item/index.js.gz +0 -0
  204. package/packages/components/custom-search-item/src/Index.vue.d.ts +1 -1
  205. package/packages/components/custom-search-item/src/type.d.ts +3 -2
  206. package/packages/components/custom-search-item/style.css +1 -1
  207. package/packages/components/date-picker/index.d.ts +73 -73
  208. package/packages/components/date-picker/index.js +991 -787
  209. package/packages/components/date-picker/index.js.gz +0 -0
  210. package/packages/components/date-picker/src/DatePicker.vue.d.ts +6 -6
  211. package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +5 -5
  212. package/packages/components/date-picker/src/RangePicker.vue.d.ts +5 -5
  213. package/packages/components/date-picker/src/TimePicker.vue.d.ts +5 -5
  214. package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +5 -5
  215. package/packages/components/date-picker/style.css +1 -1
  216. package/packages/components/date-picker/style.css.gz +0 -0
  217. package/packages/components/dialog/index.d.ts +17 -14
  218. package/packages/components/dialog/index.js +329 -261
  219. package/packages/components/dialog/index.js.gz +0 -0
  220. package/packages/components/dialog/src/Index.vue.d.ts +27 -23
  221. package/packages/components/dialog/src/type.d.ts +5 -0
  222. package/packages/components/dialog/src/use-micro-app-dialog/index.d.ts +12 -7
  223. package/packages/components/dialog/src/use-micro-app-dialog/micro-frontend.d.ts +1 -2
  224. package/packages/components/dialog/style.css +1 -1
  225. package/packages/components/dialog/style.css.gz +0 -0
  226. package/packages/components/dimple-layout/editor/plugins/$route/type.d.ts +3 -2
  227. package/packages/components/dimple-layout/editor/type.d.ts +7 -0
  228. package/packages/components/dimple-layout/index.js +7997 -7118
  229. package/packages/components/dimple-layout/index.js.gz +0 -0
  230. package/packages/components/dimple-layout/style.css +1 -1
  231. package/packages/components/dimple-layout/style.css.gz +0 -0
  232. package/packages/components/drawer/index.js +39 -52
  233. package/packages/components/drawer/index.js.gz +0 -0
  234. package/packages/components/drawer/src/Index.vue.d.ts +1 -1
  235. package/packages/components/drawer/style.css +1 -1
  236. package/packages/components/dropdown/index.d.ts +3 -3
  237. package/packages/components/dropdown/index.js +64 -56
  238. package/packages/components/dropdown/index.js.gz +0 -0
  239. package/packages/components/edit-table/index.d.ts +4 -4
  240. package/packages/components/edit-table/index.js +1650 -1418
  241. package/packages/components/edit-table/index.js.gz +0 -0
  242. package/packages/components/edit-table/src/utils.d.ts +2 -2
  243. package/packages/components/edit-table/style.css +1 -1
  244. package/packages/components/edit-table/style.css.gz +0 -0
  245. package/packages/components/empty/index.d.ts +3 -4
  246. package/packages/components/empty/index.js +62 -40
  247. package/packages/components/empty/index.js.gz +0 -0
  248. package/packages/components/empty/src/Index.vue.d.ts +1 -1
  249. package/packages/components/empty/style.css +1 -1
  250. package/packages/components/error-overlay-model/index.d.ts +1 -1
  251. package/packages/components/error-overlay-model/index.js +63 -48
  252. package/packages/components/error-overlay-model/index.js.gz +0 -0
  253. package/packages/components/error-overlay-model/src/index.vue.d.ts +1 -1
  254. package/packages/components/form/index.d.ts +23 -23
  255. package/packages/components/form/index.js +18 -12
  256. package/packages/components/form/index.js.gz +0 -0
  257. package/packages/components/form/src/Index.vue.d.ts +1 -1
  258. package/packages/components/form-item/index.d.ts +7 -0
  259. package/packages/components/form-item/index.js +1193 -1073
  260. package/packages/components/form-item/index.js.gz +0 -0
  261. package/packages/components/form-item/src/Index.vue.d.ts +2 -0
  262. package/packages/components/form-item/src/hooks/use-error.d.ts +1 -12
  263. package/packages/components/form-item/style.css +1 -1
  264. package/packages/components/form-item/style.css.gz +0 -0
  265. package/packages/components/icon/index.js +14 -8
  266. package/packages/components/icon/index.js.gz +0 -0
  267. package/packages/components/icon/src/icon.d.ts +13 -0
  268. package/packages/components/image-upload/index.d.ts +0 -1
  269. package/packages/components/image-upload/index.js +137 -114
  270. package/packages/components/image-upload/index.js.gz +0 -0
  271. package/packages/components/image-upload/style.css +1 -1
  272. package/packages/components/image-upload/style.css.gz +0 -0
  273. package/packages/components/image-viewer/index.d.ts +1 -2
  274. package/packages/components/image-viewer/index.js +819 -731
  275. package/packages/components/image-viewer/index.js.gz +0 -0
  276. package/packages/components/image-viewer/src/Index.vue.d.ts +1 -1
  277. package/packages/components/image-viewer/src/hooks/use-imageViewer.d.ts +4 -2
  278. package/packages/components/image-viewer/src/type.d.ts +1 -1
  279. package/packages/components/image-viewer/style.css +1 -1
  280. package/packages/components/image-viewer/style.css.gz +0 -0
  281. package/packages/components/input/index.d.ts +5 -0
  282. package/packages/components/input/index.js +2012 -326
  283. package/packages/components/input/index.js.gz +0 -0
  284. package/packages/components/input/src/hooks/use-overflow-tip.d.ts +1 -1
  285. package/packages/components/input/src/index.vue.d.ts +1434 -0
  286. package/packages/components/input/style.css +9 -1
  287. package/packages/components/input/style.css.gz +0 -0
  288. package/packages/components/input-dialog-select/index.d.ts +4 -4
  289. package/packages/components/input-dialog-select/index.js +162 -149
  290. package/packages/components/input-dialog-select/index.js.gz +0 -0
  291. package/packages/components/input-dialog-select/src/Index.vue.d.ts +4 -4
  292. package/packages/components/input-dialog-select/style.css +1 -1
  293. package/packages/components/input-dialog-select/style.css.gz +0 -0
  294. package/packages/components/input-number/index.d.ts +5 -5
  295. package/packages/components/input-number/index.js +170 -162
  296. package/packages/components/input-number/index.js.gz +0 -0
  297. package/packages/components/input-number/src/App.vue.d.ts +1 -1
  298. package/packages/components/input-number/src/type.d.ts +2 -0
  299. package/packages/components/input-number/style.css +1 -1
  300. package/packages/components/input-number/style.css.gz +0 -0
  301. package/packages/components/live-player/index.d.ts +4 -4
  302. package/packages/components/live-player/index.js +19 -9
  303. package/packages/components/live-player/index.js.gz +0 -0
  304. package/packages/components/loading/index.js +143 -146
  305. package/packages/components/loading/index.js.gz +0 -0
  306. package/packages/components/loading/src/loading.d.ts +26 -0
  307. package/packages/components/loading/src/utils/tool.d.ts +3 -3
  308. package/packages/components/loading/style.css +1 -1
  309. package/packages/components/loading/style.css.gz +0 -0
  310. package/packages/components/map/index.js +450 -397
  311. package/packages/components/map/index.js.gz +0 -0
  312. package/packages/components/menu-aside/index.d.ts +0 -3
  313. package/packages/components/menu-aside/index.js +929 -844
  314. package/packages/components/menu-aside/index.js.gz +0 -0
  315. package/packages/components/menu-aside/src/Index.vue.d.ts +0 -1
  316. package/packages/components/menu-aside/src/sub-menu/sub-menu.vue.d.ts +1 -1
  317. package/packages/components/menu-aside/src/type.d.ts +0 -2
  318. package/packages/components/menu-aside/style.css +1 -1
  319. package/packages/components/menu-aside/style.css.gz +0 -0
  320. package/packages/components/menu-header/index.d.ts +0 -3
  321. package/packages/components/menu-header/index.js +58 -109
  322. package/packages/components/menu-header/index.js.gz +0 -0
  323. package/packages/components/menu-header/src/Index.vue.d.ts +0 -1
  324. package/packages/components/menu-header/src/type.d.ts +0 -1
  325. package/packages/components/menu-header/src/use-layout-header.d.ts +2 -1
  326. package/packages/components/message/index.d.ts +4 -1
  327. package/packages/components/message/index.js +50 -74
  328. package/packages/components/message/index.js.gz +0 -0
  329. package/packages/components/message/src/message.d.ts +5 -1
  330. package/packages/components/message/style.css +1 -1
  331. package/packages/components/message/style.css.gz +0 -0
  332. package/packages/components/notification/index.js +38 -46
  333. package/packages/components/notification/index.js.gz +0 -0
  334. package/packages/components/notification/src/notification.d.ts +6 -12
  335. package/packages/components/notification/style.css +1 -1
  336. package/packages/components/notification/style.css.gz +0 -0
  337. package/packages/components/overlay/index.js +2 -2
  338. package/packages/components/overlay/index.js.gz +0 -0
  339. package/packages/components/pagination/index.d.ts +15 -15
  340. package/packages/components/pagination/index.js +185 -156
  341. package/packages/components/pagination/index.js.gz +0 -0
  342. package/packages/components/pagination/src/Pagination.vue.d.ts +2 -2
  343. package/packages/components/pagination/style.css +1 -1
  344. package/packages/components/pagination/style.css.gz +0 -0
  345. package/packages/components/popover/index.d.ts +4 -4
  346. package/packages/components/popover/index.js +49 -28
  347. package/packages/components/popover/index.js.gz +0 -0
  348. package/packages/components/popup-mask/index.d.ts +38 -38
  349. package/packages/components/popup-mask/index.js +65 -51
  350. package/packages/components/popup-mask/index.js.gz +0 -0
  351. package/packages/components/popup-mask/src/Index.vue.d.ts +5 -5
  352. package/packages/components/preview/index.js +6 -1
  353. package/packages/components/preview/index.js.gz +0 -0
  354. package/packages/components/progress/index.js +232 -155
  355. package/packages/components/progress/index.js.gz +0 -0
  356. package/packages/components/progress/style.css +1 -1
  357. package/packages/components/progress/style.css.gz +0 -0
  358. package/packages/components/radio/index.d.ts +40 -40
  359. package/packages/components/radio/index.js +387 -251
  360. package/packages/components/radio/index.js.gz +0 -0
  361. package/packages/components/radio/src/Index.vue.d.ts +4 -4
  362. package/packages/components/radio/style.css +1 -1
  363. package/packages/components/radio/style.css.gz +0 -0
  364. package/packages/components/radio-tabs/index.js +86 -52
  365. package/packages/components/radio-tabs/index.js.gz +0 -0
  366. package/packages/components/rich-editor/index.js +1045 -1043
  367. package/packages/components/rich-editor/index.js.gz +0 -0
  368. package/packages/components/rich-editor/src/hooks/use-custom-menu.d.ts +1 -0
  369. package/packages/components/rich-editor/src/hooks/use-rich-editor.d.ts +1 -0
  370. package/packages/components/rich-editor/src/type.d.ts +2 -2
  371. package/packages/components/scrollbar/index.js +423 -422
  372. package/packages/components/scrollbar/index.js.gz +0 -0
  373. package/packages/components/scrollbar/src/hooks/use-observer.d.ts +1 -1
  374. package/packages/components/scrollbar/style.css +1 -1
  375. package/packages/components/scrollbar/style.css.gz +0 -0
  376. package/packages/components/search/index.d.ts +2 -2
  377. package/packages/components/search/index.js +112 -115
  378. package/packages/components/search/index.js.gz +0 -0
  379. package/packages/components/search/src/Index.vue.d.ts +2 -2
  380. package/packages/components/search/src/type.d.ts +8 -8
  381. package/packages/components/search/style.css +1 -1
  382. package/packages/components/search/style.css.gz +0 -0
  383. package/packages/components/search-form/index.d.ts +5 -0
  384. package/packages/components/search-form/index.js +1228 -1071
  385. package/packages/components/search-form/index.js.gz +0 -0
  386. package/packages/components/search-form/src/Index.vue.d.ts +1 -1
  387. package/packages/components/search-form/style.css +1 -1
  388. package/packages/components/search-form/style.css.gz +0 -0
  389. package/packages/components/select/index.d.ts +24 -24
  390. package/packages/components/select/index.js +492 -449
  391. package/packages/components/select/index.js.gz +0 -0
  392. package/packages/components/select/src/Select.vue.d.ts +8 -8
  393. package/packages/components/select/style.css +1 -1
  394. package/packages/components/select/style.css.gz +0 -0
  395. package/packages/components/select-input/index.d.ts +2 -2
  396. package/packages/components/select-input/index.js +78 -82
  397. package/packages/components/select-input/index.js.gz +0 -0
  398. package/packages/components/select-input/src/Index.vue.d.ts +2 -2
  399. package/packages/components/select-input/style.css +1 -1
  400. package/packages/components/select-input/style.css.gz +0 -0
  401. package/packages/components/select-list/index.js +692 -642
  402. package/packages/components/select-list/index.js.gz +0 -0
  403. package/packages/components/select-list/src/hooks/use-drag.d.ts +1 -1
  404. package/packages/components/select-list/src/hooks/use-select-list.d.ts +1 -1
  405. package/packages/components/select-list/src/type.d.ts +1 -1
  406. package/packages/components/select-list/style.css +1 -1
  407. package/packages/components/select-list/style.css.gz +0 -0
  408. package/packages/components/special-range-picker-month/index.d.ts +1 -1
  409. package/packages/components/special-range-picker-month/index.js +326 -249
  410. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  411. package/packages/components/special-range-picker-month/src/Index.vue.d.ts +1 -1
  412. package/packages/components/special-range-picker-month/src/hooks/use-date-popover.d.ts +1 -1
  413. package/packages/components/special-range-picker-month/src/hooks/use-error.d.ts +4 -13
  414. package/packages/components/special-range-picker-month/style.css +1 -1
  415. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  416. package/packages/components/special-range-picker-year/index.d.ts +1 -1
  417. package/packages/components/special-range-picker-year/index.js +440 -325
  418. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  419. package/packages/components/special-range-picker-year/src/Index.vue.d.ts +1 -1
  420. package/packages/components/special-range-picker-year/src/hooks/use-date-popover.d.ts +1 -1
  421. package/packages/components/special-range-picker-year/src/hooks/use-error.d.ts +4 -13
  422. package/packages/components/special-range-picker-year/style.css +1 -1
  423. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  424. package/packages/components/spin/index.js +70 -66
  425. package/packages/components/spin/index.js.gz +0 -0
  426. package/packages/components/split-panel/index.d.ts +8 -8
  427. package/packages/components/split-panel/index.js +248 -197
  428. package/packages/components/split-panel/index.js.gz +0 -0
  429. package/packages/components/split-panel/style.css +1 -1
  430. package/packages/components/split-panel/style.css.gz +0 -0
  431. package/packages/components/step/index.d.ts +3 -0
  432. package/packages/components/step/index.js +22 -31
  433. package/packages/components/step/index.js.gz +0 -0
  434. package/packages/components/step/src/stepItem.vue.d.ts +1 -1
  435. package/packages/components/step/style.css +1 -1
  436. package/packages/components/steps/index.js +20 -23
  437. package/packages/components/steps/style.css +1 -1
  438. package/packages/components/steps/style.css.gz +0 -0
  439. package/packages/components/switch/index.d.ts +1 -1
  440. package/packages/components/switch/index.js +37 -39
  441. package/packages/components/switch/index.js.gz +0 -0
  442. package/packages/components/switch/src/Index.vue.d.ts +1 -1
  443. package/packages/components/switch/src/type.d.ts +1 -1
  444. package/packages/components/switch/style.css +1 -1
  445. package/packages/components/switch/style.css.gz +0 -0
  446. package/packages/components/table/index.d.ts +149 -149
  447. package/packages/components/table/index.js +4102 -3610
  448. package/packages/components/table/index.js.gz +0 -0
  449. package/packages/components/table/src/Table.vue.d.ts +14 -14
  450. package/packages/components/table/src/filter-pane/filterPane.vue.d.ts +2 -2
  451. package/packages/components/table/src/hooks/use-high-performance.d.ts +1 -1
  452. package/packages/components/table/src/hooks/use-operation.d.ts +1 -49
  453. package/packages/components/table/src/table-column/index.vue.d.ts +1 -1
  454. package/packages/components/table/style.css +1 -1
  455. package/packages/components/table/style.css.gz +0 -0
  456. package/packages/components/tabs/index.d.ts +5 -8
  457. package/packages/components/tabs/index.js +276 -236
  458. package/packages/components/tabs/index.js.gz +0 -0
  459. package/packages/components/tabs/src/Tabs.vue.d.ts +2 -5
  460. package/packages/components/tabs/src/type.d.ts +0 -2
  461. package/packages/components/tabs/style.css +1 -1
  462. package/packages/components/tabs/style.css.gz +0 -0
  463. package/packages/components/tag/index.d.ts +6 -6
  464. package/packages/components/tag/index.js +76 -100
  465. package/packages/components/tag/index.js.gz +0 -0
  466. package/packages/components/tag/src/Index.vue.d.ts +2 -2
  467. package/packages/components/tag/style.css +1 -1
  468. package/packages/components/tag/style.css.gz +0 -0
  469. package/packages/components/text-tooltip/index.js +839 -856
  470. package/packages/components/text-tooltip/index.js.gz +0 -0
  471. package/packages/components/time-line/index.d.ts +4 -0
  472. package/packages/components/time-line/index.js +70 -59
  473. package/packages/components/time-line/index.js.gz +0 -0
  474. package/packages/components/time-line/style.css +1 -1
  475. package/packages/components/time-line/style.css.gz +0 -0
  476. package/packages/components/tooltip/index.d.ts +22 -23
  477. package/packages/components/tooltip/index.js +122 -78
  478. package/packages/components/tooltip/index.js.gz +0 -0
  479. package/packages/components/tooltip/src/index.vue.d.ts +2 -2
  480. package/packages/components/tooltip/style.css +1 -1
  481. package/packages/components/tooltip/style.css.gz +0 -0
  482. package/packages/components/tree/index.d.ts +9 -0
  483. package/packages/components/tree/index.js +1778 -1625
  484. package/packages/components/tree/index.js.gz +0 -0
  485. package/packages/components/tree/src/App.vue.d.ts +1 -1
  486. package/packages/components/tree/src/hooks/use-tree.d.ts +1 -2
  487. package/packages/components/tree/style.css +1 -1
  488. package/packages/components/tree/style.css.gz +0 -0
  489. package/packages/components/tree-select/index.d.ts +8 -0
  490. package/packages/components/tree-select/index.js +388 -367
  491. package/packages/components/tree-select/index.js.gz +0 -0
  492. package/packages/components/tree-select/src/App.vue.d.ts +54 -6470
  493. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +47 -6463
  494. package/packages/components/tree-select/style.css +1 -1
  495. package/packages/components/tree-select/style.css.gz +0 -0
  496. package/packages/components/tree-table/index.d.ts +11 -11
  497. package/packages/components/tree-table/index.js +425 -328
  498. package/packages/components/tree-table/index.js.gz +0 -0
  499. package/packages/components/tree-table/src/App.vue.d.ts +1 -1
  500. package/packages/components/tree-table/style.css +1 -1
  501. package/packages/components/tree-table/style.css.gz +0 -0
  502. package/packages/components/tree-v2/index.d.ts +2 -672
  503. package/packages/components/tree-v2/index.js +5941 -2985
  504. package/packages/components/tree-v2/index.js.gz +0 -0
  505. package/packages/components/tree-v2/src/App.vue.d.ts +4026 -68
  506. package/packages/components/tree-v2/src/hooks/use-tree.d.ts +2 -3
  507. package/packages/components/tree-v2/src/type.d.ts +4 -2
  508. package/packages/components/tree-v2/style.css +9 -1
  509. package/packages/components/tree-v2/style.css.gz +0 -0
  510. package/packages/components/upload/index.js +213 -150
  511. package/packages/components/upload/index.js.gz +0 -0
  512. package/packages/components/upload/src/hook/use-upload.d.ts +1 -1
  513. package/packages/components/upload/style.css +1 -1
  514. package/packages/components/upload/style.css.gz +0 -0
  515. package/packages/components/virtual-tree/index.d.ts +8 -0
  516. package/packages/components/virtual-tree/index.js +247 -118
  517. package/packages/components/virtual-tree/index.js.gz +0 -0
  518. package/packages/components/virtual-tree/src/App.vue.d.ts +3977 -0
  519. package/packages/components/virtual-tree/src/type.d.ts +43 -0
  520. package/packages/components/virtual-tree/style.css +1 -1
  521. package/packages/components/virtual-tree/style.css.gz +0 -0
  522. package/packages/components/watermark/index.js +13 -6
  523. package/packages/global/theme/index.js +2 -42
  524. package/packages/icons/1-grids/index.js +1 -0
  525. package/packages/icons/1-grids/index.js.gz +0 -0
  526. package/packages/icons/4-grids/index.js +1 -0
  527. package/packages/icons/4-grids/index.js.gz +0 -0
  528. package/packages/icons/9-grids/index.js +1 -0
  529. package/packages/icons/9-grids/index.js.gz +0 -0
  530. package/packages/icons/add/index.js +1 -0
  531. package/packages/icons/add/index.js.gz +0 -0
  532. package/packages/icons/add-2/index.js +1 -0
  533. package/packages/icons/add-item/index.js +1 -0
  534. package/packages/icons/add-item/index.js.gz +0 -0
  535. package/packages/icons/addto/index.js +1 -0
  536. package/packages/icons/addto/index.js.gz +0 -0
  537. package/packages/icons/alarm/index.js +1 -0
  538. package/packages/icons/alarm/index.js.gz +0 -0
  539. package/packages/icons/arrow-first/index.js +1 -0
  540. package/packages/icons/arrow-first/index.js.gz +0 -0
  541. package/packages/icons/arrow-last/index.js +1 -0
  542. package/packages/icons/arrow-last/index.js.gz +0 -0
  543. package/packages/icons/audioing/index.js +1 -0
  544. package/packages/icons/audioing/index.js.gz +0 -0
  545. package/packages/icons/back/index.js +1 -0
  546. package/packages/icons/back/index.js.gz +0 -0
  547. package/packages/icons/bianjigongzuotai/index.js +1 -0
  548. package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
  549. package/packages/icons/biaochi/index.js +1 -0
  550. package/packages/icons/biaochi/index.js.gz +0 -0
  551. package/packages/icons/bim/index.js +1 -0
  552. package/packages/icons/bim/index.js.gz +0 -0
  553. package/packages/icons/bobaoguanbi/index.js +1 -0
  554. package/packages/icons/bobaoguanbi/index.js.gz +0 -0
  555. package/packages/icons/bobaokaiqi/index.js +1 -0
  556. package/packages/icons/bobaokaiqi/index.js.gz +0 -0
  557. package/packages/icons/bold/index.js +1 -0
  558. package/packages/icons/bold/index.js.gz +0 -0
  559. package/packages/icons/camera/index.js +1 -0
  560. package/packages/icons/camera/index.js.gz +0 -0
  561. package/packages/icons/camera-2/index.js +1 -0
  562. package/packages/icons/camera-2/index.js.gz +0 -0
  563. package/packages/icons/camera-3/index.js +1 -0
  564. package/packages/icons/camera-3/index.js.gz +0 -0
  565. package/packages/icons/cancel-full-screen/index.js +1 -0
  566. package/packages/icons/cancel-full-screen/index.js.gz +0 -0
  567. package/packages/icons/cankaoneirong/index.js +1 -0
  568. package/packages/icons/cankaoneirong/index.js.gz +0 -0
  569. package/packages/icons/card/index.js +1 -0
  570. package/packages/icons/card/index.js.gz +0 -0
  571. package/packages/icons/card-view/index.js +1 -0
  572. package/packages/icons/card-view/index.js.gz +0 -0
  573. package/packages/icons/caret-bottom/index.js +1 -0
  574. package/packages/icons/caret-bottom/index.js.gz +0 -0
  575. package/packages/icons/caret-right/index.js +1 -0
  576. package/packages/icons/caret-right/index.js.gz +0 -0
  577. package/packages/icons/chakancelve/index.js +1 -0
  578. package/packages/icons/chakancelve/index.js.gz +0 -0
  579. package/packages/icons/change/index.js +1 -0
  580. package/packages/icons/change/index.js.gz +0 -0
  581. package/packages/icons/change-2/index.js +1 -0
  582. package/packages/icons/change-2/index.js.gz +0 -0
  583. package/packages/icons/change-3/index.js +1 -0
  584. package/packages/icons/change-3/index.js.gz +0 -0
  585. package/packages/icons/changetenant/index.js +1 -0
  586. package/packages/icons/changetenant/index.js.gz +0 -0
  587. package/packages/icons/chart/index.js +1 -0
  588. package/packages/icons/chart/index.js.gz +0 -0
  589. package/packages/icons/chaxunxiangqing/index.js +1 -0
  590. package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
  591. package/packages/icons/check/index.js +1 -0
  592. package/packages/icons/check/index.js.gz +0 -0
  593. package/packages/icons/chuanglianjiang/index.js +1 -0
  594. package/packages/icons/chuanglianjiang/index.js.gz +0 -0
  595. package/packages/icons/chuangliansheng/index.js +1 -0
  596. package/packages/icons/chuangliansheng/index.js.gz +0 -0
  597. package/packages/icons/chuanglianting/index.js +1 -0
  598. package/packages/icons/chuanglianting/index.js.gz +0 -0
  599. package/packages/icons/chuizhiduiqi/index.js +1 -0
  600. package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
  601. package/packages/icons/chuizhijunfen/index.js +1 -0
  602. package/packages/icons/chuizhijunfen/index.js.gz +0 -0
  603. package/packages/icons/close/index.js +1 -0
  604. package/packages/icons/close/index.js.gz +0 -0
  605. package/packages/icons/close-2/index.js +1 -0
  606. package/packages/icons/close-2/index.js.gz +0 -0
  607. package/packages/icons/closeaudio/index.js +1 -0
  608. package/packages/icons/closeaudio/index.js.gz +0 -0
  609. package/packages/icons/color/index.js +1 -0
  610. package/packages/icons/color/index.js.gz +0 -0
  611. package/packages/icons/copy/index.js +1 -0
  612. package/packages/icons/copy/index.js.gz +0 -0
  613. package/packages/icons/custom/index.js +1 -0
  614. package/packages/icons/custom/index.js.gz +0 -0
  615. package/packages/icons/daochu/index.js +1 -0
  616. package/packages/icons/daochu/index.js.gz +0 -0
  617. package/packages/icons/date/index.js +1 -0
  618. package/packages/icons/date/index.js.gz +0 -0
  619. package/packages/icons/decline/index.js +1 -0
  620. package/packages/icons/decline/index.js.gz +0 -0
  621. package/packages/icons/default-btn/index.js +1 -0
  622. package/packages/icons/default-btn/index.js.gz +0 -0
  623. package/packages/icons/default-point/index.js +1 -0
  624. package/packages/icons/default-point/index.js.gz +0 -0
  625. package/packages/icons/delete/index.js +1 -0
  626. package/packages/icons/delete/index.js.gz +0 -0
  627. package/packages/icons/delete-2/index.js +1 -0
  628. package/packages/icons/delete-2/index.js.gz +0 -0
  629. package/packages/icons/dengbijiesuo/index.js +1 -0
  630. package/packages/icons/dengbisuoding/index.js +1 -0
  631. package/packages/icons/dengdai/index.js +1 -0
  632. package/packages/icons/dengdai/index.js.gz +0 -0
  633. package/packages/icons/dianzan/index.js +1 -0
  634. package/packages/icons/dianzan/index.js.gz +0 -0
  635. package/packages/icons/dianzan-2/index.js +1 -0
  636. package/packages/icons/dianzan-2/index.js.gz +0 -0
  637. package/packages/icons/direction-control/index.js +1 -0
  638. package/packages/icons/direction-control/index.js.gz +0 -0
  639. package/packages/icons/ditu/index.js +1 -0
  640. package/packages/icons/ditu/index.js.gz +0 -0
  641. package/packages/icons/dizhixuanze/index.js +1 -0
  642. package/packages/icons/dizhixuanze/index.js.gz +0 -0
  643. package/packages/icons/double-arrow-left/index.js +1 -0
  644. package/packages/icons/double-arrow-left/index.js.gz +0 -0
  645. package/packages/icons/double-arrow-right/index.js +1 -0
  646. package/packages/icons/double-arrow-right/index.js.gz +0 -0
  647. package/packages/icons/down/index.js +1 -0
  648. package/packages/icons/down/index.js.gz +0 -0
  649. package/packages/icons/down-2/index.js +1 -0
  650. package/packages/icons/down-3/index.js +1 -0
  651. package/packages/icons/download/index.js +1 -0
  652. package/packages/icons/download/index.js.gz +0 -0
  653. package/packages/icons/drag/index.js +1 -0
  654. package/packages/icons/drag/index.js.gz +0 -0
  655. package/packages/icons/drawing/index.js +1 -0
  656. package/packages/icons/drawing/index.js.gz +0 -0
  657. package/packages/icons/edit/index.js +1 -0
  658. package/packages/icons/edit/index.js.gz +0 -0
  659. package/packages/icons/edit-1/index.js +1 -0
  660. package/packages/icons/edit-1/index.js.gz +0 -0
  661. package/packages/icons/edit-3/index.js +1 -0
  662. package/packages/icons/edit-3/index.js.gz +0 -0
  663. package/packages/icons/empty/index.js +1 -0
  664. package/packages/icons/empty/index.js.gz +0 -0
  665. package/packages/icons/enlarge/index.js +1 -0
  666. package/packages/icons/enlarge/index.js.gz +0 -0
  667. package/packages/icons/entry/index.js +1 -0
  668. package/packages/icons/entry/index.js.gz +0 -0
  669. package/packages/icons/exit/index.js +1 -0
  670. package/packages/icons/exit/index.js.gz +0 -0
  671. package/packages/icons/fabu/index.js +1 -0
  672. package/packages/icons/fabu/index.js.gz +0 -0
  673. package/packages/icons/fanhui/index.js +1 -0
  674. package/packages/icons/fanhui/index.js.gz +0 -0
  675. package/packages/icons/fasong/index.js +1 -0
  676. package/packages/icons/fasong/index.js.gz +0 -0
  677. package/packages/icons/filter-3/index.js +1 -0
  678. package/packages/icons/filter-3/index.js.gz +0 -0
  679. package/packages/icons/finish/index.js +1 -0
  680. package/packages/icons/finish/index.js.gz +0 -0
  681. package/packages/icons/fold/index.js +1 -0
  682. package/packages/icons/fold/index.js.gz +0 -0
  683. package/packages/icons/folder-quest/index.js +1 -0
  684. package/packages/icons/folder-quest/index.js.gz +0 -0
  685. package/packages/icons/form-tips/index.js +1 -0
  686. package/packages/icons/form-tips/index.js.gz +0 -0
  687. package/packages/icons/fresh/index.js +1 -0
  688. package/packages/icons/fresh/index.js.gz +0 -0
  689. package/packages/icons/full/index.js +1 -0
  690. package/packages/icons/full/index.js.gz +0 -0
  691. package/packages/icons/full-screen/index.js +1 -0
  692. package/packages/icons/full-screen/index.js.gz +0 -0
  693. package/packages/icons/fullscreen-2/index.js +1 -0
  694. package/packages/icons/fullscreen-2/index.js.gz +0 -0
  695. package/packages/icons/fuzhi/index.js +1 -0
  696. package/packages/icons/fuzhi/index.js.gz +0 -0
  697. package/packages/icons/fuzhineirong/index.js +1 -0
  698. package/packages/icons/fuzhineirong/index.js.gz +0 -0
  699. package/packages/icons/gaojin/index.js +1 -0
  700. package/packages/icons/gaojin/index.js.gz +0 -0
  701. package/packages/icons/gengduocaozuo/index.js +1 -0
  702. package/packages/icons/global/index.js +1 -0
  703. package/packages/icons/global/index.js.gz +0 -0
  704. package/packages/icons/gongzuotaiguanli/index.js +1 -0
  705. package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
  706. package/packages/icons/header-seach/index.js +1 -0
  707. package/packages/icons/header-seach/index.js.gz +0 -0
  708. package/packages/icons/header-setting/index.js +1 -0
  709. package/packages/icons/header-setting/index.js.gz +0 -0
  710. package/packages/icons/headersettings/index.js +1 -0
  711. package/packages/icons/headersettings/index.js.gz +0 -0
  712. package/packages/icons/hide/index.js +1 -0
  713. package/packages/icons/hide/index.js.gz +0 -0
  714. package/packages/icons/huabufuwei/index.js +1 -0
  715. package/packages/icons/huabufuwei/index.js.gz +0 -0
  716. package/packages/icons/huaxian/index.js +1 -0
  717. package/packages/icons/huaxian/index.js.gz +0 -0
  718. package/packages/icons/huida/index.js +1 -0
  719. package/packages/icons/huida/index.js.gz +0 -0
  720. package/packages/icons/huidaodibu/index.js +1 -0
  721. package/packages/icons/huidaodibu/index.js.gz +0 -0
  722. package/packages/icons/huifuchuchangshezhi/index.js +1 -0
  723. package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
  724. package/packages/icons/hyperlinks/index.js +1 -0
  725. package/packages/icons/hyperlinks/index.js.gz +0 -0
  726. package/packages/icons/img/index.js +1 -0
  727. package/packages/icons/img/index.js.gz +0 -0
  728. package/packages/icons/index.d.ts +1 -0
  729. package/packages/icons/index.js +1 -0
  730. package/packages/icons/input-close/index.js +1 -0
  731. package/packages/icons/input-close/index.js.gz +0 -0
  732. package/packages/icons/input-select/index.js +1 -0
  733. package/packages/icons/input-select/index.js.gz +0 -0
  734. package/packages/icons/intnet/index.js +1 -0
  735. package/packages/icons/intnet/index.js.gz +0 -0
  736. package/packages/icons/italic/index.js +1 -0
  737. package/packages/icons/italic/index.js.gz +0 -0
  738. package/packages/icons/jia-1/index.js +1 -0
  739. package/packages/icons/jia-1/index.js.gz +0 -0
  740. package/packages/icons/jian-1/index.js +1 -0
  741. package/packages/icons/jianshao-1/index.js +1 -0
  742. package/packages/icons/jinggao/index.js +1 -0
  743. package/packages/icons/jinggao/index.js.gz +0 -0
  744. package/packages/icons/jushangduiqi/index.js +1 -0
  745. package/packages/icons/jushangduiqi/index.js.gz +0 -0
  746. package/packages/icons/juxiaduiqi/index.js +1 -0
  747. package/packages/icons/juxiaduiqi/index.js.gz +0 -0
  748. package/packages/icons/juxinghuizhi/index.js +1 -0
  749. package/packages/icons/juxinghuizhi/index.js.gz +0 -0
  750. package/packages/icons/juyouduiqi/index.js +1 -0
  751. package/packages/icons/juyouduiqi/index.js.gz +0 -0
  752. package/packages/icons/juzuoduiqi/index.js +1 -0
  753. package/packages/icons/juzuoduiqi/index.js.gz +0 -0
  754. package/packages/icons/kaiguan/index.js +1 -0
  755. package/packages/icons/kaiguan/index.js.gz +0 -0
  756. package/packages/icons/kaimen/index.js +1 -0
  757. package/packages/icons/kaimen/index.js.gz +0 -0
  758. package/packages/icons/know/index.js +1 -0
  759. package/packages/icons/know/index.js.gz +0 -0
  760. package/packages/icons/knowed/index.js +1 -0
  761. package/packages/icons/knowed/index.js.gz +0 -0
  762. package/packages/icons/knowopen/index.js +1 -0
  763. package/packages/icons/knowopen/index.js.gz +0 -0
  764. package/packages/icons/layout-refresh/index.js +1 -0
  765. package/packages/icons/layout-refresh/index.js.gz +0 -0
  766. package/packages/icons/left/index.js +1 -0
  767. package/packages/icons/lianjie/index.js +1 -0
  768. package/packages/icons/lianjie/index.js.gz +0 -0
  769. package/packages/icons/link/index.js +1 -0
  770. package/packages/icons/link/index.js.gz +0 -0
  771. package/packages/icons/lishihuihua/index.js +1 -0
  772. package/packages/icons/lishihuihua/index.js.gz +0 -0
  773. package/packages/icons/list/index.js +1 -0
  774. package/packages/icons/list/index.js.gz +0 -0
  775. package/packages/icons/list-view/index.js +1 -0
  776. package/packages/icons/list-view/index.js.gz +0 -0
  777. package/packages/icons/load/index.js +1 -0
  778. package/packages/icons/load/index.js.gz +0 -0
  779. package/packages/icons/lock/index.js +1 -0
  780. package/packages/icons/lock/index.js.gz +0 -0
  781. package/packages/icons/marsh/index.js +1 -0
  782. package/packages/icons/me/index.js +1 -0
  783. package/packages/icons/me/index.js.gz +0 -0
  784. package/packages/icons/more/index.js +1 -0
  785. package/packages/icons/more/index.js.gz +0 -0
  786. package/packages/icons/more-2/index.js +1 -0
  787. package/packages/icons/more-btn/index.js +1 -0
  788. package/packages/icons/more-btn/index.js.gz +0 -0
  789. package/packages/icons/muted/index.js +1 -0
  790. package/packages/icons/muted/index.js.gz +0 -0
  791. package/packages/icons/notification-face/index.js +1 -0
  792. package/packages/icons/notification-face/index.js.gz +0 -0
  793. package/packages/icons/paiban/index.js +1 -0
  794. package/packages/icons/paiban/index.js.gz +0 -0
  795. package/packages/icons/password-lock/index.js +1 -0
  796. package/packages/icons/password-lock/index.js.gz +0 -0
  797. package/packages/icons/password-lock2/index.js +1 -0
  798. package/packages/icons/password-lock2/index.js.gz +0 -0
  799. package/packages/icons/pause/index.js +1 -0
  800. package/packages/icons/pause/index.js.gz +0 -0
  801. package/packages/icons/phone/index.js +1 -0
  802. package/packages/icons/phone/index.js.gz +0 -0
  803. package/packages/icons/pinglun/index.js +1 -0
  804. package/packages/icons/pinglun/index.js.gz +0 -0
  805. package/packages/icons/plan/index.js +1 -0
  806. package/packages/icons/plan/index.js.gz +0 -0
  807. package/packages/icons/play/index.js +1 -0
  808. package/packages/icons/play/index.js.gz +0 -0
  809. package/packages/icons/preview/index.js +1 -0
  810. package/packages/icons/preview/index.js.gz +0 -0
  811. package/packages/icons/preview-eye/index.js +1 -0
  812. package/packages/icons/preview-eye/index.js.gz +0 -0
  813. package/packages/icons/project-list/index.js +1 -0
  814. package/packages/icons/project-list/index.js.gz +0 -0
  815. package/packages/icons/project-tree/index.js +1 -0
  816. package/packages/icons/project-tree/index.js.gz +0 -0
  817. package/packages/icons/promptinformation-l/index.js +1 -0
  818. package/packages/icons/promptinformation-l/index.js.gz +0 -0
  819. package/packages/icons/qiehuangongzuotai/index.js +1 -0
  820. package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
  821. package/packages/icons/qingkong/index.js +1 -0
  822. package/packages/icons/qingkong/index.js.gz +0 -0
  823. package/packages/icons/quanping/index.js +1 -0
  824. package/packages/icons/quanping/index.js.gz +0 -0
  825. package/packages/icons/rate-all/index.js +1 -0
  826. package/packages/icons/rate-all/index.js.gz +0 -0
  827. package/packages/icons/rate-half/index.js +1 -0
  828. package/packages/icons/rate-half/index.js.gz +0 -0
  829. package/packages/icons/rate-none/index.js +1 -0
  830. package/packages/icons/rate-none/index.js.gz +0 -0
  831. package/packages/icons/recover/index.js +1 -0
  832. package/packages/icons/recover/index.js.gz +0 -0
  833. package/packages/icons/refresh/index.js +1 -0
  834. package/packages/icons/refresh/index.js.gz +0 -0
  835. package/packages/icons/reload/index.js +1 -0
  836. package/packages/icons/reload/index.js.gz +0 -0
  837. package/packages/icons/reset/index.js +1 -0
  838. package/packages/icons/reset/index.js.gz +0 -0
  839. package/packages/icons/right/index.js +1 -0
  840. package/packages/icons/right-3/index.js +1 -0
  841. package/packages/icons/right-3/index.js.gz +0 -0
  842. package/packages/icons/riqixuanze/index.js +1 -0
  843. package/packages/icons/riqixuanze/index.js.gz +0 -0
  844. package/packages/icons/rise/index.js +1 -0
  845. package/packages/icons/rise/index.js.gz +0 -0
  846. package/packages/icons/save/index.js +1 -0
  847. package/packages/icons/save/index.js.gz +0 -0
  848. package/packages/icons/screenshot/index.js +1 -0
  849. package/packages/icons/screenshot/index.js.gz +0 -0
  850. package/packages/icons/search/index.js +1 -0
  851. package/packages/icons/search/index.js.gz +0 -0
  852. package/packages/icons/select/index.js +1 -0
  853. package/packages/icons/select-confirm/index.js +1 -0
  854. package/packages/icons/select-confirm/index.js.gz +0 -0
  855. package/packages/icons/select2/index.js +1 -0
  856. package/packages/icons/set-up/index.js +1 -0
  857. package/packages/icons/set-up/index.js.gz +0 -0
  858. package/packages/icons/setting/index.js +1 -0
  859. package/packages/icons/setting/index.js.gz +0 -0
  860. package/packages/icons/shangchuan/index.js +1 -0
  861. package/packages/icons/shangchuan/index.js.gz +0 -0
  862. package/packages/icons/shebei/index.js +1 -0
  863. package/packages/icons/shebei/index.js.gz +0 -0
  864. package/packages/icons/shebeiqunzu/index.js +1 -0
  865. package/packages/icons/shebeiqunzu/index.js.gz +0 -0
  866. package/packages/icons/shendusikao/index.js +1 -0
  867. package/packages/icons/shendusikao/index.js.gz +0 -0
  868. package/packages/icons/sheweimoren/index.js +1 -0
  869. package/packages/icons/sheweimoren/index.js.gz +0 -0
  870. package/packages/icons/shisuan/index.js +1 -0
  871. package/packages/icons/shisuan/index.js.gz +0 -0
  872. package/packages/icons/shitu-kapian/index.js +1 -0
  873. package/packages/icons/shitu-kapian/index.js.gz +0 -0
  874. package/packages/icons/shitu-liebiao/index.js +1 -0
  875. package/packages/icons/shitu-map/index.js +1 -0
  876. package/packages/icons/shitu-map/index.js.gz +0 -0
  877. package/packages/icons/shortcut-keys/index.js +1 -0
  878. package/packages/icons/shortcut-keys/index.js.gz +0 -0
  879. package/packages/icons/shoudongzhihang/index.js +1 -0
  880. package/packages/icons/shoudongzhihang/index.js.gz +0 -0
  881. package/packages/icons/shouqiliangcemianban/index.js +1 -0
  882. package/packages/icons/shouqiyoucemianban/index.js +1 -0
  883. package/packages/icons/shouqiyoucemianban/index.js.gz +0 -0
  884. package/packages/icons/shouqiyoucemianban-1/index.js +1 -0
  885. package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
  886. package/packages/icons/shouqizuocemianban/index.js +1 -0
  887. package/packages/icons/shouqizuocemianban/index.js.gz +0 -0
  888. package/packages/icons/shouqizuocemianban-1/index.js +1 -0
  889. package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
  890. package/packages/icons/shouquan/index.js +1 -0
  891. package/packages/icons/shouquan/index.js.gz +0 -0
  892. package/packages/icons/show/index.js +1 -0
  893. package/packages/icons/show/index.js.gz +0 -0
  894. package/packages/icons/shrink/index.js +1 -0
  895. package/packages/icons/shrink/index.js.gz +0 -0
  896. package/packages/icons/shuaxin/index.js +1 -0
  897. package/packages/icons/shuaxin/index.js.gz +0 -0
  898. package/packages/icons/shuipingduiqi/index.js +1 -0
  899. package/packages/icons/shuipingduiqi/index.js.gz +0 -0
  900. package/packages/icons/shuipingjunfen/index.js +1 -0
  901. package/packages/icons/shuipingjunfen/index.js.gz +0 -0
  902. package/packages/icons/shuyoufanye/index.js +1 -0
  903. package/packages/icons/shuyoufanye/index.js.gz +0 -0
  904. package/packages/icons/shuzuofanye/index.js +1 -0
  905. package/packages/icons/shuzuofanye/index.js.gz +0 -0
  906. package/packages/icons/solid-filter/index.js +1 -0
  907. package/packages/icons/solid-filter/index.js.gz +0 -0
  908. package/packages/icons/start/index.js +1 -0
  909. package/packages/icons/start/index.js.gz +0 -0
  910. package/packages/icons/stop/index.js +1 -0
  911. package/packages/icons/stop/index.js.gz +0 -0
  912. package/packages/icons/structural-diagram/index.js +1 -0
  913. package/packages/icons/structural-diagram/index.js.gz +0 -0
  914. package/packages/icons/success/index.js +1 -0
  915. package/packages/icons/system/index.js +1 -0
  916. package/packages/icons/system/index.js.gz +0 -0
  917. package/packages/icons/table-header-search/index.js +1 -0
  918. package/packages/icons/table-header-search/index.js.gz +0 -0
  919. package/packages/icons/text/index.js +1 -0
  920. package/packages/icons/text/index.js.gz +0 -0
  921. package/packages/icons/theme-set-icon/index.d.ts +1 -0
  922. package/packages/icons/theme-set-icon/index.js +17 -0
  923. package/packages/icons/theme-set-icon/index.js.gz +0 -0
  924. package/packages/icons/theme-set-icon/index.vue.d.ts +12 -0
  925. package/packages/icons/tianjiaxinhuati/index.js +1 -0
  926. package/packages/icons/tianjiaxinhuati/index.js.gz +0 -0
  927. package/packages/icons/tick/index.js +1 -0
  928. package/packages/icons/tick/index.js.gz +0 -0
  929. package/packages/icons/tishixinxi/index.js +1 -0
  930. package/packages/icons/tishixinxi/index.js.gz +0 -0
  931. package/packages/icons/tongguo/index.js +1 -0
  932. package/packages/icons/tongguo/index.js.gz +0 -0
  933. package/packages/icons/tongzhi/index.js +1 -0
  934. package/packages/icons/tongzhi/index.js.gz +0 -0
  935. package/packages/icons/tubiaoku/index.js +1 -0
  936. package/packages/icons/tubiaoku/index.js.gz +0 -0
  937. package/packages/icons/tuichuquanping/index.js +1 -0
  938. package/packages/icons/tuichuquanping/index.js.gz +0 -0
  939. package/packages/icons/tuozhuai/index.js +1 -0
  940. package/packages/icons/tuozhuai/index.js.gz +0 -0
  941. package/packages/icons/underline/index.js +1 -0
  942. package/packages/icons/underline/index.js.gz +0 -0
  943. package/packages/icons/unflod/index.js +1 -0
  944. package/packages/icons/unflod/index.js.gz +0 -0
  945. package/packages/icons/unlock/index.js +1 -0
  946. package/packages/icons/unlock/index.js.gz +0 -0
  947. package/packages/icons/up/index.js +1 -0
  948. package/packages/icons/up/index.js.gz +0 -0
  949. package/packages/icons/up-2/index.js +1 -0
  950. package/packages/icons/up-2/index.js.gz +0 -0
  951. package/packages/icons/vauth/index.js +1 -0
  952. package/packages/icons/vauth/index.js.gz +0 -0
  953. package/packages/icons/view/index.js +1 -0
  954. package/packages/icons/view/index.js.gz +0 -0
  955. package/packages/icons/view-2/index.js +1 -0
  956. package/packages/icons/view-2/index.js.gz +0 -0
  957. package/packages/icons/volume/index.js +1 -0
  958. package/packages/icons/volume/index.js.gz +0 -0
  959. package/packages/icons/wangge/index.js +1 -0
  960. package/packages/icons/wangge/index.js.gz +0 -0
  961. package/packages/icons/wangge-1/index.js +1 -0
  962. package/packages/icons/wangge-1/index.js.gz +0 -0
  963. package/packages/icons/warning/index.js +1 -0
  964. package/packages/icons/warning/index.js.gz +0 -0
  965. package/packages/icons/warning-face/index.js +1 -0
  966. package/packages/icons/warning-face/index.js.gz +0 -0
  967. package/packages/icons/wendujiang/index.js +1 -0
  968. package/packages/icons/wendujiang/index.js.gz +0 -0
  969. package/packages/icons/wendusheng/index.js +1 -0
  970. package/packages/icons/wendusheng/index.js.gz +0 -0
  971. package/packages/icons/withdraw/index.js +1 -0
  972. package/packages/icons/withdraw/index.js.gz +0 -0
  973. package/packages/icons/xiala/index.js +1 -0
  974. package/packages/icons/xiazai/index.js +1 -0
  975. package/packages/icons/xiazai/index.js.gz +0 -0
  976. package/packages/icons/xinzengtongji/index.js +1 -0
  977. package/packages/icons/xinzengtongji/index.js.gz +0 -0
  978. package/packages/icons/xuanzhuanjiaodu/index.js +1 -0
  979. package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
  980. package/packages/icons/yidongduan/index.js +1 -0
  981. package/packages/icons/yidongduan/index.js.gz +0 -0
  982. package/packages/icons/yincang/index.js +1 -0
  983. package/packages/icons/yincang/index.js.gz +0 -0
  984. package/packages/icons/yingpian/index.js +1 -0
  985. package/packages/icons/yingpian/index.js.gz +0 -0
  986. package/packages/icons/yingyong/index.js +1 -0
  987. package/packages/icons/yingyong/index.js.gz +0 -0
  988. package/packages/icons/yitushoutu/index.js +1 -0
  989. package/packages/icons/yitushoutu/index.js.gz +0 -0
  990. package/packages/icons/yuanxinghuizhi/index.js +1 -0
  991. package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
  992. package/packages/icons/yulan-2/index.js +1 -0
  993. package/packages/icons/yulan-2/index.js.gz +0 -0
  994. package/packages/icons/yuyin/index.js +1 -0
  995. package/packages/icons/yuyin/index.js.gz +0 -0
  996. package/packages/icons/zhangaiwu/index.js +1 -0
  997. package/packages/icons/zhangaiwu/index.js.gz +0 -0
  998. package/packages/icons/zhizhen/index.js +1 -0
  999. package/packages/icons/zhizhen/index.js.gz +0 -0
  1000. package/packages/icons/zhongxinshengcheng/index.js +1 -0
  1001. package/packages/icons/zhongxinshengcheng/index.js.gz +0 -0
  1002. package/packages/icons/zhuomianduan/index.js +1 -0
  1003. package/packages/icons/zhuomianduan/index.js.gz +0 -0
  1004. package/packages/icons/zidingyihuizhi/index.js +1 -0
  1005. package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
  1006. package/packages/icons/zuobiao/index.js +1 -0
  1007. package/packages/icons/zuobiao/index.js.gz +0 -0
  1008. package/packages/business-components/ai-panel/index-BybM3Q9u.js.gz +0 -0
  1009. package/packages/business-components/ai-panel/index-CgWRv2Ge.js +0 -142
  1010. package/packages/business-components/ai-panel/index-CgWRv2Ge.js.gz +0 -0
  1011. package/packages/business-components/ai-panel/index-CwdJKHy0.js.gz +0 -0
  1012. package/packages/business-components/app-container/src/style-theme.d.ts +0 -13
  1013. package/packages/business-components/app-container/theme/index.d.ts +0 -8
  1014. package/packages/business-components/layout-breadcrumb/theme/base.d.ts +0 -5
  1015. package/packages/business-components/process-log/theme/index.d.ts +0 -11
  1016. package/packages/components/alert/theme/index.d.ts +0 -12
  1017. package/packages/components/breadcrumb/theme/index.d.ts +0 -7
  1018. package/packages/components/button/theme/index.d.ts +0 -21
  1019. package/packages/components/calendar/theme/base.d.ts +0 -11
  1020. package/packages/components/cascader/theme/base.d.ts +0 -19
  1021. package/packages/components/checkbox/theme/index.d.ts +0 -14
  1022. package/packages/components/collapse-panel/theme/index.d.ts +0 -7
  1023. package/packages/components/color-picker/theme/index.d.ts +0 -8
  1024. package/packages/components/custom-search-item/theme/index.d.ts +0 -7
  1025. package/packages/components/date-picker/theme/base.d.ts +0 -16
  1026. package/packages/components/dialog/theme/base.d.ts +0 -17
  1027. package/packages/components/drawer/theme/base.d.ts +0 -11
  1028. package/packages/components/dropdown/theme/index.d.ts +0 -7
  1029. package/packages/components/empty/theme/index.d.ts +0 -9
  1030. package/packages/components/form-item/theme/index.d.ts +0 -12
  1031. package/packages/components/image-upload/theme/index.d.ts +0 -18
  1032. package/packages/components/image-viewer/theme/index.d.ts +0 -12
  1033. package/packages/components/input/theme/base.d.ts +0 -19
  1034. package/packages/components/input-dialog-select/theme/index.d.ts +0 -17
  1035. package/packages/components/input-number/theme/index.d.ts +0 -12
  1036. package/packages/components/loading/theme/index.d.ts +0 -9
  1037. package/packages/components/menu-aside/src/style-theme.d.ts +0 -98
  1038. package/packages/components/menu-aside/theme/base.d.ts +0 -27
  1039. package/packages/components/menu-header/src/style-theme.d.ts +0 -48
  1040. package/packages/components/menu-header/theme/base.d.ts +0 -12
  1041. package/packages/components/message/theme/index.d.ts +0 -24
  1042. package/packages/components/notification/theme/index.d.ts +0 -10
  1043. package/packages/components/pagination/theme/index.d.ts +0 -9
  1044. package/packages/components/progress/theme/index.d.ts +0 -10
  1045. package/packages/components/radio/theme/index.d.ts +0 -15
  1046. package/packages/components/rich-editor/theme/base.d.ts +0 -4
  1047. package/packages/components/search/theme/index.d.ts +0 -11
  1048. package/packages/components/search-form/theme/index.d.ts +0 -13
  1049. package/packages/components/select/theme/base.d.ts +0 -27
  1050. package/packages/components/select-input/theme/index.d.ts +0 -9
  1051. package/packages/components/select-list/theme/index.d.ts +0 -11
  1052. package/packages/components/special-range-picker-month/theme/index.d.ts +0 -48
  1053. package/packages/components/special-range-picker-year/theme/index.d.ts +0 -48
  1054. package/packages/components/spin/theme/index.d.ts +0 -9
  1055. package/packages/components/split-panel/theme/base.d.ts +0 -6
  1056. package/packages/components/step/theme/base.d.ts +0 -9
  1057. package/packages/components/steps/theme/base.d.ts +0 -9
  1058. package/packages/components/switch/theme/base.d.ts +0 -7
  1059. package/packages/components/table/theme/index.d.ts +0 -21
  1060. package/packages/components/tabs/src/style-theme.d.ts +0 -13
  1061. package/packages/components/tabs/theme/base.d.ts +0 -13
  1062. package/packages/components/tag/theme/base.d.ts +0 -29
  1063. package/packages/components/text-tooltip/theme/index.d.ts +0 -10
  1064. package/packages/components/time-line/theme/index.d.ts +0 -7
  1065. package/packages/components/tooltip/theme/index.d.ts +0 -6
  1066. package/packages/components/tree/theme/base.d.ts +0 -16
  1067. package/packages/components/tree-select/theme/base.d.ts +0 -5
  1068. package/packages/components/tree-table/theme/base.d.ts +0 -7
  1069. package/packages/components/tree-v2/theme/base.d.ts +0 -16
  1070. package/packages/components/upload/theme/index.d.ts +0 -16
  1071. package/packages/global/theme/index.js.gz +0 -0
  1072. /package/packages/business-components/area-phone-select/src/{Index.vue.d.ts → index.vue.d.ts} +0 -0
  1073. /package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/{use-data-Trends.d.ts → use-data-trends.d.ts} +0 -0
  1074. /package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/{use-data-Trends.d.ts → use-data-trends.d.ts} +0 -0
@@ -1,127 +1,134 @@
1
1
  import '@das-fed/upf-ui/packages/business-components/process-form/style.css';
2
- import { withInstall as pt } from "@das-fed/upf-utils/with-install/index";
3
- import { ref as i, nextTick as dt, defineComponent as Q, watch as k, openBlock as M, createBlock as P, unref as a, withCtx as L, createVNode as V, createCommentVNode as K, createElementVNode as Be, createElementBlock as x, Fragment as ee, createTextVNode as ne, toDisplayString as se, isRef as he, createSlots as ct, h as re, renderList as ue, resolveDynamicComponent as ge, onMounted as gt, withDirectives as mt, normalizeStyle as vt } from "vue";
4
- import { DasFormRef as ft, DasForm as Fe } from "@das-fed/upf-ui/packages/components/form/index";
5
- import { DasButton as ht } from "@das-fed/upf-ui/packages/components/button/index";
6
- import { vOverlay as yt } from "@das-fed/upf-ui/packages/components/overlay/index";
2
+ import { withInstall as dt } from "@das-fed/upf-utils/with-install/index";
3
+ import { ref as l, nextTick as ct, defineComponent as K, watch as k, openBlock as D, createBlock as $, unref as n, withCtx as O, createVNode as M, createCommentVNode as F, createElementVNode as qe, createElementBlock as Y, Fragment as X, createTextVNode as ne, toDisplayString as se, isRef as he, createSlots as gt, h as ie, renderList as ue, resolveDynamicComponent as ge, onMounted as mt, withDirectives as vt, normalizeStyle as ft } from "vue";
4
+ import { DasFormRef as ht, DasForm as Pe } from "@das-fed/upf-ui/packages/components/form/index";
5
+ import { DasFormItem as Q } from "@das-fed/upf-ui/packages/components/form-item/index";
6
+ import { DasButton as yt } from "@das-fed/upf-ui/packages/components/button/index";
7
+ import { vOverlay as bt } from "@das-fed/upf-ui/packages/components/overlay/index";
7
8
  import { createService as G } from "@das-fed/upf-utils/create-api-service";
8
- import { DasUpload as bt } from "@das-fed/upf-ui/packages/components/upload/index";
9
- import { DasFormItem as U } from "@das-fed/upf-ui/packages/components/form-item/index";
9
+ import "@das-fed/upf-ui/packages/components/message/index";
10
+ import { DasUpload as wt } from "@das-fed/upf-ui/packages/components/upload/index";
10
11
  import { DasAutocomplete as _t } from "@das-fed/upf-ui/packages/components/autocomplete/index";
11
12
  import ve from "dayjs";
12
13
  import { DasImageViewer as je } from "@das-fed/upf-ui/packages/components/image-viewer/index";
13
- import { DasInput as wt } from "@das-fed/upf-ui/packages/components/input/index";
14
- import { DasTooltip as De } from "@das-fed/upf-ui/packages/components/tooltip/index";
15
- import { i18n as E, t as _, setI18nRule as Ct } from "@das-fed/upf-web/packages/i18n/index";
16
- import { DasTableColumn as F } from "@das-fed/upf-ui/packages/components/table/index";
17
- import { DasSearchForm as zt } from "@das-fed/upf-ui/packages/components/search-form/index";
14
+ import { DasInput as Ct } from "@das-fed/upf-ui/packages/components/input/index";
15
+ import { DasTooltip as Ve } from "@das-fed/upf-ui/packages/components/tooltip/index";
16
+ import { i18n as E, t as w, setI18nRule as zt } from "@das-fed/upf-web/packages/i18n/index";
17
+ import { DasTableColumn as P } from "@das-fed/upf-ui/packages/components/table/index";
18
+ import "@das-fed/upf-ui/packages/components/search/index";
19
+ import "@das-fed/upf-ui/packages/components/select/index";
20
+ import { DasSearchForm as Vt } from "@das-fed/upf-ui/packages/components/search-form/index";
18
21
  import { DasModelTableDialog as Dt } from "@das-fed/upf-ui/packages/business-components/model-table-dialog";
19
- import { getProjectInfo as Ee } from "@das-fed/upf-utils/common-info";
22
+ import { getProjectInfo as Be } from "@das-fed/upf-utils/common-info";
20
23
  import { getConfig as Mt } from "@das-fed/upf-utils/config";
21
- import { DasRichEditor as Ke } from "@das-fed/upf-ui/packages/components/rich-editor/index";
22
- import { DasCollaspe as Ae } from "@das-fed/upf-ui/packages/components/collaspe/index";
23
- import { DasCollaspePanel as Qe } from "@das-fed/upf-ui/packages/components/collapse-panel/index";
24
- const te = "v1", Vt = G(`/workflow/form/form/${te}`), kt = G(`/workflow/form/formDef/${te}`);
24
+ import { DasRichEditor as Ee } from "@das-fed/upf-ui/packages/components/rich-editor/index";
25
+ import { DasCollaspe as Ke } from "@das-fed/upf-ui/packages/components/collaspe/index";
26
+ import { DasCollaspePanel as Ae } from "@das-fed/upf-ui/packages/components/collapse-panel/index";
27
+ import { ElCol as kt, ElRow as St } from "element-plus";
28
+ import "element-plus/theme-chalk/el-row.css";
29
+ import "element-plus/theme-chalk/el-col.css";
30
+ import "@das-fed/upf-utils/common-tools";
31
+ const te = "v1", Nt = G(`/workflow/form/form/${te}`), Ot = G(`/workflow/form/formDef/${te}`);
25
32
  G(`/workflow/api/user/${te}`);
26
- const Ue = G(`/workflow/api/extend/${te}`), St = G(`/workflow/flow/def/${te}`), Nt = G(`/workflow/form/customQuery/${te}`), oe = G(`/api/enterpriseright/permission/${te}`), Me = G(`/api/space-manage/space-tree/${te}`), Ot = G(`/workflow/form/dataTemplate/${te}`), Ve = G(`/api/supply/supplier/${te}`), Lt = G(`/api/warehouse/vms/${te}/asset-receive`), Tt = Ot.get("/getBpmDataTemplateInfoByFlowKey"), Rt = Vt.get("/formDesign"), $t = kt.get("/get"), Pt = Ue.get("/report-config");
27
- Ue.get("/application-report");
28
- const Ft = St.get("/getBindRelationByDefKey"), It = Nt.get("/getByAlias"), qt = oe.get("/organization/authTree"), Bt = oe.post("/user/list"), jt = oe.post("/data/user-query"), Et = oe.get("/role/list"), Kt = oe.post("/data/role-ids"), At = oe.get("/organization/organizationpage"), Qt = oe.get("/station/list"), Ut = oe.get("/position/list"), ye = oe.post("/organization/detailbyids"), Yt = Me.get("/controller/area-children"), xt = Me.get("/controller/fuzzy-tree-all"), Jt = Me.get("/controller/space"), Ht = Ve.post("/supplier/list/page", (o) => {
29
- var e, t;
30
- return o.data.pageBean = {
31
- page: ((e = o == null ? void 0 : o.data) == null ? void 0 : e.pageIndex) || 1,
32
- pageSize: ((t = o == null ? void 0 : o.data) == null ? void 0 : t.pageSize) || 20
33
- }, o;
34
- }), Wt = Ve.get("/supplier"), Zt = Ve.post("/classification/list/all"), Gt = Lt.get("/receive-code"), be = i(""), Xt = (o, e, t) => {
35
- const { setDetailData: l, getFormData: p, setFormData: u, formRule: f, showData: w, disabledData: n, encryptionData: s } = t, m = i([]), v = i([]), c = i([]), d = i(!1), C = ft(), g = i([]), h = (D) => Object.keys(D).length === 0, r = async (D) => {
36
- const [N, I] = await Rt({ formId: D }).run();
33
+ const Qe = G(`/workflow/api/extend/${te}`), Lt = G(`/workflow/flow/def/${te}`), Tt = G(`/workflow/form/customQuery/${te}`), oe = G(`/api/enterpriseright/permission/${te}`), De = G(`/api/space-manage/space-tree/${te}`), xt = G(`/workflow/form/dataTemplate/${te}`), Me = G(`/api/supply/supplier/${te}`), Rt = G(`/api/warehouse/vms/${te}/asset-receive`), $t = xt.get("/getBpmDataTemplateInfoByFlowKey"), Pt = Nt.get("/formDesign"), Ft = Ot.get("/get"), It = Qe.get("/report-config");
34
+ Qe.get("/application-report");
35
+ const qt = Lt.get("/getBindRelationByDefKey"), jt = Tt.get("/getByAlias"), Bt = oe.get("/organization/authTree"), Et = oe.post("/user/list"), Kt = oe.post("/data/user-query"), At = oe.get("/role/list"), Qt = oe.post("/data/role-ids"), Ut = oe.get("/organization/organizationpage"), Yt = oe.get("/station/list"), Jt = oe.get("/position/list"), ye = oe.post("/organization/detailbyids"), Ht = De.get("/controller/area-children"), Wt = De.get("/controller/fuzzy-tree-all"), Zt = De.get("/controller/space"), Gt = Me.post("/supplier/list/page", (t) => {
36
+ var e, a;
37
+ return t.data.pageBean = {
38
+ page: ((e = t == null ? void 0 : t.data) == null ? void 0 : e.pageIndex) || 1,
39
+ pageSize: ((a = t == null ? void 0 : t.data) == null ? void 0 : a.pageSize) || 20
40
+ }, t;
41
+ }), Xt = Me.get("/supplier"), ea = Me.post("/classification/list/all"), ta = Rt.get("/receive-code"), be = l(""), aa = (t, e, a) => {
42
+ const { setDetailData: i, getFormData: u, setFormData: r, formRule: m, showData: _, disabledData: s, encryptionData: o } = a, g = l([]), v = l([]), c = l([]), d = l(!1), C = ht(), y = l([]), h = (V) => Object.keys(V).length === 0, p = async (V) => {
43
+ const [N, I] = await Pt({ formId: V }).run();
37
44
  if (N) return;
38
45
  const W = JSON.parse(I.bos);
39
46
  be.value = W[0].alias, v.value.length && v.value.forEach((Z) => {
40
- Z.formKey === I.formKey && u(I.formKey, be.value, Z.id);
47
+ Z.formKey === I.formKey && r(I.formKey, be.value, Z.id);
41
48
  });
42
- const [ae, X] = await $t({ formDefId: I.defId }).run();
43
- await z(), c.value = JSON.parse(X.value.expand).list, c.value.forEach((Z) => {
44
- Z.columns && Z.columns[0].isOpen && g.value.push(Z.key);
45
- }), n.value = { ...n.value, ...o.disabledData }, v.value.length || u(I.formKey, be.value), setTimeout(() => {
46
- w.value = { ...w.value, ...o.showData }, h(o.data) && (d.value = !0), h(o.data) || (l(o.data), o.flowKey && (m.value = o.data.button_list ? JSON.parse(o.data.button_list) : []), d.value = !0);
49
+ const [ae, ee] = await Ft({ formDefId: I.defId }).run();
50
+ await z(), c.value = JSON.parse(ee.value.expand).list, c.value.forEach((Z) => {
51
+ Z.columns && Z.columns[0].isOpen && y.value.push(Z.key);
52
+ }), s.value = { ...s.value, ...t.disabledData }, v.value.length || r(I.formKey, be.value), setTimeout(() => {
53
+ _.value = { ..._.value, ...t.showData }, h(t.data) && (d.value = !0), h(t.data) || (i(t.data), t.flowKey && (g.value = t.data.button_list ? JSON.parse(t.data.button_list) : []), d.value = !0);
47
54
  }, 50);
48
- }, y = async () => {
49
- if (o.formConfigurationId) {
50
- const [D, N] = await Pt({ id: o.formConfigurationId }).run();
51
- if (D) return;
52
- v.value = N.reports, m.value = N.reports[0].buttons.filter((I) => !(o.isView && I.event !== "LINK")), r(N.reports[0].formId);
55
+ }, f = async () => {
56
+ if (t.formConfigurationId) {
57
+ const [V, N] = await It({ id: t.formConfigurationId }).run();
58
+ if (V) return;
59
+ v.value = N.reports, g.value = N.reports[0].buttons.filter((I) => !(t.isView && I.event !== "LINK")), p(N.reports[0].formId);
53
60
  }
54
- if (o.flowKey) {
55
- const [D, N] = await Ft({ flowKey: o.flowKey }).run();
56
- if (D) return;
57
- r(N.pcForm.pcFormId);
61
+ if (t.flowKey) {
62
+ const [V, N] = await qt({ flowKey: t.flowKey }).run();
63
+ if (V) return;
64
+ p(N.pcForm.pcFormId);
58
65
  }
59
66
  }, z = async () => {
60
- var I, W, ae, X;
61
- if (!o.flowKey) return;
62
- const [D, N] = await Tt().run({
63
- flowKey: o.flowKey,
67
+ var I, W, ae, ee;
68
+ if (!t.flowKey) return;
69
+ const [V, N] = await $t().run({
70
+ flowKey: t.flowKey,
64
71
  needDisplayFileds: !1
65
72
  });
66
- s.value = ((X = (ae = (W = (I = N == null ? void 0 : N.value) == null ? void 0 : I.boDef) == null ? void 0 : W.boEnt) == null ? void 0 : ae.attributeList) == null ? void 0 : X.filter((Z) => Z.encryption == "phone")) || [];
67
- }, b = i({}), T = (D, N) => {
73
+ o.value = ((ee = (ae = (W = (I = N == null ? void 0 : N.value) == null ? void 0 : I.boDef) == null ? void 0 : W.boEnt) == null ? void 0 : ae.attributeList) == null ? void 0 : ee.filter((Z) => Z.encryption == "phone")) || [];
74
+ }, b = l({}), L = (V, N) => {
68
75
  const { key: I } = N;
69
- b.value[I] || (b.value[I] = D);
70
- }, R = async () => (c.value.forEach((D) => {
71
- D.columns && g.value.push(D.key);
72
- }), await dt(), new Promise((D, N) => {
76
+ b.value[I] || (b.value[I] = V);
77
+ }, T = async () => (c.value.forEach((V) => {
78
+ V.columns && y.value.push(V.key);
79
+ }), await ct(), new Promise((V, N) => {
73
80
  let I = !0;
74
81
  for (const W in b.value)
75
82
  b.value[W].validate((ae) => {
76
83
  ae == !1 && (I = !1);
77
84
  });
78
85
  setTimeout(() => {
79
- D({
86
+ V({
80
87
  result: I,
81
- data: p()
88
+ data: u()
82
89
  });
83
90
  }, 50);
84
91
  }));
85
92
  return {
86
93
  isShowPage: d,
87
94
  formJsonList: c,
88
- btnList: m,
95
+ btnList: g,
89
96
  formRef: C,
90
- activityKeys: g,
91
- getForm: r,
92
- getBtnSet: y,
93
- handleClick: async (D) => {
94
- let { result: N } = await R();
95
- N && (e("handleClick", D, p()), D.event === "LINK" && v.value.forEach((I) => {
96
- D.eventTarget === I.formKey && (m.value = I.buttons.filter((W) => !(o.isView && W.event !== "LINK")), d.value = !1, f.value = {}, r(I.formId));
97
+ activityKeys: y,
98
+ getForm: p,
99
+ getBtnSet: f,
100
+ handleClick: async (V) => {
101
+ let { result: N } = await T();
102
+ N && (e("handleClick", V, u()), V.event === "LINK" && v.value.forEach((I) => {
103
+ V.eventTarget === I.formKey && (g.value = I.buttons.filter((W) => !(t.isView && W.event !== "LINK")), d.value = !1, m.value = {}, p(I.formId));
97
104
  }));
98
105
  },
99
- validateFormData: R,
100
- getFormRef: T
106
+ validateFormData: T,
107
+ getFormRef: L
101
108
  };
102
- }, J = (o) => {
103
- var e = new RegExp("<.+?>", "g"), t = o.replace(e, "").replace(/&nbsp;/g, "");
104
- return t;
105
- }, le = async (o, e, t = {}) => {
106
- const [l, p] = await It({ alias: o }).run();
107
- if (!l && p.url) {
109
+ }, J = (t) => {
110
+ const e = new RegExp("<.+?>", "g");
111
+ return t.replace(e, "").replace(/&nbsp;/g, "");
112
+ }, le = async (t, e, a = {}) => {
113
+ const [i, u] = await jt({ alias: t }).run();
114
+ if (!i && u.url) {
108
115
  typeof e == "string" && (e = JSON.parse(e));
109
- const u = i({});
110
- e.forEach((s) => {
111
- s.defaultType == 2 && (u.value[s.field] = s.defaultValue);
112
- }), u.value = { ...u.value, ...t };
113
- const f = p.requestType === "POST" ? G(p.url).post("") : G(p.url).get(""), [w, n] = await f({}, { params: u.value }).run();
114
- return w ? void 0 : n;
116
+ const r = l({});
117
+ e.forEach((o) => {
118
+ o.defaultType == 2 && (r.value[o.field] = o.defaultValue);
119
+ }), r.value = { ...r.value, ...a };
120
+ const m = u.requestType === "POST" ? G(u.url).post("") : G(u.url).get(""), [_, s] = await m({}, { params: r.value }).run();
121
+ return _ ? void 0 : s;
115
122
  }
116
- }, H = async (o) => {
117
- const e = i(!1);
118
- return o.forEach((t) => {
119
- t.key === "required" && (e.value = !0);
123
+ }, H = async (t) => {
124
+ const e = l(!1);
125
+ return t.forEach((a) => {
126
+ a.key === "required" && (e.value = !0);
120
127
  }), e.value;
121
- }, ea = {
128
+ }, na = {
122
129
  name: "attachment"
123
- }, ta = /* @__PURE__ */ Q({
124
- ...ea,
130
+ }, sa = /* @__PURE__ */ K({
131
+ ...na,
125
132
  props: {
126
133
  setting: { default: () => ({
127
134
  icon: "",
@@ -135,42 +142,43 @@ const Ft = St.get("/getBindRelationByDefKey"), It = Nt.get("/getByAlias"), qt =
135
142
  marginRight: {},
136
143
  store: {}
137
144
  },
138
- setup(o) {
139
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i([]), s = i(!0);
140
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
141
- () => t.value,
145
+ setup(t) {
146
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l([]), o = l(!0);
147
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
148
+ () => a.value,
142
149
  () => {
143
- s.value = t.value[e.setting.name], s.value || (n.value = [], w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
150
+ o.value = a.value[e.setting.name], o.value || (s.value = [], _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
144
151
  },
145
152
  { deep: !0, immediate: !0 }
146
153
  );
147
- const m = i();
148
- return e.setting.options.tip && (m.value = J(e.setting.options.tip)), n.value || p(e.setting.name, null), k(n, (v) => {
149
- p(e.setting.name, JSON.stringify(v));
150
- }), (v, c) => s.value ? (M(), P(a(U), {
154
+ const g = l();
155
+ return e.setting.options.tip && (g.value = J(e.setting.options.tip)), s.value || u(e.setting.name, null), k(s, (v) => {
156
+ u(e.setting.name, JSON.stringify(v));
157
+ }), (v, c) => o.value ? (D(), $(n(Q), {
151
158
  key: 0,
152
159
  col: e.span,
153
- label: v.setting.desc,
160
+ label: t.setting.desc,
154
161
  type: "custom",
155
- helpMessage: m.value
162
+ helpMessage: g.value
156
163
  }, {
157
- default: L(() => [
158
- V(a(bt), {
164
+ default: O(() => [
165
+ M(n(wt), {
159
166
  style: { width: "100%" },
160
- modelValue: n.value,
161
- "onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d)
167
+ modelValue: s.value,
168
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => s.value = d)
162
169
  }, null, 8, ["modelValue"])
163
170
  ]),
164
171
  _: 1
165
- }, 8, ["col", "label", "helpMessage"])) : K("", !0);
172
+ /* STABLE */
173
+ }, 8, ["col", "label", "helpMessage"])) : F("v-if", !0);
166
174
  }
167
- }), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
175
+ }), Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
168
176
  __proto__: null,
169
- default: ta
170
- }, Symbol.toStringTag, { value: "Module" })), aa = {
177
+ default: sa
178
+ }, Symbol.toStringTag, { value: "Module" })), oa = {
171
179
  name: "autocomplete"
172
- }, na = /* @__PURE__ */ Q({
173
- ...aa,
180
+ }, ia = /* @__PURE__ */ K({
181
+ ...oa,
174
182
  props: {
175
183
  setting: { default: () => ({
176
184
  icon: "",
@@ -184,61 +192,63 @@ const Ft = St.get("/getBindRelationByDefKey"), It = Nt.get("/getByAlias"), qt =
184
192
  marginRight: {},
185
193
  store: {}
186
194
  },
187
- setup(o) {
188
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(""), s = i(!0);
189
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
190
- () => t.value,
195
+ setup(t) {
196
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(""), o = l(!0);
197
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
198
+ () => a.value,
191
199
  () => {
192
- s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
200
+ o.value = a.value[e.setting.name], o.value || (s.value = "", _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
193
201
  },
194
202
  { deep: !0, immediate: !0 }
195
203
  );
196
- const m = l.value[e.setting.name] || !1, v = i(!1);
197
- H(e.setting.options.validateList).then((r) => {
198
- v.value = r;
204
+ const g = i.value[e.setting.name] || !1, v = l(!1);
205
+ H(e.setting.options.validateList).then((p) => {
206
+ v.value = p;
199
207
  });
200
- const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", C = !!e.setting.options.fillInFullPath, g = i([]);
201
- e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((r) => {
202
- g.value = r;
203
- }) : g.value = e.setting.options.options;
204
- const h = i();
205
- return e.setting.options.tip && (h.value = J(e.setting.options.tip)), n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(n, (r) => {
206
- p(e.setting.name, r.toString());
207
- }), (r, y) => s.value ? (M(), P(a(U), {
208
+ const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", C = !!e.setting.options.fillInFullPath, y = l([]);
209
+ e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
210
+ y.value = p;
211
+ }) : y.value = e.setting.options.options;
212
+ const h = l();
213
+ return e.setting.options.tip && (h.value = J(e.setting.options.tip)), s.value = r(e.setting.name) || s.value, s.value || u(e.setting.name, null), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (p) => {
214
+ u(e.setting.name, p.toString());
215
+ }), (p, f) => o.value ? (D(), $(n(Q), {
208
216
  key: 0,
209
217
  col: e.span,
210
218
  prop: e.setting.name,
211
- modelValue: n.value,
212
- "onUpdate:modelValue": y[1] || (y[1] = (z) => n.value = z),
213
- label: r.setting.desc,
219
+ modelValue: s.value,
220
+ "onUpdate:modelValue": f[1] || (f[1] = (z) => s.value = z),
221
+ label: t.setting.desc,
214
222
  type: "custom",
215
223
  helpMessage: h.value,
216
224
  required: v.value,
217
- disabled: a(m)
225
+ disabled: n(g)
218
226
  }, {
219
- default: L(() => [
220
- V(a(_t), {
221
- modelValue: n.value,
222
- "onUpdate:modelValue": y[0] || (y[0] = (z) => n.value = z),
223
- options: g.value,
227
+ default: O(() => [
228
+ M(n(_t), {
229
+ modelValue: s.value,
230
+ "onUpdate:modelValue": f[0] || (f[0] = (z) => s.value = z),
231
+ options: y.value,
224
232
  isView: e.isView,
225
233
  width: "100%",
226
- fieldNames: { label: a(c), children: a(d) },
227
- showFullPath: a(C),
228
- placeholder: r.setting.options.placeholder,
234
+ mode: "tree",
235
+ fieldNames: { label: n(c), children: n(d) },
236
+ showFullPath: n(C),
237
+ placeholder: t.setting.options.placeholder,
229
238
  clearable: ""
230
239
  }, null, 8, ["modelValue", "options", "isView", "fieldNames", "showFullPath", "placeholder"])
231
240
  ]),
232
241
  _: 1
233
- }, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : K("", !0);
242
+ /* STABLE */
243
+ }, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : F("v-if", !0);
234
244
  }
235
- }), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
245
+ }), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
236
246
  __proto__: null,
237
- default: na
238
- }, Symbol.toStringTag, { value: "Module" })), sa = {
247
+ default: ia
248
+ }, Symbol.toStringTag, { value: "Module" })), la = {
239
249
  name: "checkbox"
240
- }, oa = /* @__PURE__ */ Q({
241
- ...sa,
250
+ }, ra = /* @__PURE__ */ K({
251
+ ...la,
242
252
  props: {
243
253
  setting: { default: () => ({
244
254
  icon: "",
@@ -252,53 +262,53 @@ const Ft = St.get("/getBindRelationByDefKey"), It = Nt.get("/getByAlias"), qt =
252
262
  marginRight: {},
253
263
  store: {}
254
264
  },
255
- setup(o) {
256
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i([]), s = i(!0);
257
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
258
- () => t.value,
265
+ setup(t) {
266
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l([]), o = l(!0);
267
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
268
+ () => a.value,
259
269
  () => {
260
- s.value = t.value[e.setting.name], s.value || (n.value = [], w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
270
+ o.value = a.value[e.setting.name], o.value || (s.value = [], _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
261
271
  },
262
272
  { deep: !0, immediate: !0 }
263
273
  );
264
- const m = l.value[e.setting.name] || !1, v = i(!1);
274
+ const g = i.value[e.setting.name] || !1, v = l(!1);
265
275
  H(e.setting.options.validateList).then((h) => {
266
276
  v.value = h;
267
277
  });
268
- const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = i([]);
278
+ const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = l([]);
269
279
  e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((h) => {
270
280
  C.value = h;
271
281
  }) : C.value = e.setting.options.options;
272
- const g = i();
273
- return e.setting.options.tip && (g.value = J(e.setting.options.tip)()), setTimeout(() => {
274
- u(e.setting.name) && (n.value = u(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (n.value = e.setting.options.formulasDiyJs.split(",")), n.value.length || n.value || p(e.setting.name, null);
275
- }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(n, (h) => {
276
- p(e.setting.name, h.toString());
277
- }), (h, r) => s.value ? (M(), P(a(U), {
282
+ const y = l();
283
+ return e.setting.options.tip && (y.value = J(e.setting.options.tip)()), setTimeout(() => {
284
+ r(e.setting.name) && (s.value = r(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (s.value = e.setting.options.formulasDiyJs.split(",")), s.value.length || s.value || u(e.setting.name, null);
285
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (h) => {
286
+ u(e.setting.name, h.toString());
287
+ }), (h, p) => o.value ? (D(), $(n(Q), {
278
288
  key: 0,
279
289
  col: e.span,
280
- modelValue: n.value,
281
- "onUpdate:modelValue": r[0] || (r[0] = (y) => n.value = y),
282
- layout: h.setting.options.inline ? "vertical" : "default",
283
- label: h.setting.desc,
290
+ modelValue: s.value,
291
+ "onUpdate:modelValue": p[0] || (p[0] = (f) => s.value = f),
292
+ layout: t.setting.options.inline ? "vertical" : "default",
293
+ label: t.setting.desc,
284
294
  prop: e.setting.name,
285
295
  type: "checkbox",
286
296
  options: C.value,
287
297
  isView: e.isView,
288
- disabled: a(m),
289
- optionsValueKey: a(c),
290
- optionsLabelKey: a(d),
291
- helpMessage: g.value,
298
+ disabled: n(g),
299
+ optionsValueKey: n(c),
300
+ optionsLabelKey: n(d),
301
+ helpMessage: y.value,
292
302
  required: v.value
293
- }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : K("", !0);
303
+ }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : F("v-if", !0);
294
304
  }
295
305
  }), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
296
306
  __proto__: null,
297
- default: oa
298
- }, Symbol.toStringTag, { value: "Module" })), la = {
307
+ default: ra
308
+ }, Symbol.toStringTag, { value: "Module" })), ua = {
299
309
  name: "date"
300
- }, ia = /* @__PURE__ */ Q({
301
- ...la,
310
+ }, pa = /* @__PURE__ */ K({
311
+ ...ua,
302
312
  props: {
303
313
  setting: { default: () => ({
304
314
  icon: "",
@@ -312,55 +322,55 @@ const Ft = St.get("/getBindRelationByDefKey"), It = Nt.get("/getByAlias"), qt =
312
322
  marginRight: {},
313
323
  store: {}
314
324
  },
315
- setup(o) {
316
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
317
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
318
- () => t.value,
325
+ setup(t) {
326
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
327
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
328
+ () => a.value,
319
329
  () => {
320
- s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
330
+ o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
321
331
  },
322
332
  { deep: !0, immediate: !0 }
323
333
  );
324
- const m = l.value[e.setting.name] || !1, v = i(!1);
325
- H(e.setting.options.validateList).then((g) => {
326
- v.value = g;
334
+ const g = i.value[e.setting.name] || !1, v = l(!1);
335
+ H(e.setting.options.validateList).then((y) => {
336
+ v.value = y;
327
337
  });
328
- const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d = i("");
338
+ const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d = l("");
329
339
  e.setting.options.inputFormat === "YYYY/MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "YYYY/MM" && (d.value = "month"), e.setting.options.inputFormat === "YYYY" && (d.value = "year");
330
- const C = i();
340
+ const C = l();
331
341
  if (e.setting.options.tip && (C.value = J(e.setting.options.tip)), setTimeout(() => {
332
- n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
342
+ s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
333
343
  }, 50), e.setting.options.showCurrentDate) {
334
- let g = /* @__PURE__ */ new Date();
335
- g.setDate(g.getDate() + e.setting.options.day), n.value = ve(g.getTime()).format(c), p(e.setting.name, n.value);
344
+ let y = /* @__PURE__ */ new Date();
345
+ y.setDate(y.getDate() + e.setting.options.day), s.value = ve(y.getTime()).format(c), u(e.setting.name, s.value);
336
346
  }
337
- return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(n, (g) => {
338
- p(e.setting.name, g);
339
- }), (g, h) => s.value ? (M(), P(a(U), {
347
+ return e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (y) => {
348
+ u(e.setting.name, y);
349
+ }), (y, h) => o.value ? (D(), $(n(Q), {
340
350
  key: 0,
341
351
  col: e.span,
342
- modelValue: n.value,
343
- "onUpdate:modelValue": h[0] || (h[0] = (r) => n.value = r),
344
- label: g.setting.desc,
352
+ modelValue: s.value,
353
+ "onUpdate:modelValue": h[0] || (h[0] = (p) => s.value = p),
354
+ label: t.setting.desc,
345
355
  prop: e.setting.name,
346
- type: a(c).indexOf("HH") != -1 ? "dateTime" : "date",
347
- format: a(c),
356
+ type: n(c).indexOf("HH") != -1 ? "dateTime" : "date",
357
+ format: n(c),
348
358
  valueFormat: "YYYY-MM-DD HH:mm:ss",
349
359
  picker: d.value,
350
360
  isView: e.isView,
351
- disabled: a(m),
352
- placeholder: g.setting.options.placeholder,
361
+ disabled: n(g),
362
+ placeholder: t.setting.options.placeholder,
353
363
  helpMessage: C.value,
354
364
  required: v.value
355
- }, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : K("", !0);
365
+ }, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : F("v-if", !0);
356
366
  }
357
367
  }), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
358
368
  __proto__: null,
359
- default: ia
360
- }, Symbol.toStringTag, { value: "Module" })), ra = {
369
+ default: pa
370
+ }, Symbol.toStringTag, { value: "Module" })), da = {
361
371
  name: "dropdown"
362
- }, ua = /* @__PURE__ */ Q({
363
- ...ra,
372
+ }, ca = /* @__PURE__ */ K({
373
+ ...da,
364
374
  props: {
365
375
  setting: { default: () => ({
366
376
  icon: "",
@@ -374,60 +384,60 @@ const Ft = St.get("/getBindRelationByDefKey"), It = Nt.get("/getByAlias"), qt =
374
384
  marginRight: {},
375
385
  store: {}
376
386
  },
377
- setup(o) {
378
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w, setLinkData: n } = e.store || {}, s = i(""), m = i(!0);
379
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
380
- () => t.value,
387
+ setup(t) {
388
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _, setLinkData: s } = e.store || {}, o = l(""), g = l(!0);
389
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
390
+ () => a.value,
381
391
  () => {
382
- m.value = t.value[e.setting.name], m.value || (s.value = e.setting.options.multiple ? [] : "", w(e.setting.name)), m.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
392
+ g.value = a.value[e.setting.name], g.value || (o.value = e.setting.options.multiple ? [] : "", _(e.setting.name)), g.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
383
393
  },
384
394
  { deep: !0, immediate: !0 }
385
395
  );
386
396
  const v = () => {
387
- e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && n(e.setting.options.customQuery.custQueryJson, s.value);
388
- }, c = l.value[e.setting.name] || !1, d = i(!1);
397
+ e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && s(e.setting.options.customQuery.custQueryJson, o.value);
398
+ }, c = i.value[e.setting.name] || !1, d = l(!1);
389
399
  H(e.setting.options.validateList).then((b) => {
390
400
  d.value = b;
391
401
  });
392
- const C = i(""), g = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", h = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", r = e.setting.options.customQuery.PId || "children", y = i([]);
402
+ const C = l(""), y = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", h = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", p = e.setting.options.customQuery.PId || "children", f = l([]);
393
403
  e.setting.options.customQuery.alias && le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((b) => {
394
- y.value = b;
404
+ f.value = b;
395
405
  });
396
- const z = i();
397
- return e.setting.options.tip && (z.value = J(e.setting.options.tip)), s.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && u(e.setting.name) ? s.value = u(e.setting.name).split(",") : s.value = u(e.setting.name) || s.value, s.value || p(e.setting.name, null), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(s, (b) => {
398
- p(e.setting.name, b.toString());
399
- }), (b, T) => m.value ? (M(), P(a(U), {
406
+ const z = l();
407
+ return e.setting.options.tip && (z.value = J(e.setting.options.tip)), o.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && r(e.setting.name) ? o.value = r(e.setting.name).split(",") : o.value = r(e.setting.name) || o.value, o.value || u(e.setting.name, null), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(o, (b) => {
408
+ u(e.setting.name, b.toString());
409
+ }), (b, L) => g.value ? (D(), $(n(Q), {
400
410
  key: 0,
401
411
  col: e.span,
402
- modelValue: s.value,
403
- "onUpdate:modelValue": T[0] || (T[0] = (R) => s.value = R),
412
+ modelValue: o.value,
413
+ "onUpdate:modelValue": L[0] || (L[0] = (T) => o.value = T),
404
414
  keyword: C.value,
405
- "onUpdate:keyword": T[1] || (T[1] = (R) => C.value = R),
406
- label: b.setting.desc,
415
+ "onUpdate:keyword": L[1] || (L[1] = (T) => C.value = T),
416
+ label: t.setting.desc,
407
417
  type: "treeSelect",
408
- "node-key": b.setting.options.customQuery.valueBind,
409
- placeholder: b.setting.options.placeholder,
410
- mode: b.setting.options.multiple ? "multiple" : "",
418
+ "node-key": t.setting.options.customQuery.valueBind,
419
+ placeholder: t.setting.options.placeholder,
420
+ mode: t.setting.options.multiple ? "multiple" : "",
411
421
  prop: e.setting.name,
412
- filter: b.setting.options.filterable,
422
+ filter: t.setting.options.filterable,
413
423
  selectAttrs: { allowClear: !0 },
414
- options: y.value,
424
+ options: f.value,
415
425
  isView: e.isView,
416
426
  helpMessage: z.value,
417
- disabled: a(c),
418
- props: { label: a(h), value: a(g), children: a(r) },
419
- "check-strictly": !b.setting.options.cascade,
427
+ disabled: n(c),
428
+ props: { label: n(h), value: n(y), children: n(p) },
429
+ "check-strictly": !t.setting.options.cascade,
420
430
  required: d.value,
421
431
  onChange: v
422
- }, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : K("", !0);
432
+ }, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : F("v-if", !0);
423
433
  }
424
434
  }), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
425
435
  __proto__: null,
426
- default: ua
427
- }, Symbol.toStringTag, { value: "Module" })), pa = { class: "form-image" }, da = {
436
+ default: ca
437
+ }, Symbol.toStringTag, { value: "Module" })), ga = { class: "form-image" }, ma = {
428
438
  name: "imageViewer"
429
- }, ca = /* @__PURE__ */ Q({
430
- ...da,
439
+ }, va = /* @__PURE__ */ K({
440
+ ...ma,
431
441
  props: {
432
442
  setting: { default: () => ({
433
443
  icon: "",
@@ -441,134 +451,136 @@ const Ft = St.get("/getBindRelationByDefKey"), It = Nt.get("/getByAlias"), qt =
441
451
  marginRight: {},
442
452
  store: {}
443
453
  },
444
- setup(o) {
445
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
446
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
447
- () => t.value,
454
+ setup(t) {
455
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
456
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
457
+ () => a.value,
448
458
  () => {
449
- s.value = t.value[e.setting.name], s.value || (n.value = e.setting.options.file.limit > 1 ? [] : "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
459
+ o.value = a.value[e.setting.name], o.value || (s.value = e.setting.options.file.limit > 1 ? [] : "", _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
450
460
  },
451
461
  { deep: !0, immediate: !0 }
452
462
  );
453
- const m = l.value[e.setting.name] || !1, v = i(!1);
454
- H(e.setting.options.validateList).then((g) => {
455
- v.value = g;
463
+ const g = i.value[e.setting.name] || !1, v = l(!1);
464
+ H(e.setting.options.validateList).then((y) => {
465
+ v.value = y;
456
466
  });
457
- const c = i("normal");
467
+ const c = l("normal");
458
468
  e.isView && (c.value = "info");
459
- const d = i();
460
- e.setting.options.tip && (d.value = J(e.setting.options.tip)), n.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && u(e.setting.name) ? n.value = u(e.setting.name).split(",") : n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null);
461
- const C = (g) => {
469
+ const d = l();
470
+ e.setting.options.tip && (d.value = J(e.setting.options.tip)), s.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && r(e.setting.name) ? s.value = r(e.setting.name).split(",") : s.value = r(e.setting.name) || s.value, s.value || u(e.setting.name, null);
471
+ const C = (y) => {
462
472
  setTimeout(() => {
463
- p(e.setting.name, n.value.toString());
473
+ u(e.setting.name, s.value.toString());
464
474
  }, 100);
465
475
  };
466
- return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(n.value, (g) => {
467
- const h = g.map((r) => {
468
- let y = "";
469
- return r.indexOf("/oss/") != -1 ? y = r : y = `/oss/${r}`, y;
476
+ return e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s.value, (y) => {
477
+ const h = y.map((p) => {
478
+ let f = "";
479
+ return p.indexOf("/oss/") != -1 ? f = p : f = `/oss/${p}`, f;
470
480
  });
471
481
  setTimeout(() => {
472
- p(e.setting.name, h.join(","));
482
+ u(e.setting.name, h.join(","));
473
483
  }, 100);
474
- }), (g, h) => s.value ? (M(), P(a(U), {
484
+ }), (y, h) => o.value ? (D(), $(n(Q), {
475
485
  key: 0,
476
- modelValue: n.value,
477
- "onUpdate:modelValue": h[2] || (h[2] = (r) => n.value = r),
486
+ modelValue: s.value,
487
+ "onUpdate:modelValue": h[2] || (h[2] = (p) => s.value = p),
478
488
  "margin-bottom": "0",
479
489
  prop: e.setting.name,
480
- label: g.setting.desc,
490
+ label: t.setting.desc,
481
491
  type: "custom",
482
492
  helpMessage: d.value,
483
493
  required: v.value,
484
494
  col: e.span
485
495
  }, {
486
- default: L(() => [
487
- Be("div", pa, [
488
- V(a(je), {
489
- modelValue: n.value,
490
- "onUpdate:modelValue": h[0] || (h[0] = (r) => n.value = r),
496
+ default: O(() => [
497
+ qe("div", ga, [
498
+ M(n(je), {
499
+ modelValue: s.value,
500
+ "onUpdate:modelValue": h[0] || (h[0] = (p) => s.value = p),
491
501
  status: c.value,
492
- "onUpdate:status": h[1] || (h[1] = (r) => c.value = r),
502
+ "onUpdate:status": h[1] || (h[1] = (p) => c.value = p),
503
+ style: {},
493
504
  maxSize: "6",
494
- "limit-num": g.setting.options.file.limit,
505
+ "limit-num": t.setting.options.file.limit,
495
506
  prop: e.setting.name,
496
507
  "service-name": "hotent",
497
508
  "accept-video": "",
498
509
  "accept-audio": "",
499
510
  videoWidth: 420,
500
511
  videoHeight: 680,
501
- disabled: a(m),
512
+ disabled: n(g),
502
513
  "show-image-name": "",
503
- needDownloadBtn: g.setting.options.file.allowDownload == !0,
504
- needPreview: g.setting.options.file.allowPreview == !0,
514
+ needDownloadBtn: t.setting.options.file.allowDownload == !0,
515
+ needPreview: t.setting.options.file.allowPreview == !0,
505
516
  onImageUpload: C,
506
517
  required: v.value
507
518
  }, null, 8, ["modelValue", "status", "limit-num", "prop", "disabled", "needDownloadBtn", "needPreview", "required"])
508
519
  ])
509
520
  ]),
510
521
  _: 1
511
- }, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : K("", !0);
522
+ /* STABLE */
523
+ }, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : F("v-if", !0);
512
524
  }
513
- }), fe = (o, e) => {
514
- const t = o.__vccOpts || o;
515
- for (const [l, p] of e)
516
- t[l] = p;
517
- return t;
518
- }, ga = /* @__PURE__ */ fe(ca, [["__scopeId", "data-v-3189578e"]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
525
+ }), fe = (t, e) => {
526
+ const a = t.__vccOpts || t;
527
+ for (const [i, u] of e)
528
+ a[i] = u;
529
+ return a;
530
+ }, fa = /* @__PURE__ */ fe(va, [["__scopeId", "data-v-9c20fc5a"]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
519
531
  __proto__: null,
520
- default: ga
521
- }, Symbol.toStringTag, { value: "Module" })), ma = (o) => {
522
- const t = "****", l = String(o), p = l.slice(0, 15), u = l.slice(15);
523
- return ((n) => {
524
- const s = n.length;
525
- if (s < 6) return n;
526
- let m = 0;
527
- switch (s) {
532
+ default: fa
533
+ }, Symbol.toStringTag, { value: "Module" })), ha = (t) => {
534
+ const a = "****", i = String(t), u = i.slice(0, 15), r = i.slice(15);
535
+ return ((s) => {
536
+ const o = s.length;
537
+ if (o < 6) return s;
538
+ let g = 0;
539
+ switch (o) {
528
540
  case 6:
529
541
  case 7:
530
- m = 1;
542
+ g = 1;
531
543
  break;
532
544
  case 8:
533
545
  case 9:
534
- m = 2;
546
+ g = 2;
535
547
  break;
536
548
  case 10:
537
549
  case 11:
538
- m = 3;
550
+ g = 3;
539
551
  break;
540
552
  case 12:
541
- m = 4;
553
+ g = 4;
542
554
  break;
543
555
  case 13:
544
- m = 5;
556
+ g = 5;
545
557
  break;
546
558
  case 14:
547
- m = 6;
559
+ g = 6;
548
560
  break;
549
561
  case 15:
550
- m = 7;
562
+ g = 7;
551
563
  break;
552
564
  }
553
- const v = m + t.length;
554
- return n.slice(0, m) + t + n.slice(v);
555
- })(p) + u;
556
- }, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
565
+ const v = g + a.length;
566
+ return s.slice(0, g) + a + s.slice(v);
567
+ })(u) + r;
568
+ }, ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
557
569
  __proto__: null,
558
- default: ma
559
- }, Symbol.toStringTag, { value: "Module" })), me = {}, fa = /^\.\/(.+)\/index\.ts$/, Ie = /* @__PURE__ */ Object.assign({ "./phone/index.ts": va });
560
- var qe;
561
- for (const o in Ie) {
562
- const e = Ie[o], t = (qe = o.match(fa)) == null ? void 0 : qe[1];
563
- me[t] = e.default;
570
+ default: ha
571
+ }, Symbol.toStringTag, { value: "Module" })), me = {}, ba = /^\.\/(.+)\/index\.ts$/, Fe = /* @__PURE__ */ Object.assign({ "./phone/index.ts": ya });
572
+ var Ie;
573
+ for (const t in Fe) {
574
+ const e = Fe[t], a = (Ie = t.match(ba)) == null ? void 0 : Ie[1];
575
+ me[a] = e.default;
564
576
  }
565
- const ha = (o, e) => {
566
- var l;
567
- return e ? ((l = me[o]) == null ? void 0 : l.call(me, e)) ?? e : "-";
568
- }, ya = {
577
+ const wa = (t, e) => {
578
+ var i;
579
+ return e ? ((i = me[t]) == null ? void 0 : i.call(me, e)) ?? e : "-";
580
+ }, _a = {
569
581
  name: "input"
570
- }, ba = /* @__PURE__ */ Q({
571
- ...ya,
582
+ }, Ca = /* @__PURE__ */ K({
583
+ ..._a,
572
584
  props: {
573
585
  setting: { default: () => ({
574
586
  icon: "",
@@ -582,99 +594,127 @@ const ha = (o, e) => {
582
594
  marginRight: {},
583
595
  store: {}
584
596
  },
585
- setup(o) {
586
- const e = o, { data: t, showData: l, disabledData: p, setData: u, getData: f, setFormRule: w, deleteRule: n, encryptionData: s } = e.store || {}, m = i(""), v = i(!1);
587
- s.value.length && s.value.forEach((r) => {
588
- r.name === e.setting.name && (v.value = !0);
597
+ setup(t) {
598
+ const e = t, { data: a, showData: i, disabledData: u, setData: r, getData: m, setFormRule: _, deleteRule: s, encryptionData: o } = e.store || {}, g = l(""), v = l(!1);
599
+ o.value.length && o.value.forEach((p) => {
600
+ p.name === e.setting.name && (v.value = !0);
589
601
  });
590
- const c = i(""), d = i(!0);
591
- !l.value[e.setting.name] && l.value[e.setting.name] != !1 && (l.value[e.setting.name] = !0), k(
592
- () => l.value,
602
+ const c = l(""), d = l(!0);
603
+ !i.value[e.setting.name] && i.value[e.setting.name] != !1 && (i.value[e.setting.name] = !0), k(
604
+ () => i.value,
593
605
  () => {
594
- d.value = l.value[e.setting.name], d.value || (c.value = "", n(e.setting.name)), d.value && e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList);
606
+ d.value = i.value[e.setting.name], d.value || (c.value = "", s(e.setting.name)), d.value && e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList);
595
607
  },
596
608
  { deep: !0, immediate: !0 }
597
609
  ), k(
598
- () => t.value,
610
+ () => a.value,
599
611
  () => {
600
- t.value[e.setting.name] && (c.value = t.value[e.setting.name]);
612
+ a.value[e.setting.name] && (c.value = a.value[e.setting.name]);
601
613
  },
602
614
  { deep: !0 }
603
615
  );
604
- const C = p.value[e.setting.name] || !1, g = i(!1);
605
- H(e.setting.options.validateList).then((r) => {
606
- g.value = r;
616
+ const C = u.value[e.setting.name] || !1, y = l(!1);
617
+ H(e.setting.options.validateList).then((p) => {
618
+ y.value = p;
607
619
  });
608
- const h = i();
620
+ const h = l();
609
621
  return e.setting.options.tip && (h.value = J(e.setting.options.tip)), setTimeout(() => {
610
- c.value = f(e.setting.name) || e.setting.options.formulasDiyJs || c.value, v && e.isView && (m.value = ha("phone", c.value)), c.value || u(e.setting.name, null);
611
- }, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), k(c, (r) => {
612
- e.setting.options.dataType === "number" && !isNaN(r) ? u(e.setting.name, Number(r)) : u(e.setting.name, r);
613
- }), (r, y) => (M(), x(ee, null, [
614
- d.value && v.value && e.isView ? (M(), P(a(U), {
615
- key: 0,
616
- col: e.span,
617
- prop: e.setting.name,
618
- modelValue: c.value,
619
- "onUpdate:modelValue": y[1] || (y[1] = (z) => c.value = z),
620
- label: r.setting.desc,
621
- type: "custom",
622
- helpMessage: h.value,
623
- required: g.value
624
- }, {
625
- default: L(() => [
626
- V(a(De), {
627
- placement: "top",
628
- disabled: !c.value,
629
- content: c.value
630
- }, {
631
- default: L(() => [
632
- V(a(wt), {
633
- modelValue: m.value,
634
- "onUpdate:modelValue": y[0] || (y[0] = (z) => m.value = z),
635
- width: r.setting.options.width,
636
- disabled: r.setting.options.isInputEdit || a(C),
637
- isView: r.setting.options.isReadonly || e.isView,
638
- placeholder: r.setting.options.placeholder
639
- }, {
640
- prepend: L(() => [
641
- ne(se(r.setting.options.bindPreAndSufFixjson.preFix), 1)
642
- ]),
643
- append: L(() => [
644
- ne(se(r.setting.options.bindPreAndSufFixjson.sufSix), 1)
645
- ]),
646
- _: 1
647
- }, 8, ["modelValue", "width", "disabled", "isView", "placeholder"])
648
- ]),
649
- _: 1
650
- }, 8, ["disabled", "content"])
651
- ]),
652
- _: 1
653
- }, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : K("", !0),
654
- d.value && (!v.value || !e.isView) ? (M(), P(a(U), {
655
- key: 1,
656
- col: e.span,
657
- modelValue: c.value,
658
- "onUpdate:modelValue": y[2] || (y[2] = (z) => c.value = z),
659
- width: r.setting.options.width,
660
- disabled: r.setting.options.isInputEdit || a(C),
661
- isView: r.setting.options.isReadonly || e.isView,
662
- prop: e.setting.name,
663
- label: r.setting.desc,
664
- type: "input",
665
- helpMessage: h.value,
666
- required: g.value,
667
- placeholder: r.setting.options.placeholder
668
- }, null, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : K("", !0)
669
- ], 64));
622
+ c.value = m(e.setting.name) || e.setting.options.formulasDiyJs || c.value, v && e.isView && (g.value = wa("phone", c.value)), c.value || r(e.setting.name, null);
623
+ }, 50), e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList), k(c, (p) => {
624
+ e.setting.options.dataType === "number" && !isNaN(p) ? r(e.setting.name, Number(p)) : r(e.setting.name, p);
625
+ }), (p, f) => (D(), Y(
626
+ X,
627
+ null,
628
+ [
629
+ d.value && v.value && e.isView ? (D(), $(n(Q), {
630
+ key: 0,
631
+ col: e.span,
632
+ prop: e.setting.name,
633
+ modelValue: c.value,
634
+ "onUpdate:modelValue": f[1] || (f[1] = (z) => c.value = z),
635
+ label: t.setting.desc,
636
+ type: "custom",
637
+ helpMessage: h.value,
638
+ required: y.value
639
+ }, {
640
+ default: O(() => [
641
+ M(n(Ve), {
642
+ placement: "top",
643
+ disabled: !c.value,
644
+ content: c.value
645
+ }, {
646
+ default: O(() => [
647
+ M(n(Ct), {
648
+ modelValue: g.value,
649
+ "onUpdate:modelValue": f[0] || (f[0] = (z) => g.value = z),
650
+ width: t.setting.options.width,
651
+ disabled: t.setting.options.isInputEdit || n(C),
652
+ isView: t.setting.options.isReadonly || e.isView,
653
+ placeholder: t.setting.options.placeholder
654
+ }, {
655
+ prepend: O(() => [
656
+ ne(
657
+ se(t.setting.options.bindPreAndSufFixjson.preFix),
658
+ 1
659
+ /* TEXT */
660
+ )
661
+ ]),
662
+ append: O(() => [
663
+ ne(
664
+ se(t.setting.options.bindPreAndSufFixjson.sufSix),
665
+ 1
666
+ /* TEXT */
667
+ )
668
+ ]),
669
+ _: 1
670
+ /* STABLE */
671
+ }, 8, ["modelValue", "width", "disabled", "isView", "placeholder"])
672
+ ]),
673
+ _: 1
674
+ /* STABLE */
675
+ }, 8, ["disabled", "content"])
676
+ ]),
677
+ _: 1
678
+ /* STABLE */
679
+ }, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : F("v-if", !0),
680
+ d.value && (!v.value || !e.isView) ? (D(), $(n(Q), {
681
+ key: 1,
682
+ col: e.span,
683
+ modelValue: c.value,
684
+ "onUpdate:modelValue": f[2] || (f[2] = (z) => c.value = z),
685
+ width: t.setting.options.width,
686
+ disabled: t.setting.options.isInputEdit || n(C),
687
+ isView: t.setting.options.isReadonly || e.isView,
688
+ prop: e.setting.name,
689
+ label: t.setting.desc,
690
+ type: "input",
691
+ helpMessage: h.value,
692
+ required: y.value,
693
+ placeholder: t.setting.options.placeholder
694
+ }, {
695
+ default: O(() => [
696
+ F(` <DasInput\r
697
+ v-model="inputValue"\r
698
+ >\r
699
+ <template #prepend>{{ setting.options.bindPreAndSufFixjson.preFix }}</template>\r
700
+ <template #append>{{ setting.options.bindPreAndSufFixjson.sufSix }}</template>\r
701
+ </DasInput> `)
702
+ ]),
703
+ _: 1
704
+ /* STABLE */
705
+ }, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : F("v-if", !0)
706
+ ],
707
+ 64
708
+ /* STABLE_FRAGMENT */
709
+ ));
670
710
  }
671
711
  }), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
672
712
  __proto__: null,
673
- default: ba
674
- }, Symbol.toStringTag, { value: "Module" })), _a = {
713
+ default: Ca
714
+ }, Symbol.toStringTag, { value: "Module" })), za = {
675
715
  name: "number"
676
- }, wa = /* @__PURE__ */ Q({
677
- ..._a,
716
+ }, Va = /* @__PURE__ */ K({
717
+ ...za,
678
718
  props: {
679
719
  setting: { default: () => ({
680
720
  icon: "",
@@ -688,50 +728,50 @@ const ha = (o, e) => {
688
728
  marginRight: {},
689
729
  store: {}
690
730
  },
691
- setup(o) {
692
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(0), s = i(!0);
693
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
694
- () => t.value,
731
+ setup(t) {
732
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(0), o = l(!0);
733
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
734
+ () => a.value,
695
735
  () => {
696
- s.value = t.value[e.setting.name], s.value || (n.value = 0, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
736
+ o.value = a.value[e.setting.name], o.value || (s.value = 0, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
697
737
  },
698
738
  { deep: !0, immediate: !0 }
699
739
  );
700
- const m = l.value[e.setting.name] || !1, v = i(!1);
740
+ const g = i.value[e.setting.name] || !1, v = l(!1);
701
741
  H(e.setting.options.validateList).then((d) => {
702
742
  v.value = d;
703
743
  });
704
- const c = i();
744
+ const c = l();
705
745
  return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
706
- n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
707
- }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(n, (d) => {
708
- p(e.setting.name, d);
709
- }), (d, C) => s.value ? (M(), P(a(U), {
746
+ s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
747
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (d) => {
748
+ u(e.setting.name, d);
749
+ }), (d, C) => o.value ? (D(), $(n(Q), {
710
750
  key: 0,
711
751
  col: e.span,
712
- modelValue: n.value,
713
- "onUpdate:modelValue": C[0] || (C[0] = (g) => n.value = g),
752
+ modelValue: s.value,
753
+ "onUpdate:modelValue": C[0] || (C[0] = (y) => s.value = y),
714
754
  style: { width: "100%" },
715
- label: d.setting.desc,
755
+ label: t.setting.desc,
716
756
  type: "inputNumber",
717
757
  prop: e.setting.name,
718
- max: d.setting.options.max,
719
- min: d.setting.options.min,
720
- step: d.setting.options.step,
721
- disabled: a(m),
758
+ max: t.setting.options.max,
759
+ min: t.setting.options.min,
760
+ step: t.setting.options.step,
761
+ disabled: n(g),
722
762
  isView: e.isView,
723
- precision: d.setting.options.decimalDigits,
763
+ precision: t.setting.options.decimalDigits,
724
764
  helpMessage: c.value,
725
765
  required: v.value
726
- }, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : K("", !0);
766
+ }, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : F("v-if", !0);
727
767
  }
728
768
  }), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
729
769
  __proto__: null,
730
- default: wa
731
- }, Symbol.toStringTag, { value: "Module" })), Ca = {
770
+ default: Va
771
+ }, Symbol.toStringTag, { value: "Module" })), Da = {
732
772
  name: "radio"
733
- }, za = /* @__PURE__ */ Q({
734
- ...Ca,
773
+ }, Ma = /* @__PURE__ */ K({
774
+ ...Da,
735
775
  props: {
736
776
  setting: { default: () => ({
737
777
  icon: "",
@@ -747,64 +787,64 @@ const ha = (o, e) => {
747
787
  marginRight: {},
748
788
  store: {}
749
789
  },
750
- setup(o) {
751
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(null), s = i(!0);
752
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
753
- () => t.value,
790
+ setup(t) {
791
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(null), o = l(!0);
792
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
793
+ () => a.value,
754
794
  () => {
755
- s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
795
+ o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
756
796
  },
757
797
  { deep: !0, immediate: !0 }
758
798
  );
759
- const m = l.value[e.setting.name] || !1, v = i(!1);
760
- H(e.setting.options.validateList).then((r) => {
761
- v.value = r;
799
+ const g = i.value[e.setting.name] || !1, v = l(!1);
800
+ H(e.setting.options.validateList).then((p) => {
801
+ v.value = p;
762
802
  });
763
- const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = i([]);
764
- e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((r) => {
765
- C.value = r;
803
+ const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", C = l([]);
804
+ e.setting.options.customQuery.alias ? le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
805
+ C.value = p;
766
806
  }) : C.value = e.setting.options.options;
767
- const g = i();
768
- e.setting.options.tip && (g.value = J(e.setting.options.tip)), setTimeout(() => {
769
- n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
770
- }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(n, (r) => {
771
- p(e.setting.name, r);
807
+ const y = l();
808
+ e.setting.options.tip && (y.value = J(e.setting.options.tip)), setTimeout(() => {
809
+ s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
810
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (p) => {
811
+ u(e.setting.name, p);
772
812
  });
773
- const h = (r) => {
774
- e.setting.options.linkage.length && e.setting.options.linkage.forEach((y) => {
775
- if (y.value === r) {
776
- const b = y.effect[0].target.split(".")[2];
777
- t.value[b] = y.effect[0].type === "w";
813
+ const h = (p) => {
814
+ e.setting.options.linkage.length && e.setting.options.linkage.forEach((f) => {
815
+ if (f.value === p) {
816
+ const b = f.effect[0].target.split(".")[2];
817
+ a.value[b] = f.effect[0].type === "w";
778
818
  }
779
819
  });
780
820
  };
781
- return (r, y) => s.value ? (M(), P(a(U), {
821
+ return (p, f) => o.value ? (D(), $(n(Q), {
782
822
  key: 0,
783
823
  onChange: h,
784
824
  col: e.span,
785
- modelValue: n.value,
786
- "onUpdate:modelValue": y[0] || (y[0] = (z) => n.value = z),
787
- layout: r.setting.options.inline ? "vertical" : "default",
788
- label: r.setting.desc,
825
+ modelValue: s.value,
826
+ "onUpdate:modelValue": f[0] || (f[0] = (z) => s.value = z),
827
+ layout: t.setting.options.inline ? "vertical" : "default",
828
+ label: t.setting.desc,
789
829
  type: "radio",
790
830
  prop: e.setting.name,
791
831
  options: C.value,
792
832
  isView: e.isView,
793
- optionsValueKey: a(c),
794
- optionsLabelKey: a(d),
795
- helpMessage: g.value,
796
- disabled: a(m),
833
+ optionsValueKey: n(c),
834
+ optionsLabelKey: n(d),
835
+ helpMessage: y.value,
836
+ disabled: n(g),
797
837
  required: v.value,
798
838
  isSetTimeout: !0
799
- }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : K("", !0);
839
+ }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : F("v-if", !0);
800
840
  }
801
841
  }), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
802
842
  __proto__: null,
803
- default: za
804
- }, Symbol.toStringTag, { value: "Module" })), Da = {
843
+ default: Ma
844
+ }, Symbol.toStringTag, { value: "Module" })), ka = {
805
845
  name: "select"
806
- }, Ma = /* @__PURE__ */ Q({
807
- ...Da,
846
+ }, Sa = /* @__PURE__ */ K({
847
+ ...ka,
808
848
  props: {
809
849
  setting: { default: () => ({
810
850
  icon: "",
@@ -818,101 +858,101 @@ const ha = (o, e) => {
818
858
  marginRight: {},
819
859
  store: {}
820
860
  },
821
- setup(o) {
822
- var y, z;
823
- const e = o, { showData: t, disabledData: l, linkData: p, setData: u, getData: f, setFormRule: w, deleteRule: n } = e.store || {}, s = i(), m = i(!0);
824
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
825
- () => t.value,
861
+ setup(t) {
862
+ var f, z;
863
+ const e = t, { showData: a, disabledData: i, linkData: u, setData: r, getData: m, setFormRule: _, deleteRule: s } = e.store || {}, o = l(), g = l(!0);
864
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
865
+ () => a.value,
826
866
  () => {
827
- m.value = t.value[e.setting.name], m.value || (s.value = null, n(e.setting.name)), m.value && e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList);
867
+ g.value = a.value[e.setting.name], g.value || (o.value = null, s(e.setting.name)), g.value && e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList);
828
868
  },
829
869
  { deep: !0, immediate: !0 }
830
870
  ), k(
831
- () => p.value,
871
+ () => u.value,
832
872
  () => {
833
- p.value.data.forEach((b) => {
873
+ u.value.data.forEach((b) => {
834
874
  if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === b.alias) {
835
- s.value = null;
836
- const T = b.conditionfield.filter((B) => B.defaultType == 1);
837
- let R = {};
838
- T.forEach((B) => {
839
- const D = B.fieldPath.split("."), N = D[D.length - 1];
840
- R[B.field] = f(N);
875
+ o.value = null;
876
+ const L = b.conditionfield.filter((j) => j.defaultType == 1);
877
+ let T = {};
878
+ L.forEach((j) => {
879
+ const V = j.fieldPath.split("."), N = V[V.length - 1];
880
+ T[j.field] = m(N);
841
881
  }), le(
842
882
  e.setting.options.customQuery.alias,
843
883
  e.setting.options.customQuery.conditionfield,
844
- R
845
- ).then((B) => {
846
- g.value = B;
884
+ T
885
+ ).then((j) => {
886
+ y.value = j;
847
887
  });
848
888
  }
849
889
  });
850
890
  },
851
891
  { deep: !0 }
852
892
  );
853
- const v = l.value[e.setting.name] || !1, c = i(!1);
893
+ const v = i.value[e.setting.name] || !1, c = l(!1);
854
894
  H(e.setting.options.validateList).then((b) => {
855
895
  c.value = b;
856
896
  });
857
- const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", C = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", g = i([]);
897
+ const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", C = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", y = l([]);
858
898
  if (e.setting.options.customQuery.alias) {
859
- let b = (z = (y = e.setting.options) == null ? void 0 : y.customQuery) == null ? void 0 : z.conditionfield;
899
+ let b = (z = (f = e.setting.options) == null ? void 0 : f.customQuery) == null ? void 0 : z.conditionfield;
860
900
  typeof b == "string" && (b = JSON.parse(b));
861
- const T = b.filter((B) => B.defaultType == 1);
862
- let R = {};
863
- T.forEach((B) => {
901
+ const L = b.filter((j) => j.defaultType == 1);
902
+ let T = {};
903
+ L.forEach((j) => {
864
904
  var I;
865
- const D = (I = B.fieldPath) == null ? void 0 : I.split("."), N = D[D.length - 1];
866
- R[B.field] = f(N);
867
- }), le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, R).then(
868
- (B) => {
869
- g.value = B;
905
+ const V = (I = j.fieldPath) == null ? void 0 : I.split("."), N = V[V.length - 1];
906
+ T[j.field] = m(N);
907
+ }), le(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, T).then(
908
+ (j) => {
909
+ y.value = j;
870
910
  }
871
911
  );
872
912
  } else
873
- g.value = e.setting.options.options;
874
- const h = i();
875
- e.setting.options.tip && (h.value = J(e.setting.options.tip)), s.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
876
- e.setting.options.multiple && (f(e.setting.name) || e.setting.options.formulasDiyJs) ? (f(e.setting.name) && (s.value = f(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (s.value = e.setting.options.formulasDiyJs.split(","))) : s.value = f(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
877
- }, 50), e.setting.options.validateList.length && w(e.setting.name, e.setting.options.validateList), k(s, (b) => {
878
- e.setting.options.multiple ? u(e.setting.name, b.toString()) : u(e.setting.name, b);
913
+ y.value = e.setting.options.options;
914
+ const h = l();
915
+ e.setting.options.tip && (h.value = J(e.setting.options.tip)), o.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
916
+ e.setting.options.multiple && (m(e.setting.name) || e.setting.options.formulasDiyJs) ? (m(e.setting.name) && (o.value = m(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (o.value = e.setting.options.formulasDiyJs.split(","))) : o.value = m(e.setting.name) || e.setting.options.formulasDiyJs || o.value, o.value || r(e.setting.name, null);
917
+ }, 50), e.setting.options.validateList.length && _(e.setting.name, e.setting.options.validateList), k(o, (b) => {
918
+ e.setting.options.multiple ? r(e.setting.name, b.toString()) : r(e.setting.name, b);
879
919
  });
880
- const r = (b) => {
881
- e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((T) => {
882
- if (T.value === b) {
883
- const B = T.effect[0].target.split(".")[2];
884
- t.value[B] = T.effect[0].type === "w";
920
+ const p = (b) => {
921
+ e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((L) => {
922
+ if (L.value === b) {
923
+ const j = L.effect[0].target.split(".")[2];
924
+ a.value[j] = L.effect[0].type === "w";
885
925
  }
886
926
  });
887
927
  };
888
- return (b, T) => m.value ? (M(), P(a(U), {
928
+ return (b, L) => g.value ? (D(), $(n(Q), {
889
929
  key: 0,
890
930
  col: e.span,
891
- modelValue: s.value,
892
- "onUpdate:modelValue": T[0] || (T[0] = (R) => s.value = R),
893
- label: b.setting.desc,
894
- onChange: r,
931
+ modelValue: o.value,
932
+ "onUpdate:modelValue": L[0] || (L[0] = (T) => o.value = T),
933
+ label: t.setting.desc,
934
+ onChange: p,
895
935
  type: "select",
896
936
  prop: e.setting.name,
897
- placeholder: b.setting.options.placeholder,
898
- mode: b.setting.options.multiple ? "tags" : "combobox",
899
- showSearch: b.setting.options.filterable,
937
+ placeholder: t.setting.options.placeholder,
938
+ mode: t.setting.options.multiple ? "tags" : "combobox",
939
+ showSearch: t.setting.options.filterable,
900
940
  allowClear: !0,
901
941
  isView: e.isView,
902
- options: g.value,
903
- optionsValueKey: a(d),
904
- optionsLabelKey: a(C),
942
+ options: y.value,
943
+ optionsValueKey: n(d),
944
+ optionsLabelKey: n(C),
905
945
  helpMessage: h.value,
906
- disabled: a(v),
946
+ disabled: n(v),
907
947
  required: c.value
908
- }, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : K("", !0);
948
+ }, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : F("v-if", !0);
909
949
  }
910
950
  }), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
911
951
  __proto__: null,
912
- default: Ma
913
- }, Symbol.toStringTag, { value: "Module" })), Va = (o, e, t) => {
914
- var ae, X, Z, de, ce;
915
- const l = Ee().id, p = i(!1), u = (ce = (de = (Z = (X = (ae = o == null ? void 0 : o.options) == null ? void 0 : ae.selector) == null ? void 0 : X.type) == null ? void 0 : Z.alias) == null ? void 0 : de.replace("eip-", "")) == null ? void 0 : ce.replace("-selector", ""), f = i([]), w = i(""), n = i(""), s = {
952
+ default: Sa
953
+ }, Symbol.toStringTag, { value: "Module" })), Na = (t, e, a) => {
954
+ var ae, ee, Z, de, ce;
955
+ const i = Be().id, u = l(!1), r = (ce = (de = (Z = (ee = (ae = t == null ? void 0 : t.options) == null ? void 0 : ae.selector) == null ? void 0 : ee.type) == null ? void 0 : Z.alias) == null ? void 0 : de.replace("eip-", "")) == null ? void 0 : ce.replace("-selector", ""), m = l([]), _ = l(""), s = l(""), o = {
916
956
  user: E("搜索姓名/账号/手机号").value,
917
957
  org: E("搜索组织名称/组织编码").value,
918
958
  role: E("搜索角色名称").value,
@@ -920,7 +960,7 @@ const ha = (o, e) => {
920
960
  post: E("搜索岗位名称/岗位编码").value,
921
961
  supplier: E("搜索供应商编码/名称").value,
922
962
  source: E("搜索单据编码/申请人").value
923
- }, m = {
963
+ }, g = {
924
964
  user: E("添加用户").value,
925
965
  org: E("组织选择器").value,
926
966
  role: E("角色选择器").value,
@@ -946,19 +986,19 @@ const ha = (o, e) => {
946
986
  }, C = {
947
987
  0: E("无效").value,
948
988
  1: E("有效").value
949
- }, g = {
950
- user: jt,
989
+ }, y = {
990
+ user: Kt,
951
991
  org: ye,
952
- role: Kt,
992
+ role: Qt,
953
993
  job: ye,
954
994
  post: ye,
955
- supplier: Wt
956
- }, h = m[u], r = i({}), y = i([]), z = () => {
957
- var q, Y;
958
- u === "supplier" ? (r.value = {
995
+ supplier: Xt
996
+ }, h = g[r], p = l({}), f = l([]), z = () => {
997
+ var q, U;
998
+ r === "supplier" ? (p.value = {
959
999
  left: !1,
960
1000
  content: {
961
- api: Ht,
1001
+ api: Gt,
962
1002
  params: {
963
1003
  flowKey: e,
964
1004
  clientType: "pc",
@@ -971,7 +1011,7 @@ const ha = (o, e) => {
971
1011
  querys: [
972
1012
  {
973
1013
  property: "orgId",
974
- value: l,
1014
+ value: i,
975
1015
  group: "quick",
976
1016
  relation: "AND",
977
1017
  operation: "EQUAL"
@@ -983,13 +1023,13 @@ const ha = (o, e) => {
983
1023
  }
984
1024
  },
985
1025
  right: !1
986
- }, R(), T()) : u === "source" ? (r.value = {
1026
+ }, T(), L()) : r === "source" ? (p.value = {
987
1027
  left: !1,
988
1028
  content: {
989
- api: Gt,
1029
+ api: ta,
990
1030
  params: {
991
1031
  key: "",
992
- code: t
1032
+ code: a
993
1033
  },
994
1034
  selectListProps: {
995
1035
  data: []
@@ -1001,10 +1041,10 @@ const ha = (o, e) => {
1001
1041
  }
1002
1042
  },
1003
1043
  right: !1
1004
- }, b()) : u === "org" ? (r.value = {
1044
+ }, b()) : r === "org" ? (p.value = {
1005
1045
  left: !1,
1006
1046
  content: {
1007
- api: At,
1047
+ api: Ut,
1008
1048
  params: {
1009
1049
  search: ""
1010
1050
  },
@@ -1012,12 +1052,12 @@ const ha = (o, e) => {
1012
1052
  data: []
1013
1053
  }
1014
1054
  }
1015
- }, b()) : r.value = {
1055
+ }, b()) : p.value = {
1016
1056
  left: {
1017
- api: qt,
1057
+ api: Bt,
1018
1058
  params: {
1019
- projectId: l,
1020
- parentId: l
1059
+ projectId: i,
1060
+ parentId: i
1021
1061
  },
1022
1062
  props: {
1023
1063
  inputOptions: {
@@ -1030,8 +1070,8 @@ const ha = (o, e) => {
1030
1070
  data: []
1031
1071
  }
1032
1072
  }
1033
- }, u === "user" && (r.value.content = {
1034
- api: Bt,
1073
+ }, r === "user" && (p.value.content = {
1074
+ api: Et,
1035
1075
  searchKey: "groupId",
1036
1076
  params: {
1037
1077
  status: 1,
@@ -1040,8 +1080,8 @@ const ha = (o, e) => {
1040
1080
  selectListProps: {
1041
1081
  data: []
1042
1082
  }
1043
- }, b()), u === "role" && (r.value.content = {
1044
- api: Et,
1083
+ }, b()), r === "role" && (p.value.content = {
1084
+ api: At,
1045
1085
  searchKey: "orgId",
1046
1086
  params: {
1047
1087
  status: 1
@@ -1049,8 +1089,8 @@ const ha = (o, e) => {
1049
1089
  selectListProps: {
1050
1090
  data: []
1051
1091
  }
1052
- }, b()), u === "job" && (r.value.content = {
1053
- api: Ut,
1092
+ }, b()), r === "job" && (p.value.content = {
1093
+ api: Jt,
1054
1094
  searchKey: "groupId",
1055
1095
  props: {
1056
1096
  rowKey: "positionId"
@@ -1058,8 +1098,8 @@ const ha = (o, e) => {
1058
1098
  selectListProps: {
1059
1099
  data: []
1060
1100
  }
1061
- }, b()), u === "post" && (r.value.content = {
1062
- api: Qt,
1101
+ }, b()), r === "post" && (p.value.content = {
1102
+ api: Yt,
1063
1103
  searchKey: "groupId",
1064
1104
  props: {
1065
1105
  rowKey: "stationId"
@@ -1067,14 +1107,14 @@ const ha = (o, e) => {
1067
1107
  selectListProps: {
1068
1108
  data: []
1069
1109
  }
1070
- }, b()), r.value.content.multiple = u === "supplier" || u === "source" ? !1 : !((Y = (q = o == null ? void 0 : o.options) == null ? void 0 : q.selector) != null && Y.isSingle);
1110
+ }, b()), p.value.content.multiple = r === "supplier" || r === "source" ? !1 : !((U = (q = t == null ? void 0 : t.options) == null ? void 0 : q.selector) != null && U.isSingle);
1071
1111
  }, b = async () => {
1072
- y.value = [
1112
+ f.value = [
1073
1113
  {
1074
1114
  type: "searchInput",
1075
1115
  key: "inputtKey",
1076
1116
  label: "",
1077
- placeholder: s[u],
1117
+ placeholder: o[r],
1078
1118
  value: "",
1079
1119
  clearable: !0,
1080
1120
  isIconLeft: !0,
@@ -1082,13 +1122,13 @@ const ha = (o, e) => {
1082
1122
  size: "small"
1083
1123
  }
1084
1124
  ];
1085
- }, T = async () => {
1086
- y.value = [
1125
+ }, L = async () => {
1126
+ f.value = [
1087
1127
  {
1088
1128
  type: "searchInput",
1089
1129
  key: "inputtKey",
1090
1130
  label: "",
1091
- placeholder: s[u],
1131
+ placeholder: o[r],
1092
1132
  value: "",
1093
1133
  clearable: !0,
1094
1134
  isIconLeft: !0,
@@ -1109,51 +1149,51 @@ const ha = (o, e) => {
1109
1149
  allowClear: !0
1110
1150
  }
1111
1151
  ];
1112
- }, R = async () => {
1152
+ }, T = async () => {
1113
1153
  const q = {
1114
1154
  name: "",
1115
1155
  published: 1
1116
- }, [Y, j] = await Zt(q).run();
1117
- Y || (y.value[1].options = j);
1118
- }, B = () => {
1119
- var Y;
1120
- w.value = "", p.value = !0;
1121
- let q = v[u];
1122
- r.value.content.selectListProps.data = (Y = f == null ? void 0 : f.value) == null ? void 0 : Y.map((j) => ({ name: j == null ? void 0 : j.label, [q]: j == null ? void 0 : j.value }));
1156
+ }, [U, B] = await ea(q).run();
1157
+ U || (f.value[1].options = B);
1158
+ }, j = () => {
1159
+ var U;
1160
+ _.value = "", u.value = !0;
1161
+ const q = v[r];
1162
+ p.value.content.selectListProps.data = (U = m == null ? void 0 : m.value) == null ? void 0 : U.map((B) => ({ name: B == null ? void 0 : B.label, [q]: B == null ? void 0 : B.value }));
1123
1163
  };
1124
1164
  z();
1125
- const D = async () => {
1126
- var q, Y, j, O, A, $, S, ie, ke, Se, Ne, Oe, Le, Te, Re, $e, Pe;
1127
- r.value.content.params = {
1128
- ...(Y = (q = r == null ? void 0 : r.value) == null ? void 0 : q.content) == null ? void 0 : Y.params,
1165
+ const V = async () => {
1166
+ var q, U, B, x, A, R, S, re, ke, Se, Ne, Oe, Le, Te, xe, Re, $e;
1167
+ p.value.content.params = {
1168
+ ...(U = (q = p == null ? void 0 : p.value) == null ? void 0 : q.content) == null ? void 0 : U.params,
1129
1169
  pageIndex: 1
1130
- }, (u === "user" || u === "org" || u === "post" || u === "role" || u === "job") && (r.value.content.params.name = (j = y == null ? void 0 : y.value[0]) == null ? void 0 : j.value), u === "source" && (r.value.content.params.key = (O = y == null ? void 0 : y.value[0]) == null ? void 0 : O.value), u === "supplier" && (r.value.content.params.querys = [
1170
+ }, (r === "user" || r === "org" || r === "post" || r === "role" || r === "job") && (p.value.content.params.name = (B = f == null ? void 0 : f.value[0]) == null ? void 0 : B.value), r === "source" && (p.value.content.params.key = (x = f == null ? void 0 : f.value[0]) == null ? void 0 : x.value), r === "supplier" && (p.value.content.params.querys = [
1131
1171
  {
1132
1172
  property: "orgId",
1133
- value: l,
1173
+ value: i,
1134
1174
  group: "quick",
1135
1175
  relation: "AND",
1136
1176
  operation: "EQUAL"
1137
1177
  }
1138
- ], (A = y == null ? void 0 : y.value[0]) != null && A.value && (r.value.content.params.querys = (Ne = (ie = (S = ($ = r == null ? void 0 : r.value) == null ? void 0 : $.content) == null ? void 0 : S.params) == null ? void 0 : ie.querys) == null ? void 0 : Ne.concat([
1178
+ ], (A = f == null ? void 0 : f.value[0]) != null && A.value && (p.value.content.params.querys = (Ne = (re = (S = (R = p == null ? void 0 : p.value) == null ? void 0 : R.content) == null ? void 0 : S.params) == null ? void 0 : re.querys) == null ? void 0 : Ne.concat([
1139
1179
  {
1140
1180
  property: "name",
1141
- value: (ke = y == null ? void 0 : y.value[0]) == null ? void 0 : ke.value,
1181
+ value: (ke = f == null ? void 0 : f.value[0]) == null ? void 0 : ke.value,
1142
1182
  group: "merge",
1143
1183
  relation: "OR",
1144
1184
  operation: "LIKE"
1145
1185
  },
1146
1186
  {
1147
1187
  property: "code",
1148
- value: (Se = y == null ? void 0 : y.value[0]) == null ? void 0 : Se.value,
1188
+ value: (Se = f == null ? void 0 : f.value[0]) == null ? void 0 : Se.value,
1149
1189
  group: "merge",
1150
1190
  relation: "OR",
1151
1191
  operation: "LIKE"
1152
1192
  }
1153
- ])), (Oe = y == null ? void 0 : y.value[1]) != null && Oe.value && (r.value.content.params.querys = (Pe = (Re = (Te = (Le = r == null ? void 0 : r.value) == null ? void 0 : Le.content) == null ? void 0 : Te.params) == null ? void 0 : Re.querys) == null ? void 0 : Pe.concat([
1193
+ ])), (Oe = f == null ? void 0 : f.value[1]) != null && Oe.value && (p.value.content.params.querys = ($e = (xe = (Te = (Le = p == null ? void 0 : p.value) == null ? void 0 : Le.content) == null ? void 0 : Te.params) == null ? void 0 : xe.querys) == null ? void 0 : $e.concat([
1154
1194
  {
1155
1195
  property: "classificationId",
1156
- value: ($e = y == null ? void 0 : y.value[1]) == null ? void 0 : $e.value,
1196
+ value: (Re = f == null ? void 0 : f.value[1]) == null ? void 0 : Re.value,
1157
1197
  group: "quick",
1158
1198
  relation: "AND",
1159
1199
  operation: "EQUAL"
@@ -1161,99 +1201,99 @@ const ha = (o, e) => {
1161
1201
  ])));
1162
1202
  };
1163
1203
  k(
1164
- () => p == null ? void 0 : p.value,
1204
+ () => u == null ? void 0 : u.value,
1165
1205
  (q) => {
1166
1206
  q || N();
1167
1207
  }
1168
1208
  );
1169
1209
  const N = async () => {
1170
- u === "supplier" ? (y.value[0].value = "", y.value[1].value = void 0) : (u === "org" || u === "user" || u === "source" || u === "post" || u === "role" || u === "job") && (y.value[0].value = ""), z();
1210
+ r === "supplier" ? (f.value[0].value = "", f.value[1].value = void 0) : (r === "org" || r === "user" || r === "source" || r === "post" || r === "role" || r === "job") && (f.value[0].value = ""), z();
1171
1211
  };
1172
1212
  return {
1173
- dialogVisible: p,
1213
+ dialogVisible: u,
1174
1214
  title: h,
1175
- searchName: w,
1176
- selectorType: u,
1177
- selectOptions: f,
1178
- tableOptions: r,
1215
+ searchName: _,
1216
+ selectorType: r,
1217
+ selectOptions: m,
1218
+ tableOptions: p,
1179
1219
  userStatusMap: c,
1180
1220
  roleTypeMap: d,
1181
1221
  roleStatusMap: C,
1182
- openDialog: B,
1222
+ openDialog: j,
1183
1223
  confirm: (q) => {
1184
- var j;
1185
- let Y = v[u];
1186
- f.value = q == null ? void 0 : q.map((O) => ({ label: (O == null ? void 0 : O.name) || (O == null ? void 0 : O.code), value: O[Y] })), u === "supplier" && (n.value = (j = q[0]) == null ? void 0 : j.linkmanPhone);
1224
+ var B;
1225
+ const U = v[r];
1226
+ m.value = q == null ? void 0 : q.map((x) => ({ label: (x == null ? void 0 : x.name) || (x == null ? void 0 : x.code), value: x[U] })), r === "supplier" && (s.value = (B = q[0]) == null ? void 0 : B.linkmanPhone);
1187
1227
  },
1188
1228
  getDetail: async (q) => {
1189
1229
  if (!q) return;
1190
- const Y = g[u];
1191
- let j = {};
1192
- const O = q == null ? void 0 : q.split(",");
1193
- if (u === "source") {
1194
- f.value = [
1230
+ const U = y[r];
1231
+ let B = {};
1232
+ const x = q == null ? void 0 : q.split(",");
1233
+ if (r === "source") {
1234
+ m.value = [
1195
1235
  {
1196
1236
  label: q,
1197
1237
  value: q
1198
1238
  }
1199
1239
  ];
1200
1240
  return;
1201
- } else u === "user" ? j.userIds = O : u === "role" ? j.ids = O : u === "supplier" ? j.id = O : j = O;
1202
- const [A, $] = await Y(j).run();
1203
- A || (u === "supplier" ? f.value = [
1241
+ } else r === "user" ? B.userIds = x : r === "role" ? B.ids = x : r === "supplier" ? B.id = x : B = x;
1242
+ const [A, R] = await U(B).run();
1243
+ A || (r === "supplier" ? m.value = [
1204
1244
  {
1205
- label: ($ == null ? void 0 : $.name) || ($ == null ? void 0 : $.code),
1206
- value: $ == null ? void 0 : $.id
1245
+ label: (R == null ? void 0 : R.name) || (R == null ? void 0 : R.code),
1246
+ value: R == null ? void 0 : R.id
1207
1247
  }
1208
- ] : f.value = $ == null ? void 0 : $.map((S) => ({ label: (S == null ? void 0 : S.name) || (S == null ? void 0 : S.code), value: S == null ? void 0 : S.id })));
1248
+ ] : m.value = R == null ? void 0 : R.map((S) => ({ label: (S == null ? void 0 : S.name) || (S == null ? void 0 : S.code), value: S == null ? void 0 : S.id })));
1209
1249
  },
1210
- searchData: D,
1211
- searchOptions: y,
1212
- linkmanPhone: n
1250
+ searchData: V,
1251
+ searchOptions: f,
1252
+ linkmanPhone: s
1213
1253
  };
1214
- }, ka = () => {
1215
- const o = i(""), e = i(""), t = i([]), l = i("");
1254
+ }, Oa = () => {
1255
+ const t = l(""), e = l(""), a = l([]), i = l("");
1216
1256
  return {
1217
- spacePath: o,
1257
+ spacePath: t,
1218
1258
  spaceName: e,
1219
- spaceTreeData: t,
1220
- searchSpace: l,
1221
- changeSpace: (n, s) => {
1222
- o.value = s[0].path, e.value = s[0].pathName;
1259
+ spaceTreeData: a,
1260
+ searchSpace: i,
1261
+ changeSpace: (s, o) => {
1262
+ t.value = o[0].path, e.value = o[0].pathName;
1223
1263
  },
1224
- spaceLoad: async (n) => {
1225
- let s = {
1264
+ spaceLoad: async (s) => {
1265
+ let o = {
1226
1266
  pageSize: 1e4,
1227
1267
  pageIndex: 1,
1228
- projectId: Ee().id,
1268
+ projectId: Be().id,
1229
1269
  //项目id
1230
1270
  spaceId: ""
1231
1271
  // orgId:getProjectInfo().id
1232
1272
  };
1233
- s.spaceId = n != null && n.id ? n.id : "";
1234
- let m = Yt;
1235
- const [v, c] = await m(s).run();
1273
+ o.spaceId = s != null && s.id ? s.id : "";
1274
+ let g = Ht;
1275
+ const [v, c] = await g(o).run();
1236
1276
  return v ? {} : c;
1237
1277
  },
1238
- filterSpaceTree: async (n) => {
1239
- if (!n) return [];
1240
- let s = xt;
1241
- const m = {
1242
- name: n
1243
- }, [v, c] = await s(m).run();
1278
+ filterSpaceTree: async (s) => {
1279
+ if (!s) return [];
1280
+ let o = Wt;
1281
+ const g = {
1282
+ name: s
1283
+ }, [v, c] = await o(g).run();
1244
1284
  return v ? {} : (c.forEach((d) => {
1245
1285
  d.path.startsWith("/0") && (d.path = d.path.slice(2) + `/${d.id}`), d._name = d.nodeName ? d.nodeName : d.name;
1246
1286
  }), c);
1247
1287
  },
1248
- getSpaceDetail: async (n) => {
1249
- const [s, m] = await Jt().run({ spaceId: n });
1250
- s || (o.value = m.path);
1288
+ getSpaceDetail: async (s) => {
1289
+ const [o, g] = await Zt().run({ spaceId: s });
1290
+ o || (t.value = g.path);
1251
1291
  }
1252
1292
  };
1253
- }, Sa = { class: "table-search-process-top" }, Na = {
1293
+ }, La = { class: "table-search-process-top" }, Ta = {
1254
1294
  name: "selector"
1255
- }, Oa = /* @__PURE__ */ Q({
1256
- ...Na,
1295
+ }, xa = /* @__PURE__ */ K({
1296
+ ...Ta,
1257
1297
  props: {
1258
1298
  setting: { default: () => ({
1259
1299
  icon: "",
@@ -1267,341 +1307,396 @@ const ha = (o, e) => {
1267
1307
  marginRight: {},
1268
1308
  store: {}
1269
1309
  },
1270
- setup(o) {
1271
- const e = o, { showData: t, setData: l, getData: p, flowKey: u, setFormRule: f, deleteRule: w, disabledData: n } = e.store || {}, s = i(""), m = i(!0);
1272
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
1273
- () => t.value,
1310
+ setup(t) {
1311
+ const e = t, { showData: a, setData: i, getData: u, flowKey: r, setFormRule: m, deleteRule: _, disabledData: s } = e.store || {}, o = l(""), g = l(!0);
1312
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
1313
+ () => a.value,
1274
1314
  () => {
1275
- m.value = t.value[e.setting.name], m.value || (s.value = "", r.value = [], w(e.setting.name)), m.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
1315
+ g.value = a.value[e.setting.name], g.value || (o.value = "", p.value = [], _(e.setting.name)), g.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
1276
1316
  },
1277
1317
  { deep: !0, immediate: !0 }
1278
1318
  );
1279
- const v = n.value[e.setting.name] || !1, {
1319
+ const v = s.value[e.setting.name] || !1, {
1280
1320
  dialogVisible: c,
1281
1321
  title: d,
1282
1322
  searchName: C,
1283
- tableOptions: g,
1323
+ tableOptions: y,
1284
1324
  selectorType: h,
1285
- selectOptions: r,
1286
- userStatusMap: y,
1325
+ selectOptions: p,
1326
+ userStatusMap: f,
1287
1327
  roleTypeMap: z,
1288
1328
  roleStatusMap: b,
1289
- openDialog: T,
1290
- confirm: R,
1291
- getDetail: B,
1292
- searchData: D,
1329
+ openDialog: L,
1330
+ confirm: T,
1331
+ getDetail: j,
1332
+ searchData: V,
1293
1333
  searchOptions: N,
1294
1334
  linkmanPhone: I
1295
- } = Va(e.setting, u, s), { spacePath: W, spaceName: ae, searchSpace: X, changeSpace: Z, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: q } = ka(), Y = i(!1);
1296
- H(e.setting.options.validateList).then((O) => {
1297
- Y.value = O;
1335
+ } = Na(e.setting, r, o), { spacePath: W, spaceName: ae, searchSpace: ee, changeSpace: Z, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: q } = Oa(), U = l(!1);
1336
+ H(e.setting.options.validateList).then((x) => {
1337
+ U.value = x;
1298
1338
  });
1299
- const j = i();
1300
- return e.setting.options.tip && (j.value = J(e.setting.options.tip)), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), h == "position" ? (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && q(s.value), s.value || l(e.setting.name, null), k(s, (O) => {
1301
- l(e.setting.name, O);
1302
- }), k(ae, (O) => {
1303
- l(e.setting.options.selector.type.positionName, O);
1304
- })) : h == "supplier" ? (s.value = p(e.setting.name) ? [p(e.setting.name)] : [s.value], s.value && B(p(e.setting.name)), k(s, (O) => {
1305
- l(e.setting.name, O == null ? void 0 : O.toString());
1306
- }), k(I, (O) => {
1307
- var A, $, S, ie;
1308
- ((ie = (S = ($ = (A = e == null ? void 0 : e.setting) == null ? void 0 : A.options) == null ? void 0 : $.selector) == null ? void 0 : S.type) == null ? void 0 : ie.supplierPhone) !== void 0 && l(e.setting.options.selector.type.supplierPhone, O);
1309
- })) : (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && B(s.value), s.value.length || l(e.setting.name, null), k(r, (O) => {
1310
- s.value = O.map((A) => A.value).toString(), l(e.setting.name, s.value);
1311
- })), (O, A) => (M(), x(ee, null, [
1312
- m.value && a(h) != "position" ? (M(), P(a(U), {
1313
- key: 0,
1314
- col: e.span,
1315
- modelValue: s.value,
1316
- "onUpdate:modelValue": A[1] || (A[1] = ($) => s.value = $),
1317
- prop: e.setting.name,
1318
- label: O.setting.desc,
1319
- type: "inputDialogSelect",
1320
- options: a(r),
1321
- helpMessage: j.value,
1322
- isView: e.isView,
1323
- disabled: a(v),
1324
- required: Y.value,
1325
- placeholder: O.setting.options.placeholder || a(_)("请选择"),
1326
- onOpenDialog: a(T)
1327
- }, {
1328
- default: L(() => {
1329
- var $;
1330
- return [
1331
- V(a(Dt), {
1332
- "append-to-body": "",
1333
- modelValue: a(c),
1334
- "onUpdate:modelValue": A[0] || (A[0] = (S) => he(c) ? c.value = S : null),
1335
- options: a(g),
1336
- onConfirm: a(R),
1337
- title: a(d),
1338
- "body-style": { padding: "0px" }
1339
- }, ct({ _: 2 }, [
1340
- (($ = a(N)) == null ? void 0 : $.length) > 0 ? {
1341
- name: "table-header-search",
1342
- fn: L(() => [
1343
- Be("div", Sa, [
1344
- V(a(zt), {
1345
- labelLength: "6",
1346
- options: a(N),
1347
- onConfirm: a(D),
1348
- "is-margin-right": !1
1349
- }, null, 8, ["options", "onConfirm"])
1350
- ])
1351
- ]),
1352
- key: "0"
1353
- } : void 0,
1354
- a(h) === "user" ? {
1355
- name: "table-column",
1356
- fn: L(() => [
1357
- V(a(F), {
1358
- label: a(_)("姓名"),
1359
- prop: "name"
1360
- }, null, 8, ["label"]),
1361
- V(a(F), {
1362
- label: a(_)("账号"),
1363
- prop: "userName"
1364
- }, null, 8, ["label"]),
1365
- V(a(F), {
1366
- label: a(_)("手机号"),
1367
- prop: "sensitivePhone"
1368
- }, {
1369
- default: L(({ row: S }) => [
1370
- V(a(De), {
1371
- placement: "top",
1372
- content: S.phone,
1373
- disabled: !S.phone
1374
- }, {
1375
- default: L(() => [
1376
- ne(se(S.sensitivePhone || "-"), 1)
1377
- ]),
1378
- _: 2
1379
- }, 1032, ["content", "disabled"])
1380
- ]),
1381
- _: 1
1382
- }, 8, ["label"]),
1383
- V(a(F), {
1384
- label: a(_)("状态")
1385
- }, {
1386
- default: L(({ row: S }) => [
1387
- ne(se(a(y)[S.status]), 1)
1388
- ]),
1389
- _: 1
1390
- }, 8, ["label"])
1391
- ]),
1392
- key: "1"
1393
- } : void 0,
1394
- a(h) === "org" ? {
1395
- name: "table-column",
1396
- fn: L(() => [
1397
- V(a(F), {
1398
- label: a(_)("组织名称"),
1399
- prop: "name"
1400
- }, null, 8, ["label"]),
1401
- V(a(F), {
1402
- label: a(_)("组织编码"),
1403
- prop: "code"
1404
- }, null, 8, ["label"]),
1405
- V(a(F), {
1406
- label: a(_)("组织类型"),
1407
- prop: "typeName"
1408
- }, null, 8, ["label"])
1409
- ]),
1410
- key: "2"
1411
- } : void 0,
1412
- a(h) === "role" ? {
1413
- name: "table-column",
1414
- fn: L(() => [
1415
- V(a(F), {
1416
- label: a(_)("角色名称"),
1417
- prop: "name"
1418
- }, null, 8, ["label"]),
1419
- V(a(F), {
1420
- label: a(_)("角色类型")
1421
- }, {
1422
- default: L(({ row: S }) => [
1423
- ne(se(a(z)[S.type]), 1)
1424
- ]),
1425
- _: 1
1426
- }, 8, ["label"]),
1427
- V(a(F), {
1428
- label: a(_)("角色状态")
1429
- }, {
1430
- default: L(({ row: S }) => [
1431
- ne(se(a(b)[S.status]), 1)
1432
- ]),
1433
- _: 1
1434
- }, 8, ["label"])
1435
- ]),
1436
- key: "3"
1437
- } : void 0,
1438
- a(h) === "job" ? {
1439
- name: "table-column",
1440
- fn: L(() => [
1441
- V(a(F), {
1442
- label: a(_)("职务名称"),
1443
- prop: "name"
1444
- }, null, 8, ["label"]),
1445
- V(a(F), {
1446
- label: a(_)("职务编码"),
1447
- prop: "code"
1448
- }, null, 8, ["label"]),
1449
- V(a(F), {
1450
- label: a(_)("所属组织路径"),
1451
- prop: "groupName"
1452
- }, null, 8, ["label"])
1453
- ]),
1454
- key: "4"
1455
- } : void 0,
1456
- a(h) === "post" ? {
1457
- name: "table-column",
1458
- fn: L(() => [
1459
- V(a(F), {
1460
- label: a(_)("岗位名称"),
1461
- prop: "name"
1462
- }, null, 8, ["label"]),
1463
- V(a(F), {
1464
- label: a(_)("岗位编码"),
1465
- prop: "code"
1466
- }, null, 8, ["label"]),
1467
- V(a(F), {
1468
- label: a(_)("所属组织路径"),
1469
- prop: "groupName"
1470
- }, null, 8, ["label"])
1471
- ]),
1472
- key: "5"
1473
- } : void 0,
1474
- a(h) === "supplier" ? {
1475
- name: "table-column",
1476
- fn: L(() => [
1477
- V(a(F), {
1478
- type: "index",
1479
- width: "50"
1480
- }),
1481
- V(a(F), {
1482
- label: a(_)("供应商名称"),
1483
- prop: "name"
1484
- }, null, 8, ["label"]),
1485
- V(a(F), {
1486
- label: a(_)("供应商编码"),
1487
- prop: "code"
1488
- }, null, 8, ["label"]),
1489
- V(a(F), {
1490
- label: a(_)("供应商等级"),
1491
- prop: "supplierLevel"
1492
- }, null, 8, ["label"]),
1493
- V(a(F), {
1494
- label: a(_)("供应商分类"),
1495
- prop: "classificationName"
1496
- }, null, 8, ["label"]),
1497
- V(a(F), {
1498
- label: a(_)("个人/公司"),
1499
- prop: "businessType"
1500
- }, {
1501
- default: L(({ row: S }) => [
1502
- ne(se(S.businessType == "COMPANY" ? a(_)("公司") : a(_)("个人")), 1)
1503
- ]),
1504
- _: 1
1505
- }, 8, ["label"])
1506
- ]),
1507
- key: "6"
1508
- } : void 0,
1509
- a(h) === "source" ? {
1510
- name: "table-column",
1511
- fn: L(() => [
1512
- V(a(F), {
1513
- type: "index",
1514
- width: "50"
1515
- }),
1516
- V(a(F), {
1517
- label: a(_)("单据编码"),
1518
- prop: "code"
1519
- }, null, 8, ["label"]),
1520
- V(a(F), {
1521
- label: a(_)("申请人"),
1522
- prop: "userName"
1523
- }, null, 8, ["label"]),
1524
- V(a(F), {
1525
- label: a(_)("联系电话"),
1526
- prop: "sensitivePhone"
1527
- }, {
1528
- default: L(({ row: S }) => [
1529
- V(a(De), {
1530
- placement: "top",
1531
- content: S.phone,
1532
- disabled: !S.phone
1533
- }, {
1534
- default: L(() => [
1535
- ne(se(S.sensitivePhone || "-"), 1)
1536
- ]),
1537
- _: 2
1538
- }, 1032, ["content", "disabled"])
1539
- ]),
1540
- _: 1
1541
- }, 8, ["label"]),
1542
- V(a(F), {
1543
- label: a(_)("计划领用日期"),
1544
- prop: "claimingDate"
1545
- }, {
1546
- default: L(({ row: S }) => [
1547
- ne(se(S.claimingDate ? a(ve)(Number(S == null ? void 0 : S.claimingDate)).format("YYYY/MM/DD") : "-"), 1)
1548
- ]),
1549
- _: 1
1550
- }, 8, ["label"]),
1551
- V(a(F), {
1552
- label: a(_)("资产用途"),
1553
- prop: "purpose"
1554
- }, null, 8, ["label"])
1555
- ]),
1556
- key: "7"
1557
- } : void 0
1558
- ]), 1032, ["modelValue", "options", "onConfirm", "title"])
1559
- ];
1560
- }),
1561
- _: 1
1562
- }, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : K("", !0),
1563
- m.value && a(h) == "position" ? (M(), P(a(U), {
1564
- key: 1,
1565
- col: e.span,
1566
- label: O.setting.desc,
1567
- prop: e.setting.name,
1568
- type: "treeSelect",
1569
- "node-key": "id",
1570
- showFullPath: !0,
1571
- helpMessage: j.value,
1572
- placeholder: O.setting.options.placeholder,
1573
- required: Y.value,
1574
- modelValue: s.value,
1575
- "onUpdate:modelValue": A[2] || (A[2] = ($) => s.value = $),
1576
- keyword: a(X),
1577
- "onUpdate:keyword": A[3] || (A[3] = ($) => he(X) ? X.value = $ : null),
1578
- path: a(W),
1579
- "onUpdate:path": A[4] || (A[4] = ($) => he(W) ? W.value = $ : null),
1580
- isView: e.isView,
1581
- disabled: a(v),
1582
- load: a(de),
1583
- search: a(ce),
1584
- props: {
1585
- isLeaf: "leaf",
1586
- label: "name"
1587
- },
1588
- onChange: a(Z)
1589
- }, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : K("", !0)
1590
- ], 64));
1339
+ const B = l();
1340
+ return e.setting.options.tip && (B.value = J(e.setting.options.tip)), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), h == "position" ? (o.value = u(e.setting.name) ? u(e.setting.name) : o.value, o.value && q(o.value), o.value || i(e.setting.name, null), k(o, (x) => {
1341
+ i(e.setting.name, x);
1342
+ }), k(ae, (x) => {
1343
+ i(e.setting.options.selector.type.positionName, x);
1344
+ })) : h == "supplier" ? (o.value = u(e.setting.name) ? [u(e.setting.name)] : [o.value], o.value && j(u(e.setting.name)), k(o, (x) => {
1345
+ i(e.setting.name, x == null ? void 0 : x.toString());
1346
+ }), k(I, (x) => {
1347
+ var A, R, S, re;
1348
+ ((re = (S = (R = (A = e == null ? void 0 : e.setting) == null ? void 0 : A.options) == null ? void 0 : R.selector) == null ? void 0 : S.type) == null ? void 0 : re.supplierPhone) !== void 0 && i(e.setting.options.selector.type.supplierPhone, x);
1349
+ })) : (o.value = u(e.setting.name) ? u(e.setting.name) : o.value, o.value && j(o.value), o.value.length || i(e.setting.name, null), k(p, (x) => {
1350
+ o.value = x.map((A) => A.value).toString(), i(e.setting.name, o.value);
1351
+ })), (x, A) => (D(), Y(
1352
+ X,
1353
+ null,
1354
+ [
1355
+ g.value && n(h) != "position" ? (D(), $(n(Q), {
1356
+ key: 0,
1357
+ col: e.span,
1358
+ modelValue: o.value,
1359
+ "onUpdate:modelValue": A[1] || (A[1] = (R) => o.value = R),
1360
+ prop: e.setting.name,
1361
+ label: t.setting.desc,
1362
+ type: "inputDialogSelect",
1363
+ options: n(p),
1364
+ helpMessage: B.value,
1365
+ isView: e.isView,
1366
+ disabled: n(v),
1367
+ required: U.value,
1368
+ placeholder: t.setting.options.placeholder || n(w)("请选择"),
1369
+ onOpenDialog: n(L)
1370
+ }, {
1371
+ default: O(() => {
1372
+ var R;
1373
+ return [
1374
+ M(n(Dt), {
1375
+ "append-to-body": "",
1376
+ modelValue: n(c),
1377
+ "onUpdate:modelValue": A[0] || (A[0] = (S) => he(c) ? c.value = S : null),
1378
+ options: n(y),
1379
+ onConfirm: n(T),
1380
+ title: n(d),
1381
+ "body-style": { padding: "0px" }
1382
+ }, gt({
1383
+ _: 2
1384
+ /* DYNAMIC */
1385
+ }, [
1386
+ ((R = n(N)) == null ? void 0 : R.length) > 0 ? {
1387
+ name: "table-header-search",
1388
+ fn: O(() => [
1389
+ qe("div", La, [
1390
+ M(n(Vt), {
1391
+ labelLength: "6",
1392
+ options: n(N),
1393
+ onConfirm: n(V),
1394
+ "is-margin-right": !1
1395
+ }, null, 8, ["options", "onConfirm"])
1396
+ ])
1397
+ ]),
1398
+ key: "0"
1399
+ } : void 0,
1400
+ n(h) === "user" ? {
1401
+ name: "table-column",
1402
+ fn: O(() => [
1403
+ M(n(P), {
1404
+ label: n(w)("姓名"),
1405
+ prop: "name"
1406
+ }, null, 8, ["label"]),
1407
+ M(n(P), {
1408
+ label: n(w)("账号"),
1409
+ prop: "userName"
1410
+ }, null, 8, ["label"]),
1411
+ M(n(P), {
1412
+ label: n(w)("手机号"),
1413
+ prop: "sensitivePhone"
1414
+ }, {
1415
+ default: O(({ row: S }) => [
1416
+ M(n(Ve), {
1417
+ placement: "top",
1418
+ content: S.phone,
1419
+ disabled: !S.phone
1420
+ }, {
1421
+ default: O(() => [
1422
+ ne(
1423
+ se(S.sensitivePhone || "-"),
1424
+ 1
1425
+ /* TEXT */
1426
+ )
1427
+ ]),
1428
+ _: 2
1429
+ /* DYNAMIC */
1430
+ }, 1032, ["content", "disabled"])
1431
+ ]),
1432
+ _: 1
1433
+ /* STABLE */
1434
+ }, 8, ["label"]),
1435
+ M(n(P), {
1436
+ label: n(w)("状态")
1437
+ }, {
1438
+ default: O(({ row: S }) => [
1439
+ ne(
1440
+ se(n(f)[S.status]),
1441
+ 1
1442
+ /* TEXT */
1443
+ )
1444
+ ]),
1445
+ _: 1
1446
+ /* STABLE */
1447
+ }, 8, ["label"])
1448
+ ]),
1449
+ key: "1"
1450
+ } : void 0,
1451
+ n(h) === "org" ? {
1452
+ name: "table-column",
1453
+ fn: O(() => [
1454
+ M(n(P), {
1455
+ label: n(w)("组织名称"),
1456
+ prop: "name"
1457
+ }, null, 8, ["label"]),
1458
+ M(n(P), {
1459
+ label: n(w)("组织编码"),
1460
+ prop: "code"
1461
+ }, null, 8, ["label"]),
1462
+ M(n(P), {
1463
+ label: n(w)("组织类型"),
1464
+ prop: "typeName"
1465
+ }, null, 8, ["label"])
1466
+ ]),
1467
+ key: "2"
1468
+ } : void 0,
1469
+ n(h) === "role" ? {
1470
+ name: "table-column",
1471
+ fn: O(() => [
1472
+ M(n(P), {
1473
+ label: n(w)("角色名称"),
1474
+ prop: "name"
1475
+ }, null, 8, ["label"]),
1476
+ M(n(P), {
1477
+ label: n(w)("角色类型")
1478
+ }, {
1479
+ default: O(({ row: S }) => [
1480
+ ne(
1481
+ se(n(z)[S.type]),
1482
+ 1
1483
+ /* TEXT */
1484
+ )
1485
+ ]),
1486
+ _: 1
1487
+ /* STABLE */
1488
+ }, 8, ["label"]),
1489
+ M(n(P), {
1490
+ label: n(w)("角色状态")
1491
+ }, {
1492
+ default: O(({ row: S }) => [
1493
+ ne(
1494
+ se(n(b)[S.status]),
1495
+ 1
1496
+ /* TEXT */
1497
+ )
1498
+ ]),
1499
+ _: 1
1500
+ /* STABLE */
1501
+ }, 8, ["label"])
1502
+ ]),
1503
+ key: "3"
1504
+ } : void 0,
1505
+ n(h) === "job" ? {
1506
+ name: "table-column",
1507
+ fn: O(() => [
1508
+ M(n(P), {
1509
+ label: n(w)("职务名称"),
1510
+ prop: "name"
1511
+ }, null, 8, ["label"]),
1512
+ M(n(P), {
1513
+ label: n(w)("职务编码"),
1514
+ prop: "code"
1515
+ }, null, 8, ["label"]),
1516
+ M(n(P), {
1517
+ label: n(w)("所属组织路径"),
1518
+ prop: "groupName"
1519
+ }, null, 8, ["label"])
1520
+ ]),
1521
+ key: "4"
1522
+ } : void 0,
1523
+ n(h) === "post" ? {
1524
+ name: "table-column",
1525
+ fn: O(() => [
1526
+ M(n(P), {
1527
+ label: n(w)("岗位名称"),
1528
+ prop: "name"
1529
+ }, null, 8, ["label"]),
1530
+ M(n(P), {
1531
+ label: n(w)("岗位编码"),
1532
+ prop: "code"
1533
+ }, null, 8, ["label"]),
1534
+ M(n(P), {
1535
+ label: n(w)("所属组织路径"),
1536
+ prop: "groupName"
1537
+ }, null, 8, ["label"])
1538
+ ]),
1539
+ key: "5"
1540
+ } : void 0,
1541
+ n(h) === "supplier" ? {
1542
+ name: "table-column",
1543
+ fn: O(() => [
1544
+ M(n(P), {
1545
+ type: "index",
1546
+ width: "50"
1547
+ }),
1548
+ M(n(P), {
1549
+ label: n(w)("供应商名称"),
1550
+ prop: "name"
1551
+ }, null, 8, ["label"]),
1552
+ M(n(P), {
1553
+ label: n(w)("供应商编码"),
1554
+ prop: "code"
1555
+ }, null, 8, ["label"]),
1556
+ M(n(P), {
1557
+ label: n(w)("供应商等级"),
1558
+ prop: "supplierLevel"
1559
+ }, null, 8, ["label"]),
1560
+ M(n(P), {
1561
+ label: n(w)("供应商分类"),
1562
+ prop: "classificationName"
1563
+ }, {
1564
+ default: O(() => [
1565
+ F(` <template #default="{row}">\r
1566
+ {{ getSupplierName(row) }}\r
1567
+ </template> `)
1568
+ ]),
1569
+ _: 1
1570
+ /* STABLE */
1571
+ }, 8, ["label"]),
1572
+ M(n(P), {
1573
+ label: n(w)("个人/公司"),
1574
+ prop: "businessType"
1575
+ }, {
1576
+ default: O(({ row: S }) => [
1577
+ ne(
1578
+ se(S.businessType == "COMPANY" ? n(w)("公司") : n(w)("个人")),
1579
+ 1
1580
+ /* TEXT */
1581
+ )
1582
+ ]),
1583
+ _: 1
1584
+ /* STABLE */
1585
+ }, 8, ["label"])
1586
+ ]),
1587
+ key: "6"
1588
+ } : void 0,
1589
+ n(h) === "source" ? {
1590
+ name: "table-column",
1591
+ fn: O(() => [
1592
+ M(n(P), {
1593
+ type: "index",
1594
+ width: "50"
1595
+ }),
1596
+ M(n(P), {
1597
+ label: n(w)("单据编码"),
1598
+ prop: "code"
1599
+ }, null, 8, ["label"]),
1600
+ M(n(P), {
1601
+ label: n(w)("申请人"),
1602
+ prop: "userName"
1603
+ }, null, 8, ["label"]),
1604
+ M(n(P), {
1605
+ label: n(w)("联系电话"),
1606
+ prop: "sensitivePhone"
1607
+ }, {
1608
+ default: O(({ row: S }) => [
1609
+ M(n(Ve), {
1610
+ placement: "top",
1611
+ content: S.phone,
1612
+ disabled: !S.phone
1613
+ }, {
1614
+ default: O(() => [
1615
+ ne(
1616
+ se(S.sensitivePhone || "-"),
1617
+ 1
1618
+ /* TEXT */
1619
+ )
1620
+ ]),
1621
+ _: 2
1622
+ /* DYNAMIC */
1623
+ }, 1032, ["content", "disabled"])
1624
+ ]),
1625
+ _: 1
1626
+ /* STABLE */
1627
+ }, 8, ["label"]),
1628
+ M(n(P), {
1629
+ label: n(w)("计划领用日期"),
1630
+ prop: "claimingDate"
1631
+ }, {
1632
+ default: O(({ row: S }) => [
1633
+ ne(
1634
+ se(S.claimingDate ? n(ve)(Number(S == null ? void 0 : S.claimingDate)).format("YYYY/MM/DD") : "-"),
1635
+ 1
1636
+ /* TEXT */
1637
+ )
1638
+ ]),
1639
+ _: 1
1640
+ /* STABLE */
1641
+ }, 8, ["label"]),
1642
+ M(n(P), {
1643
+ label: n(w)("资产用途"),
1644
+ prop: "purpose"
1645
+ }, null, 8, ["label"])
1646
+ ]),
1647
+ key: "7"
1648
+ } : void 0
1649
+ ]), 1032, ["modelValue", "options", "onConfirm", "title"])
1650
+ ];
1651
+ }),
1652
+ _: 1
1653
+ /* STABLE */
1654
+ }, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : F("v-if", !0),
1655
+ g.value && n(h) == "position" ? (D(), $(n(Q), {
1656
+ key: 1,
1657
+ col: e.span,
1658
+ label: t.setting.desc,
1659
+ prop: e.setting.name,
1660
+ type: "treeSelect",
1661
+ "node-key": "id",
1662
+ showFullPath: !0,
1663
+ helpMessage: B.value,
1664
+ placeholder: t.setting.options.placeholder,
1665
+ required: U.value,
1666
+ modelValue: o.value,
1667
+ "onUpdate:modelValue": A[2] || (A[2] = (R) => o.value = R),
1668
+ keyword: n(ee),
1669
+ "onUpdate:keyword": A[3] || (A[3] = (R) => he(ee) ? ee.value = R : null),
1670
+ path: n(W),
1671
+ "onUpdate:path": A[4] || (A[4] = (R) => he(W) ? W.value = R : null),
1672
+ isView: e.isView,
1673
+ disabled: n(v),
1674
+ load: n(de),
1675
+ search: n(ce),
1676
+ props: {
1677
+ isLeaf: "leaf",
1678
+ label: "name"
1679
+ },
1680
+ onChange: n(Z)
1681
+ }, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : F("v-if", !0)
1682
+ ],
1683
+ 64
1684
+ /* STABLE_FRAGMENT */
1685
+ ));
1591
1686
  }
1592
- }), La = /* @__PURE__ */ fe(Oa, [["__scopeId", "data-v-6a9e8be1"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1687
+ }), Ra = /* @__PURE__ */ fe(xa, [["__scopeId", "data-v-e18e7c36"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1593
1688
  __proto__: null,
1594
- default: La
1595
- }, Symbol.toStringTag, { value: "Module" })), Ta = {
1689
+ default: Ra
1690
+ }, Symbol.toStringTag, { value: "Module" })), $a = {
1596
1691
  key: 0,
1597
1692
  class: "form-image"
1598
- }, Ra = {
1693
+ }, Pa = {
1599
1694
  key: 1,
1600
1695
  style: { "margin-bottom": "10px" }
1601
- }, $a = {
1696
+ }, Fa = {
1602
1697
  name: "soundRecording"
1603
- }, Pa = /* @__PURE__ */ Q({
1604
- ...$a,
1698
+ }, Ia = /* @__PURE__ */ K({
1699
+ ...Fa,
1605
1700
  props: {
1606
1701
  setting: { default: () => ({
1607
1702
  icon: "",
@@ -1615,57 +1710,59 @@ const ha = (o, e) => {
1615
1710
  marginRight: {},
1616
1711
  store: {}
1617
1712
  },
1618
- setup(o) {
1619
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
1620
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
1621
- () => t.value,
1713
+ setup(t) {
1714
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
1715
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
1716
+ () => a.value,
1622
1717
  () => {
1623
- s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
1718
+ o.value = a.value[e.setting.name], o.value || (s.value = "", _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
1624
1719
  },
1625
1720
  { deep: !0, immediate: !0 }
1626
- ), l.value[e.setting.name];
1627
- const { baseURL: m } = Mt(), v = i(!1);
1721
+ ), i.value[e.setting.name];
1722
+ const { baseURL: g } = Mt(), v = l(!1);
1628
1723
  H(e.setting.options.validateList).then((C) => {
1629
1724
  v.value = C;
1630
1725
  });
1631
- const c = i("info"), d = i();
1632
- if (e.setting.options.tip && (d.value = J(e.setting.options.tip)), u(e.setting.name)) {
1633
- const C = JSON.parse(u(e.setting.name));
1634
- n.value = m + C[0].url;
1726
+ const c = l("info"), d = l();
1727
+ if (e.setting.options.tip && (d.value = J(e.setting.options.tip)), r(e.setting.name)) {
1728
+ const C = JSON.parse(r(e.setting.name));
1729
+ s.value = g + C[0].url;
1635
1730
  }
1636
- return e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), (C, g) => e.isView && s.value ? (M(), P(a(U), {
1731
+ return e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), (C, y) => e.isView && o.value ? (D(), $(n(Q), {
1637
1732
  key: 0,
1638
- modelValue: n.value,
1639
- "onUpdate:modelValue": g[2] || (g[2] = (h) => n.value = h),
1733
+ modelValue: s.value,
1734
+ "onUpdate:modelValue": y[2] || (y[2] = (h) => s.value = h),
1640
1735
  "margin-bottom": "0",
1641
1736
  prop: e.setting.name,
1642
- label: C.setting.desc,
1737
+ label: t.setting.desc,
1643
1738
  type: "custom",
1644
1739
  helpMessage: d.value,
1645
1740
  required: v.value,
1646
1741
  col: e.span
1647
1742
  }, {
1648
- default: L(() => [
1649
- n.value ? (M(), x("div", Ta, [
1650
- V(a(je), {
1651
- modelValue: n.value,
1652
- "onUpdate:modelValue": g[0] || (g[0] = (h) => n.value = h),
1743
+ default: O(() => [
1744
+ s.value ? (D(), Y("div", $a, [
1745
+ M(n(je), {
1746
+ modelValue: s.value,
1747
+ "onUpdate:modelValue": y[0] || (y[0] = (h) => s.value = h),
1653
1748
  status: c.value,
1654
- "onUpdate:status": g[1] || (g[1] = (h) => c.value = h),
1749
+ "onUpdate:status": y[1] || (y[1] = (h) => c.value = h),
1750
+ style: {},
1655
1751
  required: v.value
1656
1752
  }, null, 8, ["modelValue", "status", "required"])
1657
- ])) : (M(), x("div", Ra, "-"))
1753
+ ])) : (D(), Y("div", Pa, "-"))
1658
1754
  ]),
1659
1755
  _: 1
1660
- }, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : K("", !0);
1756
+ /* STABLE */
1757
+ }, 8, ["modelValue", "prop", "label", "helpMessage", "required", "col"])) : F("v-if", !0);
1661
1758
  }
1662
- }), Fa = /* @__PURE__ */ fe(Pa, [["__scopeId", "data-v-df3f01d1"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1759
+ }), qa = /* @__PURE__ */ fe(Ia, [["__scopeId", "data-v-81046faa"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1663
1760
  __proto__: null,
1664
- default: Fa
1665
- }, Symbol.toStringTag, { value: "Module" })), Ia = {
1761
+ default: qa
1762
+ }, Symbol.toStringTag, { value: "Module" })), ja = {
1666
1763
  name: "switch"
1667
- }, qa = /* @__PURE__ */ Q({
1668
- ...Ia,
1764
+ }, Ba = /* @__PURE__ */ K({
1765
+ ...ja,
1669
1766
  props: {
1670
1767
  setting: { default: () => ({
1671
1768
  icon: "",
@@ -1679,49 +1776,49 @@ const ha = (o, e) => {
1679
1776
  marginRight: {},
1680
1777
  store: {}
1681
1778
  },
1682
- setup(o) {
1683
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
1684
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
1685
- () => t.value,
1779
+ setup(t) {
1780
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
1781
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
1782
+ () => a.value,
1686
1783
  () => {
1687
- s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
1784
+ o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
1688
1785
  },
1689
1786
  { deep: !0, immediate: !0 }
1690
1787
  );
1691
- const m = l.value[e.setting.name] || !1, v = i(!1);
1788
+ const g = i.value[e.setting.name] || !1, v = l(!1);
1692
1789
  H(e.setting.options.validateList).then((d) => {
1693
1790
  v.value = d;
1694
1791
  });
1695
- const c = i();
1792
+ const c = l();
1696
1793
  return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
1697
- n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
1698
- }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(n, (d) => {
1699
- p(e.setting.name, d);
1700
- }), (d, C) => s.value ? (M(), P(a(U), {
1794
+ s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
1795
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (d) => {
1796
+ u(e.setting.name, d);
1797
+ }), (d, C) => o.value ? (D(), $(n(Q), {
1701
1798
  key: 0,
1702
1799
  col: e.span,
1703
- modelValue: n.value,
1704
- "onUpdate:modelValue": C[0] || (C[0] = (g) => n.value = g),
1705
- label: d.setting.desc,
1800
+ modelValue: s.value,
1801
+ "onUpdate:modelValue": C[0] || (C[0] = (y) => s.value = y),
1802
+ label: t.setting.desc,
1706
1803
  type: "switch",
1707
1804
  prop: e.setting.name,
1708
- activeValue: d.setting.options.activeValue,
1709
- inactiveValue: d.setting.options.inactiveValue,
1710
- activeText: d.setting.options.activeText,
1711
- inactiveText: d.setting.options.inactiveText,
1805
+ activeValue: t.setting.options.activeValue,
1806
+ inactiveValue: t.setting.options.inactiveValue,
1807
+ activeText: t.setting.options.activeText,
1808
+ inactiveText: t.setting.options.inactiveText,
1712
1809
  helpMessage: c.value,
1713
- disabled: a(m),
1810
+ disabled: n(g),
1714
1811
  required: v.value,
1715
1812
  isView: e.isView
1716
- }, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : K("", !0);
1813
+ }, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : F("v-if", !0);
1717
1814
  }
1718
1815
  }), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1719
1816
  __proto__: null,
1720
- default: qa
1721
- }, Symbol.toStringTag, { value: "Module" })), Ba = {
1817
+ default: Ba
1818
+ }, Symbol.toStringTag, { value: "Module" })), Ea = {
1722
1819
  name: "text"
1723
- }, ja = /* @__PURE__ */ Q({
1724
- ...Ba,
1820
+ }, Ka = /* @__PURE__ */ K({
1821
+ ...Ea,
1725
1822
  props: {
1726
1823
  setting: { default: () => ({
1727
1824
  icon: "",
@@ -1735,44 +1832,45 @@ const ha = (o, e) => {
1735
1832
  marginRight: {},
1736
1833
  store: {}
1737
1834
  },
1738
- setup(o) {
1739
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
1740
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
1741
- () => t.value,
1835
+ setup(t) {
1836
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
1837
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
1838
+ () => a.value,
1742
1839
  () => {
1743
- s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
1840
+ o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
1744
1841
  },
1745
1842
  { deep: !0, immediate: !0 }
1746
1843
  );
1747
- const m = i();
1748
- return e.setting.options.tip && (m.value = J(e.setting.options.tip)), n.value = e.setting.options.textValue, n.value = u(e.setting.name) || n.value, n.value || p(e.setting.name, null), k(n, (v) => {
1749
- p(e.setting.name, v);
1750
- }), (v, c) => s.value ? (M(), P(a(U), {
1844
+ const g = l();
1845
+ return e.setting.options.tip && (g.value = J(e.setting.options.tip)), s.value = e.setting.options.textValue, s.value = r(e.setting.name) || s.value, s.value || u(e.setting.name, null), k(s, (v) => {
1846
+ u(e.setting.name, v);
1847
+ }), (v, c) => o.value ? (D(), $(n(Q), {
1751
1848
  key: 0,
1752
1849
  col: e.span,
1753
- modelValue: n.value,
1754
- "onUpdate:modelValue": c[1] || (c[1] = (d) => n.value = d),
1755
- label: v.setting.desc,
1850
+ modelValue: s.value,
1851
+ "onUpdate:modelValue": c[1] || (c[1] = (d) => s.value = d),
1852
+ label: t.setting.desc,
1756
1853
  type: "custom",
1757
- helpMessage: m.value
1854
+ helpMessage: g.value
1758
1855
  }, {
1759
- default: L(() => [
1760
- V(a(Ke), {
1856
+ default: O(() => [
1857
+ M(n(Ee), {
1761
1858
  type: "text",
1762
- modelValue: n.value,
1763
- "onUpdate:modelValue": c[0] || (c[0] = (d) => n.value = d)
1859
+ modelValue: s.value,
1860
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => s.value = d)
1764
1861
  }, null, 8, ["modelValue"])
1765
1862
  ]),
1766
1863
  _: 1
1767
- }, 8, ["col", "modelValue", "label", "helpMessage"])) : K("", !0);
1864
+ /* STABLE */
1865
+ }, 8, ["col", "modelValue", "label", "helpMessage"])) : F("v-if", !0);
1768
1866
  }
1769
1867
  }), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1770
1868
  __proto__: null,
1771
- default: ja
1772
- }, Symbol.toStringTag, { value: "Module" })), Ea = {
1869
+ default: Ka
1870
+ }, Symbol.toStringTag, { value: "Module" })), Aa = {
1773
1871
  name: "textarea"
1774
- }, Ka = /* @__PURE__ */ Q({
1775
- ...Ea,
1872
+ }, Qa = /* @__PURE__ */ K({
1873
+ ...Aa,
1776
1874
  props: {
1777
1875
  setting: { default: () => ({
1778
1876
  icon: "",
@@ -1786,79 +1884,86 @@ const ha = (o, e) => {
1786
1884
  marginRight: {},
1787
1885
  store: {}
1788
1886
  },
1789
- setup(o) {
1790
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(""), s = i(!0);
1791
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
1792
- () => t.value,
1887
+ setup(t) {
1888
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(""), o = l(!0);
1889
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
1890
+ () => a.value,
1793
1891
  () => {
1794
- s.value = t.value[e.setting.name], s.value || (n.value = "", w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
1892
+ o.value = a.value[e.setting.name], o.value || (s.value = "", _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
1795
1893
  },
1796
1894
  { deep: !0, immediate: !0 }
1797
1895
  );
1798
- const m = l.value[e.setting.name] || !1, v = i(!1);
1799
- H(e.setting.options.validateList).then((g) => {
1800
- v.value = g;
1896
+ const g = i.value[e.setting.name] || !1, v = l(!1);
1897
+ H(e.setting.options.validateList).then((y) => {
1898
+ v.value = y;
1801
1899
  });
1802
- const c = i();
1900
+ const c = l();
1803
1901
  e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
1804
- n.value = u(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || p(e.setting.name, null);
1902
+ s.value = r(e.setting.name) || e.setting.options.formulasDiyJs || s.value, s.value || u(e.setting.name, null);
1805
1903
  }, 50);
1806
- const d = i(), C = i();
1807
- return d.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", C.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(n, (g) => {
1808
- p(e.setting.name, g);
1809
- }), (g, h) => (M(), x(ee, null, [
1810
- !g.setting.options.isEditor && s.value ? (M(), P(a(U), {
1811
- key: 0,
1812
- col: e.span,
1813
- label: g.setting.desc,
1814
- type: "textarea",
1815
- modelValue: n.value,
1816
- "onUpdate:modelValue": h[0] || (h[0] = (r) => n.value = r),
1817
- prop: e.setting.name,
1818
- placeholder: g.setting.options.placeholder,
1819
- disabled: g.setting.options.isInputEdit || a(m),
1820
- isView: e.isView,
1821
- autosize: {
1822
- minRows: 1,
1823
- maxRows: 3
1824
- },
1825
- "show-word-limit": "",
1826
- helpMessage: c.value,
1827
- required: v.value
1828
- }, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : K("", !0),
1829
- g.setting.options.isEditor && s.value ? (M(), P(a(U), {
1830
- key: 1,
1831
- modelValue: n.value,
1832
- "onUpdate:modelValue": h[2] || (h[2] = (r) => n.value = r),
1833
- prop: e.setting.name,
1834
- contentWidth: d.value,
1835
- label: g.setting.desc,
1836
- type: "custom",
1837
- helpMessage: c.value,
1838
- required: v.value,
1839
- readOnly: e.isView
1840
- }, {
1841
- default: L(() => [
1842
- V(a(Ke), {
1843
- ref: "editor",
1844
- width: d.value,
1845
- height: C.value,
1846
- modelValue: n.value,
1847
- "onUpdate:modelValue": h[1] || (h[1] = (r) => n.value = r),
1848
- placeholder: g.setting.options.placeholder
1849
- }, null, 8, ["width", "height", "modelValue", "placeholder"])
1850
- ]),
1851
- _: 1
1852
- }, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : K("", !0)
1853
- ], 64));
1904
+ const d = l(), C = l();
1905
+ return d.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", C.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (y) => {
1906
+ u(e.setting.name, y);
1907
+ }), (y, h) => (D(), Y(
1908
+ X,
1909
+ null,
1910
+ [
1911
+ !t.setting.options.isEditor && o.value ? (D(), $(n(Q), {
1912
+ key: 0,
1913
+ col: e.span,
1914
+ label: t.setting.desc,
1915
+ type: "textarea",
1916
+ modelValue: s.value,
1917
+ "onUpdate:modelValue": h[0] || (h[0] = (p) => s.value = p),
1918
+ prop: e.setting.name,
1919
+ placeholder: t.setting.options.placeholder,
1920
+ disabled: t.setting.options.isInputEdit || n(g),
1921
+ isView: e.isView,
1922
+ autosize: {
1923
+ minRows: 1,
1924
+ maxRows: 3
1925
+ },
1926
+ "show-word-limit": "",
1927
+ helpMessage: c.value,
1928
+ required: v.value
1929
+ }, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : F("v-if", !0),
1930
+ t.setting.options.isEditor && o.value ? (D(), $(n(Q), {
1931
+ key: 1,
1932
+ modelValue: s.value,
1933
+ "onUpdate:modelValue": h[2] || (h[2] = (p) => s.value = p),
1934
+ prop: e.setting.name,
1935
+ contentWidth: d.value,
1936
+ label: t.setting.desc,
1937
+ type: "custom",
1938
+ helpMessage: c.value,
1939
+ required: v.value,
1940
+ readOnly: e.isView
1941
+ }, {
1942
+ default: O(() => [
1943
+ M(n(Ee), {
1944
+ ref: "editor",
1945
+ width: d.value,
1946
+ height: C.value,
1947
+ modelValue: s.value,
1948
+ "onUpdate:modelValue": h[1] || (h[1] = (p) => s.value = p),
1949
+ placeholder: t.setting.options.placeholder
1950
+ }, null, 8, ["width", "height", "modelValue", "placeholder"])
1951
+ ]),
1952
+ _: 1
1953
+ /* STABLE */
1954
+ }, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : F("v-if", !0)
1955
+ ],
1956
+ 64
1957
+ /* STABLE_FRAGMENT */
1958
+ ));
1854
1959
  }
1855
- }), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1960
+ }), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1856
1961
  __proto__: null,
1857
- default: Ka
1858
- }, Symbol.toStringTag, { value: "Module" })), Aa = {
1962
+ default: Qa
1963
+ }, Symbol.toStringTag, { value: "Module" })), Ua = {
1859
1964
  name: "time"
1860
- }, Qa = /* @__PURE__ */ Q({
1861
- ...Aa,
1965
+ }, Ya = /* @__PURE__ */ K({
1966
+ ...Ua,
1862
1967
  props: {
1863
1968
  setting: { default: () => ({
1864
1969
  icon: "",
@@ -1872,43 +1977,43 @@ const ha = (o, e) => {
1872
1977
  marginRight: {},
1873
1978
  store: {}
1874
1979
  },
1875
- setup(o) {
1876
- const e = o, { showData: t, disabledData: l, setData: p, getData: u, setFormRule: f, deleteRule: w } = e.store || {}, n = i(), s = i(!0);
1877
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), k(
1878
- () => t.value,
1980
+ setup(t) {
1981
+ const e = t, { showData: a, disabledData: i, setData: u, getData: r, setFormRule: m, deleteRule: _ } = e.store || {}, s = l(), o = l(!0);
1982
+ !a.value[e.setting.name] && a.value[e.setting.name] != !1 && (a.value[e.setting.name] = !0), k(
1983
+ () => a.value,
1879
1984
  () => {
1880
- s.value = t.value[e.setting.name], s.value || (n.value = null, w(e.setting.name)), s.value && e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList);
1985
+ o.value = a.value[e.setting.name], o.value || (s.value = null, _(e.setting.name)), o.value && e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList);
1881
1986
  },
1882
1987
  { deep: !0, immediate: !0 }
1883
1988
  );
1884
- const m = l.value[e.setting.name] || !1, v = i(!1);
1989
+ const g = i.value[e.setting.name] || !1, v = l(!1);
1885
1990
  H(e.setting.options.validateList).then((d) => {
1886
1991
  v.value = d;
1887
1992
  });
1888
- const c = i();
1993
+ const c = l();
1889
1994
  return e.setting.options.tip && (c.value = J(e.setting.options.tip)), setTimeout(() => {
1890
1995
  const d = ve().format("YYYY-MM-DD ");
1891
- u(e.setting.name) && (n.value = u(e.setting.name)), e.setting.options.formulasDiyJs && (n.value = ve(d + e.setting.options.formulasDiyJs)), n.value || p(e.setting.name, null);
1892
- }, 50), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), k(n, (d) => {
1893
- p(e.setting.name, d);
1894
- }), (d, C) => s.value ? (M(), P(a(U), {
1996
+ r(e.setting.name) && (s.value = r(e.setting.name)), e.setting.options.formulasDiyJs && (s.value = ve(d + e.setting.options.formulasDiyJs)), s.value || u(e.setting.name, null);
1997
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), k(s, (d) => {
1998
+ u(e.setting.name, d);
1999
+ }), (d, C) => o.value ? (D(), $(n(Q), {
1895
2000
  key: 0,
1896
2001
  col: e.span,
1897
- modelValue: n.value,
1898
- "onUpdate:modelValue": C[0] || (C[0] = (g) => n.value = g),
2002
+ modelValue: s.value,
2003
+ "onUpdate:modelValue": C[0] || (C[0] = (y) => s.value = y),
1899
2004
  prop: e.setting.name,
1900
- label: d.setting.desc,
2005
+ label: t.setting.desc,
1901
2006
  type: "time",
1902
2007
  helpMessage: c.value,
1903
2008
  isView: e.isView,
1904
2009
  required: v.value,
1905
- disabled: a(m)
1906
- }, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : K("", !0);
2010
+ disabled: n(g)
2011
+ }, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : F("v-if", !0);
1907
2012
  }
1908
- }), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2013
+ }), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1909
2014
  __proto__: null,
1910
- default: Qa
1911
- }, Symbol.toStringTag, { value: "Module" })), Ua = Q({
2015
+ default: Ya
2016
+ }, Symbol.toStringTag, { value: "Module" })), Ja = K({
1912
2017
  name: "accordion",
1913
2018
  props: {
1914
2019
  columns: {
@@ -1924,34 +2029,37 @@ const ha = (o, e) => {
1924
2029
  type: Object
1925
2030
  }
1926
2031
  },
1927
- setup(o) {
1928
- const e = i([]), t = o.columns.map((l) => {
1929
- const p = l.list.map(
1930
- (u) => re(pe[u.ctrlType], { setting: u, isView: o.isView, store: o.store })
2032
+ setup(t) {
2033
+ const e = l([]), a = t.columns.map((i) => {
2034
+ const u = i.list.map(
2035
+ (r) => ie(pe[r.ctrlType], { setting: r, isView: t.isView, store: t.store })
1931
2036
  );
1932
- return l.isOpen == !0 && e.value.push(l.idKey), re(
1933
- Qe,
2037
+ return i.isOpen == !0 && e.value.push(i.idKey), ie(
2038
+ Ae,
1934
2039
  {
1935
- header: l.span,
1936
- key: `${l.idKey}`
2040
+ header: i.span,
2041
+ key: `${i.idKey}`
1937
2042
  },
1938
- re("div", p)
2043
+ ie("div", u)
1939
2044
  );
1940
2045
  });
1941
- return () => re(
1942
- "div",
1943
- { class: "accordion-layout" },
1944
- re(
1945
- Ae,
1946
- { activeKey: e.value, collapsible: o.options.accordion ? "" : "disabled" },
1947
- t
1948
- )
1949
- );
2046
+ return () => {
2047
+ var i;
2048
+ return ie(
2049
+ "div",
2050
+ { class: "accordion-layout" },
2051
+ ie(
2052
+ Ke,
2053
+ { activeKey: e.value, collapsible: (i = t.options) != null && i.accordion ? "" : "disabled" },
2054
+ a
2055
+ )
2056
+ );
2057
+ };
1950
2058
  }
1951
- }), Ya = {
2059
+ }), Ha = {
1952
2060
  name: "accordion"
1953
- }, xa = /* @__PURE__ */ Q({
1954
- ...Ya,
2061
+ }, Wa = /* @__PURE__ */ K({
2062
+ ...Ha,
1955
2063
  props: {
1956
2064
  setting: { default: () => ({
1957
2065
  name: "",
@@ -1978,22 +2086,64 @@ const ha = (o, e) => {
1978
2086
  isView: { type: Boolean },
1979
2087
  store: {}
1980
2088
  },
1981
- setup(o) {
1982
- return (e, t) => (M(), P(a(Ua), {
1983
- columns: e.setting.columns,
1984
- options: e.setting.options,
1985
- isView: e.isView,
1986
- store: e.store,
2089
+ setup(t) {
2090
+ return (e, a) => (D(), $(n(Ja), {
2091
+ columns: t.setting.columns,
2092
+ options: t.setting.options,
2093
+ isView: t.isView,
2094
+ store: t.store,
1987
2095
  style: { "margin-bottom": "10px" }
1988
2096
  }, null, 8, ["columns", "options", "isView", "store"]));
1989
2097
  }
1990
- }), Ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2098
+ }), Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1991
2099
  __proto__: null,
1992
- default: xa
1993
- }, Symbol.toStringTag, { value: "Module" })), Ha = {
2100
+ default: Wa
2101
+ }, Symbol.toStringTag, { value: "Module" }));
2102
+ K({
2103
+ name: "grid",
2104
+ props: {
2105
+ columns: {
2106
+ type: Array,
2107
+ required: !0,
2108
+ default: () => []
2109
+ },
2110
+ isView: {
2111
+ type: Boolean
2112
+ },
2113
+ store: {
2114
+ type: Object
2115
+ }
2116
+ },
2117
+ setup(t) {
2118
+ let e = 0;
2119
+ const a = t.columns.map((i) => {
2120
+ const u = i.list.map((r) => {
2121
+ e += i.span;
2122
+ const m = e == 24 ? "0px" : "80px";
2123
+ return e == 24 && (e = 0), ie(pt[r.ctrlType], {
2124
+ setting: r,
2125
+ isView: t.isView,
2126
+ store: t.store,
2127
+ class: "grid-item-layout",
2128
+ marginRight: m
2129
+ });
2130
+ });
2131
+ return ie(kt, { span: i.span }, u);
2132
+ });
2133
+ return () => ie(
2134
+ St,
2135
+ {
2136
+ class: "grid-layout"
2137
+ // gutter: 0,
2138
+ },
2139
+ a
2140
+ );
2141
+ }
2142
+ });
2143
+ const Ga = {
1994
2144
  name: "grid"
1995
- }, Wa = /* @__PURE__ */ Q({
1996
- ...Ha,
2145
+ }, Xa = /* @__PURE__ */ K({
2146
+ ...Ga,
1997
2147
  props: {
1998
2148
  setting: { default: () => ({
1999
2149
  name: "",
@@ -2017,154 +2167,184 @@ const ha = (o, e) => {
2017
2167
  isView: { type: Boolean },
2018
2168
  store: {}
2019
2169
  },
2020
- setup(o) {
2021
- const e = o;
2022
- return (t, l) => (M(!0), x(ee, null, ue(t.setting.columns, (p) => (M(), x(ee, null, [
2023
- (M(!0), x(ee, null, ue(p.list, (u) => (M(), P(ge(a(Xa)[u.ctrlType]), {
2024
- setting: u,
2025
- isView: e.isView,
2026
- store: t.store,
2027
- span: p.span
2028
- }, null, 8, ["setting", "isView", "store", "span"]))), 256))
2029
- ], 64))), 256));
2170
+ setup(t) {
2171
+ const e = t;
2172
+ return (a, i) => (D(), Y(
2173
+ X,
2174
+ null,
2175
+ [
2176
+ F(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
2177
+ F(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
2178
+ (D(!0), Y(
2179
+ X,
2180
+ null,
2181
+ ue(t.setting.columns, (u) => (D(), Y(
2182
+ X,
2183
+ null,
2184
+ [
2185
+ (D(!0), Y(
2186
+ X,
2187
+ null,
2188
+ ue(u.list, (r) => (D(), $(ge(n(pt)[r.ctrlType]), {
2189
+ setting: r,
2190
+ isView: e.isView,
2191
+ store: t.store,
2192
+ span: u.span
2193
+ }, null, 8, ["setting", "isView", "store", "span"]))),
2194
+ 256
2195
+ /* UNKEYED_FRAGMENT */
2196
+ ))
2197
+ ],
2198
+ 64
2199
+ /* STABLE_FRAGMENT */
2200
+ ))),
2201
+ 256
2202
+ /* UNKEYED_FRAGMENT */
2203
+ )),
2204
+ F(" </div> ")
2205
+ ],
2206
+ 2112
2207
+ /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2208
+ ));
2030
2209
  }
2031
- }), Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2210
+ }), en = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2032
2211
  __proto__: null,
2033
- default: Wa
2034
- }, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it, "./layout/accordion/accordion.vue": Ja, "./layout/grid/gridLayout.vue": Za }), we = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it }), Ce = /* @__PURE__ */ Object.assign({}), ze = /* @__PURE__ */ Object.assign({}), pe = {}, rt = {}, ut = {}, Ga = {};
2035
- Object.keys(we).map((o) => rt[we[o].default.name] = we[o].default);
2036
- Object.keys(Ce).map((o) => ut[Ce[o].default.name] = Ce[o].default);
2037
- Object.keys(ze).map((o) => Ga[ze[o].default.name] = ze[o].default);
2038
- Object.keys(_e).map((o) => pe[_e[o].default.name] = _e[o].default);
2039
- const Xa = { ...rt, ...ut }, en = (o, e, t, l) => {
2040
- (!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${_("*必填")}`)) : t();
2041
- }, tn = (o, e, t, l) => {
2042
- e !== "" && e.length > parseInt(l.value) ? t(new Error(`${_("最大文本长度")}${_("不能超过")}${l.value}`)) : t();
2043
- }, an = (o, e, t, l) => {
2044
- e !== "" && e.length < parseInt(l.value) ? t(new Error(`${_("最小文本长度")}${_("不能少于")}${l.value}`)) : t();
2045
- }, nn = (o, e, t, l) => {
2212
+ default: Xa
2213
+ }, Symbol.toStringTag, { value: "Module" })), we = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ue, "./base/autocomplete.vue": Ye, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": it, "./base/time.vue": lt, "./layout/accordion/accordion.vue": Za, "./layout/grid/gridLayout.vue": en }), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ue, "./base/autocomplete.vue": Ye, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": it, "./base/time.vue": lt }), Ce = /* @__PURE__ */ Object.assign({}), ze = /* @__PURE__ */ Object.assign({}), pe = {}, rt = {}, ut = {}, tn = {};
2214
+ Object.keys(_e).map((t) => rt[_e[t].default.name] = _e[t].default);
2215
+ Object.keys(Ce).map((t) => ut[Ce[t].default.name] = Ce[t].default);
2216
+ Object.keys(ze).map((t) => tn[ze[t].default.name] = ze[t].default);
2217
+ Object.keys(we).map((t) => pe[we[t].default.name] = we[t].default);
2218
+ const pt = { ...rt, ...ut }, an = (t, e, a, i) => {
2219
+ (!e || e.toString() === "") && parseInt(e) !== 0 ? a(new Error(`${w("*必填")}`)) : a();
2220
+ }, nn = (t, e, a, i) => {
2221
+ e !== "" && e.length > parseInt(i.value) ? a(new Error(`${w("最大文本长度")}${w("不能超过")}${i.value}`)) : a();
2222
+ }, sn = (t, e, a, i) => {
2223
+ e !== "" && e.length < parseInt(i.value) ? a(new Error(`${w("最小文本长度")}${w("不能少于")}${i.value}`)) : a();
2224
+ }, on = (t, e, a, i) => {
2046
2225
  if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
2047
- return t(new Error(_("手机号码格式不正确,请重新输入"))), !1;
2048
- t();
2049
- }, sn = (o, e, t) => {
2226
+ return a(new Error(w("手机号码格式不正确,请重新输入"))), !1;
2227
+ a();
2228
+ }, ln = (t, e, a) => {
2050
2229
  if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
2051
- return t(new Error(_("电子邮箱格式不正确,请重新输入"))), !1;
2052
- t();
2053
- }, on = (o, e, t) => {
2230
+ return a(new Error(w("电子邮箱格式不正确,请重新输入"))), !1;
2231
+ a();
2232
+ }, rn = (t, e, a) => {
2054
2233
  if (e !== "" && !/^-?\d+$/.test(e))
2055
- return t(new Error(_("请输入整数"))), !1;
2056
- t();
2057
- }, ln = (o, e, t, l) => {
2058
- if (e !== "" && e != l.value)
2059
- return t(new Error(_("请输入相同的值"))), !1;
2060
- t();
2061
- }, rn = (o, e, t, l) => {
2062
- e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(l.value) ? t(new Error(`${l.name}${_("不能小于")}${l.value}`)) : t() : t(new Error(_("请输入数字")));
2063
- }, un = (o, e, t, l) => {
2064
- e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(l.value) ? t(new Error(`${l.name}${_("不能大于")}${l.value}`)) : t() : t(new Error(_("请输入数字")));
2065
- }, pn = (o, e, t, l) => {
2066
- const p = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, u = /^-?\d+$/;
2067
- e === "" ? t() : p.test(e) || u.test(e) ? e >= parseFloat(l.start) && e <= parseFloat(l.end) ? t() : t(new Error(`${_("只能输入指定数字范围")}${l.start}-${l.end}`)) : t(new Error(_("请输入数字")));
2068
- }, dn = (o, e, t, l) => {
2069
- e === "" || parseFloat(e) === parseFloat(l.value) ? t() : t(new Error(`${_("只能输入指定的值")}${l.value}`));
2070
- }, cn = (o, e, t, l) => {
2071
- e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(l.value) ? t() : t(new Error(`${_("只能输入")}${l.value}${_("位数数字")}`)) : t(new Error(_("请输入整数")));
2072
- }, gn = (o, e, t) => {
2234
+ return a(new Error(w("请输入整数"))), !1;
2235
+ a();
2236
+ }, un = (t, e, a, i) => {
2237
+ if (e !== "" && e != i.value)
2238
+ return a(new Error(w("请输入相同的值"))), !1;
2239
+ a();
2240
+ }, pn = (t, e, a, i) => {
2241
+ e === "" ? a() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(i.value) ? a(new Error(`${i.name}${w("不能小于")}${i.value}`)) : a() : a(new Error(w("请输入数字")));
2242
+ }, dn = (t, e, a, i) => {
2243
+ e === "" ? a() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(i.value) ? a(new Error(`${i.name}${w("不能大于")}${i.value}`)) : a() : a(new Error(w("请输入数字")));
2244
+ }, cn = (t, e, a, i) => {
2245
+ const u = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, r = /^-?\d+$/;
2246
+ e === "" ? a() : u.test(e) || r.test(e) ? e >= parseFloat(i.start) && e <= parseFloat(i.end) ? a() : a(new Error(`${w("只能输入指定数字范围")}${i.start}-${i.end}`)) : a(new Error(w("请输入数字")));
2247
+ }, gn = (t, e, a, i) => {
2248
+ e === "" || parseFloat(e) === parseFloat(i.value) ? a() : a(new Error(`${w("只能输入指定的值")}${i.value}`));
2249
+ }, mn = (t, e, a, i) => {
2250
+ e === "" ? a() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(i.value) ? a() : a(new Error(`${w("只能输入")}${i.value}${w("位数数字")}`)) : a(new Error(w("请输入整数")));
2251
+ }, vn = (t, e, a) => {
2073
2252
  if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
2074
- return t(new Error(_("只能输入字母"))), !1;
2075
- t();
2076
- }, mn = (o, e, t) => {
2253
+ return a(new Error(w("只能输入字母"))), !1;
2254
+ a();
2255
+ }, fn = (t, e, a) => {
2077
2256
  if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
2078
- return t(new Error(_("只能输入字母空格"))), !1;
2079
- t();
2080
- }, vn = (o, e, t) => {
2257
+ return a(new Error(w("只能输入字母空格"))), !1;
2258
+ a();
2259
+ }, hn = (t, e, a) => {
2081
2260
  if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
2082
- return t(new Error(_("只能输入字母数字横线下划线"))), !1;
2083
- t();
2084
- }, fn = (o, e, t) => {
2261
+ return a(new Error(w("只能输入字母数字横线下划线"))), !1;
2262
+ a();
2263
+ }, yn = (t, e, a) => {
2085
2264
  if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
2086
- return t(new Error(_("只能输入字母数字"))), !1;
2087
- t();
2088
- }, hn = (o, e, t, l) => {
2089
- const p = new RegExp(l.value);
2090
- if (e !== "" && !p.test(e))
2091
- return t(new Error(l.errorMessage)), !1;
2092
- t();
2093
- }, yn = {
2094
- required: en,
2095
- min: an,
2096
- max: tn,
2097
- email: sn,
2098
- min_value: rn,
2099
- max_value: un,
2100
- confirmed: ln,
2101
- numeric: on,
2102
- between: pn,
2103
- is: dn,
2104
- digits: cn,
2105
- mobile: nn,
2106
- alpha: gn,
2107
- alpha_spaces: mn,
2108
- alpha_dash: vn,
2109
- alpha_num: fn,
2110
- regex: hn
2111
- }, bn = () => {
2112
- const o = i({}), e = i([]), t = i({}), l = i({}), p = i([]), u = i(""), f = i(""), w = i({}), n = i([]), s = i({});
2265
+ return a(new Error(w("只能输入字母数字"))), !1;
2266
+ a();
2267
+ }, bn = (t, e, a, i) => {
2268
+ const u = new RegExp(i.value);
2269
+ if (e !== "" && !u.test(e))
2270
+ return a(new Error(i.errorMessage)), !1;
2271
+ a();
2272
+ }, wn = {
2273
+ required: an,
2274
+ min: sn,
2275
+ max: nn,
2276
+ email: ln,
2277
+ min_value: pn,
2278
+ max_value: dn,
2279
+ confirmed: un,
2280
+ numeric: rn,
2281
+ between: cn,
2282
+ is: gn,
2283
+ digits: mn,
2284
+ mobile: on,
2285
+ alpha: vn,
2286
+ alpha_spaces: fn,
2287
+ alpha_dash: hn,
2288
+ alpha_num: yn,
2289
+ regex: bn
2290
+ }, _n = () => {
2291
+ const t = l({}), e = l([]), a = l({}), i = l({}), u = l([]), r = l(""), m = l(""), _ = l({}), s = l([]), o = l({});
2113
2292
  return {
2114
- data: o,
2293
+ data: t,
2115
2294
  formData: e,
2116
- formRule: w,
2117
- showData: t,
2118
- disabledData: l,
2119
- flowKey: u,
2120
- linkData: s,
2121
- encryptionData: n,
2295
+ formRule: _,
2296
+ showData: a,
2297
+ disabledData: i,
2298
+ flowKey: r,
2299
+ linkData: o,
2300
+ encryptionData: s,
2122
2301
  setData: (z, b) => {
2123
- e.value.forEach((T) => {
2124
- T.formKey === f.value && (T.data[z] = b);
2302
+ e.value.forEach((L) => {
2303
+ L.formKey === m.value && (L.data[z] = b);
2125
2304
  });
2126
2305
  },
2127
2306
  setDetailData: (z) => {
2128
- o.value = z, e.value.forEach((b) => {
2129
- b.formKey === f.value && (b.data = z);
2307
+ t.value = z, e.value.forEach((b) => {
2308
+ b.formKey === m.value && (b.data = z);
2130
2309
  });
2131
2310
  },
2132
2311
  setLinkData: (z, b) => {
2133
- s.value = { data: z, val: b };
2312
+ o.value = { data: z, val: b };
2134
2313
  },
2135
- getData: (z) => o.value[z],
2136
- setFormData: (z, b, T) => {
2137
- f.value = z, p.value.includes(z) ? e.value.forEach((R) => {
2138
- R.formKey === z && (o.value = R.data);
2139
- }) : (p.value.push(z), e.value.push({
2314
+ getData: (z) => t.value[z],
2315
+ setFormData: (z, b, L) => {
2316
+ m.value = z, u.value.includes(z) ? e.value.forEach((T) => {
2317
+ T.formKey === z && (t.value = T.data);
2318
+ }) : (u.value.push(z), e.value.push({
2140
2319
  formKey: z,
2141
2320
  boKey: b,
2142
- reportId: T || null,
2321
+ reportId: L || null,
2143
2322
  data: {}
2144
2323
  }));
2145
2324
  },
2146
2325
  getFormData: () => e.value,
2147
2326
  setFormRule: (z, b) => {
2148
- w.value[z] = [], b && b.length && b.forEach((T) => {
2149
- w.value[z].push({
2150
- validator: (R, B, D) => yn[T.key](R, B, D, T)
2327
+ _.value[z] = [], b && b.length && b.forEach((L) => {
2328
+ const T = wn[L.key];
2329
+ T && _.value[z].push({
2330
+ validator: (j, V, N) => T(j, V, N, L)
2151
2331
  });
2152
2332
  });
2153
2333
  },
2154
2334
  clearData: () => {
2155
- o.value = {}, e.value = [], p.value = [], w.value = {};
2335
+ t.value = {}, e.value = [], u.value = [], _.value = {};
2156
2336
  },
2157
2337
  deleteRule: (z) => {
2158
- delete w.value[z];
2338
+ delete _.value[z];
2159
2339
  }
2160
2340
  };
2161
- }, _n = { class: "custom-page" }, wn = {
2341
+ }, Cn = { class: "custom-page" }, zn = {
2162
2342
  key: 0,
2163
2343
  class: "btn-box"
2164
- }, Cn = {
2344
+ }, Vn = {
2165
2345
  key: 1,
2166
2346
  style: { "background-color": "#fff" }
2167
- }, zn = /* @__PURE__ */ Q({
2347
+ }, Dn = /* @__PURE__ */ K({
2168
2348
  __name: "App",
2169
2349
  props: {
2170
2350
  formConfigurationId: {},
@@ -2177,14 +2357,14 @@ const Xa = { ...rt, ...ut }, en = (o, e, t, l) => {
2177
2357
  disabledData: { default: {} }
2178
2358
  },
2179
2359
  emits: ["handleClick", "change"],
2180
- setup(o, { expose: e, emit: t }) {
2181
- const l = bn(), { formRule: p, data: u, flowKey: f, clearData: w, getFormData: n } = l, s = o, m = t;
2182
- f.value = s.flowKey;
2183
- const v = (R) => R === "accordion";
2360
+ setup(t, { expose: e, emit: a }) {
2361
+ const i = _n(), { formRule: u, data: r, flowKey: m, clearData: _, getFormData: s } = i, o = t, g = a;
2362
+ m.value = o.flowKey;
2363
+ const v = (T) => T === "accordion";
2184
2364
  k(
2185
- () => u.value,
2186
- (R) => {
2187
- m("change", R);
2365
+ () => r.value,
2366
+ (T) => {
2367
+ g("change", T);
2188
2368
  },
2189
2369
  {
2190
2370
  immediate: !0,
@@ -2195,116 +2375,161 @@ const Xa = { ...rt, ...ut }, en = (o, e, t, l) => {
2195
2375
  formJsonList: c,
2196
2376
  isShowPage: d,
2197
2377
  btnList: C,
2198
- formRef: g,
2378
+ formRef: y,
2199
2379
  activityKeys: h,
2200
- getForm: r,
2201
- getBtnSet: y,
2380
+ getForm: p,
2381
+ getBtnSet: f,
2202
2382
  handleClick: z,
2203
2383
  validateFormData: b,
2204
- getFormRef: T
2205
- } = Xt(s, m, l);
2206
- return gt(async () => {
2207
- s.isShowBtn == !1 ? r(s.formConfigurationId) : y();
2384
+ getFormRef: L
2385
+ } = aa(o, g, i);
2386
+ return mt(async () => {
2387
+ o.isShowBtn == !1 ? p(o.formConfigurationId) : f();
2208
2388
  }), e({
2209
2389
  validateFormData: b,
2210
- clearData: w
2211
- }), (R, B) => (M(), x("div", _n, [
2212
- a(C).length > 0 ? (M(), x("div", wn, [
2213
- (M(!0), x(ee, null, ue(a(C), (D) => (M(), P(a(ht), {
2214
- key: D.id,
2215
- style: { "margin-right": "20px" },
2216
- "btn-type": "primary",
2217
- onClick: (N) => a(z)(D)
2218
- }, {
2219
- default: L(() => [
2220
- ne(se(D.name), 1)
2221
- ]),
2222
- _: 2
2223
- }, 1032, ["onClick"]))), 128))
2224
- ])) : K("", !0),
2225
- mt((M(), x("div", {
2226
- class: "content-box",
2227
- style: vt({ margin: "0 10px", ...R.customStyle })
2228
- }, [
2229
- (M(!0), x(ee, null, ue(a(c), (D) => (M(), x(ee, {
2230
- key: D.name
2231
- }, [
2232
- v(D.ctrlType) ? (M(), P(a(Ae), {
2233
- key: 0,
2234
- style: { "margin-bottom": "10px" },
2235
- collapsible: D.options.accordion ? "" : "disabled",
2236
- activeKey: a(h)
2390
+ clearData: _
2391
+ }), (T, j) => (D(), Y("div", Cn, [
2392
+ n(C).length > 0 ? (D(), Y("div", zn, [
2393
+ (D(!0), Y(
2394
+ X,
2395
+ null,
2396
+ ue(n(C), (V) => (D(), $(n(yt), {
2397
+ key: V.id,
2398
+ style: { "margin-right": "20px" },
2399
+ "btn-type": "primary",
2400
+ onClick: (N) => n(z)(V)
2237
2401
  }, {
2238
- default: L(() => [
2239
- (M(), P(a(Qe), {
2240
- key: D.key,
2241
- header: D.columns[0].span
2242
- }, {
2243
- default: L(() => [
2244
- a(d) ? (M(), P(a(Fe), {
2402
+ default: O(() => [
2403
+ ne(
2404
+ se(V.name),
2405
+ 1
2406
+ /* TEXT */
2407
+ )
2408
+ ]),
2409
+ _: 2
2410
+ /* DYNAMIC */
2411
+ }, 1032, ["onClick"]))),
2412
+ 128
2413
+ /* KEYED_FRAGMENT */
2414
+ ))
2415
+ ])) : F("v-if", !0),
2416
+ vt((D(), Y(
2417
+ "div",
2418
+ {
2419
+ class: "content-box",
2420
+ style: ft({ margin: "0 10px", ...t.customStyle })
2421
+ },
2422
+ [
2423
+ (D(!0), Y(
2424
+ X,
2425
+ null,
2426
+ ue(n(c), (V) => (D(), Y(
2427
+ X,
2428
+ {
2429
+ key: V.name
2430
+ },
2431
+ [
2432
+ v(V.ctrlType) ? (D(), $(n(Ke), {
2433
+ key: 0,
2434
+ style: { "margin-bottom": "10px" },
2435
+ collapsible: V.options.accordion ? "" : "disabled",
2436
+ activeKey: n(h)
2437
+ }, {
2438
+ default: O(() => [
2439
+ (D(), $(n(Ae), {
2440
+ key: V.key,
2441
+ header: V.columns[0].span
2442
+ }, {
2443
+ default: O(() => [
2444
+ n(d) ? (D(), $(n(Pe), {
2445
+ key: 0,
2446
+ ref_for: !0,
2447
+ ref: (N) => n(L)(N, V),
2448
+ cols: 24,
2449
+ alignType: "horizontal",
2450
+ "margin-right": "80px",
2451
+ "auto-margin-right": "",
2452
+ rules: n(u),
2453
+ form: n(i).data
2454
+ }, {
2455
+ default: O(() => [
2456
+ (D(!0), Y(
2457
+ X,
2458
+ null,
2459
+ ue(V.columns[0].list, (N) => (D(), Y(
2460
+ X,
2461
+ {
2462
+ key: V.name
2463
+ },
2464
+ [
2465
+ N.ctrlType == "grid" ? (D(), $(ge(n(pe).grid), {
2466
+ key: 0,
2467
+ setting: N,
2468
+ isView: o.isView,
2469
+ store: n(i)
2470
+ }, null, 8, ["setting", "isView", "store"])) : (D(), $(ge(n(pe)[N.ctrlType]), {
2471
+ key: 1,
2472
+ setting: N,
2473
+ isView: o.isView,
2474
+ store: n(i)
2475
+ }, null, 8, ["setting", "isView", "store"]))
2476
+ ],
2477
+ 64
2478
+ /* STABLE_FRAGMENT */
2479
+ ))),
2480
+ 128
2481
+ /* KEYED_FRAGMENT */
2482
+ ))
2483
+ ]),
2484
+ _: 2
2485
+ /* DYNAMIC */
2486
+ }, 1032, ["rules", "form"])) : F("v-if", !0)
2487
+ ]),
2488
+ _: 2
2489
+ /* DYNAMIC */
2490
+ }, 1032, ["header"]))
2491
+ ]),
2492
+ _: 2
2493
+ /* DYNAMIC */
2494
+ }, 1032, ["collapsible", "activeKey"])) : (D(), Y("div", Vn, [
2495
+ n(d) ? (D(), $(n(Pe), {
2245
2496
  key: 0,
2246
2497
  ref_for: !0,
2247
- ref: (N) => a(T)(N, D),
2498
+ ref: (N) => n(L)(N, V),
2248
2499
  cols: 24,
2500
+ "auto-margin-right": "",
2249
2501
  alignType: "horizontal",
2250
2502
  "margin-right": "80px",
2251
- "auto-margin-right": "",
2252
- rules: a(p),
2253
- form: a(l).data
2503
+ rules: n(u),
2504
+ form: n(i).data
2254
2505
  }, {
2255
- default: L(() => [
2256
- (M(!0), x(ee, null, ue(D.columns[0].list, (N) => (M(), x(ee, {
2257
- key: D.name
2258
- }, [
2259
- N.ctrlType == "grid" ? (M(), P(ge(a(pe).grid), {
2260
- key: 0,
2261
- setting: N,
2262
- isView: s.isView,
2263
- store: a(l)
2264
- }, null, 8, ["setting", "isView", "store"])) : (M(), P(ge(a(pe)[N.ctrlType]), {
2265
- key: 1,
2266
- setting: N,
2267
- isView: s.isView,
2268
- store: a(l)
2269
- }, null, 8, ["setting", "isView", "store"]))
2270
- ], 64))), 128))
2506
+ default: O(() => [
2507
+ (D(), $(ge(n(pe)[V.ctrlType]), {
2508
+ setting: V,
2509
+ isView: o.isView,
2510
+ store: n(i)
2511
+ }, null, 8, ["setting", "isView", "store"]))
2271
2512
  ]),
2272
2513
  _: 2
2273
- }, 1032, ["rules", "form"])) : K("", !0)
2274
- ]),
2275
- _: 2
2276
- }, 1032, ["header"]))
2277
- ]),
2278
- _: 2
2279
- }, 1032, ["collapsible", "activeKey"])) : (M(), x("div", Cn, [
2280
- a(d) ? (M(), P(a(Fe), {
2281
- key: 0,
2282
- ref_for: !0,
2283
- ref: (N) => a(T)(N, D),
2284
- cols: 24,
2285
- "auto-margin-right": "",
2286
- alignType: "horizontal",
2287
- "margin-right": "80px",
2288
- rules: a(p),
2289
- form: a(l).data
2290
- }, {
2291
- default: L(() => [
2292
- (M(), P(ge(a(pe)[D.ctrlType]), {
2293
- setting: D,
2294
- isView: s.isView,
2295
- store: a(l)
2296
- }, null, 8, ["setting", "isView", "store"]))
2297
- ]),
2298
- _: 2
2299
- }, 1032, ["rules", "form"])) : K("", !0)
2300
- ]))
2301
- ], 64))), 128))
2302
- ], 4)), [
2303
- [a(yt)]
2514
+ /* DYNAMIC */
2515
+ }, 1032, ["rules", "form"])) : F("v-if", !0)
2516
+ ]))
2517
+ ],
2518
+ 64
2519
+ /* STABLE_FRAGMENT */
2520
+ ))),
2521
+ 128
2522
+ /* KEYED_FRAGMENT */
2523
+ ))
2524
+ ],
2525
+ 4
2526
+ /* STYLE */
2527
+ )), [
2528
+ [n(bt)]
2304
2529
  ])
2305
2530
  ]));
2306
2531
  }
2307
- }), Dn = /* @__PURE__ */ fe(zn, [["__scopeId", "data-v-9e84a1fc"]]), Mn = {
2532
+ }), Mn = /* @__PURE__ */ fe(Dn, [["__scopeId", "data-v-cbfbe1aa"]]), kn = {
2308
2533
  姓名: { "zh-CN": "姓名", en: "Name", "zh-MO": "姓名", _appCode: "framework" },
2309
2534
  状态: { "zh-CN": "状态", en: "Status", "zh-MO": "狀態", _appCode: "framework" },
2310
2535
  组织名称: { "zh-CN": "组织名称", en: "Organization Name", "zh-MO": "組織名稱", _appCode: "framework" },
@@ -2435,9 +2660,9 @@ const Xa = { ...rt, ...ut }, en = (o, e, t, l) => {
2435
2660
  选择源单: { "zh-CN": "选择源单", en: "Select Source Document", "zh-MO": "選擇源單", _appCode: "framework" },
2436
2661
  请选择: { "zh-CN": "请选择", en: "Please select", "zh-MO": "請選擇", _appCode: "framework" }
2437
2662
  };
2438
- Ct(Mn);
2439
- const Jn = pt(Dn);
2663
+ zt(kn);
2664
+ const ns = dt(Mn);
2440
2665
  export {
2441
- Jn as DasProcessForm,
2442
- Jn as default
2666
+ ns as DasProcessForm,
2667
+ ns as default
2443
2668
  };