@das-fed/ui 6.4.0-dev.87 → 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.
@@ -1,6 +1,6 @@
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 A, watch as L, openBlock as V, createBlock as F, unref as a, withCtx as T, createVNode as N, createCommentVNode as q, createElementVNode as je, createElementBlock as Y, Fragment as G, createTextVNode as ee, toDisplayString as te, isRef as he, createSlots as dt, h as le, renderList as ie, resolveDynamicComponent as ge, onMounted as ct, withDirectives as gt, normalizeStyle as mt } from "vue";
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";
@@ -12,7 +12,7 @@ import ve from "dayjs";
12
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 K, t as _, 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";
@@ -33,36 +33,37 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
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
35
  const { setDetailData: l, getFormData: p, setFormData: u, formRule: f, showData: w, disabledData: n, encryptionData: s } = t, m = i([]), v = i([]), c = i([]), d = i(!1), C = vt(), g = i([]), h = (S) => Object.keys(S).length === 0, r = async (S) => {
36
- const [M, k] = await Rt({ formId: S }).run();
37
- if (M) return;
38
- const B = JSON.parse(k.bos);
39
- be.value = B[0].alias, v.value.length && v.value.forEach((W) => {
40
- W.formKey === k.formKey && u(k.formKey, be.value, W.id);
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 [$, Q] = await $t({ formDefId: k.defId }).run();
43
- await D(), c.value = JSON.parse(Q.value.expand).list, c.value.forEach((W) => {
44
- W.columns && W.columns[0].isOpen && g.value.push(W.columns[0].idKey);
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
45
  }), n.value = { ...n.value, ...o.disabledData }, v.value.length || u(k.formKey, be.value), setTimeout(() => {
46
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
48
  }, y = async () => {
49
49
  if (o.formConfigurationId) {
50
- const [S, M] = await Pt({ id: o.formConfigurationId }).run();
50
+ const [S, z] = await Pt({ id: o.formConfigurationId }).run();
51
51
  if (S) return;
52
- v.value = M.reports, m.value = M.reports[0].buttons.filter((k) => !(o.isView && k.event !== "LINK")), r(M.reports[0].formId);
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 [S, M] = await Ft({ flowKey: o.flowKey }).run();
55
+ const [S, z] = await Ft({ flowKey: o.flowKey }).run();
56
56
  if (S) return;
57
- r(M.pcForm.pcFormId);
57
+ r(z.pcForm.pcFormId);
58
58
  }
59
59
  }, D = async () => {
60
+ var k, j, T, E;
60
61
  if (!o.flowKey) return;
61
- const [S, M] = await Tt().run({
62
+ const [S, z] = await Tt().run({
62
63
  flowKey: o.flowKey,
63
64
  needDisplayFileds: !1
64
65
  });
65
- s.value = M.value.boDef.boEnt.attributeList.filter((k) => k.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,
@@ -73,10 +74,10 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
73
74
  getForm: r,
74
75
  getBtnSet: y,
75
76
  handleClick: (S) => {
76
- var M;
77
- (M = C.value) == null || M.validate(async (k) => {
78
- k && (e("handleClick", S, p()), S.event === "LINK" && v.value.forEach((B) => {
79
- S.eventTarget === B.formKey && (m.value = B.buttons.filter(($) => !(o.isView && $.event !== "LINK")), d.value = !1, f.value = {}, r(B.formId));
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
  }
@@ -95,14 +96,14 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
95
96
  const f = p.requestType === "POST" ? Z(p.url).post("") : Z(p.url).get(""), [w, n] = await f({}, { params: u.value }).run();
96
97
  return w ? void 0 : n;
97
98
  }
98
- }, H = async (o) => {
99
+ }, W = async (o) => {
99
100
  const e = i(!1);
100
101
  return o.forEach((t) => {
101
102
  t.key === "required" && (e.value = !0);
102
103
  }), e.value;
103
104
  }, Xt = {
104
105
  name: "attachment"
105
- }, ea = /* @__PURE__ */ A({
106
+ }, ea = /* @__PURE__ */ Q({
106
107
  ...Xt,
107
108
  props: {
108
109
  setting: { default: () => ({
@@ -136,7 +137,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
136
137
  type: "custom",
137
138
  helpMessage: m.value
138
139
  }, {
139
- default: T(() => [
140
+ default: R(() => [
140
141
  N(a(yt), {
141
142
  style: { width: "100%" },
142
143
  modelValue: n.value,
@@ -152,7 +153,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
152
153
  default: ea
153
154
  }, Symbol.toStringTag, { value: "Module" })), ta = {
154
155
  name: "autocomplete"
155
- }, aa = /* @__PURE__ */ A({
156
+ }, aa = /* @__PURE__ */ Q({
156
157
  ...ta,
157
158
  props: {
158
159
  setting: { default: () => ({
@@ -177,7 +178,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
177
178
  { deep: !0, immediate: !0 }
178
179
  );
179
180
  const m = l.value[e.setting.name] || !1, v = i(!1);
180
- H(e.setting.options.validateList).then((r) => {
181
+ W(e.setting.options.validateList).then((r) => {
181
182
  v.value = r;
182
183
  });
183
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([]);
@@ -199,7 +200,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
199
200
  required: v.value,
200
201
  disabled: a(m)
201
202
  }, {
202
- default: T(() => [
203
+ default: R(() => [
203
204
  N(a(bt), {
204
205
  modelValue: n.value,
205
206
  "onUpdate:modelValue": y[0] || (y[0] = (D) => n.value = D),
@@ -221,7 +222,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
221
222
  default: aa
222
223
  }, Symbol.toStringTag, { value: "Module" })), na = {
223
224
  name: "checkbox"
224
- }, sa = /* @__PURE__ */ A({
225
+ }, sa = /* @__PURE__ */ Q({
225
226
  ...na,
226
227
  props: {
227
228
  setting: { default: () => ({
@@ -246,7 +247,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
246
247
  { deep: !0, immediate: !0 }
247
248
  );
248
249
  const m = l.value[e.setting.name] || !1, v = i(!1);
249
- H(e.setting.options.validateList).then((h) => {
250
+ W(e.setting.options.validateList).then((h) => {
250
251
  v.value = h;
251
252
  });
252
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([]);
@@ -281,7 +282,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
281
282
  default: sa
282
283
  }, Symbol.toStringTag, { value: "Module" })), oa = {
283
284
  name: "date"
284
- }, la = /* @__PURE__ */ A({
285
+ }, la = /* @__PURE__ */ Q({
285
286
  ...oa,
286
287
  props: {
287
288
  setting: { default: () => ({
@@ -306,7 +307,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
306
307
  { deep: !0, immediate: !0 }
307
308
  );
308
309
  const m = l.value[e.setting.name] || !1, v = i(!1);
309
- H(e.setting.options.validateList).then((g) => {
310
+ W(e.setting.options.validateList).then((g) => {
310
311
  v.value = g;
311
312
  });
312
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("");
@@ -343,7 +344,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
343
344
  default: la
344
345
  }, Symbol.toStringTag, { value: "Module" })), ia = {
345
346
  name: "dropdown"
346
- }, ra = /* @__PURE__ */ A({
347
+ }, ra = /* @__PURE__ */ Q({
347
348
  ...ia,
348
349
  props: {
349
350
  setting: { default: () => ({
@@ -370,7 +371,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
370
371
  const v = () => {
371
372
  e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && n(e.setting.options.customQuery.custQueryJson, s.value);
372
373
  }, c = l.value[e.setting.name] || !1, d = i(!1);
373
- H(e.setting.options.validateList).then((b) => {
374
+ W(e.setting.options.validateList).then((b) => {
374
375
  d.value = b;
375
376
  });
376
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([]);
@@ -384,9 +385,9 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
384
385
  key: 0,
385
386
  col: e.span,
386
387
  modelValue: s.value,
387
- "onUpdate:modelValue": S[0] || (S[0] = (M) => s.value = M),
388
+ "onUpdate:modelValue": S[0] || (S[0] = (z) => s.value = z),
388
389
  keyword: C.value,
389
- "onUpdate:keyword": S[1] || (S[1] = (M) => C.value = M),
390
+ "onUpdate:keyword": S[1] || (S[1] = (z) => C.value = z),
390
391
  label: b.setting.desc,
391
392
  type: "treeSelect",
392
393
  "node-key": b.setting.options.customQuery.valueBind,
@@ -410,7 +411,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
410
411
  default: ra
411
412
  }, Symbol.toStringTag, { value: "Module" })), ua = { class: "form-image" }, pa = {
412
413
  name: "imageViewer"
413
- }, da = /* @__PURE__ */ A({
414
+ }, da = /* @__PURE__ */ Q({
414
415
  ...pa,
415
416
  props: {
416
417
  setting: { default: () => ({
@@ -435,7 +436,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
435
436
  { deep: !0, immediate: !0 }
436
437
  );
437
438
  const m = l.value[e.setting.name] || !1, v = i(!1);
438
- H(e.setting.options.validateList).then((g) => {
439
+ W(e.setting.options.validateList).then((g) => {
439
440
  v.value = g;
440
441
  });
441
442
  const c = i("normal");
@@ -467,7 +468,7 @@ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt =
467
468
  required: v.value,
468
469
  col: e.span
469
470
  }, {
470
- default: T(() => [
471
+ default: R(() => [
471
472
  je("div", ua, [
472
473
  N(a(Ke), {
473
474
  modelValue: n.value,
@@ -552,7 +553,7 @@ const fa = (o, e) => {
552
553
  return e ? ((l = me[o]) == null ? void 0 : l.call(me, e)) ?? e : "-";
553
554
  }, ha = {
554
555
  name: "input"
555
- }, ya = /* @__PURE__ */ A({
556
+ }, ya = /* @__PURE__ */ Q({
556
557
  ...ha,
557
558
  props: {
558
559
  setting: { default: () => ({
@@ -587,7 +588,7 @@ const fa = (o, e) => {
587
588
  { deep: !0 }
588
589
  );
589
590
  const C = p.value[e.setting.name] || !1, g = i(!1);
590
- H(e.setting.options.validateList).then((r) => {
591
+ W(e.setting.options.validateList).then((r) => {
591
592
  g.value = r;
592
593
  });
593
594
  const h = i();
@@ -610,13 +611,13 @@ const fa = (o, e) => {
610
611
  helpMessage: h.value,
611
612
  required: g.value
612
613
  }, {
613
- default: T(() => [
614
+ default: R(() => [
614
615
  N(a(Ve), {
615
616
  placement: "top",
616
617
  disabled: !c.value,
617
618
  content: c.value
618
619
  }, {
619
- default: T(() => [
620
+ default: R(() => [
620
621
  N(a(_t), {
621
622
  modelValue: m.value,
622
623
  "onUpdate:modelValue": y[0] || (y[0] = (D) => m.value = D),
@@ -625,14 +626,14 @@ const fa = (o, e) => {
625
626
  isView: r.setting.options.isReadonly || e.isView,
626
627
  placeholder: r.setting.options.placeholder
627
628
  }, {
628
- prepend: T(() => [
629
+ prepend: R(() => [
629
630
  ee(
630
631
  te(r.setting.options.bindPreAndSufFixjson.preFix),
631
632
  1
632
633
  /* TEXT */
633
634
  )
634
635
  ]),
635
- append: T(() => [
636
+ append: R(() => [
636
637
  ee(
637
638
  te(r.setting.options.bindPreAndSufFixjson.sufSix),
638
639
  1
@@ -665,7 +666,7 @@ const fa = (o, e) => {
665
666
  required: g.value,
666
667
  placeholder: r.setting.options.placeholder
667
668
  }, {
668
- default: T(() => [
669
+ default: R(() => [
669
670
  q(` <DasInput\r
670
671
  v-model="inputValue"\r
671
672
  >\r
@@ -686,7 +687,7 @@ const fa = (o, e) => {
686
687
  default: ya
687
688
  }, Symbol.toStringTag, { value: "Module" })), ba = {
688
689
  name: "number"
689
- }, _a = /* @__PURE__ */ A({
690
+ }, _a = /* @__PURE__ */ Q({
690
691
  ...ba,
691
692
  props: {
692
693
  setting: { default: () => ({
@@ -711,7 +712,7 @@ const fa = (o, e) => {
711
712
  { deep: !0, immediate: !0 }
712
713
  );
713
714
  const m = l.value[e.setting.name] || !1, v = i(!1);
714
- H(e.setting.options.validateList).then((d) => {
715
+ W(e.setting.options.validateList).then((d) => {
715
716
  v.value = d;
716
717
  });
717
718
  const c = i();
@@ -743,7 +744,7 @@ const fa = (o, e) => {
743
744
  default: _a
744
745
  }, Symbol.toStringTag, { value: "Module" })), wa = {
745
746
  name: "radio"
746
- }, Ca = /* @__PURE__ */ A({
747
+ }, Ca = /* @__PURE__ */ Q({
747
748
  ...wa,
748
749
  props: {
749
750
  setting: { default: () => ({
@@ -770,7 +771,7 @@ const fa = (o, e) => {
770
771
  { deep: !0, immediate: !0 }
771
772
  );
772
773
  const m = l.value[e.setting.name] || !1, v = i(!1);
773
- H(e.setting.options.validateList).then((r) => {
774
+ W(e.setting.options.validateList).then((r) => {
774
775
  v.value = r;
775
776
  });
776
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([]);
@@ -816,7 +817,7 @@ const fa = (o, e) => {
816
817
  default: Ca
817
818
  }, Symbol.toStringTag, { value: "Module" })), Da = {
818
819
  name: "select"
819
- }, Va = /* @__PURE__ */ A({
820
+ }, Va = /* @__PURE__ */ Q({
820
821
  ...Da,
821
822
  props: {
822
823
  setting: { default: () => ({
@@ -847,14 +848,14 @@ const fa = (o, e) => {
847
848
  if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === b.alias) {
848
849
  s.value = null;
849
850
  const S = b.conditionfield.filter((k) => k.defaultType == 1);
850
- let M = {};
851
+ let z = {};
851
852
  S.forEach((k) => {
852
- const B = k.fieldPath.split("."), $ = B[B.length - 1];
853
- M[k.field] = f($);
853
+ const j = k.fieldPath.split("."), T = j[j.length - 1];
854
+ z[k.field] = f(T);
854
855
  }), se(
855
856
  e.setting.options.customQuery.alias,
856
857
  e.setting.options.customQuery.conditionfield,
857
- M
858
+ z
858
859
  ).then((k) => {
859
860
  g.value = k;
860
861
  });
@@ -864,7 +865,7 @@ const fa = (o, e) => {
864
865
  { deep: !0 }
865
866
  );
866
867
  const v = l.value[e.setting.name] || !1, c = i(!1);
867
- H(e.setting.options.validateList).then((b) => {
868
+ W(e.setting.options.validateList).then((b) => {
868
869
  c.value = b;
869
870
  });
870
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([]);
@@ -872,12 +873,12 @@ const fa = (o, e) => {
872
873
  let b = (D = (y = e.setting.options) == null ? void 0 : y.customQuery) == null ? void 0 : D.conditionfield;
873
874
  typeof b == "string" && (b = JSON.parse(b));
874
875
  const S = b.filter((k) => k.defaultType == 1);
875
- let M = {};
876
+ let z = {};
876
877
  S.forEach((k) => {
877
- var Q;
878
- const B = (Q = k.fieldPath) == null ? void 0 : Q.split("."), $ = B[B.length - 1];
879
- M[k.field] = f($);
880
- }), se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, M).then(
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(
881
882
  (k) => {
882
883
  g.value = k;
883
884
  }
@@ -902,7 +903,7 @@ const fa = (o, e) => {
902
903
  key: 0,
903
904
  col: e.span,
904
905
  modelValue: s.value,
905
- "onUpdate:modelValue": S[0] || (S[0] = (M) => s.value = M),
906
+ "onUpdate:modelValue": S[0] || (S[0] = (z) => s.value = z),
906
907
  label: b.setting.desc,
907
908
  onChange: r,
908
909
  type: "select",
@@ -926,21 +927,21 @@ const fa = (o, e) => {
926
927
  }, Symbol.toStringTag, { value: "Module" })), ka = (o, e, t) => {
927
928
  var ue, ne, pe, de, ce;
928
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 = {
929
- user: K("搜索姓名/账号/手机号").value,
930
- org: K("搜索组织名称/组织编码").value,
931
- role: K("搜索角色名称").value,
932
- job: K("职务名称/职务编码").value,
933
- post: K("搜索岗位名称/岗位编码").value,
934
- supplier: K("搜索供应商编码/名称").value,
935
- source: K("搜索单据编码/申请人").value
930
+ user: B("搜索姓名/账号/手机号").value,
931
+ org: B("搜索组织名称/组织编码").value,
932
+ role: B("搜索角色名称").value,
933
+ job: B("职务名称/职务编码").value,
934
+ post: B("搜索岗位名称/岗位编码").value,
935
+ supplier: B("搜索供应商编码/名称").value,
936
+ source: B("搜索单据编码/申请人").value
936
937
  }, m = {
937
- user: K("添加用户").value,
938
- org: K("组织选择器").value,
939
- role: K("角色选择器").value,
940
- job: K("职务选择器").value,
941
- post: K("岗位选择器").value,
942
- supplier: K("选择供应商").value,
943
- source: K("选择源单").value
938
+ user: B("添加用户").value,
939
+ org: B("组织选择器").value,
940
+ role: B("角色选择器").value,
941
+ job: B("职务选择器").value,
942
+ post: B("岗位选择器").value,
943
+ supplier: B("选择供应商").value,
944
+ source: B("选择源单").value
944
945
  }, v = {
945
946
  user: "id",
946
947
  org: "id",
@@ -950,15 +951,15 @@ const fa = (o, e) => {
950
951
  supplier: "id",
951
952
  source: "code"
952
953
  }, c = {
953
- 1: K("正常").value,
954
- 2: K("锁定").value,
955
- 3: K("禁用").value
954
+ 1: B("正常").value,
955
+ 2: B("锁定").value,
956
+ 3: B("禁用").value
956
957
  }, d = {
957
- 0: K("普通").value,
958
- 1: K("管理员").value
958
+ 0: B("普通").value,
959
+ 1: B("管理员").value
959
960
  }, C = {
960
- 0: K("无效").value,
961
- 1: K("有效").value
961
+ 0: B("无效").value,
962
+ 1: B("有效").value
962
963
  }, g = {
963
964
  user: jt,
964
965
  org: ye,
@@ -996,7 +997,7 @@ const fa = (o, e) => {
996
997
  }
997
998
  },
998
999
  right: !1
999
- }, M(), S()) : u === "source" ? (r.value = {
1000
+ }, z(), S()) : u === "source" ? (r.value = {
1000
1001
  left: !1,
1001
1002
  content: {
1002
1003
  api: Zt,
@@ -1034,7 +1035,7 @@ const fa = (o, e) => {
1034
1035
  },
1035
1036
  props: {
1036
1037
  inputOptions: {
1037
- placeholder: K("搜索组织名称").value
1038
+ placeholder: B("搜索组织名称").value
1038
1039
  }
1039
1040
  }
1040
1041
  },
@@ -1110,7 +1111,7 @@ const fa = (o, e) => {
1110
1111
  },
1111
1112
  {
1112
1113
  type: "select",
1113
- label: K("供应商类型").value,
1114
+ label: B("供应商类型").value,
1114
1115
  layout: "out",
1115
1116
  width: "200px",
1116
1117
  closable: !0,
@@ -1122,25 +1123,25 @@ const fa = (o, e) => {
1122
1123
  allowClear: !0
1123
1124
  }
1124
1125
  ];
1125
- }, M = async () => {
1126
+ }, z = async () => {
1126
1127
  const O = {
1127
1128
  name: "",
1128
1129
  published: 1
1129
- }, [x, j] = await Wt(O).run();
1130
- x || (y.value[1].options = j);
1130
+ }, [x, K] = await Wt(O).run();
1131
+ x || (y.value[1].options = K);
1131
1132
  }, k = () => {
1132
1133
  var x;
1133
1134
  w.value = "", p.value = !0;
1134
1135
  let O = v[u];
1135
- r.value.content.selectListProps.data = (x = f == null ? void 0 : f.value) == null ? void 0 : x.map((j) => ({ name: j == null ? void 0 : j.label, [O]: j == null ? void 0 : j.value }));
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 }));
1136
1137
  };
1137
1138
  D();
1138
- const B = async () => {
1139
- var O, x, j, R, E, P, z, oe, Ne, Le, ze, Me, Te, Re, $e, Pe, Fe;
1139
+ const j = async () => {
1140
+ var O, x, K, $, A, P, M, oe, Ne, Le, ze, Me, Te, Re, $e, Pe, Fe;
1140
1141
  r.value.content.params = {
1141
1142
  ...(x = (O = r == null ? void 0 : r.value) == null ? void 0 : O.content) == null ? void 0 : x.params,
1142
1143
  pageIndex: 1
1143
- }, (u === "user" || u === "org" || u === "post" || u === "role" || u === "job") && (r.value.content.params.name = (j = y == null ? void 0 : y.value[0]) == null ? void 0 : j.value), u === "source" && (r.value.content.params.key = (R = y == null ? void 0 : y.value[0]) == null ? void 0 : R.value), u === "supplier" && (r.value.content.params.querys = [
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 = [
1144
1145
  {
1145
1146
  property: "orgId",
1146
1147
  value: l,
@@ -1148,7 +1149,7 @@ const fa = (o, e) => {
1148
1149
  relation: "AND",
1149
1150
  operation: "EQUAL"
1150
1151
  }
1151
- ], (E = y == null ? void 0 : y.value[0]) != null && E.value && (r.value.content.params.querys = (ze = (oe = (z = (P = r == null ? void 0 : r.value) == null ? void 0 : P.content) == null ? void 0 : z.params) == null ? void 0 : oe.querys) == null ? void 0 : ze.concat([
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([
1152
1153
  {
1153
1154
  property: "name",
1154
1155
  value: (Ne = y == null ? void 0 : y.value[0]) == null ? void 0 : Ne.value,
@@ -1176,10 +1177,10 @@ const fa = (o, e) => {
1176
1177
  L(
1177
1178
  () => p == null ? void 0 : p.value,
1178
1179
  (O) => {
1179
- O || $();
1180
+ O || T();
1180
1181
  }
1181
1182
  );
1182
- const $ = async () => {
1183
+ const T = async () => {
1183
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();
1184
1185
  };
1185
1186
  return {
@@ -1194,15 +1195,15 @@ const fa = (o, e) => {
1194
1195
  roleStatusMap: C,
1195
1196
  openDialog: k,
1196
1197
  confirm: (O) => {
1197
- var j;
1198
+ var K;
1198
1199
  let x = v[u];
1199
- f.value = O == null ? void 0 : O.map((R) => ({ label: (R == null ? void 0 : R.name) || (R == null ? void 0 : R.code), value: R[x] })), u === "supplier" && (n.value = (j = O[0]) == null ? void 0 : j.linkmanPhone);
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);
1200
1201
  },
1201
1202
  getDetail: async (O) => {
1202
1203
  if (!O) return;
1203
1204
  const x = g[u];
1204
- let j = {};
1205
- const R = O == null ? void 0 : O.split(",");
1205
+ let K = {};
1206
+ const $ = O == null ? void 0 : O.split(",");
1206
1207
  if (u === "source") {
1207
1208
  f.value = [
1208
1209
  {
@@ -1211,16 +1212,16 @@ const fa = (o, e) => {
1211
1212
  }
1212
1213
  ];
1213
1214
  return;
1214
- } else u === "user" ? j.userIds = R : u === "role" ? j.ids = R : u === "supplier" ? j.id = R : j = R;
1215
- const [E, P] = await x(j).run();
1216
- E || (u === "supplier" ? f.value = [
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 = [
1217
1218
  {
1218
1219
  label: (P == null ? void 0 : P.name) || (P == null ? void 0 : P.code),
1219
1220
  value: P == null ? void 0 : P.id
1220
1221
  }
1221
- ] : f.value = P == null ? void 0 : P.map((z) => ({ label: (z == null ? void 0 : z.name) || (z == null ? void 0 : z.code), value: z == null ? void 0 : z.id })));
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 })));
1222
1223
  },
1223
- searchData: B,
1224
+ searchData: j,
1224
1225
  searchOptions: y,
1225
1226
  linkmanPhone: n
1226
1227
  };
@@ -1265,7 +1266,7 @@ const fa = (o, e) => {
1265
1266
  };
1266
1267
  }, Na = { class: "table-search-process-top" }, La = {
1267
1268
  name: "selector"
1268
- }, za = /* @__PURE__ */ A({
1269
+ }, za = /* @__PURE__ */ Q({
1269
1270
  ...La,
1270
1271
  props: {
1271
1272
  setting: { default: () => ({
@@ -1300,28 +1301,28 @@ const fa = (o, e) => {
1300
1301
  roleTypeMap: D,
1301
1302
  roleStatusMap: b,
1302
1303
  openDialog: S,
1303
- confirm: M,
1304
+ confirm: z,
1304
1305
  getDetail: k,
1305
- searchData: B,
1306
- searchOptions: $,
1307
- linkmanPhone: Q
1308
- } = ka(e.setting, u, s), { spacePath: W, spaceName: ue, searchSpace: ne, changeSpace: pe, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: O } = Sa(), x = i(!1);
1309
- H(e.setting.options.validateList).then((R) => {
1310
- x.value = R;
1306
+ 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 = $;
1311
1312
  });
1312
- const j = i();
1313
- return e.setting.options.tip && (j.value = J(e.setting.options.tip)), e.setting.options.validateList.length && f(e.setting.name, e.setting.options.validateList), h == "position" ? (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && O(s.value), s.value || l(e.setting.name, null), L(s, (R) => {
1314
- l(e.setting.name, R);
1315
- }), L(ue, (R) => {
1316
- l(e.setting.options.selector.type.positionName, R);
1317
- })) : h == "supplier" ? (s.value = p(e.setting.name) ? [p(e.setting.name)] : [s.value], s.value && k(p(e.setting.name)), L(s, (R) => {
1318
- l(e.setting.name, R == null ? void 0 : R.toString());
1319
- }), L(Q, (R) => {
1320
- var E, P, z, oe;
1321
- ((oe = (z = (P = (E = e == null ? void 0 : e.setting) == null ? void 0 : E.options) == null ? void 0 : P.selector) == null ? void 0 : z.type) == null ? void 0 : oe.supplierPhone) !== void 0 && l(e.setting.options.selector.type.supplierPhone, R);
1322
- })) : (s.value = p(e.setting.name) ? p(e.setting.name) : s.value, s.value && k(s.value), s.value.length || l(e.setting.name, null), L(r, (R) => {
1323
- s.value = R.map((E) => E.value).toString(), l(e.setting.name, s.value);
1324
- })), (R, E) => (V(), Y(
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(
1325
1326
  G,
1326
1327
  null,
1327
1328
  [
@@ -1329,41 +1330,41 @@ const fa = (o, e) => {
1329
1330
  key: 0,
1330
1331
  col: e.span,
1331
1332
  modelValue: s.value,
1332
- "onUpdate:modelValue": E[1] || (E[1] = (P) => s.value = P),
1333
+ "onUpdate:modelValue": A[1] || (A[1] = (P) => s.value = P),
1333
1334
  prop: e.setting.name,
1334
- label: R.setting.desc,
1335
+ label: $.setting.desc,
1335
1336
  type: "inputDialogSelect",
1336
1337
  options: a(r),
1337
- helpMessage: j.value,
1338
+ helpMessage: K.value,
1338
1339
  isView: e.isView,
1339
1340
  disabled: a(v),
1340
1341
  required: x.value,
1341
- placeholder: R.setting.options.placeholder || a(_)("请选择"),
1342
+ placeholder: $.setting.options.placeholder || a(_)("请选择"),
1342
1343
  onOpenDialog: a(S)
1343
1344
  }, {
1344
- default: T(() => {
1345
+ default: R(() => {
1345
1346
  var P;
1346
1347
  return [
1347
1348
  N(a(Dt), {
1348
1349
  "append-to-body": "",
1349
1350
  modelValue: a(c),
1350
- "onUpdate:modelValue": E[0] || (E[0] = (z) => he(c) ? c.value = z : null),
1351
+ "onUpdate:modelValue": A[0] || (A[0] = (M) => he(c) ? c.value = M : null),
1351
1352
  options: a(g),
1352
- onConfirm: a(M),
1353
+ onConfirm: a(z),
1353
1354
  title: a(d),
1354
1355
  "body-style": { padding: "0px" }
1355
1356
  }, dt({
1356
1357
  _: 2
1357
1358
  /* DYNAMIC */
1358
1359
  }, [
1359
- ((P = a($)) == null ? void 0 : P.length) > 0 ? {
1360
+ ((P = a(T)) == null ? void 0 : P.length) > 0 ? {
1360
1361
  name: "table-header-search",
1361
- fn: T(() => [
1362
+ fn: R(() => [
1362
1363
  je("div", Na, [
1363
1364
  N(a(Ct), {
1364
1365
  labelLength: "6",
1365
- options: a($),
1366
- onConfirm: a(B),
1366
+ options: a(T),
1367
+ onConfirm: a(j),
1367
1368
  "is-margin-right": !1
1368
1369
  }, null, 8, ["options", "onConfirm"])
1369
1370
  ])
@@ -1372,7 +1373,7 @@ const fa = (o, e) => {
1372
1373
  } : void 0,
1373
1374
  a(h) === "user" ? {
1374
1375
  name: "table-column",
1375
- fn: T(() => [
1376
+ fn: R(() => [
1376
1377
  N(a(I), {
1377
1378
  label: a(_)("姓名"),
1378
1379
  prop: "name"
@@ -1385,15 +1386,15 @@ const fa = (o, e) => {
1385
1386
  label: a(_)("手机号"),
1386
1387
  prop: "sensitivePhone"
1387
1388
  }, {
1388
- default: T(({ row: z }) => [
1389
+ default: R(({ row: M }) => [
1389
1390
  N(a(Ve), {
1390
1391
  placement: "top",
1391
- content: z.phone,
1392
- disabled: !z.phone
1392
+ content: M.phone,
1393
+ disabled: !M.phone
1393
1394
  }, {
1394
- default: T(() => [
1395
+ default: R(() => [
1395
1396
  ee(
1396
- te(z.sensitivePhone || "-"),
1397
+ te(M.sensitivePhone || "-"),
1397
1398
  1
1398
1399
  /* TEXT */
1399
1400
  )
@@ -1408,9 +1409,9 @@ const fa = (o, e) => {
1408
1409
  N(a(I), {
1409
1410
  label: a(_)("状态")
1410
1411
  }, {
1411
- default: T(({ row: z }) => [
1412
+ default: R(({ row: M }) => [
1412
1413
  ee(
1413
- te(a(y)[z.status]),
1414
+ te(a(y)[M.status]),
1414
1415
  1
1415
1416
  /* TEXT */
1416
1417
  )
@@ -1423,7 +1424,7 @@ const fa = (o, e) => {
1423
1424
  } : void 0,
1424
1425
  a(h) === "org" ? {
1425
1426
  name: "table-column",
1426
- fn: T(() => [
1427
+ fn: R(() => [
1427
1428
  N(a(I), {
1428
1429
  label: a(_)("组织名称"),
1429
1430
  prop: "name"
@@ -1441,7 +1442,7 @@ const fa = (o, e) => {
1441
1442
  } : void 0,
1442
1443
  a(h) === "role" ? {
1443
1444
  name: "table-column",
1444
- fn: T(() => [
1445
+ fn: R(() => [
1445
1446
  N(a(I), {
1446
1447
  label: a(_)("角色名称"),
1447
1448
  prop: "name"
@@ -1449,9 +1450,9 @@ const fa = (o, e) => {
1449
1450
  N(a(I), {
1450
1451
  label: a(_)("角色类型")
1451
1452
  }, {
1452
- default: T(({ row: z }) => [
1453
+ default: R(({ row: M }) => [
1453
1454
  ee(
1454
- te(a(D)[z.type]),
1455
+ te(a(D)[M.type]),
1455
1456
  1
1456
1457
  /* TEXT */
1457
1458
  )
@@ -1462,9 +1463,9 @@ const fa = (o, e) => {
1462
1463
  N(a(I), {
1463
1464
  label: a(_)("角色状态")
1464
1465
  }, {
1465
- default: T(({ row: z }) => [
1466
+ default: R(({ row: M }) => [
1466
1467
  ee(
1467
- te(a(b)[z.status]),
1468
+ te(a(b)[M.status]),
1468
1469
  1
1469
1470
  /* TEXT */
1470
1471
  )
@@ -1477,7 +1478,7 @@ const fa = (o, e) => {
1477
1478
  } : void 0,
1478
1479
  a(h) === "job" ? {
1479
1480
  name: "table-column",
1480
- fn: T(() => [
1481
+ fn: R(() => [
1481
1482
  N(a(I), {
1482
1483
  label: a(_)("职务名称"),
1483
1484
  prop: "name"
@@ -1495,7 +1496,7 @@ const fa = (o, e) => {
1495
1496
  } : void 0,
1496
1497
  a(h) === "post" ? {
1497
1498
  name: "table-column",
1498
- fn: T(() => [
1499
+ fn: R(() => [
1499
1500
  N(a(I), {
1500
1501
  label: a(_)("岗位名称"),
1501
1502
  prop: "name"
@@ -1513,7 +1514,7 @@ const fa = (o, e) => {
1513
1514
  } : void 0,
1514
1515
  a(h) === "supplier" ? {
1515
1516
  name: "table-column",
1516
- fn: T(() => [
1517
+ fn: R(() => [
1517
1518
  N(a(I), {
1518
1519
  type: "index",
1519
1520
  width: "50"
@@ -1534,7 +1535,7 @@ const fa = (o, e) => {
1534
1535
  label: a(_)("供应商分类"),
1535
1536
  prop: "classificationName"
1536
1537
  }, {
1537
- default: T(() => [
1538
+ default: R(() => [
1538
1539
  q(` <template #default="{row}">\r
1539
1540
  {{ getSupplierName(row) }}\r
1540
1541
  </template> `)
@@ -1546,9 +1547,9 @@ const fa = (o, e) => {
1546
1547
  label: a(_)("个人/公司"),
1547
1548
  prop: "businessType"
1548
1549
  }, {
1549
- default: T(({ row: z }) => [
1550
+ default: R(({ row: M }) => [
1550
1551
  ee(
1551
- te(z.businessType == "COMPANY" ? a(_)("公司") : a(_)("个人")),
1552
+ te(M.businessType == "COMPANY" ? a(_)("公司") : a(_)("个人")),
1552
1553
  1
1553
1554
  /* TEXT */
1554
1555
  )
@@ -1561,7 +1562,7 @@ const fa = (o, e) => {
1561
1562
  } : void 0,
1562
1563
  a(h) === "source" ? {
1563
1564
  name: "table-column",
1564
- fn: T(() => [
1565
+ fn: R(() => [
1565
1566
  N(a(I), {
1566
1567
  type: "index",
1567
1568
  width: "50"
@@ -1578,15 +1579,15 @@ const fa = (o, e) => {
1578
1579
  label: a(_)("联系电话"),
1579
1580
  prop: "sensitivePhone"
1580
1581
  }, {
1581
- default: T(({ row: z }) => [
1582
+ default: R(({ row: M }) => [
1582
1583
  N(a(Ve), {
1583
1584
  placement: "top",
1584
- content: z.phone,
1585
- disabled: !z.phone
1585
+ content: M.phone,
1586
+ disabled: !M.phone
1586
1587
  }, {
1587
- default: T(() => [
1588
+ default: R(() => [
1588
1589
  ee(
1589
- te(z.sensitivePhone || "-"),
1590
+ te(M.sensitivePhone || "-"),
1590
1591
  1
1591
1592
  /* TEXT */
1592
1593
  )
@@ -1602,9 +1603,9 @@ const fa = (o, e) => {
1602
1603
  label: a(_)("计划领用日期"),
1603
1604
  prop: "claimingDate"
1604
1605
  }, {
1605
- default: T(({ row: z }) => [
1606
+ default: R(({ row: M }) => [
1606
1607
  ee(
1607
- te(z.claimingDate ? a(ve)(Number(z == null ? void 0 : z.claimingDate)).format("YYYY/MM/DD") : "-"),
1608
+ te(M.claimingDate ? a(ve)(Number(M == null ? void 0 : M.claimingDate)).format("YYYY/MM/DD") : "-"),
1608
1609
  1
1609
1610
  /* TEXT */
1610
1611
  )
@@ -1628,20 +1629,20 @@ const fa = (o, e) => {
1628
1629
  m.value && a(h) == "position" ? (V(), F(a(U), {
1629
1630
  key: 1,
1630
1631
  col: e.span,
1631
- label: R.setting.desc,
1632
+ label: $.setting.desc,
1632
1633
  prop: e.setting.name,
1633
1634
  type: "treeSelect",
1634
1635
  "node-key": "id",
1635
1636
  showFullPath: !0,
1636
- helpMessage: j.value,
1637
- placeholder: R.setting.options.placeholder,
1637
+ helpMessage: K.value,
1638
+ placeholder: $.setting.options.placeholder,
1638
1639
  required: x.value,
1639
1640
  modelValue: s.value,
1640
- "onUpdate:modelValue": E[2] || (E[2] = (P) => s.value = P),
1641
+ "onUpdate:modelValue": A[2] || (A[2] = (P) => s.value = P),
1641
1642
  keyword: a(ne),
1642
- "onUpdate:keyword": E[3] || (E[3] = (P) => he(ne) ? ne.value = P : null),
1643
- path: a(W),
1644
- "onUpdate:path": E[4] || (E[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),
1645
1646
  isView: e.isView,
1646
1647
  disabled: a(v),
1647
1648
  load: a(de),
@@ -1668,7 +1669,7 @@ const fa = (o, e) => {
1668
1669
  style: { "margin-bottom": "10px" }
1669
1670
  }, $a = {
1670
1671
  name: "soundRecording"
1671
- }, Pa = /* @__PURE__ */ A({
1672
+ }, Pa = /* @__PURE__ */ Q({
1672
1673
  ...$a,
1673
1674
  props: {
1674
1675
  setting: { default: () => ({
@@ -1693,7 +1694,7 @@ const fa = (o, e) => {
1693
1694
  { deep: !0, immediate: !0 }
1694
1695
  ), l.value[e.setting.name];
1695
1696
  const { baseURL: m } = Vt(), v = i(!1);
1696
- H(e.setting.options.validateList).then((C) => {
1697
+ W(e.setting.options.validateList).then((C) => {
1697
1698
  v.value = C;
1698
1699
  });
1699
1700
  const c = i("info"), d = i();
@@ -1713,7 +1714,7 @@ const fa = (o, e) => {
1713
1714
  required: v.value,
1714
1715
  col: e.span
1715
1716
  }, {
1716
- default: T(() => [
1717
+ default: R(() => [
1717
1718
  n.value ? (V(), Y("div", Ta, [
1718
1719
  N(a(Ke), {
1719
1720
  modelValue: n.value,
@@ -1733,7 +1734,7 @@ const fa = (o, e) => {
1733
1734
  default: Fa
1734
1735
  }, Symbol.toStringTag, { value: "Module" })), Ia = {
1735
1736
  name: "switch"
1736
- }, qa = /* @__PURE__ */ A({
1737
+ }, qa = /* @__PURE__ */ Q({
1737
1738
  ...Ia,
1738
1739
  props: {
1739
1740
  setting: { default: () => ({
@@ -1758,7 +1759,7 @@ const fa = (o, e) => {
1758
1759
  { deep: !0, immediate: !0 }
1759
1760
  );
1760
1761
  const m = l.value[e.setting.name] || !1, v = i(!1);
1761
- H(e.setting.options.validateList).then((d) => {
1762
+ W(e.setting.options.validateList).then((d) => {
1762
1763
  v.value = d;
1763
1764
  });
1764
1765
  const c = i();
@@ -1789,7 +1790,7 @@ const fa = (o, e) => {
1789
1790
  default: qa
1790
1791
  }, Symbol.toStringTag, { value: "Module" })), Oa = {
1791
1792
  name: "text"
1792
- }, ja = /* @__PURE__ */ A({
1793
+ }, ja = /* @__PURE__ */ Q({
1793
1794
  ...Oa,
1794
1795
  props: {
1795
1796
  setting: { default: () => ({
@@ -1825,7 +1826,7 @@ const fa = (o, e) => {
1825
1826
  type: "custom",
1826
1827
  helpMessage: m.value
1827
1828
  }, {
1828
- default: T(() => [
1829
+ default: R(() => [
1829
1830
  N(a(Ee), {
1830
1831
  type: "text",
1831
1832
  modelValue: n.value,
@@ -1841,7 +1842,7 @@ const fa = (o, e) => {
1841
1842
  default: ja
1842
1843
  }, Symbol.toStringTag, { value: "Module" })), Ka = {
1843
1844
  name: "textarea"
1844
- }, Ba = /* @__PURE__ */ A({
1845
+ }, Ba = /* @__PURE__ */ Q({
1845
1846
  ...Ka,
1846
1847
  props: {
1847
1848
  setting: { default: () => ({
@@ -1866,7 +1867,7 @@ const fa = (o, e) => {
1866
1867
  { deep: !0, immediate: !0 }
1867
1868
  );
1868
1869
  const m = l.value[e.setting.name] || !1, v = i(!1);
1869
- H(e.setting.options.validateList).then((g) => {
1870
+ W(e.setting.options.validateList).then((g) => {
1870
1871
  v.value = g;
1871
1872
  });
1872
1873
  const c = i();
@@ -1911,7 +1912,7 @@ const fa = (o, e) => {
1911
1912
  required: v.value,
1912
1913
  readOnly: e.isView
1913
1914
  }, {
1914
- default: T(() => [
1915
+ default: R(() => [
1915
1916
  N(a(Ee), {
1916
1917
  ref: "editor",
1917
1918
  width: d.value,
@@ -1934,7 +1935,7 @@ const fa = (o, e) => {
1934
1935
  default: Ba
1935
1936
  }, Symbol.toStringTag, { value: "Module" })), Ea = {
1936
1937
  name: "time"
1937
- }, Aa = /* @__PURE__ */ A({
1938
+ }, Aa = /* @__PURE__ */ Q({
1938
1939
  ...Ea,
1939
1940
  props: {
1940
1941
  setting: { default: () => ({
@@ -1959,7 +1960,7 @@ const fa = (o, e) => {
1959
1960
  { deep: !0, immediate: !0 }
1960
1961
  );
1961
1962
  const m = l.value[e.setting.name] || !1, v = i(!1);
1962
- H(e.setting.options.validateList).then((d) => {
1963
+ W(e.setting.options.validateList).then((d) => {
1963
1964
  v.value = d;
1964
1965
  });
1965
1966
  const c = i();
@@ -1985,7 +1986,7 @@ const fa = (o, e) => {
1985
1986
  }), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1986
1987
  __proto__: null,
1987
1988
  default: Aa
1988
- }, Symbol.toStringTag, { value: "Module" })), Qa = A({
1989
+ }, Symbol.toStringTag, { value: "Module" })), Qa = Q({
1989
1990
  name: "accordion",
1990
1991
  props: {
1991
1992
  columns: {
@@ -2027,7 +2028,7 @@ const fa = (o, e) => {
2027
2028
  }
2028
2029
  }), Ua = {
2029
2030
  name: "accordion"
2030
- }, xa = /* @__PURE__ */ A({
2031
+ }, xa = /* @__PURE__ */ Q({
2031
2032
  ...Ua,
2032
2033
  props: {
2033
2034
  setting: { default: () => ({
@@ -2069,7 +2070,7 @@ const fa = (o, e) => {
2069
2070
  default: xa
2070
2071
  }, Symbol.toStringTag, { value: "Module" })), Ja = {
2071
2072
  name: "grid"
2072
- }, Ha = /* @__PURE__ */ A({
2073
+ }, Ha = /* @__PURE__ */ Q({
2073
2074
  ...Ja,
2074
2075
  props: {
2075
2076
  setting: { default: () => ({
@@ -2240,8 +2241,8 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
2240
2241
  },
2241
2242
  getData: (D) => o.value[D],
2242
2243
  setFormData: (D, b, S) => {
2243
- f.value = D, p.value.includes(D) ? e.value.forEach((M) => {
2244
- M.formKey === D && (o.value = M.data);
2244
+ f.value = D, p.value.includes(D) ? e.value.forEach((z) => {
2245
+ z.formKey === D && (o.value = z.data);
2245
2246
  }) : (p.value.push(D), e.value.push({
2246
2247
  formKey: D,
2247
2248
  boKey: b,
@@ -2253,7 +2254,7 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
2253
2254
  setFormRule: (D, b) => {
2254
2255
  w.value[D] = [], b && b.length && b.forEach((S) => {
2255
2256
  w.value[D].push({
2256
- validator: (M, k, B) => hn[S.key](M, k, B, S)
2257
+ validator: (z, k, j) => hn[S.key](z, k, j, S)
2257
2258
  });
2258
2259
  });
2259
2260
  },
@@ -2270,7 +2271,7 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
2270
2271
  }, wn = {
2271
2272
  key: 1,
2272
2273
  style: { "background-color": "#fff" }
2273
- }, Cn = /* @__PURE__ */ A({
2274
+ }, Cn = /* @__PURE__ */ Q({
2274
2275
  __name: "App",
2275
2276
  props: {
2276
2277
  formConfigurationId: {},
@@ -2301,18 +2302,18 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
2301
2302
  s,
2302
2303
  m,
2303
2304
  l
2304
- ), b = i({}), S = (k, B) => {
2305
- const { key: $ } = B;
2306
- b.value[$] || (b.value[$] = k);
2307
- }, M = () => new Promise((k, B) => {
2308
- let $ = !0;
2309
- for (const Q in b.value)
2310
- b.value[Q].validate((W) => {
2311
- 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);
2312
2313
  });
2313
2314
  setTimeout(() => {
2314
2315
  k({
2315
- result: $,
2316
+ result: T,
2316
2317
  data: n()
2317
2318
  });
2318
2319
  }, 50);
@@ -2320,22 +2321,22 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
2320
2321
  return ct(async () => {
2321
2322
  s.isShowBtn == !1 ? r(s.formConfigurationId) : y();
2322
2323
  }), e({
2323
- validateFormData: M,
2324
+ validateFormData: z,
2324
2325
  clearData: w
2325
- }), (k, B) => (V(), Y("div", bn, [
2326
+ }), (k, j) => (V(), Y("div", bn, [
2326
2327
  a(C).length > 0 ? (V(), Y("div", _n, [
2327
2328
  (V(!0), Y(
2328
2329
  G,
2329
2330
  null,
2330
- ie(a(C), ($) => (V(), F(a(ft), {
2331
- key: $.id,
2331
+ ie(a(C), (T) => (V(), F(a(ft), {
2332
+ key: T.id,
2332
2333
  style: { "margin-right": "20px" },
2333
2334
  "btn-type": "primary",
2334
- onClick: (Q) => a(D)($)
2335
+ onClick: (E) => a(D)(T)
2335
2336
  }, {
2336
- default: T(() => [
2337
+ default: R(() => [
2337
2338
  ee(
2338
- te($.name),
2339
+ te(T.name),
2339
2340
  1
2340
2341
  /* TEXT */
2341
2342
  )
@@ -2357,28 +2358,28 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
2357
2358
  (V(!0), Y(
2358
2359
  G,
2359
2360
  null,
2360
- ie(a(c), ($) => (V(), Y(
2361
+ ie(a(c), (T) => (V(), Y(
2361
2362
  G,
2362
2363
  {
2363
- key: $.name
2364
+ key: T.name
2364
2365
  },
2365
2366
  [
2366
- v($.ctrlType) ? (V(), F(a(Ae), {
2367
+ v(T.ctrlType) ? (V(), F(a(Ae), {
2367
2368
  key: 0,
2368
2369
  style: { "margin-bottom": "10px" },
2369
- collapsible: $.options.accordion ? "" : "disabled",
2370
+ collapsible: T.options.accordion ? "" : "disabled",
2370
2371
  activeKey: a(h)
2371
2372
  }, {
2372
- default: T(() => [
2373
+ default: R(() => [
2373
2374
  (V(), F(a(Qe), {
2374
- key: $.columns[0].idKey,
2375
- header: $.columns[0].span
2375
+ key: T.columns[0].idKey,
2376
+ header: T.columns[0].span
2376
2377
  }, {
2377
- default: T(() => [
2378
+ default: R(() => [
2378
2379
  a(d) ? (V(), F(a(Ie), {
2379
2380
  key: 0,
2380
2381
  ref_for: !0,
2381
- ref: (Q) => S(Q, $),
2382
+ ref: (E) => S(E, T),
2382
2383
  cols: 24,
2383
2384
  alignType: "horizontal",
2384
2385
  "margin-right": "80px",
@@ -2386,24 +2387,24 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
2386
2387
  rules: a(p),
2387
2388
  form: a(l).data
2388
2389
  }, {
2389
- default: T(() => [
2390
+ default: R(() => [
2390
2391
  (V(!0), Y(
2391
2392
  G,
2392
2393
  null,
2393
- ie($.columns[0].list, (Q) => (V(), Y(
2394
+ ie(T.columns[0].list, (E) => (V(), Y(
2394
2395
  G,
2395
2396
  {
2396
- key: $.name
2397
+ key: T.name
2397
2398
  },
2398
2399
  [
2399
- Q.ctrlType == "grid" ? (V(), F(ge(a(re).grid), {
2400
+ E.ctrlType == "grid" ? (V(), F(ge(a(re).grid), {
2400
2401
  key: 0,
2401
- setting: Q,
2402
+ setting: E,
2402
2403
  isView: s.isView,
2403
2404
  store: a(l)
2404
- }, null, 8, ["setting", "isView", "store"])) : (V(), F(ge(a(re)[Q.ctrlType]), {
2405
+ }, null, 8, ["setting", "isView", "store"])) : (V(), F(ge(a(re)[E.ctrlType]), {
2405
2406
  key: 1,
2406
- setting: Q,
2407
+ setting: E,
2407
2408
  isView: s.isView,
2408
2409
  store: a(l)
2409
2410
  }, null, 8, ["setting", "isView", "store"]))
@@ -2429,7 +2430,7 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
2429
2430
  a(d) ? (V(), F(a(Ie), {
2430
2431
  key: 0,
2431
2432
  ref_for: !0,
2432
- ref: (Q) => S(Q, $),
2433
+ ref: (E) => S(E, T),
2433
2434
  cols: 24,
2434
2435
  "auto-margin-right": "",
2435
2436
  alignType: "horizontal",
@@ -2437,9 +2438,9 @@ const Ga = { ...rt, ...ut }, Xa = (o, e, t, l) => {
2437
2438
  rules: a(p),
2438
2439
  form: a(l).data
2439
2440
  }, {
2440
- default: T(() => [
2441
- (V(), F(ge(a(re)[$.ctrlType]), {
2442
- setting: $,
2441
+ default: R(() => [
2442
+ (V(), F(ge(a(re)[T.ctrlType]), {
2443
+ setting: T,
2443
2444
  isView: s.isView,
2444
2445
  store: a(l)
2445
2446
  }, null, 8, ["setting", "isView", "store"]))