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
@@ -54,7 +54,7 @@ const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 },
54
54
  }
55
55
  return [window];
56
56
  })();
57
- console.log("检测父级滚动节点", e3), b.value = e3, T.value = e3[0], b.value.forEach((e4) => e4.addEventListener("scroll", z)), window.addEventListener("resize", L), S();
57
+ b.value = e3, T.value = e3[0], b.value.forEach((e4) => e4.addEventListener("scroll", z)), window.addEventListener("resize", L), S();
58
58
  } catch (e3) {
59
59
  console.error(e3);
60
60
  }
@@ -1,96 +1,96 @@
1
- import { defineComponent as e, ref as n, watch as t, onMounted as o, nextTick as a, resolveComponent as i, createBlock as c, openBlock as l, unref as u, normalizeClass as r, normalizeStyle as s, withCtx as p, createElementBlock as f, createCommentVNode as d, Fragment as g, renderList as m, createElementVNode as b, toDisplayString as y, withModifiers as v, createTextVNode as h } from "vue";
1
+ import { defineComponent as e, ref as t, watch as n, onMounted as o, nextTick as a, resolveComponent as i, createBlock as c, openBlock as u, unref as l, normalizeClass as r, normalizeStyle as s, withCtx as p, createElementBlock as f, createCommentVNode as g, Fragment as d, renderList as m, createElementVNode as b, toDisplayString as y, withModifiers as v, createTextVNode as h } from "vue";
2
2
  import { ElTabs as x, ElTabPane as C } from "element-plus";
3
3
  import T from "../../object-render.vue.js";
4
4
  import { SuperIcon as E } from "agilebuilder-ui";
