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.
@@ -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 i } from "./interfaces/page-design-types.js";
4
- import { getFormPropName as n, getVariableValue as s, setVariableValue as o, formatVariableValue as r } from "./page-helper-util.js";
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((i2, n2) => {
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, i2(e2)) : i2(null);
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
- i2(e2);
21
- }) : i2(null);
20
+ n2(e2);
21
+ }) : n2(null);
22
22
  });
23
23
  });
24
24
  }
25
25
  function m(e2, t2) {
26
- return new Promise((i2, n2) => {
27
- e2 ? b().then((s2) => {
28
- s2 && (e2.systemParam = h(s2)), e2.tableRuntimes && Object.keys(e2.tableRuntimes).length > 0 ? j(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, i2(e2);
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
- n2(e3);
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, i2(e2)) : i2(null);
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
- n2(e3);
35
+ i2(e3);
36
36
  });
37
- }) : i2(null);
37
+ }) : n2(null);
38
38
  });
39
39
  }
40
- function g(t2, i2) {
41
- let n2 = "";
42
- return t2 && i2 && (n2 = "?listViewTableName=" + t2 + "&listViewTablePublishVersion=" + i2), e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + n2);
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 i2 = e2.props.notIdInitializationList;
53
- "string" == typeof i2 && (i2 = JSON.parse(i2)), i2.length > 0 && (t2.notIdInitializationList = i2);
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 i2 = t2.entity.page;
57
- for (const t3 of e2.variables) t3.name && (t3.isArrayElement ? i2[t3.name] = [] : t3.defaultValue ? i2[t3.name] = t3.defaultValue : i2[t3.name] = void 0);
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 i.PC;
68
- return e3 > 768 ? i.PC : e3 > 414 ? i.IPAD : i.PHONE;
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"), i2 = window.CryptoJS.enc.Latin1.parse("1234567812345678");
77
- return window.CryptoJS.AES.decrypt(e3, t3, { iv: i2, mode: window.CryptoJS.mode.CBC, padding: window.CryptoJS.pad.ZeroPadding }).toString(CryptoJS.enc.Utf8);
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 i2 = t2.split("&");
106
- for (const t3 of i2) {
107
- const i3 = t3.split("=");
108
- let n2 = i3[0];
109
- if (n2) {
110
- const t4 = i3.length > 1 ? i3[1] : "";
111
- n2.indexOf("ai__") >= 0 && (n2 = n2.substring(n2.indexOf("ai__") + 4)), e2[n2] = t4;
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 i2 = a(e2);
132
- if (i2) {
133
- const e3 = JSON.parse(i2);
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 i2, n2 = t2;
140
- t2 || (i2 = e2.props.base ? e2.props.base : {}, n2 = i2.prop);
141
- let s2 = null;
142
- return t2 && !t2.startsWith("${") ? s2 = ["data", t2] : !e2 || n2 && n2.startsWith("${") ? n2.startsWith("${") ? (n2 = n2.substring(2, n2.length - 1), s2 = n2.split("."), e2 && s2.length < 2 && (s2 = [e2.uuid])) : e2 && (s2 = ["page", e2.uuid]) : s2 = ["page", e2.uuid], s2 || e2 ? s2 : ["temp"];
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 M(e2, t2, i2) {
145
- var _a;
146
- const n2 = k(t2, i2), r2 = e2.entity;
147
- if (null == r2.data.ID && null == r2.data.id) {
148
- let i3, a2, l2 = false;
149
- t2 && (i3 = t2.props.base ? t2.props.base : {}, a2 = t2.name, l2 = i3.multiple);
150
- const p2 = s(r2, n2);
151
- if (null == p2) {
152
- const t3 = i3 ? i3.defaultValue : null;
153
- if (t3) try {
154
- const s2 = A(e2, t3, a2, l2);
155
- if (null != s2 && "" !== s2) o(r2, n2, s2);
156
- else if (((_a = i3.moreDefaultValue) == null ? void 0 : _a.length) > 0) {
157
- const t4 = i3.moreDefaultValue;
158
- for (let i4 = 0; i4 < t4.length; i4++) {
159
- const s3 = A(e2, t4[i4], a2, l2);
160
- if (null != s3 && "" !== s3) {
161
- o(r2, n2, s3);
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("设置默认值出错:", n2, e3);
167
+ console.error("设置默认值出错:", i2, e3);
168
168
  }
169
169
  }
170
170
  }
171
- return n2;
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 A(e2, t2, i2, n2) {
174
- let s2;
175
- if (t2 && (s2 = r(e2, t2), null != s2 && null != s2 && i2)) {
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" == i2 ? e3 = true : "select" == i2 && (e3 = n2), e3 && (s2 = (s2 + "").split(","));
183
+ "checkbox" == n2 ? e3 = true : "select" == n2 && (e3 = i2), e3 && (r2 = (r2 + "").split(","));
178
184
  }
179
- return s2;
185
+ return r2;
180
186
  }
181
- function I(e2, t2) {
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 i2 = [];
185
- if (e2.autoPermissions) for (const n2 of e2.autoPermissions) i2.push(t2.code + "." + n2.simpleCode);
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 n2 = e2.sourceTypes ? e2.sourceTypes : [], s2 = e2.functionCodes;
188
- for (let e3 = 0; e3 < s2.length; e3++) {
189
- const o2 = s2[e3], r2 = e3 < n2.length ? n2[e3] : "";
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" == r2) a2 = o2;
192
- else if ("standard" === r2) a2 = t2.code + "." + o2;
197
+ if ("service" == o2) a2 = s2;
198
+ else if ("standard" === o2) a2 = t2.code + "." + s2;
193
199
  else {
194
- a2 = "custom" === T(o2, t2).type ? o2 : t2.code + "." + o2;
200
+ a2 = "custom" === O(s2, t2).type ? s2 : t2.code + "." + s2;
195
201
  }
196
- i2.includes(a2) || i2.push(a2);
202
+ n2.includes(a2) || n2.push(a2);
197
203
  }
198
204
  }
199
- return i2.join(",");
205
+ return n2.join(",");
200
206
  }
201
- function T(e2, t2) {
202
- const i2 = t2.pagePermissions;
203
- if (i2 && i2.length > 0) {
204
- for (let t3 = 0; t3 < i2.length; t3++) if (i2[t3].simpleCode === e2) return i2[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 j(i2, n2, s2) {
209
- const o2 = i2.tableRuntimes, r2 = t(n2);
214
+ function x(n2, i2, r2) {
215
+ const s2 = n2.tableRuntimes, o2 = t(i2);
210
216
  let a2;
211
- const l2 = i2.code;
212
- return r2 && Object.keys(r2) > 0 && (a2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o2, additionalParamMapJson: a2, pageCode: l2, publishVersion: s2, pageType: i2.pageType });
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 O = ["button-detail", "print-label"];
215
- function x(e2, t2, i2) {
220
+ const R = ["button-detail", "print-label"];
221
+ function _(e2, t2, n2) {
216
222
  var _a, _b;
217
- const s2 = t2.props && t2.props.base ? t2.props.base.prop : null, o2 = p(e2);
218
- let r2 = false;
219
- if (o2 && O.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
220
- const i3 = e2.fieldPermissionMap.get("all_fields");
221
- false === (i3 == null ? void 0 : i3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", r2 = true);
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 (s2) {
224
- const a2 = n(s2);
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), !i2 && e3 && e3.required && (e3.required = false);
227
- }), e2.rules[a2] = t2.props.rules), o2 && !r2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
228
- const n2 = e2.fieldPermissionMap.get(a2);
229
- if (!i2 && e2.workflowRules && (e2.workflowRules[a2] || e2.workflowRules.rules && e2.workflowRules.rules[a2])) {
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 i3 = t3[e3];
233
- if (i3 && i3.required) {
234
- i3.required = false;
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 = {}), n2 ? (!i2 && n2.canEdit && (n2.canEdit = false), false === n2.canEdit ? t2.runtime.props.state = "disabled" : n2.canEdit && (t2.runtime.props.state = "", t2.runtime.props.required = true)) : t2.runtime.props.state = "";
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 R(e2, t2) {
251
+ function V(e2, t2) {
246
252
  if (e2.initInfo) {
247
- ["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((i2) => {
248
- const n2 = e2.initInfo[i2];
249
- if (n2) if ("dynamicControlFormEdit" === i2) {
250
- let i3 = n2.filter((e3) => "_all_fields" === e3.name || e3.name === t2);
251
- if (i3 && i3.length > 0 && (i3 = i3.filter((e3) => "_all_fields" === e3.name), i3 && i3.length > 0)) {
252
- const e3 = u(i3[0]);
253
- e3.name = t2, i3 = [e3];
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, i3, false);
256
- } else "disableElement" === i2 ? n2.indexOf(t2) >= 0 && l.disableElement(e2, [t2], false) : "enableElement" === i2 ? n2.indexOf(t2) >= 0 && l.enableElement(e2, [t2], false) : "hideElement" === i2 ? n2.indexOf(t2) >= 0 && l.hideElement(e2, [t2], false) : "showElement" === i2 && n2.indexOf(t2) >= 0 && l.showElement(e2, [t2], false);
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
- R as controlObjectRenderState,
267
+ V as controlObjectRenderState,
262
268
  y as convertToPageContext,
263
- A as getDefaultValue,
264
- M as getFormModelFields,
269
+ T as getDefaultValue,
270
+ A as getFormModelFields,
265
271
  k as getModelFields,
266
- I as getPermissionCodes,
272
+ j as getPermissionCodes,
267
273
  P as packageAdditionalMapWithLocationSearch,
268
274
  E as packageAdditionalMapWithPageRequest,
269
275
  v as packageAdditionalMapWithRoute,
270
- x as packageFormRules,
276
+ _ as packageFormRules,
271
277
  f as queryPageDesignByCode,
272
278
  m as queryPageDesignWhenPreview,
273
- j as queryPageSuperGrids
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 p, openBlock as a, resolveDynamicComponent as c, normalizeClass as g, normalizeStyle as f, vShow as d, nextTick as m } from "vue";
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 R = y(F2.configure, F2.pageContext);
18
- F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.functionCode = R);
19
- const k = B(R || "true", F2.pageContext.systemCode), E = S(F2.pageContext, F2.configure), J = k && E;
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 D = o(true);
61
- null == z.value && (z.value = C, D.value = false);
62
- const G = o(null), I = o({}), K = o(""), Q = $(F2.configure);
63
- Q && (K.value = Q);
64
- const U = F2.configure.runtime && F2.configure.runtime.common ? F2.configure.runtime.common : {};
65
- if (U.class && (K.value += " " + U.class), U.style) {
66
- Object.assign(I.value, U.style);
67
- const e3 = F2.pageContext && F2.pageContext.dimensions ? F2.pageContext.dimensions : b.PC, o2 = U.style[e3 + "_style"];
68
- o2 && Object.assign(I.value, o2);
69
- const t2 = U.style[e3 + "_class"];
70
- t2 && (K.value += " " + 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 V = P();
73
- function X(e3) {
74
- if (G.value = e3, e3 && !e3.show && (e3.show = function() {
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, G), F2.configure.code) x(F2.pageContext, F2.configure.code, G);
81
- else if ("table" === F2.configure.name) x(F2.pageContext, F2.configure.uuid, G);
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, G);
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 (!G.value) return;
96
+ if (!I.value) return;
96
97
  const e4 = A(F2.pageContext, F2.configure);
97
- "table" !== F2.configure.name && e4 && e4.isCalcHeight && m(() => {
98
+ "table" !== F2.configure.name && e4 && e4.isCalcHeight && d(() => {
98
99
  var _a2;
99
- if (!(((_a2 = G.value) == null ? void 0 : _a2.$el) || G.value)) return;
100
+ if (!(((_a2 = I.value) == null ? void 0 : _a2.$el) || I.value)) return;
100
101
  const e5 = (o3 = 0) => {
101
- if (!G.value) return;
102
- let t2 = G.value.$el || G.value;
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 !== Z && Math.abs(n2.y - Z) < 1 ? Y() : o3 < 10 ? (Z = n2.y, ee = setTimeout(() => {
106
+ null !== ee && Math.abs(n2.y - ee) < 1 ? Z() : o3 < 10 ? (ee = n2.y, oe = setTimeout(() => {
106
107
  e5(o3 + 1);
107
- }, 50)) : Y();
108
+ }, 50)) : Z();
108
109
  };
109
- Z = null, e5();
110
+ ee = null, e5();
110
111
  });
111
112
  }();
112
113
  }
113
- function Y() {
114
- if (!G.value) return;
115
- let e3 = G.value.$el;
116
- e3 || (e3 = G.value);
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
- H(n2) && (i2 = n2 + "px"), I.value.height = i2, I.value["overflow-y"] = "auto", I.value["overflow-x"] = "hidden", F2.configure.sytle || (F2.configure.sytle = {}), F2.configure.sytle._heightStyle = i2;
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
- oe(), V.countComponentsLoadedNumber(), ((_c = (_b2 = (_a2 = F2.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.autoAnchorConditions) == null ? void 0 : _c.length) > 0 && V.setAutoAnchorComponentConditions(F2.configure.uuid, F2.configure.props.base.autoAnchorConditions);
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
- ee && clearTimeout(ee);
137
+ oe && clearTimeout(oe);
130
138
  });
131
- let Z = null, ee = null;
132
- const oe = () => {
133
- if (!G.value) return;
134
- let e3 = G.value.$el;
135
- e3 || (e3 = G.value);
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((a(), p(c(z.value), { key: 0, ref: X, style: f(I.value), class: g(K.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[d, l(W)]]) : u("", true);
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
1
  import e from "./super-page.vue2.js";
2
2
  /* empty css */
3
3
  import p from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = p(e, [["__scopeId", "data-v-fe4c8a02"]]);
4
+ const r = p(e, [["__scopeId", "data-v-b356a9a7"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -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, normalizeClass as p, createCommentVNode as m, normalizeStyle as c, createVNode as g, createBlock as f, createElementVNode as d, Fragment as y, renderList as h, unref as C, watch as P } from "vue";
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 w, packageAdditionalMapWithPageRequest as N } from "../utils/page-init-util.js";
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 H, getFormData as L, 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";
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 we = Ce(), { t: Ne } = 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), He = a(false), Le = 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);
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), w(ra, a2.entity.request)), N(qe.pageRequest, a2.entity.request), a2;
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 we.setPageContext(na.value), Le.value = l2 + "_", W.$on(Le.value + "export-form-report", (e4) => {
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(Le.value + "export-pdf-report", (e4) => {
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(Le.value + "import-file", (e4) => {
68
+ }), W.$on(He.value + "import-file", (e4) => {
69
69
  Ee.value = e4, $a.value.click();
70
- }), W.$on(Le.value + "assign-task", (e4) => {
71
- Ee.value = e4, Ue.value = true, He.value = false;
72
- }), W.$on(Le.value + "copy-task", (e4) => {
73
- Ee.value = e4, Je.value = true, He.value = true;
74
- }), W.$on(Le.value + "add-signer", (e4) => {
75
- Ee.value = e4, We.value = true, He.value = true;
76
- }), W.$on(Le.value + "choose-return-node", (e4) => {
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(Le.value + "remove-signer", (e4) => {
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(Le.value + "add-transactor", (e4) => {
89
- Ee.value = e4, Be.value = true, He.value = true;
90
- }), W.$on(Le.value + "remove-transactor", (e4) => {
91
- Ee.value = e4, H(e4).then((a3) => {
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(Le.value + "prohibit-edit", (e4) => {
97
- }), W.$on(Le.value + "open-dialog", (e4) => {
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: Ne("superPageRuntimeMessage.popMsg") }), console.error("弹框参数缺少customSystem参数,parentPageContext.value.systemCode={}", la.value.systemCode), l5(false);
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(Le.value + "close-dialog", (e7) => {
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(Le.value + "save-chart-condition", (e4) => {
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(we.getAutoAnchorComponentConditions(), na.value);
160
- }), W.$on(Le.value + "event-call-component", (e4) => {
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
- }), L(na.value, null, (_a2 = qe.pageRequest) == null ? void 0 : _a2.isNeedId);
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 = {}), qe.contentHeight, na.value.pageRuntimeStyle.height = qe.contentHeight ?? ((_b = (_a2 = e3 == null ? void 0 : e3.getBoundingClientRect) == null ? void 0 : _a2.call(e3)) == null ? void 0 : _b.height) ?? 0);
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 (we.resetComponentCounters(), we.resetAutoAnchorComponentConditions(), qe.isPreview && qe.pageDesign) {
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(Le.value + "export-form-report"), W.$off(Le.value + "export-pdf-report"), W.$off(Le.value + "import-file"), W.$off(Le.value + "assign-task"), W.$off(Le.value + "copy-task"), W.$off(Le.value + "add-signer"), W.$off(Le.value + "choose-return-node"), W.$off(Le.value + "remove-signer"), W.$off(Le.value + "prohibit-edit"), W.$off(Le.value + "open-dialog"), W.$off(Le.value + "save-chart-condition"), W.$off("pageLoaded"), na.value && O(null, na.value, na.value, "onUnmounted"), ma && clearTimeout(ma), ca && clearTimeout(ca);
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 wa(e3) {
228
+ function Na(e3) {
226
229
  Ge.value = [], Xe.value = false, ee(Ee.value, e3);
227
230
  }
228
- function Na(e3) {
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(Le.value + "close-dialog"), aa.value = false;
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: Ne("superPageRuntimeMessage.successfulSave") }), fa.value.refreshConditionList();
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: p(["app-container runtime-page-container", [Re.value]]), "element-loading-text": "拼命加载中" }, [ea.value ? (v(), r("div", { ref_key: "thisRef", ref: Oe, key: va.value, class: p(["runtime-page-container-view", Ie.value]), style: c(Me.value) }, [(v(true), r(y, null, h(Fe.value, (e4, a3) => (v(), f(b, { key: e4.uuid, configure: e4, pageContext: C(na) }, null, 8, ["configure", "pageContext"]))), 128)), g(ke, { pageContext: C(na) }, null, 8, ["pageContext"]), Ve.value ? (v(), f(M, { key: 0, configure: ia.value, pageContext: sa.value, onClose: ka, onExport: xa }, null, 8, ["configure", "pageContext"])) : m("", true), d("input", { ref_key: "_selectFile_", ref: $a, type: "file", name: "_selectFile_", style: { display: "none" }, onChange: a2[0] || (a2[0] = (e4) => function() {
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: Ne("superPageRuntimeMessage.noFileSelected") });
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(), f(C(se), { key: 1, width: "60%", multiple: He.value, onClose: Sa }, null, 8, ["multiple"])) : m("", true), ze.value ? (v(), f(A, { key: 2, "task-informitions": Qe.value, onClose: a2[1] || (a2[1] = (e4) => ze.value = false), onResult: Da }, null, 8, ["task-informitions"])) : m("", true), Xe.value ? (v(), f(E, { key: 3, "task-id": Ze.value, "active-tasks": Ge.value, onClose: a2[2] || (a2[2] = (e4) => Xe.value = false), onResult: wa }, null, 8, ["task-id", "active-tasks"])) : m("", true), Ye.value ? (v(), f(V, { key: 4, "task-id": Ze.value, "transactor-info": Ke.value, onClose: a2[3] || (a2[3] = (e4) => Ye.value = false), onResult: Na }, null, 8, ["task-id", "transactor-info"])) : m("", true), aa.value ? (v(), f(ve, { key: 5, parentPageContext: la.value, parentPageEventParams: ua.value, jumpPageSetting: ta.value, onClose: a2[4] || (a2[4] = (e4) => Ta()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : m("", true), ga.value ? (v(), f(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"])) : m("", true), g(xe, { ref_key: "eventCallComponentRef", ref: ya }, null, 512)], 6)) : m("", true)], 2)), [[t2, Te.value]]);
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-fe4c8a02] {
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-fe4c8a02] .el-col-1 {
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-fe4c8a02] .el-col-1 > .el-form-item:only-child {
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-fe4c8a02] .el-col-2 {
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-fe4c8a02] .el-col-2 {
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-fe4c8a02] .el-col-2 > .el-form-item:only-child {
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-fe4c8a02] .el-col-3 {
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-fe4c8a02] .el-col-3 > .el-form-item:only-child {
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-fe4c8a02] .el-col-4 {
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-fe4c8a02] .el-col-4 {
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-fe4c8a02] .el-col-4 > .el-form-item:only-child {
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-fe4c8a02] .el-col-5 {
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-fe4c8a02] .el-col-5 > .el-form-item:only-child {
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-fe4c8a02] .el-col-6 {
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-fe4c8a02] .el-col-6 {
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-fe4c8a02] .el-col-6 > .el-form-item:only-child {
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-fe4c8a02] .el-col-7 {
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-fe4c8a02] .el-col-7 > .el-form-item:only-child {
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-fe4c8a02] .el-col-8 {
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-fe4c8a02] .el-col-8 {
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-fe4c8a02] .el-col-8 > .el-form-item:only-child {
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-fe4c8a02] .el-col-9 {
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-fe4c8a02] .el-col-9 > .el-form-item:only-child {
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-fe4c8a02] .el-col-10 {
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-fe4c8a02] .el-col-10 {
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-fe4c8a02] .el-col-10 > .el-form-item:only-child {
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-fe4c8a02] .el-col-11 {
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-fe4c8a02] .el-col-11 > .el-form-item:only-child {
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-fe4c8a02] .el-col-12 {
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-fe4c8a02] .el-col-12 {
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-fe4c8a02] .el-col-12 > .el-form-item:only-child {
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-fe4c8a02] .el-col-13 {
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-fe4c8a02] .el-col-13 > .el-form-item:only-child {
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-fe4c8a02] .el-col-14 {
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-fe4c8a02] .el-col-14 {
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-fe4c8a02] .el-col-14 > .el-form-item:only-child {
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-fe4c8a02] .el-col-15 {
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-fe4c8a02] .el-col-15 > .el-form-item:only-child {
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-fe4c8a02] .el-col-16 {
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-fe4c8a02] .el-col-16 {
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-fe4c8a02] .el-col-16 > .el-form-item:only-child {
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-fe4c8a02] .el-col-17 {
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-fe4c8a02] .el-col-17 > .el-form-item:only-child {
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-fe4c8a02] .el-col-18 {
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-fe4c8a02] .el-col-18 {
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-fe4c8a02] .el-col-18 > .el-form-item:only-child {
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-fe4c8a02] .el-col-19 {
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-fe4c8a02] .el-col-19 > .el-form-item:only-child {
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-fe4c8a02] .el-col-20 {
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-fe4c8a02] .el-col-20 {
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-fe4c8a02] .el-col-20 > .el-form-item:only-child {
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-fe4c8a02] .el-col-21 {
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-fe4c8a02] .el-col-21 > .el-form-item:only-child {
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-fe4c8a02] .el-col-22 {
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-fe4c8a02] .el-col-22 {
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-fe4c8a02] .el-col-22 > .el-form-item:only-child {
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-fe4c8a02] .el-col-23 {
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-fe4c8a02] .el-col-23 > .el-form-item:only-child {
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-fe4c8a02] .el-col-24 {
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-fe4c8a02] .el-col-24 > .el-form-item:only-child {
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-fe4c8a02] .el-input-group > .el-input-group__append > .el-button + .el-button {
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-fe4c8a02] .runtime-page-container-view, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside {
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-fe4c8a02] .runtime-page-container-view[style*="padding: 10px"], .runtime-page-container[data-v-fe4c8a02] .el-container > [style*="padding: 10px"].el-main, .runtime-page-container[data-v-fe4c8a02] .el-container > [style*="padding: 10px"].el-aside {
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-fe4c8a02] .runtime-page-container-view .el-form, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main .el-form, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside .el-form {
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-fe4c8a02] .runtime-page-container-view .el-form > div, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main .el-form > div, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside .el-form > div {
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-fe4c8a02] .runtime-page-container-view .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main .el-form > div[style*="display: inline-block"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside .el-form > div[style*="display: inline-block"] {
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-fe4c8a02] .runtime-page-container-view > div, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main > div, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside > div {
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-fe4c8a02] .runtime-page-container-view > div[style*="display: inline-block"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main > div[style*="display: inline-block"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside > div[style*="display: inline-block"] {
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-fe4c8a02] .runtime-page-container-view > div[class*=el-col-], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main > div[class*=el-col-], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside > div[class*=el-col-], .runtime-page-container[data-v-fe4c8a02] .runtime-page-container-view > div[style="flex:"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main > div[style="flex:"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside > div[style="flex:"] {
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-fe4c8a02] .runtime-page-container-view > [style*="display: inline-block"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main > [style*="display: inline-block"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside > [style*="display: inline-block"] {
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-fe4c8a02] .runtime-page-container-view > .el-row[class*=el-col-], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main > .el-row[class*=el-col-], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside > .el-row[class*=el-col-] {
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-fe4c8a02] .runtime-page-container-view .el-row, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main .el-row, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside .el-row {
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-fe4c8a02] .runtime-page-container-view .el-row > div, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main .el-row > div, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside .el-row > div {
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-fe4c8a02] .runtime-page-container-view .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-main .el-row > div[style*="display: inline-block"], .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside .el-row > div[style*="display: inline-block"] {
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-fe4c8a02] .el-container {
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-fe4c8a02] .el-container > .el-main, .runtime-page-container[data-v-fe4c8a02] .el-container > .el-aside {
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-tmp1",
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.81-tmp1",
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",