super-page-runtime 2.3.10 → 2.3.12-sit1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +50 -50
  2. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +57 -57
  3. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +3 -3
  4. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  5. package/dist/es/components/runtime/utils/events/print-label.js +25 -26
  6. package/dist/es/components/runtime/utils/events/standard-event.js +232 -226
  7. package/dist/es/components/runtime/utils/events/validator-util.d.ts +2 -1
  8. package/dist/es/components/runtime/utils/events/validator-util.js +13 -10
  9. package/dist/es/components/runtime/utils/page-init-util.js +24 -25
  10. package/dist/es/components/runtime/utils/page-store.js +10 -10
  11. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +8 -8
  14. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  16. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +8 -8
  18. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +10 -10
  20. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +8 -8
  22. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +11 -11
  24. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +1 -0
  25. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +104 -94
  26. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +144 -144
  27. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  28. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  29. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  30. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +16 -17
  31. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -2
  32. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +41 -36
  33. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +32 -32
  34. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +43 -41
  35. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +34 -35
  36. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -5
  37. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -1
  38. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +14 -15
  39. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  40. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  41. package/dist/es/components/runtime/views/super-page.vue2.js +11 -12
  42. package/dist/es/style.css +5 -5
  43. package/package.json +2 -2
  44. package/dist/es.zip +0 -0
@@ -3,13 +3,13 @@ import { SuperIcon as T } from "agilebuilder-ui";
3
3
  import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
4
4
  import { getModelFieldFromPageContext as w, isNumberDataType as V, setVariableValue as h, 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 O, setScanAnalysisValue as N } from "../../../../utils/form/scan-util.js";
7
- import q from "../common/title-suffix-element.vue.js";
8
- import { isMobileBrowser as D } from "agilebuilder-ui/src/utils/common-util";
9
- import J from "../../../../utils/eventBus.js";
10
- import { $t as M } from "../../../../utils/i18n-util.js";
11
- import { addRequiredClassUtil as P } from "../../../../utils/common-util.js";
12
- const z = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
6
+ import { formatScanRuleSets as R, analysisScanValue as O, setScanAnalysisValue as q } from "../../../../utils/form/scan-util.js";
7
+ import D from "../common/title-suffix-element.vue.js";
8
+ import { isMobileBrowser as M } from "agilebuilder-ui/src/utils/common-util";
9
+ import N from "../../../../utils/eventBus.js";
10
+ import { $t as P } from "../../../../utils/i18n-util.js";
11
+ import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
12
+ const J = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: J2 }) {
13
13
  var _a, _b, _c;
14
14
  const L = e2, B = L.pageContext.entity ? L.pageContext.entity : {}, F = t("text");
15
15
  let $ = k(L.pageContext, L.configure);
@@ -17,66 +17,65 @@ const z = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
17
17
  const e3 = w($, L.pageContext);
18
18
  e3 && (F.value = V(e3.dataType) ? "number" : "text");
19
19
  }
