super-page-runtime 2.3.19 → 2.3.20-sit2

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 (87) hide show
  1. package/dist/es/components/runtime/utils/anchor-util.d.ts +13 -0
  2. package/dist/es/components/runtime/utils/anchor-util.js +69 -0
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +135 -122
  4. package/dist/es/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
  5. package/dist/es/components/runtime/utils/events/data-backfill-util.js +39 -0
  6. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  7. package/dist/es/components/runtime/utils/events/print-label.js +25 -26
  8. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -0
  9. package/dist/es/components/runtime/utils/events/standard-event.js +605 -549
  10. package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
  11. package/dist/es/components/runtime/utils/page-init-util.js +9 -11
  12. package/dist/es/components/runtime/utils/page-store.d.ts +13 -1
  13. package/dist/es/components/runtime/utils/page-store.js +46 -19
  14. package/dist/es/components/runtime/utils/table-utils.d.ts +2 -0
  15. package/dist/es/components/runtime/utils/table-utils.js +64 -55
  16. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +20 -18
  17. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  18. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  19. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  21. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  23. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  24. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +10 -11
  25. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  27. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  28. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  29. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +93 -98
  30. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +3 -2
  31. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +2 -3
  32. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  33. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  34. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
  35. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +35 -0
  36. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +4 -0
  37. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
  38. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +32 -0
  39. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +4 -0
  40. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  41. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  42. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  43. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  45. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  46. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  47. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
  48. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  49. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  50. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +8 -8
  51. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +176 -156
  52. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
  53. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  54. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  55. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  56. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  57. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +40 -40
  58. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  59. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  60. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +4 -4
  61. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  62. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +37 -38
  63. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -7
  64. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +3 -4
  65. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  66. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
  67. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +4 -5
  68. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  69. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  70. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  71. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  72. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  73. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +37 -41
  74. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +1 -1
  75. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +4 -4
  76. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  77. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  78. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  79. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +22 -13
  80. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  81. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  82. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  83. package/dist/es/components/runtime/views/super-page.vue2.js +173 -173
  84. package/dist/es/i18n/langs/cn.js +1 -1
  85. package/dist/es/i18n/langs/en.js +1 -1
  86. package/dist/es/style.css +79 -78
  87. package/package.json +2 -2
