@das-fed/ui 6.4.0-hot.1 → 6.4.0-hot.2

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