super-page-runtime 2.3.45 → 2.3.46-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 (73) 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 +322 -321
  5. package/dist/es/components/runtime/utils/events/validator-util.js +81 -84
  6. package/dist/es/components/runtime/utils/page-helper-util.js +1 -1
  7. package/dist/es/components/runtime/utils/page-init-util.js +59 -61
  8. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  9. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  10. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  11. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  12. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  13. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  14. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  17. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +8 -8
  19. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  23. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +99 -104
  24. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +12 -10
  25. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +101 -97
  26. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  27. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  28. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  29. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  30. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  31. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +1 -1
  32. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +14 -14
  33. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  34. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  35. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
  36. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
  37. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  38. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +9 -11
  39. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
  40. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -3
  41. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  42. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
  43. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  44. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
  45. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +22 -22
  46. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
  47. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  48. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +6 -8
  49. package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +5 -6
  50. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
  51. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +48 -49
  52. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +4 -6
  53. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +7 -9
  54. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
  55. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
  56. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -9
  57. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  58. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
  59. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  60. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
  61. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  62. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +9 -11
  63. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
  64. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +3 -3
  65. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  66. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  67. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
  68. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  69. package/dist/es/components/runtime/views/super-page-dialog.vue.js +2 -3
  70. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  71. package/dist/es/components/runtime/views/super-page.vue2.js +73 -74
  72. package/dist/es/style.css +78 -78
  73. package/package.json +2 -2
@@ -1,108 +1,108 @@
1
- import { defineComponent as e, ref as o, computed as r, onMounted as n, watch as t, resolveComponent as i, createElementBlock as a, openBlock as u, normalizeClass as p, normalizeStyle as l, unref as s, withDirectives as c, createVNode as g, createBlock as f, createCommentVNode as m, vShow as d, withCtx as h, Fragment as v, renderList as y, h as C } from "vue";
1
+ import { defineComponent as e, ref as o, computed as r, onMounted as t, watch as n, resolveComponent as i, createElementBlock as a, openBlock as u, normalizeClass as l, normalizeStyle as p, unref as s, withDirectives as c, createVNode as g, createBlock as f, createCommentVNode as m, vShow as d, withCtx as h, Fragment as v, renderList as y, h as C } from "vue";
2
2
  import b from "../common/common-chart-header.vue.js";
3
3
  import { getSizeConfig as x, getChartDatasFromPage as O, getValueFromVariable as S, caculateShowCondition as w, isPromise as E, setValueForVariableName as $, updateChartDatasourcesByComponent as T } from "../../../../utils/page-helper-util.js";
4
4
  import { handleChartEvent as j, getCustomFunc as F } from "../../../../utils/events/event-util.js";
5
5
  import k from "./group-column.vue.js";
6
6
  import N from "./normal-column.vue.js";
7
7
  import I from "./table-pageination.vue.js";
8
- import { getSummaryTitleColumn as R, getSummaryDataColumn as H, rowDataToColumn as D, getColumnToRowTableConfig as J, colDataToRow as U, computeFormula as W, getNewColumnConfig as _, summaryStatistics as z, replacePlaceholders as A, getIndexColumn as P, getHeaderCellStyleUtil as V, getRowStyleUtil as G, getCellStyleUtil as K, mergeRowByProperty as L, formatColContent as q } from "./chart-table-util.js";
8
+ import { getSummaryTitleColumn as R, getSummaryDataColumn as H, rowDataToColumn as D, getColumnToRowTableConfig as J, colDataToRow as P, computeFormula as U, getNewColumnConfig as W, summaryStatistics as _, replacePlaceholders as z, getIndexColumn as A, getHeaderCellStyleUtil as V, getRowStyleUtil as G, getCellStyleUtil as K, mergeRowByProperty as L, formatColContent as q } from "./chart-table-util.js";
9
9
  import { deepCopy as B } from "../../../../utils/common-util.js";
