super-page-runtime 2.3.10 → 2.3.12-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 (44) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +50 -50
  2. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +57 -57
  3. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +3 -3
  4. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  5. package/dist/es/components/runtime/utils/events/print-label.js +25 -26
  6. package/dist/es/components/runtime/utils/events/standard-event.js +232 -226
  7. package/dist/es/components/runtime/utils/events/validator-util.d.ts +2 -1
  8. package/dist/es/components/runtime/utils/events/validator-util.js +13 -10
  9. package/dist/es/components/runtime/utils/page-init-util.js +24 -25
  10. package/dist/es/components/runtime/utils/page-store.js +10 -10
  11. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +8 -8
  14. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  16. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +8 -8
  18. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +10 -10
  20. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +8 -8
  22. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +11 -11
  24. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +1 -0
  25. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +104 -94
  26. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +144 -144
  27. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  28. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  29. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  30. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +16 -17
  31. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -2
  32. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +41 -36
  33. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +32 -32
  34. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +43 -41
  35. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +34 -35
  36. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +3 -5
  37. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -1
  38. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +14 -15
  39. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  40. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  41. package/dist/es/components/runtime/views/super-page.vue2.js +11 -12
  42. package/dist/es/style.css +5 -5
  43. package/package.json +2 -2
  44. package/dist/es.zip +0 -0
@@ -18,7 +18,8 @@ export declare function disabledAllFields(pageContext: PageContext): void;
18
18
  export declare function dynamicControlTableEdit(pageContext: PageContext, customRules: any[], tableCode?: any): void;
19
19
  export declare function updateComponentDisplayState(ref: any, item: any): void;
20
20
  /**
21
- * 布尔型和日期校验需要自定义,为了兼容oracle和mysql数据库
21
+ * 布尔型和日期校验需要自定义,为了兼容oracle和mysql数据库,
22
+ * 数字类型的校验,防止select、radio、checkbox传字符串类型的数字
22
23
  * @param fieldRule
23
24
  */
24
25
  export declare function packageCustomValidator(fieldRule: any): void;
@@ -154,7 +154,7 @@ function b(e2, t2, s2) {
154
154
  }), r3.includes(false) && e6(false), n2.length > 0 ? Promise.all(n2).then((t4) => {
155
155
  t4.includes(false) ? e6(false) : e6(true);
156
156
  }).catch((t4) => {
157
- console.error(t4), e6(false);
157
+ e6(false);
158
158
  }) : e6(true);
159
159
  });
160
160
  return null;
@@ -257,16 +257,19 @@ function O(e2, t2) {
257
257
  }
258
258
  }
259
259
  function j(e2) {
260
- e2 && e2.type && "boolean" === e2.type ? e2.validator = function(e3, t2, s2) {
261
- return null == t2 ? !e3.required : "number" == typeof t2 && (1 === t2 || 0 === t2) || "boolean" == typeof t2 && (true === t2 || false === t2);
262
- } : e2 && e2.type && "date" === e2.type && (e2.validator = function(e3, t2, s2) {
263
- if (null == t2) return !e3.required;
264
- {
265
- const e4 = new Date(t2);
266
- return !isNaN(e4.getTime());
267
- }
268
- });
260
+ if (!(e2 == null ? void 0 : e2.type)) return;
261
+ const t2 = C[e2.type];
262
+ t2 && (e2.validator = t2.validator);
269
263
  }
