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, h as n, o as r, v as i } from "./init-plugin-fQTSQzui.js";
2
- import { S as a } from "./utils-CLet2gLV.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 };
@@ -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 };