@das-fed/ui 6.4.0-dev.17 → 6.4.0-dev.19

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