lyflowchart 1.0.152 → 1.0.157

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 (43) hide show
  1. package/dist/{ActionsConfig-BrfcGMc2.js → ActionsConfig-gWnpd8yJ.js} +2 -2
  2. package/dist/{ApprovalEditorModal-HuU6SRJe.js → ApprovalEditorModal-Bvxrg96y.js} +1 -1
  3. package/dist/{CancelModal-BUi3ieI8.js → CancelModal-CgQeC543.js} +1 -1
  4. package/dist/{Cell_click_approve-DiMuUB1k.js → Cell_click_approve-DMXnrtxc.js} +16 -16
  5. package/dist/{JsonTags-BbWLqghI.js → JsonTags-DQdw3WxB.js} +1 -1
  6. package/dist/{MyProcess-C6fgOFiw.js → MyProcess-SGZ_-9C3.js} +17 -17
  7. package/dist/{approval-BlbNEsGQ.js → approval-DfU1MtBL.js} +1 -1
  8. package/dist/{approval-1GfOMaS4.js → approval-ekd9_mwq.js} +35 -35
  9. package/dist/{approvalHistory-D-5rRWNw.js → approvalHistory-DsHMvx1n.js} +35 -35
  10. package/dist/{approvalHistoryViewModal-DgLpv2ot.js → approvalHistoryViewModal-UzVPPpNH.js} +9 -9
  11. package/dist/{approvalPageConfig-4VU81v-x.js → approvalPageConfig-BA2SXnnv.js} +79 -79
  12. package/dist/{approveLeftConfig-BOU_UgHp.js → approveLeftConfig-Cskh4ezK.js} +16 -16
  13. package/dist/{codeHistoryViewModal-BfSjIbEU.js → codeHistoryViewModal-BIktV_o6.js} +8 -8
  14. package/dist/{columnTables-DFwoawLF.js → columnTables-DdOJYJq9.js} +211 -172
  15. package/dist/components/approval/components/TableSummary.vue.d.ts +20 -0
  16. package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +12 -0
  17. package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +12 -0
  18. package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +12 -0
  19. package/dist/components/approval/components/columnDataList.vue.d.ts +25 -2
  20. package/dist/components/approval/components/columnTables.vue.d.ts +25 -2
  21. package/dist/components/approval/components/drawerDataList.vue.d.ts +25 -2
  22. package/dist/components/approval/components/drawerTablesList.vue.d.ts +25 -2
  23. package/dist/components/approval/components/modelTablesList.vue.d.ts +25 -2
  24. package/dist/components/approval/components/table.vue.d.ts +25 -2
  25. package/dist/components/approval/typing.d.ts +3 -1
  26. package/dist/{core-BkpI8NUK.js → core-o5mxWnrL.js} +68 -68
  27. package/dist/{dataStoreSettingHistoryViewModal-D_so-KLp.js → dataStoreSettingHistoryViewModal-DjSRPgQC.js} +9 -9
  28. package/dist/{debugCode-CQm5weGM.js → debugCode-CTU6KCej.js} +19 -19
  29. package/dist/{default-kv1XZD9P.js → default-CFd6cRxl.js} +1 -1
  30. package/dist/{flowHistoryViewModal-D8DJP7Te.js → flowHistoryViewModal-CaGj3LP4.js} +9 -9
  31. package/dist/index.js +25 -25
  32. package/dist/{init-plugin-fQTSQzui.js → init-plugin-CpYzRii0.js} +7 -3
  33. package/dist/init-plugin.d.ts +13 -0
  34. package/dist/{leftColumn-OrLOxcyw.js → leftColumn-CLixXPdW.js} +3 -3
  35. package/dist/lyflowchart.css +1 -1
  36. package/dist/{middleColumn-DUBZPkDG.js → middleColumn-CTOCcPnB.js} +12 -12
  37. package/dist/{recordActions-3vqHADOf.js → recordActions-z7hvfqGR.js} +1 -1
  38. package/dist/{tableConfig-W9yGeZs-.js → tableConfig-0LuPJS0X.js} +740 -585
  39. package/dist/{tableModal-H0SGP8PM.js → tableModal-CbEn3HNo.js} +2 -2
  40. package/dist/{useApprovalRecordActions-B82xPY8g.js → useApprovalRecordActions-6IFZrwvr.js} +10 -10
  41. package/dist/{utils-B1lkML14.js → utils-DRldFEoM.js} +9 -9
  42. package/dist/{viewer-C_OHXXRU.js → viewer-BDGXjryM.js} +1 -1
  43. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { o as e, v as t } from "./init-plugin-fQTSQzui.js";
1
+ import { b as e, o as t } from "./init-plugin-CpYzRii0.js";
2
2
  import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, onMounted as l, openBlock as u, ref as d, renderList as f, resolveComponent as p, withCtx as m } from "vue";
3
3
  //#region src/components/approval/components/approvalHistory/approvalHistoryViewModal.vue?vue&type=script&lang.ts
