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.
- package/dist/{ActionsConfig-BrfcGMc2.js → ActionsConfig-gWnpd8yJ.js} +2 -2
- package/dist/{ApprovalEditorModal-HuU6SRJe.js → ApprovalEditorModal-BsHxlueJ.js} +1 -1
- package/dist/{CancelModal-BUi3ieI8.js → CancelModal-CgQeC543.js} +1 -1
- package/dist/{Cell_click_approve-DiMuUB1k.js → Cell_click_approve-CzEatC97.js} +16 -16
- package/dist/{JsonTags-BbWLqghI.js → JsonTags-DQdw3WxB.js} +1 -1
- package/dist/{MyProcess-C6fgOFiw.js → MyProcess-SGZ_-9C3.js} +17 -17
- package/dist/{approval-BlbNEsGQ.js → approval-DD00xYMY.js} +1 -1
- package/dist/{approval-1GfOMaS4.js → approval-ekd9_mwq.js} +35 -35
- package/dist/{approvalHistory-D-5rRWNw.js → approvalHistory-DsHMvx1n.js} +35 -35
- package/dist/{approvalHistoryViewModal-DgLpv2ot.js → approvalHistoryViewModal-UzVPPpNH.js} +9 -9
- package/dist/{approvalPageConfig-4VU81v-x.js → approvalPageConfig-DsoxsuXo.js} +79 -79
- package/dist/{approveLeftConfig-BOU_UgHp.js → approveLeftConfig-Cskh4ezK.js} +16 -16
- package/dist/{codeHistoryViewModal-BfSjIbEU.js → codeHistoryViewModal-BIktV_o6.js} +8 -8
- package/dist/{columnTables-DFwoawLF.js → columnTables-a7yfMH5Q.js} +16 -15
- package/dist/components/approval/components/approvalPageConfig/ColumnConfig.vue.d.ts +12 -0
- package/dist/components/approval/components/approvalPageConfig/leftColumn.vue.d.ts +12 -0
- package/dist/components/approval/components/approvalPageConfig/tableConfig.vue.d.ts +12 -0
- package/dist/{core-BkpI8NUK.js → core-BY-t0ghx.js} +68 -68
- package/dist/{dataStoreSettingHistoryViewModal-D_so-KLp.js → dataStoreSettingHistoryViewModal-DjSRPgQC.js} +9 -9
- package/dist/{debugCode-CQm5weGM.js → debugCode-CTU6KCej.js} +19 -19
- package/dist/{default-kv1XZD9P.js → default-CFd6cRxl.js} +1 -1
- package/dist/{flowHistoryViewModal-D8DJP7Te.js → flowHistoryViewModal-CaGj3LP4.js} +9 -9
- package/dist/index.js +25 -25
- package/dist/{init-plugin-fQTSQzui.js → init-plugin-CpYzRii0.js} +7 -3
- package/dist/init-plugin.d.ts +13 -0
- package/dist/{leftColumn-OrLOxcyw.js → leftColumn-Dzw2Dk6g.js} +3 -3
- package/dist/lyflowchart.css +1 -1
- package/dist/{middleColumn-DUBZPkDG.js → middleColumn-CTOCcPnB.js} +12 -12
- package/dist/{recordActions-3vqHADOf.js → recordActions-z7hvfqGR.js} +1 -1
- package/dist/{tableConfig-W9yGeZs-.js → tableConfig-CMhKXmQF.js} +738 -583
- package/dist/{tableModal-H0SGP8PM.js → tableModal-LuDGonFy.js} +2 -2
- package/dist/{useApprovalRecordActions-B82xPY8g.js → useApprovalRecordActions-6IFZrwvr.js} +10 -10
- package/dist/{utils-B1lkML14.js → utils-DRldFEoM.js} +9 -9
- package/dist/{viewer-C_OHXXRU.js → viewer-BDGXjryM.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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/dataStoreSettingHistoryViewModal.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(
|
|
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:
|
|
29
|
+
value: e.history_ids,
|
|
30
30
|
format: "input",
|
|
31
31
|
class_name: "str"
|
|
32
32
|
}];
|
|
33
|
-
|
|
34
|
-
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_data_store_setting_history_list").then((
|
|
43
|
+
}, "/approve/query_data_store_setting_history_list").then((t) => {
|
|
44
44
|
let n = {};
|
|
45
|
-
a.value = !0,
|
|
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,
|
|
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__ */
|
|
112
|
+
var v = /* @__PURE__ */ e(h, [["render", _], ["__scopeId", "data-v-e4f69f29"]]);
|
|
113
113
|
//#endregion
|
|
114
114
|
export { v as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as e, b as t, c as n, o as r } from "./init-plugin-CpYzRii0.js";
|
|
2
2
|
import { n as i } from "./debugCode-dD1YnQSD.js";
|
|
3
3
|
import { t as a } from "./example_code-DKjqP7KK.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, normalizeClass as h, onMounted as g, onUnmounted as _, openBlock as v, reactive as y, ref as b, renderList as x, renderSlot as S, resolveComponent as C, toDisplayString as w, withCtx as T } from "vue";
|
|
@@ -20,8 +20,8 @@ var A = m({
|
|
|
20
20
|
},
|
|
21
21
|
components: {},
|
|
22
22
|
emits: ["apply"],
|
|
23
|
-
setup(
|
|
24
|
-
let a =
|
|
23
|
+
setup(t, { emit: i }) {
|
|
24
|
+
let a = e(), { t: o } = O(), c = b(!1), l = b(""), u = b(""), d = b([]), f = b(1), p = b(10), m = b(0), h = b([]), v = b([]), x = b(0), S = [
|
|
25
25
|
{
|
|
26
26
|
title: "ID",
|
|
27
27
|
dataIndex: "id",
|
|
@@ -52,13 +52,13 @@ var A = m({
|
|
|
52
52
|
let e = [{
|
|
53
53
|
field_name: "action_code_setting__action_code_id",
|
|
54
54
|
operator: "eq",
|
|
55
|
-
value: [
|
|
55
|
+
value: [t.action_code_id],
|
|
56
56
|
format: "input",
|
|
57
57
|
class_name: "str"
|
|
58
58
|
}, {
|
|
59
59
|
field_name: "action_code_setting__menu_flag",
|
|
60
60
|
operator: "eq",
|
|
61
|
-
value: [
|
|
61
|
+
value: [t.modelType],
|
|
62
62
|
format: "input",
|
|
63
63
|
class_name: "str"
|
|
64
64
|
}];
|
|
@@ -68,7 +68,7 @@ var A = m({
|
|
|
68
68
|
value: [d.value[0], d.value[1]],
|
|
69
69
|
format: "input",
|
|
70
70
|
class_name: "str"
|
|
71
|
-
}),
|
|
71
|
+
}), r({
|
|
72
72
|
current: f.value,
|
|
73
73
|
pageSize: p.value,
|
|
74
74
|
is_pagination: !0,
|
|
@@ -91,10 +91,10 @@ var A = m({
|
|
|
91
91
|
N(v.value);
|
|
92
92
|
}, j = (e, t) => {
|
|
93
93
|
f.value === e && p.value === t || (f.value = e || 1, p.value = t || 50, C());
|
|
94
|
-
}, M = (e) => e / 2, N = (
|
|
95
|
-
|
|
94
|
+
}, M = (e) => e / 2, N = (e) => {
|
|
95
|
+
n(y({
|
|
96
96
|
component: "codeHistoryViewModal",
|
|
97
|
-
history_ids:
|
|
97
|
+
history_ids: e,
|
|
98
98
|
height: x.value,
|
|
99
99
|
ok: (e) => {},
|
|
100
100
|
cancel: () => {}
|
|
@@ -107,7 +107,7 @@ var A = m({
|
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
}, F = async (e) => {
|
|
110
|
-
let
|
|
110
|
+
let n = await r({
|
|
111
111
|
is_pagination: !1,
|
|
112
112
|
column_fields: [
|
|
113
113
|
"id",
|
|
@@ -125,10 +125,10 @@ var A = m({
|
|
|
125
125
|
class_name: "str"
|
|
126
126
|
}]]
|
|
127
127
|
}, "/approve/query_action_code_setting_history_list");
|
|
128
|
-
if (
|
|
129
|
-
let e =
|
|
130
|
-
return await
|
|
131
|
-
action_code_id:
|
|
128
|
+
if (n.data.length > 0) {
|
|
129
|
+
let e = n.data[0];
|
|
130
|
+
return await r({
|
|
131
|
+
action_code_id: t.action_code_id,
|
|
132
132
|
action: e.action,
|
|
133
133
|
code: e.code
|
|
134
134
|
}, "/approve/update_action_code"), i("apply", e), !0;
|
|
@@ -267,7 +267,7 @@ function F(e, t, n, r, i, a) {
|
|
|
267
267
|
"pagination"
|
|
268
268
|
])])], 64);
|
|
269
269
|
}
|
|
270
|
-
var I = /* @__PURE__ */
|
|
270
|
+
var I = /* @__PURE__ */ t(A, [["render", F], ["__scopeId", "data-v-74a2cbb7"]]), L = "click", R = "show", z = "disable", B = "value", V = "dynamic_title", H = m({
|
|
271
271
|
name: "debugCode",
|
|
272
272
|
props: {
|
|
273
273
|
action_code_id: {
|
|
@@ -314,7 +314,7 @@ var I = /* @__PURE__ */ r(A, [["render", F], ["__scopeId", "data-v-74a2cbb7"]]),
|
|
|
314
314
|
"update:dynamicTitle"
|
|
315
315
|
],
|
|
316
316
|
setup(e, { emit: t }) {
|
|
317
|
-
let
|
|
317
|
+
let n = k(), o = b(!1), c = b(e.code), l = b(e.action), u = i(), d = b(1), f = b(null), p = b(L), m = b("编辑代码"), h = b(""), _ = s(() => p.value === L ? l != null : !1), v = () => {
|
|
318
318
|
p.value = L, c.value = e.code, l.value = e.action, o.value = !0, m.value = "编辑点击事件";
|
|
319
319
|
}, y = () => {
|
|
320
320
|
p.value = R, c.value = e.showCode?.code, l.value = null, o.value = !0, m.value = "编辑显示控制";
|
|
@@ -341,7 +341,7 @@ var I = /* @__PURE__ */ r(A, [["render", F], ["__scopeId", "data-v-74a2cbb7"]]),
|
|
|
341
341
|
code: n.code
|
|
342
342
|
}) : p.value === B ? e.valueCode.code = n.code : p.value === V && (e.dynamicTitle.code = n.code), c.value = n.code, l.value = n.action;
|
|
343
343
|
}, O = async () => {
|
|
344
|
-
await
|
|
344
|
+
await r({
|
|
345
345
|
action_code_id: T.value,
|
|
346
346
|
menu_flag: h.value,
|
|
347
347
|
action: l.value,
|
|
@@ -366,7 +366,7 @@ var I = /* @__PURE__ */ r(A, [["render", F], ["__scopeId", "data-v-74a2cbb7"]]),
|
|
|
366
366
|
f.value && (c.value = `${c.value || ""}\n${f.value}`);
|
|
367
367
|
}, M = s(() => a.filter((e) => p.value === L ? e.types.includes(L) && e.actions.includes(l.value || null) : e.types.includes(p.value)));
|
|
368
368
|
return g(() => {
|
|
369
|
-
let e =
|
|
369
|
+
let e = n.path.split("/");
|
|
370
370
|
h.value = e[e.length - 1];
|
|
371
371
|
}), {
|
|
372
372
|
handleEditClick: v,
|
|
@@ -560,6 +560,6 @@ function U(e, t, n, r, i, a) {
|
|
|
560
560
|
"onOk"
|
|
561
561
|
])) : l("", !0)], 64);
|
|
562
562
|
}
|
|
563
|
-
var W = /* @__PURE__ */
|
|
563
|
+
var W = /* @__PURE__ */ t(H, [["render", U]]);
|
|
564
564
|
//#endregion
|
|
565
565
|
export { W as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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/flowHistoryViewModal.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(
|
|
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:
|
|
29
|
+
value: e.history_ids,
|
|
30
30
|
format: "input",
|
|
31
31
|
class_name: "str"
|
|
32
32
|
}];
|
|
33
|
-
|
|
34
|
-
org_id:
|
|
33
|
+
t({
|
|
34
|
+
org_id: e.org_id,
|
|
35
35
|
is_pagination: !1,
|
|
36
36
|
column_fields: [
|
|
37
37
|
"id",
|
|
@@ -40,14 +40,14 @@ var h = c({
|
|
|
40
40
|
],
|
|
41
41
|
sort_fields: ["-id"],
|
|
42
42
|
conditions: [n]
|
|
43
|
-
}, "/approve/query_flow_setting_history_list").then((
|
|
43
|
+
}, "/approve/query_flow_setting_history_list").then((t) => {
|
|
44
44
|
let n = {};
|
|
45
|
-
a.value = !0,
|
|
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
|
};
|
|
50
|
-
}), o.value.length = 0,
|
|
50
|
+
}), o.value.length = 0, e.history_ids.forEach((e) => {
|
|
51
51
|
o.value.push(n[e]);
|
|
52
52
|
}), a.value = !1;
|
|
53
53
|
}).catch(() => {
|
|
@@ -104,6 +104,6 @@ function _(e, t, c, l, d, h) {
|
|
|
104
104
|
_: 1
|
|
105
105
|
}, 8, ["title", "onCancel"]);
|
|
106
106
|
}
|
|
107
|
-
var v = /* @__PURE__ */
|
|
107
|
+
var v = /* @__PURE__ */ e(h, [["render", _], ["__scopeId", "data-v-7a87c333"]]);
|
|
108
108
|
//#endregion
|
|
109
109
|
export { v as default };
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Dn as e, t } from "./viewer-
|
|
2
|
-
import { n, t as r } from "./MyProcess-
|
|
3
|
-
import {
|
|
4
|
-
import { n as c, r as l, t as u } from "./useApprovalRecordActions-
|
|
5
|
-
import { t as d } from "./CancelModal-
|
|
1
|
+
import { Dn as e, t } from "./viewer-BDGXjryM.js";
|
|
2
|
+
import { n, t as r } from "./MyProcess-SGZ_-9C3.js";
|
|
3
|
+
import { f as i, i as a, t as o, y as s } from "./init-plugin-CpYzRii0.js";
|
|
4
|
+
import { n as c, r as l, t as u } from "./useApprovalRecordActions-6IFZrwvr.js";
|
|
5
|
+
import { t as d } from "./CancelModal-CgQeC543.js";
|
|
6
6
|
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineAsyncComponent as b, defineComponent as x, isRef as S, mergeProps as C, onMounted as w, openBlock as T, ref as E, resolveComponent as D, toDisplayString as O, unref as k, withCtx as A } from "vue";
|
|
7
7
|
(/* @__PURE__ */ e(((e, t) => {
|
|
8
8
|
(function(r) {
|
|
@@ -313,11 +313,11 @@ var j = { style: {
|
|
|
313
313
|
__name: "Cell_click_data_source",
|
|
314
314
|
props: { cmpObj: {} },
|
|
315
315
|
setup(e) {
|
|
316
|
-
let t = e, n =
|
|
316
|
+
let t = e, n = i(), r = s()?.current_org, a = E(!1), o = E(!1), u = E("base"), x = E(!1), F = E(t.cmpObj?.text), I = p(() => {
|
|
317
317
|
let e = t.cmpObj?.text;
|
|
318
318
|
return e != null && e !== "";
|
|
319
319
|
}), L = E({}), R = E(null), z = E(null), B = E(null), { canShow: V, runAction: H, loading: U, editorOpen: W, editorProps: G, removeOpen: K, removeProps: q } = c({
|
|
320
|
-
recordId: () =>
|
|
320
|
+
recordId: () => a.value ? R.value?.id ?? null : null,
|
|
321
321
|
modelType: () => R.value?.menu_flag,
|
|
322
322
|
getPrintElement: () => z.value,
|
|
323
323
|
printTitle: "审批信息",
|
|
@@ -325,8 +325,8 @@ var j = { style: {
|
|
|
325
325
|
B.value?.reload();
|
|
326
326
|
}
|
|
327
327
|
}), J = async (e) => {
|
|
328
|
-
await H(e), (W.value || K.value) && (
|
|
329
|
-
}, Y = b(() => import("./ApprovalEditorModal-
|
|
328
|
+
await H(e), (W.value || K.value) && (a.value = !1);
|
|
329
|
+
}, Y = b(() => import("./ApprovalEditorModal-BsHxlueJ.js")), X = async (e) => {
|
|
330
330
|
let t = N.get(e);
|
|
331
331
|
if (t && Date.now() - t.time < M) return t.data;
|
|
332
332
|
let i = P.get(e);
|
|
@@ -345,24 +345,24 @@ var j = { style: {
|
|
|
345
345
|
time: Date.now()
|
|
346
346
|
}), o;
|
|
347
347
|
}, Z = async () => {
|
|
348
|
-
|
|
348
|
+
o.value = !0;
|
|
349
349
|
try {
|
|
350
350
|
let e = await X(t.cmpObj.text);
|
|
351
351
|
L.value = e.excel_item, R.value = e.approve_record, L.value.name && (F.value = L.value.name), x.value = !0;
|
|
352
352
|
} finally {
|
|
353
|
-
|
|
353
|
+
o.value = !1;
|
|
354
354
|
}
|
|
355
355
|
};
|
|
356
356
|
w(() => {
|
|
357
357
|
I.value && Z();
|
|
358
358
|
});
|
|
359
359
|
let Q = async () => {
|
|
360
|
-
I.value && (
|
|
360
|
+
I.value && (a.value = !0, x.value || await Z(), u.value = R.value ? "approve" : "base");
|
|
361
361
|
}, $ = () => {
|
|
362
|
-
|
|
362
|
+
a.value = !1;
|
|
363
363
|
};
|
|
364
364
|
return (e, t) => {
|
|
365
|
-
let n = D("a-button"), r = D("a-descriptions-item"), i = D("a-descriptions"),
|
|
365
|
+
let n = D("a-button"), r = D("a-descriptions-item"), i = D("a-descriptions"), s = D("a-tab-pane"), c = D("a-tabs"), p = D("a-spin"), b = D("a-drawer");
|
|
366
366
|
return T(), g(f, null, [
|
|
367
367
|
y(n, {
|
|
368
368
|
title: F.value,
|
|
@@ -380,12 +380,12 @@ var j = { style: {
|
|
|
380
380
|
y(b, {
|
|
381
381
|
"body-style": { padding: "10px 20px" },
|
|
382
382
|
footer: null,
|
|
383
|
-
open:
|
|
383
|
+
open: a.value,
|
|
384
384
|
width: 1120,
|
|
385
385
|
title: "数据来源",
|
|
386
386
|
onClose: $
|
|
387
387
|
}, {
|
|
388
|
-
default: A(() => [y(p, { spinning:
|
|
388
|
+
default: A(() => [y(p, { spinning: o.value }, {
|
|
389
389
|
default: A(() => [y(c, {
|
|
390
390
|
activeKey: u.value,
|
|
391
391
|
"onUpdate:activeKey": t[4] ||= (e) => u.value = e
|
|
@@ -421,7 +421,7 @@ var j = { style: {
|
|
|
421
421
|
_: 1
|
|
422
422
|
})) : h("", !0)
|
|
423
423
|
], 64)) : h("", !0)]),
|
|
424
|
-
default: A(() => [y(
|
|
424
|
+
default: A(() => [y(s, {
|
|
425
425
|
key: "base",
|
|
426
426
|
tab: "基础信息"
|
|
427
427
|
}, {
|
|
@@ -497,7 +497,7 @@ var j = { style: {
|
|
|
497
497
|
_: 1
|
|
498
498
|
})]),
|
|
499
499
|
_: 1
|
|
500
|
-
}), R.value ? (T(), m(
|
|
500
|
+
}), R.value ? (T(), m(s, {
|
|
501
501
|
key: "approve",
|
|
502
502
|
tab: "审批单"
|
|
503
503
|
}, {
|
|
@@ -532,15 +532,15 @@ var j = { style: {
|
|
|
532
532
|
], 64);
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
|
-
}), I = b(() => import("./approval-
|
|
536
|
-
codeHistoryViewModal: () => import("./codeHistoryViewModal-
|
|
537
|
-
approvalHistoryViewModal: () => import("./approvalHistoryViewModal-
|
|
538
|
-
flowHistoryViewModal: () => import("./flowHistoryViewModal-
|
|
535
|
+
}), I = b(() => import("./approval-DD00xYMY.js")), L = b(() => import("./approvalPageConfig-DsoxsuXo.js")), R = b(() => import("./approvalHistory-DsHMvx1n.js")), z = b(() => import("./debugCode-CTU6KCej.js")), B = b(() => import("./ApprovalEditorModal-BsHxlueJ.js")), V = b(() => import("./Cell_click_approve-CzEatC97.js")), H = {
|
|
536
|
+
codeHistoryViewModal: () => import("./codeHistoryViewModal-BIktV_o6.js"),
|
|
537
|
+
approvalHistoryViewModal: () => import("./approvalHistoryViewModal-UzVPPpNH.js"),
|
|
538
|
+
flowHistoryViewModal: () => import("./flowHistoryViewModal-CaGj3LP4.js")
|
|
539
539
|
}, U = { install(e, t) {
|
|
540
|
-
e.use(
|
|
541
|
-
for (let n of Object.keys(
|
|
540
|
+
e.use(a(t || {}));
|
|
541
|
+
for (let n of Object.keys(o)) {
|
|
542
542
|
let r = t?.[n];
|
|
543
|
-
r && e.component(
|
|
543
|
+
r && e.component(o[n], r);
|
|
544
544
|
}
|
|
545
545
|
for (let t of Object.keys(H)) e.component(t, b(H[t]));
|
|
546
546
|
e.component("Cell_click_data_source", F).component("Cell_click_approve", V).component("approvalIndex", I).component("approvalSettings", L).component("approvalHistory", R);
|
|
@@ -40,9 +40,13 @@ function d(...e) {
|
|
|
40
40
|
function f(...e) {
|
|
41
41
|
return i("cellComponentList")(...e);
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
var p = () => {
|
|
44
|
+
let e = t.cellSummaryComponentList;
|
|
45
|
+
return (typeof e == "function" ? e() : e) || [];
|
|
46
|
+
}, m = () => t.numfmtPatternPresets || [];
|
|
47
|
+
function h(...e) {
|
|
44
48
|
return i("modalBox")(...e);
|
|
45
49
|
}
|
|
46
|
-
var
|
|
50
|
+
var g = () => i("pageSelectOptions"), _ = () => i("modelOperator"), v = () => i("modelTypeList"), y = () => i("ConditionOperatorMap"), b = () => i("operator_params_count"), x = () => t.customConfigs || {};
|
|
47
51
|
//#endregion
|
|
48
|
-
export {
|
|
52
|
+
export { g as _, u as a, e as b, h as c, x as d, o as f, b as g, m as h, r as i, p as l, v as m, l as n, c as o, _ as p, f as r, d as s, n as t, y as u, a as v, s as y };
|
package/dist/init-plugin.d.ts
CHANGED
|
@@ -22,6 +22,19 @@ export declare function executeScriptInWorker(...args: any[]): any;
|
|
|
22
22
|
export declare function get_org_id(...args: any[]): any;
|
|
23
23
|
/** 可选单元格组件(含宿主注册的自定义单元格) */
|
|
24
24
|
export declare function cellComponentList(...args: any[]): any;
|
|
25
|
+
/**
|
|
26
|
+
* 汇总组件清单(★ v29.50.12 用户定案:**不在本库定义兜底清单**,统一使用
|
|
27
|
+
* liyu-pc-lib/src/components/cellComponent/data.ts 的 commonCellSummaryComponentList ——
|
|
28
|
+
* 宿主经 `cellSummaryComponentList: cellSummaryComponentList()` 注入)。
|
|
29
|
+
* ⚠️ 宿主传的是 **lib 导出的函数**,这里必须调用它取数组(原样返回函数会让 v-for 遍历函数 → 下拉恒空);
|
|
30
|
+
* 宿主未注入时返回空数组(合计组件下拉为空,仅此而已,不抛错)。
|
|
31
|
+
*/
|
|
32
|
+
export declare const useCellSummaryComponentList: () => any[];
|
|
33
|
+
/**
|
|
34
|
+
* 可选注入:通用数字格式串预设(宿主传 liyu-pc-lib/utils/numfmt_format 的
|
|
35
|
+
* NUMFMT_PATTERN_PRESETS)。未注入时返回空数组 —— a-auto-complete 仍可自由输入格式串。
|
|
36
|
+
*/
|
|
37
|
+
export declare const useNumfmtPatternPresets: () => any[];
|
|
25
38
|
/** 弹窗(走宿主事件总线 modal.add,必须与宿主 basic-layout 的监听同一个 bus 实例) */
|
|
26
39
|
export declare function modalBox(...args: any[]): any;
|
|
27
40
|
export declare const usePageSelectOptions: () => Array<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as t, t as n } from "./tableConfig-
|
|
3
|
-
import { t as r } from "./ActionsConfig-
|
|
1
|
+
import { b as e } from "./init-plugin-CpYzRii0.js";
|
|
2
|
+
import { r as t, t as n } from "./tableConfig-CMhKXmQF.js";
|
|
3
|
+
import { t as r } from "./ActionsConfig-gWnpd8yJ.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, openBlock as p, reactive as m, ref as h, resolveComponent as g, withCtx as _, withModifiers as v } from "vue";
|
|
5
5
|
//#region src/components/approval/components/approvalPageConfig/leftColumn.vue?vue&type=script&lang.ts
|
|
6
6
|
var y = f({
|