super-page-runtime 2.3.43 → 2.3.44-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 (72) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +136 -136
  2. package/dist/es/components/runtime/utils/events/event-util.js +122 -122
  3. package/dist/es/components/runtime/utils/events/print-label.js +33 -34
  4. package/dist/es/components/runtime/utils/events/standard-event.js +201 -200
  5. package/dist/es/components/runtime/utils/events/validator-util.js +81 -84
  6. package/dist/es/components/runtime/utils/page-init-util.js +41 -43
  7. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  9. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  10. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  11. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  13. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  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/common/common-homepage-search.vue2.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +8 -8
  18. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +98 -94
  24. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +75 -74
  25. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  26. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  27. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  28. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  29. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  30. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  31. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  32. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  33. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  34. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
  35. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +9 -11
  37. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
  38. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +167 -165
  39. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  40. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  41. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  43. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  44. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +22 -22
  45. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  46. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  47. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +65 -51
  48. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +15 -16
  49. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  50. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +47 -48
  51. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +4 -6
  52. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +7 -9
  53. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  54. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
  55. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -9
  56. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  57. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  58. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  59. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  60. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  61. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +9 -11
  62. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
  63. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +3 -3
  64. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  65. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  66. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  67. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  68. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  69. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  70. package/dist/es/components/runtime/views/super-page.vue2.js +132 -141
  71. package/dist/es/style.css +76 -76
  72. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as t, ref as r, onMounted as a, watch as o, resolveComponent as l, createBlock as n, openBlock as u, normalizeStyle as i, normalizeClass as s, unref as c, withCtx as p, createElementBlock as m, createCommentVNode as f, toDisplayString as g } from "vue";
1
+ import { defineComponent as e, computed as t, ref as a, onMounted as r, watch as o, resolveComponent as l, createBlock as u, openBlock as n, normalizeStyle as i, normalizeClass as s, unref as p, withCtx as c, createElementBlock as m, createCommentVNode as f, toDisplayString as g } from "vue";
2
2
  import d from "qrcode";
3
3
  import v from "jsbarcode";
4
4
  import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
@@ -12,7 +12,7 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
12
12
  let k = y(q.pageContext, q.configure);
13
13
  const A = t({ get: () => x(N, k), set(e3) {
14
14
  h(N, k, e3);
15
- } }), E = q.configure.runtime ? q.configure.runtime : {}, _ = r(E.props ? E.props : {}), O = E.style, P = E.class, S = E.headerStyle, $ = r(""), I = r(null), Q = r(_.value.brCodeFormat ?? "CODE128"), V = r([]);
15
+ } }), E = q.configure.runtime ? q.configure.runtime : {}, _ = a(E.props ? E.props : {}), O = E.style, P = E.class, S = E.headerStyle, $ = a(""), I = a(null), Q = a(_.value.brCodeFormat ?? "CODE128"), V = a([]);
16
16
  function F(e3) {
17
17
  return h(N, k, e3);
18
18
  }
@@ -22,16 +22,15 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
22
22
  function L(e3) {
23
23
  var t2;
24
24
  "QR-code" === _.value.type ? (t2 = e3, d.toDataURL(t2, (e4, t3) => {
25
- e4 ? console.error(e4) : $.value = t3;
25
+ e4 || ($.value = t3);
26
26
  })) : function(e4) {
27
27
  try {
28
28
  v(I.value, e4, { format: Q.value });
29
29
  } catch (e5) {
30
- console.error("生成条形码时发生错误:", e5);
31
30
  }
32
31
  }(e3);
33
32
  }
