super-page-runtime 2.2.83 → 2.2.86

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 (41) hide show
  1. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +74 -74
  2. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -1
  3. package/dist/es/components/runtime/utils/charts/chart-util.js +5 -5
  4. package/dist/es/components/runtime/utils/events/standard-event.js +211 -214
  5. package/dist/es/components/runtime/utils/events/validator-util.js +48 -38
  6. package/dist/es/components/runtime/utils/page-init-util.js +6 -5
  7. package/dist/es/components/runtime/utils/page-permission-util.js +16 -16
  8. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +16 -13
  9. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +4 -1
  10. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +15 -11
  11. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +127 -113
  14. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +87 -53
  15. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +4 -4
  16. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  18. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +6 -6
  20. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +38 -33
  22. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +9 -8
  25. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +61 -59
  26. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +16 -14
  27. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  28. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +76 -72
  29. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +8 -3
  30. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +1 -1
  31. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +32 -32
  32. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +5 -4
  33. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +4 -1
  34. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +7 -7
  35. package/dist/es/components/runtime/views/super-page-dialog.vue.js +11 -11
  36. package/dist/es/components/runtime/views/{super-page-dialog.vue2.js → super-page-dialog.vue3.js} +1 -0
  37. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  38. package/dist/es/components/runtime/views/super-page.vue2.js +9 -7
  39. package/dist/es/index.js +1 -0
  40. package/dist/es/style.css +225 -99
  41. package/package.json +1 -1
@@ -1,117 +1,121 @@
1
- import { defineComponent as e, ref as a, computed as n, onMounted as t, nextTick as l, watch as o, resolveComponent as u, createElementBlock as d, openBlock as i, normalizeClass as s, unref as c, createBlock as r, createCommentVNode as p, withDirectives as v, normalizeStyle as f, withCtx as g, createVNode as m, createElementVNode as h, createTextVNode as y, Fragment as C, toDisplayString as x, renderList as k, vShow as N } from "vue";
1
+ import { defineComponent as e, ref as n, computed as t, onMounted as a, nextTick as l, watch as o, resolveComponent as u, createElementBlock as d, openBlock as i, normalizeClass as s, unref as c, createBlock as r, createCommentVNode as p, withDirectives as v, normalizeStyle as f, withCtx as g, createVNode as m, createElementVNode as h, createTextVNode as y, Fragment as C, toDisplayString as x, renderList as k, vShow as N } from "vue";
2
2
  import T from "../../../../../../assets/folder.png.js";
3
3
  import I from "../../../../../../assets/file.png.js";
4
4
  import { getFormModelFields as V } from "../../../../utils/page-init-util.js";
5
- import { setVariableValue as b, getVariableValue as E } from "../../../../utils/page-helper-util.js";
6
- import { getMenuTreeData as L, createTreeNode as M, updateTreeNode as K, deleteNode as _ } from "../../../../utils/tree-utils.js";
7
- import { handleAfterInitEvent as w, handleFormEvent as j } from "../../../../utils/events/event-util.js";
5
+ import { setVariableValue as b, getVariableValue as L } from "../../../../utils/page-helper-util.js";
6
+ import { getMenuTreeData as M, createTreeNode as w, updateTreeNode as E, deleteNode as K } from "../../../../utils/tree-utils.js";
7
+ import { handleAfterInitEvent as _, handleFormEvent as j } from "../../../../utils/events/event-util.js";
8
8
  import { ElMessageBox as S, ElMessage as z } from "element-plus";
9
9
  import { checkPermission as B } from "agilebuilder-ui/src/utils/permission";