@@ -0,0 +1,27 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ lastFileTask: {
3
+ type: ObjectConstructor;
4
+ default: any;
5
+ };
6
+ backendUrl: {
7
+ type: StringConstructor;
8
+ default: any;
9
+ };
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
+ clickMsg: (...args: any[]) => void;
12
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ lastFileTask: {
14
+ type: ObjectConstructor;
15
+ default: any;
16
+ };
17
+ backendUrl: {
18
+ type: StringConstructor;
19
+ default: any;
20
+ };
21
+ }>> & Readonly<{
22
+ onClickMsg?: (...args: any[]) => any;
23
+ }>, {
24
+ backendUrl: string;
25
+ lastFileTask: Record<string, any>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
27
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { defineComponent as e, resolveComponent as t, createElementBlock as a, createCommentVNode as s, unref as i, openBlock as l, createBlock as n, createElementVNode as r, createVNode as d, withCtx as c, createTextVNode as u, toDisplayString as m } from "vue";
2
+ import "element-plus";
3
+ import k from "./format-file-task-notice-message.vue.js";
4
+ import { useI18n as p } from "vue-i18n";
5
+ const g = { key: 0 }, o = { key: 0 }, T = { key: 0 }, f = { key: 1 }, S = { key: 1 }, y = { key: 0 }, b = e({ __name: "file-task-notice", props: { lastFileTask: { type: Object, default: null }, backendUrl: { type: String, default: null } }, emits: ["clickMsg"], setup(e2, { expose: b2, emit: F }) {
6
+ const { t: P } = p(), v = e2, U = F;
7
+ let M = v.lastFileTask;
8
+ function R() {
9
+ U("clickMsg", v.lastFileTask);
10
+ }
11
+ function _(e3) {
12
+ return e3 ? "Success" === e3 ? P("superPageRuntimeMessage.success") : "Fail" === e3 ? P("superPageRuntimeMessage.fail") : "PartSuccess" === e3 ? P("superPageRuntimeMessage.partSuccess") : void 0 : P("superPageRuntimeMessage.doing");
13
+ }
14
+ function x(e3) {
15
+ return e3.taskState ? "Success" === e3.taskState ? "success" : "Fail" === e3.taskState ? "danger" : "PartSuccess" === e3.taskState ? "warning" : void 0 : "primary";
16
+ }
17
+ function h() {
18
+ let e3 = M.message;
19
+ return e3 || function(e4) {
20
+ if (!e4) return "";
21
+ const t2 = new Date(e4);
22
+ return `${t2.getFullYear()}-${String(t2.getMonth() + 1).padStart(2, "0")}-${String(t2.getDate()).padStart(2, "0")} ${String(t2.getHours()).padStart(2, "0")}:${String(t2.getMinutes()).padStart(2, "0")}`;
23
+ }(M.createdTime) + " " + $() + _(M.taskState);
24
+ }
25
+ function $() {
26
+ return M && M.export ? P("superPageRuntimeMessage.asyncExportType") : P("superPageRuntimeMessage.asyncImportType");
27
+ }
28
+ return b2({}), (p2, b3) => {
29
+ const F2 = t("el-text"), v2 = t("Edit"), U2 = t("el-icon"), C = t("el-link");
30
+ return i(M) && i(M).taskCode ? (l(), a("div", g, [i(M).export ? (l(), a("div", f, ["Success" === i(M).taskState && i(M).serverPath ? (l(), n(C, { key: 0, underline: "always", type: x(i(M)), onClick: b3[1] || (b3[1] = (e3) => R()) }, { default: c(() => [d(k, { message: h(), backendUrl: e2.backendUrl, serverPath: e2.lastFileTask.serverPath, fileName: e2.lastFileTask.fileName, createdTime: e2.lastFileTask.createdTime, endTime: e2.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "serverPath", "fileName", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])) : (l(), a("div", S, [i(M).taskState ? (l(), a("span", y, [r("span", null, [d(F2, { type: x(i(M)) }, { default: c(() => [u(m($() + _(i(M).taskState)), 1)]), _: 1 }, 8, ["type"])]), d(F2, { style: { "padding-left": "5px" } }, { default: c(() => [d(U2, { onClick: b3[2] || (b3[2] = (e3) => R()), title: i(P)("superPageRuntimeMessage.hasReadTip") }, { default: c(() => [d(v2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : s("", true), i(M).taskState && "Success" === i(M).taskState ? s("", true) : (l(), n(k, { key: 1, message: h(), backendUrl: e2.backendUrl, createdTime: e2.lastFileTask.createdTime, endTime: e2.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"]))]))])) : (l(), a("div", o, [i(M).taskState ? (l(), a("span", T, [r("span", null, [d(F2, { type: x(i(M)) }, { default: c(() => [u(m($() + _(i(M).taskState)), 1)]), _: 1 }, 8, ["type"])]), d(F2, { style: { "padding-left": "5px" } }, { default: c(() => [d(U2, { onClick: b3[0] || (b3[0] = (e3) => R()), title: i(P)("superPageRuntimeMessage.hasReadTip") }, { default: c(() => [d(v2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : (l(), n(F2, { key: 1, type: x(i(M)) }, { default: c(() => [d(k, { message: h(), backendUrl: e2.backendUrl, createdTime: e2.lastFileTask.createdTime, endTime: e2.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])), i(M).taskState && "Success" !== i(M).taskState ? (l(), n(k, { key: 2, createdTime: i(M).createdTime, endTime: i(M).modifiedTime, message: h(), backendUrl: e2.backendUrl }, null, 8, ["createdTime", "endTime", "message", "backendUrl"])) : s("", true)]))])) : s("", true);
31
+ };
32
+ } });
33
+ export {
34
+ b as default
35
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./file-task-notice.vue.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,59 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ message: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ createdTime: {
7
+ type: NumberConstructor;
8
+ default: any;
9
+ };
10
+ endTime: {
11
+ type: NumberConstructor;
12
+ default: any;
13
+ };
14
+ serverPath: {
15
+ type: StringConstructor;
16
+ default: any;
17
+ };
18
+ fileName: {
19
+ type: StringConstructor;
20
+ default: any;
21
+ };
22
+ backendUrl: {
23
+ type: StringConstructor;
24
+ default: any;
25
+ };
26
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
27
+ message: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ createdTime: {
32
+ type: NumberConstructor;
33
+ default: any;
34
+ };
35
+ endTime: {
36
+ type: NumberConstructor;
37
+ default: any;
38
+ };
39
+ serverPath: {
40
+ type: StringConstructor;
41
+ default: any;
42
+ };
43
+ fileName: {
44
+ type: StringConstructor;
45
+ default: any;
46
+ };
47
+ backendUrl: {
48
+ type: StringConstructor;
49
+ default: any;
50
+ };
51
+ }>> & Readonly<{}>, {
52
+ backendUrl: string;
53
+ message: boolean;
54
+ createdTime: number;
55
+ endTime: number;
56
+ serverPath: string;
57
+ fileName: string;
58
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
59
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { defineComponent as e, createElementBlock as t, openBlock as i, normalizeStyle as r, createCommentVNode as l, toDisplayString as u, unref as a, Fragment as s, renderList as n } from "vue";
2
+ import "agilebuilder-ui/src/utils/auth";
3
+ import "agilebuilder-ui/src/utils/common-util";
4
+ import "agilebuilder-ui/src/utils/util";
5
+ import "agilebuilder-ui/src/utils/request";
6
+ import "dayjs";
7
+ import "agilebuilder-ui/src/utils/calculator/calculator-util";
8
+ import "../../../utils/global-refs.js";
9
+ import "element-plus";
10
+ import "../../../utils/eventBus.js";
11
+ import "axios";
12
+ import "async-validator";
13
+ import "../../../utils/page-store.js";
14
+ import "agilebuilder-ui/src/utils/i18n-util";
15
+ import { useI18n as o } from "vue-i18n";
16
+ import "../../../utils/events/print-label.js";
17
+ const p = { key: 1 }, d = ["innerHTML"], m = { key: 2 }, g = e({ __name: "format-file-task-notice-message", props: { message: { type: Boolean, default: false }, createdTime: { type: Number, default: null }, endTime: { type: Number, default: null }, serverPath: { type: String, default: null }, fileName: { type: String, default: null }, backendUrl: { type: String, default: null } }, setup(e2) {
18
+ const { t: g2 } = o(), c = e2, f = 0.6 * window.innerHeight;
19
+ function y(e3) {
20
+ if (!e3) return "";
21
+ const t2 = new Date(e3);
22
+ return `${t2.getFullYear()}-${String(t2.getMonth() + 1).padStart(2, "0")}-${String(t2.getDate()).padStart(2, "0")} ${String(t2.getHours()).padStart(2, "0")}:${String(t2.getMinutes()).padStart(2, "0")}:${String(t2.getSeconds()).padStart(2, "0")}`;
23
+ }
24
+ function S() {
25
+ let e3 = c.message;
26
+ return e3 ? e3.split("~~") : [];
27
+ }
28
+ return (o2, c2) => (i(), t("div", { style: r("padding-top: 10px;width: 100%;overflow-y:auto;max-height:" + f + "px;") }, [e2.createdTime ? (i(), t("div", { key: 0, style: r(e2.serverPath ? "padding-top: 10px" : "") }, u(y(e2.createdTime) + a(g2)("superPageRuntimeMessage.startExecute")), 5)) : l("", true), e2.message ? (i(), t("div", p, [(i(true), t(s, null, n(S(), (e3, r2) => (i(), t("div", { key: r2, style: { "padding-top": "10px" }, innerHTML: e3 }, null, 8, d))), 128))])) : l("", true), e2.endTime ? (i(), t("div", m, u(y(e2.endTime) + a(g2)("superPageRuntimeMessage.endExecute")), 1)) : l("", true)], 4));
29
+ } });
30
+ export {
31
+ g as default
32
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./format-file-task-notice-message.vue.js";
2
+ export {
3
+ e as default
4
+ };
@@ -27,7 +27,7 @@ const f = { class: "dialog-footer" }, v = e({ __name: "save-chart-condition-dial
27
27
  p({ showClose: true, type: "success", message: C("superPageRuntimeMessage.successfulDelete") }), $();
28
28
  });
29
29
  var l3;
30
- } }, { default: u(() => [s(y2)]), _: 1 }, 8, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
30
+ } }, { default: u(() => [s(y2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
31
31
  };
32
32
  } });
33
33
  export {
@@ -19,9 +19,9 @@ const V = e({ __name: "card-runtime", props: { pageContext: {}, configure: {} },
19
19
  });
20
20
  }), V2({ test: function() {
21
21
  _.configure.props.title = "teee";
22
- } }), (o2, t2) => {
23
- const i2 = r("el-link");
24
- return s(), l(u(b), { ref_key: "thisRef", ref: z, style: p(u(A)), "data-collapse": String(D.value), class: a(["yx-card-box-view-main", u(B)]) }, c({ default: f(() => [g("div", { class: "yx-card-box-view-context", style: p(u(F)) }, [(s(true), m(y, null, d(e2.configure.items, (o3, t3) => (s(), l(S, { key: o3.uuid, pageContext: e2.pageContext, configure: o3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e2.configure.props.base.tittleShow ? { name: "header", fn: f(() => [g("div", { class: "yx-card-box-view-header", onClick: G }, [g("div", { class: "yx-card-box-view-title", style: p(u(E)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (s(), l(u(h), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : v("", true), x(" " + C(u(j)(e2.configure.props.base.title)), 1)], 4), R.value ? (s(), l(i2, { key: 0, underline: false, icon: D.value ? u(k) : u(w), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : v("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
22
+ } }), (e3, o2) => {
23
+ const t2 = r("el-link");
24
+ return s(), l(u(b), { ref_key: "thisRef", ref: z, style: p(u(A)), "data-collapse": String(D.value), class: a(["yx-card-box-view-main", u(B)]) }, c({ default: f(() => [g("div", { class: "yx-card-box-view-context", style: p(u(F)) }, [(s(true), m(y, null, d(e3.configure.items, (o3, t3) => (s(), l(S, { key: o3.uuid, pageContext: e3.pageContext, configure: o3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: f(() => [g("div", { class: "yx-card-box-view-header", onClick: G }, [g("div", { class: "yx-card-box-view-title", style: p(u(E)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (s(), l(u(h), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : v("", true), x(" " + C(u(j)(e3.configure.props.base.title)), 1)], 4), R.value ? (s(), l(t2, { key: 0, underline: false, icon: D.value ? u(k) : u(w), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : v("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
25
25
  };
26
26
  } });
27
27
  export {
@@ -11,9 +11,9 @@ const _ = e({ __name: "collapse-runtime", props: { pageContext: {}, configure: {
11
11
  o(() => {
12
12
  j(null, _2.pageContext, _2.configure, { componentRef: b.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
13
13
  });
14
- }), (t2, n2) => {
15
- const o2 = l("SuperIcon"), j2 = l("el-collapse-item"), _3 = l("el-collapse");
16
- return u(), i(_3, { ref_key: "thisRef", ref: b, modelValue: a(h), "onUpdate:modelValue": n2[0] || (n2[0] = (e3) => s(h) ? h.value = e3 : null), style: p(a(O)), accordion: a(T), class: r(a(R)) }, { default: c(() => [(u(true), f(g, null, m(e2.configure.items, (t3, n3) => (u(), i(j2, { name: t3.index }, { title: c(() => [d("div", { style: p([a(S), { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (u(), i(o2, { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + v(a(V)(t3.label)), 1)], 4)]), default: c(() => [d("div", null, [(u(true), f(g, null, m(t3.items, (t4, n4) => (u(), i(C, { key: t4.uuid, configure: t4, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "accordion", "class"]);
14
+ }), (e3, t2) => {
15
+ const n2 = l("SuperIcon"), o2 = l("el-collapse-item"), j2 = l("el-collapse");
16
+ return u(), i(j2, { ref_key: "thisRef", ref: b, modelValue: a(h), "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => s(h) ? h.value = e4 : null), style: p(a(O)), accordion: a(T), class: r(a(R)) }, { default: c(() => [(u(true), f(g, null, m(e3.configure.items, (t3, l2) => (u(), i(o2, { name: t3.index }, { title: c(() => [d("div", { style: p([a(S), { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (u(), i(n2, { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + v(a(V)(t3.label)), 1)], 4)]), default: c(() => [d("div", null, [(u(true), f(g, null, m(t3.items, (t4, n3) => (u(), i(C, { key: t4.uuid, configure: t4, pageContext: e3.pageContext }, null, 8, ["configure", "pageContext"]))), 128))])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "accordion", "class"]);
17
17
  };
18
18
  } });
19
19
  export {
@@ -8,9 +8,9 @@ const C = e({ __name: "container-runtime", props: { pageContext: {}, configure:
8
8
  o(() => {
9
9
  d(null, C2.pageContext, C2.configure, { componentRef: _.value, entity: C2.pageContext.entity.data, pageData: C2.pageContext.entity.page });
10
10
  });
11
- }), (t2, n2) => {
12
- const o2 = u("el-aside"), d2 = u("el-main"), C3 = u("el-container");
13
- return i(), l(C3, { ref_key: "thisRef", ref: _ }, { default: r(() => [e2.configure.props.useLeft ? (i(), l(o2, { key: 0, style: g(f(v)) }, { default: r(() => [(i(true), p(c, null, y(e2.configure.leftAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true), a(d2, { style: g(f(j)), class: m(f(R)) }, { default: r(() => [(i(true), p(c, null, y(e2.configure.items, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e2.configure.props.useRight ? (i(), l(o2, { key: 1, style: g(f(h)) }, { default: r(() => [(i(true), p(c, null, y(e2.configure.rightAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true)]), _: 1 }, 512);
11
+ }), (e3, t2) => {
12
+ const n2 = u("el-aside"), o2 = u("el-main"), d2 = u("el-container");
13
+ return i(), l(d2, { ref_key: "thisRef", ref: _ }, { default: r(() => [e3.configure.props.useLeft ? (i(), l(n2, { key: 0, style: g(f(v)) }, { default: r(() => [(i(true), p(c, null, y(e3.configure.leftAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true), a(o2, { style: g(f(j)), class: m(f(R)) }, { default: r(() => [(i(true), p(c, null, y(e3.configure.items, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e3.configure.props.useRight ? (i(), l(n2, { key: 1, style: g(f(h)) }, { default: r(() => [(i(true), p(c, null, y(e3.configure.rightAslides, (t3, n3) => (i(), l(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : s("", true)]), _: 1 }, 512);
14
14
  };
15
15
  } });
16
16
  export {
@@ -19,7 +19,6 @@ const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 },
19
19
  B.value = l2 ?? 0, R(n2 || i2 || false, e3);
20
20
  }
21
21
  } catch (e3) {
22
- console.error(e3);
23
22
  }
24
23
  }, R = (e3, t2) => {
25
24
  var _a;
@@ -56,7 +55,6 @@ const p = e({ __name: "YxAffix", props: { offset: { type: Number, default: 0 },
56
55
  })();
57
56
  b.value = e3, T.value = e3[0], b.value.forEach((e4) => e4.addEventListener("scroll", z)), window.addEventListener("resize", L), S();
58
57
  } catch (e3) {
59
- console.error(e3);
60
58
  }
61
59
  });
62
60
  }, 100);
@@ -15,9 +15,9 @@ const _ = e({ __name: "flex-runtime", props: { pageContext: {}, configure: {} },
15
15
  s(() => {
16
16
  v(null, _2.pageContext, _2.configure, { componentRef: j.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
17
17
  });
18
- }), (t2, n2) => {
19
- const s2 = l("el-col"), C2 = l("el-row");
20
- return o(), i(C2, { ref_key: "thisRef", ref: j, justify: b.value.flexJustify, gutter: b.value.flexGutter, align: b.value.alignItems, style: u([{ display: "flex" }, r(h)]), class: a(r(w)) }, { default: f(() => [(o(true), p(g, null, m(e2.configure.items, (t3, n3) => c((o(), i(s2, { key: t3.uuid, style: u(t3.itemStyle), span: t3.flexSpan }, { default: f(() => [y(d, { pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])]), _: 2 }, 1032, ["style", "span"])), [[x, t3._dynamicShowFlag]])), 128))]), _: 1 }, 8, ["justify", "gutter", "align", "style", "class"]);
18
+ }), (e3, t2) => {
19
+ const n2 = l("el-col"), s2 = l("el-row");
20
+ return o(), i(s2, { ref_key: "thisRef", ref: j, justify: b.value.flexJustify, gutter: b.value.flexGutter, align: b.value.alignItems, style: u([{ display: "flex" }, r(h)]), class: a(r(w)) }, { default: f(() => [(o(true), p(g, null, m(e3.configure.items, (t3, s3) => c((o(), i(n2, { key: t3.uuid, style: u(t3.itemStyle), span: t3.flexSpan }, { default: f(() => [y(d, { pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])]), _: 2 }, 1032, ["style", "span"])), [[x, t3._dynamicShowFlag]])), 128))]), _: 1 }, 8, ["justify", "gutter", "align", "style", "class"]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -10,9 +10,9 @@ const b = e({ __name: "form-runtime", props: { pageContext: {}, configure: {} },
10
10
  i(() => {
11
11
  C(null, b2.pageContext, b2.configure, "afterFormLoad", { componentRef: P.value, entity: b2.pageContext.entity.data, pageData: b2.pageContext.entity.page });
12
12
  });
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"])]);
13
+ }), (e3, t2) => {
14
+ const o2 = n("el-form");
15
+ return s(), l("div", null, [a(o2, { 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(e3.configure.items, (t3, o3) => (s(), y(v, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["label-width", "label-position", "size", "style", "class"])]);
16
16
  };
17
17
  } });
18
18
  export {
@@ -7,7 +7,7 @@ const f = ["src"], p = e({ __name: "iframe-runtime", props: { pageContext: {}, c
7
7
  r(() => {
8
8
  l(null, p2.pageContext, p2.configure, { componentRef: c.value, entity: p2.pageContext.entity.data, pageData: p2.pageContext.entity.page });
9
9
  });
10
- }), (t2, n2) => (o(), i("iframe", { ref_key: "thisRef", ref: c, src: e2.configure.props.src, class: a(["amb-widget-container-iframe", u(x)]), style: s(u(m)) }, null, 14, f));
10
+ }), (e3, t2) => (o(), i("iframe", { ref_key: "thisRef", ref: c, src: e3.configure.props.src, class: a(["amb-widget-container-iframe", u(x)]), style: s(u(m)) }, null, 14, f));
11
11
  } });
12
12
  export {
13
13
  p as default
@@ -86,9 +86,9 @@ const A = e({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} },
86
86
  P.configure.items.forEach((n2) => {
87
87
  e3.includes(n2.code) && t2.push(n2.code);
88
88
  }), w.value = [...new Set(t2)];
89
- } }), (t2, n2) => {
90
- const o2 = i("el-button");
91
- return u(), c(l(x), { ref_key: "thisRef", ref: O, modelValue: j.value, "onUpdate:modelValue": n2[0] || (n2[0] = (e3) => j.value = e3), type: e2.configure.props.cardType, "tab-position": e2.configure.props.tabPosition, style: s(l(B)), class: r([l(z), "runtime-page-container-tabs-view"]), closable: e2.configure.props.closable, "before-leave": S, onTabClick: D, onTabChange: F, onTabRemove: L, onTabAdd: q, onEdit: G }, { default: p(() => [(u(true), f(d, null, m(P.configure.items, (t3, n3) => (u(), c(l(C), { key: n3, label: t3.label, name: t3.code, lazy: !!e2.configure.props.lazy }, { label: p(() => [t3.iconType && t3.iconValue ? (u(), c(l(E), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : g("", true), b("span", { style: s(l(I)) }, y(l(V)(t3.label)), 5)]), default: p(() => [(e2.configure.props.isFullyRendered ?? 1) || t3.code === j.value ? (u(true), f(d, { key: 0 }, m(t3.items, (t4) => (u(), c(T, { key: t4.uuid, pageContext: e2.pageContext, configure: t4 }, null, 8, ["pageContext", "configure"]))), 128)) : g("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e2.configure.props.resetable ? (u(), c(l(C), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e2.configure.props.resetable ? (u(), c(o2, { key: 0, type: "text", circle: "", onClick: v(H, ["stop"]) }, { default: p(() => [h(y(e2.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : g("", true)]), _: 1 })) : g("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
89
+ } }), (e3, t2) => {
90
+ const n2 = i("el-button");
91
+ return u(), c(l(x), { ref_key: "thisRef", ref: O, modelValue: j.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => j.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, style: s(l(B)), class: r([l(z), "runtime-page-container-tabs-view"]), closable: e3.configure.props.closable, "before-leave": S, onTabClick: D, onTabChange: F, onTabRemove: L, onTabAdd: q, onEdit: G }, { default: p(() => [(u(true), f(d, null, m(P.configure.items, (t3, n3) => (u(), c(l(C), { key: n3, label: t3.label, name: t3.code, lazy: !!e3.configure.props.lazy }, { label: p(() => [t3.iconType && t3.iconValue ? (u(), c(l(E), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : g("", true), b("span", { style: s(l(I)) }, y(l(V)(t3.label)), 5)]), default: p(() => [(e3.configure.props.isFullyRendered ?? 1) || t3.code === j.value ? (u(true), f(d, { key: 0 }, m(t3.items, (t4) => (u(), c(T, { key: t4.uuid, pageContext: e3.pageContext, configure: t4 }, null, 8, ["pageContext", "configure"]))), 128)) : g("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e3.configure.props.resetable ? (u(), c(l(C), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e3.configure.props.resetable ? (u(), c(n2, { key: 0, type: "text", circle: "", onClick: v(H, ["stop"]) }, { default: p(() => [h(y(e3.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : g("", true)]), _: 1 })) : g("", true)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
92
92
  };
93
93
  } });
94
94
  export {
@@ -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 l, resolveComponent as o, 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,32 +22,31 @@ 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
- o(() => q.pageContext.entity.data[e3], (e4, t2) => {
35
+ l(() => q.pageContext.entity.data[e3], (e4, t2) => {
37
36
  null != e4 && function() {
38
37
  let e5 = true;
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 + "/dc/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), l(() => 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 = o("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 {
@@ -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, unref as u, createVNode 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 S, rowDblClick as w, headerClick as C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } 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 C, getEventNameByType as y, getEventFuncByType as x, getHandleEvent as D } from "../../../../utils/events/event-util.js";
3
3
  import { getBaseUrl as E, getListCode as T, getRealRestApiPath as O, isWorkflowPage as R, isVariableInvalidValue as k } from "../../../../utils/common-util.js";
4
4
  import { getAdditionalParamMap as I, getSaveFormRequestWithRow as V, standardEvents as j } from "../../../../utils/events/standard-event.js";
5
5
  import { isMobileBrowser as N, isPromise as B } from "agilebuilder-ui/src/utils/common-util";
@@ -59,8 +59,8 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
59
59
  let e3 = ie + "/dsc/commons/list";
60
60
  e3 && (e3 = O(e3, te, ne, J.isTest));
61
61
  return e3;
62
- }(), pe = T(J.code, J.version, K.uuid), de = J.code + "_" + pe, fe = t([]), ge = J.entity.page, me = t({ data: [] }), ve = J.superGridItems, he = ve ? ve[K.uuid] : null, be = t(false), Se = Q;
63
- function we() {
62
+ }(), pe = T(J.code, J.version, K.uuid), de = J.code + "_" + pe, fe = t([]), ge = J.entity.page, me = t({ data: [] }), ve = J.superGridItems, he = ve ? ve[K.uuid] : null, be = t(false), we = Q;
63
+ function Se() {
64
64
  K.props.linkages && K.props.linkages.length > 0 && (K.props.linkages.forEach((e3) => {
65
65
  const t2 = $(e3.fieldName);
66
66
  t2 && t2.length > 1 && le.push(t2[1]);
@@ -244,10 +244,10 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
244
244
  b(J, K, { row: e3, column: t2, cell: n2, event: o2 });
245
245
  }
246
246
  function _e(e3, t2, n2) {
247
- S(J, K, { row: e3, column: t2, event: n2 });
247
+ w(J, K, { row: e3, column: t2, event: n2 });
248
248
  }
249
249
  function Ae(e3, t2, n2) {
250
- w(J, K, { row: e3, column: t2, event: n2 });
250
+ S(J, K, { row: e3, column: t2, event: n2 });
251
251
  }
252
252
  function Ge(e3, t2) {
253
253
  C(J, K, { column: e3, event: t2 });
@@ -283,7 +283,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
283
283
  }
284
284
  n(() => {
285
285
  const e3 = Xe();
286
- 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 }) {
286
+ 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 }) {
287
287
  se.value.closePageDialog({ entity: t2, pageCode: n2, jumpInfo: e4 });
288
288
  }), H.$on(de + "_close-dialog-get-entity", () => {
289
289
  H.$emit(de + "_close-super-dialog");
@@ -291,7 +291,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
291
291
  se.value.pickFileDone(e4);
292
292
  }), H.$on(pe + "-scanDone", (e4) => {
293
293
  se.value.scanDone(e4);
294
- }), re.value.formSetMaxHeight = Be(), re.value && re.value.configureObj.props.base && re.value.configureObj.props.base.isSafeDelete && Se("setSafeDeleteTableCode", re.value.extraParam.tableName);
294
+ }), re.value.formSetMaxHeight = Be(), re.value && re.value.configureObj.props.base && re.value.configureObj.props.base.isSafeDelete && we("setSafeDeleteTableCode", re.value.extraParam.tableName);
295
295
  }), o(() => Y.pageContext.searchFormData, (e3) => {
296
296
  me.value.data = e3;
297
297
  }), o(() => Y.pageContext.entity.data, (e3) => {
@@ -373,7 +373,7 @@ const W = ["id"], q = e({ __name: "main-table-runtime", props: { pageContext: {}
373
373
  return (_a = se.value) == null ? void 0 : _a.getColumns();
374
374
  } }), (e3, t2) => {
375
375
  const n2 = a("super-grid");
376
- return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: Le, onCellDblclick: $e, onRowClick: _e, onRowDblclick: Ae, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: we }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
376
+ return r(), l("div", { ref_key: "tableDivRef", ref: ue, id: u(pe) + "_tableDiv" }, [s(n2, { ref_key: "gridRef", ref: se, url: u(ce), options: re.value, code: u(pe), settings: u(he), "search-form-info": me.value, "list-toolbar-form-data": u(ge), isDialog: u(J).isDialog, onSelect: He, onSelectAll: Ue, onSelectionChange: Me, onCellClick: Le, onCellDblclick: $e, onRowClick: _e, onRowDblclick: Ae, onHeaderClick: Ge, onRefresh: ze, onNewOpenGridDialog: u(F), onCanShowMobileSearch: We, onGridOnmounted: Se }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "isDialog", "onNewOpenGridDialog"])], 8, W);
377
377
  };
378
378
  } });
379
379
  export {