super-page-runtime 2.2.77-sit8 → 2.2.78

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 (68) 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 +46 -45
  5. package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +16 -14
  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 +9 -7
  8. package/dist/es/components/runtime/utils/events/event-util.js +113 -113
  9. package/dist/es/components/runtime/utils/events/print-label.js +38 -37
  10. package/dist/es/components/runtime/utils/events/standard-event.js +523 -508
  11. package/dist/es/components/runtime/utils/events/validator-util.js +62 -72
  12. package/dist/es/components/runtime/utils/form/scan-util.js +4 -3
  13. package/dist/es/components/runtime/utils/page-helper-util.js +210 -210
  14. package/dist/es/components/runtime/utils/page-init-util.js +50 -47
  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 +13 -16
  19. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -4
  20. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +11 -15
  21. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +16 -12
  22. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
  23. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +11 -9
  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 +13 -12
  27. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +14 -13
  28. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +15 -14
  29. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +17 -16
  30. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +122 -131
  31. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +57 -90
  32. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +26 -22
  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 +35 -38
  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/tools/tools-runtime.vue.js +1 -1
  42. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
  43. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +94 -92
  44. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +124 -123
  45. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +14 -16
  46. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
  47. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +77 -80
  48. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -0
  49. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +29 -34
  50. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +41 -39
  51. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +22 -22
  52. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +51 -50
  53. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +8 -6
  54. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -9
  55. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -0
  56. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -0
  57. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
  58. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +4 -5
  59. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -4
  60. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +7 -7
  61. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  62. package/dist/es/components/runtime/views/super-page-dialog.vue.js +10 -9
  63. package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog.vue2.js} +0 -1
  64. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  65. package/dist/es/components/runtime/views/super-page.vue2.js +126 -126
  66. package/dist/es/index.js +0 -1
  67. package/dist/es/style.css +99 -225
  68. 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 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";
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";
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 E, caculateShowCondition as j } from "../../../../utils/page-helper-util.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";
4
4
  import { getCustomFunc as $ } from "../../../../utils/events/event-util.js";
5
- import F from "./group-column.vue.js";
6
- import k from "./normal-column.vue.js";
5
+ import k from "./group-column.vue.js";
6
+ import F from "./normal-column.vue.js";
7
7
  import I from "./table-pageination.vue.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";
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";
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({}), pe = o({}), le = [], se = o({}), ce = o({}), ge = o(null), fe = o(0);
13
- let me = [];
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 = [];
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 = U();
22
+ const e4 = K();
23
23
  e4 && (te.value.$index = e4);
24
24
  }
25
25
  }();
@@ -28,55 +28,22 @@ 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 = 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);
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);
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
- 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);
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);
37
37
  });
38
38
  }
39
39
  function ye(e3) {
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);
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);
78
45
  }
79
- function be(e3, o2) {
46
+ function Ce(e3, o2) {
80
47
  var _a2;
81
48
  if (xe("rowToColumn")) {
82
49
  if (e3 = T(e3, B.configure, ne.value), !ee.value) {
@@ -84,9 +51,9 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
84
51
  const r2 = B.configure.props.dataOrigin.rowToColumn.titleColumns, t2 = B.configure.props.dataOrigin.rowToColumn.dataColumns, i2 = e4.props.dataOrigin.groupField;
85
52
  if ((!i2 || 0 === i2.length) && n2.length > 0) {
86
53
  const e5 = [];
87
- return e5.push(D("$GroupColumn", B.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string")), Object.keys(n2[0]).forEach((o5, n3) => {
54
+ return e5.push(P("$GroupColumn", B.configure.props.dataOrigin.rowToColumn.firstColumnTitle, 0, "string")), Object.keys(n2[0]).forEach((o5, n3) => {
88
55
  if ("$GroupColumn" === o5) return;
89
- const r3 = D(o5, o5, n3 + 1, "string");
56
+ const r3 = P(o5, o5, n3 + 1, "string");
90
57
  e5.push(r3);
91
58
  }), e5;
92
59
  }
@@ -102,7 +69,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
102
69
  }), a2.forEach((o5) => {
103
70
  t2.forEach((r3) => {
104
71
  var _a3;
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");
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");
106
73
  e5.push(i4);
107
74
  });
108
75
  }), e5;
@@ -110,7 +77,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
110
77
  }(B.configure, ne.value, e3);
111
78
  ne.value = o3;
112
79
  }
113
- } else xe("columnToRow") && (ee.value || (ne.value = H(B.configure)), e3 = _(e3, B.configure));
80
+ } else xe("columnToRow") && (ee.value || (ne.value = _(B.configure)), e3 = z(e3, B.configure));
114
81
  if (B.configure.props.dataOrigin.dataFormatting) {
115
82
  const o3 = $(B.pageContext, B.configure.props.dataOrigin.dataFormatting);
116
83
  if (o3) {
@@ -118,13 +85,13 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
118
85
  n2 && (e3 = n2);
119
86
  }
120
87
  }
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]));
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]));
123
90
  }(o2) : oe.value = e3, B.configure.props.highOrder.groupField && B.configure.props.highOrder.groupField.length > 0) {
124
91
  const e4 = B.configure.props.highOrder.groupField;
125
92
  oe.value = function(e5, o3) {
126
93
  var _a3, _b;
127
- if (0 === pe.value.length) return e5;
94
+ if (0 === le.value.length) return e5;
128
95
  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 = {};
129
96
  e5.forEach((e6) => {
130
97
  const n3 = o3.map((o4) => e6[o4]).join("|");
@@ -134,19 +101,19 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
134
101
  for (let e6 = 0; e6 < a2.length; e6++) {
135
102
  const o4 = a2[e6], i3 = {};
136
103
  t2 == null ? void 0 : t2.forEach((e7) => {
137
- const n3 = e7.props.base.prop, r3 = J(pe.value[n3], o4, n3, B.pageContext);
104
+ const n3 = e7.props.base.prop, r3 = U(le.value[n3], o4, n3, B.pageContext);
138
105
  i3[n3] = r3;
139
106
  }), n2.push(...o4), r2 == null ? void 0 : r2.forEach((e7) => {
140
107
  const n3 = e7.props.base.prop;
141
- i3[n3] = P(e7.props.base.summaryTitle, o4[0]);
142
- }), n2.push(i3), le.push(n2.length - 1);
108
+ i3[n3] = G(e7.props.base.summaryTitle, o4[0]);
109
+ }), n2.push(i3), pe.push(n2.length - 1);
143
110
  }
144
111
  return n2;
145
112
  }(oe.value, e4);
146
113
  }