20
- const A = t(D()), E = L.pageContext.code, U = t($ && $.length > 0 ? E + "__" + $.join("__") : null), W = t(null), G = l({ get: () => b(B, $), set(e3) {
20
+ const A = t(M()), E = L.pageContext.code, U = t($ && $.length > 0 ? E + "__" + $.join("__") : null), W = t(null), G = l({ get: () => b(B, $), set(e3) {
21
21
  h(B, $, e3), null != e3 && "" !== e3 && (W.value = "");
22
22
  } }), H = t(null), K = t(null), Q = t(null), X = L.configure.runtime ? L.configure.runtime : {}, Y = t(X.props ? X.props : {}), Z = t(!!((_a = Y.value.scan) == null ? void 0 : _a.enable));
23
23
  let ee = false;
24
24
  const te = window.localStorage.getItem("auth_source");
25
25
  te && "dingtalk" === te && (ee = true);
26
26
  let le = "";
27
- const ne = navigator.userAgent;
28
- le = ne.indexOf(" uni-app ") > 0 ? "app" : "browser";
29
- const oe = !(!A.value || !le || "app" !== le), ae = t(!!((oe || ee) && Z.value || A.value && Z.value && "https:" === window.location.protocol));
30
- let ue = {};
27
+ le = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
28
+ const ne = !(!A.value || !le || "app" !== le), oe = t(!!((ne || ee) && Z.value || A.value && Z.value && "https:" === window.location.protocol));
29
+ let ae = {};
31
30
  ((_b = Y.value.scan) == null ? void 0 : _b.enable) && ((_c = Y.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (R(Y.value.scan.ruleList).then((e3) => {
32
- ue = e3;
31
+ ae = e3;
33
32
  }), u(() => G.value, (e3) => {
34
33
  e3 = e3.trim();
35
- const t2 = O(e3, ue);
36
- t2 && N(L.pageContext, t2.scanSet, t2.params);
34
+ const t2 = O(e3, ae);
35
+ t2 && q(L.pageContext, t2.scanSet, t2.params);
37
36
  }));
38
- const ie = X.style, re = X.class, pe = X.headerStyle, se = X.titleExceedStyle;
39
- function ce(e3) {
37
+ const ue = X.style, ie = X.class, re = X.headerStyle, pe = X.titleExceedStyle;
38
+ function se(e3) {
40
39
  return h(B, $, e3);
41
40
  }
42
41
  n(() => {
43
- J.$on(U.value + "-scanDone", (e3) => {
44
- U.value, JSON.stringify(e3), ce(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
42
+ N.$on(U.value + "-scanDone", (e3) => {
43
+ se(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
45
44
  }), o(() => {
46
45
  var _a2;
47
46
  const e3 = G.value;
48
- S(e3, L.pageContext, L.configure, { formItemRef: H.value, componentRef: K.value, titleRef: Q.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), ae.value && ((_a2 = Y.value.scan) == null ? void 0 : _a2.autoOpen) && fe();
47
+ S(e3, L.pageContext, L.configure, { formItemRef: H.value, componentRef: K.value, titleRef: Q.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), oe.value && ((_a2 = Y.value.scan) == null ? void 0 : _a2.autoOpen) && ve();
49
48
  });
50
49
  }), a(() => {
51
- J.$off(U.value + "-scanDone");
50
+ N.$off(U.value + "-scanDone");
52
51
  });
53
- const ve = t(false);
54
- function fe() {
55
- if (oe || ee) {
52
+ const ce = t(false);
53
+ function ve() {
54
+ if (ne || ee) {
56
55
  const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
57
- ee && (e3.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(e3), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(e3), "*"));
58
- } else if (A.value) if ("https:" === window.location.protocol) ve.value = true;
56
+ ee && (e3.type = "dingTalkScan"), window.parent.parent ? window.parent.parent.postMessage(JSON.stringify(e3), "*") : window.parent && window.parent.postMessage(JSON.stringify(e3), "*");
57
+ } else if (A.value) if ("https:" === window.location.protocol) ce.value = true;
59
58
  else {
60
59
  const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
61
60
  window.parent.postMessage(JSON.stringify(e3), "*");
62
61
  }
63
- else ve.value = true;
62
+ else ce.value = true;
64
63
  }
65
- function ye(e3) {
66
- ve.value = false, ce(e3);
64
+ function fe(e3) {
65
+ ce.value = false, se(e3);
67
66
  }
68
- return z2({ getValue: function() {
67
+ return J2({ getValue: function() {
69
68
  return b(B, $);
70
- }, setValue: ce, scanClick: fe, addRequiredClass: function() {
71
- W.value = P();
69
+ }, setValue: se, scanClick: ve, addRequiredClass: function() {
70
+ W.value = z();
72
71
  } }), (e3, t2) => {
73
72
  const l2 = i("el-input"), n2 = i("scan-code-input-browser"), o2 = i("el-form-item");
74
- return p(), r(o2, { ref_key: "formItemRef", ref: H, required: !!Y.value.required, class: c(v(re) + (W.value ? " " + W.value : "")), "label-width": Y.value.labelWidth, style: s(v(ie)) }, { label: f(() => [Y.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: Q, style: s({ ...v(pe), ...v(se) }) }, [Y.value.prefixType ? (p(), r(q, { key: 0, pageContext: e3.pageContext, property: Y.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(M)(Y.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: K, disabled: "disabled" === Y.value.state, readonly: "readonly" === Y.value.state, size: Y.value.size, clearable: Y.value.clearable, placeholder: Y.value.placeholder, maxlength: Y.value.maxLength, "show-word-limit": Y.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.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] = (e4) => function(e5) {
73
+ return p(), r(o2, { ref_key: "formItemRef", ref: H, required: !!Y.value.required, class: c(v(ie) + (W.value ? " " + W.value : "")), "label-width": Y.value.labelWidth, style: s(v(ue)) }, { label: f(() => [Y.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: Q, style: s({ ...v(re), ...v(pe) }) }, [Y.value.prefixType ? (p(), r(D, { key: 0, pageContext: e3.pageContext, property: Y.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(P)(Y.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: K, disabled: "disabled" === Y.value.state, readonly: "readonly" === Y.value.state, size: Y.value.size, clearable: Y.value.clearable, placeholder: Y.value.placeholder, maxlength: Y.value.maxLength, "show-word-limit": Y.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.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] = (e4) => function(e5) {
75
74
  let t3 = b(B, $);
76
75
  null != t3 && (t3 = t3.trim()), h(B, $, t3), _(e5, L.pageContext, L.configure, "blur");
77
- }(e4)), 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")), onClear: t2[11] || (t2[11] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "clear")) }, m({ _: 2 }, ["outer" != Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prefix", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "0" } : void 0, "outer" == Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prepend", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "1" } : void 0, "outer" != Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "suffix", fn: f(() => [Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "2" } : void 0, ae.value || "outer" == Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "append", fn: f(() => [ae.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => fe()) })) : g("", true), Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ve.value ? (p(), r(n2, { key: 0, onClose: ye })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
76
+ }(e4)), 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")), onClear: t2[11] || (t2[11] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "clear")) }, m({ _: 2 }, ["outer" != Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prefix", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.preText)), 1)]), key: "0" } : void 0, "outer" == Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prepend", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.preText)), 1)]), key: "1" } : void 0, "outer" != Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "suffix", fn: f(() => [Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.sufText)), 1)]), key: "2" } : void 0, oe.value || "outer" == Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "append", fn: f(() => [oe.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => ve()) })) : g("", true), Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ce.value ? (p(), r(n2, { key: 0, onClose: fe })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
78
77
  };
79
78
  } });
80
79
  export {
81
- z as default
80
+ J as default
82
81
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as u, nextTick as a, resolveComponent as n, createElementBlock as i, createBlock as o, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as x } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as u, nextTick as a, resolveComponent as n, createElementBlock as i, createBlock as o, openBlock as p, normalizeStyle as s, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as x } from "vue";
2
2
  import { getFormModelFields as d } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as m, formatValueByType as h } from "../../../../utils/page-helper-util.js";
4
4
  import { SuperIcon as k } from "agilebuilder-ui";
@@ -7,9 +7,7 @@ import { $t as _ } from "../../../../utils/i18n-util.js";
7
7
  const I = { style: { width: "100%", "text-align": "center", "font-weight": "700", "font-size": "24px", "margin-bottom": "20px" } }, b = { style: { overflow: "hidden", "white-space": "nowrap" } }, V = ["title"], j = e({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: j2 }) {
8
8
  const R = e2, S = R.pageContext.entity ? R.pageContext.entity : {};
9
9
  let P = d(R.pageContext, R.configure);
10
- const q = R.configure.runtime ? R.configure.runtime : {}, O = q.style, z = q.class, D = q.headerStyle, E = q.appendClass, F = q.appendStyle, W = q.titleExceedStyle, A = t(q.props ? q.props : {}), B = t(A.value.options ? A.value.options : []), G = A.value.formatType;
11
- A.value;
12
- const H = l(() => {
10
+ const q = R.configure.runtime ? R.configure.runtime : {}, O = q.style, z = q.class, D = q.headerStyle, E = q.appendClass, F = q.appendStyle, W = q.titleExceedStyle, A = t(q.props ? q.props : {}), B = t(A.value.options ? A.value.options : []), G = A.value.formatType, H = l(() => {
13
11
  let e3 = m(S, P);
14
12
  if (G) if (A.value.hasOptions) {
15
13
  let t2 = null;
@@ -29,7 +27,7 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
29
27
  B.value = e3 || [];
30
28
  } }), (e3, t2) => {
31
29
  const l2 = n("el-form-item");
32
- return A.value.whetherTittle ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: L, class: r(f(z)), style: p(f(O)) }, [c("div", I, v(A.value.title), 1)], 6)) : A.value.tittleShow ? (s(), o(l2, { key: 1, ref_key: "formItemRef", ref: J, required: !!A.value.required, class: r(f(z)), "label-width": A.value.labelWidth, style: p(f(O)) }, { label: y(() => [A.value.tittleShow ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: L, style: p({ ...f(D), ...f(W) }) }, v(f(_)(A.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [A.value.preIconValue || A.value.preText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }), style: p(f(F)) }, [A.value.preIconType && A.value.preIconValue ? (s(), o(f(k), { key: 0, iconType: A.value.preIconType, iconValue: A.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), x(" " + v(f(_)(A.value.preText)), 1)], 6)) : g("", true), x("  " + v(H.value), 1)]), A.value.sufIconValue || A.value.sufText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }) }, [A.value.sufIconType && A.value.sufIconValue ? (s(), o(f(k), { key: 0, style: {}, iconType: A.value.sufIconType, iconValue: A.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(A.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, v(A.value.prefixIcon) + " " + v(H.value), 9, V), A.value.suffixTxt ? (s(), i("span", { key: 0, class: r(f(E)), style: p(f(F)) }, v(A.value.suffixTxt), 7)) : g("", true)]));
30
+ return A.value.whetherTittle ? (p(), i("div", { key: 0, ref_key: "titleRef", ref: L, class: r(f(z)), style: s(f(O)) }, [c("div", I, v(A.value.title), 1)], 6)) : A.value.tittleShow ? (p(), o(l2, { key: 1, ref_key: "formItemRef", ref: J, required: !!A.value.required, class: r(f(z)), "label-width": A.value.labelWidth, style: s(f(O)) }, { label: y(() => [A.value.tittleShow ? (p(), i("div", { key: 0, ref_key: "titleRef", ref: L, style: s({ ...f(D), ...f(W) }) }, v(f(_)(A.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: K, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [A.value.preIconValue || A.value.preText ? (p(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }), style: s(f(F)) }, [A.value.preIconType && A.value.preIconValue ? (p(), o(f(k), { key: 0, iconType: A.value.preIconType, iconValue: A.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), x(" " + v(f(_)(A.value.preText)), 1)], 6)) : g("", true), x("  " + v(H.value), 1)]), A.value.sufIconValue || A.value.sufText ? (p(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != A.value.iconPosition, "el-input-group__append": "outer" == A.value.iconPosition }) }, [A.value.sufIconType && A.value.sufIconValue ? (p(), o(f(k), { key: 0, style: {}, iconType: A.value.sufIconType, iconValue: A.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(A.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (p(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: H.value }, v(A.value.prefixIcon) + " " + v(H.value), 9, V), A.value.suffixTxt ? (p(), i("span", { key: 0, class: r(f(E)), style: s(f(F)) }, v(A.value.suffixTxt), 7)) : g("", true)]));
33
31
  };
34
32
  } });
35
33
  export {
@@ -5,7 +5,6 @@ import { handleAfterInitEvent as k, handleEvent as x } from "../../../../utils/e
5
5
  import { $t as C } from "../../../../utils/i18n-util.js";
6
6
  const _ = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
7
  const _2 = e2, h = y(_2.pageContext, _2.configure), R = _2.configure.runtime ? _2.configure.runtime : {}, j = R.style, w = R.class, I = R.headerStyle, S = t(R.props ? R.props : {});
8
- S.value;
9
8
  let $ = S.value.formatting;
10
9
  const D = _2.pageContext.entity ? _2.pageContext.entity : {}, V = l(() => {
11
10
  let e3 = b(D, h);
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as o, onBeforeUnmount as i, resolveComponent as r, createElementBlock as a, openBlock as u, Fragment as s, createBlock as c, createCommentVNode as p, normalizeStyle as d, normalizeClass as g, unref as m, withCtx as f, createElementVNode as v, toDisplayString as h } from "vue";
1
+ import { defineComponent as e, ref as t, watch as l, onMounted as n, nextTick as i, onBeforeUnmount as o, resolveComponent as a, createElementBlock as r, openBlock as u, Fragment as s, createBlock as c, createCommentVNode as p, normalizeStyle as d, normalizeClass as g, unref as m, withCtx as f, createElementVNode as v, toDisplayString as h } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
3
  import { formatVariableValue as y, setVariableValue as b, getVariableValue as C } from "../../../../utils/page-helper-util.js";
4
4
  import w from "quill";
@@ -40,16 +40,16 @@ const S = { style: { width: "100%", height: "100%" } }, _ = e({ __name: "richtex
40
40
  X.value.push(t2), Y.value = true;
41
41
  }
42
42
  }
43
- function oe(e3) {
43
+ function ie(e3) {
44
44
  const t2 = new FormData();
45
45
  t2.append("file", e3);
46
46
  const l2 = B.pageContext.backendUrl, n2 = R(l2, B.pageContext.isTest);
47
47
  return T.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
48
48
  }
49
- function ie(e3, t2) {
50
- let l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/)[1], o2 = atob(l2[1]), i2 = o2.length, r2 = new Uint8Array(i2);
51
- for (; i2--; ) r2[i2] = o2.charCodeAt(i2);
52
- return new File([r2], t2, { type: n2 });
49
+ function oe(e3, t2) {
50
+ let l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/)[1], i2 = atob(l2[1]), o2 = i2.length, a2 = new Uint8Array(o2);
51
+ for (; o2--; ) a2[o2] = i2.charCodeAt(o2);
52
+ return new File([a2], t2, { type: n2 });
53
53
  }
54
54
  return n(() => {
55
55
  var _a;
@@ -61,16 +61,15 @@ const S = { style: { width: "100%", height: "100%" } }, _ = e({ __name: "richtex
61
61
  if (l3.insert && l3.insert.image) {
62
62
  const e5 = l3.insert.image;
63
63
  if (!e5.startsWith("data:image")) return;
64
- const t4 = ie(e5, "image.png");
65
- await oe(t4).then((t5) => {
64
+ const t4 = oe(e5, "image.png");
65
+ await ie(t4).then((t5) => {
66
66
  if (!J) return;
67
67
  const l4 = J.root.getElementsByTagName("img");
68
68
  if (l4 && l4.length > 0) for (let n3 = 0; n3 < l4.length; n3++) {
69
- const o2 = l4[n3];
70
- o2.src === e5 && (o2.src = t5.url + "&jwt=" + L());
69
+ const i2 = l4[n3];
70
+ i2.src === e5 && (i2.src = t5.url + "&jwt=" + L());
71
71
  }
72
72
  }).catch((e6) => {
73
- console.error(e6, "上传图片失败");
74
73
  });
75
74
  }
76
75
  }
@@ -82,17 +81,17 @@ const S = { style: { width: "100%", height: "100%" } }, _ = e({ __name: "richtex
82
81
  let l2 = e4.height - (t2.top - e4.top);
83
82
  l2 < 100 && (l2 = 100), J.container.style.height = l2 + "px";
84
83
  }
85
- }(), o(() => {
84
+ }(), i(() => {
86
85
  const e4 = C(M, N);
87
86
  k(e4, B.pageContext, B.configure, { formItemRef: Z.value, componentRef: $.value, titleRef: ee.value, value: e4, entity: B.pageContext.entity.data, pageData: B.pageContext.entity.page });
88
87
  });
89
- }), i(() => {
88
+ }), o(() => {
90
89
  G.value && G.value.removeEventListener("focusout", le), te && te.removeEventListener("click", ne);
91
90
  }), _2({ addRequiredClass: function() {
92
91
  H.value = j();
93
92
  } }), (e3, t2) => {
94
- const l2 = r("el-form-item"), n2 = r("el-image-viewer");
95
- return u(), a(s, null, [z.value.tittleShow ? (u(), c(l2, { key: 0, required: z.value.required, class: g(m(F) + (H.value ? " " + H.value : "")), "label-width": z.value.labelWidth, style: d(m(D)) }, { label: f(() => [z.value.tittleShow ? (u(), a("div", { key: 0, style: d({ ...m(U), ...m(W) }) }, h(m(E)(z.value.title)), 5)) : p("", true)]), default: f(() => [v("div", S, [v("div", { ref_key: "quillEditorRef", ref: G, style: { width: "100%" } }, null, 512)])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : p("", true), Y.value ? (u(), c(n2, { key: 1, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
93
+ const l2 = a("el-form-item"), n2 = a("el-image-viewer");
94
+ return u(), r(s, null, [z.value.tittleShow ? (u(), c(l2, { key: 0, required: z.value.required, class: g(m(F) + (H.value ? " " + H.value : "")), "label-width": z.value.labelWidth, style: d(m(D)) }, { label: f(() => [z.value.tittleShow ? (u(), r("div", { key: 0, style: d({ ...m(U), ...m(W) }) }, h(m(E)(z.value.title)), 5)) : p("", true)]), default: f(() => [v("div", S, [v("div", { ref_key: "quillEditorRef", ref: G, style: { width: "100%" } }, null, 512)])]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : p("", true), Y.value ? (u(), c(n2, { key: 1, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
96
95
  Y.value = false;
97
96
  }), "url-list": X.value }, null, 8, ["url-list"])) : p("", true)], 64);
98
97
  };
@@ -7,12 +7,12 @@ import { initPageEvents as f } from "../utils/events/event-util.js";
7
7
  import { setHomeChartInitConfigValue as v } from "../utils/charts/chart-util.js";
8
8
  import { useI18n as C } from "vue-i18n";
9
9
  const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartUuid: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
10
- const { t: b2 } = C(), I = e2, U = t(true), H = t(false), w = t(null);
10
+ const { t: b2 } = C(), I = e2, U = t(true), w = t(false), H = t(null);
11
11
  let x, A = t(null);
12
12
  return I.chartUuid && c.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + I.chartUuid).then((e3) => {
13
13
  var _a, _b;
14
14
  if (e3 && e3.designJson) {
15
- w.value = {};
15
+ H.value = {};
16
16
  const t2 = JSON.parse(e3.designJson);
17
17
  let a2 = window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");
18
18
  if (a2) {
@@ -20,26 +20,26 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
20
20
  e4[I.homeChartSettingUserId] && (t2.chartJson.runtime.headerInfo ? t2.chartJson.runtime.headerInfo.title = e4[I.homeChartSettingUserId] : t2.chartJson.runtime.headerInfo = { textAlign: "center", title: e4[I.homeChartSettingUserId] });
21
21
  }
22
22
  const i2 = window.frameElement;
23
- w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (i2.clientHeight, w.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
23
+ H.value = t2.chartJson, H.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (H.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
24
24
  const n2 = { showHomepageSearch: false, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
25
- if (((_a = w.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = w.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
25
+ if (((_a = H.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = H.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
26
26
  const e4 = n2.entity.page;
27
27
  for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
28
28
  }
29
- t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(w.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
29
+ t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(H.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
30
30
  !function(e4, t3) {
31
31
  if (!t3 || 0 == t3.length) return;
32
32
  e4.initChartData = {}, e4.initChartData.data = h(e4.entity.data), e4.initChartData.page = h(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
33
33
  }(A.value, [t2.initChartServiceConfigs]);
34
34
  }, 200);
35
- } else H.value = true, U.value = false;
35
+ } else w.value = true, U.value = false;
36
36
  }).finally(() => {
37
37
  U.value = false;
38
38
  }), a(() => {
39
39
  x && clearTimeout(x);
40
40
  }), (e3, t2) => {
41
41
  const a2 = i("loading");
42
- return n((o(), r("div", y, [!U.value && w.value ? (o(), s(g, { key: 0, configure: w.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || w.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
42
+ return n((o(), r("div", y, [!U.value && H.value ? (o(), s(g, { key: 0, configure: H.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || H.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
43
43
  };
44
44
  } });
45
45
  export {
@@ -10,7 +10,6 @@ const s = ["src"], d = { key: 1, class: "amb-super-page-runtime-dialog-iframe",
10
10
  const e4 = JSON.parse(JSON.stringify(p.parentPageEventParams));
11
11
  e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(b.value, e4);
12
12
  } catch (e4) {
13
- console.error(e4);
14
13
  }
15
14
  null !== w.value && void 0 !== w.value || (w.value = p.parentPageEventParams.id);
16
15
  }
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, onMounted as a, onUpdated as t, nextTic
2
2
  import y from "./assemblys/object-render.vue.js";
3
3
  import { updateOptionDatasources as h, updateChartDatasources as C } from "../utils/page-helper-util.js";
4
4
  import { queryPageSuperGrids as b, queryPageDesignByCode as j, convertToPageContext as P, packageAdditionalMapWithLocationSearch as k, packageAdditionalMapWithRoute as $, packageAdditionalMapWithPageRequest as x } from "../utils/page-init-util.js";
5
- import { addComponentRef as S, removePageAllRef as D, initComponentRefState as N } from "../utils/global-refs.js";
5
+ import { addComponentRef as D, removePageAllRef as S, initComponentRefState as N } from "../utils/global-refs.js";
6
6
  import { removeCustomFuncFromWindow as q, handleEvent as w, initPageEvents as O, getCustomFunc as R } from "../utils/events/event-util.js";
7
7
  import T from "./assemblys/common/export-form-report-dialog.vue.js";
8
8
  import _ from "./assemblys/common/task-informition-dialog.vue.js";
@@ -25,7 +25,7 @@ import { usePageContextStore as ve } from "../utils/page-store.js";
25
25
  import pe from "agilebuilder-ui/src/store";
26
26
  import me from "./assemblys/common/save-chart-condition-dialog.vue.js";
27
27
  const ge = { class: "app-container runtime-page-container" }, ce = e({ __name: "super-page", props: { pageCode: { type: String, required: false }, pageVersion: { type: Number, required: false }, pageId: { type: Number, required: false }, dataId: { type: Number, required: false }, pageDesign: { type: Object, required: false }, isTest: { type: Boolean, required: false }, dimensions: { type: String, required: false }, publishVersion: { type: Number, required: false }, taskId: { type: Number, required: false }, pageRequest: { type: Object, required: false }, contentHeight: { type: [String, Number], default: null }, isDialog: { type: Boolean, required: false } }, emits: ["open", "opened", "close", "closed"], setup(e2, { expose: ce2, emit: fe }) {
28
- const de = ve(), { t: ye } = Y(), he = e2, Ce = l(null), be = l([]), je = l(""), Pe = l({}), ke = l(null), $e = l(null), xe = l(false), Se = l(false), De = l(false), Ne = l(false), qe = l(false), we = l(null), Oe = l(false), Re = l([]), Te = l([]), _e = l(false), Ie = l(null), Me = l(false), Fe = l(false), Ve = l(null), Ee = l(null), Be = l(null), Je = l(null);
28
+ const de = ve(), { t: ye } = Y(), he = e2, Ce = l(null), be = l([]), je = l(""), Pe = l({}), ke = l(null), $e = l(null), xe = l(false), De = l(false), Se = l(false), Ne = l(false), qe = l(false), we = l(null), Oe = l(false), Re = l([]), Te = l([]), _e = l(false), Ie = l(null), Me = l(false), Fe = l(false), Ve = l(null), Ee = l(null), Be = l(null), Je = l(null);
29
29
  let We = l(null);
30
30
  const Le = l(null), Ue = l(null), Ge = ae(), He = l(0), ze = re();
31
31
  let Ae, Ke, Qe;
@@ -41,7 +41,7 @@ const ge = { class: "app-container runtime-page-container" }, ce = e({ __name: "
41
41
  a3 && a3.length > 0 && h(e4, a3, void 0);
42
42
  }(We.value, e3.initOptionConfigs);
43
43
  }, 0), Ke = setTimeout(() => {
44
- e3.initChartServiceConfigs, function(e4, l3) {
44
+ !function(e4, l3) {
45
45
  if (!l3 || 0 == l3.length) return;
46
46
  e4.initChartData = {}, e4.initChartData.data = ie(e4.entity.data), e4.initChartData.page = ie(e4.entity.page), l3 && l3.length > 0 && C(e4, l3, null, true);
47
47
  }(We.value, e3.initChartServiceConfigs);
@@ -58,9 +58,9 @@ const ge = { class: "app-container runtime-page-container" }, ce = e({ __name: "
58
58
  }), M.$on(we.value + "assign-task", (e4) => {
59
59
  $e.value = e4, Ne.value = true, qe.value = false;
60
60
  }), M.$on(we.value + "copy-task", (e4) => {
61
- $e.value = e4, De.value = true, qe.value = true;
62
- }), M.$on(we.value + "add-signer", (e4) => {
63
61
  $e.value = e4, Se.value = true, qe.value = true;
62
+ }), M.$on(we.value + "add-signer", (e4) => {
63
+ $e.value = e4, De.value = true, qe.value = true;
64
64
  }), M.$on(we.value + "choose-return-node", (e4) => {
65
65
  $e.value = e4, F(e4).then((e5) => {
66
66
  Re.value = e5, Oe.value = true;
@@ -85,7 +85,6 @@ const ge = { class: "app-container runtime-page-container" }, ce = e({ __name: "
85
85
  if (a5 && a5.jumpPageUrl) {
86
86
  false !== a5.isNewPage && true !== a5.isNewPage && (a5.isNewPage = true);
87
87
  const e6 = Q(We), u3 = !!((_a2 = Be.value.props.linkPage) == null ? void 0 : _a2.isNeedId);
88
- Be.value;
89
88
  let n2 = u3 && l4 ? l4.id : null, o2 = u3 && l4 ? l4.ids : null, i2 = l4 ? l4.selections : [], s2 = l4 ? l4.row : null;
90
89
  if (!s2) if (s2 = {}, i2 && i2.length > 0) s2 = i2[0];
91
90
  else {
@@ -118,7 +117,7 @@ const ge = { class: "app-container runtime-page-container" }, ce = e({ __name: "
118
117
  }).catch(() => {
119
118
  t5(true);
120
119
  });
121
- } else X({ showClose: true, type: "error", message: ye("superPageRuntimeMessage.popMsg") }), console.error("弹框参数缺少customSystem参数,parentPageContext.value.systemCode={}", Ee.value.systemCode), t5(false);
120
+ } else X({ showClose: true, type: "error", message: ye("superPageRuntimeMessage.popMsg") }), t5(false);
122
121
  else t5(true);
123
122
  });
124
123
  })(n2, u2).then((l4) => {
@@ -130,7 +129,7 @@ const ge = { class: "app-container runtime-page-container" }, ce = e({ __name: "
130
129
  }(e7);
131
130
  });
132
131
  }
133
- } else console.error("页面配置信息不存在");
132
+ }
134
133
  });
135
134
  }), M.$on(we.value + "save-chart-condition", (e4) => {
136
135
  Xe.value = true;
@@ -178,14 +177,14 @@ const ge = { class: "app-container runtime-page-container" }, ce = e({ __name: "
178
177
  });
179
178
  }), t(() => {
180
179
  u(() => {
181
- We.value && Ce.value && S(We.value, "-1", Ce);
180
+ We.value && Ce.value && D(We.value, "-1", Ce);
182
181
  });
183
182
  }), n(() => {
184
- D(We.value), ke.value && q(ke.value), M.$off(we.value + "export-form-report"), M.$off(we.value + "export-pdf-report"), M.$off(we.value + "import-file"), M.$off(we.value + "assign-task"), M.$off(we.value + "copy-task"), M.$off(we.value + "add-signer"), M.$off(we.value + "choose-return-node"), M.$off(we.value + "remove-signer"), M.$off(we.value + "prohibit-edit"), M.$off(we.value + "open-dialog"), M.$off(we.value + "save-chart-condition"), M.$off("pageLoaded"), We.value && w(null, We.value, We.value, "onUnmounted"), Ae && clearTimeout(Ae), Ke && clearTimeout(Ke), Qe && clearTimeout(Qe);
183
+ S(We.value), ke.value && q(ke.value), M.$off(we.value + "export-form-report"), M.$off(we.value + "export-pdf-report"), M.$off(we.value + "import-file"), M.$off(we.value + "assign-task"), M.$off(we.value + "copy-task"), M.$off(we.value + "add-signer"), M.$off(we.value + "choose-return-node"), M.$off(we.value + "remove-signer"), M.$off(we.value + "prohibit-edit"), M.$off(we.value + "open-dialog"), M.$off(we.value + "save-chart-condition"), M.$off("pageLoaded"), We.value && w(null, We.value, We.value, "onUnmounted"), Ae && clearTimeout(Ae), Ke && clearTimeout(Ke), Qe && clearTimeout(Qe);
185
184
  });
186
185
  const nl = l(null);
187
186
  function ol(e3) {
188
- true === Se.value && (Se.value = false, W($e.value, e3)), true === De.value && (De.value = false, L($e.value, e3)), true === Ne.value && (Ne.value = false, U($e.value, e3));
187
+ true === De.value && (De.value = false, W($e.value, e3)), true === Se.value && (Se.value = false, L($e.value, e3)), true === Ne.value && (Ne.value = false, U($e.value, e3));
189
188
  }
190
189
  function il(e3) {
191
190
  Re.value = [], Oe.value = false, G($e.value, e3);
@@ -245,7 +244,7 @@ const ge = { class: "app-container runtime-page-container" }, ce = e({ __name: "
245
244
  const e5 = nl.value.files[0];
246
245
  e5 ? (nl.value.value = null, J($e.value, e5)) : X({ showClose: true, type: "warning", message: ye("superPageRuntimeMessage.noFileSelected") });
247
246
  }
248
- }()) }, null, 544), Se.value || De.value || Ne.value ? (i(), p(f(Z), { key: 1, width: "60%", multiple: qe.value, onClose: ol }, null, 8, ["multiple"])) : s("", true), Oe.value ? (i(), p(_, { key: 2, "task-informitions": Re.value, onClose: l2[1] || (l2[1] = (e4) => Oe.value = false), onResult: il }, null, 8, ["task-informitions"])) : s("", true), _e.value ? (i(), p(I, { key: 3, "task-id": Ie.value, "active-tasks": Te.value, onClose: l2[2] || (l2[2] = (e4) => _e.value = false), onResult: sl }, null, 8, ["task-id", "active-tasks"])) : s("", true), Fe.value ? (i(), p(le, { key: 4, parentPageContext: Ee.value, parentPageEventParams: Je.value, jumpPageSetting: Ve.value, onClose: l2[3] || (l2[3] = (e4) => vl()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : s("", true), Xe.value ? (i(), p(me, { key: 5, ref_key: "chartCondtionRef", ref: Ye, pageContext: f(We), onClose: l2[4] || (l2[4] = (e4) => Xe.value = false), onSave: pl, onConfirm: ml }, null, 8, ["pageContext"])) : s("", true)], 6)) : s("", true)]));
247
+ }()) }, null, 544), De.value || Se.value || Ne.value ? (i(), p(f(Z), { key: 1, width: "60%", multiple: qe.value, onClose: ol }, null, 8, ["multiple"])) : s("", true), Oe.value ? (i(), p(_, { key: 2, "task-informitions": Re.value, onClose: l2[1] || (l2[1] = (e4) => Oe.value = false), onResult: il }, null, 8, ["task-informitions"])) : s("", true), _e.value ? (i(), p(I, { key: 3, "task-id": Ie.value, "active-tasks": Te.value, onClose: l2[2] || (l2[2] = (e4) => _e.value = false), onResult: sl }, null, 8, ["task-id", "active-tasks"])) : s("", true), Fe.value ? (i(), p(le, { key: 4, parentPageContext: Ee.value, parentPageEventParams: Je.value, jumpPageSetting: Ve.value, onClose: l2[3] || (l2[3] = (e4) => vl()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : s("", true), Xe.value ? (i(), p(me, { key: 5, ref_key: "chartCondtionRef", ref: Ye, pageContext: f(We), onClose: l2[4] || (l2[4] = (e4) => Xe.value = false), onSave: pl, onConfirm: ml }, null, 8, ["pageContext"])) : s("", true)], 6)) : s("", true)]));
249
248
  } });
250
249
  export {
251
250
  ce as default
package/dist/es/style.css CHANGED
@@ -552,31 +552,31 @@
552
552
 
553
553
 
554
554
 
555
- .amb-chart-container[data-v-5b4e8687] {
555
+ .amb-chart-container[data-v-e1cf60d6] {
556
556
  display: flex;
557
557
  flex-direction: column;
558
558
  height: 100%;
559
559
  }
560
560
 
561
- .amb-chart-container[data-v-961b3d1c] {
561
+ .amb-chart-container[data-v-17d626a7] {
562
562
  display: flex;
563
563
  flex-direction: column;
564
564
  height: 100%;
565
565
  }
566
566
 
567
- .amb-chart-container[data-v-8d392d9f] {
567
+ .amb-chart-container[data-v-807f72b1] {
568
568
  display: flex;
569
569
  flex-direction: column;
570
570
  height: 100%;
571
571
  }
572
572
 
573
- .amb-chart-container[data-v-f50eeed9] {
573
+ .amb-chart-container[data-v-a4e2d500] {
574
574
  display: flex;
575
575
  flex-direction: column;
576
576
  height: 100%;
577
577
  }
578
578
 
579
- .amb-chart-container[data-v-e08919a0] {
579
+ .amb-chart-container[data-v-a924cb6f] {
580
580
  display: flex;
581
581
  flex-direction: column;
582
582
  height: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.3.10",
3
+ "version": "2.3.12-sit1",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -48,7 +48,7 @@
48
48
  "@vitejs/plugin-vue-jsx": "^3.1.0",
49
49
  "@vue/eslint-config-prettier": "^8.0.0",
50
50
  "@vue/test-utils": "^2.4.4",
51
- "agilebuilder-ui": "1.1.47",
51
+ "agilebuilder-ui": "1.1.50-sit1",
52
52
  "axios": "^1.6.8",
53
53
  "cypress": "^13.6.6",
54
54
  "element-plus": "^2.6.1",
package/dist/es.zip DELETED
Binary file