10
- const P = { key: 0, class: "custom-tree-node" }, R = ["title"], D = { key: 0, class: "item-row" }, O = { class: "item-side" }, U = { key: 1, class: "item-side", style: { display: "flex", "align-items": "center" } }, W = ["onClick"], A = e({ __name: "tree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
10
+ const P = { key: 0, class: "custom-tree-node" }, W = ["title"], R = { key: 0, class: "item-row" }, D = { class: "item-side" }, H = { key: 1, class: "item-side", style: { display: "flex", "align-items": "center" } }, O = ["onClick"], U = e({ __name: "tree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: U2 }) {
11
11
  var _a, _b, _c;
12
- const q = a(), F = a(false), G = e2, H = G.pageContext.entity ? G.pageContext.entity : {}, J = a([]);
13
- ((_a = G.configure.props) == null ? void 0 : _a.contextMenus) && (G.pageContext && G.configure && !G.pageContext.isTest ? G.configure.props.contextMenus.forEach((e3) => {
14
- if (e3.functionCodes && e3.functionCodes.length > 0) for (let a2 = 0; a2 < e3.functionCodes.length; a2++) {
15
- const n2 = e3.functionCodes[a2];
16
- if (B(n2)) return void J.value.push(e3);
12
+ const $ = n(), A = n(false), X = e2, Y = X.pageContext.entity ? X.pageContext.entity : {}, q = n([]);
13
+ ((_a = X.configure.props) == null ? void 0 : _a.contextMenus) && (X.pageContext && X.configure && !X.pageContext.isTest ? X.configure.props.contextMenus.forEach((e3) => {
14
+ if (e3.functionCodes && e3.functionCodes.length > 0) for (let n2 = 0; n2 < e3.functionCodes.length; n2++) {
15
+ const t2 = e3.functionCodes[n2];
16
+ if (B(t2)) return void q.value.push(e3);
17
17
  }
18
- else J.value.push(e3);
19
- }) : J.value = G.configure.props.contextMenus);
20
- let Q = V(G.pageContext, G.configure);
21
- const X = n({ get: () => E(H, Q), set(e3) {
22
- b(H, Q, e3);
23
- } }), Y = a(!!((_c = (_b = G.configure.props) == null ? void 0 : _b.base) == null ? void 0 : _c.lazy)), Z = G.configure.runtime ? G.configure.runtime : {}, $ = Z.style, ee = Z.class, ae = a(), ne = a(Z.props ? Z.props : {}), te = a({ id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }), le = a(false), oe = a([]), ue = a(null), de = a(""), ie = a(false), se = a(""), ce = a(""), re = a("");
24
- t(() => {
18
+ else q.value.push(e3);
19
+ }) : q.value = X.configure.props.contextMenus);
20
+ let F = V(X.pageContext, X.configure);
21
+ const G = t({ get: () => L(Y, F), set(e3) {
22
+ b(Y, F, e3);
23
+ } }), J = n(!!((_c = (_b = X.configure.props) == null ? void 0 : _b.base) == null ? void 0 : _c.lazy)), Q = X.configure.runtime ? X.configure.runtime : {}, Z = Q.style, ee = Q.class, ne = n(), te = n(Q.props ? Q.props : {}), ae = n({ id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }), le = n(false), oe = n([]), ue = n(null), de = n(""), ie = n(false), se = n(""), ce = n(""), re = n("");
24
+ a(() => {
25
25
  l(() => {
26
- const e3 = X.value;
27
- w(e3, G.pageContext, G.configure, { componentRef: ae.value, value: e3, entity: G.pageContext.entity.data, pageData: G.pageContext.entity.page });
26
+ const e3 = G.value;
27
+ _(e3, X.pageContext, X.configure, { componentRef: ne.value, value: e3, entity: X.pageContext.entity.data, pageData: X.pageContext.entity.page });
28
28
  });
29
- }), Y.value ? le.value = true : L(G.pageContext, G.configure).then((e3) => {
29
+ }), J.value ? le.value = true : M(X.pageContext, X.configure).then((e3) => {
30
30
  oe.value = e3, le.value = true;
31
31
  }), o(de, (e3) => {
32
- ie.value = true, ae.value.filter(e3);
32
+ ie.value = true, ne.value.filter(e3);
33
33
  });
34
- const pe = (e3, a2) => !e3 || a2.name.includes(e3);
35
- function ve(e3, a2, n2) {
36
- ue.value = a2, j(null, G.pageContext, G.configure, "node-click", { data: e3, node: a2, nodeTree: n2 });
34
+ const pe = (e3, n2) => !e3 || n2.name.includes(e3);
35
+ function ve(e3, n2, t2) {
36
+ ue.value = n2, j(null, X.pageContext, X.configure, "node-click", { data: e3, node: n2, nodeTree: t2 });
37
37
  }
38
- function fe(e3, a2) {
39
- let n2 = "0";
40
- n2 = 0 === e3.level ? "0" : e3.data.nodeId, function(e4, a3, n3) {
41
- const t2 = { parentNodeId: e4, data: a3.data, searchValue: de, isSearch: ie.value };
42
- L(G.pageContext, G.configure, e4, a3, t2).then((t3) => {
43
- if (ie.value = false, n3(t3), "0" === e4) {
44
- !function(e5, a4) {
45
- const n4 = { parentNodeId: e5, data: a4.data, searchValue: de, isSearch: ie.value };
46
- L(G.pageContext, G.configure, e5, a4, n4).then((a5) => {
47
- ie.value = false, ae.value.updateKeyChildren(e5, a5), ae.value.store.nodesMap[e5] && (ae.value.store.nodesMap[e5].expanded = true);
38
+ function fe(e3, n2) {
39
+ let t2 = "0";
40
+ t2 = 0 === e3.level ? "0" : e3.data.nodeId, function(e4, n3, t3) {
41
+ const a2 = { parentNodeId: e4, data: n3.data, searchValue: de, isSearch: ie.value };
42
+ M(X.pageContext, X.configure, e4, n3, a2).then((a3) => {
43
+ if (ie.value = false, t3(a3), "0" === e4) {
44
+ !function(e5, n4) {
45
+ const t4 = { parentNodeId: e5, data: n4.data, searchValue: de, isSearch: ie.value };
46
+ M(X.pageContext, X.configure, e5, n4, t4).then((n5) => {
47
+ ie.value = false, ne.value.updateKeyChildren(e5, n5), ne.value.store.nodesMap[e5] && (ne.value.store.nodesMap[e5].expanded = true);
48
48
  });
49
- }(t3[0].nodeId, a3);
49
+ }(a3[0].nodeId, n3);
50
50
  }
51
51
  });
52
- }(n2, e3, a2);
52
+ }(t2, e3, n2);
53
53
  }
54
- const ge = a({}), me = (e3, a2, n2, t2) => {
54
+ const ge = n({}), me = (e3, n2, t2, a2) => {
55
55
  if (se.value) return void z.warning("请先保存当前编辑节点!");
56
- document.removeEventListener("click", he), ge.value = n2, F.value = true;
57
- const l2 = document.documentElement.scrollTop || document.body.scrollTop;
58
- q.value.style.display = "block", q.value.style.left = e3.x + "px", q.value.style.top = e3.y + l2 - 10 + "px", document.addEventListener("click", he);
56
+ document.removeEventListener("click", he), ge.value = t2, A.value = true;
57
+ const { clientX: l2, clientY: o2 } = e3, u2 = $.value;
58
+ if (u2) {
59
+ const { innerWidth: e4, innerHeight: n3 } = window, { offsetWidth: t3, offsetHeight: a3 } = u2, d2 = l2 + t3 > e4 ? l2 - t3 : l2, i2 = o2 + a3 > n3 ? o2 - a3 : o2;
60
+ u2.style.left = `${d2}px`, u2.style.top = `${i2}px`, u2.style.display = "block";
61
+ }
62
+ document.addEventListener("click", he);
59
63
  }, he = () => {
60
- F.value = false, document.removeEventListener("click", he);
61
- }, ye = (e3, a2) => {
64
+ A.value = false, document.removeEventListener("click", he);
65
+ }, ye = (e3, n2) => {
62
66
  if (e3.parent && e3.parent.level > 0) {
63
- const n2 = e3.parent.data.children.findIndex((a3) => a3.nodeId === e3.data.nodeId);
64
- e3.parent.data.children[n2] = a2, e3.data = a2;
67
+ const t2 = e3.parent.data.children.findIndex((n3) => n3.nodeId === e3.data.nodeId);
68
+ e3.parent.data.children[t2] = n2, e3.data = n2;
65
69
  } else {
66
- const n2 = e3.parent.data.findIndex((a3) => a3.nodeId === e3.data.nodeId);
67
- e3.parent.data[n2] = a2, e3.data = a2;
70
+ const t2 = e3.parent.data.findIndex((n3) => n3.nodeId === e3.data.nodeId);
71
+ e3.parent.data[t2] = n2, e3.data = n2;
68
72
  }
69
73
  }, Ce = () => {
70
74
  se.value = "", re.value = "", ce.value = "";
71
75
  }, xe = () => ({ nodeId: "primary" + (/* @__PURE__ */ new Date()).getTime(), name: "新增节点", disabled: false, iconType: "custom", isLeaf: true });
72
76
  function ke(e3) {
73
77
  e3.tipMessage ? S.confirm(e3.tipMessage, { confirmButtonText: "确定", cancelButtonText: "取消", type: "error" }).then(() => {
74
- _(ge.value, G.configure, G.pageContext).then(() => {
78
+ K(ge.value, X.configure, X.pageContext).then(() => {
75
79
  z.success("删除成功!"), Ne(), ge.value = null;
76
80
  });
77
81
  }).catch(() => {
78
82
  ge.value = null, console.log("取消");
79
- }) : _(ge.value, G.configure, G.pageContext).then(() => {
83
+ }) : K(ge.value, X.configure, X.pageContext).then(() => {
80
84
  z.success("删除成功!"), Ne(), ge.value = null;
81
85
  });
82
86
  }
83
87
  const Ne = () => {
84
88
  const e3 = ge.value.parent;
85
- ae.value.remove(ge.value), e3.childNodes && 0 === e3.childNodes.length && (e3.data.isLeaf = true), e3.data.children && e3.data.children.length > 0 && (e3.data.children = e3.data.children.filter((e4) => e4.nodeId !== ge.value.data.nodeId));
89
+ ne.value.remove(ge.value), e3.childNodes && 0 === e3.childNodes.length && (e3.data.isLeaf = true), e3.data.children && e3.data.children.length > 0 && (e3.data.children = e3.data.children.filter((e4) => e4.nodeId !== ge.value.data.nodeId));
86
90
  };
87
- return A2({ getSelectNode: function() {
91
+ return U2({ getSelectNode: function() {
88
92
  return ue.value;
89
93
  }, expandNode: function(e3) {
90
94
  e3.loaded = false, e3.expand();
91
95
  }, loadTreeNodes: function() {
92
- L(G.pageContext, G.configure).then((e3) => {
96
+ M(X.pageContext, X.configure).then((e3) => {
93
97
  ie.value = false, oe.value = e3;
94
98
  });
95
99
  }, getNode: function(e3) {
96
- ae.value.getNode(e3);
97
- }, getCheckedNodes: (e3, a2) => ae.value.getCheckedNodes(e3, a2), setCheckedNodes: (e3) => {
98
- ae.value.setCheckedNodes(e3);
99
- }, getCheckedKeys: (e3) => ae.value.getCheckedKeysleafOnly(), setCheckedKeys: (e3, a2) => {
100
- ae.value.setCheckedKeys(e3, a2);
101
- }, setChecked: (e3, a2, n2) => {
102
- ae.value.setChecked(e3, a2, n2);
103
- }, getCurrentKey: () => ae.value.getCurrentKey(), getCurrentNode: () => ae.value.getCurrentNode(), setCurrentKey: (e3, a2 = true) => ae.value.setCurrentKey(e3, a2), setCurrentNode: (e3, a2 = true) => ae.value.setCurrentNode(e3, a2) }), (e3, a2) => {
100
+ ne.value.getNode(e3);
101
+ }, getCheckedNodes: (e3, n2) => ne.value.getCheckedNodes(e3, n2), setCheckedNodes: (e3) => {
102
+ ne.value.setCheckedNodes(e3);
103
+ }, getCheckedKeys: (e3) => ne.value.getCheckedKeysleafOnly(), setCheckedKeys: (e3, n2) => {
104
+ ne.value.setCheckedKeys(e3, n2);
105
+ }, setChecked: (e3, n2, t2) => {
106
+ ne.value.setChecked(e3, n2, t2);
107
+ }, getCurrentKey: () => ne.value.getCurrentKey(), getCurrentNode: () => ne.value.getCurrentNode(), setCurrentKey: (e3, n2 = true) => ne.value.setCurrentKey(e3, n2), setCurrentNode: (e3, n2 = true) => ne.value.setCurrentNode(e3, n2) }), (e3, n2) => {
104
108
  var _a2;
105
- const n2 = u("el-input"), t2 = u("el-button"), l2 = u("SuperIcon"), o2 = u("el-tree");
106
- return i(), d("div", { class: s(c(ee)) }, [ne.value.filter ? (i(), r(n2, { key: 0, modelValue: de.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => de.value = e4), style: { width: "240px" }, placeholder: "请输入查询条件" }, null, 8, ["modelValue"])) : p("", true), le.value ? (i(), r(o2, { key: 1, ref_key: "menuTreeRef", ref: ae, style: f(c($)), load: fe, data: oe.value, "node-key": "nodeId", props: te.value, "default-expand-all": ne.value.defaultExpandAll, "expand-on-click-node": ne.value.expandOnClickNode, indent: ne.value.retractWidth ? ne.value.retractWidth : 18, accordion: ne.value.accordion, "show-checkbox": !!ne.value.showCheckbox, "highlight-current": "", lazy: Y.value, "filter-node-method": pe, onNodeClick: ve, onNodeContextmenu: me }, { default: g(({ node: o3, data: u2 }) => [u2.nodeId === se.value ? (i(), d("div", P, [m(n2, { modelValue: re.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e4) => re.value = e4), size: "small" }, null, 8, ["modelValue"]), h("div", null, [m(t2, { type: "primary", link: "", onClick: (e4) => ((e5) => {
107
- "" !== re.value ? (e5.data.name = re.value, ce.value && e5.data.nodeId === ce.value ? M(e5, G.configure, G.pageContext).then((a3) => {
108
- ye(e5, a3.currentNode), Ce(), z.success("保存成功!");
109
- }) : K(e5, G.configure, G.pageContext).then((a3) => {
110
- console.log(a3), ye(e5, a3.currentNode), Ce(), z.success("保存成功!");
109
+ const t2 = u("el-input"), a2 = u("el-button"), l2 = u("SuperIcon"), o2 = u("el-tree");
110
+ return i(), d("div", { class: s(["amb-tree-runtime-main", c(ee)]) }, [te.value.filter ? (i(), r(t2, { key: 0, modelValue: de.value, "onUpdate:modelValue": n2[0] || (n2[0] = (e4) => de.value = e4), style: { width: "100%" }, placeholder: "请输入查询条件" }, null, 8, ["modelValue"])) : p("", true), le.value ? (i(), r(o2, { key: 1, ref_key: "menuTreeRef", ref: ne, style: f(c(Z)), load: fe, data: oe.value, "node-key": "nodeId", props: ae.value, "default-expand-all": te.value.defaultExpandAll, "expand-on-click-node": te.value.expandOnClickNode, indent: te.value.retractWidth ? te.value.retractWidth : 18, accordion: te.value.accordion, "show-checkbox": !!te.value.showCheckbox, "highlight-current": "", lazy: J.value, "filter-node-method": pe, onNodeClick: ve, onNodeContextmenu: me }, { default: g(({ node: o3, data: u2 }) => [u2.nodeId === se.value ? (i(), d("div", P, [m(t2, { modelValue: re.value, "onUpdate:modelValue": n2[1] || (n2[1] = (e4) => re.value = e4), size: "small" }, null, 8, ["modelValue"]), h("div", null, [m(a2, { type: "primary", link: "", onClick: (e4) => ((e5) => {
111
+ "" !== re.value ? (e5.data.name = re.value, ce.value && e5.data.nodeId === ce.value ? w(e5, X.configure, X.pageContext).then((n3) => {
112
+ ye(e5, n3.currentNode), Ce(), z.success("保存成功!");
113
+ }) : E(e5, X.configure, X.pageContext).then((n3) => {
114
+ console.log(n3), ye(e5, n3.currentNode), Ce(), z.success("保存成功!");
111
115
  })) : z.warning("请输入节点名称");
112
- })(o3) }, { default: g(() => a2[2] || (a2[2] = [y(" 保存 ")])), _: 2 }, 1032, ["onClick"]), m(t2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (a3) => ((e4) => {
113
- ce.value && e4.data.nodeId === ce.value && ae.value.remove(e4), Ce();
114
- })(o3, e3.configure, e3.pageContext) }, { default: g(() => a2[3] || (a2[3] = [y(" 撤销 ")])), _: 2 }, 1032, ["onClick"])])])) : (i(), d("span", { key: 1, title: o3.label, class: "ellipsis" }, [u2.iconValue ? (i(), r(l2, { key: 0, iconType: u2.iconType, iconValue: u2.iconValue }, null, 8, ["iconType", "iconValue"])) : ne.value.iconValue ? (i(), r(l2, { key: 1, iconType: ne.value.iconType, iconValue: ne.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (i(), d(C, { key: 2 }, [u2.isLeaf ? (i(), d("div", U, [a2[5] || (a2[5] = h("img", { src: I, class: "file" }, null, -1)), h("span", null, x(u2.name), 1)])) : (i(), d("div", D, [h("div", O, [a2[4] || (a2[4] = h("img", { src: T, class: "file" }, null, -1)), h("span", null, x(u2.name), 1)])]))], 64))], 8, R))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : p("", true), v(h("div", null, [h("ul", { ref_key: "contxtMenuRef", ref: q, class: "context-menu" }, [(i(true), d(C, null, k(J.value, (e4, a3) => (i(), d("li", { key: a3, tabindex: "-1", class: "menu__item", onClick: (a4) => ((e5) => {
116
+ })(o3) }, { default: g(() => n2[2] || (n2[2] = [y(" 保存 ")])), _: 2 }, 1032, ["onClick"]), m(a2, { style: { "margin-left": "4px" }, type: "primary", link: "", onClick: (n3) => ((e4) => {
117
+ ce.value && e4.data.nodeId === ce.value && ne.value.remove(e4), Ce();
118
+ })(o3, e3.configure, e3.pageContext) }, { default: g(() => n2[3] || (n2[3] = [y(" 撤销 ")])), _: 2 }, 1032, ["onClick"])])])) : (i(), d("span", { key: 1, title: o3.label, class: "ellipsis" }, [u2.iconValue ? (i(), r(l2, { key: 0, iconType: u2.iconType, iconValue: u2.iconValue }, null, 8, ["iconType", "iconValue"])) : te.value.iconValue ? (i(), r(l2, { key: 1, iconType: te.value.iconType, iconValue: te.value.iconValue }, null, 8, ["iconType", "iconValue"])) : (i(), d(C, { key: 2 }, [u2.isLeaf ? (i(), d("div", H, [n2[5] || (n2[5] = h("img", { src: I, class: "file" }, null, -1)), h("span", null, x(u2.name), 1)])) : (i(), d("div", R, [h("div", D, [n2[4] || (n2[4] = h("img", { src: T, class: "file" }, null, -1)), h("span", null, x(u2.name), 1)])]))], 64))], 8, W))]), _: 1 }, 8, ["style", "data", "props", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox", "lazy"])) : p("", true), v(h("div", null, [h("ul", { ref_key: "contxtMenuRef", ref: $, class: "context-menu" }, [(i(true), d(C, null, k(q.value, (e4, n3) => (i(), d("li", { key: n3, tabindex: "-1", class: "menu__item", onClick: (n4) => ((e5) => {
115
119
  if (ge.value) if ("standard" === e5.type && e5.standardEvent) if ("edit" === e5.standardEvent) se.value = ge.value.data.nodeId, re.value = ge.value.data.name;
116
120
  else if ("delete" === e5.standardEvent) ge.value.childNodes && ge.value.childNodes.length > 0 && e5.deleteParentNodeTip ? (e5.deleteParentNodeTipMessage || (e5.deleteParentNodeTipMessage = "当前节点下有子节点,确认删除?"), S.confirm(e5.deleteParentNodeTipMessage, { confirmButtonText: "确定", cancelButtonText: "取消", type: "error" }).then(() => {
117
121
  ke(e5);
@@ -119,13 +123,13 @@ const P = { key: 0, class: "custom-tree-node" }, R = ["title"], D = { key: 0, cl
119
123
  ge.value = null, console.log("取消");
120
124
  })) : ke(e5);
121
125
  else {
122
- const a5 = xe();
123
- se.value = a5.nodeId, ce.value = a5.nodeId, re.value = a5.name, "addSiblingNode" === e5.standardEvent ? (a5.isLeaf = ge.value.data.isLeaf, ge.value.parent && ge.value.parent.level > 0 ? ae.value.append(a5, ge.value.parent) : oe.value.push(a5)) : "addChildNode" === e5.standardEvent && (a5.isLeaf = true, ge.value.data.isLeaf = false, ae.value.append(a5, ge.value), ae.value.setCurrentKey(a5.nodeId, true));
126
+ const n5 = xe();
127
+ se.value = n5.nodeId, ce.value = n5.nodeId, re.value = n5.name, "addSiblingNode" === e5.standardEvent ? (n5.isLeaf = ge.value.data.isLeaf, ge.value.parent && ge.value.parent.level > 0 ? ne.value.append(n5, ge.value.parent) : oe.value.push(n5)) : "addChildNode" === e5.standardEvent && (n5.isLeaf = true, ge.value.data.isLeaf = false, ne.value.append(n5, ge.value), ne.value.setCurrentKey(n5.nodeId, true));
124
128
  }
125
129
  else console.log("自定义事件", e5);
126
- })(e4) }, [h("span", null, x(e4.name), 1)], 8, W))), 128))], 512)], 512), [[N, F.value && ((_a2 = J.value) == null ? void 0 : _a2.length) > 0]])], 2);
130
+ })(e4) }, [h("span", null, x(e4.name), 1)], 8, O))), 128))], 512)], 512), [[N, A.value && ((_a2 = q.value) == null ? void 0 : _a2.length) > 0]])], 2);
127
131
  };
128
132
  } });
129
133
  export {
130
- A as default
134
+ U as default
131
135
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as t, ref as o, onMounted as a, nextTick as n, onUnmounted as i, resolveComponent as l, createBlock as u, createElementBlock as r, createCommentVNode as p, openBlock as s, normalizeStyle as g, normalizeClass as c, unref as m, withCtx as d, resolveDynamicComponent as f, toDisplayString as v } from "vue";
1
+ import { defineComponent as e, computed as t, ref as o, onMounted as a, nextTick as n, onUnmounted as i, resolveComponent as l, createBlock as u, createElementBlock as r, createCommentVNode as s, openBlock as p, normalizeStyle as c, normalizeClass as g, unref as m, withCtx as d, resolveDynamicComponent as f, toDisplayString as v } from "vue";
2
2
  import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
3
  import { setVariableValue as x, getVariableValue as y, formatVariableValue as b, getFormPropName as h, setVariableValueWithProp as j } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as k, handleEvent as R } from "../../../../utils/events/event-util.js";
@@ -12,7 +12,12 @@ const U = { key: 0, style: { width: "100%", height: "100%" } }, F = { key: 1, st
12
12
  const P = e2, $ = P.pageContext.entity ? P.pageContext.entity : {}, q = C(P.pageContext, P.configure), z = t({ get: () => y($, q), set(e3) {
13
13
  x($, q, e3);
14
14
  } }), G = P.configure.runtime ? P.configure.runtime : {}, I = G.style, H = G.class, B = G.headerStyle, N = o(G.props ? G.props : {}), W = function(e3) {
15
- if (e3) for (let t2 in e3) e3.value[t2] = b(P.pageContext, t2);
15
+ let t2 = {};
16
+ if (e3) for (let o2 in e3) {
17
+ const a2 = e3[o2];
18
+ t2[o2] = b(P.pageContext, a2);
19
+ }
20
+ return t2;
16
21
  }(G.customParams ? G.customParams : {}), A = E(P.pageContext), J = o(P.configure.props && P.configure.props.base ? P.configure.props.base.name : null);
17
22
  function K(e3, t2) {
18
23
  j($, e3, t2);
@@ -48,7 +53,7 @@ const U = { key: 0, style: { width: "100%", height: "100%" } }, F = { key: 1, st
48
53
  return X.value;
49
54
  } }), (e3, t2) => {
50
55
  const o2 = l("el-form-item");
51
- return N.value.tittleShow ? (s(), u(o2, { key: 0, ref_key: "formItemRef", ref: Y, required: N.value.required, class: c(m(H)), "label-width": N.value.labelWidth, style: g(m(I)) }, { label: d(() => [N.value.tittleShow ? (s(), r("div", { key: 0, ref_key: "titleRef", ref: Z, style: g({ ...m(B) }) }, v(m(w)(N.value.title)), 5)) : p("", true)]), default: d(() => [J.value ? (s(), r("div", U, [(s(), u(f(J.value), { ref_key: "customRef", ref: X, size: N.value.size, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(W), modelValue: z.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => z.value = e4), disabled: "disabled" === N.value.state, "additional-param-map": m(A), "component-id": T.value, onSetEntityValue: K, onSetCustomRules: L, onRestoreGridEdit: M, onHandleEvent: ee, onChange: t2[1] || (t2[1] = (t3) => m(R)(z.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : p("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : J.value ? (s(), r("div", F, [(s(), u(f(J.value), { ref_key: "customRef", ref: X, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(W), modelValue: z.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => z.value = e4), disabled: "disabled" === N.value.state, "additional-param-map": m(A), "component-id": T.value, onSetEntityValue: K, onSetCustomRules: L, onRestoreGridEdit: M, onHandleEvent: ee, onChange: t2[3] || (t2[3] = (t3) => m(R)(z.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : p("", true);
56
+ return N.value.tittleShow ? (p(), u(o2, { key: 0, ref_key: "formItemRef", ref: Y, required: N.value.required, class: g(m(H)), "label-width": N.value.labelWidth, style: c(m(I)) }, { label: d(() => [N.value.tittleShow ? (p(), r("div", { key: 0, ref_key: "titleRef", ref: Z, style: c({ ...m(B) }) }, v(m(w)(N.value.title)), 5)) : s("", true)]), default: d(() => [J.value ? (p(), r("div", U, [(p(), u(f(J.value), { ref_key: "customRef", ref: X, size: N.value.size, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(W), modelValue: z.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => z.value = e4), disabled: "disabled" === N.value.state, "additional-param-map": m(A), "component-id": T.value, onSetEntityValue: K, onSetCustomRules: L, onRestoreGridEdit: M, onHandleEvent: ee, onChange: t2[1] || (t2[1] = (t3) => m(R)(z.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : J.value ? (p(), r("div", F, [(p(), u(f(J.value), { ref_key: "customRef", ref: X, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(h)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(W), modelValue: z.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => z.value = e4), disabled: "disabled" === N.value.state, "additional-param-map": m(A), "component-id": T.value, onSetEntityValue: K, onSetCustomRules: L, onRestoreGridEdit: M, onHandleEvent: ee, onChange: t2[3] || (t2[3] = (t3) => m(R)(z.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
52
57
  };
53
58
  } });
54
59
  export {
@@ -27,7 +27,7 @@ const R = e({ __name: "datepicker-runtime", props: { pageContext: {}, configure:
27
27
  if (a2) try {
28
28
  const l2 = j(e3);
29
29
  let t2 = null;
30
- return t2 = "x" === a2 ? l2.toDate().getTime() : j(e3).format(a2), t2;
30
+ return t2 = "x" === a2 ? l2.toDate().getTime() : j(e3 + "").format(a2), t2;
31
31
  } catch (a3) {
32
32
  return console.error("日期值格式化错误", a3), console.error(`value: ${e3} ,valueFormat: ${$.value.valueFormat}`), e3;
33
33
  }
@@ -1,74 +1,74 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as n, onUnmounted as a, watch as u, resolveComponent as i, createBlock as c, openBlock as r, normalizeStyle as s, normalizeClass as p, unref as v, withCtx as f, createVNode as g, createCommentVNode as y, createSlots as m, createTextVNode as d, toDisplayString as x, createElementBlock as C, Fragment as I } from "vue";
1
+ import { defineComponent as e, ref as l, computed as t, onMounted as o, nextTick as n, onUnmounted as a, watch as u, resolveComponent as i, createBlock as c, openBlock as r, normalizeStyle as p, normalizeClass as s, unref as v, withCtx as f, createVNode as g, createCommentVNode as y, createSlots as m, createTextVNode as d, toDisplayString as x, createElementBlock as C, Fragment as I } from "vue";
2
2
  import { SuperIcon as k } from "agilebuilder-ui";
3
3
  import { getFormModelFields as T } from "../../../../utils/page-init-util.js";
4
4
  import { getModelFieldFromPageContext as V, isNumberDataType as h, setVariableValue as w, getVariableValue as b } from "../../../../utils/page-helper-util.js";
5
5
  import { handleFormEvent as _, handleAfterInitEvent as S, doSuffixOrPrefixClickEvent as j } from "../../../../utils/events/event-util.js";
6
- import { formatScanRuleSets as R, analysisScanValue as D, setScanAnalysisValue as P } from "../../../../utils/form/scan-util.js";
7
- import N from "../common/title-suffix-element.vue.js";
8
- import { isMobileBrowser as O } from "agilebuilder-ui/src/utils/common-util";
6
+ import { formatScanRuleSets as R, analysisScanValue as D, setScanAnalysisValue as O } from "../../../../utils/form/scan-util.js";
7
+ import P from "../common/title-suffix-element.vue.js";
8
+ import { isMobileBrowser as N } from "agilebuilder-ui/src/utils/common-util";
9
9
  import q from "../../../../utils/eventBus.js";
10
10
  import { $t as z } from "../../../../utils/i18n-util.js";
11
11
  const J = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: J2 }) {
12
12
  var _a, _b, _c;
13
- const L = e2, M = L.pageContext.entity ? L.pageContext.entity : {}, A = t("text");
13
+ const L = e2, M = L.pageContext.entity ? L.pageContext.entity : {}, A = l("text");
14
14
  let B = T(L.pageContext, L.configure);
15
15
  if (L.pageContext.modelFieldsMap) {
16
16
  const e3 = V(B, L.pageContext);
17
17
  e3 && (A.value = h(e3.dataType) ? "number" : "text");
18
18
  }
19
- const F = t(O()), $ = L.pageContext.code, E = t(B && B.length > 0 ? $ + "__" + B.join("__") : null), U = l({ get: () => b(M, B), set(e3) {
19
+ const F = l(N()), $ = L.pageContext.code, E = l(B && B.length > 0 ? $ + "__" + B.join("__") : null), U = t({ get: () => b(M, B), set(e3) {
20
20
  e3 = e3.trim(), w(M, B, e3);
21
- } }), W = t(null), G = t(null), H = t(null);
22
- o(() => {
23
- q.$on(E.value + "-scanDone", (e3) => {
24
- console.log("superPage4444---scanDone--componentId.value=", E.value, "data=", JSON.stringify(e3)), re(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
25
- }), n(() => {
26
- const e3 = U.value;
27
- S(e3, L.pageContext, L.configure, { formItemRef: W.value, componentRef: G.value, titleRef: H.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page });
28
- }), console.log("input-text");
29
- }), a(() => {
30
- q.$off(E.value + "-scanDone");
31
- });
32
- const K = L.configure.runtime ? L.configure.runtime : {}, Q = t(K.props ? K.props : {}), X = t(!!((_a = Q.value.scan) == null ? void 0 : _a.enable));
21
+ } }), W = l(null), G = l(null), H = l(null), K = L.configure.runtime ? L.configure.runtime : {}, Q = l(K.props ? K.props : {}), X = l(!!((_a = Q.value.scan) == null ? void 0 : _a.enable));
33
22
  let Y = false;
34
23
  const Z = window.localStorage.getItem("auth_source");
35
24
  Z && "dingtalk" === Z && (Y = true);
36
25
  let ee = "";
37
- const te = navigator.userAgent;
38
- ee = te.indexOf(" uni-app ") > 0 ? "app" : "browser";
39
- const le = !(!F.value || !ee || "app" !== ee), oe = t(!!((le || Y) && X.value || F.value && X.value && "https:" === window.location.protocol));
26
+ const le = navigator.userAgent;
27
+ ee = le.indexOf(" uni-app ") > 0 ? "app" : "browser";
28
+ const te = !(!F.value || !ee || "app" !== ee), oe = l(!!((te || Y) && X.value || F.value && X.value && "https:" === window.location.protocol));
40
29
  let ne = {};
41
30
  ((_b = Q.value.scan) == null ? void 0 : _b.enable) && ((_c = Q.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (R(Q.value.scan.ruleList).then((e3) => {
42
31
  ne = e3;
43
32
  }), u(() => U.value, (e3) => {
44
33
  e3 = e3.trim();
45
- const t2 = D(e3, ne);
46
- t2 && P(L.pageContext, t2.scanSet, t2.params);
34
+ const l2 = D(e3, ne);
35
+ l2 && O(L.pageContext, l2.scanSet, l2.params);
47
36
  }));
48
37
  const ae = K.style, ue = K.class, ie = K.headerStyle, ce = K.titleExceedStyle;
49
38
  function re(e3) {
50
39
  return w(M, B, e3);
51
40
  }
52
- const se = t(false);
53
- function pe() {
54
- if (console.log("scanClick----userAgent=", ee), le || Y) {
41
+ o(() => {
42
+ q.$on(E.value + "-scanDone", (e3) => {
43
+ console.log("superPage4444---scanDone--componentId.value=", E.value, "data=", JSON.stringify(e3)), re(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
44
+ }), n(() => {
45
+ var _a2;
46
+ const e3 = U.value;
47
+ S(e3, L.pageContext, L.configure, { formItemRef: W.value, componentRef: G.value, titleRef: H.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), oe.value && ((_a2 = Q.value.scan) == null ? void 0 : _a2.autoOpen) && se();
48
+ }), console.log("input-text");
49
+ }), a(() => {
50
+ q.$off(E.value + "-scanDone");
51
+ });
52
+ const pe = l(false);
53
+ function se() {
54
+ if (console.log("scanClick----userAgent=", ee), te || Y) {
55
55
  const e3 = { type: "scan", componentId: E.value, systemCode: L.pageContext.systemCode };
56
56
  Y && (e3.type = "dingTalkScan"), window.parent.postMessage(JSON.stringify(e3), "*");
57
- } else if (F.value) if ("https:" === window.location.protocol) se.value = true;
57
+ } else if (F.value) if ("https:" === window.location.protocol) pe.value = true;
58
58
  else {
59
59
  const e3 = { type: "scan", componentId: E.value, systemCode: L.pageContext.systemCode };
60
60
  window.parent.postMessage(JSON.stringify(e3), "*");
61
61
  }
62
- else se.value = true;
62
+ else pe.value = true;
63
63
  }
64
64
  function ve(e3) {
65
- se.value = false, re(e3);
65
+ pe.value = false, re(e3);
66
66
  }
67
67
  return J2({ getValue: function() {
68
68
  return b(M, B);
69
- }, setValue: re, scanClick: pe }), (e3, t2) => {
70
- const l2 = i("el-input"), o2 = i("scan-code-input-browser"), n2 = i("el-form-item");
71
- return r(), c(n2, { ref_key: "formItemRef", ref: W, required: !!Q.value.required, class: p(v(ue)), "label-width": Q.value.labelWidth, style: s(v(ae)) }, { label: f(() => [Q.value.tittleShow ? (r(), C("div", { key: 0, ref_key: "titleRef", ref: H, style: s({ ...v(ie), ...v(ce) }) }, [Q.value.prefixType ? (r(), c(N, { key: 0, pageContext: e3.pageContext, property: Q.value }, null, 8, ["pageContext", "property"])) : (r(), C(I, { key: 1 }, [d(x(v(z)(Q.value.title)), 1)], 64))], 4)) : y("", true)]), default: f(() => [g(l2, { ref_key: "componentRef", ref: G, disabled: "disabled" === Q.value.state, readonly: "readonly" === Q.value.state, size: Q.value.size, clearable: Q.value.clearable, placeholder: Q.value.placeholder, maxlength: Q.value.maxLength, "show-word-limit": Q.value.showInputNum, type: A.value, modelValue: U.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => U.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[9] || (t2[9] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "click")) }, m({ _: 2 }, ["outer" != Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prefix", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (r(), c(v(k), { key: 0, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(z)(Q.value.preText)), 1)]), key: "0" } : void 0, "outer" == Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prepend", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (r(), c(v(k), { key: 0, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(z)(Q.value.preText)), 1)]), key: "1" } : void 0, "outer" != Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "suffix", fn: f(() => [Q.value.sufIconType && Q.value.sufIconValue ? (r(), c(v(k), { key: 0, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(z)(Q.value.sufText)), 1)]), key: "2" } : void 0, oe.value || "outer" == Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "append", fn: f(() => [oe.value ? (r(), c(v(k), { key: 0, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => pe()) })) : y("", true), Q.value.sufIconType && Q.value.sufIconValue ? (r(), c(v(k), { key: 1, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(z)(Q.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), se.value ? (r(), c(o2, { key: 0, onClose: ve })) : y("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
69
+ }, setValue: re, scanClick: se }), (e3, l2) => {
70
+ const t2 = i("el-input"), o2 = i("scan-code-input-browser"), n2 = i("el-form-item");
71
+ return r(), c(n2, { ref_key: "formItemRef", ref: W, required: !!Q.value.required, class: s(v(ue)), "label-width": Q.value.labelWidth, style: p(v(ae)) }, { label: f(() => [Q.value.tittleShow ? (r(), C("div", { key: 0, ref_key: "titleRef", ref: H, style: p({ ...v(ie), ...v(ce) }) }, [Q.value.prefixType ? (r(), c(P, { key: 0, pageContext: e3.pageContext, property: Q.value }, null, 8, ["pageContext", "property"])) : (r(), C(I, { key: 1 }, [d(x(v(z)(Q.value.title)), 1)], 64))], 4)) : y("", true)]), default: f(() => [g(t2, { ref_key: "componentRef", ref: G, disabled: "disabled" === Q.value.state, readonly: "readonly" === Q.value.state, size: Q.value.size, clearable: Q.value.clearable, placeholder: Q.value.placeholder, maxlength: Q.value.maxLength, "show-word-limit": Q.value.showInputNum, type: A.value, modelValue: U.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => U.value = e4), onInput: l2[6] || (l2[6] = (l3) => v(_)(l3, e3.pageContext, e3.configure, "input")), onChange: l2[7] || (l2[7] = (l3) => v(_)(l3, e3.pageContext, e3.configure, "change")), onBlur: l2[8] || (l2[8] = (l3) => v(_)(l3, e3.pageContext, e3.configure, "blur")), onFocus: l2[9] || (l2[9] = (l3) => v(_)(l3, e3.pageContext, e3.configure, "focus")), onClick: l2[10] || (l2[10] = (l3) => v(_)(l3, e3.pageContext, e3.configure, "click")) }, m({ _: 2 }, ["outer" != Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prefix", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (r(), c(v(k), { key: 0, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: l2[0] || (l2[0] = (l3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(z)(Q.value.preText)), 1)]), key: "0" } : void 0, "outer" == Q.value.iconPosition && (Q.value.preIconType && Q.value.preIconValue || Q.value.preText) ? { name: "prepend", fn: f(() => [Q.value.preIconType && Q.value.preIconValue ? (r(), c(v(k), { key: 0, iconType: Q.value.preIconType, iconValue: Q.value.preIconValue, onClick: l2[1] || (l2[1] = (l3) => v(j)(U.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(z)(Q.value.preText)), 1)]), key: "1" } : void 0, "outer" != Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "suffix", fn: f(() => [Q.value.sufIconType && Q.value.sufIconValue ? (r(), c(v(k), { key: 0, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: l2[2] || (l2[2] = (l3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(z)(Q.value.sufText)), 1)]), key: "2" } : void 0, oe.value || "outer" == Q.value.iconPosition && (Q.value.sufIconType && Q.value.sufIconValue || Q.value.sufText) ? { name: "append", fn: f(() => [oe.value ? (r(), c(v(k), { key: 0, iconValue: "fa-barcode", onClick: l2[3] || (l2[3] = (e4) => se()) })) : y("", true), Q.value.sufIconType && Q.value.sufIconValue ? (r(), c(v(k), { key: 1, iconType: Q.value.sufIconType, iconValue: Q.value.sufIconValue, onClick: l2[4] || (l2[4] = (l3) => v(j)(U.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(v(z)(Q.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), pe.value ? (r(), c(o2, { key: 0, onClose: ve })) : y("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
72
72
  };
73
73
  } });
74
74
  export {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, resolveDirective as r, withDirectives as u, createCommentVNode as l, unref as a, createBlock as p, openBlock as c, resolveDynamicComponent as g, normalizeClass as f, normalizeStyle as d, vShow as m, nextTick as v } from "vue";
2
2
  import C from "./error-render.vue.js";
3
3
  import { getRuntimeComponentByName as b } from "../../utils/assemblys-config.js";
4
- import { PageDimensions as h } from "../../utils/interfaces/page-design-types.js";
5
- import { addComponentRef as x, addComponentRefByCode as y } from "../../utils/global-refs.js";
4
+ import { PageDimensions as x } from "../../utils/interfaces/page-design-types.js";
5
+ import { addComponentRef as h, addComponentRefByCode as y } from "../../utils/global-refs.js";
6
6
  import { getPermissionCodes as w, packageFormRules as j, controlObjectRenderState as _ } from "../../utils/page-init-util.js";
7
7
  import { caculateShowCondition as N, getFormPropName as P, getSizeConfig as L } from "../../utils/page-helper-util.js";
8
8
  import { isWorkflowPage as O, getPropClassName as S, isNumber as M } from "../../utils/common-util.js";
@@ -63,7 +63,7 @@ const H = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
63
63
  const G = H2.configure.runtime && H2.configure.runtime.common ? H2.configure.runtime.common : {};
64
64
  if (G.class && (A.value += " " + G.class), G.style) {
65
65
  Object.assign(z.value, G.style);
66
- const e3 = H2.pageContext && H2.pageContext.dimensions ? H2.pageContext.dimensions : h.PC, o2 = G.style[e3 + "_style"];
66
+ const e3 = H2.pageContext && H2.pageContext.dimensions ? H2.pageContext.dimensions : x.PC, o2 = G.style[e3 + "_style"];
67
67
  o2 && Object.assign(z.value, o2);
68
68
  const t2 = G.style[e3 + "_class"];
69
69
  t2 && (A.value += " " + t2);
@@ -76,7 +76,8 @@ const H = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
76
76
  B.value = "hide";
77
77
  }), e3 && !e3.getConfigure && (e3.getConfigure = function() {
78
78
  return H2.configure;
79
- }), H2.configure.uuid && x(H2.pageContext, H2.configure.uuid, q), H2.configure.code) y(H2.pageContext, H2.configure.code, q);
79
+ }), H2.configure.uuid && h(H2.pageContext, H2.configure.uuid, q), H2.configure.code) y(H2.pageContext, H2.configure.code, q);
80
+ else if ("table" === H2.configure.name) y(H2.pageContext, H2.configure.uuid, q);
80
81
  else if (H2.configure.props && H2.configure.props.base) {
81
82
  const e4 = H2.configure.props.base;
82
83
  if (e4.prop) {
@@ -1,4 +1,7 @@
1
1
  import o from "./workflowbutton-runtime.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = t(o, [["__scopeId", "data-v-122e7d4a"]]);
2
5
  export {
3
- o as default
6
+ r as default
4
7
  };
@@ -1,22 +1,22 @@
1
- import { defineComponent as e, ref as t, createElementBlock as n, openBlock as o, Fragment as r, renderList as u, createBlock as s, createCommentVNode as i } from "vue";
1
+ import { defineComponent as e, ref as t, createElementBlock as n, openBlock as o, Fragment as r, renderList as u, createBlock as i, createCommentVNode as s } from "vue";
2
2
  import a from "../../object-render.vue.js";
3
- import { getClickEventFuncByType as c } from "../../../../utils/events/event-util.js";
4
- import { isVisibleWorkflowButton as m } from "../../../../utils/events/standard-event.js";
5
- const l = { class: "page-runtime-header-btn" }, p = e({ __name: "workflowbutton-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
3
+ import { getClickEventFuncByType as m } from "../../../../utils/events/event-util.js";
4
+ import { isVisibleWorkflowButton as c } from "../../../../utils/events/standard-event.js";
5
+ const l = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" }, p = e({ __name: "workflowbutton-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
6
6
  const p2 = e2, f = p2.configure.runtime ? p2.configure.runtime : {};
7
7
  t(f.style ? f.style : {}), f.class;
8
8
  const g = p2.pageContext.workflowButtonComponent, v = p2.pageContext.completeTaskParam, x = t([]);
9
9
  return p2.configure.items.forEach((e3) => {
10
10
  (function(e4) {
11
11
  const t2 = function(e5) {
12
- const t3 = c(p2.pageContext, e5, "click");
12
+ const t3 = m(p2.pageContext, e5, "click");
13
13
  if (t3) {
14
14
  if (t3.isStandard) return t3.event.eventName;
15
15
  }
16
16
  }(e4.runtime && e4.runtime.events ? e4.runtime.events : []);
17
- return m(t2, g, v);
17
+ return c(t2, g, v);
18
18
  })(e3) && x.value.push(e3);
19
- }), (e3, t2) => (o(), n("span", l, [(o(true), n(r, null, u(x.value, (t3, u2) => (o(), n(r, null, [t3.check ? (o(), s(a, { key: u2, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])) : i("", true)], 64))), 256))]));
19
+ }), (e3, t2) => (o(), n("span", l, [(o(true), n(r, null, u(x.value, (t3, u2) => (o(), n(r, null, [t3.check ? (o(), i(a, { key: u2, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])) : s("", true)], 64))), 256))]));
20
20
  } });
21
21
  export {
22
22
  p as default
@@ -1,26 +1,26 @@
1
- import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as o, withCtx as u, createElementBlock as n, createCommentVNode as r } from "vue";
2
- import s from "./super-page.vue.js";
3
- const i = ["src"], d = ["src"], g = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: g2 }) {
4
- const p = e2, v = g2, m = a(true), c = p.jumpPageSetting ? p.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), j = a(null), w = a(null), y = a(null), C = a({}), b = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), S = a(null);
1
+ import { defineComponent as e, ref as a, resolveComponent as l, createBlock as u, openBlock as t, withCtx as n, createElementBlock as o, createCommentVNode as r } from "vue";
2
+ import i from "./super-page.vue.js";
3
+ const s = ["src"], g = { key: 1, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, d = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: d2 }) {
4
+ const p = e2, v = d2, m = a(true), c = p.jumpPageSetting ? p.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), w = a(null), C = a(null), j = a(null), b = a({}), y = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), S = a(null), V = a(false), x = a(false);
5
5
  if (c) {
6
- console.log("弹出页面myJumpPageSetting=", c), _.value = !(!c || void 0 === c._isIframe) && c._isIframe, S.value = c && c._path ? c._path : null, y.value = c && c.dialogType ? c.dialogType : "dialog", b.value = !(!c || !c.draggable) && c.draggable, k.value = !(!c || !c.overflow) && c.overflow, O.value = c && c.showPosition ? c.showPosition : "rtl", f.value = c && c.jumpPageTitle ? c.jumpPageTitle : null, P.value = c && c.jumpPageWidth ? c.jumpPageWidth : "100%", I.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, j.value = c && c.dataId ? c.dataId : null, w.value = c && c.taskId ? c.taskId : null;
6
+ V.value = (c == null ? void 0 : c.alignCenter) ?? false, x.value = (c == null ? void 0 : c.fullscreen) ?? false, console.log("弹出页面myJumpPageSetting=", c), _.value = !(!c || void 0 === c._isIframe) && c._isIframe, S.value = c && c._path ? c._path : null, j.value = c && c.dialogType ? c.dialogType : "dialog", y.value = !(!c || !c.draggable) && c.draggable, k.value = !(!c || !c.overflow) && c.overflow, O.value = c && c.showPosition ? c.showPosition : "rtl", f.value = c && c.jumpPageTitle ? c.jumpPageTitle : null, P.value = c && c.jumpPageWidth ? c.jumpPageWidth : "dialog" === j.value ? "calc(100% - 30px)" : "100%", I.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, w.value = c && c.dataId ? c.dataId : null, C.value = c && c.taskId ? c.taskId : null;
7
7
  const e3 = !!c.isNeedId;
8
8
  if (p.parentPageEventParams) {
9
9
  try {
10
10
  const e4 = JSON.parse(JSON.stringify(p.parentPageEventParams));
11
- e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(C.value, e4);
11
+ e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(b.value, e4);
12
12
  } catch (e4) {
13
13
  console.error(e4);
14
14
  }
15
- null !== j.value && void 0 !== j.value || (j.value = p.parentPageEventParams.id);
15
+ null !== w.value && void 0 !== w.value || (w.value = p.parentPageEventParams.id);
16
16
  }
17
- C.value.parentPageCode = c && c.parentPageCode ? c.parentPageCode : null, C.value.parentPageVersion = c && c.parentPageVersion ? c.parentPageVersion : null, C.value.jumpMode = c ? c.jumpMode : null, C.value.id = j.value, C.value.isNeedId = e3, C.value.taskId = w.value, p.customParams && Object.assign(C.value, p.customParams);
17
+ b.value.parentPageCode = c && c.parentPageCode ? c.parentPageCode : null, b.value.parentPageVersion = c && c.parentPageVersion ? c.parentPageVersion : null, b.value.jumpMode = c ? c.jumpMode : null, b.value.id = w.value, b.value.isNeedId = e3, b.value.taskId = C.value, p.customParams && Object.assign(b.value, p.customParams);
18
18
  }
19
19
  return (e3, a2) => {
20
- const g3 = l("el-drawer"), p2 = l("el-dialog");
21
- return y.value && "drawer" === y.value ? (o(), t(g3, { key: 0, modelValue: m.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => m.value = e4), title: f.value, direction: O.value, size: P.value, class: "content-drawer", onOpen: a2[1] || (a2[1] = (e4) => v("open")), onOpened: a2[2] || (a2[2] = (e4) => v("opened")), onClose: a2[3] || (a2[3] = (e4) => v("close")), onClosed: a2[4] || (a2[4] = (e4) => v("closed")) }, { default: u(() => [!_.value && h.value ? (o(), t(s, { key: 0, pageCode: h.value, pageRequest: C.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (o(), n("iframe", { key: 1, height: "98%", width: "100%", src: S.value, frameborder: "0", allowtransparency: "no" }, null, 8, i)) : r("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (o(), t(p2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, draggable: b.value, overflow: k.value, onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => v("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: u(() => [!_.value && h.value ? (o(), t(s, { key: 0, pageCode: h.value, pageRequest: C.value, contentHeight: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (o(), n("iframe", { key: 1, height: "98%", width: "100%", src: S.value, frameborder: "0", allowtransparency: "no" }, null, 8, d)) : r("", true)]), _: 1 }, 8, ["title", "width", "draggable", "overflow"]));
20
+ const d3 = l("el-drawer"), p2 = l("el-dialog");
21
+ return j.value && "drawer" === j.value ? (t(), u(d3, { key: 0, modelValue: m.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => m.value = e4), title: f.value, direction: O.value, size: P.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => v("open")), onOpened: a2[2] || (a2[2] = (e4) => v("opened")), onClose: a2[3] || (a2[3] = (e4) => v("close")), onClosed: a2[4] || (a2[4] = (e4) => v("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, pageCode: h.value, pageRequest: b.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (t(), o("iframe", { key: 1, src: S.value, class: "amb-super-page-runtime-drawer-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, s)) : r("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (t(), u(p2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, fullscreen: x.value, alignCenter: V.value, draggable: y.value, overflow: k.value, class: "amb-super-page-runtime-dialog-view", onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => v("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, pageCode: h.value, pageRequest: b.value, contentHeight: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (t(), o("iframe", g)) : r("", true)]), _: 1 }, 8, ["title", "width", "fullscreen", "alignCenter", "draggable", "overflow"]));
22
22
  };
23
23
  } });
24
24
  export {
25
- g as default
25
+ d as default
26
26
  };
@@ -1,4 +1,5 @@
1
1
  import e from "./super-page-dialog.vue.js";
2
+ /* empty css */
2
3
  export {
3
4
  e as default
4
5
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./super-page.vue2.js";
2
2
  /* empty css */
3
3
  import p from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = p(e, [["__scopeId", "data-v-818c8e87"]]);
4
+ const r = p(e, [["__scopeId", "data-v-43b6d6e8"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -15,6 +15,7 @@ import { useI18n as Y } from "vue-i18n";
15
15
  import { DepartmentUserTree as Z } from "agilebuilder-ui";
16
16
  import { i18nValidateRulesMessage as ee } from "../utils/events/validator-util.js";
17
17
  import le from "./super-page-dialog.vue.js";
18
+ /* empty css */
18
19
  import { useRoute as ae, useRouter as oe } from "vue-router";
19
20
  import { jumpToPage as te } from "agilebuilder-ui/src/utils/jump-page-utils";
20
21
  import { setSessionCache as ne, getUsername as ue } from "agilebuilder-ui/src/utils/auth";
@@ -100,11 +101,12 @@ const ce = { class: "app-container runtime-page-container" }, me = e({ __name: "
100
101
  });
101
102
  }(l3, a3, o3).then((e5) => {
102
103
  if (e5) {
103
- const a4 = l3 && l3.props && l3.props.linkPage ? l3.props.linkPage : null;
104
- a4 && Object.assign(e5, ie(a4)), se(e5, ze), console.log("getPopPageSetting33-----openPageParams=", e5, "configureObj=", l3);
105
- const o4 = e5.jumpMode, t2 = e5;
106
- if (Je.value || (Je.value = {}), Je.value.paramStoreId = e5.paramStoreId, t2.parentPageCode = Ee.value.code, t2.parentPageVersion = Ee.value.version, t2.isNewPage = true, "popup" === o4 || "refresh" === o4) {
107
- const e6 = t2.linkType;
104
+ let a4 = {};
105
+ const o4 = l3 && l3.props && l3.props.linkPage ? l3.props.linkPage : null;
106
+ o4 && Object.assign(a4, ie(o4)), Object.assign(a4, e5), se(a4, ze), console.log("getPopPageSetting33-----openPageParams=", a4, "configureObj=", l3);
107
+ const t2 = a4.jumpMode, n2 = a4;
108
+ if (Je.value || (Je.value = {}), Je.value.paramStoreId = a4.paramStoreId, n2.parentPageCode = Ee.value.code, n2.parentPageVersion = Ee.value.version, n2.isNewPage = true, "popup" === t2 || "refresh" === t2) {
109
+ const e6 = n2.linkType;
108
110
  (function(e7, l4) {
109
111
  const a5 = ue();
110
112
  return new Promise((o5, t3) => {
@@ -119,8 +121,8 @@ const ce = { class: "app-container runtime-page-container" }, me = e({ __name: "
119
121
  }
120
122
  else o5(true);
121
123
  });
122
- })(t2, o4).then(() => {
123
- ze && (Ee.value.systemCode !== t2.customSystem || e6 && "url" === e6) ? (t2._isIframe = true, "refresh" === o4 && (t2.dialogType = "drawer", t2.jumpPageWidth = "100%"), Ve.value = t2, Me.value = true) : (t2._isIframe = false, "popup" === o4 ? (Ve.value = t2, Me.value = true) : "refresh" === o4 && sl.push({ path: "/dsc/page", query: t2 }));
124
+ })(n2, t2).then(() => {
125
+ ze && (Ee.value.systemCode !== n2.customSystem || e6 && "url" === e6) ? (n2._isIframe = true, "refresh" === t2 && (n2.dialogType = "drawer", n2.jumpPageWidth = "100%"), Ve.value = n2, Me.value = true) : (n2._isIframe = false, "popup" === t2 ? (Ve.value = n2, Me.value = true) : "refresh" === t2 && sl.push({ path: "/dsc/page", query: n2 }));
124
126
  }), F.$on(qe.value + "close-dialog", (e7) => {
125
127
  !function(e8) {
126
128
  const l4 = e8.jumpMode;