@das-fed/ui 6.4.0-dev.86 → 6.4.0-dev.88

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