super-page-runtime 2.2.83 → 2.2.89-sit1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +56 -56
  2. package/dist/es/components/runtime/utils/barcode-util.js +5 -5
  3. package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +74 -74
  4. package/dist/es/components/runtime/utils/charts/chart-pie-util.js +45 -46
  5. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +14 -16
  6. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -1
  7. package/dist/es/components/runtime/utils/charts/chart-util.js +7 -9
  8. package/dist/es/components/runtime/utils/events/event-util.js +113 -113
  9. package/dist/es/components/runtime/utils/events/print-label.js +37 -38
  10. package/dist/es/components/runtime/utils/events/standard-event.js +535 -540
  11. package/dist/es/components/runtime/utils/events/validator-util.js +72 -62
  12. package/dist/es/components/runtime/utils/form/scan-util.js +3 -4
  13. package/dist/es/components/runtime/utils/page-helper-util.js +210 -210
  14. package/dist/es/components/runtime/utils/page-init-util.js +47 -50
  15. package/dist/es/components/runtime/utils/page-permission-util.js +16 -16
  16. package/dist/es/components/runtime/utils/page-store.js +1 -1
  17. package/dist/es/components/runtime/utils/table-utils.js +23 -23
  18. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +16 -13
  19. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +4 -1
  20. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +15 -11
  21. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +12 -16
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  23. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +9 -11
  24. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +12 -13
  27. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +13 -14
  28. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +14 -15
  29. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +16 -17
  30. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +131 -122
  31. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +90 -57
  32. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +22 -26
  33. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +4 -4
  34. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  35. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
  37. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +6 -6
  38. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
  39. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +39 -36
  40. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
  41. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +11 -8
  42. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
  43. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +10 -12
  44. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +92 -94
  45. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +123 -124
  46. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +16 -14
  47. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  48. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +80 -77
  49. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -1
  50. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +34 -29
  51. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +39 -41
  52. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +22 -22
  53. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +50 -51
  54. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -8
  55. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +9 -10
  56. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -1
  57. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -1
  58. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
  59. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +5 -4
  60. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +4 -1
  61. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +7 -7
  62. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  63. package/dist/es/components/runtime/views/super-page-dialog.vue.js +9 -10
  64. package/dist/es/components/runtime/views/{super-page-dialog.vue2.js → super-page-dialog.vue3.js} +1 -0
  65. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  66. package/dist/es/components/runtime/views/super-page.vue2.js +126 -126
  67. package/dist/es/index.js +1 -0
  68. package/dist/es/style.css +234 -99
  69. package/package.json +2 -2
@@ -1,16 +1,16 @@
1
- import { defineComponent as e, ref as o, onMounted as n, watch as r, resolveComponent as t, createElementBlock as i, openBlock as a, normalizeClass as u, normalizeStyle as l, unref as p, withDirectives as s, createVNode as c, createBlock as g, createCommentVNode as f, vShow as d, withCtx as m, Fragment as h, renderList 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 i, openBlock as a, 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 x, getChartDatasFromPage as b, getValueFromVariable as O, isPromise as w, setValueForVariableName as S, updateChartDatasourcesByComponent as j, caculateShowCondition as E } from "../../../../utils/page-helper-util.js";
3
+ import { getSizeConfig as b, getChartDatasFromPage as x, getValueFromVariable as O, isPromise as S, setValueForVariableName as w, updateChartDatasourcesByComponent as E, caculateShowCondition as j } from "../../../../utils/page-helper-util.js";
4
4
  import { getCustomFunc as $ } from "../../../../utils/events/event-util.js";
5
- import k from "./group-column.vue.js";
6
- import F from "./normal-column.vue.js";
5
+ import F from "./group-column.vue.js";
6
+ import k from "./normal-column.vue.js";
7
7
  import I from "./table-pageination.vue.js";
8
- import { getSummaryTitleColumn as R, getSummaryDataColumn as H, rowDataToColumn as T, getColumnToRowTableConfig as _, colDataToRow as z, computeFormula as D, getNewColumnConfig as P, summaryStatistics as U, replacePlaceholders as G, getIndexColumn as K, getHeaderCellStyleUtil as N, getRowStyleUtil as V, getCellStyleUtil as J, formatColContent as L } from "./chart-table-util.js";
9
- import { deepCopy as A } from "../../../../utils/common-util.js";
8
+ import { getSummaryTitleColumn as N, getSummaryDataColumn as R, rowDataToColumn as T, getColumnToRowTableConfig as H, colDataToRow as _, computeFormula as z, getNewColumnConfig as D, summaryStatistics as J, replacePlaceholders as P, getIndexColumn as U, getHeaderCellStyleUtil as V, getRowStyleUtil as G, getCellStyleUtil as K, formatColContent as A } from "./chart-table-util.js";
9
+ import { deepCopy as L } from "../../../../utils/common-util.js";
10
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 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({}), ie = o(false), ae = o({}), ue = o({}), le = o({}), pe = [], se = o({}), ce = o({}), ge = o(null), fe = o(0);
13
- let de = [];
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({}), ie = o(false), ae = o({}), ue = o({}), pe = o({}), le = [], se = o({}), ce = o({}), ge = o(null), fe = o(0);
13
+ let me = [];
14
14
  if (!B.configure.props.modelCustom) {
15
15
  if (ee.value) {
16
16
  const e3 = [];
@@ -19,7 +19,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
19
19
  }), e3.sort((e4, o2) => e4.displayOrder - o2.displayOrder), re.value = e3, function() {
20
20
  if (B.configure.props.base.showIndex) {
21
21
  re.value.unshift({ columnUuid: "$index", displayOrder: 0, isLeaf: true, prop: "$index", titleText: "序号", uuid: "$index" });
22
- const e4 = K();
22
+ const e4 = U();
23
23
  e4 && (te.value.$index = e4);
24
24
  }
25
25
  }();
