@das-fed/ui 7.0.7-hot.7 → 7.0.7-hot.71

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