super-page-runtime 2.3.36 → 2.3.37-cdn1

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 (38) hide show
  1. package/dist/es/components/runtime/utils/events/standard-event.js +1 -1
  2. package/dist/es/components/runtime/utils/events/validator-util.js +230 -189
  3. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
  4. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +2 -2
  5. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
  6. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +26 -26
  7. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +3 -1
  8. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +17 -12
  9. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +69 -66
  10. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +36 -33
  11. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +36 -36
  12. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +45 -45
  13. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +61 -61
  14. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +35 -35
  15. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +58 -58
  16. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +19 -19
  17. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +59 -59
  18. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +26 -26
  20. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +27 -27
  21. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +49 -49
  22. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +111 -111
  24. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +88 -88
  26. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +5 -5
  27. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
  28. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +19 -19
  29. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +102 -90
  30. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +6 -3
  31. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +1 -1
  32. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +41 -20
  33. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
  34. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +26 -18
  35. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  36. package/dist/es/components/runtime/views/super-page.vue2.js +9 -3
  37. package/dist/es/style.css +168 -160
  38. package/package.json +2 -2
@@ -1,46 +1,46 @@
1
1
  import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as i, unref as l, withDirectives as c, createVNode as s, vShow as p } from "vue";
2
- import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as h, clearChartSelected as m, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
2
+ import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as m, clearChartSelected as h, 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";
5
5
  import { getChartDatasFromPage as C, updateChartDatasources as R, monitorFieldChange as j } from "../../../../utils/page-helper-util.js";
6
6
  import k from "../common/common-chart-header.vue.js";
7
- import { use as b } from "echarts/core";
8
- import { CanvasRenderer as y } from "echarts/renderers";
7
+ import { use as y } from "echarts/core";
8
+ import { CanvasRenderer as b } from "echarts/renderers";
9
9
  import { PieChart as D } from "echarts/charts";
10
- import { GridComponent as V, LegendComponent as _, TitleComponent as w, TooltipComponent as I, ToolboxComponent as P } from "echarts/components";
10
+ import { GridComponent as I, LegendComponent as V, TitleComponent as _, TooltipComponent as w, ToolboxComponent as P } from "echarts/components";
11
11
  import E from "vue-echarts";
