@das-fed/ui 6.4.0-dev.1 → 6.4.0-dev.11

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 (812) hide show
  1. package/esm-map.json +0 -1
  2. package/package.json +5 -5
  3. package/packages/business-components/app-container/index.js +51 -97
  4. package/packages/business-components/app-container/index.js.gz +0 -0
  5. package/packages/business-components/change-enterprises/index.d.ts +0 -75
  6. package/packages/business-components/change-enterprises/index.js +30 -52
  7. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  8. package/packages/business-components/change-pwd/index.d.ts +0 -51
  9. package/packages/business-components/change-pwd/index.js +3 -15
  10. package/packages/business-components/change-pwd/index.js.gz +0 -0
  11. package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +3 -261
  12. package/packages/business-components/currency-page/index.js +4 -17
  13. package/packages/business-components/currency-page/index.js.gz +0 -0
  14. package/packages/business-components/device-panel/index.js +17380 -22206
  15. package/packages/business-components/device-panel/index.js.gz +0 -0
  16. package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/common.d.ts +2 -2
  17. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-alarm-log.d.ts +1 -1
  18. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-device-detail.d.ts +3 -3
  19. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-device-operate-log.d.ts +1 -1
  20. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-inspection-record.d.ts +1 -1
  21. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-maintenance-record.d.ts +1 -1
  22. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-operating-data.d.ts +1 -1
  23. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-operation-plan.d.ts +1 -1
  24. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-repair-record.d.ts +2 -2
  25. package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-video-monitoring.d.ts +1 -1
  26. package/packages/business-components/device-panel/src/components/alarmDevicePanel/inspectionRecord/components/use-check-item/check-item.d.ts +1 -1
  27. package/packages/business-components/device-panel/src/components/alarmDevicePanel/inspectionRecord/components/use-task-info/task-info.d.ts +2 -2
  28. package/packages/business-components/device-panel/src/components/alarmDevicePanel/maintenanceRecord/components/use-check-item/check-item.d.ts +1 -1
  29. package/packages/business-components/device-panel/src/components/alarmDevicePanel/maintenanceRecord/components/use-task-info/task-info.d.ts +2 -2
  30. package/packages/business-components/device-panel/src/components/alarmDevicePanel/repairRecord/components/use-info/info.d.ts +3 -3
  31. package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/common.d.ts +2 -2
  32. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-alarm-log.d.ts +1 -1
  33. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-device-detail.d.ts +3 -3
  34. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-device-operate-log.d.ts +1 -1
  35. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-inspection-record.d.ts +1 -1
  36. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-maintenance-record.d.ts +1 -1
  37. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-operating-data.d.ts +1 -1
  38. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-operation-plan.d.ts +1 -1
  39. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-repair-record.d.ts +2 -2
  40. package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-video-monitoring.d.ts +1 -1
  41. package/packages/business-components/device-panel/src/components/devicePanelModal/inspectionRecord/components/use-check-item/check-item.d.ts +1 -1
  42. package/packages/business-components/device-panel/src/components/devicePanelModal/inspectionRecord/components/use-task-info/task-info.d.ts +2 -2
  43. package/packages/business-components/device-panel/src/components/devicePanelModal/maintenanceRecord/components/use-check-item/check-item.d.ts +1 -1
  44. package/packages/business-components/device-panel/src/components/devicePanelModal/maintenanceRecord/components/use-task-info/task-info.d.ts +2 -2
  45. package/packages/business-components/device-panel/src/components/devicePanelModal/repairRecord/components/use-info/info.d.ts +3 -3
  46. package/packages/business-components/device-panel/src/hooks/common.d.ts +1 -1
  47. package/packages/business-components/device-panel/src/store/index.d.ts +2 -2
  48. package/packages/business-components/device-panel/style.css +1 -1
  49. package/packages/business-components/device-panel/style.css.gz +0 -0
  50. package/packages/business-components/echarts/index.d.ts +3 -210
  51. package/packages/business-components/echarts/index.js +4829 -4891
  52. package/packages/business-components/echarts/index.js.gz +0 -0
  53. package/packages/business-components/echarts/src/Index.vue.d.ts +1 -1
  54. package/packages/business-components/export-button/hooks/file.d.ts +11 -11
  55. package/packages/business-components/export-button/hooks/useExport.d.ts +5 -5
  56. package/packages/business-components/export-button/index.js +152 -439
  57. package/packages/business-components/export-button/index.js.gz +0 -0
  58. package/packages/business-components/import-button/hooks/file.d.ts +12 -12
  59. package/packages/business-components/import-button/hooks/useImport.d.ts +11 -11
  60. package/packages/business-components/import-button/index.d.ts +38 -0
  61. package/packages/business-components/import-button/index.js +328 -625
  62. package/packages/business-components/import-button/index.js.gz +0 -0
  63. package/packages/business-components/import-button/src/App.vue.d.ts +6 -0
  64. package/packages/business-components/import-button/src/type.d.ts +4 -0
  65. package/packages/business-components/import-button/style.css +1 -1
  66. package/packages/business-components/layout-breadcrumb/index.d.ts +0 -34
  67. package/packages/business-components/layout-breadcrumb/index.js +17 -17
  68. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  69. package/packages/business-components/layout-breadcrumb/src/hooks/use-breadcrumb.d.ts +1 -1
  70. package/packages/business-components/model-table-dialog/index.d.ts +0 -698
  71. package/packages/business-components/model-table-dialog/index.js +149 -198
  72. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  73. package/packages/business-components/process-configuration/index.js +215 -266
  74. package/packages/business-components/process-configuration/index.js.gz +0 -0
  75. package/packages/business-components/process-configuration/src/hooks/useCopyDialog.d.ts +2 -35
  76. package/packages/business-components/process-configuration/src/hooks/useDeleteDialog.d.ts +1 -7
  77. package/packages/business-components/process-form/index.js +968 -1314
  78. package/packages/business-components/process-form/index.js.gz +0 -0
  79. package/packages/business-components/process-form/src/hooks/useForm.d.ts +4 -234
  80. package/packages/business-components/process-form/src/hooks/useSelector.d.ts +4 -4
  81. package/packages/business-components/process-form/src/hooks/useSpaceTree.d.ts +4 -4
  82. package/packages/business-components/process-form/src/widgets/store.d.ts +3 -3
  83. package/packages/business-components/process-log/index.js +1607 -2065
  84. package/packages/business-components/process-log/index.js.gz +0 -0
  85. package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +2 -116
  86. package/packages/business-components/process-search-form/index.d.ts +34 -0
  87. package/packages/business-components/process-search-form/index.js +527 -739
  88. package/packages/business-components/process-search-form/index.js.gz +0 -0
  89. package/packages/business-components/process-search-form/src/type.d.ts +28 -0
  90. package/packages/business-components/process-table/hooks/useProcessTable.d.ts +41 -191
  91. package/packages/business-components/process-table/hooks/useTableShow.d.ts +1 -5
  92. package/packages/business-components/process-table/hooks/useValueFormatter.d.ts +5 -0
  93. package/packages/business-components/process-table/index.d.ts +399 -385
  94. package/packages/business-components/process-table/index.js +668 -776
  95. package/packages/business-components/process-table/index.js.gz +0 -0
  96. package/packages/business-components/process-table/src/App.vue.d.ts +11 -1
  97. package/packages/business-components/process-table/style.css +1 -1
  98. package/packages/business-components/urgent-panel/index.js +2023 -2831
  99. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  100. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-location-select/index.d.ts +1 -1
  101. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-location-select/location-select.d.ts +2 -2
  102. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-user-select/selectOrganizationAndUserData.d.ts +1 -1
  103. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-user-select/use-select-list.d.ts +1 -1
  104. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-user-select/use-select-org-user.d.ts +2 -2
  105. package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-user-select/use-select-user.d.ts +1 -1
  106. package/packages/business-components/urgent-panel/style.css +1 -1
  107. package/packages/business-components/urgent-panel/style.css.gz +0 -0
  108. package/packages/business-components/user-org-dialog/index.d.ts +0 -139
  109. package/packages/business-components/user-org-dialog/index.js +7 -62
  110. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  111. package/packages/business-components/user-org-dialog/src/hooks/index.d.ts +1 -1
  112. package/packages/business-components/user-org-dialog/src/hooks/use-select-list.d.ts +1 -1
  113. package/packages/business-components/user-org-dialog/src/hooks/use-select-org.d.ts +1 -1
  114. package/packages/business-components/user-org-dialog/src/hooks/use-select-user.d.ts +1 -1
  115. package/packages/business-components/video-dialog/index.d.ts +0 -71
  116. package/packages/business-components/video-dialog/index.js +440 -775
  117. package/packages/business-components/video-dialog/index.js.gz +0 -0
  118. package/packages/business-components/video-dialog/src/common.d.ts +1 -1
  119. package/packages/business-components/video-dialog/style.css +1 -1
  120. package/packages/business-components/video-dialog/style.css.gz +0 -0
  121. package/packages/components/alert/index.d.ts +0 -112
  122. package/packages/components/alert/index.js +48 -55
  123. package/packages/components/alert/index.js.gz +0 -0
  124. package/packages/components/audio-video/index.d.ts +0 -224
  125. package/packages/components/audio-video/index.js +96 -129
  126. package/packages/components/audio-video/index.js.gz +0 -0
  127. package/packages/components/autocomplete/index.d.ts +1 -308
  128. package/packages/components/autocomplete/index.js +334 -355
  129. package/packages/components/autocomplete/index.js.gz +0 -0
  130. package/packages/components/breadcrumb/index.js +52 -80
  131. package/packages/components/breadcrumb/index.js.gz +0 -0
  132. package/packages/components/button/index.js +1249 -1323
  133. package/packages/components/button/index.js.gz +0 -0
  134. package/packages/components/button/style.css +1 -1
  135. package/packages/components/button/style.css.gz +0 -0
  136. package/packages/components/calendar/index.d.ts +84 -77
  137. package/packages/components/calendar/index.js +312 -756
  138. package/packages/components/calendar/index.js.gz +0 -0
  139. package/packages/components/calendar/src/Index.vue.d.ts +8 -3
  140. package/packages/components/calendar/src/calendar-table.vue.d.ts +6 -5
  141. package/packages/components/calendar/src/old-Index.vue.d.ts +9 -4
  142. package/packages/components/calendar/src/type.d.ts +31 -31
  143. package/packages/components/cascader/index.d.ts +3 -3
  144. package/packages/components/cascader/index.js +106 -175
  145. package/packages/components/cascader/index.js.gz +0 -0
  146. package/packages/components/cascader/src/Index.vue.d.ts +1 -1
  147. package/packages/components/checkbox/index.d.ts +0 -362
  148. package/packages/components/checkbox/index.js +430 -534
  149. package/packages/components/checkbox/index.js.gz +0 -0
  150. package/packages/components/checkbox/style.css +1 -1
  151. package/packages/components/checkbox/style.css.gz +0 -0
  152. package/packages/components/collapse-panel/index.d.ts +0 -67
  153. package/packages/components/collapse-panel/index.js +480 -487
  154. package/packages/components/collapse-panel/index.js.gz +0 -0
  155. package/packages/components/collapse-transition/index.js +6 -13
  156. package/packages/components/collapse-transition/index.js.gz +0 -0
  157. package/packages/components/collaspe/index.d.ts +0 -110
  158. package/packages/components/collaspe/index.js +2 -4
  159. package/packages/components/collaspe/index.js.gz +0 -0
  160. package/packages/components/collaspe/style.css +1 -1
  161. package/packages/components/collaspe/style.css.gz +0 -0
  162. package/packages/components/color-picker/index.d.ts +0 -156
  163. package/packages/components/color-picker/index.js +556 -573
  164. package/packages/components/color-picker/index.js.gz +0 -0
  165. package/packages/components/color-picker/src/hooks/use-color-picker.d.ts +3 -3
  166. package/packages/components/color-picker/style.css +1 -1
  167. package/packages/components/color-picker/style.css.gz +0 -0
  168. package/packages/components/custom-search-item/index.d.ts +2 -167
  169. package/packages/components/custom-search-item/index.js +7 -19
  170. package/packages/components/custom-search-item/index.js.gz +0 -0
  171. package/packages/components/date-picker/index.d.ts +12 -12
  172. package/packages/components/date-picker/index.js +5506 -6493
  173. package/packages/components/date-picker/index.js.gz +0 -0
  174. package/packages/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  175. package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -1
  176. package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -1
  177. package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -1
  178. package/packages/components/date-picker/style.css +1 -1
  179. package/packages/components/date-picker/style.css.gz +0 -0
  180. package/packages/components/dialog/index.js +530 -571
  181. package/packages/components/dialog/index.js.gz +0 -0
  182. package/packages/components/dialog/src/use-micro-app-dialog/index.d.ts +2 -2
  183. package/packages/components/dimple-layout/editor/editor.vue.d.ts +1 -1
  184. package/packages/components/dimple-layout/editor/index.d.ts +3 -95
  185. package/packages/components/dimple-layout/editor/use-editor/index.d.ts +3 -3
  186. package/packages/components/dimple-layout/index.js +59 -119
  187. package/packages/components/dimple-layout/index.js.gz +0 -0
  188. package/packages/components/dimple-layout/render/use-render.d.ts +1 -1
  189. package/packages/components/drawer/index.d.ts +3 -3
  190. package/packages/components/drawer/index.js +351 -349
  191. package/packages/components/drawer/index.js.gz +0 -0
  192. package/packages/components/drawer/src/Index.vue.d.ts +1 -1
  193. package/packages/components/dropdown/index.js +26 -41
  194. package/packages/components/dropdown/index.js.gz +0 -0
  195. package/packages/components/edit-table/index.d.ts +2 -270
  196. package/packages/components/edit-table/index.js +887 -943
  197. package/packages/components/edit-table/index.js.gz +0 -0
  198. package/packages/components/edit-table/src/hooks/use-validator.d.ts +2 -2
  199. package/packages/components/empty/index.js +208 -236
  200. package/packages/components/empty/index.js.gz +0 -0
  201. package/packages/components/form/index.d.ts +1 -231
  202. package/packages/components/form/index.js +6 -12
  203. package/packages/components/form/index.js.gz +0 -0
  204. package/packages/components/form-item/index.d.ts +19370 -0
  205. package/packages/components/form-item/index.js +674 -862
  206. package/packages/components/form-item/index.js.gz +0 -0
  207. package/packages/components/form-item/src/Index.vue.d.ts +6389 -0
  208. package/packages/components/form-item/src/hooks/use-error.d.ts +3 -3
  209. package/packages/components/form-item/src/hooks/use-form.d.ts +4 -4
  210. package/packages/components/form-item/style.css +1 -1
  211. package/packages/components/form-item/style.css.gz +0 -0
  212. package/packages/components/icon/index.js +7 -13
  213. package/packages/components/icon/index.js.gz +0 -0
  214. package/packages/components/image-upload/index.js +964 -999
  215. package/packages/components/image-upload/index.js.gz +0 -0
  216. package/packages/components/image-upload/style.css +1 -1
  217. package/packages/components/image-upload/style.css.gz +0 -0
  218. package/packages/components/image-viewer/index.d.ts +9 -0
  219. package/packages/components/image-viewer/index.js +469 -556
  220. package/packages/components/image-viewer/index.js.gz +0 -0
  221. package/packages/components/image-viewer/src/Index.vue.d.ts +3 -0
  222. package/packages/components/image-viewer/src/hooks/use-handler-image-src.d.ts +2 -1
  223. package/packages/components/image-viewer/src/type.d.ts +3 -0
  224. package/packages/components/image-viewer/style.css +1 -1
  225. package/packages/components/image-viewer/style.css.gz +0 -0
  226. package/packages/components/input/index.d.ts +3 -3
  227. package/packages/components/input/index.js +147 -190
  228. package/packages/components/input/index.js.gz +0 -0
  229. package/packages/components/input/src/index.vue.d.ts +1 -1
  230. package/packages/components/input-dialog-select/index.js +76 -137
  231. package/packages/components/input-dialog-select/index.js.gz +0 -0
  232. package/packages/components/input-number/index.js +55 -103
  233. package/packages/components/input-number/index.js.gz +0 -0
  234. package/packages/components/live-player/index.d.ts +13 -166
  235. package/packages/components/live-player/index.js +9 -19
  236. package/packages/components/live-player/index.js.gz +0 -0
  237. package/packages/components/live-player/src/das-live-player.vue.d.ts +1 -1
  238. package/packages/components/loading/index.js +4 -10
  239. package/packages/components/loading/index.js.gz +0 -0
  240. package/packages/components/loading/src/loading.d.ts +16 -16
  241. package/packages/components/loading/style.css +1 -1
  242. package/packages/components/loading/style.css.gz +0 -0
  243. package/packages/components/map/index.d.ts +0 -333
  244. package/packages/components/map/index.js +91 -127
  245. package/packages/components/map/index.js.gz +0 -0
  246. package/packages/components/map/src/hooks/use-map.d.ts +4 -4
  247. package/packages/components/map/src/plugins/use-plugins.d.ts +1 -1
  248. package/packages/components/menu-aside/index.js +1208 -1398
  249. package/packages/components/menu-aside/index.js.gz +0 -0
  250. package/packages/components/menu-aside/src/use-aside-menu.d.ts +2 -2
  251. package/packages/components/menu-header/index.js +12 -30
  252. package/packages/components/menu-header/index.js.gz +0 -0
  253. package/packages/components/message/index.js +342 -344
  254. package/packages/components/message/index.js.gz +0 -0
  255. package/packages/components/pagination/index.d.ts +2 -233
  256. package/packages/components/pagination/index.js +837 -870
  257. package/packages/components/pagination/index.js.gz +0 -0
  258. package/packages/components/pagination/src/components/index.d.ts +0 -71
  259. package/packages/components/pagination/style.css +1 -1
  260. package/packages/components/pagination/style.css.gz +0 -0
  261. package/packages/components/popover/index.d.ts +3 -3
  262. package/packages/components/popover/index.js +5 -26
  263. package/packages/components/popover/index.js.gz +0 -0
  264. package/packages/components/popover/src/Index.vue.d.ts +1 -1
  265. package/packages/components/popup-mask/index.d.ts +1 -163
  266. package/packages/components/popup-mask/index.js +34 -50
  267. package/packages/components/popup-mask/index.js.gz +0 -0
  268. package/packages/components/popup-mask/style.css +1 -1
  269. package/packages/components/preview/index.js +1 -6
  270. package/packages/components/preview/index.js.gz +0 -0
  271. package/packages/components/progress/index.d.ts +3 -3
  272. package/packages/components/progress/index.js +147 -234
  273. package/packages/components/progress/index.js.gz +0 -0
  274. package/packages/components/progress/src/Index.vue.d.ts +1 -1
  275. package/packages/components/radio/index.d.ts +3 -260
  276. package/packages/components/radio/index.js +465 -563
  277. package/packages/components/radio/index.js.gz +0 -0
  278. package/packages/components/radio-tabs/index.d.ts +3 -105
  279. package/packages/components/radio-tabs/index.js +52 -86
  280. package/packages/components/radio-tabs/index.js.gz +0 -0
  281. package/packages/components/radio-tabs/src/Index.vue.d.ts +1 -1
  282. package/packages/components/rich-editor/index.d.ts +9 -263
  283. package/packages/components/rich-editor/index.js +38 -44
  284. package/packages/components/rich-editor/index.js.gz +0 -0
  285. package/packages/components/rich-editor/src/Index.vue.d.ts +3 -3
  286. package/packages/components/rich-editor/src/hooks/use-rich-editor.d.ts +3 -3
  287. package/packages/components/scrollbar/index.js +0 -1
  288. package/packages/components/scrollbar/index.js.gz +0 -0
  289. package/packages/components/search/index.js +72 -80
  290. package/packages/components/search/index.js.gz +0 -0
  291. package/packages/components/search-form/index.d.ts +0 -192
  292. package/packages/components/search-form/index.js +805 -939
  293. package/packages/components/search-form/index.js.gz +0 -0
  294. package/packages/components/search-form/src/hooks/use-select-daterange.d.ts +2 -2
  295. package/packages/components/search-form/src/hooks/useInputSelect.d.ts +1 -1
  296. package/packages/components/search-form/style.css +1 -1
  297. package/packages/components/search-form/style.css.gz +0 -0
  298. package/packages/components/select/index.d.ts +3 -3
  299. package/packages/components/select/index.js +1871 -2005
  300. package/packages/components/select/index.js.gz +0 -0
  301. package/packages/components/select/src/Select.vue.d.ts +1 -1
  302. package/packages/components/select/style.css +1 -1
  303. package/packages/components/select/style.css.gz +0 -0
  304. package/packages/components/select-input/index.js +6 -8
  305. package/packages/components/select-input/index.js.gz +0 -0
  306. package/packages/components/select-input/src/hooks/use-select-input.d.ts +2 -2
  307. package/packages/components/select-input/style.css +1 -1
  308. package/packages/components/select-input/style.css.gz +0 -0
  309. package/packages/components/select-list/index.js +428 -506
  310. package/packages/components/select-list/index.js.gz +0 -0
  311. package/packages/components/select-list/src/hooks/use-drag.d.ts +1 -1
  312. package/packages/components/select-list/src/hooks/use-select-list.d.ts +3 -3
  313. package/packages/components/select-list/style.css +1 -1
  314. package/packages/components/select-list/style.css.gz +0 -0
  315. package/packages/components/special-range-picker-month/index.js +527 -623
  316. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  317. package/packages/components/special-range-picker-month/src/hooks/use-date-popover.d.ts +0 -6
  318. package/packages/components/special-range-picker-month/src/hooks/use-error.d.ts +3 -3
  319. package/packages/components/special-range-picker-month/style.css +1 -1
  320. package/packages/components/special-range-picker-month/style.css.gz +0 -0
  321. package/packages/components/special-range-picker-year/index.js +750 -884
  322. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  323. package/packages/components/special-range-picker-year/src/hooks/use-date-popover.d.ts +0 -6
  324. package/packages/components/special-range-picker-year/src/hooks/use-error.d.ts +3 -3
  325. package/packages/components/special-range-picker-year/style.css +1 -1
  326. package/packages/components/special-range-picker-year/style.css.gz +0 -0
  327. package/packages/components/spin/index.js +25 -38
  328. package/packages/components/spin/index.js.gz +0 -0
  329. package/packages/components/split-panel/index.d.ts +1 -197
  330. package/packages/components/split-panel/index.js +168 -217
  331. package/packages/components/split-panel/index.js.gz +0 -0
  332. package/packages/components/split-panel/style.css +1 -1
  333. package/packages/components/split-panel/style.css.gz +0 -0
  334. package/packages/components/step/index.js +0 -1
  335. package/packages/components/step/index.js.gz +0 -0
  336. package/packages/components/steps/index.js +6 -13
  337. package/packages/components/steps/index.js.gz +0 -0
  338. package/packages/components/switch/index.d.ts +1 -1
  339. package/packages/components/switch/src/Index.vue.d.ts +1 -1
  340. package/packages/components/table/index.d.ts +3159 -9352
  341. package/packages/components/table/index.js +12654 -9422
  342. package/packages/components/table/index.js.gz +0 -0
  343. package/packages/components/table/src/Table.vue.d.ts +2 -559
  344. package/packages/components/table/src/hooks/use-operation.d.ts +6 -9
  345. package/packages/components/table/src/hooks/use-setStyle.d.ts +1 -1
  346. package/packages/components/table/src/hooks/use-tree-check.d.ts +2 -2
  347. package/packages/components/table/style.css +1 -1
  348. package/packages/components/table/style.css.gz +0 -0
  349. package/packages/components/tabs/index.js +501 -567
  350. package/packages/components/tabs/index.js.gz +0 -0
  351. package/packages/components/tabs/src/hooks/use-tabs.d.ts +2 -2
  352. package/packages/components/tag/index.js +11 -25
  353. package/packages/components/tag/index.js.gz +0 -0
  354. package/packages/components/time-line/index.js +26 -46
  355. package/packages/components/time-line/index.js.gz +0 -0
  356. package/packages/components/tooltip/index.d.ts +6 -222
  357. package/packages/components/tooltip/index.js +18 -47
  358. package/packages/components/tooltip/index.js.gz +0 -0
  359. package/packages/components/tooltip/src/index.vue.d.ts +1 -1
  360. package/packages/components/tree/index.d.ts +2376 -10516
  361. package/packages/components/tree/index.js +3197 -3296
  362. package/packages/components/tree/index.js.gz +0 -0
  363. package/packages/components/tree/src/App.vue.d.ts +12 -832
  364. package/packages/components/tree/src/hooks/use-lazy-tree.d.ts +3 -3
  365. package/packages/components/tree/src/hooks/use-tree.d.ts +15 -7
  366. package/packages/components/tree/style.css +1 -1
  367. package/packages/components/tree/style.css.gz +0 -0
  368. package/packages/components/tree-select/index.d.ts +15614 -0
  369. package/packages/components/tree-select/index.js +230 -254
  370. package/packages/components/tree-select/index.js.gz +0 -0
  371. package/packages/components/tree-select/src/App.vue.d.ts +1282 -7503
  372. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +1123 -7344
  373. package/packages/components/tree-table/index.d.ts +12 -401
  374. package/packages/components/tree-table/index.js +210 -308
  375. package/packages/components/tree-table/index.js.gz +0 -0
  376. package/packages/components/tree-table/src/App.vue.d.ts +1 -1
  377. package/packages/components/upload/index.js +1461 -1532
  378. package/packages/components/upload/index.js.gz +0 -0
  379. package/packages/components/upload/src/hook/use-upload.d.ts +4 -4
  380. package/packages/components/upload/style.css +1 -1
  381. package/packages/components/upload/style.css.gz +0 -0
  382. package/packages/components/virtual-tree/index.js +410 -449
  383. package/packages/components/virtual-tree/index.js.gz +0 -0
  384. package/packages/components/virtual-tree/style.css +1 -1
  385. package/packages/components/virtual-tree/style.css.gz +0 -0
  386. package/packages/components/watermark/index.js +6 -13
  387. package/packages/components/watermark/index.js.gz +0 -0
  388. package/packages/global/theme/index.js +565 -577
  389. package/packages/global/theme/index.js.gz +0 -0
  390. package/packages/icons/1-grids/index.js +0 -1
  391. package/packages/icons/1-grids/index.js.gz +0 -0
  392. package/packages/icons/4-grids/index.js +0 -1
  393. package/packages/icons/4-grids/index.js.gz +0 -0
  394. package/packages/icons/9-grids/index.js +0 -1
  395. package/packages/icons/9-grids/index.js.gz +0 -0
  396. package/packages/icons/add/index.js +0 -1
  397. package/packages/icons/add/index.js.gz +0 -0
  398. package/packages/icons/add-2/index.js +0 -1
  399. package/packages/icons/add-item/index.js +0 -1
  400. package/packages/icons/add-item/index.js.gz +0 -0
  401. package/packages/icons/addto/index.js +0 -1
  402. package/packages/icons/addto/index.js.gz +0 -0
  403. package/packages/icons/alarm/index.js +0 -1
  404. package/packages/icons/alarm/index.js.gz +0 -0
  405. package/packages/icons/arrow-first/index.js +0 -1
  406. package/packages/icons/arrow-first/index.js.gz +0 -0
  407. package/packages/icons/arrow-last/index.js +0 -1
  408. package/packages/icons/arrow-last/index.js.gz +0 -0
  409. package/packages/icons/back/index.js +0 -1
  410. package/packages/icons/back/index.js.gz +0 -0
  411. package/packages/icons/bianjigongzuotai/index.js +0 -1
  412. package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
  413. package/packages/icons/biaochi/index.js +0 -1
  414. package/packages/icons/biaochi/index.js.gz +0 -0
  415. package/packages/icons/bim/index.js +0 -1
  416. package/packages/icons/bim/index.js.gz +0 -0
  417. package/packages/icons/bold/index.js +0 -1
  418. package/packages/icons/bold/index.js.gz +0 -0
  419. package/packages/icons/camera/index.js +0 -1
  420. package/packages/icons/camera/index.js.gz +0 -0
  421. package/packages/icons/camera-2/index.js +0 -1
  422. package/packages/icons/camera-2/index.js.gz +0 -0
  423. package/packages/icons/camera-3/index.js +0 -1
  424. package/packages/icons/camera-3/index.js.gz +0 -0
  425. package/packages/icons/cancel-full-screen/index.js +0 -1
  426. package/packages/icons/cancel-full-screen/index.js.gz +0 -0
  427. package/packages/icons/card/index.js +0 -1
  428. package/packages/icons/card/index.js.gz +0 -0
  429. package/packages/icons/card-view/index.js +0 -1
  430. package/packages/icons/card-view/index.js.gz +0 -0
  431. package/packages/icons/caret-bottom/index.js +0 -1
  432. package/packages/icons/caret-bottom/index.js.gz +0 -0
  433. package/packages/icons/caret-right/index.js +0 -1
  434. package/packages/icons/chakancelve/index.js +0 -1
  435. package/packages/icons/chakancelve/index.js.gz +0 -0
  436. package/packages/icons/change/index.js +0 -1
  437. package/packages/icons/change/index.js.gz +0 -0
  438. package/packages/icons/change-2/index.js +0 -1
  439. package/packages/icons/change-2/index.js.gz +0 -0
  440. package/packages/icons/change-3/index.js +0 -1
  441. package/packages/icons/change-3/index.js.gz +0 -0
  442. package/packages/icons/changetenant/index.js +0 -1
  443. package/packages/icons/changetenant/index.js.gz +0 -0
  444. package/packages/icons/chart/index.js +0 -1
  445. package/packages/icons/chart/index.js.gz +0 -0
  446. package/packages/icons/chaxunxiangqing/index.js +0 -1
  447. package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
  448. package/packages/icons/check/index.js +0 -1
  449. package/packages/icons/check/index.js.gz +0 -0
  450. package/packages/icons/chuanglianjiang/index.js +0 -1
  451. package/packages/icons/chuanglianjiang/index.js.gz +0 -0
  452. package/packages/icons/chuangliansheng/index.js +0 -1
  453. package/packages/icons/chuangliansheng/index.js.gz +0 -0
  454. package/packages/icons/chuanglianting/index.js +0 -1
  455. package/packages/icons/chuanglianting/index.js.gz +0 -0
  456. package/packages/icons/chuizhiduiqi/index.js +0 -1
  457. package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
  458. package/packages/icons/chuizhijunfen/index.js +0 -1
  459. package/packages/icons/chuizhijunfen/index.js.gz +0 -0
  460. package/packages/icons/close/index.js +0 -1
  461. package/packages/icons/close/index.js.gz +0 -0
  462. package/packages/icons/close-2/index.js +0 -1
  463. package/packages/icons/close-2/index.js.gz +0 -0
  464. package/packages/icons/color/index.js +0 -1
  465. package/packages/icons/color/index.js.gz +0 -0
  466. package/packages/icons/copy/index.js +0 -1
  467. package/packages/icons/copy/index.js.gz +0 -0
  468. package/packages/icons/custom/index.js +0 -1
  469. package/packages/icons/custom/index.js.gz +0 -0
  470. package/packages/icons/daochu/index.js +0 -1
  471. package/packages/icons/daochu/index.js.gz +0 -0
  472. package/packages/icons/date/index.js +0 -1
  473. package/packages/icons/date/index.js.gz +0 -0
  474. package/packages/icons/decline/index.js +0 -1
  475. package/packages/icons/decline/index.js.gz +0 -0
  476. package/packages/icons/default-btn/index.js +0 -1
  477. package/packages/icons/default-btn/index.js.gz +0 -0
  478. package/packages/icons/default-point/index.js +0 -1
  479. package/packages/icons/default-point/index.js.gz +0 -0
  480. package/packages/icons/delete/index.js +0 -1
  481. package/packages/icons/delete/index.js.gz +0 -0
  482. package/packages/icons/delete-2/index.js +0 -1
  483. package/packages/icons/delete-2/index.js.gz +0 -0
  484. package/packages/icons/dengbijiesuo/index.js +0 -1
  485. package/packages/icons/dengbisuoding/index.js +0 -1
  486. package/packages/icons/dengdai/index.js +0 -1
  487. package/packages/icons/dengdai/index.js.gz +0 -0
  488. package/packages/icons/dianzan/index.js +0 -1
  489. package/packages/icons/dianzan/index.js.gz +0 -0
  490. package/packages/icons/dianzan-2/index.js +0 -1
  491. package/packages/icons/dianzan-2/index.js.gz +0 -0
  492. package/packages/icons/direction-control/index.js +0 -1
  493. package/packages/icons/direction-control/index.js.gz +0 -0
  494. package/packages/icons/ditu/index.js +0 -1
  495. package/packages/icons/ditu/index.js.gz +0 -0
  496. package/packages/icons/dizhixuanze/index.js +0 -1
  497. package/packages/icons/dizhixuanze/index.js.gz +0 -0
  498. package/packages/icons/double-arrow-left/index.js +0 -1
  499. package/packages/icons/double-arrow-left/index.js.gz +0 -0
  500. package/packages/icons/double-arrow-right/index.js +0 -1
  501. package/packages/icons/double-arrow-right/index.js.gz +0 -0
  502. package/packages/icons/down/index.js +0 -1
  503. package/packages/icons/down/index.js.gz +0 -0
  504. package/packages/icons/down-2/index.js +0 -1
  505. package/packages/icons/down-3/index.js +0 -1
  506. package/packages/icons/download/index.js +0 -1
  507. package/packages/icons/download/index.js.gz +0 -0
  508. package/packages/icons/drag/index.js +0 -1
  509. package/packages/icons/drag/index.js.gz +0 -0
  510. package/packages/icons/drawing/index.js +0 -1
  511. package/packages/icons/drawing/index.js.gz +0 -0
  512. package/packages/icons/edit/index.js +0 -1
  513. package/packages/icons/edit/index.js.gz +0 -0
  514. package/packages/icons/edit-1/index.js +0 -1
  515. package/packages/icons/edit-1/index.js.gz +0 -0
  516. package/packages/icons/empty/index.js +0 -1
  517. package/packages/icons/empty/index.js.gz +0 -0
  518. package/packages/icons/enlarge/index.js +0 -1
  519. package/packages/icons/enlarge/index.js.gz +0 -0
  520. package/packages/icons/entry/index.js +0 -1
  521. package/packages/icons/entry/index.js.gz +0 -0
  522. package/packages/icons/fabu/index.js +0 -1
  523. package/packages/icons/fabu/index.js.gz +0 -0
  524. package/packages/icons/fanhui/index.js +0 -1
  525. package/packages/icons/fanhui/index.js.gz +0 -0
  526. package/packages/icons/filter-3/index.js +0 -1
  527. package/packages/icons/filter-3/index.js.gz +0 -0
  528. package/packages/icons/finish/index.js +0 -1
  529. package/packages/icons/finish/index.js.gz +0 -0
  530. package/packages/icons/fold/index.js +0 -1
  531. package/packages/icons/fold/index.js.gz +0 -0
  532. package/packages/icons/folder-quest/index.js +0 -1
  533. package/packages/icons/folder-quest/index.js.gz +0 -0
  534. package/packages/icons/form-tips/index.js +0 -1
  535. package/packages/icons/form-tips/index.js.gz +0 -0
  536. package/packages/icons/full/index.js +0 -1
  537. package/packages/icons/full/index.js.gz +0 -0
  538. package/packages/icons/full-screen/index.js +0 -1
  539. package/packages/icons/full-screen/index.js.gz +0 -0
  540. package/packages/icons/fullscreen-2/index.js +0 -1
  541. package/packages/icons/fullscreen-2/index.js.gz +0 -0
  542. package/packages/icons/fuzhi/index.js +0 -1
  543. package/packages/icons/fuzhi/index.js.gz +0 -0
  544. package/packages/icons/gaojin/index.js +0 -1
  545. package/packages/icons/gaojin/index.js.gz +0 -0
  546. package/packages/icons/gengduocaozuo/index.js +0 -1
  547. package/packages/icons/gongzuotaiguanli/index.js +0 -1
  548. package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
  549. package/packages/icons/header-seach/index.js +0 -1
  550. package/packages/icons/header-seach/index.js.gz +0 -0
  551. package/packages/icons/header-setting/index.js +0 -1
  552. package/packages/icons/header-setting/index.js.gz +0 -0
  553. package/packages/icons/headersettings/index.js +0 -1
  554. package/packages/icons/headersettings/index.js.gz +0 -0
  555. package/packages/icons/hide/index.js +0 -1
  556. package/packages/icons/hide/index.js.gz +0 -0
  557. package/packages/icons/huabufuwei/index.js +0 -1
  558. package/packages/icons/huabufuwei/index.js.gz +0 -0
  559. package/packages/icons/huaxian/index.js +0 -1
  560. package/packages/icons/huaxian/index.js.gz +0 -0
  561. package/packages/icons/huifuchuchangshezhi/index.js +0 -1
  562. package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
  563. package/packages/icons/hyperlinks/index.js +0 -1
  564. package/packages/icons/hyperlinks/index.js.gz +0 -0
  565. package/packages/icons/img/index.js +0 -1
  566. package/packages/icons/img/index.js.gz +0 -0
  567. package/packages/icons/input-close/index.js +0 -1
  568. package/packages/icons/input-close/index.js.gz +0 -0
  569. package/packages/icons/italic/index.js +0 -1
  570. package/packages/icons/italic/index.js.gz +0 -0
  571. package/packages/icons/jia-1/index.js +0 -1
  572. package/packages/icons/jia-1/index.js.gz +0 -0
  573. package/packages/icons/jian-1/index.js +0 -1
  574. package/packages/icons/jianshao-1/index.js +0 -1
  575. package/packages/icons/jinggao/index.js +0 -1
  576. package/packages/icons/jinggao/index.js.gz +0 -0
  577. package/packages/icons/jushangduiqi/index.js +0 -1
  578. package/packages/icons/jushangduiqi/index.js.gz +0 -0
  579. package/packages/icons/juxiaduiqi/index.js +0 -1
  580. package/packages/icons/juxiaduiqi/index.js.gz +0 -0
  581. package/packages/icons/juxinghuizhi/index.js +0 -1
  582. package/packages/icons/juxinghuizhi/index.js.gz +0 -0
  583. package/packages/icons/juyouduiqi/index.js +0 -1
  584. package/packages/icons/juyouduiqi/index.js.gz +0 -0
  585. package/packages/icons/juzuoduiqi/index.js +0 -1
  586. package/packages/icons/juzuoduiqi/index.js.gz +0 -0
  587. package/packages/icons/kaiguan/index.js +0 -1
  588. package/packages/icons/kaiguan/index.js.gz +0 -0
  589. package/packages/icons/kaimen/index.js +0 -1
  590. package/packages/icons/kaimen/index.js.gz +0 -0
  591. package/packages/icons/layout-refresh/index.js +0 -1
  592. package/packages/icons/layout-refresh/index.js.gz +0 -0
  593. package/packages/icons/left/index.js +0 -1
  594. package/packages/icons/link/index.js +0 -1
  595. package/packages/icons/link/index.js.gz +0 -0
  596. package/packages/icons/list/index.js +0 -1
  597. package/packages/icons/list/index.js.gz +0 -0
  598. package/packages/icons/list-view/index.js +0 -1
  599. package/packages/icons/list-view/index.js.gz +0 -0
  600. package/packages/icons/load/index.js +0 -1
  601. package/packages/icons/load/index.js.gz +0 -0
  602. package/packages/icons/lock/index.js +0 -1
  603. package/packages/icons/lock/index.js.gz +0 -0
  604. package/packages/icons/marsh/index.js +0 -1
  605. package/packages/icons/me/index.js +0 -1
  606. package/packages/icons/me/index.js.gz +0 -0
  607. package/packages/icons/more/index.js +0 -1
  608. package/packages/icons/more/index.js.gz +0 -0
  609. package/packages/icons/more-2/index.js +0 -1
  610. package/packages/icons/more-btn/index.js +0 -1
  611. package/packages/icons/more-btn/index.js.gz +0 -0
  612. package/packages/icons/muted/index.js +0 -1
  613. package/packages/icons/muted/index.js.gz +0 -0
  614. package/packages/icons/notification-face/index.js +0 -1
  615. package/packages/icons/notification-face/index.js.gz +0 -0
  616. package/packages/icons/paiban/index.js +0 -1
  617. package/packages/icons/paiban/index.js.gz +0 -0
  618. package/packages/icons/password-lock/index.js +0 -1
  619. package/packages/icons/password-lock/index.js.gz +0 -0
  620. package/packages/icons/pause/index.js +0 -1
  621. package/packages/icons/pause/index.js.gz +0 -0
  622. package/packages/icons/phone/index.js +0 -1
  623. package/packages/icons/phone/index.js.gz +0 -0
  624. package/packages/icons/pinglun/index.js +0 -1
  625. package/packages/icons/pinglun/index.js.gz +0 -0
  626. package/packages/icons/plan/index.js +0 -1
  627. package/packages/icons/plan/index.js.gz +0 -0
  628. package/packages/icons/play/index.js +0 -1
  629. package/packages/icons/play/index.js.gz +0 -0
  630. package/packages/icons/preview/index.js +0 -1
  631. package/packages/icons/preview/index.js.gz +0 -0
  632. package/packages/icons/preview-eye/index.js +0 -1
  633. package/packages/icons/preview-eye/index.js.gz +0 -0
  634. package/packages/icons/project-list/index.js +0 -1
  635. package/packages/icons/project-list/index.js.gz +0 -0
  636. package/packages/icons/project-tree/index.js +0 -1
  637. package/packages/icons/project-tree/index.js.gz +0 -0
  638. package/packages/icons/promptinformation-l/index.js +0 -1
  639. package/packages/icons/promptinformation-l/index.js.gz +0 -0
  640. package/packages/icons/qiehuangongzuotai/index.js +0 -1
  641. package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
  642. package/packages/icons/quanping/index.js +0 -1
  643. package/packages/icons/quanping/index.js.gz +0 -0
  644. package/packages/icons/rate-all/index.js +0 -1
  645. package/packages/icons/rate-all/index.js.gz +0 -0
  646. package/packages/icons/rate-half/index.js +0 -1
  647. package/packages/icons/rate-half/index.js.gz +0 -0
  648. package/packages/icons/rate-none/index.js +0 -1
  649. package/packages/icons/rate-none/index.js.gz +0 -0
  650. package/packages/icons/recover/index.js +0 -1
  651. package/packages/icons/recover/index.js.gz +0 -0
  652. package/packages/icons/refresh/index.js +0 -1
  653. package/packages/icons/refresh/index.js.gz +0 -0
  654. package/packages/icons/reload/index.js +0 -1
  655. package/packages/icons/reload/index.js.gz +0 -0
  656. package/packages/icons/reset/index.js +0 -1
  657. package/packages/icons/reset/index.js.gz +0 -0
  658. package/packages/icons/right/index.js +0 -1
  659. package/packages/icons/riqixuanze/index.js +0 -1
  660. package/packages/icons/riqixuanze/index.js.gz +0 -0
  661. package/packages/icons/rise/index.js +0 -1
  662. package/packages/icons/rise/index.js.gz +0 -0
  663. package/packages/icons/save/index.js +0 -1
  664. package/packages/icons/save/index.js.gz +0 -0
  665. package/packages/icons/screenshot/index.js +0 -1
  666. package/packages/icons/screenshot/index.js.gz +0 -0
  667. package/packages/icons/search/index.js +0 -1
  668. package/packages/icons/search/index.js.gz +0 -0
  669. package/packages/icons/select/index.js +0 -1
  670. package/packages/icons/select-confirm/index.js +0 -1
  671. package/packages/icons/select-confirm/index.js.gz +0 -0
  672. package/packages/icons/set-up/index.js +0 -1
  673. package/packages/icons/set-up/index.js.gz +0 -0
  674. package/packages/icons/setting/index.js +0 -1
  675. package/packages/icons/setting/index.js.gz +0 -0
  676. package/packages/icons/shangchuan/index.js +0 -1
  677. package/packages/icons/shangchuan/index.js.gz +0 -0
  678. package/packages/icons/shebei/index.js +0 -1
  679. package/packages/icons/shebei/index.js.gz +0 -0
  680. package/packages/icons/shebeiqunzu/index.js +0 -1
  681. package/packages/icons/shebeiqunzu/index.js.gz +0 -0
  682. package/packages/icons/sheweimoren/index.js +0 -1
  683. package/packages/icons/sheweimoren/index.js.gz +0 -0
  684. package/packages/icons/shisuan/index.js +0 -1
  685. package/packages/icons/shisuan/index.js.gz +0 -0
  686. package/packages/icons/shitu-kapian/index.js +0 -1
  687. package/packages/icons/shitu-kapian/index.js.gz +0 -0
  688. package/packages/icons/shitu-liebiao/index.js +0 -1
  689. package/packages/icons/shitu-map/index.js +0 -1
  690. package/packages/icons/shitu-map/index.js.gz +0 -0
  691. package/packages/icons/shortcut-keys/index.js +0 -1
  692. package/packages/icons/shortcut-keys/index.js.gz +0 -0
  693. package/packages/icons/shoudongzhihang/index.js +0 -1
  694. package/packages/icons/shoudongzhihang/index.js.gz +0 -0
  695. package/packages/icons/shouqiliangcemianban/index.js +0 -1
  696. package/packages/icons/shouqiyoucemianban/index.js +0 -1
  697. package/packages/icons/shouqiyoucemianban-1/index.js +0 -1
  698. package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
  699. package/packages/icons/shouqizuocemianban/index.js +0 -1
  700. package/packages/icons/shouqizuocemianban-1/index.js +0 -1
  701. package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
  702. package/packages/icons/shouquan/index.js +0 -1
  703. package/packages/icons/shouquan/index.js.gz +0 -0
  704. package/packages/icons/show/index.js +0 -1
  705. package/packages/icons/show/index.js.gz +0 -0
  706. package/packages/icons/shrink/index.js +0 -1
  707. package/packages/icons/shrink/index.js.gz +0 -0
  708. package/packages/icons/shuaxin/index.js +0 -1
  709. package/packages/icons/shuaxin/index.js.gz +0 -0
  710. package/packages/icons/shuipingduiqi/index.js +0 -1
  711. package/packages/icons/shuipingduiqi/index.js.gz +0 -0
  712. package/packages/icons/shuipingjunfen/index.js +0 -1
  713. package/packages/icons/shuipingjunfen/index.js.gz +0 -0
  714. package/packages/icons/shuyoufanye/index.js +0 -1
  715. package/packages/icons/shuzuofanye/index.js +0 -1
  716. package/packages/icons/solid-filter/index.js +0 -1
  717. package/packages/icons/solid-filter/index.js.gz +0 -0
  718. package/packages/icons/start/index.js +0 -1
  719. package/packages/icons/start/index.js.gz +0 -0
  720. package/packages/icons/stop/index.js +0 -1
  721. package/packages/icons/stop/index.js.gz +0 -0
  722. package/packages/icons/structural-diagram/index.js +0 -1
  723. package/packages/icons/structural-diagram/index.js.gz +0 -0
  724. package/packages/icons/success/index.js +0 -1
  725. package/packages/icons/table-header-search/index.js +0 -1
  726. package/packages/icons/table-header-search/index.js.gz +0 -0
  727. package/packages/icons/text/index.js +0 -1
  728. package/packages/icons/text/index.js.gz +0 -0
  729. package/packages/icons/tick/index.js +0 -1
  730. package/packages/icons/tick/index.js.gz +0 -0
  731. package/packages/icons/tishixinxi/index.js +0 -1
  732. package/packages/icons/tishixinxi/index.js.gz +0 -0
  733. package/packages/icons/tongguo/index.js +0 -1
  734. package/packages/icons/tongguo/index.js.gz +0 -0
  735. package/packages/icons/tongzhi/index.js +0 -1
  736. package/packages/icons/tongzhi/index.js.gz +0 -0
  737. package/packages/icons/tubiaoku/index.js +0 -1
  738. package/packages/icons/tubiaoku/index.js.gz +0 -0
  739. package/packages/icons/tuichuquanping/index.js +0 -1
  740. package/packages/icons/tuichuquanping/index.js.gz +0 -0
  741. package/packages/icons/tuozhuai/index.js +0 -1
  742. package/packages/icons/tuozhuai/index.js.gz +0 -0
  743. package/packages/icons/underline/index.js +0 -1
  744. package/packages/icons/underline/index.js.gz +0 -0
  745. package/packages/icons/unflod/index.js +0 -1
  746. package/packages/icons/unflod/index.js.gz +0 -0
  747. package/packages/icons/unlock/index.js +0 -1
  748. package/packages/icons/unlock/index.js.gz +0 -0
  749. package/packages/icons/up/index.js +0 -1
  750. package/packages/icons/up/index.js.gz +0 -0
  751. package/packages/icons/up-2/index.js +0 -1
  752. package/packages/icons/up-2/index.js.gz +0 -0
  753. package/packages/icons/vauth/index.js +0 -1
  754. package/packages/icons/vauth/index.js.gz +0 -0
  755. package/packages/icons/view/index.js +0 -1
  756. package/packages/icons/view/index.js.gz +0 -0
  757. package/packages/icons/view-2/index.js +0 -1
  758. package/packages/icons/view-2/index.js.gz +0 -0
  759. package/packages/icons/volume/index.js +0 -1
  760. package/packages/icons/volume/index.js.gz +0 -0
  761. package/packages/icons/wangge/index.js +0 -1
  762. package/packages/icons/wangge/index.js.gz +0 -0
  763. package/packages/icons/wangge-1/index.js +0 -1
  764. package/packages/icons/wangge-1/index.js.gz +0 -0
  765. package/packages/icons/warning/index.js +0 -1
  766. package/packages/icons/warning/index.js.gz +0 -0
  767. package/packages/icons/warning-face/index.js +0 -1
  768. package/packages/icons/warning-face/index.js.gz +0 -0
  769. package/packages/icons/wendujiang/index.js +0 -1
  770. package/packages/icons/wendujiang/index.js.gz +0 -0
  771. package/packages/icons/wendusheng/index.js +0 -1
  772. package/packages/icons/wendusheng/index.js.gz +0 -0
  773. package/packages/icons/withdraw/index.js +0 -1
  774. package/packages/icons/withdraw/index.js.gz +0 -0
  775. package/packages/icons/xiala/index.js +0 -1
  776. package/packages/icons/xiazai/index.js +0 -1
  777. package/packages/icons/xiazai/index.js.gz +0 -0
  778. package/packages/icons/xinzengtongji/index.js +0 -1
  779. package/packages/icons/xinzengtongji/index.js.gz +0 -0
  780. package/packages/icons/xuanzhuanjiaodu/index.js +0 -1
  781. package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
  782. package/packages/icons/yidongduan/index.js +0 -1
  783. package/packages/icons/yidongduan/index.js.gz +0 -0
  784. package/packages/icons/yincang/index.js +0 -1
  785. package/packages/icons/yincang/index.js.gz +0 -0
  786. package/packages/icons/yingpian/index.js +0 -1
  787. package/packages/icons/yingpian/index.js.gz +0 -0
  788. package/packages/icons/yitushoutu/index.js +0 -1
  789. package/packages/icons/yitushoutu/index.js.gz +0 -0
  790. package/packages/icons/yuanxinghuizhi/index.js +0 -1
  791. package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
  792. package/packages/icons/yulan-2/index.js +0 -1
  793. package/packages/icons/yulan-2/index.js.gz +0 -0
  794. package/packages/icons/zhangaiwu/index.js +0 -1
  795. package/packages/icons/zhangaiwu/index.js.gz +0 -0
  796. package/packages/icons/zhizhen/index.js +0 -1
  797. package/packages/icons/zhizhen/index.js.gz +0 -0
  798. package/packages/icons/zhuomianduan/index.js +0 -1
  799. package/packages/icons/zhuomianduan/index.js.gz +0 -0
  800. package/packages/icons/zidingyihuizhi/index.js +0 -1
  801. package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
  802. package/packages/icons/zuobiao/index.js +0 -1
  803. package/packages/icons/zuobiao/index.js.gz +0 -0
  804. package/packages/components/input-number/src/App.vue.d.ts +0 -5806
  805. package/packages/components/input-number/src/type.d.ts +0 -53
  806. package/packages/components/virtual-tree/src/App.vue.d.ts +0 -4103
  807. package/packages/components/virtual-tree/src/type.d.ts +0 -40
  808. package/packages/icons/caret-right/index.js.gz +0 -0
  809. package/packages/icons/shouqiyoucemianban/index.js.gz +0 -0
  810. package/packages/icons/shouqizuocemianban/index.js.gz +0 -0
  811. package/packages/icons/shuyoufanye/index.js.gz +0 -0
  812. package/packages/icons/shuzuofanye/index.js.gz +0 -0