34
- return a(() => {
33
+ return r(() => {
35
34
  _.value.generateRule && ("fixed" === _.value.generateRuleType ? (V.value = Array.from(_.value.generateRule.matchAll(/\$\{(\w+)\}/g), (e3) => e3[1]), V.value.forEach((e3) => {
36
35
  o(() => q.pageContext.entity.data[e3], (e4, t2) => {
37
36
  null != e4 && function() {
@@ -39,15 +38,15 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
39
38
  V.value.forEach((t3) => {
40
39
  q.pageContext.entity.data[t3] || (e5 = false);
41
40
  }), e5 && J(function(e6, t3) {
42
- const r2 = /\$\{(\w+)\}/g;
43
- return e6.replace(r2, (e7, r3) => t3.hasOwnProperty(r3) ? t3[r3] : e7);
41
+ const a2 = /\$\{(\w+)\}/g;
42
+ return e6.replace(a2, (e7, a3) => t3.hasOwnProperty(a3) ? t3[a3] : e7);
44
43
  }(_.value.generateRule, q.pageContext.entity.data));
45
44
  }();
46
45
  });
47
46
  })) : w.get(window.$vueApp.config.globalProperties.baseAPI + "/component/setting-barcode-models/by-code/" + _.value.generateRule).then((e3) => {
48
47
  const t2 = JSON.parse(e3.barcodeModelItems);
49
48
  t2.forEach((e4) => {
50
- "-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName), o(() => q.pageContext.entity.data[e4.propDbName], (e5, r2) => {
49
+ "-1" !== e4.propDbName && -1 !== e4.propDbName && (V.value.push(e4.propDbName), o(() => q.pageContext.entity.data[e4.propDbName], (e5, a2) => {
51
50
  if (null != e5) {
52
51
  const e6 = b(t2, q.pageContext.entity.data);
53
52
  e6 && J(e6);
@@ -55,13 +54,12 @@ const j = ["src"], D = e({ __name: "barcode-runtime", props: { pageContext: {},
55
54
  }));
56
55
  });
57
56
  }).catch((e3) => {
58
- console.error("获取条码规则失败:", e3);
59
57
  })), A.value && L(A.value);
60
58
  }), D2({ getValue: function() {
61
59
  return x(N, k);
62
60
  }, setValue: F }), (e3, t2) => {
63
- const r2 = l("el-form-item");
64
- return u(), n(r2, { required: !!_.value.required, class: s(c(P)), "label-width": _.value.labelWidth, style: i(c(O)) }, { label: p(() => [_.value.tittleShow ? (u(), m("div", { key: 0, style: i({ ...c(S) }) }, g(c(R)(_.value.title)), 5)) : f("", true)]), default: p(() => ["QR-code" === _.value.type ? (u(), m("img", { key: 0, src: $.value }, null, 8, j)) : (u(), m("canvas", { key: 1, ref_key: "barcode", ref: I }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
61
+ const a2 = l("el-form-item");
62
+ return n(), u(a2, { required: !!_.value.required, class: s(p(P)), "label-width": _.value.labelWidth, style: i(p(O)) }, { label: c(() => [_.value.tittleShow ? (n(), m("div", { key: 0, style: i({ ...p(S) }) }, g(p(R)(_.value.title)), 5)) : f("", true)]), default: c(() => ["QR-code" === _.value.type ? (n(), m("img", { key: 0, src: $.value }, null, 8, j)) : (n(), m("canvas", { key: 1, ref_key: "barcode", ref: I }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
65
63
  };
66
64
  } });
67
65
  export {
@@ -285,7 +285,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
285
285
  }
286
286
  n(() => {
287
287
  const e3 = Xe();
288
- se.value && e3 && e3.distanceToBottom && (se.value.tableHeight = e3.distanceToBottom - 110), Y.pageContext.pageRuntimeStyle && Y.pageContext.pageRuntimeStyle.height, window.addEventListener("message", Fe), H.$on(de + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
288
+ se.value && e3 && e3.distanceToBottom && (se.value.tableHeight = e3.distanceToBottom - 110), Y.pageContext.pageRuntimeStyle, window.addEventListener("message", Fe), H.$on(de + "-close-component-page-dialog", function({ jumpInfo: e4, popEntity: t2, popPageCode: n2 }) {
289
289
  se.value.closePageDialog({ entity: t2, pageCode: n2, jumpInfo: e4 });
290
290
  }), H.$on(de + "_close-dialog-get-entity", () => {
291
291
  H.$emit(de + "_close-super-dialog");
@@ -1,28 +1,28 @@
1
- import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as l, createElementBlock as i, openBlock as a, createBlock as u, createCommentVNode as r, unref as s } from "vue";
2
- import { setTableEvents as c, gridSelectRecord as p, gridSelectAllRecords as d, gridSelectionChange as f, cellClick as b, cellDblClick as g, rowClick as m, rowDblClick as v, headerClick as h, getHandleEvent as S } from "../../../../utils/events/event-util.js";
3
- import { caculateShowCondition as w, setVariableValue as T, getVariableValue as C, getSizeConfig as x } from "../../../../utils/page-helper-util.js";
4
- import { getModelFields as y, getDefaultValue as D } from "../../../../utils/page-init-util.js";
5
- import P from "../../../../utils/eventBus.js";
6
- import { popupToPage as I, getOperationButtons as R } from "../../../../utils/table-utils.js";
7
- import { getListCode as O, getBaseUrl as _ } from "../../../../utils/common-util.js";
8
- import { getAdditionalParamMap as k } from "../../../../utils/events/standard-event.js";
9
- import { getRowStyleUtil as A, getCellStyleUtil as M, getHeaderCellStyleUtil as E } from "../../chart/table/chart-table-util.js";
10
- const N = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: N2, emit: F }) {
1
+ import { defineComponent as e, ref as t, onMounted as n, onUnmounted as o, resolveComponent as l, createElementBlock as i, openBlock as a, createBlock as r, createCommentVNode as s, unref as u, computed as c } from "vue";
2
+ import { setTableEvents as p, gridSelectRecord as d, gridSelectAllRecords as f, gridSelectionChange as b, cellClick as g, cellDblClick as m, rowClick as v, rowDblClick as h, headerClick as w, getHandleEvent as S } from "../../../../utils/events/event-util.js";
3
+ import { caculateShowCondition as C, setVariableValue as T, getVariableValue as x, getSizeConfig as D } from "../../../../utils/page-helper-util.js";
4
+ import { getModelFields as y, getDefaultValue as P } from "../../../../utils/page-init-util.js";
5
+ import I from "../../../../utils/eventBus.js";
6
+ import { popupToPage as R, getOperationButtons as O } from "../../../../utils/table-utils.js";
7
+ import { getListCode as _, getBaseUrl as k } from "../../../../utils/common-util.js";
8
+ import { getAdditionalParamMap as A } from "../../../../utils/events/standard-event.js";
9
+ import { getRowStyleUtil as M, getCellStyleUtil as E, getHeaderCellStyleUtil as N } from "../../chart/table/chart-table-util.js";
10
+ const B = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: B2, emit: F }) {
11
11
  var _a;
12
12
  const $ = e2, j = $.pageContext;
13
13
  let z = $.configure;
14
- const B = $.configure.runtime ? $.configure.runtime : {};
15
- j.isTest ? B.value = $.configure.runtime ? $.configure.runtime : {} : j.tableRuntimes && j.tableRuntimes[z.uuid] && (z = JSON.parse(j.tableRuntimes[z.uuid].configure), B.value = z.runtime ? z.runtime : {});
16
- const V = O(j.code, j.version, z.uuid), G = j.entity.data, H = z.code ? z.code : V, L = k(j), U = B && B.events ? B.events : [], q = t([]), J = j.superGridItems, K = J ? J[z.uuid] : null, Q = B.style, W = B.class, X = $.pageContext.entity ? $.pageContext.entity : {};
17
- let Y = y($.configure, H), Z = _(j.backendUrl, j.isTest);
18
- Z || (Z = window.$vueApp.config.globalProperties.baseURL);
19
- const ee = t(false);
20
- let te = t(0);
21
- const ne = (_a = z.props) == null ? void 0 : _a.dataOrigin.principalLinkage, oe = t({}), le = F;
22
- oe.value = function() {
14
+ const V = $.configure.runtime ? $.configure.runtime : {};
15
+ j.isTest ? V.value = $.configure.runtime ? $.configure.runtime : {} : j.tableRuntimes && j.tableRuntimes[z.uuid] && (z = JSON.parse(j.tableRuntimes[z.uuid].configure), V.value = z.runtime ? z.runtime : {});
16
+ const G = _(j.code, j.version, z.uuid), H = j.entity.data, L = z.code ? z.code : G, U = A(j), q = V && V.events ? V.events : [], J = t([]), K = j.superGridItems, Q = K ? K[z.uuid] : null, W = V.style, X = V.class, Y = $.pageContext.entity ? $.pageContext.entity : {};
17
+ let Z = y($.configure, L), ee = k(j.backendUrl, j.isTest);
18
+ ee || (ee = window.$vueApp.config.globalProperties.baseURL);
19
+ const te = t(false);
20
+ let ne = t(0);
21
+ const oe = (_a = z.props) == null ? void 0 : _a.dataOrigin.principalLinkage, le = t({}), ie = F;
22
+ le.value = function() {
23
23
  var _a2, _b, _c, _d;
24
- const e3 = { title: (z == null ? void 0 : z.title) || null, isSql: true, subTableData: null, rowKeyProp: ne, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: j.code, pageVersion: j.version, pageContext: j, configureObj: z, showPageArea: false, showRowForm: false, showOverflowTooltip: (_b = (_a2 = z == null ? void 0 : z.props) == null ? void 0 : _a2.otherSettings) == null ? void 0 : _b.showOverflowTooltip, backendUrl: Z, cellStyleRender: He, rowStyleRender: Ge, titleStyleRender: Le, allEditable: (_d = (_c = z.props) == null ? void 0 : _c.base) == null ? void 0 : _d.allEditable };
25
- return Q && (e3.tableStyle = Q), W && (e3.tableClass = W), z.props && z.props.base && true === z.props.base.subPaging ? e3.showPageArea = true : e3.showPageArea = false, z.props.base.showRowForm && (e3.showRowForm = z.props.base.showRowForm), function(e4) {
24
+ const e3 = { title: (z == null ? void 0 : z.title) || null, isSql: true, subTableData: null, rowKeyProp: oe, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: j.code, pageVersion: j.version, pageContext: j, configureObj: z, showPageArea: false, showRowForm: false, showOverflowTooltip: (_b = (_a2 = z == null ? void 0 : z.props) == null ? void 0 : _a2.otherSettings) == null ? void 0 : _b.showOverflowTooltip, backendUrl: ee, cellStyleRender: Le, rowStyleRender: He, titleStyleRender: Ue, allEditable: (_d = (_c = z.props) == null ? void 0 : _c.base) == null ? void 0 : _d.allEditable };
25
+ return W && (e3.tableStyle = W), X && (e3.tableClass = X), z.props && z.props.base && true === z.props.base.subPaging ? e3.showPageArea = true : e3.showPageArea = false, z.props.base.showRowForm && (e3.showRowForm = z.props.base.showRowForm), function(e4) {
26
26
  const t2 = z.props ? z.props.dataOrigin : {};
27
27
  if (t2.treeTable) {
28
28
  let n2;
@@ -31,30 +31,30 @@ const N = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
31
31
  const o3 = t2.lazy, l2 = t2.defaultExpandAll;
32
32
  e4.lazy = null == o3 || o3, e4.defaultExpandAll = null != l2 && l2;
33
33
  const i2 = { parentProp: n2, lazy: e4.lazy, defaultExpandAll: e4.defaultExpandAll };
34
- e4.extraParam.listViewTreeSetting = JSON.stringify(i2), e4.subRowUrl = Z + "/dsc/commons/list-subs";
34
+ e4.extraParam.listViewTreeSetting = JSON.stringify(i2), e4.subRowUrl = ee + "/dsc/commons/list-subs";
35
35
  }
36
36
  }
37
37
  }(e3), e3;
38
38
  }();
39
- const ie = t(null);
40
- function ae() {
41
- ie.value && (oe.value.subTableData = null, ie.value.reloadSubTableData(V));
39
+ const ae = t(null);
40
+ function re() {
41
+ ae.value && (le.value.subTableData = null, ae.value.reloadSubTableData(G));
42
42
  }
43
- function ue(e3, t2) {
44
- if (t2 || (t2 = oe.value), void 0 === e3 && (e3 = re()), t2.isPageInfo = false, t2.isFormSubTable = true, t2.canRrefreshSubtableData = e3, t2.getFormData = se, t2.getGridData = ce, t2.extraParam.subTableListViewCode = V, t2.extraParam.beanName = j.beanName, t2.extraParam.subtableSetting = z.props && z.props.otherSettings ? JSON.stringify(z.props.otherSettings) : null, t2.extraParam.additionalParamMap = L, t2.extraParam.entityMap = j.entity.data, t2.extraParam.contextMap = j.entity.context, t2.extraParam.taskMap = j.entity.task, !(z.props && z.props.base && z.props.base.showOperation)) {
43
+ function se(e3, t2) {
44
+ if (t2 || (t2 = le.value), void 0 === e3 && (e3 = ue()), t2.isPageInfo = false, t2.isFormSubTable = true, t2.canRrefreshSubtableData = e3, t2.getFormData = ce, t2.getGridData = pe, t2.extraParam.subTableListViewCode = G, t2.extraParam.beanName = j.beanName, t2.extraParam.subtableSetting = z.props && z.props.otherSettings ? JSON.stringify(z.props.otherSettings) : null, t2.extraParam.additionalParamMap = U, t2.extraParam.entityMap = j.entity.data, t2.extraParam.contextMap = j.entity.context, t2.extraParam.taskMap = j.entity.task, !(z.props && z.props.base && z.props.base.showOperation)) {
45
45
  let e4 = t2.hiddenColumns;
46
46
  e4 ? e4.push("operation") : e4 = ["operation"], t2.hiddenColumns = e4;
47
47
  }
48
48
  t2.showOperationButton = !(!z.props || !z.props.base) && z.props.base.showOperation, t2.isPdfEditor = false, t2.tableRecordMaxNum = z.props && z.props.otherSettings ? z.props.otherSettings.tableRecordMaxNum : null;
49
- let n2 = x(j, z);
50
- n2 && n2.fixHeight && (t2.formSetHeight = n2.fixHeight), n2 && n2.maxHeight && (t2.formSetMaxHeight = n2.maxHeight), t2.validateEitConditions = Ue;
49
+ let n2 = D(j, z);
50
+ n2 && n2.fixHeight && (t2.formSetHeight = n2.fixHeight), n2 && n2.maxHeight && (t2.formSetMaxHeight = n2.maxHeight), t2.validateEitConditions = qe;
51
51
  }
52
- function re() {
52
+ function ue() {
53
53
  if (z.props && z.props.otherSettings) {
54
54
  if (z.props.otherSettings.sourceQueryTableData && z.props.otherSettings.timeToInitializeSubTable && z.props.otherSettings.timeToInitializeSubTable.length > 0) {
55
55
  let e3 = false;
56
- if (-1 !== z.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !G.id && !G.ID), -1 !== z.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
57
- const t2 = G[H];
56
+ if (-1 !== z.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !H.id && !H.ID), -1 !== z.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
57
+ const t2 = H[L];
58
58
  (!t2 || t2.length <= 0) && (e3 = true);
59
59
  }
60
60
  return e3;
@@ -62,25 +62,25 @@ const N = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
62
62
  return false;
63
63
  }
64
64
  }
65
- function se() {
65
+ function ce() {
66
66
  return j.entity.data;
67
67
  }
68
- function ce() {
69
- return C(X, Y);
68
+ function pe() {
69
+ return x(Y, Z);
70
70
  }
71
- let pe, de;
72
- function fe(e3, t2) {
73
- t2 || (t2 = oe.value), ue(e3, t2), t2.subTableData = null, be(t2), ee.value = false, pe = setTimeout(() => {
74
- ee.value = true, te.value = te.value + 1, ge();
71
+ let de, fe;
72
+ function be(e3, t2) {
73
+ t2 || (t2 = le.value), se(e3, t2), t2.subTableData = null, ge(t2), te.value = false, de = setTimeout(() => {
74
+ te.value = true, ne.value = ne.value + 1, me();
75
75
  }, 10);
76
76
  }
77
- function be(e3) {
78
- e3 || (e3 = oe.value), function(e4) {
79
- var _a2, _b;
80
- e4 || (e4 = oe.value);
77
+ function ge(e3) {
78
+ e3 || (e3 = le.value), function(e4) {
79
+ var _a2, _b, _c, _d;
80
+ e4 || (e4 = le.value);
81
81
  const t3 = j.fieldPermissionMap, n2 = j.actionPermissionMap;
82
82
  if (t3 && null != t3) {
83
- let n3 = t3.get(H);
83
+ let n3 = t3.get(L);
84
84
  if (!n3) {
85
85
  const e5 = t3.get("all_fields");
86
86
  e5 && (n3 = [e5]);
@@ -88,248 +88,250 @@ const N = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
88
88
  e4.validateRules = n3 || null;
89
89
  }
90
90
  if (n2 && null != n2) {
91
- let t4 = n2.get(H);
91
+ let t4 = n2.get(L);
92
92
  t4 || (t4 = n2.get("all_sub_tables")), e4.actionPermission = t4;
93
93
  }
94
94
  e4.operations || (e4.operations = {});
95
95
  const o2 = function() {
96
96
  let e5 = [];
97
- if (we(null, null, null, null, null, true, "canAdd")) {
97
+ if (Ce(null)) {
98
98
  const t4 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: ye, isShow: Te, isStandard: true };
99
99
  e5.push(t4);
100
100
  }
101
- if (Ce(null, null, null, null, null, true)) {
102
- const t4 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: De, isShow: xe, isStandard: true };
101
+ if (xe(null, null, null, null, null, true)) {
102
+ const t4 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: Pe, isShow: De, isStandard: true };
103
103
  e5.push(t4);
104
104
  }
105
- return R(j, z, e5, he), e5;
105
+ return O(j, z, e5, we), e5;
106
106
  }();
107
- ((_a2 = z.props.base.showOperationCondition) == null ? void 0 : _a2.length) > 0 && (e4.operations.showOperationFunc = me);
108
- e4.operations.operation = o2, e4.subTableCanAdd = we(null, null, null, null, null, true, "canAdd"), e4.subTableCanDelete = we(null, null, null, null, null, true, "canDelete"), ((_b = z.props.base.showCopyBtnCondition) == null ? void 0 : _b.length) > 0 ? e4.subTableCanCopy = w($.pageContext, $.configure.props.base.showCopyBtnCondition) : e4.subTableCanCopy = true;
109
- }(e3), c(e3, U, j, z);
107
+ ((_a2 = z.props.base.showOperationCondition) == null ? void 0 : _a2.length) > 0 && (e4.operations.showOperationFunc = ve);
108
+ e4.operations.operation = o2, ((_b = z.props.base.showAddBtnCondition) == null ? void 0 : _b.length) > 0 ? e4.subTableCanAdd = Ce("canAdd") && c(() => C($.pageContext, z.props.base.showAddBtnCondition, null)) : e4.subTableCanAdd = Ce("canAdd");
109
+ ((_c = z.props.base.showDeleteBtnCondition) == null ? void 0 : _c.length) > 0 ? e4.subTableCanDelete = Ce("canDelete") && c(() => C($.pageContext, z.props.base.showDeleteBtnCondition, null)) : e4.subTableCanDelete = Ce("canDelete");
110
+ ((_d = z.props.base.showCopyBtnCondition) == null ? void 0 : _d.length) > 0 ? e4.subTableCanCopy = C($.pageContext, $.configure.props.base.showCopyBtnCondition) : e4.subTableCanCopy = true;
111
+ }(e3), p(e3, q, j, z);
110
112
  const t2 = j.customEvents;
111
- t2 && (e3.eventCallBack = t2), ee.value = true, ge();
113
+ t2 && (e3.eventCallBack = t2), te.value = true, me();
112
114
  }
113
- function ge() {
115
+ function me() {
114
116
  j.tableUuids || (j.tableUuids = []), j.tableUuids.indexOf(z.uuid) < 0 && j.tableUuids.push(z.uuid);
115
117
  }
116
- function me() {
117
- return w($.pageContext, z.props.base.showOperationCondition);
118
+ function ve() {
119
+ return C($.pageContext, z.props.base.showOperationCondition);
118
120
  }
119
121
  n(() => {
120
122
  const e3 = z.uuid, t2 = j.subTableWatchProps;
121
- P.$on("_refreshSubTable_" + e3, (n2) => {
123
+ I.$on("_refreshSubTable_" + e3, (n2) => {
122
124
  const o2 = n2.propName;
123
125
  if (t2 && t2[e3] && t2[e3].length > 0) {
124
- t2[e3].indexOf(o2) >= 0 && ae();
126
+ t2[e3].indexOf(o2) >= 0 && re();
125
127
  }
126
- }), P.$on("_refreshSubTableHandle_" + e3, (e4) => {
127
- ae();
128
- }), P.$on("_refreshChildData_" + e3, (e4) => {
128
+ }), I.$on("_refreshSubTableHandle_" + e3, (e4) => {
129
+ re();
130
+ }), I.$on("_refreshChildData_" + e3, (e4) => {
129
131
  !function(e5) {
130
- Ve(e5), de = setTimeout(() => {
131
- ie.value && (ie.value.refreshChildData(V, e5, z.props && z.props.base && true === z.props.base.subPaging), oe.value.extraParam.entityMap = j.entity.data);
132
+ Ge(e5), fe = setTimeout(() => {
133
+ ae.value && (ae.value.refreshChildData(G, e5, z.props && z.props.base && true === z.props.base.subPaging), le.value.extraParam.entityMap = j.entity.data);
132
134
  }, 10);
133
135
  }(e4);
134
- }), P.$on(V + "-pickFileDone", (e4) => {
135
- ie.value.pickFileDone(e4);
136
- }), P.$on(V + "-scanDone", (e4) => {
137
- ie.value.scanDone(e4);
138
- }), oe.value && oe.value.configureObj.props.base && oe.value.configureObj.props.base.isSafeDelete && le("setSafeDeleteTableCode", oe.value.extraParam.tableName);
136
+ }), I.$on(G + "-pickFileDone", (e4) => {
137
+ ae.value.pickFileDone(e4);
138
+ }), I.$on(G + "-scanDone", (e4) => {
139
+ ae.value.scanDone(e4);
140
+ }), le.value && le.value.configureObj.props.base && le.value.configureObj.props.base.isSafeDelete && ie("setSafeDeleteTableCode", le.value.extraParam.tableName);
139
141
  }), o(() => {
140
- pe && clearTimeout(pe), de && clearTimeout(de);
142
+ de && clearTimeout(de), fe && clearTimeout(fe);
141
143
  const e3 = z.uuid;
142
- P.$off("_refreshSubTable_" + e3), P.$off("_refreshSubTableHandle_" + e3), P.$off("_refreshChildData_" + e3), P.$off(V + "-pickFileDone"), P.$off(V + "-scanDone");
144
+ I.$off("_refreshSubTable_" + e3), I.$off("_refreshSubTableHandle_" + e3), I.$off("_refreshChildData_" + e3), I.$off(G + "-pickFileDone"), I.$off(G + "-scanDone");
143
145
  });
144
- const ve = t({});
145
- function he(e3) {
146
+ const he = t({});
147
+ function we(e3) {
146
148
  if (!e3) return;
147
- return ve.value[e3.uuid] = e3, Se;
149
+ return he.value[e3.uuid] = e3, Se;
148
150
  }
149
151
  function Se(e3, t2, n2, o2, l2, i2) {
150
- const a2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: i2, id: n2.ID ? n2.ID : n2.id }, u2 = ve.value[i2.sourceButton.uuid], r2 = z;
151
- u2.props.base.tableUuid = r2.uuid, S(null, j, u2, "click", a2);
152
- }
153
- function we(e3, t2, n2, o2, l2, i2, a2) {
154
- a2 || (a2 = "canAdd");
155
- if (!w($.pageContext, z.props.base.showOperationCondition)) return false;
156
- const u2 = j.fieldPermissionMap, r2 = j.actionPermissionMap;
157
- let s2 = true;
158
- if (u2 && null !== u2) {
159
- const e4 = u2.get("all_fields");
160
- void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (s2 = false);
152
+ const a2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: i2, id: n2.ID ? n2.ID : n2.id }, r2 = he.value[i2.sourceButton.uuid], s2 = z;
153
+ r2.props.base.tableUuid = s2.uuid, S(null, j, r2, "click", a2);
154
+ }
155
+ function Ce(e3) {
156
+ e3 || (e3 = "canAdd");
157
+ if (!C($.pageContext, z.props.base.showOperationCondition)) return false;
158
+ const t2 = j.fieldPermissionMap, n2 = j.actionPermissionMap;
159
+ let o2 = true;
160
+ if (t2 && null !== t2) {
161
+ const e4 = t2.get("all_fields");
162
+ void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (o2 = false);
161
163
  }
162
- if (true === s2 && H && r2 && null !== r2) {
163
- let e4 = r2.get(H);
164
- e4 || (e4 = r2.get("all_sub_tables")), e4 && void 0 !== e4[a2] && false === e4[a2] && (s2 = false);
164
+ if (true === o2 && L && n2 && null !== n2) {
165
+ let t3 = n2.get(L);
166
+ t3 || (t3 = n2.get("all_sub_tables")), t3 && void 0 !== t3[e3] && false === t3[e3] && (o2 = false);
165
167
  }
166
- return s2;
168
+ return o2;
167
169
  }
168
170
  function Te(e3, t2, n2, o2, l2, i2) {
169
- let a2 = we(0, 0, 0, 0, 0, 0, "canAdd");
170
- return true === a2 && (a2 = w($.pageContext, z.props.base.showAddBtnCondition, n2)), a2;
171
+ let a2 = Ce(e3);
172
+ return true === a2 && (a2 = C($.pageContext, z.props.base.showAddBtnCondition, n2)), a2;
171
173
  }
172
- function Ce(e3, t2, n2, o2, l2, i2) {
173
- const a2 = j.fieldPermissionMap, u2 = j.actionPermissionMap;
174
- let r2 = true;
174
+ function xe(e3, t2, n2, o2, l2, i2) {
175
+ const a2 = j.fieldPermissionMap, r2 = j.actionPermissionMap;
176
+ let s2 = true;
175
177
  if (a2 && null !== a2) {
176
178
  const e4 = a2.get("all_fields");
177
- void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (r2 = false);
179
+ void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (s2 = false);
178
180
  }
179
- if (true === r2 && H && u2 && null !== u2) {
180
- let e4 = u2.get(H);
181
- if (e4 || (e4 = u2.get("all_sub_tables")), e4 && void 0 !== e4.canDelete && false === e4.canDelete && (r2 = false), e4 && void 0 !== e4.canDelete && true === e4.canDelete && e4.deleteRowIndexes) if (e4.deleteRowIndexes.length > 0) if (i2) r2 = true;
181
+ if (true === s2 && L && r2 && null !== r2) {
182
+ let e4 = r2.get(L);
183
+ if (e4 || (e4 = r2.get("all_sub_tables")), e4 && void 0 !== e4.canDelete && false === e4.canDelete && (s2 = false), e4 && void 0 !== e4.canDelete && true === e4.canDelete && e4.deleteRowIndexes) if (e4.deleteRowIndexes.length > 0) if (i2) s2 = true;
182
184
  else {
183
185
  const t3 = function(e5) {
184
186
  return e5 && e5.id ? e5.id : e5 && e5.ID ? e5.ID : void 0;
185
187
  }(n2);
186
- r2 = void 0 !== t3 && e4.deleteRowIndexes.indexOf(t3) >= 0;
188
+ s2 = void 0 !== t3 && e4.deleteRowIndexes.indexOf(t3) >= 0;
187
189
  }
188
- else r2 = false;
190
+ else s2 = false;
189
191
  }
190
- return r2;
192
+ return s2;
191
193
  }
192
- function xe(e3, t2, n2, o2, l2, i2) {
193
- let a2 = Ce(0, 0, n2, 0, 0, i2);
194
- return true === a2 && (a2 = w($.pageContext, z.props.base.showDeleteBtnCondition, n2)), a2;
194
+ function De(e3, t2, n2, o2, l2, i2) {
195
+ let a2 = xe(0, 0, n2, 0, 0, i2);
196
+ return true === a2 && (a2 = C($.pageContext, z.props.base.showDeleteBtnCondition, n2)), a2;
195
197
  }
196
198
  function ye(e3, t2, n2, o2, l2) {
197
- ie.value.createRow(V, {}, { getDefaultValueFunc: D }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 }).then(() => {
198
- qe(l2);
199
+ ae.value.createRow(G, {}, { getDefaultValueFunc: P }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 }).then(() => {
200
+ Je(l2);
199
201
  });
200
202
  }
201
- function De(e3, t2, n2, o2, l2, i2, a2, u2) {
202
- ie.value.deleteRow(l2, V, false, a2, u2, n2);
203
- }
204
- function Pe(e3) {
205
- T(X, Y, e3);
203
+ function Pe(e3, t2, n2, o2, l2, i2, a2, r2) {
204
+ ae.value.deleteRow(l2, G, false, a2, r2, n2);
206
205
  }
207
206
  function Ie(e3) {
208
- j.subTablePageInfo || (j.subTablePageInfo = {}), j.subTablePageInfo[H] || (j.subTablePageInfo[H] = {}), j.subTablePageInfo[H].title = z.title ? z.title : z.code, j.subTablePageInfo[H].pageSize = e3;
207
+ T(Y, Z, e3);
209
208
  }
210
209
  function Re(e3) {
210
+ j.subTablePageInfo || (j.subTablePageInfo = {}), j.subTablePageInfo[L] || (j.subTablePageInfo[L] = {}), j.subTablePageInfo[L].title = z.title ? z.title : z.code, j.subTablePageInfo[L].pageSize = e3;
211
+ }
212
+ function Oe(e3) {
211
213
  const t2 = e3.key, n2 = e3.value;
212
214
  j.selectOptions || (j.selectOptions = {}), j.selectOptions[t2] = n2;
213
215
  }
214
- function Oe(e3) {
216
+ function _e(e3) {
215
217
  const t2 = j.code + "_";
216
- P.$emit(t2 + "prohibit-edit", e3);
218
+ I.$emit(t2 + "prohibit-edit", e3);
217
219
  }
218
- function _e(e3) {
220
+ function ke(e3) {
219
221
  const t2 = j.entity.data;
220
222
  if (e3) for (const n2 in e3) t2[n2] = e3[n2];
221
223
  }
222
- function ke(e3, t2) {
224
+ function Ae(e3, t2) {
223
225
  if (void 0 !== t2) {
224
- q.value = e3;
225
- p(j, z, { selection: e3, row: t2 });
226
+ J.value = e3;
227
+ d(j, z, { selection: e3, row: t2 });
226
228
  }
227
229
  }
228
- function Ae(e3) {
229
- q.value = e3;
230
- d(j, z, { selection: e3 });
231
- }
232
230
  function Me(e3) {
233
- f(j, z, { newSelection: e3 });
231
+ J.value = e3;
232
+ f(j, z, { selection: e3 });
234
233
  }
235
- function Ee(e3, t2, n2, o2) {
236
- b(j, z, { row: e3, column: t2, cell: n2, event: o2 });
234
+ function Ee(e3) {
235
+ b(j, z, { newSelection: e3 });
237
236
  }
238
237
  function Ne(e3, t2, n2, o2) {
239
238
  g(j, z, { row: e3, column: t2, cell: n2, event: o2 });
240
239
  }
240
+ function Be(e3, t2, n2, o2) {
241
+ m(j, z, { row: e3, column: t2, cell: n2, event: o2 });
242
+ }
241
243
  function Fe(e3, t2, n2) {
242
- m(j, z, { row: e3, column: t2, event: n2 });
244
+ v(j, z, { row: e3, column: t2, event: n2 });
243
245
  }
244
246
  function $e(e3, t2, n2) {
245
- v(j, z, { row: e3, column: t2, event: n2 });
247
+ h(j, z, { row: e3, column: t2, event: n2 });
246
248
  }
247
249
  function je(e3, t2) {
248
- h(j, z, { column: e3, event: t2 });
250
+ w(j, z, { column: e3, event: t2 });
249
251
  }
250
252
  function ze(e3) {
251
253
  j.entity.data = e3;
252
254
  }
253
- function Be() {
254
- return C(X, Y);
255
- }
256
- function Ve(e3) {
257
- return T(X, Y, e3);
255
+ function Ve() {
256
+ return x(Y, Z);
258
257
  }
259
258
  function Ge(e3) {
260
- return A(e3, null, $);
259
+ return T(Y, Z, e3);
261
260
  }
262
261
  function He(e3) {
263
- return M(e3, e3.cellStyle, $);
262
+ return M(e3, null, $);
264
263
  }
265
264
  function Le(e3) {
265
+ return E(e3, e3.cellStyle, $);
266
+ }
267
+ function Ue(e3) {
266
268
  const t2 = e3.titleStyle, n2 = $.configure.style.titleStyle;
267
- return E(e3, { cellTitleStyle: t2, titleStyle: n2 }, $);
269
+ return N(e3, { cellTitleStyle: t2, titleStyle: n2 }, $);
268
270
  }
269
- function Ue({ row: e3, editConditions: t2 }) {
271
+ function qe({ row: e3, editConditions: t2 }) {
270
272
  let n2 = true;
271
- return t2 && t2.length > 0 && (n2 = w($.pageContext, t2, e3)), n2;
273
+ return t2 && t2.length > 0 && (n2 = C($.pageContext, t2, e3)), n2;
272
274
  }
273
- function qe(e3) {
275
+ function Je(e3) {
274
276
  var _a2;
275
- (_a2 = ie.value) == null ? void 0 : _a2.setScrollTopByRowIndex(e3);
277
+ (_a2 = ae.value) == null ? void 0 : _a2.setScrollTopByRowIndex(e3);
276
278
  }
277
279
  return function(e3) {
278
- const t2 = re();
279
- t2 ? fe(t2, e3) : (ue(t2, e3), e3.isPageInfo = false, e3.subTableData = Be(), be(e3));
280
- }(oe.value), N2({ createRow: function() {
281
- return ie.value.createRow(V);
280
+ const t2 = ue();
281
+ t2 ? be(t2, e3) : (se(t2, e3), e3.isPageInfo = false, e3.subTableData = Ve(), ge(e3));
282
+ }(le.value), B2({ createRow: function() {
283
+ return ae.value.createRow(G);
282
284
  }, getSelections: function() {
283
- return q.value;
285
+ return J.value;
284
286
  }, getSelectionIds: function() {
285
287
  const e3 = [];
286
- return q.value && q.value.forEach((t2) => {
288
+ return J.value && J.value.forEach((t2) => {
287
289
  e3.push(t2.id ? t2.id : t2.ID ? t2.ID : null);
288
290
  }), e3;
289
291
  }, clearSelections: function() {
290
- q.value = [];
292
+ J.value = [];
291
293
  }, getTableConfigure: function() {
292
294
  return z;
293
295
  }, validatorSunTableListData: function() {
294
- return ie.value.validatorSunTableListData();
295
- }, getValue: Be, setValue: Ve, getTableSelectOptions: function() {
296
- if (ie.value) return ie.value.getTableSelectOptions(V);
296
+ return ae.value.validatorSunTableListData();
297
+ }, getValue: Ve, setValue: Ge, getTableSelectOptions: function() {
298
+ if (ae.value) return ae.value.getTableSelectOptions(G);
297
299
  }, dynamicControlTableEdit: function(e3, t2, n2) {
298
- ie.value && ie.value.dynamicControlTableEdit(e3, t2, n2);
300
+ ae.value && ae.value.dynamicControlTableEdit(e3, t2, n2);
299
301
  }, doLayout: function(e3) {
300
- ie.value && ie.value.doLayout(e3);
302
+ ae.value && ae.value.doLayout(e3);
301
303
  }, changeOperationAddState: function(e3) {
302
- ie.value && ie.value.changeOperationAddState(e3);
304
+ ae.value && ae.value.changeOperationAddState(e3);
303
305
  }, scrollTo: function(e3, t2) {
304
- ie.value && ie.value.scrollTo(e3, t2);
306
+ ae.value && ae.value.scrollTo(e3, t2);
305
307
  }, setScrollTop: function(e3) {
306
- ie.value && ie.value.setScrollTop(e3);
308
+ ae.value && ae.value.setScrollTop(e3);
307
309
  }, setScrollLeft: function(e3) {
308
- ie.value && ie.value.setScrollLeft(e3);
310
+ ae.value && ae.value.setScrollLeft(e3);
309
311
  }, getSuperGridRef: function() {
310
- return ie.value;
312
+ return ae.value;
311
313
  }, getSuperGridTableRef: function() {
312
- return ie.value.getSuperGridTableRef();
314
+ return ae.value.getSuperGridTableRef();
313
315
  }, setCurrentRowIndex: function(e3) {
314
316
  var _a2;
315
- (_a2 = ie.value) == null ? void 0 : _a2.setCurrentRowIndex(e3);
316
- }, setScrollTopByRowIndex: qe, getTableData: function() {
317
+ (_a2 = ae.value) == null ? void 0 : _a2.setCurrentRowIndex(e3);
318
+ }, setScrollTopByRowIndex: Je, getTableData: function() {
317
319
  var _a2;
318
- return (_a2 = ie.value) == null ? void 0 : _a2.getTableData();
320
+ return (_a2 = ae.value) == null ? void 0 : _a2.getTableData();
319
321
  }, addRequiredClass: function(e3, t2, n2) {
320
322
  var _a2;
321
- (_a2 = ie.value) == null ? void 0 : _a2.addRequiredClass(e3, V, t2, n2);
323
+ (_a2 = ae.value) == null ? void 0 : _a2.addRequiredClass(e3, G, t2, n2);
322
324
  }, getColumns: function() {
323
325
  var _a2;
324
- return (_a2 = ie.value) == null ? void 0 : _a2.getColumns();
326
+ return (_a2 = ae.value) == null ? void 0 : _a2.getColumns();
325
327
  }, scrollToCell: function({ fieldName: e3, rowIndex: t2, pageNum: n2 }) {
326
328
  var _a2;
327
- (_a2 = ie.value) == null ? void 0 : _a2.scrollToCell({ fieldName: e3, rowIndex: t2, pageNum: n2 });
329
+ (_a2 = ae.value) == null ? void 0 : _a2.scrollToCell({ fieldName: e3, rowIndex: t2, pageNum: n2 });
328
330
  } }), (e3, t2) => {
329
331
  const n2 = l("super-grid");
330
- return a(), i("div", null, [ee.value ? (a(), u(n2, { key: 0, ref_key: "gridRef", ref: ie, url: s(Z) + "/dsc/commons/sub-table", options: oe.value, code: s(V), settings: s(K), isDialog: s(j).isDialog, onSelect: ke, onSelectAll: Ae, onSelectionChange: Me, onCellClick: Ee, onCellDblclick: Ne, onRowClick: Fe, onRowDblclick: $e, onHeaderClick: je, onFnProhibitToEdit: Oe, onChangeGridData: Pe, onReloadGrid: fe, onRefresMainTableFields: _e, onSetSelectOptions: Re, onChangeRowsPerPage: Ie, onNewOpenGridDialog: s(I), onChangeFormData: ze }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : r("", true)]);
332
+ return a(), i("div", null, [te.value ? (a(), r(n2, { key: 0, ref_key: "gridRef", ref: ae, url: u(ee) + "/dsc/commons/sub-table", options: le.value, code: u(G), settings: u(Q), isDialog: u(j).isDialog, onSelect: Ae, onSelectAll: Me, onSelectionChange: Ee, onCellClick: Ne, onCellDblclick: Be, onRowClick: Fe, onRowDblclick: $e, onHeaderClick: je, onFnProhibitToEdit: _e, onChangeGridData: Ie, onReloadGrid: be, onRefresMainTableFields: ke, onSetSelectOptions: Oe, onChangeRowsPerPage: Re, onNewOpenGridDialog: u(R), onChangeFormData: ze }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : s("", true)]);
331
333
  };
332
334
  } });
333
335
  export {
334
- N as default
336
+ B as default
335
337
  };
@@ -81,7 +81,7 @@ const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }
81
81
  }, scrollToCell: function({ fieldName: e3, rowIndex: t2, pageNum: n2 }) {
82
82
  var _a;
83
83
  (_a = m.value) == null ? void 0 : _a.scrollToCell({ fieldName: e3, rowIndex: t2, pageNum: n2 });
84
- } }), (t2, n2) => (l(), u("div", null, [r(g) && "form" === r(g) && C.value ? (l(), o(i, { key: 0, ref_key: "gridRef", ref: m, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: x }, null, 8, ["pageContext", "configure"])) : r(g) && "form" === r(g) ? a("", true) : (l(), o(c, { key: 1, ref_key: "gridRef", ref: m, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: x }, null, 8, ["pageContext", "configure"]))]));
84
+ } }), (e3, t2) => (l(), u("div", null, [r(g) && "form" === r(g) && C.value ? (l(), o(i, { key: 0, ref_key: "gridRef", ref: m, pageContext: e3.pageContext, configure: d.value, onSetSafeDeleteTableCode: x }, null, 8, ["pageContext", "configure"])) : r(g) && "form" === r(g) ? a("", true) : (l(), o(c, { key: 1, ref_key: "gridRef", ref: m, pageContext: e3.pageContext, configure: d.value, onSetSafeDeleteTableCode: x }, null, 8, ["pageContext", "configure"]))]));
85
85
  } });
86
86
  export {
87
87
  f as default