super-page-runtime 2.3.33 → 2.3.34

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 (43) hide show
  1. package/dist/es/components/runtime/utils/barcode-util.js +5 -5
  2. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +46 -47
  3. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +1 -3
  4. package/dist/es/components/runtime/utils/charts/chart-util.js +44 -46
  5. package/dist/es/components/runtime/utils/events/event-util.js +18 -18
  6. package/dist/es/components/runtime/utils/events/print-label.js +0 -1
  7. package/dist/es/components/runtime/utils/events/standard-event.js +708 -720
  8. package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
  9. package/dist/es/components/runtime/utils/form/scan-util.js +3 -4
  10. package/dist/es/components/runtime/utils/page-helper-util.js +219 -219
  11. package/dist/es/components/runtime/utils/page-init-util.js +124 -127
  12. package/dist/es/components/runtime/utils/page-store.js +21 -21
  13. package/dist/es/components/runtime/utils/table-utils.js +4 -4
  14. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +10 -14
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +3 -3
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -6
  17. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +12 -13
  18. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +14 -15
  19. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +14 -15
  20. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +15 -16
  21. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +67 -67
  22. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +22 -24
  23. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +1 -1
  24. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +62 -62
  25. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +20 -22
  26. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +117 -120
  27. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +39 -40
  28. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -1
  29. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +26 -26
  30. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +7 -7
  31. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +52 -52
  32. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -6
  33. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
  34. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -1
  35. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +13 -13
  36. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +17 -17
  37. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +5 -5
  38. package/dist/es/components/runtime/views/home-chart.vue.js +4 -4
  39. package/dist/es/components/runtime/views/super-page-dialog.vue.js +4 -4
  40. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  41. package/dist/es/components/runtime/views/super-page.vue2.js +182 -182
  42. package/dist/es/style.css +76 -76
  43. package/package.json +2 -2
@@ -1,11 +1,11 @@
1
- import { defineComponent as e, ref as l, computed as t, watch as o, onUnmounted as a, onMounted as n, nextTick as i, resolveComponent as r, createBlock as u, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as f, withCtx as v, createVNode as g, createElementVNode as m, withKeys as d, withModifiers as y, createCommentVNode as h, createElementBlock as b, Fragment as x, renderList as C, toDisplayString as _, createTextVNode as w } from "vue";
1
+ import { defineComponent as e, ref as l, computed as t, watch as o, onUnmounted as a, onMounted as i, nextTick as n, resolveComponent as r, createBlock as u, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as f, withCtx as v, createVNode as g, createElementVNode as m, withKeys as d, withModifiers as y, createCommentVNode as h, createElementBlock as b, Fragment as x, renderList as C, toDisplayString as _, createTextVNode as w } from "vue";
2
2
  import { setVariableValue as S, getOptionDatasFromPage as k, queryOptionDatasources as A, autoSetAfterSelect as T, getVariableValue as j } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields as R } from "../../../../utils/page-init-util.js";
4
4
  import { handleFormEvent as P, handleAfterInitEvent as V } from "../../../../utils/events/event-util.js";
5
5
  import M from "../common/title-suffix-element.vue.js";
6
- import { $t as q } from "../../../../utils/i18n-util.js";
7
- import { addRequiredClassUtil as D } from "../../../../utils/common-util.js";
8
- import { CopyDocument as I } from "@element-plus/icons-vue";
6
+ import { $t as D } from "../../../../utils/i18n-util.js";
7
+ import { addRequiredClassUtil as I } from "../../../../utils/common-util.js";
8
+ import { CopyDocument as q } from "@element-plus/icons-vue";
9
9
  import z from "clipboard";
10
10
  import { ElMessage as E } from "element-plus";
11
11
  import { useI18n as O } from "vue-i18n";
@@ -13,7 +13,7 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%", di
13
13
  const { t: H } = O(), J = e2, N = l(null), Q = l(false), X = J.pageContext.entity ? J.pageContext.entity : {};
14
14
  let Y = R(J.pageContext, J.configure);
15
15
  const Z = J.configure.runtime ? J.configure.runtime : {}, ee = Z.style, le = Z.class, te = Z.headerStyle, oe = Z.titleExceedStyle, ae = l(Z.props ? Z.props : {});
