lyflowchart 1.0.139 → 1.0.154

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 (44) hide show
  1. package/dist/ActionsConfig-gWnpd8yJ.js +521 -0
  2. package/dist/{ApprovalEditorModal-19j5zbe2.js → ApprovalEditorModal-BsHxlueJ.js} +1 -1
  3. package/dist/{CancelModal-BUi3ieI8.js → CancelModal-CgQeC543.js} +1 -1
  4. package/dist/{Cell_click_approve-BGDZUzTS.js → Cell_click_approve-CzEatC97.js} +34 -32
  5. package/dist/{JsonTags-BbWLqghI.js → JsonTags-DQdw3WxB.js} +1 -1
  6. package/dist/{MyProcess-FWGEwQcv.js → MyProcess-SGZ_-9C3.js} +17 -17
  7. package/dist/{approval-BaD4Bmw6.js → approval-DD00xYMY.js} +1 -1
  8. package/dist/{approval-BW2WjPxY.js → approval-ekd9_mwq.js} +35 -35
  9. package/dist/{approvalHistory-B2gpQbFC.js → approvalHistory-DsHMvx1n.js} +35 -35
  10. package/dist/{approvalHistoryViewModal-DgLpv2ot.js → approvalHistoryViewModal-UzVPPpNH.js} +9 -9
  11. package/dist/{approvalPageConfig-D0zPXOUf.js → approvalPageConfig-DsoxsuXo.js} +83 -83
  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-DLwtgcC7.js → columnTables-a7yfMH5Q.js} +88 -80
  15. package/dist/components/approval/ApprovalEditorModal.vue.d.ts +2 -0
  16. package/dist/components/approval/components/approvalPageConfig/ActionsConfig.vue.d.ts +481 -0
  17. package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +12 -0
  18. package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +1222 -0
  19. package/dist/components/approval/components/approvalPageConfig/middleColumn.vue.d.ts +605 -0
  20. package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +617 -0
  21. package/dist/components/approval/core.vue.d.ts +2 -0
  22. package/dist/components/approval/typing.d.ts +1 -1
  23. package/dist/components/approval/useApprovalRecordActions.d.ts +3 -1
  24. package/dist/constants.d.ts +26 -0
  25. package/dist/{core-Cv0Erg9E.js → core-BY-t0ghx.js} +393 -352
  26. package/dist/{dataStoreSettingHistoryViewModal-D_so-KLp.js → dataStoreSettingHistoryViewModal-DjSRPgQC.js} +9 -9
  27. package/dist/{debugCode-Cm9-WiUG.js → debugCode-CTU6KCej.js} +20 -20
  28. package/dist/{default-VdDMlY4e.js → default-CFd6cRxl.js} +28 -21
  29. package/dist/{example_code-C_xF8RRG.js → example_code-DKjqP7KK.js} +6 -0
  30. package/dist/{flowHistoryViewModal-D8DJP7Te.js → flowHistoryViewModal-CaGj3LP4.js} +9 -9
  31. package/dist/index.js +36 -34
  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-CsPjufue.js → leftColumn-Dzw2Dk6g.js} +3 -3
  35. package/dist/lyflowchart.css +1 -1
  36. package/dist/{middleColumn-C7M6-eVo.js → middleColumn-CTOCcPnB.js} +12 -12
  37. package/dist/{recordActions-BgFlNsGU.js → recordActions-z7hvfqGR.js} +1 -1
  38. package/dist/{tableConfig-uLXue-BS.js → tableConfig-CMhKXmQF.js} +740 -585
  39. package/dist/{tableModal-BcYfVL02.js → tableModal-LuDGonFy.js} +2 -2
  40. package/dist/{useApprovalRecordActions-BQ6MgV2L.js → useApprovalRecordActions-6IFZrwvr.js} +68 -68
  41. package/dist/{utils-CLet2gLV.js → utils-DRldFEoM.js} +14 -10
  42. package/dist/{viewer-Dv3kQsMf.js → viewer-BDGXjryM.js} +916 -917
  43. package/package.json +1 -1
  44. package/dist/ActionsConfig-BuvSvRbv.js +0 -395
@@ -1,6 +1,6 @@
1
- import { _ as e, c as t, o as n } from "./init-plugin-fQTSQzui.js";
2
- import { n as r, r as i } from "./useApprovalRecordActions-BQ6MgV2L.js";
3
- import { t as a } from "./CancelModal-BUi3ieI8.js";
1
+ import { c as e, o as t, y as n } from "./init-plugin-CpYzRii0.js";
2
+ import { n as r, r as i } from "./useApprovalRecordActions-6IFZrwvr.js";
3
+ import { t as a } from "./CancelModal-CgQeC543.js";
4
4
  import { Fragment as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineAsyncComponent as p, defineComponent as m, isRef as h, mergeProps as g, openBlock as _, reactive as v, ref as y, resolveComponent as b, toDisplayString as x, unref as S, withCtx as C } from "vue";
