super-page-runtime 2.3.46-sit1 → 2.3.46-sit2

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.
@@ -54,7 +54,7 @@ const z = { save: function(e2) {
54
54
  const r2 = e3.pageContext, l2 = e3.configureObj, u2 = l2.props.base, p2 = r2.systemCode, d2 = r2.backendUrl, m2 = l2.props.base.tableUuid ? l2.props.base.tableUuid : e3.tableUuid, f2 = U(r2, m2);
55
55
  let g2 = t(d2, r2.isTest) + "/dsc/commons/" + f2;
56
56
  g2 = n(g2, p2, d2, r2.isTest);
57
- const C2 = void 0 === u2.isPermission || "true" === u2.isPermission || u2.isPermission, b2 = o(r2), k2 = S(l2, r2), h2 = { ids: a2, functionCode: k2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: b2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
57
+ const C2 = void 0 === u2.isPermission || "true" === u2.isPermission || u2.isPermission, b2 = !!o(r2) || !!r2.isWorkflowEntityOrg, k2 = S(l2, r2), h2 = { ids: a2, functionCode: k2, isPermission: C2 + "", systemCode: p2, isWorkflowEntity: b2, listCodesMap: r2.listCodesMap, pageCode: r2.code, pageVersion: r2.version };
58
58
  if (r2.beanName && (h2.beanName = r2.beanName), m2) {
59
59
  const t2 = (_c = (_b = (_a = T(e3.pageContext, m2)) == null ? void 0 : _a.getConfigure()) == null ? void 0 : _b.props) == null ? void 0 : _c.deleteLogicSetting;
60
60
  t2 && t2 && ("object" == typeof t2 ? h2.deleteLogicSetting = JSON.stringify(t2) : "string" == typeof t2 && (h2.deleteLogicSetting = t2));
@@ -190,7 +190,7 @@ function setVariableValue(t, e, o) {
190
190
  let n = t;
191
191
  for (let t2 = 0; t2 < e.length; t2++) {
192
192
  const a = e[t2];
193
- t2 + 1 === e.length ? void 0 === o ? n[a] = null : Array.isArray(n[a]) && Array.isArray(o) ? n[a].splice(0, n[a].length, ...o) : n[a] = o : (void 0 === n[a] && (n[a] = {}), n = n[a]);
193
+ t2 + 1 === e.length ? n[a] = void 0 === o ? null : o : (void 0 === n[a] && (n[a] = {}), n = n[a]);
194
194
  }
195
195
  }
196
196
  function setVariableValueWithProp(t, e, o) {
@@ -7,7 +7,7 @@ import { functions as l } from "./api/page-expose-util.js";
7
7
  import { isWorkflowPage as p, deepCopy as u } from "./common-util.js";
8
8
  import { packageCustomValidator as d } from "./events/validator-util.js";
9
9
  import { isMobileBrowser as c } from "agilebuilder-ui/src/utils/common-util";
10
- function m(t2) {
10
+ function f(t2) {
11
11
  return new Promise((n2, i2) => {
12
12
  (function(t3) {
13
13
  return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t3);
@@ -22,7 +22,7 @@ function m(t2) {
22
22
  });
23
23
  });
24
24
  }
25
- function f(e2, t2) {
25
+ function m(e2, t2) {
26
26
  return new Promise((n2, i2) => {
27
27
  e2 ? b().then((s2) => {
28
28
  s2 && (e2.systemParam = h(s2)), e2.tableRuntimes && Object.keys(e2.tableRuntimes).length > 0 ? R(e2, t2, e2.systemVersion).then((t3) => {
@@ -47,7 +47,7 @@ function b() {
47
47
  function y(e2) {
48
48
  var _a, _b, _c;
49
49
  if (null == e2) return null;
50
- const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: w(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
50
+ const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: w(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, isWorkflowEntityOrg: e2.isWorkflowEntityOrg, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
51
51
  if (e2.props && e2.props.notIdInitializationList) {
52
52
  let n2 = e2.props.notIdInitializationList;
53
53
  "string" == typeof n2 && (n2 = JSON.parse(n2)), n2.length > 0 && (t2.notIdInitializationList = n2);
@@ -117,16 +117,16 @@ function E(e2, t2, n2) {
117
117
  if (e2) {
118
118
  Object.assign(t2, e2);
119
119
  const i2 = e2.paramStoreId;
120
- n2 && (e2.dialogParamStoreId = i2), A(i2, t2), delete e2.paramStoreId, e2.jumpMode && (t2.jumpMode = e2.jumpMode);
120
+ n2 && (e2.dialogParamStoreId = i2), k(i2, t2), delete e2.paramStoreId, e2.jumpMode && (t2.jumpMode = e2.jumpMode);
121
121
  }
122
122
  }
123
123
  function v(e2, t2) {
124
124
  if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query)) {
125
125
  Object.assign(t2, e2.query);
126
- A(e2.query.paramStoreId, t2);
126
+ k(e2.query.paramStoreId, t2);
127
127
  }
128
128
  }
129
- function A(e2, t2) {
129
+ function k(e2, t2) {
130
130
  if (e2) {
131
131
  const n2 = a(e2);
132
132
  if (n2) {
@@ -135,12 +135,12 @@ function A(e2, t2) {
135
135
  }
136
136
  }
137
137
  }
138
- const C = "__paramStoreIdRegistry__";
139
- function I(e2) {
138
+ const A = "__paramStoreIdRegistry__";
139
+ function C(e2) {
140
140
  if (!e2) return;
141
141
  let t2 = [];
142
142
  try {
143
- const e3 = sessionStorage.getItem(C);
143
+ const e3 = sessionStorage.getItem(A);
144
144
  t2 = e3 ? JSON.parse(e3) : [];
145
145
  } catch (e3) {
146
146
  t2 = [];
@@ -149,9 +149,9 @@ function I(e2) {
149
149
  const n2 = t2.shift();
150
150
  n2 && n2 !== e2 && sessionStorage.removeItem(n2);
151
151
  }
152
- sessionStorage.setItem(C, JSON.stringify(t2));
152
+ sessionStorage.setItem(A, JSON.stringify(t2));
153
153
  }
154
- function k(e2, t2) {
154
+ function I(e2, t2) {
155
155
  let n2, i2 = t2;
156
156
  t2 || (n2 = e2.props.base ? e2.props.base : {}, i2 = n2.prop);
157
157
  let s2 = null;
@@ -159,7 +159,7 @@ function k(e2, t2) {
159
159
  }
160
160
  function M(e2, t2, n2) {
161
161
  var _a, _b;
162
- const i2 = k(t2, n2), o2 = e2.entity;
162
+ const i2 = I(t2, n2), o2 = e2.entity;
163
163
  if (null == o2.data.ID && null == o2.data.id) {
164
164
  let n3, r2, a2 = false;
165
165
  t2 && (n3 = t2.props.base ? t2.props.base : {}, r2 = t2.name, a2 = n3.multiple);
@@ -167,14 +167,14 @@ function M(e2, t2, n2) {
167
167
  if (null == l2) {
168
168
  const s2 = n3 ? n3.defaultValue : null, l3 = Boolean((_a = t2 == null ? void 0 : t2.runtime) == null ? void 0 : _a.arrayValue);
169
169
  if (s2) try {
170
- const t3 = O(e2, s2, r2, a2);
171
- if (j(t3)) S(o2, i2, t3, l3);
170
+ const t3 = S(e2, s2, r2, a2);
171
+ if (j(t3)) O(o2, i2, t3, l3);
172
172
  else if (((_b = n3.moreDefaultValue) == null ? void 0 : _b.length) > 0) {
173
173
  const t4 = n3.moreDefaultValue;
174
174
  for (let n4 = 0; n4 < t4.length; n4++) {
175
- const s3 = O(e2, t4[n4], r2, a2);
175
+ const s3 = S(e2, t4[n4], r2, a2);
176
176
  if (j(s3)) {
177
- S(o2, i2, s3, l3);
177
+ O(o2, i2, s3, l3);
178
178
  break;
179
179
  }
180
180
  }
@@ -188,10 +188,10 @@ function M(e2, t2, n2) {
188
188
  function j(e2) {
189
189
  return null != e2 && "" !== e2;
190
190
  }
191
- function S(e2, t2, n2, i2) {
191
+ function O(e2, t2, n2, i2) {
192
192
  !Array.isArray(n2) || i2 ? r(e2, t2, n2) : r(e2, t2, n2.join(","));
193
193
  }
194
- function O(e2, t2, n2, i2) {
194
+ function S(e2, t2, n2, i2) {
195
195
  let s2;
196
196
  if (t2 && (s2 = o(e2, t2), null != s2 && null != s2 && n2)) {
197
197
  let e3 = false;
@@ -280,16 +280,16 @@ function V(e2, t2) {
280
280
  export {
281
281
  V as controlObjectRenderState,
282
282
  y as convertToPageContext,
283
- O as getDefaultValue,
283
+ S as getDefaultValue,
284
284
  M as getFormModelFields,
285
- k as getModelFields,
285
+ I as getModelFields,
286
286
  T as getPermissionCodes,
287
287
  P as packageAdditionalMapWithLocationSearch,
288
288
  E as packageAdditionalMapWithPageRequest,
289
289
  v as packageAdditionalMapWithRoute,
290
290
  F as packageFormRules,
291
- m as queryPageDesignByCode,
292
- f as queryPageDesignWhenPreview,
291
+ f as queryPageDesignByCode,
292
+ m as queryPageDesignWhenPreview,
293
293
  R as queryPageSuperGrids,
294
- I as registerParamStoreId
294
+ C as registerParamStoreId
295
295
  };
@@ -1,15 +1,17 @@
1
- import { defineComponent as e, ref as a, resolveComponent as t, createElementBlock as n, openBlock as p, createVNode as l } from "vue";
2
- const u = { style: { padding: "5px", "text-align": "center" } }, g = e({ __name: "table-pageination", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, column: { type: Object, default: () => ({}) }, total: { type: Number, default: 0 } }, emits: ["pageChange", "pageSizeChange"], setup(e2, { emit: g2 }) {
3
- const i = e2, o = g2, r = a(1), s = a(i.configure.pageination.pageSize), c = (e3) => {
4
- r.value = e3, o("pageChange", r.value, s.value);
5
- }, v = (e3) => {
6
- s.value = e3, o("pageSizeChange", r.value, s.value);
1
+ import { defineComponent as e, ref as a, resolveComponent as t, createElementBlock as n, openBlock as p, createVNode as g } from "vue";
2
+ const i = { style: { padding: "5px", "text-align": "center" } }, u = e({ __name: "table-pageination", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, column: { type: Object, default: () => ({}) }, total: { type: Number, default: 0 } }, emits: ["pageChange", "pageSizeChange"], setup(e2, { expose: u2, emit: l }) {
3
+ const o = e2, r = l, s = a(1), c = a(o.configure.pageination.pageSize), v = a([10, 20, 50, 100]);
4
+ o.configure.pageination.pageSizes && (v.value = o.configure.pageination.pageSizes.split(",").map((e3) => parseInt(e3)));
5
+ const z = (e3) => {
6
+ s.value = e3, r("pageChange", s.value, c.value);
7
+ }, d = (e3) => {
8
+ c.value = e3, r("pageSizeChange", s.value, c.value);
7
9
  };
8
- return (a2, g3) => {
9
- const i2 = t("el-pagination");
10
- return p(), n("div", u, [l(i2, { "current-page": r.value, "onUpdate:currentPage": g3[0] || (g3[0] = (e3) => r.value = e3), "page-size": s.value, "onUpdate:pageSize": g3[1] || (g3[1] = (e3) => s.value = e3), "page-sizes": [10, 30, 50, 100], size: "small", layout: "total, sizes, prev, pager, next, jumper", total: e2.total, onCurrentChange: c, onSizeChange: v }, null, 8, ["current-page", "page-size", "total"])]);
10
+ return u2({ currentPage: s, pageSize: c }), (a2, u3) => {
11
+ const l2 = t("el-pagination");
12
+ return p(), n("div", i, [g(l2, { "current-page": s.value, "onUpdate:currentPage": u3[0] || (u3[0] = (e3) => s.value = e3), "page-size": c.value, "onUpdate:pageSize": u3[1] || (u3[1] = (e3) => c.value = e3), "page-sizes": v.value, size: "small", layout: "total, sizes, prev, pager, next, jumper", total: e2.total, onCurrentChange: z, onSizeChange: d }, null, 8, ["current-page", "page-size", "page-sizes", "total"])]);
11
13
  };
12
14
  } });
13
15
  export {
14
- g as default
16
+ u as default
15
17
  };
@@ -1,108 +1,108 @@
1
- import { defineComponent as e, ref as o, computed as r, onMounted as n, watch as t, resolveComponent as i, createElementBlock as a, openBlock as u, normalizeClass as p, normalizeStyle as l, unref as s, withDirectives as c, createVNode as g, createBlock as f, createCommentVNode as m, vShow as d, withCtx as h, Fragment as v, renderList as y, h as C } from "vue";
1
+ import { defineComponent as e, ref as o, computed as r, onMounted as t, watch as n, resolveComponent as i, createElementBlock as a, openBlock as u, normalizeClass as l, normalizeStyle as p, unref as s, withDirectives as c, createVNode as g, createBlock as f, createCommentVNode as m, vShow as d, withCtx as h, Fragment as v, renderList as y, h as C } from "vue";
2
2
  import b from "../common/common-chart-header.vue.js";
3
3
  import { getSizeConfig as x, getChartDatasFromPage as O, getValueFromVariable as S, caculateShowCondition as w, isPromise as E, setValueForVariableName as $, updateChartDatasourcesByComponent as T } from "../../../../utils/page-helper-util.js";
4
4
  import { handleChartEvent as j, getCustomFunc as F } from "../../../../utils/events/event-util.js";
5
5
  import k from "./group-column.vue.js";
6
6
  import N from "./normal-column.vue.js";
7
7
  import I from "./table-pageination.vue.js";
8
- import { getSummaryTitleColumn as R, getSummaryDataColumn as H, rowDataToColumn as D, getColumnToRowTableConfig as J, colDataToRow as U, computeFormula as W, getNewColumnConfig as _, summaryStatistics as z, replacePlaceholders as A, getIndexColumn as P, getHeaderCellStyleUtil as V, getRowStyleUtil as G, getCellStyleUtil as K, mergeRowByProperty as L, formatColContent as q } from "./chart-table-util.js";
8
+ import { getSummaryTitleColumn as R, getSummaryDataColumn as H, rowDataToColumn as D, getColumnToRowTableConfig as J, colDataToRow as P, computeFormula as U, getNewColumnConfig as W, summaryStatistics as _, replacePlaceholders as z, getIndexColumn as A, getHeaderCellStyleUtil as V, getRowStyleUtil as G, getCellStyleUtil as K, mergeRowByProperty as L, formatColContent as q } from "./chart-table-util.js";
9
9
  import { deepCopy as B } from "../../../../utils/common-util.js";
10
10
  const M = e({ __name: "table-runtime", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, setup(e2, { expose: M2 }) {
11
11
  var _a;
12
- const Q = e2, X = Q.configure.runtime ? Q.configure.runtime : {}, Y = X.style, Z = X.class, ee = X.dataConfig, oe = X.headerInfo ? X.headerInfo : {}, re = o(null), ne = o(X.props.isEnableGroupHeader), te = o([]), ie = o([]), ae = o([]), ue = o([]), pe = o({}), le = o(false), se = o({}), ce = o({}), ge = o({}), fe = [], me = o({}), de = o({}), he = o(null), ve = r(() => ne.value ? ue.value.filter((e3) => !e3.isLeaf || De(pe[e3.columnUuid])) : ie.value.filter((e3) => De(e3))), ye = o(0);
13
- let Ce = [];
12
+ const Q = e2, X = Q.configure.runtime ? Q.configure.runtime : {}, Y = X.style, Z = X.class, ee = X.dataConfig, oe = X.headerInfo ? X.headerInfo : {}, re = o(null), te = o(X.props.isEnableGroupHeader), ne = o([]), ie = o([]), ae = o([]), ue = o([]), le = o({}), pe = o(false), se = o({}), ce = o({}), ge = o({}), fe = [], me = o({}), de = o({}), he = o(null), ve = o(null), ye = r(() => te.value ? ue.value.filter((e3) => !e3.isLeaf || Je(le[e3.columnUuid])) : ie.value.filter((e3) => Je(e3))), Ce = o(0);
13
+ let be = [];
14
14
  if (!Q.configure.props.modelCustom) {
15
- if (ne.value) {
15
+ if (te.value) {
16
16
  const e3 = [];
17
17
  Q.configure.props.groupHeaders.forEach((o2) => {
18
18
  o2.parentUuid || e3.push(o2);
19
19
  }), e3.sort((e4, o2) => e4.displayOrder - o2.displayOrder), ue.value = e3, function() {
20
20
  if (Q.configure.props.base.showIndex) {
21
21
  ue.value.unshift({ columnUuid: "$index", displayOrder: 0, isLeaf: true, prop: "$index", titleText: "序号", uuid: "$index" });
22
- const e4 = P();
23
- e4 && (pe.value.$index = e4);
22
+ const e4 = A();
23
+ e4 && (le.value.$index = e4);
24
24
  }
25
25
  }();
26
26
  } else ie.value = Q.configure.items;
27
27
  (_a = Q.configure.items) == null ? void 0 : _a.forEach((e3) => {
28
- pe.value[e3.uuid] = e3, Object.keys(e3.style).length > 0 && (me.value[e3.props.base.prop] = { cellStyle: e3.style, titleStyle: e3.titleStyle }), e3.formula && "" !== e3.formula.trim() && (de.value[e3.props.base.prop] = e3.formula);
28
+ le.value[e3.uuid] = e3, Object.keys(e3.style).length > 0 && (me.value[e3.props.base.prop] = { cellStyle: e3.style, titleStyle: e3.titleStyle }), e3.formula && "" !== e3.formula.trim() && (de.value[e3.props.base.prop] = e3.formula);
29
29
  });
30
30
  }
31
- le.value = Q.configure.props.base.showSummary, (le.value || Q.configure.props.highOrder.groupField && Q.configure.props.highOrder.groupField.length > 0) && (se.value = R(Q.configure), le.value && (ce.value = H(Q.configure, "table")), Q.configure.props.highOrder.groupField && Q.configure.props.highOrder.groupField.length > 0 && (ge.value = H(Q.configure, "group")));
32
- let be = 300, xe = x(Q.pageContext, Q.configure);
33
- function Oe(e3) {
31
+ pe.value = Q.configure.props.base.showSummary, (pe.value || Q.configure.props.highOrder.groupField && Q.configure.props.highOrder.groupField.length > 0) && (se.value = R(Q.configure), pe.value && (ce.value = H(Q.configure, "table")), Q.configure.props.highOrder.groupField && Q.configure.props.highOrder.groupField.length > 0 && (ge.value = H(Q.configure, "group")));
32
+ let xe = 300, Oe = x(Q.pageContext, Q.configure);
33
+ function Se(e3) {
34
34
  if (e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender) return void (e3.hasRender = true);
35
- const o2 = ne.value ? ue.value : ve;
35
+ const o2 = te.value ? ue.value : ye;
36
36
  j(Q.pageContext, Q.configure, "beforeUpdateChart", o2, { resultData: e3 }), function(e4) {
37
37
  var _a2;
38
- Je(e4), "service" === Q.configure.props.dataOrigin.dataSource && e4.result ? Ce = e4.result[Q.configure.props.dataOrigin.service.serviceDataField] : "variable" === Q.configure.props.dataOrigin.dataSource && (Ce = S(Q.pageContext.entity, Q.configure.props.dataOrigin.variable));
39
- if (Ce) if (((_a2 = Q.configure.props) == null ? void 0 : _a2.dataOrigin.limitEnable) && Q.configure.props.dataOrigin.itemNumSource) {
38
+ Pe(e4), "service" === Q.configure.props.dataOrigin.dataSource && e4.result ? be = e4.result[Q.configure.props.dataOrigin.service.serviceDataField] : "variable" === Q.configure.props.dataOrigin.dataSource && (be = S(Q.pageContext.entity, Q.configure.props.dataOrigin.variable));
39
+ if (be) if (((_a2 = Q.configure.props) == null ? void 0 : _a2.dataOrigin.limitEnable) && Q.configure.props.dataOrigin.itemNumSource) {
40
40
  let o3 = 10;
41
41
  if ("fix" === Q.configure.props.dataOrigin.itemNumSource) o3 = Q.configure.props.dataOrigin.itemNumFix;
42
42
  else if ("variable" === Q.configure.props.dataOrigin.itemNumSource) {
43
43
  o3 = Number(S(Q.pageContext.entity, Q.configure.props.dataOrigin.itemNumVariable));
44
- const r2 = Q.configure.props.dataOrigin.itemNumVariable.match(/\${(.*?)}/), n2 = r2 ? r2[1].split(".") : [], i2 = JSON.parse(JSON.stringify(Ce));
45
- t(() => n2.reduce((e5, o4) => e5[o4], Q.pageContext.entity), (o4) => {
46
- Se(o4, i2, e4);
44
+ const r2 = Q.configure.props.dataOrigin.itemNumVariable.match(/\${(.*?)}/), t2 = r2 ? r2[1].split(".") : [], i2 = JSON.parse(JSON.stringify(be));
45
+ n(() => t2.reduce((e5, o4) => e5[o4], Q.pageContext.entity), (o4) => {
46
+ we(o4, i2, e4);
47
47
  });
48
48
  }
49
- Se(o3, Ce, e4);
50
- } else we(Ce, e4);
49
+ we(o3, be, e4);
50
+ } else Ee(be, e4);
51
51
  }(e3), e3.hasRender = true, ee && (ee.autoRefresh = false), j(Q.pageContext, Q.configure, "afterUpdateChart", o2, { resultData: e3 });
52
52
  }
53
- function Se(e3, o2, r2) {
53
+ function we(e3, o2, r2) {
54
54
  var _a2;
55
55
  if (e3 && e3 < o2.length) {
56
- let n2 = [];
57
- if (((_a2 = Q.configure.props.dataOrigin.limitCountColumns) == null ? void 0 : _a2.length) > 0) n2 = Q.configure.props.dataOrigin.limitCountColumns;
56
+ let t2 = [];
57
+ if (((_a2 = Q.configure.props.dataOrigin.limitCountColumns) == null ? void 0 : _a2.length) > 0) t2 = Q.configure.props.dataOrigin.limitCountColumns;
58
58
  else {
59
59
  ie.value.filter((e4) => "number" === e4.props.base.dataType).forEach((e4) => {
60
- n2.push(e4.props.base.prop);
60
+ t2.push(e4.props.base.prop);
61
61
  });
62
62
  }
63
- if ((n2 == null ? void 0 : n2.length) > 0) {
64
- const r3 = o2.slice(e3 - 1, o2.length), t2 = {};
63
+ if ((t2 == null ? void 0 : t2.length) > 0) {
64
+ const r3 = o2.slice(e3 - 1, o2.length), n2 = {};
65
65
  let i2 = ie.value[0].props.base.prop;
66
66
  "$index" === i2 && (i2 = ie.value[1].props.base.prop), r3.forEach((e4) => {
67
- n2.forEach((o3) => {
68
- void 0 === t2[o3] && (t2[o3] = 0), t2[o3] = t2[o3] + e4[o3];
67
+ t2.forEach((o3) => {
68
+ void 0 === n2[o3] && (n2[o3] = 0), n2[o3] = n2[o3] + e4[o3];
69
69
  });
70
- }), o2.length > e3 && (o2 = o2.slice(0, e3 - 1)), t2[i2] = Q.configure.props.dataOrigin.overItemAlias, o2.push(t2);
70
+ }), o2.length > e3 && (o2 = o2.slice(0, e3 - 1)), n2[i2] = Q.configure.props.dataOrigin.overItemAlias, o2.push(n2);
71
71
  }
72
- we(o2, r2);
73
- } else we(o2, r2);
72
+ Ee(o2, r2);
73
+ } else Ee(o2, r2);
74
74
  }
75
- function we(e3, o2) {
75
+ function Ee(e3, o2) {
76
76
  var _a2, _b, _c, _d, _e, _f, _g;
77
- if (Ee("rowToColumn")) {
78
- if (ae.value = JSON.parse(JSON.stringify(Q.configure.items)), e3 = D(e3, Q.configure, ae.value), !ne.value) {
77
+ if ($e("rowToColumn")) {
78
+ if (ae.value = JSON.parse(JSON.stringify(Q.configure.items)), e3 = D(e3, Q.configure, ae.value), !te.value) {
79
79
  const o3 = function(e4, o4, r2) {
80
80
  var _a3, _b2;
81
- const n2 = Q.configure.props.dataOrigin.rowToColumn.titleColumns, t2 = Q.configure.props.dataOrigin.rowToColumn.dataColumns, i2 = e4.props.dataOrigin.groupField;
81
+ const t2 = Q.configure.props.dataOrigin.rowToColumn.titleColumns, n2 = Q.configure.props.dataOrigin.rowToColumn.dataColumns, i2 = e4.props.dataOrigin.groupField;
82
82
  if ((!i2 || 0 === i2.length) && r2.length > 0) {
83
- const o5 = [], n3 = _("$GroupColumn", Q.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string");
84
- return ((_b2 = (_a3 = e4.props.dataOrigin) == null ? void 0 : _a3.rowToColumn) == null ? void 0 : _b2.minTitleColumnWidth) && (n3.props.base.minWidth = e4.props.dataOrigin.rowToColumn.minTitleColumnWidth), o5.push(n3), Object.keys(r2[0]).forEach((r3, n4) => {
83
+ const o5 = [], t3 = W("$GroupColumn", Q.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string");
84
+ return ((_b2 = (_a3 = e4.props.dataOrigin) == null ? void 0 : _a3.rowToColumn) == null ? void 0 : _b2.minTitleColumnWidth) && (t3.props.base.minWidth = e4.props.dataOrigin.rowToColumn.minTitleColumnWidth), o5.push(t3), Object.keys(r2[0]).forEach((r3, t4) => {
85
85
  var _a4, _b3, _c2, _d2, _e2, _f2;
86
86
  if ("$GroupColumn" === r3) return;
87
- const t3 = _(r3, r3, n4 + 1, "string");
88
- ((_b3 = (_a4 = e4.props.dataOrigin) == null ? void 0 : _a4.rowToColumn) == null ? void 0 : _b3.minDataColumnWidth) && (t3.props.base.minWidth = e4.props.dataOrigin.rowToColumn.minDataColumnWidth), ((_d2 = (_c2 = e4.props.dataOrigin) == null ? void 0 : _c2.rowToColumn) == null ? void 0 : _d2.cellStyle) && (me.value[t3.props.base.prop] = { cellStyle: (_f2 = (_e2 = e4.props.dataOrigin) == null ? void 0 : _e2.rowToColumn) == null ? void 0 : _f2.cellStyle }), o5.push(t3);
87
+ const n3 = W(r3, r3, t4 + 1, "string");
88
+ ((_b3 = (_a4 = e4.props.dataOrigin) == null ? void 0 : _a4.rowToColumn) == null ? void 0 : _b3.minDataColumnWidth) && (n3.props.base.minWidth = e4.props.dataOrigin.rowToColumn.minDataColumnWidth), ((_d2 = (_c2 = e4.props.dataOrigin) == null ? void 0 : _c2.rowToColumn) == null ? void 0 : _d2.cellStyle) && (me.value[n3.props.base.prop] = { cellStyle: (_f2 = (_e2 = e4.props.dataOrigin) == null ? void 0 : _e2.rowToColumn) == null ? void 0 : _f2.cellStyle }), o5.push(n3);
89
89
  }), o5;
90
90
  }
91
91
  {
92
- const e5 = [...o4].filter((e6) => !n2.includes(e6.props.base.prop) && !t2.includes(e6.props.base.prop)), i3 = new RegExp(`(${t2.join("|")})$`), a2 = /* @__PURE__ */ new Set();
92
+ const e5 = [...o4].filter((e6) => !t2.includes(e6.props.base.prop) && !n2.includes(e6.props.base.prop)), i3 = new RegExp(`(${n2.join("|")})$`), a2 = /* @__PURE__ */ new Set();
93
93
  return r2.forEach((e6) => {
94
94
  Object.keys(e6).forEach((e7) => {
95
- if (t2.some((o5) => e7.includes(o5))) {
95
+ if (n2.some((o5) => e7.includes(o5))) {
96
96
  const o5 = e7.split(i3)[0];
97
97
  a2.add(o5);
98
98
  }
99
99
  });
100
100
  }), a2.forEach((o5) => {
101
- t2.forEach((n3) => {
101
+ n2.forEach((t3) => {
102
102
  var _a4;
103
- let t3 = (_a4 = ie.value.find((e6) => e6.props.base.prop === n3)) == null ? void 0 : _a4.props.base.name;
104
- null == t3 && (t3 = "");
105
- const i4 = _(`${o5}${n3}`, `${o5}${t3}`, e5.length + 1, "number" == typeof r2[0][`${o5}${n3}`] ? "number" : "string");
103
+ let n3 = (_a4 = ie.value.find((e6) => e6.props.base.prop === t3)) == null ? void 0 : _a4.props.base.name;
104
+ null == n3 && (n3 = "");
105
+ const i4 = W(`${o5}${t3}`, `${o5}${n3}`, e5.length + 1, "number" == typeof r2[0][`${o5}${t3}`] ? "number" : "string");
106
106
  e5.push(i4);
107
107
  });
108
108
  }), e5;
@@ -110,7 +110,7 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
110
110
  }(Q.configure, ae.value, e3);
111
111
  ie.value = o3;
112
112
  }
113
- } else Ee("columnToRow") && (ne.value || (ie.value = J(Q.configure)), e3 = U(e3, Q.configure));
113
+ } else $e("columnToRow") && (te.value || (ie.value = J(Q.configure)), e3 = P(e3, Q.configure));
114
114
  if ((_b = (_a2 = Q.configure.props) == null ? void 0 : _a2.dataOrigin) == null ? void 0 : _b.dataFormatting) {
115
115
  const o3 = F(Q.pageContext, Q.configure.props.dataOrigin.dataFormatting);
116
116
  if (o3) {
@@ -118,14 +118,19 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
118
118
  r2 && (e3 = r2);
119
119
  }
120
120
  }
121
- if (Object.keys(de.value).length > 0 && e3 && e3.length > 0 && W(de.value, e3, Q.pageContext.entity), ((_c = Q.configure.pageination) == null ? void 0 : _c.enable) ? function(e4) {
122
- "frontend" === Q.configure.pageination.type ? (ye.value = Ce.length, Re(1, Q.configure.pageination.pageSize)) : "backend" === Q.configure.pageination.type && (te.value = Ce, Q.configure.pageination.totalFrom && (ye.value = e4.result[Q.configure.pageination.totalFrom]));
123
- }(o2) : te.value = e3, ((_e = (_d = Q.configure.props) == null ? void 0 : _d.highOrder) == null ? void 0 : _e.groupField) && ((_g = (_f = Q.configure.props) == null ? void 0 : _f.highOrder) == null ? void 0 : _g.groupField.length) > 0) {
121
+ if (Object.keys(de.value).length > 0 && e3 && e3.length > 0 && U(de.value, e3, Q.pageContext.entity), ((_c = Q.configure.pageination) == null ? void 0 : _c.enable) ? function(e4) {
122
+ var _a3;
123
+ if ("frontend" === Q.configure.pageination.type) {
124
+ Ce.value = be.length;
125
+ const e5 = (_a3 = ve.value) == null ? void 0 : _a3.pageSize;
126
+ He(1, e5), ve.value.currentPage = 1;
127
+ } else "backend" === Q.configure.pageination.type && (ne.value = be, Q.configure.pageination.totalFrom && (Ce.value = e4.result[Q.configure.pageination.totalFrom]));
128
+ }(o2) : ne.value = e3, ((_e = (_d = Q.configure.props) == null ? void 0 : _d.highOrder) == null ? void 0 : _e.groupField) && ((_g = (_f = Q.configure.props) == null ? void 0 : _f.highOrder) == null ? void 0 : _g.groupField.length) > 0) {
124
129
  const e4 = Q.configure.props.highOrder.groupField;
125
- te.value = function(e5, o3) {
130
+ ne.value = function(e5, o3) {
126
131
  var _a3, _b2;
127
132
  if (0 === ge.value.length) return e5;
128
- const r2 = [], n2 = (_a3 = Q.configure.items) == null ? void 0 : _a3.filter((e6) => o3.includes(e6.props.base.prop)), t2 = (_b2 = Q.configure.items) == null ? void 0 : _b2.filter((e6) => true === e6.props.base.groupSummary), i2 = {};
133
+ const r2 = [], t2 = (_a3 = Q.configure.items) == null ? void 0 : _a3.filter((e6) => o3.includes(e6.props.base.prop)), n2 = (_b2 = Q.configure.items) == null ? void 0 : _b2.filter((e6) => true === e6.props.base.groupSummary), i2 = {};
129
134
  e5.forEach((e6) => {
130
135
  const r3 = o3.map((o4) => e6[o4]).join("|");
131
136
  i2[r3] || (i2[r3] = []), i2[r3].push(e6);
@@ -133,93 +138,93 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
133
138
  const a2 = Object.values(i2);
134
139
  for (let e6 = 0; e6 < a2.length; e6++) {
135
140
  const o4 = a2[e6], i3 = {};
136
- t2 == null ? void 0 : t2.forEach((e7) => {
137
- const r3 = e7.props.base.prop, n3 = z(ge.value[r3], o4, r3, Q.pageContext, ve.value);
138
- i3[r3] = n3;
139
- }), r2.push(...o4), n2 == null ? void 0 : n2.forEach((e7) => {
141
+ n2 == null ? void 0 : n2.forEach((e7) => {
142
+ const r3 = e7.props.base.prop, t3 = _(ge.value[r3], o4, r3, Q.pageContext, ye.value);
143
+ i3[r3] = t3;
144
+ }), r2.push(...o4), t2 == null ? void 0 : t2.forEach((e7) => {
140
145
  const r3 = e7.props.base.prop;
141
- i3[r3] = A(e7.props.base.summaryTitle, o4[0]);
146
+ i3[r3] = z(e7.props.base.summaryTitle, o4[0]);
142
147
  }), r2.push(i3), fe.push(r2.length - 1);
143
148
  }
144
149
  return r2;
145
- }(te.value, e4);
150
+ }(ne.value, e4);
146
151
  }
147
152
  !function(e4) {
148
153
  if (Q.configure.props.base.showIndex && -1 === e4.findIndex((e5) => "$index" === e5.props.base.prop)) {
149
- const o3 = P();
154
+ const o3 = A();
150
155
  o3 && e4.unshift(o3);
151
156
  }
152
157
  }(ie.value);
153
158
  }
154
- function Ee(e3) {
159
+ function $e(e3) {
155
160
  return Q.configure.props.dataOrigin.transition === e3 && Q.configure.props.dataOrigin[e3].titleColumns && Q.configure.props.dataOrigin[e3].titleColumns.length > 0 && Q.configure.props.dataOrigin[e3].dataColumns && Q.configure.props.dataOrigin[e3].dataColumns.length > 0;
156
161
  }
157
- function $e(e3) {
162
+ function Te(e3) {
158
163
  const o2 = me.value[e3.column.property] ? me.value[e3.column.property].titleStyle : null, r2 = Y == null ? void 0 : Y.titleStyle;
159
164
  return V(e3, { cellTitleStyle: o2, titleStyle: r2 }, Q);
160
165
  }
161
- function Te(e3) {
166
+ function je(e3) {
162
167
  return G(e3, fe, Q);
163
168
  }
164
- function je(e3) {
169
+ function Fe(e3) {
165
170
  const o2 = me.value[e3.column.property] ? me.value[e3.column.property].cellStyle : null;
166
171
  return K(e3, o2, Q);
167
172
  }
168
- xe && xe.fixHeight && (be = xe.fixHeight), xe && xe.maxHeight && (be = xe.maxHeight), be && (be = Number(be + "")), n(() => {
173
+ Oe && Oe.fixHeight && (xe = Oe.fixHeight), Oe && Oe.maxHeight && (xe = Oe.maxHeight), xe && (xe = Number(xe + "")), t(() => {
169
174
  const e3 = O(Q.pageContext, Q.configure);
170
- if (e3) Oe(e3);
175
+ if (e3) Se(e3);
171
176
  else if ("variable" === Q.configure.props.dataOrigin.dataSource) {
172
177
  !function() {
173
178
  const e4 = Q.configure.props.dataOrigin.variable.match(/\${(.*?)}/), o3 = e4 ? e4[1].split(".") : [];
174
- t(() => o3.reduce((e5, o4) => e5[o4], Q.pageContext.entity), (e5) => {
175
- e5 ? Oe(JSON.parse(JSON.stringify(e5))) : (te.value = [], Q.configure.props.modelCustom ? Je(null) : ne.value ? ue.value = Q.configure.props.groupHeaders : ie.value = Q.configure.items);
179
+ n(() => o3.reduce((e5, o4) => e5[o4], Q.pageContext.entity), (e5) => {
180
+ e5 ? Se(JSON.parse(JSON.stringify(e5))) : (ne.value = [], Q.configure.props.modelCustom ? Pe(null) : te.value ? ue.value = Q.configure.props.groupHeaders : ie.value = Q.configure.items);
176
181
  });
177
182
  }();
178
183
  const o2 = S(Q.pageContext.entity, Q.configure.props.dataOrigin.variable);
179
- o2 && we(o2, e3);
184
+ o2 && Ee(o2, e3);
180
185
  }
181
186
  });
182
- const Fe = (e3) => {
183
- const { columns: o2, data: r2 } = e3, n2 = [];
187
+ const ke = (e3) => {
188
+ const { columns: o2, data: r2 } = e3, t2 = [];
184
189
  return o2.forEach((e4, o3) => {
185
190
  if (se.value[e4.property] || "index" === e4.type && se.value.$index) {
186
- let t2 = e4.property;
187
- "index" === e4.type && (t2 = "$index");
188
- const i2 = se.value[t2].label;
189
- n2[o3] = C("div", {}, [A(i2, r2)]);
191
+ let n2 = e4.property;
192
+ "index" === e4.type && (n2 = "$index");
193
+ const i2 = se.value[n2].label;
194
+ t2[o3] = C("div", {}, [z(i2, r2)]);
190
195
  } else if (ce.value[e4.property]) {
191
- const t2 = r2.filter((e5, o4) => !fe.includes(o4));
192
- n2[o3] = z(ce.value[e4.property], t2, e4.property, Q.pageContext, ve.value);
196
+ const n2 = r2.filter((e5, o4) => !fe.includes(o4));
197
+ t2[o3] = _(ce.value[e4.property], n2, e4.property, Q.pageContext, ye.value);
193
198
  }
194
- }), n2;
199
+ }), t2;
195
200
  };
196
- function ke({ row: e3, column: o2, rowIndex: r2, columnIndex: n2 }) {
197
- const t2 = o2.property, i2 = Q.configure.props.highOrder;
201
+ function Ne({ row: e3, column: o2, rowIndex: r2, columnIndex: t2 }) {
202
+ const n2 = o2.property, i2 = Q.configure.props.highOrder;
198
203
  if (i2.scopeFunc) {
199
- const t3 = F(Q.pageContext, i2.scopeFunc);
200
- if (t3) {
201
- const i3 = t3.apply(t3, [{ tableData: te.value, row: e3, column: o2, rowIndex: r2, columnIndex: n2 }]);
204
+ const n3 = F(Q.pageContext, i2.scopeFunc);
205
+ if (n3) {
206
+ const i3 = n3.apply(n3, [{ tableData: ne.value, row: e3, column: o2, rowIndex: r2, columnIndex: t2 }]);
202
207
  if (i3) return i3;
203
208
  }
204
- } else if (i2 && i2.mergeColumn, i2 && i2.mergeRow && i2.mergeRow.includes(t2)) return L(e3, o2, r2, t2, te.value);
205
- }
206
- function Ne(e3, o2) {
207
- "frontend" === Q.configure.pageination.type ? Re(e3, o2) : He(e3, o2);
209
+ } else if (i2 && i2.mergeColumn, i2 && i2.mergeRow && i2.mergeRow.includes(n2)) return L(e3, o2, r2, n2, ne.value);
208
210
  }
209
211
  function Ie(e3, o2) {
210
- "frontend" === Q.configure.pageination.type ? Re(e3, o2) : He(e3, o2);
212
+ "frontend" === Q.configure.pageination.type ? He(e3, o2) : De(e3, o2);
211
213
  }
212
214
  function Re(e3, o2) {
213
- Ce && (te.value = Ce.slice((e3 - 1) * o2, e3 * o2));
215
+ "frontend" === Q.configure.pageination.type ? He(e3, o2) : De(e3, o2);
214
216
  }
215
217
  function He(e3, o2) {
218
+ be && (ne.value = be.slice((e3 - 1) * o2, e3 * o2));
219
+ }
220
+ function De(e3, o2) {
216
221
  Q.configure.pageination.currentPageSet && $(Q.pageContext.entity, Q.configure.pageination.currentPageSet, e3), Q.configure.pageination.pageSizeSet && $(Q.pageContext.entity, Q.configure.pageination.pageSizeSet, o2), T(Q.pageContext, Q.configure.uuid);
217
222
  }
218
- function De(e3) {
223
+ function Je(e3) {
219
224
  const o2 = e3.showCondition;
220
225
  return w(Q.pageContext, o2);
221
226
  }
222
- function Je(e3) {
227
+ function Pe(e3) {
223
228
  if (Q.configure.props.modelCustom) {
224
229
  const o2 = F(Q.pageContext, Q.configure.props.modelCustom);
225
230
  if (o2) {
@@ -232,19 +237,19 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
232
237
  }
233
238
  function Ue(e3, o2, r2) {
234
239
  e3.forEach((e4) => {
235
- const n2 = e4.props.base.prop, t2 = e4.props.base.name;
236
- let i2 = { name: n2, label: t2, i18nKey: t2 };
240
+ const t2 = e4.props.base.prop, n2 = e4.props.base.name;
241
+ let i2 = { name: t2, label: n2, i18nKey: n2 };
237
242
  e4.children && e4.children.length > 0 && (i2.children = [], Ue(e4.children, i2.children, r2)), e4.props.format && e4.props.format.type && r2.push(e4), o2.push(i2);
238
243
  });
239
244
  }
240
- return M2({ updateChartDatas: Oe, exportChart: function() {
245
+ return M2({ updateChartDatas: Se, exportChart: function() {
241
246
  let e3 = [], o2 = [];
242
- o2 = ne.value ? Q.configure.props.groupHeaders : ve.value;
247
+ o2 = te.value ? Q.configure.props.groupHeaders : ye.value;
243
248
  let r2 = [];
244
249
  Ue(o2, e3, r2);
245
250
  return { isTable: true, dataArr: function(e4) {
246
251
  let o3 = [];
247
- te.value && (o3 = B(te.value), o3.forEach((o4) => {
252
+ ne.value && (o3 = B(ne.value), o3.forEach((o4) => {
248
253
  e4.forEach((e5) => {
249
254
  const r3 = q(o4, e5.props.format, e5, Q.pageContext, Q.configure);
250
255
  o4[e5.props.base.prop] = r3;
@@ -253,8 +258,8 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
253
258
  return o3;
254
259
  }(r2), columns: e3, title: oe == null ? void 0 : oe.title };
255
260
  } }), (o2, r2) => {
256
- const n2 = i("el-table");
257
- return u(), a("div", { style: l(s(Y)), class: p([s(Z), "amb-widget-chart amb-widget-flex amb-chart-table"]), ref: "thisRef" }, [c(g(b, { ref_key: "headerRef", ref: re, headerInfo: s(oe), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, s(oe).showHeader || e2.pageContext.showHomepageSearch]]), g(n2, { ref_key: "gridRef", ref: he, data: te.value, style: { width: "100%" }, "max-height": s(be), "header-cell-style": $e, "row-style": Te, "cell-style": je, border: true, "show-summary": le.value, stripe: e2.configure.props.base.stripe, "summary-method": Fe, "span-method": ke }, { default: h(() => [ne.value ? (u(true), a(v, { key: 0 }, y(ue.value, (o3, r3) => (u(), a(v, { key: r3 }, [o3.isLeaf ? (u(), f(N, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: pe.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (u(), f(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: pe.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (u(true), a(v, { key: 1 }, y(ve.value, (o3, r3) => (u(), f(N, { key: r3, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (u(), f(I, { key: 0, configure: e2.configure, "table-data": te.value, total: ye.value, onPageChange: Ne, onPageSizeChange: Ie }, null, 8, ["configure", "table-data", "total"])) : m("", true)], 6);
261
+ const t2 = i("el-table");
262
+ return u(), a("div", { style: p(s(Y)), class: l([s(Z), "amb-widget-chart amb-widget-flex amb-chart-table"]), ref: "thisRef" }, [c(g(b, { ref_key: "headerRef", ref: re, headerInfo: s(oe), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, s(oe).showHeader || e2.pageContext.showHomepageSearch]]), g(t2, { ref_key: "gridRef", ref: he, data: ne.value, style: { width: "100%" }, "max-height": s(xe), "header-cell-style": Te, "row-style": je, "cell-style": Fe, border: true, "show-summary": pe.value, stripe: e2.configure.props.base.stripe, "summary-method": ke, "span-method": Ne }, { default: h(() => [te.value ? (u(true), a(v, { key: 0 }, y(ue.value, (o3, r3) => (u(), a(v, { key: r3 }, [o3.isLeaf ? (u(), f(N, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: le.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (u(), f(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: le.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (u(true), a(v, { key: 1 }, y(ye.value, (o3, r3) => (u(), f(N, { key: r3, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (u(), f(I, { key: 0, ref_key: "tablePageinationRef", ref: ve, configure: e2.configure, "table-data": ne.value, total: Ce.value, onPageChange: Ie, onPageSizeChange: Re }, null, 8, ["configure", "table-data", "total"])) : m("", true)], 6);
258
263
  };
259
264
  } });
260
265
  export {
@@ -20,9 +20,11 @@ const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }
20
20
  }, clearSelections: function() {
21
21
  return m.value.clearSelections();
22
22
  }, getSelections: function() {
23
- return m.value.getSelections();
23
+ var _a;
24
+ return (_a = m.value) == null ? void 0 : _a.getSelections();
24
25
  }, getSelectionIds: function() {
25
- return m.value.getSelectionIds();
26
+ var _a;
27
+ return (_a = m.value) == null ? void 0 : _a.getSelectionIds();
26
28
  }, getTableConfigure: function() {
27
29
  return m.value.getTableConfigure();
28
30
  }, isDeleteChange: function(e3) {