@das-fed/ui 6.4.0-test.10 → 6.4.0-test.11

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