5
5
  import { Modal as w, message as T } from "ant-design-vue";
6
6
  //#region src/components/Cell_click_approve.vue?vue&type=script&setup=true&lang.ts
@@ -16,35 +16,37 @@ var E = { style: {
16
16
  __name: "Cell_click_approve",
17
17
  props: { cmpObj: {} },
18
18
  setup(m) {
19
- let D = m, O = e().currentOrg, k = y(!1), A = y(!1), j = y(!1), M = y(!1), N = y(!1), P = y(null), F = y(null), I = y(null), { canShow: L, runAction: R, loading: z, editorOpen: B, editorProps: V, removeOpen: H, removeProps: U } = r({
19
+ let D = m, O = n().currentOrg, k = y(!1), A = y(!1), j = y(!1), M = y(!1), N = y(!1), P = y(null), F = y(null), I = y(null), { canShow: L, runAction: R, loading: z, editorOpen: B, editorProps: V, removeOpen: H, removeProps: U } = r({
20
20
  recordId: () => k.value ? D.cmpObj?.record?.id : null,
21
21
  modelType: () => D.cmpObj?.record?.menu_flag,
22
22
  getPrintElement: () => F.value,
23
23
  printTitle: "审批信息",
24
24
  onChange: () => {
25
- I.value?.reload(), q();
25
+ I.value?.reload(), J();
26
26
  }
27
- }), W = p(() => import("./ApprovalEditorModal-19j5zbe2.js")), G = async () => {
27
+ }), W = async (e) => {
28
+ await R(e), (B.value || H.value) && (k.value = !1);
29
+ }, G = p(() => import("./ApprovalEditorModal-BsHxlueJ.js")), K = async () => {
28
30
  k.value = !0;
29
- let e = await n({
31
+ let e = await t({
30
32
  org_id: O?.id,
31
33
  approve_record_id: D.cmpObj.record.id
32
34
  }, "/approve/get_approve_record_info");
33
35
  e?.current_task?.id && (P.value = e.current_task.id);
34
- }, K = () => {
35
- k.value = !1;
36
36
  }, q = () => {
37
+ k.value = !1;
38
+ }, J = () => {
37
39
  D.cmpObj?.eventBus && D.cmpObj.eventBus.emit("reinit"), D.cmpObj?.event_obj && D.cmpObj.event_obj.emit("refresh");
38
- }, J = (e) => {
40
+ }, Y = (e) => {
39
41
  A.value = !0, w.confirm({
40
42
  title: "提示",
41
43
  content: "是否确认要发起审批",
42
44
  async onOk() {
43
- n({
45
+ t({
44
46
  org_id: O?.id,
45
47
  approve_record_id: e.id
46
48
  }, "/approve/commit_approve_record").then(() => {
47
- T.success("操作成功"), q();
49
+ T.success("操作成功"), J();
48
50
  }).finally(() => {
49
51
  A.value = !1;
50
52
  });
@@ -53,16 +55,16 @@ var E = { style: {
53
55
  A.value = !1;
54
56
  }
55
57
  });
56
- }, Y = (e) => {
58
+ }, X = (e) => {
57
59
  j.value = !0, w.confirm({
58
60
  title: "提示",
59
61
  content: "是否确认要撤销审批",
60
62
  async onOk() {
61
- n({
63
+ t({
62
64
  org_id: O?.id,
63
65
  approve_record_id: e.id
64
66
  }, "/approve/cancel_approve_record").then(() => {
65
- T.success("操作成功"), q();
67
+ T.success("操作成功"), J();
66
68
  }).finally(() => {
67
69
  j.value = !1;
68
70
  });
@@ -71,9 +73,9 @@ var E = { style: {
71
73
  j.value = !1;
72
74
  }
73
75
  });
74
- }, X = (e) => {
76
+ }, Z = (n) => {
75
77
  let r = v({});
76
- e == "refuse" ? (r.comment = [{
78
+ n == "refuse" ? (r.comment = [{
77
79
  required: !0,
78
80
  message: "请输入审批意见"
79
81
  }], N.value = !0) : M.value = !0;
@@ -102,14 +104,14 @@ var E = { style: {
102
104
  model: v({ comment: null })
103
105
  },
104
106
  options: {},
105
- ok: (t) => new Promise(function(r) {
106
- i.open = !1, n({
107
+ ok: (e) => new Promise(function(r) {
108
+ i.open = !1, t({
107
109
  org_id: O?.id,
108
110
  task_id: P.value,
109
- comment: t.comment,
110
- approval_result: e
111
+ comment: e.comment,
112
+ approval_result: n
111
113
  }, "/lyapprove/claim_and_complete_task").then(() => {
112
- T.success(e == "refuse" ? "审批拒绝" : "审批通过"), q(), r(null);
114
+ T.success(n == "refuse" ? "审批拒绝" : "审批通过"), J(), r(null);
113
115
  }).finally(() => {
114
116
  M.value = !1, N.value = !1;
115
117
  });
@@ -118,7 +120,7 @@ var E = { style: {
118
120
  i.open = !1;
119
121
  }
120
122
  });
121
- t(i);
123
+ e(i);
122
124
  };
123
125
  return (e, t) => {
124
126
  let n = b("a-button"), r = b("a-drawer");
@@ -130,7 +132,7 @@ var E = { style: {
130
132
  width: "100%"
131
133
  },
132
134
  type: "link",
133
- onClick: t[0] ||= (e) => G()
135
+ onClick: t[0] ||= (e) => K()
134
136
  }, {
135
137
  default: C(() => [u("span", E, x(m.cmpObj.text), 1)]),
136
138
  _: 1
@@ -141,14 +143,14 @@ var E = { style: {
141
143
  open: k.value,
142
144
  width: 1120,
143
145
  title: "审批信息",
144
- onClose: K
146
+ onClose: q
145
147
  }, {
146
148
  extra: C(() => [
147
149
  m.cmpObj.record.process_status === "init" || m.cmpObj.record.result_status === "reject" ? (_(), s(n, {
148
150
  key: 0,
149
151
  loading: A.value,
150
152
  type: "primary",
151
- onClick: t[1] ||= (e) => J(m.cmpObj.record)
153
+ onClick: t[1] ||= (e) => Y(m.cmpObj.record)
152
154
  }, {
153
155
  default: C(() => [...t[10] ||= [d(" 提交 ", -1)]]),
154
156
  _: 1
@@ -159,7 +161,7 @@ var E = { style: {
159
161
  danger: "",
160
162
  style: { "margin-left": "10px" },
161
163
  type: "primary",
162
- onClick: t[2] ||= (e) => Y(m.cmpObj.record)
164
+ onClick: t[2] ||= (e) => X(m.cmpObj.record)
163
165
  }, {
164
166
  default: C(() => [...t[11] ||= [d(" 撤销 ", -1)]]),
165
167
  _: 1
@@ -169,7 +171,7 @@ var E = { style: {
169
171
  loading: M.value,
170
172
  style: { "margin-left": "10px" },
171
173
  type: "primary",
172
- onClick: t[3] ||= (e) => X("agree")
174
+ onClick: t[3] ||= (e) => Z("agree")
173
175
  }, {
174
176
  default: C(() => [...t[12] ||= [d(" 审批通过 ", -1)]]),
175
177
  _: 1
@@ -180,7 +182,7 @@ var E = { style: {
180
182
  style: { "margin-left": "10px" },
181
183
  danger: "",
182
184
  type: "primary",
183
- onClick: t[4] ||= (e) => X("refuse")
185
+ onClick: t[4] ||= (e) => Z("refuse")
184
186
  }, {
185
187
  default: C(() => [...t[13] ||= [d(" 审批拒绝 ", -1)]]),
186
188
  _: 1
@@ -190,7 +192,7 @@ var E = { style: {
190
192
  loading: S(z),
191
193
  style: { "margin-left": "10px" },
192
194
  type: "primary",
193
- onClick: t[5] ||= (e) => S(R)("edit_approve")
195
+ onClick: t[5] ||= (e) => W("edit_approve")
194
196
  }, {
195
197
  default: C(() => [...t[14] ||= [d(" 修改 ", -1)]]),
196
198
  _: 1
@@ -201,7 +203,7 @@ var E = { style: {
201
203
  danger: "",
202
204
  style: { "margin-left": "10px" },
203
205
  type: "primary",
204
- onClick: t[6] ||= (e) => S(R)("cancel_agree_approve")
206
+ onClick: t[6] ||= (e) => W("cancel_agree_approve")
205
207
  }, {
206
208
  default: C(() => [...t[15] ||= [d(" 删除 ", -1)]]),
207
209
  _: 1
@@ -227,7 +229,7 @@ var E = { style: {
227
229
  }, null, 8, ["record"])], 512)]),
228
230
  _: 1
229
231
  }, 8, ["open"]),
230
- S(B) ? (_(), s(S(W), g({
232
+ S(B) ? (_(), s(S(G), g({
231
233
  key: 0,
232
234
  open: S(B),
233
235
  "onUpdate:open": t[8] ||= (e) => h(B) ? B.value = e : null
@@ -1,4 +1,4 @@
1
- import { v as e } from "./init-plugin-fQTSQzui.js";
1
+ import { b as e } from "./init-plugin-CpYzRii0.js";
2
2
  import { createBlock as t, createElementVNode as n, createTextVNode as r, createVNode as i, defineComponent as a, openBlock as o, resolveComponent as s, toDisplayString as c, withCtx as l } from "vue";
3
3
  //#region src/components/approval/components/approvalPageConfig/JsonTags.vue?vue&type=script&lang.ts
4
4
  var u = a({
@@ -1,5 +1,5 @@
1
- import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Cn as s, Ct as c, D as l, Dn as u, Dt as d, E as f, En as p, Et as m, F as h, Ft as g, G as _, Gt as v, H as y, Ht as b, I as x, It as S, J as C, Jt as w, K as T, Kt as ee, L as te, Lt as E, M as D, Mt as ne, N as re, Nt as O, O as ie, Ot as k, P as ae, Pt as oe, Q as se, Qt as ce, R as le, Rt as ue, S as de, Sn as fe, St as A, T as pe, Tn as me, Tt as he, U as ge, Ut as j, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as M, _ as Ee, _n as De, _t as Oe, a as ke, an as Ae, at as N, b as je, bn as Me, bt as Ne, c as Pe, cn as P, ct as F, d as Fe, dn as Ie, dt as I, en as Le, et as Re, f as ze, fn as Be, ft as Ve, g as L, gn as He, gt as Ue, h as We, hn as Ge, ht as Ke, i as qe, in as Je, it as Ye, j as Xe, jt as Ze, k as Qe, kn as $e, kt as R, l as et, ln as tt, lt as nt, m as rt, mn as it, mt as at, n as ot, nn as st, nt as ct, o as lt, on as ut, ot as dt, p as ft, pn as pt, pt as mt, q as z, qt as B, r as ht, rn as gt, rt as _t, s as vt, sn as yt, st as bt, tn as V, tt as H, u as U, un as xt, ut as St, v as Ct, vn as wt, vt as Tt, w as W, wn as Et, wt as Dt, x as Ot, xn as kt, xt as At, y as jt, yn as Mt, yt as Nt, z as Pt, zt as Ft } from "./viewer-Dv3kQsMf.js";
2
- import { _ as It, g as Lt, v as Rt } from "./init-plugin-fQTSQzui.js";
1
+ import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Cn as s, Ct as c, D as l, Dn as u, Dt as d, E as f, En as p, Et as m, F as h, Ft as g, G as _, Gt as v, H as y, Ht as b, I as x, It as S, J as C, Jt as w, K as T, Kt as ee, L as te, Lt as E, M as D, Mt as ne, N as re, Nt as O, O as ie, Ot as k, P as ae, Pt as oe, Q as se, Qt as ce, R as le, Rt as ue, S as de, Sn as fe, St as A, T as pe, Tn as me, Tt as he, U as ge, Ut as j, V as _e, Vt as ve, W as ye, Wt as be, X as xe, Xt as Se, Y as Ce, Yt as we, Z as Te, Zt as M, _ as Ee, _n as De, _t as Oe, a as ke, an as Ae, at as N, b as je, bn as Me, bt as Ne, c as Pe, cn as P, ct as F, d as Fe, dn as Ie, dt as I, en as Le, et as Re, f as ze, fn as Be, ft as Ve, g as L, gn as He, gt as Ue, h as We, hn as Ge, ht as Ke, i as qe, in as Je, it as Ye, j as Xe, jt as Ze, k as Qe, kn as $e, kt as R, l as et, ln as tt, lt as nt, m as rt, mn as it, mt as at, n as ot, nn as st, nt as ct, o as lt, on as ut, ot as dt, p as ft, pn as pt, pt as mt, q as z, qt as B, r as ht, rn as gt, rt as _t, s as vt, sn as yt, st as bt, tn as V, tt as H, u as U, un as xt, ut as St, v as Ct, vn as wt, vt as Tt, w as W, wn as Et, wt as Dt, x as Ot, xn as kt, xt as At, y as jt, yn as Mt, yt as Nt, z as Pt, zt as Ft } from "./viewer-BDGXjryM.js";
2
+ import { b as It, v as Lt, y as Rt } from "./init-plugin-CpYzRii0.js";
3
3
  import { Fragment as zt, computed as Bt, createBlock as G, createCommentVNode as Vt, createElementBlock as K, createElementVNode as Ht, createTextVNode as q, createVNode as J, defineComponent as Ut, inject as Wt, nextTick as Gt, normalizeClass as Kt, normalizeStyle as qt, onMounted as Jt, openBlock as Y, provide as Yt, reactive as Xt, ref as X, renderList as Zt, resolveComponent as Z, toDisplayString as Qt, vShow as $t, watch as en, withCtx as Q, withDirectives as tn, withKeys as nn } from "vue";
4
4
  import { CodeOutlined as rn, PlusOutlined as an, QuestionCircleOutlined as on, RedoOutlined as sn, SearchOutlined as cn, SyncOutlined as ln, TeamOutlined as un, UploadOutlined as dn, UserOutlined as fn } from "@ant-design/icons-vue";
5
5
  import { Modal as pn, message as mn } from "ant-design-vue";
@@ -20662,7 +20662,7 @@ function wx(e, t, n, r, i, a) {
20662
20662
  _: 1
20663
20663
  }, 8, ["model", "rules"]);
20664
20664
  }
20665
- var Tx = /* @__PURE__ */ Rt(Cx, [["render", wx]]), Ex = Ut({
20665
+ var Tx = /* @__PURE__ */ It(Cx, [["render", wx]]), Ex = Ut({
20666
20666
  name: "FlowUser",
20667
20667
  props: {
20668
20668
  selectValues: {
@@ -20891,7 +20891,7 @@ function jx(e, t, n, r, i, a) {
20891
20891
  "onChange"
20892
20892
  ])) : Vt("", !0)])])]);
20893
20893
  }
20894
- var Mx = /* @__PURE__ */ Rt(Ex, [["render", jx], ["__scopeId", "data-v-44837661"]]), Nx = Ut({
20894
+ var Mx = /* @__PURE__ */ It(Ex, [["render", jx], ["__scopeId", "data-v-44837661"]]), Nx = Ut({
20895
20895
  name: "FlowRole",
20896
20896
  props: {
20897
20897
  selectValues: {
@@ -21077,7 +21077,7 @@ function Fx(e, t, n, r, i, a) {
21077
21077
  "onChange"
21078
21078
  ])) : Vt("", !0)]);
21079
21079
  }
21080
- var Ix = /* @__PURE__ */ Rt(Nx, [["render", Fx], ["__scopeId", "data-v-b83a9bc2"]]), Lx = {
21080
+ var Ix = /* @__PURE__ */ It(Nx, [["render", Fx], ["__scopeId", "data-v-b83a9bc2"]]), Lx = {
21081
21081
  string: "字符串",
21082
21082
  fixed: "系统指定",
21083
21083
  dynamic: "动态选择"
@@ -21255,7 +21255,7 @@ var Vx = Ut({
21255
21255
  components: {
21256
21256
  FlowUser: Mx,
21257
21257
  FlowRole: Ix,
21258
- FlowExp: /* @__PURE__ */ Rt(Rx, [["render", Bx], ["__scopeId", "data-v-8afeeb4c"]]),
21258
+ FlowExp: /* @__PURE__ */ It(Rx, [["render", Bx], ["__scopeId", "data-v-8afeeb4c"]]),
21259
21259
  UserOutlined: fn,
21260
21260
  TeamOutlined: un,
21261
21261
  CodeOutlined: rn,
@@ -21702,7 +21702,7 @@ function Ux(e, t, n, r, i, a) {
21702
21702
  }, 8, ["open"])
21703
21703
  ]);
21704
21704
  }
21705
- var Wx = /* @__PURE__ */ Rt(Vx, [["render", Ux], ["__scopeId", "data-v-03e91aa5"]]), Gx = {
21705
+ var Wx = /* @__PURE__ */ It(Vx, [["render", Ux], ["__scopeId", "data-v-03e91aa5"]]), Gx = {
21706
21706
  input: [
21707
21707
  "eq",
21708
21708
  "contains",
@@ -22028,7 +22028,7 @@ function Qx(e, t, n, r, i, a) {
22028
22028
  "placeholder"
22029
22029
  ]);
22030
22030
  }
22031
- var $x = /* @__PURE__ */ Rt(Jx, [["render", Qx], ["__scopeId", "data-v-99361bec"]]), eS = Ut({
22031
+ var $x = /* @__PURE__ */ It(Jx, [["render", Qx], ["__scopeId", "data-v-99361bec"]]), eS = Ut({
22032
22032
  name: "ValueInput2",
22033
22033
  components: {},
22034
22034
  props: {
@@ -22160,7 +22160,7 @@ function oS(e, t, n, r, i, a) {
22160
22160
  "onSearch"
22161
22161
  ]);
22162
22162
  }
22163
- var sS = /* @__PURE__ */ Rt(eS, [["render", oS]]), cS = Ut({
22163
+ var sS = /* @__PURE__ */ It(eS, [["render", oS]]), cS = Ut({
22164
22164
  props: {
22165
22165
  value: {
22166
22166
  type: String,
@@ -22303,7 +22303,7 @@ var mS = Ut({
22303
22303
  components: {
22304
22304
  JsonTags2: $x,
22305
22305
  ValueInput2: sS,
22306
- ColumnNameField2: /* @__PURE__ */ Rt(cS, [["render", pS], ["__scopeId", "data-v-d8b28df1"]]),
22306
+ ColumnNameField2: /* @__PURE__ */ It(cS, [["render", pS], ["__scopeId", "data-v-d8b28df1"]]),
22307
22307
  QuestionCircleOutlined: on
22308
22308
  },
22309
22309
  setup(e) {
@@ -22338,7 +22338,7 @@ var mS = Ut({
22338
22338
  else if (t.type == "timerangepicker") e.format = t.format, e.valueFormat = t.valueFormat, e.value = [];
22339
22339
  else if (t.type == "remoteselectpro") {
22340
22340
  e.labelKey = t.labelKey, e.valueKey = t.valueKey;
22341
- let n = It(), r;
22341
+ let n = Rt(), r;
22342
22342
  r = t.queryType == "advanced" ? t.searchConditions : t.simpleSearchConditions;
22343
22343
  let i = (await Lt().post(t.postUrl, {
22344
22344
  ...r,
@@ -22350,7 +22350,7 @@ var mS = Ut({
22350
22350
  f.value[e.field_name] = i, mn.success("获取数据成功");
22351
22351
  } else if (t.type == "remotetreeselectpro") {
22352
22352
  e.labelKey = t.labelKey, e.valueKey = t.valueKey;
22353
- let n = It(), r;
22353
+ let n = Rt(), r;
22354
22354
  r = t.queryType == "advanced" ? t.searchConditions : t.simpleSearchConditions;
22355
22355
  let i = (await Lt().post(t.postUrl, {
22356
22356
  ...r,
@@ -22362,7 +22362,7 @@ var mS = Ut({
22362
22362
  f.value[e.field_name] = i, mn.success("获取数据成功");
22363
22363
  } else if (t.type == "remotecascaderpro") {
22364
22364
  e.value = [], e.labelKey = t.labelKey, e.valueKey = t.valueKey;
22365
- let n = It(), r;
22365
+ let n = Rt(), r;
22366
22366
  r = t.queryType == "advanced" ? t.searchConditions : t.simpleSearchConditions;
22367
22367
  let i = (await Lt().post(t.postUrl, {
22368
22368
  ...r,
@@ -23280,7 +23280,7 @@ function hS(e, t, n, r, i, a) {
23280
23280
  _: 1
23281
23281
  })]);
23282
23282
  }
23283
- var gS = /* @__PURE__ */ Rt(mS, [["render", hS], ["__scopeId", "data-v-a75313d9"]]), _S = {
23283
+ var gS = /* @__PURE__ */ It(mS, [["render", hS], ["__scopeId", "data-v-a75313d9"]]), _S = {
23284
23284
  "Activate the global connect tool": "激活全局连接工具",
23285
23285
  "Append {type}": "添加 {type}",
23286
23286
  "Append Task": "添加任务",
@@ -23637,7 +23637,7 @@ function SS(e, t, n, r, i, a) {
23637
23637
  _: 1
23638
23638
  }, 8, ["activeKey"])]);
23639
23639
  }
23640
- var CS = /* @__PURE__ */ Rt(bS, [["render", SS], ["__scopeId", "data-v-fcdd90e8"]]);
23640
+ var CS = /* @__PURE__ */ It(bS, [["render", SS], ["__scopeId", "data-v-fcdd90e8"]]);
23641
23641
  //#endregion
23642
23642
  //#region src/components/Process/customPanel/customTranslate.js
23643
23643
  function wS(e, t) {
@@ -26134,7 +26134,7 @@ function YC(e, t, n, r, i, a) {
26134
26134
  "global-options": e.globalOptions
26135
26135
  }, null, 8, ["form-data", "global-options"])) : Vt("", !0)])])])])], 2);
26136
26136
  }
26137
- var XC = /* @__PURE__ */ Rt(zC, [["render", YC], ["__scopeId", "data-v-ba095815"]]), ZC = /* @__PURE__ */ $e((/* @__PURE__ */ u(((e, t) => {
26137
+ var XC = /* @__PURE__ */ It(zC, [["render", YC], ["__scopeId", "data-v-ba095815"]]), ZC = /* @__PURE__ */ $e((/* @__PURE__ */ u(((e, t) => {
26138
26138
  function n(e) {
26139
26139
  var t = " ";
26140
26140
  if (isNaN(parseInt(e))) t = e;
@@ -26429,6 +26429,6 @@ function rw(e, t, n, r, i, a) {
26429
26429
  "onAfterOpenChange"
26430
26430
  ])]);
26431
26431
  }
26432
- var iw = /* @__PURE__ */ Rt($C, [["render", rw], ["__scopeId", "data-v-717574a2"]]);
26432
+ var iw = /* @__PURE__ */ It($C, [["render", rw], ["__scopeId", "data-v-717574a2"]]);
26433
26433
  //#endregion
26434
26434
  export { hn as n, iw as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./core-Cv0Erg9E.js";
1
+ import { t as e } from "./core-BY-t0ghx.js";
2
2
  import { computed as t, createBlock as n, defineComponent as r, openBlock as i } from "vue";
3
3
  import { useRoute as a } from "vue-router";
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
- import { o as e, u as t } from "./init-plugin-fQTSQzui.js";
2
- import { S as n, d as r } from "./utils-CLet2gLV.js";
1
+ import { d as e, o as t } from "./init-plugin-CpYzRii0.js";
2
+ import { C as n, d as r } from "./utils-DRldFEoM.js";
3
3
  import { cloneDeep as i } from "lodash";
4
4
  var a = (async () => {
5
5
  let e = /* @__PURE__ */ Object.assign({ "./v0001.ts": () => import("./v0001-OaBeBCXI.js") }), t = Object.keys(e).map(async (t) => {
@@ -17,20 +17,20 @@ var a = (async () => {
17
17
  let t = await a, n = e.version || 0, r = t.filter((e) => e.version > n), i = { ...e };
18
18
  for (let e of r) i = e.script(i), i.version = e.version;
19
19
  return i;
20
- }, s = {}, c = async (e) => {
21
- if (Object.keys(s).length > 0) return s[e] ? (await s[e]()).default : (await s.default()).default;
20
+ }, s = {}, c = async (t) => {
21
+ if (Object.keys(s).length > 0) return s[t] ? (await s[t]()).default : (await s.default()).default;
22
22
  let n = {
23
23
  .../* @__PURE__ */ Object.assign({
24
- "./configs/approval/default.ts": () => import("./default-VdDMlY4e.js"),
25
- "./configs/approval/recordActions.ts": () => import("./recordActions-BgFlNsGU.js").then((e) => e.i)
24
+ "./configs/approval/default.ts": () => import("./default-CFd6cRxl.js"),
25
+ "./configs/approval/recordActions.ts": () => import("./recordActions-z7hvfqGR.js").then((e) => e.i)
26
26
  }),
27
- ...t()
27
+ ...e()
28
28
  };
29
29
  for (let e in n) {
30
30
  let t = e.split("/"), r = t[t.length - 1].replace(".ts", "");
31
31
  s[r] = n[e];
32
32
  }
33
- return s[e] ? (await s[e]()).default : (await s.default()).default;
33
+ return s[t] ? (await s[t]()).default : (await s.default()).default;
34
34
  }, l = {
35
35
  baseColumns: ["columns", (e, t) => {
36
36
  if (e) return e.forEach((e) => {
@@ -64,34 +64,34 @@ var a = (async () => {
64
64
  e.showCode?.enable && t[e.showCode.action_code_id] && (e.showCode.code = t[e.showCode.action_code_id].code), e.disableCode?.enable && t[e.disableCode.action_code_id] && (e.disableCode.code = t[e.disableCode.action_code_id].code), n && (e.action_code_id = r(), e.showCode?.enable && (e.showCode.action_code_id = r()), e.disableCode?.enable && (e.disableCode.action_code_id = r()));
65
65
  }, m = (e, t, n) => {
66
66
  for (let r of e) p(r, t, n);
67
- }, h = async (t, n, r) => {
68
- if (t.tables) {
67
+ }, h = async (e, n, r) => {
68
+ if (e.tables) {
69
69
  let i = [];
70
- for (let a of t.tables) a.id ||= Math.random().toString(36).substr(2), a.group_title ||= a.title, a.actions && m(a.actions, n, r), a.row_actions && m(a.row_actions, n, r), a.is_normal_model && i.push((async () => {
71
- let t = a.modelType.split("-")[0], n = a.modelType.split("-")[1], r = await e({
70
+ for (let a of e.tables) a.id ||= Math.random().toString(36).substr(2), a.group_title ||= a.title, a.actions && m(a.actions, n, r), a.row_actions && m(a.row_actions, n, r), a.is_normal_model && i.push((async () => {
71
+ let e = a.modelType.split("-")[0], n = a.modelType.split("-")[1], r = await t({
72
72
  api_url: a.list_url,
73
73
  model_name: n
74
- }, `/${t}/override_column_config`, !1, { skip_error: !0 });
74
+ }, `/${e}/override_column_config`, !1, { skip_error: !0 });
75
75
  r && u(a, r);
76
76
  })());
77
77
  await Promise.all(i);
78
78
  }
79
- }, g = async (t, n) => {
80
- if (!t) return t;
81
- t.number_prefix ??= "FHD", t.number_suffix ??= "", t.number_digit_place ||= 6;
79
+ }, g = async (e, n) => {
80
+ if (!e) return e;
81
+ e.number_prefix ??= "FHD", e.number_suffix ??= "", e.number_digit_place ||= 6;
82
82
  let r = !1;
83
- t.renew_id && (r = !0, delete t.renew_id);
84
- let i = t?.columns || [];
85
- for (let t of i) if (t.type === "tables") await h(t, n, r);
86
- else if (t.type === "form") t.actions && m(t.actions, n, r), t.form?.dynamicFieldList && f(t.form.dynamicFieldList, n, r);
87
- else if (t.type === "data_list" && (t.table?.actions && m(t.table.actions, n, r), t.table?.row_actions && m(t.table.row_actions, n, r), t.table?.is_normal_model)) {
88
- let n = t.table.modelType.split("-")[0], r = t.table.modelType.split("-")[1], i = await e({
89
- api_url: t.table.list_url,
83
+ e.renew_id && (r = !0, delete e.renew_id);
84
+ let i = e?.columns || [];
85
+ for (let e of i) if (e.type === "tables") await h(e, n, r);
86
+ else if (e.type === "form") e.actions && m(e.actions, n, r), e.form?.dynamicFieldList && f(e.form.dynamicFieldList, n, r);
87
+ else if (e.type === "data_list" && (e.table?.actions && m(e.table.actions, n, r), e.table?.row_actions && m(e.table.row_actions, n, r), e.table?.is_normal_model)) {
88
+ let n = e.table.modelType.split("-")[0], r = e.table.modelType.split("-")[1], i = await t({
89
+ api_url: e.table.list_url,
90
90
  model_name: r
91
91
  }, `/${n}/override_column_config`, !1, { skip_error: !0 });
92
- i && u(t.table, i);
92
+ i && u(e.table, i);
93
93
  }
94
- return t;
94
+ return e;
95
95
  }, _ = (e, t, n, r, a, o = null) => {
96
96
  let s = i(e), c = {};
97
97
  for (let e of Object.keys(t)) {
@@ -123,11 +123,11 @@ var a = (async () => {
123
123
  }
124
124
  let f = i(e);
125
125
  return Object.assign(f, t), Object.assign(f, { columns: d }), f;
126
- }, y = async (t, n = null, r = null) => {
127
- let i = await c(t), [a, s] = await Promise.all([e({
128
- menu_flag: t,
126
+ }, y = async (e, n = null, r = null) => {
127
+ let i = await c(e), [a, s] = await Promise.all([t({
128
+ menu_flag: e,
129
129
  history_id: r
130
- }, "/approve/get_page_setting"), e({ menu_flag: t }, "/approve/get_action_code_for_menu")]), l = i();
130
+ }, "/approve/get_page_setting"), t({ menu_flag: e }, "/approve/get_action_code_for_menu")]), l = i();
131
131
  n instanceof Array && (n.length = 0);
132
132
  let u = null, d = null;
133
133
  a && (u = a.content, d = a.history_id);
@@ -136,9 +136,9 @@ var a = (async () => {
136
136
  config: f,
137
137
  current_history_id: d
138
138
  };
139
- }, b = async (t, n = null) => {
140
- let r = await e({
141
- menu_flag: t,
139
+ }, b = async (e, n = null) => {
140
+ let r = await t({
141
+ menu_flag: e,
142
142
  history_id: n
143
143
  }, "/approve/get_flow_setting");
144
144
  return {
@@ -153,9 +153,9 @@ var a = (async () => {
153
153
  }, x = (e) => {
154
154
  n(e);
155
155
  for (let t of e) t.key ||= r(), t.import_type ||= "pass_import", (t.order === null || t.order === void 0) && (t.order = 0);
156
- }, S = async (t, n = null) => {
157
- let r = await e({
158
- menu_flag: t,
156
+ }, S = async (e, n = null) => {
157
+ let r = await t({
158
+ menu_flag: e,
159
159
  history_id: n
160
160
  }, "/approve/get_data_store_setting"), i = [], a = null;
161
161
  return r && (i = r.content || [], a = r.history_id), x(i), i.sort((e, t) => (e.order || 0) - (t.order || 0)), {