super-page-runtime 2.2.19 → 2.2.22

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 (26) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +1 -3
  2. package/dist/es/components/runtime/utils/common-util.js +22 -22
  3. package/dist/es/components/runtime/utils/events/event-util.d.ts +1 -0
  4. package/dist/es/components/runtime/utils/events/event-util.js +124 -116
  5. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -1
  6. package/dist/es/components/runtime/utils/events/standard-event.js +2 -3
  7. package/dist/es/components/runtime/utils/table-utils.js +26 -31
  8. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +6 -6
  9. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
  10. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +38 -35
  11. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +13 -13
  12. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +4 -4
  13. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +8 -8
  14. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +4 -4
  15. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +8 -8
  16. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +10 -10
  17. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +186 -174
  18. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +42 -42
  19. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +46 -43
  20. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +22 -21
  21. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +56 -53
  22. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +80 -77
  23. package/dist/es/components/runtime/views/home-chart.vue.js +23 -21
  24. package/dist/es/components/runtime/views/super-page.vue.js +95 -94
  25. package/dist/es/style.css +3 -1
  26. package/package.json +2 -2
@@ -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 v, updateChartDatasources as x, monitorFieldChange as C } from "../../../../utils/page-helper-util.js";
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
6
  import R from "../common/common-chart-header.vue.js";
7
7
  import { use as j } from "echarts/core";
8
8
  import { CanvasRenderer as y } from "echarts/renderers";
9
9
  import { LineChart as D, BarChart as V } from "echarts/charts";
