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