4
4
  var h = c({
@@ -19,19 +19,19 @@ var h = c({
19
19
  },
20
20
  components: {},
21
21
  emits: ["ok", "cancel"],
22
- setup(t, { emit: n }) {
22
+ setup(e, { emit: n }) {
23
23
  let r = () => {
24
24
  n("cancel");
25
25
  }, i = () => {}, a = d(!1), o = d([]), s = async () => {
26
26
  let n = [{
27
27
  field_name: "id",
28
28
  operator: "in",
29
- value: t.history_ids,
29
+ value: e.history_ids,
30
30
  format: "input",
31
31
  class_name: "str"
32
32
  }];
33
- e({
34
- org_id: t.org_id,
33
+ t({
34
+ org_id: e.org_id,
35
35
  is_pagination: !1,
36
36
  column_fields: [
37
37
  "id",
@@ -40,15 +40,15 @@ var h = c({
40
40
  ],
41
41
  sort_fields: ["-id"],
42
42
  conditions: [n]
43
- }, "/approve/query_page_setting_history_list").then((e) => {
43
+ }, "/approve/query_page_setting_history_list").then((t) => {
44
44
  let n = {};
45
- a.value = !0, e.data.forEach((e) => {
45
+ a.value = !0, t.data.forEach((e) => {
46
46
  n[e.id] = {
47
47
  name: `[${e.id}]${e.create_time}`,
48
48
  content: e.content,
49
49
  data: JSON.parse(e.content)
50
50
  };
51
- }), o.value.length = 0, t.history_ids.forEach((e) => {
51
+ }), o.value.length = 0, e.history_ids.forEach((e) => {
52
52
  o.value.push(n[e]);
53
53
  }), a.value = !1;
54
54
  }).catch(() => {
@@ -109,6 +109,6 @@ function _(e, t, c, l, d, h) {
109
109
  _: 1
110
110
  }, 8, ["title", "onCancel"]);
111
111
  }
112
- var v = /* @__PURE__ */ t(h, [["render", _], ["__scopeId", "data-v-95fb1b4a"]]);
112
+ var v = /* @__PURE__ */ e(h, [["render", _], ["__scopeId", "data-v-95fb1b4a"]]);
113
113
  //#endregion
114
114
  export { v as default };
@@ -1,11 +1,11 @@
1
- import { t as e } from "./viewer-C_OHXXRU.js";
2
- import { t } from "./MyProcess-C6fgOFiw.js";
3
- import { _ as n, g as r, o as i, v as a } from "./init-plugin-fQTSQzui.js";
4
- import { n as o, r as s, t as c } from "./approval-1GfOMaS4.js";
5
- import { C as l, O as u, d, v as f } from "./utils-B1lkML14.js";
1
+ import { t as e } from "./viewer-BDGXjryM.js";
2
+ import { t } from "./MyProcess-SGZ_-9C3.js";
3
+ import { b as n, o as r, v as i, y as a } from "./init-plugin-CpYzRii0.js";
4
+ import { n as o, r as s, t as c } from "./approval-ekd9_mwq.js";
5
+ import { C as l, O as u, d, v as f } from "./utils-DRldFEoM.js";
6
6
  import { n as p, t as m } from "./debugCode-dD1YnQSD.js";
7
- import { t as h } from "./approveLeftConfig-BOU_UgHp.js";
8
- import { t as g } from "./JsonTags-BbWLqghI.js";
7
+ import { t as h } from "./approveLeftConfig-Cskh4ezK.js";
8
+ import { t as g } from "./JsonTags-DQdw3WxB.js";
9
9
  import { Fragment as _, Transition as v, TransitionGroup as y, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createTextVNode as T, createVNode as E, defineAsyncComponent as D, defineComponent as O, h as k, mergeModels as A, normalizeStyle as j, onMounted as M, onUnmounted as N, openBlock as P, reactive as F, ref as I, renderList as L, resolveComponent as R, resolveDynamicComponent as ee, toDisplayString as z, unref as B, useModel as V, watch as H, withCtx as U } from "vue";
10
10
  import { ExperimentOutlined as te, ExportOutlined as ne, ImportOutlined as re, SaveOutlined as ie } from "@ant-design/icons-vue";
11
11
  import { Modal as ae, Tooltip as oe, message as W } from "ant-design-vue";
@@ -39,7 +39,7 @@ function le(e, t, n, r, i, a) {
39
39
  darkTheme: !0
40
40
  }, null, 8, ["value", "onUpdate:value"]);
41
41
  }
42
- var ue = /* @__PURE__ */ a(ce, [["render", le]]), q = O({
42
+ var ue = /* @__PURE__ */ n(ce, [["render", le]]), q = O({
43
43
  name: "ViewSettings",
44
44
  components: {
45
45
  MyProcess: t,
@@ -53,13 +53,13 @@ var ue = /* @__PURE__ */ a(ce, [["render", le]]), q = O({
53
53
  },
54
54
  emits: /* @__PURE__ */ A([], ["update:modelValue"]),
55
55
  setup(e, { emit: t }) {
56
- let n = V(e, "modelValue"), r = I([]), a = async () => {
57
- r.value = (await i({ is_active: !0 }, "/org/query_person_list")).data;
56
+ let n = V(e, "modelValue"), i = I([]), a = async () => {
57
+ i.value = (await r({ is_active: !0 }, "/org/query_person_list")).data;
58
58
  }, o = (e, t) => t.name.toLowerCase().indexOf(e.toLowerCase()) >= 0;
59
59
  return M(() => {
60
60
  a();
61
61
  }), (e, t) => {
62
- let i = R("a-select-option"), a = R("a-select");
62
+ let r = R("a-select-option"), a = R("a-select");
63
63
  return P(), x(a, {
64
64
  value: n.value,
65
65
  "onUpdate:value": t[0] ||= (e) => n.value = e,
@@ -70,7 +70,7 @@ var ue = /* @__PURE__ */ a(ce, [["render", le]]), q = O({
70
70
  size: "small",
71
71
  mode: "multiple"
72
72
  }, {
73
- default: U(() => [(P(!0), C(_, null, L(r.value, (e) => (P(), x(i, {
73
+ default: U(() => [(P(!0), C(_, null, L(i.value, (e) => (P(), x(r, {
74
74
  key: e.id,
75
75
  value: e.id,
76
76
  name: e.realname
@@ -92,13 +92,13 @@ var ue = /* @__PURE__ */ a(ce, [["render", le]]), q = O({
92
92
  },
93
93
  emits: /* @__PURE__ */ A([], ["update:modelValue"]),
94
94
  setup(e, { emit: t }) {
95
- let n = V(e, "modelValue"), r = I([]), a = async () => {
96
- r.value = (await i({ is_active: !0 }, "/lyapprove/query_approval_position_list")).data;
95
+ let n = V(e, "modelValue"), i = I([]), a = async () => {
96
+ i.value = (await r({ is_active: !0 }, "/lyapprove/query_approval_position_list")).data;
97
97
  }, o = (e, t) => t.name.toLowerCase().indexOf(e.toLowerCase()) >= 0;
98
98
  return M(() => {
99
99
  a();
100
100
  }), (e, t) => {
101
- let i = R("a-select-option"), a = R("a-select");
101
+ let r = R("a-select-option"), a = R("a-select");
102
102
  return P(), x(a, {
103
103
  value: n.value,
104
104
  "onUpdate:value": t[0] ||= (e) => n.value = e,
@@ -108,7 +108,7 @@ var ue = /* @__PURE__ */ a(ce, [["render", le]]), q = O({
108
108
  "filter-option": o,
109
109
  size: "small"
110
110
  }, {
111
- default: U(() => [(P(!0), C(_, null, L(r.value, (e) => (P(), x(i, {
111
+ default: U(() => [(P(!0), C(_, null, L(i.value, (e) => (P(), x(r, {
112
112
  key: e.id,
113
113
  value: e.id,
114
114
  name: e.name
@@ -138,7 +138,7 @@ var ue = /* @__PURE__ */ a(ce, [["render", le]]), q = O({
138
138
  },
139
139
  emits: ["update:value", "update:flow_name"],
140
140
  setup(e, { emit: t }) {
141
- let i = r(), a = n(), o = I(window.innerHeight - 260), s = (n) => {
141
+ let n = i(), r = a(), o = I(window.innerHeight - 260), s = (n) => {
142
142
  let r = e.value || {};
143
143
  r.content = n, t("update:value", r);
144
144
  }, c = (n) => {
@@ -149,12 +149,12 @@ var ue = /* @__PURE__ */ a(ce, [["render", le]]), q = O({
149
149
  r.enable_flow = n, t("update:value", r);
150
150
  }, u = async (e) => {
151
151
  console.log("xxxx handleFetchUsers params:", e);
152
- let t = await i.post("/sys/query_person_detail_list", {
152
+ let t = await n.post("/sys/query_person_detail_list", {
153
153
  current: e.pageNum,
154
154
  pageSize: e.pageSize,
155
155
  name: e.userName,
156
- org_id: a.currentOrg.id,
157
- aim_org_id: a.currentOrg.id,
156
+ org_id: r.currentOrg.id,
157
+ aim_org_id: r.currentOrg.id,
158
158
  is_active: !0,
159
159
  is_pagination: !0
160
160
  });
@@ -166,11 +166,11 @@ var ue = /* @__PURE__ */ a(ce, [["render", le]]), q = O({
166
166
  o.value = window.innerHeight - 260;
167
167
  }, 200), p = async (e) => {
168
168
  console.log("xxxx handleFetchRoles params:", e);
169
- let t = await i.post("/lyapprove/query_approval_position_list", {
169
+ let t = await n.post("/lyapprove/query_approval_position_list", {
170
170
  current: e.pageNum,
171
171
  pageSize: e.pageSize,
172
- org_id: a.currentOrg.id,
173
- aim_org_id: a.currentOrg.id
172
+ org_id: r.currentOrg.id,
173
+ aim_org_id: r.currentOrg.id
174
174
  });
175
175
  return {
176
176
  data: t.data,
@@ -360,7 +360,7 @@ function fe(e, t, n, r, i, a) {
360
360
  "global-options"
361
361
  ])], 4)) : S("", !0)]);
362
362
  }
363
- var pe = /* @__PURE__ */ a(q, [["render", fe], ["__scopeId", "data-v-96383b9e"]]), me = O({
363
+ var pe = /* @__PURE__ */ n(q, [["render", fe], ["__scopeId", "data-v-96383b9e"]]), me = O({
364
364
  name: "FormField",
365
365
  components: {},
366
366
  props: {
@@ -401,7 +401,7 @@ function he(e, t, n, r, i, a) {
401
401
  "onChange"
402
402
  ]);
403
403
  }
404
- var J = /* @__PURE__ */ a(me, [["render", he]]), Y = O({
404
+ var J = /* @__PURE__ */ n(me, [["render", he]]), Y = O({
405
405
  name: "selectExcelType",
406
406
  components: {},
407
407
  props: {
@@ -421,12 +421,12 @@ var J = /* @__PURE__ */ a(me, [["render", he]]), Y = O({
421
421
  "number_column",
422
422
  "is_method_column",
423
423
  "is_sid_column"
424
- ], r = I([]), a = I(e.value), o = async () => {
424
+ ], i = I([]), a = I(e.value), o = async () => {
425
425
  if (!e.excel_type_id) {
426
- r.value = [], a.value = null, t("update:value", null);
426
+ i.value = [], a.value = null, t("update:value", null);
427
427
  return;
428
428
  }
429
- r.value = (await i({
429
+ i.value = (await r({
430
430
  is_pagination: !1,
431
431
  column_fields: [
432
432
  "column_index",
@@ -460,26 +460,26 @@ var J = /* @__PURE__ */ a(me, [["render", he]]), Y = O({
460
460
  }
461
461
  ]]
462
462
  }, "/costexcel/query_excel_column_config_list")).data, s(e.value?.column_index, !0);
463
- }, s = (e, i = !1) => {
463
+ }, s = (e, r = !1) => {
464
464
  if (!e) {
465
- a.value = null, t("update:value", null), i || t("change", null);
465
+ a.value = null, t("update:value", null), r || t("change", null);
466
466
  return;
467
467
  }
468
- let o = r.value.find((t) => t.column_index === e);
468
+ let o = i.value.find((t) => t.column_index === e);
469
469
  if (o.column_index !== a.value?.column_index && (a.value = o.column_index), !o) {
470
- a.value = null, t("update:value", null), i || t("change", null);
470
+ a.value = null, t("update:value", null), r || t("change", null);
471
471
  return;
472
472
  }
473
473
  let s = {};
474
474
  for (let e of n) s[e] = o[e];
475
- t("update:value", s), i || t("change", s);
475
+ t("update:value", s), r || t("change", s);
476
476
  };
477
477
  return H(() => e.value, (e, t) => {
478
478
  e?.column_index !== t?.column_index && s(e?.column_index, !0);
479
479
  }), H(() => e.excel_type_id, (e, t) => {
480
480
  e !== t && o();
481
481
  }, { immediate: !0 }), {
482
- excelColumnList: r,
482
+ excelColumnList: i,
483
483
  selectValue: a,
484
484
  getExcelColumnList: o,
485
485
  handleChange: s
@@ -507,14 +507,14 @@ function X(e, t, n, r, i, a) {
507
507
  _: 1
508
508
  }, 8, ["value"]);
509
509
  }
510
- var Z = /* @__PURE__ */ a(Y, [["render", X]]), ge = O({
510
+ var Z = /* @__PURE__ */ n(Y, [["render", X]]), ge = O({
511
511
  name: "selectExcelType",
512
512
  components: {},
513
513
  props: { value: { type: Object } },
514
514
  emits: ["update:value", "update:excelColumnList"],
515
515
  setup(e, { emit: t }) {
516
- let n = I([]), r = I(null), a = async (e) => {
517
- t("update:excelColumnList", (await i({
516
+ let n = I([]), i = I(null), a = async (e) => {
517
+ t("update:excelColumnList", (await r({
518
518
  is_pagination: !1,
519
519
  sort_fields: ["column_index"],
520
520
  conditions: [[
@@ -542,15 +542,15 @@ var Z = /* @__PURE__ */ a(Y, [["render", X]]), ge = O({
542
542
  ]]
543
543
  }, "/costexcel/query_excel_column_config_list")).data);
544
544
  }, o = async () => {
545
- n.value = (await i({ is_active: !0 }, "/costexcel/query_excel_type_list")).data, s(e.value?.id, !0);
546
- }, s = (e, i = !1) => {
545
+ n.value = (await r({ is_active: !0 }, "/costexcel/query_excel_type_list")).data, s(e.value?.id, !0);
546
+ }, s = (e, r = !1) => {
547
547
  if (!e) {
548
- r.value = null, t("update:value", null), i || t("update:excelColumnList", null);
548
+ i.value = null, t("update:value", null), r || t("update:excelColumnList", null);
549
549
  return;
550
550
  }
551
551
  let o = n.value.find((t) => t.id === e);
552
- if (o.id !== r.value && (r.value = o.id), !o) {
553
- t("update:value", null), i || t("update:excelColumnList", null);
552
+ if (o.id !== i.value && (i.value = o.id), !o) {
553
+ t("update:value", null), r || t("update:excelColumnList", null);
554
554
  return;
555
555
  }
556
556
  let s = {
@@ -558,7 +558,7 @@ var Z = /* @__PURE__ */ a(Y, [["render", X]]), ge = O({
558
558
  name: o.name,
559
559
  flag: o.flag
560
560
  };
561
- t("update:value", s), i || a(s.id);
561
+ t("update:value", s), r || a(s.id);
562
562
  };
563
563
  return H(() => e.value, (e, t) => {
564
564
  e?.id !== t?.id && s(e?.id, !0);
@@ -566,7 +566,7 @@ var Z = /* @__PURE__ */ a(Y, [["render", X]]), ge = O({
566
566
  o();
567
567
  }), {
568
568
  excelTypeList: n,
569
- selectValue: r,
569
+ selectValue: i,
570
570
  getExcelTypeList: o,
571
571
  handleChange: s,
572
572
  filterOption: (e, t) => t.name.toLowerCase().indexOf(e.toLowerCase()) >= 0
@@ -598,7 +598,7 @@ function Q(e, t, n, r, i, a) {
598
598
  _: 1
599
599
  }, 8, ["value", "filter-option"]);
600
600
  }
601
- var $ = /* @__PURE__ */ a(ge, [["render", Q]]), _e = O({
601
+ var $ = /* @__PURE__ */ n(ge, [["render", Q]]), _e = O({
602
602
  name: "ValueInput",
603
603
  components: {},
604
604
  props: {
@@ -654,7 +654,7 @@ function ye(e, t, n, r, i, a) {
654
654
  "onUpdate:value"
655
655
  ]);
656
656
  }
657
- var be = /* @__PURE__ */ a(_e, [["render", ye]]), xe = O({
657
+ var be = /* @__PURE__ */ n(_e, [["render", ye]]), xe = O({
658
658
  name: "FormFieldMulType",
659
659
  components: { ValueInput: be },
660
660
  props: {
@@ -778,7 +778,7 @@ function Se(e, t, n, r, i, a) {
778
778
  "style"
779
779
  ])) : S("", !0);
780
780
  }
781
- var Ce = /* @__PURE__ */ a(xe, [["render", Se]]), we = O({
781
+ var Ce = /* @__PURE__ */ n(xe, [["render", Se]]), we = O({
782
782
  name: "ConditionConfig",
783
783
  components: {
784
784
  formFieldMulType: Ce,
@@ -1025,7 +1025,7 @@ function je(e, t, n, r, i, a) {
1025
1025
  }, 8, ["onClick"])
1026
1026
  ]))]))), 128))])) : S("", !0)]);
1027
1027
  }
1028
- var Me = /* @__PURE__ */ a(we, [["render", je], ["__scopeId", "data-v-ee518ace"]]), Ne = O({
1028
+ var Me = /* @__PURE__ */ n(we, [["render", je], ["__scopeId", "data-v-ee518ace"]]), Ne = O({
1029
1029
  name: "dataSourceDetial",
1030
1030
  components: {},
1031
1031
  props: { value: {
@@ -1126,7 +1126,7 @@ var Fe = O({
1126
1126
  selectExcelColumn: Z,
1127
1127
  formFieldMulType: Ce,
1128
1128
  ConditionConfig: Me,
1129
- dataSourceDetial: /* @__PURE__ */ a(Ne, [["render", Pe]])
1129
+ dataSourceDetial: /* @__PURE__ */ n(Ne, [["render", Pe]])
1130
1130
  },
1131
1131
  props: {
1132
1132
  rule: {
@@ -1430,7 +1430,7 @@ var Ge = O({
1430
1430
  selectExcelType: $,
1431
1431
  formField: J,
1432
1432
  selectExcelColumn: Z,
1433
- dataStoreConfigItem: /* @__PURE__ */ a(Fe, [["render", We], ["__scopeId", "data-v-3c5c9436"]])
1433
+ dataStoreConfigItem: /* @__PURE__ */ n(Fe, [["render", We], ["__scopeId", "data-v-3c5c9436"]])
1434
1434
  },
1435
1435
  props: {
1436
1436
  value: {
@@ -1448,7 +1448,7 @@ var Ge = O({
1448
1448
  },
1449
1449
  emits: ["update:value"],
1450
1450
  setup(e, { emit: t }) {
1451
- let n = I(!1), r = b(() => (e.value || []).filter((e) => {
1451
+ let n = I(!1), i = b(() => (e.value || []).filter((e) => {
1452
1452
  if (!e.excel_type?.flag || !(e.fields || []).length) return !1;
1453
1453
  let t = e.fields || [], n = t.some((e) => e.data_column?.is_sid_column), r = t.some((e) => e.data_column?.is_method_column);
1454
1454
  return !(n && r);
@@ -1532,7 +1532,7 @@ var Ge = O({
1532
1532
  }, g = (e, t, n = []) => ({
1533
1533
  index: e,
1534
1534
  title: [`#${e}${t?.column_name ? ` ${t.column_name}` : ""}`, ...n].join("\n")
1535
- }), _ = async (e) => (await i({
1535
+ }), _ = async (e) => (await r({
1536
1536
  is_pagination: !1,
1537
1537
  sort_fields: ["column_index"],
1538
1538
  conditions: [[
@@ -1719,7 +1719,7 @@ var Ge = O({
1719
1719
  let n = G(t);
1720
1720
  n.name = `${n.name} - 副本`, e.value.push(n);
1721
1721
  },
1722
- unmodifiableRuleNames: r,
1722
+ unmodifiableRuleNames: i,
1723
1723
  hasFieldChange: x,
1724
1724
  updateRules: T,
1725
1725
  updating: o
@@ -1798,7 +1798,7 @@ function Je(e, t, n, r, i, a) {
1798
1798
  })
1799
1799
  ]);
1800
1800
  }
1801
- var Ye = /* @__PURE__ */ a(Ge, [["render", Je], ["__scopeId", "data-v-031ac33c"]]), Xe = O({
1801
+ var Ye = /* @__PURE__ */ n(Ge, [["render", Je], ["__scopeId", "data-v-031ac33c"]]), Xe = O({
1802
1802
  name: "dataStoreTest",
1803
1803
  components: {},
1804
1804
  props: { item: {
@@ -1858,15 +1858,15 @@ function tt(e, t, n, r, i, a) {
1858
1858
  //#region src/components/approval/components/dataStoreConfig/dataStoreTest.vue?vue&type=script&lang.ts
1859
1859
  var nt = O({
1860
1860
  name: "dataStoreTest",
1861
- components: { dataStoreTestsItem: /* @__PURE__ */ a(Xe, [["render", tt], ["__scopeId", "data-v-04b579b9"]]) },
1861
+ components: { dataStoreTestsItem: /* @__PURE__ */ n(Xe, [["render", tt], ["__scopeId", "data-v-04b579b9"]]) },
1862
1862
  props: { modelType: {
1863
1863
  type: String,
1864
1864
  default: null
1865
1865
  } },
1866
1866
  emits: ["update:value"],
1867
1867
  setup(e, { emit: t }) {
1868
- let n = I([]), r = I(null), a = I(null), o = I(!1), s = async () => {
1869
- n.value = (await i({
1868
+ let n = I([]), i = I(null), a = I(null), o = I(!1), s = async () => {
1869
+ n.value = (await r({
1870
1870
  is_my_send: !0,
1871
1871
  current: 1,
1872
1872
  pageSize: 50,
@@ -1901,14 +1901,14 @@ var nt = O({
1901
1901
  s();
1902
1902
  }), {
1903
1903
  approveRecordList: n,
1904
- recordID: r,
1904
+ recordID: i,
1905
1905
  dataStoreResult: a,
1906
1906
  loading: o,
1907
1907
  getTestData: async () => {
1908
- if (r.value) {
1908
+ if (i.value) {
1909
1909
  o.value = !0;
1910
1910
  try {
1911
- a.value = await i({ approve_record_id: r.value }, "/approve/test_approve_data_store");
1911
+ a.value = await r({ approve_record_id: i.value }, "/approve/test_approve_data_store");
1912
1912
  } finally {
1913
1913
  o.value = !1;
1914
1914
  }
@@ -2005,7 +2005,7 @@ function dt(e, t, n, r, i, a) {
2005
2005
  _: 1
2006
2006
  }, 8, ["spinning"])]);
2007
2007
  }
2008
- var ft = /* @__PURE__ */ a(nt, [["render", dt], ["__scopeId", "data-v-29317781"]]), pt = /* @__PURE__ */ O({
2008
+ var ft = /* @__PURE__ */ n(nt, [["render", dt], ["__scopeId", "data-v-29317781"]]), pt = /* @__PURE__ */ O({
2009
2009
  __name: "baseConfig",
2010
2010
  props: {
2011
2011
  config: {},
@@ -2063,29 +2063,29 @@ var ft = /* @__PURE__ */ a(nt, [["render", dt], ["__scopeId", "data-v-29317781"]
2063
2063
  });
2064
2064
  };
2065
2065
  }
2066
- }), mt = /* @__PURE__ */ a(/* @__PURE__ */ O({
2066
+ }), mt = /* @__PURE__ */ n(/* @__PURE__ */ O({
2067
2067
  __name: "index",
2068
2068
  props: {
2069
2069
  sideTreeData: {},
2070
2070
  height: {}
2071
2071
  },
2072
2072
  setup(e) {
2073
- let t = e, r = I(!1), a = se(), u = n(), f = I("tables"), g = I([]), v = I(null), y = I(null), O = I([]), k = I(!1), A = I(!1), N = I(!1), F = p(), z = I(null), V = b(() => t.height + 45), ae = [
2073
+ let t = e, n = I(!1), i = se(), u = a(), f = I("tables"), g = I([]), v = I(null), y = I(null), O = I([]), k = I(!1), A = I(!1), N = I(!1), F = p(), z = I(null), V = b(() => t.height + 45), ae = [
2074
2074
  {
2075
2075
  title: "左侧栏",
2076
2076
  key: "tables",
2077
- component: D(() => import("./leftColumn-OrLOxcyw.js"))
2077
+ component: D(() => import("./leftColumn-CLixXPdW.js"))
2078
2078
  },
2079
2079
  {
2080
2080
  title: "中间栏",
2081
2081
  key: "form",
2082
- component: D(() => import("./middleColumn-DUBZPkDG.js"))
2082
+ component: D(() => import("./middleColumn-CTOCcPnB.js"))
2083
2083
  },
2084
2084
  {
2085
2085
  title: "右侧栏",
2086
2086
  key: "data_list",
2087
2087
  sectionType: "data_list",
2088
- component: D(() => import("./tableConfig-W9yGeZs-.js").then((e) => e.n))
2088
+ component: D(() => import("./tableConfig-0LuPJS0X.js").then((e) => e.n))
2089
2089
  }
2090
2090
  ], oe = b(() => {
2091
2091
  let e = K("form");
@@ -2106,19 +2106,19 @@ var ft = /* @__PURE__ */ a(nt, [["render", dt], ["__scopeId", "data-v-29317781"]
2106
2106
  q(e), g.value = e, fe(), me(), he();
2107
2107
  }, fe = async () => {
2108
2108
  if (z.value) {
2109
- r.value = !0;
2109
+ n.value = !0;
2110
2110
  try {
2111
2111
  let { config: e } = await c(z.value.state);
2112
2112
  v.value = e;
2113
2113
  } finally {
2114
- r.value = !1;
2114
+ n.value = !1;
2115
2115
  }
2116
2116
  }
2117
2117
  }, me = async () => {
2118
- z.value && (r.value = !0, y.value = await s(z.value.state), y.value.name || (y.value.name = z.value.name));
2118
+ z.value && (n.value = !0, y.value = await s(z.value.state), y.value.name || (y.value.name = z.value.name));
2119
2119
  }, he = async () => {
2120
2120
  if (!z.value) return;
2121
- r.value = !0;
2121
+ n.value = !0;
2122
2122
  let { config: e } = await o(z.value.state);
2123
2123
  O.value = e;
2124
2124
  }, J = (e, t, { clear_code: n = !1, clear_action_code_id: r = !1 }) => {
@@ -2206,13 +2206,13 @@ var ft = /* @__PURE__ */ a(nt, [["render", dt], ["__scopeId", "data-v-29317781"]
2206
2206
  menu_flag: z.value.state,
2207
2207
  content: Q(v.value, e, { clear_code: !0 })
2208
2208
  };
2209
- await i({
2209
+ await r({
2210
2210
  menu_flag: z.value.state,
2211
2211
  allCodes: e
2212
- }, "/approve/set_action_code_for_menu"), await i(t, "/approve/set_page_setting"), O.value.sort((e, t) => (e.order || 0) - (t.order || 0)), await i({
2212
+ }, "/approve/set_action_code_for_menu"), await r(t, "/approve/set_page_setting"), O.value.sort((e, t) => (e.order || 0) - (t.order || 0)), await r({
2213
2213
  menu_flag: z.value.state,
2214
2214
  content: l(G(O.value))
2215
- }, "/approve/set_data_store_setting"), y.value && await i({
2215
+ }, "/approve/set_data_store_setting"), y.value && await r({
2216
2216
  ...y.value,
2217
2217
  menu_flag: z.value.state
2218
2218
  }, "/approve/set_flow_setting"), W.success("保存成功");
@@ -2265,13 +2265,13 @@ var ft = /* @__PURE__ */ a(nt, [["render", dt], ["__scopeId", "data-v-29317781"]
2265
2265
  z.value = e;
2266
2266
  };
2267
2267
  return M(() => {
2268
- N.value = u.CHECK_AUTH("approve/debug_code", "开启代码调试"), de(), a.on("saveConfig", $);
2268
+ N.value = u.CHECK_AUTH("approve/debug_code", "开启代码调试"), de(), i.on("saveConfig", $);
2269
2269
  }), H(() => z.value, () => {
2270
2270
  de();
2271
2271
  }, { immediate: !0 }), (e, t) => {
2272
- let n = R("a-layout-sider"), i = R("a-switch"), o = R("a-form-item"), s = R("a-button"), c = R("a-button-group"), l = R("a-form"), u = R("a-tab-pane"), d = R("a-tabs"), p = R("a-spin"), m = R("a-layout-content"), g = R("a-layout"), b = R("a-modal");
2272
+ let r = R("a-layout-sider"), a = R("a-switch"), o = R("a-form-item"), s = R("a-button"), c = R("a-button-group"), l = R("a-form"), u = R("a-tab-pane"), d = R("a-tabs"), p = R("a-spin"), m = R("a-layout-content"), g = R("a-layout"), b = R("a-modal");
2273
2273
  return P(), C(_, null, [w("div", null, [E(g, { style: j({ height: V.value + "px" }) }, {
2274
- default: U(() => [E(n, {
2274
+ default: U(() => [E(r, {
2275
2275
  class: "approve-config-left",
2276
2276
  style: { width: "500px" },
2277
2277
  width: 220
@@ -2279,7 +2279,7 @@ var ft = /* @__PURE__ */ a(nt, [["render", dt], ["__scopeId", "data-v-29317781"]
2279
2279
  default: U(() => [E(h, { onChange: Ce })]),
2280
2280
  _: 1
2281
2281
  }), E(m, { class: "setting-container" }, {
2282
- default: U(() => [E(p, { spinning: r.value }, {
2282
+ default: U(() => [E(p, { spinning: n.value }, {
2283
2283
  default: U(() => [v.value ? (P(), x(d, {
2284
2284
  key: 0,
2285
2285
  activeKey: f.value,
@@ -2290,7 +2290,7 @@ var ft = /* @__PURE__ */ a(nt, [["render", dt], ["__scopeId", "data-v-29317781"]
2290
2290
  key: 0,
2291
2291
  label: "开启代码调试"
2292
2292
  }, {
2293
- default: U(() => [E(i, {
2293
+ default: U(() => [E(a, {
2294
2294
  checked: B(F).enable,
2295
2295
  onChange: Se
2296
2296
  }, null, 8, ["checked"])]),
@@ -2356,7 +2356,7 @@ var ft = /* @__PURE__ */ a(nt, [["render", dt], ["__scopeId", "data-v-29317781"]
2356
2356
  formData: oe.value,
2357
2357
  tableType: e.sectionType,
2358
2358
  "onUpdate:dataSource": (t) => le(e.key, t),
2359
- eventBus: B(a)
2359
+ eventBus: B(i)
2360
2360
  }, null, 40, [
2361
2361
  "dataSource",
2362
2362
  "rootData",
@@ -1,13 +1,13 @@
1
- import { n as e, v as t } from "./init-plugin-fQTSQzui.js";
1
+ import { b as e, n as t } from "./init-plugin-CpYzRii0.js";
2
2
  import { n, r, t as i } from "./settingsState-CI81PG-i.js";
3
3
  import { createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, onMounted as d, onUnmounted as f, openBlock as p, ref as m, resolveComponent as h, resolveDynamicComponent as g, watch as _, withCtx as v } from "vue";
4
4
  import { cloneDeep as y } from "lodash";
5
5
  import { useRoute as b } from "vue-router";
6
6
  //#region src/components/approval/components/approvalPageConfig/approveLeftConfig.vue?vue&type=script&setup=true&lang.ts
7
- var x = { class: "approve-left-content" }, S = { class: "left-item" }, C = { class: "left-item" }, w = { key: 1 }, T = /* @__PURE__ */ t(/* @__PURE__ */ u({
7
+ var x = { class: "approve-left-content" }, S = { class: "left-item" }, C = { class: "left-item" }, w = { key: 1 }, T = /* @__PURE__ */ e(/* @__PURE__ */ u({
8
8
  __name: "approveLeftConfig",
9
9
  emits: ["change"],
10
- setup(t, { emit: u }) {
10
+ setup(e, { emit: u }) {
11
11
  let T = m([]), E = m([]), D = m(null), O = null, k = {}, A = m([]), j = {}, M = r(), N = b(), P = u, F = m(!1), I = (e) => {
12
12
  for (let t of e) k[t.id] = t, t.children && t.children.length > 0 ? (t.selectable = !1, I(t.children)) : (t.selectable = !0, O ||= t.id);
13
13
  return e;
@@ -15,32 +15,32 @@ var x = { class: "approve-left-content" }, S = { class: "left-item" }, C = { cla
15
15
  for (let t of e) t._icon = t.icon, delete t.icon, t.children && t.children.length > 0 ? L(t.children) : !A.value?.length && !F.value && H(t.menu_flag);
16
16
  return e;
17
17
  }, R = async () => {
18
- let t = await e("left_config_flow_org", { is_active: !0 }, "/approve/query_flow_org_list", !0, { skip_error: !0 });
19
- if (t) {
20
- T.value = I(t.data);
21
- let e = M.flowOrgID;
22
- if (e) {
23
- let t = k[e];
24
- t ? D.value = t.id : (localStorage.removeItem("selectedFlowOrgID"), D.value = O);
18
+ let e = await t("left_config_flow_org", { is_active: !0 }, "/approve/query_flow_org_list", !0, { skip_error: !0 });
19
+ if (e) {
20
+ T.value = I(e.data);
21
+ let t = M.flowOrgID;
22
+ if (t) {
23
+ let e = k[t];
24
+ e ? D.value = e.id : (localStorage.removeItem("selectedFlowOrgID"), D.value = O);
25
25
  } else D.value = O;
26
26
  setTimeout(() => {
27
27
  z(k[D.value]);
28
28
  }, 0);
29
29
  }
30
- }, z = async (t) => {
31
- let n = await e(`flow_node_list_${t.id}`, {
32
- flow_org_id: t.id,
30
+ }, z = async (e) => {
31
+ let n = await t(`flow_node_list_${e.id}`, {
32
+ flow_org_id: e.id,
33
33
  is_active: !0
34
34
  }, "/approve/query_flow_node_list", !0, { skip_error: !0 });
35
35
  n && n.data?.length ? E.value = [{
36
36
  isLeaf: !1,
37
- name: t.name,
37
+ name: e.name,
38
38
  id: 0,
39
39
  children: L(y(n.data))
40
40
  }] : E.value = [];
41
41
  }, B = async () => {
42
- let t = await e("left_config_all_flow_node", { is_active: !0 }, "/approve/query_flow_node_list", !1, { skip_error: !0 });
43
- if (t && t.data?.length) for (let e of t.data) j[e.menu_flag] = e;
42
+ let e = await t("left_config_all_flow_node", { is_active: !0 }, "/approve/query_flow_node_list", !1, { skip_error: !0 });
43
+ if (e && e.data?.length) for (let t of e.data) j[t.menu_flag] = t;
44
44
  }, V = !1, H = (e) => {
45
45
  V = !0;
46
46
  let t = !1;
@@ -1,4 +1,4 @@
1
- import { o as e, v as t } from "./init-plugin-fQTSQzui.js";
1
+ import { b as e, o as t } from "./init-plugin-CpYzRii0.js";
2
2
  import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, onMounted as l, openBlock as u, ref as d, renderList as f, resolveComponent as p, withCtx as m } from "vue";
3
3
  //#region src/components/approval/components/codeHistory/codeHistoryViewModal.vue?vue&type=script&lang.ts
4
4
  var h = c({
@@ -15,11 +15,11 @@ var h = c({
15
15
  },
16
16
  components: {},
17
17
  emits: ["ok", "cancel"],
18
- setup(t, { emit: n }) {
18
+ setup(e, { emit: n }) {
19
19
  let r = () => {
20
20
  n("cancel");
21
21
  }, i = () => {}, a = d(!1), o = d([]), s = async () => {
22
- e({
22
+ t({
23
23
  is_pagination: !1,
24
24
  column_fields: [
25
25
  "id",
@@ -30,18 +30,18 @@ var h = c({
30
30
  conditions: [[{
31
31
  field_name: "id",
32
32
  operator: "in",
33
- value: t.history_ids,
33
+ value: e.history_ids,
34
34
  format: "input",
35
35
  class_name: "str"
36
36
  }]]
37
- }, "/approve/query_action_code_setting_history_list").then((e) => {
37
+ }, "/approve/query_action_code_setting_history_list").then((t) => {
38
38
  let n = {};
39
- a.value = !0, e.data.forEach((e) => {
39
+ a.value = !0, t.data.forEach((e) => {
40
40
  n[e.id] = {
41
41
  name: `[${e.id}]${e.create_time}`,
42
42
  content: e.code
43
43
  };
44
- }), o.value.length = 0, t.history_ids.forEach((e) => {
44
+ }), o.value.length = 0, e.history_ids.forEach((e) => {
45
45
  o.value.push(n[e]);
46
46
  }), a.value = !1;
47
47
  }).catch(() => {
@@ -98,6 +98,6 @@ function _(e, t, c, l, d, h) {
98
98
  _: 1
99
99
  }, 8, ["title", "onCancel"]);
100
100
  }
101
- var v = /* @__PURE__ */ t(h, [["render", _], ["__scopeId", "data-v-1d22cea1"]]);
101
+ var v = /* @__PURE__ */ e(h, [["render", _], ["__scopeId", "data-v-1d22cea1"]]);
102
102
  //#endregion
103
103
  export { v as default };