10
- import { GridComponent as P, LegendComponent as _, TitleComponent as b, TooltipComponent as T, ToolboxComponent as w, DataZoomComponent as E } from "echarts/components";
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
12
  const H = e({ __name: "column-line-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
13
- j([y, D, P, _, b, T, V, w, E]);
13
+ j([y, D, P, b, _, w, V, T, E]);
14
14
  const N = e2, S = r(null), U = r(), z = r(null), F = N.configure.props ? N.configure.props.enableDrill : null, q = N.configure.props ? N.configure.props.drillEndTrigger : null, A = N.configure.props ? N.configure.props.linkPage : null, B = {};
15
15
  if (N.configure.items) for (const e3 of N.configure.items) e3.props && e3.props.linkPage && e3.props.linkPage.jumpPageUrl ? B[e3.uuid] = e3 : A && A.jumpPageUrl && (B[e3.uuid] = N.configure);
16
16
  const G = N.configure.runtime ? N.configure.runtime : {}, J = G.style, K = G.class, L = G.dataConfig, M = G.headerInfo ? G.headerInfo : {}, Q = G.chartOption, W = N.configure.props ? N.configure.props : {}, X = f(W.customTheme);
@@ -25,14 +25,14 @@ const H = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
25
25
  k(N.pageContext, o2, t2);
26
26
  }
27
27
  g(N.configure, Q), o(() => {
28
- const e3 = v(N.pageContext, N.configure);
28
+ const e3 = x(N.pageContext, N.configure);
29
29
  e3 && oe(e3), U.value && (F || Object.keys(B).length > 0) && U.value.chart.on("click", function(e4) {
30
30
  F ? z.value && z.value.drill && z.value.drill(e4, N.configure.cacheDatas) : Z(e4);
31
31
  }), !F && N.configure.clickSet && U.value && m(N.pageContext, N.configure, U.value.chart);
32
32
  });
33
33
  let $ = M.groupValue;
34
34
  function ee(e3) {
35
- L && (true !== e3 && (L.autoRefresh = true), x(N.pageContext, [L], M.drillParams));
35
+ L && (true !== e3 && (L.autoRefresh = true), v(N.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));
@@ -46,7 +46,7 @@ const H = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
46
46
  ee(true);
47
47
  }), H2({ updateChartDatas: oe, exportChart: function() {
48
48
  return d(U.value);
49
- }, chartOption: Q }), (e3, r2) => (a(), n("div", { style: u(s(J)), class: i([s(K), "amb-widget-chart"]), ref_key: "thisRef", ref: S }, [l(c(R, { ref_key: "headerRef", ref: z, 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: U, 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"]), ref_key: "thisRef", ref: S }, [l(c(R, { ref_key: "headerRef", ref: z, 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: U, theme: s(X), option: s(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
50
50
  } });
51
51
  export {
52
52
  H as default
@@ -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-ec2b8a28"]]);
4
+ const m = o(e, [["__scopeId", "data-v-16a29b68"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as e, ref as t, onMounted as i, resolveComponent as o, createBlock as l, openBlock as r, withCtx as a, createCommentVNode as n, createElementBlock as s, Fragment as u, renderList as p, createElementVNode as c, createVNode as g, createTextVNode as m } from "vue";
2
- import d from "../../object-render.vue.js";
3
- import { updateChartDatasources as f, getValueFromVariable as v } from "../../../../utils/page-helper-util.js";
4
- import { ElLoading as C, ElMessage as h } from "element-plus";
5
- import y from "agilebuilder-ui/src/utils/request";
1
+ import { defineComponent as e, ref as t, onMounted as o, onUnmounted as i, resolveComponent as l, createBlock as a, openBlock as r, withCtx as n, createElementVNode as u, createVNode as s, createTextVNode as p, createCommentVNode as c, createElementBlock as g, Fragment as m, renderList as d } from "vue";
2
+ import f from "../../object-render.vue.js";
3
+ import { updateChartDatasources as v, getValueFromVariable as h } from "../../../../utils/page-helper-util.js";
4
+ import { ElLoading as y, ElMessage as C } from "element-plus";
5
+ import S from "agilebuilder-ui/src/utils/request";
6
6
  import "agilebuilder-ui/src/utils/common-util";
7
7
  import "agilebuilder-ui/src/utils/util";
8
8
  import "agilebuilder-ui/src/utils/auth";
@@ -14,47 +14,50 @@ import "../../../../utils/page-store.js";
14
14
  import "agilebuilder-ui/src/utils/i18n-util";
15
15
  import "vue-i18n";
16
16
  import "../../../../utils/events/print-label.js";
17
- const S = { class: "dialog-footer" }, O = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
18
- } } }, setup(e2, { expose: O2 }) {
19
- const b = e2, x = t(false), N = t({}), _ = t(0);
20
- i(() => {
21
- setTimeout(() => {
22
- N.value = JSON.parse(JSON.stringify(b.pageContext.entity));
17
+ const b = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, O = { class: "dialog-footer" }, x = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
18
+ } } }, setup(e2, { expose: x2 }) {
19
+ const N = e2, _ = t(false), J = t({}), j = t(0);
20
+ let I;
21
+ o(() => {
22
+ I = setTimeout(() => {
23
+ J.value = JSON.parse(JSON.stringify(N.pageContext.entity));
23
24
  }, 200);
25
+ }), i(() => {
26
+ I && clearTimeout(I);
24
27
  });
25
- const J = t([]), j = () => {
26
- x.value = false;
27
- }, I = () => {
28
- const e3 = C.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
29
- f(b.pageContext, b.pageContext.initChartServiceConfigs, null, false).then(() => {
30
- x.value = false;
28
+ const k = t([]), w = () => {
29
+ _.value = false;
30
+ }, T = () => {
31
+ const e3 = y.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
32
+ v(N.pageContext, N.pageContext.initChartServiceConfigs, null, false).then(() => {
33
+ _.value = false;
31
34
  }).finally(() => {
32
- x.value = false, e3.close();
35
+ _.value = false, e3.close();
33
36
  });
34
37
  };
35
- function k() {
36
- b.pageContext.entity = JSON.parse(JSON.stringify(N.value)), _.value++;
38
+ function H() {
39
+ N.pageContext.entity = JSON.parse(JSON.stringify(J.value)), j.value++;
37
40
  }
38
- function w() {
41
+ function A() {
39
42
  const e3 = {};
40
- b.pageContext.variables.forEach((t3) => {
41
- const i3 = "${page." + t3.name + "}";
42
- e3[i3] = v(b.pageContext.entity, i3, null);
43
+ N.pageContext.variables.forEach((t3) => {
44
+ const o3 = "${page." + t3.name + "}";
45
+ e3[o3] = h(N.pageContext.entity, o3, null);
43
46
  });
44
- let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), i2 = {};
45
- t2 && (i2 = JSON.parse(t2)), i2[b.configure.homeChartSettingUserId] = e3;
46
- const o2 = JSON.stringify(e3);
47
- window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(i2)), N.value = JSON.parse(JSON.stringify(b.pageContext.entity)), y.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: b.configure.homeChartSettingUserId, searchConditionsJson: o2 }).then((e4) => {
48
- h.success("保存成功");
47
+ let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), o2 = {};
48
+ t2 && (o2 = JSON.parse(t2)), o2[N.configure.homeChartSettingUserId] = e3;
49
+ const i2 = JSON.stringify(e3);
50
+ window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(o2)), J.value = JSON.parse(JSON.stringify(N.pageContext.entity)), S.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: N.configure.homeChartSettingUserId, searchConditionsJson: i2 }).then((e4) => {
51
+ C.success("保存成功"), T();
49
52
  });
50
53
  }
51
- return O2({ openSearch: () => {
52
- x.value = true, J.value = b.configure.pushHomepage.searchConditions;
53
- } }), (t2, i2) => {
54
- const f2 = o("el-empty"), v2 = o("el-form"), C2 = o("el-button"), h2 = o("el-dialog");
55
- return r(), l(h2, { modelValue: x.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => x.value = e3), title: "筛选", width: "100%", close: j, top: "0vh", fullscreen: true }, { footer: a(() => [c("div", S, [g(C2, { type: "primary", onClick: I }, { default: a(() => i2[1] || (i2[1] = [m(" 确定 ")])), _: 1 }), g(C2, { onClick: k }, { default: a(() => i2[2] || (i2[2] = [m("重置")])), _: 1 }), g(C2, { type: "primary", onClick: w }, { default: a(() => i2[3] || (i2[3] = [m(" 保存为默认条件 ")])), _: 1 })])]), default: a(() => [J.value && 0 !== J.value.length ? n("", true) : (r(), l(f2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), l(v2, { key: _.value }, { default: a(() => [(r(true), s(u, null, p(J.value, (t3) => (r(), l(d, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))]), _: 1 }, 8, ["modelValue"]);
54
+ return x2({ openSearch: () => {
55
+ _.value = true, k.value = N.configure.pushHomepage.searchConditions;
56
+ } }), (t2, o2) => {
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"]);
56
59
  };
57
60
  } });
58
61
  export {
59
- O as default
62
+ x as default
60
63
  };
@@ -1,4 +1,4 @@
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 p, createVNode as c, vShow as f } from "vue";
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
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";
@@ -6,30 +6,30 @@ 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 { GaugeChart as V } from "echarts/charts";
9
- import { GridComponent as _, TitleComponent as j, TooltipComponent as I, ToolboxComponent as k } from "echarts/components";
10
- import w from "vue-echarts";
11
- const H = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
12
- R([y, V, _, j, I, k]);
13
- const b = e2, z = r(null), D = r(null), F = r(null), O = b.configure.runtime ? b.configure.runtime : {}, P = O.style, S = O.class, T = O.dataConfig, q = O.headerInfo ? O.headerInfo : {}, A = O.chartOption, B = b.configure.props ? b.configure.props : {}, E = m(B.customTheme);
14
- g(b.configure, A), t(() => {
15
- const e3 = l(b.pageContext, b.configure);
9
+ import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I } from "echarts/components";
10
+ import k from "vue-echarts";
11
+ const b = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
12
+ R([y, 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 : {}, 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 && d(b.pageContext, [T], q.drillParams);
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
- e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(b.pageContext, b.configure, A, e3));
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));
28
28
  }
29
- return x(b.pageContext, K, J), H2({ updateChartDatas: L, exportChart: function() {
29
+ return x(H.pageContext, K, J), b2({ updateChartDatas: L, exportChart: function() {
30
30
  return h(D.value);
31
- } }), (e3, r2) => (n(), a("div", { style: s(i(P)), class: u([i(S), "amb-widget-chart"]), ref_key: "thisRef", ref: z }, [p(c(v, { ref_key: "headerRef", ref: F, headerInfo: i(q), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(q).showHeader || e3.pageContext.showHomepageSearch]]), c(i(w), { ref_key: "chartRef", ref: D, theme: i(E), option: i(A), autoresize: "" }, null, 8, ["theme", "option"])], 6));
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));
32
32
  } });
33
33
  export {
34
- H as default
34
+ b as default
35
35
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as u, normalizeClass as a, normalizeStyle as l, unref as i, withDirectives as c, createVNode as p, vShow as s } from "vue";
1
+ import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as a, normalizeClass as u, normalizeStyle as l, unref as i, 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";
@@ -7,10 +7,10 @@ import k from "../common/common-chart-header.vue.js";
7
7
  import { use as D } from "echarts/core";
8
8
  import { CanvasRenderer as V } from "echarts/renderers";
9
9
  import { PieChart as y } from "echarts/charts";
10
- import { GridComponent as _, LegendComponent as I, TitleComponent as P, TooltipComponent as b, ToolboxComponent as w } from "echarts/components";
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
12
  const H = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
13
- D([V, y, _, I, P, b, w]);
13
+ D([V, y, _, b, w, I, P]);
14
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
16
  "clearDrill" == O ? z.value && z.value.closeDrill && z.value.closeDrill(0) : "clickEvent" == O && W();
@@ -39,7 +39,7 @@ const H = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} },
39
39
  Y(true);
40
40
  }), H2({ updateChartDatas: $, exportChart: function() {
41
41
  return d(U.value);
42
- } }), (e3, r2) => (u(), n("div", { style: l(i(B)), class: a([i(G), "amb-widget-chart"]), 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));
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));
43
43
  } });
