lyflowchart 1.0.152 → 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 (35) hide show
  1. package/dist/{ActionsConfig-BrfcGMc2.js → ActionsConfig-gWnpd8yJ.js} +2 -2
  2. package/dist/{ApprovalEditorModal-HuU6SRJe.js → ApprovalEditorModal-BsHxlueJ.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-CzEatC97.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-DD00xYMY.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-DsoxsuXo.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-a7yfMH5Q.js} +16 -15
  15. package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +12 -0
  16. package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +12 -0
  17. package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +12 -0
  18. package/dist/{core-BkpI8NUK.js → core-BY-t0ghx.js} +68 -68
  19. package/dist/{dataStoreSettingHistoryViewModal-D_so-KLp.js → dataStoreSettingHistoryViewModal-DjSRPgQC.js} +9 -9
  20. package/dist/{debugCode-CQm5weGM.js → debugCode-CTU6KCej.js} +19 -19
  21. package/dist/{default-kv1XZD9P.js → default-CFd6cRxl.js} +1 -1
  22. package/dist/{flowHistoryViewModal-D8DJP7Te.js → flowHistoryViewModal-CaGj3LP4.js} +9 -9
  23. package/dist/index.js +25 -25
  24. package/dist/{init-plugin-fQTSQzui.js → init-plugin-CpYzRii0.js} +7 -3
  25. package/dist/init-plugin.d.ts +13 -0
  26. package/dist/{leftColumn-OrLOxcyw.js → leftColumn-Dzw2Dk6g.js} +3 -3
  27. package/dist/lyflowchart.css +1 -1
  28. package/dist/{middleColumn-DUBZPkDG.js → middleColumn-CTOCcPnB.js} +12 -12
  29. package/dist/{recordActions-3vqHADOf.js → recordActions-z7hvfqGR.js} +1 -1
  30. package/dist/{tableConfig-W9yGeZs-.js → tableConfig-CMhKXmQF.js} +738 -583
  31. package/dist/{tableModal-H0SGP8PM.js → tableModal-LuDGonFy.js} +2 -2
  32. package/dist/{useApprovalRecordActions-B82xPY8g.js → useApprovalRecordActions-6IFZrwvr.js} +10 -10
  33. package/dist/{utils-B1lkML14.js → utils-DRldFEoM.js} +9 -9
  34. package/dist/{viewer-C_OHXXRU.js → viewer-BDGXjryM.js} +1 -1
  35. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { v as e } from "./init-plugin-fQTSQzui.js";
2
- import { S as t, o as n } from "./utils-B1lkML14.js";
1
+ import { b as e } from "./init-plugin-CpYzRii0.js";
2
+ import { S as t, o as n } from "./utils-DRldFEoM.js";
3
3
  import { t as r } from "./example_code-DKjqP7KK.js";
4
4
  import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, ref as h, renderList as g, resolveComponent as _, shallowRef as v, toDisplayString as y, toRaw as b, withCtx as x, withModifiers as S } from "vue";
5
5
  import { CopyOutlined as C, DeleteOutlined as w, DownOutlined as T, HolderOutlined as E, NodeCollapseOutlined as D, NodeExpandOutlined as O, RightOutlined as k } from "@ant-design/icons-vue";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./core-BkpI8NUK.js";
1
+ import { t as e } from "./core-BY-t0ghx.js";
2
2
  import { createBlock as t, createCommentVNode as n, defineComponent as r, mergeModels as i, openBlock as a, resolveComponent as o, useModel as s, withCtx as c } from "vue";
3
3
  //#endregion
4
4
  //#region src/components/approval/ApprovalEditorModal.vue
@@ -1,4 +1,4 @@
1
- import { o as e } from "./init-plugin-fQTSQzui.js";
1
+ import { o as e } from "./init-plugin-CpYzRii0.js";
2
2
  import { createBlock as t, createVNode as n, defineComponent as r, mergeModels as i, openBlock as a, reactive as o, ref as s, resolveComponent as c, useModel as l, withCtx as u } from "vue";
3
3
  import { message as d } from "ant-design-vue";
4
4
  //#endregion
