super-page-runtime 2.3.6-sit1 → 2.3.7-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 (23) hide show
  1. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +76 -76
  2. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +26 -24
  3. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +59 -58
  4. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +38 -37
  5. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +28 -27
  6. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -0
  7. package/dist/es/components/runtime/utils/charts/chart-util.js +29 -22
  8. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +4 -1
  9. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +4 -4
  10. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +4 -1
  11. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +15 -15
  12. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +4 -1
  13. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +7 -7
  14. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +4 -1
  15. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +8 -8
  16. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +4 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +7 -7
  18. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +4 -0
  19. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +12 -9
  20. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +4 -1
  21. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +32 -29
  22. package/dist/es/style.css +30 -0
  23. package/package.json +2 -2
@@ -2,7 +2,7 @@ import t from "../../../../assets/chart-themes/theme1.js";
2
2
  import e from "../../../../assets/chart-themes/theme2.js";
3
3
  import n from "../../../../assets/chart-themes/theme3.js";
4
4
  import { getDefaultValue as i } from "../page-init-util.js";
5
- import { getValueFromSource as s, setValueForVariableName as o, getParamNames as r, formatVariableValue as a, getValueFromVariable as l, setVariableValue as c } from "../page-helper-util.js";
5
+ import { getValueFromSource as s, setValueForVariableName as o, getParamNames as r, formatVariableValue as l, getValueFromVariable as a, setVariableValue as c } from "../page-helper-util.js";
6
6
  import { appendDefaultMethods as f } from "../events/event-util.js";
7
7
  var u = ((t2) => (t2.X_FIELD_NAME = "__x", t2.Y_TEMP_NAME = "__y", t2))(u || {});
8
8
  const d = { theme1: t, theme2: e, theme3: n };
@@ -22,10 +22,10 @@ function m(t2, e2, n2, i2, s2) {
22
22
  let t3 = parseInt(e2);
23
23
  (null == t3 || isNaN(t3)) && (t3 = 2), r2 = parseFloat(parseFloat(r2).toFixed(t3));
24
24
  }
25
- let a2 = "";
26
- t2.indexOf("prefix") > -1 && n2 && (a2 = n2);
27
25
  let l2 = "";
28
- return t2.indexOf("append") > -1 && i2 && (l2 = i2), a2 + r2.toLocaleString() + l2;
26
+ t2.indexOf("prefix") > -1 && n2 && (l2 = n2);
27
+ let a2 = "";
28
+ return t2.indexOf("append") > -1 && i2 && (a2 = i2), l2 + r2.toLocaleString() + a2;
29
29
  };
30
30
  }
