@das-fed/ui 6.4.0-beta.6 → 6.4.0-beta.8

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