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 { T as e } from "./utils-B1lkML14.js";
2
- import { p as t, t as n } from "./columnTables-DFwoawLF.js";
1
+ import { T as e } from "./utils-DRldFEoM.js";
2
+ import { p as t, t as n } from "./columnTables-a7yfMH5Q.js";
3
3
  import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, mergeModels as d, openBlock as f, ref as p, resolveComponent as m, toDisplayString as h, useModel as g, watch as _, withCtx as v } from "vue";
4
4
  import { message as y } from "ant-design-vue";
5
5
  //#region src/components/approval/components/tableModal.vue?vue&type=script&setup=true&lang.ts
@@ -1,6 +1,6 @@
1
- import { t as e } from "./viewer-C_OHXXRU.js";
2
- import { a as t, d as n, o as r, v as i } from "./init-plugin-fQTSQzui.js";
3
- import { t as a } from "./recordActions-3vqHADOf.js";
1
+ import { t as e } from "./viewer-BDGXjryM.js";
2
+ import { a as t, b as n, f as r, o as i } from "./init-plugin-CpYzRii0.js";
3
+ import { t as a } from "./recordActions-z7hvfqGR.js";
4
4
  import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, onMounted as h, openBlock as g, reactive as _, ref as v, renderList as y, resolveComponent as b, toDisplayString as x, watch as S, withCtx as C } from "vue";
5
5
  import { message as w } from "ant-design-vue";
6
6
  //#region src/components/approval_for_details.vue?vue&type=script&setup=true&lang.ts
