super-page-runtime 2.2.86 → 2.2.89-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 (49) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +56 -56
  2. package/dist/es/components/runtime/utils/barcode-util.js +5 -5
  3. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +45 -46
  4. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +14 -16
  5. package/dist/es/components/runtime/utils/charts/chart-util.js +2 -4
  6. package/dist/es/components/runtime/utils/events/event-util.js +113 -113
  7. package/dist/es/components/runtime/utils/events/print-label.js +37 -38
  8. package/dist/es/components/runtime/utils/events/standard-event.js +541 -543
  9. package/dist/es/components/runtime/utils/events/validator-util.js +32 -32
  10. package/dist/es/components/runtime/utils/form/scan-util.js +3 -4
  11. package/dist/es/components/runtime/utils/page-helper-util.js +210 -210
  12. package/dist/es/components/runtime/utils/page-init-util.js +43 -47
  13. package/dist/es/components/runtime/utils/page-store.js +1 -1
  14. package/dist/es/components/runtime/utils/table-utils.js +23 -23
  15. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +12 -16
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  17. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +9 -11
  18. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +12 -13
  19. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +13 -14
  20. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +14 -15
  21. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +16 -17
  22. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +7 -12
  23. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +18 -19
  24. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +22 -26
  25. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -4
  27. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
  28. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +11 -8
  29. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
  30. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  31. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +85 -88
  32. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +108 -111
  33. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +57 -58
  34. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -1
  35. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +29 -29
  36. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +38 -40
  37. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +22 -22
  38. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +41 -42
  39. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -8
  40. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +9 -10
  41. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -1
  42. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -1
  43. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
  44. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  45. package/dist/es/components/runtime/views/super-page-dialog.vue.js +6 -7
  46. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  47. package/dist/es/components/runtime/views/super-page.vue2.js +123 -125
  48. package/dist/es/style.css +101 -92
  49. package/package.json +2 -2
@@ -1,5 +1,5 @@
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 s, createVNode as u } from "vue";
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";
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
+ 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 S, headerClick as y, getEventNameByType as C, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
3
3
  import { getBaseUrl as E, getListCode as O, getRealRestApiPath as k, isWorkflowPage as T, isVariableInvalidValue as R } 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 { isPromise as N } from "agilebuilder-ui/src/utils/common-util";
@@ -8,27 +8,27 @@ import F from "../../../../utils/eventBus.js";
8
8
  import { getDefaultValue as H } from "../../../../utils/page-init-util.js";
9
9
  import { decomposeVariable as U, getSizeConfig as M } from "../../../../utils/page-helper-util.js";
10
10
  import { getRowStyleUtil as $, getCellStyleUtil as _, getHeaderCellStyleUtil as L } from "../../chart/table/chart-table-util.js";