31
31
  function g(t2, e2) {
@@ -54,15 +54,15 @@ function x(t2, e2, n2) {
54
54
  let o2 = e2.highlightInfos ? e2.highlightInfos : [], r2 = -1;
55
55
  if (o2) {
56
56
  const t3 = [];
57
- for (let a2 = 0; a2 < o2.length; a2++) {
58
- const l2 = o2[a2], c2 = l2.seriesIndex === s2.seriesIndex && l2.dataIndex === s2.dataIndex;
57
+ for (let l2 = 0; l2 < o2.length; l2++) {
58
+ const a2 = o2[l2], c2 = a2.seriesIndex === s2.seriesIndex && a2.dataIndex === s2.dataIndex;
59
59
  if (c2 || !i2.multiple) {
60
60
  if (i2.selected) {
61
61
  const t4 = "chart-pie" === e2.name ? "unselect" : "downplay";
62
- n2.dispatchAction({ type: t4, seriesIndex: l2.seriesIndex, dataIndex: l2.dataIndex });
62
+ n2.dispatchAction({ type: t4, seriesIndex: a2.seriesIndex, dataIndex: a2.dataIndex });
63
63
  }
64
- } else t3.push(l2);
65
- c2 && (r2 = a2);
64
+ } else t3.push(a2);
65
+ c2 && (r2 = l2);
66
66
  }
67
67
  o2 = t3;
68
68
  }
@@ -89,12 +89,12 @@ function b(t2, e2) {
89
89
  if (!e2.clickSet) return;
90
90
  const n2 = e2.clickSet, i2 = n2.variables;
91
91
  if (!i2 || 0 == i2.length) return;
92
- const r2 = e2.highlightInfos ? e2.highlightInfos : [], a2 = e2.cacheDatas ? e2.cacheDatas : [], l2 = [], c2 = [];
93
- for (const t3 of r2) c2.includes(t3.dataIndex) || (c2.push(t3.dataIndex), t3.dataIndex < a2.length && l2.push(a2[t3.dataIndex]));
92
+ const r2 = e2.highlightInfos ? e2.highlightInfos : [], l2 = e2.cacheDatas ? e2.cacheDatas : [], a2 = [], c2 = [];
93
+ for (const t3 of r2) c2.includes(t3.dataIndex) || (c2.push(t3.dataIndex), t3.dataIndex < l2.length && a2.push(l2[t3.dataIndex]));
94
94
  for (const e3 of i2) {
95
95
  if (!e3.fieldName || !e3.variable) continue;
96
96
  const i3 = [];
97
- for (const t3 of l2) {
97
+ for (const t3 of a2) {
98
98
  const n3 = s(t3, e3.fieldName, void 0);
99
99
  null != n3 && i3.push(n3);
100
100
  }
@@ -115,11 +115,11 @@ function v(t2, e2, n2) {
115
115
  }
116
116
  }
117
117
  if (!r2) return;
118
- const l2 = e2.props ? e2.props.orderSource : "";
118
+ const a2 = e2.props ? e2.props.orderSource : "";
119
119
  let c2 = e2.props ? e2.props.orderFix : "";
120
- if ("variable" == l2) {
120
+ if ("variable" == a2) {
121
121
  const n3 = e2.props ? e2.props.orderVariable : "";
122
- c2 = a(t2, n3);
122
+ c2 = l(t2, n3);
123
123
  }
124
124
  c2 = "desc" == c2 || "DESC" == c2 ? "desc" : "asc", n2.sort((t3, e3) => {
125
125
  const n3 = s(t3, r2, void 0), i3 = s(e3, r2, void 0);
@@ -130,14 +130,14 @@ function N(t2, e2, n2, i2, o2) {
130
130
  if (!n2) return n2;
131
131
  const r2 = e2.props ? e2.props : {};
132
132
  if (!r2.limitQuantity) return n2;
133
- let l2 = null;
134
- if (r2.itemNumVariable ? (l2 = a(t2, r2.itemNumVariable), l2 = parseInt(l2)) : l2 = r2.itemNumFix ? r2.itemNumFix : 10, null == l2 || null == l2 || isNaN(l2)) return n2;
135
- if (n2.length < l2) return n2;
133
+ let a2 = null;
134
+ if (r2.itemNumVariable ? (a2 = l(t2, r2.itemNumVariable), a2 = parseInt(a2)) : a2 = r2.itemNumFix ? r2.itemNumFix : 10, null == a2 || null == a2 || isNaN(a2)) return n2;
135
+ if (n2.length < a2) return n2;
136
136
  const c2 = r2.overItemAlias, f2 = [], u2 = {};
137
137
  i2 = i2 || [], o2 = o2 || [];
138
138
  for (let t3 = 0; t3 < n2.length; t3++) {
139
139
  const e3 = n2[t3];
140
- if (t3 < l2) f2.push(e3);
140
+ if (t3 < a2) f2.push(e3);
141
141
  else {
142
142
  if (!c2) break;
143
143
  for (const t4 of i2) {
@@ -212,11 +212,11 @@ function k(t2, e2, n2, i2) {
212
212
  const o2 = r(t2);
213
213
  for (const e3 of o2) {
214
214
  let o3 = null;
215
- o3 = e3.startsWith("${row.") ? s(n2, e3.substring(6, e3.length - 1), null) : l(i2.entity, e3), t2 = t2.replace(new RegExp(e3.replace("$", "\\$"), "g"), o3);
215
+ o3 = e3.startsWith("${row.") ? s(n2, e3.substring(6, e3.length - 1), null) : a(i2.entity, e3), t2 = t2.replace(new RegExp(e3.replace("$", "\\$"), "g"), o3);
216
216
  }
217
217
  t2.includes("return ") || (t2 = "return " + t2);
218
- const a2 = new Function("params", t2);
219
- return f(a2, i2), a2({ pageContext: i2, row: n2 });
218
+ const l2 = new Function("params", t2);
219
+ return f(l2, i2), l2({ pageContext: i2, row: n2 });
220
220
  }
221
221
  function M(t2) {
222
222
  if (!t2 || !t2.$el) return;
@@ -245,6 +245,12 @@ function $(t2, e2, n2) {
245
245
  }
246
246
  }
247
247
  }
248
+ function w(t2) {
249
+ if (t2 == null ? void 0 : t2.grid) {
250
+ const e2 = t2.grid, n2 = (t3) => !t3 || "0" === t3;
251
+ n2(e2.top) && n2(e2.right) && n2(e2.bottom) && n2(e2.left) && Object.assign(e2, { right: "10%", bottom: "60", left: "10%" });
252
+ }
253
+ }
248
254
  export {
249
255
  u as CommonName,
250
256
  y as caculateFormulaValue,
@@ -261,6 +267,7 @@ export {
261
267
  g as initChartOption,
262
268
  N as limitDatas,
263
269
  x as monitorChartClickToVariable,
270
+ w as setDefaultGrid,
264
271
  $ as setHomeChartInitConfigValue,
265
272
  v as sortDatas,
266
273
  b as updateClickVariablesForSelected
@@ -1,4 +1,7 @@
1
1
  import e from "./column-line-runtime.vue2.js";
2
+ /* empty css */
3
+ import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = o(e, [["__scopeId", "data-v-5b4e8687"]]);
2
5
  export {
3
- e as default
6
+ r as default
4
7
  };
@@ -6,11 +6,11 @@ import { doClickJumpPageEvent as k } from "../../../../utils/events/event-util.j
6
6
  import y from "../common/common-chart-header.vue.js";
7
7
  import { use as R } from "echarts/core";
8
8
  import { CanvasRenderer as j } from "echarts/renderers";
9
- import { LineChart as D, BarChart as V } from "echarts/charts";
10
- import { GridComponent as P, LegendComponent as b, TitleComponent as _, TooltipComponent as w, ToolboxComponent as T, DataZoomComponent as E } from "echarts/components";
9
+ import { LineChart as b, BarChart as D } from "echarts/charts";
10
+ import { GridComponent as V, LegendComponent as P, TitleComponent as _, TooltipComponent as w, ToolboxComponent as T, DataZoomComponent as E } from "echarts/components";
11
11
  import O from "vue-echarts";
12
12
  const A = e({ __name: "column-line-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
13
- R([j, D, P, b, _, w, V, T, E]);
13
+ R([j, b, V, P, _, w, D, T, E]);
14
14
  const H = e2, N = r(null), S = r(), U = r(null), z = H.configure.props ? H.configure.props.enableDrill : null, F = H.configure.props ? H.configure.props.drillEndTrigger : null, q = H.configure.props ? H.configure.props.linkPage : null, B = {};
15
15
  if (H.configure.items) for (const e3 of H.configure.items) e3.props && e3.props.linkPage && e3.props.linkPage.jumpPageUrl ? B[e3.uuid] = e3 : q && q.jumpPageUrl && (B[e3.uuid] = H.configure);
16
16
  const G = H.configure.runtime ? H.configure.runtime : {}, J = G.style, K = G.class, L = G.dataConfig, M = G.headerInfo ? G.headerInfo : {}, Q = G.chartOption, W = H.configure.props ? H.configure.props : {}, X = f(W.customTheme);
@@ -46,7 +46,7 @@ const A = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
46
46
  ee(true);
47
47
  }), A2({ updateChartDatas: oe, exportChart: function() {
48
48
  return d(S.value);
49
- }, chartOption: Q }), (e3, r2) => (a(), n("div", { style: u(s(J)), class: i([s(K), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: N }, [l(c(y, { ref_key: "headerRef", ref: U, headerInfo: s(M), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Y }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, s(M).showHeader || e3.pageContext.showHomepageSearch]]), c(s(O), { ref_key: "chartRef", ref: S, theme: s(X), option: s(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
49
+ }, chartOption: Q }), (e3, r2) => (a(), n("div", { style: u(s(J)), class: i([s(K), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: N }, [l(c(y, { ref_key: "headerRef", ref: U, headerInfo: s(M), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Y, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, s(M).showHeader || e3.pageContext.showHomepageSearch]]), c(s(O), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: s(X), option: s(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
50
50
  } });
51
51
  export {
52
52
  A as default
@@ -1,4 +1,7 @@
1
1
  import e from "./gauge-runtime.vue2.js";
2
+ /* empty css */
3
+ import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const t = r(e, [["__scopeId", "data-v-8d392d9f"]]);
2
5
  export {
3
- e as default
6
+ t as default
4
7
  };
@@ -1,18 +1,18 @@
1
- import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as i, unref as s, withDirectives as p, createVNode as c, vShow as f } from "vue";
2
- import { getCustomTheme as m, initChartOption as g, exportCommonChart as h } from "../../../../utils/charts/chart-util.js";
3
- import { getChartDatasFromPage as l, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
1
+ import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as s, normalizeStyle as u, unref as c, withDirectives as i, createVNode as p, vShow as m } from "vue";
2
+ import { getCustomTheme as f, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
3
+ import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
4
4
  import { updateChartOption as C } from "../../../../utils/charts/chart-gauge-util.js";
5
5
  import y from "../common/common-chart-header.vue.js";
6
6
  import { use as v } from "echarts/core";
7
7
  import { CanvasRenderer as R } from "echarts/renderers";
8
- import { GaugeChart as V } from "echarts/charts";
9
- import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I } from "echarts/components";
10
- import k from "vue-echarts";
11
- const b = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
12
- v([R, V, _, j, w, I]);
13
- const A = e2, H = r(null), z = r(null), D = r(null), F = A.configure.runtime ? A.configure.runtime : {}, O = F.style, P = F.class, S = F.dataConfig, T = F.headerInfo ? F.headerInfo : {}, q = F.chartOption, B = A.configure.props ? A.configure.props : {}, E = m(B.customTheme);
14
- g(A.configure, q), t(() => {
15
- const e3 = l(A.pageContext, A.configure);
8
+ import { GaugeChart as b } from "echarts/charts";
9
+ import { GridComponent as V, TitleComponent as _, TooltipComponent as j, ToolboxComponent as w } from "echarts/components";
10
+ import I from "vue-echarts";
11
+ const k = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: k2 }) {
12
+ v([R, b, V, _, j, w]);
13
+ const A = e2, H = r(null), z = r(null), D = r(null), F = A.configure.runtime ? A.configure.runtime : {}, O = F.style, P = F.class, S = F.dataConfig, T = F.headerInfo ? F.headerInfo : {}, q = F.chartOption, B = A.configure.props ? A.configure.props : {}, E = f(B.customTheme);
14
+ h(A.configure, q), t(() => {
15
+ const e3 = g(A.pageContext, A.configure);
16
16
  e3 && L(e3);
17
17
  });
18
18
  let G = T.groupValue;
@@ -26,10 +26,10 @@ const b = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }
26
26
  function L(e3) {
27
27
  e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(A.pageContext, A.configure, q, e3));
28
28
  }
29
- return x(A.pageContext, K, J), b2({ updateChartDatas: L, exportChart: function() {
30
- return h(z.value);
31
- } }), (e3, r2) => (n(), a("div", { style: i(s(O)), class: u([s(P), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: H }, [p(c(y, { ref_key: "headerRef", ref: D, headerInfo: s(T), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, s(T).showHeader || e3.pageContext.showHomepageSearch]]), c(s(k), { ref_key: "chartRef", ref: z, theme: s(E), option: s(q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
29
+ return x(A.pageContext, K, J), k2({ updateChartDatas: L, exportChart: function() {
30
+ return l(z.value);
31
+ } }), (e3, r2) => (n(), a("div", { style: u(c(O)), class: s([c(P), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: H }, [i(p(y, { ref_key: "headerRef", ref: D, headerInfo: c(T), configure: e3.configure, pageContext: e3.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, c(T).showHeader || e3.pageContext.showHomepageSearch]]), p(c(I), { ref_key: "chartRef", ref: z, class: "amb-chart-content", theme: c(E), option: c(q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
- b as default
34
+ k as default
35
35
  };
@@ -1,4 +1,7 @@
1
1
  import e from "./pie-runtime.vue2.js";
2
+ /* empty css */
3
+ import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const t = r(e, [["__scopeId", "data-v-961b3d1c"]]);
2
5
  export {
3
- e as default
6
+ t as default
4
7
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as a, normalizeClass as u, normalizeStyle as i, unref as l, withDirectives as c, createVNode as p, vShow as s } from "vue";
1
+ import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as l, unref as i, withDirectives as c, createVNode as s, vShow as p } from "vue";
2
2
  import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as h, clearChartSelected as m, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
3
3
  import { updateChartOption as v } from "../../../../utils/charts/chart-pie-util.js";
4
4
  import { doClickJumpPageEvent as x } from "../../../../utils/events/event-util.js";
5
5
  import { getChartDatasFromPage as C, updateChartDatasources as R, monitorFieldChange as j } from "../../../../utils/page-helper-util.js";
6
6
  import k from "../common/common-chart-header.vue.js";
7
- import { use as y } from "echarts/core";
8
- import { CanvasRenderer as D } from "echarts/renderers";
9
- import { PieChart as V } from "echarts/charts";
10
- import { GridComponent as _, LegendComponent as b, TitleComponent as w, TooltipComponent as I, ToolboxComponent as P } from "echarts/components";
7
+ import { use as b } from "echarts/core";
8
+ import { CanvasRenderer as y } from "echarts/renderers";
9
+ import { PieChart as D } from "echarts/charts";
10
+ import { GridComponent as V, LegendComponent as _, TitleComponent as w, TooltipComponent as I, ToolboxComponent as P } from "echarts/components";
11
11
  import E from "vue-echarts";
12
12
  const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
13
- y([D, V, _, b, w, I, P]);
13
+ b([y, D, V, _, w, I, P]);
14
14
  const H = e2, S = r(null), T = r(null), U = r(null), z = H.configure.props ? H.configure.props.enableDrill : null, F = H.configure.props ? H.configure.props.drillEndTrigger : null, O = H.configure.props ? H.configure.props.linkPage : null, q = H.configure.runtime ? H.configure.runtime : {}, B = q.style, G = q.class, J = q.dataConfig, K = q.headerInfo ? q.headerInfo : {}, L = q.chartOption, M = H.configure.props ? H.configure.props : {}, N = f(M.customTheme);
15
15
  function Q(e3) {
16
16
  "clearDrill" == F ? U.value && U.value.closeDrill && U.value.closeDrill(0) : "clickEvent" == F && W();
@@ -39,7 +39,7 @@ const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} },
39
39
  Y(true);
40
40
  }), A2({ updateChartDatas: $, exportChart: function() {
41
41
  return d(T.value);
42
- } }), (e3, r2) => (a(), n("div", { style: i(l(B)), class: u([l(G), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: S }, [c(p(k, { ref_key: "headerRef", ref: U, headerInfo: l(K), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q }, null, 8, ["headerInfo", "configure", "pageContext"]), [[s, l(K).showHeader || e3.pageContext.showHomepageSearch]]), p(l(E), { ref_key: "chartRef", ref: T, theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
42
+ } }), (e3, r2) => (n(), a("div", { style: l(i(B)), class: u([i(G), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: S }, [c(s(k, { ref_key: "headerRef", ref: U, headerInfo: i(K), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, i(K).showHeader || e3.pageContext.showHomepageSearch]]), s(i(E), { ref_key: "chartRef", ref: T, class: "amb-chart-content", theme: i(N), option: i(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
43
43
  } });
44
44
  export {
45
45
  A as default
@@ -1,4 +1,7 @@
1
1
  import r from "./radar-runtime.vue2.js";
2
+ /* empty css */
3
+ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const t = e(r, [["__scopeId", "data-v-f50eeed9"]]);
2
5
  export {
3
- r as default
6
+ t as default
4
7
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as i, unref as s, withDirectives as p, createVNode as c, vShow as f } from "vue";
2
- import { getCustomTheme as m, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
1
+ import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as s, normalizeStyle as u, unref as c, withDirectives as i, createVNode as p, vShow as m } from "vue";
2
+ import { getCustomTheme as f, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
3
3
  import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
4
4
  import { updateChartOption as C } from "../../../../utils/charts/chart-radar-util.js";
5
5
  import y from "../common/common-chart-header.vue.js";
6
6
  import { use as v } from "echarts/core";
7
7
  import { CanvasRenderer as R } from "echarts/renderers";
8
- import { RadarChart as V } from "echarts/charts";
9
- import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I, LegendComponent as k } from "echarts/components";
10
- import b from "vue-echarts";
8
+ import { RadarChart as b } from "echarts/charts";
9
+ import { GridComponent as V, TitleComponent as _, TooltipComponent as j, ToolboxComponent as w, LegendComponent as I } from "echarts/components";
10
+ import k from "vue-echarts";
11
11
  const A = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
12
- v([R, V, _, j, w, I, k]);
13
- const H = e2, z = r(null), D = r(null), F = r(null), O = H.configure.runtime ? H.configure.runtime : {}, P = O.style, S = O.class, T = O.dataConfig, q = O.headerInfo ? O.headerInfo : {}, B = O.chartOption, E = H.configure.props ? H.configure.props : {}, G = m(E.customTheme);
12
+ v([R, b, V, _, j, w, I]);
13
+ const H = e2, z = r(null), D = r(null), F = r(null), O = H.configure.runtime ? H.configure.runtime : {}, P = O.style, S = O.class, T = O.dataConfig, q = O.headerInfo ? O.headerInfo : {}, B = O.chartOption, E = H.configure.props ? H.configure.props : {}, G = f(E.customTheme);
14
14
  h(H.configure, B), t(() => {
15
15
  const e3 = g(H.pageContext, H.configure);
16
16
  e3 && M(e3);
@@ -28,7 +28,7 @@ const A = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }
28
28
  }
29
29
  return x(H.pageContext, L, K), A2({ updateChartDatas: M, exportChart: function() {
30
30
  return l(D.value);
31
- } }), (e3, r2) => (n(), a("div", { style: i(s(P)), class: u([s(S), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: z }, [p(c(y, { ref_key: "headerRef", ref: F, headerInfo: s(q), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, s(q).showHeader || e3.pageContext.showHomepageSearch]]), c(s(b), { ref_key: "chartRef", ref: D, theme: s(G), option: s(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
31
+ } }), (e3, r2) => (n(), a("div", { style: u(c(P)), class: s([c(S), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: z }, [i(p(y, { ref_key: "headerRef", ref: F, headerInfo: c(q), configure: e3.configure, pageContext: e3.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, c(q).showHeader || e3.pageContext.showHomepageSearch]]), p(c(k), { ref_key: "chartRef", ref: D, class: "amb-chart-content", theme: c(G), option: c(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
34
  A as default
@@ -1,4 +1,7 @@
1
1
  import t from "./scatter-runtime.vue2.js";
2
+ /* empty css */
3
+ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = e(t, [["__scopeId", "data-v-e08919a0"]]);
2
5
  export {
3
- t as default
6
+ r as default
4
7
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as s, normalizeStyle as u, unref as i, withDirectives as c, createVNode as p, vShow as f } from "vue";
2
- import { getCustomTheme as m, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
1
+ import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as s, normalizeStyle as c, unref as u, withDirectives as i, createVNode as p, vShow as m } from "vue";
2
+ import { getCustomTheme as f, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
3
3
  import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
4
4
  import { updateChartOption as C } from "../../../../utils/charts/chart-scatter-util.js";
5
5
  import y from "../common/common-chart-header.vue.js";
6
6
  import { use as v } from "echarts/core";
7
7
  import { CanvasRenderer as R } from "echarts/renderers";
8
- import { ScatterChart as V } from "echarts/charts";
9
- import { GridComponent as _, LegendComponent as j, TitleComponent as w, TooltipComponent as I, ToolboxComponent as k, DataZoomComponent as b } from "echarts/components";
8
+ import { ScatterChart as b } from "echarts/charts";
9
+ import { GridComponent as V, LegendComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I, DataZoomComponent as k } from "echarts/components";
10
10
  import A from "vue-echarts";
11
11
  const H = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
12
- v([R, V, _, j, w, I, k, b]);
13
- const z = e2, D = r(null), F = r(null), O = r(null), P = z.configure.runtime ? z.configure.runtime : {}, S = P.style, T = P.class, q = P.dataConfig, B = P.headerInfo ? P.headerInfo : {}, E = P.chartOption, G = z.configure.props ? z.configure.props : {}, J = m(G.customTheme);
12
+ v([R, b, V, _, j, w, I, k]);
13
+ const z = e2, D = r(null), F = r(null), O = r(null), P = z.configure.runtime ? z.configure.runtime : {}, S = P.style, T = P.class, q = P.dataConfig, B = P.headerInfo ? P.headerInfo : {}, E = P.chartOption, G = z.configure.props ? z.configure.props : {}, J = f(G.customTheme);
14
14
  h(z.configure, E), t(() => {
15
15
  const e3 = g(z.pageContext, z.configure);
16
16
  e3 && N(e3);
@@ -28,7 +28,7 @@ const H = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {}
28
28
  }
29
29
  return x(z.pageContext, M, L), H2({ updateChartDatas: N, exportChart: function() {
30
30
  return l(F.value);
31
- } }), (e3, r2) => (n(), a("div", { style: u(i(S)), class: s([i(T), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: D }, [c(p(y, { ref_key: "headerRef", ref: O, headerInfo: i(B), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(B).showHeader || e3.pageContext.showHomepageSearch]]), p(i(A), { ref_key: "chartRef", ref: F, theme: i(J), option: i(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
31
+ } }), (e3, r2) => (n(), a("div", { style: c(u(S)), class: s([u(T), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: D }, [i(p(y, { ref_key: "headerRef", ref: O, headerInfo: u(B), configure: e3.configure, pageContext: e3.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, u(B).showHeader || e3.pageContext.showHomepageSearch]]), p(u(A), { ref_key: "chartRef", ref: F, class: "amb-chart-content", theme: u(J), option: u(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
34
  H as default
@@ -3,6 +3,10 @@ import { getCustomFunc } from "../../../../utils/events/event-util.js";
3
3
  import { getMinValue, getMaxValue, getSumValue, getAvgValue } from "../../../../utils/charts/chart-util.js";
4
4
  class ExpressionEvaluator {
5
5
  static evaluate(e, t, r) {
6
+ if (t && t.length > 0) {
7
+ const e2 = t[t.length - 1];
8
+ e2.joinSign && (e2.joinSign = "");
9
+ }
6
10
  const o = t.map((t2) => this.createExpression(e, t2, r)).join(" ");
7
11
  return this.evaluateExpression(o);
8
12
  }
@@ -1,6 +1,6 @@
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 w, rowDblClick as S, headerClick as C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as E } from "../../../../utils/events/event-util.js";
3
- import { getBaseUrl as D, getListCode as T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
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 T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
4
4
  import { getAdditionalParamMap as I, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.js";
5
5
  import { isPromise as N } from "agilebuilder-ui/src/utils/common-util";
6
6
  import { getOperationButtons as B, popupToPage as P } from "../../../../utils/table-utils.js";
@@ -15,14 +15,14 @@ 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 = D(Y.backendUrl, Y.isTest);
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: Se, esc: De }, 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: R(Y), tableClass: Z, tableStyle: X, pageContext: Y, configureObj: J, backendUrl: oe, cellStyleRender: qe, rowStyleRender: We, titleStyleRender: Qe, validateEitConditions: Xe };
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: Se, 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: R(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(","));
@@ -89,7 +89,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
89
89
  function Ce(e3, t2, n2, o2, i2) {
90
90
  const a2 = ie.value.lineEditSave, l2 = J;
91
91
  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 = Ee, ue.value.saveRow(i2, ce).then(() => {
92
+ true === l3.canExecute && (le.value.lineEditOptions.saveRow = De, ue.value.saveRow(i2, ce).then(() => {
93
93
  d(Y, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
94
94
  }));
95
95
  }).finally(() => {
@@ -112,7 +112,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
112
112
  o2.props.base.tableUuid = i2.uuid;
113
113
  return f(Y, o2, { row: e3, columns: t2 });
114
114
  }
115
- function Ee({ row: e3, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: i2, mainDefaultValueColumns: a2 }) {
115
+ function De({ row: e3, columns: t2, dataTypeMap: n2, dynamicColumnInfo: o2, additionalParamMap: i2, mainDefaultValueColumns: a2 }) {
116
116
  const l2 = ie.value.lineEditSave, r2 = J;
117
117
  return l2.props.base.tableUuid = r2.uuid, new Promise((t3, n3) => {
118
118
  const i3 = { tableName: r2.props.dataOrigin.tableName };
@@ -123,7 +123,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
123
123
  });
124
124
  });
125
125
  }
126
- function De({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
126
+ function Ee({ rowIndex: e3, column: t2, row: n2, orgRow: o2 }) {
127
127
  Te(null, null, n2, t2, e3);
128
128
  }
129
129
  function Te(e3, t2, n2, o2, i2) {
@@ -220,7 +220,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
220
220
  }
221
221
  function Be(e3, t2, n2, o2, i2, a2) {
222
222
  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;
223
- r2.props.base.tableUuid = u2.uuid, E(null, Y, r2, "click", l2);
223
+ r2.props.base.tableUuid = u2.uuid, D(null, Y, r2, "click", l2);
224
224
  }
225
225
  function Pe(e3) {
226
226
  "close_open_win" === e3.data && ue.value && ue.value.refresh();
@@ -352,7 +352,7 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
352
352
  }, setScrollLeft: function(e3) {
353
353
  ue.value && ue.value.setScrollLeft(e3);
354
354
  }, getSuperGridRef: function() {
355
- return ue.value.getSuperGridRef();
355
+ return ue.value;
356
356
  }, getSuperGridTableRef: function() {
357
357
  return ue.value.getSuperGridTableRef();
358
358
  }, setCurrentRowIndex: function(e3) {
@@ -361,6 +361,9 @@ const z = ["id"], W = e({ __name: "main-table-runtime", props: { pageContext: {}
361
361
  }, setScrollTopByRowIndex: function(e3) {
362
362
  var _a;
363
363
  (_a = ue.value) == null ? void 0 : _a.setScrollTopByRowIndex(e3);
364
+ }, getTableData: function() {
365
+ var _a;
366
+ return (_a = ue.value) == null ? void 0 : _a.getTableData();
364
367
  } }), (e3, t2) => {
365
368
  const n2 = a("super-grid");
366
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: Ue, onCellClick: Le, onCellDblclick: Me, onRowClick: $e, onRowDblclick: _e, onHeaderClick: Ae, onRefresh: Ge, onNewOpenGridDialog: u(P), onCanShowMobileSearch: ze, onGridOnmounted: we }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "onNewOpenGridDialog"])], 8, z);
@@ -276,13 +276,16 @@ const j = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
276
276
  }, getSuperGridRef: function() {
277
277
  return le.value;
278
278
  }, getSuperGridTableRef: function() {
279
- return le.value.getSuperGridRef();
279
+ return le.value.getSuperGridTableRef();
280
280
  }, setCurrentRowIndex: function(e3) {
281
281
  var _a;
282
282
  (_a = le.value) == null ? void 0 : _a.setCurrentRowIndex(e3);
283
283
  }, setScrollTopByRowIndex: function(e3) {
284
284
  var _a;
285
285
  (_a = le.value) == null ? void 0 : _a.setScrollTopByRowIndex(e3);
286
+ }, getTableData: function() {
287
+ var _a;
288
+ return (_a = le.value) == null ? void 0 : _a.getTableData();
286
289
  } }), (e3, t2) => {
287
290
  const n2 = a("super-grid");
288
291
  return i(), l("div", null, [ee.value ? (i(), u(n2, { key: 0, ref_key: "gridRef", ref: le, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(G), settings: s(K), onSelect: _e, onSelectAll: ke, onSelectionChange: Me, onCellClick: Fe, onCellDblclick: $e, onRowClick: je, onRowDblclick: Ae, onHeaderClick: Le, onFnProhibitToEdit: Re, onChangeGridData: ye, onReloadGrid: de, onRefresMainTableFields: Oe, onSetSelectOptions: Ie, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(I), onChangeFormData: Be }, null, 8, ["url", "options", "code", "settings", "onNewOpenGridDialog"])) : r("", true)]);
@@ -2,71 +2,74 @@ import { defineComponent as e, ref as t, onUnmounted as n, createElementBlock as
2
2
  import i from "./sub-table-runtime.vue.js";
3
3
  import c from "./main-table-runtime.vue.js";
4
4
  const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: f2 }) {
5
- const s = e2, g = s.pageContext.pageType, p = t(null), d = s.configure.uuid, v = s.pageContext.superGridItems, S = v ? v[d] : null;
6
- p.value = S ? S.configure ? JSON.parse(S.configure) : null : s.configure;
7
- const T = s.configure.runtime ? s.configure.runtime : {};
5
+ const g = e2, s = g.pageContext.pageType, p = t(null), v = g.configure.uuid, d = g.pageContext.superGridItems, S = d ? d[v] : null;
6
+ p.value = S ? S.configure ? JSON.parse(S.configure) : null : g.configure;
7
+ const T = g.configure.runtime ? g.configure.runtime : {};
8
8
  T.style, T.class;
9
- const C = t(true), b = t(null);
9
+ const b = t(true), C = t(null);
10
10
  let m = null;
11
11
  function E(e3) {
12
- s.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES ? s.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES.push(e3) : s.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES = [e3];
12
+ g.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES ? g.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES.push(e3) : g.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES = [e3];
13
13
  }
14
14
  return n(() => {
15
15
  m && clearTimeout(m);
16
16
  }), f2({ refresh: function(e3, t2, n2, u2) {
17
- if (g && "list" === g) return b.value.refresh(e3, t2, n2, u2);
17
+ if (s && "list" === s) return C.value.refresh(e3, t2, n2, u2);
18
18
  }, createRow: function() {
19
- return b.value.createRow();
19
+ return C.value.createRow();
20
20
  }, clearSelections: function() {
21
- return b.value.clearSelections();
21
+ return C.value.clearSelections();
22
22
  }, getSelections: function() {
23
- return b.value.getSelections();
23
+ return C.value.getSelections();
24
24
  }, getSelectionIds: function() {
25
- return b.value.getSelectionIds();
25
+ return C.value.getSelectionIds();
26
26
  }, getTableConfigure: function() {
27
- return b.value.getTableConfigure();
27
+ return C.value.getTableConfigure();
28
28
  }, isDeleteChange: function(e3) {
29
- g && "list" === g && b.value.isDeleteChange(e3);
29
+ s && "list" === s && C.value.isDeleteChange(e3);
30
30
  }, validatorSunTableListData: function() {
31
- if (g && "form" === g) return b.value.validatorSunTableListData();
31
+ if (s && "form" === s) return C.value.validatorSunTableListData();
32
32
  }, showMobileSearch: function() {
33
- b.value.showMobileSearch();
33
+ C.value.showMobileSearch();
34
34
  }, getTableSelectOptions: function() {
35
- if (b.value) return b.value.getTableSelectOptions();
35
+ if (C.value) return C.value.getTableSelectOptions();
36
36
  }, dynamicControlTableEdit: function(e3, t2, n2) {
37
- b.value && b.value.dynamicControlTableEdit(e3, t2, n2);
37
+ C.value && C.value.dynamicControlTableEdit(e3, t2, n2);
38
38
  }, getTableUuid: function() {
39
- return s.configure.uuid;
39
+ return g.configure.uuid;
40
40
  }, doLayout: function(e3) {
41
- b.value && b.value.doLayout(e3);
41
+ C.value && C.value.doLayout(e3);
42
42
  }, changeOperationAddState: function(e3) {
43
- b.value && b.value.changeOperationAddState(e3);
43
+ C.value && C.value.changeOperationAddState(e3);
44
44
  }, scrollTo: function(e3, t2) {
45
45
  var _a;
46
- (_a = b.value) == null ? void 0 : _a.scrollTo(e3, t2);
46
+ (_a = C.value) == null ? void 0 : _a.scrollTo(e3, t2);
47
47
  }, setScrollTop: function(e3) {
48
48
  var _a;
49
- (_a = b.value) == null ? void 0 : _a.setScrollTop(e3);
49
+ (_a = C.value) == null ? void 0 : _a.setScrollTop(e3);
50
50
  }, setScrollLeft: function(e3) {
51
51
  var _a;
52
- (_a = b.value) == null ? void 0 : _a.setScrollLeft(e3);
52
+ (_a = C.value) == null ? void 0 : _a.setScrollLeft(e3);
53
53
  }, getSuperGridRef: function() {
54
54
  var _a;
55
- return (_a = b.value) == null ? void 0 : _a.getSuperGridRef();
55
+ return (_a = C.value) == null ? void 0 : _a.getSuperGridRef();
56
56
  }, getSuperGridTableRef: function() {
57
57
  var _a;
58
- return (_a = b.value) == null ? void 0 : _a.getSuperGridTableRef();
58
+ return (_a = C.value) == null ? void 0 : _a.getSuperGridTableRef();
59
59
  }, setCurrentRowIndex: function(e3) {
60
60
  var _a;
61
- (_a = b.value) == null ? void 0 : _a.setCurrentRowIndex(e3);
61
+ (_a = C.value) == null ? void 0 : _a.setCurrentRowIndex(e3);
62
62
  }, setScrollTopByRowIndex: function(e3) {
63
63
  var _a;
64
- (_a = b.value) == null ? void 0 : _a.setScrollTopByRowIndex(e3);
64
+ (_a = C.value) == null ? void 0 : _a.setScrollTopByRowIndex(e3);
65
65
  }, reloadSubTable: function() {
66
- C.value = false, m = setTimeout(() => {
67
- C.value = true;
66
+ b.value = false, m = setTimeout(() => {
67
+ b.value = true;
68
68
  }, 10);
69
- } }), (e3, t2) => (o(), u("div", null, [r(g) && "form" === r(g) && C.value ? (o(), l(i, { key: 0, ref_key: "gridRef", ref: b, pageContext: e3.pageContext, configure: p.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"])) : r(g) && "form" === r(g) ? a("", true) : (o(), l(c, { key: 1, ref_key: "gridRef", ref: b, pageContext: e3.pageContext, configure: p.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"]))]));
69
+ }, getTableData: function() {
70
+ var _a;
71
+ return (_a = C.value) == null ? void 0 : _a.getTableData();
72
+ } }), (e3, t2) => (o(), u("div", null, [r(s) && "form" === r(s) && b.value ? (o(), l(i, { key: 0, ref_key: "gridRef", ref: C, pageContext: e3.pageContext, configure: p.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"])) : r(s) && "form" === r(s) ? a("", true) : (o(), l(c, { key: 1, ref_key: "gridRef", ref: C, pageContext: e3.pageContext, configure: p.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"]))]));
70
73
  } });
71
74
  export {
72
75
  f as default