@@ -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-B82xPY8g.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,7 +16,7 @@ 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,
@@ -26,9 +26,9 @@ var E = { style: {
26
26
  }
27
27
  }), W = async (e) => {
28
28
  await R(e), (B.value || H.value) && (k.value = !1);
29
- }, G = p(() => import("./ApprovalEditorModal-HuU6SRJe.js")), K = async () => {
29
+ }, G = p(() => import("./ApprovalEditorModal-BsHxlueJ.js")), K = async () => {
30
30
  k.value = !0;
31
- let e = await n({
31
+ let e = await t({
32
32
  org_id: O?.id,
33
33
  approve_record_id: D.cmpObj.record.id
34
34
  }, "/approve/get_approve_record_info");
@@ -42,7 +42,7 @@ var E = { style: {
42
42
  title: "提示",
43
43
  content: "是否确认要发起审批",
44
44
  async onOk() {
45
- n({
45
+ t({
46
46
  org_id: O?.id,
47
47
  approve_record_id: e.id
48
48
  }, "/approve/commit_approve_record").then(() => {
@@ -60,7 +60,7 @@ var E = { style: {
60
60
  title: "提示",
61
61
  content: "是否确认要撤销审批",
62
62
  async onOk() {
63
- n({
63
+ t({
64
64
  org_id: O?.id,
65
65
  approve_record_id: e.id
66
66
  }, "/approve/cancel_approve_record").then(() => {
@@ -73,9 +73,9 @@ var E = { style: {
73
73
  j.value = !1;
74
74
  }
75
75
  });
76
- }, Z = (e) => {
76
+ }, Z = (n) => {
77
77
  let r = v({});
78
- e == "refuse" ? (r.comment = [{
78
+ n == "refuse" ? (r.comment = [{
79
79
  required: !0,
80
80
  message: "请输入审批意见"
81
81
  }], N.value = !0) : M.value = !0;
@@ -104,14 +104,14 @@ var E = { style: {
104
104
  model: v({ comment: null })
105
105
  },
106
106
  options: {},
107
- ok: (t) => new Promise(function(r) {
108
- i.open = !1, n({
107
+ ok: (e) => new Promise(function(r) {
108
+ i.open = !1, t({
109
109
  org_id: O?.id,
110
110
  task_id: P.value,
111
- comment: t.comment,
112
- approval_result: e
111
+ comment: e.comment,
112
+ approval_result: n
113
113
  }, "/lyapprove/claim_and_complete_task").then(() => {
114
- T.success(e == "refuse" ? "审批拒绝" : "审批通过"), J(), r(null);
114
+ T.success(n == "refuse" ? "审批拒绝" : "审批通过"), J(), r(null);
115
115
  }).finally(() => {
116
116
  M.value = !1, N.value = !1;
117
117
  });
@@ -120,7 +120,7 @@ var E = { style: {
120
120
  i.open = !1;
121
121
  }
122
122
  });
123
- t(i);
123
+ e(i);
124
124
  };
125
125
  return (e, t) => {
126
126
  let n = b("a-button"), r = b("a-drawer");
@@ -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-C_OHXXRU.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-BkpI8NUK.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 { C as n, d as r } from "./utils-B1lkML14.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-kv1XZD9P.js"),
25
- "./configs/approval/recordActions.ts": () => import("./recordActions-3vqHADOf.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)), {
@@ -1,6 +1,6 @@
1
- import { _ as e, c as t, h as n, o as r, v as i } from "./init-plugin-fQTSQzui.js";
2
- import { C as a } from "./utils-B1lkML14.js";
3
- import { t as o } from "./approveLeftConfig-BOU_UgHp.js";
1
+ import { _ as e, b as t, c as n, o as r, y as i } from "./init-plugin-CpYzRii0.js";
2
+ import { C as a } from "./utils-DRldFEoM.js";
3
+ import { t as o } from "./approveLeftConfig-Cskh4ezK.js";
4
4
  import { Fragment as s, computed as c, createBlock as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineAsyncComponent as m, defineComponent as h, normalizeStyle as g, onMounted as _, openBlock as v, reactive as y, ref as b, resolveComponent as x, toDisplayString as S, watch as C, withCtx as w } from "vue";
5
5
  import { Modal as T, message as E } from "ant-design-vue";
6
6
  import { useI18n as D } from "vue-i18n";
@@ -19,8 +19,8 @@ var O = h({
19
19
  },
20
20
  components: {},
21
21
  emits: ["changeHistory"],
22
- setup(i, { emit: a }) {
23
- let o = n(), { t: s } = D(), l = b(!1), u = e().currentOrg, d = b(!1), f = b([]), p = b(1), m = b(10), h = b(0), g = b([]), v = [
22
+ setup(t, { emit: a }) {
23
+ let o = e(), { t: s } = D(), l = b(!1), u = i().currentOrg, d = b(!1), f = b([]), p = b(1), m = b(10), h = b(0), g = b([]), v = [
24
24
  {
25
25
  title: "ID",
26
26
  dataIndex: "id",
@@ -42,12 +42,12 @@ var O = h({
42
42
  width: 220
43
43
  }
44
44
  ], x = b([]), S = () => {
45
- if (!i.modelType) return;
45
+ if (!t.modelType) return;
46
46
  l.value = !0;
47
47
  let e = [{
48
48
  field_name: "page_setting__menu_flag",
49
49
  operator: "eq",
50
- value: [i.modelType],
50
+ value: [t.modelType],
51
51
  format: "input",
52
52
  class_name: "str"
53
53
  }];
@@ -88,11 +88,11 @@ var O = h({
88
88
  }, M = (e, t) => {
89
89
  p.value === e && m.value === t || (p.value = e || 1, m.value = t || 50, S());
90
90
  }, N = (e) => e / 2, P = (e) => {
91
- t(y({
91
+ n(y({
92
92
  component: "approvalHistoryViewModal",
93
93
  history_ids: e,
94
94
  org_id: u?.id,
95
- height: i.height,
95
+ height: t.height,
96
96
  ok: (e) => {},
97
97
  cancel: () => {}
98
98
  }));
@@ -132,14 +132,14 @@ var O = h({
132
132
  }, L = async (e) => {
133
133
  l.value = !0;
134
134
  try {
135
- await I(e, u?.id, i.modelType) ? (a("changeHistory"), E.success(s("应用成功"))) : E.error(s("应用失败"));
135
+ await I(e, u?.id, t.modelType) ? (a("changeHistory"), E.success(s("应用成功"))) : E.error(s("应用失败"));
136
136
  } catch {
137
137
  E.error(s("应用失败"));
138
138
  } finally {
139
139
  l.value = !1;
140
140
  }
141
141
  };
142
- return C(() => i.modelType, () => {
142
+ return C(() => t.modelType, () => {
143
143
  S();
144
144
  }), _(() => {
145
145
  S();
@@ -260,7 +260,7 @@ function M(e, t, n, r, i, a) {
260
260
  "scroll"
261
261
  ])], 64);
262
262
  }
263
- var N = /* @__PURE__ */ i(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]), P = h({
263
+ var N = /* @__PURE__ */ t(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]), P = h({
264
264
  name: "flowSettingHistory",
265
265
  props: {
266
266
  modelType: {
@@ -274,8 +274,8 @@ var N = /* @__PURE__ */ i(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]),
274
274
  },
275
275
  components: {},
276
276
  emits: ["changeHistory"],
277
- setup(i, { emit: a }) {
278
- let o = n(), { t: s } = D(), l = b(!1), u = e().currentOrg, d = b(!1), f = b([]), p = b(1), m = b(10), h = b(0), g = b([]), v = [
277
+ setup(t, { emit: a }) {
278
+ let o = e(), { t: s } = D(), l = b(!1), u = i().currentOrg, d = b(!1), f = b([]), p = b(1), m = b(10), h = b(0), g = b([]), v = [
279
279
  {
280
280
  title: "ID",
281
281
  dataIndex: "id",
@@ -297,12 +297,12 @@ var N = /* @__PURE__ */ i(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]),
297
297
  width: 220
298
298
  }
299
299
  ], x = b([]), S = () => {
300
- if (!i.modelType) return;
300
+ if (!t.modelType) return;
301
301
  l.value = !0;
302
302
  let e = [{
303
303
  field_name: "flow_setting__menu_flag",
304
304
  operator: "eq",
305
- value: [i.modelType],
305
+ value: [t.modelType],
306
306
  format: "input",
307
307
  class_name: "str"
308
308
  }];
@@ -343,11 +343,11 @@ var N = /* @__PURE__ */ i(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]),
343
343
  }, M = (e, t) => {
344
344
  p.value === e && m.value === t || (p.value = e || 1, m.value = t || 50, S());
345
345
  }, N = (e) => e / 2, P = (e) => {
346
- t(y({
346
+ n(y({
347
347
  component: "flowHistoryViewModal",
348
348
  history_ids: e,
349
349
  org_id: u?.id,
350
- height: i.height,
350
+ height: t.height,
351
351
  ok: (e) => {},
352
352
  cancel: () => {}
353
353
  }));
@@ -387,14 +387,14 @@ var N = /* @__PURE__ */ i(O, [["render", M], ["__scopeId", "data-v-4d4b9bc9"]]),
387
387
  }, L = async (e) => {
388
388
  l.value = !0;
389
389
  try {
390
- await I(e, u?.id, i.modelType) ? (a("changeHistory"), E.success(s("应用成功"))) : E.error(s("应用失败"));
390
+ await I(e, u?.id, t.modelType) ? (a("changeHistory"), E.success(s("应用成功"))) : E.error(s("应用失败"));
391
391
  } catch {
392
392
  E.error(s("应用失败"));
393
393
  } finally {
394
394
  l.value = !1;
395
395
  }
396
396
  };
397
- return C(() => i.modelType, () => {
397
+ return C(() => t.modelType, () => {
398
398
  S();
399
399
  }), _(() => {
400
400
  S();
@@ -515,7 +515,7 @@ function R(e, t, n, r, i, a) {
515
515
  "scroll"
516
516
  ])], 64);
517
517
  }
518
- var z = /* @__PURE__ */ i(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]), B = h({
518
+ var z = /* @__PURE__ */ t(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]), B = h({
519
519
  name: "dataStoreSettingHistory",
520
520
  props: {
521
521
  modelType: {
@@ -529,8 +529,8 @@ var z = /* @__PURE__ */ i(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]),
529
529
  },
530
530
  components: {},
531
531
  emits: ["changeHistory"],
532
- setup(i, { emit: o }) {
533
- let s = n(), { t: l } = D(), u = b(!1), d = e().currentOrg, f = b(!1), p = b([]), h = b(1), g = b(10), v = b(0), x = b([]), S = [
532
+ setup(t, { emit: o }) {
533
+ let s = e(), { t: l } = D(), u = b(!1), d = i().currentOrg, f = b(!1), p = b([]), h = b(1), g = b(10), v = b(0), x = b([]), S = [
534
534
  {
535
535
  title: "ID",
536
536
  dataIndex: "id",
@@ -552,12 +552,12 @@ var z = /* @__PURE__ */ i(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]),
552
552
  width: 220
553
553
  }
554
554
  ], w = b([]), O = () => {
555
- if (!i.modelType) return;
555
+ if (!t.modelType) return;
556
556
  u.value = !0;
557
557
  let e = [{
558
558
  field_name: "data_store_setting__menu_flag",
559
559
  operator: "eq",
560
- value: [i.modelType],
560
+ value: [t.modelType],
561
561
  format: "input",
562
562
  class_name: "str"
563
563
  }];
@@ -598,11 +598,11 @@ var z = /* @__PURE__ */ i(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]),
598
598
  }, P = (e, t) => {
599
599
  h.value === e && g.value === t || (h.value = e || 1, g.value = t || 50, O());
600
600
  }, F = (e) => e / 2, I = (e) => {
601
- t(y({
602
- component: m(() => import("./dataStoreSettingHistoryViewModal-D_so-KLp.js")),
601
+ n(y({
602
+ component: m(() => import("./dataStoreSettingHistoryViewModal-DjSRPgQC.js")),
603
603
  history_ids: e,
604
604
  org_id: d?.id,
605
- height: i.height,
605
+ height: t.height,
606
606
  ok: (e) => {},
607
607
  cancel: () => {}
608
608
  }));
@@ -642,14 +642,14 @@ var z = /* @__PURE__ */ i(P, [["render", R], ["__scopeId", "data-v-3c42cdc3"]]),
642
642
  }, z = async (e) => {
643
643
  u.value = !0;
644
644
  try {
645
- await R(e, d?.id, i.modelType) ? (o("changeHistory"), E.success(l("应用成功"))) : E.error(l("应用失败"));
645
+ await R(e, d?.id, t.modelType) ? (o("changeHistory"), E.success(l("应用成功"))) : E.error(l("应用失败"));
646
646
  } catch {
647
647
  E.error(l("应用失败"));
648
648
  } finally {
649
649
  u.value = !1;
650
650
  }
651
651
  };
652
- return C(() => i.modelType, () => {
652
+ return C(() => t.modelType, () => {
653
653
  O();
654
654
  }), _(() => {
655
655
  O();
@@ -787,16 +787,16 @@ var G = h({
787
787
  components: {
788
788
  pageSettingHistory: N,
789
789
  flowSettingHistory: z,
790
- dataStoreSettingHistory: /* @__PURE__ */ i(B, [["render", W], ["__scopeId", "data-v-2341b730"]]),
790
+ dataStoreSettingHistory: /* @__PURE__ */ t(B, [["render", W], ["__scopeId", "data-v-2341b730"]]),
791
791
  approveLeftConfig: o
792
792
  },
793
793
  setup(t) {
794
- let r = n(), i = b("page_setting_history"), a = b(!1), o = e().userid, s = c(() => t.height + 45), l = b(null);
794
+ let n = e(), r = b("page_setting_history"), a = b(!1), o = i().userid, s = c(() => t.height + 45), l = b(null);
795
795
  return {
796
796
  userid: o,
797
797
  loading: a,
798
- pageSelectOptions: r,
799
- activeKey: i,
798
+ pageSelectOptions: n,
799
+ activeKey: r,
800
800
  bodyHeight: s,
801
801
  selectedNode: l,
802
802
  onChange: (e) => {
@@ -863,6 +863,6 @@ function q(e, t, n, r, i, a) {
863
863
  _: 1
864
864
  }, 8, ["style"])]);
865
865
  }
866
- var J = /* @__PURE__ */ i(G, [["render", q], ["__scopeId", "data-v-aa58e9b8"]]);
866
+ var J = /* @__PURE__ */ t(G, [["render", q], ["__scopeId", "data-v-aa58e9b8"]]);
867
867
  //#endregion
868
868
  export { J as default };