11
- const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: z2, emit: G }) {
12
- const W = e2, q = W.pageContext;
13
- let Q = W.configure;
11
+ const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: z2, emit: W }) {
12
+ const q = e2, G = q.pageContext;
13
+ let Q = q.configure;
14
14
  const J = t({});
15
- q.isTest ? J.value = W.configure.runtime ? W.configure.runtime : {} : q.tableRuntimes && q.tableRuntimes[Q.uuid] && (Q = JSON.parse(q.tableRuntimes[Q.uuid].configure), J.value = Q.runtime ? Q.runtime : {});
16
- const K = J.value.style, X = J.value.class, Y = q.systemCode, Z = q.backendUrl, ee = Q.props && Q.props.dataOrigin && Q.props.dataOrigin.tableName;
17
- let te = E(q.backendUrl, q.isTest);
15
+ G.isTest ? J.value = q.configure.runtime ? q.configure.runtime : {} : G.tableRuntimes && G.tableRuntimes[Q.uuid] && (Q = JSON.parse(G.tableRuntimes[Q.uuid].configure), J.value = Q.runtime ? Q.runtime : {});
16
+ const K = J.value.style, X = J.value.class, Y = G.systemCode, Z = G.backendUrl, ee = Q.props && Q.props.dataOrigin && Q.props.dataOrigin.tableName;
17
+ let te = E(G.backendUrl, G.isTest);
18
18
  te || (te = window.$vueApp.config.globalProperties.baseURL);
19
19
  const ne = t({}), oe = [], ie = t({});
20
20
  ie.value = function() {
21
- const e3 = q.systemCode, t2 = q.code;
21
+ const e3 = G.systemCode, t2 = G.code;
22
22
  let n2 = Q.props && Q.props.dataOrigin && "[]" !== Q.props.dataOrigin.sqlFilterCondition ? Q.props.dataOrigin.sqlFilterCondition : null;
23
23
  null == n2 && (n2 = []);
24
- const i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: Q.props.dataOrigin.principalLinkage, extraParam: { beanName: q.beanName, functionCode: t2 + ".listData", tableName: ee, systemCode: e3, pageCode: q.code, pageVersion: q.version }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: he, esc: ye }, indexContinuous: !(!Q.props || !Q.props.otherSettings) && Q.props.otherSettings.serialNumberContinuous, initSearch: !Q.props || false !== Q.props.dataOrigin.initializationQuery, resizeHeight: Re, pageCode: q.code, pageVersion: q.version, additionalParamMap: I(q), showOverflowTooltip: !(!Q.props || !Q.props.otherSettings || void 0 !== Q.props.otherSettings.isBreakLine && false !== Q.props.otherSettings.isBreakLine), isEnableEnterEvent: Q.props && Q.props.otherSettings && Q.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(Q.props && Q.props.otherSettings && Q.props.otherSettings.isWithDataPermission) && Q.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: T(q), tableClass: X, tableStyle: K, pageContext: q, configureObj: Q, backendUrl: te, cellStyleRender: ze, rowStyleRender: Ae, titleStyleRender: Ge };
24
+ const i2 = { isSql: true, optionTableHeight: 0, rowKeyProp: Q.props.dataOrigin.principalLinkage, extraParam: { beanName: G.beanName, functionCode: t2 + ".listData", tableName: ee, systemCode: e3, pageCode: G.code, pageVersion: G.version }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: he, esc: Ce }, indexContinuous: !(!Q.props || !Q.props.otherSettings) && Q.props.otherSettings.serialNumberContinuous, initSearch: !Q.props || false !== Q.props.dataOrigin.initializationQuery, resizeHeight: Re, pageCode: G.code, pageVersion: G.version, additionalParamMap: I(G), showOverflowTooltip: !(!Q.props || !Q.props.otherSettings || void 0 !== Q.props.otherSettings.isBreakLine && false !== Q.props.otherSettings.isBreakLine), isEnableEnterEvent: Q.props && Q.props.otherSettings && Q.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(Q.props && Q.props.otherSettings && Q.props.otherSettings.isWithDataPermission) && Q.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: T(G), tableClass: X, tableStyle: K, pageContext: G, configureObj: Q, backendUrl: te, cellStyleRender: ze, rowStyleRender: Ae, titleStyleRender: We };
25
25
  (function(e4) {
26
26
  var _a;
27
27
  ((_a = Q.props.highOrder) == null ? void 0 : _a.mergeFields) && Q.props.highOrder.mergeFields.length > 0 && (e4.mergeFields = Q.props.highOrder.mergeFields.join(","));
28
28
  })(i2), function(e4) {
29
29
  const t3 = [];
30
30
  e4.operations || (e4.operations = {});
31
- P(q, Q, t3, we), e4.operations.operation = t3;
31
+ P(G, Q, t3, we), e4.operations.operation = t3;
32
32
  }(i2), function(e4) {
33
33
  Q.props && Q.props.dataOrigin && Q.props.dataOrigin.sortField && (e4.initSortInfo = [], Q.props.dataOrigin.sortField.forEach((t3) => {
34
34
  const n3 = { order: "desc" === t3.type ? "desc" : "asc" };
@@ -39,18 +39,18 @@ const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}
39
39
  t3 && t3.length > 1 && oe.push(t3[1]);
40
40
  }), oe.length > 0 && function() {
41
41
  let e4 = [];
42
- W.pageContext.toolsInputComponents && W.pageContext.toolsInputComponents.length > 0 && W.pageContext.toolsInputComponents.forEach((t3) => {
42
+ q.pageContext.toolsInputComponents && q.pageContext.toolsInputComponents.length > 0 && q.pageContext.toolsInputComponents.forEach((t3) => {
43
43
  if (Q.props.linkages.some((e5) => e5.fieldName === t3.prop) && t3.defaultValue) {
44
44
  const n3 = U(t3.prop);
45
45
  n3 && n3.length > 1 && e4.push(n3[1]);
46
46
  }
47
47
  });
48
- if (0 === e4.length) qe();
48
+ if (0 === e4.length) Ge();
49
49
  else {
50
- const t3 = We();
51
- e4 = e4.filter((e5) => R(t3, e5)), 0 === e4.length ? (Te(t3), qe()) : oe.forEach((t4) => {
52
- o(() => W.pageContext.entity.page[t4], () => {
53
- const t5 = We();
50
+ const t3 = qe();
51
+ e4 = e4.filter((e5) => R(t3, e5)), 0 === e4.length ? (Te(t3), Ge()) : oe.forEach((t4) => {
52
+ o(() => q.pageContext.entity.page[t4], () => {
53
+ const t5 = qe();
54
54
  0 === e4.length ? Te(t5) : (e4 = e4.filter((e5) => R(t5, e5)), 0 === e4.length && Te(t5));
55
55
  }, { immediate: true });
56
56
  });
@@ -70,114 +70,112 @@ const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}
70
70
  }
71
71
  }(i2), function(e4) {
72
72
  const t3 = Q.runtime && Q.runtime.events ? Q.runtime.events : [];
73
- c(e4, t3, q, Q);
74
- const n3 = q.customEvents;
73
+ c(e4, t3, G, Q);
74
+ const n3 = G.customEvents;
75
75
  n3 && (e4.eventCallBack = n3);
76
76
  }(i2), i2;
77
77
  }();
78
78
  const ae = t(), le = t(), re = function() {
79
79
  let e3 = te + "/dsc/commons/list";
80
- e3 && (e3 = k(e3, Y, Z, q.isTest));
80
+ e3 && (e3 = k(e3, Y, Z, G.isTest));
81
81
  return e3;
82
- }(), se = O(q.code, q.version, Q.uuid), ue = q.code + "_" + se, ce = t([]), pe = q.entity.page, de = t({ data: [] }), fe = q.superGridItems, ge = fe ? fe[Q.uuid] : null;
83
- console.log("superGridSetting1111===", fe, ge);
84
- const me = t(false), ve = G;
82
+ }(), ue = O(G.code, G.version, Q.uuid), se = G.code + "_" + ue, ce = t([]), pe = G.entity.page, de = t({ data: [] }), fe = G.superGridItems, ge = fe ? fe[Q.uuid] : null, me = t(false), ve = W;
85
83
  function he({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
86
84
  be(null, null, n2, t2, e3);
87
85
  }
88
86
  function be(e3, t2, n2, o2, i2) {
89
87
  const a2 = ne.value.lineEditSave, l2 = Q;
90
- a2.props.base.tableUuid = l2.uuid, ie.value.lineEditOptions.beforeSave = Ce, q.editData = n2, p({ pageContext: q, configureObj: a2 }).then((l3) => {
91
- true === l3.canExecute && (ie.value.lineEditOptions.saveRow = Se, le.value.saveRow(i2, se).then(() => {
92
- d(q, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
88
+ a2.props.base.tableUuid = l2.uuid, ie.value.lineEditOptions.beforeSave = Se, G.editData = n2, p({ pageContext: G, configureObj: a2 }).then((l3) => {
89
+ true === l3.canExecute && (ie.value.lineEditOptions.saveRow = ye, le.value.saveRow(i2, ue).then(() => {
90
+ d(G, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
93
91
  }));
94
92
  }).finally(() => {
95
- q.editData = null;
93
+ G.editData = null;
96
94
  });
97
95
  }
98
96
  function we(e3) {
99
97
  if (!e3) return;
100
98
  let t2;
101
- const n2 = y(e3.events, "click");
99
+ const n2 = C(e3.events, "click");
102
100
  if (n2) {
103
101
  if (ne.value[n2] = e3, "lineEditSave" === n2 ? t2 = be : "restoreEdit" === n2 ? t2 = xe : "lineEditUpdate" === n2 ? t2 = De : "lineEditDelete" === n2 && (t2 = Oe), !t2) {
104
- t2 = x(q, e3.events, "click");
102
+ t2 = x(G, e3.events, "click");
105
103
  }
106
104
  } else ne.value[e3.uuid] = e3, t2 = Ve;
107
105
  return t2;
108
106
  }
109
- function Ce({ row: e3, columns: t2, additionalParamMap: n2 }) {
107
+ function Se({ row: e3, columns: t2, additionalParamMap: n2 }) {
110
108
  const o2 = ne.value.lineEditSave, i2 = Q;
111
109
  o2.props.base.tableUuid = i2.uuid;
112
- return f(q, o2, { row: e3, columns: t2 });
110
+ return f(G, o2, { row: e3, columns: t2 });
113
111
  }
114
- function Se({ row: e3, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: i2, mainDefaultValueColumns: a2 }) {
112
+ function ye({ row: e3, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: i2, mainDefaultValueColumns: a2 }) {
115
113
  const l2 = ne.value.lineEditSave, r2 = Q;
116
114
  return l2.props.base.tableUuid = r2.uuid, new Promise((t3, n3) => {
117
115
  const i3 = { tableName: r2.props.dataOrigin.tableName };
118
- V(q, l2, "/dsc/commons", false, a2, o2, e3, i3).then((e4) => {
116
+ V(G, l2, "/dsc/commons", false, a2, o2, e3, i3).then((e4) => {
119
117
  t3(e4 ? e4.entity : {});
120
118
  }).catch((e4) => {
121
119
  n3(e4);
122
120
  });
123
121
  });
124
122
  }
125
- function ye({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
123
+ function Ce({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
126
124
  xe(null, null, n2, t2, e3);
127
125
  }
128
126
  function xe(e3, t2, n2, o2, i2) {
129
127
  const a2 = ne.value.restoreEdit, l2 = Q;
130
128
  a2.props.base.tableUuid = l2.uuid;
131
- const r2 = f(q, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
129
+ const r2 = f(G, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
132
130
  if (!r2) return;
133
131
  N(r2) ? r2.then((e4) => {
134
- e4 && le.value.restoreRow(i2, se);
135
- }) : le.value.restoreRow(i2, se);
136
- d(q, Q, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
132
+ e4 && le.value.restoreRow(i2, ue);
133
+ }) : le.value.restoreRow(i2, ue);
134
+ d(G, Q, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
137
135
  }
138
136
  function De(e3, t2, n2, o2, i2) {
139
137
  const a2 = ne.value.lineEditUpdate, l2 = Q;
140
138
  a2.props.base.tableUuid = l2.uuid;
141
- const r2 = f(q, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
139
+ const r2 = f(G, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
142
140
  r2 && (N(r2) ? r2.then((l3) => {
143
141
  l3 && Ee(e3, t2, n2, o2, i2, a2);
144
142
  }) : Ee(e3, t2, n2, o2, i2, a2));
145
143
  }
146
144
  function Ee(e3, t2, n2, o2, i2, a2) {
147
- q.editData = n2, p({ pageContext: q, configureObj: a2 }).then((a3) => {
145
+ G.editData = n2, p({ pageContext: G, configureObj: a2 }).then((a3) => {
148
146
  if (true === a3.canExecute) {
149
- le.value.editRow(i2, se);
150
- d(q, Q, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
147
+ le.value.editRow(i2, ue);
148
+ d(G, Q, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
151
149
  }
152
150
  }).finally(() => {
153
- q.editData = null;
151
+ G.editData = null;
154
152
  });
155
153
  }
156
154
  function Oe(e3, t2, n2, o2, i2) {
157
155
  const a2 = ne.value.lineEditDelete, l2 = Q;
158
156
  a2.props.base.tableUuid = l2.uuid;
159
- const r2 = f(q, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
157
+ const r2 = f(G, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
160
158
  r2 && (N(r2) ? r2.then((l3) => {
161
159
  l3 && ke(e3, t2, n2, o2, i2, a2);
162
160
  }) : ke(e3, t2, n2, o2, i2, a2));
163
161
  }
164
162
  function ke(e3, t2, n2, o2, i2, a2) {
165
- if (n2.id || n2.ID) q.editData = n2, p({ pageContext: q, configureObj: a2 }).then((e4) => {
163
+ if (n2.id || n2.ID) G.editData = n2, p({ pageContext: G, configureObj: a2 }).then((e4) => {
166
164
  if (true === e4.canExecute) {
167
165
  const e5 = [];
168
- n2.id ? e5.push(n2.id) : e5.push(n2.ID), j.delete({ pageContext: q, configureObj: a2, ids: e5 });
166
+ n2.id ? e5.push(n2.id) : e5.push(n2.ID), j.delete({ pageContext: G, configureObj: a2, ids: e5 });
169
167
  }
170
168
  }).finally(() => {
171
- q.editData = null;
169
+ G.editData = null;
172
170
  });
173
171
  else {
174
172
  xe(e3, t2, n2, o2, i2);
175
- d(q, Q, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
173
+ d(G, Q, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
176
174
  }
177
175
  }
178
176
  function Te(e3) {
179
- if (!q.dataTypeMaps) return void console.log("!pageContext['dataTypeMaps'] || !pageContext['dataTypeMaps'][tableName]");
180
- const t2 = q.dataTypeMaps;
177
+ if (!G.dataTypeMaps) return;
178
+ const t2 = G.dataTypeMaps;
181
179
  let n2 = [];
182
180
  if (e3) for (var o2 in e3) {
183
181
  const a2 = e3[o2];
@@ -195,7 +193,7 @@ const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}
195
193
  e4.propName = o2, e4.propDbName = o2, e4.dataType = t2[o2] ? t2[o2] : "TEXT", e4.operator = "EQ", e4.propValue = a2, e4.rightBracket = ")", e4.joinSign = "and", n2.push(e4);
196
194
  }
197
195
  }
198
- console.log("toolbarRefresh"), le.value.toolbarRefresh(null, null, n2);
196
+ le.value.toolbarRefresh(null, null, n2);
199
197
  }
200
198
  function Re(e3) {
201
199
  const t2 = Ie();
@@ -206,8 +204,7 @@ const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}
206
204
  }
207
205
  function Ie() {
208
206
  if (!le.value) return;
209
- console.log("objectRender---configure.name=", W.configure.name, "props.configure=", W.configure, "runtimeStyle.value=", K);
210
- const e3 = M(W.pageContext, W.configure);
207
+ const e3 = M(q.pageContext, q.configure);
211
208
  if (e3) {
212
209
  if (e3.isCalcHeight) {
213
210
  let e4 = le.value.$el;
@@ -219,37 +216,37 @@ const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}
219
216
  }
220
217
  }
221
218
  function Ve(e3, t2, n2, o2, i2, a2) {
222
- const l2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2, button: a2, id: n2.ID ? n2.ID : n2.id }, r2 = ne.value[a2.sourceButton.uuid], s2 = Q;
223
- r2.props.base.tableUuid = s2.uuid, D(null, q, r2, "click", l2);
219
+ const l2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2, button: a2, id: n2.ID ? n2.ID : n2.id }, r2 = ne.value[a2.sourceButton.uuid], u2 = Q;
220
+ r2.props.base.tableUuid = u2.uuid, D(null, G, r2, "click", l2);
224
221
  }
225
222
  function je(e3) {
226
223
  "close_open_win" === e3.data && le.value && le.value.refresh();
227
224
  }
228
225
  function Ne(e3, t2) {
229
226
  ce.value = e3;
230
- g(q, Q, { selection: e3, row: t2 });
227
+ g(G, Q, { selection: e3, row: t2 });
231
228
  }
232
229
  function Pe(e3) {
233
230
  ce.value = e3;
234
- m(q, Q, { selection: e3 });
231
+ m(G, Q, { selection: e3 });
235
232
  }
236
233
  function Be(e3) {
237
- v(q, Q, { newSelection: e3 });
234
+ v(G, Q, { newSelection: e3 });
238
235
  }
239
236
  function Fe(e3, t2, n2, o2) {
240
- h(q, Q, { row: e3, column: t2, cell: n2, event: o2 });
237
+ h(G, Q, { row: e3, column: t2, cell: n2, event: o2 });
241
238
  }
242
239
  function He(e3, t2, n2, o2) {
243
- b(q, Q, { row: e3, column: t2, cell: n2, event: o2 });
240
+ b(G, Q, { row: e3, column: t2, cell: n2, event: o2 });
244
241
  }
245
242
  function Ue(e3, t2, n2) {
246
- w(q, Q, { row: e3, column: t2, event: n2 });
243
+ w(G, Q, { row: e3, column: t2, event: n2 });
247
244
  }
248
245
  function Me(e3, t2, n2) {
249
- C(q, Q, { row: e3, column: t2, event: n2 });
246
+ S(G, Q, { row: e3, column: t2, event: n2 });
250
247
  }
251
248
  function $e(e3, t2) {
252
- S(q, Q, { column: e3, event: t2 });
249
+ y(G, Q, { column: e3, event: t2 });
253
250
  }
254
251
  function _e() {
255
252
  ce.value = [];
@@ -258,57 +255,57 @@ const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}
258
255
  me.value = true;
259
256
  }
260
257
  function Ae(e3) {
261
- return $(e3, [], W);
258
+ return $(e3, [], q);
262
259
  }
263
260
  function ze(e3) {
264
- return _(e3, e3.cellStyle, W);
261
+ return _(e3, e3.cellStyle, q);
265
262
  }
266
- function Ge(e3) {
267
- const t2 = e3.titleStyle, n2 = W.configure.style.titleStyle;
268
- return L(e3, { cellTitleStyle: t2, titleStyle: n2 }, W);
263
+ function We(e3) {
264
+ const t2 = e3.titleStyle, n2 = q.configure.style.titleStyle;
265
+ return L(e3, { cellTitleStyle: t2, titleStyle: n2 }, q);
269
266
  }
270
- function We() {
267
+ function qe() {
271
268
  const e3 = {};
272
269
  return oe.forEach((t2) => {
273
- e3[t2] = W.pageContext.entity.page[t2];
270
+ e3[t2] = q.pageContext.entity.page[t2];
274
271
  }), e3;
275
272
  }
276
- function qe() {
273
+ function Ge() {
277
274
  oe.forEach((e3) => {
278
- o(() => W.pageContext.entity.page[e3], () => {
279
- Te(We());
275
+ o(() => q.pageContext.entity.page[e3], () => {
276
+ Te(qe());
280
277
  });
281
278
  });
282
279
  }
283
280
  n(() => {
284
281
  const e3 = Qe();
285
- le.value && e3 && e3.distanceToBottom && (le.value.tableHeight = e3.distanceToBottom - 110), W.pageContext.pageRuntimeStyle && console.log("pageContext.pageHeight:", W.pageContext.pageRuntimeStyle.height), window.addEventListener("message", je), F.$on(ue + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
282
+ le.value && e3 && e3.distanceToBottom && (le.value.tableHeight = e3.distanceToBottom - 110), q.pageContext.pageRuntimeStyle, window.addEventListener("message", je), F.$on(se + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
286
283
  le.value.closePageDialog({ entity: t2, pageCode: n2, jumpInfo: e4 });
287
- }), F.$on(ue + "_close-dialog-get-entity", () => {
288
- F.$emit(ue + "_close-super-dialog");
289
- }), F.$on(se + "-pickFileDone", (e4) => {
290
- console.log("superPage5555---listCode---pickFileDone--listCode=", se, "data=", e4), le.value.pickFileDone(e4);
291
- }), F.$on(se + "-scanDone", (e4) => {
292
- console.log("superPage5555---listCode---scanDone--listCode=", se, "data=", e4), le.value.scanDone(e4);
284
+ }), F.$on(se + "_close-dialog-get-entity", () => {
285
+ F.$emit(se + "_close-super-dialog");
286
+ }), F.$on(ue + "-pickFileDone", (e4) => {
287
+ le.value.pickFileDone(e4);
288
+ }), F.$on(ue + "-scanDone", (e4) => {
289
+ le.value.scanDone(e4);
293
290
  }), ie.value.formSetMaxHeight = Ie(), ie.value && ie.value.configureObj.props.base && ie.value.configureObj.props.base.isSafeDelete && ve("setSafeDeleteTableCode", ie.value.extraParam.tableName);
294
- }), o(() => W.pageContext.searchFormData, (e3) => {
291
+ }), o(() => q.pageContext.searchFormData, (e3) => {
295
292
  de.value.data = e3;
296
- }), o(() => W.pageContext.entity.data, (e3) => {
297
- Te(W.pageContext.entity.data);
293
+ }), o(() => q.pageContext.entity.data, (e3) => {
294
+ Te(q.pageContext.entity.data);
298
295
  }), i(() => {
299
- window.removeEventListener("message", je), F.$off(ue + "-close-component-page-dialog"), F.$off(ue + "_close-dialog-get-entity"), F.$off(se + "-pickFileDone"), F.$off(se + "-scanDone");
296
+ window.removeEventListener("message", je), F.$off(se + "-close-component-page-dialog"), F.$off(se + "_close-dialog-get-entity"), F.$off(ue + "-pickFileDone"), F.$off(ue + "-scanDone");
300
297
  });
301
298
  const Qe = () => {
302
299
  if (!ae.value) return null;
303
300
  let e3 = ae.value.closest(".app-container");
304
- if (!e3) return console.warn("未找到.app-container元素"), null;
301
+ if (!e3) return null;
305
302
  const t2 = ae.value.getBoundingClientRect(), n2 = e3.getBoundingClientRect(), o2 = window.scrollY;
306
303
  return { distanceToTop: t2.top + o2 - n2.top, distanceToBottom: n2.bottom - t2.top };
307
304
  };
308
305
  return z2({ refresh: function(e3, t2, n2, o2) {
309
306
  return le.value.refresh(e3, t2, n2, o2);
310
307
  }, createRow: function() {
311
- return le.value.createRow(se, {}, { getDefaultValueFunc: H });
308
+ return le.value.createRow(ue, {}, { getDefaultValueFunc: H });
312
309
  }, clearSelections: _e, getSelections: function() {
313
310
  return ce.value;
314
311
  }, getSelectionIds: function() {
@@ -325,7 +322,7 @@ const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}
325
322
  }, showMobileSearch: function() {
326
323
  me.value && le.value.showMobileSearch();
327
324
  }, getTableSelectOptions: function() {
328
- if (le.value) return le.value.getTableSelectOptions(se);
325
+ if (le.value) return le.value.getTableSelectOptions(ue);
329
326
  }, dynamicControlTableEdit: function(e3, t2, n2) {
330
327
  le.value && le.value.dynamicControlTableEdit(e3, t2, n2);
331
328
  }, doLayout: function(e3) {
@@ -333,7 +330,7 @@ const A = ["id"], z = e({ __name: "main-table-runtime", props: { pageContext: {}
333
330
  }, changeOperationAddState: function(e3) {
334
331
  } }), (e3, t2) => {
335
332
  const n2 = a("super-grid");
336
- return r(), l("div", { ref_key: "tableDivRef", ref: ae, id: s(se) + "_tableDiv" }, [u(n2, { ref_key: "gridRef", ref: le, url: s(re), options: ie.value, code: s(se), settings: s(ge), "search-form-info": de.value, "list-toolbar-form-data": s(pe), onSelect: Ne, onSelectAll: Pe, onSelectionChange: Be, onCellClick: Fe, onCellDblclick: He, onRowClick: Ue, onRowDblclick: Me, onHeaderClick: $e, onRefresh: _e, onNewOpenGridDialog: s(B), onCanShowMobileSearch: Le }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "onNewOpenGridDialog"])], 8, A);
333
+ return r(), l("div", { ref_key: "tableDivRef", ref: ae, id: u(ue) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: le, url: u(re), options: ie.value, code: u(ue), settings: u(ge), "search-form-info": de.value, "list-toolbar-form-data": u(pe), onSelect: Ne, onSelectAll: Pe, onSelectionChange: Be, onCellClick: Fe, onCellDblclick: He, onRowClick: Ue, onRowDblclick: Me, onHeaderClick: $e, onRefresh: _e, onNewOpenGridDialog: u(B), onCanShowMobileSearch: Le }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "onNewOpenGridDialog"])], 8, A);
337
334
  };
338
335
  } });
339
336
  export {