44
44
  export {
45
45
  H as default
@@ -1,4 +1,4 @@
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 p, createVNode as c, vShow as f } from "vue";
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
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";
@@ -6,10 +6,10 @@ 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 { RadarChart as V } from "echarts/charts";
9
- import { GridComponent as _, TitleComponent as j, TooltipComponent as I, ToolboxComponent as k, LegendComponent as w } from "echarts/components";
10
- import H from "vue-echarts";
11
- const b = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
12
- R([y, V, _, j, I, k, w]);
9
+ import { GridComponent as _, TitleComponent as j, TooltipComponent as w, ToolboxComponent as I, LegendComponent as k } from "echarts/components";
10
+ import b from "vue-echarts";
11
+ const H = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: H2 }) {
12
+ R([y, V, _, j, w, I, k]);
13
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
14
  h(z.configure, B), t(() => {
15
15
  const e3 = g(z.pageContext, z.configure);
@@ -26,10 +26,10 @@ const b = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }
26
26
  function M(e3) {
27
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));
28
28
  }
29
- return x(z.pageContext, L, K), b2({ updateChartDatas: M, exportChart: function() {
29
+ return x(z.pageContext, L, K), H2({ updateChartDatas: M, exportChart: function() {
30
30
  return l(F.value);
31
- } }), (e3, r2) => (n(), a("div", { style: s(i(S)), class: u([i(T), "amb-widget-chart"]), ref_key: "thisRef", ref: D }, [p(c(v, { ref_key: "headerRef", ref: O, headerInfo: i(A), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(A).showHeader || e3.pageContext.showHomepageSearch]]), c(i(H), { ref_key: "chartRef", ref: F, theme: i(G), option: i(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
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));
32
32
  } });
33
33
  export {
34
- b as default
34
+ H as default
35
35
  };
@@ -6,10 +6,10 @@ 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 I, TooltipComponent as k, ToolboxComponent as w, DataZoomComponent as H } from "echarts/components";
10
- import b from "vue-echarts";
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
11
  const z = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
12
- R([y, V, _, j, I, k, w, H]);
12
+ R([y, V, _, j, w, I, k, b]);
13
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
14
  h(D.configure, E), t(() => {
15
15
  const e3 = g(D.pageContext, D.configure);
@@ -28,7 +28,7 @@ const z = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {}
28
28
  }
29
29
  return x(D.pageContext, M, L), z2({ updateChartDatas: N, exportChart: function() {
30
30
  return l(O.value);
31
- } }), (e3, r2) => (n(), a("div", { style: s(i(T)), class: u([i(q), "amb-widget-chart"]), 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(b), { ref_key: "chartRef", ref: O, theme: i(J), option: i(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
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));
32
32
  } });
33
33
  export {
34
34
  z as default
@@ -10,7 +10,7 @@ import { deepCopy as A } 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;
12
12
  const B = e2, M = B.configure.runtime ? B.configure.runtime : {}, Q = M.style, W = M.class, X = M.dataConfig, Y = M.headerInfo ? M.headerInfo : {}, Z = o(null), ee = o(M.props.isEnableGroupHeader), oe = o([]), ne = o([]), re = o([]), te = o({}), ie = o(false), ae = o({}), ue = o({}), pe = o({}), le = [], se = o({}), ce = o({}), ge = o(null), fe = o(0);
13
- let de, me = [];
13
+ let de = [];
14
14
  if (!B.configure.props.modelCustom) {
15
15
  if (ee.value) {
16
16
  const e3 = [];
@@ -29,7 +29,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
29
29
  });
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 = R(B.configure), ie.value && (ue.value = H(B.configure, "table")), B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0 && (pe.value = H(B.configure, "group")));
32
- let he = x(B.pageContext, B.configure);
32
+ let me = 300, he = x(B.pageContext, B.configure);
33
33
  function ve() {
34
34
  const e3 = B.configure.props.dataOrigin.variable.match(/\${(.*?)}/), o2 = e3 ? e3[1].split(".") : [];
35
35
  r(() => o2.reduce((e4, o3) => e4[o3], B.pageContext.entity), (e4) => {
@@ -38,8 +38,8 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
38
38
  }
39
39
  function ye(e3) {
40
40
  e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (!function(e4) {
41
- Re(e4), "service" === B.configure.props.dataOrigin.dataSource && e4.result ? me = e4.result[B.configure.props.dataOrigin.service.serviceDataField] : "variable" === B.configure.props.dataOrigin.dataSource && (ve(), me = O(B.pageContext.entity, B.configure.props.dataOrigin.variable));
42
- me && Ce(me, e4);
41
+ Re(e4), "service" === B.configure.props.dataOrigin.dataSource && e4.result ? de = e4.result[B.configure.props.dataOrigin.service.serviceDataField] : "variable" === B.configure.props.dataOrigin.dataSource && (ve(), de = O(B.pageContext.entity, B.configure.props.dataOrigin.variable));
42
+ de && Ce(de, e4);
43
43
  }(e3), e3.hasRender = true, X && (X.autoRefresh = false));
44
44
  }
45
45
  function Ce(e3, o2) {
@@ -86,7 +86,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
86
86
  }
87
87
  }
88
88
  if (Object.keys(ce.value).length > 0 && e3 && e3.length > 0 && D(ce.value, e3, B.pageContext.entity), ((_a2 = B.configure.pageination) == null ? void 0 : _a2.enable) ? function(e4) {
89
- "frontend" === B.configure.pageination.type ? (fe.value = me.length, ke(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]));
89
+ "frontend" === B.configure.pageination.type ? (fe.value = de.length, ke(1, B.configure.pageination.pageSize)) : "backend" === B.configure.pageination.type && (oe.value = de, B.configure.pageination.totalFrom && (fe.value = e4.result[B.configure.pageination.totalFrom]));
90
90
  }(o2) : oe.value = e3, B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) {
91
91
  const e4 = B.configure.props.highOrder.groupField;
92
92
  oe.value = function(e5, o3) {
@@ -132,7 +132,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
132
132
  const o2 = se.value[e3.column.property] ? se.value[e3.column.property].cellStyle : null;
133
133
  return L(e3, o2, B);
134
134
  }
135
- he && he.maxHeight && (de = he.maxHeight), !de && he && he.fixHeight && (de = he.fixHeight), de && (de = Number(de + "")), n(() => {
135
+ he && he.maxHeight && (me = he.maxHeight), !me && he && he.fixHeight && (me = he.fixHeight), me && (me = Number(me + "")), n(() => {
136
136
  const e3 = b(B.pageContext, B.configure);
137
137
  if (e3) ye(e3);
138
138
  else if ("variable" === B.configure.props.dataOrigin.dataSource) {
@@ -170,7 +170,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
170
170
  "frontend" === B.configure.pageination.type ? ke(e3, o2) : Fe(e3, o2);
171
171
  }
172
172
  function ke(e3, o2) {
173
- me && (oe.value = me.slice((e3 - 1) * o2, e3 * o2));
173
+ de && (oe.value = de.slice((e3 - 1) * o2, e3 * o2));
174
174
  }
175
175
  function Fe(e3, o2) {
176
176
  B.configure.pageination.currentPageSet && S(B.pageContext.entity, B.configure.pageination.currentPageSet, e3), B.configure.pageination.pageSizeSet && S(B.pageContext.entity, B.configure.pageination.pageSizeSet, o2), j(B.pageContext, B.configure.uuid);
@@ -214,7 +214,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
214
214
  }(n2), columns: e3 };
215
215
  } }), (o2, n2) => {
216
216
  const r2 = t("el-table");
217
- return a(), i("div", { style: p(l(Q)), class: u([l(W), "amb-widget-chart"]), ref: "thisRef" }, [s(c(C, { ref_key: "headerRef", ref: Z, headerInfo: l(Y), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, 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": be, "row-style": Oe, "cell-style": we, "show-summary": ie.value, stripe: e2.configure.props.base.stripe, "summary-method": Se, "span-method": je }, { default: m(() => [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(F, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: te.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : f("", true) : (a(), g(k, { 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(F, { 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: Ee, onPageSizeChange: $e }, null, 8, ["configure", "table-data", "total"])) : f("", true)], 6);
217
+ return a(), i("div", { style: p([l(Q), { display: "flex", "flex-direction": "column" }]), 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"]), [[d, l(Y).showHeader || e2.pageContext.showHomepageSearch]]), c(r2, { ref_key: "gridRef", ref: ge, data: oe.value, style: { width: "100%" }, "max-height": l(me), "header-cell-style": be, "row-style": Oe, "cell-style": we, "show-summary": ie.value, stripe: e2.configure.props.base.stripe, "summary-method": Se, "span-method": je }, { default: m(() => [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(F, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: te.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : f("", true) : (a(), g(k, { 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(F, { 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: Ee, onPageSizeChange: $e }, null, 8, ["configure", "table-data", "total"])) : f("", true)], 6);
218
218
  };
219
219
  } });
220
220
  export {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as t, onMounted as n, watch as o, onUnmounted as i, resolveComponent as a, createElementBlock as l, openBlock as r, createVNode as u, unref as s } from "vue";
2
- import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as w, rowDblClick as S, headerClick as y, getEventNameByType as C, getEventFuncByType as x, getHandleEvent as E } from "../../../../utils/events/event-util.js";
2
+ import { setTableEvents as c, canExecuteButton as p, doAfterClickEvent as d, doBeforeClickEvent as f, gridSelectRecord as g, gridSelectAllRecords as m, gridSelectionChange as v, cellClick as h, cellDblClick as b, rowClick as w, rowDblClick as S, headerClick as y, getEventNameByType as C, getEventFuncByType as E, getHandleEvent as x } from "../../../../utils/events/event-util.js";
3
3
  import { getBaseUrl as D, getListCode as k, getRealRestApiPath as O, isWorkflowPage as I, isVariableInvalidValue as T } from "../../../../utils/common-util.js";
4
4
  import { getAdditionalParamMap as R, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.js";
5
5
  import { isPromise as N } from "agilebuilder-ui/src/utils/common-util";
@@ -95,8 +95,8 @@ const H = e({ __name: "main-table-runtime", props: { pageContext: {}, configure:
95
95
  let t2;
96
96
  const n2 = C(e3.events, "click");
97
97
  if (n2) {
98
- if (te.value[n2] = e3, "lineEditSave" === n2 ? t2 = ve : "restoreEdit" === n2 ? t2 = ye : "lineEditUpdate" === n2 ? t2 = Ce : "lineEditDelete" === n2 && (t2 = Ee), !t2) {
99
- t2 = x(q, e3.events, "click");
98
+ if (te.value[n2] = e3, "lineEditSave" === n2 ? t2 = ve : "restoreEdit" === n2 ? t2 = ye : "lineEditUpdate" === n2 ? t2 = Ce : "lineEditDelete" === n2 && (t2 = xe), !t2) {
99
+ t2 = E(q, e3.events, "click");
100
100
  }
101
101
  } else te.value[e3.uuid] = e3, t2 = Te;
102
102
  return t2;
@@ -135,10 +135,10 @@ const H = e({ __name: "main-table-runtime", props: { pageContext: {}, configure:
135
135
  a2.props.base.tableUuid = l2.uuid;
136
136
  const r2 = f(q, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
137
137
  r2 && (N(r2) ? r2.then((l3) => {
138
- l3 && xe(e3, t2, n2, o2, i2, a2);
139
- }) : xe(e3, t2, n2, o2, i2, a2));
138
+ l3 && Ee(e3, t2, n2, o2, i2, a2);
139
+ }) : Ee(e3, t2, n2, o2, i2, a2));
140
140
  }
141
- function xe(e3, t2, n2, o2, i2, a2) {
141
+ function Ee(e3, t2, n2, o2, i2, a2) {
142
142
  q.editData = n2, p({ pageContext: q, configureObj: a2 }).then((a3) => {
143
143
  if (true === a3.canExecute) {
144
144
  ie.value.editRow(i2, le);
@@ -148,7 +148,7 @@ const H = e({ __name: "main-table-runtime", props: { pageContext: {}, configure:
148
148
  q.editData = null;
149
149
  });
150
150
  }
151
- function Ee(e3, t2, n2, o2, i2) {
151
+ function xe(e3, t2, n2, o2, i2) {
152
152
  const a2 = te.value.lineEditDelete, l2 = G;
153
153
  a2.props.base.tableUuid = l2.uuid;
154
154
  const r2 = f(q, a2, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2 });
@@ -210,8 +210,8 @@ const H = e({ __name: "main-table-runtime", props: { pageContext: {}, configure:
210
210
  }
211
211
  }
212
212
  function Te(e3, t2, n2, o2, i2, a2) {
213
- const l2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2, button: a2 }, r2 = te.value[a2.sourceButton.uuid], u2 = G;
214
- r2.props.base.tableUuid = u2.uuid, E(null, q, r2, "click", l2);
213
+ const l2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: i2, button: a2, id: n2.ID ? n2.ID : n2.id }, r2 = te.value[a2.sourceButton.uuid], u2 = G;
214
+ r2.props.base.tableUuid = u2.uuid, x(null, q, r2, "click", l2);
215
215
  }
216
216
  function Re(e3) {
217
217
  "close_open_win" === e3.data && ie.value && ie.value.refresh();
@@ -286,7 +286,7 @@ const H = e({ __name: "main-table-runtime", props: { pageContext: {}, configure:
286
286
  }), o(() => W.pageContext.entity.data, (e3) => {
287
287
  ke(W.pageContext.entity.data);
288
288
  }), i(() => {
289
- B.$off(re + "-close-component-page-dialog"), B.$off(re + "_close-dialog-get-entity"), B.$off(le + "-pickFileDone"), B.$off(le + "-scanDone");
289
+ window.removeEventListener("message", Re), B.$off(re + "-close-component-page-dialog"), B.$off(re + "_close-dialog-get-entity"), B.$off(le + "-pickFileDone"), B.$off(le + "-scanDone");
290
290
  }), H2({ refresh: function(e3, t2, n2, o2) {
291
291
  return ie.value.refresh(e3, t2, n2, o2);
292
292
  }, createRow: function() {