10
10
  const M = e({ __name: "table-runtime", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, setup(e2, { expose: M2 }) {
11
11
  var _a;
12
- const Q = e2, X = Q.configure.runtime ? Q.configure.runtime : {}, Y = X.style, Z = X.class, ee = X.dataConfig, oe = X.headerInfo ? X.headerInfo : {}, re = o(null), ne = o(X.props.isEnableGroupHeader), te = o([]), ie = o([]), ae = o([]), ue = o([]), pe = o({}), le = o(false), se = o({}), ce = o({}), ge = o({}), fe = [], me = o({}), de = o({}), he = o(null), ve = r(() => ne.value ? ue.value.filter((e3) => !e3.isLeaf || De(pe[e3.columnUuid])) : ie.value.filter((e3) => De(e3))), ye = o(0);
13
- let Ce = [];
12
+ const Q = e2, X = Q.configure.runtime ? Q.configure.runtime : {}, Y = X.style, Z = X.class, ee = X.dataConfig, oe = X.headerInfo ? X.headerInfo : {}, re = o(null), te = o(X.props.isEnableGroupHeader), ne = o([]), ie = o([]), ae = o([]), ue = o([]), le = o({}), pe = o(false), se = o({}), ce = o({}), ge = o({}), fe = [], me = o({}), de = o({}), he = o(null), ve = o(null), ye = r(() => te.value ? ue.value.filter((e3) => !e3.isLeaf || Je(le[e3.columnUuid])) : ie.value.filter((e3) => Je(e3))), Ce = o(0);
13
+ let be = [];
14
14
  if (!Q.configure.props.modelCustom) {
15
- if (ne.value) {
15
+ if (te.value) {
16
16
  const e3 = [];
17
17
  Q.configure.props.groupHeaders.forEach((o2) => {
18
18
  o2.parentUuid || e3.push(o2);
19
19
  }), e3.sort((e4, o2) => e4.displayOrder - o2.displayOrder), ue.value = e3, function() {
20
20
  if (Q.configure.props.base.showIndex) {
21
21
  ue.value.unshift({ columnUuid: "$index", displayOrder: 0, isLeaf: true, prop: "$index", titleText: "序号", uuid: "$index" });
22
- const e4 = P();
23
- e4 && (pe.value.$index = e4);
22
+ const e4 = A();
23
+ e4 && (le.value.$index = e4);
24
24
  }
25
25
  }();
26
26
  } else ie.value = Q.configure.items;
27
27
  (_a = Q.configure.items) == null ? void 0 : _a.forEach((e3) => {
28
- pe.value[e3.uuid] = e3, Object.keys(e3.style).length > 0 && (me.value[e3.props.base.prop] = { cellStyle: e3.style, titleStyle: e3.titleStyle }), e3.formula && "" !== e3.formula.trim() && (de.value[e3.props.base.prop] = e3.formula);
28
+ le.value[e3.uuid] = e3, Object.keys(e3.style).length > 0 && (me.value[e3.props.base.prop] = { cellStyle: e3.style, titleStyle: e3.titleStyle }), e3.formula && "" !== e3.formula.trim() && (de.value[e3.props.base.prop] = e3.formula);
29
29
  });
30
30
  }
31
- le.value = Q.configure.props.base.showSummary, (le.value || Q.configure.props.highOrder.groupField && Q.configure.props.highOrder.groupField.length > 0) && (se.value = R(Q.configure), le.value && (ce.value = H(Q.configure, "table")), Q.configure.props.highOrder.groupField && Q.configure.props.highOrder.groupField.length > 0 && (ge.value = H(Q.configure, "group")));
32
- let be = 300, xe = x(Q.pageContext, Q.configure);
33
- function Oe(e3) {
31
+ pe.value = Q.configure.props.base.showSummary, (pe.value || Q.configure.props.highOrder.groupField && Q.configure.props.highOrder.groupField.length > 0) && (se.value = R(Q.configure), pe.value && (ce.value = H(Q.configure, "table")), Q.configure.props.highOrder.groupField && Q.configure.props.highOrder.groupField.length > 0 && (ge.value = H(Q.configure, "group")));
32
+ let xe = 300, Oe = x(Q.pageContext, Q.configure);
33
+ function Se(e3) {
34
34
  if (e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender) return void (e3.hasRender = true);
35
- const o2 = ne.value ? ue.value : ve;
35
+ const o2 = te.value ? ue.value : ye;
36
36
  j(Q.pageContext, Q.configure, "beforeUpdateChart", o2, { resultData: e3 }), function(e4) {
37
37
  var _a2;
38
- Je(e4), "service" === Q.configure.props.dataOrigin.dataSource && e4.result ? Ce = e4.result[Q.configure.props.dataOrigin.service.serviceDataField] : "variable" === Q.configure.props.dataOrigin.dataSource && (Ce = S(Q.pageContext.entity, Q.configure.props.dataOrigin.variable));
39
- if (Ce) if (((_a2 = Q.configure.props) == null ? void 0 : _a2.dataOrigin.limitEnable) && Q.configure.props.dataOrigin.itemNumSource) {
38
+ Pe(e4), "service" === Q.configure.props.dataOrigin.dataSource && e4.result ? be = e4.result[Q.configure.props.dataOrigin.service.serviceDataField] : "variable" === Q.configure.props.dataOrigin.dataSource && (be = S(Q.pageContext.entity, Q.configure.props.dataOrigin.variable));
39
+ if (be) if (((_a2 = Q.configure.props) == null ? void 0 : _a2.dataOrigin.limitEnable) && Q.configure.props.dataOrigin.itemNumSource) {
40
40
  let o3 = 10;
41
41
  if ("fix" === Q.configure.props.dataOrigin.itemNumSource) o3 = Q.configure.props.dataOrigin.itemNumFix;
42
42
  else if ("variable" === Q.configure.props.dataOrigin.itemNumSource) {
43
43
  o3 = Number(S(Q.pageContext.entity, Q.configure.props.dataOrigin.itemNumVariable));
44
- const r2 = Q.configure.props.dataOrigin.itemNumVariable.match(/\${(.*?)}/), n2 = r2 ? r2[1].split(".") : [], i2 = JSON.parse(JSON.stringify(Ce));
45
- t(() => n2.reduce((e5, o4) => e5[o4], Q.pageContext.entity), (o4) => {
46
- Se(o4, i2, e4);
44
+ const r2 = Q.configure.props.dataOrigin.itemNumVariable.match(/\${(.*?)}/), t2 = r2 ? r2[1].split(".") : [], i2 = JSON.parse(JSON.stringify(be));
45
+ n(() => t2.reduce((e5, o4) => e5[o4], Q.pageContext.entity), (o4) => {
46
+ we(o4, i2, e4);
47
47
  });
48
48
  }
49
- Se(o3, Ce, e4);
50
- } else we(Ce, e4);
49
+ we(o3, be, e4);
50
+ } else Ee(be, e4);
51
51
  }(e3), e3.hasRender = true, ee && (ee.autoRefresh = false), j(Q.pageContext, Q.configure, "afterUpdateChart", o2, { resultData: e3 });
52
52
  }
53
- function Se(e3, o2, r2) {
53
+ function we(e3, o2, r2) {
54
54
  var _a2;
55
55
  if (e3 && e3 < o2.length) {
56
- let n2 = [];
57
- if (((_a2 = Q.configure.props.dataOrigin.limitCountColumns) == null ? void 0 : _a2.length) > 0) n2 = Q.configure.props.dataOrigin.limitCountColumns;
56
+ let t2 = [];
57
+ if (((_a2 = Q.configure.props.dataOrigin.limitCountColumns) == null ? void 0 : _a2.length) > 0) t2 = Q.configure.props.dataOrigin.limitCountColumns;
58
58
  else {
59
59
  ie.value.filter((e4) => "number" === e4.props.base.dataType).forEach((e4) => {
60
- n2.push(e4.props.base.prop);
60
+ t2.push(e4.props.base.prop);
61
61
  });
62
62
  }
63
- if ((n2 == null ? void 0 : n2.length) > 0) {
64
- const r3 = o2.slice(e3 - 1, o2.length), t2 = {};
63
+ if ((t2 == null ? void 0 : t2.length) > 0) {
64
+ const r3 = o2.slice(e3 - 1, o2.length), n2 = {};
65
65
  let i2 = ie.value[0].props.base.prop;
66
66
  "$index" === i2 && (i2 = ie.value[1].props.base.prop), r3.forEach((e4) => {
67
- n2.forEach((o3) => {
68
- void 0 === t2[o3] && (t2[o3] = 0), t2[o3] = t2[o3] + e4[o3];
67
+ t2.forEach((o3) => {
68
+ void 0 === n2[o3] && (n2[o3] = 0), n2[o3] = n2[o3] + e4[o3];
69
69
  });
70
- }), o2.length > e3 && (o2 = o2.slice(0, e3 - 1)), t2[i2] = Q.configure.props.dataOrigin.overItemAlias, o2.push(t2);
70
+ }), o2.length > e3 && (o2 = o2.slice(0, e3 - 1)), n2[i2] = Q.configure.props.dataOrigin.overItemAlias, o2.push(n2);
71
71
  }
72
- we(o2, r2);
73
- } else we(o2, r2);
72
+ Ee(o2, r2);
73
+ } else Ee(o2, r2);
74
74
  }
75
- function we(e3, o2) {
75
+ function Ee(e3, o2) {
76
76
  var _a2, _b, _c, _d, _e, _f, _g;
77
- if (Ee("rowToColumn")) {
78
- if (ae.value = JSON.parse(JSON.stringify(Q.configure.items)), e3 = D(e3, Q.configure, ae.value), !ne.value) {
77
+ if ($e("rowToColumn")) {
78
+ if (ae.value = JSON.parse(JSON.stringify(Q.configure.items)), e3 = D(e3, Q.configure, ae.value), !te.value) {
79
79
  const o3 = function(e4, o4, r2) {
80
80
  var _a3, _b2;
81
- const n2 = Q.configure.props.dataOrigin.rowToColumn.titleColumns, t2 = Q.configure.props.dataOrigin.rowToColumn.dataColumns, i2 = e4.props.dataOrigin.groupField;
81
+ const t2 = Q.configure.props.dataOrigin.rowToColumn.titleColumns, n2 = Q.configure.props.dataOrigin.rowToColumn.dataColumns, i2 = e4.props.dataOrigin.groupField;
82
82
  if ((!i2 || 0 === i2.length) && r2.length > 0) {
83
- const o5 = [], n3 = _("$GroupColumn", Q.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string");
84
- return ((_b2 = (_a3 = e4.props.dataOrigin) == null ? void 0 : _a3.rowToColumn) == null ? void 0 : _b2.minTitleColumnWidth) && (n3.props.base.minWidth = e4.props.dataOrigin.rowToColumn.minTitleColumnWidth), o5.push(n3), Object.keys(r2[0]).forEach((r3, n4) => {
83
+ const o5 = [], t3 = W("$GroupColumn", Q.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string");
84
+ return ((_b2 = (_a3 = e4.props.dataOrigin) == null ? void 0 : _a3.rowToColumn) == null ? void 0 : _b2.minTitleColumnWidth) && (t3.props.base.minWidth = e4.props.dataOrigin.rowToColumn.minTitleColumnWidth), o5.push(t3), Object.keys(r2[0]).forEach((r3, t4) => {
85
85
  var _a4, _b3, _c2, _d2, _e2, _f2;
86
86
  if ("$GroupColumn" === r3) return;
87
- const t3 = _(r3, r3, n4 + 1, "string");
88
- ((_b3 = (_a4 = e4.props.dataOrigin) == null ? void 0 : _a4.rowToColumn) == null ? void 0 : _b3.minDataColumnWidth) && (t3.props.base.minWidth = e4.props.dataOrigin.rowToColumn.minDataColumnWidth), ((_d2 = (_c2 = e4.props.dataOrigin) == null ? void 0 : _c2.rowToColumn) == null ? void 0 : _d2.cellStyle) && (me.value[t3.props.base.prop] = { cellStyle: (_f2 = (_e2 = e4.props.dataOrigin) == null ? void 0 : _e2.rowToColumn) == null ? void 0 : _f2.cellStyle }), o5.push(t3);
87
+ const n3 = W(r3, r3, t4 + 1, "string");
88
+ ((_b3 = (_a4 = e4.props.dataOrigin) == null ? void 0 : _a4.rowToColumn) == null ? void 0 : _b3.minDataColumnWidth) && (n3.props.base.minWidth = e4.props.dataOrigin.rowToColumn.minDataColumnWidth), ((_d2 = (_c2 = e4.props.dataOrigin) == null ? void 0 : _c2.rowToColumn) == null ? void 0 : _d2.cellStyle) && (me.value[n3.props.base.prop] = { cellStyle: (_f2 = (_e2 = e4.props.dataOrigin) == null ? void 0 : _e2.rowToColumn) == null ? void 0 : _f2.cellStyle }), o5.push(n3);
89
89
  }), o5;
90
90
  }
91
91
  {
92
- const e5 = [...o4].filter((e6) => !n2.includes(e6.props.base.prop) && !t2.includes(e6.props.base.prop)), i3 = new RegExp(`(${t2.join("|")})$`), a2 = /* @__PURE__ */ new Set();
92
+ const e5 = [...o4].filter((e6) => !t2.includes(e6.props.base.prop) && !n2.includes(e6.props.base.prop)), i3 = new RegExp(`(${n2.join("|")})$`), a2 = /* @__PURE__ */ new Set();
93
93
  return r2.forEach((e6) => {
94
94
  Object.keys(e6).forEach((e7) => {
95
- if (t2.some((o5) => e7.includes(o5))) {
95
+ if (n2.some((o5) => e7.includes(o5))) {
96
96
  const o5 = e7.split(i3)[0];
97
97
  a2.add(o5);
98
98
  }
99
99
  });
100
100
  }), a2.forEach((o5) => {
101
- t2.forEach((n3) => {
101
+ n2.forEach((t3) => {
102
102
  var _a4;
103
- let t3 = (_a4 = ie.value.find((e6) => e6.props.base.prop === n3)) == null ? void 0 : _a4.props.base.name;
104
- null == t3 && (t3 = "");
105
- const i4 = _(`${o5}${n3}`, `${o5}${t3}`, e5.length + 1, "number" == typeof r2[0][`${o5}${n3}`] ? "number" : "string");
103
+ let n3 = (_a4 = ie.value.find((e6) => e6.props.base.prop === t3)) == null ? void 0 : _a4.props.base.name;
104
+ null == n3 && (n3 = "");
105
+ const i4 = W(`${o5}${t3}`, `${o5}${n3}`, e5.length + 1, "number" == typeof r2[0][`${o5}${t3}`] ? "number" : "string");
106
106
  e5.push(i4);
107
107
  });
108
108
  }), e5;
@@ -110,7 +110,7 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
110
110
  }(Q.configure, ae.value, e3);
111
111
  ie.value = o3;
112
112
  }
113
- } else Ee("columnToRow") && (ne.value || (ie.value = J(Q.configure)), e3 = U(e3, Q.configure));
113
+ } else $e("columnToRow") && (te.value || (ie.value = J(Q.configure)), e3 = P(e3, Q.configure));
114
114
  if ((_b = (_a2 = Q.configure.props) == null ? void 0 : _a2.dataOrigin) == null ? void 0 : _b.dataFormatting) {
115
115
  const o3 = F(Q.pageContext, Q.configure.props.dataOrigin.dataFormatting);
116
116
  if (o3) {
@@ -118,14 +118,19 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
118
118
  r2 && (e3 = r2);
119
119
  }
120
120
  }
121
- if (Object.keys(de.value).length > 0 && e3 && e3.length > 0 && W(de.value, e3, Q.pageContext.entity), ((_c = Q.configure.pageination) == null ? void 0 : _c.enable) ? function(e4) {
122
- "frontend" === Q.configure.pageination.type ? (ye.value = Ce.length, Re(1, Q.configure.pageination.pageSize)) : "backend" === Q.configure.pageination.type && (te.value = Ce, Q.configure.pageination.totalFrom && (ye.value = e4.result[Q.configure.pageination.totalFrom]));
123
- }(o2) : te.value = e3, ((_e = (_d = Q.configure.props) == null ? void 0 : _d.highOrder) == null ? void 0 : _e.groupField) && ((_g = (_f = Q.configure.props) == null ? void 0 : _f.highOrder) == null ? void 0 : _g.groupField.length) > 0) {
121
+ if (Object.keys(de.value).length > 0 && e3 && e3.length > 0 && U(de.value, e3, Q.pageContext.entity), ((_c = Q.configure.pageination) == null ? void 0 : _c.enable) ? function(e4) {
122
+ var _a3;
123
+ if ("frontend" === Q.configure.pageination.type) {
124
+ Ce.value = be.length;
125
+ const e5 = (_a3 = ve.value) == null ? void 0 : _a3.pageSize;
126
+ He(1, e5), ve.value.currentPage = 1;
127
+ } else "backend" === Q.configure.pageination.type && (ne.value = be, Q.configure.pageination.totalFrom && (Ce.value = e4.result[Q.configure.pageination.totalFrom]));
128
+ }(o2) : ne.value = e3, ((_e = (_d = Q.configure.props) == null ? void 0 : _d.highOrder) == null ? void 0 : _e.groupField) && ((_g = (_f = Q.configure.props) == null ? void 0 : _f.highOrder) == null ? void 0 : _g.groupField.length) > 0) {
124
129
  const e4 = Q.configure.props.highOrder.groupField;
125
- te.value = function(e5, o3) {
130
+ ne.value = function(e5, o3) {
126
131
  var _a3, _b2;
127
132
  if (0 === ge.value.length) return e5;
128
- const r2 = [], n2 = (_a3 = Q.configure.items) == null ? void 0 : _a3.filter((e6) => o3.includes(e6.props.base.prop)), t2 = (_b2 = Q.configure.items) == null ? void 0 : _b2.filter((e6) => true === e6.props.base.groupSummary), i2 = {};
133
+ const r2 = [], t2 = (_a3 = Q.configure.items) == null ? void 0 : _a3.filter((e6) => o3.includes(e6.props.base.prop)), n2 = (_b2 = Q.configure.items) == null ? void 0 : _b2.filter((e6) => true === e6.props.base.groupSummary), i2 = {};
129
134
  e5.forEach((e6) => {
130
135
  const r3 = o3.map((o4) => e6[o4]).join("|");
131
136
  i2[r3] || (i2[r3] = []), i2[r3].push(e6);
@@ -133,94 +138,93 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
133
138
  const a2 = Object.values(i2);
134
139
  for (let e6 = 0; e6 < a2.length; e6++) {
135
140
  const o4 = a2[e6], i3 = {};
136
- t2 == null ? void 0 : t2.forEach((e7) => {
137
- const r3 = e7.props.base.prop, n3 = z(ge.value[r3], o4, r3, Q.pageContext, ve.value);
138
- i3[r3] = n3;
139
- }), r2.push(...o4), n2 == null ? void 0 : n2.forEach((e7) => {
141
+ n2 == null ? void 0 : n2.forEach((e7) => {
142
+ const r3 = e7.props.base.prop, t3 = _(ge.value[r3], o4, r3, Q.pageContext, ye.value);
143
+ i3[r3] = t3;
144
+ }), r2.push(...o4), t2 == null ? void 0 : t2.forEach((e7) => {
140
145
  const r3 = e7.props.base.prop;
141
- i3[r3] = A(e7.props.base.summaryTitle, o4[0]);
146
+ i3[r3] = z(e7.props.base.summaryTitle, o4[0]);
142
147
  }), r2.push(i3), fe.push(r2.length - 1);
143
148
  }
144
149
  return r2;
145
- }(te.value, e4);
150
+ }(ne.value, e4);
146
151
  }
147
152
  !function(e4) {
148
153
  if (Q.configure.props.base.showIndex && -1 === e4.findIndex((e5) => "$index" === e5.props.base.prop)) {
149
- const o3 = P();
154
+ const o3 = A();
150
155
  o3 && e4.unshift(o3);
151
156
  }
152
157
  }(ie.value);
153
158
  }
154
- function Ee(e3) {
159
+ function $e(e3) {
155
160
  return Q.configure.props.dataOrigin.transition === e3 && Q.configure.props.dataOrigin[e3].titleColumns && Q.configure.props.dataOrigin[e3].titleColumns.length > 0 && Q.configure.props.dataOrigin[e3].dataColumns && Q.configure.props.dataOrigin[e3].dataColumns.length > 0;
156
161
  }
157
- function $e(e3) {
162
+ function Te(e3) {
158
163
  const o2 = me.value[e3.column.property] ? me.value[e3.column.property].titleStyle : null, r2 = Y == null ? void 0 : Y.titleStyle;
159
164
  return V(e3, { cellTitleStyle: o2, titleStyle: r2 }, Q);
160
165
  }
161
- function Te(e3) {
166
+ function je(e3) {
162
167
  return G(e3, fe, Q);
163
168
  }
164
- function je(e3) {
169
+ function Fe(e3) {
165
170
  const o2 = me.value[e3.column.property] ? me.value[e3.column.property].cellStyle : null;
166
171
  return K(e3, o2, Q);
167
172
  }
168
- xe && xe.fixHeight && (be = xe.fixHeight), xe && xe.maxHeight && (be = xe.maxHeight), be && (be = Number(be + "")), n(() => {
173
+ Oe && Oe.fixHeight && (xe = Oe.fixHeight), Oe && Oe.maxHeight && (xe = Oe.maxHeight), xe && (xe = Number(xe + "")), t(() => {
169
174
  const e3 = O(Q.pageContext, Q.configure);
170
- if (e3) Oe(e3);
175
+ if (e3) Se(e3);
171
176
  else if ("variable" === Q.configure.props.dataOrigin.dataSource) {
172
177
  !function() {
173
178
  const e4 = Q.configure.props.dataOrigin.variable.match(/\${(.*?)}/), o3 = e4 ? e4[1].split(".") : [];
174
- t(() => o3.reduce((e5, o4) => e5[o4], Q.pageContext.entity), (e5) => {
175
- e5 ? Oe(JSON.parse(JSON.stringify(e5))) : (te.value = [], Q.configure.props.modelCustom ? Je(null) : ne.value ? ue.value = Q.configure.props.groupHeaders : ie.value = Q.configure.items);
179
+ n(() => o3.reduce((e5, o4) => e5[o4], Q.pageContext.entity), (e5) => {
180
+ e5 ? Se(JSON.parse(JSON.stringify(e5))) : (ne.value = [], Q.configure.props.modelCustom ? Pe(null) : te.value ? ue.value = Q.configure.props.groupHeaders : ie.value = Q.configure.items);
176
181
  });
177
182
  }();
178
183
  const o2 = S(Q.pageContext.entity, Q.configure.props.dataOrigin.variable);
179
- o2 && we(o2, e3);
184
+ o2 && Ee(o2, e3);
180
185
  }
181
186
  });
182
- const Fe = (e3) => {
183
- const { columns: o2, data: r2 } = e3, n2 = [];
187
+ const ke = (e3) => {
188
+ const { columns: o2, data: r2 } = e3, t2 = [];
184
189
  return o2.forEach((e4, o3) => {
185
190
  if (se.value[e4.property] || "index" === e4.type && se.value.$index) {
186
- let t2 = e4.property;
187
- "index" === e4.type && (t2 = "$index");
188
- const i2 = se.value[t2].label;
189
- return void (n2[o3] = C("div", {}, [A(i2, r2)]));
191
+ let n2 = e4.property;
192
+ "index" === e4.type && (n2 = "$index");
193
+ const i2 = se.value[n2].label;
194
+ t2[o3] = C("div", {}, [z(i2, r2)]);
195
+ } else if (ce.value[e4.property]) {
196
+ const n2 = r2.filter((e5, o4) => !fe.includes(o4));
197
+ t2[o3] = _(ce.value[e4.property], n2, e4.property, Q.pageContext, ye.value);
190
198
  }
191
- if (ce.value[e4.property]) {
192
- const t2 = r2.filter((e5, o4) => !fe.includes(o4));
193
- n2[o3] = z(ce.value[e4.property], t2, e4.property, Q.pageContext, ve.value);
194
- }
195
- }), n2;
199
+ }), t2;
196
200
  };
197
- function ke({ row: e3, column: o2, rowIndex: r2, columnIndex: n2 }) {
198
- const t2 = o2.property, i2 = Q.configure.props.highOrder;
201
+ function Ne({ row: e3, column: o2, rowIndex: r2, columnIndex: t2 }) {
202
+ const n2 = o2.property, i2 = Q.configure.props.highOrder;
199
203
  if (i2.scopeFunc) {
200
- const t3 = F(Q.pageContext, i2.scopeFunc);
201
- if (t3) {
202
- const i3 = t3.apply(t3, [{ tableData: te.value, row: e3, column: o2, rowIndex: r2, columnIndex: n2 }]);
204
+ const n3 = F(Q.pageContext, i2.scopeFunc);
205
+ if (n3) {
206
+ const i3 = n3.apply(n3, [{ tableData: ne.value, row: e3, column: o2, rowIndex: r2, columnIndex: t2 }]);
203
207
  if (i3) return i3;
204
208
  }
205
- } else if (i2 && i2.mergeColumn, i2 && i2.mergeRow && i2.mergeRow.includes(t2)) return L(e3, o2, r2, t2, te.value);
206
- }
207
- function Ne(e3, o2) {
208
- "frontend" === Q.configure.pageination.type ? Re(e3, o2) : He(e3, o2);
209
+ } else if (i2 && i2.mergeColumn, i2 && i2.mergeRow && i2.mergeRow.includes(n2)) return L(e3, o2, r2, n2, ne.value);
209
210
  }
210
211
  function Ie(e3, o2) {
211
- "frontend" === Q.configure.pageination.type ? Re(e3, o2) : He(e3, o2);
212
+ "frontend" === Q.configure.pageination.type ? He(e3, o2) : De(e3, o2);
212
213
  }
213
214
  function Re(e3, o2) {
214
- Ce && (te.value = Ce.slice((e3 - 1) * o2, e3 * o2));
215
+ "frontend" === Q.configure.pageination.type ? He(e3, o2) : De(e3, o2);
215
216
  }
216
217
  function He(e3, o2) {
218
+ be && (ne.value = be.slice((e3 - 1) * o2, e3 * o2));
219
+ }
220
+ function De(e3, o2) {
217
221
  Q.configure.pageination.currentPageSet && $(Q.pageContext.entity, Q.configure.pageination.currentPageSet, e3), Q.configure.pageination.pageSizeSet && $(Q.pageContext.entity, Q.configure.pageination.pageSizeSet, o2), T(Q.pageContext, Q.configure.uuid);
218
222
  }
219
- function De(e3) {
223
+ function Je(e3) {
220
224
  const o2 = e3.showCondition;
221
225
  return w(Q.pageContext, o2);
222
226
  }
223
- function Je(e3) {
227
+ function Pe(e3) {
224
228
  if (Q.configure.props.modelCustom) {
225
229
  const o2 = F(Q.pageContext, Q.configure.props.modelCustom);
226
230
  if (o2) {
@@ -233,19 +237,19 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
233
237
  }
234
238
  function Ue(e3, o2, r2) {
235
239
  e3.forEach((e4) => {
236
- const n2 = e4.props.base.prop, t2 = e4.props.base.name;
237
- let i2 = { name: n2, label: t2, i18nKey: t2 };
240
+ const t2 = e4.props.base.prop, n2 = e4.props.base.name;
241
+ let i2 = { name: t2, label: n2, i18nKey: n2 };
238
242
  e4.children && e4.children.length > 0 && (i2.children = [], Ue(e4.children, i2.children, r2)), e4.props.format && e4.props.format.type && r2.push(e4), o2.push(i2);
239
243
  });
240
244
  }
241
- return M2({ updateChartDatas: Oe, exportChart: function() {
245
+ return M2({ updateChartDatas: Se, exportChart: function() {
242
246
  let e3 = [], o2 = [];
243
- o2 = ne.value ? Q.configure.props.groupHeaders : ve.value;
247
+ o2 = te.value ? Q.configure.props.groupHeaders : ye.value;
244
248
  let r2 = [];
245
249
  Ue(o2, e3, r2);
246
250
  return { isTable: true, dataArr: function(e4) {
247
251
  let o3 = [];
248
- te.value && (o3 = B(te.value), o3.forEach((o4) => {
252
+ ne.value && (o3 = B(ne.value), o3.forEach((o4) => {
249
253
  e4.forEach((e5) => {
250
254
  const r3 = q(o4, e5.props.format, e5, Q.pageContext, Q.configure);
251
255
  o4[e5.props.base.prop] = r3;
@@ -254,8 +258,8 @@ const M = e({ __name: "table-runtime", props: { configure: { type: Object, defau
254
258
  return o3;
255
259
  }(r2), columns: e3, title: oe == null ? void 0 : oe.title };
256
260
  } }), (o2, r2) => {
257
- const n2 = i("el-table");
258
- return u(), a("div", { style: l(s(Y)), class: p([s(Z), "amb-widget-chart amb-widget-flex amb-chart-table"]), ref: "thisRef" }, [c(g(b, { ref_key: "headerRef", ref: re, headerInfo: s(oe), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, s(oe).showHeader || e2.pageContext.showHomepageSearch]]), g(n2, { ref_key: "gridRef", ref: he, data: te.value, style: { width: "100%" }, "max-height": s(be), "header-cell-style": $e, "row-style": Te, "cell-style": je, border: true, "show-summary": le.value, stripe: e2.configure.props.base.stripe, "summary-method": Fe, "span-method": ke }, { default: h(() => [ne.value ? (u(true), a(v, { key: 0 }, y(ue.value, (o3, r3) => (u(), a(v, { key: r3 }, [o3.isLeaf ? (u(), f(N, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: pe.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (u(), f(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: pe.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (u(true), a(v, { key: 1 }, y(ve.value, (o3, r3) => (u(), f(N, { key: r3, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (u(), f(I, { key: 0, configure: e2.configure, "table-data": te.value, total: ye.value, onPageChange: Ne, onPageSizeChange: Ie }, null, 8, ["configure", "table-data", "total"])) : m("", true)], 6);
261
+ const t2 = i("el-table");
262
+ return u(), a("div", { style: p(s(Y)), class: l([s(Z), "amb-widget-chart amb-widget-flex amb-chart-table"]), ref: "thisRef" }, [c(g(b, { ref_key: "headerRef", ref: re, headerInfo: s(oe), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, s(oe).showHeader || e2.pageContext.showHomepageSearch]]), g(t2, { ref_key: "gridRef", ref: he, data: ne.value, style: { width: "100%" }, "max-height": s(xe), "header-cell-style": Te, "row-style": je, "cell-style": Fe, border: true, "show-summary": pe.value, stripe: e2.configure.props.base.stripe, "summary-method": ke, "span-method": Ne }, { default: h(() => [te.value ? (u(true), a(v, { key: 0 }, y(ue.value, (o3, r3) => (u(), a(v, { key: r3 }, [o3.isLeaf ? (u(), f(N, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: le.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (u(), f(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: le.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (u(true), a(v, { key: 1 }, y(ye.value, (o3, r3) => (u(), f(N, { key: r3, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (u(), f(I, { key: 0, ref_key: "tablePageinationRef", ref: ve, configure: e2.configure, "table-data": ne.value, total: Ce.value, onPageChange: Ie, onPageSizeChange: Re }, null, 8, ["configure", "table-data", "total"])) : m("", true)], 6);
259
263
  };
260
264
  } });
261
265
  export {
@@ -1,20 +1,20 @@
1
- import { defineComponent as e, ref as o, createBlock as n, openBlock as r, resolveDynamicComponent as t, mergeProps as l, nextTick as u, markRaw as a } from "vue";
2
- import { getRuntimeComponentByName as c } from "../../../utils/assemblys-config.js";
3
- import s from "../error-render.vue.js";
4
- const m = e({ __name: "event-call-component", setup(e2, { expose: m2 }) {
5
- const p = o(null), v = o({}), f = () => {
6
- p.value = null, v.value = {};
1
+ import { defineComponent as e, ref as o, createBlock as n, openBlock as t, resolveDynamicComponent as l, mergeProps as u, nextTick as r, markRaw as a } from "vue";
2
+ import { getRuntimeComponentByName as s } from "../../../utils/assemblys-config.js";
3
+ import c from "../error-render.vue.js";
4
+ const v = e({ __name: "event-call-component", setup(e2, { expose: v2 }) {
5
+ const m = o(null), p = o({}), f = () => {
6
+ m.value = null, p.value = {};
7
7
  };
8
- return m2({ renderComponent: async function(e3, o2) {
8
+ return v2({ renderComponent: async function(e3, o2) {
9
9
  try {
10
- p.value = null, v.value = o2 || {}, await u();
11
- const n2 = c(e3);
12
- p.value = !n2 || "object" != typeof n2 && "function" != typeof n2 ? s : a(n2);
10
+ m.value = null, p.value = o2 || {}, await r();
11
+ const n2 = s(e3);
12
+ m.value = !n2 || "object" != typeof n2 && "function" != typeof n2 ? c : a(n2);
13
13
  } catch (e4) {
14
- console.error("event-call-component renderedComponent error", e4), p.value = s;
14
+ m.value = c;
15
15
  }
16
- } }), (e3, o2) => (r(), n(t(p.value), l(v.value, { onDestroy: f }), null, 16));
16
+ } }), (e3, o2) => (t(), n(l(m.value), u(p.value, { onDestroy: f }), null, 16));
17
17
  } });
18
18
  export {
19
- m as default
19
+ v as default
20
20
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l, createBlock as o, openBlock as u, withCtx as n, createVNode as i, createTextVNode as p, toDisplayString as r } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l, createBlock as o, openBlock as u, withCtx as i, createVNode as n, createTextVNode as p, toDisplayString as r } from "vue";
2
2
  import { packageTemplateFiles as s } from "../../../utils/common-util.js";
3
3
  import { ElMessage as m } from "element-plus";
4
4
  const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["export", "close"], setup(e2, { emit: g2 }) {
@@ -7,7 +7,7 @@ const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { c
7
7
  function w(e3) {
8
8
  let t2, a2, l2 = e3;
9
9
  const o2 = l2.indexOf(c), u2 = l2.indexOf(d);
10
- return -1 !== o2 && -1 !== u2 ? (o2 > u2 ? l2 = l2.substring(0, u2) + l2.substring(u2 + 1) : (t2 = l2.substring(o2 + 2, u2), a2 = l2.substring(o2, u2 + 1), h.value.push(t2), h.value, l2 = l2.replace(a2, "")), w(l2)) : h.value;
10
+ return -1 !== o2 && -1 !== u2 ? (o2 > u2 ? l2 = l2.substring(0, u2) + l2.substring(u2 + 1) : (t2 = l2.substring(o2 + 2, u2), a2 = l2.substring(o2, u2 + 1), h.value.push(t2), l2 = l2.replace(a2, "")), w(l2)) : h.value;
11
11
  }
12
12
  function N(e3) {
13
13
  x("export", f.configure, e3);
@@ -17,18 +17,16 @@ const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { c
17
17
  }
18
18
  return a(() => {
19
19
  C.templateFiles && C.templateFiles.length > 0 ? b.value = s(C.templateFiles, f.pageContext, f.configure) : C.templateUuid && C.templateName && b.value.push({ templateUuid: C.templateUuid, templateName: C.templateName }), b.value.forEach((e3) => {
20
- e3 && e3.templateName && (e3.templateName = function(e4) {
21
- const t2 = w(e4);
22
- return t2.forEach((t3) => {
23
- const a2 = c + t3 + d;
24
- let l2;
25
- -1 !== e4.indexOf(a2) && Object.prototype.hasOwnProperty.call(y, t3) && (l2 = y[t3] ? y[t3] : "", e4 = e4.replace(a2, l2));
26
- }), e4;
27
- }(e3.templateName));
20
+ var t2;
21
+ e3 && e3.templateName && (e3.templateName = (w(t2 = e3.templateName).forEach((e4) => {
22
+ const a2 = c + e4 + d;
23
+ let l2;
24
+ -1 !== t2.indexOf(a2) && Object.prototype.hasOwnProperty.call(y, e4) && (l2 = y[e4] ? y[e4] : "", t2 = t2.replace(a2, l2));
25
+ }), t2));
28
26
  }), b.value && 0 !== b.value.length || (m({ message: "无符合条件可导出的模板!", type: "warning" }), x("close")), 1 === (b == null ? void 0 : b.value.length) ? (N(b.value[0]), x("close")) : v.value = true;
29
27
  }), (e3, t2) => {
30
28
  const a2 = l("el-table-column"), s2 = l("el-button"), m2 = l("el-table"), c2 = l("el-dialog");
31
- return u(), o(c2, { modelValue: v.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => v.value = e4), "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), onClose: O }, { default: n(() => [i(m2, { data: b.value, style: { width: "100%" } }, { default: n(() => [i(a2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: n((e4) => [p(r(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), i(a2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: n((t3) => [i(s2, { type: "text", size: "small", onClick: (e4) => N(t3.row), loading: void 0 !== f.pageContext.canClick && void 0 !== f.pageContext.clickUuid && !f.pageContext.canClick && f.pageContext.clickUuid === f.configure.uuid }, { default: n(() => [p(r(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 1 }, 8, ["onClick", "loading"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
29
+ return u(), o(c2, { modelValue: v.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => v.value = e4), "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), onClose: O }, { default: i(() => [n(m2, { data: b.value, style: { width: "100%" } }, { default: i(() => [n(a2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: i((e4) => [p(r(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), n(a2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: i((t3) => [n(s2, { type: "text", size: "small", onClick: (e4) => N(t3.row), loading: void 0 !== f.pageContext.canClick && void 0 !== f.pageContext.clickUuid && !f.pageContext.canClick && f.pageContext.clickUuid === f.configure.uuid }, { default: i(() => [p(r(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick", "loading"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
32
30
  };
33
31
  } });
34
32
  export {
@@ -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 {
@@ -25,9 +25,9 @@ const R = e({ __name: "card-runtime", props: { pageContext: {}, configure: {} },
25
25
  ((_b2 = (_a2 = z.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.openCardConditions) && z.configure.props.base.openCardConditions.length > 0 && (_(z.pageContext, z.configure.props.base.openCardConditions) ? A.value = true : A.value = false), t(() => {
26
26
  j(null, z.pageContext, z.configure, { componentRef: q.value, entity: z.pageContext.entity.data, pageData: z.pageContext.entity.page });
27
27
  });
28
- }), R2({ isCardContextShow: A }), (o2, n2) => {
29
- const i2 = r("el-link");
30
- return a(), s(l(b), { ref_key: "thisRef", ref: q, style: u(l(F)), "data-collapse": String(A.value), class: p(["yx-card-box-view-main", l(G)]) }, c({ default: g(() => [f("div", { class: "yx-card-box-view-context", style: u(l(I)) }, [(a(true), d(m, null, y(e2.configure.items, (o3, n3) => (a(), s(T, { key: o3.uuid, pageContext: e2.pageContext, configure: o3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e2.configure.props.base.tittleShow ? { name: "header", fn: g(() => [f("div", { class: "yx-card-box-view-header", onClick: J }, [f("div", { class: "yx-card-box-view-title", style: u(l(H)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (a(), s(l(h), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : x("", true), v(" " + C(D.value), 1)], 4), E.value ? (a(), s(i2, { key: 0, underline: false, icon: A.value ? l(k) : l(w), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : x("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
28
+ }), R2({ isCardContextShow: A }), (e3, o2) => {
29
+ const n2 = r("el-link");
30
+ return a(), s(l(b), { ref_key: "thisRef", ref: q, style: u(l(F)), "data-collapse": String(A.value), class: p(["yx-card-box-view-main", l(G)]) }, c({ default: g(() => [f("div", { class: "yx-card-box-view-context", style: u(l(I)) }, [(a(true), d(m, null, y(e3.configure.items, (o3, n3) => (a(), s(T, { key: o3.uuid, pageContext: e3.pageContext, configure: o3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: g(() => [f("div", { class: "yx-card-box-view-header", onClick: J }, [f("div", { class: "yx-card-box-view-title", style: u(l(H)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (a(), s(l(h), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : x("", true), v(" " + C(D.value), 1)], 4), E.value ? (a(), s(n2, { key: 0, underline: false, icon: A.value ? l(k) : l(w), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : x("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
31
31
  };
32
32
  } });
33
33
  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 {
@@ -1,7 +1,7 @@
1
1
  import e from "./container-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(e, [["__scopeId", "data-v-473c727a"]]);
4
+ const t = r(e, [["__scopeId", "data-v-545108f6"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,27 +1,27 @@
1
- import { defineComponent as e, ref as t, onMounted as n, nextTick as l, resolveComponent as o, createBlock as u, openBlock as i, withCtx as s, withDirectives as a, createCommentVNode as r, createElementBlock as f, createVNode as c, normalizeStyle as p, unref as g, Fragment as d, renderList as y, vShow as m, normalizeClass as v } from "vue";
2
- import { ArrowLeft as x, ArrowRight as C } from "@element-plus/icons-vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as l, resolveComponent as o, createBlock as u, openBlock as i, withCtx as s, withDirectives as a, createCommentVNode as r, createElementBlock as f, createVNode as p, normalizeStyle as c, unref as g, Fragment as d, renderList as y, vShow as m, normalizeClass as v } from "vue";
2
+ import { ArrowLeft as C, ArrowRight as x } from "@element-plus/icons-vue";
3
3
  import k from "../../object-render.vue.js";
4
4
  import "../../../../utils/global-refs.js";
5
- import { handleAfterInitEvent as _ } from "../../../../utils/events/event-util.js";
6
- const h = e({ __name: "container-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: h2 }) {
7
- const A = e2, L = t(null), R = A.configure.runtime ? A.configure.runtime : {}, b = R.leftStyle, j = R.rightStyle, S = R.style, w = R.class, D = t(true), I = t(true);
8
- return n(() => {
5
+ import { handleAfterInitEvent as A } from "../../../../utils/events/event-util.js";
6
+ const _ = e({ __name: "container-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
7
+ const h = e2, L = t(null), R = h.configure.runtime ? h.configure.runtime : {}, b = R.leftStyle, j = R.rightStyle, D = R.style, S = R.class, w = t(true), I = t(true);
8
+ return true === h.configure.props.leftAsideDefaultClose && (w.value = false), n(() => {
9
9
  l(() => {
10
- _(null, A.pageContext, A.configure, { componentRef: L.value, entity: A.pageContext.entity.data, pageData: A.pageContext.entity.page });
10
+ A(null, h.pageContext, h.configure, { componentRef: L.value, entity: h.pageContext.entity.data, pageData: h.pageContext.entity.page });
11
11
  });
12
- }), h2({ closeLeftAside: function() {
13
- D.value = false;
12
+ }), _2({ closeLeftAside: function() {
13
+ w.value = false;
14
14
  }, openLeftAside: function() {
15
- D.value = true;
15
+ w.value = true;
16
16
  }, closeRightAside: function() {
17
17
  I.value = false;
18
18
  }, openRightAside: function() {
19
19
  I.value = true;
20
- } }), (t2, n2) => {
21
- const l2 = o("el-aside"), _2 = o("el-icon"), h3 = o("el-main"), A2 = o("el-container");
22
- return i(), u(A2, { ref_key: "thisRef", ref: L }, { default: s(() => [e2.configure.props.useLeft ? a((i(), u(l2, { key: 0, style: p(g(b)) }, { default: s(() => [(i(true), f(d, null, y(e2.configure.leftAslides, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[m, D.value]]) : r("", true), e2.configure.props.useLeft && e2.configure.props.showLeftAsideCollapseIcon ? (i(), f("div", { key: 1, class: "aside-collapse-btn aside-collapse-btn--left", onClick: n2[0] || (n2[0] = (e3) => D.value = !D.value) }, [c(_2, null, { default: s(() => [D.value ? (i(), u(g(x), { key: 0 })) : (i(), u(g(C), { key: 1 }))]), _: 1 })])) : r("", true), c(h3, { style: p(g(S)), class: v(g(w)) }, { default: s(() => [(i(true), f(d, null, y(e2.configure.items, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e2.configure.props.useRight ? a((i(), u(l2, { key: 2, style: p(g(j)) }, { default: s(() => [(i(true), f(d, null, y(e2.configure.rightAslides, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[m, I.value]]) : r("", true)]), _: 1 }, 512);
20
+ } }), (e3, t2) => {
21
+ const n2 = o("el-aside"), l2 = o("el-icon"), A2 = o("el-main"), _3 = o("el-container");
22
+ return i(), u(_3, { ref_key: "thisRef", ref: L }, { default: s(() => [e3.configure.props.useLeft ? a((i(), u(n2, { key: 0, style: c(g(b)) }, { default: s(() => [(i(true), f(d, null, y(e3.configure.leftAslides, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[m, w.value]]) : r("", true), e3.configure.props.useLeft && e3.configure.props.showLeftAsideCollapseIcon ? (i(), f("div", { key: 1, class: "aside-collapse-btn aside-collapse-btn--left", onClick: t2[0] || (t2[0] = (e4) => w.value = !w.value) }, [p(l2, null, { default: s(() => [w.value ? (i(), u(g(C), { key: 0 })) : (i(), u(g(x), { key: 1 }))]), _: 1 })])) : r("", true), p(A2, { style: c(g(D)), class: v(g(S)) }, { default: s(() => [(i(true), f(d, null, y(e3.configure.items, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e3.configure.props.useRight ? a((i(), u(n2, { key: 2, style: c(g(j)) }, { default: s(() => [(i(true), f(d, null, y(e3.configure.rightAslides, (t3, n3) => (i(), u(k, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])), [[m, I.value]]) : r("", true)]), _: 1 }, 512);
23
23
  };
24
24
  } });
25
25
  export {
26
- h as default
26
+ _ as default
27
27
  };
@@ -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 {