super-page-runtime 2.2.3 → 2.2.9

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 (110) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.js +1 -2
  2. package/dist/es/components/runtime/index.d.ts +2 -1
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +70 -72
  4. package/dist/es/components/runtime/utils/assemblys-config.js +2 -4
  5. package/dist/es/components/runtime/utils/barcode-util.js +1 -2
  6. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +59 -81
  7. package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +2 -4
  8. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +8 -16
  9. package/dist/es/components/runtime/utils/charts/chart-radar-util.js +10 -18
  10. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +20 -25
  11. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -0
  12. package/dist/es/components/runtime/utils/charts/chart-util.js +200 -218
  13. package/dist/es/components/runtime/utils/common-util.js +7 -14
  14. package/dist/es/components/runtime/utils/events/event-util.js +97 -115
  15. package/dist/es/components/runtime/utils/events/print-label.js +20 -21
  16. package/dist/es/components/runtime/utils/events/standard-event.js +276 -326
  17. package/dist/es/components/runtime/utils/events/validator-util.js +85 -116
  18. package/dist/es/components/runtime/utils/form/date-shortcuts.js +1 -2
  19. package/dist/es/components/runtime/utils/form/scan-util.js +10 -17
  20. package/dist/es/components/runtime/utils/global-refs.js +7 -14
  21. package/dist/es/components/runtime/utils/i18n-util.js +1 -2
  22. package/dist/es/components/runtime/utils/page-helper-util.js +58 -104
  23. package/dist/es/components/runtime/utils/page-init-util.js +30 -37
  24. package/dist/es/components/runtime/utils/page-permission-util.js +2 -4
  25. package/dist/es/components/runtime/utils/page-store.d.ts +2 -2
  26. package/dist/es/components/runtime/utils/table-utils.js +4 -8
  27. package/dist/es/components/runtime/utils/tree-utils.js +13 -15
  28. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
  29. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +2 -2
  30. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -4
  31. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +2 -2
  33. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +24 -28
  34. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +44 -40
  37. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +44 -0
  38. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +4 -0
  39. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +20 -20
  40. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +20 -20
  41. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +20 -20
  42. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +22 -22
  43. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +33 -1
  44. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +114 -113
  45. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
  46. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
  47. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
  48. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +123 -116
  50. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +4 -4
  51. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +2 -2
  52. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +6 -6
  53. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +9 -11
  54. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +6 -6
  55. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  56. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +2 -2
  57. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +2 -2
  58. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +2 -2
  59. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +2 -2
  60. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +2 -2
  61. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +2 -2
  62. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +2 -2
  63. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +2 -2
  64. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +7 -7
  65. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +46 -57
  66. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +13 -21
  67. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +6 -9
  68. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +5 -5
  69. package/dist/es/components/runtime/views/assemblys/error-render.vue.d.ts +4 -4
  70. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
  71. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +6 -8
  72. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +4 -6
  73. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +7 -9
  74. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +10 -13
  75. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +5 -5
  76. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -4
  77. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +3 -4
  78. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +5 -5
  79. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +9 -10
  80. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +9 -11
  81. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  82. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
  83. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +2 -2
  84. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +15 -20
  85. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +20 -25
  86. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +15 -20
  87. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +2 -2
  88. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  89. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +4 -5
  90. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +5 -5
  91. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
  92. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +97 -0
  93. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
  94. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  95. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +15 -25
  96. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +3 -4
  97. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +3 -4
  98. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +3 -4
  99. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +2 -2
  100. package/dist/es/components/runtime/views/home-chart.vue.d.ts +23 -0
  101. package/dist/es/components/runtime/views/home-chart.vue.js +36 -0
  102. package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
  103. package/dist/es/components/runtime/views/super-page-dialog.vue.d.ts +3 -3
  104. package/dist/es/components/runtime/views/super-page-dialog.vue.js +2 -2
  105. package/dist/es/components/runtime/views/super-page.vue.d.ts +6 -6
  106. package/dist/es/components/runtime/views/super-page.vue.js +25 -38
  107. package/dist/es/index.d.ts +2 -2
  108. package/dist/es/index.js +6 -4
  109. package/package.json +74 -74
  110. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue3.js +0 -1
@@ -1,73 +1,83 @@
1
- import { defineComponent as e, ref as o, onMounted as n, watch as r, resolveComponent as t, openBlock as a, createElementBlock as i, normalizeStyle as u, unref as p, normalizeClass as l, withDirectives as s, createVNode as c, vShow as g, withCtx as f, Fragment as m, renderList as d, createBlock as h, createCommentVNode as v, h as y } from "vue";
1
+ import { defineComponent as e, ref as o, onMounted as n, watch as r, resolveComponent as t, createElementBlock as a, openBlock as i, normalizeClass as u, normalizeStyle as p, unref as l, withDirectives as s, createVNode as c, createBlock as g, createCommentVNode as f, vShow as m, withCtx as d, Fragment as h, renderList as v, h as y } from "vue";
2
2
  import C from "../common/common-chart-header.vue.js";
3
- import { getSizeConfig as b, getChartDatasFromPage as x, getValueFromVariable as O, isPromise as S, setValueForVariableName as w, updateChartDatasourcesByComponent as j, caculateShowCondition as F } from "../../../../utils/page-helper-util.js";
4
- import { getCustomFunc as k } from "../../../../utils/events/event-util.js";
5
- import E from "./group-column.vue.js";
6
- import I from "./normal-column.vue.js";
3
+ import { getSizeConfig as b, getChartDatasFromPage as x, getValueFromVariable as O, isPromise as S, setValueForVariableName as w, updateChartDatasourcesByComponent as j, caculateShowCondition as k } from "../../../../utils/page-helper-util.js";
4
+ import { getCustomFunc as E } from "../../../../utils/events/event-util.js";
5
+ import F from "./group-column.vue.js";
6
+ import $ from "./normal-column.vue.js";
7
7
  import R from "./table-pageination.vue.js";