@@ -28,22 +28,55 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
28
28
  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);
29
29
  });
30
30
  }
31
- ie.value = B.configure.props.base.showSummary, (ie.value || B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) && (ae.value = R(B.configure), ie.value && (ue.value = H(B.configure, "table")), B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0 && (le.value = H(B.configure, "group")));
32
- let me = 300, he = x(B.pageContext, B.configure);
31
+ ie.value = B.configure.props.base.showSummary, (ie.value || B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) && (ae.value = N(B.configure), ie.value && (ue.value = R(B.configure, "table")), B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0 && (pe.value = R(B.configure, "group")));
32
+ let de = 300, he = b(B.pageContext, B.configure);
33
33
  function ve() {
34
34
  const e3 = B.configure.props.dataOrigin.variable.match(/\${(.*?)}/), o2 = e3 ? e3[1].split(".") : [];
35
35
  r(() => o2.reduce((e4, o3) => e4[o3], B.pageContext.entity), (e4) => {
36
- console.log("统计表格监听数据变量的变化 newVal:", e4), e4 ? ye(JSON.parse(JSON.stringify(e4))) : (oe.value = [], console.log("重置统计表格列配置"), B.configure.props.modelCustom ? Re(null) : ee.value ? re.value = B.configure.props.groupHeaders : ne.value = B.configure.items);
36
+ e4 ? ye(JSON.parse(JSON.stringify(e4))) : (oe.value = [], B.configure.props.modelCustom ? Re(null) : ee.value ? re.value = B.configure.props.groupHeaders : ne.value = B.configure.items);
37
37
  });
38
38
  }
39
39
  function ye(e3) {
40
- if (e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender) return e3.hasRender = true, void console.log("重复更新!", e3);
41
- !function(e4) {
42
- Re(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));
43
- de && Ce(de, e4);
44
- }(e3), e3.hasRender = true, X && (X.autoRefresh = false);
40
+ e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (!function(e4) {
41
+ var _a2;
42
+ Re(e4), "service" === B.configure.props.dataOrigin.dataSource && e4.result ? me = e4.result[B.configure.props.dataOrigin.service.serviceDataField] : "variable" === B.configure.props.dataOrigin.dataSource && (ve(), me = O(B.pageContext.entity, B.configure.props.dataOrigin.variable));
43
+ if (me) if (((_a2 = B.configure.props) == null ? void 0 : _a2.dataOrigin.limitEnable) && B.configure.props.dataOrigin.itemNumSource) {
44
+ let o2 = 10;
45
+ if ("fix" === B.configure.props.dataOrigin.itemNumSource) o2 = B.configure.props.dataOrigin.itemNumFix;
46
+ else if ("variable" === B.configure.props.dataOrigin.itemNumSource) {
47
+ o2 = Number(O(B.pageContext.entity, B.configure.props.dataOrigin.itemNumVariable));
48
+ const n2 = B.configure.props.dataOrigin.itemNumVariable.match(/\${(.*?)}/), t2 = n2 ? n2[1].split(".") : [], i2 = JSON.parse(JSON.stringify(me));
49
+ r(() => t2.reduce((e5, o3) => e5[o3], B.pageContext.entity), (o3) => {
50
+ Ce(o3, i2, e4);
51
+ });
52
+ }
53
+ Ce(o2, me, e4);
54
+ } else be(me, e4);
55
+ }(e3), e3.hasRender = true, X && (X.autoRefresh = false));
56
+ }
57
+ function Ce(e3, o2, n2) {
58
+ var _a2;
59
+ if (e3 && e3 < o2.length) {
60
+ let r2 = [];
61
+ if (((_a2 = B.configure.props.dataOrigin.limitCountColumns) == null ? void 0 : _a2.length) > 0) r2 = B.configure.props.dataOrigin.limitCountColumns;
62
+ else {
63
+ ne.value.filter((e4) => "number" === e4.props.base.dataType).forEach((e4) => {
64
+ r2.push(e4.props.base.prop);
65
+ });
66
+ }
67
+ if ((r2 == null ? void 0 : r2.length) > 0) {
68
+ const n3 = o2.slice(e3 - 1, o2.length), t2 = {};
69
+ let i2 = ne.value[0].props.base.prop;
70
+ "$index" === i2 && (i2 = ne.value[1].props.base.prop), n3.forEach((e4) => {
71
+ r2.forEach((o3) => {
72
+ void 0 === t2[o3] && (t2[o3] = 0), t2[o3] = t2[o3] + e4[o3];
73
+ });
74
+ }), o2.length > e3 && (o2 = o2.slice(0, e3 - 1)), t2[i2] = B.configure.props.dataOrigin.overItemAlias, o2.push(t2);
75
+ }
76
+ be(o2, n2);
77
+ } else be(o2, n2);
45
78
  }
