super-page-runtime 2.3.30-tmp1 → 2.3.30
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/components/runtime/utils/page-init-util.js +122 -116
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +50 -42
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +42 -38
- package/dist/es/style.css +76 -76
- package/package.json +2 -2
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import e from "agilebuilder-ui/src/utils/request";
|
|
2
2
|
import { getAdditionalParamMap as t } from "./events/standard-event.js";
|
|
3
|
-
import { PageDimensions as
|
|
4
|
-
import { getFormPropName as
|
|
3
|
+
import { PageDimensions as n } from "./interfaces/page-design-types.js";
|
|
4
|
+
import { getFormPropName as i, getVariableValue as r, formatVariableValue as s, setVariableValue as o } from "./page-helper-util.js";
|
|
5
5
|
import { getSessionCache as a } from "agilebuilder-ui/src/utils/auth";
|
|
6
6
|
import { functions as l } from "./api/page-expose-util.js";
|
|
7
7
|
import { isWorkflowPage as p, deepCopy as u } from "./common-util.js";
|
|
8
8
|
import { packageCustomValidator as d } from "./events/validator-util.js";
|
|
9
9
|
import { isMobileBrowser as c } from "agilebuilder-ui/src/utils/common-util";
|
|
10
10
|
function f(t2) {
|
|
11
|
-
return new Promise((
|
|
11
|
+
return new Promise((n2, i2) => {
|
|
12
12
|
(function(t3) {
|
|
13
13
|
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t3);
|
|
14
14
|
})(t2).then((e2) => {
|
|
15
15
|
e2 ? b().then((t3) => {
|
|
16
16
|
t3 && (e2.systemParam = h(t3)), g(e2.listViewTableName, e2.listViewTablePublishVersion).then((t4) => {
|
|
17
|
-
t4 ? (e2.contextParam = h(t4.contextParam), e2.branchFieldAuth = t4.branchFieldAuth, e2.isWorkflowEntity = t4.isWorkflowEntity, e2.dataTypeMaps = t4.dataTypeMaps,
|
|
17
|
+
t4 ? (e2.contextParam = h(t4.contextParam), e2.branchFieldAuth = t4.branchFieldAuth, e2.isWorkflowEntity = t4.isWorkflowEntity, e2.dataTypeMaps = t4.dataTypeMaps, n2(e2)) : n2(null);
|
|
18
18
|
});
|
|
19
19
|
}).catch(() => {
|
|
20
|
-
|
|
21
|
-
}) :
|
|
20
|
+
n2(e2);
|
|
21
|
+
}) : n2(null);
|
|
22
22
|
});
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
function m(e2, t2) {
|
|
26
|
-
return new Promise((
|
|
27
|
-
e2 ? b().then((
|
|
28
|
-
|
|
29
|
-
e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, e2.superGridItems = t3.superGrids,
|
|
26
|
+
return new Promise((n2, i2) => {
|
|
27
|
+
e2 ? b().then((r2) => {
|
|
28
|
+
r2 && (e2.systemParam = h(r2)), e2.tableRuntimes && Object.keys(e2.tableRuntimes).length > 0 ? x(e2, t2, e2.systemVersion).then((t3) => {
|
|
29
|
+
e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, e2.superGridItems = t3.superGrids, n2(e2);
|
|
30
30
|
}).catch((e3) => {
|
|
31
|
-
|
|
31
|
+
i2(e3);
|
|
32
32
|
}) : g("", "").then((t3) => {
|
|
33
|
-
t3 ? (e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps,
|
|
33
|
+
t3 ? (e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, n2(e2)) : n2(null);
|
|
34
34
|
}).catch((e3) => {
|
|
35
|
-
|
|
35
|
+
i2(e3);
|
|
36
36
|
});
|
|
37
|
-
}) :
|
|
37
|
+
}) : n2(null);
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
function g(t2,
|
|
41
|
-
let
|
|
42
|
-
return t2 &&
|
|
40
|
+
function g(t2, n2) {
|
|
41
|
+
let i2 = "";
|
|
42
|
+
return t2 && n2 && (i2 = "?listViewTableName=" + t2 + "&listViewTablePublishVersion=" + n2), e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + i2);
|
|
43
43
|
}
|
|
44
44
|
function b() {
|
|
45
45
|
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
|
|
@@ -49,12 +49,12 @@ function y(e2) {
|
|
|
49
49
|
if (null == e2) return null;
|
|
50
50
|
const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: w(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
|
|
51
51
|
if (e2.props && e2.props.notIdInitializationList) {
|
|
52
|
-
let
|
|
53
|
-
"string" == typeof
|
|
52
|
+
let n2 = e2.props.notIdInitializationList;
|
|
53
|
+
"string" == typeof n2 && (n2 = JSON.parse(n2)), n2.length > 0 && (t2.notIdInitializationList = n2);
|
|
54
54
|
}
|
|
55
55
|
if (e2.variables) {
|
|
56
|
-
const
|
|
57
|
-
for (const t3 of e2.variables) t3.name && (t3.isArrayElement ?
|
|
56
|
+
const n2 = t2.entity.page;
|
|
57
|
+
for (const t3 of e2.variables) t3.name && (t3.isArrayElement ? n2[t3.name] = [] : t3.defaultValue ? n2[t3.name] = t3.defaultValue : n2[t3.name] = void 0);
|
|
58
58
|
}
|
|
59
59
|
return function(e3) {
|
|
60
60
|
if (c()) {
|
|
@@ -64,8 +64,8 @@ function y(e2) {
|
|
|
64
64
|
} else e3.entity.page._isMobile = "false";
|
|
65
65
|
}(t2), Object.assign(t2, e2), t2.isWorkflowEntity = void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, t2.dimensions = function() {
|
|
66
66
|
const e3 = window.outerWidth;
|
|
67
|
-
if (!e3) return
|
|
68
|
-
return e3 > 768 ?
|
|
67
|
+
if (!e3) return n.PC;
|
|
68
|
+
return e3 > 768 ? n.PC : e3 > 414 ? n.IPAD : n.PHONE;
|
|
69
69
|
}(), t2.events = e2.runtime && e2.runtime.events ? e2.runtime.events : [], t2;
|
|
70
70
|
}
|
|
71
71
|
function h(e2) {
|
|
@@ -73,8 +73,8 @@ function h(e2) {
|
|
|
73
73
|
const t2 = function(e3) {
|
|
74
74
|
if (!e3) return e3;
|
|
75
75
|
try {
|
|
76
|
-
const t3 = window.CryptoJS.enc.Latin1.parse("qwertyuasdfgh456"),
|
|
77
|
-
return window.CryptoJS.AES.decrypt(e3, t3, { iv:
|
|
76
|
+
const t3 = window.CryptoJS.enc.Latin1.parse("qwertyuasdfgh456"), n2 = window.CryptoJS.enc.Latin1.parse("1234567812345678");
|
|
77
|
+
return window.CryptoJS.AES.decrypt(e3, t3, { iv: n2, mode: window.CryptoJS.mode.CBC, padding: window.CryptoJS.pad.ZeroPadding }).toString(CryptoJS.enc.Utf8);
|
|
78
78
|
} catch (t3) {
|
|
79
79
|
return e3;
|
|
80
80
|
}
|
|
@@ -102,13 +102,13 @@ function P(e2) {
|
|
|
102
102
|
}
|
|
103
103
|
if (t2 && t2.includes("?")) {
|
|
104
104
|
t2 = t2.substring(t2.lastIndexOf("?") + 1);
|
|
105
|
-
const
|
|
106
|
-
for (const t3 of
|
|
107
|
-
const
|
|
108
|
-
let
|
|
109
|
-
if (
|
|
110
|
-
const t4 =
|
|
111
|
-
|
|
105
|
+
const n2 = t2.split("&");
|
|
106
|
+
for (const t3 of n2) {
|
|
107
|
+
const n3 = t3.split("=");
|
|
108
|
+
let i2 = n3[0];
|
|
109
|
+
if (i2) {
|
|
110
|
+
const t4 = n3.length > 1 ? n3[1] : "";
|
|
111
|
+
i2.indexOf("ai__") >= 0 && (i2 = i2.substring(i2.indexOf("ai__") + 4)), e2[i2] = t4;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -128,147 +128,153 @@ function v(e2, t2) {
|
|
|
128
128
|
}
|
|
129
129
|
function C(e2, t2) {
|
|
130
130
|
if (e2) {
|
|
131
|
-
const
|
|
132
|
-
if (
|
|
133
|
-
const e3 = JSON.parse(
|
|
131
|
+
const n2 = a(e2);
|
|
132
|
+
if (n2) {
|
|
133
|
+
const e3 = JSON.parse(n2);
|
|
134
134
|
Object.assign(t2, e3);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
function k(e2, t2) {
|
|
139
|
-
let
|
|
140
|
-
t2 || (
|
|
141
|
-
let
|
|
142
|
-
return t2 && !t2.startsWith("${") ?
|
|
139
|
+
let n2, i2 = t2;
|
|
140
|
+
t2 || (n2 = e2.props.base ? e2.props.base : {}, i2 = n2.prop);
|
|
141
|
+
let r2 = null;
|
|
142
|
+
return t2 && !t2.startsWith("${") ? r2 = ["data", t2] : !e2 || i2 && i2.startsWith("${") ? i2.startsWith("${") ? (i2 = i2.substring(2, i2.length - 1), r2 = i2.split("."), e2 && r2.length < 2 && (r2 = [e2.uuid])) : e2 && (r2 = ["page", e2.uuid]) : r2 = ["page", e2.uuid], r2 || e2 ? r2 : ["temp"];
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
var _a;
|
|
146
|
-
const
|
|
147
|
-
if (null ==
|
|
148
|
-
let
|
|
149
|
-
t2 && (
|
|
150
|
-
const
|
|
151
|
-
if (null ==
|
|
152
|
-
const
|
|
153
|
-
if (
|
|
154
|
-
const
|
|
155
|
-
if (
|
|
156
|
-
else if (((
|
|
157
|
-
const t4 =
|
|
158
|
-
for (let
|
|
159
|
-
const
|
|
160
|
-
if (
|
|
161
|
-
|
|
144
|
+
function A(e2, t2, n2) {
|
|
145
|
+
var _a, _b;
|
|
146
|
+
const i2 = k(t2, n2), s2 = e2.entity;
|
|
147
|
+
if (null == s2.data.ID && null == s2.data.id) {
|
|
148
|
+
let n3, o2, a2 = false;
|
|
149
|
+
t2 && (n3 = t2.props.base ? t2.props.base : {}, o2 = t2.name, a2 = n3.multiple);
|
|
150
|
+
const l2 = r(s2, i2);
|
|
151
|
+
if (null == l2) {
|
|
152
|
+
const r2 = n3 ? n3.defaultValue : null, l3 = Boolean((_a = t2 == null ? void 0 : t2.runtime) == null ? void 0 : _a.arrayValue);
|
|
153
|
+
if (r2) try {
|
|
154
|
+
const t3 = T(e2, r2, o2, a2);
|
|
155
|
+
if (M(t3)) I(s2, i2, t3, l3);
|
|
156
|
+
else if (((_b = n3.moreDefaultValue) == null ? void 0 : _b.length) > 0) {
|
|
157
|
+
const t4 = n3.moreDefaultValue;
|
|
158
|
+
for (let n4 = 0; n4 < t4.length; n4++) {
|
|
159
|
+
const r3 = T(e2, t4[n4], o2, a2);
|
|
160
|
+
if (M(r3)) {
|
|
161
|
+
I(s2, i2, r3, l3);
|
|
162
162
|
break;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
} catch (e3) {
|
|
167
|
-
console.error("设置默认值出错:",
|
|
167
|
+
console.error("设置默认值出错:", i2, e3);
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
return
|
|
171
|
+
return i2;
|
|
172
|
+
}
|
|
173
|
+
function M(e2) {
|
|
174
|
+
return null != e2 && "" !== e2;
|
|
175
|
+
}
|
|
176
|
+
function I(e2, t2, n2, i2) {
|
|
177
|
+
!Array.isArray(n2) || i2 ? o(e2, t2, n2) : o(e2, t2, n2.join(","));
|
|
172
178
|
}
|
|
173
|
-
function
|
|
174
|
-
let
|
|
175
|
-
if (t2 && (
|
|
179
|
+
function T(e2, t2, n2, i2) {
|
|
180
|
+
let r2;
|
|
181
|
+
if (t2 && (r2 = s(e2, t2), null != r2 && null != r2 && n2)) {
|
|
176
182
|
let e3 = false;
|
|
177
|
-
"checkbox" ==
|
|
183
|
+
"checkbox" == n2 ? e3 = true : "select" == n2 && (e3 = i2), e3 && (r2 = (r2 + "").split(","));
|
|
178
184
|
}
|
|
179
|
-
return
|
|
185
|
+
return r2;
|
|
180
186
|
}
|
|
181
|
-
function
|
|
187
|
+
function j(e2, t2) {
|
|
182
188
|
var _a, _b;
|
|
183
189
|
if (false === ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isPermission)) return "true";
|
|
184
|
-
const
|
|
185
|
-
if (e2.autoPermissions) for (const
|
|
190
|
+
const n2 = [];
|
|
191
|
+
if (e2.autoPermissions) for (const i2 of e2.autoPermissions) n2.push(t2.code + "." + i2.simpleCode);
|
|
186
192
|
if (e2.functionCodes) {
|
|
187
|
-
const
|
|
188
|
-
for (let e3 = 0; e3 <
|
|
189
|
-
const
|
|
193
|
+
const i2 = e2.sourceTypes ? e2.sourceTypes : [], r2 = e2.functionCodes;
|
|
194
|
+
for (let e3 = 0; e3 < r2.length; e3++) {
|
|
195
|
+
const s2 = r2[e3], o2 = e3 < i2.length ? i2[e3] : "";
|
|
190
196
|
let a2 = "";
|
|
191
|
-
if ("service" ==
|
|
192
|
-
else if ("standard" ===
|
|
197
|
+
if ("service" == o2) a2 = s2;
|
|
198
|
+
else if ("standard" === o2) a2 = t2.code + "." + s2;
|
|
193
199
|
else {
|
|
194
|
-
a2 = "custom" ===
|
|
200
|
+
a2 = "custom" === O(s2, t2).type ? s2 : t2.code + "." + s2;
|
|
195
201
|
}
|
|
196
|
-
|
|
202
|
+
n2.includes(a2) || n2.push(a2);
|
|
197
203
|
}
|
|
198
204
|
}
|
|
199
|
-
return
|
|
205
|
+
return n2.join(",");
|
|
200
206
|
}
|
|
201
|
-
function
|
|
202
|
-
const
|
|
203
|
-
if (
|
|
204
|
-
for (let t3 = 0; t3 <
|
|
207
|
+
function O(e2, t2) {
|
|
208
|
+
const n2 = t2.pagePermissions;
|
|
209
|
+
if (n2 && n2.length > 0) {
|
|
210
|
+
for (let t3 = 0; t3 < n2.length; t3++) if (n2[t3].simpleCode === e2) return n2[t3];
|
|
205
211
|
}
|
|
206
212
|
return null;
|
|
207
213
|
}
|
|
208
|
-
function
|
|
209
|
-
const
|
|
214
|
+
function x(n2, i2, r2) {
|
|
215
|
+
const s2 = n2.tableRuntimes, o2 = t(i2);
|
|
210
216
|
let a2;
|
|
211
|
-
const l2 =
|
|
212
|
-
return
|
|
217
|
+
const l2 = n2.code;
|
|
218
|
+
return o2 && Object.keys(o2) > 0 && (a2 = JSON.stringify(o2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: s2, additionalParamMapJson: a2, pageCode: l2, publishVersion: r2, pageType: n2.pageType });
|
|
213
219
|
}
|
|
214
|
-
const
|
|
215
|
-
function
|
|
220
|
+
const R = ["button-detail", "print-label"];
|
|
221
|
+
function _(e2, t2, n2) {
|
|
216
222
|
var _a, _b;
|
|
217
|
-
const
|
|
218
|
-
let
|
|
219
|
-
if (
|
|
220
|
-
const
|
|
221
|
-
false === (
|
|
223
|
+
const r2 = t2.props && t2.props.base ? t2.props.base.prop : null, s2 = p(e2);
|
|
224
|
+
let o2 = false;
|
|
225
|
+
if (s2 && R.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
|
|
226
|
+
const n3 = e2.fieldPermissionMap.get("all_fields");
|
|
227
|
+
false === (n3 == null ? void 0 : n3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", o2 = true);
|
|
222
228
|
}
|
|
223
|
-
if (
|
|
224
|
-
const a2 =
|
|
229
|
+
if (r2) {
|
|
230
|
+
const a2 = i(r2);
|
|
225
231
|
if (e2.rules || (e2.rules = {}), t2.props.rules && t2.props.rules.length > 0 && (e2.rules[a2] || (e2.rules[a2] = []), t2.props.rules.forEach((e3) => {
|
|
226
|
-
d(e3), !
|
|
227
|
-
}), e2.rules[a2] = t2.props.rules),
|
|
228
|
-
const
|
|
229
|
-
if (!
|
|
232
|
+
d(e3), !n2 && e3 && e3.required && (e3.required = false);
|
|
233
|
+
}), e2.rules[a2] = t2.props.rules), s2 && !o2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
|
|
234
|
+
const i2 = e2.fieldPermissionMap.get(a2);
|
|
235
|
+
if (!n2 && e2.workflowRules && (e2.workflowRules[a2] || e2.workflowRules.rules && e2.workflowRules.rules[a2])) {
|
|
230
236
|
let t3 = e2.workflowRules[a2];
|
|
231
237
|
if (!t3 && e2.workflowRules.rules && (t3 = e2.workflowRules.rules[a2]), t3 && Array.isArray(t3) && t3.length > 0) for (let e3 = 0; e3 < t3.length; e3++) {
|
|
232
|
-
const
|
|
233
|
-
if (
|
|
234
|
-
|
|
238
|
+
const n3 = t3[e3];
|
|
239
|
+
if (n3 && n3.required) {
|
|
240
|
+
n3.required = false;
|
|
235
241
|
break;
|
|
236
242
|
}
|
|
237
243
|
}
|
|
238
244
|
else t3 && t3.required && (t3.required = false);
|
|
239
245
|
}
|
|
240
|
-
t2.runtime.props || (t2.runtime.props = {}),
|
|
246
|
+
t2.runtime.props || (t2.runtime.props = {}), i2 ? (!n2 && i2.canEdit && (i2.canEdit = false), false === i2.canEdit ? t2.runtime.props.state = "disabled" : i2.canEdit && (t2.runtime.props.state = "", t2.runtime.props.required = true)) : t2.runtime.props.state = "";
|
|
241
247
|
}
|
|
242
248
|
((_b = t2.props) == null ? void 0 : _b.customRuleEvents) && (e2.customRuleEvents || (e2.customRuleEvents = []), e2.customRuleEvents.push({ prop: a2, events: t2.props.customRuleEvents }));
|
|
243
249
|
}
|
|
244
250
|
}
|
|
245
|
-
function
|
|
251
|
+
function V(e2, t2) {
|
|
246
252
|
if (e2.initInfo) {
|
|
247
|
-
["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((
|
|
248
|
-
const
|
|
249
|
-
if (
|
|
250
|
-
let
|
|
251
|
-
if (
|
|
252
|
-
const e3 = u(
|
|
253
|
-
e3.name = t2,
|
|
253
|
+
["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((n2) => {
|
|
254
|
+
const i2 = e2.initInfo[n2];
|
|
255
|
+
if (i2) if ("dynamicControlFormEdit" === n2) {
|
|
256
|
+
let n3 = i2.filter((e3) => "_all_fields" === e3.name || e3.name === t2);
|
|
257
|
+
if (n3 && n3.length > 0 && (n3 = n3.filter((e3) => "_all_fields" === e3.name), n3 && n3.length > 0)) {
|
|
258
|
+
const e3 = u(n3[0]);
|
|
259
|
+
e3.name = t2, n3 = [e3];
|
|
254
260
|
}
|
|
255
|
-
l.dynamicControlFormEdit(e2,
|
|
256
|
-
} else "disableElement" ===
|
|
261
|
+
l.dynamicControlFormEdit(e2, n3, false);
|
|
262
|
+
} else "disableElement" === n2 ? i2.indexOf(t2) >= 0 && l.disableElement(e2, [t2], false) : "enableElement" === n2 ? i2.indexOf(t2) >= 0 && l.enableElement(e2, [t2], false) : "hideElement" === n2 ? i2.indexOf(t2) >= 0 && l.hideElement(e2, [t2], false) : "showElement" === n2 && i2.indexOf(t2) >= 0 && l.showElement(e2, [t2], false);
|
|
257
263
|
});
|
|
258
264
|
}
|
|
259
265
|
}
|
|
260
266
|
export {
|
|
261
|
-
|
|
267
|
+
V as controlObjectRenderState,
|
|
262
268
|
y as convertToPageContext,
|
|
263
|
-
|
|
264
|
-
|
|
269
|
+
T as getDefaultValue,
|
|
270
|
+
A as getFormModelFields,
|
|
265
271
|
k as getModelFields,
|
|
266
|
-
|
|
272
|
+
j as getPermissionCodes,
|
|
267
273
|
P as packageAdditionalMapWithLocationSearch,
|
|
268
274
|
E as packageAdditionalMapWithPageRequest,
|
|
269
275
|
v as packageAdditionalMapWithRoute,
|
|
270
|
-
|
|
276
|
+
_ as packageFormRules,
|
|
271
277
|
f as queryPageDesignByCode,
|
|
272
278
|
m as queryPageDesignWhenPreview,
|
|
273
|
-
|
|
279
|
+
x as queryPageSuperGrids
|
|
274
280
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, withDirectives as r, createCommentVNode as u, unref as l, createBlock as
|
|
1
|
+
import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, withDirectives as r, createCommentVNode as u, unref as l, createBlock as a, openBlock as p, resolveDynamicComponent as c, normalizeClass as g, normalizeStyle as f, vShow as m, nextTick as d } from "vue";
|
|
2
2
|
import C from "./error-render.vue.js";
|
|
3
3
|
import { getRuntimeComponentByName as v } from "../../utils/assemblys-config.js";
|
|
4
4
|
import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
|
|
@@ -10,13 +10,14 @@ import { isShowMobileEvent as N, isShowComponent as O } from "../../utils/events
|
|
|
10
10
|
import { usePageContextStore as P } from "../../utils/page-store.js";
|
|
11
11
|
import { isHasFieldAuth as S } from "../../utils/table-utils.js";
|
|
12
12
|
import { checkPermission as B } from "agilebuilder-ui/src/utils/permission.js";
|
|
13
|
+
import { isMobileBrowser as R } from "agilebuilder-ui/src/utils/common-util";
|
|
13
14
|
const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
14
15
|
var _a, _b;
|
|
15
16
|
const F2 = e2;
|
|
16
17
|
null == F2.configure.style && (F2.configure.style = {});
|
|
17
|
-
const
|
|
18
|
-
F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.functionCode =
|
|
19
|
-
const
|
|
18
|
+
const k = y(F2.configure, F2.pageContext);
|
|
19
|
+
F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.functionCode = k);
|
|
20
|
+
const D = B(k || "true", F2.pageContext.systemCode), E = S(F2.pageContext, F2.configure), J = D && E;
|
|
20
21
|
F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.isHasFieldAuthPermission = J), w(F2.pageContext, F2.configure, J);
|
|
21
22
|
let L = o(null), W = o(true), q = o("");
|
|
22
23
|
if (F2.configure && F2.configure.props) {
|
|
@@ -57,33 +58,33 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
57
58
|
}
|
|
58
59
|
const z = o({});
|
|
59
60
|
z.value = n(v(F2.configure.name));
|
|
60
|
-
const
|
|
61
|
-
null == z.value && (z.value = C,
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
const
|
|
65
|
-
if (
|
|
66
|
-
Object.assign(
|
|
67
|
-
const e3 = F2.pageContext && F2.pageContext.dimensions ? F2.pageContext.dimensions : b.PC, o2 =
|
|
68
|
-
o2 && Object.assign(
|
|
69
|
-
const t2 =
|
|
70
|
-
t2 && (
|
|
61
|
+
const G = o(true);
|
|
62
|
+
null == z.value && (z.value = C, G.value = false);
|
|
63
|
+
const I = o(null), K = o({}), Q = o(""), U = $(F2.configure);
|
|
64
|
+
U && (Q.value = U);
|
|
65
|
+
const V = F2.configure.runtime && F2.configure.runtime.common ? F2.configure.runtime.common : {};
|
|
66
|
+
if (V.class && (Q.value += " " + V.class), V.style) {
|
|
67
|
+
Object.assign(K.value, V.style);
|
|
68
|
+
const e3 = F2.pageContext && F2.pageContext.dimensions ? F2.pageContext.dimensions : b.PC, o2 = V.style[e3 + "_style"];
|
|
69
|
+
o2 && Object.assign(K.value, o2);
|
|
70
|
+
const t2 = V.style[e3 + "_class"];
|
|
71
|
+
t2 && (Q.value += " " + t2);
|
|
71
72
|
}
|
|
72
|
-
const
|
|
73
|
-
function
|
|
74
|
-
if (
|
|
73
|
+
const X = P();
|
|
74
|
+
function Y(e3) {
|
|
75
|
+
if (I.value = e3, e3 && !e3.show && (e3.show = function() {
|
|
75
76
|
L.value = "show";
|
|
76
77
|
}), e3 && !e3.hide && (e3.hide = function() {
|
|
77
78
|
L.value = "hide";
|
|
78
79
|
}), e3 && !e3.getConfigure && (e3.getConfigure = function() {
|
|
79
80
|
return F2.configure;
|
|
80
|
-
}), F2.configure.uuid && h(F2.pageContext, F2.configure.uuid,
|
|
81
|
-
else if ("table" === F2.configure.name) x(F2.pageContext, F2.configure.uuid,
|
|
81
|
+
}), F2.configure.uuid && h(F2.pageContext, F2.configure.uuid, I), F2.configure.code) x(F2.pageContext, F2.configure.code, I);
|
|
82
|
+
else if ("table" === F2.configure.name) x(F2.pageContext, F2.configure.uuid, I);
|
|
82
83
|
else if (F2.configure.props && F2.configure.props.base) {
|
|
83
84
|
const e4 = F2.configure.props.base;
|
|
84
85
|
if (e4.prop) {
|
|
85
86
|
let o3 = e4.prop;
|
|
86
|
-
o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), x(F2.pageContext, o3,
|
|
87
|
+
o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), x(F2.pageContext, o3, I);
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
const o2 = F2.configure.props ? F2.configure.props.base : null;
|
|
@@ -92,53 +93,60 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
92
93
|
e4 = _(e4), j(F2.pageContext, e4), F2.pageContext.propTitleMap = F2.pageContext.propTitleMap || {}, F2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
|
|
93
94
|
}
|
|
94
95
|
!function() {
|
|
95
|
-
if (!
|
|
96
|
+
if (!I.value) return;
|
|
96
97
|
const e4 = A(F2.pageContext, F2.configure);
|
|
97
|
-
"table" !== F2.configure.name && e4 && e4.isCalcHeight &&
|
|
98
|
+
"table" !== F2.configure.name && e4 && e4.isCalcHeight && d(() => {
|
|
98
99
|
var _a2;
|
|
99
|
-
if (!(((_a2 =
|
|
100
|
+
if (!(((_a2 = I.value) == null ? void 0 : _a2.$el) || I.value)) return;
|
|
100
101
|
const e5 = (o3 = 0) => {
|
|
101
|
-
if (!
|
|
102
|
-
let t2 =
|
|
102
|
+
if (!I.value) return;
|
|
103
|
+
let t2 = I.value.$el || I.value;
|
|
103
104
|
if (!t2) return;
|
|
104
105
|
const n2 = t2.getBoundingClientRect();
|
|
105
|
-
null !==
|
|
106
|
+
null !== ee && Math.abs(n2.y - ee) < 1 ? Z() : o3 < 10 ? (ee = n2.y, oe = setTimeout(() => {
|
|
106
107
|
e5(o3 + 1);
|
|
107
|
-
}, 50)) :
|
|
108
|
+
}, 50)) : Z();
|
|
108
109
|
};
|
|
109
|
-
|
|
110
|
+
ee = null, e5();
|
|
110
111
|
});
|
|
111
112
|
}();
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
-
if (!
|
|
115
|
-
let e3 =
|
|
116
|
-
e3 || (e3 =
|
|
114
|
+
function Z() {
|
|
115
|
+
if (!I.value) return;
|
|
116
|
+
let e3 = I.value.$el;
|
|
117
|
+
e3 || (e3 = I.value);
|
|
117
118
|
const o2 = e3.parentNode;
|
|
118
119
|
if (!e3 || !o2) return;
|
|
119
120
|
const t2 = e3.getBoundingClientRect();
|
|
120
121
|
let n2 = window.innerHeight - t2.y - 30;
|
|
121
122
|
window.innerHeight, t2.y;
|
|
122
123
|
let i2 = n2 + "";
|
|
123
|
-
|
|
124
|
+
if ("tabs" === F2.configure.name && F2.pageContext.isDialog && !R()) {
|
|
125
|
+
const o3 = e3.closest(".runtime-page-container");
|
|
126
|
+
if (o3) {
|
|
127
|
+
const e4 = o3.getBoundingClientRect(), s2 = t2.y - e4.y;
|
|
128
|
+
n2 = e4.height - s2 - 30, i2 = n2 + "px";
|
|
129
|
+
}
|
|
130
|
+
} else H(n2) && (i2 = n2 + "px");
|
|
131
|
+
K.value.height = i2, K.value["overflow-y"] = "auto", K.value["overflow-x"] = "hidden", F2.configure.sytle || (F2.configure.sytle = {}), F2.configure.sytle._heightStyle = i2;
|
|
124
132
|
}
|
|
125
133
|
i(() => {
|
|
126
134
|
var _a2, _b2, _c;
|
|
127
|
-
|
|
135
|
+
te(), X.countComponentsLoadedNumber(), ((_c = (_b2 = (_a2 = F2.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.autoAnchorConditions) == null ? void 0 : _c.length) > 0 && X.setAutoAnchorComponentConditions(F2.configure.uuid, F2.configure.props.base.autoAnchorConditions);
|
|
128
136
|
}), s(() => {
|
|
129
|
-
|
|
137
|
+
oe && clearTimeout(oe);
|
|
130
138
|
});
|
|
131
|
-
let
|
|
132
|
-
const
|
|
133
|
-
if (!
|
|
134
|
-
let e3 =
|
|
135
|
-
e3 || (e3 =
|
|
139
|
+
let ee = null, oe = null;
|
|
140
|
+
const te = () => {
|
|
141
|
+
if (!I.value) return;
|
|
142
|
+
let e3 = I.value.$el;
|
|
143
|
+
e3 || (e3 = I.value);
|
|
136
144
|
const o2 = e3.parentNode;
|
|
137
145
|
if (!e3 || !o2) return;
|
|
138
146
|
const t2 = F2.configure.props ? F2.configure.props : {}, n2 = F2.configure.style ? F2.configure.style : {}, i2 = t2.position;
|
|
139
147
|
"top" == i2 || "bottom" == i2 || n2.position;
|
|
140
148
|
};
|
|
141
|
-
return (e3, o2) => l(J) && l(O)(e3.configure) ? r((
|
|
149
|
+
return (e3, o2) => l(J) && l(O)(e3.configure) ? r((p(), a(c(z.value), { key: 0, ref: Y, style: f(K.value), class: g(Q.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, l(W)]]) : u("", true);
|
|
142
150
|
} });
|
|
143
151
|
export {
|
|
144
152
|
F as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, getCurrentInstance as t, onMounted as l, onUpdated as o, nextTick as u, onUnmounted as n, resolveDirective as i, withDirectives as s, createElementBlock as r, openBlock as v,
|
|
1
|
+
import { defineComponent as e, ref as a, getCurrentInstance as t, onMounted as l, onUpdated as o, nextTick as u, onUnmounted as n, resolveDirective as i, withDirectives as s, createElementBlock as r, openBlock as v, normalizeStyle as p, normalizeClass as m, unref as c, createCommentVNode as g, createVNode as f, createBlock as d, createElementVNode as y, Fragment as h, renderList as C, watch as P } from "vue";
|
|
2
2
|
import b from "./assemblys/object-render.vue.js";
|
|
3
3
|
import { updateOptionDatasources as j, updateChartDatasources as k } from "../utils/page-helper-util.js";
|
|
4
|
-
import { queryPageDesignWhenPreview as x, queryPageDesignByCode as $, convertToPageContext as S, packageAdditionalMapWithLocationSearch as D, packageAdditionalMapWithRoute as
|
|
4
|
+
import { queryPageDesignWhenPreview as x, queryPageDesignByCode as $, convertToPageContext as S, packageAdditionalMapWithLocationSearch as D, packageAdditionalMapWithRoute as N, packageAdditionalMapWithPageRequest as w } from "../utils/page-init-util.js";
|
|
5
5
|
import { addComponentRef as q, removePageAllRef as T, initComponentRefState as R } from "../utils/global-refs.js";
|
|
6
6
|
import { removeCustomFuncFromWindow as _, handleEvent as O, initPageEvents as F, getCustomFunc as I } from "../utils/events/event-util.js";
|
|
7
7
|
import M from "./assemblys/common/export-form-report-dialog.vue.js";
|
|
@@ -9,7 +9,7 @@ import A from "./assemblys/common/task-informition-dialog.vue.js";
|
|
|
9
9
|
import E from "./assemblys/common/remove-signer-dialog.vue.js";
|
|
10
10
|
import V from "./assemblys/common/remove-transactor-dialog.vue.js";
|
|
11
11
|
import W from "../utils/eventBus.js";
|
|
12
|
-
import { doFileTaskFunc as B, getTaskInformitions as J, getRemoveSigner as U, getRemoveTransactor as
|
|
12
|
+
import { doFileTaskFunc as B, getTaskInformitions as J, getRemoveSigner as U, getRemoveTransactor as L, getFormData as H, exportFormReport as z, doImportFinally as Q, doAddSigner as G, doCreateCopyTask as K, doAssign as X, doAddTransactor as Y, doReturnTaskTo as Z, doRemoveSigners as ee, doRemoveTransactors as ae, updateValuesWhenCloseDialog as te, refreshFormOrListPage as le, saveChartConditionBase as oe, getAdditionalParamMap as ue } from "../utils/events/standard-event.js";
|
|
13
13
|
import "../utils/api/api-util.js";
|
|
14
14
|
import { ElMessage as ne } from "element-plus";
|
|
15
15
|
import { useI18n as ie } from "vue-i18n";
|
|
@@ -30,14 +30,14 @@ import ke from "./assemblys/page-bottom.vue.js";
|
|
|
30
30
|
import xe from "./assemblys/common/event-call-component.vue.js";
|
|
31
31
|
import { scrollIntoViewWithContainer as $e } from "../utils/anchor-util.js";
|
|
32
32
|
const Se = e({ __name: "super-page", props: { pageCode: { type: String, required: false }, pageVersion: { type: Number, required: false }, pageId: { type: Number, required: false }, dataId: { type: Number, required: false }, pageDesign: { type: Object, required: false }, isTest: { type: Boolean, required: false }, dimensions: { type: String, required: false }, publishVersion: { type: Number, required: false }, taskId: { type: Number, required: false }, pageRequest: { type: Object, required: false }, contentHeight: { type: [String, Number], default: null }, isDialog: { type: Boolean, required: false }, isPreview: { type: Boolean, required: false } }, emits: ["open", "opened", "close", "closed"], setup(e2, { expose: Se2, emit: De }) {
|
|
33
|
-
const
|
|
33
|
+
const Ne = Ce(), { t: we } = ie(), qe = e2, Te = a(false), Re = a(""), _e = { list: "list-page-container", form: "form-page-container" }, Oe = a(null), Fe = a([]), Ie = a(""), Me = a({}), Ae = a(null), Ee = a(null), Ve = a(false), We = a(false), Be = a(false), Je = a(false), Ue = a(false), Le = a(false), He = a(null), ze = a(false), Qe = a([]), Ge = a([]), Ke = a([]), Xe = a(false), Ye = a(false), Ze = a(null), ea = a(false), aa = a(false), ta = a(null), la = a(null), oa = a(null), ua = a(null);
|
|
34
34
|
let na = a(null);
|
|
35
35
|
const ia = a(null), sa = a(null), ra = pe(), va = a(0), pa = he();
|
|
36
36
|
let ma, ca;
|
|
37
37
|
const ga = a(false), fa = a(null), da = a(false), ya = a(null);
|
|
38
38
|
function ha(e3) {
|
|
39
39
|
const a2 = S(e3);
|
|
40
|
-
return a2.isTest = qe.isTest, a2.isTest && qe.dimensions && (a2.dimensions = qe.dimensions), qe.isDialog || (D(a2.entity.request),
|
|
40
|
+
return a2.isTest = qe.isTest, a2.isTest && qe.dimensions && (a2.dimensions = qe.dimensions), qe.isDialog || (D(a2.entity.request), N(ra, a2.entity.request)), w(qe.pageRequest, a2.entity.request), a2;
|
|
41
41
|
}
|
|
42
42
|
function Ca(e3) {
|
|
43
43
|
var _a2;
|
|
@@ -61,40 +61,40 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
61
61
|
const t2 = na.value.runtime ? na.value.runtime : {};
|
|
62
62
|
Ie.value = t2.class, Me.value = t2.style, F(e3, na.value), re(na.value.rules), O(null, na.value, e3, "beforeload");
|
|
63
63
|
const l2 = na.value.code;
|
|
64
|
-
return
|
|
64
|
+
return Ne.setPageContext(na.value), He.value = l2 + "_", W.$on(He.value + "export-form-report", (e4) => {
|
|
65
65
|
Ee.value = e4, ia.value = e4.configureObj, sa.value = e4.pageContext, da.value = false, Ve.value = true;
|
|
66
|
-
}), W.$on(
|
|
66
|
+
}), W.$on(He.value + "export-pdf-report", (e4) => {
|
|
67
67
|
Ee.value = e4, ia.value = e4.configureObj, sa.value = e4.pageContext, da.value = true, Ve.value = true;
|
|
68
|
-
}), W.$on(
|
|
68
|
+
}), W.$on(He.value + "import-file", (e4) => {
|
|
69
69
|
Ee.value = e4, $a.value.click();
|
|
70
|
-
}), W.$on(
|
|
71
|
-
Ee.value = e4, Ue.value = true,
|
|
72
|
-
}), W.$on(
|
|
73
|
-
Ee.value = e4, Je.value = true,
|
|
74
|
-
}), W.$on(
|
|
75
|
-
Ee.value = e4, We.value = true,
|
|
76
|
-
}), W.$on(
|
|
70
|
+
}), W.$on(He.value + "assign-task", (e4) => {
|
|
71
|
+
Ee.value = e4, Ue.value = true, Le.value = false;
|
|
72
|
+
}), W.$on(He.value + "copy-task", (e4) => {
|
|
73
|
+
Ee.value = e4, Je.value = true, Le.value = true;
|
|
74
|
+
}), W.$on(He.value + "add-signer", (e4) => {
|
|
75
|
+
Ee.value = e4, We.value = true, Le.value = true;
|
|
76
|
+
}), W.$on(He.value + "choose-return-node", (e4) => {
|
|
77
77
|
Ee.value = e4, J(e4).then((e5) => {
|
|
78
78
|
Qe.value = e5, ze.value = true;
|
|
79
79
|
}).catch((e5) => {
|
|
80
80
|
ze.value = false;
|
|
81
81
|
});
|
|
82
|
-
}), W.$on(
|
|
82
|
+
}), W.$on(He.value + "remove-signer", (e4) => {
|
|
83
83
|
Ee.value = e4, U(e4).then((a3) => {
|
|
84
84
|
Ze.value = e4.pageContext.completeTaskParam.taskId, Ge.value = a3, Xe.value = true;
|
|
85
85
|
}).catch((e5) => {
|
|
86
86
|
Xe.value = false;
|
|
87
87
|
});
|
|
88
|
-
}), W.$on(
|
|
89
|
-
Ee.value = e4, Be.value = true,
|
|
90
|
-
}), W.$on(
|
|
91
|
-
Ee.value = e4,
|
|
88
|
+
}), W.$on(He.value + "add-transactor", (e4) => {
|
|
89
|
+
Ee.value = e4, Be.value = true, Le.value = true;
|
|
90
|
+
}), W.$on(He.value + "remove-transactor", (e4) => {
|
|
91
|
+
Ee.value = e4, L(e4).then((a3) => {
|
|
92
92
|
Ze.value = e4.pageContext.completeTaskParam.taskId, Ke.value = a3, Ye.value = true;
|
|
93
93
|
}).catch((e5) => {
|
|
94
94
|
Ye.value = false;
|
|
95
95
|
});
|
|
96
|
-
}), W.$on(
|
|
97
|
-
}), W.$on(
|
|
96
|
+
}), W.$on(He.value + "prohibit-edit", (e4) => {
|
|
97
|
+
}), W.$on(He.value + "open-dialog", (e4) => {
|
|
98
98
|
var a3, t3, l3;
|
|
99
99
|
la.value = e4.pageContext, oa.value = e4.configureObj, ua.value = e4.eventParams, a3 = oa.value, t3 = ua.value, l3 = e4.jumpPageSetting, function(e5, a4, t4) {
|
|
100
100
|
return new Promise((l4, o2) => {
|
|
@@ -138,12 +138,12 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
138
138
|
}).catch(() => {
|
|
139
139
|
l5(true);
|
|
140
140
|
});
|
|
141
|
-
} else ne({ showClose: true, type: "error", message:
|
|
141
|
+
} else ne({ showClose: true, type: "error", message: we("superPageRuntimeMessage.popMsg") }), console.error("弹框参数缺少customSystem参数,parentPageContext.value.systemCode={}", la.value.systemCode), l5(false);
|
|
142
142
|
else l5(true);
|
|
143
143
|
});
|
|
144
144
|
})(u2, o2).then((a4) => {
|
|
145
145
|
a4 && (pa && (la.value.systemCode !== u2.customSystem || e6 && "url" === e6) ? (u2._isIframe = true, "refresh" === o2 && (u2.dialogType = "drawer", u2.jumpPageWidth = "100%"), ta.value = u2, aa.value = true) : (u2._isIframe = false, "popup" === o2 ? (ta.value = u2, aa.value = true) : "refresh" === o2 && qa.push({ path: "/dsc/page", query: u2 })));
|
|
146
|
-
}), W.$on(
|
|
146
|
+
}), W.$on(He.value + "close-dialog", (e7) => {
|
|
147
147
|
!function(e8) {
|
|
148
148
|
const a4 = e8.jumpMode;
|
|
149
149
|
a4 && "popup" === a4 ? Ta(e8) : qa.go(-1);
|
|
@@ -152,24 +152,27 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
152
152
|
}
|
|
153
153
|
} else console.error("页面配置信息不存在");
|
|
154
154
|
});
|
|
155
|
-
}), W.$on(
|
|
155
|
+
}), W.$on(He.value + "save-chart-condition", (e4) => {
|
|
156
156
|
ga.value = true;
|
|
157
157
|
}), W.$on("pageLoaded", () => {
|
|
158
158
|
const e4 = { runtime: { events: na.value.events }, systemCode: "", systemVersion: 0, code: "", version: 0, workflowCode: "", workflowVersion: 0, name: "", uuid: "", label: "" };
|
|
159
|
-
O(null, na.value, e4, "load"), $e(
|
|
160
|
-
}), W.$on(
|
|
159
|
+
O(null, na.value, e4, "load"), $e(Ne.getAutoAnchorComponentConditions(), na.value);
|
|
160
|
+
}), W.$on(He.value + "event-call-component", (e4) => {
|
|
161
161
|
var _a3;
|
|
162
162
|
(_a3 = ya.value) == null ? void 0 : _a3.renderComponent(e4.componentName, e4.componentProps);
|
|
163
163
|
}), P(() => na.value.isRefresh, (e4) => {
|
|
164
164
|
e4 && (va.value++, na.value.isRefresh = false);
|
|
165
|
-
}),
|
|
165
|
+
}), H(na.value, null, (_a2 = qe.pageRequest) == null ? void 0 : _a2.isNeedId);
|
|
166
166
|
}
|
|
167
167
|
const Pa = t();
|
|
168
168
|
function ba() {
|
|
169
169
|
u(() => {
|
|
170
170
|
var _a2, _b;
|
|
171
171
|
const e3 = Oe.value.parentNode ? Oe.value.parentNode : Oe.value;
|
|
172
|
-
na.value && (na.value.pageRuntimeStyle || (na.value.pageRuntimeStyle = {}),
|
|
172
|
+
if (na.value && (na.value.pageRuntimeStyle || (na.value.pageRuntimeStyle = {}), !pa)) {
|
|
173
|
+
let a2 = qe.contentHeight;
|
|
174
|
+
Number(a2) && (a2 += "px"), na.value.pageRuntimeStyle.height = a2 ?? ((_b = (_a2 = e3 == null ? void 0 : e3.getBoundingClientRect) == null ? void 0 : _a2.call(e3)) == null ? void 0 : _b.height) ?? 0;
|
|
175
|
+
}
|
|
173
176
|
});
|
|
174
177
|
}
|
|
175
178
|
function ja() {
|
|
@@ -184,7 +187,7 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
184
187
|
}
|
|
185
188
|
l(() => {
|
|
186
189
|
!function() {
|
|
187
|
-
if (
|
|
190
|
+
if (Ne.resetComponentCounters(), Ne.resetAutoAnchorComponentConditions(), qe.isPreview && qe.pageDesign) {
|
|
188
191
|
Te.value = true;
|
|
189
192
|
let e3 = qe.pageDesign;
|
|
190
193
|
const a2 = ha(e3);
|
|
@@ -213,7 +216,7 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
213
216
|
na.value && Oe.value && q(na.value, "-1", Oe);
|
|
214
217
|
});
|
|
215
218
|
}), n(() => {
|
|
216
|
-
T(na.value), Ae.value && _(Ae.value), W.$off(
|
|
219
|
+
T(na.value), Ae.value && _(Ae.value), W.$off(He.value + "export-form-report"), W.$off(He.value + "export-pdf-report"), W.$off(He.value + "import-file"), W.$off(He.value + "assign-task"), W.$off(He.value + "copy-task"), W.$off(He.value + "add-signer"), W.$off(He.value + "choose-return-node"), W.$off(He.value + "remove-signer"), W.$off(He.value + "prohibit-edit"), W.$off(He.value + "open-dialog"), W.$off(He.value + "save-chart-condition"), W.$off("pageLoaded"), na.value && O(null, na.value, na.value, "onUnmounted"), ma && clearTimeout(ma), ca && clearTimeout(ca);
|
|
217
220
|
});
|
|
218
221
|
const $a = a(null);
|
|
219
222
|
function Sa(e3) {
|
|
@@ -222,10 +225,10 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
222
225
|
function Da(e3) {
|
|
223
226
|
Qe.value = [], ze.value = false, Z(Ee.value, e3);
|
|
224
227
|
}
|
|
225
|
-
function
|
|
228
|
+
function Na(e3) {
|
|
226
229
|
Ge.value = [], Xe.value = false, ee(Ee.value, e3);
|
|
227
230
|
}
|
|
228
|
-
function
|
|
231
|
+
function wa(e3) {
|
|
229
232
|
Ke.value = [], Ye.value = false, ae(Ee.value, e3);
|
|
230
233
|
}
|
|
231
234
|
const qa = me();
|
|
@@ -252,11 +255,11 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
252
255
|
const l3 = I(la.value, e4);
|
|
253
256
|
l3 && l3.apply(l3, [{ pageContext: na.value, parentPageContext: la.value, parentConfigureObj: t3, jumpPageSetting: ta.value, columnProp: a3 }]);
|
|
254
257
|
}
|
|
255
|
-
}(a2, i2, n2), le(la.value, oa.value, t2, void 0 !== t2 && false === t2 ? "noOperation" : null), la.value = null, oa.value = null, ua.value = null, W.$off(
|
|
258
|
+
}(a2, i2, n2), le(la.value, oa.value, t2, void 0 !== t2 && false === t2 ? "noOperation" : null), la.value = null, oa.value = null, ua.value = null, W.$off(He.value + "close-dialog"), aa.value = false;
|
|
256
259
|
}
|
|
257
260
|
function Ra(e3) {
|
|
258
261
|
oe(na.value, e3).then((e4) => {
|
|
259
|
-
ne({ showClose: true, type: "success", message:
|
|
262
|
+
ne({ showClose: true, type: "success", message: we("superPageRuntimeMessage.successfulSave") }), fa.value.refreshConditionList();
|
|
260
263
|
});
|
|
261
264
|
}
|
|
262
265
|
function _a(e3) {
|
|
@@ -276,15 +279,16 @@ const Se = e({ __name: "super-page", props: { pageCode: { type: String, required
|
|
|
276
279
|
}, getFormFormatData: function() {
|
|
277
280
|
return je.getFormFormatDataUtil(na.value);
|
|
278
281
|
} }), (e3, a2) => {
|
|
282
|
+
var _a2;
|
|
279
283
|
const t2 = i("loading");
|
|
280
|
-
return s((v(), r("div", { class:
|
|
284
|
+
return s((v(), r("div", { class: m(["app-container runtime-page-container", [Re.value]]), style: p((_a2 = c(na)) == null ? void 0 : _a2.pageRuntimeStyle), "element-loading-text": "拼命加载中" }, [ea.value ? (v(), r("div", { ref_key: "thisRef", ref: Oe, key: va.value, class: m(["runtime-page-container-view", Ie.value]), style: p(Me.value) }, [(v(true), r(h, null, C(Fe.value, (e4, a3) => (v(), d(b, { key: e4.uuid, configure: e4, pageContext: c(na) }, null, 8, ["configure", "pageContext"]))), 128)), f(ke, { pageContext: c(na) }, null, 8, ["pageContext"]), Ve.value ? (v(), d(M, { key: 0, configure: ia.value, pageContext: sa.value, onClose: ka, onExport: xa }, null, 8, ["configure", "pageContext"])) : g("", true), y("input", { ref_key: "_selectFile_", ref: $a, type: "file", name: "_selectFile_", style: { display: "none" }, onChange: a2[0] || (a2[0] = (e4) => function() {
|
|
281
285
|
if (Ee.value) {
|
|
282
286
|
if (!$a.value) return;
|
|
283
287
|
if ("" === $a.value.value || null === $a.value.value) return;
|
|
284
288
|
const e5 = $a.value.files[0];
|
|
285
|
-
e5 ? ($a.value.value = null, Q(Ee.value, e5)) : ne({ showClose: true, type: "warning", message:
|
|
289
|
+
e5 ? ($a.value.value = null, Q(Ee.value, e5)) : ne({ showClose: true, type: "warning", message: we("superPageRuntimeMessage.noFileSelected") });
|
|
286
290
|
}
|
|
287
|
-
}()) }, null, 544), We.value || Je.value || Ue.value || Be.value ? (v(),
|
|
291
|
+
}()) }, null, 544), We.value || Je.value || Ue.value || Be.value ? (v(), d(c(se), { key: 1, width: "60%", multiple: Le.value, onClose: Sa }, null, 8, ["multiple"])) : g("", true), ze.value ? (v(), d(A, { key: 2, "task-informitions": Qe.value, onClose: a2[1] || (a2[1] = (e4) => ze.value = false), onResult: Da }, null, 8, ["task-informitions"])) : g("", true), Xe.value ? (v(), d(E, { key: 3, "task-id": Ze.value, "active-tasks": Ge.value, onClose: a2[2] || (a2[2] = (e4) => Xe.value = false), onResult: Na }, null, 8, ["task-id", "active-tasks"])) : g("", true), Ye.value ? (v(), d(V, { key: 4, "task-id": Ze.value, "transactor-info": Ke.value, onClose: a2[3] || (a2[3] = (e4) => Ye.value = false), onResult: wa }, null, 8, ["task-id", "transactor-info"])) : g("", true), aa.value ? (v(), d(ve, { key: 5, parentPageContext: la.value, parentPageEventParams: ua.value, jumpPageSetting: ta.value, onClose: a2[4] || (a2[4] = (e4) => Ta()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : g("", true), ga.value ? (v(), d(be, { key: 6, ref_key: "chartCondtionRef", ref: fa, pageContext: c(na), onClose: a2[5] || (a2[5] = (e4) => ga.value = false), onSave: Ra, onConfirm: _a }, null, 8, ["pageContext"])) : g("", true), f(xe, { ref_key: "eventCallComponentRef", ref: ya }, null, 512)], 6)) : g("", true)], 6)), [[t2, Te.value]]);
|
|
288
292
|
};
|
|
289
293
|
} });
|
|
290
294
|
export {
|
package/dist/es/style.css
CHANGED
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
min-height: 60px;
|
|
101
101
|
resize: vertical;
|
|
102
102
|
}
|
|
103
|
-
.runtime-page-container[data-v-
|
|
103
|
+
.runtime-page-container[data-v-b356a9a7] {
|
|
104
104
|
overflow: hidden;
|
|
105
105
|
max-height: 100vh;
|
|
106
106
|
padding: var(--app-main-padding, 15px);
|
|
@@ -108,269 +108,269 @@
|
|
|
108
108
|
height: calc(100vh - var(--dec-page-main-padding, 15px) * 2);
|
|
109
109
|
}
|
|
110
110
|
@media (max-width: 768px) {
|
|
111
|
-
.runtime-page-container[data-v-
|
|
111
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-1 {
|
|
112
112
|
flex: 0 0 100%;
|
|
113
113
|
max-width: 100%;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
.runtime-page-container[data-v-
|
|
116
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-1 > .el-form-item:only-child {
|
|
117
117
|
margin-bottom: 0;
|
|
118
118
|
}
|
|
119
|
-
.runtime-page-container[data-v-
|
|
119
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-2 {
|
|
120
120
|
flex: 0 0 calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
121
121
|
max-width: calc(2 / 24 * (100% - (24 / 2 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
122
122
|
}
|
|
123
123
|
@media (max-width: 768px) {
|
|
124
|
-
.runtime-page-container[data-v-
|
|
124
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-2 {
|
|
125
125
|
flex: 0 0 100%;
|
|
126
126
|
max-width: 100%;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
.runtime-page-container[data-v-
|
|
129
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-2 > .el-form-item:only-child {
|
|
130
130
|
margin-bottom: 0;
|
|
131
131
|
}
|
|
132
132
|
@media (max-width: 768px) {
|
|
133
|
-
.runtime-page-container[data-v-
|
|
133
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-3 {
|
|
134
134
|
flex: 0 0 100%;
|
|
135
135
|
max-width: 100%;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
.runtime-page-container[data-v-
|
|
138
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-3 > .el-form-item:only-child {
|
|
139
139
|
margin-bottom: 0;
|
|
140
140
|
}
|
|
141
|
-
.runtime-page-container[data-v-
|
|
141
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-4 {
|
|
142
142
|
flex: 0 0 calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
143
143
|
max-width: calc(4 / 24 * (100% - (24 / 4 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
144
144
|
}
|
|
145
145
|
@media (max-width: 768px) {
|
|
146
|
-
.runtime-page-container[data-v-
|
|
146
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-4 {
|
|
147
147
|
flex: 0 0 100%;
|
|
148
148
|
max-width: 100%;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
.runtime-page-container[data-v-
|
|
151
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-4 > .el-form-item:only-child {
|
|
152
152
|
margin-bottom: 0;
|
|
153
153
|
}
|
|
154
154
|
@media (max-width: 768px) {
|
|
155
|
-
.runtime-page-container[data-v-
|
|
155
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-5 {
|
|
156
156
|
flex: 0 0 100%;
|
|
157
157
|
max-width: 100%;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
.runtime-page-container[data-v-
|
|
160
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-5 > .el-form-item:only-child {
|
|
161
161
|
margin-bottom: 0;
|
|
162
162
|
}
|
|
163
|
-
.runtime-page-container[data-v-
|
|
163
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-6 {
|
|
164
164
|
flex: 0 0 calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
165
165
|
max-width: calc(6 / 24 * (100% - (24 / 6 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
166
166
|
}
|
|
167
167
|
@media (max-width: 768px) {
|
|
168
|
-
.runtime-page-container[data-v-
|
|
168
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-6 {
|
|
169
169
|
flex: 0 0 100%;
|
|
170
170
|
max-width: 100%;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
.runtime-page-container[data-v-
|
|
173
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-6 > .el-form-item:only-child {
|
|
174
174
|
margin-bottom: 0;
|
|
175
175
|
}
|
|
176
176
|
@media (max-width: 768px) {
|
|
177
|
-
.runtime-page-container[data-v-
|
|
177
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-7 {
|
|
178
178
|
flex: 0 0 100%;
|
|
179
179
|
max-width: 100%;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
.runtime-page-container[data-v-
|
|
182
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-7 > .el-form-item:only-child {
|
|
183
183
|
margin-bottom: 0;
|
|
184
184
|
}
|
|
185
|
-
.runtime-page-container[data-v-
|
|
185
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-8 {
|
|
186
186
|
flex: 0 0 calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
187
187
|
max-width: calc(8 / 24 * (100% - (24 / 8 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
188
188
|
}
|
|
189
189
|
@media (max-width: 768px) {
|
|
190
|
-
.runtime-page-container[data-v-
|
|
190
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-8 {
|
|
191
191
|
flex: 0 0 100%;
|
|
192
192
|
max-width: 100%;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
.runtime-page-container[data-v-
|
|
195
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-8 > .el-form-item:only-child {
|
|
196
196
|
margin-bottom: 0;
|
|
197
197
|
}
|
|
198
198
|
@media (max-width: 768px) {
|
|
199
|
-
.runtime-page-container[data-v-
|
|
199
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-9 {
|
|
200
200
|
flex: 0 0 100%;
|
|
201
201
|
max-width: 100%;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
.runtime-page-container[data-v-
|
|
204
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-9 > .el-form-item:only-child {
|
|
205
205
|
margin-bottom: 0;
|
|
206
206
|
}
|
|
207
|
-
.runtime-page-container[data-v-
|
|
207
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-10 {
|
|
208
208
|
flex: 0 0 calc(10 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
209
209
|
max-width: calc(10 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
210
210
|
}
|
|
211
211
|
@media (max-width: 768px) {
|
|
212
|
-
.runtime-page-container[data-v-
|
|
212
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-10 {
|
|
213
213
|
flex: 0 0 100%;
|
|
214
214
|
max-width: 100%;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
.runtime-page-container[data-v-
|
|
217
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-10 > .el-form-item:only-child {
|
|
218
218
|
margin-bottom: 0;
|
|
219
219
|
}
|
|
220
220
|
@media (max-width: 768px) {
|
|
221
|
-
.runtime-page-container[data-v-
|
|
221
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-11 {
|
|
222
222
|
flex: 0 0 100%;
|
|
223
223
|
max-width: 100%;
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
.runtime-page-container[data-v-
|
|
226
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-11 > .el-form-item:only-child {
|
|
227
227
|
margin-bottom: 0;
|
|
228
228
|
}
|
|
229
|
-
.runtime-page-container[data-v-
|
|
229
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-12 {
|
|
230
230
|
flex: 0 0 calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
231
231
|
max-width: calc(12 / 24 * (100% - (24 / 12 - 1) * var(--layout-form-flex-gap, 15px)));
|
|
232
232
|
}
|
|
233
233
|
@media (max-width: 768px) {
|
|
234
|
-
.runtime-page-container[data-v-
|
|
234
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-12 {
|
|
235
235
|
flex: 0 0 100%;
|
|
236
236
|
max-width: 100%;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
.runtime-page-container[data-v-
|
|
239
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-12 > .el-form-item:only-child {
|
|
240
240
|
margin-bottom: 0;
|
|
241
241
|
}
|
|
242
242
|
@media (max-width: 768px) {
|
|
243
|
-
.runtime-page-container[data-v-
|
|
243
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-13 {
|
|
244
244
|
flex: 0 0 100%;
|
|
245
245
|
max-width: 100%;
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
|
-
.runtime-page-container[data-v-
|
|
248
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-13 > .el-form-item:only-child {
|
|
249
249
|
margin-bottom: 0;
|
|
250
250
|
}
|
|
251
|
-
.runtime-page-container[data-v-
|
|
251
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-14 {
|
|
252
252
|
flex: 0 0 calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
253
253
|
max-width: calc(14 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
254
254
|
}
|
|
255
255
|
@media (max-width: 768px) {
|
|
256
|
-
.runtime-page-container[data-v-
|
|
256
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-14 {
|
|
257
257
|
flex: 0 0 100%;
|
|
258
258
|
max-width: 100%;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
.runtime-page-container[data-v-
|
|
261
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-14 > .el-form-item:only-child {
|
|
262
262
|
margin-bottom: 0;
|
|
263
263
|
}
|
|
264
264
|
@media (max-width: 768px) {
|
|
265
|
-
.runtime-page-container[data-v-
|
|
265
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-15 {
|
|
266
266
|
flex: 0 0 100%;
|
|
267
267
|
max-width: 100%;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
.runtime-page-container[data-v-
|
|
270
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-15 > .el-form-item:only-child {
|
|
271
271
|
margin-bottom: 0;
|
|
272
272
|
}
|
|
273
|
-
.runtime-page-container[data-v-
|
|
273
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-16 {
|
|
274
274
|
flex: 0 0 calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
275
275
|
max-width: calc(16 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
276
276
|
}
|
|
277
277
|
@media (max-width: 768px) {
|
|
278
|
-
.runtime-page-container[data-v-
|
|
278
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-16 {
|
|
279
279
|
flex: 0 0 100%;
|
|
280
280
|
max-width: 100%;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
-
.runtime-page-container[data-v-
|
|
283
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-16 > .el-form-item:only-child {
|
|
284
284
|
margin-bottom: 0;
|
|
285
285
|
}
|
|
286
286
|
@media (max-width: 768px) {
|
|
287
|
-
.runtime-page-container[data-v-
|
|
287
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-17 {
|
|
288
288
|
flex: 0 0 100%;
|
|
289
289
|
max-width: 100%;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
.runtime-page-container[data-v-
|
|
292
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-17 > .el-form-item:only-child {
|
|
293
293
|
margin-bottom: 0;
|
|
294
294
|
}
|
|
295
|
-
.runtime-page-container[data-v-
|
|
295
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-18 {
|
|
296
296
|
flex: 0 0 calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
297
297
|
max-width: calc(18 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
298
298
|
}
|
|
299
299
|
@media (max-width: 768px) {
|
|
300
|
-
.runtime-page-container[data-v-
|
|
300
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-18 {
|
|
301
301
|
flex: 0 0 100%;
|
|
302
302
|
max-width: 100%;
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
.runtime-page-container[data-v-
|
|
305
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-18 > .el-form-item:only-child {
|
|
306
306
|
margin-bottom: 0;
|
|
307
307
|
}
|
|
308
308
|
@media (max-width: 768px) {
|
|
309
|
-
.runtime-page-container[data-v-
|
|
309
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-19 {
|
|
310
310
|
flex: 0 0 100%;
|
|
311
311
|
max-width: 100%;
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
.runtime-page-container[data-v-
|
|
314
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-19 > .el-form-item:only-child {
|
|
315
315
|
margin-bottom: 0;
|
|
316
316
|
}
|
|
317
|
-
.runtime-page-container[data-v-
|
|
317
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-20 {
|
|
318
318
|
flex: 0 0 calc(20 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
319
319
|
max-width: calc(20 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
320
320
|
}
|
|
321
321
|
@media (max-width: 768px) {
|
|
322
|
-
.runtime-page-container[data-v-
|
|
322
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-20 {
|
|
323
323
|
flex: 0 0 100%;
|
|
324
324
|
max-width: 100%;
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
.runtime-page-container[data-v-
|
|
327
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-20 > .el-form-item:only-child {
|
|
328
328
|
margin-bottom: 0;
|
|
329
329
|
}
|
|
330
330
|
@media (max-width: 768px) {
|
|
331
|
-
.runtime-page-container[data-v-
|
|
331
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-21 {
|
|
332
332
|
flex: 0 0 100%;
|
|
333
333
|
max-width: 100%;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
.runtime-page-container[data-v-
|
|
336
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-21 > .el-form-item:only-child {
|
|
337
337
|
margin-bottom: 0;
|
|
338
338
|
}
|
|
339
|
-
.runtime-page-container[data-v-
|
|
339
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-22 {
|
|
340
340
|
flex: 0 0 calc(22 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
341
341
|
max-width: calc(22 / 24 * (100% - 1 * var(--layout-form-flex-gap, 15px)));
|
|
342
342
|
}
|
|
343
343
|
@media (max-width: 768px) {
|
|
344
|
-
.runtime-page-container[data-v-
|
|
344
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-22 {
|
|
345
345
|
flex: 0 0 100%;
|
|
346
346
|
max-width: 100%;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
.runtime-page-container[data-v-
|
|
349
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-22 > .el-form-item:only-child {
|
|
350
350
|
margin-bottom: 0;
|
|
351
351
|
}
|
|
352
352
|
@media (max-width: 768px) {
|
|
353
|
-
.runtime-page-container[data-v-
|
|
353
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-23 {
|
|
354
354
|
flex: 0 0 100%;
|
|
355
355
|
max-width: 100%;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
.runtime-page-container[data-v-
|
|
358
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-23 > .el-form-item:only-child {
|
|
359
359
|
margin-bottom: 0;
|
|
360
360
|
}
|
|
361
361
|
@media (max-width: 768px) {
|
|
362
|
-
.runtime-page-container[data-v-
|
|
362
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-24 {
|
|
363
363
|
flex: 0 0 100%;
|
|
364
364
|
max-width: 100%;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
.runtime-page-container[data-v-
|
|
367
|
+
.runtime-page-container[data-v-b356a9a7] .el-col-24 > .el-form-item:only-child {
|
|
368
368
|
margin-bottom: 0;
|
|
369
369
|
}
|
|
370
|
-
.runtime-page-container[data-v-
|
|
370
|
+
.runtime-page-container[data-v-b356a9a7] .el-input-group > .el-input-group__append > .el-button + .el-button {
|
|
371
371
|
margin-left: 12px;
|
|
372
372
|
}
|
|
373
|
-
.runtime-page-container[data-v-
|
|
373
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view, .runtime-page-container[data-v-b356a9a7] .el-container > .el-main, .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside {
|
|
374
374
|
display: flex;
|
|
375
375
|
flex-direction: row;
|
|
376
376
|
align-items: flex-start;
|
|
@@ -381,49 +381,49 @@
|
|
|
381
381
|
height: calc(100vh - var(--dec-page-main-padding, 15px) * 2);
|
|
382
382
|
overflow: auto;
|
|
383
383
|
}
|
|
384
|
-
.runtime-page-container[data-v-
|
|
384
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view[style*="padding: 10px"], .runtime-page-container[data-v-b356a9a7] .el-container > [style*="padding: 10px"].el-main, .runtime-page-container[data-v-b356a9a7] .el-container > [style*="padding: 10px"].el-aside {
|
|
385
385
|
padding: 0 !important;
|
|
386
386
|
}
|
|
387
|
-
.runtime-page-container[data-v-
|
|
387
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view .el-form, .runtime-page-container[data-v-b356a9a7] .el-container > .el-main .el-form, .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside .el-form {
|
|
388
388
|
width: 100%;
|
|
389
389
|
display: flex;
|
|
390
390
|
flex-wrap: wrap;
|
|
391
391
|
gap: var(--runtime-page-container-view-gap, 15px);
|
|
392
392
|
}
|
|
393
|
-
.runtime-page-container[data-v-
|
|
393
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view .el-form > div, .runtime-page-container[data-v-b356a9a7] .el-container > .el-main .el-form > div, .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside .el-form > div {
|
|
394
394
|
width: 100%;
|
|
395
395
|
}
|
|
396
|
-
.runtime-page-container[data-v-
|
|
396
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-main .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside .el-form > div[style*="display: inline-block"] {
|
|
397
397
|
width: auto;
|
|
398
398
|
}
|
|
399
|
-
.runtime-page-container[data-v-
|
|
399
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view > div, .runtime-page-container[data-v-b356a9a7] .el-container > .el-main > div, .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside > div {
|
|
400
400
|
width: 100%;
|
|
401
401
|
}
|
|
402
|
-
.runtime-page-container[data-v-
|
|
402
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view > div[style*="display: inline-block"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-main > div[style*="display: inline-block"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside > div[style*="display: inline-block"] {
|
|
403
403
|
width: auto;
|
|
404
404
|
}
|
|
405
|
-
.runtime-page-container[data-v-
|
|
405
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view > div[class*=el-col-], .runtime-page-container[data-v-b356a9a7] .el-container > .el-main > div[class*=el-col-], .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside > div[class*=el-col-], .runtime-page-container[data-v-b356a9a7] .runtime-page-container-view > div[style="flex:"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-main > div[style="flex:"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside > div[style="flex:"] {
|
|
406
406
|
flex: none !important;
|
|
407
407
|
}
|
|
408
|
-
.runtime-page-container[data-v-
|
|
408
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view > [style*="display: inline-block"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-main > [style*="display: inline-block"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside > [style*="display: inline-block"] {
|
|
409
409
|
width: auto;
|
|
410
410
|
}
|
|
411
|
-
.runtime-page-container[data-v-
|
|
411
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view > .el-row[class*=el-col-], .runtime-page-container[data-v-b356a9a7] .el-container > .el-main > .el-row[class*=el-col-], .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside > .el-row[class*=el-col-] {
|
|
412
412
|
flex: none;
|
|
413
413
|
}
|
|
414
|
-
.runtime-page-container[data-v-
|
|
414
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view .el-row, .runtime-page-container[data-v-b356a9a7] .el-container > .el-main .el-row, .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside .el-row {
|
|
415
415
|
gap: var(--layout-form-flex-gap, 15px);
|
|
416
416
|
}
|
|
417
|
-
.runtime-page-container[data-v-
|
|
417
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view .el-row > div, .runtime-page-container[data-v-b356a9a7] .el-container > .el-main .el-row > div, .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside .el-row > div {
|
|
418
418
|
width: 100%;
|
|
419
419
|
}
|
|
420
|
-
.runtime-page-container[data-v-
|
|
420
|
+
.runtime-page-container[data-v-b356a9a7] .runtime-page-container-view .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-main .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside .el-row > div[style*="display: inline-block"] {
|
|
421
421
|
width: auto;
|
|
422
422
|
}
|
|
423
|
-
.runtime-page-container[data-v-
|
|
423
|
+
.runtime-page-container[data-v-b356a9a7] .el-container {
|
|
424
424
|
gap: var(--runtime-page-container-view-gap, 15px);
|
|
425
425
|
}
|
|
426
|
-
.runtime-page-container[data-v-
|
|
426
|
+
.runtime-page-container[data-v-b356a9a7] .el-container > .el-main, .runtime-page-container[data-v-b356a9a7] .el-container > .el-aside {
|
|
427
427
|
padding: 0;
|
|
428
428
|
}.yx-affix[data-v-a994b02d]:empty {
|
|
429
429
|
display: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-runtime",
|
|
3
|
-
"version": "2.3.30
|
|
3
|
+
"version": "2.3.30",
|
|
4
4
|
"description": "AgileBuilder super page runtime",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
50
50
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
51
51
|
"@vue/test-utils": "^2.4.4",
|
|
52
|
-
"agilebuilder-ui": "1.1.
|
|
52
|
+
"agilebuilder-ui": "1.1.80",
|
|
53
53
|
"axios": "^1.6.8",
|
|
54
54
|
"cypress": "^13.6.6",
|
|
55
55
|
"element-plus": "^2.6.1",
|