147
114
  !function(e4) {
148
115
  if (B.configure.props.base.showIndex && -1 === e4.findIndex((e5) => "$index" === e5.props.base.prop)) {
149
- const o3 = U();
116
+ const o3 = K();
150
117
  o3 && e4.unshift(o3);
151
118
  }
152
119
  }(ne.value);
@@ -154,35 +121,35 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
154
121
  function xe(e3) {
155
122
  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;
156
123
  }
157
- function Oe(e3) {
124
+ function be(e3) {
158
125
  const o2 = se.value[e3.column.property] ? se.value[e3.column.property].titleStyle : null, n2 = Q == null ? void 0 : Q.titleStyle;
159
- return V(e3, { cellTitleStyle: o2, titleStyle: n2 }, B);
126
+ return N(e3, { cellTitleStyle: o2, titleStyle: n2 }, B);
160
127
  }
161
- function Se(e3) {
162
- return G(e3, le, B);
128
+ function Oe(e3) {
129
+ return V(e3, pe, B);
163
130
  }
164
131
  function we(e3) {
165
132
  const o2 = se.value[e3.column.property] ? se.value[e3.column.property].cellStyle : null;
166
- return K(e3, o2, B);
133
+ return J(e3, o2, B);
167
134
  }
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);
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);
170
137
  if (e3) ye(e3);
171
138
  else if ("variable" === B.configure.props.dataOrigin.dataSource) {
172
139
  ve();
173
140
  const o2 = O(B.pageContext.entity, B.configure.props.dataOrigin.variable);
174
- o2 && be(o2, e3);
141
+ o2 && Ce(o2, e3);
175
142
  }
176
143
  });
177
- const Ee = (e3) => {
144
+ const Se = (e3) => {
178
145
  const { columns: o2, data: n2 } = e3, r2 = [];
179
146
  return o2.forEach((e4, o3) => {
180
147
  if (ae.value[e4.property]) {
181
148
  const t2 = ae.value[e4.property].label;
182
- r2[o3] = y("div", {}, [P(t2, n2)]);
149
+ r2[o3] = y("div", {}, [G(t2, n2)]);
183
150
  } else if (ue.value[e4.property]) {
184
- const t2 = n2.filter((e5, o4) => !le.includes(o4));
185
- r2[o3] = J(ue.value[e4.property], t2, e4.property, B.pageContext);
151
+ const t2 = n2.filter((e5, o4) => !pe.includes(o4));
152
+ r2[o3] = U(ue.value[e4.property], t2, e4.property, B.pageContext);
186
153
  }
187
154
  }), r2;
188
155
  };
@@ -196,50 +163,50 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
196
163
  }
197
164
  } else if (i2 && i2.mergeColumn, i2 && i2.mergeRow && i2.mergeRow.includes(t2) && 0 === n2) return { rowspan: oe.value.length, colspan: 1 };