12
- const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
13
- b([y, D, V, _, w, I, P]);
14
- const H = e2, O = r(null), S = r(), T = r(null), U = H.configure.props ? H.configure.props.enableDrill : null, z = H.configure.props ? H.configure.props.drillEndTrigger : null, F = H.configure.props ? H.configure.props.linkPage : null, q = H.configure.runtime ? H.configure.runtime : {}, B = q.style, G = q.class, J = q.dataConfig, K = q.headerInfo ? q.headerInfo : {}, L = q.chartOption, M = H.configure.props ? H.configure.props : {}, N = f(M.customTheme);
12
+ const T = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: T2 }) {
13
+ y([b, D, I, V, _, w, P]);
14
+ const A = e2, H = r(null), O = r(), S = r(null), U = A.configure.props ? A.configure.props.enableDrill : null, z = A.configure.props ? A.configure.props.drillEndTrigger : null, F = A.configure.props ? A.configure.props.linkPage : null, N = A.configure.runtime ? A.configure.runtime : {}, q = N.style, B = N.class, G = N.dataConfig, J = N.headerInfo ? N.headerInfo : {}, K = N.chartOption, L = A.configure.props ? A.configure.props : {}, M = f(L.customTheme);
15
15
  function Q(e3) {
16
- "clearDrill" == z ? T.value && T.value.closeDrill && T.value.closeDrill(0) : "clickEvent" == z && W();
16
+ "clearDrill" == z ? S.value && S.value.closeDrill && S.value.closeDrill(0) : "clickEvent" == z && W(e3);
17
17
  }
18
- function W() {
19
- F && F.jumpPageUrl && x(H.pageContext, H.configure, void 0);
18
+ function W(e3) {
19
+ F && F.jumpPageUrl && (e3.data, e3.dataIndex, e3.name, e3.seriesId, e3.seriesIndex, e3.seriesName, e3.seriesType, e3.value, x(A.pageContext, A.configure, void 0));
20
20
  }
21
- g(H.configure, L), o(() => {
22
- const e3 = C(H.pageContext, H.configure);
23
- e3 && $(e3), S.value && (U || F && F.jumpPageUrl) && S.value.chart.on("click", function(e4) {
24
- U ? T.value && T.value.drill && T.value.drill(e4, H.configure.cacheDatas) : W();
25
- }), !U && H.configure.clickSet && S.value && h(H.pageContext, H.configure, S.value.chart);
21
+ g(A.configure, K), o(() => {
22
+ const e3 = C(A.pageContext, A.configure);
23
+ e3 && $(e3), !U && A.configure.clickSet && O.value && m(A.pageContext, A.configure, O.value.chart), O.value && (U || F && F.jumpPageUrl) && O.value.chart.on("click", function(e4) {
24
+ U ? S.value && S.value.drill && S.value.drill(e4, A.configure.cacheDatas) : W(e4);
25
+ });
26
26
  });
27
- let X = K.groupValue;
27
+ let X = J.groupValue;
28
28
  function Y(e3) {
29
- J && (true !== e3 && (J.autoRefresh = true), R(H.pageContext, [J], K.drillParams));
29
+ G && (true !== e3 && (G.autoRefresh = true), R(A.pageContext, [G], J.drillParams));
30
30
  }
31
- t(K, () => {
32
- X != K.groupValue && (X = K.groupValue, J && (J.services[0].groupValue = K.groupValue), Y(false));
31
+ t(J, () => {
32
+ X != J.groupValue && (X = J.groupValue, G && (G.services[0].groupValue = J.groupValue), Y(false));
33
33
  });
34
- const Z = K.monitorFields;
34
+ const Z = J.monitorFields;
35
35
  function $(e3) {
36
- e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, J.autoRefresh || (X = e3.groupValue, X && "checkbox" !== K.groupComponent && (X = X.join(",")), K.groupValue = X), J.autoRefresh && U || m(H.pageContext, H.configure, S.value.chart), J.autoRefresh = false, v(H.pageContext, H.configure, L, e3), S.value && S.value.setOption(L, true));
36
+ e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, G.autoRefresh || (X = e3.groupValue, X && "checkbox" !== J.groupComponent && (X = X.join(",")), J.groupValue = X), G.autoRefresh && U || h(A.pageContext, A.configure, O.value.chart), G.autoRefresh = false, v(A.pageContext, A.configure, K, e3), O.value && O.value.setOption(K, true));
37
37
  }
38
- return j(H.pageContext, Z, () => {
38
+ return j(A.pageContext, Z, () => {
39
39
  Y(true);
40
- }), A2({ updateChartDatas: $, exportChart: function() {
41
- return d(S.value, K);
42
- } }), (r2, o2) => (n(), a("div", { style: i(l(B)), class: u([l(G), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(s(k, { ref_key: "headerRef", ref: T, headerInfo: l(K), configure: e2.configure, pageContext: e2.pageContext, onDrillEnd: Q, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, l(K).showHeader || e2.pageContext.showHomepageSearch]]), s(l(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
40
+ }), T2({ updateChartDatas: $, exportChart: function() {
41
+ return d(O.value, J);
42
+ } }), (r2, o2) => (n(), a("div", { style: i(l(q)), class: u([l(B), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: H }, [c(s(k, { ref_key: "headerRef", ref: S, headerInfo: l(J), configure: e2.configure, pageContext: e2.pageContext, onDrillEnd: Q, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, l(J).showHeader || e2.pageContext.showHomepageSearch]]), s(l(E), { ref_key: "chartRef", ref: O, class: "amb-chart-content", theme: l(M), option: l(K), autoresize: "" }, null, 8, ["theme", "option"])], 6));
43
43
  } });
44
44
  export {
45
- A as default
45
+ T as default
46
46
  };
@@ -245,7 +245,9 @@ function rowDataToColumn(e, t, r) {
245
245
  });
246
246
  a2 && (o2.$GroupColumn = a2.props.base.name), e.forEach((e2) => {
247
247
  n.forEach((r2) => {
248
- const n2 = e2[r2], a3 = e2[t3];
248
+ const n2 = e2[r2];
249
+ if (!n2) return;
250
+ const a3 = e2[t3];
249
251
  o2[n2] = a3;
250
252
  });
251
253
  }), s.push(o2);
@@ -1,20 +1,25 @@
1
- import { defineComponent as e, ref as t, onMounted as o, nextTick as i, resolveComponent as n, createElementBlock as l, openBlock as s, createVNode as a, normalizeClass as r, normalizeStyle as u, unref as p, withCtx as f, createCommentVNode as m, toDisplayString as g, Fragment as c, renderList as d, createBlock as y } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as i, nextTick as o, resolveComponent as s, createElementBlock as n, openBlock as l, createVNode as r, normalizeClass as a, normalizeStyle as u, unref as p, withCtx as f, createCommentVNode as m, toDisplayString as g, Fragment as c, renderList as d, createBlock as y } from "vue";
2
2
  import v from "../../object-render.vue.js";
3
3
  import { PageDimensions as x } from "../../../../utils/interfaces/page-design-types.js";
4
4
  import { handleFormEvent as C } from "../../../../utils/events/event-util.js";
5
- const b = e({ __name: "form-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
6
- const b2 = e2;
7
- b2.configure.items || (b2.configure.items = []);
8
- const h = b2.configure.runtime ? b2.configure.runtime : {}, j = h.props ? h.props : {}, _ = t(h.style ? h.style : {}), k = h.class, w = t(h.titleStyle ? h.titleStyle : {}), z = t(j.labelPosition), P = t(null), S = b2.pageContext && b2.pageContext.dimensions ? b2.pageContext.dimensions : x.PC;
9
- return S && S === x.PHONE && (z.value = "top"), o(() => {
10
- i(() => {
11
- C(null, b2.pageContext, b2.configure, "afterFormLoad", { componentRef: P.value, entity: b2.pageContext.entity.data, pageData: b2.pageContext.entity.page });
5
+ import { getClobalComponentSettingByType as b, globalComponentCacheKeyMap as k } from "agilebuilder-ui/src/utils/global-component-setting.ts";
6
+ const P = e({ __name: "form-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
+ const P2 = e2, h = t("left"), j = b(k.FORM);
8
+ if (j) {
9
+ const e3 = JSON.parse(j);
10
+ e3.requireAsteriskPosition && (h.value = e3.requireAsteriskPosition);
11
+ }
12
+ P2.configure.items || (P2.configure.items = []);
13
+ const q = P2.configure.runtime ? P2.configure.runtime : {}, S = q.props ? q.props : {}, _ = t(q.style ? q.style : {}), w = q.class, z = t(q.titleStyle ? q.titleStyle : {}), O = t(S.labelPosition), R = t(null), A = P2.pageContext && P2.pageContext.dimensions ? P2.pageContext.dimensions : x.PC;
14
+ return A && A === x.PHONE && (O.value = "top"), i(() => {
15
+ o(() => {
16
+ C(null, P2.pageContext, P2.configure, "afterFormLoad", { componentRef: R.value, entity: P2.pageContext.entity.data, pageData: P2.pageContext.entity.page });
12
17
  });
13
- }), (t2, o2) => {
14
- const i2 = n("el-form");
15
- return s(), l("div", null, [a(i2, { ref_key: "thisRef", ref: P, "label-width": p(j).labelWidth, "label-position": z.value, size: p(j).componentSize, style: u(_.value), class: r(p(k)) }, { default: f(() => [p(j).formTitle ? (s(), l("div", { key: 0, class: "amb-widget-form-title", style: u(w.value) }, g(p(j).formTitle), 5)) : m("", true), (s(true), l(c, null, d(e2.configure.items, (t3, o3) => (s(), y(v, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
18
+ }), (t2, i2) => {
19
+ const o2 = s("el-form");
20
+ return l(), n("div", null, [r(o2, { ref_key: "thisRef", ref: R, "label-width": p(S).labelWidth, "label-position": O.value, size: p(S).componentSize, "require-asterisk-position": h.value, style: u(_.value), class: a(p(w)) }, { default: f(() => [p(S).formTitle ? (l(), n("div", { key: 0, class: "amb-widget-form-title", style: u(z.value) }, g(p(S).formTitle), 5)) : m("", true), (l(true), n(c, null, d(e2.configure.items, (t3, i3) => (l(), y(v, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "require-asterisk-position", "style", "class"])]);
16
21
  };
17
22
  } });
18
23
  export {
19
- b as default
24
+ P as default
20
25
  };
@@ -3,27 +3,27 @@ import { setTableEvents as c, gridSelectRecord as p, gridSelectAllRecords as d,
3
3
  import { caculateShowCondition as w, setVariableValue as T, getVariableValue as x, getSizeConfig as C } from "../../../../utils/page-helper-util.js";
4
4
  import { getModelFields as D, getDefaultValue as y } from "../../../../utils/page-init-util.js";
5
5
  import P from "../../../../utils/eventBus.js";
6
- import { popupToPage as R, getOperationButtons as I } from "../../../../utils/table-utils.js";
6
+ import { popupToPage as I, getOperationButtons as R } from "../../../../utils/table-utils.js";
7
7
  import { getListCode as O, getBaseUrl as _ } from "../../../../utils/common-util.js";
8
8
  import { getAdditionalParamMap as k } from "../../../../utils/events/standard-event.js";
9
9
  import { getRowStyleUtil as A, getCellStyleUtil as M, getHeaderCellStyleUtil as E } from "../../chart/table/chart-table-util.js";
10
- const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: F2, emit: $ }) {
10
+ const N = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(e2, { expose: N2, emit: F }) {
11
11
  var _a;
12
- const j = e2, z = j.pageContext;
13
- let N = j.configure;
14
- const V = j.configure.runtime ? j.configure.runtime : {};
15
- z.isTest ? V.value = j.configure.runtime ? j.configure.runtime : {} : z.tableRuntimes && z.tableRuntimes[N.uuid] && (N = JSON.parse(z.tableRuntimes[N.uuid].configure), V.value = N.runtime ? N.runtime : {});
16
- const G = O(z.code, z.version, N.uuid), H = z.entity.data, L = N.code ? N.code : G, U = k(z), B = V && V.events ? V.events : [], q = t([]), J = z.superGridItems, K = J ? J[N.uuid] : null, Q = V.style, W = V.class, X = j.pageContext.entity ? j.pageContext.entity : {};
17
- let Y = D(j.configure, L), Z = _(z.backendUrl, z.isTest);
12
+ const $ = e2, j = $.pageContext;
13
+ let z = $.configure;
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 = O(j.code, j.version, z.uuid), H = j.entity.data, L = z.code ? z.code : G, U = k(j), B = V && V.events ? V.events : [], q = t([]), J = j.superGridItems, K = J ? J[z.uuid] : null, Q = V.style, W = V.class, X = $.pageContext.entity ? $.pageContext.entity : {};
17
+ let Y = D($.configure, L), Z = _(j.backendUrl, j.isTest);
18
18
  Z || (Z = window.$vueApp.config.globalProperties.baseURL);
19
19
  const ee = t(false);
20
20
  let te = t(0);
21
- const ne = (_a = N.props) == null ? void 0 : _a.dataOrigin.principalLinkage, oe = t({}), le = $;
21
+ const ne = (_a = z.props) == null ? void 0 : _a.dataOrigin.principalLinkage, oe = t({}), le = F;
22
22
  oe.value = function() {
23
23
  var _a2, _b, _c, _d;
24
- const e3 = { title: (N == null ? void 0 : N.title) || null, isSql: true, subTableData: null, rowKeyProp: ne, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: z.code, pageVersion: z.version, pageContext: z, configureObj: N, showPageArea: false, showRowForm: false, showOverflowTooltip: (_b = (_a2 = N == null ? void 0 : N.props) == null ? void 0 : _a2.otherSettings) == null ? void 0 : _b.showOverflowTooltip, backendUrl: Z, cellStyleRender: He, rowStyleRender: Ge, titleStyleRender: Le, allEditable: (_d = (_c = N.props) == null ? void 0 : _c.base) == null ? void 0 : _d.allEditable };
25
- return Q && (e3.tableStyle = Q), W && (e3.tableClass = W), N.props && N.props.base && true === N.props.base.subPaging ? e3.showPageArea = true : e3.showPageArea = false, N.props.base.showRowForm && (e3.showRowForm = N.props.base.showRowForm), function(e4) {
26
- const t2 = N.props ? N.props.dataOrigin : {};
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) {
26
+ const t2 = z.props ? z.props.dataOrigin : {};
27
27
  if (t2.treeTable) {
28
28
  let n2;
29
29
  const o2 = t2.rowKey;
@@ -41,19 +41,19 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
41
41
  ie.value && (oe.value.subTableData = null, ie.value.reloadSubTableData(G));
42
42
  }
43
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 = G, t2.extraParam.beanName = z.beanName, t2.extraParam.subtableSetting = N.props && N.props.otherSettings ? JSON.stringify(N.props.otherSettings) : null, t2.extraParam.additionalParamMap = U, t2.extraParam.entityMap = z.entity.data, t2.extraParam.contextMap = z.entity.context, t2.extraParam.taskMap = z.entity.task, !(N.props && N.props.base && N.props.base.showOperation)) {
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 = 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
- t2.showOperationButton = !(!N.props || !N.props.base) && N.props.base.showOperation, t2.isPdfEditor = false, t2.tableRecordMaxNum = N.props && N.props.otherSettings ? N.props.otherSettings.tableRecordMaxNum : null;
49
- let n2 = C(z, N);
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 = C(j, z);
50
50
  n2 && n2.fixHeight && (t2.formSetHeight = n2.fixHeight), n2 && n2.maxHeight && (t2.formSetMaxHeight = n2.maxHeight), t2.validateEitConditions = Ue;
51
51
  }
52
52
  function re() {
53
- if (N.props && N.props.otherSettings) {
54
- if (N.props.otherSettings.sourceQueryTableData && N.props.otherSettings.timeToInitializeSubTable && N.props.otherSettings.timeToInitializeSubTable.length > 0) {
53
+ if (z.props && z.props.otherSettings) {
54
+ if (z.props.otherSettings.sourceQueryTableData && z.props.otherSettings.timeToInitializeSubTable && z.props.otherSettings.timeToInitializeSubTable.length > 0) {
55
55
  let e3 = false;
56
- if (-1 !== N.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !H.id && !H.ID), -1 !== N.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
56
+ if (-1 !== z.props.otherSettings.timeToInitializeSubTable.indexOf("create") && (e3 = !H.id && !H.ID), -1 !== z.props.otherSettings.timeToInitializeSubTable.indexOf("noData")) {
57
57
  const t2 = H[L];
58
58
  (!t2 || t2.length <= 0) && (e3 = true);
59
59
  }
@@ -63,7 +63,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
63
63
  }
64
64
  }
65
65
  function se() {
66
- return z.entity.data;
66
+ return j.entity.data;
67
67
  }
68
68
  function ce() {
69
69
  return x(X, Y);
@@ -77,7 +77,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
77
77
  function be(e3) {
78
78
  e3 || (e3 = oe.value), function(e4) {
79
79
  e4 || (e4 = oe.value);
80
- const t3 = z.fieldPermissionMap, n2 = z.actionPermissionMap;
80
+ const t3 = j.fieldPermissionMap, n2 = j.actionPermissionMap;
81
81
  if (t3 && null != t3) {
82
82
  let n3 = t3.get(L);
83
83
  if (!n3) {
@@ -92,7 +92,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
92
92
  }
93
93
  e4.operations || (e4.operations = {});
94
94
  const o2 = function() {
95
- let e5 = [], t4 = w(j.pageContext, N.props.base.showOperationCondition);
95
+ let e5 = [], t4 = w($.pageContext, z.props.base.showOperationCondition);
96
96
  if (t4 && Se(null, null, null, null, null, true, "canAdd")) {
97
97
  const t5 = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: true, size: "mini", permission: "true" }, onClick: Ce, isShow: we, isStandard: true };
98
98
  e5.push(t5);
@@ -101,18 +101,18 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
101
101
  const t5 = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: true, size: "mini", permission: "true" }, onClick: De, isShow: xe, isStandard: true };
102
102
  e5.push(t5);
103
103
  }
104
- return I(z, N, e5, ve), e5;
104
+ return R(j, z, e5, ve), e5;
105
105
  }();
106
106
  e4.operations.operation = o2, e4.subTableCanAdd = Se(null, null, null, null, null, true, "canAdd"), e4.subTableCanDelete = Se(null, null, null, null, null, true, "canDelete");
107
- }(e3), c(e3, B, z, N);
108
- const t2 = z.customEvents;
107
+ }(e3), c(e3, B, j, z);
108
+ const t2 = j.customEvents;
109
109
  t2 && (e3.eventCallBack = t2), ee.value = true, ge();
110
110
  }
111
111
  function ge() {
112
- z.tableUuids || (z.tableUuids = []), z.tableUuids.indexOf(N.uuid) < 0 && z.tableUuids.push(N.uuid);
112
+ j.tableUuids || (j.tableUuids = []), j.tableUuids.indexOf(z.uuid) < 0 && j.tableUuids.push(z.uuid);
113
113
  }
114
114
  n(() => {
115
- const e3 = N.uuid, t2 = z.subTableWatchProps;
115
+ const e3 = z.uuid, t2 = j.subTableWatchProps;
116
116
  P.$on("_refreshSubTable_" + e3, (n2) => {
117
117
  const o2 = n2.propName;
118
118
  if (t2 && t2[e3] && t2[e3].length > 0) {
@@ -123,7 +123,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
123
123
  }), P.$on("_refreshChildData_" + e3, (e4) => {
124
124
  !function(e5) {
125
125
  Ve(e5), de = setTimeout(() => {
126
- ie.value && (ie.value.refreshChildData(G, e5, N.props && N.props.base && true === N.props.base.subPaging), oe.value.extraParam.entityMap = z.entity.data);
126
+ ie.value && (ie.value.refreshChildData(G, e5, z.props && z.props.base && true === z.props.base.subPaging), oe.value.extraParam.entityMap = j.entity.data);
127
127
  }, 10);
128
128
  }(e4);
129
129
  }), P.$on(G + "-pickFileDone", (e4) => {
@@ -133,7 +133,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
133
133
  }), oe.value && oe.value.configureObj.props.base && oe.value.configureObj.props.base.isSafeDelete && le("setSafeDeleteTableCode", oe.value.extraParam.tableName);
134
134
  }), o(() => {
135
135
  pe && clearTimeout(pe), de && clearTimeout(de);
136
- const e3 = N.uuid;
136
+ const e3 = z.uuid;
137
137
  P.$off("_refreshSubTable_" + e3), P.$off("_refreshSubTableHandle_" + e3), P.$off("_refreshChildData_" + e3), P.$off(G + "-pickFileDone"), P.$off(G + "-scanDone");
138
138
  });
139
139
  const me = t({});
@@ -142,13 +142,13 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
142
142
  return me.value[e3.uuid] = e3, he;
143
143
  }
144
144
  function he(e3, t2, n2, o2, l2, i2) {
145
- const a2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: i2, id: n2.ID ? n2.ID : n2.id }, u2 = me.value[i2.sourceButton.uuid], r2 = N;
146
- u2.props.base.tableUuid = r2.uuid, S(null, z, u2, "click", a2);
145
+ const a2 = { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2, button: i2, id: n2.ID ? n2.ID : n2.id }, u2 = me.value[i2.sourceButton.uuid], r2 = z;
146
+ u2.props.base.tableUuid = r2.uuid, S(null, j, u2, "click", a2);
147
147
  }
148
148
  function Se(e3, t2, n2, o2, l2, i2, a2) {
149
149
  a2 || (a2 = "canAdd");
150
- if (!w(j.pageContext, N.props.base.showOperationCondition)) return false;
151
- const u2 = z.fieldPermissionMap, r2 = z.actionPermissionMap;
150
+ if (!w($.pageContext, z.props.base.showOperationCondition)) return false;
151
+ const u2 = j.fieldPermissionMap, r2 = j.actionPermissionMap;
152
152
  let s2 = true;
153
153
  if (u2 && null !== u2) {
154
154
  const e4 = u2.get("all_fields");
@@ -162,10 +162,10 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
162
162
  }
163
163
  function we(e3, t2, n2, o2, l2, i2) {
164
164
  let a2 = Se(0, 0, 0, 0, 0, 0, "canAdd");
165
- return true === a2 && (a2 = w(j.pageContext, N.props.base.showAddBtnCondition, n2)), a2;
165
+ return true === a2 && (a2 = w($.pageContext, z.props.base.showAddBtnCondition, n2)), a2;
166
166
  }
167
167
  function Te(e3, t2, n2, o2, l2, i2) {
168
- const a2 = z.fieldPermissionMap, u2 = z.actionPermissionMap;
168
+ const a2 = j.fieldPermissionMap, u2 = j.actionPermissionMap;
169
169
  let r2 = true;
170
170
  if (a2 && null !== a2) {
171
171
  const e4 = a2.get("all_fields");
@@ -186,7 +186,7 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
186
186
  }
187
187
  function xe(e3, t2, n2, o2, l2, i2) {
188
188
  let a2 = Te(0, 0, n2, 0, 0, i2);
189
- return true === a2 && (a2 = w(j.pageContext, N.props.base.showDeleteBtnCondition, n2)), a2;
189
+ return true === a2 && (a2 = w($.pageContext, z.props.base.showDeleteBtnCondition, n2)), a2;
190
190
  }
191
191
  function Ce(e3, t2, n2, o2, l2) {
192
192
  ie.value.createRow(G, {}, { getDefaultValueFunc: y }, { originalValue: e3, formatValue: t2, row: n2, column: o2, rowIndex: l2 }).then(() => {
@@ -200,70 +200,70 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
200
200
  T(X, Y, e3);
201
201
  }
202
202
  function Pe(e3) {
203
- z.subTablePageInfo || (z.subTablePageInfo = {}), z.subTablePageInfo[L] || (z.subTablePageInfo[L] = {}), z.subTablePageInfo[L].title = N.title ? N.title : N.code, z.subTablePageInfo[L].pageSize = e3;
203
+ 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;
204
204
  }
205
- function Re(e3) {
205
+ function Ie(e3) {
206
206
  const t2 = e3.key, n2 = e3.value;
207
- z.selectOptions || (z.selectOptions = {}), z.selectOptions[t2] = n2;
207
+ j.selectOptions || (j.selectOptions = {}), j.selectOptions[t2] = n2;
208
208
  }
209
- function Ie(e3) {
210
- const t2 = z.code + "_";
209
+ function Re(e3) {
210
+ const t2 = j.code + "_";
211
211
  P.$emit(t2 + "prohibit-edit", e3);
212
212
  }
213
213
  function Oe(e3) {
214
- const t2 = z.entity.data;
214
+ const t2 = j.entity.data;
215
215
  if (e3) for (const n2 in e3) t2[n2] = e3[n2];
216
216
  }
217
217
  function _e(e3, t2) {
218
218
  if (void 0 !== t2) {
219
219
  q.value = e3;
220
- p(z, N, { selection: e3, row: t2 });
220
+ p(j, z, { selection: e3, row: t2 });
221
221
  }
222
222
  }
223
223
  function ke(e3) {
224
224
  q.value = e3;
225
- d(z, N, { selection: e3 });
225
+ d(j, z, { selection: e3 });
226
226
  }
227
227
  function Ae(e3) {
228
- f(z, N, { newSelection: e3 });
228
+ f(j, z, { newSelection: e3 });
229
229
  }
230
230
  function Me(e3, t2, n2, o2) {
231
- b(z, N, { row: e3, column: t2, cell: n2, event: o2 });
231
+ b(j, z, { row: e3, column: t2, cell: n2, event: o2 });
232
232
  }
233
233
  function Ee(e3, t2, n2, o2) {
234
- g(z, N, { row: e3, column: t2, cell: n2, event: o2 });
234
+ g(j, z, { row: e3, column: t2, cell: n2, event: o2 });
235
235
  }
236
- function Fe(e3, t2, n2) {
237
- m(z, N, { row: e3, column: t2, event: n2 });
236
+ function Ne(e3, t2, n2) {
237
+ m(j, z, { row: e3, column: t2, event: n2 });
238
238
  }
239
- function $e(e3, t2, n2) {
240
- v(z, N, { row: e3, column: t2, event: n2 });
239
+ function Fe(e3, t2, n2) {
240
+ v(j, z, { row: e3, column: t2, event: n2 });
241
241
  }
242
- function je(e3, t2) {
243
- h(z, N, { column: e3, event: t2 });
242
+ function $e(e3, t2) {
243
+ h(j, z, { column: e3, event: t2 });
244
244
  }
245
- function ze(e3) {
246
- z.entity.data = e3;
245
+ function je(e3) {
246
+ j.entity.data = e3;
247
247
  }
248
- function Ne() {
248
+ function ze() {
249
249
  return x(X, Y);
250
250
  }
251
251
  function Ve(e3) {
252
252
  return T(X, Y, e3);
253
253
  }
254
254
  function Ge(e3) {
255
- return A(e3, null, j);
255
+ return A(e3, null, $);
256
256
  }
257
257
  function He(e3) {
258
- return M(e3, e3.cellStyle, j);
258
+ return M(e3, e3.cellStyle, $);
259
259
  }
260
260
  function Le(e3) {
261
- const t2 = e3.titleStyle, n2 = j.configure.style.titleStyle;
262
- return E(e3, { cellTitleStyle: t2, titleStyle: n2 }, j);
261
+ const t2 = e3.titleStyle, n2 = $.configure.style.titleStyle;
262
+ return E(e3, { cellTitleStyle: t2, titleStyle: n2 }, $);
263
263
  }
264
264
  function Ue({ row: e3, editConditions: t2 }) {
265
265
  let n2 = true;
266
- return t2 && t2.length > 0 && (n2 = w(j.pageContext, t2, e3)), n2;
266
+ return t2 && t2.length > 0 && (n2 = w($.pageContext, t2, e3)), n2;
267
267
  }
268
268
  function Be(e3) {
269
269
  var _a2;
@@ -271,8 +271,8 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
271
271
  }
272
272
  return function(e3) {
273
273
  const t2 = re();
274
- t2 ? fe(t2, e3) : (ue(t2, e3), e3.isPageInfo = false, e3.subTableData = Ne(), be(e3));
275
- }(oe.value), F2({ createRow: function() {
274
+ t2 ? fe(t2, e3) : (ue(t2, e3), e3.isPageInfo = false, e3.subTableData = ze(), be(e3));
275
+ }(oe.value), N2({ createRow: function() {
276
276
  return ie.value.createRow(G);
277
277
  }, getSelections: function() {
278
278
  return q.value;
@@ -284,10 +284,10 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
284
284
  }, clearSelections: function() {
285
285
  q.value = [];
286
286
  }, getTableConfigure: function() {
287
- return N;
287
+ return z;
288
288
  }, validatorSunTableListData: function() {
289
289
  return ie.value.validatorSunTableListData();
290
- }, getValue: Ne, setValue: Ve, getTableSelectOptions: function() {
290
+ }, getValue: ze, setValue: Ve, getTableSelectOptions: function() {
291
291
  if (ie.value) return ie.value.getTableSelectOptions(G);
292
292
  }, dynamicControlTableEdit: function(e3, t2, n2) {
293
293
  ie.value && ie.value.dynamicControlTableEdit(e3, t2, n2);
@@ -317,11 +317,14 @@ const F = e({ __name: "sub-table-runtime", props: { pageContext: {}, configure:
317
317
  }, getColumns: function() {
318
318
  var _a2;
319
319
  return (_a2 = ie.value) == null ? void 0 : _a2.getColumns();
320
+ }, scrollToCell: function({ fieldName: e3, rowIndex: t2, pageNum: n2 }) {
321
+ var _a2;
322
+ (_a2 = ie.value) == null ? void 0 : _a2.scrollToCell({ fieldName: e3, rowIndex: t2, pageNum: n2 });
320
323
  } }), (e3, t2) => {
321
324
  const n2 = l("super-grid");
322
- 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(G), settings: s(K), isDialog: s(z).isDialog, onSelect: _e, onSelectAll: ke, onSelectionChange: Ae, onCellClick: Me, onCellDblclick: Ee, onRowClick: Fe, onRowDblclick: $e, onHeaderClick: je, onFnProhibitToEdit: Ie, onChangeGridData: ye, onReloadGrid: fe, onRefresMainTableFields: Oe, onSetSelectOptions: Re, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(R), onChangeFormData: ze }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : r("", true)]);
325
+ 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(G), settings: s(K), isDialog: s(j).isDialog, onSelect: _e, onSelectAll: ke, onSelectionChange: Ae, onCellClick: Me, onCellDblclick: Ee, onRowClick: Ne, onRowDblclick: Fe, onHeaderClick: $e, onFnProhibitToEdit: Re, onChangeGridData: ye, onReloadGrid: fe, onRefresMainTableFields: Oe, onSetSelectOptions: Ie, onChangeRowsPerPage: Pe, onNewOpenGridDialog: s(I), onChangeFormData: je }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : r("", true)]);
323
326
  };
324
327
  } });
325
328
  export {
326
- F as default
329
+ N as default
327
330
  };
@@ -1,84 +1,87 @@
1
- import { defineComponent as e, ref as t, onUnmounted as n, createElementBlock as u, openBlock as o, createBlock as a, createCommentVNode as l, unref as r } from "vue";
1
+ import { defineComponent as e, ref as t, onUnmounted as n, createElementBlock as u, openBlock as l, createBlock as o, createCommentVNode as a, unref as r } from "vue";
2
2
  import i from "./sub-table-runtime.vue.js";
3
3
  import c from "./main-table-runtime.vue.js";
4
4
  const f = e({ __name: "table-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: f2 }) {
5
- const s = e2, g = s.pageContext.pageType, d = t(null), v = s.configure.uuid, S = s.pageContext.superGridItems, p = S ? S[v] : null;
6
- d.value = p ? p.configure ? JSON.parse(p.configure) : null : s.configure;
5
+ const s = e2, g = s.pageContext.pageType, d = t(null), v = s.configure.uuid, p = s.pageContext.superGridItems, S = p ? p[v] : null;
6
+ d.value = S ? S.configure ? JSON.parse(S.configure) : null : s.configure;
7
7
  const T = s.configure.runtime ? s.configure.runtime : {};
8
8
  T.style, T.class;
9
- const C = t(true), b = t(null);
10
- let m = null;
11
- function E(e3) {
9
+ const C = t(true), m = t(null);
10
+ let b = null;
11
+ function x(e3) {
12
12
  s.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES ? s.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES.push(e3) : s.pageContext.entity.data._SAFE_DELETE_TABLE_NAMES = [e3];
13
13
  }
14
14
  return n(() => {
15
- m && clearTimeout(m);
15
+ b && clearTimeout(b);
16
16
  }), f2({ refresh: function(e3, t2, n2, u2) {
17
- if (g && "list" === g) return b.value.refresh(e3, t2, n2, u2);
17
+ if (g && "list" === g) return m.value.refresh(e3, t2, n2, u2);
18
18
  }, createRow: function() {
19
- return b.value.createRow();
19
+ return m.value.createRow();
20
20
  }, clearSelections: function() {
21
- return b.value.clearSelections();
21
+ return m.value.clearSelections();
22
22
  }, getSelections: function() {
23
- return b.value.getSelections();
23
+ return m.value.getSelections();
24
24
  }, getSelectionIds: function() {
25
- return b.value.getSelectionIds();
25
+ return m.value.getSelectionIds();
26
26
  }, getTableConfigure: function() {
27
- return b.value.getTableConfigure();
27
+ return m.value.getTableConfigure();
28
28
  }, isDeleteChange: function(e3) {
29
- g && "list" === g && b.value.isDeleteChange(e3);
29
+ g && "list" === g && m.value.isDeleteChange(e3);
30
30
  }, validatorSunTableListData: function() {
31
- if (g && "form" === g) return b.value.validatorSunTableListData();
31
+ if (g && "form" === g) return m.value.validatorSunTableListData();
32
32
  }, showMobileSearch: function() {
33
- b.value.showMobileSearch();
33
+ m.value.showMobileSearch();
34
34
  }, getTableSelectOptions: function() {
35
- if (b.value) return b.value.getTableSelectOptions();
35
+ if (m.value) return m.value.getTableSelectOptions();
36
36
  }, dynamicControlTableEdit: function(e3, t2, n2) {
37
- b.value && b.value.dynamicControlTableEdit(e3, t2, n2);
37
+ m.value && m.value.dynamicControlTableEdit(e3, t2, n2);
38
38
  }, getTableUuid: function() {
39
39
  return s.configure.uuid;
40
40
  }, doLayout: function(e3) {
41
- b.value && b.value.doLayout(e3);
41
+ m.value && m.value.doLayout(e3);
42
42
  }, changeOperationAddState: function(e3) {
43
- b.value && b.value.changeOperationAddState(e3);
43
+ m.value && m.value.changeOperationAddState(e3);
44
44
  }, scrollTo: function(e3, t2) {
45
45
  var _a;
46
- (_a = b.value) == null ? void 0 : _a.scrollTo(e3, t2);
46
+ (_a = m.value) == null ? void 0 : _a.scrollTo(e3, t2);
47
47
  }, setScrollTop: function(e3) {
48
48
  var _a;
49
- (_a = b.value) == null ? void 0 : _a.setScrollTop(e3);
49
+ (_a = m.value) == null ? void 0 : _a.setScrollTop(e3);
50
50
  }, setScrollLeft: function(e3) {
51
51
  var _a;
52
- (_a = b.value) == null ? void 0 : _a.setScrollLeft(e3);
52
+ (_a = m.value) == null ? void 0 : _a.setScrollLeft(e3);
53
53
  }, getSuperGridRef: function() {
54
54
  var _a;
55
- return (_a = b.value) == null ? void 0 : _a.getSuperGridRef();
55
+ return (_a = m.value) == null ? void 0 : _a.getSuperGridRef();
56
56
  }, getSuperGridTableRef: function() {
57
57
  var _a;
58
- return (_a = b.value) == null ? void 0 : _a.getSuperGridTableRef();
58
+ return (_a = m.value) == null ? void 0 : _a.getSuperGridTableRef();
59
59
  }, setCurrentRowIndex: function(e3) {
60
60
  var _a;
61
- (_a = b.value) == null ? void 0 : _a.setCurrentRowIndex(e3);
61
+ (_a = m.value) == null ? void 0 : _a.setCurrentRowIndex(e3);
62
62
  }, setScrollTopByRowIndex: function(e3) {
63
63
  var _a;
64
- (_a = b.value) == null ? void 0 : _a.setScrollTopByRowIndex(e3);
64
+ (_a = m.value) == null ? void 0 : _a.setScrollTopByRowIndex(e3);
65
65
  }, reloadSubTable: function() {
66
- C.value = false, m = setTimeout(() => {
66
+ C.value = false, b = setTimeout(() => {
67
67
  C.value = true;
68
68
  }, 10);
69
69
  }, getTableData: function() {
70
70
  var _a;
71
- return (_a = b.value) == null ? void 0 : _a.getTableData();
71
+ return (_a = m.value) == null ? void 0 : _a.getTableData();
72
72
  }, addRequiredClass: function(e3, t2, n2) {
73
73
  var _a;
74
- (_a = b.value) == null ? void 0 : _a.addRequiredClass(e3, t2, n2);
74
+ (_a = m.value) == null ? void 0 : _a.addRequiredClass(e3, t2, n2);
75
75
  }, handleSearch: function(e3, t2) {
76
76
  var _a;
77
- (_a = b.value) == null ? void 0 : _a.handleSearch(e3, t2);
77
+ (_a = m.value) == null ? void 0 : _a.handleSearch(e3, t2);
78
78
  }, getColumns: function() {
79
79
  var _a;
80
- return (_a = b.value) == null ? void 0 : _a.getColumns();
81
- } }), (t2, n2) => (o(), u("div", null, [r(g) && "form" === r(g) && C.value ? (o(), a(i, { key: 0, ref_key: "gridRef", ref: b, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"])) : r(g) && "form" === r(g) ? l("", true) : (o(), a(c, { key: 1, ref_key: "gridRef", ref: b, pageContext: e2.pageContext, configure: d.value, onSetSafeDeleteTableCode: E }, null, 8, ["pageContext", "configure"]))]));
80
+ return (_a = m.value) == null ? void 0 : _a.getColumns();
81
+ }, scrollToCell: function({ fieldName: e3, rowIndex: t2, pageNum: n2 }) {
82
+ var _a;
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"]))]));
82
85
  } });
83
86
  export {
84
87
  f as default