@@ -1,97 +1,98 @@
1
1
  import '@das-fed/ui/packages/business-components/process-form/style.css';
2
- import { withInstall as bt } from "@das-fed/utils/with-install/index";
3
- import { ref as m, defineComponent as F, watch as x, openBlock as S, createBlock as N, unref as p, withCtx as E, createVNode as q, createElementVNode as _t, createTextVNode as me, toDisplayString as fe, createElementBlock as se, Fragment as Ve, isRef as $e, createSlots as wt, createCommentVNode as de, h as ae, warn as Vt, getCurrentInstance as $t, inject as ke, computed as ce, provide as Dt, resolveDynamicComponent as Ne, normalizeClass as Ae, normalizeStyle as Ce, renderSlot as xe, onMounted as Mt, renderList as Ee, withDirectives as St } from "vue";
4
- import { DasFormRef as Ot, DasForm as Rt } from "@das-fed/ui/packages/components/form/index";
5
- import { DasButton as Lt } from "@das-fed/ui/packages/components/button/index";
6
- import { vOverlay as Tt } from "@das-fed/ui/packages/components/overlay/index";
7
- import { createService as te } from "@das-fed/utils/api-services";
8
- import { DasUpload as jt } 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 Nt } from "@das-fed/ui/packages/components/autocomplete/index";
11
- import { DasImageViewer as Ue } from "@das-fed/ui/packages/components/image-viewer/index";
12
- import { DasInput as Ft } from "@das-fed/ui/packages/components/input/index";
13
- import { DasTableColumn as z } from "@das-fed/ui/packages/components/table/index";
14
- import { DasModelTableDialog as qt } from "@das-fed/ui/packages/business-components/model-table-dialog";
15
- import { getProjectInfo as ze } from "@das-fed/utils/common-info";
16
- import { i18n as X } from "@das-fed/web/packages/i18n/index";
17
- import { getConfig as Bt } from "@das-fed/utils/config";
18
- import { DasRichEditor as Qe } from "@das-fed/ui/packages/components/rich-editor/index";
19
- import { DasCollaspe as Pt } from "@das-fed/ui/packages/components/collaspe/index";
20
- import { DasCollaspePanel as Et } from "@das-fed/ui/packages/components/collapse-panel/index";
21
- const ie = "v1", It = te(`/workflow/form/form/${ie}`), Kt = te(`/workflow/form/formDef/${ie}`);
22
- te(`/workflow/api/user/${ie}`);
23
- const Je = te(`/workflow/api/extend/${ie}`), kt = te(`/workflow/flow/def/${ie}`), At = te(`/workflow/form/customQuery/${ie}`), ne = te(`/api/enterpriseright/permission/${ie}`), Fe = te(`/api/space-manage/space-tree/${ie}`), Ct = It.get("/formDesign"), xt = Kt.get("/get"), Ut = Je.get("/report-config");
24
- Je.get("/application-report");
25
- const zt = kt.get("/getBindRelationByDefKey"), Qt = At.get("/getByAlias"), Jt = ne.get("/organization/authTree"), Yt = ne.post("/user/list"), Wt = ne.post("/data/user-query"), Ht = ne.get("/role/list"), Zt = ne.post("/data/role-ids"), Gt = ne.get("/organization/organizationpage"), Xt = ne.get("/station/list"), es = ne.get("/position/list"), De = ne.post("/organization/detailbyids"), ts = Fe.get("/controller/area-children"), ss = Fe.get("/controller/fuzzy-tree-all"), ns = Fe.get("/controller/space"), Me = m(""), os = (s, e, t) => {
26
- const { setDetailData: n, getFormData: g, setFormData: c, formRule: r } = t, u = m([]), o = m([]), a = m([]), i = m(!1), l = Ot(), d = (V) => Object.keys(V).length === 0, f = async (V) => {
27
- const [R, T] = await Ct({ formId: V }).run();
28
- if (R) return;
29
- const J = JSON.parse(T.bos);
30
- Me.value = J[0].alias, o.value.length && o.value.forEach((ee) => {
31
- ee.formKey === T.formKey && c(T.formKey, Me.value, ee.id);
2
+ import { withInstall as Ge } from "@das-fed/utils/with-install/index";
3
+ import { ref as d, defineComponent as D, watch as O, openBlock as h, createBlock as V, unref as l, withCtx as S, createVNode as $, createElementVNode as Xe, createTextVNode as W, toDisplayString as Y, createElementBlock as I, Fragment as ee, isRef as oe, createSlots as et, createCommentVNode as J, h as C, warn as tt, getCurrentInstance as st, inject as _e, computed as x, provide as ot, resolveDynamicComponent as ce, normalizeClass as we, normalizeStyle as Ve, renderSlot as De, onMounted as nt, renderList as ye, withDirectives as at } from "vue";
4
+ import { DasFormRef as it, DasForm as lt } from "@das-fed/ui/packages/components/form/index";
5
+ import { DasButton as rt } from "@das-fed/ui/packages/components/button/index";
6
+ import { vOverlay as ut } from "@das-fed/ui/packages/components/overlay/index";
7
+ import { createService as K } from "@das-fed/utils/create-api-service";
8
+ import { DasUpload as pt } from "@das-fed/ui/packages/components/upload/index";
9
+ import { DasFormItem as M } from "@das-fed/ui/packages/components/form-item/index";
10
+ import { DasAutocomplete as gt } from "@das-fed/ui/packages/components/autocomplete/index";
11
+ import ge from "dayjs";
12
+ import { DasImageViewer as $e } from "@das-fed/ui/packages/components/image-viewer/index";
13
+ import { DasInput as ct } from "@das-fed/ui/packages/components/input/index";
14
+ import { DasTableColumn as T } from "@das-fed/ui/packages/components/table/index";
15
+ import { DasModelTableDialog as dt } from "@das-fed/ui/packages/business-components/model-table-dialog";
16
+ import { getProjectInfo as Re } from "@das-fed/utils/common-info";
17
+ import { i18n as E } from "@das-fed/web/packages/i18n/index";
18
+ import { getConfig as mt } from "@das-fed/utils/config";
19
+ import { DasRichEditor as Se } from "@das-fed/ui/packages/components/rich-editor/index";
20
+ import { DasCollaspe as ft } from "@das-fed/ui/packages/components/collaspe/index";
21
+ import { DasCollaspePanel as vt } from "@das-fed/ui/packages/components/collapse-panel/index";
22
+ const Q = "v1", yt = K(`/workflow/form/form/${Q}`), ht = K(`/workflow/form/formDef/${Q}`);
23
+ K(`/workflow/api/user/${Q}`);
24
+ const Me = K(`/workflow/api/extend/${Q}`), bt = K(`/workflow/flow/def/${Q}`), _t = K(`/workflow/form/customQuery/${Q}`), k = K(`/api/enterpriseright/permission/${Q}`), de = K(`/api/space-manage/space-tree/${Q}`), wt = yt.get("/formDesign"), Vt = ht.get("/get"), Dt = Me.get("/report-config");
25
+ Me.get("/application-report");
26
+ const $t = bt.get("/getBindRelationByDefKey"), Rt = _t.get("/getByAlias"), St = k.get("/organization/authTree"), Mt = k.post("/user/list"), Lt = k.post("/data/user-query"), Ot = k.get("/role/list"), Tt = k.post("/data/role-ids"), jt = k.get("/organization/organizationpage"), Nt = k.get("/station/list"), Ft = k.get("/position/list"), ne = k.post("/organization/detailbyids"), qt = de.get("/controller/area-children"), Bt = de.get("/controller/fuzzy-tree-all"), Pt = de.get("/controller/space"), ae = d(""), Et = (s, e, t) => {
27
+ const { setDetailData: o, getFormData: m, setFormData: g, formRule: r } = t, p = d([]), n = d([]), a = d([]), i = d(!1), u = it(), c = (y) => Object.keys(y).length === 0, f = async (y) => {
28
+ const [b, w] = await wt({ formId: y }).run();
29
+ if (b) return;
30
+ const q = JSON.parse(w.bos);
31
+ ae.value = q[0].alias, n.value.length && n.value.forEach((z) => {
32
+ z.formKey === w.formKey && g(w.formKey, ae.value, z.id);
32
33
  });
33
- const [Y, Z] = await xt({ formDefId: T.defId }).run();
34
- a.value = JSON.parse(Z.value.expand).list, o.value.length || c(T.formKey, Me.value), d(s.data) && (i.value = !0), d(s.data) || (n(s.data), s.flowKey && (u.value = s.data.button_list ? JSON.parse(s.data.button_list) : []), i.value = !0);
34
+ const [A, Z] = await Vt({ formDefId: w.defId }).run();
35
+ a.value = JSON.parse(Z.value.expand).list, n.value.length || g(w.formKey, ae.value), c(s.data) && (i.value = !0), c(s.data) || (o(s.data), s.flowKey && (p.value = s.data.button_list ? JSON.parse(s.data.button_list) : []), i.value = !0);
35
36
  };
36
37
  return {
37
38
  isShowPage: i,
38
39
  formJsonList: a,
39
- btnList: u,
40
- formRef: l,
40
+ btnList: p,
41
+ formRef: u,
41
42
  getForm: f,
42
43
  getBtnSet: async () => {
43
44
  if (s.formConfigurationId) {
44
- const [V, R] = await Ut({ id: s.formConfigurationId }).run();
45
- if (V) return;
46
- o.value = R.reports, u.value = R.reports[0].buttons.filter((T) => !(s.isView && T.event !== "LINK")), f(R.reports[0].formId);
45
+ const [y, b] = await Dt({ id: s.formConfigurationId }).run();
46
+ if (y) return;
47
+ n.value = b.reports, p.value = b.reports[0].buttons.filter((w) => !(s.isView && w.event !== "LINK")), f(b.reports[0].formId);
47
48
  }
48
49
  if (s.flowKey) {
49
- const [V, R] = await zt({ flowKey: s.flowKey }).run();
50
- if (V) return;
51
- f(R.pcForm.pcFormId);
50
+ const [y, b] = await $t({ flowKey: s.flowKey }).run();
51
+ if (y) return;
52
+ f(b.pcForm.pcFormId);
52
53
  }
53
54
  },
54
- handleClick: (V) => {
55
- var R;
56
- (R = l.value) == null || R.validate(async (T) => {
57
- T && (e("handleClick", V, g()), V.event === "LINK" && o.value.forEach((J) => {
58
- V.eventTarget === J.formKey && (u.value = J.buttons.filter((Y) => !(s.isView && Y.event !== "LINK")), i.value = !1, r.value = {}, f(J.formId));
55
+ handleClick: (y) => {
56
+ var b;
57
+ (b = u.value) == null || b.validate(async (w) => {
58
+ w && (e("handleClick", y, m()), y.event === "LINK" && n.value.forEach((q) => {
59
+ y.eventTarget === q.formKey && (p.value = q.buttons.filter((A) => !(s.isView && A.event !== "LINK")), i.value = !1, r.value = {}, f(q.formId));
59
60
  }));
60
61
  });
61
62
  },
62
- validateFormData: () => new Promise((V, R) => {
63
- var T;
64
- (T = l.value) == null || T.validate((J) => {
65
- const Y = g();
66
- V({
67
- result: J,
68
- data: Y
63
+ validateFormData: () => new Promise((y, b) => {
64
+ var w;
65
+ (w = u.value) == null || w.validate((q) => {
66
+ const A = m();
67
+ y({
68
+ result: q,
69
+ data: A
69
70
  });
70
71
  });
71
72
  })
72
73
  };
73
- }, Q = (s) => {
74
+ }, j = (s) => {
74
75
  var e = new RegExp("<.+?>", "g"), t = s.replace(e, "").replace(/&nbsp;/g, "");
75
76
  return t;
76
- }, _e = async (s, e) => {
77
- const [t, n] = await Qt({ alias: s }).run();
78
- if (!t && n.url) {
79
- const g = e.filter((a) => a.defaultType == 2), c = m({});
80
- g.forEach((a) => {
81
- c.value[a.field] = a.defaultValue;
77
+ }, X = async (s, e) => {
78
+ const [t, o] = await Rt({ alias: s }).run();
79
+ if (!t && o.url) {
80
+ const m = e.filter((a) => a.defaultType == 2), g = d({});
81
+ m.forEach((a) => {
82
+ g.value[a.field] = a.defaultValue;
82
83
  });
83
- const r = n.requestType === "POST" ? te(n.url).post("") : te(n.url).get(""), [u, o] = await r({}, { params: c.value }).run();
84
- return u ? void 0 : o;
84
+ const r = o.requestType === "POST" ? K(o.url).post("") : K(o.url).get(""), [p, n] = await r({}, { params: g.value }).run();
85
+ return p ? void 0 : n;
85
86
  }
86
- }, H = async (s) => {
87
- const e = m(!1);
87
+ }, F = async (s) => {
88
+ const e = d(!1);
88
89
  return s.forEach((t) => {
89
90
  t.key === "required" && (e.value = !0);
90
91
  }), e.value;
91
- }, as = {
92
+ }, Kt = {
92
93
  name: "attachment"
93
- }, is = /* @__PURE__ */ F({
94
- ...as,
94
+ }, It = /* @__PURE__ */ D({
95
+ ...Kt,
95
96
  props: {
96
97
  setting: { default: () => ({
97
98
  icon: "",
@@ -106,36 +107,35 @@ const zt = kt.get("/getBindRelationByDefKey"), Qt = At.get("/getByAlias"), Jt =
106
107
  store: {}
107
108
  },
108
109
  setup(s) {
109
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m();
110
- e.setting.options.tip && (c.value = Q(e.setting.options.tip));
111
- const r = m([{ name: "111", sizeText: "9.4KB" }]);
112
- return r.value || t(e.setting.name, null), x(r, (u) => {
113
- t(e.setting.name, JSON.stringify(u));
114
- }), (u, o) => (S(), N(p(A), {
110
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d();
111
+ e.setting.options.tip && (g.value = j(e.setting.options.tip));
112
+ const r = d([{ name: "111", sizeText: "9.4KB" }]);
113
+ return r.value || t(e.setting.name, null), O(r, (p) => {
114
+ t(e.setting.name, JSON.stringify(p));
115
+ }), (p, n) => (h(), V(l(M), {
115
116
  col: e.span,
116
- marginRight: u.marginRight,
117
- label: u.setting.desc,
117
+ marginRight: p.marginRight,
118
+ label: p.setting.desc,
118
119
  type: "custom",
119
- helpMessage: c.value
120
+ helpMessage: g.value
120
121
  }, {
121
- default: E(() => [
122
- q(p(jt), {
122
+ default: S(() => [
123
+ $(l(pt), {
123
124
  style: { width: "100%" },
124
125
  modelValue: r.value,
125
- "onUpdate:modelValue": o[0] || (o[0] = (a) => r.value = a)
126
+ "onUpdate:modelValue": n[0] || (n[0] = (a) => r.value = a)
126
127
  }, null, 8, ["modelValue"])
127
128
  ]),
128
129
  _: 1
129
- /* STABLE */
130
130
  }, 8, ["col", "marginRight", "label", "helpMessage"]));
131
131
  }
132
- }), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
132
+ }), Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
133
133
  __proto__: null,
134
- default: is
135
- }, Symbol.toStringTag, { value: "Module" })), ls = {
134
+ default: It
135
+ }, Symbol.toStringTag, { value: "Module" })), kt = {
136
136
  name: "autocomplete"
137
- }, rs = /* @__PURE__ */ F({
138
- ...ls,
137
+ }, At = /* @__PURE__ */ D({
138
+ ...kt,
139
139
  props: {
140
140
  setting: { default: () => ({
141
141
  icon: "",
@@ -150,54 +150,53 @@ const zt = kt.get("/getBindRelationByDefKey"), Qt = At.get("/getByAlias"), Jt =
150
150
  store: {}
151
151
  },
152
152
  setup(s) {
153
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
154
- H(e.setting.options.validateList).then((d) => {
155
- c.value = d;
153
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
154
+ F(e.setting.options.validateList).then((c) => {
155
+ g.value = c;
156
156
  });
157
- const r = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", u = e.setting.options.children ? e.setting.options.children : "children", o = !!e.setting.options.fillInFullPath, a = m([]);
158
- e.setting.options.customQuery.alias ? _e(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((d) => {
159
- a.value = d;
157
+ const r = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", p = e.setting.options.children ? e.setting.options.children : "children", n = !!e.setting.options.fillInFullPath, a = d([]);
158
+ e.setting.options.customQuery.alias ? X(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((c) => {
159
+ a.value = c;
160
160
  }) : a.value = e.setting.options.options;
161
- const i = m();
162
- e.setting.options.tip && (i.value = Q(e.setting.options.tip));
163
- const l = m("");
164
- return l.value = n(e.setting.name) || l.value, l.value || t(e.setting.name, null), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(l, (d) => {
165
- t(e.setting.name, d.toString());
166
- }), (d, f) => (S(), N(p(A), {
161
+ const i = d();
162
+ e.setting.options.tip && (i.value = j(e.setting.options.tip));
163
+ const u = d("");
164
+ return u.value = o(e.setting.name) || u.value, u.value || t(e.setting.name, null), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(u, (c) => {
165
+ t(e.setting.name, c.toString());
166
+ }), (c, f) => (h(), V(l(M), {
167
167
  col: e.span,
168
- marginRight: d.marginRight,
168
+ marginRight: c.marginRight,
169
169
  prop: e.setting.name,
170
- modelValue: l.value,
171
- "onUpdate:modelValue": f[1] || (f[1] = (O) => l.value = O),
172
- label: d.setting.desc,
170
+ modelValue: u.value,
171
+ "onUpdate:modelValue": f[1] || (f[1] = (R) => u.value = R),
172
+ label: c.setting.desc,
173
173
  type: "custom",
174
174
  helpMessage: i.value,
175
- required: c.value
175
+ required: g.value
176
176
  }, {
177
- default: E(() => [
178
- q(p(Nt), {
179
- modelValue: l.value,
180
- "onUpdate:modelValue": f[0] || (f[0] = (O) => l.value = O),
177
+ default: S(() => [
178
+ $(l(gt), {
179
+ modelValue: u.value,
180
+ "onUpdate:modelValue": f[0] || (f[0] = (R) => u.value = R),
181
181
  options: a.value,
182
182
  isView: e.isView,
183
183
  width: "100%",
184
- fieldNames: { label: p(r), children: p(u) },
185
- showFullPath: p(o),
186
- placeholder: d.setting.options.placeholder,
184
+ fieldNames: { label: l(r), children: l(p) },
185
+ showFullPath: l(n),
186
+ placeholder: c.setting.options.placeholder,
187
187
  clearable: ""
188
188
  }, null, 8, ["modelValue", "options", "isView", "fieldNames", "showFullPath", "placeholder"])
189
189
  ]),
190
190
  _: 1
191
- /* STABLE */
192
191
  }, 8, ["col", "marginRight", "prop", "modelValue", "label", "helpMessage", "required"]));
193
192
  }
194
- }), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
193
+ }), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
195
194
  __proto__: null,
196
- default: rs
197
- }, Symbol.toStringTag, { value: "Module" })), us = {
195
+ default: At
196
+ }, Symbol.toStringTag, { value: "Module" })), Ct = {
198
197
  name: "checkbox"
199
- }, ps = /* @__PURE__ */ F({
200
- ...us,
198
+ }, Qt = /* @__PURE__ */ D({
199
+ ...Ct,
201
200
  props: {
202
201
  setting: { default: () => ({
203
202
  icon: "",
@@ -212,327 +211,45 @@ const zt = kt.get("/getBindRelationByDefKey"), Qt = At.get("/getByAlias"), Jt =
212
211
  store: {}
213
212
  },
214
213
  setup(s) {
215
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
216
- H(e.setting.options.validateList).then((l) => {
217
- c.value = l;
214
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
215
+ F(e.setting.options.validateList).then((u) => {
216
+ g.value = u;
218
217
  });
219
- const r = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", u = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = m([]);
220
- e.setting.options.customQuery.alias ? _e(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((l) => {
221
- o.value = l;
222
- }) : o.value = e.setting.options.options;
223
- const a = m();
224
- e.setting.options.tip && (a.value = Q(e.setting.options.tip)());
225
- const i = m([]);
218
+ const r = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", p = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", n = d([]);
219
+ e.setting.options.customQuery.alias ? X(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((u) => {
220
+ n.value = u;
221
+ }) : n.value = e.setting.options.options;
222
+ const a = d();
223
+ e.setting.options.tip && (a.value = j(e.setting.options.tip)());
224
+ const i = d([]);
226
225
  return setTimeout(() => {
227
- n(e.setting.name) && (i.value = n(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (i.value = e.setting.options.formulasDiyJs.split(",")), i.value.length || i.value || t(e.setting.name, null);
228
- }, 50), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(i, (l) => {
229
- t(e.setting.name, l.toString());
230
- }), (l, d) => (S(), N(p(A), {
226
+ o(e.setting.name) && (i.value = o(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (i.value = e.setting.options.formulasDiyJs.split(",")), i.value.length || i.value || t(e.setting.name, null);
227
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(i, (u) => {
228
+ t(e.setting.name, u.toString());
229
+ }), (u, c) => (h(), V(l(M), {
231
230
  col: e.span,
232
- marginRight: l.marginRight,
231
+ marginRight: u.marginRight,
233
232
  modelValue: i.value,
234
- "onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
235
- layout: l.setting.options.inline ? "vertical" : "default",
236
- label: l.setting.desc,
233
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => i.value = f),
234
+ layout: u.setting.options.inline ? "vertical" : "default",
235
+ label: u.setting.desc,
237
236
  prop: e.setting.name,
238
237
  type: "checkbox",
239
- options: o.value,
238
+ options: n.value,
240
239
  isView: e.isView,
241
- optionsValueKey: p(r),
242
- optionsLabelKey: p(u),
240
+ optionsValueKey: l(r),
241
+ optionsLabelKey: l(p),
243
242
  helpMessage: a.value,
244
- required: c.value
243
+ required: g.value
245
244
  }, null, 8, ["col", "marginRight", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"]));
246
245
  }
247
- }), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
246
+ }), Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
248
247
  __proto__: null,
249
- default: ps
250
- }, Symbol.toStringTag, { value: "Module" }));
251
- var cs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
252
- function ds(s) {
253
- return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
254
- }
255
- var Ze = { exports: {} };
256
- (function(s, e) {
257
- (function(t, n) {
258
- s.exports = n();
259
- })(cs, function() {
260
- var t = 1e3, n = 6e4, g = 36e5, c = "millisecond", r = "second", u = "minute", o = "hour", a = "day", i = "week", l = "month", d = "quarter", f = "year", O = "date", _ = "Invalid Date", L = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
261
- var y = ["th", "st", "nd", "rd"], v = w % 100;
262
- return "[" + w + (y[(v - 20) % 10] || y[v] || y[0]) + "]";
263
- } }, T = function(w, y, v) {
264
- var b = String(w);
265
- return !b || b.length >= y ? w : "" + Array(y + 1 - b.length).join(v) + w;
266
- }, J = { s: T, z: function(w) {
267
- var y = -w.utcOffset(), v = Math.abs(y), b = Math.floor(v / 60), h = v % 60;
268
- return (y <= 0 ? "+" : "-") + T(b, 2, "0") + ":" + T(h, 2, "0");
269
- }, m: function w(y, v) {
270
- if (y.date() < v.date()) return -w(v, y);
271
- var b = 12 * (v.year() - y.year()) + (v.month() - y.month()), h = y.clone().add(b, l), D = v - h < 0, M = y.clone().add(b + (D ? -1 : 1), l);
272
- return +(-(b + (v - h) / (D ? h - M : M - h)) || 0);
273
- }, a: function(w) {
274
- return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
275
- }, p: function(w) {
276
- return { M: l, y: f, w: i, d: a, D: O, h: o, m: u, s: r, ms: c, Q: d }[w] || String(w || "").toLowerCase().replace(/s$/, "");
277
- }, u: function(w) {
278
- return w === void 0;
279
- } }, Y = "en", Z = {};
280
- Z[Y] = R;
281
- var ee = "$isDayjsObject", le = function(w) {
282
- return w instanceof C || !(!w || !w[ee]);
283
- }, B = function w(y, v, b) {
284
- var h;
285
- if (!y) return Y;
286
- if (typeof y == "string") {
287
- var D = y.toLowerCase();
288
- Z[D] && (h = D), v && (Z[D] = v, h = D);
289
- var M = y.split("-");
290
- if (!h && M.length > 1) return w(M[0]);
291
- } else {
292
- var j = y.name;
293
- Z[j] = y, h = j;
294
- }
295
- return !b && h && (Y = h), h || !b && Y;
296
- }, P = function(w, y) {
297
- if (le(w)) return w.clone();
298
- var v = typeof y == "object" ? y : {};
299
- return v.date = w, v.args = arguments, new C(v);
300
- }, $ = J;
301
- $.l = B, $.i = le, $.w = function(w, y) {
302
- return P(w, { locale: y.$L, utc: y.$u, x: y.$x, $offset: y.$offset });
303
- };
304
- var C = function() {
305
- function w(v) {
306
- this.$L = B(v.locale, null, !0), this.parse(v), this.$x = this.$x || v.x || {}, this[ee] = !0;
307
- }
308
- var y = w.prototype;
309
- return y.parse = function(v) {
310
- this.$d = function(b) {
311
- var h = b.date, D = b.utc;
312
- if (h === null) return /* @__PURE__ */ new Date(NaN);
313
- if ($.u(h)) return /* @__PURE__ */ new Date();
314
- if (h instanceof Date) return new Date(h);
315
- if (typeof h == "string" && !/Z$/i.test(h)) {
316
- var M = h.match(L);
317
- if (M) {
318
- var j = M[2] - 1 || 0, I = (M[7] || "0").substring(0, 3);
319
- return D ? new Date(Date.UTC(M[1], j, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, I)) : new Date(M[1], j, M[3] || 1, M[4] || 0, M[5] || 0, M[6] || 0, I);
320
- }
321
- }
322
- return new Date(h);
323
- }(v), this.init();
324
- }, y.init = function() {
325
- var v = this.$d;
326
- this.$y = v.getFullYear(), this.$M = v.getMonth(), this.$D = v.getDate(), this.$W = v.getDay(), this.$H = v.getHours(), this.$m = v.getMinutes(), this.$s = v.getSeconds(), this.$ms = v.getMilliseconds();
327
- }, y.$utils = function() {
328
- return $;
329
- }, y.isValid = function() {
330
- return this.$d.toString() !== _;
331
- }, y.isSame = function(v, b) {
332
- var h = P(v);
333
- return this.startOf(b) <= h && h <= this.endOf(b);
334
- }, y.isAfter = function(v, b) {
335
- return P(v) < this.startOf(b);
336
- }, y.isBefore = function(v, b) {
337
- return this.endOf(b) < P(v);
338
- }, y.$g = function(v, b, h) {
339
- return $.u(v) ? this[b] : this.set(h, v);
340
- }, y.unix = function() {
341
- return Math.floor(this.valueOf() / 1e3);
342
- }, y.valueOf = function() {
343
- return this.$d.getTime();
344
- }, y.startOf = function(v, b) {
345
- var h = this, D = !!$.u(b) || b, M = $.p(v), j = function(ue, W) {
346
- var oe = $.w(h.$u ? Date.UTC(h.$y, W, ue) : new Date(h.$y, W, ue), h);
347
- return D ? oe : oe.endOf(a);
348
- }, I = function(ue, W) {
349
- return $.w(h.toDate()[ue].apply(h.toDate("s"), (D ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(W)), h);
350
- }, k = this.$W, U = this.$M, G = this.$D, ge = "set" + (this.$u ? "UTC" : "");
351
- switch (M) {
352
- case f:
353
- return D ? j(1, 0) : j(31, 11);
354
- case l:
355
- return D ? j(1, U) : j(0, U + 1);
356
- case i:
357
- var re = this.$locale().weekStart || 0, ve = (k < re ? k + 7 : k) - re;
358
- return j(D ? G - ve : G + (6 - ve), U);
359
- case a:
360
- case O:
361
- return I(ge + "Hours", 0);
362
- case o:
363
- return I(ge + "Minutes", 1);
364
- case u:
365
- return I(ge + "Seconds", 2);
366
- case r:
367
- return I(ge + "Milliseconds", 3);
368
- default:
369
- return this.clone();
370
- }
371
- }, y.endOf = function(v) {
372
- return this.startOf(v, !1);
373
- }, y.$set = function(v, b) {
374
- var h, D = $.p(v), M = "set" + (this.$u ? "UTC" : ""), j = (h = {}, h[a] = M + "Date", h[O] = M + "Date", h[l] = M + "Month", h[f] = M + "FullYear", h[o] = M + "Hours", h[u] = M + "Minutes", h[r] = M + "Seconds", h[c] = M + "Milliseconds", h)[D], I = D === a ? this.$D + (b - this.$W) : b;
375
- if (D === l || D === f) {
376
- var k = this.clone().set(O, 1);
377
- k.$d[j](I), k.init(), this.$d = k.set(O, Math.min(this.$D, k.daysInMonth())).$d;
378
- } else j && this.$d[j](I);
379
- return this.init(), this;
380
- }, y.set = function(v, b) {
381
- return this.clone().$set(v, b);
382
- }, y.get = function(v) {
383
- return this[$.p(v)]();
384
- }, y.add = function(v, b) {
385
- var h, D = this;
386
- v = Number(v);
387
- var M = $.p(b), j = function(U) {
388
- var G = P(D);
389
- return $.w(G.date(G.date() + Math.round(U * v)), D);
390
- };
391
- if (M === l) return this.set(l, this.$M + v);
392
- if (M === f) return this.set(f, this.$y + v);
393
- if (M === a) return j(1);
394
- if (M === i) return j(7);
395
- var I = (h = {}, h[u] = n, h[o] = g, h[r] = t, h)[M] || 1, k = this.$d.getTime() + v * I;
396
- return $.w(k, this);
397
- }, y.subtract = function(v, b) {
398
- return this.add(-1 * v, b);
399
- }, y.format = function(v) {
400
- var b = this, h = this.$locale();
401
- if (!this.isValid()) return h.invalidDate || _;
402
- var D = v || "YYYY-MM-DDTHH:mm:ssZ", M = $.z(this), j = this.$H, I = this.$m, k = this.$M, U = h.weekdays, G = h.months, ge = h.meridiem, re = function(W, oe, he, we) {
403
- return W && (W[oe] || W(b, D)) || he[oe].slice(0, we);
404
- }, ve = function(W) {
405
- return $.s(j % 12 || 12, W, "0");
406
- }, ue = ge || function(W, oe, he) {
407
- var we = W < 12 ? "AM" : "PM";
408
- return he ? we.toLowerCase() : we;
409
- };
410
- return D.replace(V, function(W, oe) {
411
- return oe || function(he) {
412
- switch (he) {
413
- case "YY":
414
- return String(b.$y).slice(-2);
415
- case "YYYY":
416
- return $.s(b.$y, 4, "0");
417
- case "M":
418
- return k + 1;
419
- case "MM":
420
- return $.s(k + 1, 2, "0");
421
- case "MMM":
422
- return re(h.monthsShort, k, G, 3);
423
- case "MMMM":
424
- return re(G, k);
425
- case "D":
426
- return b.$D;
427
- case "DD":
428
- return $.s(b.$D, 2, "0");
429
- case "d":
430
- return String(b.$W);
431
- case "dd":
432
- return re(h.weekdaysMin, b.$W, U, 2);
433
- case "ddd":
434
- return re(h.weekdaysShort, b.$W, U, 3);
435
- case "dddd":
436
- return U[b.$W];
437
- case "H":
438
- return String(j);
439
- case "HH":
440
- return $.s(j, 2, "0");
441
- case "h":
442
- return ve(1);
443
- case "hh":
444
- return ve(2);
445
- case "a":
446
- return ue(j, I, !0);
447
- case "A":
448
- return ue(j, I, !1);
449
- case "m":
450
- return String(I);
451
- case "mm":
452
- return $.s(I, 2, "0");
453
- case "s":
454
- return String(b.$s);
455
- case "ss":
456
- return $.s(b.$s, 2, "0");
457
- case "SSS":
458
- return $.s(b.$ms, 3, "0");
459
- case "Z":
460
- return M;
461
- }
462
- return null;
463
- }(W) || M.replace(":", "");
464
- });
465
- }, y.utcOffset = function() {
466
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
467
- }, y.diff = function(v, b, h) {
468
- var D, M = this, j = $.p(b), I = P(v), k = (I.utcOffset() - this.utcOffset()) * n, U = this - I, G = function() {
469
- return $.m(M, I);
470
- };
471
- switch (j) {
472
- case f:
473
- D = G() / 12;
474
- break;
475
- case l:
476
- D = G();
477
- break;
478
- case d:
479
- D = G() / 3;
480
- break;
481
- case i:
482
- D = (U - k) / 6048e5;
483
- break;
484
- case a:
485
- D = (U - k) / 864e5;
486
- break;
487
- case o:
488
- D = U / g;
489
- break;
490
- case u:
491
- D = U / n;
492
- break;
493
- case r:
494
- D = U / t;
495
- break;
496
- default:
497
- D = U;
498
- }
499
- return h ? D : $.a(D);
500
- }, y.daysInMonth = function() {
501
- return this.endOf(l).$D;
502
- }, y.$locale = function() {
503
- return Z[this.$L];
504
- }, y.locale = function(v, b) {
505
- if (!v) return this.$L;
506
- var h = this.clone(), D = B(v, b, !0);
507
- return D && (h.$L = D), h;
508
- }, y.clone = function() {
509
- return $.w(this.$d, this);
510
- }, y.toDate = function() {
511
- return new Date(this.valueOf());
512
- }, y.toJSON = function() {
513
- return this.isValid() ? this.toISOString() : null;
514
- }, y.toISOString = function() {
515
- return this.$d.toISOString();
516
- }, y.toString = function() {
517
- return this.$d.toUTCString();
518
- }, w;
519
- }(), K = C.prototype;
520
- return P.prototype = K, [["$ms", c], ["$s", r], ["$m", u], ["$H", o], ["$W", a], ["$M", l], ["$y", f], ["$D", O]].forEach(function(w) {
521
- K[w[1]] = function(y) {
522
- return this.$g(y, w[0], w[1]);
523
- };
524
- }), P.extend = function(w, y) {
525
- return w.$i || (w(y, C, P), w.$i = !0), P;
526
- }, P.locale = B, P.isDayjs = le, P.unix = function(w) {
527
- return P(1e3 * w);
528
- }, P.en = Z[Y], P.Ls = Z, P.p = {}, P;
529
- });
530
- })(Ze);
531
- var gs = Ze.exports;
532
- const je = /* @__PURE__ */ ds(gs), ms = {
248
+ default: Qt
249
+ }, Symbol.toStringTag, { value: "Module" })), zt = {
533
250
  name: "date"
534
- }, fs = /* @__PURE__ */ F({
535
- ...ms,
251
+ }, Ut = /* @__PURE__ */ D({
252
+ ...zt,
536
253
  props: {
537
254
  setting: { default: () => ({
538
255
  icon: "",
@@ -547,44 +264,44 @@ const je = /* @__PURE__ */ ds(gs), ms = {
547
264
  store: {}
548
265
  },
549
266
  setup(s) {
550
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
551
- H(e.setting.options.validateList).then((a) => {
552
- c.value = a;
267
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
268
+ F(e.setting.options.validateList).then((a) => {
269
+ g.value = a;
553
270
  });
554
- const r = e.setting.options.format === "yyyy-MM-dd" ? "YYYY/MM/DD" : "YYYY/MM/DD HH:mm:ss", u = m();
555
- e.setting.options.tip && (u.value = Q(e.setting.options.tip));
556
- const o = m();
271
+ const r = e.setting.options.format === "yyyy-MM-dd" ? "YYYY/MM/DD" : "YYYY/MM/DD HH:mm:ss", p = d();
272
+ e.setting.options.tip && (p.value = j(e.setting.options.tip));
273
+ const n = d();
557
274
  if (setTimeout(() => {
558
- o.value = n(e.setting.name) || e.setting.options.formulasDiyJs || o.value, o.value || t(e.setting.name, null);
275
+ n.value = o(e.setting.name) || e.setting.options.formulasDiyJs || n.value, n.value || t(e.setting.name, null);
559
276
  }, 50), e.setting.options.showCurrentDate) {
560
277
  let a = /* @__PURE__ */ new Date();
561
- a.setDate(a.getDate() + e.setting.options.day), o.value = je(a.getTime()).format(r), t(e.setting.name, o.value);
278
+ a.setDate(a.getDate() + e.setting.options.day), n.value = ge(a.getTime()).format(r), t(e.setting.name, n.value);
562
279
  }
563
- return e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(o, (a) => {
280
+ return e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(n, (a) => {
564
281
  t(e.setting.name, a);
565
- }), (a, i) => (S(), N(p(A), {
282
+ }), (a, i) => (h(), V(l(M), {
566
283
  col: e.span,
567
284
  marginRight: a.marginRight,
568
- modelValue: o.value,
569
- "onUpdate:modelValue": i[0] || (i[0] = (l) => o.value = l),
285
+ modelValue: n.value,
286
+ "onUpdate:modelValue": i[0] || (i[0] = (u) => n.value = u),
570
287
  label: a.setting.desc,
571
288
  prop: e.setting.name,
572
289
  type: e.setting.options.format === "yyyy/MM/dd" ? "date" : "dateTime",
573
- format: p(r),
574
- valueFormat: p(r),
290
+ format: l(r),
291
+ valueFormat: l(r),
575
292
  isView: e.isView,
576
293
  placeholder: a.setting.options.placeholder,
577
- helpMessage: u.value,
578
- required: c.value
294
+ helpMessage: p.value,
295
+ required: g.value
579
296
  }, null, 8, ["col", "marginRight", "modelValue", "label", "prop", "type", "format", "valueFormat", "isView", "placeholder", "helpMessage", "required"]));
580
297
  }
581
- }), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
298
+ }), je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
582
299
  __proto__: null,
583
- default: fs
584
- }, Symbol.toStringTag, { value: "Module" })), vs = {
300
+ default: Ut
301
+ }, Symbol.toStringTag, { value: "Module" })), xt = {
585
302
  name: "dropdown"
586
- }, hs = /* @__PURE__ */ F({
587
- ...vs,
303
+ }, Jt = /* @__PURE__ */ D({
304
+ ...xt,
588
305
  props: {
589
306
  setting: { default: () => ({
590
307
  icon: "",
@@ -599,26 +316,26 @@ const je = /* @__PURE__ */ ds(gs), ms = {
599
316
  store: {}
600
317
  },
601
318
  setup(s) {
602
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
603
- H(e.setting.options.validateList).then((f) => {
604
- c.value = f;
319
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
320
+ F(e.setting.options.validateList).then((f) => {
321
+ g.value = f;
605
322
  });
606
- const r = m(""), u = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", o = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", a = e.setting.options.customQuery.PId || "children", i = m([]);
607
- e.setting.options.customQuery.alias && _e(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((f) => {
323
+ const r = d(""), p = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", n = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", a = e.setting.options.customQuery.PId || "children", i = d([]);
324
+ e.setting.options.customQuery.alias && X(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((f) => {
608
325
  i.value = f;
609
326
  });
610
- const l = m();
611
- e.setting.options.tip && (l.value = Q(e.setting.options.tip));
612
- const d = m();
613
- return d.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && n(e.setting.name) ? d.value = n(e.setting.name).split(",") : d.value = n(e.setting.name) || d.value, d.value || t(e.setting.name, null), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(d, (f) => {
327
+ const u = d();
328
+ e.setting.options.tip && (u.value = j(e.setting.options.tip));
329
+ const c = d();
330
+ return c.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && o(e.setting.name) ? c.value = o(e.setting.name).split(",") : c.value = o(e.setting.name) || c.value, c.value || t(e.setting.name, null), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(c, (f) => {
614
331
  t(e.setting.name, f.toString());
615
- }), (f, O) => (S(), N(p(A), {
332
+ }), (f, R) => (h(), V(l(M), {
616
333
  col: e.span,
617
334
  marginRight: f.marginRight,
618
- modelValue: d.value,
619
- "onUpdate:modelValue": O[0] || (O[0] = (_) => d.value = _),
335
+ modelValue: c.value,
336
+ "onUpdate:modelValue": R[0] || (R[0] = (v) => c.value = v),
620
337
  keyword: r.value,
621
- "onUpdate:keyword": O[1] || (O[1] = (_) => r.value = _),
338
+ "onUpdate:keyword": R[1] || (R[1] = (v) => r.value = v),
622
339
  label: f.setting.desc,
623
340
  type: "treeSelect",
624
341
  "node-key": f.setting.options.customQuery.valueBind,
@@ -629,19 +346,19 @@ const je = /* @__PURE__ */ ds(gs), ms = {
629
346
  selectAttrs: { allowClear: !0 },
630
347
  options: i.value,
631
348
  isView: e.isView,
632
- helpMessage: l.value,
633
- props: { label: p(o), value: p(u), children: p(a) },
349
+ helpMessage: u.value,
350
+ props: { label: l(n), value: l(p), children: l(a) },
634
351
  "check-strictly": !f.setting.options.cascade,
635
- required: c.value
352
+ required: g.value
636
353
  }, null, 8, ["col", "marginRight", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "props", "check-strictly", "required"]));
637
354
  }
638
- }), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
355
+ }), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
639
356
  __proto__: null,
640
- default: hs
641
- }, Symbol.toStringTag, { value: "Module" })), ys = { class: "form-image" }, bs = {
357
+ default: Jt
358
+ }, Symbol.toStringTag, { value: "Module" })), Wt = { class: "form-image" }, Yt = {
642
359
  name: "imageViewer"
643
- }, _s = /* @__PURE__ */ F({
644
- ...bs,
360
+ }, Zt = /* @__PURE__ */ D({
361
+ ...Yt,
645
362
  props: {
646
363
  setting: { default: () => ({
647
364
  icon: "",
@@ -656,46 +373,46 @@ const je = /* @__PURE__ */ ds(gs), ms = {
656
373
  store: {}
657
374
  },
658
375
  setup(s) {
659
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
660
- H(e.setting.options.validateList).then((i) => {
661
- c.value = i;
376
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
377
+ F(e.setting.options.validateList).then((i) => {
378
+ g.value = i;
662
379
  });
663
- const r = m("normal");
380
+ const r = d("normal");
664
381
  e.isView && (r.value = "info");
665
- const u = m();
666
- e.setting.options.tip && (u.value = Q(e.setting.options.tip));
667
- const o = m();
668
- o.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && n(e.setting.name) ? o.value = n(e.setting.name).split(",") : o.value = n(e.setting.name) || o.value, o.value || t(e.setting.name, null);
382
+ const p = d();
383
+ e.setting.options.tip && (p.value = j(e.setting.options.tip));
384
+ const n = d();
385
+ n.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && o(e.setting.name) ? n.value = o(e.setting.name).split(",") : n.value = o(e.setting.name) || n.value, n.value || t(e.setting.name, null);
669
386
  const a = (i) => {
670
387
  setTimeout(() => {
671
- t(e.setting.name, o.value.toString());
388
+ t(e.setting.name, n.value.toString());
672
389
  }, 100);
673
390
  };
674
- return e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(o.value, (i) => {
675
- const l = i.map((d) => {
391
+ return e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(n.value, (i) => {
392
+ const u = i.map((c) => {
676
393
  let f = "";
677
- return d.indexOf("/oss/") != -1 ? f = d : f = `/oss/${d}`, f;
394
+ return c.indexOf("/oss/") != -1 ? f = c : f = `/oss/${c}`, f;
678
395
  });
679
396
  setTimeout(() => {
680
- t(e.setting.name, l.join(","));
397
+ t(e.setting.name, u.join(","));
681
398
  }, 100);
682
- }), (i, l) => (S(), N(p(A), {
683
- modelValue: o.value,
684
- "onUpdate:modelValue": l[2] || (l[2] = (d) => o.value = d),
399
+ }), (i, u) => (h(), V(l(M), {
400
+ modelValue: n.value,
401
+ "onUpdate:modelValue": u[2] || (u[2] = (c) => n.value = c),
685
402
  "margin-bottom": "0",
686
403
  prop: e.setting.name,
687
404
  label: i.setting.desc,
688
405
  type: "custom",
689
- helpMessage: u.value,
690
- required: c.value
406
+ helpMessage: p.value,
407
+ required: g.value
691
408
  }, {
692
- default: E(() => [
693
- _t("div", ys, [
694
- q(p(Ue), {
695
- modelValue: o.value,
696
- "onUpdate:modelValue": l[0] || (l[0] = (d) => o.value = d),
409
+ default: S(() => [
410
+ Xe("div", Wt, [
411
+ $(l($e), {
412
+ modelValue: n.value,
413
+ "onUpdate:modelValue": u[0] || (u[0] = (c) => n.value = c),
697
414
  status: r.value,
698
- "onUpdate:status": l[1] || (l[1] = (d) => r.value = d),
415
+ "onUpdate:status": u[1] || (u[1] = (c) => r.value = c),
699
416
  maxSize: "6",
700
417
  "limit-num": i.setting.options.file.limit,
701
418
  prop: e.setting.name,
@@ -708,26 +425,25 @@ const je = /* @__PURE__ */ ds(gs), ms = {
708
425
  needDownloadBtn: i.setting.options.file.allowDownload == !0,
709
426
  needPreview: i.setting.options.file.allowPreview == !0,
710
427
  onImageUpload: a,
711
- required: c.value
428
+ required: g.value
712
429
  }, null, 8, ["modelValue", "status", "limit-num", "prop", "needDownloadBtn", "needPreview", "required"])
713
430
  ])
714
431
  ]),
715
432
  _: 1
716
- /* STABLE */
717
433
  }, 8, ["modelValue", "prop", "label", "helpMessage", "required"]));
718
434
  }
719
- }), qe = (s, e) => {
435
+ }), me = (s, e) => {
720
436
  const t = s.__vccOpts || s;
721
- for (const [n, g] of e)
722
- t[n] = g;
437
+ for (const [o, m] of e)
438
+ t[o] = m;
723
439
  return t;
724
- }, ws = /* @__PURE__ */ qe(_s, [["__scopeId", "data-v-e26b3898"]]), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
440
+ }, Ht = /* @__PURE__ */ me(Zt, [["__scopeId", "data-v-e26b3898"]]), Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
725
441
  __proto__: null,
726
- default: ws
727
- }, Symbol.toStringTag, { value: "Module" })), Vs = {
442
+ default: Ht
443
+ }, Symbol.toStringTag, { value: "Module" })), Gt = {
728
444
  name: "input"
729
- }, $s = /* @__PURE__ */ F({
730
- ...Vs,
445
+ }, Xt = /* @__PURE__ */ D({
446
+ ...Gt,
731
447
  props: {
732
448
  setting: { default: () => ({
733
449
  icon: "",
@@ -742,66 +458,56 @@ const je = /* @__PURE__ */ ds(gs), ms = {
742
458
  store: {}
743
459
  },
744
460
  setup(s) {
745
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
746
- H(e.setting.options.validateList).then((o) => {
747
- c.value = o;
461
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
462
+ F(e.setting.options.validateList).then((n) => {
463
+ g.value = n;
748
464
  });
749
- const r = m();
750
- e.setting.options.tip && (r.value = Q(e.setting.options.tip));
751
- const u = m("");
465
+ const r = d();
466
+ e.setting.options.tip && (r.value = j(e.setting.options.tip));
467
+ const p = d("");
752
468
  return setTimeout(() => {
753
- u.value = n(e.setting.name) || e.setting.options.formulasDiyJs || u.value, u.value || t(e.setting.name, null);
754
- }, 50), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(u, (o) => {
755
- e.setting.options.dataType === "number" && !isNaN(o) ? t(e.setting.name, Number(o)) : t(e.setting.name, o);
756
- }), (o, a) => (S(), N(p(A), {
469
+ p.value = o(e.setting.name) || e.setting.options.formulasDiyJs || p.value, p.value || t(e.setting.name, null);
470
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(p, (n) => {
471
+ e.setting.options.dataType === "number" && !isNaN(n) ? t(e.setting.name, Number(n)) : t(e.setting.name, n);
472
+ }), (n, a) => (h(), V(l(M), {
757
473
  col: e.span,
758
- marginRight: o.marginRight,
474
+ marginRight: n.marginRight,
759
475
  prop: e.setting.name,
760
- modelValue: u.value,
761
- "onUpdate:modelValue": a[1] || (a[1] = (i) => u.value = i),
762
- label: o.setting.desc,
476
+ modelValue: p.value,
477
+ "onUpdate:modelValue": a[1] || (a[1] = (i) => p.value = i),
478
+ label: n.setting.desc,
763
479
  type: "custom",
764
480
  helpMessage: r.value,
765
- required: c.value
481
+ required: g.value
766
482
  }, {
767
- default: E(() => [
768
- q(p(Ft), {
769
- modelValue: u.value,
770
- "onUpdate:modelValue": a[0] || (a[0] = (i) => u.value = i),
771
- width: o.setting.options.width,
772
- disabled: o.setting.options.isInputEdit,
773
- isView: o.setting.options.isReadonly || e.isView,
774
- placeholder: o.setting.options.placeholder
483
+ default: S(() => [
484
+ $(l(ct), {
485
+ modelValue: p.value,
486
+ "onUpdate:modelValue": a[0] || (a[0] = (i) => p.value = i),
487
+ width: n.setting.options.width,
488
+ disabled: n.setting.options.isInputEdit,
489
+ isView: n.setting.options.isReadonly || e.isView,
490
+ placeholder: n.setting.options.placeholder
775
491
  }, {
776
- prepend: E(() => [
777
- me(
778
- fe(o.setting.options.bindPreAndSufFixjson.preFix),
779
- 1
780
- /* TEXT */
781
- )
492
+ prepend: S(() => [
493
+ W(Y(n.setting.options.bindPreAndSufFixjson.preFix), 1)
782
494
  ]),
783
- append: E(() => [
784
- me(
785
- fe(o.setting.options.bindPreAndSufFixjson.sufSix),
786
- 1
787
- /* TEXT */
788
- )
495
+ append: S(() => [
496
+ W(Y(n.setting.options.bindPreAndSufFixjson.sufSix), 1)
789
497
  ]),
790
498
  _: 1
791
- /* STABLE */
792
499
  }, 8, ["modelValue", "width", "disabled", "isView", "placeholder"])
793
500
  ]),
794
501
  _: 1
795
- /* STABLE */
796
502
  }, 8, ["col", "marginRight", "prop", "modelValue", "label", "helpMessage", "required"]));
797
503
  }
798
- }), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
504
+ }), qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
799
505
  __proto__: null,
800
- default: $s
801
- }, Symbol.toStringTag, { value: "Module" })), Ds = {
506
+ default: Xt
507
+ }, Symbol.toStringTag, { value: "Module" })), es = {
802
508
  name: "number"
803
- }, Ms = /* @__PURE__ */ F({
804
- ...Ds,
509
+ }, ts = /* @__PURE__ */ D({
510
+ ...es,
805
511
  props: {
806
512
  setting: { default: () => ({
807
513
  icon: "",
@@ -816,42 +522,42 @@ const je = /* @__PURE__ */ ds(gs), ms = {
816
522
  store: {}
817
523
  },
818
524
  setup(s) {
819
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
820
- H(e.setting.options.validateList).then((o) => {
821
- c.value = o;
525
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
526
+ F(e.setting.options.validateList).then((n) => {
527
+ g.value = n;
822
528
  });
823
- const r = m();
824
- e.setting.options.tip && (r.value = Q(e.setting.options.tip));
825
- const u = m(0);
529
+ const r = d();
530
+ e.setting.options.tip && (r.value = j(e.setting.options.tip));
531
+ const p = d(0);
826
532
  return setTimeout(() => {
827
- u.value = n(e.setting.name) || e.setting.options.formulasDiyJs || u.value, u.value || t(e.setting.name, null);
828
- }, 50), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(u, (o) => {
829
- t(e.setting.name, o);
830
- }), (o, a) => (S(), N(p(A), {
533
+ p.value = o(e.setting.name) || e.setting.options.formulasDiyJs || p.value, p.value || t(e.setting.name, null);
534
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(p, (n) => {
535
+ t(e.setting.name, n);
536
+ }), (n, a) => (h(), V(l(M), {
831
537
  col: e.span,
832
- marginRight: o.marginRight,
833
- modelValue: u.value,
834
- "onUpdate:modelValue": a[0] || (a[0] = (i) => u.value = i),
538
+ marginRight: n.marginRight,
539
+ modelValue: p.value,
540
+ "onUpdate:modelValue": a[0] || (a[0] = (i) => p.value = i),
835
541
  style: { width: "100%" },
836
- label: o.setting.desc,
542
+ label: n.setting.desc,
837
543
  type: "inputNumber",
838
544
  prop: e.setting.name,
839
- max: o.setting.options.max,
840
- min: o.setting.options.min,
841
- step: o.setting.options.step,
545
+ max: n.setting.options.max,
546
+ min: n.setting.options.min,
547
+ step: n.setting.options.step,
842
548
  isView: e.isView,
843
- precision: o.setting.options.decimalDigits,
549
+ precision: n.setting.options.decimalDigits,
844
550
  helpMessage: r.value,
845
- required: c.value
551
+ required: g.value
846
552
  }, null, 8, ["col", "marginRight", "modelValue", "label", "prop", "max", "min", "step", "isView", "precision", "helpMessage", "required"]));
847
553
  }
848
- }), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
554
+ }), Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
849
555
  __proto__: null,
850
- default: Ms
851
- }, Symbol.toStringTag, { value: "Module" })), Ss = {
556
+ default: ts
557
+ }, Symbol.toStringTag, { value: "Module" })), ss = {
852
558
  name: "radio"
853
- }, Os = /* @__PURE__ */ F({
854
- ...Ss,
559
+ }, os = /* @__PURE__ */ D({
560
+ ...ss,
855
561
  props: {
856
562
  setting: { default: () => ({
857
563
  icon: "",
@@ -866,46 +572,46 @@ const je = /* @__PURE__ */ ds(gs), ms = {
866
572
  store: {}
867
573
  },
868
574
  setup(s) {
869
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
870
- H(e.setting.options.validateList).then((l) => {
871
- c.value = l;
575
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
576
+ F(e.setting.options.validateList).then((u) => {
577
+ g.value = u;
872
578
  });
873
- const r = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", u = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = m([]);
874
- e.setting.options.customQuery.alias ? _e(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((l) => {
875
- o.value = l;
876
- }) : o.value = e.setting.options.options;
877
- const a = m();
878
- e.setting.options.tip && (a.value = Q(e.setting.options.tip));
879
- const i = m(null);
579
+ const r = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", p = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", n = d([]);
580
+ e.setting.options.customQuery.alias ? X(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((u) => {
581
+ n.value = u;
582
+ }) : n.value = e.setting.options.options;
583
+ const a = d();
584
+ e.setting.options.tip && (a.value = j(e.setting.options.tip));
585
+ const i = d(null);
880
586
  return setTimeout(() => {
881
- i.value = n(e.setting.name) || e.setting.options.formulasDiyJs || i.value, i.value || t(e.setting.name, null);
882
- }, 50), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(i, (l) => {
883
- t(e.setting.name, l);
884
- }), (l, d) => (S(), N(p(A), {
587
+ i.value = o(e.setting.name) || e.setting.options.formulasDiyJs || i.value, i.value || t(e.setting.name, null);
588
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(i, (u) => {
589
+ t(e.setting.name, u);
590
+ }), (u, c) => (h(), V(l(M), {
885
591
  col: e.span,
886
- marginRight: l.marginRight,
592
+ marginRight: u.marginRight,
887
593
  modelValue: i.value,
888
- "onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
889
- layout: l.setting.options.inline ? "vertical" : "default",
890
- label: l.setting.desc,
594
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => i.value = f),
595
+ layout: u.setting.options.inline ? "vertical" : "default",
596
+ label: u.setting.desc,
891
597
  type: "radio",
892
598
  prop: e.setting.name,
893
- options: o.value,
599
+ options: n.value,
894
600
  isView: e.isView,
895
- optionsValueKey: p(r),
896
- optionsLabelKey: p(u),
601
+ optionsValueKey: l(r),
602
+ optionsLabelKey: l(p),
897
603
  helpMessage: a.value,
898
- required: c.value,
604
+ required: g.value,
899
605
  isSetTimeout: !0
900
606
  }, null, 8, ["col", "marginRight", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"]));
901
607
  }
902
- }), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
608
+ }), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
903
609
  __proto__: null,
904
- default: Os
905
- }, Symbol.toStringTag, { value: "Module" })), Rs = {
610
+ default: os
611
+ }, Symbol.toStringTag, { value: "Module" })), ns = {
906
612
  name: "select"
907
- }, Ls = /* @__PURE__ */ F({
908
- ...Rs,
613
+ }, as = /* @__PURE__ */ D({
614
+ ...ns,
909
615
  props: {
910
616
  setting: { default: () => ({
911
617
  icon: "",
@@ -920,88 +626,88 @@ const je = /* @__PURE__ */ ds(gs), ms = {
920
626
  store: {}
921
627
  },
922
628
  setup(s) {
923
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
924
- H(e.setting.options.validateList).then((l) => {
925
- c.value = l;
629
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
630
+ F(e.setting.options.validateList).then((u) => {
631
+ g.value = u;
926
632
  });
927
- const r = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", u = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = m([]);
928
- e.setting.options.customQuery.alias ? _e(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((l) => {
929
- o.value = l;
930
- }) : o.value = e.setting.options.options;
931
- const a = m();
932
- e.setting.options.tip && (a.value = Q(e.setting.options.tip));
933
- const i = m();
633
+ const r = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", p = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", n = d([]);
634
+ e.setting.options.customQuery.alias ? X(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((u) => {
635
+ n.value = u;
636
+ }) : n.value = e.setting.options.options;
637
+ const a = d();
638
+ e.setting.options.tip && (a.value = j(e.setting.options.tip));
639
+ const i = d();
934
640
  return i.value = e.setting.options.multiple ? [] : "", setTimeout(() => {
935
- e.setting.options.multiple && (n(e.setting.name) || e.setting.options.formulasDiyJs) ? (n(e.setting.name) && (i.value = n(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (i.value = e.setting.options.formulasDiyJs.split(","))) : i.value = n(e.setting.name) || e.setting.options.formulasDiyJs || i.value, i.value || t(e.setting.name, null);
936
- }, 50), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(i, (l) => {
937
- t(e.setting.name, l.toString());
938
- }), (l, d) => (S(), N(p(A), {
641
+ e.setting.options.multiple && (o(e.setting.name) || e.setting.options.formulasDiyJs) ? (o(e.setting.name) && (i.value = o(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (i.value = e.setting.options.formulasDiyJs.split(","))) : i.value = o(e.setting.name) || e.setting.options.formulasDiyJs || i.value, i.value || t(e.setting.name, null);
642
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(i, (u) => {
643
+ t(e.setting.name, u.toString());
644
+ }), (u, c) => (h(), V(l(M), {
939
645
  col: e.span,
940
- marginRight: l.marginRight,
646
+ marginRight: u.marginRight,
941
647
  modelValue: i.value,
942
- "onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
943
- label: l.setting.desc,
648
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => i.value = f),
649
+ label: u.setting.desc,
944
650
  type: "select",
945
651
  prop: e.setting.name,
946
- placeholder: l.setting.options.placeholder,
947
- mode: l.setting.options.multiple ? "tags" : "combobox",
948
- showSearch: l.setting.options.filterable,
652
+ placeholder: u.setting.options.placeholder,
653
+ mode: u.setting.options.multiple ? "tags" : "combobox",
654
+ showSearch: u.setting.options.filterable,
949
655
  allowClear: !0,
950
656
  isView: e.isView,
951
- options: o.value,
952
- optionsValueKey: p(r),
953
- optionsLabelKey: p(u),
657
+ options: n.value,
658
+ optionsValueKey: l(r),
659
+ optionsLabelKey: l(p),
954
660
  helpMessage: a.value,
955
- required: c.value
661
+ required: g.value
956
662
  }, null, 8, ["col", "marginRight", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"]));
957
663
  }
958
- }), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
664
+ }), Ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
959
665
  __proto__: null,
960
- default: Ls
961
- }, Symbol.toStringTag, { value: "Module" })), Ts = (s) => {
962
- const e = ze().id, t = m(!1), n = s.options.selector.type.alias.replace("eip-", "").replace("-selector", ""), g = m([]), c = m(""), r = {
963
- user: X("用户选择器").value,
964
- org: X("组织选择器").value,
965
- role: X("角色选择器").value,
966
- job: X("职务选择器").value,
967
- post: X("岗位选择器").value
968
- }, u = {
666
+ default: as
667
+ }, Symbol.toStringTag, { value: "Module" })), is = (s) => {
668
+ const e = Re().id, t = d(!1), o = s.options.selector.type.alias.replace("eip-", "").replace("-selector", ""), m = d([]), g = d(""), r = {
669
+ user: E("用户选择器").value,
670
+ org: E("组织选择器").value,
671
+ role: E("角色选择器").value,
672
+ job: E("职务选择器").value,
673
+ post: E("岗位选择器").value
674
+ }, p = {
969
675
  user: "id",
970
676
  org: "id",
971
677
  role: "id",
972
678
  job: "positionId",
973
679
  post: "stationId"
974
- }, o = {
975
- 1: X("正常").value,
976
- 2: X("锁定").value,
977
- 3: X("禁用").value
680
+ }, n = {
681
+ 1: E("正常").value,
682
+ 2: E("锁定").value,
683
+ 3: E("禁用").value
978
684
  }, a = {
979
- 0: X("普通").value,
980
- 1: X("管理员").value
685
+ 0: E("普通").value,
686
+ 1: E("管理员").value
981
687
  }, i = {
982
- 0: X("无效").value,
983
- 1: X("有效").value
984
- }, l = {
985
- user: Wt,
986
- org: De,
987
- role: Zt,
988
- job: De,
989
- post: De
990
- }, d = r[n], f = m({});
991
- return n === "org" ? f.value = {
688
+ 0: E("无效").value,
689
+ 1: E("有效").value
690
+ }, u = {
691
+ user: Lt,
692
+ org: ne,
693
+ role: Tt,
694
+ job: ne,
695
+ post: ne
696
+ }, c = r[o], f = d({});
697
+ return o === "org" ? f.value = {
992
698
  left: !1,
993
699
  content: {}
994
700
  } : f.value = {
995
701
  left: {
996
- api: Jt,
702
+ api: St,
997
703
  params: {
998
704
  projectId: e,
999
705
  parentId: e
1000
706
  }
1001
707
  },
1002
708
  content: {}
1003
- }, n === "user" && (f.value.content = {
1004
- api: Yt,
709
+ }, o === "user" && (f.value.content = {
710
+ api: Mt,
1005
711
  searchKey: "groupId",
1006
712
  params: {
1007
713
  status: 1
@@ -1009,13 +715,13 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1009
715
  selectListProps: {
1010
716
  data: []
1011
717
  }
1012
- }), n === "org" && (f.value.content = {
1013
- api: Gt,
718
+ }), o === "org" && (f.value.content = {
719
+ api: jt,
1014
720
  selectListProps: {
1015
721
  data: []
1016
722
  }
1017
- }), n === "role" && (f.value.content = {
1018
- api: Ht,
723
+ }), o === "role" && (f.value.content = {
724
+ api: Ot,
1019
725
  searchKey: "orgId",
1020
726
  params: {
1021
727
  status: 1
@@ -1023,8 +729,8 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1023
729
  selectListProps: {
1024
730
  data: []
1025
731
  }
1026
- }), n === "job" && (f.value.content = {
1027
- api: es,
732
+ }), o === "job" && (f.value.content = {
733
+ api: Ft,
1028
734
  searchKey: "groupId",
1029
735
  props: {
1030
736
  rowKey: "positionId"
@@ -1032,8 +738,8 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1032
738
  selectListProps: {
1033
739
  data: []
1034
740
  }
1035
- }), n === "post" && (f.value.content = {
1036
- api: Xt,
741
+ }), o === "post" && (f.value.content = {
742
+ api: Nt,
1037
743
  searchKey: "groupId",
1038
744
  props: {
1039
745
  rowKey: "stationId"
@@ -1043,75 +749,75 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1043
749
  }
1044
750
  }), f.value.content.multiple = !s.options.selector.isSingle, {
1045
751
  dialogVisible: t,
1046
- title: d,
1047
- searchName: c,
1048
- selectorType: n,
1049
- selectOptions: g,
752
+ title: c,
753
+ searchName: g,
754
+ selectorType: o,
755
+ selectOptions: m,
1050
756
  tableOptions: f,
1051
- userStatusMap: o,
757
+ userStatusMap: n,
1052
758
  roleTypeMap: a,
1053
759
  roleStatusMap: i,
1054
760
  openDialog: () => {
1055
- c.value = "", t.value = !0;
1056
- let V = u[n];
1057
- f.value.content.selectListProps.data = g.value.map((R) => ({ name: R.label, [V]: R.value }));
761
+ g.value = "", t.value = !0;
762
+ let y = p[o];
763
+ f.value.content.selectListProps.data = m.value.map((b) => ({ name: b.label, [y]: b.value }));
1058
764
  },
1059
- confirm: (V) => {
1060
- let R = u[n];
1061
- g.value = V.map((T) => ({ label: T.name, value: T[R] }));
765
+ confirm: (y) => {
766
+ let b = p[o];
767
+ m.value = y.map((w) => ({ label: w.name, value: w[b] }));
1062
768
  },
1063
- getDetail: async (V) => {
1064
- const R = l[n];
1065
- let T = {};
1066
- const J = V.split(",");
1067
- n === "user" && (T = { userIds: J }), n === "role" ? T = { ids: J } : T = J;
1068
- const [Y, Z] = await R().run(T);
1069
- Y || (g.value = Z.map((ee) => ({ label: ee.name, value: ee.id })));
769
+ getDetail: async (y) => {
770
+ const b = u[o];
771
+ let w = {};
772
+ const q = y.split(",");
773
+ o === "user" && (w = { userIds: q }), o === "role" ? w = { ids: q } : w = q;
774
+ const [A, Z] = await b().run(w);
775
+ A || (m.value = Z.map((z) => ({ label: z.name, value: z.id })));
1070
776
  }
1071
777
  };
1072
- }, js = () => {
1073
- const s = m(""), e = m(""), t = m([]), n = m("");
778
+ }, ls = () => {
779
+ const s = d(""), e = d(""), t = d([]), o = d("");
1074
780
  return {
1075
781
  spacePath: s,
1076
782
  spaceName: e,
1077
783
  spaceTreeData: t,
1078
- searchSpace: n,
1079
- changeSpace: (o, a) => {
784
+ searchSpace: o,
785
+ changeSpace: (n, a) => {
1080
786
  s.value = a[0].path, e.value = a[0].pathName;
1081
787
  },
1082
- spaceLoad: async (o) => {
788
+ spaceLoad: async (n) => {
1083
789
  let a = {
1084
790
  pageSize: 1e4,
1085
791
  pageIndex: 1,
1086
- projectId: ze().id,
792
+ projectId: Re().id,
1087
793
  //项目id
1088
794
  spaceId: ""
1089
795
  // orgId:getProjectInfo().id
1090
796
  };
1091
- a.spaceId = o != null && o.id ? o.id : "";
1092
- let i = ts;
1093
- const [l, d] = await i(a).run();
1094
- return l ? {} : d;
797
+ a.spaceId = n != null && n.id ? n.id : "";
798
+ let i = qt;
799
+ const [u, c] = await i(a).run();
800
+ return u ? {} : c;
1095
801
  },
1096
- filterSpaceTree: async (o) => {
1097
- if (!o) return [];
1098
- let a = ss;
802
+ filterSpaceTree: async (n) => {
803
+ if (!n) return [];
804
+ let a = Bt;
1099
805
  const i = {
1100
- name: o
1101
- }, [l, d] = await a(i).run();
1102
- return l ? {} : (d.forEach((f) => {
806
+ name: n
807
+ }, [u, c] = await a(i).run();
808
+ return u ? {} : (c.forEach((f) => {
1103
809
  f.path.startsWith("/0") && (f.path = f.path.slice(2) + `/${f.id}`), f._name = f.nodeName ? f.nodeName : f.name;
1104
- }), d);
810
+ }), c);
1105
811
  },
1106
- getSpaceDetail: async (o) => {
1107
- const [a, i] = await ns().run({ spaceId: o });
812
+ getSpaceDetail: async (n) => {
813
+ const [a, i] = await Pt().run({ spaceId: n });
1108
814
  a || (s.value = i.path);
1109
815
  }
1110
816
  };
1111
- }, Ns = {
817
+ }, rs = {
1112
818
  name: "selector"
1113
- }, Fs = /* @__PURE__ */ F({
1114
- ...Ns,
819
+ }, us = /* @__PURE__ */ D({
820
+ ...rs,
1115
821
  props: {
1116
822
  setting: { default: () => ({
1117
823
  icon: "",
@@ -1126,224 +832,199 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1126
832
  store: {}
1127
833
  },
1128
834
  setup(s) {
1129
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, {
1130
- dialogVisible: c,
835
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, {
836
+ dialogVisible: g,
1131
837
  title: r,
1132
- searchName: u,
1133
- tableOptions: o,
838
+ searchName: p,
839
+ tableOptions: n,
1134
840
  selectorType: a,
1135
841
  selectOptions: i,
1136
- userStatusMap: l,
1137
- roleTypeMap: d,
842
+ userStatusMap: u,
843
+ roleTypeMap: c,
1138
844
  roleStatusMap: f,
1139
- openDialog: O,
1140
- confirm: _,
1141
- getDetail: L
1142
- } = Ts(e.setting), { spacePath: V, spaceName: R, searchSpace: T, changeSpace: J, spaceLoad: Y, filterSpaceTree: Z, getSpaceDetail: ee } = js(), le = m(!1);
1143
- H(e.setting.options.validateList).then(($) => {
1144
- le.value = $;
845
+ openDialog: R,
846
+ confirm: v,
847
+ getDetail: _
848
+ } = is(e.setting), { spacePath: y, spaceName: b, searchSpace: w, changeSpace: q, spaceLoad: A, filterSpaceTree: Z, getSpaceDetail: z } = ls(), te = d(!1);
849
+ F(e.setting.options.validateList).then((B) => {
850
+ te.value = B;
1145
851
  });
1146
- const B = m(""), P = m();
1147
- return e.setting.options.tip && (P.value = Q(e.setting.options.tip)), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), a !== "position" ? (B.value = n(e.setting.name) ? n(e.setting.name) : B.value, B.value && L(B.value), B.value.length || t(e.setting.name, null), x(i, ($) => {
1148
- B.value = $.map((C) => C.value).toString(), t(e.setting.name, B.value);
1149
- })) : (B.value = n(e.setting.name) ? n(e.setting.name) : B.value, B.value && ee(B.value), B.value || t(e.setting.name, null), x(B, ($) => {
1150
- t(e.setting.name, $);
1151
- }), x(R, ($) => {
1152
- t(e.setting.options.selector.type.positionName, $);
1153
- })), ($, C) => (S(), se(
1154
- Ve,
1155
- null,
1156
- [
1157
- p(a) != "position" ? (S(), N(p(A), {
1158
- key: 0,
1159
- col: e.span,
1160
- marginRight: $.marginRight,
1161
- modelValue: B.value,
1162
- "onUpdate:modelValue": C[1] || (C[1] = (K) => B.value = K),
1163
- prop: e.setting.name,
1164
- label: $.setting.desc,
1165
- type: "inputDialogSelect",
1166
- options: p(i),
1167
- helpMessage: P.value,
1168
- isView: e.isView,
1169
- required: le.value,
1170
- onOpenDialog: p(O)
1171
- }, {
1172
- default: E(() => [
1173
- q(p(qt), {
1174
- modelValue: p(c),
1175
- "onUpdate:modelValue": C[0] || (C[0] = (K) => $e(c) ? c.value = K : null),
1176
- options: p(o),
1177
- onConfirm: p(_),
1178
- title: p(r)
1179
- }, wt({
1180
- _: 2
1181
- /* DYNAMIC */
1182
- }, [
1183
- p(a) === "user" ? {
1184
- name: "table-column",
1185
- fn: E(() => [
1186
- q(p(z), {
1187
- label: "姓名",
1188
- prop: "name"
1189
- }),
1190
- q(p(z), {
1191
- label: "账号",
1192
- prop: "userName"
1193
- }),
1194
- q(p(z), {
1195
- label: "手机号",
1196
- prop: "sensitivePhone"
1197
- }),
1198
- q(p(z), { label: "状态" }, {
1199
- default: E(({ row: K }) => [
1200
- me(
1201
- fe(p(l)[K.status]),
1202
- 1
1203
- /* TEXT */
1204
- )
1205
- ]),
1206
- _: 1
1207
- /* STABLE */
1208
- })
1209
- ]),
1210
- key: "0"
1211
- } : void 0,
1212
- p(a) === "org" ? {
1213
- name: "table-column",
1214
- fn: E(() => [
1215
- q(p(z), {
1216
- label: "组织名称",
1217
- prop: "name"
1218
- }),
1219
- q(p(z), {
1220
- label: "组织编码",
1221
- prop: "code"
1222
- }),
1223
- q(p(z), {
1224
- label: "组织类型",
1225
- prop: "typeName"
1226
- })
1227
- ]),
1228
- key: "1"
1229
- } : void 0,
1230
- p(a) === "role" ? {
1231
- name: "table-column",
1232
- fn: E(() => [
1233
- q(p(z), {
1234
- label: "角色名称",
1235
- prop: "name"
1236
- }),
1237
- q(p(z), { label: "角色类型" }, {
1238
- default: E(({ row: K }) => [
1239
- me(
1240
- fe(p(d)[K.type]),
1241
- 1
1242
- /* TEXT */
1243
- )
1244
- ]),
1245
- _: 1
1246
- /* STABLE */
1247
- }),
1248
- q(p(z), { label: "角色状态" }, {
1249
- default: E(({ row: K }) => [
1250
- me(
1251
- fe(p(f)[K.status]),
1252
- 1
1253
- /* TEXT */
1254
- )
1255
- ]),
1256
- _: 1
1257
- /* STABLE */
1258
- })
1259
- ]),
1260
- key: "2"
1261
- } : void 0,
1262
- p(a) === "job" ? {
1263
- name: "table-column",
1264
- fn: E(() => [
1265
- q(p(z), {
1266
- label: "职务名称",
1267
- prop: "name"
1268
- }),
1269
- q(p(z), {
1270
- label: "职务编码",
1271
- prop: "code"
1272
- }),
1273
- q(p(z), {
1274
- label: "所属组织路径",
1275
- prop: "groupName"
1276
- })
1277
- ]),
1278
- key: "3"
1279
- } : void 0,
1280
- p(a) === "post" ? {
1281
- name: "table-column",
1282
- fn: E(() => [
1283
- q(p(z), {
1284
- label: "岗位名称",
1285
- prop: "name"
1286
- }),
1287
- q(p(z), {
1288
- label: "岗位编码",
1289
- prop: "code"
1290
- }),
1291
- q(p(z), {
1292
- label: "所属组织路径",
1293
- prop: "groupName"
1294
- })
1295
- ]),
1296
- key: "4"
1297
- } : void 0
1298
- ]), 1032, ["modelValue", "options", "onConfirm", "title"])
1299
- ]),
1300
- _: 1
1301
- /* STABLE */
1302
- }, 8, ["col", "marginRight", "modelValue", "prop", "label", "options", "helpMessage", "isView", "required", "onOpenDialog"])) : de("v-if", !0),
1303
- p(a) == "position" ? (S(), N(p(A), {
1304
- key: 1,
1305
- col: e.span,
1306
- marginRight: $.marginRight,
1307
- label: $.setting.desc,
1308
- prop: e.setting.name,
1309
- type: "treeSelect",
1310
- "node-key": "id",
1311
- showFullPath: !0,
1312
- helpMessage: P.value,
1313
- required: le.value,
1314
- modelValue: B.value,
1315
- "onUpdate:modelValue": C[2] || (C[2] = (K) => B.value = K),
1316
- keyword: p(T),
1317
- "onUpdate:keyword": C[3] || (C[3] = (K) => $e(T) ? T.value = K : null),
1318
- path: p(V),
1319
- "onUpdate:path": C[4] || (C[4] = (K) => $e(V) ? V.value = K : null),
1320
- isView: e.isView,
1321
- load: p(Y),
1322
- search: p(Z),
1323
- props: {
1324
- isLeaf: "leaf",
1325
- label: "name"
1326
- },
1327
- onChange: p(J)
1328
- }, null, 8, ["col", "marginRight", "label", "prop", "helpMessage", "required", "modelValue", "keyword", "path", "isView", "load", "search", "onChange"])) : de("v-if", !0)
1329
- ],
1330
- 64
1331
- /* STABLE_FRAGMENT */
1332
- ));
852
+ const L = d(""), se = d();
853
+ return e.setting.options.tip && (se.value = j(e.setting.options.tip)), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), a !== "position" ? (L.value = o(e.setting.name) ? o(e.setting.name) : L.value, L.value && _(L.value), L.value.length || t(e.setting.name, null), O(i, (B) => {
854
+ L.value = B.map((P) => P.value).toString(), t(e.setting.name, L.value);
855
+ })) : (L.value = o(e.setting.name) ? o(e.setting.name) : L.value, L.value && z(L.value), L.value || t(e.setting.name, null), O(L, (B) => {
856
+ t(e.setting.name, B);
857
+ }), O(b, (B) => {
858
+ t(e.setting.options.selector.type.positionName, B);
859
+ })), (B, P) => (h(), I(ee, null, [
860
+ l(a) != "position" ? (h(), V(l(M), {
861
+ key: 0,
862
+ col: e.span,
863
+ marginRight: B.marginRight,
864
+ modelValue: L.value,
865
+ "onUpdate:modelValue": P[1] || (P[1] = (N) => L.value = N),
866
+ prop: e.setting.name,
867
+ label: B.setting.desc,
868
+ type: "inputDialogSelect",
869
+ options: l(i),
870
+ helpMessage: se.value,
871
+ isView: e.isView,
872
+ required: te.value,
873
+ onOpenDialog: l(R)
874
+ }, {
875
+ default: S(() => [
876
+ $(l(dt), {
877
+ modelValue: l(g),
878
+ "onUpdate:modelValue": P[0] || (P[0] = (N) => oe(g) ? g.value = N : null),
879
+ options: l(n),
880
+ onConfirm: l(v),
881
+ title: l(r)
882
+ }, et({ _: 2 }, [
883
+ l(a) === "user" ? {
884
+ name: "table-column",
885
+ fn: S(() => [
886
+ $(l(T), {
887
+ label: "姓名",
888
+ prop: "name"
889
+ }),
890
+ $(l(T), {
891
+ label: "账号",
892
+ prop: "userName"
893
+ }),
894
+ $(l(T), {
895
+ label: "手机号",
896
+ prop: "sensitivePhone"
897
+ }),
898
+ $(l(T), { label: "状态" }, {
899
+ default: S(({ row: N }) => [
900
+ W(Y(l(u)[N.status]), 1)
901
+ ]),
902
+ _: 1
903
+ })
904
+ ]),
905
+ key: "0"
906
+ } : void 0,
907
+ l(a) === "org" ? {
908
+ name: "table-column",
909
+ fn: S(() => [
910
+ $(l(T), {
911
+ label: "组织名称",
912
+ prop: "name"
913
+ }),
914
+ $(l(T), {
915
+ label: "组织编码",
916
+ prop: "code"
917
+ }),
918
+ $(l(T), {
919
+ label: "组织类型",
920
+ prop: "typeName"
921
+ })
922
+ ]),
923
+ key: "1"
924
+ } : void 0,
925
+ l(a) === "role" ? {
926
+ name: "table-column",
927
+ fn: S(() => [
928
+ $(l(T), {
929
+ label: "角色名称",
930
+ prop: "name"
931
+ }),
932
+ $(l(T), { label: "角色类型" }, {
933
+ default: S(({ row: N }) => [
934
+ W(Y(l(c)[N.type]), 1)
935
+ ]),
936
+ _: 1
937
+ }),
938
+ $(l(T), { label: "角色状态" }, {
939
+ default: S(({ row: N }) => [
940
+ W(Y(l(f)[N.status]), 1)
941
+ ]),
942
+ _: 1
943
+ })
944
+ ]),
945
+ key: "2"
946
+ } : void 0,
947
+ l(a) === "job" ? {
948
+ name: "table-column",
949
+ fn: S(() => [
950
+ $(l(T), {
951
+ label: "职务名称",
952
+ prop: "name"
953
+ }),
954
+ $(l(T), {
955
+ label: "职务编码",
956
+ prop: "code"
957
+ }),
958
+ $(l(T), {
959
+ label: "所属组织路径",
960
+ prop: "groupName"
961
+ })
962
+ ]),
963
+ key: "3"
964
+ } : void 0,
965
+ l(a) === "post" ? {
966
+ name: "table-column",
967
+ fn: S(() => [
968
+ $(l(T), {
969
+ label: "岗位名称",
970
+ prop: "name"
971
+ }),
972
+ $(l(T), {
973
+ label: "岗位编码",
974
+ prop: "code"
975
+ }),
976
+ $(l(T), {
977
+ label: "所属组织路径",
978
+ prop: "groupName"
979
+ })
980
+ ]),
981
+ key: "4"
982
+ } : void 0
983
+ ]), 1032, ["modelValue", "options", "onConfirm", "title"])
984
+ ]),
985
+ _: 1
986
+ }, 8, ["col", "marginRight", "modelValue", "prop", "label", "options", "helpMessage", "isView", "required", "onOpenDialog"])) : J("", !0),
987
+ l(a) == "position" ? (h(), V(l(M), {
988
+ key: 1,
989
+ col: e.span,
990
+ marginRight: B.marginRight,
991
+ label: B.setting.desc,
992
+ prop: e.setting.name,
993
+ type: "treeSelect",
994
+ "node-key": "id",
995
+ showFullPath: !0,
996
+ helpMessage: se.value,
997
+ required: te.value,
998
+ modelValue: L.value,
999
+ "onUpdate:modelValue": P[2] || (P[2] = (N) => L.value = N),
1000
+ keyword: l(w),
1001
+ "onUpdate:keyword": P[3] || (P[3] = (N) => oe(w) ? w.value = N : null),
1002
+ path: l(y),
1003
+ "onUpdate:path": P[4] || (P[4] = (N) => oe(y) ? y.value = N : null),
1004
+ isView: e.isView,
1005
+ load: l(A),
1006
+ search: l(Z),
1007
+ props: {
1008
+ isLeaf: "leaf",
1009
+ label: "name"
1010
+ },
1011
+ onChange: l(q)
1012
+ }, null, 8, ["col", "marginRight", "label", "prop", "helpMessage", "required", "modelValue", "keyword", "path", "isView", "load", "search", "onChange"])) : J("", !0)
1013
+ ], 64));
1333
1014
  }
1334
- }), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1015
+ }), Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1335
1016
  __proto__: null,
1336
- default: Fs
1337
- }, Symbol.toStringTag, { value: "Module" })), qs = {
1017
+ default: us
1018
+ }, Symbol.toStringTag, { value: "Module" })), ps = {
1338
1019
  key: 0,
1339
1020
  class: "form-image"
1340
- }, Bs = {
1021
+ }, gs = {
1341
1022
  key: 1,
1342
1023
  style: { "margin-bottom": "10px" }
1343
- }, Ps = {
1024
+ }, cs = {
1344
1025
  name: "soundRecording"
1345
- }, Es = /* @__PURE__ */ F({
1346
- ...Ps,
1026
+ }, ds = /* @__PURE__ */ D({
1027
+ ...cs,
1347
1028
  props: {
1348
1029
  setting: { default: () => ({
1349
1030
  icon: "",
@@ -1358,50 +1039,49 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1358
1039
  store: {}
1359
1040
  },
1360
1041
  setup(s) {
1361
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, { baseURL: c } = Bt(), r = m(!1);
1362
- H(e.setting.options.validateList).then((i) => {
1042
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, { baseURL: g } = mt(), r = d(!1);
1043
+ F(e.setting.options.validateList).then((i) => {
1363
1044
  r.value = i;
1364
1045
  });
1365
- const u = m("info"), o = m();
1366
- e.setting.options.tip && (o.value = Q(e.setting.options.tip));
1367
- const a = m();
1368
- if (n(e.setting.name)) {
1369
- const i = JSON.parse(n(e.setting.name));
1370
- a.value = c + i[0].url;
1046
+ const p = d("info"), n = d();
1047
+ e.setting.options.tip && (n.value = j(e.setting.options.tip));
1048
+ const a = d();
1049
+ if (o(e.setting.name)) {
1050
+ const i = JSON.parse(o(e.setting.name));
1051
+ a.value = g + i[0].url;
1371
1052
  }
1372
- return e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), (i, l) => e.isView ? (S(), N(p(A), {
1053
+ return e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), (i, u) => e.isView ? (h(), V(l(M), {
1373
1054
  key: 0,
1374
1055
  modelValue: a.value,
1375
- "onUpdate:modelValue": l[2] || (l[2] = (d) => a.value = d),
1056
+ "onUpdate:modelValue": u[2] || (u[2] = (c) => a.value = c),
1376
1057
  "margin-bottom": "0",
1377
1058
  prop: e.setting.name,
1378
1059
  label: i.setting.desc,
1379
1060
  type: "custom",
1380
- helpMessage: o.value,
1061
+ helpMessage: n.value,
1381
1062
  required: r.value
1382
1063
  }, {
1383
- default: E(() => [
1384
- a.value ? (S(), se("div", qs, [
1385
- q(p(Ue), {
1064
+ default: S(() => [
1065
+ a.value ? (h(), I("div", ps, [
1066
+ $(l($e), {
1386
1067
  modelValue: a.value,
1387
- "onUpdate:modelValue": l[0] || (l[0] = (d) => a.value = d),
1388
- status: u.value,
1389
- "onUpdate:status": l[1] || (l[1] = (d) => u.value = d),
1068
+ "onUpdate:modelValue": u[0] || (u[0] = (c) => a.value = c),
1069
+ status: p.value,
1070
+ "onUpdate:status": u[1] || (u[1] = (c) => p.value = c),
1390
1071
  required: r.value
1391
1072
  }, null, 8, ["modelValue", "status", "required"])
1392
- ])) : (S(), se("div", Bs, "-"))
1073
+ ])) : (h(), I("div", gs, "-"))
1393
1074
  ]),
1394
1075
  _: 1
1395
- /* STABLE */
1396
- }, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : de("v-if", !0);
1076
+ }, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : J("", !0);
1397
1077
  }
1398
- }), Is = /* @__PURE__ */ qe(Es, [["__scopeId", "data-v-044dd90f"]]), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1078
+ }), ms = /* @__PURE__ */ me(ds, [["__scopeId", "data-v-044dd90f"]]), Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1399
1079
  __proto__: null,
1400
- default: Is
1401
- }, Symbol.toStringTag, { value: "Module" })), Ks = {
1080
+ default: ms
1081
+ }, Symbol.toStringTag, { value: "Module" })), fs = {
1402
1082
  name: "switch"
1403
- }, ks = /* @__PURE__ */ F({
1404
- ...Ks,
1083
+ }, vs = /* @__PURE__ */ D({
1084
+ ...fs,
1405
1085
  props: {
1406
1086
  setting: { default: () => ({
1407
1087
  icon: "",
@@ -1416,41 +1096,41 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1416
1096
  store: {}
1417
1097
  },
1418
1098
  setup(s) {
1419
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
1420
- H(e.setting.options.validateList).then((o) => {
1421
- c.value = o;
1099
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
1100
+ F(e.setting.options.validateList).then((n) => {
1101
+ g.value = n;
1422
1102
  });
1423
- const r = m();
1424
- e.setting.options.tip && (r.value = Q(e.setting.options.tip));
1425
- const u = m();
1103
+ const r = d();
1104
+ e.setting.options.tip && (r.value = j(e.setting.options.tip));
1105
+ const p = d();
1426
1106
  return setTimeout(() => {
1427
- u.value = n(e.setting.name) || e.setting.options.formulasDiyJs || u.value, u.value || t(e.setting.name, null);
1428
- }, 50), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(u, (o) => {
1429
- t(e.setting.name, o);
1430
- }), (o, a) => (S(), N(p(A), {
1107
+ p.value = o(e.setting.name) || e.setting.options.formulasDiyJs || p.value, p.value || t(e.setting.name, null);
1108
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(p, (n) => {
1109
+ t(e.setting.name, n);
1110
+ }), (n, a) => (h(), V(l(M), {
1431
1111
  col: e.span,
1432
- marginRight: o.marginRight,
1433
- modelValue: u.value,
1434
- "onUpdate:modelValue": a[0] || (a[0] = (i) => u.value = i),
1435
- label: o.setting.desc,
1112
+ marginRight: n.marginRight,
1113
+ modelValue: p.value,
1114
+ "onUpdate:modelValue": a[0] || (a[0] = (i) => p.value = i),
1115
+ label: n.setting.desc,
1436
1116
  type: "switch",
1437
1117
  prop: e.setting.name,
1438
- activeValue: o.setting.options.activeValue,
1439
- inactiveValue: o.setting.options.inactiveValue,
1440
- activeText: o.setting.options.activeText,
1441
- inactiveText: o.setting.options.inactiveText,
1118
+ activeValue: n.setting.options.activeValue,
1119
+ inactiveValue: n.setting.options.inactiveValue,
1120
+ activeText: n.setting.options.activeText,
1121
+ inactiveText: n.setting.options.inactiveText,
1442
1122
  helpMessage: r.value,
1443
- required: c.value,
1123
+ required: g.value,
1444
1124
  isView: e.isView
1445
1125
  }, null, 8, ["col", "marginRight", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "required", "isView"]));
1446
1126
  }
1447
- }), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1127
+ }), ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1448
1128
  __proto__: null,
1449
- default: ks
1450
- }, Symbol.toStringTag, { value: "Module" })), As = {
1129
+ default: vs
1130
+ }, Symbol.toStringTag, { value: "Module" })), ys = {
1451
1131
  name: "text"
1452
- }, Cs = /* @__PURE__ */ F({
1453
- ...As,
1132
+ }, hs = /* @__PURE__ */ D({
1133
+ ...ys,
1454
1134
  props: {
1455
1135
  setting: { default: () => ({
1456
1136
  icon: "",
@@ -1465,38 +1145,37 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1465
1145
  store: {}
1466
1146
  },
1467
1147
  setup(s) {
1468
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m();
1469
- e.setting.options.tip && (c.value = Q(e.setting.options.tip));
1470
- const r = m();
1471
- return r.value = e.setting.options.textValue, r.value = n(e.setting.name) || r.value, r.value || t(e.setting.name, null), x(r, (u) => {
1472
- t(e.setting.name, u);
1473
- }), (u, o) => (S(), N(p(A), {
1148
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d();
1149
+ e.setting.options.tip && (g.value = j(e.setting.options.tip));
1150
+ const r = d();
1151
+ return r.value = e.setting.options.textValue, r.value = o(e.setting.name) || r.value, r.value || t(e.setting.name, null), O(r, (p) => {
1152
+ t(e.setting.name, p);
1153
+ }), (p, n) => (h(), V(l(M), {
1474
1154
  col: e.span,
1475
- marginRight: u.marginRight,
1155
+ marginRight: p.marginRight,
1476
1156
  modelValue: r.value,
1477
- "onUpdate:modelValue": o[1] || (o[1] = (a) => r.value = a),
1478
- label: u.setting.desc,
1157
+ "onUpdate:modelValue": n[1] || (n[1] = (a) => r.value = a),
1158
+ label: p.setting.desc,
1479
1159
  type: "custom",
1480
- helpMessage: c.value
1160
+ helpMessage: g.value
1481
1161
  }, {
1482
- default: E(() => [
1483
- q(p(Qe), {
1162
+ default: S(() => [
1163
+ $(l(Se), {
1484
1164
  type: "text",
1485
1165
  modelValue: r.value,
1486
- "onUpdate:modelValue": o[0] || (o[0] = (a) => r.value = a)
1166
+ "onUpdate:modelValue": n[0] || (n[0] = (a) => r.value = a)
1487
1167
  }, null, 8, ["modelValue"])
1488
1168
  ]),
1489
1169
  _: 1
1490
- /* STABLE */
1491
1170
  }, 8, ["col", "marginRight", "modelValue", "label", "helpMessage"]));
1492
1171
  }
1493
- }), rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1172
+ }), Ae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1494
1173
  __proto__: null,
1495
- default: Cs
1496
- }, Symbol.toStringTag, { value: "Module" })), xs = {
1174
+ default: hs
1175
+ }, Symbol.toStringTag, { value: "Module" })), bs = {
1497
1176
  name: "textarea"
1498
- }, Us = /* @__PURE__ */ F({
1499
- ...xs,
1177
+ }, _s = /* @__PURE__ */ D({
1178
+ ...bs,
1500
1179
  props: {
1501
1180
  setting: { default: () => ({
1502
1181
  icon: "",
@@ -1511,80 +1190,73 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1511
1190
  store: {}
1512
1191
  },
1513
1192
  setup(s) {
1514
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
1515
- H(e.setting.options.validateList).then((i) => {
1516
- c.value = i;
1193
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
1194
+ F(e.setting.options.validateList).then((i) => {
1195
+ g.value = i;
1517
1196
  });
1518
- const r = m();
1519
- e.setting.options.tip && (r.value = Q(e.setting.options.tip));
1520
- const u = m("");
1197
+ const r = d();
1198
+ e.setting.options.tip && (r.value = j(e.setting.options.tip));
1199
+ const p = d("");
1521
1200
  setTimeout(() => {
1522
- u.value = n(e.setting.name) || e.setting.options.formulasDiyJs || u.value, u.value || t(e.setting.name, null);
1201
+ p.value = o(e.setting.name) || e.setting.options.formulasDiyJs || p.value, p.value || t(e.setting.name, null);
1523
1202
  }, 50);
1524
- const o = m(), a = m();
1525
- return o.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", a.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(u, (i) => {
1203
+ const n = d(), a = d();
1204
+ return n.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", a.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(p, (i) => {
1526
1205
  t(e.setting.name, i);
1527
- }), (i, l) => (S(), se(
1528
- Ve,
1529
- null,
1530
- [
1531
- i.setting.options.isEditor ? de("v-if", !0) : (S(), N(p(A), {
1532
- key: 0,
1533
- col: e.span,
1534
- marginRight: i.marginRight,
1535
- label: i.setting.desc,
1536
- type: "textarea",
1537
- modelValue: u.value,
1538
- "onUpdate:modelValue": l[0] || (l[0] = (d) => u.value = d),
1539
- prop: e.setting.name,
1540
- placeholder: i.setting.options.placeholder,
1541
- disabled: i.setting.options.isInputEdit,
1542
- isView: e.isView,
1543
- autosize: {
1544
- minRows: 1,
1545
- maxRows: 3
1546
- },
1547
- "show-word-limit": "",
1548
- helpMessage: r.value,
1549
- required: c.value
1550
- }, null, 8, ["col", "marginRight", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])),
1551
- i.setting.options.isEditor ? (S(), N(p(A), {
1552
- key: 1,
1553
- modelValue: u.value,
1554
- "onUpdate:modelValue": l[2] || (l[2] = (d) => u.value = d),
1555
- prop: e.setting.name,
1556
- contentWidth: o.value,
1557
- label: i.setting.desc,
1558
- type: "custom",
1559
- helpMessage: r.value,
1560
- required: c.value,
1561
- readOnly: e.isView
1562
- }, {
1563
- default: E(() => [
1564
- q(p(Qe), {
1565
- ref: "editor",
1566
- width: o.value,
1567
- height: a.value,
1568
- modelValue: u.value,
1569
- "onUpdate:modelValue": l[1] || (l[1] = (d) => u.value = d),
1570
- placeholder: i.setting.options.placeholder
1571
- }, null, 8, ["width", "height", "modelValue", "placeholder"])
1572
- ]),
1573
- _: 1
1574
- /* STABLE */
1575
- }, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : de("v-if", !0)
1576
- ],
1577
- 64
1578
- /* STABLE_FRAGMENT */
1579
- ));
1206
+ }), (i, u) => (h(), I(ee, null, [
1207
+ i.setting.options.isEditor ? J("", !0) : (h(), V(l(M), {
1208
+ key: 0,
1209
+ col: e.span,
1210
+ marginRight: i.marginRight,
1211
+ label: i.setting.desc,
1212
+ type: "textarea",
1213
+ modelValue: p.value,
1214
+ "onUpdate:modelValue": u[0] || (u[0] = (c) => p.value = c),
1215
+ prop: e.setting.name,
1216
+ placeholder: i.setting.options.placeholder,
1217
+ disabled: i.setting.options.isInputEdit,
1218
+ isView: e.isView,
1219
+ autosize: {
1220
+ minRows: 1,
1221
+ maxRows: 3
1222
+ },
1223
+ "show-word-limit": "",
1224
+ helpMessage: r.value,
1225
+ required: g.value
1226
+ }, null, 8, ["col", "marginRight", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])),
1227
+ i.setting.options.isEditor ? (h(), V(l(M), {
1228
+ key: 1,
1229
+ modelValue: p.value,
1230
+ "onUpdate:modelValue": u[2] || (u[2] = (c) => p.value = c),
1231
+ prop: e.setting.name,
1232
+ contentWidth: n.value,
1233
+ label: i.setting.desc,
1234
+ type: "custom",
1235
+ helpMessage: r.value,
1236
+ required: g.value,
1237
+ readOnly: e.isView
1238
+ }, {
1239
+ default: S(() => [
1240
+ $(l(Se), {
1241
+ ref: "editor",
1242
+ width: n.value,
1243
+ height: a.value,
1244
+ modelValue: p.value,
1245
+ "onUpdate:modelValue": u[1] || (u[1] = (c) => p.value = c),
1246
+ placeholder: i.setting.options.placeholder
1247
+ }, null, 8, ["width", "height", "modelValue", "placeholder"])
1248
+ ]),
1249
+ _: 1
1250
+ }, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : J("", !0)
1251
+ ], 64));
1580
1252
  }
1581
- }), ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1253
+ }), Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1582
1254
  __proto__: null,
1583
- default: Us
1584
- }, Symbol.toStringTag, { value: "Module" })), zs = {
1255
+ default: _s
1256
+ }, Symbol.toStringTag, { value: "Module" })), ws = {
1585
1257
  name: "time"
1586
- }, Qs = /* @__PURE__ */ F({
1587
- ...zs,
1258
+ }, Vs = /* @__PURE__ */ D({
1259
+ ...ws,
1588
1260
  props: {
1589
1261
  setting: { default: () => ({
1590
1262
  icon: "",
@@ -1599,35 +1271,35 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1599
1271
  store: {}
1600
1272
  },
1601
1273
  setup(s) {
1602
- const e = s, { setData: t, getData: n, setFormRule: g } = e.store || {}, c = m(!1);
1603
- H(e.setting.options.validateList).then((o) => {
1604
- c.value = o;
1274
+ const e = s, { setData: t, getData: o, setFormRule: m } = e.store || {}, g = d(!1);
1275
+ F(e.setting.options.validateList).then((n) => {
1276
+ g.value = n;
1605
1277
  });
1606
- const r = m();
1607
- e.setting.options.tip && (r.value = Q(e.setting.options.tip));
1608
- const u = m();
1278
+ const r = d();
1279
+ e.setting.options.tip && (r.value = j(e.setting.options.tip));
1280
+ const p = d();
1609
1281
  return setTimeout(() => {
1610
- const o = je().format("YYYY-MM-DD ");
1611
- n(e.setting.name) && (u.value = n(e.setting.name)), e.setting.options.formulasDiyJs && (u.value = je(o + e.setting.options.formulasDiyJs)), u.value || t(e.setting.name, null);
1612
- }, 50), e.setting.options.validateList.length && g(e.setting.name, e.setting.options.validateList), x(u, (o) => {
1613
- t(e.setting.name, o);
1614
- }), (o, a) => (S(), N(p(A), {
1282
+ const n = ge().format("YYYY-MM-DD ");
1283
+ o(e.setting.name) && (p.value = o(e.setting.name)), e.setting.options.formulasDiyJs && (p.value = ge(n + e.setting.options.formulasDiyJs)), p.value || t(e.setting.name, null);
1284
+ }, 50), e.setting.options.validateList.length && m(e.setting.name, e.setting.options.validateList), O(p, (n) => {
1285
+ t(e.setting.name, n);
1286
+ }), (n, a) => (h(), V(l(M), {
1615
1287
  col: e.span,
1616
- marginRight: o.marginRight,
1617
- modelValue: u.value,
1618
- "onUpdate:modelValue": a[0] || (a[0] = (i) => u.value = i),
1288
+ marginRight: n.marginRight,
1289
+ modelValue: p.value,
1290
+ "onUpdate:modelValue": a[0] || (a[0] = (i) => p.value = i),
1619
1291
  prop: e.setting.name,
1620
- label: o.setting.desc,
1292
+ label: n.setting.desc,
1621
1293
  type: "time",
1622
1294
  helpMessage: r.value,
1623
1295
  isView: e.isView,
1624
- required: c.value
1296
+ required: g.value
1625
1297
  }, null, 8, ["col", "marginRight", "modelValue", "prop", "label", "helpMessage", "isView", "required"]));
1626
1298
  }
1627
- }), pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1299
+ }), Qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1628
1300
  __proto__: null,
1629
- default: Qs
1630
- }, Symbol.toStringTag, { value: "Module" })), Js = F({
1301
+ default: Vs
1302
+ }, Symbol.toStringTag, { value: "Module" })), Ds = D({
1631
1303
  name: "accordion",
1632
1304
  props: {
1633
1305
  columns: {
@@ -1644,33 +1316,33 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1644
1316
  }
1645
1317
  },
1646
1318
  setup(s) {
1647
- const e = m([]), t = s.columns.map((n) => {
1648
- const g = n.list.map(
1649
- (c) => ae(Pe[c.ctrlType], { setting: c, isView: s.isView, store: s.store })
1319
+ const e = d([]), t = s.columns.map((o) => {
1320
+ const m = o.list.map(
1321
+ (g) => C(ve[g.ctrlType], { setting: g, isView: s.isView, store: s.store })
1650
1322
  );
1651
- return n.isOpen == !0 && e.value.push(n.idKey), ae(
1652
- Et,
1323
+ return o.isOpen == !0 && e.value.push(o.idKey), C(
1324
+ vt,
1653
1325
  {
1654
- header: n.span,
1655
- key: `${n.idKey}`
1326
+ header: o.span,
1327
+ key: `${o.idKey}`
1656
1328
  },
1657
- ae("div", g)
1329
+ C("div", m)
1658
1330
  );
1659
1331
  });
1660
- return () => ae(
1332
+ return () => C(
1661
1333
  "div",
1662
1334
  { class: "accordion-layout" },
1663
- ae(
1664
- Pt,
1335
+ C(
1336
+ ft,
1665
1337
  { activeKey: e.value, collapsible: s.options.accordion ? "" : "disabled" },
1666
1338
  t
1667
1339
  )
1668
1340
  );
1669
1341
  }
1670
- }), Ys = {
1342
+ }), $s = {
1671
1343
  name: "accordion"
1672
- }, Ws = /* @__PURE__ */ F({
1673
- ...Ys,
1344
+ }, Rs = /* @__PURE__ */ D({
1345
+ ...$s,
1674
1346
  props: {
1675
1347
  setting: { default: () => ({
1676
1348
  name: "",
@@ -1698,7 +1370,7 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1698
1370
  store: {}
1699
1371
  },
1700
1372
  setup(s) {
1701
- return (e, t) => (S(), N(p(Js), {
1373
+ return (e, t) => (h(), V(l(Ds), {
1702
1374
  columns: e.setting.columns,
1703
1375
  options: e.setting.options,
1704
1376
  isView: e.isView,
@@ -1706,9 +1378,9 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1706
1378
  style: { "margin-bottom": "10px" }
1707
1379
  }, null, 8, ["columns", "options", "isView", "store"]));
1708
1380
  }
1709
- }), Hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1381
+ }), Ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1710
1382
  __proto__: null,
1711
- default: Ws
1383
+ default: Rs
1712
1384
  }, Symbol.toStringTag, { value: "Module" }));
1713
1385
  /**
1714
1386
  * @vue/shared v3.4.35
@@ -1717,88 +1389,88 @@ const je = /* @__PURE__ */ ds(gs), ms = {
1717
1389
  **/
1718
1390
  process.env.NODE_ENV !== "production" && Object.freeze({});
1719
1391
  process.env.NODE_ENV !== "production" && Object.freeze([]);
1720
- const Zs = Object.prototype.hasOwnProperty, Ie = (s, e) => Zs.call(s, e), Be = (s) => s !== null && typeof s == "object";
1721
- function Gs(s) {
1722
- for (var e = -1, t = s == null ? 0 : s.length, n = {}; ++e < t; ) {
1723
- var g = s[e];
1724
- n[g[0]] = g[1];
1392
+ const Ms = Object.prototype.hasOwnProperty, he = (s, e) => Ms.call(s, e), fe = (s) => s !== null && typeof s == "object";
1393
+ function Ls(s) {
1394
+ for (var e = -1, t = s == null ? 0 : s.length, o = {}; ++e < t; ) {
1395
+ var m = s[e];
1396
+ o[m[0]] = m[1];
1725
1397
  }
1726
- return n;
1398
+ return o;
1727
1399
  }
1728
- const Ke = (s) => typeof s == "number", ct = "__epPropKey", ye = (s) => s, Xs = (s) => Be(s) && !!s[ct], en = (s, e) => {
1729
- if (!Be(s) || Xs(s))
1400
+ const be = (s) => typeof s == "number", ze = "__epPropKey", H = (s) => s, Os = (s) => fe(s) && !!s[ze], Ts = (s, e) => {
1401
+ if (!fe(s) || Os(s))
1730
1402
  return s;
1731
- const { values: t, required: n, default: g, type: c, validator: r } = s, o = {
1732
- type: c,
1733
- required: !!n,
1403
+ const { values: t, required: o, default: m, type: g, validator: r } = s, n = {
1404
+ type: g,
1405
+ required: !!o,
1734
1406
  validator: t || r ? (a) => {
1735
- let i = !1, l = [];
1736
- if (t && (l = Array.from(t), Ie(s, "default") && l.push(g), i || (i = l.includes(a))), r && (i || (i = r(a))), !i && l.length > 0) {
1737
- const d = [...new Set(l)].map((f) => JSON.stringify(f)).join(", ");
1738
- Vt(`Invalid prop: validation failed${e ? ` for prop "${e}"` : ""}. Expected one of [${d}], got value ${JSON.stringify(a)}.`);
1407
+ let i = !1, u = [];
1408
+ if (t && (u = Array.from(t), he(s, "default") && u.push(m), i || (i = u.includes(a))), r && (i || (i = r(a))), !i && u.length > 0) {
1409
+ const c = [...new Set(u)].map((f) => JSON.stringify(f)).join(", ");
1410
+ tt(`Invalid prop: validation failed${e ? ` for prop "${e}"` : ""}. Expected one of [${c}], got value ${JSON.stringify(a)}.`);
1739
1411
  }
1740
1412
  return i;
1741
1413
  } : void 0,
1742
- [ct]: !0
1414
+ [ze]: !0
1743
1415
  };
1744
- return Ie(s, "default") && (o.default = g), o;
1745
- }, dt = (s) => Gs(Object.entries(s).map(([e, t]) => [
1416
+ return he(s, "default") && (n.default = m), n;
1417
+ }, Ue = (s) => Ls(Object.entries(s).map(([e, t]) => [
1746
1418
  e,
1747
- en(t, e)
1748
- ])), gt = (s, e) => (s.install = (t) => {
1749
- for (const n of [s, ...Object.values({})])
1750
- t.component(n.name, n);
1751
- }, s), be = (s) => s, Se = "el", tn = "is-", pe = (s, e, t, n, g) => {
1752
- let c = `${s}-${e}`;
1753
- return t && (c += `-${t}`), n && (c += `__${n}`), g && (c += `--${g}`), c;
1754
- }, sn = Symbol("namespaceContextKey"), nn = (s) => {
1755
- const e = $t() ? ke(sn, m(Se)) : m(Se);
1756
- return ce(() => p(e) || Se);
1757
- }, mt = (s, e) => {
1758
- const t = nn();
1419
+ Ts(t, e)
1420
+ ])), xe = (s, e) => (s.install = (t) => {
1421
+ for (const o of [s, ...Object.values({})])
1422
+ t.component(o.name, o);
1423
+ }, s), G = (s) => s, ie = "el", js = "is-", U = (s, e, t, o, m) => {
1424
+ let g = `${s}-${e}`;
1425
+ return t && (g += `-${t}`), o && (g += `__${o}`), m && (g += `--${m}`), g;
1426
+ }, Ns = Symbol("namespaceContextKey"), Fs = (s) => {
1427
+ const e = st() ? _e(Ns, d(ie)) : d(ie);
1428
+ return x(() => l(e) || ie);
1429
+ }, Je = (s, e) => {
1430
+ const t = Fs();
1759
1431
  return {
1760
1432
  namespace: t,
1761
- b: (_ = "") => pe(t.value, s, _, "", ""),
1762
- e: (_) => _ ? pe(t.value, s, "", _, "") : "",
1763
- m: (_) => _ ? pe(t.value, s, "", "", _) : "",
1764
- be: (_, L) => _ && L ? pe(t.value, s, _, L, "") : "",
1765
- em: (_, L) => _ && L ? pe(t.value, s, "", _, L) : "",
1766
- bm: (_, L) => _ && L ? pe(t.value, s, _, "", L) : "",
1767
- bem: (_, L, V) => _ && L && V ? pe(t.value, s, _, L, V) : "",
1768
- is: (_, ...L) => {
1769
- const V = L.length >= 1 ? L[0] : !0;
1770
- return _ && V ? `${tn}${_}` : "";
1433
+ b: (v = "") => U(t.value, s, v, "", ""),
1434
+ e: (v) => v ? U(t.value, s, "", v, "") : "",
1435
+ m: (v) => v ? U(t.value, s, "", "", v) : "",
1436
+ be: (v, _) => v && _ ? U(t.value, s, v, _, "") : "",
1437
+ em: (v, _) => v && _ ? U(t.value, s, "", v, _) : "",
1438
+ bm: (v, _) => v && _ ? U(t.value, s, v, "", _) : "",
1439
+ bem: (v, _, y) => v && _ && y ? U(t.value, s, v, _, y) : "",
1440
+ is: (v, ..._) => {
1441
+ const y = _.length >= 1 ? _[0] : !0;
1442
+ return v && y ? `${js}${v}` : "";
1771
1443
  },
1772
- cssVar: (_) => {
1773
- const L = {};
1774
- for (const V in _)
1775
- _[V] && (L[`--${t.value}-${V}`] = _[V]);
1776
- return L;
1444
+ cssVar: (v) => {
1445
+ const _ = {};
1446
+ for (const y in v)
1447
+ v[y] && (_[`--${t.value}-${y}`] = v[y]);
1448
+ return _;
1777
1449
  },
1778
- cssVarName: (_) => `--${t.value}-${_}`,
1779
- cssVarBlock: (_) => {
1780
- const L = {};
1781
- for (const V in _)
1782
- _[V] && (L[`--${t.value}-${s}-${V}`] = _[V]);
1783
- return L;
1450
+ cssVarName: (v) => `--${t.value}-${v}`,
1451
+ cssVarBlock: (v) => {
1452
+ const _ = {};
1453
+ for (const y in v)
1454
+ v[y] && (_[`--${t.value}-${s}-${y}`] = v[y]);
1455
+ return _;
1784
1456
  },
1785
- cssVarBlockName: (_) => `--${t.value}-${s}-${_}`
1457
+ cssVarBlockName: (v) => `--${t.value}-${s}-${v}`
1786
1458
  };
1787
1459
  };
1788
- var ft = (s, e) => {
1460
+ var We = (s, e) => {
1789
1461
  const t = s.__vccOpts || s;
1790
- for (const [n, g] of e)
1791
- t[n] = g;
1462
+ for (const [o, m] of e)
1463
+ t[o] = m;
1792
1464
  return t;
1793
1465
  };
1794
- const vt = Symbol("rowContextKey"), on = [
1466
+ const Ye = Symbol("rowContextKey"), qs = [
1795
1467
  "start",
1796
1468
  "center",
1797
1469
  "end",
1798
1470
  "space-around",
1799
1471
  "space-between",
1800
1472
  "space-evenly"
1801
- ], an = ["top", "middle", "bottom"], ln = dt({
1473
+ ], Bs = ["top", "middle", "bottom"], Ps = Ue({
1802
1474
  tag: {
1803
1475
  type: String,
1804
1476
  default: "div"
@@ -1809,44 +1481,44 @@ const vt = Symbol("rowContextKey"), on = [
1809
1481
  },
1810
1482
  justify: {
1811
1483
  type: String,
1812
- values: on,
1484
+ values: qs,
1813
1485
  default: "start"
1814
1486
  },
1815
1487
  align: {
1816
1488
  type: String,
1817
- values: an
1489
+ values: Bs
1818
1490
  }
1819
- }), rn = F({
1491
+ }), Es = D({
1820
1492
  name: "ElRow"
1821
- }), un = /* @__PURE__ */ F({
1822
- ...rn,
1823
- props: ln,
1493
+ }), Ks = /* @__PURE__ */ D({
1494
+ ...Es,
1495
+ props: Ps,
1824
1496
  setup(s) {
1825
- const e = s, t = mt("row"), n = ce(() => e.gutter);
1826
- Dt(vt, {
1827
- gutter: n
1497
+ const e = s, t = Je("row"), o = x(() => e.gutter);
1498
+ ot(Ye, {
1499
+ gutter: o
1828
1500
  });
1829
- const g = ce(() => {
1501
+ const m = x(() => {
1830
1502
  const r = {};
1831
1503
  return e.gutter && (r.marginRight = r.marginLeft = `-${e.gutter / 2}px`), r;
1832
- }), c = ce(() => [
1504
+ }), g = x(() => [
1833
1505
  t.b(),
1834
1506
  t.is(`justify-${e.justify}`, e.justify !== "start"),
1835
1507
  t.is(`align-${e.align}`, !!e.align)
1836
1508
  ]);
1837
- return (r, u) => (S(), N(Ne(r.tag), {
1838
- class: Ae(p(c)),
1839
- style: Ce(p(g))
1509
+ return (r, p) => (h(), V(ce(r.tag), {
1510
+ class: we(l(g)),
1511
+ style: Ve(l(m))
1840
1512
  }, {
1841
- default: E(() => [
1842
- xe(r.$slots, "default")
1513
+ default: S(() => [
1514
+ De(r.$slots, "default")
1843
1515
  ]),
1844
1516
  _: 3
1845
1517
  }, 8, ["class", "style"]));
1846
1518
  }
1847
1519
  });
1848
- var pn = /* @__PURE__ */ ft(un, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);
1849
- const cn = gt(pn), dn = dt({
1520
+ var Is = /* @__PURE__ */ We(Ks, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);
1521
+ const ks = xe(Is), As = Ue({
1850
1522
  tag: {
1851
1523
  type: String,
1852
1524
  default: "div"
@@ -1868,58 +1540,58 @@ const cn = gt(pn), dn = dt({
1868
1540
  default: 0
1869
1541
  },
1870
1542
  xs: {
1871
- type: ye([Number, Object]),
1872
- default: () => be({})
1543
+ type: H([Number, Object]),
1544
+ default: () => G({})
1873
1545
  },
1874
1546
  sm: {
1875
- type: ye([Number, Object]),
1876
- default: () => be({})
1547
+ type: H([Number, Object]),
1548
+ default: () => G({})
1877
1549
  },
1878
1550
  md: {
1879
- type: ye([Number, Object]),
1880
- default: () => be({})
1551
+ type: H([Number, Object]),
1552
+ default: () => G({})
1881
1553
  },
1882
1554
  lg: {
1883
- type: ye([Number, Object]),
1884
- default: () => be({})
1555
+ type: H([Number, Object]),
1556
+ default: () => G({})
1885
1557
  },
1886
1558
  xl: {
1887
- type: ye([Number, Object]),
1888
- default: () => be({})
1559
+ type: H([Number, Object]),
1560
+ default: () => G({})
1889
1561
  }
1890
- }), gn = F({
1562
+ }), Cs = D({
1891
1563
  name: "ElCol"
1892
- }), mn = /* @__PURE__ */ F({
1893
- ...gn,
1894
- props: dn,
1564
+ }), Qs = /* @__PURE__ */ D({
1565
+ ...Cs,
1566
+ props: As,
1895
1567
  setup(s) {
1896
- const e = s, { gutter: t } = ke(vt, { gutter: ce(() => 0) }), n = mt("col"), g = ce(() => {
1568
+ const e = s, { gutter: t } = _e(Ye, { gutter: x(() => 0) }), o = Je("col"), m = x(() => {
1897
1569
  const r = {};
1898
1570
  return t.value && (r.paddingLeft = r.paddingRight = `${t.value / 2}px`), r;
1899
- }), c = ce(() => {
1571
+ }), g = x(() => {
1900
1572
  const r = [];
1901
1573
  return ["span", "offset", "pull", "push"].forEach((a) => {
1902
1574
  const i = e[a];
1903
- Ke(i) && (a === "span" ? r.push(n.b(`${e[a]}`)) : i > 0 && r.push(n.b(`${a}-${e[a]}`)));
1575
+ be(i) && (a === "span" ? r.push(o.b(`${e[a]}`)) : i > 0 && r.push(o.b(`${a}-${e[a]}`)));
1904
1576
  }), ["xs", "sm", "md", "lg", "xl"].forEach((a) => {
1905
- Ke(e[a]) ? r.push(n.b(`${a}-${e[a]}`)) : Be(e[a]) && Object.entries(e[a]).forEach(([i, l]) => {
1906
- r.push(i !== "span" ? n.b(`${a}-${i}-${l}`) : n.b(`${a}-${l}`));
1577
+ be(e[a]) ? r.push(o.b(`${a}-${e[a]}`)) : fe(e[a]) && Object.entries(e[a]).forEach(([i, u]) => {
1578
+ r.push(i !== "span" ? o.b(`${a}-${i}-${u}`) : o.b(`${a}-${u}`));
1907
1579
  });
1908
- }), t.value && r.push(n.is("guttered")), [n.b(), r];
1580
+ }), t.value && r.push(o.is("guttered")), [o.b(), r];
1909
1581
  });
1910
- return (r, u) => (S(), N(Ne(r.tag), {
1911
- class: Ae(p(c)),
1912
- style: Ce(p(g))
1582
+ return (r, p) => (h(), V(ce(r.tag), {
1583
+ class: we(l(g)),
1584
+ style: Ve(l(m))
1913
1585
  }, {
1914
- default: E(() => [
1915
- xe(r.$slots, "default")
1586
+ default: S(() => [
1587
+ De(r.$slots, "default")
1916
1588
  ]),
1917
1589
  _: 3
1918
1590
  }, 8, ["class", "style"]));
1919
1591
  }
1920
1592
  });
1921
- var fn = /* @__PURE__ */ ft(mn, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);
1922
- const vn = gt(fn), hn = F({
1593
+ var zs = /* @__PURE__ */ We(Qs, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);
1594
+ const Us = xe(zs), xs = D({
1923
1595
  name: "grid",
1924
1596
  props: {
1925
1597
  columns: {
@@ -1936,22 +1608,22 @@ const vn = gt(fn), hn = F({
1936
1608
  },
1937
1609
  setup(s) {
1938
1610
  let e = 0;
1939
- const t = s.columns.map((n) => {
1940
- const g = n.list.map((c) => {
1941
- e += n.span;
1611
+ const t = s.columns.map((o) => {
1612
+ const m = o.list.map((g) => {
1613
+ e += o.span;
1942
1614
  const r = e == 24 ? "0px" : "80px";
1943
- return e == 24 && (e = 0), ae(Vn[c.ctrlType], {
1944
- setting: c,
1615
+ return e == 24 && (e = 0), C(Hs[g.ctrlType], {
1616
+ setting: g,
1945
1617
  isView: s.isView,
1946
1618
  store: s.store,
1947
1619
  class: "grid-item-layout",
1948
1620
  marginRight: r
1949
1621
  });
1950
1622
  });
1951
- return ae(vn, { span: n.span }, g);
1623
+ return C(Us, { span: o.span }, m);
1952
1624
  });
1953
- return () => ae(
1954
- cn,
1625
+ return () => C(
1626
+ ks,
1955
1627
  {
1956
1628
  class: "grid-layout"
1957
1629
  // gutter: 0,
@@ -1959,10 +1631,10 @@ const vn = gt(fn), hn = F({
1959
1631
  t
1960
1632
  );
1961
1633
  }
1962
- }), yn = {
1634
+ }), Js = {
1963
1635
  name: "grid"
1964
- }, bn = /* @__PURE__ */ F({
1965
- ...yn,
1636
+ }, Ws = /* @__PURE__ */ D({
1637
+ ...Js,
1966
1638
  props: {
1967
1639
  setting: { default: () => ({
1968
1640
  name: "",
@@ -1988,124 +1660,124 @@ const vn = gt(fn), hn = F({
1988
1660
  },
1989
1661
  setup(s) {
1990
1662
  const e = s;
1991
- return (t, n) => (S(), N(p(hn), {
1663
+ return (t, o) => (h(), V(l(xs), {
1992
1664
  columns: t.setting.columns,
1993
1665
  isView: e.isView,
1994
1666
  store: t.store
1995
1667
  }, null, 8, ["columns", "isView", "store"]));
1996
1668
  }
1997
- }), _n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1669
+ }), Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1998
1670
  __proto__: null,
1999
- default: bn
2000
- }, Symbol.toStringTag, { value: "Module" })), Oe = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": We, "./base/checkbox.vue": He, "./base/date.vue": Ge, "./base/dropdown.vue": Xe, "./base/imageViewer.vue": et, "./base/input.vue": tt, "./base/number.vue": st, "./base/radio.vue": nt, "./base/select.vue": ot, "./base/selector.vue": at, "./base/soundRecording.vue": it, "./base/switch.vue": lt, "./base/text.vue": rt, "./base/textarea.vue": ut, "./base/time.vue": pt, "./layout/accordion/accordion.vue": Hs, "./layout/grid/gridLayout.vue": _n }), Re = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": We, "./base/checkbox.vue": He, "./base/date.vue": Ge, "./base/dropdown.vue": Xe, "./base/imageViewer.vue": et, "./base/input.vue": tt, "./base/number.vue": st, "./base/radio.vue": nt, "./base/select.vue": ot, "./base/selector.vue": at, "./base/soundRecording.vue": it, "./base/switch.vue": lt, "./base/text.vue": rt, "./base/textarea.vue": ut, "./base/time.vue": pt }), Le = /* @__PURE__ */ Object.assign({}), Te = /* @__PURE__ */ Object.assign({}), Pe = {}, ht = {}, yt = {}, wn = {};
2001
- Object.keys(Re).map((s) => ht[Re[s].default.name] = Re[s].default);
2002
- Object.keys(Le).map((s) => yt[Le[s].default.name] = Le[s].default);
2003
- Object.keys(Te).map((s) => wn[Te[s].default.name] = Te[s].default);
2004
- Object.keys(Oe).map((s) => Pe[Oe[s].default.name] = Oe[s].default);
2005
- const Vn = { ...ht, ...yt }, $n = (s, e, t, n) => {
2006
- (!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${n.name}`)) : t();
2007
- }, Dn = (s, e, t, n) => {
2008
- e !== "" && e.length > parseInt(n.value) ? t(new Error(`${n.name}不能超过${n.value}`)) : t();
2009
- }, Mn = (s, e, t, n) => {
2010
- e !== "" && e.length < parseInt(n.value) ? t(new Error(`${n.name}不能少于${n.value}`)) : t();
2011
- }, Sn = (s, e, t, n) => {
1671
+ default: Ws
1672
+ }, Symbol.toStringTag, { value: "Module" })), le = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Le, "./base/autocomplete.vue": Oe, "./base/checkbox.vue": Te, "./base/date.vue": je, "./base/dropdown.vue": Ne, "./base/imageViewer.vue": Fe, "./base/input.vue": qe, "./base/number.vue": Be, "./base/radio.vue": Pe, "./base/select.vue": Ee, "./base/selector.vue": Ke, "./base/soundRecording.vue": Ie, "./base/switch.vue": ke, "./base/text.vue": Ae, "./base/textarea.vue": Ce, "./base/time.vue": Qe, "./layout/accordion/accordion.vue": Ss, "./layout/grid/gridLayout.vue": Ys }), re = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Le, "./base/autocomplete.vue": Oe, "./base/checkbox.vue": Te, "./base/date.vue": je, "./base/dropdown.vue": Ne, "./base/imageViewer.vue": Fe, "./base/input.vue": qe, "./base/number.vue": Be, "./base/radio.vue": Pe, "./base/select.vue": Ee, "./base/selector.vue": Ke, "./base/soundRecording.vue": Ie, "./base/switch.vue": ke, "./base/text.vue": Ae, "./base/textarea.vue": Ce, "./base/time.vue": Qe }), ue = /* @__PURE__ */ Object.assign({}), pe = /* @__PURE__ */ Object.assign({}), ve = {}, Ze = {}, He = {}, Zs = {};
1673
+ Object.keys(re).map((s) => Ze[re[s].default.name] = re[s].default);
1674
+ Object.keys(ue).map((s) => He[ue[s].default.name] = ue[s].default);
1675
+ Object.keys(pe).map((s) => Zs[pe[s].default.name] = pe[s].default);
1676
+ Object.keys(le).map((s) => ve[le[s].default.name] = le[s].default);
1677
+ const Hs = { ...Ze, ...He }, Gs = (s, e, t, o) => {
1678
+ (!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${o.name}`)) : t();
1679
+ }, Xs = (s, e, t, o) => {
1680
+ e !== "" && e.length > parseInt(o.value) ? t(new Error(`${o.name}不能超过${o.value}`)) : t();
1681
+ }, eo = (s, e, t, o) => {
1682
+ e !== "" && e.length < parseInt(o.value) ? t(new Error(`${o.name}不能少于${o.value}`)) : t();
1683
+ }, to = (s, e, t, o) => {
2012
1684
  if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
2013
1685
  return t(new Error("手机号码格式不正确,请重新输入")), !1;
2014
1686
  t();
2015
- }, On = (s, e, t) => {
1687
+ }, so = (s, e, t) => {
2016
1688
  if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
2017
1689
  return t(new Error("电子邮箱格式不正确,请重新输入")), !1;
2018
1690
  t();
2019
- }, Rn = (s, e, t) => {
1691
+ }, oo = (s, e, t) => {
2020
1692
  if (e !== "" && !/^-?\d+$/.test(e))
2021
1693
  return t(new Error("请输入整数")), !1;
2022
1694
  t();
2023
- }, Ln = (s, e, t, n) => {
2024
- if (e !== "" && e != n.value)
1695
+ }, no = (s, e, t, o) => {
1696
+ if (e !== "" && e != o.value)
2025
1697
  return t(new Error("请输入相同的值")), !1;
2026
1698
  t();
2027
- }, Tn = (s, e, t, n) => {
2028
- e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(n.value) ? t(new Error(`${n.name}不能小于${n.value}`)) : t() : t(new Error("请输入数字"));
2029
- }, jn = (s, e, t, n) => {
2030
- e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(n.value) ? t(new Error(`${n.name}不能大于${n.value}`)) : t() : t(new Error("请输入数字"));
2031
- }, Nn = (s, e, t, n) => {
2032
- const g = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, c = /^-?\d+$/;
2033
- e === "" ? t() : g.test(e) || c.test(e) ? e >= parseFloat(n.start) && e <= parseFloat(n.end) ? t() : t(new Error(`只能输入指定数字范围${n.start}-${n.end}`)) : t(new Error("请输入数字"));
2034
- }, Fn = (s, e, t, n) => {
2035
- e === "" || parseFloat(e) === parseFloat(n.value) ? t() : t(new Error(`只能输入指定的值${n.value}`));
2036
- }, qn = (s, e, t, n) => {
2037
- e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(n.value) ? t() : t(new Error(`只能输入${n.value}位数数字`)) : t(new Error("请输入整数"));
2038
- }, Bn = (s, e, t) => {
1699
+ }, ao = (s, e, t, o) => {
1700
+ e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(o.value) ? t(new Error(`${o.name}不能小于${o.value}`)) : t() : t(new Error("请输入数字"));
1701
+ }, io = (s, e, t, o) => {
1702
+ e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(o.value) ? t(new Error(`${o.name}不能大于${o.value}`)) : t() : t(new Error("请输入数字"));
1703
+ }, lo = (s, e, t, o) => {
1704
+ const m = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, g = /^-?\d+$/;
1705
+ e === "" ? t() : m.test(e) || g.test(e) ? e >= parseFloat(o.start) && e <= parseFloat(o.end) ? t() : t(new Error(`只能输入指定数字范围${o.start}-${o.end}`)) : t(new Error("请输入数字"));
1706
+ }, ro = (s, e, t, o) => {
1707
+ e === "" || parseFloat(e) === parseFloat(o.value) ? t() : t(new Error(`只能输入指定的值${o.value}`));
1708
+ }, uo = (s, e, t, o) => {
1709
+ e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(o.value) ? t() : t(new Error(`只能输入${o.value}位数数字`)) : t(new Error("请输入整数"));
1710
+ }, po = (s, e, t) => {
2039
1711
  if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
2040
1712
  return t(new Error("只能输入字母")), !1;
2041
1713
  t();
2042
- }, Pn = (s, e, t) => {
1714
+ }, go = (s, e, t) => {
2043
1715
  if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
2044
1716
  return t(new Error("只能输入字母空格")), !1;
2045
1717
  t();
2046
- }, En = (s, e, t) => {
1718
+ }, co = (s, e, t) => {
2047
1719
  if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
2048
1720
  return t(new Error("只能输入字母数字横线下划线")), !1;
2049
1721
  t();
2050
- }, In = (s, e, t) => {
1722
+ }, mo = (s, e, t) => {
2051
1723
  if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
2052
1724
  return t(new Error("只能输入字母数字")), !1;
2053
1725
  t();
2054
- }, Kn = (s, e, t, n) => {
2055
- const g = new RegExp(n.value);
2056
- if (e !== "" && !g.test(e))
1726
+ }, fo = (s, e, t, o) => {
1727
+ const m = new RegExp(o.value);
1728
+ if (e !== "" && !m.test(e))
2057
1729
  return t(new Error("校验失败")), !1;
2058
1730
  t();
2059
- }, kn = {
2060
- required: $n,
2061
- min: Mn,
2062
- max: Dn,
2063
- email: On,
2064
- min_value: Tn,
2065
- max_value: jn,
2066
- confirmed: Ln,
2067
- numeric: Rn,
2068
- between: Nn,
2069
- is: Fn,
2070
- digits: qn,
2071
- mobile: Sn,
2072
- alpha: Bn,
2073
- alpha_spaces: Pn,
2074
- alpha_dash: En,
2075
- alpha_num: In,
2076
- regex: Kn
2077
- }, An = () => {
2078
- const s = m({}), e = m([]), t = m([]), n = m(""), g = m({});
2079
- return { data: s, formData: e, formRule: g, setData: (d, f) => {
2080
- e.value.forEach((O) => {
2081
- O.formKey === n.value && (O.data[d] = f);
1731
+ }, vo = {
1732
+ required: Gs,
1733
+ min: eo,
1734
+ max: Xs,
1735
+ email: so,
1736
+ min_value: ao,
1737
+ max_value: io,
1738
+ confirmed: no,
1739
+ numeric: oo,
1740
+ between: lo,
1741
+ is: ro,
1742
+ digits: uo,
1743
+ mobile: to,
1744
+ alpha: po,
1745
+ alpha_spaces: go,
1746
+ alpha_dash: co,
1747
+ alpha_num: mo,
1748
+ regex: fo
1749
+ }, yo = () => {
1750
+ const s = d({}), e = d([]), t = d([]), o = d(""), m = d({});
1751
+ return { data: s, formData: e, formRule: m, setData: (c, f) => {
1752
+ e.value.forEach((R) => {
1753
+ R.formKey === o.value && (R.data[c] = f);
2082
1754
  });
2083
- }, setDetailData: (d) => {
2084
- s.value = d, e.value.forEach((f) => {
2085
- f.formKey === n.value && (f.data = d);
1755
+ }, setDetailData: (c) => {
1756
+ s.value = c, e.value.forEach((f) => {
1757
+ f.formKey === o.value && (f.data = c);
2086
1758
  });
2087
- }, getData: (d) => s.value[d], setFormData: (d, f, O) => {
2088
- n.value = d, t.value.includes(d) ? e.value.forEach((_) => {
2089
- _.formKey === d && (s.value = _.data);
2090
- }) : (t.value.push(d), e.value.push({
2091
- formKey: d,
1759
+ }, getData: (c) => s.value[c], setFormData: (c, f, R) => {
1760
+ o.value = c, t.value.includes(c) ? e.value.forEach((v) => {
1761
+ v.formKey === c && (s.value = v.data);
1762
+ }) : (t.value.push(c), e.value.push({
1763
+ formKey: c,
2092
1764
  boKey: f,
2093
- reportId: O || null,
1765
+ reportId: R || null,
2094
1766
  data: {}
2095
1767
  }));
2096
- }, getFormData: () => e.value, setFormRule: (d, f) => {
2097
- g.value[d] = [], f.forEach((O) => {
2098
- g.value[d].push({
2099
- validator: (_, L, V) => kn[O.key](_, L, V, O)
1768
+ }, getFormData: () => e.value, setFormRule: (c, f) => {
1769
+ m.value[c] = [], f.forEach((R) => {
1770
+ m.value[c].push({
1771
+ validator: (v, _, y) => vo[R.key](v, _, y, R)
2100
1772
  });
2101
1773
  });
2102
1774
  }, clearData: () => {
2103
- s.value = {}, e.value = [], t.value = [], g.value = {};
1775
+ s.value = {}, e.value = [], t.value = [], m.value = {};
2104
1776
  } };
2105
- }, Cn = { class: "custom-page" }, xn = {
1777
+ }, ho = { class: "custom-page" }, bo = {
2106
1778
  key: 0,
2107
1779
  class: "btn-box"
2108
- }, Un = { class: "content-box" }, zn = /* @__PURE__ */ F({
1780
+ }, _o = { class: "content-box" }, wo = /* @__PURE__ */ D({
2109
1781
  __name: "App",
2110
1782
  props: {
2111
1783
  formConfigurationId: {},
@@ -2115,77 +1787,59 @@ const Vn = { ...ht, ...yt }, $n = (s, e, t, n) => {
2115
1787
  },
2116
1788
  emits: ["handleClick"],
2117
1789
  setup(s, { expose: e, emit: t }) {
2118
- const n = An(), { formRule: g, clearData: c } = n, r = s, u = t, { formJsonList: o, isShowPage: a, btnList: i, formRef: l, getForm: d, getBtnSet: f, handleClick: O, validateFormData: _ } = os(
1790
+ const o = yo(), { formRule: m, clearData: g } = o, r = s, p = t, { formJsonList: n, isShowPage: a, btnList: i, formRef: u, getForm: c, getBtnSet: f, handleClick: R, validateFormData: v } = Et(
2119
1791
  r,
2120
- u,
2121
- n
1792
+ p,
1793
+ o
2122
1794
  );
2123
- return Mt(async () => {
1795
+ return nt(async () => {
2124
1796
  f();
2125
1797
  }), e({
2126
- validateFormData: _,
2127
- clearData: c
2128
- }), (L, V) => (S(), se("div", Cn, [
2129
- p(i).length > 0 ? (S(), se("div", xn, [
2130
- (S(!0), se(
2131
- Ve,
2132
- null,
2133
- Ee(p(i), (R) => (S(), N(p(Lt), {
2134
- key: R.id,
2135
- style: { "margin-right": "20px" },
2136
- "btn-type": "primary",
2137
- onClick: (T) => p(O)(R)
2138
- }, {
2139
- default: E(() => [
2140
- me(
2141
- fe(R.name),
2142
- 1
2143
- /* TEXT */
2144
- )
2145
- ]),
2146
- _: 2
2147
- /* DYNAMIC */
2148
- }, 1032, ["onClick"]))),
2149
- 128
2150
- /* KEYED_FRAGMENT */
2151
- ))
2152
- ])) : de("v-if", !0),
2153
- St((S(), se("div", Un, [
2154
- p(a) ? (S(), N(p(Rt), {
1798
+ validateFormData: v,
1799
+ clearData: g
1800
+ }), (_, y) => (h(), I("div", ho, [
1801
+ l(i).length > 0 ? (h(), I("div", bo, [
1802
+ (h(!0), I(ee, null, ye(l(i), (b) => (h(), V(l(rt), {
1803
+ key: b.id,
1804
+ style: { "margin-right": "20px" },
1805
+ "btn-type": "primary",
1806
+ onClick: (w) => l(R)(b)
1807
+ }, {
1808
+ default: S(() => [
1809
+ W(Y(b.name), 1)
1810
+ ]),
1811
+ _: 2
1812
+ }, 1032, ["onClick"]))), 128))
1813
+ ])) : J("", !0),
1814
+ at((h(), I("div", _o, [
1815
+ l(a) ? (h(), V(l(lt), {
2155
1816
  key: 0,
2156
1817
  ref_key: "formRef",
2157
- ref: l,
1818
+ ref: u,
2158
1819
  cols: 24,
2159
1820
  "margin-right": "80px",
2160
- rules: p(g),
2161
- form: p(n).data,
1821
+ rules: l(m),
1822
+ form: l(o).data,
2162
1823
  class: "form-preview-page",
2163
1824
  alignType: "horizontal"
2164
1825
  }, {
2165
- default: E(() => [
2166
- (S(!0), se(
2167
- Ve,
2168
- null,
2169
- Ee(p(o), (R) => (S(), N(Ne(p(Pe)[R.ctrlType]), {
2170
- key: R.name,
2171
- setting: R,
2172
- isView: r.isView,
2173
- store: p(n)
2174
- }, null, 8, ["setting", "isView", "store"]))),
2175
- 128
2176
- /* KEYED_FRAGMENT */
2177
- ))
1826
+ default: S(() => [
1827
+ (h(!0), I(ee, null, ye(l(n), (b) => (h(), V(ce(l(ve)[b.ctrlType]), {
1828
+ key: b.name,
1829
+ setting: b,
1830
+ isView: r.isView,
1831
+ store: l(o)
1832
+ }, null, 8, ["setting", "isView", "store"]))), 128))
2178
1833
  ]),
2179
1834
  _: 1
2180
- /* STABLE */
2181
- }, 8, ["rules", "form"])) : de("v-if", !0)
1835
+ }, 8, ["rules", "form"])) : J("", !0)
2182
1836
  ])), [
2183
- [p(Tt)]
1837
+ [l(ut)]
2184
1838
  ])
2185
1839
  ]));
2186
1840
  }
2187
- }), Qn = /* @__PURE__ */ qe(zn, [["__scopeId", "data-v-993c1451"]]), go = bt(Qn);
1841
+ }), Vo = /* @__PURE__ */ me(wo, [["__scopeId", "data-v-993c1451"]]), Qo = Ge(Vo);
2188
1842
  export {
2189
- go as DasProcessForm,
2190
- go as default
1843
+ Qo as DasProcessForm,
1844
+ Qo as default
2191
1845
  };