super-page-runtime 2.2.23 → 2.2.29-tmp1

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