super-page-runtime 2.2.83 → 2.2.89-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.
- package/dist/es/components/runtime/utils/api/page-expose-util.js +56 -56
- package/dist/es/components/runtime/utils/barcode-util.js +5 -5
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +74 -74
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +45 -46
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +14 -16
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/charts/chart-util.js +7 -9
- package/dist/es/components/runtime/utils/events/event-util.js +113 -113
- package/dist/es/components/runtime/utils/events/print-label.js +37 -38
- package/dist/es/components/runtime/utils/events/standard-event.js +535 -540
- package/dist/es/components/runtime/utils/events/validator-util.js +72 -62
- package/dist/es/components/runtime/utils/form/scan-util.js +3 -4
- package/dist/es/components/runtime/utils/page-helper-util.js +210 -210
- package/dist/es/components/runtime/utils/page-init-util.js +47 -50
- package/dist/es/components/runtime/utils/page-permission-util.js +16 -16
- package/dist/es/components/runtime/utils/page-store.js +1 -1
- package/dist/es/components/runtime/utils/table-utils.js +23 -23
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +16 -13
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +4 -1
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +15 -11
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +12 -16
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +9 -11
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +12 -13
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +13 -14
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +14 -15
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +16 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +131 -122
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +90 -57
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +22 -26
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +4 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +39 -36
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +11 -8
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +92 -94
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +123 -124
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +16 -14
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +80 -77
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -1
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +34 -29
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +39 -41
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +22 -22
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +50 -51
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -8
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +9 -10
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +5 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +4 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +7 -7
- package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +9 -10
- package/dist/es/components/runtime/views/{super-page-dialog.vue2.js → super-page-dialog.vue3.js} +1 -0
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +126 -126
- package/dist/es/index.js +1 -0
- package/dist/es/style.css +234 -99
- package/package.json +2 -2
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, resolveComponent as r, createElementBlock as n, openBlock as t, createElementVNode as a, createCommentVNode as l, withDirectives as i, createBlock as d, normalizeStyle as f, toDisplayString as h, vShow as s, createVNode as c, withCtx as I, unref as
|
|
2
|
-
import { Search as
|
|
1
|
+
import { defineComponent as e, ref as o, resolveComponent as r, createElementBlock as n, openBlock as t, createElementVNode as a, createCommentVNode as l, withDirectives as i, createBlock as d, normalizeStyle as f, toDisplayString as h, vShow as s, createVNode as c, withCtx as I, unref as u } from "vue";
|
|
2
|
+
import { Search as p } from "@element-plus/icons-vue";
|
|
3
3
|
import g from "./common-chart-header-group.vue.js";
|
|
4
4
|
import m from "./common-chart-header-breadcrumb.vue.js";
|
|
5
5
|
import b from "./common-homepage-search.vue.js";
|
|
6
|
-
import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as
|
|
7
|
-
const
|
|
6
|
+
import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as w } from "../../../../utils/page-helper-util.js";
|
|
7
|
+
const x = { class: "amb-widget-chart-header" }, O = { class: "amb-widget-chart-header-item" }, k = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, j = { class: "amb-widget-chart-header-item" }, C = { key: 0, class: "amb-widget-chart-header-item" }, P = e({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e2, { expose: P2, emit: _ }) {
|
|
8
8
|
const N = e2, D = o(null), A = o(), R = _;
|
|
9
9
|
function S(e3) {
|
|
10
10
|
const o2 = N.headerInfo.drillOptions.length;
|
|
11
|
-
if (e3 >= o2)
|
|
12
|
-
else {
|
|
11
|
+
if (!(e3 >= o2)) {
|
|
13
12
|
for (let r2 = o2 - 1; r2 >= e3; r2--) N.headerInfo.drillOptions.splice(r2, 1);
|
|
14
13
|
q(e3);
|
|
15
14
|
}
|
|
@@ -35,7 +34,7 @@ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-h
|
|
|
35
34
|
for (let e4 of o2.variables) {
|
|
36
35
|
if (!e4.fieldName || !e4.variable) continue;
|
|
37
36
|
const o3 = y(r2, e4.fieldName, void 0);
|
|
38
|
-
|
|
37
|
+
w(N.pageContext.entity, e4.variable, o3);
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
N.headerInfo.drillOptions || (N.headerInfo.drillOptions = []);
|
|
@@ -45,14 +44,13 @@ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-h
|
|
|
45
44
|
return P2({ drill: function(e3, o2) {
|
|
46
45
|
const r2 = N.headerInfo.drillOptions.length;
|
|
47
46
|
if (r2 + 1 >= N.headerInfo.options.length) {
|
|
48
|
-
return F(o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : void 0),
|
|
47
|
+
return F(o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : void 0), void R("drill-end", e3);
|
|
49
48
|
}
|
|
50
|
-
console.log("props.headerInfo.options", r2, N.headerInfo.options);
|
|
51
49
|
const n2 = N.headerInfo.options[r2], t2 = o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : null, a2 = { fieldName: n2.target ? n2.target.replace(".", "_") : "", rawFieldName: n2.target ? n2.target : "", label: e3.name, value: e3.name, data: t2 };
|
|
52
50
|
N.headerInfo.drillOptions.push(a2), q(r2 + 1);
|
|
53
51
|
}, closeDrill: S }), (o2, v2) => {
|
|
54
|
-
const y2 = r("el-icon"),
|
|
55
|
-
return t(), n("div",
|
|
52
|
+
const y2 = r("el-icon"), w2 = r("el-tooltip");
|
|
53
|
+
return t(), n("div", x, [a("div", O, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + " ", 5), [[s, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(m, { key: 0, ref_key: "drillObjRef", ref: D, headerInfo: e2.headerInfo, onCloseDrill: S }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", k, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + " ", 5), [[s, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), a("div", j, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + " ", 5), [[s, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), e2.pageContext.showHomepageSearch ? (t(), n("div", C, [c(w2, { content: "打开查询弹窗", effect: "light" }, { default: I(() => [c(y2, { onClick: G }, { default: I(() => [c(u(p))]), _: 1 })]), _: 1 }), c(b, { ref_key: "commonHomepageSearchRef", ref: A, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])])) : l("", true)]);
|
|
56
54
|
};
|
|
57
55
|
} });
|
|
58
56
|
export {
|
package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./common-homepage-search.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = o(e, [["__scopeId", "data-v-
|
|
4
|
+
const m = o(e, [["__scopeId", "data-v-57964c4a"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js
CHANGED
|
@@ -55,7 +55,7 @@ const b = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "di
|
|
|
55
55
|
_.value = true, k.value = N.configure.pushHomepage.searchConditions;
|
|
56
56
|
} }), (t2, o2) => {
|
|
57
57
|
const i2 = l("el-empty"), v2 = l("el-form"), h2 = l("el-button"), y2 = l("el-dialog");
|
|
58
|
-
return r(), a(y2, { modelValue: _.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", b, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(i2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: j.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(h2, { type: "primary", onClick: T }, { default: n(() => o2[1] || (o2[1] = [p(" 确定 ")])), _: 1 }), s(h2, { onClick: H }, { default: n(() => o2[2] || (o2[2] = [p("重置")])), _: 1 }), s(h2, { type: "primary", onClick: A }, { default: n(() => o2[3] || (o2[3] = [p(" 保存为默认条件 ")])), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
|
|
58
|
+
return r(), a(y2, { modelValue: _.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", b, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(i2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: j.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(h2, { type: "primary", onClick: T }, { default: n(() => o2[1] || (o2[1] = [p(" 确定 ")])), _: 1 }), s(h2, { type: "default", onClick: H }, { default: n(() => o2[2] || (o2[2] = [p("重置")])), _: 1 }), s(h2, { type: "primary", onClick: A }, { default: n(() => o2[3] || (o2[3] = [p(" 保存为默认条件 ")])), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
|
|
59
59
|
};
|
|
60
60
|
} });
|
|
61
61
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
2
|
-
import { getCustomTheme as
|
|
3
|
-
import { getChartDatasFromPage as
|
|
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";
|
|
4
4
|
import { updateChartOption as C } from "../../../../utils/charts/chart-gauge-util.js";
|
|
5
5
|
import v from "../common/common-chart-header.vue.js";
|
|
6
6
|
import { use as R } from "echarts/core";
|
|
@@ -10,26 +10,25 @@ import { GridComponent as _, TitleComponent as j, TooltipComponent as w, Toolbox
|
|
|
10
10
|
import k from "vue-echarts";
|
|
11
11
|
const b = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
|
|
12
12
|
R([y, V, _, j, w, I]);
|
|
13
|
-
const
|
|
14
|
-
g(
|
|
15
|
-
const e3 =
|
|
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 : {}, A = O.chartOption, B = H.configure.props ? H.configure.props : {}, E = m(B.customTheme);
|
|
14
|
+
g(H.configure, A), t(() => {
|
|
15
|
+
const e3 = l(H.pageContext, H.configure);
|
|
16
16
|
e3 && L(e3);
|
|
17
17
|
});
|
|
18
18
|
let G = q.groupValue;
|
|
19
19
|
function J() {
|
|
20
|
-
T
|
|
20
|
+
T && d(H.pageContext, [T], q.drillParams);
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
o(q, () => {
|
|
23
23
|
G != q.groupValue && (G = q.groupValue, T && (T.services[0].groupValue = q.groupValue), J());
|
|
24
24
|
});
|
|
25
25
|
const K = q.monitorFields;
|
|
26
26
|
function L(e3) {
|
|
27
|
-
|
|
28
|
-
e3.hasRender = true, console.log("gauge resultData", e3), C(D.pageContext, D.configure, A, e3), console.log("chartOption", A);
|
|
27
|
+
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(H.pageContext, H.configure, A, e3));
|
|
29
28
|
}
|
|
30
|
-
return x(
|
|
31
|
-
return
|
|
32
|
-
} }), (e3,
|
|
29
|
+
return x(H.pageContext, K, J), b2({ updateChartDatas: L, exportChart: function() {
|
|
30
|
+
return h(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(v, { 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(k), { ref_key: "chartRef", ref: D, theme: s(E), option: s(A), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
33
32
|
} });
|
|
34
33
|
export {
|
|
35
34
|
b as default
|
|
@@ -11,36 +11,35 @@ import { GridComponent as _, LegendComponent as b, TitleComponent as w, TooltipC
|
|
|
11
11
|
import E from "vue-echarts";
|
|
12
12
|
const H = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
|
|
13
13
|
D([V, y, _, b, w, I, P]);
|
|
14
|
-
const
|
|
14
|
+
const S = e2, T = r(null), U = r(null), z = r(null), F = S.configure.props ? S.configure.props.enableDrill : null, O = S.configure.props ? S.configure.props.drillEndTrigger : null, q = S.configure.props ? S.configure.props.linkPage : null, A = S.configure.runtime ? S.configure.runtime : {}, B = A.style, G = A.class, J = A.dataConfig, K = A.headerInfo ? A.headerInfo : {}, L = A.chartOption, M = S.configure.props ? S.configure.props : {}, N = f(M.customTheme);
|
|
15
15
|
function Q(e3) {
|
|
16
|
-
"clearDrill" ==
|
|
16
|
+
"clearDrill" == O ? z.value && z.value.closeDrill && z.value.closeDrill(0) : "clickEvent" == O && W();
|
|
17
17
|
}
|
|
18
18
|
function W() {
|
|
19
|
-
q && q.jumpPageUrl && x(
|
|
19
|
+
q && q.jumpPageUrl && x(S.pageContext, S.configure, void 0);
|
|
20
20
|
}
|
|
21
|
-
g(
|
|
22
|
-
const e3 = C(
|
|
23
|
-
e3 && $(e3),
|
|
24
|
-
|
|
25
|
-
}), !
|
|
21
|
+
g(S.configure, L), o(() => {
|
|
22
|
+
const e3 = C(S.pageContext, S.configure);
|
|
23
|
+
e3 && $(e3), U.value && (F || q && q.jumpPageUrl) && U.value.chart.on("click", function(e4) {
|
|
24
|
+
F ? z.value && z.value.drill && z.value.drill(e4, S.configure.cacheDatas) : W();
|
|
25
|
+
}), !F && S.configure.clickSet && U.value && h(S.pageContext, S.configure, U.value.chart);
|
|
26
26
|
});
|
|
27
27
|
let X = K.groupValue;
|
|
28
28
|
function Y(e3) {
|
|
29
|
-
J
|
|
29
|
+
J && (true !== e3 && (J.autoRefresh = true), R(S.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
|
-
|
|
37
|
-
e3.hasRender = true, J.autoRefresh || (X = e3.groupValue, X && "checkbox" !== K.groupComponent && (X = X.join(",")), K.groupValue = X), J.autoRefresh && z || m(O.pageContext, O.configure, T.value.chart), J.autoRefresh = false, v(O.pageContext, O.configure, L, e3), console.log("chartOption--pie", L);
|
|
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 && F || m(S.pageContext, S.configure, U.value.chart), J.autoRefresh = false, v(S.pageContext, S.configure, L, e3));
|
|
38
37
|
}
|
|
39
|
-
return j(
|
|
38
|
+
return j(S.pageContext, Z, () => {
|
|
40
39
|
Y(true);
|
|
41
40
|
}), H2({ updateChartDatas: $, exportChart: function() {
|
|
42
|
-
return d(
|
|
43
|
-
} }), (e3, r2) => (a(), n("div", { style: l(i(B)), class: u([i(G), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref:
|
|
41
|
+
return d(U.value);
|
|
42
|
+
} }), (e3, r2) => (a(), n("div", { style: l(i(B)), class: u([i(G), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: T }, [c(p(k, { ref_key: "headerRef", ref: z, headerInfo: i(K), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q }, null, 8, ["headerInfo", "configure", "pageContext"]), [[s, i(K).showHeader || e3.pageContext.showHomepageSearch]]), p(i(E), { ref_key: "chartRef", ref: U, theme: i(N), option: i(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
44
43
|
} });
|
|
45
44
|
export {
|
|
46
45
|
H as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as
|
|
2
|
-
import { getCustomTheme as
|
|
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";
|
|
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 v from "../common/common-chart-header.vue.js";
|
|
@@ -7,30 +7,29 @@ import { use as R } from "echarts/core";
|
|
|
7
7
|
import { CanvasRenderer as y } 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
|
-
import
|
|
11
|
-
const
|
|
10
|
+
import b from "vue-echarts";
|
|
11
|
+
const H = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
|
|
12
12
|
R([y, V, _, j, w, I, k]);
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const e3 = g(
|
|
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, A = P.headerInfo ? P.headerInfo : {}, B = P.chartOption, E = z.configure.props ? z.configure.props : {}, G = m(E.customTheme);
|
|
14
|
+
h(z.configure, B), t(() => {
|
|
15
|
+
const e3 = g(z.pageContext, z.configure);
|
|
16
16
|
e3 && M(e3);
|
|
17
17
|
});
|
|
18
18
|
let J = A.groupValue;
|
|
19
19
|
function K() {
|
|
20
|
-
q
|
|
20
|
+
q && d(z.pageContext, [q], A.drillParams);
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
o(A, () => {
|
|
23
23
|
J != A.groupValue && (J = A.groupValue, q && (q.services[0].groupValue = A.groupValue), K());
|
|
24
24
|
});
|
|
25
25
|
const L = A.monitorFields;
|
|
26
26
|
function M(e3) {
|
|
27
|
-
|
|
28
|
-
e3.hasRender = true, C(H.pageContext, H.configure, B, e3), console.log("chartOption", B);
|
|
27
|
+
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(z.pageContext, z.configure, B, e3));
|
|
29
28
|
}
|
|
30
|
-
return x(
|
|
31
|
-
return
|
|
32
|
-
} }), (e3, r2) => (
|
|
29
|
+
return x(z.pageContext, L, K), H2({ updateChartDatas: M, exportChart: function() {
|
|
30
|
+
return l(F.value);
|
|
31
|
+
} }), (e3, r2) => (n(), a("div", { style: i(s(S)), class: u([s(T), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: D }, [p(c(v, { ref_key: "headerRef", ref: O, headerInfo: s(A), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, s(A).showHeader || e3.pageContext.showHomepageSearch]]), c(s(b), { ref_key: "chartRef", ref: F, theme: s(G), option: s(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
33
32
|
} });
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
H as default
|
|
36
35
|
};
|
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as
|
|
2
|
-
import { getCustomTheme as
|
|
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 s, 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";
|
|
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 v from "../common/common-chart-header.vue.js";
|
|
6
6
|
import { use as R } from "echarts/core";
|
|
7
7
|
import { CanvasRenderer as y } from "echarts/renderers";
|
|
8
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
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
R([y, V, _, j, w, I, k,
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const e3 = g(
|
|
9
|
+
import { GridComponent as _, LegendComponent as j, TitleComponent as w, TooltipComponent as I, ToolboxComponent as k, DataZoomComponent as b } from "echarts/components";
|
|
10
|
+
import H from "vue-echarts";
|
|
11
|
+
const z = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
|
|
12
|
+
R([y, V, _, j, w, I, k, b]);
|
|
13
|
+
const D = e2, F = r(null), O = r(null), P = r(null), S = D.configure.runtime ? D.configure.runtime : {}, T = S.style, q = S.class, A = S.dataConfig, B = S.headerInfo ? S.headerInfo : {}, E = S.chartOption, G = D.configure.props ? D.configure.props : {}, J = m(G.customTheme);
|
|
14
|
+
h(D.configure, E), t(() => {
|
|
15
|
+
const e3 = g(D.pageContext, D.configure);
|
|
16
16
|
e3 && N(e3);
|
|
17
17
|
});
|
|
18
18
|
let K = B.groupValue;
|
|
19
19
|
function L() {
|
|
20
|
-
A
|
|
20
|
+
A && d(D.pageContext, [A], B.drillParams);
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
o(B, () => {
|
|
23
23
|
K != B.groupValue && (K = B.groupValue, A && (A.services[0].groupValue = B.groupValue), L());
|
|
24
24
|
});
|
|
25
25
|
const M = B.monitorFields;
|
|
26
26
|
function N(e3) {
|
|
27
|
-
|
|
28
|
-
e3.hasRender = true, C(z.pageContext, z.configure, E, e3), console.log("chartOption scatter", E);
|
|
27
|
+
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(D.pageContext, D.configure, E, e3));
|
|
29
28
|
}
|
|
30
|
-
return x(
|
|
31
|
-
return
|
|
32
|
-
} }), (e3, r2) => (
|
|
29
|
+
return x(D.pageContext, M, L), z2({ updateChartDatas: N, exportChart: function() {
|
|
30
|
+
return l(O.value);
|
|
31
|
+
} }), (e3, r2) => (n(), a("div", { style: s(i(T)), class: u([i(q), "amb-widget-chart amb-widget-flex"]), ref_key: "thisRef", ref: F }, [c(p(v, { ref_key: "headerRef", ref: P, headerInfo: i(B), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(B).showHeader || e3.pageContext.showHomepageSearch]]), p(i(H), { ref_key: "chartRef", ref: O, theme: i(J), option: i(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
33
32
|
} });
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
z as default
|
|
36
35
|
};
|