@das-fed/ui 6.4.0-dev.52 → 6.4.0-dev.53

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