16
- let ne = l(ae.value.optionDescriptionPosition && "default" !== ae.value.optionDescriptionPosition), ie = [];
16
+ let ie = l(ae.value.optionDescriptionPosition && "default" !== ae.value.optionDescriptionPosition), ne = [];
17
17
  const re = "copyBtn_" + J.configure.uuid + "_" + (/* @__PURE__ */ new Date()).getTime();
18
18
  function ue() {
19
19
  let e3 = j(X, Y);
@@ -21,7 +21,7 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%", di
21
21
  }
22
22
  const se = t({ get: () => ue(), set(e3) {
23
23
  const l2 = ue();
24
- ie = Array.isArray(l2) ? [...l2] : l2;
24
+ ne = Array.isArray(l2) ? [...l2] : l2;
25
25
  let t2 = e3;
26
26
  if (ae.value.multiple && false !== ae.value.showSelectAll && Array.isArray(e3) && e3.includes(U)) {
27
27
  const e4 = (pe.value || []).map((e5) => String(e5.value)), o2 = Array.isArray(l2) ? l2.map((e5) => String(e5)) : [];
@@ -40,10 +40,10 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%", di
40
40
  if ("remote" == ve.filterType) {
41
41
  let e3;
42
42
  ae.value.filterable = true, ae.value.remote = true, ae.value.remoteShowSuffix = true, ae.value.remoteMethod = function(l2) {
43
- e3 !== l2 && (e3 = l2, fe.value = true, console.log("query", l2), A(J.pageContext, de, l2).then((e4) => {
43
+ e3 !== l2 && (e3 = l2, fe.value = true, A(J.pageContext, de, l2).then((e4) => {
44
44
  fe.value = false;
45
45
  }).then((e4) => {
46
- console.log("查询失败!", e4), fe.value = false;
46
+ fe.value = false;
47
47
  }));
48
48
  };
49
49
  }
@@ -57,7 +57,7 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%", di
57
57
  t2 && t2.length > 0 && (l2 = t2[0]);
58
58
  let o2 = {};
59
59
  l2 && (o2.extendParams = l2);
60
- o2.options = pe.value, o2.oldValue = ie, P(e3, J.pageContext, J.configure, "change", o2);
60
+ o2.options = pe.value, o2.oldValue = ne, P(e3, J.pageContext, J.configure, "change", o2);
61
61
  };
62
62
  const ye = ae.value.monitorFields, he = [];
63
63
  if (ye) {
@@ -80,7 +80,7 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%", di
80
80
  return e4.join(",");
81
81
  }();
82
82
  e3 != be && (be = e3, de.watchAttrValue = e3, A(J.pageContext, de, void 0).then((e4) => {
83
- console.log("查询失败!", e4), fe.value = false;
83
+ fe.value = false;
84
84
  }));
85
85
  }, 200);
86
86
  }
@@ -111,15 +111,15 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%", di
111
111
  E({ showClose: true, type: "success", message: H("superPageRuntimeMessage.copySuccess") });
112
112
  });
113
113
  }