264
+ const C = { boolean: { validator: function(e2, t2, s2) {
265
+ return true === M(e2, t2) && ("number" == typeof t2 && (1 === t2 || 0 === t2) || "boolean" == typeof t2 && (true === t2 || false === t2));
266
+ } }, date: { validator: function(e2, t2, s2) {
267
+ if (true !== M(e2, t2)) return false;
268
+ const n2 = new Date(t2);
269
+ return !isNaN(n2.getTime());
270
+ } }, number: { validator: function(e2, t2, s2) {
271
+ return true === M(e2, t2) && (("string" != typeof t2 || "" !== t2.trim()) && ("number" == typeof t2 || !isNaN(Number(t2))));
272
+ } } }, M = (e2, t2) => null != t2 && "" !== t2 || !e2.required;
270
273
  export {
271
274
  P as disabledAllFields,
272
275
  k as dynamicControlTableEdit,
@@ -1,7 +1,7 @@
1
1
  import e from "agilebuilder-ui/src/utils/request";
2
2
  import { getAdditionalParamMap as t } from "./events/standard-event.js";
3
3
  import { PageDimensions as s } from "./interfaces/page-design-types.js";
4
- import { getFormPropName as i, getVariableValue as o, setVariableValue as n, formatVariableValue as r } from "./page-helper-util.js";
4
+ import { getFormPropName as i, getVariableValue as n, setVariableValue as o, formatVariableValue as r } from "./page-helper-util.js";
5
5
  import { getSessionCache as l } from "agilebuilder-ui/src/utils/auth";
6
6
  import { functions as a } from "./api/page-expose-util.js";
7
7
  import { isWorkflowPage as p, deepCopy as u } from "./common-util.js";
@@ -40,7 +40,6 @@ function g(e2) {
40
40
  e3.duplicateFieldList && e3.duplicateFieldList.length > 0 && (e3.duplicateFieldList = e3.duplicateFieldList.map((e4) => "string" == typeof e4 ? { propDbName: e4 } : e4));
41
41
  }), e2.props.judgeHeavyList) : null;
42
42
  } catch (e3) {
43
- console.error("getJudgeHeavyList error:", e3);
44
43
  }
45
44
  }
46
45
  function b(e2) {
@@ -62,7 +61,7 @@ function y(e2, t2) {
62
61
  }
63
62
  }
64
63
  function h(e2, t2) {
65
- if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query, e2.query)) {
64
+ if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query)) {
66
65
  Object.assign(t2, e2.query);
67
66
  w(e2.query.paramStoreId, t2);
68
67
  }
