@das-fed/upf-ui 6.4.0-dev.220 → 6.4.0-dev.222

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