@@ -57,12 +57,12 @@ var T = { class: "form-container" }, E = { class: "header-container" }, ee = { c
57
57
  } }, V = { style: {
58
58
  height: "400px",
59
59
  "margin-top": "10px"
60
- } }, H = /* @__PURE__ */ i(/* @__PURE__ */ m({
60
+ } }, H = /* @__PURE__ */ n(/* @__PURE__ */ m({
61
61
  name: "ApprovalForDetails",
62
62
  __name: "approval_for_details",
63
63
  props: { record: {} },
64
- setup(t, { expose: r }) {
65
- let i = n(), a = t, s = v([]), m = _({}), w = v({}), H = [
64
+ setup(t, { expose: n }) {
65
+ let i = r(), a = t, s = v([]), m = _({}), w = v({}), H = [
66
66
  {
67
67
  title: "序号",
68
68
  dataIndex: "index",
@@ -258,7 +258,7 @@ var T = { class: "form-container" }, E = { class: "header-container" }, ee = { c
258
258
  Y();
259
259
  }), S(() => a.record?.id, () => {
260
260
  Y();
261
- }), r({ reload: Y });
261
+ }), n({ reload: Y });
262
262
  let ce = (e) => {
263
263
  let t = /* @__PURE__ */ new Set();
264
264
  return e.filter((e) => !t.has(e.title) && t.add(e.title));
@@ -713,7 +713,7 @@ var T = { class: "form-container" }, E = { class: "header-container" }, ee = { c
713
713
  formModel: null,
714
714
  isEdit: !1
715
715
  }), G = (e) => {
716
- let n = v(null), i = v(""), o = v(!1), c = v(!1), l = v({
716
+ let n = v(null), r = v(""), o = v(!1), c = v(!1), l = v({
717
717
  edit_approve: !1,
718
718
  cancel_agree_approve: !1,
719
719
  print: !1
@@ -723,7 +723,7 @@ var T = { class: "form-container" }, E = { class: "header-container" }, ee = { c
723
723
  ...a(),
724
724
  ...t || {}
725
725
  };
726
- }), h = s(() => e.modelType?.() || n.value?.menu_flag || i.value || ""), g = (e, n, r) => t(e, {
726
+ }), h = s(() => e.modelType?.() || n.value?.menu_flag || r.value || ""), g = (e, n, r) => t(e, {
727
727
  table_id: "approve-approve_record",
728
728
  record: r,
729
729
  context: W(),
@@ -747,7 +747,7 @@ var T = { class: "form-container" }, E = { class: "header-container" }, ee = { c
747
747
  }
748
748
  o.value = !0;
749
749
  try {
750
- n.value = await r({ approve_record_id: t }, "/approve/get_approve_record"), n.value?.menu_flag && (i.value = n.value.menu_flag), c.value = !0;
750
+ n.value = await i({ approve_record_id: t }, "/approve/get_approve_record"), n.value?.menu_flag && (r.value = n.value.menu_flag), c.value = !0;
751
751
  let [a, o] = await Promise.all([_(m.value.edit_approve), _(m.value.cancel_agree_approve)]);
752
752
  l.value = {
753
753
  edit_approve: a,
@@ -1,4 +1,4 @@
1
- import { l as e, m as t, o as n } from "./init-plugin-fQTSQzui.js";
1
+ import { g as e, o as t, u as n } from "./init-plugin-CpYzRii0.js";
2
2
  import { message as r } from "ant-design-vue";
3
3
  import { cloneDeep as i } from "lodash";
4
4
  //#region src/utils/function.ts
@@ -7,9 +7,9 @@ var a = (e) => e != null && e !== "", o = (e) => e === null || e == null || e ==
7
7
  e?.message ? (t = e.val, n = e.message) : t = e;
8
8
  let i = document.createElement("textarea");
9
9
  i.setAttribute("readonly", "readonly"), i.value = t, document.body.appendChild(i), i.select(), document.execCommand("copy") && r.info(n), document.body.removeChild(i);
10
- }, c = (t, n) => {
11
- let r = e();
12
- return t == "input" && n == "in" ? "等于" : r[n];
10
+ }, c = (e, t) => {
11
+ let r = n();
12
+ return e == "input" && t == "in" ? "等于" : r[t];
13
13
  };
14
14
  function l(e, t = /* @__PURE__ */ new Set(), n = []) {
15
15
  let r = [];
@@ -25,7 +25,7 @@ function l(e, t = /* @__PURE__ */ new Set(), n = []) {
25
25
  }
26
26
  //#endregion
27
27
  //#region src/components/approval/utils.ts
28
- var u = () => e(), d = [
28
+ var u = () => n(), d = [
29
29
  {
30
30
  value: "上月",
31
31
  label: "上月"
@@ -46,7 +46,7 @@ var u = () => e(), d = [
46
46
  value: "期初",
47
47
  label: "期初"
48
48
  }
49
- ], f = (e, n) => t()[e], p = (e) => e ? e.filter((e) => e.value instanceof Array && e.value.length > 0 && !e.value.some((e) => o(e))) : [], m = /\{\{\s*([^{}]+?)\s*\}\}/g, h = /^\{\{\s*([^{}]+?)\s*\}\}$/, g = (e, t) => {
49
+ ], f = (t, n) => e()[t], p = (e) => e ? e.filter((e) => e.value instanceof Array && e.value.length > 0 && !e.value.some((e) => o(e))) : [], m = /\{\{\s*([^{}]+?)\s*\}\}/g, h = /^\{\{\s*([^{}]+?)\s*\}\}$/, g = (e, t) => {
50
50
  let n = t ? t[e] : void 0;
51
51
  if (n == null || n === "") throw Error(`查询条件参数 {{${e}}} 未提供,请检查调用方是否传入了该参数`);
52
52
  return n;
@@ -61,8 +61,8 @@ var u = () => e(), d = [
61
61
  });
62
62
  }, b = async (e) => {
63
63
  if (!e) return [];
64
- let t = await n({}, e.split("-")[0] + "/obtain_" + e.split("-")[1] + "_column_data", !1, { skip_error: !0 }), r = {};
65
- return y(l(t || []), r), "id" in r || (r.id = "ID"), Object.keys(r).map((e) => ({
64
+ let n = await t({}, e.split("-")[0] + "/obtain_" + e.split("-")[1] + "_column_data", !1, { skip_error: !0 }), r = {};
65
+ return y(l(n || []), r), "id" in r || (r.id = "ID"), Object.keys(r).map((e) => ({
66
66
  value: e,
67
67
  label: r[e]
68
68
  }));
@@ -340,7 +340,7 @@ var u = () => e(), d = [
340
340
  if (!Array.isArray(e)) return e;
341
341
  for (let t of e) for (let e of t?.fields || []) if (e) for (let t of E) t in e && delete e[t];
342
342
  return e;
343
- }, O = (e) => n(e, "/approve/create_modify_approve"), k = (e) => {
343
+ }, O = (e) => t(e, "/approve/create_modify_approve"), k = (e) => {
344
344
  let t = typeof e == "string" ? Number(e) : e;
345
345
  if (typeof t != "number" || !Number.isFinite(t)) return null;
346
346
  let n = Math.floor(t);
@@ -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 { createElementBlock as t, createElementVNode as n, createVNode as r, defineComponent as i, nextTick as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, resolveComponent as u, watch as d, withCtx as f } from "vue";
3
3
  import { DragOutlined as p, ZoomInOutlined as m, ZoomOutOutlined as h } from "@ant-design/icons-vue";
4
4
  //#region \0rolldown/runtime.js
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "lyflowchart",
3
3
  "type": "module",
4
4
  "license": "MIT",
5
- "version": "1.0.152",
5
+ "version": "1.0.154",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "scripts": {