46
- function Ce(e3, o2) {
79
+ function be(e3, o2) {
47
80
  var _a2;
48
81
  if (xe("rowToColumn")) {
49
82
  if (e3 = T(e3, B.configure, ne.value), !ee.value) {
@@ -51,9 +84,9 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
51
84
  const r2 = B.configure.props.dataOrigin.rowToColumn.titleColumns, t2 = B.configure.props.dataOrigin.rowToColumn.dataColumns, i2 = e4.props.dataOrigin.groupField;
52
85
  if ((!i2 || 0 === i2.length) && n2.length > 0) {
53
86
  const e5 = [];
54
- return e5.push(P("$GroupColumn", B.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string")), Object.keys(n2[0]).forEach((o5, n3) => {
87
+ return e5.push(D("$GroupColumn", B.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string")), Object.keys(n2[0]).forEach((o5, n3) => {
55
88
  if ("$GroupColumn" === o5) return;
56
- const r3 = P(o5, o5, n3 + 1, "string");
89
+ const r3 = D(o5, o5, n3 + 1, "string");
57
90
  e5.push(r3);
58
91
  }), e5;
59
92
  }
@@ -69,7 +102,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
69
102
  }), a2.forEach((o5) => {
70
103
  t2.forEach((r3) => {
71
104
  var _a3;
72
- const t3 = (_a3 = ne.value.find((e6) => e6.props.base.prop === r3)) == null ? void 0 : _a3.props.base.name, i4 = P(`${o5}${r3}`, `${o5}${t3}`, e5.length + 1, "number" == typeof n2[0][`${o5}${r3}`] ? "number" : "string");
105
+ const t3 = (_a3 = ne.value.find((e6) => e6.props.base.prop === r3)) == null ? void 0 : _a3.props.base.name, i4 = D(`${o5}${r3}`, `${o5}${t3}`, e5.length + 1, "number" == typeof n2[0][`${o5}${r3}`] ? "number" : "string");
73
106
  e5.push(i4);
74
107
  });
75
108
  }), e5;
@@ -77,7 +110,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
77
110
  }(B.configure, ne.value, e3);
78
111
  ne.value = o3;
79
112
  }
80
- } else xe("columnToRow") && (ee.value || (ne.value = _(B.configure)), e3 = z(e3, B.configure));
113
+ } else xe("columnToRow") && (ee.value || (ne.value = H(B.configure)), e3 = _(e3, B.configure));
81
114
  if (B.configure.props.dataOrigin.dataFormatting) {
82
115
  const o3 = $(B.pageContext, B.configure.props.dataOrigin.dataFormatting);
83
116
  if (o3) {
@@ -85,13 +118,13 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
85
118
  n2 && (e3 = n2);
86
119
  }
87
120
  }
88
- 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) {
89
- "frontend" === B.configure.pageination.type ? (fe.value = de.length, ke(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]));
121
+ if (Object.keys(ce.value).length > 0 && e3 && e3.length > 0 && z(ce.value, e3, B.pageContext.entity), ((_a2 = B.configure.pageination) == null ? void 0 : _a2.enable) ? function(e4) {
122
+ "frontend" === B.configure.pageination.type ? (fe.value = me.length, ke(1, B.configure.pageination.pageSize)) : "backend" === B.configure.pageination.type && (oe.value = me, B.configure.pageination.totalFrom && (fe.value = e4.result[B.configure.pageination.totalFrom]));
90
123
  }(o2) : oe.value = e3, B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) {
91
124
  const e4 = B.configure.props.highOrder.groupField;
92
125
  oe.value = function(e5, o3) {
93
126
  var _a3, _b;
94
- if (0 === le.value.length) return e5;
127
+ if (0 === pe.value.length) return e5;
95
128
  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), i2 = {};
96
129
  e5.forEach((e6) => {
97
130
  const n3 = o3.map((o4) => e6[o4]).join("|");
@@ -101,19 +134,19 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
101
134
  for (let e6 = 0; e6 < a2.length; e6++) {
102
135
  const o4 = a2[e6], i3 = {};
103
136
  t2 == null ? void 0 : t2.forEach((e7) => {
104
- const n3 = e7.props.base.prop, r3 = U(le.value[n3], o4, n3, B.pageContext);
137
+ const n3 = e7.props.base.prop, r3 = J(pe.value[n3], o4, n3, B.pageContext);
105
138
  i3[n3] = r3;
106
139
  }), n2.push(...o4), r2 == null ? void 0 : r2.forEach((e7) => {
107
140
  const n3 = e7.props.base.prop;
108
- i3[n3] = G(e7.props.base.summaryTitle, o4[0]);
109
- }), n2.push(i3), pe.push(n2.length - 1);
141
+ i3[n3] = P(e7.props.base.summaryTitle, o4[0]);
142
+ }), n2.push(i3), le.push(n2.length - 1);
110
143
  }
111
144
  return n2;
112
145
  }(oe.value, e4);
