super-page-runtime 2.3.3 → 2.3.4
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.
- package/dist/es/components/runtime/utils/barcode-util.js +5 -5
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +46 -45
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +16 -14
- package/dist/es/components/runtime/utils/charts/chart-util.js +26 -24
- package/dist/es/components/runtime/utils/events/event-util.js +116 -116
- package/dist/es/components/runtime/utils/events/print-label.js +1 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +475 -463
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/form/scan-util.js +4 -3
- package/dist/es/components/runtime/utils/page-helper-util.js +275 -275
- package/dist/es/components/runtime/utils/page-init-util.js +47 -44
- package/dist/es/components/runtime/utils/page-store.js +10 -10
- package/dist/es/components/runtime/utils/table-utils.js +30 -30
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +16 -12
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +15 -14
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +12 -11
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +18 -17
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +19 -18
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +19 -18
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +21 -19
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +55 -55
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +37 -35
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +123 -120
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +58 -57
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +29 -29
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +27 -27
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +27 -27
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
- package/dist/es/components/runtime/views/home-chart.vue.d.ts +3 -3
- package/dist/es/components/runtime/views/home-chart.vue.js +25 -23
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +6 -6
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +131 -130
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +87 -87
- package/package.json +2 -2
|
@@ -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
|
-
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
|
|
3
|
-
import { getBaseUrl as
|
|
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 S, rowDblClick as w, 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 T, getRealRestApiPath as R, isWorkflowPage as O, 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 { isPromise as N } from "agilebuilder-ui/src/utils/common-util";
|
|
6
|
-
import { getOperationButtons as
|
|
6
|
+
import { getOperationButtons as P, popupToPage as B } from "../../../../utils/table-utils.js";
|
|
7
7
|
import F from "../../../../utils/eventBus.js";
|
|
8
8
|
import { getDefaultValue as H } from "../../../../utils/page-init-util.js";
|
|
9
|
-
import { getSizeConfig as
|
|
9
|
+
import { getSizeConfig as M, caculateShowCondition as U, decomposeVariable as L } from "../../../../utils/page-helper-util.js";
|
|
10
10
|
import { getComponentRefByCode as $ } from "../../../../utils/global-refs.js";
|
|
11
11
|
import { getRowStyleUtil as _, getCellStyleUtil as A, getHeaderCellStyleUtil as G } from "../../chart/table/chart-table-util.js";
|
|
12
12
|
const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: W2, emit: q }) {
|
|
@@ -15,21 +15,21 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
15
15
|
const K = t({});
|
|
16
16
|
Y.isTest ? K.value = Q.configure.runtime ? Q.configure.runtime : {} : Y.tableRuntimes && Y.tableRuntimes[J.uuid] && (J = JSON.parse(Y.tableRuntimes[J.uuid].configure), K.value = J.runtime ? J.runtime : {});
|
|
17
17
|
const X = K.value.style, Z = K.value.class, ee = Y.systemCode, te = Y.backendUrl, ne = J.props && J.props.dataOrigin && J.props.dataOrigin.tableName;
|
|
18
|
-
let oe =
|
|
18
|
+
let oe = E(Y.backendUrl, Y.isTest);
|
|
19
19
|
oe || (oe = window.$vueApp.config.globalProperties.baseURL);
|
|
20
20
|
const ie = t({}), ae = [], le = t({});
|
|
21
21
|
le.value = function() {
|
|
22
22
|
const e3 = Y.systemCode, t2 = Y.code;
|
|
23
23
|
let n2 = J.props && J.props.dataOrigin && "[]" !== J.props.dataOrigin.sqlFilterCondition ? J.props.dataOrigin.sqlFilterCondition : null;
|
|
24
24
|
null == n2 && (n2 = []);
|
|
25
|
-
const o2 = { isSql: true, optionTableHeight: 0, rowKeyProp: J.props.dataOrigin.principalLinkage, extraParam: { beanName: Y.beanName, functionCode: t2 + ".listData", tableName: ne, systemCode: e3, pageCode: Y.code, pageVersion: Y.version }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter:
|
|
25
|
+
const o2 = { isSql: true, optionTableHeight: 0, rowKeyProp: J.props.dataOrigin.principalLinkage, extraParam: { beanName: Y.beanName, functionCode: t2 + ".listData", tableName: ne, systemCode: e3, pageCode: Y.code, pageVersion: Y.version }, initSearchForm: n2, lineEditOptions: { aftersaveIsCreateRow: false, autoSave: false, enter: we, esc: Ee }, indexContinuous: !(!J.props || !J.props.otherSettings) && J.props.otherSettings.serialNumberContinuous, initSearch: !J.props || false !== J.props.dataOrigin.initializationQuery, resizeHeight: je, pageCode: Y.code, pageVersion: Y.version, additionalParamMap: I(Y), showOverflowTooltip: !(!J.props || !J.props.otherSettings || void 0 !== J.props.otherSettings.isBreakLine && false !== J.props.otherSettings.isBreakLine), isEnableEnterEvent: J.props && J.props.otherSettings && J.props.otherSettings.isEnableEnterEvent, isWithDataPermission: !!(J.props && J.props.otherSettings && J.props.otherSettings.isWithDataPermission) && J.props.otherSettings.isWithDataPermission, pageDevMode: false, isWorkflowEntity: O(Y), tableClass: Z, tableStyle: X, pageContext: Y, configureObj: J, backendUrl: oe, cellStyleRender: qe, rowStyleRender: We, titleStyleRender: Qe, validateEitConditions: Xe };
|
|
26
26
|
return function(e4) {
|
|
27
27
|
var _a;
|
|
28
28
|
((_a = J.props.highOrder) == null ? void 0 : _a.mergeFields) && J.props.highOrder.mergeFields.length > 0 && (e4.mergeFields = J.props.highOrder.mergeFields.join(","));
|
|
29
29
|
}(o2), function(e4) {
|
|
30
30
|
const t3 = [];
|
|
31
31
|
e4.operations || (e4.operations = {});
|
|
32
|
-
|
|
32
|
+
P(Y, J, t3, ye), e4.operations.operation = t3;
|
|
33
33
|
}(o2), function(e4) {
|
|
34
34
|
J.props && J.props.dataOrigin && J.props.dataOrigin.sortField && (e4.initSortInfo = [], J.props.dataOrigin.sortField.forEach((t3) => {
|
|
35
35
|
const n3 = { order: "desc" === t3.type ? "desc" : "asc" };
|
|
@@ -58,16 +58,18 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
58
58
|
let e3 = oe + "/dsc/commons/list";
|
|
59
59
|
e3 && (e3 = R(e3, ee, te, Y.isTest));
|
|
60
60
|
return e3;
|
|
61
|
-
}(), ce = T(Y.code, Y.version, J.uuid), pe = Y.code + "_" + ce, de = t([]), fe = Y.entity.page, ge = t({ data: [] }), me = Y.superGridItems, ve = me ? me[J.uuid] : null
|
|
62
|
-
|
|
61
|
+
}(), ce = T(Y.code, Y.version, J.uuid), pe = Y.code + "_" + ce, de = t([]), fe = Y.entity.page, ge = t({ data: [] }), me = Y.superGridItems, ve = me ? me[J.uuid] : null;
|
|
62
|
+
console.log("superGridSetting1111===", me, ve);
|
|
63
|
+
const he = t(false), be = q;
|
|
64
|
+
function Se() {
|
|
63
65
|
J.props.linkages && J.props.linkages.length > 0 && (J.props.linkages.forEach((e3) => {
|
|
64
|
-
const t2 =
|
|
66
|
+
const t2 = L(e3.fieldName);
|
|
65
67
|
t2 && t2.length > 1 && ae.push(t2[1]);
|
|
66
68
|
}), ae.length > 0 && function() {
|
|
67
69
|
let e3 = [];
|
|
68
70
|
Q.pageContext.toolsInputComponents && Q.pageContext.toolsInputComponents.length > 0 && Q.pageContext.toolsInputComponents.forEach((t2) => {
|
|
69
71
|
if (J.props.linkages.some((e4) => e4.fieldName === t2.prop) && t2.defaultValue) {
|
|
70
|
-
const n2 =
|
|
72
|
+
const n2 = L(t2.prop);
|
|
71
73
|
n2 && n2.length > 1 && e3.push(n2[1]);
|
|
72
74
|
}
|
|
73
75
|
});
|
|
@@ -83,13 +85,13 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
83
85
|
}
|
|
84
86
|
}());
|
|
85
87
|
}
|
|
86
|
-
function
|
|
88
|
+
function we({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
|
|
87
89
|
Ce(null, null, n2, t2, e3);
|
|
88
90
|
}
|
|
89
91
|
function Ce(e3, t2, n2, o2, i2) {
|
|
90
92
|
const a2 = ie.value.lineEditSave, l2 = J;
|
|
91
93
|
a2.props.base.tableUuid = l2.uuid, le.value.lineEditOptions.beforeSave = xe, Y.editData = n2, p({ pageContext: Y, configureObj: a2 }).then((l3) => {
|
|
92
|
-
true === l3.canExecute && (le.value.lineEditOptions.saveRow =
|
|
94
|
+
true === l3.canExecute && (le.value.lineEditOptions.saveRow = De, ue.value.saveRow(i2, ce).then(() => {
|
|
93
95
|
d(Y, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
|
|
94
96
|
}));
|
|
95
97
|
}).finally(() => {
|
|
@@ -104,7 +106,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
104
106
|
if (ie.value[n2] = e3, "lineEditSave" === n2 ? t2 = Ce : "restoreEdit" === n2 ? t2 = Te : "lineEditUpdate" === n2 ? t2 = Re : "lineEditDelete" === n2 && (t2 = ke), !t2) {
|
|
105
107
|
t2 = x(Y, e3.events, "click");
|
|
106
108
|
}
|
|
107
|
-
} else ie.value[e3.uuid] = e3, t2 =
|
|
109
|
+
} else ie.value[e3.uuid] = e3, t2 = Pe;
|
|
108
110
|
return { onClick: t2, eventName: n2 };
|
|
109
111
|
}
|
|
110
112
|
function xe({ row: e3, columns: t2, additionalParamMap: n2 }) {
|
|
@@ -112,7 +114,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
112
114
|
o2.props.base.tableUuid = i2.uuid;
|
|
113
115
|
return f(Y, o2, { row: e3, columns: t2 });
|
|
114
116
|
}
|
|
115
|
-
function
|
|
117
|
+
function De({ row: e3, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: i2, mainDefaultValueColumns: a2 }) {
|
|
116
118
|
const l2 = ie.value.lineEditSave, r2 = J;
|
|
117
119
|
return l2.props.base.tableUuid = r2.uuid, new Promise((t3, n3) => {
|
|
118
120
|
const i3 = { tableName: r2.props.dataOrigin.tableName };
|
|
@@ -123,7 +125,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
123
125
|
});
|
|
124
126
|
});
|
|
125
127
|
}
|
|
126
|
-
function
|
|
128
|
+
function Ee({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
|
|
127
129
|
Te(null, null, n2, t2, e3);
|
|
128
130
|
}
|
|
129
131
|
function Te(e3, t2, n2, o2, i2) {
|
|
@@ -177,7 +179,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
177
179
|
}
|
|
178
180
|
}
|
|
179
181
|
function Ve(e3) {
|
|
180
|
-
if (!Y.dataTypeMaps) return;
|
|
182
|
+
if (!Y.dataTypeMaps) return void console.log("!pageContext['dataTypeMaps'] || !pageContext['dataTypeMaps'][tableName]");
|
|
181
183
|
const t2 = Y.dataTypeMaps;
|
|
182
184
|
let n2 = [];
|
|
183
185
|
if (e3) for (var o2 in e3) {
|
|
@@ -196,7 +198,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
196
198
|
e4.propName = o2, e4.propDbName = o2, e4.dataType = t2[o2] ? t2[o2] : "TEXT", e4.operator = "EQ", e4.propValue = a2, Ze(e4, o2), e4.rightBracket = ")", e4.joinSign = "and", n2.push(e4);
|
|
197
199
|
}
|
|
198
200
|
}
|
|
199
|
-
ue.value.toolbarRefresh(null, null, n2);
|
|
201
|
+
console.log("toolbarRefresh"), ue.value.toolbarRefresh(null, null, n2);
|
|
200
202
|
}
|
|
201
203
|
function je(e3) {
|
|
202
204
|
const t2 = Ne();
|
|
@@ -207,8 +209,8 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
207
209
|
}
|
|
208
210
|
function Ne() {
|
|
209
211
|
if (!ue.value) return;
|
|
210
|
-
Q.configure.name, Q.configure;
|
|
211
|
-
const e3 =
|
|
212
|
+
console.log("objectRender---configure.name=", Q.configure.name, "props.configure=", Q.configure, "runtimeStyle.value=", X);
|
|
213
|
+
const e3 = M(Q.pageContext, Q.configure);
|
|
212
214
|
if (e3) {
|
|
213
215
|
if (e3.isCalcHeight) {
|
|
214
216
|
let e4 = ue.value.$el;
|
|
@@ -219,11 +221,11 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
219
221
|
if (e3.fixHeight && ue.value && (ue.value.tableHeight = e3.fixHeight), e3.maxHeight) return e3.maxHeight;
|
|
220
222
|
}
|
|
221
223
|
}
|
|
222
|
-
function
|
|
224
|
+
function Pe(e3, t2, n2, o2, i2, a2) {
|
|
223
225
|
const l2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2, button: a2, id: n2.ID ? n2.ID : n2.id }, r2 = ie.value[a2.sourceButton.uuid], u2 = J;
|
|
224
|
-
r2.props.base.tableUuid = u2.uuid,
|
|
226
|
+
r2.props.base.tableUuid = u2.uuid, D(null, Y, r2, "click", l2);
|
|
225
227
|
}
|
|
226
|
-
function
|
|
228
|
+
function Be(e3) {
|
|
227
229
|
"close_open_win" === e3.data && ue.value && ue.value.refresh();
|
|
228
230
|
}
|
|
229
231
|
function Fe(e3, t2) {
|
|
@@ -234,20 +236,20 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
234
236
|
de.value = e3;
|
|
235
237
|
m(Y, J, { selection: e3 });
|
|
236
238
|
}
|
|
237
|
-
function
|
|
239
|
+
function Me(e3) {
|
|
238
240
|
v(Y, J, { newSelection: e3 });
|
|
239
241
|
}
|
|
240
|
-
function
|
|
242
|
+
function Ue(e3, t2, n2, o2) {
|
|
241
243
|
h(Y, J, { row: e3, column: t2, cell: n2, event: o2 });
|
|
242
244
|
}
|
|
243
|
-
function
|
|
245
|
+
function Le(e3, t2, n2, o2) {
|
|
244
246
|
b(Y, J, { row: e3, column: t2, cell: n2, event: o2 });
|
|
245
247
|
}
|
|
246
248
|
function $e(e3, t2, n2) {
|
|
247
|
-
|
|
249
|
+
S(Y, J, { row: e3, column: t2, event: n2 });
|
|
248
250
|
}
|
|
249
251
|
function _e(e3, t2, n2) {
|
|
250
|
-
|
|
252
|
+
w(Y, J, { row: e3, column: t2, event: n2 });
|
|
251
253
|
}
|
|
252
254
|
function Ae(e3, t2) {
|
|
253
255
|
C(Y, J, { column: e3, event: t2 });
|
|
@@ -283,32 +285,32 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
283
285
|
}
|
|
284
286
|
n(() => {
|
|
285
287
|
const e3 = Ke();
|
|
286
|
-
ue.value && e3 && e3.distanceToBottom && (ue.value.tableHeight = e3.distanceToBottom - 110), Q.pageContext.pageRuntimeStyle && Q.pageContext.pageRuntimeStyle.height, window.addEventListener("message",
|
|
288
|
+
ue.value && e3 && e3.distanceToBottom && (ue.value.tableHeight = e3.distanceToBottom - 110), Q.pageContext.pageRuntimeStyle && console.log("pageContext.pageHeight:", Q.pageContext.pageRuntimeStyle.height), window.addEventListener("message", Be), F.$on(pe + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
|
|
287
289
|
ue.value.closePageDialog({ entity: t2, pageCode: n2, jumpInfo: e4 });
|
|
288
290
|
}), F.$on(pe + "_close-dialog-get-entity", () => {
|
|
289
291
|
F.$emit(pe + "_close-super-dialog");
|
|
290
292
|
}), F.$on(ce + "-pickFileDone", (e4) => {
|
|
291
|
-
ue.value.pickFileDone(e4);
|
|
293
|
+
console.log("superPage5555---listCode---pickFileDone--listCode=", ce, "data=", e4), ue.value.pickFileDone(e4);
|
|
292
294
|
}), F.$on(ce + "-scanDone", (e4) => {
|
|
293
|
-
ue.value.scanDone(e4);
|
|
295
|
+
console.log("superPage5555---listCode---scanDone--listCode=", ce, "data=", e4), ue.value.scanDone(e4);
|
|
294
296
|
}), le.value.formSetMaxHeight = Ne(), le.value && le.value.configureObj.props.base && le.value.configureObj.props.base.isSafeDelete && be("setSafeDeleteTableCode", le.value.extraParam.tableName);
|
|
295
297
|
}), o(() => Q.pageContext.searchFormData, (e3) => {
|
|
296
298
|
ge.value.data = e3;
|
|
297
299
|
}), o(() => Q.pageContext.entity.data, (e3) => {
|
|
298
300
|
Ve(Q.pageContext.entity.data);
|
|
299
301
|
}), i(() => {
|
|
300
|
-
window.removeEventListener("message",
|
|
302
|
+
window.removeEventListener("message", Be), F.$off(pe + "-close-component-page-dialog"), F.$off(pe + "_close-dialog-get-entity"), F.$off(ce + "-pickFileDone"), F.$off(ce + "-scanDone");
|
|
301
303
|
});
|
|
302
304
|
const Ke = () => {
|
|
303
305
|
if (!re.value) return null;
|
|
304
306
|
let e3 = re.value.closest(".app-container");
|
|
305
|
-
if (!e3) return null;
|
|
307
|
+
if (!e3) return console.warn("未找到.app-container元素"), null;
|
|
306
308
|
const t2 = re.value.getBoundingClientRect(), n2 = e3.getBoundingClientRect(), o2 = window.scrollY;
|
|
307
309
|
return { distanceToTop: t2.top + o2 - n2.top, distanceToBottom: n2.bottom - t2.top };
|
|
308
310
|
};
|
|
309
311
|
function Xe({ row: e3, editConditions: t2 }) {
|
|
310
312
|
let n2 = true;
|
|
311
|
-
return t2 && t2.length > 0 && (n2 =
|
|
313
|
+
return t2 && t2.length > 0 && (n2 = U(Q.pageContext, t2, e3)), n2;
|
|
312
314
|
}
|
|
313
315
|
function Ze(e3, t2) {
|
|
314
316
|
const n2 = $(Q.pageContext, t2);
|
|
@@ -364,7 +366,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
|
|
|
364
366
|
(_a = ue.value) == null ? void 0 : _a.setScrollTopByRowIndex(e3);
|
|
365
367
|
} }), (e3, t2) => {
|
|
366
368
|
const n2 = a("super-grid");
|
|
367
|
-
return r(), l("div", { ref_key: "tableDivRef", ref: re, id: u(ce) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: ue, url: u(se), options: le.value, code: u(ce), settings: u(ve), "search-form-info": ge.value, "list-toolbar-form-data": u(fe), onSelect: Fe, onSelectAll: He, onSelectionChange:
|
|
369
|
+
return r(), l("div", { ref_key: "tableDivRef", ref: re, id: u(ce) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: ue, url: u(se), options: le.value, code: u(ce), settings: u(ve), "search-form-info": ge.value, "list-toolbar-form-data": u(fe), onSelect: Fe, onSelectAll: He, onSelectionChange: Me, onCellClick: Ue, onCellDblclick: Le, onRowClick: $e, onRowDblclick: _e, onHeaderClick: Ae, onRefresh: Ge, onNewOpenGridDialog: u(B), onCanShowMobileSearch: ze, onGridOnmounted: Se }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "onNewOpenGridDialog"])], 8, z);
|
|
368
370
|
};
|
|
369
371
|
} });
|
|
370
372
|
export {
|