198
165
  }
199
- function $e(e3, o2) {
200
- "frontend" === B.configure.pageination.type ? ke(e3, o2) : Ie(e3, o2);
166
+ function Ee(e3, o2) {
167
+ "frontend" === B.configure.pageination.type ? ke(e3, o2) : Fe(e3, o2);
201
168
  }
202
- function Fe(e3, o2) {
203
- "frontend" === B.configure.pageination.type ? ke(e3, o2) : Ie(e3, o2);
169
+ function $e(e3, o2) {
170
+ "frontend" === B.configure.pageination.type ? ke(e3, o2) : Fe(e3, o2);
204
171
  }
205
172
  function ke(e3, o2) {
206
- me && (oe.value = me.slice((e3 - 1) * o2, e3 * o2));
173
+ de && (oe.value = de.slice((e3 - 1) * o2, e3 * o2));
207
174
  }
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);
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);
210
177
  }
211
- function Ne(e3) {
178
+ function Ie(e3) {
212
179
  const o2 = e3.showCondition;
213
- return j(B.pageContext, o2);
180
+ return E(B.pageContext, o2);
214
181
  }
215
182
  function Re(e3) {
216
183
  if (B.configure.props.modelCustom) {
217
184
  const o2 = $(B.pageContext, B.configure.props.modelCustom);
218
185
  if (o2) {
219
186
  const n2 = o2.apply(o2, [{ pageContext: B.pageContext, configureObj: B.configure, value: e3 }]);
220
- S(n2) ? n2.then((e4) => {
187
+ w(n2) ? n2.then((e4) => {
221
188
  ne.value = e4.columns;
222
189
  }) : ne.value = n2.columns;
223
190
  }
224
191
  }
225
192
  }
226
- function Te(e3, o2, n2) {
193
+ function He(e3, o2, n2) {
227
194
  e3.forEach((e4) => {
228
195
  const r2 = e4.props.base.prop, t2 = e4.props.base.name;
229
196
  let i2 = { name: r2, label: t2, i18nKey: t2 };
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);
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);
231
198
  });
232
199
  }
233
200
  return q2({ updateChartDatas: ye, exportChart: function() {
234
201
  let e3 = [], o2 = [];
235
202
  o2 = ee.value ? B.configure.props.groupHeaders : B.configure.items;
236
203
  let n2 = [];
237
- Te(o2, e3, n2);
204
+ He(o2, e3, n2);
238
205
  return { isTable: true, dataArr: function(e4) {
239
206
  let o3 = [];
240
- oe.value && (o3 = L(oe.value), o3.forEach((o4) => {
207
+ oe.value && (o3 = A(oe.value), o3.forEach((o4) => {
241
208
  e4.forEach((e5) => {
242
- const n3 = A(o4, e5.props.format, e5, B.pageContext, B.configure);
209
+ const n3 = L(o4, e5.props.format, e5, B.pageContext, B.configure);
243
210
  o4[e5.props.base.prop] = n3;
244
211
  });
245
212
  }));
@@ -247,7 +214,7 @@ const q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
247
214
  }(n2), columns: e3 };
248
215
  } }), (o2, n2) => {
249
216
  const r2 = t("el-table");
250
- return a(), i("div", { style: p([l(Q), { display: "flex", "flex-direction": "column" }]), 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);
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);
251
218
  };
252
219
  } });
253
220
  export {
@@ -1,32 +1,36 @@
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;
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;
5
5
  function w(e3) {
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;
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;
9
11
  }
10
- function y() {
12
+ function N() {
11
13
  f("close");
12
14
  }
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));
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));
21
25
  });
22
26
  }), (e3, t2) => {
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"]);
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"]);
28
32
  };
29
33
  } });
30
34
  export {
31
- c as default
35
+ g as default
32
36
  };
@@ -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([]), y = t([]);
6
- function k(e3) {
5
+ const { t: f } = m(), v = e2, b = g2, h = t([]), k = t([]);
6
+ function y(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
- y.value = function() {
13
+ k.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, { 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"])]);
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"])]);
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, { 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) => {
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) => {
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 u, createTextVNode as i, 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 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"])]);
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,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-26138226"]]);
4
+ const t = e(r, [["__scopeId", "data-v-fc66efb1"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,4 +1,4 @@
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";
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";
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 = o(() => {
12
+ const R = t(() => {
13
13
  var _a2;
14
14
  return [true, void 0].includes((_a2 = _.configure.props) == null ? void 0 : _a2.isCollapse);
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);
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);
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, 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"]);
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"]);
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-9c39a9f5"]]);
4
+ const r = o(e, [["__scopeId", "data-v-d053fb6d"]]);
5
5
  export {
6
6
  r as default
7
7
  };