super-page-runtime 2.2.21 → 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.
@@ -76,9 +76,7 @@ const C = { showElement: function(e2, t2, n2) {
76
76
  const e3 = o2.getConfigure();
77
77
  e3 && e3.uuid && e3.name && "table" === e3.name && (i2 = e3.uuid);
78
78
  }
79
- i2 && setTimeout(() => {
80
- s.$emit("_refreshChildData_" + i2, n2);
81
- }, 10);
79
+ i2 && s.$emit("_refreshChildData_" + i2, n2);
82
80
  }, getServerConfigValue: (e2) => window.$vueApp.config.globalProperties[e2], getBackendUrl: (e2) => y(e2.backendUrl, false), getPlateBackendUrl: () => window.$vueApp.config.globalProperties.baseAPI, getEntity: (e2) => e2.entity.data, getEntityValue: (e2, t2) => e2.entity.data ? e2.entity.data[t2] : null, getPageData: (e2) => e2.entity.page, getPageDataValue: (e2, t2) => e2.entity.page ? e2.entity.page[t2] : null, getAdditionalParams: (e2) => u(e2), getAdditionalParamValue(e2, t2) {
83
81
  const n2 = u(e2);
84
82
  return n2 ? n2[t2] : null;
@@ -7,29 +7,29 @@ function n(t2, r2) {
7
7
  if (r2) return t2;
8
8
  {
9
9
  const { baseURL: r3, projectModel: n2 } = window.$vueApp.config.globalProperties;
10
- let o2 = r3;
11
- return "developing.model" === n2 || t2 && (o2 = e(t2)), o2;
10
+ let i2 = r3;
11
+ return "developing.model" === n2 || t2 && (i2 = e(t2)), i2;
12
12
  }
13
13
  }
14
- function o(e2, t2, r2, o2) {
15
- let i2 = e2;
14
+ function i(e2, t2, r2, i2) {
15
+ let o2 = e2;
16
16
  if (e2 && r2 && !function(e3) {
17
17
  return 0 === e3.indexOf("http:") || 0 === e3.indexOf("https:");
18
18
  }(e2)) {
19
- i2 = n(r2, o2) + "/" + t2 + e2;
19
+ o2 = n(r2, i2) + "/" + t2 + e2;
20
20
  }
21
- return i2;
21
+ return o2;
22
22
  }
23
- function i(e2) {
23
+ function o(e2) {
24
24
  if (!e2) return e2;
25
25
  const r2 = t();
26
26
  if (Array.isArray(e2)) {
27
- const t2 = [], n2 = [], o2 = "~-~-";
27
+ const t2 = [], n2 = [], i2 = "~-~-";
28
28
  return e2.forEach((e3) => {
29
- const i2 = e3.templateName;
30
- if (i2.indexOf(o2) > 0) {
31
- const u2 = i2.substring(0, i2.indexOf(o2)), s2 = i2.substring(i2.indexOf(o2) + o2.length, i2.lastIndexOf(o2)), f2 = i2.substring(i2.lastIndexOf(o2) + o2.length);
32
- r2 === s2 && n2.indexOf(u2) < 0 && (t2.push({ templateUuid: e3.templateUuid, templateName: f2 }), n2.push(u2));
29
+ const o2 = e3.templateName;
30
+ if (o2.indexOf(i2) > 0) {
31
+ const u2 = o2.substring(0, o2.indexOf(i2)), s2 = o2.substring(o2.indexOf(i2) + i2.length, o2.lastIndexOf(i2)), l2 = o2.substring(o2.lastIndexOf(i2) + i2.length);
32
+ r2 === s2 && n2.indexOf(u2) < 0 && (t2.push({ templateUuid: e3.templateUuid, templateName: l2 }), n2.push(u2));
33
33
  } else t2.push(e3);
34
34
  }), t2;
35
35
  }
@@ -40,17 +40,17 @@ function u(e2) {
40
40
  function s(e2, t2, r2) {
41
41
  return "V" + t2 + "__" + e2 + "__" + r2;
42
42
  }
43
- function f(e2) {
43
+ function l(e2) {
44
44
  if ("object" != typeof e2 || null == e2) return e2;
45
45
  const t2 = Array.isArray(e2) ? [] : {};
46
- for (const r2 in e2) e2.hasOwnProperty(r2) && (t2[r2] = f(e2[r2]));
46
+ for (const r2 in e2) e2.hasOwnProperty(r2) && (t2[r2] = l(e2[r2]));
47
47
  return t2;
48
48
  }
49
- function l(e2) {
49
+ function a(e2) {
50
50
  let t2;
51
51
  return e2.entity && e2.entity.data && (t2 = e2.entity.data.WORKFLOW_ID, t2 || (t2 = e2.entity.data.workflow_id), t2 || (t2 = e2.entity.data.workflowId)), t2;
52
52
  }
53
- function a(e2) {
53
+ function f(e2) {
54
54
  var _a, _b, _c, _d;
55
55
  let t2;
56
56
  if (e2 && ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop)) {
@@ -78,24 +78,24 @@ function c(e2) {
78
78
  function d(e2, t2) {
79
79
  if (e2 && t2) {
80
80
  let t3 = e2.jumpPageMobileOpenMode;
81
- t3 || (e2.jumpPageOpenMode ? (t3 = e2.jumpPageOpenMode, "newTab" === t3 && (t3 = "refresh")) : t3 = "refresh"), "refresh" === t3 && (e2.dialogType = "drawer", e2.jumpPageWidth = "100%", e2.isRefreshWhenClosePopup = true), e2.jumpMode = t3, e2.jumpPageMobileOpenMode = t3;
81
+ t3 || (e2.jumpPageOpenMode ? (t3 = e2.jumpPageOpenMode, "newTab" === t3 && (t3 = "refresh")) : t3 = "refresh"), "refresh" === t3 && (e2.dialogType = "drawer", e2.jumpPageWidth = "100%", e2.isRefreshWhenClosePopup = true), e2.jumpMode = t3, e2.jumpPageMobileOpenMode = t3, e2.jumpPageTitle || (e2.jumpPageTitle = "QMS质量管理系统");
82
82
  }
83
83
  }
84
84
  function g(e2, t2) {
85
85
  return null === e2[t2] || void 0 === e2[t2] || "" === e2[t2];
86
86
  }
87
87
  export {
88
- f as deepCopy,
88
+ l as deepCopy,
89
89
  n as getBaseUrl,
90
90
  s as getListCode,
91
- a as getPropClassName,
92
- o as getRealRestApiPath,
93
- l as getWorkflowId,
91
+ f as getPropClassName,
92
+ i as getRealRestApiPath,
93
+ a as getWorkflowId,
94
94
  r as isArrayFn,
95
95
  p as isNumber,
96
96
  g as isVariableInvalidValue,
97
97
  c as isWorkflowPage,
98
- i as packageTemplateFiles,
98
+ o as packageTemplateFiles,
99
99
  d as refreshMobileDialogType,
100
100
  u as upperFirstCase
101
101
  };
@@ -3,54 +3,49 @@ import "agilebuilder-ui/src/utils/util";
3
3
  import "agilebuilder-ui/src/utils/request";
4
4
  import t from "./eventBus.js";
5
5
  import { getPermissionCodes as e } from "./page-init-util.js";
6
- import { getEventFuncByType as i, getCustomFunc as o } from "./events/event-util.js";
7
- import { $t as s } from "./i18n-util.js";
8
- import { ExpressionEvaluator as n } from "../views/assemblys/chart/table/chart-table-util.js";
9
- function r(e2) {
6
+ import { getCustomFunc as i } from "./events/event-util.js";
7
+ import { $t as o } from "./i18n-util.js";
8
+ import { ExpressionEvaluator as s } from "../views/assemblys/chart/table/chart-table-util.js";
9
+ function n(e2) {
10
10
  const i2 = e2.pageContext && e2.pageContext.code;
11
11
  t.$emit(i2 + "_open-dialog", e2);
12
12
  }
13
- function u(t2, e2) {
13
+ function r(t2, e2) {
14
14
  const i2 = t2.tableName;
15
15
  if (!e2 && i2) return i2;
16
16
  let o2;
17
17
  return t2.tableRuntimes && e2 && t2.tableRuntimes[e2] && (o2 = JSON.parse(t2.tableRuntimes[e2].configure)), o2 && o2.props && o2.props.dataOrigin ? o2.props.dataOrigin.tableName : null;
18
18
  }
19
- function l(t2, o2, n2, r2) {
20
- const u2 = !(!o2.props || !o2.props.base) && o2.props.base.showOperation, l2 = o2.btnList;
21
- u2 && l2 && l2.forEach((o3) => {
22
- const u3 = {}, l3 = Object.assign({}, o3.props.base);
23
- if ("custom" === o3.name ? l3.customControl = l3.name : l3.elementType = "el-button", void 0 === o3.isPermission || o3.isPermission + "" == "true") {
24
- const i2 = e(o3, t2);
25
- i2 && (l3.permission = i2);
19
+ function u(t2, i2, s2, n2) {
20
+ const r2 = !(!i2.props || !i2.props.base) && i2.props.base.showOperation, u2 = i2.btnList;
21
+ r2 && u2 && u2.forEach((i3) => {
22
+ const r3 = {}, u3 = Object.assign({}, i3.props.base);
23
+ if ("custom" === i3.name ? u3.customControl = u3.name : u3.elementType = "el-button", void 0 === i3.isPermission || i3.isPermission + "" == "true") {
24
+ const o2 = e(i3, t2);
25
+ o2 && (u3.permission = o2);
26
26
  }
27
- if (l3.label = s(l3.title), l3.sourceButton = { uuid: o3.uuid }, u3.props = l3, void 0 !== r2) u3.onClick = r2(o3);
28
- else {
29
- const e2 = i(t2, o3.events, "click");
30
- u3.onClick = e2;
31
- }
32
- n2.push(u3);
27
+ u3.label = o(u3.title), u3.sourceButton = { uuid: i3.uuid }, r3.props = u3, void 0 !== n2 && (r3.onClick = n2(i3)), s2.push(r3);
33
28
  });
34
29
  }
35
- function p(t2, e2, i2, s2) {
30
+ function l(t2, e2, o2, n2) {
36
31
  let r2;
37
- const u2 = i2 == null ? void 0 : i2.some((i3) => {
32
+ const u2 = o2 == null ? void 0 : o2.some((o3) => {
38
33
  let u3 = false;
39
- if (i3.scopeFunc) {
40
- const n2 = o(t2, i3.scopeFunc);
41
- if (n2) {
42
- n2.apply(n2, [{ pageContext: t2, configureObj: e2, row: s2 }]) && (u3 = true);
34
+ if (o3.scopeFunc) {
35
+ const s2 = i(t2, o3.scopeFunc);
36
+ if (s2) {
37
+ s2.apply(s2, [{ pageContext: t2, configureObj: e2, row: n2 }]) && (u3 = true);
43
38
  }
44
- } else if (i3.showCondition && i3.showCondition.length > 0) {
45
- n.evaluate(t2, i3.showCondition, s2) && (u3 = true);
39
+ } else if (o3.showCondition && o3.showCondition.length > 0) {
40
+ s.evaluate(t2, o3.showCondition, n2) && (u3 = true);
46
41
  } else u3 = true;
47
- if (u3) return r2 = i3, true;
42
+ if (u3) return r2 = o3, true;
48
43
  });
49
44
  return { show: u2, toPage: r2 };
50
45
  }
51
46
  export {
52
- p as expressJump,
53
- l as getOperationButtons,
54
- u as getTableNameByTableUuid,
55
- r as popupToPage
47
+ l as expressJump,
48
+ u as getOperationButtons,
49
+ r as getTableNameByTableUuid,
50
+ n as popupToPage
56
51
  };
@@ -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-3e28ae4f"]]);
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 o, resolveComponent as i, createBlock as l, openBlock as a, withCtx as r, createElementVNode as n, createVNode as s, createTextVNode as u, createCommentVNode as p, createElementBlock as c, Fragment as g, renderList 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 h, ElMessage as y } from "element-plus";
5
- import C 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 = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, b = { 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 x = e2, N = t(false), _ = t({}), J = t(0);
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;
20
21
  o(() => {
21
- setTimeout(() => {
22
- _.value = JSON.parse(JSON.stringify(x.pageContext.entity));
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([]), I = () => {
26
- N.value = false;
27
- }, k = () => {
28
- const e3 = h.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
29
- f(x.pageContext, x.pageContext.initChartServiceConfigs, null, false).then(() => {
30
- N.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
- N.value = false, e3.close();
35
+ _.value = false, e3.close();
33
36
  });
34
37
  };
35
- function w() {
36
- x.pageContext.entity = JSON.parse(JSON.stringify(_.value)), J.value++;
37
- }
38
38
  function H() {
39
+ N.pageContext.entity = JSON.parse(JSON.stringify(J.value)), j.value++;
40
+ }
41
+ function A() {
39
42
  const e3 = {};
40
- x.pageContext.variables.forEach((t3) => {
43
+ N.pageContext.variables.forEach((t3) => {
41
44
  const o3 = "${page." + t3.name + "}";
42
- e3[o3] = v(x.pageContext.entity, o3, null);
45
+ e3[o3] = h(N.pageContext.entity, o3, null);
43
46
  });
44
47
  let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), o2 = {};
45
- t2 && (o2 = JSON.parse(t2)), o2[x.configure.homeChartSettingUserId] = e3;
48
+ t2 && (o2 = JSON.parse(t2)), o2[N.configure.homeChartSettingUserId] = e3;
46
49
  const i2 = JSON.stringify(e3);
47
- window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(o2)), _.value = JSON.parse(JSON.stringify(x.pageContext.entity)), C.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: x.configure.homeChartSettingUserId, searchConditionsJson: i2 }).then((e4) => {
48
- y.success("保存成功"), k();
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
- N.value = true, j.value = x.configure.pushHomepage.searchConditions;
54
+ return x2({ openSearch: () => {
55
+ _.value = true, k.value = N.configure.pushHomepage.searchConditions;
53
56
  } }), (t2, o2) => {
54
- const f2 = i("el-empty"), v2 = i("el-form"), h2 = i("el-button"), y2 = i("el-dialog");
55
- return a(), l(y2, { modelValue: N.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => N.value = e3), title: "筛选", close: I, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: r(() => [n("div", S, [j.value && 0 !== j.value.length ? p("", true) : (a(), l(f2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (a(), l(v2, { key: J.value }, { default: r(() => [(a(true), c(g, null, m(j.value, (t3) => (a(), l(d, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: r(() => [n("div", b, [s(h2, { type: "primary", onClick: k }, { default: r(() => o2[1] || (o2[1] = [u(" 确定 ")])), _: 1 }), s(h2, { onClick: w }, { default: r(() => o2[2] || (o2[2] = [u("重置")])), _: 1 }), s(h2, { type: "primary", onClick: H }, { default: r(() => o2[3] || (o2[3] = [u(" 保存为默认条件 ")])), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
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,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() {