8
- import { getSummaryTitleColumn as $, getSummaryDataColumn as H, rowDataToColumn as T, getColumnToRowTableConfig as _, colDataToRow as z, computeFormula as D, summaryStatistics as P, replacePlaceholders as K, getHeaderCellStyleUtil as N, getRowStyleUtil as A, getCellStyleUtil as J, getIndexColumn as U, formatColContent as V } from "./chart-table-util.js";
9
- import { deepCopy as G } from "../../../../utils/common-util.js";
10
- const L = e({ __name: "table-runtime", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, setup(e2, { expose: L2 }) {
8
+ import { getSummaryTitleColumn as H, getSummaryDataColumn as I, rowDataToColumn as T, getColumnToRowTableConfig as _, colDataToRow as z, computeFormula as D, getNewColumnConfig as P, summaryStatistics as G, replacePlaceholders as K, getIndexColumn as N, getHeaderCellStyleUtil as J, getRowStyleUtil as U, getCellStyleUtil as V, formatColContent as A } from "./chart-table-util.js";
9
+ import { deepCopy as L } from "../../../../utils/common-util.js";
10
+ const q = e({ __name: "table-runtime", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, setup(e2, { expose: q2 }) {
11
11
  var _a;
12
- const q = e2, B = q.configure.runtime ? q.configure.runtime : {}, M = B.style, Q = B.class, W = B.dataConfig, X = B.headerInfo ? B.headerInfo : {}, Y = o(null), Z = o(B.props.isEnableGroupHeader), ee = o([]), oe = o([]), ne = o([]), re = o({}), te = o(false), ae = o({}), ie = o({}), ue = o({}), pe = [], le = o({}), se = o({}), ce = o(null), ge = o(0);
13
- let fe, me = [];
14
- q.configure.props.modelCustom || (Z.value ? ne.value = q.configure.props.groupHeaders : oe.value = q.configure.items, (_a = q.configure.items) == null ? void 0 : _a.forEach((e3) => {
15
- re.value[e3.uuid] = e3, Object.keys(e3.style).length > 0 && (le.value[e3.props.base.prop] = { cellStyle: e3.style, titleStyle: e3.titleStyle }), e3.formula && "" !== e3.formula.trim() && (se.value[e3.props.base.prop] = e3.formula);
16
- })), te.value = q.configure.props.base.showSummary, (te.value || q.configure.props.highOrder.groupField && q.configure.props.highOrder.groupField.length > 0) && (ae.value = $(q.configure), te.value && (ie.value = H(q.configure, "table")), q.configure.props.highOrder.groupField && q.configure.props.highOrder.groupField.length > 0 && (ue.value = H(q.configure, "group")));
17
- let de = b(q.pageContext, q.configure);
18
- function he() {
19
- const e3 = q.configure.props.dataOrigin.variable.match(/\${(.*?)}/), o2 = e3 ? e3[1].split(".") : [];
20
- r(() => o2.reduce((e4, o3) => e4[o3], q.pageContext.entity), (e4) => {
21
- e4 ? ye(JSON.parse(JSON.stringify(e4)), null) : (ee.value = [], q.configure.props.modelCustom ? Re(null) : Z.value ? ne.value = q.configure.props.groupHeaders : oe.value = q.configure.items);
12
+ const B = e2, M = B.configure.runtime ? B.configure.runtime : {}, Q = M.style, W = M.class, X = M.dataConfig, Y = M.headerInfo ? M.headerInfo : {}, Z = o(null), ee = o(M.props.isEnableGroupHeader), oe = o([]), ne = o([]), re = o([]), te = o({}), ae = o(false), ie = o({}), ue = o({}), pe = o({}), le = [], se = o({}), ce = o({}), ge = o(null), fe = o(0);
13
+ let me, de = [];
14
+ B.configure.props.modelCustom || (ee.value ? re.value = B.configure.props.groupHeaders : ne.value = B.configure.items, (_a = B.configure.items) == null ? void 0 : _a.forEach((e3) => {
15
+ te.value[e3.uuid] = e3, Object.keys(e3.style).length > 0 && (se.value[e3.props.base.prop] = { cellStyle: e3.style, titleStyle: e3.titleStyle }), e3.formula && "" !== e3.formula.trim() && (ce.value[e3.props.base.prop] = e3.formula);
16
+ })), ae.value = B.configure.props.base.showSummary, (ae.value || B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) && (ie.value = H(B.configure), ae.value && (ue.value = I(B.configure, "table")), B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0 && (pe.value = I(B.configure, "group")));
17
+ let he = b(B.pageContext, B.configure);
18
+ function ve() {
19
+ const e3 = B.configure.props.dataOrigin.variable.match(/\${(.*?)}/), o2 = e3 ? e3[1].split(".") : [];
20
+ r(() => o2.reduce((e4, o3) => e4[o3], B.pageContext.entity), (e4) => {
21
+ e4 ? ye(JSON.parse(JSON.stringify(e4))) : (oe.value = [], B.configure.props.modelCustom ? He(null) : ee.value ? re.value = B.configure.props.groupHeaders : ne.value = B.configure.items);
22
22
  });
23
23
  }
24
- function ve(e3) {
24
+ function ye(e3) {
25
25
  e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (!function(e4) {
26
- Re(e4), "service" === q.configure.props.dataOrigin.dataSource && e4.result ? me = e4.result[q.configure.props.dataOrigin.service.serviceDataField] : "variable" === q.configure.props.dataOrigin.dataSource && (he(), me = O(q.pageContext.entity, q.configure.props.dataOrigin.variable));
27
- me && ye(me, e4);
28
- }(e3), e3.hasRender = true, W && (W.autoRefresh = false));
26
+ He(e4), "service" === B.configure.props.dataOrigin.dataSource && e4.result ? de = e4.result[B.configure.props.dataOrigin.service.serviceDataField] : "variable" === B.configure.props.dataOrigin.dataSource && (ve(), de = O(B.pageContext.entity, B.configure.props.dataOrigin.variable));
27
+ de && Ce(de, e4);
28
+ }(e3), e3.hasRender = true, X && (X.autoRefresh = false));
29
29
  }
30
- function ye(e3, o2) {
30
+ function Ce(e3, o2) {
31
31
  var _a2;
32
- if (Ce("rowToColumn")) {
33
- if (e3 = T(e3, q.configure), !Z.value) {
34
- const o3 = function(e4, o4, n2, r2) {
35
- const t2 = [...e4].filter((e5) => !n2.includes(e5.props.base.prop) && !r2.includes(e5.props.base.prop)), a2 = new RegExp(`(${r2.join("|")})$`), i2 = /* @__PURE__ */ new Set();
36
- return o4.forEach((e5) => {
37
- Object.keys(e5).forEach((e6) => {
38
- if (r2.some((o5) => e6.includes(o5))) {
39
- const o5 = e6.split(a2)[0];
40
- i2.add(o5);
41
- }
42
- });
43
- }), i2.forEach((e5) => {
44
- r2.forEach((n3) => {
45
- var _a3;
46
- const r3 = (_a3 = oe.value.find((e6) => e6.props.base.prop === n3)) == null ? void 0 : _a3.props.base.name, a3 = { uuid: (/* @__PURE__ */ new Date()).getTime(), name: "", props: { base: { prop: `${e5}${n3}`, name: `${e5}${r3}`, displayOrder: t2.length + 1, sortable: true, headerAlign: "center", align: "center", fixed: false, visible: true, dataType: "number" == typeof o4[0][`${e5}${n3}`] ? "number" : "string" }, format: {}, size: { pc: {} } }, style: {}, componentIndex: 0, runtime: { common: { class: "", style: { pc_style: {}, pc_class: "" } } } };
47
- t2.push(a3);
48
- });
49
- }), t2;
50
- }(oe.value, e3, q.configure.props.dataOrigin.rowToColumn.titleColumns, q.configure.props.dataOrigin.rowToColumn.dataColumns);
51
- oe.value = o3;
32
+ if (be("rowToColumn")) {
33
+ if (e3 = T(e3, B.configure, ne.value), !ee.value) {
34
+ const o3 = function(e4, o4, n2) {
35
+ const r2 = B.configure.props.dataOrigin.rowToColumn.titleColumns, t2 = B.configure.props.dataOrigin.rowToColumn.dataColumns, a2 = e4.props.dataOrigin.groupField;
36
+ if ((!a2 || 0 === a2.length) && n2.length > 0) {
37
+ const e5 = [];
38
+ return e5.push(P("$GroupColumn", B.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string")), Object.keys(n2[0]).forEach((o5, n3) => {
39
+ if ("$GroupColumn" === o5) return;
40
+ const r3 = P(o5, o5, n3 + 1, "string");
41
+ e5.push(r3);
42
+ }), e5;
43
+ }
44
+ {
45
+ const e5 = [...o4].filter((e6) => !r2.includes(e6.props.base.prop) && !t2.includes(e6.props.base.prop)), a3 = new RegExp(`(${t2.join("|")})$`), i2 = /* @__PURE__ */ new Set();
46
+ return n2.forEach((e6) => {
47
+ Object.keys(e6).forEach((e7) => {
48
+ if (t2.some((o5) => e7.includes(o5))) {
49
+ const o5 = e7.split(a3)[0];
50
+ i2.add(o5);
51
+ }
52
+ });
53
+ }), i2.forEach((o5) => {
54
+ t2.forEach((r3) => {
55
+ var _a3;
56
+ (_a3 = ne.value.find((e6) => e6.props.base.prop === r3)) == null ? void 0 : _a3.props.base.name;
57
+ const t3 = P(`${o5}${r3}`, `${o5}${r3}`, e5.length + 1, "number" == typeof n2[0][`${o5}${r3}`] ? "number" : "string");
58
+ e5.push(t3);
59
+ });
60
+ }), e5;
61
+ }
62
+ }(B.configure, ne.value, e3);
63
+ ne.value = o3;
52
64
  }
53
- } else
54
- Ce("columnToRow") && (Z.value || (oe.value = _(q.configure)), e3 = z(e3, q.configure));
55
- if (q.configure.props.dataOrigin.dataFormatting) {
56
- const o3 = k(q.pageContext, q.configure.props.dataOrigin.dataFormatting);
65
+ } else be("columnToRow") && (ee.value || (ne.value = _(B.configure)), e3 = z(e3, B.configure));
66
+ if (B.configure.props.dataOrigin.dataFormatting) {
67
+ const o3 = E(B.pageContext, B.configure.props.dataOrigin.dataFormatting);
57
68
  if (o3) {
58
69
  const n2 = o3.apply(o3, [{ tableData: e3 }]);
59
70
  n2 && (e3 = n2);
60
71
  }
61
72
  }
62
- if (Object.keys(se.value).length > 0 && e3 && e3.length > 0 && D(se.value, e3, q.pageContext.entity), ((_a2 = q.configure.pageination) == null ? void 0 : _a2.enable) ? function(e4) {
63
- "frontend" === q.configure.pageination.type ? (ge.value = me.length, ke(1, q.configure.pageination.pageSize)) : "backend" === q.configure.pageination.type && (ee.value = me, q.configure.pageination.totalFrom && (ge.value = e4.result[q.configure.pageination.totalFrom]));
64
- }(o2) : ee.value = e3, q.configure.props.highOrder.groupField && q.configure.props.highOrder.groupField.length > 0) {
65
- const e4 = q.configure.props.highOrder.groupField;
66
- ee.value = function(e5, o3) {
73
+ if (Object.keys(ce.value).length > 0 && e3 && e3.length > 0 && D(ce.value, e3, B.pageContext.entity), ((_a2 = B.configure.pageination) == null ? void 0 : _a2.enable) ? function(e4) {
74
+ "frontend" === B.configure.pageination.type ? (fe.value = de.length, Fe(1, B.configure.pageination.pageSize)) : "backend" === B.configure.pageination.type && (oe.value = de, B.configure.pageination.totalFrom && (fe.value = e4.result[B.configure.pageination.totalFrom]));
75
+ }(o2) : oe.value = e3, B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) {
76
+ const e4 = B.configure.props.highOrder.groupField;
77
+ oe.value = function(e5, o3) {
67
78
  var _a3, _b;
68
- if (0 === ue.value.length)
69
- return e5;
70
- const n2 = [], r2 = (_a3 = q.configure.items) == null ? void 0 : _a3.filter((e6) => o3.includes(e6.props.base.prop)), t2 = (_b = q.configure.items) == null ? void 0 : _b.filter((e6) => true === e6.props.base.groupSummary), a2 = {};
79
+ if (0 === pe.value.length) return e5;
80
+ const n2 = [], r2 = (_a3 = B.configure.items) == null ? void 0 : _a3.filter((e6) => o3.includes(e6.props.base.prop)), t2 = (_b = B.configure.items) == null ? void 0 : _b.filter((e6) => true === e6.props.base.groupSummary), a2 = {};
71
81
  e5.forEach((e6) => {
72
82
  const n3 = o3.map((o4) => e6[o4]).join("|");
73
83
  a2[n3] || (a2[n3] = []), a2[n3].push(e6);
@@ -76,115 +86,112 @@ const L = e({ __name: "table-runtime", props: { configure: { type: Object, defau
76
86
  for (let e6 = 0; e6 < i2.length; e6++) {
77
87
  const o4 = i2[e6], a3 = {};
78
88
  t2 == null ? void 0 : t2.forEach((e7) => {
79
- const n3 = e7.props.base.prop, r3 = P(ue.value[n3], o4, n3, q.pageContext);
89
+ const n3 = e7.props.base.prop, r3 = G(pe.value[n3], o4, n3, B.pageContext);
80
90
  a3[n3] = r3;
81
91
  }), n2.push(...o4), r2 == null ? void 0 : r2.forEach((e7) => {
82
92
  const n3 = e7.props.base.prop;
83
93
  a3[n3] = K(e7.props.base.summaryTitle, o4[0]);
84
- }), n2.push(a3), pe.push(n2.length - 1);
94
+ }), n2.push(a3), le.push(n2.length - 1);
85
95
  }
86
96
  return n2;
87
- }(ee.value, e4);
97
+ }(oe.value, e4);
88
98
  }
89
99
  !function(e4) {
90
- if (q.configure.props.base.showIndex && -1 === e4.findIndex((e5) => "$index" === e5.props.base.prop)) {
91
- const o3 = U();
100
+ if (B.configure.props.base.showIndex && -1 === e4.findIndex((e5) => "$index" === e5.props.base.prop)) {
101
+ const o3 = N();
92
102
  o3 && e4.unshift(o3);
93
103
  }
94
- }(oe.value);
95
- }
96
- function Ce(e3) {
97
- return q.configure.props.dataOrigin.transition === e3 && q.configure.props.dataOrigin.groupField && q.configure.props.dataOrigin.groupField.length > 0 && 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;
104
+ }(ne.value);
98
105
  }
99
106
  function be(e3) {
100
- const o2 = le.value[e3.column.property] ? le.value[e3.column.property].titleStyle : null, n2 = M == null ? void 0 : M.titleStyle;
101
- return N(e3, { cellTitleStyle: o2, titleStyle: n2 }, q);
107
+ return B.configure.props.dataOrigin.transition === e3 && B.configure.props.dataOrigin[e3].titleColumns && B.configure.props.dataOrigin[e3].titleColumns.length > 0 && B.configure.props.dataOrigin[e3].dataColumns && B.configure.props.dataOrigin[e3].dataColumns.length > 0;
102
108
  }
103
109
  function xe(e3) {
104
- return A(e3, pe, q);
110
+ const o2 = se.value[e3.column.property] ? se.value[e3.column.property].titleStyle : null, n2 = Q == null ? void 0 : Q.titleStyle;
111
+ return J(e3, { cellTitleStyle: o2, titleStyle: n2 }, B);
105
112
  }
106
113
  function Oe(e3) {
107
- const o2 = le.value[e3.column.property] ? le.value[e3.column.property].cellStyle : null;
108
- return J(e3, o2, q);
114
+ return U(e3, le, B);
115
+ }
116
+ function Se(e3) {
117
+ const o2 = se.value[e3.column.property] ? se.value[e3.column.property].cellStyle : null;
118
+ return V(e3, o2, B);
109
119
  }
110
- de && de.maxHeight && (fe = de.maxHeight), !fe && de && de.fixHeight && (fe = de.fixHeight), fe && (fe = Number(fe + "")), n(() => {
111
- const e3 = x(q.pageContext, q.configure);
112
- if (e3)
113
- ve(e3);
114
- else if ("variable" === q.configure.props.dataOrigin.dataSource) {
115
- he();
116
- const o2 = O(q.pageContext.entity, q.configure.props.dataOrigin.variable);
117
- o2 && ye(o2, e3);
120
+ he && he.maxHeight && (me = he.maxHeight), !me && he && he.fixHeight && (me = he.fixHeight), me && (me = Number(me + "")), n(() => {
121
+ const e3 = x(B.pageContext, B.configure);
122
+ if (e3) ye(e3);
123
+ else if ("variable" === B.configure.props.dataOrigin.dataSource) {
124
+ ve();
125
+ const o2 = O(B.pageContext.entity, B.configure.props.dataOrigin.variable);
126
+ o2 && Ce(o2, e3);
118
127
  }
119
128
  });
120
- const Se = (e3) => {
129
+ const we = (e3) => {
121
130
  const { columns: o2, data: n2 } = e3, r2 = [];
122
131
  return o2.forEach((e4, o3) => {
123
- if (ae.value[e4.property]) {
124
- const t2 = ae.value[e4.property].label;
132
+ if (ie.value[e4.property]) {
133
+ const t2 = ie.value[e4.property].label;
125
134
  r2[o3] = y("div", {}, [K(t2, n2)]);
126
- } else if (ie.value[e4.property]) {
127
- const t2 = n2.filter((e5, o4) => !pe.includes(o4));
128
- r2[o3] = P(ie.value[e4.property], t2, e4.property, q.pageContext);
135
+ } else if (ue.value[e4.property]) {
136
+ const t2 = n2.filter((e5, o4) => !le.includes(o4));
137
+ r2[o3] = G(ue.value[e4.property], t2, e4.property, B.pageContext);
129
138
  }
130
139
  }), r2;
131
140
  };
132
- function we({ row: e3, column: o2, rowIndex: n2, columnIndex: r2 }) {
133
- const t2 = o2.property, a2 = q.configure.props.highOrder;
141
+ function je({ row: e3, column: o2, rowIndex: n2, columnIndex: r2 }) {
142
+ const t2 = o2.property, a2 = B.configure.props.highOrder;
134
143
  if (a2.scopeFunc) {
135
- const t3 = k(q.pageContext, a2.scopeFunc);
144
+ const t3 = E(B.pageContext, a2.scopeFunc);
136
145
  if (t3) {
137
- const a3 = t3.apply(t3, [{ tableData: ee.value, row: e3, column: o2, rowIndex: n2, columnIndex: r2 }]);
138
- if (a3)
139
- return a3;
146
+ const a3 = t3.apply(t3, [{ tableData: oe.value, row: e3, column: o2, rowIndex: n2, columnIndex: r2 }]);
147
+ if (a3) return a3;
140
148
  }
141
- } else if (a2 && a2.mergeColumn, a2 && a2.mergeRow && a2.mergeRow.includes(t2) && 0 === n2)
142
- return { rowspan: ee.value.length, colspan: 1 };
143
- }
144
- function je(e3, o2) {
145
- "frontend" === q.configure.pageination.type ? ke(e3, o2) : Ee(e3, o2);
146
- }
147
- function Fe(e3, o2) {
148
- "frontend" === q.configure.pageination.type ? ke(e3, o2) : Ee(e3, o2);
149
+ } else if (a2 && a2.mergeColumn, a2 && a2.mergeRow && a2.mergeRow.includes(t2) && 0 === n2) return { rowspan: oe.value.length, colspan: 1 };
149
150
  }
150
151
  function ke(e3, o2) {
151
- me && (ee.value = me.slice((e3 - 1) * o2, e3 * o2));
152
+ "frontend" === B.configure.pageination.type ? Fe(e3, o2) : $e(e3, o2);
152
153
  }
153
154
  function Ee(e3, o2) {
154
- q.configure.pageination.currentPageSet && w(q.pageContext.entity, q.configure.pageination.currentPageSet, e3), q.configure.pageination.pageSizeSet && w(q.pageContext.entity, q.configure.pageination.pageSizeSet, o2), j(q.pageContext, q.configure.uuid);
155
+ "frontend" === B.configure.pageination.type ? Fe(e3, o2) : $e(e3, o2);
155
156
  }
156
- function Ie(e3) {
157
- const o2 = e3.showCondition;
158
- return F(q.pageContext, o2);
157
+ function Fe(e3, o2) {
158
+ de && (oe.value = de.slice((e3 - 1) * o2, e3 * o2));
159
+ }
160
+ function $e(e3, o2) {
161
+ B.configure.pageination.currentPageSet && w(B.pageContext.entity, B.configure.pageination.currentPageSet, e3), B.configure.pageination.pageSizeSet && w(B.pageContext.entity, B.configure.pageination.pageSizeSet, o2), j(B.pageContext, B.configure.uuid);
159
162
  }
160
163
  function Re(e3) {
161
- if (q.configure.props.modelCustom) {
162
- const o2 = k(q.pageContext, q.configure.props.modelCustom);
164
+ const o2 = e3.showCondition;
165
+ return k(B.pageContext, o2);
166
+ }
167
+ function He(e3) {
168
+ if (B.configure.props.modelCustom) {
169
+ const o2 = E(B.pageContext, B.configure.props.modelCustom);
163
170
  if (o2) {
164
- const n2 = o2.apply(o2, [{ pageContext: q.pageContext, configureObj: q.configure, value: e3 }]);
171
+ const n2 = o2.apply(o2, [{ pageContext: B.pageContext, configureObj: B.configure, value: e3 }]);
165
172
  S(n2) ? n2.then((e4) => {
166
- oe.value = e4.columns;
167
- }) : oe.value = n2.columns;
173
+ ne.value = e4.columns;
174
+ }) : ne.value = n2.columns;
168
175
  }
169
176
  }
170
177
  }
171
- function $e(e3, o2, n2) {
178
+ function Ie(e3, o2, n2) {
172
179
  e3.forEach((e4) => {
173
180
  const r2 = e4.props.base.prop, t2 = e4.props.base.name;
174
181
  let a2 = { name: r2, label: t2, i18nKey: t2 };
175
- e4.children && e4.childern.length > 0 && (a2.children = [], $e(e4.children, a2.children, n2)), e4.props.format && e4.props.format.type && n2.push(e4), o2.push(a2);
182
+ e4.children && e4.childern.length > 0 && (a2.children = [], Ie(e4.children, a2.children, n2)), e4.props.format && e4.props.format.type && n2.push(e4), o2.push(a2);
176
183
  });
177
184
  }
178
- return L2({ updateChartDatas: ve, exportChart: function() {
185
+ return q2({ updateChartDatas: ye, exportChart: function() {
179
186
  let e3 = [], o2 = [];
180
- o2 = Z.value ? q.configure.props.groupHeaders : q.configure.items;
187
+ o2 = ee.value ? B.configure.props.groupHeaders : B.configure.items;
181
188
  let n2 = [];
182
- $e(o2, e3, n2);
189
+ Ie(o2, e3, n2);
183
190
  return { isTable: true, dataArr: function(e4) {
184
191
  let o3 = [];
185
- ee.value && (o3 = G(ee.value), o3.forEach((o4) => {
192
+ oe.value && (o3 = L(oe.value), o3.forEach((o4) => {
186
193
  e4.forEach((e5) => {
187
- const n3 = V(o4, e5.props.format, e5, q.pageContext, q.configure);
194
+ const n3 = A(o4, e5.props.format, e5, B.pageContext, B.configure);
188
195
  o4[e5.props.base.prop] = n3;
189
196
  });
190
197
  }));
@@ -192,9 +199,9 @@ const L = e({ __name: "table-runtime", props: { configure: { type: Object, defau
192
199
  }(n2), columns: e3 };
193
200
  } }), (o2, n2) => {
194
201
  const r2 = t("el-table");
195
- return a(), i("div", { style: u(p(M)), class: l([p(Q), "amb-widget-chart"]), ref: "thisRef" }, [s(c(C, { ref_key: "headerRef", ref: Y, headerInfo: p(X), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[g, p(X).showHeader]]), c(r2, { ref_key: "gridRef", ref: ce, data: ee.value, style: { width: "100%" }, "max-height": p(fe), "header-cell-style": be, "row-style": xe, "cell-style": Oe, "show-summary": te.value, stripe: e2.configure.props.base.stripe, "summary-method": Se, "span-method": we }, { default: f(() => [Z.value ? (a(true), i(m, { key: 0 }, d(ne.value, (o3, n3) => (a(), i(m, { key: n3 }, [o3.isLeaf ? Ie(re.value[o3.columnUuid]) ? (a(), h(I, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: re.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : v("", true) : (a(), h(E, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: re.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (a(true), i(m, { key: 1 }, d(oe.value, (o3, n3) => (a(), i(m, { key: n3 }, [Ie(o3) ? (a(), h(I, { key: 0, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"])) : v("", true)], 64))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (a(), h(R, { key: 0, configure: e2.configure, "table-data": ee.value, total: ge.value, onPageChange: je, onPageSizeChange: Fe }, null, 8, ["configure", "table-data", "total"])) : v("", true)], 6);
202
+ return i(), a("div", { style: p(l(Q)), class: u([l(W), "amb-widget-chart"]), ref: "thisRef" }, [s(c(C, { ref_key: "headerRef", ref: Z, headerInfo: l(Y), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, l(Y).showHeader || e2.pageContext.showHomepageSearch]]), c(r2, { ref_key: "gridRef", ref: ge, data: oe.value, style: { width: "100%" }, "max-height": l(me), "header-cell-style": xe, "row-style": Oe, "cell-style": Se, "show-summary": ae.value, stripe: e2.configure.props.base.stripe, "summary-method": we, "span-method": je }, { default: d(() => [ee.value ? (i(true), a(h, { key: 0 }, v(re.value, (o3, n3) => (i(), a(h, { key: n3 }, [o3.isLeaf ? Re(te.value[o3.columnUuid]) ? (i(), g($, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: te.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : f("", true) : (i(), g(F, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: te.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (i(true), a(h, { key: 1 }, v(ne.value, (o3, n3) => (i(), a(h, { key: n3 }, [Re(o3) ? (i(), g($, { key: 0, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"])) : f("", true)], 64))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (i(), g(R, { key: 0, configure: e2.configure, "table-data": oe.value, total: fe.value, onPageChange: ke, onPageSizeChange: Ee }, null, 8, ["configure", "table-data", "total"])) : f("", true)], 6);
196
203
  };
197
204
  } });
198
205
  export {
199
- L as default
206
+ q as default
200
207
  };
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  configure: {
3
3
  type: ObjectConstructor;
4
4
  required: true;
@@ -6,7 +6,7 @@ declare const _default: import('vue').DefineComponent<{
6
6
  pageContext: {
7
7
  type: ObjectConstructor;
8
8
  };
9
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
10
  close: (...args: any[]) => void;
11
11
  export: (...args: any[]) => void;
12
12
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -17,8 +17,8 @@ declare const _default: import('vue').DefineComponent<{
17
17
  pageContext: {
18
18
  type: ObjectConstructor;
19
19
  };
20
- }>> & {
20
+ }>> & Readonly<{
21
21
  onClose?: (...args: any[]) => any;
22
22
  onExport?: (...args: any[]) => any;
23
- }, {}, {}>;
23
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
24
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l, openBlock as o, createBlock as p, withCtx as r, createVNode as s, createTextVNode as u, toDisplayString as i } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l, createBlock as o, openBlock as p, withCtx as r, createVNode as s, createTextVNode as u, toDisplayString as i } from "vue";
2
2
  import { packageTemplateFiles as n } from "../../../utils/common-util.js";
3
3
  const m = "${", d = "}", c = e({ __name: "export-form-report-dialog", props: { configure: { type: Object, required: true }, pageContext: { type: Object } }, emits: ["export", "close"], setup(e2, { emit: c2 }) {
4
4
  const g = e2, f = c2, b = t([]), h = t([]), x = g.configure.props.base, v = g.pageContext.entity.data;
@@ -21,7 +21,7 @@ const m = "${", d = "}", c = e({ __name: "export-form-report-dialog", props: { c
21
21
  });
22
22
  }), (e3, t2) => {
23
23
  const a2 = l("el-table-column"), n2 = l("el-button"), m2 = l("el-table"), d2 = l("el-dialog");
24
- return o(), p(d2, { "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), "model-value": "", onClose: y }, { default: r(() => [s(m2, { data: b.value, style: { width: "100%" } }, { default: r(() => [s(a2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: r((e4) => [u(i(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), s(a2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: r((t3) => [s(n2, { type: "text", size: "small", onClick: (e4) => {
24
+ return p(), o(d2, { "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), "model-value": "", onClose: y }, { default: r(() => [s(m2, { data: b.value, style: { width: "100%" } }, { default: r(() => [s(a2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: r((e4) => [u(i(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), s(a2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: r((t3) => [s(n2, { type: "text", size: "small", onClick: (e4) => {
25
25
  return a3 = t3.row, void f("export", g.configure, a3);
26
26
  var a3;
27
27
  } }, { default: r(() => [u(i(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"]);
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  taskId: {
3
3
  type: NumberConstructor;
4
4
  default: any;
@@ -7,9 +7,9 @@ declare const _default: import('vue').DefineComponent<{
7
7
  type: ArrayConstructor;
8
8
  default: any;
9
9
  };
10
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- result: (...args: any[]) => void;
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
11
  close: (...args: any[]) => void;
12
+ result: (...args: any[]) => void;
13
13
  open: (...args: any[]) => void;
14
14
  opend: (...args: any[]) => void;
15
15
  closed: (...args: any[]) => void;
@@ -22,14 +22,14 @@ declare const _default: import('vue').DefineComponent<{
22
22
  type: ArrayConstructor;
23
23
  default: any;
24
24
  };
25
- }>> & {
25
+ }>> & Readonly<{
26
26
  onClose?: (...args: any[]) => any;
27
27
  onResult?: (...args: any[]) => any;
28
28
  onOpen?: (...args: any[]) => any;
29
29
  onOpend?: (...args: any[]) => any;
30
30
  onClosed?: (...args: any[]) => any;
31
- }, {
31
+ }>, {
32
32
  taskId: number;
33
33
  activeTasks: unknown[];
34
- }, {}>;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
35
35
  export default _default;
@@ -1,24 +1,22 @@
1
- import { defineComponent as e, ref as t, onMounted as l, resolveComponent as a, openBlock as s, createElementBlock as o, createVNode as n, withCtx as r, createElementVNode as u, createTextVNode as i, toDisplayString as d } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as l, resolveComponent as a, createElementBlock as s, openBlock as o, createVNode as n, withCtx as r, createElementVNode as u, createTextVNode as i, toDisplayString as d } from "vue";
2
2
  import { ElMessage as p } from "element-plus";
3
3
  import { useI18n as m } from "vue-i18n";
4
4
  const c = { class: "dialog-footer" }, g = e({ __name: "remove-signer-dialog", props: { taskId: { type: Number, default: null }, activeTasks: { type: Array, default: null } }, emits: ["open", "opend", "close", "closed", "result"], setup(e2, { emit: g2 }) {
5
- m();
6
- const f = e2, v = g2, b = t([]), h = t([]);
7
- function k(e3) {
8
- b.value = e3;
5
+ const { t: f } = m(), v = e2, b = g2, h = t([]), k = t([]);
6
+ function y(e3) {
7
+ h.value = e3;
9
8
  }
10
- function y() {
11
- 0 !== b.value.length ? v("result", b.value) : p({ showClose: true, type: "warning", message: this.$t("superPageRuntimeMessage.pleaseSelectRemoverUsers") });
9
+ function R() {
10
+ 0 !== h.value.length ? b("result", h.value) : p({ showClose: true, type: "warning", message: this.$t("superPageRuntimeMessage.pleaseSelectRemoverUsers") });
12
11
  }
13
12
  return l(() => {
14
- h.value = function() {
15
- if (f.activeTasks && f.taskId)
16
- return f.activeTasks.filter((e3) => f.taskId !== e3.id ? e3.id : e3.ID ? e3.ID : null);
13
+ k.value = function() {
14
+ if (v.activeTasks && v.taskId) return v.activeTasks.filter((e3) => v.taskId !== e3.id ? e3.id : e3.ID ? e3.ID : null);
17
15
  return [];
18
16
  }();
19
17
  }), (e3, t2) => {
20
18
  const l2 = a("el-table-column"), p2 = a("el-table"), m2 = a("el-button"), g3 = a("el-dialog");
21
- return s(), o("div", null, [n(g3, { "model-value": "", title: e3.$t("superPageRuntimeMessage.selectRemoveUsers"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: t2[1] || (t2[1] = (e4) => v("open")), onOpend: t2[2] || (t2[2] = (e4) => v("opend")), onClose: t2[3] || (t2[3] = (e4) => v("close")), onClosed: t2[4] || (t2[4] = (e4) => v("closed")) }, { footer: r(() => [u("div", c, [n(m2, { type: "primary", onClick: y }, { default: r(() => [i(d(e3.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), n(m2, { onClick: t2[0] || (t2[0] = (t3) => e3.$emit("close")) }, { default: r(() => [i(d(e3.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: r(() => [n(p2, { data: h.value, border: "", style: { width: "100%" }, onSelect: k }, { default: r(() => [n(l2, { type: "selection", width: "55" }), n(l2, { prop: "transactorName", label: e3.$t("superPageRuntimeMessage.transactorName"), width: "180" }, null, 8, ["label"]), n(l2, { prop: "transactor", label: e3.$t("superPageRuntimeMessage.transactor"), width: "180" }, null, 8, ["label"]), n(l2, { prop: "trustorName", label: e3.$t("superPageRuntimeMessage.trustorName"), width: "180" }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
19
+ return o(), s("div", null, [n(g3, { "model-value": "", title: e3.$t("superPageRuntimeMessage.selectRemoveUsers"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: t2[1] || (t2[1] = (e4) => b("open")), onOpend: t2[2] || (t2[2] = (e4) => b("opend")), onClose: t2[3] || (t2[3] = (e4) => b("close")), onClosed: t2[4] || (t2[4] = (e4) => b("closed")) }, { footer: r(() => [u("div", c, [n(m2, { type: "primary", onClick: R }, { default: r(() => [i(d(e3.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), n(m2, { onClick: t2[0] || (t2[0] = (t3) => e3.$emit("close")) }, { default: r(() => [i(d(e3.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: r(() => [n(p2, { data: k.value, border: "", style: { width: "100%" }, onSelect: y }, { default: r(() => [n(l2, { type: "selection", width: "55" }), n(l2, { prop: "transactorName", label: e3.$t("superPageRuntimeMessage.transactorName"), width: "180" }, null, 8, ["label"]), n(l2, { prop: "transactor", label: e3.$t("superPageRuntimeMessage.transactor"), width: "180" }, null, 8, ["label"]), n(l2, { prop: "trustorName", label: e3.$t("superPageRuntimeMessage.trustorName"), width: "180" }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
22
20
  };
23
21
  } });
24
22
  export {
@@ -1,11 +1,11 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
2
  taskInformitions: {
3
3
  type: ArrayConstructor;
4
4
  default: any;
5
5
  };
6
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- result: (...args: any[]) => void;
6
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
7
  close: (...args: any[]) => void;
8
+ result: (...args: any[]) => void;
9
9
  open: (...args: any[]) => void;
10
10
  opend: (...args: any[]) => void;
11
11
  closed: (...args: any[]) => void;
@@ -14,13 +14,13 @@ declare const _default: import('vue').DefineComponent<{
14
14
  type: ArrayConstructor;
15
15
  default: any;
16
16
  };
17
- }>> & {
17
+ }>> & Readonly<{
18
18
  onClose?: (...args: any[]) => any;
19
19
  onResult?: (...args: any[]) => any;
20
20
  onOpen?: (...args: any[]) => any;
21
21
  onOpend?: (...args: any[]) => any;
22
22
  onClosed?: (...args: any[]) => any;
23
- }, {
23
+ }>, {
24
24
  taskInformitions: unknown[];
25
- }, {}>;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
26
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, resolveComponent as l, openBlock as o, createElementBlock as n, createVNode as a, withCtx as s, createElementVNode as i, createTextVNode as u, toDisplayString as d } from "vue";
1
+ import { defineComponent as e, ref as t, resolveComponent as l, createElementBlock as o, openBlock as n, createVNode as a, withCtx as s, createElementVNode as i, createTextVNode as u, toDisplayString as d } from "vue";
2
2
  import { ElMessage as r } from "element-plus";
3
3
  import { useI18n as p } from "vue-i18n";
4
4
  const m = { class: "dialog-footer" }, c = e({ __name: "task-informition-dialog", props: { taskInformitions: { type: Array, default: null } }, emits: ["open", "opend", "close", "closed", "result"], setup(e2, { emit: c2 }) {
@@ -11,7 +11,7 @@ const m = { class: "dialog-footer" }, c = e({ __name: "task-informition-dialog",
11
11
  }
12
12
  return (t2, r2) => {
13
13
  const p2 = l("el-table-column"), c3 = l("el-table"), g2 = l("el-button"), h2 = l("el-dialog");
14
- return o(), n("div", null, [a(h2, { "model-value": "", title: t2.$t("superPageRuntimeMessage.selectNode"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: r2[1] || (r2[1] = (e3) => f("open")), onOpend: r2[2] || (r2[2] = (e3) => f("opend")), onClose: r2[3] || (r2[3] = (e3) => f("close")), onClosed: r2[4] || (r2[4] = (e3) => f("closed")) }, { footer: s(() => [i("div", m, [a(g2, { type: "primary", onClick: b }, { default: s(() => [u(d(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), a(g2, { onClick: r2[0] || (r2[0] = (e3) => f("close")) }, { default: s(() => [u(d(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: s(() => [a(c3, { data: e2.taskInformitions, border: "", style: { width: "100%" }, onSelect: v }, { default: s(() => [a(p2, { type: "selection", width: "55" }), a(p2, { prop: "nodeName", label: t2.$t("superPageRuntimeMessage.nodeName"), width: "180" }, null, 8, ["label"]), a(p2, { prop: "nodeId", label: t2.$t("superPageRuntimeMessage.nodeId"), width: "180" }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
14
+ return n(), o("div", null, [a(h2, { "model-value": "", title: t2.$t("superPageRuntimeMessage.selectNode"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: r2[1] || (r2[1] = (e3) => f("open")), onOpend: r2[2] || (r2[2] = (e3) => f("opend")), onClose: r2[3] || (r2[3] = (e3) => f("close")), onClosed: r2[4] || (r2[4] = (e3) => f("closed")) }, { footer: s(() => [i("div", m, [a(g2, { type: "primary", onClick: b }, { default: s(() => [u(d(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), a(g2, { onClick: r2[0] || (r2[0] = (e3) => f("close")) }, { default: s(() => [u(d(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: s(() => [a(c3, { data: e2.taskInformitions, border: "", style: { width: "100%" }, onSelect: v }, { default: s(() => [a(p2, { type: "selection", width: "55" }), a(p2, { prop: "nodeName", label: t2.$t("superPageRuntimeMessage.nodeName"), width: "180" }, null, 8, ["label"]), a(p2, { prop: "nodeId", label: t2.$t("superPageRuntimeMessage.nodeId"), width: "180" }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"])]);
15
15
  };
16
16
  } });
17
17
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as o, nextTick as n, openBlock as i, createBlock as r, unref as u, normalizeStyle as p, normalizeClass as s, createSlots as l, withCtx as c, createElementVNode as a, createElementBlock as f, Fragment as g, renderList as m, createCommentVNode as y, createTextVNode as d, toDisplayString as x } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as o, nextTick as n, createBlock as i, openBlock as r, unref as u, normalizeClass as p, normalizeStyle as s, createSlots as l, withCtx as c, createElementVNode as a, createElementBlock as f, Fragment as g, renderList as m, createCommentVNode as y, createTextVNode as d, toDisplayString as x } from "vue";
2
2
  import { ElCard as v } from "element-plus";
3
3
  import { SuperIcon as C } from "agilebuilder-ui";
4
4
  import h from "../../object-render.vue.js";
@@ -14,7 +14,7 @@ const k = e({ __name: "card-runtime", props: { pageContext: {}, configure: {} },
14
14
  });
15
15
  }), k2({ test: function() {
16
16
  T.configure.props.title = "teee";
17
- } }), (e3, t2) => (i(), r(u(v), { ref_key: "thisRef", ref: V, style: p([u(S), { "margin-top": "20px" }]), class: s(u(R)) }, l({ default: c(() => [a("div", { style: p(u(D)) }, [(i(true), f(g, null, m(e3.configure.items, (t3, o2) => (i(), r(h, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: c(() => [a("div", { style: p(u(w)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (i(), r(u(C), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(u(b)(e3.configure.props.base.title)), 1)], 4)]), key: "0" } : void 0]), 1032, ["style", "class"]));
17
+ } }), (e3, t2) => (r(), i(u(v), { ref_key: "thisRef", ref: V, style: s([u(S), { "margin-top": "20px" }]), class: p(u(R)) }, l({ default: c(() => [a("div", { style: s(u(D)) }, [(r(true), f(g, null, m(e3.configure.items, (t3, o2) => (r(), i(h, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: c(() => [a("div", { style: s(u(w)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (r(), i(u(C), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), d(" " + x(u(b)(e3.configure.props.base.title)), 1)], 4)]), key: "0" } : void 0]), 1032, ["style", "class"]));
18
18
  } });
19
19
  export {
20
20
  k as default
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as l, openBlock as i, createBlock as u, unref as r, isRef as a, normalizeStyle as p, normalizeClass as s, withCtx as c, createElementBlock as f, Fragment as g, renderList as m, createElementVNode as d, createCommentVNode as y, createTextVNode as x, toDisplayString as v } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as l, createBlock as i, openBlock as u, normalizeClass as r, unref as a, normalizeStyle as p, isRef as s, withCtx as c, createElementBlock as f, Fragment as g, renderList as m, createElementVNode as d, createCommentVNode as y, createTextVNode as x, toDisplayString as v } from "vue";
2
2
  import C from "../../object-render.vue.js";
3
3
  import "../../../../utils/global-refs.js";
4
4
  import { $t as V } from "../../../../utils/i18n-util.js";
@@ -13,7 +13,7 @@ const _ = e({ __name: "collapse-runtime", props: { pageContext: {}, configure: {
13
13
  });
14
14
  }), (e3, t2) => {
15
15
  const n2 = l("SuperIcon"), o2 = l("el-collapse-item"), j2 = l("el-collapse");
16
- return i(), u(j2, { ref_key: "thisRef", ref: b, modelValue: r(h), "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => a(h) ? h.value = e4 : null), style: p(r(O)), accordion: r(T), class: s(r(R)) }, { default: c(() => [(i(true), f(g, null, m(e3.configure.items, (t3, l2) => (i(), u(o2, { name: t3.index }, { title: c(() => [d("div", { style: p([r(S), { width: "100%" }]) }, [t3.iconType && t3.iconValue ? (i(), u(n2, { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + v(r(V)(t3.label)), 1)], 4)]), default: c(() => [d("div", null, [(i(true), f(g, null, m(t3.items, (t4, n3) => (i(), u(C, { key: t4.uuid, configure: t4, pageContext: e3.pageContext }, null, 8, ["configure", "pageContext"]))), 128))])]), _: 2 }, 1032, ["name"]))), 256))]), _: 1 }, 8, ["modelValue", "style", "accordion", "class"]);
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,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as u, openBlock as l, createBlock as i, withCtx as r, normalizeStyle as s, unref as a, createElementBlock as g, Fragment as f, renderList as p, createCommentVNode as c, createVNode as y, normalizeClass as m } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as o, resolveComponent as u, createBlock as l, openBlock as i, withCtx as r, createCommentVNode as s, createVNode as a, normalizeStyle as g, unref as f, createElementBlock as p, Fragment as c, renderList as y, normalizeClass as m } from "vue";
2
2
  import x from "../../object-render.vue.js";
3
3
  import "../../../../utils/global-refs.js";
4
4
  import { handleAfterInitEvent as d } from "../../../../utils/events/event-util.js";
@@ -10,7 +10,7 @@ const C = e({ __name: "container-runtime", props: { pageContext: {}, configure:
10
10
  });
11
11
  }), (e3, t2) => {
12
12
  const n2 = u("el-aside"), o2 = u("el-main"), d2 = u("el-container");
13
- return l(), i(d2, { ref_key: "thisRef", ref: _ }, { default: r(() => [e3.configure.props.useLeft ? (l(), i(n2, { key: 0, style: s(a(v)) }, { default: r(() => [(l(true), g(f, null, p(e3.configure.leftAslides, (t3, n3) => (l(), i(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : c("", true), y(o2, { style: s(a(j)), class: m(a(R)) }, { default: r(() => [(l(true), g(f, null, p(e3.configure.items, (t3, n3) => (l(), i(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style", "class"]), e3.configure.props.useRight ? (l(), i(n2, { key: 1, style: s(a(h)) }, { default: r(() => [(l(true), g(f, null, p(e3.configure.rightAslides, (t3, n3) => (l(), i(x, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["style"])) : c("", true)]), _: 1 }, 512);
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 {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as n, nextTick as s, resolveComponent as l, openBlock as i, createBlock as o, normalizeStyle as a, unref as u, normalizeClass as r, withCtx as f, createElementBlock as p, Fragment as g, renderList as m, withDirectives as c, createVNode as y, vShow as x } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as s, resolveComponent as l, createBlock as i, openBlock as o, normalizeClass as a, normalizeStyle as u, unref as r, withCtx as f, createElementBlock as p, Fragment as g, renderList as m, withDirectives as c, createVNode as y, vShow as x } from "vue";
2
2
  import d from "../../object-render.vue.js";
3
3
  import { PageDimensions as C } from "../../../../utils/interfaces/page-design-types.js";
4
4
  import { handleAfterInitEvent as v } from "../../../../utils/events/event-util.js";
@@ -17,7 +17,7 @@ const _ = e({ __name: "flex-runtime", props: { pageContext: {}, configure: {} },
17
17
  });
18
18
  }), (e3, t2) => {
19
19
  const n2 = l("el-col"), s2 = l("el-row");
20
- return i(), o(s2, { ref_key: "thisRef", ref: j, justify: b.value.flexJustify, gutter: b.value.flexGutter, align: b.value.alignItems, style: a([{ display: "flex" }, u(h)]), class: r(u(w)) }, { default: f(() => [(i(true), p(g, null, m(e3.configure.items, (t3, s3) => c((i(), o(n2, { key: t3.uuid, style: a(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"]);
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 {