super-page-runtime 2.2.91 → 2.2.92-sit10
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/charts/chart-util.js +26 -32
- package/dist/es/components/runtime/utils/common-util.js +1 -1
- package/dist/es/components/runtime/utils/events/event-util.js +111 -110
- package/dist/es/components/runtime/utils/events/print-label.js +53 -40
- package/dist/es/components/runtime/utils/events/standard-event.js +135 -123
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +9 -1
- package/dist/es/components/runtime/utils/page-helper-util.js +91 -84
- package/dist/es/components/runtime/utils/page-init-util.js +23 -23
- package/dist/es/components/runtime/utils/page-permission-util.js +6 -6
- package/dist/es/components/runtime/utils/table-utils.js +5 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +22 -22
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +16 -16
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +21 -21
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +18 -18
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +53 -54
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +198 -192
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +94 -90
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +49 -41
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +24 -24
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +51 -55
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
- package/dist/es/index.d.ts +2 -2
- package/dist/es/index.js +2 -1
- package/dist/es/style.css +3 -3
- package/package.json +2 -2
package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js
CHANGED
|
@@ -3,36 +3,36 @@ import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable
|
|
|
3
3
|
import { getChartDatasFromPage as x, updateChartDatasources as v, monitorFieldChange as C } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as I } from "../../../../utils/charts/chart-columnline-util.js";
|
|
5
5
|
import { doClickJumpPageEvent as k } from "../../../../utils/events/event-util.js";
|
|
6
|
-
import
|
|
7
|
-
import { use as
|
|
8
|
-
import { CanvasRenderer as
|
|
6
|
+
import y from "../common/common-chart-header.vue.js";
|
|
7
|
+
import { use as R } from "echarts/core";
|
|
8
|
+
import { CanvasRenderer as j } from "echarts/renderers";
|
|
9
9
|
import { LineChart as D, BarChart as V } from "echarts/charts";
|
|
10
10
|
import { GridComponent as P, LegendComponent as b, TitleComponent as _, TooltipComponent as w, ToolboxComponent as T, DataZoomComponent as E } from "echarts/components";
|
|
11
11
|
import O from "vue-echarts";
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
if (
|
|
16
|
-
const G =
|
|
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]);
|
|
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
|
+
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
|
+
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);
|
|
17
17
|
function Y(e3) {
|
|
18
|
-
"clearDrill" ==
|
|
18
|
+
"clearDrill" == F ? U.value && U.value.closeDrill && U.value.closeDrill(0) : "clickEvent" === F && Z(e3);
|
|
19
19
|
}
|
|
20
20
|
function Z(e3) {
|
|
21
21
|
if (e3.seriesIndex >= Q.series.length) return;
|
|
22
22
|
const r2 = Q.series[e3.seriesIndex].uuid, o2 = B[r2];
|
|
23
23
|
if (!o2) return;
|
|
24
24
|
const t2 = { data: e3.data, dataIndex: e3.dataIndex, name: e3.name, seriesId: e3.seriesId, seriesIndex: e3.seriesIndex, seriesName: e3.seriesName, seriesType: e3.seriesType, value: e3.value };
|
|
25
|
-
k(
|
|
25
|
+
k(H.pageContext, o2, t2);
|
|
26
26
|
}
|
|
27
|
-
g(
|
|
28
|
-
const e3 = x(
|
|
29
|
-
e3 && oe(e3),
|
|
30
|
-
|
|
31
|
-
}), !
|
|
27
|
+
g(H.configure, Q), o(() => {
|
|
28
|
+
const e3 = x(H.pageContext, H.configure);
|
|
29
|
+
e3 && oe(e3), S.value && (z || Object.keys(B).length > 0) && S.value.chart.on("click", function(e4) {
|
|
30
|
+
z ? U.value && U.value.drill && U.value.drill(e4, H.configure.cacheDatas) : Z(e4);
|
|
31
|
+
}), !z && H.configure.clickSet && S.value && m(H.pageContext, H.configure, S.value.chart);
|
|
32
32
|
});
|
|
33
33
|
let $ = M.groupValue;
|
|
34
34
|
function ee(e3) {
|
|
35
|
-
L && (true !== e3 && (L.autoRefresh = true), v(
|
|
35
|
+
L && (true !== e3 && (L.autoRefresh = true), v(H.pageContext, [L], M.drillParams));
|
|
36
36
|
}
|
|
37
37
|
t(M, () => {
|
|
38
38
|
$ != M.groupValue && ($ = M.groupValue, L && (L.services[0].groupValue = M.groupValue), ee(false));
|
|
@@ -40,14 +40,14 @@ const H = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
|
|
|
40
40
|
const re = M.monitorFields;
|
|
41
41
|
function oe(e3) {
|
|
42
42
|
var _a;
|
|
43
|
-
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, L.autoRefresh || ($ = e3.groupValue, $ && "checkbox" !== M.groupComponent && ($ = $.join(",")), M.groupValue = $), L.autoRefresh &&
|
|
43
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, L.autoRefresh || ($ = e3.groupValue, $ && "checkbox" !== M.groupComponent && ($ = $.join(",")), M.groupValue = $), L.autoRefresh && z || h(H.pageContext, H.configure, (_a = S.value) == null ? void 0 : _a.chart), L.autoRefresh = false, I(H.pageContext, H.configure, Q, e3));
|
|
44
44
|
}
|
|
45
|
-
return C(
|
|
45
|
+
return C(H.pageContext, re, () => {
|
|
46
46
|
ee(true);
|
|
47
|
-
}),
|
|
48
|
-
return d(
|
|
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:
|
|
47
|
+
}), A2({ updateChartDatas: oe, exportChart: function() {
|
|
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));
|
|
50
50
|
} });
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
A as default
|
|
53
53
|
};
|
|
@@ -2,33 +2,33 @@ import { defineComponent as e, ref as r, onMounted as t, watch as o, createEleme
|
|
|
2
2
|
import { getCustomTheme as m, initChartOption as g, exportCommonChart as h } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { getChartDatasFromPage as l, 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
|
-
import
|
|
6
|
-
import { use as
|
|
7
|
-
import { CanvasRenderer as
|
|
5
|
+
import y from "../common/common-chart-header.vue.js";
|
|
6
|
+
import { use as v } from "echarts/core";
|
|
7
|
+
import { CanvasRenderer as R } from "echarts/renderers";
|
|
8
8
|
import { GaugeChart as V } from "echarts/charts";
|
|
9
9
|
import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I } from "echarts/components";
|
|
10
10
|
import k from "vue-echarts";
|
|
11
11
|
const b = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
g(
|
|
15
|
-
const e3 = l(
|
|
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);
|
|
16
16
|
e3 && L(e3);
|
|
17
17
|
});
|
|
18
|
-
let G =
|
|
18
|
+
let G = T.groupValue;
|
|
19
19
|
function J() {
|
|
20
|
-
|
|
20
|
+
S && d(A.pageContext, [S], T.drillParams);
|
|
21
21
|
}
|
|
22
|
-
o(
|
|
23
|
-
G !=
|
|
22
|
+
o(T, () => {
|
|
23
|
+
G != T.groupValue && (G = T.groupValue, S && (S.services[0].groupValue = T.groupValue), J());
|
|
24
24
|
});
|
|
25
|
-
const K =
|
|
25
|
+
const K = T.monitorFields;
|
|
26
26
|
function L(e3) {
|
|
27
|
-
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(
|
|
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(
|
|
30
|
-
return h(
|
|
31
|
-
} }), (e3, r2) => (n(), a("div", { style: i(s(
|
|
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));
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
34
34
|
b as default
|
|
@@ -1,46 +1,46 @@
|
|
|
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
|
|
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";
|
|
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
|
|
8
|
-
import { CanvasRenderer as
|
|
9
|
-
import { PieChart as
|
|
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
10
|
import { GridComponent as _, LegendComponent as b, TitleComponent as w, TooltipComponent as I, ToolboxComponent as P } from "echarts/components";
|
|
11
11
|
import E from "vue-echarts";
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
const
|
|
12
|
+
const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
|
|
13
|
+
y([D, V, _, b, w, I, P]);
|
|
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
|
-
"clearDrill" ==
|
|
16
|
+
"clearDrill" == F ? U.value && U.value.closeDrill && U.value.closeDrill(0) : "clickEvent" == F && W();
|
|
17
17
|
}
|
|
18
18
|
function W() {
|
|
19
|
-
|
|
19
|
+
O && O.jumpPageUrl && x(H.pageContext, H.configure, void 0);
|
|
20
20
|
}
|
|
21
|
-
g(
|
|
22
|
-
const e3 = C(
|
|
23
|
-
e3 && $(e3),
|
|
24
|
-
|
|
25
|
-
}), !
|
|
21
|
+
g(H.configure, L), o(() => {
|
|
22
|
+
const e3 = C(H.pageContext, H.configure);
|
|
23
|
+
e3 && $(e3), T.value && (z || O && O.jumpPageUrl) && T.value.chart.on("click", function(e4) {
|
|
24
|
+
z ? U.value && U.value.drill && U.value.drill(e4, H.configure.cacheDatas) : W();
|
|
25
|
+
}), !z && H.configure.clickSet && T.value && h(H.pageContext, H.configure, T.value.chart);
|
|
26
26
|
});
|
|
27
27
|
let X = K.groupValue;
|
|
28
28
|
function Y(e3) {
|
|
29
|
-
J && (true !== e3 && (J.autoRefresh = true), R(
|
|
29
|
+
J && (true !== e3 && (J.autoRefresh = true), R(H.pageContext, [J], K.drillParams));
|
|
30
30
|
}
|
|
31
31
|
t(K, () => {
|
|
32
32
|
X != K.groupValue && (X = K.groupValue, J && (J.services[0].groupValue = K.groupValue), Y(false));
|
|
33
33
|
});
|
|
34
34
|
const Z = K.monitorFields;
|
|
35
35
|
function $(e3) {
|
|
36
|
-
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, J.autoRefresh || (X = e3.groupValue, X && "checkbox" !== K.groupComponent && (X = X.join(",")), K.groupValue = X), J.autoRefresh &&
|
|
36
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, J.autoRefresh || (X = e3.groupValue, X && "checkbox" !== K.groupComponent && (X = X.join(",")), K.groupValue = X), J.autoRefresh && z || m(H.pageContext, H.configure, T.value.chart), J.autoRefresh = false, v(H.pageContext, H.configure, L, e3));
|
|
37
37
|
}
|
|
38
|
-
return j(
|
|
38
|
+
return j(H.pageContext, Z, () => {
|
|
39
39
|
Y(true);
|
|
40
|
-
}),
|
|
41
|
-
return d(
|
|
42
|
-
} }), (e3, r2) => (a(), n("div", { style: l(
|
|
40
|
+
}), A2({ updateChartDatas: $, exportChart: function() {
|
|
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));
|
|
43
43
|
} });
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
A as default
|
|
46
46
|
};
|
|
@@ -2,34 +2,34 @@ import { defineComponent as e, ref as r, onMounted as t, watch as o, createEleme
|
|
|
2
2
|
import { getCustomTheme as m, 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
|
-
import
|
|
6
|
-
import { use as
|
|
7
|
-
import { CanvasRenderer as
|
|
5
|
+
import y from "../common/common-chart-header.vue.js";
|
|
6
|
+
import { use as v } from "echarts/core";
|
|
7
|
+
import { CanvasRenderer as R } from "echarts/renderers";
|
|
8
8
|
import { RadarChart as V } from "echarts/charts";
|
|
9
9
|
import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I, LegendComponent as k } from "echarts/components";
|
|
10
10
|
import b from "vue-echarts";
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
h(
|
|
15
|
-
const e3 = g(
|
|
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);
|
|
14
|
+
h(H.configure, B), t(() => {
|
|
15
|
+
const e3 = g(H.pageContext, H.configure);
|
|
16
16
|
e3 && M(e3);
|
|
17
17
|
});
|
|
18
|
-
let J =
|
|
18
|
+
let J = q.groupValue;
|
|
19
19
|
function K() {
|
|
20
|
-
|
|
20
|
+
T && d(H.pageContext, [T], q.drillParams);
|
|
21
21
|
}
|
|
22
|
-
o(
|
|
23
|
-
J !=
|
|
22
|
+
o(q, () => {
|
|
23
|
+
J != q.groupValue && (J = q.groupValue, T && (T.services[0].groupValue = q.groupValue), K());
|
|
24
24
|
});
|
|
25
|
-
const L =
|
|
25
|
+
const L = q.monitorFields;
|
|
26
26
|
function M(e3) {
|
|
27
|
-
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(
|
|
27
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(H.pageContext, H.configure, B, e3));
|
|
28
28
|
}
|
|
29
|
-
return x(
|
|
30
|
-
return l(
|
|
31
|
-
} }), (e3, r2) => (n(), a("div", { style: i(s(
|
|
29
|
+
return x(H.pageContext, L, K), A2({ updateChartDatas: M, exportChart: function() {
|
|
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));
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
A as default
|
|
35
35
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as
|
|
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
2
|
import { getCustomTheme as m, 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
|
-
import
|
|
6
|
-
import { use as
|
|
7
|
-
import { CanvasRenderer as
|
|
5
|
+
import y from "../common/common-chart-header.vue.js";
|
|
6
|
+
import { use as v } from "echarts/core";
|
|
7
|
+
import { CanvasRenderer as R } from "echarts/renderers";
|
|
8
8
|
import { ScatterChart as V } from "echarts/charts";
|
|
9
9
|
import { GridComponent as _, LegendComponent as j, TitleComponent as w, TooltipComponent as I, ToolboxComponent as k, DataZoomComponent as b } from "echarts/components";
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
h(
|
|
15
|
-
const e3 = g(
|
|
10
|
+
import A from "vue-echarts";
|
|
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);
|
|
14
|
+
h(z.configure, E), t(() => {
|
|
15
|
+
const e3 = g(z.pageContext, z.configure);
|
|
16
16
|
e3 && N(e3);
|
|
17
17
|
});
|
|
18
18
|
let K = B.groupValue;
|
|
19
19
|
function L() {
|
|
20
|
-
|
|
20
|
+
q && d(z.pageContext, [q], B.drillParams);
|
|
21
21
|
}
|
|
22
22
|
o(B, () => {
|
|
23
|
-
K != B.groupValue && (K = B.groupValue,
|
|
23
|
+
K != B.groupValue && (K = B.groupValue, q && (q.services[0].groupValue = B.groupValue), L());
|
|
24
24
|
});
|
|
25
25
|
const M = B.monitorFields;
|
|
26
26
|
function N(e3) {
|
|
27
|
-
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(
|
|
27
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(z.pageContext, z.configure, E, e3));
|
|
28
28
|
}
|
|
29
|
-
return x(
|
|
30
|
-
return l(
|
|
31
|
-
} }), (e3, r2) => (n(), a("div", { style:
|
|
29
|
+
return x(z.pageContext, M, L), H2({ updateChartDatas: N, exportChart: function() {
|
|
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));
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
H as default
|
|
35
35
|
};
|
|
@@ -5,7 +5,7 @@ import { getCustomFunc as $ } from "../../../../utils/events/event-util.js";
|
|
|
5
5
|
import F from "./group-column.vue.js";
|
|
6
6
|
import k from "./normal-column.vue.js";
|
|
7
7
|
import I from "./table-pageination.vue.js";
|
|
8
|
-
import { getSummaryTitleColumn as N, getSummaryDataColumn as R, rowDataToColumn as T, getColumnToRowTableConfig as H, colDataToRow as _, computeFormula as z, getNewColumnConfig as
|
|
8
|
+
import { getSummaryTitleColumn as N, getSummaryDataColumn as R, rowDataToColumn as T, getColumnToRowTableConfig as H, colDataToRow as _, computeFormula as z, getNewColumnConfig as A, summaryStatistics as D, replacePlaceholders as J, getIndexColumn as P, getHeaderCellStyleUtil as U, getRowStyleUtil as V, getCellStyleUtil as G, formatColContent as K } from "./chart-table-util.js";
|
|
9
9
|
import { deepCopy as L } from "../../../../utils/common-util.js";
|
|
10
10
|
const q = e({ __name: "table-runtime", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, setup(e2, { expose: q2 }) {
|
|
11
11
|
var _a;
|
|
@@ -19,7 +19,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
19
19
|
}), e3.sort((e4, o2) => e4.displayOrder - o2.displayOrder), re.value = e3, function() {
|
|
20
20
|
if (B.configure.props.base.showIndex) {
|
|
21
21
|
re.value.unshift({ columnUuid: "$index", displayOrder: 0, isLeaf: true, prop: "$index", titleText: "序号", uuid: "$index" });
|
|
22
|
-
const e4 =
|
|
22
|
+
const e4 = P();
|
|
23
23
|
e4 && (te.value.$index = e4);
|
|
24
24
|
}
|
|
25
25
|
}();
|
|
@@ -30,16 +30,10 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
30
30
|
}
|
|
31
31
|
ie.value = B.configure.props.base.showSummary, (ie.value || B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) && (ae.value = N(B.configure), ie.value && (ue.value = R(B.configure, "table")), B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0 && (pe.value = R(B.configure, "group")));
|
|
32
32
|
let de = 300, he = b(B.pageContext, B.configure);
|
|
33
|
-
function ve() {
|
|
34
|
-
|
|
35
|
-
r(() => o2.reduce((e4, o3) => e4[o3], B.pageContext.entity), (e4) => {
|
|
36
|
-
e4 ? ye(JSON.parse(JSON.stringify(e4))) : (oe.value = [], B.configure.props.modelCustom ? Re(null) : ee.value ? re.value = B.configure.props.groupHeaders : ne.value = B.configure.items);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function ye(e3) {
|
|
40
|
-
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (!function(e4) {
|
|
33
|
+
function ve(e3) {
|
|
34
|
+
e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (!function(e4) {
|
|
41
35
|
var _a2;
|
|
42
|
-
|
|
36
|
+
Ne(e4), "service" === B.configure.props.dataOrigin.dataSource && e4.result ? me = e4.result[B.configure.props.dataOrigin.service.serviceDataField] : "variable" === B.configure.props.dataOrigin.dataSource && (me = O(B.pageContext.entity, B.configure.props.dataOrigin.variable));
|
|
43
37
|
if (me) if (((_a2 = B.configure.props) == null ? void 0 : _a2.dataOrigin.limitEnable) && B.configure.props.dataOrigin.itemNumSource) {
|
|
44
38
|
let o2 = 10;
|
|
45
39
|
if ("fix" === B.configure.props.dataOrigin.itemNumSource) o2 = B.configure.props.dataOrigin.itemNumFix;
|
|
@@ -47,14 +41,14 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
47
41
|
o2 = Number(O(B.pageContext.entity, B.configure.props.dataOrigin.itemNumVariable));
|
|
48
42
|
const n2 = B.configure.props.dataOrigin.itemNumVariable.match(/\${(.*?)}/), t2 = n2 ? n2[1].split(".") : [], i2 = JSON.parse(JSON.stringify(me));
|
|
49
43
|
r(() => t2.reduce((e5, o3) => e5[o3], B.pageContext.entity), (o3) => {
|
|
50
|
-
|
|
44
|
+
ye(o3, i2, e4);
|
|
51
45
|
});
|
|
52
46
|
}
|
|
53
|
-
|
|
54
|
-
} else
|
|
47
|
+
ye(o2, me, e4);
|
|
48
|
+
} else Ce(me, e4);
|
|
55
49
|
}(e3), e3.hasRender = true, X && (X.autoRefresh = false));
|
|
56
50
|
}
|
|
57
|
-
function
|
|
51
|
+
function ye(e3, o2, n2) {
|
|
58
52
|
var _a2;
|
|
59
53
|
if (e3 && e3 < o2.length) {
|
|
60
54
|
let r2 = [];
|
|
@@ -73,20 +67,20 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
73
67
|
});
|
|
74
68
|
}), o2.length > e3 && (o2 = o2.slice(0, e3 - 1)), t2[i2] = B.configure.props.dataOrigin.overItemAlias, o2.push(t2);
|
|
75
69
|
}
|
|
76
|
-
|
|
77
|
-
} else
|
|
70
|
+
Ce(o2, n2);
|
|
71
|
+
} else Ce(o2, n2);
|
|
78
72
|
}
|
|
79
|
-
function
|
|
73
|
+
function Ce(e3, o2) {
|
|
80
74
|
var _a2;
|
|
81
|
-
if (
|
|
75
|
+
if (be("rowToColumn")) {
|
|
82
76
|
if (e3 = T(e3, B.configure, ne.value), !ee.value) {
|
|
83
77
|
const o3 = function(e4, o4, n2) {
|
|
84
78
|
const r2 = B.configure.props.dataOrigin.rowToColumn.titleColumns, t2 = B.configure.props.dataOrigin.rowToColumn.dataColumns, i2 = e4.props.dataOrigin.groupField;
|
|
85
79
|
if ((!i2 || 0 === i2.length) && n2.length > 0) {
|
|
86
80
|
const e5 = [];
|
|
87
|
-
return e5.push(
|
|
81
|
+
return e5.push(A("$GroupColumn", B.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string")), Object.keys(n2[0]).forEach((o5, n3) => {
|
|
88
82
|
if ("$GroupColumn" === o5) return;
|
|
89
|
-
const r3 =
|
|
83
|
+
const r3 = A(o5, o5, n3 + 1, "string");
|
|
90
84
|
e5.push(r3);
|
|
91
85
|
}), e5;
|
|
92
86
|
}
|
|
@@ -102,7 +96,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
102
96
|
}), a2.forEach((o5) => {
|
|
103
97
|
t2.forEach((r3) => {
|
|
104
98
|
var _a3;
|
|
105
|
-
const t3 = (_a3 = ne.value.find((e6) => e6.props.base.prop === r3)) == null ? void 0 : _a3.props.base.name, i4 =
|
|
99
|
+
const t3 = (_a3 = ne.value.find((e6) => e6.props.base.prop === r3)) == null ? void 0 : _a3.props.base.name, i4 = A(`${o5}${r3}`, `${o5}${t3}`, e5.length + 1, "number" == typeof n2[0][`${o5}${r3}`] ? "number" : "string");
|
|
106
100
|
e5.push(i4);
|
|
107
101
|
});
|
|
108
102
|
}), e5;
|
|
@@ -110,7 +104,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
110
104
|
}(B.configure, ne.value, e3);
|
|
111
105
|
ne.value = o3;
|
|
112
106
|
}
|
|
113
|
-
} else
|
|
107
|
+
} else be("columnToRow") && (ee.value || (ne.value = H(B.configure)), e3 = _(e3, B.configure));
|
|
114
108
|
if (B.configure.props.dataOrigin.dataFormatting) {
|
|
115
109
|
const o3 = $(B.pageContext, B.configure.props.dataOrigin.dataFormatting);
|
|
116
110
|
if (o3) {
|
|
@@ -119,7 +113,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
119
113
|
}
|
|
120
114
|
}
|
|
121
115
|
if (Object.keys(ce.value).length > 0 && e3 && e3.length > 0 && z(ce.value, e3, B.pageContext.entity), ((_a2 = B.configure.pageination) == null ? void 0 : _a2.enable) ? function(e4) {
|
|
122
|
-
"frontend" === B.configure.pageination.type ? (fe.value = me.length,
|
|
116
|
+
"frontend" === B.configure.pageination.type ? (fe.value = me.length, Fe(1, B.configure.pageination.pageSize)) : "backend" === B.configure.pageination.type && (oe.value = me, B.configure.pageination.totalFrom && (fe.value = e4.result[B.configure.pageination.totalFrom]));
|
|
123
117
|
}(o2) : oe.value = e3, B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) {
|
|
124
118
|
const e4 = B.configure.props.highOrder.groupField;
|
|
125
119
|
oe.value = function(e5, o3) {
|
|
@@ -134,11 +128,11 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
134
128
|
for (let e6 = 0; e6 < a2.length; e6++) {
|
|
135
129
|
const o4 = a2[e6], i3 = {};
|
|
136
130
|
t2 == null ? void 0 : t2.forEach((e7) => {
|
|
137
|
-
const n3 = e7.props.base.prop, r3 =
|
|
131
|
+
const n3 = e7.props.base.prop, r3 = D(pe.value[n3], o4, n3, B.pageContext);
|
|
138
132
|
i3[n3] = r3;
|
|
139
133
|
}), n2.push(...o4), r2 == null ? void 0 : r2.forEach((e7) => {
|
|
140
134
|
const n3 = e7.props.base.prop;
|
|
141
|
-
i3[n3] =
|
|
135
|
+
i3[n3] = J(e7.props.base.summaryTitle, o4[0]);
|
|
142
136
|
}), n2.push(i3), le.push(n2.length - 1);
|
|
143
137
|
}
|
|
144
138
|
return n2;
|
|
@@ -146,47 +140,52 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
146
140
|
}
|
|
147
141
|
!function(e4) {
|
|
148
142
|
if (B.configure.props.base.showIndex && -1 === e4.findIndex((e5) => "$index" === e5.props.base.prop)) {
|
|
149
|
-
const o3 =
|
|
143
|
+
const o3 = P();
|
|
150
144
|
o3 && e4.unshift(o3);
|
|
151
145
|
}
|
|
152
146
|
}(ne.value);
|
|
153
147
|
}
|
|
154
|
-
function
|
|
148
|
+
function be(e3) {
|
|
155
149
|
return B.configure.props.dataOrigin.transition === e3 && B.configure.props.dataOrigin[e3].titleColumns && B.configure.props.dataOrigin[e3].titleColumns.length > 0 && B.configure.props.dataOrigin[e3].dataColumns && B.configure.props.dataOrigin[e3].dataColumns.length > 0;
|
|
156
150
|
}
|
|
157
|
-
function
|
|
151
|
+
function xe(e3) {
|
|
158
152
|
const o2 = se.value[e3.column.property] ? se.value[e3.column.property].titleStyle : null, n2 = Q == null ? void 0 : Q.titleStyle;
|
|
159
|
-
return
|
|
153
|
+
return U(e3, { cellTitleStyle: o2, titleStyle: n2 }, B);
|
|
160
154
|
}
|
|
161
|
-
function
|
|
162
|
-
return
|
|
155
|
+
function Oe(e3) {
|
|
156
|
+
return V(e3, le, B);
|
|
163
157
|
}
|
|
164
|
-
function
|
|
158
|
+
function Se(e3) {
|
|
165
159
|
const o2 = se.value[e3.column.property] ? se.value[e3.column.property].cellStyle : null;
|
|
166
|
-
return
|
|
160
|
+
return G(e3, o2, B);
|
|
167
161
|
}
|
|
168
162
|
he && he.fixHeight && (de = he.fixHeight), he && he.maxHeight && (de = he.maxHeight), de && (de = Number(de + "")), n(() => {
|
|
169
163
|
const e3 = x(B.pageContext, B.configure);
|
|
170
|
-
if (e3)
|
|
164
|
+
if (e3) ve(e3);
|
|
171
165
|
else if ("variable" === B.configure.props.dataOrigin.dataSource) {
|
|
172
|
-
|
|
166
|
+
!function() {
|
|
167
|
+
const e4 = B.configure.props.dataOrigin.variable.match(/\${(.*?)}/), o3 = e4 ? e4[1].split(".") : [];
|
|
168
|
+
r(() => o3.reduce((e5, o4) => e5[o4], B.pageContext.entity), (e5) => {
|
|
169
|
+
e5 ? ve(JSON.parse(JSON.stringify(e5))) : (oe.value = [], B.configure.props.modelCustom ? Ne(null) : ee.value ? re.value = B.configure.props.groupHeaders : ne.value = B.configure.items);
|
|
170
|
+
});
|
|
171
|
+
}();
|
|
173
172
|
const o2 = O(B.pageContext.entity, B.configure.props.dataOrigin.variable);
|
|
174
|
-
o2 &&
|
|
173
|
+
o2 && Ce(o2, e3);
|
|
175
174
|
}
|
|
176
175
|
});
|
|
177
|
-
const
|
|
176
|
+
const we = (e3) => {
|
|
178
177
|
const { columns: o2, data: n2 } = e3, r2 = [];
|
|
179
178
|
return o2.forEach((e4, o3) => {
|
|
180
179
|
if (ae.value[e4.property]) {
|
|
181
180
|
const t2 = ae.value[e4.property].label;
|
|
182
|
-
r2[o3] = y("div", {}, [
|
|
181
|
+
r2[o3] = y("div", {}, [J(t2, n2)]);
|
|
183
182
|
} else if (ue.value[e4.property]) {
|
|
184
183
|
const t2 = n2.filter((e5, o4) => !le.includes(o4));
|
|
185
|
-
r2[o3] =
|
|
184
|
+
r2[o3] = D(ue.value[e4.property], t2, e4.property, B.pageContext);
|
|
186
185
|
}
|
|
187
186
|
}), r2;
|
|
188
187
|
};
|
|
189
|
-
function
|
|
188
|
+
function Ee({ row: e3, column: o2, rowIndex: n2, columnIndex: r2 }) {
|
|
190
189
|
const t2 = o2.property, i2 = B.configure.props.highOrder;
|
|
191
190
|
if (i2.scopeFunc) {
|
|
192
191
|
const t3 = $(B.pageContext, i2.scopeFunc);
|
|
@@ -196,23 +195,23 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
196
195
|
}
|
|
197
196
|
} else if (i2 && i2.mergeColumn, i2 && i2.mergeRow && i2.mergeRow.includes(t2) && 0 === n2) return { rowspan: oe.value.length, colspan: 1 };
|
|
198
197
|
}
|
|
198
|
+
function je(e3, o2) {
|
|
199
|
+
"frontend" === B.configure.pageination.type ? Fe(e3, o2) : ke(e3, o2);
|
|
200
|
+
}
|
|
199
201
|
function $e(e3, o2) {
|
|
200
|
-
"frontend" === B.configure.pageination.type ?
|
|
202
|
+
"frontend" === B.configure.pageination.type ? Fe(e3, o2) : ke(e3, o2);
|
|
201
203
|
}
|
|
202
204
|
function Fe(e3, o2) {
|
|
203
|
-
"frontend" === B.configure.pageination.type ? ke(e3, o2) : Ie(e3, o2);
|
|
204
|
-
}
|
|
205
|
-
function ke(e3, o2) {
|
|
206
205
|
me && (oe.value = me.slice((e3 - 1) * o2, e3 * o2));
|
|
207
206
|
}
|
|
208
|
-
function
|
|
207
|
+
function ke(e3, o2) {
|
|
209
208
|
B.configure.pageination.currentPageSet && w(B.pageContext.entity, B.configure.pageination.currentPageSet, e3), B.configure.pageination.pageSizeSet && w(B.pageContext.entity, B.configure.pageination.pageSizeSet, o2), E(B.pageContext, B.configure.uuid);
|
|
210
209
|
}
|
|
211
|
-
function
|
|
210
|
+
function Ie(e3) {
|
|
212
211
|
const o2 = e3.showCondition;
|
|
213
212
|
return j(B.pageContext, o2);
|
|
214
213
|
}
|
|
215
|
-
function
|
|
214
|
+
function Ne(e3) {
|
|
216
215
|
if (B.configure.props.modelCustom) {
|
|
217
216
|
const o2 = $(B.pageContext, B.configure.props.modelCustom);
|
|
218
217
|
if (o2) {
|
|
@@ -223,23 +222,23 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
223
222
|
}
|
|
224
223
|
}
|
|
225
224
|
}
|
|
226
|
-
function
|
|
225
|
+
function Re(e3, o2, n2) {
|
|
227
226
|
e3.forEach((e4) => {
|
|
228
227
|
const r2 = e4.props.base.prop, t2 = e4.props.base.name;
|
|
229
228
|
let i2 = { name: r2, label: t2, i18nKey: t2 };
|
|
230
|
-
e4.children && e4.childern.length > 0 && (i2.children = [],
|
|
229
|
+
e4.children && e4.childern.length > 0 && (i2.children = [], Re(e4.children, i2.children, n2)), e4.props.format && e4.props.format.type && n2.push(e4), o2.push(i2);
|
|
231
230
|
});
|
|
232
231
|
}
|
|
233
|
-
return q2({ updateChartDatas:
|
|
232
|
+
return q2({ updateChartDatas: ve, exportChart: function() {
|
|
234
233
|
let e3 = [], o2 = [];
|
|
235
234
|
o2 = ee.value ? B.configure.props.groupHeaders : B.configure.items;
|
|
236
235
|
let n2 = [];
|
|
237
|
-
|
|
236
|
+
Re(o2, e3, n2);
|
|
238
237
|
return { isTable: true, dataArr: function(e4) {
|
|
239
238
|
let o3 = [];
|
|
240
239
|
oe.value && (o3 = L(oe.value), o3.forEach((o4) => {
|
|
241
240
|
e4.forEach((e5) => {
|
|
242
|
-
const n3 =
|
|
241
|
+
const n3 = K(o4, e5.props.format, e5, B.pageContext, B.configure);
|
|
243
242
|
o4[e5.props.base.prop] = n3;
|
|
244
243
|
});
|
|
245
244
|
}));
|
|
@@ -247,7 +246,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
247
246
|
}(n2), columns: e3 };
|
|
248
247
|
} }), (o2, n2) => {
|
|
249
248
|
const r2 = t("el-table");
|
|
250
|
-
return a(), i("div", { style: p(l(Q)), class: u([l(W), "amb-widget-chart amb-widget-flex"]), ref: "thisRef" }, [s(c(C, { ref_key: "headerRef", ref: Z, headerInfo: l(Y), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, l(Y).showHeader || e2.pageContext.showHomepageSearch]]), c(r2, { ref_key: "gridRef", ref: ge, data: oe.value, style: { width: "100%" }, "max-height": l(de), "header-cell-style":
|
|
249
|
+
return a(), i("div", { style: p(l(Q)), class: u([l(W), "amb-widget-chart amb-widget-flex"]), ref: "thisRef" }, [s(c(C, { ref_key: "headerRef", ref: Z, headerInfo: l(Y), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, l(Y).showHeader || e2.pageContext.showHomepageSearch]]), c(r2, { ref_key: "gridRef", ref: ge, data: oe.value, style: { width: "100%" }, "max-height": l(de), "header-cell-style": xe, "row-style": Oe, "cell-style": Se, "show-summary": ie.value, stripe: e2.configure.props.base.stripe, "summary-method": we, "span-method": Ee }, { default: d(() => [ee.value ? (a(true), i(h, { key: 0 }, v(re.value, (o3, n3) => (a(), i(h, { key: n3 }, [o3.isLeaf ? Ie(te.value[o3.columnUuid]) ? (a(), g(k, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: te.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : f("", true) : (a(), g(F, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: te.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (a(true), i(h, { key: 1 }, v(ne.value, (o3, n3) => (a(), i(h, { key: n3 }, [Ie(o3) ? (a(), g(k, { key: 0, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"])) : f("", true)], 64))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (a(), g(I, { key: 0, configure: e2.configure, "table-data": oe.value, total: fe.value, onPageChange: je, onPageSizeChange: $e }, null, 8, ["configure", "table-data", "total"])) : f("", true)], 6);
|
|
251
250
|
};
|
|
252
251
|
} });
|
|
253
252
|
export {
|