114
- return n(() => {
114
+ return i(() => {
115
115
  const e3 = new z("#" + re, { text: function() {
116
116
  return Ae();
117
117
  } });
118
118
  e3.on("success", () => {
119
- console.log("复制成功"), E({ showClose: true, type: "success", message: H("superPageRuntimeMessage.copySuccess") });
119
+ E({ showClose: true, type: "success", message: H("superPageRuntimeMessage.copySuccess") });
120
120
  }), e3.on("error", (e4) => {
121
121
  console.error("复制失败", e4);
122
- }), i(() => {
122
+ }), n(() => {
123
123
  const e4 = se.value;
124
124
  V(e4, J.pageContext, J.configure, { formItemRef: we.value, componentRef: Se.value, titleRef: ke.value, value: e4, entity: J.pageContext.entity.data, pageData: J.pageContext.entity.page });
125
125
  });
@@ -142,13 +142,13 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%", di
142
142
  }
143
143
  _e = true;
144
144
  }, addRequiredClass: function() {
145
- N.value = D();
145
+ N.value = I();
146
146
  }, getSelectItemsTitle: Ae, getOptions: function() {
147
147
  return pe.value;
148
148
  } }), (l2, t2) => {
149
- const o2 = r("el-icon"), a2 = r("el-option"), n2 = r("el-select"), i2 = r("el-popover"), S2 = r("el-form-item");
150
- return s(), u(S2, { ref_key: "formItemRef", ref: we, required: !!ae.value.required, class: c(f(le) + (N.value ? " " + N.value : "")), "label-width": ae.value.labelWidth, style: p(f(ee)) }, { label: v(() => [ae.value.tittleShow ? (s(), b("div", { key: 0, ref_key: "titleRef", ref: ke, style: p({ ...f(te), ...f(oe) }) }, [ae.value.prefixType ? (s(), u(M, { key: 0, pageContext: e2.pageContext, property: ae.value }, null, 8, ["pageContext", "property"])) : (s(), b(x, { key: 1 }, [w(_(f(q)(ae.value.title)), 1)], 64))], 4)) : h("", true)]), default: v(() => [g(i2, { placement: "right", trigger: "hover", width: 50, "popper-class": "custom-sel-copy-tooltip", "popper-options": { modifiers: [{ name: "flip", options: { fallbackPlacements: ["left", "top", "bottom"] } }] } }, { reference: v(() => [m("div", B, [g(n2, { ref_key: "componentRef", ref: Se, style: { flex: "1", "min-width": "0" }, disabled: "disabled" === ae.value.state, size: ae.value.size, clearable: ae.value.clearable, multiple: ae.value.multiple, "collapse-tags": ae.value.collapseTags, "collapse-tags-tooltip": ae.value.collapseTagsTooltip, filterable: ae.value.filterable, "allow-create": ae.value.allowCreate, placeholder: ae.value.placeholder, "remote-show-suffix": ae.value.remoteShowSuffix, remote: ae.value.remote, "remote-method": ae.value.remoteMethod, loading: fe.value, onKeydown: t2[0] || (t2[0] = d(y(() => {
151
- }, ["stop"]), ["space"])), onChange: ae.value.changeMethod, onClear: ae.value.changeMethod, onVisibleChange: Te, modelValue: se.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => se.value = e3) }, { prefix: v(() => [m("span", { class: "mobile-copy-trigger", onClick: y(je, ["stop"]) }, [g(o2, { style: { cursor: "copy" } }, { default: v(() => [g(f(I))]), _: 1 })])]), default: v(() => [ae.value.multiple && false !== ae.value.showSelectAll ? (s(), u(a2, { key: 0, label: f(H)("superGrid.selectAll"), value: U, disabled: !(pe.value && pe.value.length > 0) }, null, 8, ["label", "disabled"])) : h("", true), (s(true), b(x, null, C(pe.value, (l3) => (s(), u(a2, { key: l3.value, label: l3.label, value: l3.value, class: c({ "option-description-newLine": f(ne) }), onClick: (t3) => f(P)(l3.value, e2.pageContext, e2.configure, "click", { values: se.value }) }, { default: v(() => [l3._description_ ? (s(), b(x, { key: 0 }, [f(ne) ? (s(), b("div", F, [m("span", null, _(l3.label), 1), m("span", G, _(l3._description_), 1)])) : (s(), b(x, { key: 1 }, [m("span", K, _(l3.label), 1), m("span", L, _(l3._description_), 1)], 64))], 64)) : h("", true)]), _: 2 }, 1032, ["label", "value", "class", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: v(() => [m("span", W, [g(o2, { id: re, style: { cursor: "copy" } }, { default: v(() => [g(f(I))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
149
+ const o2 = r("el-icon"), a2 = r("el-option"), i2 = r("el-select"), n2 = r("el-popover"), S2 = r("el-form-item");
150
+ return s(), u(S2, { ref_key: "formItemRef", ref: we, required: !!ae.value.required, class: c(f(le) + (N.value ? " " + N.value : "")), "label-width": ae.value.labelWidth, style: p(f(ee)) }, { label: v(() => [ae.value.tittleShow ? (s(), b("div", { key: 0, ref_key: "titleRef", ref: ke, style: p({ ...f(te), ...f(oe) }) }, [ae.value.prefixType ? (s(), u(M, { key: 0, pageContext: e2.pageContext, property: ae.value }, null, 8, ["pageContext", "property"])) : (s(), b(x, { key: 1 }, [w(_(f(D)(ae.value.title)), 1)], 64))], 4)) : h("", true)]), default: v(() => [g(n2, { placement: "right", trigger: "hover", width: 50, "popper-class": "custom-sel-copy-tooltip", "popper-options": { modifiers: [{ name: "flip", options: { fallbackPlacements: ["left", "top", "bottom"] } }] } }, { reference: v(() => [m("div", B, [g(i2, { ref_key: "componentRef", ref: Se, style: { flex: "1", "min-width": "0" }, disabled: "disabled" === ae.value.state, size: ae.value.size, clearable: ae.value.clearable, multiple: ae.value.multiple, "collapse-tags": ae.value.collapseTags, "collapse-tags-tooltip": ae.value.collapseTagsTooltip, filterable: ae.value.filterable, "allow-create": ae.value.allowCreate, placeholder: ae.value.placeholder, "remote-show-suffix": ae.value.remoteShowSuffix, remote: ae.value.remote, "remote-method": ae.value.remoteMethod, loading: fe.value, onKeydown: t2[0] || (t2[0] = d(y(() => {
151
+ }, ["stop"]), ["space"])), onChange: ae.value.changeMethod, onClear: ae.value.changeMethod, onVisibleChange: Te, modelValue: se.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => se.value = e3) }, { prefix: v(() => [m("span", { class: "mobile-copy-trigger", onClick: y(je, ["stop"]) }, [g(o2, { style: { cursor: "copy" } }, { default: v(() => [g(f(q))]), _: 1 })])]), default: v(() => [ae.value.multiple && false !== ae.value.showSelectAll ? (s(), u(a2, { key: 0, label: f(H)("superGrid.selectAll"), value: U, disabled: !(pe.value && pe.value.length > 0) }, null, 8, ["label", "disabled"])) : h("", true), (s(true), b(x, null, C(pe.value, (l3) => (s(), u(a2, { key: l3.value, label: l3.label, value: l3.value, class: c({ "option-description-newLine": f(ie) }), onClick: (t3) => f(P)(l3.value, e2.pageContext, e2.configure, "click", { values: se.value }) }, { default: v(() => [l3._description_ ? (s(), b(x, { key: 0 }, [f(ie) ? (s(), b("div", F, [m("span", null, _(l3.label), 1), m("span", G, _(l3._description_), 1)])) : (s(), b(x, { key: 1 }, [m("span", K, _(l3.label), 1), m("span", L, _(l3._description_), 1)], 64))], 64)) : h("", true)]), _: 2 }, 1032, ["label", "value", "class", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: v(() => [m("span", W, [g(o2, { id: re, style: { cursor: "copy" } }, { default: v(() => [g(f(q))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
152
152
  };
153
153
  } });
154
154
  export {
@@ -5,7 +5,7 @@ import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js
5
5
  import { addComponentRef as h, addComponentRefByCode as x } from "../../utils/global-refs.js";
6
6
  import { getPermissionCodes as y, packageFormRules as w, controlObjectRenderState as j } from "../../utils/page-init-util.js";
7
7
  import { caculateShowCondition as M, getFormPropName as _, getSizeConfig as A } from "../../utils/page-helper-util.js";
8
- import { isWorkflowPage as H, getPropClassName as T, isNumber as $ } from "../../utils/common-util.js";
8
+ import { isWorkflowPage as T, getPropClassName as $, isNumber as H } from "../../utils/common-util.js";
9
9
  import { isShowMobileEvent as N, isShowComponent as O } from "../../utils/events/event-util.js";
10
10
  import { usePageContextStore as P } from "../../utils/page-store.js";
11
11
  import { isHasFieldAuth as S } from "../../utils/table-utils.js";
@@ -39,7 +39,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
39
39
  const e4 = F2.configure.props.base.editConditions;
40
40
  if (e4.length > 0) {
41
41
  const o2 = F2.configure.runtime ? F2.configure.runtime : {}, n2 = o2.props ? o2.props : {};
42
- if (n2.rawSate = n2.state, H(F2.pageContext) && F2.pageContext.fieldPermissionMap) {
42
+ if (n2.rawSate = n2.state, T(F2.pageContext) && F2.pageContext.fieldPermissionMap) {
43
43
  const e5 = F2.configure.props.base;
44
44
  if (e5 && e5.prop) {
45
45
  let o3 = e5.prop;
@@ -60,7 +60,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
60
60
  z.value = n(v(F2.configure.name));
61
61
  const G = o(true);
62
62
  null == z.value && (z.value = C, G.value = false);
63
- const I = o(null), K = o({}), Q = o(""), U = T(F2.configure);
63
+ const I = o(null), K = o({}), Q = o(""), U = $(F2.configure);
64
64
  U && (Q.value = U);
65
65
  const V = F2.configure.runtime && F2.configure.runtime.common ? F2.configure.runtime.common : {};
66
66
  if (V.class && (Q.value += " " + V.class), V.style) {
@@ -119,7 +119,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
119
119
  if (!e3 || !o2) return;
120
120
  const t2 = e3.getBoundingClientRect();
121
121
  let n2 = window.innerHeight - t2.y - 30;
122
- console.log("contentHeight=", window.innerHeight, t2.y);
122
+ window.innerHeight, t2.y;
123
123
  let i2 = n2 + "";
124
124
  if ("tabs" === F2.configure.name && F2.pageContext.isDialog && !R()) {
125
125
  const o3 = e3.closest(".runtime-page-container");
@@ -127,7 +127,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
127
127
  const e4 = o3.getBoundingClientRect(), s2 = t2.y - e4.y;
128
128
  n2 = e4.height - s2 - 30, i2 = n2 + "px";
129
129
  }
130
- } else $(n2) && (i2 = n2 + "px");
130
+ } else H(n2) && (i2 = n2 + "px");
131
131
  K.value.height = i2, K.value["overflow-y"] = "auto", K.value["overflow-x"] = "hidden", F2.configure.sytle || (F2.configure.sytle = {}), F2.configure.sytle._heightStyle = i2;
132
132
  }
133
133
  i(() => {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onUnmounted as a, resolveDirective as i, withDirectives as n, createElementBlock as o, openBlock as r, createBlock as s, createCommentVNode as l, unref as u, toDisplayString as m } from "vue";
1
+ import { defineComponent as e, ref as t, onUnmounted as a, resolveDirective as i, withDirectives as n, createElementBlock as r, openBlock as o, createBlock as s, createCommentVNode as l, unref as u, toDisplayString as m } from "vue";
2
2
  import { deepCopy as h } from "../utils/common-util.js";
3
3
  import g from "./assemblys/home-chart-render.vue.js";
4
4
  import c from "agilebuilder-ui/src/utils/request";
@@ -20,7 +20,7 @@ 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 && (console.log(i2.clientHeight + "iframeElement.clientHeight"), w.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
23
+ w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (i2.clientHeight, w.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
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) {
26
26
  const e4 = n2.entity.page;
@@ -28,7 +28,7 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
28
28
  }
29
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(() => {
30
30
  !function(e4, t3) {
31
- if (!t3 || 0 == t3.length) return void console.log("无需要初始化时统计的统计图数据");
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);
@@ -39,7 +39,7 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
39
39
  x && clearTimeout(x);
40
40
  }), (e3, t2) => {
41
41
  const a2 = i("loading");
42
- return n((r(), o("div", y, [!U.value && w.value ? (r(), s(g, { key: 0, configure: w.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || w.value ? l("", true) : (r(), o("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
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]]);
43
43
  };
44
44
  } });
45
45
  export {
@@ -1,9 +1,9 @@
1
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
2
  import i from "./super-page.vue.js";
3
- const s = ["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 v = e2, p = g2, m = a(true), c = v.jumpPageSetting ? v.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), w = a(null), b = a(null), C = a(null), j = a({}), y = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), x = a(null), S = a(true), V = a(false), M = a(true), T = a(false);
3
+ const d = ["src"], s = ["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 v = e2, p = g2, m = a(true), c = v.jumpPageSetting ? v.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), w = a(null), b = a(null), C = a(null), j = a({}), y = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), x = a(null), V = a(true), M = a(false), S = a(true), T = a(false);
5
5
  if (c) {
6
- S.value = (c == null ? void 0 : c.alignCenter) ?? true, V.value = (c == null ? void 0 : c.fullscreen) ?? false, console.log("弹出页面myJumpPageSetting=", c), _.value = !(!c || void 0 === c._isIframe) && c._isIframe, x.value = c && c._path ? c._path : null, C.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" === C.value ? "calc(100% - 30px)" : "100%", M.value = c == null ? void 0 : c.showDialogModal, false === M.value ? T.value = c == null ? void 0 : c.dialogModalPenetrable : null !== M.value && void 0 !== M.value || true === (c == null ? void 0 : c.dialogModalPenetrable) && (T.value = true, M.value = false), I.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, w.value = c && c.dataId ? c.dataId : null, b.value = c && c.taskId ? c.taskId : null;
6
+ V.value = (c == null ? void 0 : c.alignCenter) ?? true, M.value = (c == null ? void 0 : c.fullscreen) ?? false, _.value = !(!c || void 0 === c._isIframe) && c._isIframe, x.value = c && c._path ? c._path : null, C.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" === C.value ? "calc(100% - 30px)" : "100%", S.value = c == null ? void 0 : c.showDialogModal, false === S.value ? T.value = c == null ? void 0 : c.dialogModalPenetrable : null !== S.value && void 0 !== S.value || true === (c == null ? void 0 : c.dialogModalPenetrable) && (T.value = true, S.value = false), I.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, w.value = c && c.dataId ? c.dataId : null, b.value = c && c.taskId ? c.taskId : null;
7
7
  const e3 = !!c.isNeedId;
8
8
  if (v.parentPageEventParams) {
9
9
  try {
@@ -18,7 +18,7 @@ const s = ["src"], d = ["src"], g = e({ __name: "super-page-dialog", props: { pa
18
18
  }
19
19
  return (e3, a2) => {
20
20
  const g3 = l("el-drawer"), v2 = l("el-dialog");
21
- return C.value && "drawer" === C.value ? (t(), u(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 amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => p("open")), onOpened: a2[2] || (a2[2] = (e4) => p("opened")), onClose: a2[3] || (a2[3] = (e4) => p("close")), onClosed: a2[4] || (a2[4] = (e4) => p("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, pageCode: h.value, pageRequest: j.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (t(), o("iframe", { key: 1, src: x.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(v2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, modal: M.value, "modal-penetrable": T.value, fullscreen: V.value, alignCenter: S.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) => p("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, style: { "min-height": "100px" }, pageCode: h.value, pageRequest: j.value, contentHeight: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (t(), o("iframe", { key: 1, src: x.value, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, d)) : r("", true)]), _: 1 }, 8, ["title", "width", "modal", "modal-penetrable", "fullscreen", "alignCenter", "draggable", "overflow"]));
21
+ return C.value && "drawer" === C.value ? (t(), u(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 amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => p("open")), onOpened: a2[2] || (a2[2] = (e4) => p("opened")), onClose: a2[3] || (a2[3] = (e4) => p("close")), onClosed: a2[4] || (a2[4] = (e4) => p("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, pageCode: h.value, pageRequest: j.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (t(), o("iframe", { key: 1, src: x.value, class: "amb-super-page-runtime-drawer-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, d)) : r("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (t(), u(v2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, modal: S.value, "modal-penetrable": T.value, fullscreen: M.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) => p("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, style: { "min-height": "100px" }, pageCode: h.value, pageRequest: j.value, contentHeight: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (t(), o("iframe", { key: 1, src: x.value, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, s)) : r("", true)]), _: 1 }, 8, ["title", "width", "modal", "modal-penetrable", "fullscreen", "alignCenter", "draggable", "overflow"]));
22
22
  };
23
23
  } });
24
24
  export {
@@ -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-5ceba9a1"]]);
4
+ const r = p(e, [["__scopeId", "data-v-cb2ecdaa"]]);
5
5
  export {
6
6
  r as default
7
7
  };