5
- import { handleAfterInitEvent as k, handleEvent as w } from "../../../../utils/events/event-util.js";
6
- import { $t as N } from "../../../../utils/i18n-util.js";
7
- import { isPromise as V } from "../../../../utils/page-helper-util.js";
8
- const _ = e({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
9
- const A = e2, P = n(""), j = n([]);
10
- A.configure.items.forEach((e3) => {
5
+ import { handleAfterInitEvent as k, handleEvent as N } from "../../../../utils/events/event-util.js";
6
+ import { $t as V } from "../../../../utils/i18n-util.js";
7
+ import { isPromise as _ } from "../../../../utils/page-helper-util.js";
8
+ const A = e({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
9
+ const P = e2, j = t(""), w = t([]);
10
+ P.configure.items.forEach((e3) => {
11
11
  e3.code || (e3.code = e3.index);
12
- }), P.value = A.configure.props.defaultOpen ? A.configure.props.defaultOpen : 1;
13
- const O = n(null), R = A.configure.runtime ? A.configure.runtime : {}, B = R.style, z = R.class, I = R.headerStyle;
14
- function S(e3, n2) {
15
- return w(e3, A.pageContext, A.configure, "before-leave", { activeName: e3, oldActiveName: n2 }) ?? true;
12
+ }), j.value = P.configure.props.defaultOpen ? P.configure.props.defaultOpen : 1;
13
+ const O = t(null), R = P.configure.runtime ? P.configure.runtime : {}, B = R.style, z = R.class, I = R.headerStyle;
14
+ function S(e3, t2) {
15
+ return N(e3, P.pageContext, P.configure, "before-leave", { activeName: e3, oldActiveName: t2 }) ?? true;
16
16
  }
17
- function D(e3, n2) {
18
- const t2 = { pane: e3, ev: n2 }, o2 = e3.paneName;
19
- return A.pageContext.activeTab = o2, A.pageContext.activeLabel = t2.label, w(o2, A.pageContext, A.configure, "tab-click", t2);
17
+ function D(e3, t2) {
18
+ const n2 = { pane: e3, ev: t2 }, o2 = e3.paneName;
19
+ return P.pageContext.activeTab = o2, P.pageContext.activeLabel = n2.label, N(o2, P.pageContext, P.configure, "tab-click", n2);
20
20
  }
21
21
  function F(e3) {
22
- const n2 = { paneName: e3 };
23
- return A.pageContext.activeTab = e3, w(e3, A.pageContext, A.configure, "tab-change", n2);
22
+ const t2 = { paneName: e3 };
23
+ return P.pageContext.activeTab = e3, N(e3, P.pageContext, P.configure, "tab-change", t2);
24
24
  }
25
25
  function L(e3) {
26
- const n2 = { paneName: e3 }, t2 = w(e3, A.pageContext, A.configure, "tab-remove", n2);
27
- V(t2) ? t2.then((n3) => {
28
- false !== n3 && U(e3);
29
- }) : false !== t2 && U(e3);
26
+ const t2 = { paneName: e3 }, n2 = N(e3, P.pageContext, P.configure, "tab-remove", t2);
27
+ _(n2) ? n2.then((t3) => {
28
+ false !== t3 && U(e3);
29
+ }) : false !== n2 && U(e3);
30
30
  }
31
31
  function U(e3) {
32
- P.value === e3 && A.configure.items.forEach((n2, t2) => {
33
- if (n2.code === e3) {
34
- const e4 = A.configure.items[t2 + 1] || A.configure.items[t2 - 1];
35
- e4 && void 0 !== e4.code && (P.value = e4.code);
32
+ j.value === e3 && P.configure.items.forEach((t2, n2) => {
33
+ if (t2.code === e3) {
34
+ const e4 = P.configure.items[n2 + 1] || P.configure.items[n2 - 1];
35
+ e4 && void 0 !== e4.code && (j.value = e4.code);
36
36
  }
37
- }), j.value.includes(e3) || j.value.push(e3);
37
+ }), w.value.includes(e3) || w.value.push(e3);
38
38
  }
39
39
  function q() {
40
- return w(null, A.pageContext, A.configure, "tab-add");
40
+ return N(null, P.pageContext, P.configure, "tab-add");
41
41
  }
42
- function G(e3, n2) {
43
- const t2 = { paneName: e3, action: n2 };
44
- return w(e3, A.pageContext, A.configure, "edit", t2);
42
+ function G(e3, t2) {
43
+ const n2 = { paneName: e3, action: t2 };
44
+ return N(e3, P.pageContext, P.configure, "edit", n2);
45
45
  }
46
46
  function H() {
47
- const e3 = w(A.configure.items, A.pageContext, A.configure, "tab-reset");
48
- V(e3) ? e3.then((e4) => {
49
- j.value = [];
50
- }) : false !== e3 && (j.value = []);
47
+ const e3 = N(P.configure.items, P.pageContext, P.configure, "tab-reset");
48
+ _(e3) ? e3.then((e4) => {
49
+ w.value = [];
50
+ }) : false !== e3 && (w.value = []);
51
51
  }
52
- return t(j, (e3) => {
52
+ return n(w, (e3) => {
53
53
  e3 && e3.length > 0 ? e3.forEach((e4) => {
54
- const n2 = document.getElementById("tab-" + e4);
55
- n2 && (n2.style.display = "none");
56
- }) : A.configure.items.forEach((e4) => {
57
- const n2 = document.getElementById("tab-" + e4.code);
58
- n2 && (n2.style.display = "");
54
+ const t2 = document.getElementById("tab-" + e4);
55
+ t2 && (t2.style.display = "none");
56
+ }) : P.configure.items.forEach((e4) => {
57
+ const t2 = document.getElementById("tab-" + e4.code);
58
+ t2 && (t2.style.display = "");
59
59
  });
60
60
  }, { deep: true }), o(() => {
61
61
  a(() => {
62
62
  let e3 = [];
63
- A.configure.items.forEach((n2) => {
64
- n2.code && e3.push(document.getElementById("tab-" + n2.code));
65
- }), k(null, A.pageContext, A.configure, { componentRef: O.value, tabsDom: e3, entity: A.pageContext.entity.data, pageData: A.pageContext.entity.page });
63
+ P.configure.items.forEach((t2) => {
64
+ t2.code && e3.push(document.getElementById("tab-" + t2.code));
65
+ }), k(null, P.pageContext, P.configure, { componentRef: O.value, tabsDom: e3, entity: P.pageContext.entity.data, pageData: P.pageContext.entity.page });
66
66
  });
67
- }), _2({ thisRef: O, activeName: P, hiddenPanes: j, resetTab: H, hiddenTabPanes: function(e3) {
67
+ }), A2({ thisRef: O, activeName: j, hiddenPanes: w, resetTab: H, hiddenTabPanes: function(e3) {
68
68
  if (Array.isArray(e3)) {
69
- const n2 = [];
69
+ const t2 = [];
70
70
  e3.forEach((e4) => {
71
- j.value.includes(e4) || n2.push(e4);
72
- }), n2.length > 0 && j.value.push(...n2);
73
- } else console.warn("hiddenTabs expects an array of pane names.");
71
+ w.value.includes(e4) || t2.push(e4);
72
+ }), t2.length > 0 && w.value.push(...t2);
73
+ }
74
74
  }, showTabPanes: function(e3) {
75
- Array.isArray(e3) ? e3.forEach((e4) => {
76
- const n2 = j.value.indexOf(e4);
77
- n2 > -1 && j.value.splice(n2, 1);
78
- }) : console.warn("showTabs expects an array of pane names.");
75
+ Array.isArray(e3) && e3.forEach((e4) => {
76
+ const t2 = w.value.indexOf(e4);
77
+ t2 > -1 && w.value.splice(t2, 1);
78
+ });
79
79
  }, showTabPanesOnly: function(e3) {
80
- const n2 = [];
81
- A.configure.items.forEach((t2) => {
82
- e3.includes(t2.code) || n2.push(t2.code);
83
- }), j.value = [...new Set(n2)];
80
+ const t2 = [];
81
+ P.configure.items.forEach((n2) => {
82
+ e3.includes(n2.code) || t2.push(n2.code);
83
+ }), w.value = [...new Set(t2)];
84
84
  }, hiddenTabPanesOnly: function(e3) {
85
- const n2 = [];
86
- A.configure.items.forEach((t2) => {
87
- e3.includes(t2.code) && n2.push(t2.code);
88
- }), j.value = [...new Set(n2)];
89
- } }), (n2, t2) => {
85
+ const t2 = [];
86
+ P.configure.items.forEach((n2) => {
87
+ e3.includes(n2.code) && t2.push(n2.code);
88
+ }), w.value = [...new Set(t2)];
89
+ } }), (t2, n2) => {
90
90
  const o2 = i("el-button");
91
- return l(), c(u(x), { ref_key: "thisRef", ref: O, modelValue: P.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => P.value = e3), type: e2.configure.props.cardType, "tab-position": e2.configure.props.tabPosition, style: s(u(B)), class: r([u(z), "runtime-page-container-tabs-view"]), closable: e2.configure.props.closable, "before-leave": S, onTabClick: D, onTabChange: F, onTabRemove: L, onTabAdd: q, onEdit: G }, { default: p(() => [(l(true), f(g, null, m(A.configure.items, (n3, t3) => (l(), c(u(C), { key: t3, label: n3.label, name: n3.code, lazy: !!e2.configure.props.lazy }, { label: p(() => [n3.iconType && n3.iconValue ? (l(), c(u(E), { key: 0, iconType: n3.iconType, iconValue: n3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : d("", true), b("span", { style: s(u(I)) }, y(u(N)(n3.label)), 5)]), default: p(() => [(e2.configure.props.isFullyRendered ?? 1) || n3.code === P.value ? (l(true), f(g, { key: 0 }, m(n3.items, (n4) => (l(), c(T, { key: n4.uuid, pageContext: e2.pageContext, configure: n4 }, null, 8, ["pageContext", "configure"]))), 128)) : d("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e2.configure.props.resetable ? (l(), c(u(C), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e2.configure.props.resetable ? (l(), c(o2, { key: 0, type: "text", circle: "", onClick: v(H, ["stop"]) }, { default: p(() => [h(y(e2.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : d("", true)]), _: 1 })) : d("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
91
+ return u(), c(l(x), { ref_key: "thisRef", ref: O, modelValue: j.value, "onUpdate:modelValue": n2[0] || (n2[0] = (e3) => j.value = e3), type: e2.configure.props.cardType, "tab-position": e2.configure.props.tabPosition, style: s(l(B)), class: r([l(z), "runtime-page-container-tabs-view"]), closable: e2.configure.props.closable, "before-leave": S, onTabClick: D, onTabChange: F, onTabRemove: L, onTabAdd: q, onEdit: G }, { default: p(() => [(u(true), f(d, null, m(P.configure.items, (t3, n3) => (u(), c(l(C), { key: n3, label: t3.label, name: t3.code, lazy: !!e2.configure.props.lazy }, { label: p(() => [t3.iconType && t3.iconValue ? (u(), c(l(E), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : g("", true), b("span", { style: s(l(I)) }, y(l(V)(t3.label)), 5)]), default: p(() => [(e2.configure.props.isFullyRendered ?? 1) || t3.code === j.value ? (u(true), f(d, { key: 0 }, m(t3.items, (t4) => (u(), c(T, { key: t4.uuid, pageContext: e2.pageContext, configure: t4 }, null, 8, ["pageContext", "configure"]))), 128)) : g("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e2.configure.props.resetable ? (u(), c(l(C), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e2.configure.props.resetable ? (u(), c(o2, { key: 0, type: "text", circle: "", onClick: v(H, ["stop"]) }, { default: p(() => [h(y(e2.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : g("", true)]), _: 1 })) : g("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
92
92
  };
93
93
  } });
94
94
  export {
95
- _ as default
95
+ A as default
96
96
  };
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a, createElementBlock as l, openBlock as r, unref as u, createVNode as s } from "vue";
2
2
  import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as w, rowDblClick as C, headerClick as S, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
3
- import { getBaseUrl as T, getListCode as E, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
3
+ import { getBaseUrl as E, getListCode as T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
4
4
  import { getAdditionalParamMap as I, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.js";
5
5
  import { isMobileBrowser as N, isPromise as P } from "agilebuilder-ui/src/utils/common-util";
6
6
  import { getOperationButtons as B, popupToPage as F } from "../../../../utils/table-utils.js";
7
7
  import H from "../../../../utils/eventBus.js";
8
- import { getDefaultValue as M } from "../../../../utils/page-init-util.js";
9
- import { getSizeConfig as U, caculateShowCondition as $, decomposeVariable as _ } from "../../../../utils/page-helper-util.js";
8
+ import { getDefaultValue as U } from "../../../../utils/page-init-util.js";
9
+ import { getSizeConfig as M, caculateShowCondition as $, decomposeVariable as _ } from "../../../../utils/page-helper-util.js";
10
10
  import { getComponentRefByCode as A } from "../../../../utils/global-refs.js";
11
11
  import { getRowStyleUtil as L, getCellStyleUtil as G, getHeaderCellStyleUtil as z } from "../../chart/table/chart-table-util.js";
12
12
  const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: q2, emit: Q }) {
@@ -15,7 +15,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
15
15
  const X = t({});
16
16
  J.isTest ? X.value = Y.configure.runtime ? Y.configure.runtime : {} : J.tableRuntimes && J.tableRuntimes[K.uuid] && (K = JSON.parse(J.tableRuntimes[K.uuid].configure), X.value = K.runtime ? K.runtime : {});
17
17
  const Z = X.value.style, ee = X.value.class, te = J.systemCode, ne = J.backendUrl, oe = K.props && K.props.dataOrigin && K.props.dataOrigin.tableName;
18
- let ie = T(J.backendUrl, J.isTest);
18
+ let ie = E(J.backendUrl, J.isTest);
19
19
  ie || (ie = window.$vueApp.config.globalProperties.baseURL);
20
20
  const ae = t({}), le = [], re = t({});
21
21
  re.value = function() {
@@ -23,7 +23,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
23
23
  const e3 = J.systemCode, t2 = J.code;
24
24
  let n2 = K.props && K.props.dataOrigin && "[]" !== K.props.dataOrigin.sqlFilterCondition ? K.props.dataOrigin.sqlFilterCondition : null;
25
25
  null == n2 && (n2 = []);
26
- const o2 = (_a = K.props) == null ? void 0 : _a.dataOrigin.principalLinkage, i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: J.beanName, functionCode: t2 + ".listData", tableName: oe, systemCode: e3, pageCode: J.code, pageVersion: J.version, isMobile: N() }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: Se, esc: Ee }, indexContinuous: !(!K.props || !K.props.otherSettings) && K.props.otherSettings.serialNumberContinuous, initSearch: !K.props || false !== K.props.dataOrigin.initializationQuery, resizeHeight: Ne, pageCode: J.code, pageVersion: J.version, additionalParamMap: I(J), showOverflowTooltip: (_c = (_b = K == null ? void 0 : K.props) == null ? void 0 : _b.otherSettings) == null ? void 0 : _c.showOverflowTooltip, isEnableEnterEvent: K.props && K.props.otherSettings && K.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(K.props && K.props.otherSettings && K.props.otherSettings.isWithDataPermission) && K.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: R(J), tableClass: ee, tableStyle: Z, pageContext: J, configureObj: K, backendUrl: ie, cellStyleRender: Qe, rowStyleRender: qe, titleStyleRender: Ye, validateEitConditions: Ze, showOperationCondition: null };
26
+ const o2 = (_a = K.props) == null ? void 0 : _a.dataOrigin.principalLinkage, i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: o2, extraParam: { beanName: J.beanName, functionCode: t2 + ".listData", tableName: oe, systemCode: e3, pageCode: J.code, pageVersion: J.version, isMobile: N() }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: Se, esc: Te }, indexContinuous: !(!K.props || !K.props.otherSettings) && K.props.otherSettings.serialNumberContinuous, initSearch: !K.props || false !== K.props.dataOrigin.initializationQuery, resizeHeight: Ne, pageCode: J.code, pageVersion: J.version, additionalParamMap: I(J), showOverflowTooltip: (_c = (_b = K == null ? void 0 : K.props) == null ? void 0 : _b.otherSettings) == null ? void 0 : _c.showOverflowTooltip, isEnableEnterEvent: K.props && K.props.otherSettings && K.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(K.props && K.props.otherSettings && K.props.otherSettings.isWithDataPermission) && K.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: R(J), tableClass: ee, tableStyle: Z, pageContext: J, configureObj: K, backendUrl: ie, cellStyleRender: Qe, rowStyleRender: qe, titleStyleRender: Ye, validateEitConditions: Ze, showOperationCondition: null };
27
27
  ((_e2 = (_d = K == null ? void 0 : K.props) == null ? void 0 : _d.base) == null ? void 0 : _e2.showOperationCondition) && (i2.showOperationCondition = K.props.base.showOperationCondition);
28
28
  return function(e4) {
29
29
  var _a2;
@@ -60,9 +60,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
60
60
  let e3 = ie + "/dsc/commons/list";
61
61
  e3 && (e3 = O(e3, te, ne, J.isTest));
62
62
  return e3;
63
- }(), pe = E(J.code, J.version, K.uuid), de = J.code + "_" + pe, fe = t([]), ge = J.entity.page, me = t({ data: [] }), ve = J.superGridItems, he = ve ? ve[K.uuid] : null;
64
- console.log("superGridSetting1111===", ve, he);
65
- const be = t(false), we = Q;
63
+ }(), pe = T(J.code, J.version, K.uuid), de = J.code + "_" + pe, fe = t([]), ge = J.entity.page, me = t({ data: [] }), ve = J.superGridItems, he = ve ? ve[K.uuid] : null, be = t(false), we = Q;
66
64
  function Ce() {
67
65
  K.props.linkages && K.props.linkages.length > 0 && (K.props.linkages.forEach((e3) => {
68
66
  const t2 = _(e3.fieldName);
@@ -93,7 +91,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
93
91
  function ye(e3, t2, n2, o2, i2) {
94
92
  const a2 = ae.value.lineEditSave, l2 = K;
95
93
  a2.props.base.tableUuid = l2.uuid, re.value.lineEditOptions.beforeSave = De, J.editData = n2, p({ pageContext: J, configureObj: a2 }).then((l3) => {
96
- true === l3.canExecute && (re.value.lineEditOptions.saveRow = Te, se.value.saveRow(i2, pe).then(() => {
94
+ true === l3.canExecute && (re.value.lineEditOptions.saveRow = Ee, se.value.saveRow(i2, pe).then(() => {
97
95
  d(J, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
98
96
  }));
99
97
  }).finally(() => {
@@ -116,7 +114,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
116
114
  o2.props.base.tableUuid = i2.uuid;
117
115
  return f(J, o2, { row: e3, columns: t2 });
118
116
  }
119
- function Te({ row: e3, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: i2, mainDefaultValueColumns: a2 }) {
117
+ function Ee({ row: e3, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: i2, mainDefaultValueColumns: a2 }) {
120
118
  const l2 = ae.value.lineEditSave, r2 = K;
121
119
  return l2.props.base.tableUuid = r2.uuid, new Promise((t3, n3) => {
122
120
  const i3 = { tableName: r2.props.dataOrigin.tableName };
@@ -127,7 +125,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
127
125
  });
128
126
  });
129
127
  }
130
- function Ee({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
128
+ function Te({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
131
129
  Oe(null, null, n2, t2, e3);
132
130
  }
133
131
  function Oe(e3, t2, n2, o2, i2) {
@@ -181,7 +179,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
181
179
  }
182
180
  }
183
181
  function je(e3) {
184
- if (!J.dataTypeMaps) return void console.log("!pageContext['dataTypeMaps'] || !pageContext['dataTypeMaps'][tableName]");
182
+ if (!J.dataTypeMaps) return;
185
183
  const t2 = J.dataTypeMaps;
186
184
  let n2 = [];
187
185
  if (e3) for (var o2 in e3) {
@@ -200,7 +198,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
200
198
  e4.propName = o2, e4.propDbName = o2, e4.dataType = t2[o2] ? t2[o2] : "TEXT", e4.operator = "EQ", e4.propValue = a2, et(e4, o2), e4.rightBracket = ")", e4.joinSign = "and", n2.push(e4);
201
199
  }
202
200
  }
203
- console.log("toolbarRefresh"), se.value.toolbarRefresh(null, null, n2);
201
+ se.value.toolbarRefresh(null, null, n2);
204
202
  }
205
203
  function Ne(e3) {
206
204
  const t2 = Pe();
@@ -211,7 +209,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
211
209
  }
212
210
  function Pe() {
213
211
  if (!se.value) return;
214
- const e3 = U(Y.pageContext, Y.configure);
212
+ const e3 = M(Y.pageContext, Y.configure);
215
213
  if (e3) {
216
214
  if (e3.isCalcHeight) {
217
215
  let e4 = se.value.$el;
@@ -233,11 +231,11 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
233
231
  fe.value = e3;
234
232
  g(J, K, { selection: e3, row: t2 });
235
233
  }
236
- function Me(e3) {
234
+ function Ue(e3) {
237
235
  fe.value = e3;
238
236
  m(J, K, { selection: e3 });
239
237
  }
240
- function Ue(e3) {
238
+ function Me(e3) {
241
239
  v(J, K, { newSelection: e3 });
242
240
  }
243
241
  function $e(e3, t2, n2, o2) {
@@ -286,14 +284,14 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
286
284
  }
287
285
  n(() => {
288
286
  const e3 = Xe();
289
- se.value && e3 && e3.distanceToBottom && (se.value.tableHeight = e3.distanceToBottom - 110), Y.pageContext.pageRuntimeStyle && console.log("pageContext.pageHeight:", Y.pageContext.pageRuntimeStyle.height), window.addEventListener("message", Fe), H.$on(de + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
287
+ se.value && e3 && e3.distanceToBottom && (se.value.tableHeight = e3.distanceToBottom - 110), Y.pageContext.pageRuntimeStyle && Y.pageContext.pageRuntimeStyle.height, window.addEventListener("message", Fe), H.$on(de + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
290
288
  se.value.closePageDialog({ entity: t2, pageCode: n2, jumpInfo: e4 });
291
289
  }), H.$on(de + "_close-dialog-get-entity", () => {
292
290
  H.$emit(de + "_close-super-dialog");
293
291
  }), H.$on(pe + "-pickFileDone", (e4) => {
294
- console.log("superPage5555---listCode---pickFileDone--listCode=", pe, "data=", e4), se.value.pickFileDone(e4);
292
+ se.value.pickFileDone(e4);
295
293
  }), H.$on(pe + "-scanDone", (e4) => {
296
- console.log("superPage5555---listCode---scanDone--listCode=", pe, "data=", e4), se.value.scanDone(e4);
294
+ se.value.scanDone(e4);
297
295
  }), re.value.formSetMaxHeight = Pe(), re.value && re.value.configureObj.props.base && re.value.configureObj.props.base.isSafeDelete && we("setSafeDeleteTableCode", re.value.extraParam.tableName);
298
296
  }), o(() => Y.pageContext.searchFormData, (e3) => {
299
297
  me.value.data = e3;
@@ -305,7 +303,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
305
303
  const Xe = () => {
306
304
  if (!ue.value) return null;
307
305
  let e3 = ue.value.closest(".app-container");
308
- if (!e3) return console.warn("未找到.app-container元素"), null;
306
+ if (!e3) return null;
309
307
  const t2 = ue.value.getBoundingClientRect(), n2 = e3.getBoundingClientRect(), o2 = window.scrollY;
310
308
  return { distanceToTop: t2.top + o2 - n2.top, distanceToBottom: n2.bottom - t2.top };
311
309
  };
@@ -326,7 +324,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
326
324
  return q2({ refresh: function(e3, t2, n2, o2) {
327
325
  return se.value.refresh(e3, t2, n2, o2);
328
326
  }, createRow: function() {
329
- return se.value.createRow(pe, {}, { getDefaultValueFunc: M });
327
+ return se.value.createRow(pe, {}, { getDefaultValueFunc: U });
330
328
  }, clearSelections: ze, getSelections: function() {
331
329
  return fe.value;
332
330
  }, getSelectionIds: function() {
@@ -376,7 +374,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
376
374
  return (_a = se.value) == null ? void 0 : _a.getColumns();
377
375
  } }), (e3, t2) => {
378
376
  const n2 = a("super-grid");
379
- return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Me, onSelectionChange: Ue, onCellClick: $e, onCellDblclick: _e, onRowClick: Ae, onRowDblclick: Le, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: Ce }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
377
+ return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: $e, onCellDblclick: _e, onRowClick: Ae, onRowDblclick: Le, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: Ce }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
380
378
  };
381
379
  } });
382
380
  export {