@@ -79,32 +78,32 @@ function w(e2, t2) {
79
78
  function E(e2, t2) {
80
79
  let s2, i2 = t2;
81
80
  t2 || (s2 = e2.props.base ? e2.props.base : {}, i2 = s2.prop);
82
- let o2 = null;
83
- return t2 && !t2.startsWith("${") ? o2 = ["data", t2] : !e2 || i2 && i2.startsWith("${") ? i2.startsWith("${") ? (i2 = i2.substring(2, i2.length - 1), o2 = i2.split("."), e2 && o2.length < 2 && (o2 = [e2.uuid])) : e2 && (o2 = ["page", e2.uuid]) : o2 = ["page", e2.uuid], o2 || e2 ? o2 : ["temp"];
81
+ let n2 = null;
82
+ return t2 && !t2.startsWith("${") ? n2 = ["data", t2] : !e2 || i2 && i2.startsWith("${") ? i2.startsWith("${") ? (i2 = i2.substring(2, i2.length - 1), n2 = i2.split("."), e2 && n2.length < 2 && (n2 = [e2.uuid])) : e2 && (n2 = ["page", e2.uuid]) : n2 = ["page", e2.uuid], n2 || e2 ? n2 : ["temp"];
84
83
  }
85
84
  function v(e2, t2, s2) {
86
85
  const i2 = E(t2, s2), r2 = e2.entity;
87
86
  if (null == r2.data.ID && null == r2.data.id) {
88
87
  let s3, l2, a2 = false;
89
88
  t2 && (s3 = t2.props.base ? t2.props.base : {}, l2 = t2.name, a2 = s3.multiple);
90
- const p2 = o(r2, i2);
89
+ const p2 = n(r2, i2);
91
90
  if (null == p2) {
92
91
  const t3 = s3 ? s3.defaultValue : null;
93
92
  if (t3) {
94
93
  const s4 = P(e2, t3, l2, a2);
95
- null != s4 && n(r2, i2, s4);
94
+ null != s4 && o(r2, i2, s4);
96
95
  }
97
96
  }
98
97
  }
99
98
  return i2;
100
99
  }
101
100
  function P(e2, t2, s2, i2) {
102
- let o2;
103
- if (t2 && (o2 = r(e2, t2), null != o2 && null != o2 && s2)) {
101
+ let n2;
102
+ if (t2 && (n2 = r(e2, t2), null != n2 && null != n2 && s2)) {
104
103
  let e3 = false;
105
- "checkbox" == s2 ? e3 = true : "select" == s2 && (e3 = i2), e3 && (o2 = (o2 + "").split(","));
104
+ "checkbox" == s2 ? e3 = true : "select" == s2 && (e3 = i2), e3 && (n2 = (n2 + "").split(","));
106
105
  }
107
- return o2;
106
+ return n2;
108
107
  }
109
108
  function M(e2, t2) {
110
109
  var _a, _b;
@@ -112,14 +111,14 @@ function M(e2, t2) {
112
111
  const s2 = [];
113
112
  if (e2.autoPermissions) for (const i2 of e2.autoPermissions) s2.push(t2.code + "." + i2.simpleCode);
114
113
  if (e2.functionCodes) {
115
- const i2 = e2.sourceTypes ? e2.sourceTypes : [], o2 = e2.functionCodes;
116
- for (let e3 = 0; e3 < o2.length; e3++) {
117
- const n2 = o2[e3], r2 = e3 < i2.length ? i2[e3] : "";
114
+ const i2 = e2.sourceTypes ? e2.sourceTypes : [], n2 = e2.functionCodes;
115
+ for (let e3 = 0; e3 < n2.length; e3++) {
116
+ const o2 = n2[e3], r2 = e3 < i2.length ? i2[e3] : "";
118
117
  let l2 = "";
119
- if ("service" == r2) l2 = n2;
120
- else if ("standard" === r2) l2 = t2.code + "." + n2;
118
+ if ("service" == r2) l2 = o2;
119
+ else if ("standard" === r2) l2 = t2.code + "." + o2;
121
120
  else {
122
- l2 = "custom" === k(n2, t2).type ? n2 : t2.code + "." + n2;
121
+ l2 = "custom" === k(o2, t2).type ? o2 : t2.code + "." + o2;
123
122
  }
124
123
  s2.includes(l2) || s2.push(l2);
125
124
  }
@@ -133,26 +132,26 @@ function k(e2, t2) {
133
132
  }
134
133
  return null;
135
134
  }
136
- function j(s2, i2, o2) {
137
- const n2 = s2.tableRuntimes, r2 = t(i2);
135
+ function j(s2, i2, n2) {
136
+ const o2 = s2.tableRuntimes, r2 = t(i2);
138
137
  let l2;
139
138
  const a2 = i2.code;
140
- return r2 && Object.keys(r2) > 0 && (l2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: n2, additionalParamMapJson: l2, pageCode: a2, publishVersion: o2, pageType: s2.pageType });
139
+ return r2 && Object.keys(r2) > 0 && (l2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o2, additionalParamMapJson: l2, pageCode: a2, publishVersion: n2, pageType: s2.pageType });
141
140
  }
142
141
  const C = ["button-detail", "print-label"];
143
142
  function I(e2, t2, s2) {
144
143
  var _a, _b;
145
- const o2 = t2.props && t2.props.base ? t2.props.base.prop : null, n2 = p(e2);
144
+ const n2 = t2.props && t2.props.base ? t2.props.base.prop : null, o2 = p(e2);
146
145
  let r2 = false;
147
- if (n2 && C.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
146
+ if (o2 && C.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
148
147
  const s3 = e2.fieldPermissionMap.get("all_fields");
149
148
  false === (s3 == null ? void 0 : s3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", r2 = true);
150
149
  }
151
- if (o2) {
152
- const l2 = i(o2);
150
+ if (n2) {
151
+ const l2 = i(n2);
153
152
  if (e2.rules || (e2.rules = {}), t2.props.rules && t2.props.rules.length > 0 && (e2.rules[l2] || (e2.rules[l2] = []), t2.props.rules.forEach((e3) => {
154
153
  d(e3), !s2 && e3 && e3.required && (e3.required = false);
155
- }), e2.rules[l2] = t2.props.rules), n2 && !r2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
154
+ }), e2.rules[l2] = t2.props.rules), o2 && !r2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
156
155
  const i2 = e2.fieldPermissionMap.get(l2);
157
156
  if (!s2 && e2.workflowRules && (e2.workflowRules[l2] || e2.workflowRules.rules && e2.workflowRules.rules[l2])) {
158
157
  let t3 = e2.workflowRules[l2];
@@ -1,18 +1,18 @@
1
1
  import { ref as e } from "vue";
2
- import { defineStore as a } from "pinia";
3
- import o from "./eventBus.js";
4
- const t = a("pageContextUtil", () => {
5
- const a2 = e({ systemCode: "", systemVersion: -1 }), t2 = e(false), n = e(false), u = e(false), l = e(0), v = e(0);
6
- return { pageContext: a2, setPageContext: function(e2) {
7
- a2.value = e2;
2
+ import { defineStore as o } from "pinia";
3
+ import a from "./eventBus.js";
4
+ const t = o("pageContextUtil", () => {
5
+ const o2 = e({ systemCode: "", systemVersion: -1 }), t2 = e(false), n = e(false), u = e(false), l = e(0), d = e(0);
6
+ return { pageContext: o2, setPageContext: function(e2) {
7
+ o2.value = e2;
8
8
  }, countComponentsTotalNmber: function() {
9
9
  l.value++, t2.value = false, u.value = false;
10
10
  }, countComponentsLoadedNumber: function() {
11
- v.value++, u.value = false;
12
- }, componentsTotalNmber: l, componentsLoadedNumber: v, setPageComponentsLoaded: function(e2) {
13
- t2.value = e2, t2.value && n.value && (o.$emit("pageLoaded"), u.value = true);
11
+ d.value++, u.value = false;
12
+ }, componentsTotalNmber: l, componentsLoadedNumber: d, setPageComponentsLoaded: function(e2) {
13
+ t2.value = e2, t2.value && n.value && (a.$emit("pageLoaded"), u.value = true);
14
14
  }, setFormPageDataLoadState: function(e2) {
15
- n.value = e2, t2.value && n.value && (t2.value, n.value, u.value = true);
15
+ n.value = e2, t2.value && n.value && (u.value = true);
16
16
  }, formPageDataLoaded: n, pageComponentsLoaded: t2, restorePageLoadState: function() {
17
17
  t2.value = false, n.value = false, u.value = false;
18
18
  }, pageLoaded: u, getPageLoaded: function() {
@@ -19,7 +19,7 @@ function u(t2, e2) {
19
19
  }
20
20
  function l(t2, e2, i2, s2) {
21
21
  const r2 = !(!e2.props || !e2.props.base) && e2.props.base.showOperation, u2 = e2.btnList;
22
- e2.btnList, r2 && u2 && u2.forEach((e3) => {
22
+ r2 && u2 && u2.forEach((e3) => {
23
23
  const r3 = {}, u3 = Object.assign({}, e3.props.base);
24
24
  if ("custom" === e3.name ? u3.customControl = u3.name : u3.elementType = "el-button", void 0 === e3.isPermission || e3.isPermission + "" == "true") {
25
25
  const i3 = o(e3, t2);
@@ -1,7 +1,7 @@
1
1
  import e from "./column-line-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = o(e, [["__scopeId", "data-v-5b4e8687"]]);
4
+ const r = o(e, [["__scopeId", "data-v-e1cf60d6"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,16 +1,16 @@
1
1
  import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as a, normalizeClass as i, normalizeStyle as u, unref as s, withDirectives as l, createVNode as c, vShow as p } from "vue";
2
2
  import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as m, clearChartSelected as h, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
3
- import { getChartDatasFromPage as x, updateChartDatasources as v, monitorFieldChange as C } from "../../../../utils/page-helper-util.js";
3
+ import { getChartDatasFromPage as v, updateChartDatasources as x, 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
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
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
- import O from "vue-echarts";
10
+ import { GridComponent as V, LegendComponent as P, TitleComponent as _, TooltipComponent as w, ToolboxComponent as O, DataZoomComponent as T } from "echarts/components";
11
+ import E from "vue-echarts";
12
12
  const A = e({ __name: "column-line-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
13
- R([j, b, V, P, _, w, D, T, E]);
13
+ R([j, b, V, P, _, w, D, O, T]);
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);
@@ -25,14 +25,14 @@ const A = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
25
25
  k(H.pageContext, o2, t2);
26
26
  }
27
27
  g(H.configure, Q), o(() => {
28
- const e3 = x(H.pageContext, H.configure);
28
+ const e3 = v(H.pageContext, H.configure);
29
29
  e3 && oe(e3), S.value && (z || Object.keys(B).length > 0) && S.value.chart.on("click", function(e4) {
30
30
  z ? U.value && U.value.drill && U.value.drill(e4, H.configure.cacheDatas) : Z(e4);
31
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(H.pageContext, [L], M.drillParams));
35
+ L && (true !== e3 && (L.autoRefresh = true), x(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,13 +40,13 @@ const A = 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 = []), 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));
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), S.value && S.value.setOption(Q, true));
44
44
  }
45
45
  return C(H.pageContext, re, () => {
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 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));
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(E), { 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,13 +1,9 @@
1
- import { defineComponent as e, watch as l, resolveComponent as o, createBlock as a, createElementBlock as u, openBlock as r, withCtx as n, Fragment as d, renderList as p } from "vue";
2
- const t = e({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup(e2) {
3
- const t2 = e2;
4
- return l(t2.headerInfo, () => {
5
- t2.headerInfo;
6
- }), (l2, t3) => {
7
- const h = o("el-checkbox"), f = o("el-checkbox-group"), m = o("el-radio"), V = o("el-radio-button"), b = o("el-radio-group");
8
- return "checkbox" == e2.headerInfo.groupComponent ? (r(), a(f, { key: 0, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[0] || (t3[0] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(h, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e2.headerInfo.groupComponent ? (r(true), u(d, { key: 1 }, p(e2.headerInfo.options, (l3) => (r(), a(m, { modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[1] || (t3[1] = (l4) => e2.headerInfo.groupValue = l4), value: l3.value, label: l3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (r(), a(b, { key: 2, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[2] || (t3[2] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(V, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
9
- };
10
- } });
1
+ import { defineComponent as e, watch as l, resolveComponent as o, createBlock as a, createElementBlock as u, openBlock as r, withCtx as d, Fragment as n, renderList as p } from "vue";
2
+ const t = e({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup: (e2) => (l(e2.headerInfo, () => {
3
+ }), (l2, t2) => {
4
+ const h = o("el-checkbox"), f = o("el-checkbox-group"), m = o("el-radio"), V = o("el-radio-button"), b = o("el-radio-group");
5
+ return "checkbox" == e2.headerInfo.groupComponent ? (r(), a(f, { key: 0, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[0] || (t2[0] = (l3) => e2.headerInfo.groupValue = l3) }, { default: d(() => [(r(true), u(n, null, p(e2.headerInfo.options, (e3) => (r(), a(h, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e2.headerInfo.groupComponent ? (r(true), u(n, { key: 1 }, p(e2.headerInfo.options, (l3) => (r(), a(m, { modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[1] || (t2[1] = (l4) => e2.headerInfo.groupValue = l4), value: l3.value, label: l3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (r(), a(b, { key: 2, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[2] || (t2[2] = (l3) => e2.headerInfo.groupValue = l3) }, { default: d(() => [(r(true), u(n, null, p(e2.headerInfo.options, (e3) => (r(), a(V, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
6
+ }) });
11
7
  export {
12
8
  t as default
13
9
  };
@@ -3,13 +3,12 @@ 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 O } from "../../../../utils/page-helper-util.js";
7
- const w = { class: "amb-widget-chart-header" }, x = { 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: _ }) {
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) N.headerInfo.drillOptions;
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
- O(N.pageContext.entity, e4.variable, o3);
37
+ w(N.pageContext.entity, e4.variable, o3);
39
38
  }
40
39
  }
41
40
  N.headerInfo.drillOptions || (N.headerInfo.drillOptions = []);
@@ -47,12 +46,11 @@ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-h
47
46
  if (r2 + 1 >= N.headerInfo.options.length) {
48
47
  return F(o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : void 0), void R("drill-end", e3);
49
48
  }
50
- 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"), O2 = r("el-tooltip");
55
- return t(), n("div", w, [a("div", x, [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(O2, { 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)]);
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 {
@@ -1,7 +1,7 @@
1
1
  import e from "./gauge-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(e, [["__scopeId", "data-v-8d392d9f"]]);
4
+ const t = r(e, [["__scopeId", "data-v-807f72b1"]]);
5
5
  export {
6
6
  t as default
7
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 c, withDirectives as i, createVNode as p, vShow as m } from "vue";
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 m } from "vue";
2
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-gauge-util.js";
5
- import y from "../common/common-chart-header.vue.js";
6
- import { use as v } from "echarts/core";
5
+ import v from "../common/common-chart-header.vue.js";
6
+ import { use as y } from "echarts/core";
7
7
  import { CanvasRenderer as R } from "echarts/renderers";
8
8
  import { GaugeChart as b } from "echarts/charts";
9
9
  import { GridComponent as V, TitleComponent as _, TooltipComponent as j, ToolboxComponent as w } from "echarts/components";
10
10
  import I from "vue-echarts";
11
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);
12
+ y([R, b, V, _, j, w]);
13
+ const A = e2, H = r(null), O = r(), z = r(null), D = A.configure.runtime ? A.configure.runtime : {}, F = D.style, P = D.class, S = D.dataConfig, T = D.headerInfo ? D.headerInfo : {}, q = D.chartOption, B = A.configure.props ? A.configure.props : {}, E = f(B.customTheme);
14
14
  h(A.configure, q), t(() => {
15
15
  const e3 = g(A.pageContext, A.configure);
16
16
  e3 && L(e3);
@@ -24,11 +24,11 @@ const k = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }
24
24
  });
25
25
  const K = T.monitorFields;
26
26
  function L(e3) {
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));
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), O.value && O.value.setOption(q, true));
28
28
  }
29
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));
30
+ return l(O.value);
31
+ } }), (e3, r2) => (n(), a("div", { style: u(i(F)), class: s([i(P), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: H }, [c(p(v, { ref_key: "headerRef", ref: z, headerInfo: i(T), configure: e3.configure, pageContext: e3.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, i(T).showHeader || e3.pageContext.showHomepageSearch]]), p(i(I), { ref_key: "chartRef", ref: O, class: "amb-chart-content", theme: i(E), option: i(q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
34
  k as default
@@ -1,7 +1,7 @@
1
1
  import e from "./pie-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(e, [["__scopeId", "data-v-961b3d1c"]]);
4
+ const t = r(e, [["__scopeId", "data-v-17d626a7"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,4 +1,4 @@
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";
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 i, unref as l, 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";
@@ -11,18 +11,18 @@ import { GridComponent as V, LegendComponent as _, TitleComponent as w, TooltipC
11
11
  import E from "vue-echarts";
12
12
  const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
13
13
  b([y, D, V, _, 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);
14
+ const H = e2, O = r(null), S = r(), T = r(null), U = H.configure.props ? H.configure.props.enableDrill : null, z = H.configure.props ? H.configure.props.drillEndTrigger : null, F = 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" == F ? U.value && U.value.closeDrill && U.value.closeDrill(0) : "clickEvent" == F && W();
16
+ "clearDrill" == z ? T.value && T.value.closeDrill && T.value.closeDrill(0) : "clickEvent" == z && W();
17
17
  }
18
18
  function W() {
19
- O && O.jumpPageUrl && x(H.pageContext, H.configure, void 0);
19
+ F && F.jumpPageUrl && x(H.pageContext, H.configure, void 0);
20
20
  }
21
21
  g(H.configure, L), o(() => {
22
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);
23
+ e3 && $(e3), S.value && (U || F && F.jumpPageUrl) && S.value.chart.on("click", function(e4) {
24
+ U ? T.value && T.value.drill && T.value.drill(e4, H.configure.cacheDatas) : W();
25
+ }), !U && H.configure.clickSet && S.value && h(H.pageContext, H.configure, S.value.chart);
26
26
  });
27
27
  let X = K.groupValue;
28
28
  function Y(e3) {
@@ -33,13 +33,13 @@ const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} },
33
33
  });
34
34
  const Z = K.monitorFields;
35
35
  function $(e3) {
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));
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 && U || m(H.pageContext, H.configure, S.value.chart), J.autoRefresh = false, v(H.pageContext, H.configure, L, e3), S.value && S.value.setOption(L, true));
37
37
  }
38
38
  return j(H.pageContext, Z, () => {
39
39
  Y(true);
40
40
  }), A2({ updateChartDatas: $, exportChart: function() {
41
- return d(T.value);
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));
41
+ return d(S.value);
42
+ } }), (e3, r2) => (n(), a("div", { style: i(l(B)), class: u([l(G), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(s(k, { ref_key: "headerRef", ref: T, headerInfo: l(K), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, l(K).showHeader || e3.pageContext.showHomepageSearch]]), s(l(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
43
43
  } });
44
44
  export {
45
45
  A as default
@@ -1,7 +1,7 @@
1
1
  import r from "./radar-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = e(r, [["__scopeId", "data-v-f50eeed9"]]);
4
+ const t = e(r, [["__scopeId", "data-v-a4e2d500"]]);
5
5
  export {
6
6
  t as default
7
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 c, withDirectives as i, createVNode as p, vShow as m } from "vue";
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 m } from "vue";
2
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
- import y from "../common/common-chart-header.vue.js";
6
- import { use as v } from "echarts/core";
5
+ import v from "../common/common-chart-header.vue.js";
6
+ import { use as y } from "echarts/core";
7
7
  import { CanvasRenderer as R } from "echarts/renderers";
8
8
  import { RadarChart as b } from "echarts/charts";
9
9
  import { GridComponent as V, TitleComponent as _, TooltipComponent as j, ToolboxComponent as w, LegendComponent as I } from "echarts/components";
10
10
  import k from "vue-echarts";
11
11
  const A = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
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);
12
+ y([R, b, V, _, j, w, I]);
13
+ const H = e2, O = r(null), z = r(), D = r(null), F = H.configure.runtime ? H.configure.runtime : {}, P = F.style, S = F.class, T = F.dataConfig, q = F.headerInfo ? F.headerInfo : {}, B = F.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);
@@ -24,11 +24,11 @@ const A = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }
24
24
  });
25
25
  const L = q.monitorFields;
26
26
  function M(e3) {
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));
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), z.value && z.value.setOption(B, true));
28
28
  }
29
29
  return x(H.pageContext, L, K), A2({ updateChartDatas: M, exportChart: function() {
30
- return l(D.value);
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));
30
+ return l(z.value);
31
+ } }), (e3, r2) => (n(), a("div", { style: u(i(P)), class: s([i(S), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(p(v, { ref_key: "headerRef", ref: D, headerInfo: i(q), configure: e3.configure, pageContext: e3.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, i(q).showHeader || e3.pageContext.showHomepageSearch]]), p(i(k), { ref_key: "chartRef", ref: z, class: "amb-chart-content", theme: i(G), option: i(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
32
32
  } });
33
33
  export {
34
34
  A as default
@@ -1,7 +1,7 @@
1
1
  import t from "./scatter-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(t, [["__scopeId", "data-v-e08919a0"]]);
4
+ const r = e(t, [["__scopeId", "data-v-a924cb6f"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -2,33 +2,33 @@ import { defineComponent as e, ref as r, onMounted as t, watch as o, createEleme
2
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
- import y from "../common/common-chart-header.vue.js";
6
- import { use as v } from "echarts/core";
5
+ import v from "../common/common-chart-header.vue.js";
6
+ import { use as y } from "echarts/core";
7
7
  import { CanvasRenderer as R } from "echarts/renderers";
8
8
  import { ScatterChart as b } from "echarts/charts";
9
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, 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
- h(z.configure, E), t(() => {
15
- const e3 = g(z.pageContext, z.configure);
12
+ y([R, b, V, _, j, w, I, k]);
13
+ const O = e2, z = r(null), D = r(), F = r(null), P = O.configure.runtime ? O.configure.runtime : {}, S = P.style, T = P.class, q = P.dataConfig, B = P.headerInfo ? P.headerInfo : {}, E = P.chartOption, G = O.configure.props ? O.configure.props : {}, J = f(G.customTheme);
14
+ h(O.configure, E), t(() => {
15
+ const e3 = g(O.pageContext, O.configure);
16
16
  e3 && N(e3);
17
17
  });
18
18
  let K = B.groupValue;
19
19
  function L() {
20
- q && d(z.pageContext, [q], B.drillParams);
20
+ q && d(O.pageContext, [q], B.drillParams);
21
21
  }
22
22
  o(B, () => {
23
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 = []), 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));
27
+ e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(O.pageContext, O.configure, E, e3), D.value && D.value.setOption(E, true));
28
28
  }
29
- return x(z.pageContext, M, L), H2({ updateChartDatas: N, exportChart: function() {
30
- return l(F.value);
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));
29
+ return x(O.pageContext, M, L), H2({ updateChartDatas: N, exportChart: function() {
30
+ return l(D.value);
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: z }, [i(p(v, { ref_key: "headerRef", ref: F, 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: D, 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
@@ -117,4 +117,5 @@ export declare function getNewColumnConfig(prop: string, name: string, displayOr
117
117
  };
118
118
  export declare function computeFormula(itemConfs: any, datas: any, entity: any): void;
119
119
  export declare function formatColContent(row: any, format: any, column: any, pageContext: any, configure: any): any;
120
+ export declare function mergeRowByProperty(row: any, column: any, rowIndex: number, property: string, data: any): number[];
120
121
  export {};