113
146
  }
114
147
  !function(e4) {
115
148
  if (B.configure.props.base.showIndex && -1 === e4.findIndex((e5) => "$index" === e5.props.base.prop)) {
116
- const o3 = K();
149
+ const o3 = U();
117
150
  o3 && e4.unshift(o3);
118
151
  }
119
152
  }(ne.value);
@@ -121,35 +154,35 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
121
154
  function xe(e3) {
122
155
  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;
123
156
  }
124
- function be(e3) {
157
+ function Oe(e3) {
125
158
  const o2 = se.value[e3.column.property] ? se.value[e3.column.property].titleStyle : null, n2 = Q == null ? void 0 : Q.titleStyle;
126
- return N(e3, { cellTitleStyle: o2, titleStyle: n2 }, B);
159
+ return V(e3, { cellTitleStyle: o2, titleStyle: n2 }, B);
127
160
  }
128
- function Oe(e3) {
129
- return V(e3, pe, B);
161
+ function Se(e3) {
162
+ return G(e3, le, B);
130
163
  }
131
164
  function we(e3) {
132
165
  const o2 = se.value[e3.column.property] ? se.value[e3.column.property].cellStyle : null;
133
- return J(e3, o2, B);
166
+ return K(e3, o2, B);
134
167
  }
135
- he && he.fixHeight && (me = he.fixHeight), he && he.maxHeight && (me = he.maxHeight), me && (me = Number(me + "")), n(() => {
136
- const e3 = b(B.pageContext, B.configure);
168
+ he && he.fixHeight && (de = he.fixHeight), he && he.maxHeight && (de = he.maxHeight), de && (de = Number(de + "")), n(() => {
169
+ const e3 = x(B.pageContext, B.configure);
137
170
  if (e3) ye(e3);
138
171
  else if ("variable" === B.configure.props.dataOrigin.dataSource) {
139
172
  ve();
140
173
  const o2 = O(B.pageContext.entity, B.configure.props.dataOrigin.variable);
141
- o2 && Ce(o2, e3);
174
+ o2 && be(o2, e3);
142
175
  }
143
176
  });
144
- const Se = (e3) => {
177
+ const Ee = (e3) => {
145
178
  const { columns: o2, data: n2 } = e3, r2 = [];
146
179
  return o2.forEach((e4, o3) => {
147
180
  if (ae.value[e4.property]) {
148
181
  const t2 = ae.value[e4.property].label;
149
- r2[o3] = y("div", {}, [G(t2, n2)]);
182
+ r2[o3] = y("div", {}, [P(t2, n2)]);
150
183
  } else if (ue.value[e4.property]) {
151
- const t2 = n2.filter((e5, o4) => !pe.includes(o4));
152
- r2[o3] = U(ue.value[e4.property], t2, e4.property, B.pageContext);
184
+ const t2 = n2.filter((e5, o4) => !le.includes(o4));
185
+ r2[o3] = J(ue.value[e4.property], t2, e4.property, B.pageContext);
153
186
  }
154
187
  }), r2;
155
188
  };
@@ -163,50 +196,50 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
163
196
  }
164
197
  } else if (i2 && i2.mergeColumn, i2 && i2.mergeRow && i2.mergeRow.includes(t2) && 0 === n2) return { rowspan: oe.value.length, colspan: 1 };
165
198
  }
166
- function Ee(e3, o2) {
167
- "frontend" === B.configure.pageination.type ? ke(e3, o2) : Fe(e3, o2);
168
- }
169
199
  function $e(e3, o2) {
170
- "frontend" === B.configure.pageination.type ? ke(e3, o2) : Fe(e3, o2);
200
+ "frontend" === B.configure.pageination.type ? ke(e3, o2) : Ie(e3, o2);
201
+ }
202
+ function Fe(e3, o2) {
203
+ "frontend" === B.configure.pageination.type ? ke(e3, o2) : Ie(e3, o2);
171
204
  }
172
205
  function ke(e3, o2) {
173
- de && (oe.value = de.slice((e3 - 1) * o2, e3 * o2));
206
+ me && (oe.value = me.slice((e3 - 1) * o2, e3 * o2));
174
207
  }
175
- function Fe(e3, o2) {
176
- B.configure.pageination.currentPageSet && S(B.pageContext.entity, B.configure.pageination.currentPageSet, e3), B.configure.pageination.pageSizeSet && S(B.pageContext.entity, B.configure.pageination.pageSizeSet, o2), j(B.pageContext, B.configure.uuid);
208
+ function Ie(e3, o2) {
209
+ 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), E(B.pageContext, B.configure.uuid);
177
210
  }
178
- function Ie(e3) {
211
+ function Ne(e3) {
179
212
  const o2 = e3.showCondition;
180
- return E(B.pageContext, o2);
213
+ return j(B.pageContext, o2);
181
214
  }
182
215
  function Re(e3) {
183
216
  if (B.configure.props.modelCustom) {
184
217
  const o2 = $(B.pageContext, B.configure.props.modelCustom);
185
218
  if (o2) {
186
219
  const n2 = o2.apply(o2, [{ pageContext: B.pageContext, configureObj: B.configure, value: e3 }]);
187
- w(n2) ? n2.then((e4) => {
220
+ S(n2) ? n2.then((e4) => {
188
221
  ne.value = e4.columns;
189
222
  }) : ne.value = n2.columns;
190
223
  }
191
224
  }
192
225
  }
193
- function He(e3, o2, n2) {
226
+ function Te(e3, o2, n2) {
194
227
  e3.forEach((e4) => {
195
228
  const r2 = e4.props.base.prop, t2 = e4.props.base.name;
196
229
  let i2 = { name: r2, label: t2, i18nKey: t2 };
197
- e4.children && e4.childern.length > 0 && (i2.children = [], He(e4.children, i2.children, n2)), e4.props.format && e4.props.format.type && n2.push(e4), o2.push(i2);
230
+ e4.children && e4.childern.length > 0 && (i2.children = [], Te(e4.children, i2.children, n2)), e4.props.format && e4.props.format.type && n2.push(e4), o2.push(i2);
198
231
  });
199
232
  }
200
233
  return q2({ updateChartDatas: ye, exportChart: function() {
201
234
  let e3 = [], o2 = [];
202
235
  o2 = ee.value ? B.configure.props.groupHeaders : B.configure.items;
203
236
  let n2 = [];
204
- He(o2, e3, n2);
237
+ Te(o2, e3, n2);
205
238
  return { isTable: true, dataArr: function(e4) {
206
239
  let o3 = [];
207
- oe.value && (o3 = A(oe.value), o3.forEach((o4) => {
240
+ oe.value && (o3 = L(oe.value), o3.forEach((o4) => {
208
241
  e4.forEach((e5) => {
209
- const n3 = L(o4, e5.props.format, e5, B.pageContext, B.configure);
242
+ const n3 = A(o4, e5.props.format, e5, B.pageContext, B.configure);
210
243
  o4[e5.props.base.prop] = n3;
211
244
  });
212
245
  }));
@@ -214,7 +247,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
214
247
  }(n2), columns: e3 };
215
248
  } }), (o2, n2) => {
216
249
  const r2 = t("el-table");
217
- return a(), i("div", { style: l([p(Q), { display: "flex", "flex-direction": "column" }]), class: u([p(W), "amb-widget-chart amb-widget-flex"]), ref: "thisRef" }, [s(c(C, { ref_key: "headerRef", ref: Z, headerInfo: p(Y), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, p(Y).showHeader || e2.pageContext.showHomepageSearch]]), c(r2, { ref_key: "gridRef", ref: ge, data: oe.value, style: { width: "100%" }, "max-height": p(me), "header-cell-style": be, "row-style": Oe, "cell-style": we, "show-summary": ie.value, stripe: e2.configure.props.base.stripe, "summary-method": Se, "span-method": je }, { default: m(() => [ee.value ? (a(true), i(h, { key: 0 }, v(re.value, (o3, n3) => (a(), i(h, { key: n3 }, [o3.isLeaf ? Ie(te.value[o3.columnUuid]) ? (a(), g(F, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: te.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : f("", true) : (a(), g(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: te.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (a(true), i(h, { key: 1 }, v(ne.value, (o3, n3) => (a(), i(h, { key: n3 }, [Ie(o3) ? (a(), g(F, { 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 ? (a(), g(I, { key: 0, configure: e2.configure, "table-data": oe.value, total: fe.value, onPageChange: Ee, onPageSizeChange: $e }, null, 8, ["configure", "table-data", "total"])) : f("", true)], 6);
250
+ return a(), i("div", { style: p(l(Q)), class: u([l(W), "amb-widget-chart amb-widget-flex"]), 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(de), "header-cell-style": Oe, "row-style": Se, "cell-style": we, "show-summary": ie.value, stripe: e2.configure.props.base.stripe, "summary-method": Ee, "span-method": je }, { default: d(() => [ee.value ? (a(true), i(h, { key: 0 }, v(re.value, (o3, n3) => (a(), i(h, { key: n3 }, [o3.isLeaf ? Ne(te.value[o3.columnUuid]) ? (a(), g(k, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: te.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : f("", true) : (a(), g(F, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: te.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (a(true), i(h, { key: 1 }, v(ne.value, (o3, n3) => (a(), i(h, { key: n3 }, [Ne(o3) ? (a(), g(k, { 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 ? (a(), g(I, { key: 0, configure: e2.configure, "table-data": oe.value, total: fe.value, onPageChange: $e, onPageSizeChange: Fe }, null, 8, ["configure", "table-data", "total"])) : f("", true)], 6);
218
251
  };
219
252
  } });
220
253
  export {
@@ -1,36 +1,32 @@
1
- import { defineComponent as e, ref as t, onMounted as l, resolveComponent as o, createBlock as a, openBlock as n, withCtx as s, createVNode as r, createTextVNode as u, toDisplayString as p } from "vue";
2
- import { packageTemplateFiles as i } from "../../../utils/common-util.js";
3
- const m = "${", c = "}", g = e({ __name: "export-form-report-dialog", props: { configure: { type: Object, required: true }, pageContext: { type: Object } }, emits: ["export", "close"], setup(e2, { emit: g2 }) {
4
- const d = e2, f = g2, x = t([]), b = t([]), h = d.configure.props.base, v = d.pageContext.entity.data;
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
+ import { packageTemplateFiles as n } from "../../../utils/common-util.js";
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
+ const g = e2, f = c2, b = t([]), h = t([]), x = g.configure.props.base, v = g.pageContext.entity.data;
5
5
  function w(e3) {
6
- let t2, l2;
7
- console.log("templateShowName", e3);
8
- let o2 = e3;
9
- const a2 = o2.indexOf(m), n2 = o2.indexOf(c);
10
- return console.log("prefixIndex", a2), console.log("suffixIndex", n2), -1 !== a2 && -1 !== n2 ? (a2 > n2 ? (o2 = o2.substring(0, n2) + o2.substring(n2 + 1), console.log("non replacement value === newValue", o2)) : (t2 = o2.substring(a2 + 2, n2), l2 = o2.substring(a2, n2 + 1), console.log("field", t2), console.log("formatStr", l2), b.value.push(t2), console.log("fields", b.value), o2 = o2.replace(l2, ""), console.log("newValue", o2)), w(o2)) : b.value;
6
+ let t2, a2, l2 = e3;
7
+ const o2 = l2.indexOf(m), p2 = l2.indexOf(d);
8
+ return -1 !== o2 && -1 !== p2 ? (o2 > p2 ? l2 = l2.substring(0, p2) + l2.substring(p2 + 1) : (t2 = l2.substring(o2 + 2, p2), a2 = l2.substring(o2, p2 + 1), h.value.push(t2), l2 = l2.replace(a2, "")), w(l2)) : h.value;
11
9
  }
12
- function N() {
10
+ function y() {
13
11
  f("close");
14
12
  }
15
- return l(() => {
16
- h.templateFiles && h.templateFiles.length > 0 ? x.value = i(h.templateFiles) : h.templateUuid && h.templateName && x.value.push({ templateUuid: h.templateUuid, templateName: h.templateName }), x.value.forEach((e3) => {
17
- e3 && e3.templateName && (e3.templateName = function(e4) {
18
- const t2 = w(e4);
19
- return console.log("fields", t2), t2.forEach((t3) => {
20
- const l2 = m + t3 + c;
21
- let o2;
22
- -1 !== e4.indexOf(l2) && v.hasOwnProperty(t3) && (o2 = v[t3] ? v[t3] : "", e4 = e4.replace(l2, o2));
23
- }), e4;
24
- }(e3.templateName));
13
+ return a(() => {
14
+ x.templateFiles && x.templateFiles.length > 0 ? b.value = n(x.templateFiles) : x.templateUuid && x.templateName && b.value.push({ templateUuid: x.templateUuid, templateName: x.templateName }), b.value.forEach((e3) => {
15
+ var t2;
16
+ e3 && e3.templateName && (e3.templateName = (w(t2 = e3.templateName).forEach((e4) => {
17
+ const a2 = m + e4 + d;
18
+ let l2;
19
+ -1 !== t2.indexOf(a2) && v.hasOwnProperty(e4) && (l2 = v[e4] ? v[e4] : "", t2 = t2.replace(a2, l2));
20
+ }), t2));
25
21
  });
26
22
  }), (e3, t2) => {
27
- const l2 = o("el-table-column"), i2 = o("el-button"), m2 = o("el-table"), c2 = o("el-dialog");
28
- return n(), a(c2, { "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), "model-value": "", onClose: N }, { default: s(() => [r(m2, { data: x.value, style: { width: "100%" } }, { default: s(() => [r(l2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: s((e4) => [u(p(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), r(l2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: s((t3) => [r(i2, { type: "text", size: "small", onClick: (e4) => {
29
- return l3 = t3.row, void f("export", d.configure, l3);
30
- var l3;
31
- } }, { default: s(() => [u(p(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"]);
23
+ const a2 = l("el-table-column"), n2 = l("el-button"), m2 = l("el-table"), d2 = l("el-dialog");
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
+ return a3 = t3.row, void f("export", g.configure, a3);
26
+ var a3;
27
+ } }, { default: r(() => [u(i(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["title"]);
32
28
  };
33
29
  } });
34
30
  export {
35
- g as default
31
+ c as default
36
32
  };
@@ -2,21 +2,21 @@ import { defineComponent as e, ref as t, onMounted as l, resolveComponent as a,
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
- const { t: f } = m(), v = e2, b = g2, h = t([]), k = t([]);
6
- function y(e3) {
5
+ const { t: f } = m(), v = e2, b = g2, h = t([]), y = t([]);
6
+ function k(e3) {
7
7
  h.value = e3;
8
8
  }
9
9
  function R() {
10
10
  0 !== h.value.length ? b("result", h.value) : p({ showClose: true, type: "warning", message: this.$t("superPageRuntimeMessage.pleaseSelectRemoverUsers") });
11
11
  }
12
12
  return l(() => {
13
- k.value = function() {
13
+ y.value = function() {
14
14
  if (v.activeTasks && v.taskId) return v.activeTasks.filter((e3) => v.taskId !== e3.id ? e3.id : e3.ID ? e3.ID : null);
15
15
  return [];
16
16
  }();
17
17
  }), (e3, t2) => {
18
18
  const l2 = a("el-table-column"), p2 = a("el-table"), m2 = a("el-button"), g3 = a("el-dialog");
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"])]);
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, { type: "default", onClick: t2[0] || (t2[0] = (t3) => e3.$emit("close")) }, { default: r(() => [i(d(e3.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: r(() => [n(p2, { data: y.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"])]);
20
20
  };
21
21
  } });
22
22
  export {
@@ -22,7 +22,7 @@ const f = { class: "dialog-footer" }, v = e({ __name: "save-chart-condition-dial
22
22
  $();
23
23
  }), v2({ refreshConditionList: $ }), (e3, t2) => {
24
24
  const l2 = o("el-input"), c2 = o("el-col"), m2 = o("el-button"), v3 = o("el-row"), h2 = o("el-table-column"), y2 = o("Delete"), b2 = o("el-icon"), x = o("el-table"), O = o("el-dialog");
25
- return n(), a("div", null, [s(O, { "model-value": "", title: e3.$t("superPageRuntimeMessage.saveCondition"), "close-on-click-modal": false, "append-to-body": "", width: "40%", "max-height": "400", onOpen: t2[2] || (t2[2] = (e4) => _("open")), onOpend: t2[3] || (t2[3] = (e4) => _("opend")), onClose: t2[4] || (t2[4] = (e4) => _("close")), onClosed: t2[5] || (t2[5] = (e4) => _("closed")) }, { footer: u(() => [d("div", f, [s(m2, { type: "primary", onClick: R }, { default: u(() => [i(r(e3.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), s(m2, { onClick: t2[1] || (t2[1] = (e4) => _("close")) }, { default: u(() => [i(r(e3.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: u(() => [s(v3, { style: { "padding-bottom": "10px" }, gutter: 10 }, { default: u(() => [s(c2, { span: 18 }, { default: u(() => [s(l2, { modelValue: w.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => w.value = e4), placeholder: e3.$t("superPageRuntimeMessage.pleaseInputConditionName") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }), s(c2, { span: 6 }, { default: u(() => [s(m2, { type: "primary", onClick: P }, { default: u(() => [i(r(e3.$t("superPageRuntimeMessage.save")), 1)]), _: 1 })]), _: 1 })]), _: 1 }), s(x, { data: M.value, border: "", style: { width: "100%" }, onSelect: k }, { default: u(() => [s(h2, { type: "selection", align: "center", width: "55" }), s(h2, { prop: "name", label: e3.$t("superPageRuntimeMessage.conditionName") }, null, 8, ["label"]), s(h2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "60" }, { default: u((e4) => [s(b2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (t3) => {
25
+ return n(), a("div", null, [s(O, { "model-value": "", title: e3.$t("superPageRuntimeMessage.saveCondition"), "close-on-click-modal": false, "append-to-body": "", width: "40%", "max-height": "400", onOpen: t2[2] || (t2[2] = (e4) => _("open")), onOpend: t2[3] || (t2[3] = (e4) => _("opend")), onClose: t2[4] || (t2[4] = (e4) => _("close")), onClosed: t2[5] || (t2[5] = (e4) => _("closed")) }, { footer: u(() => [d("div", f, [s(m2, { type: "primary", onClick: R }, { default: u(() => [i(r(e3.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), s(m2, { type: "default", onClick: t2[1] || (t2[1] = (e4) => _("close")) }, { default: u(() => [i(r(e3.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: u(() => [s(v3, { style: { "padding-bottom": "10px" }, gutter: 10 }, { default: u(() => [s(c2, { span: 18 }, { default: u(() => [s(l2, { modelValue: w.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => w.value = e4), placeholder: e3.$t("superPageRuntimeMessage.pleaseInputConditionName") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }), s(c2, { span: 6 }, { default: u(() => [s(m2, { type: "primary", onClick: P }, { default: u(() => [i(r(e3.$t("superPageRuntimeMessage.save")), 1)]), _: 1 })]), _: 1 })]), _: 1 }), s(x, { data: M.value, border: "", style: { width: "100%" }, onSelect: k }, { default: u(() => [s(h2, { type: "selection", align: "center", width: "55" }), s(h2, { prop: "name", label: e3.$t("superPageRuntimeMessage.conditionName") }, null, 8, ["label"]), s(h2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "60" }, { default: u((e4) => [s(b2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (t3) => {
26
26
  return l3 = e4.row, void g(l3.id).then(() => {
27
27
  p({ showClose: true, type: "success", message: C("superPageRuntimeMessage.successfulDelete") }), $();
28
28
  });
@@ -1,4 +1,4 @@
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";
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 u, createTextVNode as i, 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 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"])]);
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(() => [u("div", m, [a(g2, { type: "primary", onClick: b }, { default: s(() => [i(d(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), a(g2, { type: "default", onClick: r2[0] || (r2[0] = (e3) => f("close")) }, { default: s(() => [i(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,7 +1,7 @@
1
1
  import r from "./card-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = e(r, [["__scopeId", "data-v-fc66efb1"]]);
4
+ const t = e(r, [["__scopeId", "data-v-26138226"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as t, ref as o, onMounted as i, nextTick as n, resolveComponent as r, createBlock as l, openBlock as s, unref as u, normalizeClass as a, normalizeStyle as p, createSlots as c, withCtx as f, createElementVNode as g, createElementBlock as m, Fragment as y, renderList as d, createCommentVNode as x, createTextVNode as v, toDisplayString as C } from "vue";
1
+ import { defineComponent as e, computed as o, ref as t, onMounted as i, nextTick as n, resolveComponent as r, createBlock as l, openBlock as s, unref as u, normalizeClass as a, normalizeStyle as p, createSlots as c, withCtx as f, createElementVNode as g, createElementBlock as m, Fragment as y, renderList as d, createCommentVNode as v, createTextVNode as x, toDisplayString as C } from "vue";
2
2
  import { ElCard as b } from "element-plus";
3
3
  import { SuperIcon as h } from "agilebuilder-ui";
4
4
  import { ArrowUp as k, ArrowDown as w } from "@element-plus/icons-vue";
@@ -9,19 +9,19 @@ const V = e({ __name: "card-runtime", props: { pageContext: {}, configure: {} },
9
9
  var _a, _b;
10
10
  const _ = e2;
11
11
  _.configure.items || (_.configure.items = []);
12
- const R = t(() => {
12
+ const R = o(() => {
13
13
  var _a2;
14
14
  return [true, void 0].includes((_a2 = _.configure.props) == null ? void 0 : _a2.isCollapse);
15
- }), z = o(null), D = o(!((_a = _.configure.props) == null ? void 0 : _a.isCollapse) || false !== ((_b = _.configure.props) == null ? void 0 : _b.isCollapseShow)), q = _.configure.runtime ? _.configure.runtime : {}, A = q.style, B = q.class, E = q.headerStyle, F = q.contentStyle, G = () => R.value && (D.value = !D.value);
15
+ }), z = t(null), D = t(!((_a = _.configure.props) == null ? void 0 : _a.isCollapse) || false !== ((_b = _.configure.props) == null ? void 0 : _b.isCollapseShow)), q = _.configure.runtime ? _.configure.runtime : {}, A = q.style, B = q.class, E = q.headerStyle, F = q.contentStyle, G = () => R.value && (D.value = !D.value);
16
16
  return i(() => {
17
17
  n(() => {
18
18
  T(null, _.pageContext, _.configure, { componentRef: z.value, entity: _.pageContext.entity.data, pageData: _.pageContext.entity.page });
19
19
  });
20
20
  }), V2({ test: function() {
21
21
  _.configure.props.title = "teee";
22
- } }), (e3, t2) => {
23
- const o2 = r("el-button");
24
- return s(), l(u(b), { ref_key: "thisRef", ref: z, style: p(u(A)), "data-collapse": String(D.value), class: a(["yx-card-box-view-main", u(B)]) }, c({ default: f(() => [g("div", { class: "yx-card-box-view-context", style: p(u(F)) }, [(s(true), m(y, null, d(e3.configure.items, (t3, o3) => (s(), l(S, { key: t3.uuid, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: f(() => [g("div", { class: "yx-card-box-view-header", onClick: G }, [g("div", { class: "yx-card-box-view-title", style: p(u(E)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (s(), l(u(h), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : x("", true), v(" " + C(u(j)(e3.configure.props.base.title)), 1)], 4), R.value ? (s(), l(o2, { key: 0, type: "text", icon: D.value ? u(k) : u(w), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : x("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
22
+ } }), (e3, o2) => {
23
+ const t2 = r("el-link");
24
+ return s(), l(u(b), { ref_key: "thisRef", ref: z, style: p(u(A)), "data-collapse": String(D.value), class: a(["yx-card-box-view-main", u(B)]) }, c({ default: f(() => [g("div", { class: "yx-card-box-view-context", style: p(u(F)) }, [(s(true), m(y, null, d(e3.configure.items, (o3, t3) => (s(), l(S, { key: o3.uuid, pageContext: e3.pageContext, configure: o3 }, null, 8, ["pageContext", "configure"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: f(() => [g("div", { class: "yx-card-box-view-header", onClick: G }, [g("div", { class: "yx-card-box-view-title", style: p(u(E)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (s(), l(u(h), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : v("", true), x(" " + C(u(j)(e3.configure.props.base.title)), 1)], 4), R.value ? (s(), l(t2, { key: 0, underline: false, icon: D.value ? u(k) : u(w), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : v("", true)])]), key: "0" } : void 0]), 1032, ["style", "data-collapse", "class"]);
25
25
  };
26
26
  } });
27
27
  export {
@@ -1,7 +1,7 @@
1
1
  import e from "./YxAffix.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = o(e, [["__scopeId", "data-v-d053fb6d"]]);
4
+ const r = o(e, [["__scopeId", "data-v-a994b02d"]]);
5
5
  export {
6
6
  r as default
7
7
  };