super-page-runtime 2.3.34 → 2.3.35

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.
@@ -372,7 +372,7 @@ function formatCurrency(e, t) {
372
372
  }
373
373
  function formatPercent(e, t) {
374
374
  let r = e;
375
- return r || (r = 0), t.decimalDigit && (r = Number(e).toFixed(t.decimalDigit)), r + " %";
375
+ return r || (r = 0, e = 0), t.decimalDigit && (r = Number(e).toFixed(t.decimalDigit)), r + " %";
376
376
  }
377
377
  function formatCustomFunc(e, t, r, o, n) {
378
378
  const a = getCustomFunc(o, t.customFunc);
@@ -1,7 +1,7 @@
1
1
  import e from "./card-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(e, [["__scopeId", "data-v-4e203ead"]]);
4
+ const t = r(e, [["__scopeId", "data-v-3cee8aad"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,78 +1,94 @@
1
- import { defineComponent as e, ref as l, watch as t, onMounted as o, nextTick as a, onUnmounted as i, resolveComponent as s, createBlock as r, createCommentVNode as u, openBlock as n, normalizeStyle as p, normalizeClass as d, unref as m, withCtx as v, createElementBlock as f, toDisplayString as c } from "vue";
2
- import { getVariableValue as h, setVariableValue as y } from "../../../../utils/page-helper-util.js";
3
- import { handleAfterInitEvent as g, fileUploadBeforeUpload as w } from "../../../../utils/events/event-util.js";
4
- import C from "agilebuilder-ui/src/utils/request";
5
- import { FsUploadNew as b } from "agilebuilder-ui";
6
- import k from "../../../../utils/eventBus.js";
7
- import { $t as x } from "../../../../utils/i18n-util.js";
8
- import { addRequiredClassUtil as P } from "../../../../utils/common-util.js";
9
- import { getRelativeBaseUrl as S } from "agilebuilder-ui/src/utils/common-util";
10
- const N = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: N2 }) {
1
+ import { defineComponent as e, ref as l, watch as t, onMounted as o, nextTick as i, onUnmounted as a, resolveComponent as n, createBlock as u, createCommentVNode as r, openBlock as p, normalizeStyle as s, normalizeClass as d, unref as f, withCtx as v, createElementBlock as m, toDisplayString as c } from "vue";
2
+ import { getVariableValue as g, setVariableValue as h } from "../../../../utils/page-helper-util.js";
3
+ import { handleAfterInitEvent as y, fileUploadBeforeUpload as C, fileUploadUploaded as w, fileUploadBeforeDelete as x, fileUploadDeleted as b } from "../../../../utils/events/event-util.js";
4
+ import k from "agilebuilder-ui/src/utils/request";
5
+ import { FsUploadNew as I } from "agilebuilder-ui";
6
+ import P from "../../../../utils/eventBus.js";
7
+ import { $t as S } from "../../../../utils/i18n-util.js";
8
+ import { addRequiredClassUtil as N } from "../../../../utils/common-util.js";
9
+ import { getRelativeBaseUrl as T } from "agilebuilder-ui/src/utils/common-util";
10
+ const _ = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
11
11
  var _a, _b, _c, _d, _e, _f, _g;
12
- const T = e2, _ = l(null), j = T.configure.runtime ? T.configure.runtime : {}, z = l(j.props ? j.props : {}), R = j.style, I = j.class, D = j.headerStyle, O = j.titleExceedStyle, q = T.pageContext.entity ? T.pageContext.entity : {}, F = T.configure.props.base ? T.configure.props.base : {}, W = M(F.prop), $ = M(F.propName);
13
- let A = l({});
14
- A.value.isShowWatermark = void 0 === ((_b = (_a = T.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = T.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", A.value.content = ((_e = (_d = T.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content) ? (_g = (_f = T.configure.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content : "", W && W.length > 1 && t(() => T.pageContext.entity[W[0]][W[1]], (e3) => {
15
- L(h(q, W));
12
+ const j = e2, z = l(null), R = j.configure.runtime ? j.configure.runtime : {}, F = l(R.props ? R.props : {}), D = R.style, O = R.class, q = R.headerStyle, W = R.titleExceedStyle, $ = j.pageContext.entity ? j.pageContext.entity : {}, A = j.configure.props.base ? j.configure.props.base : {}, E = X(A.prop), U = X(A.propName);
13
+ let B = l({});
14
+ B.value.isShowWatermark = void 0 === ((_b = (_a = j.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = j.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", B.value.content = ((_e = (_d = j.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content) ? (_g = (_f = j.configure.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content : "", E && E.length > 1 && t(() => j.pageContext.entity[E[0]][E[1]], (e3) => {
15
+ V(g($, E));
16
16
  });
17
- const E = T.pageContext.code, U = l(W ? E + "__" + W.join("__") : null), B = h(q, W), G = l(null), H = l(false), J = l([]), K = l({});
18
- function L(e3) {
17
+ const G = j.pageContext.code, H = l(E ? G + "__" + E.join("__") : null), J = g($, E), K = l(null), L = l(false), M = l([]), Q = l({});
18
+ function V(e3) {
19
19
  if (e3) {
20
20
  const l2 = e3.split(",");
21
21
  if (l2.length > 0) {
22
- const e4 = S(window.$vueApp.config.globalProperties.baseAPI) + "/component/fs-upload/search-file-metadata";
23
- C.post(e4, l2).then((e5) => {
24
- J.value = [];
22
+ const e4 = T(window.$vueApp.config.globalProperties.baseAPI) + "/component/fs-upload/search-file-metadata";
23
+ k.post(e4, l2).then((e5) => {
24
+ M.value = [];
25
25
  const t2 = [], o2 = {};
26
26
  e5.forEach((e6) => {
27
27
  o2[e6.uuid] = e6;
28
28
  });
29
29
  for (let e6 = 0; e6 < l2.length; e6++) {
30
- const a2 = l2[e6];
31
- t2.push(o2[a2].fileName), J.value.push({ showName: o2[a2].fileName, serverPath: a2, fileSize: o2[a2].fileSize });
30
+ const i2 = l2[e6];
31
+ t2.push(o2[i2].fileName), M.value.push({ showName: o2[i2].fileName, serverPath: i2, fileSize: o2[i2].fileSize });
32
32
  }
33
- "input" === z.value.displayType && (K.value.showName = t2.join(","), K.value.serverPath = l2.join(","));
33
+ "input" === F.value.displayType && (Q.value.showName = t2.join(","), Q.value.serverPath = l2.join(","));
34
34
  }).finally(() => {
35
- H.value = true;
35
+ L.value = true;
36
36
  });
37
- } else H.value = true;
38
- } else J.value = [], K.value = {}, H.value = true;
37
+ } else L.value = true;
38
+ } else M.value = [], Q.value = {}, L.value = true;
39
39
  }
40
- function M(e3) {
40
+ function X(e3) {
41
41
  return e3 ? (e3.startsWith("${") && (e3 = e3.substring(2, e3.length - 1)), e3.split(".")) : [];
42
42
  }
43
- function Q(e3) {
44
- return w(e3);
43
+ function Y(e3) {
44
+ j.pageContext.fileuploadInfo || (j.pageContext.fileuploadInfo = []);
45
+ return -1 === j.pageContext.fileuploadInfo.findIndex((e4) => e4.uuid === j.configure.uuid) && j.pageContext.fileuploadInfo.push({ uuid: j.configure.uuid, label: S(F.value.title) }), j.pageContext.fileuploadInfo, C(e3);
45
46
  }
46
- L(B);
47
- const V = (e3, l2, t2) => {
48
- Y();
49
- }, X = (e3) => {
50
- Y();
51
- }, Y = () => {
47
+ function Z() {
48
+ if (j.pageContext.fileuploadInfo, j.configure.uuid, j.pageContext.fileuploadInfo && j.configure.uuid) {
49
+ const e3 = j.pageContext.fileuploadInfo.findIndex((e4) => e4.uuid === j.configure.uuid);
50
+ -1 !== e3 && j.pageContext.fileuploadInfo.splice(e3, 1);
51
+ }
52
+ j.pageContext.fileuploadInfo;
53
+ }
54
+ function ee(e3) {
55
+ Z();
56
+ }
57
+ V(J);
58
+ const le = (e3, l2, t2) => {
59
+ var o2;
60
+ Z(), oe(), o2 = { response: e3, uploadFile: l2, uploadFiles: t2 }, w(j.pageContext, j.configure, o2);
61
+ }, te = (e3) => {
62
+ const l2 = (t2 = { file: e3 }, x(j.pageContext, j.configure, t2));
63
+ var t2;
64
+ (l2 || void 0 === l2) && (oe(), function(e4) {
65
+ b(j.pageContext, j.configure, e4);
66
+ }({ file: e3 }));
67
+ }, oe = () => {
52
68
  const e3 = [], l2 = [];
53
- if (z.value.limit && J.value.length > z.value.limit) {
54
- const e4 = J.value.length - z.value.limit;
55
- for (let l3 = 0; l3 < e4; l3++) J.value.shift();
69
+ if (F.value.limit && M.value.length > F.value.limit) {
70
+ const e4 = M.value.length - F.value.limit;
71
+ for (let l3 = 0; l3 < e4; l3++) M.value.shift();
56
72
  }
57
- for (let t2 = 0; t2 < J.value.length; t2++) e3.push(J.value[t2].showName), l2.push(J.value[t2].serverPath);
58
- y(T.pageContext.entity, W, l2.join(",")), y(T.pageContext.entity, $, e3.join(",")), l2.length > 0 && (_.value = "");
59
- }, Z = l(null), ee = l(null);
73
+ for (let t2 = 0; t2 < M.value.length; t2++) e3.push(M.value[t2].showName), l2.push(M.value[t2].serverPath);
74
+ h(j.pageContext.entity, E, l2.join(",")), h(j.pageContext.entity, U, e3.join(",")), l2.length > 0 && (z.value = "");
75
+ }, ie = l(null), ae = l(null);
60
76
  return o(() => {
61
- k.$on(U.value + "-pickFileDone", (e3) => {
62
- U.value, G.value.pickFileDone(e3);
63
- }), a(() => {
64
- const e3 = h(q, W), l2 = { showName: h(q, $), serverPath: e3 };
65
- g(l2, T.pageContext, T.configure, { formItemRef: Z.value, componentRef: G.value, titleRef: ee.value, value: l2, entity: T.pageContext.entity.data, pageData: T.pageContext.entity.page });
77
+ P.$on(H.value + "-pickFileDone", (e3) => {
78
+ H.value, K.value.pickFileDone(e3);
79
+ }), i(() => {
80
+ const e3 = g($, E), l2 = { showName: g($, U), serverPath: e3 };
81
+ y(l2, j.pageContext, j.configure, { formItemRef: ie.value, componentRef: K.value, titleRef: ae.value, value: l2, entity: j.pageContext.entity.data, pageData: j.pageContext.entity.page });
66
82
  });
67
- }), i(() => {
68
- k.$off(U.value + "-pickFileDone");
69
- }), N2({ addRequiredClass: function() {
70
- _.value = P();
83
+ }), a(() => {
84
+ P.$off(H.value + "-pickFileDone");
85
+ }), _2({ addRequiredClass: function() {
86
+ z.value = N();
71
87
  } }), (l2, t2) => {
72
- const o2 = s("el-form-item");
73
- return z.value.tittleShow ? (n(), r(o2, { key: 0, ref_key: "formItemRef", ref: Z, required: z.value.required, class: d(m(I) + (_.value ? " " + _.value : "")), "label-width": z.value.labelWidth, style: p(m(R)) }, { label: v(() => [z.value.tittleShow ? (n(), f("div", { key: 0, ref_key: "titleRef", ref: ee, style: p({ ...m(D), ...m(O) }) }, c(m(x)(z.value.title)), 5)) : u("", true)]), default: v(() => [H.value ? (n(), r(m(b), { key: 0, ref_key: "fileUploadRef", ref: G, style: { width: "100%" }, disabled: "disabled" === z.value.state, displayType: z.value.displayType, accept: z.value.accept, multiple: z.value.multiple, placeholder: z.value.placeholder, limit: z.value.limit, "limit-file-size": z.value.limitFileSize, "disabled-no-preview": z.value.disabledNoPreview, "disabled-no-download": z.value.disabledNoDownload, openCameraOrChoosePhoto: z.value.openCameraOrChoosePhoto, "sort-type": z.value.sortType, "file-info": K.value, "file-list": J.value, "system-code": e2.pageContext.systemCode, componentId: U.value, watermark: m(A), "on-success": V, "on-remove": X, "before-upload": Q, pageContext: e2.pageContext, "file-show-type": z.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : u("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : H.value ? (n(), r(m(b), { key: 1, ref_key: "fileUploadRef", ref: G, style: { width: "100%" }, disabled: "disabled" === z.value.state, displayType: z.value.displayType, accept: z.value.accept, multiple: z.value.multiple, placeholder: z.value.placeholder, limit: z.value.limit, "limit-file-size": z.value.limitFileSize, "disabled-no-preview": z.value.disabledNoPreview, "disabled-no-download": z.value.disabledNoDownload, openCameraOrChoosePhoto: z.value.openCameraOrChoosePhoto, "sort-type": z.value.sortType, "file-info": K.value, "file-list": J.value, "system-code": e2.pageContext.systemCode, componentId: U.value, watermark: m(A), "on-success": V, "on-remove": X, "before-upload": Q, pageContext: e2.pageContext, "file-show-type": z.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : u("", true);
88
+ const o2 = n("el-form-item");
89
+ return F.value.tittleShow ? (p(), u(o2, { key: 0, ref_key: "formItemRef", ref: ie, required: F.value.required, class: d(f(O) + (z.value ? " " + z.value : "")), "label-width": F.value.labelWidth, style: s(f(D)) }, { label: v(() => [F.value.tittleShow ? (p(), m("div", { key: 0, ref_key: "titleRef", ref: ae, style: s({ ...f(q), ...f(W) }) }, c(f(S)(F.value.title)), 5)) : r("", true)]), default: v(() => [L.value ? (p(), u(f(I), { key: 0, ref_key: "fileUploadRef", ref: K, style: { width: "100%" }, disabled: "disabled" === F.value.state, displayType: F.value.displayType, accept: F.value.accept, multiple: F.value.multiple, placeholder: F.value.placeholder, limit: F.value.limit, "limit-file-size": F.value.limitFileSize, "disabled-no-preview": F.value.disabledNoPreview, "disabled-no-download": F.value.disabledNoDownload, openCameraOrChoosePhoto: F.value.openCameraOrChoosePhoto, "sort-type": F.value.sortType, "file-info": Q.value, "file-list": M.value, "system-code": e2.pageContext.systemCode, componentId: H.value, watermark: f(B), "on-success": le, "on-remove": te, "before-upload": Y, "on-error": ee, pageContext: e2.pageContext, "file-show-type": F.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : L.value ? (p(), u(f(I), { key: 1, ref_key: "fileUploadRef", ref: K, style: { width: "100%" }, disabled: "disabled" === F.value.state, displayType: F.value.displayType, accept: F.value.accept, multiple: F.value.multiple, placeholder: F.value.placeholder, limit: F.value.limit, "limit-file-size": F.value.limitFileSize, "disabled-no-preview": F.value.disabledNoPreview, "disabled-no-download": F.value.disabledNoDownload, openCameraOrChoosePhoto: F.value.openCameraOrChoosePhoto, "sort-type": F.value.sortType, "file-info": Q.value, "file-list": M.value, "system-code": e2.pageContext.systemCode, componentId: H.value, watermark: f(B), "on-success": le, "on-remove": te, "before-upload": Y, "on-error": ee, pageContext: e2.pageContext, "file-show-type": F.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true);
74
90
  };
75
91
  } });
76
92
  export {
77
- N as default
93
+ _ as default
78
94
  };
@@ -1,32 +1,43 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as i, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as s, unref as p, withCtx as f, createVNode as c, createTextVNode as d, toDisplayString as m, createElementBlock as g, createCommentVNode as v } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as i, nextTick as n, resolveComponent as a, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as s, unref as p, withCtx as c, createVNode as f, createCommentVNode as g, createTextVNode as d, toDisplayString as m, createElementBlock as v } from "vue";
2
2
  import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
- import { getVariableValue as b } from "../../../../utils/page-helper-util.js";
4
- import { handleAfterInitEvent as k, handleEvent as x } from "../../../../utils/events/event-util.js";
3
+ import { getVariableValue as k } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as x, handleEvent as b } from "../../../../utils/events/event-util.js";
5
5
  import { $t as C } from "../../../../utils/i18n-util.js";
6
- const _ = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
- const _2 = e2, h = y(_2.pageContext, _2.configure), R = _2.configure.runtime ? _2.configure.runtime : {}, j = R.style, w = R.class, I = R.headerStyle, S = t(R.props ? R.props : {});
8
- S.value;
9
- let $ = S.value.formatting;
10
- const D = _2.pageContext.entity ? _2.pageContext.entity : {}, V = l(() => {
11
- let e3 = b(D, h);
12
- return e3 = null == e3 || null == e3 ? "" : e3, $ && (e3 = $.replace(/\${value}/g, e3)), e3;
6
+ import { SuperIcon as _ } from "agilebuilder-ui";
7
+ import { analysisValue as h } from "agilebuilder-ui/src/utils/util.js";
8
+ const j = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
9
+ var _a;
10
+ const j2 = e2, R = y(j2.pageContext, j2.configure), T = j2.configure.runtime ? j2.configure.runtime : {}, w = T.style, V = T.class, I = T.headerStyle, P = t(T.props ? T.props : {});
11
+ P.value;
12
+ const S = t();
13
+ ((_a = j2.configure.props) == null ? void 0 : _a.linkPage) && (S.value = j2.configure.props.linkPage);
14
+ let $ = P.value.formatting;
15
+ const q = j2.pageContext.entity ? j2.pageContext.entity : {}, D = l(() => {
16
+ var _a2;
17
+ let e3 = k(q, R);
18
+ if (e3 = null == e3 || null == e3 ? "" : e3, $) e3 = $.replace(/\${value}/g, e3);
19
+ else if (S.value && S.value.displayTextJudge && ((_a2 = S.value.dynamicTags) == null ? void 0 : _a2.length) > 0) {
20
+ const e4 = h(S.value.dynamicTags.join("-#-#"), q.data, q.request, q.context, j2.pageContext);
21
+ if (e4) return e4;
22
+ }
23
+ return e3;
13
24
  });
14
- let W = S.value.tooltip, q = null;
15
- W && (q = l(() => {
16
- let e3 = b(D, h);
17
- return e3 = null == e3 || null == e3 ? "" : e3, W.replace(/\${value}/g, e3);
25
+ let J = P.value.tooltip, W = null;
26
+ J && (W = l(() => {
27
+ let e3 = k(q, R);
28
+ return e3 = null == e3 || null == e3 ? "" : e3, J.replace(/\${value}/g, e3);
18
29
  }));
19
30
  const z = t(null), A = t(null), B = t(null);
20
- return n(() => {
21
- a(() => {
22
- const e3 = V.value;
23
- k(e3, _2.pageContext, _2.configure, { formItemRef: z.value, componentRef: A.value, titleRef: B.value, value: e3, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
31
+ return i(() => {
32
+ n(() => {
33
+ const e3 = D.value;
34
+ x(e3, j2.pageContext, j2.configure, { formItemRef: z.value, componentRef: A.value, titleRef: B.value, value: e3, entity: j2.pageContext.entity.data, pageData: j2.pageContext.entity.page });
24
35
  });
25
36
  }), (t2, l2) => {
26
- const n2 = i("el-link"), a2 = i("el-tooltip"), y2 = i("el-form-item");
27
- return o(), u(y2, { ref_key: "formItemRef", ref: z, class: s(p(w)), "label-width": S.value.labelWidth, style: r(p(j)) }, { label: f(() => [S.value.tittleShow ? (o(), g("div", { key: 0, ref_key: "titleRef", ref: B, style: r({ ...p(I) }) }, m(p(C)(S.value.title)), 5)) : v("", true)]), default: f(() => [c(a2, { disabled: !p(q), content: p(q) }, { default: f(() => [c(n2, { ref_key: "componentRef", ref: A, disabled: "disabled" === S.value.state, type: S.value.type, underline: S.value.underline, onClick: l2[0] || (l2[0] = (t3) => p(x)(t3, e2.pageContext, e2.configure, "click", { skipValidate: true })) }, { default: f(() => [d(m(V.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
37
+ const i2 = a("el-link"), n2 = a("el-tooltip"), y2 = a("el-form-item");
38
+ return o(), u(y2, { ref_key: "formItemRef", ref: z, class: s(p(V)), "label-width": P.value.labelWidth, style: r(p(w)) }, { label: c(() => [P.value.tittleShow ? (o(), v("div", { key: 0, ref_key: "titleRef", ref: B, style: r({ ...p(I) }) }, m(p(C)(P.value.title)), 5)) : g("", true)]), default: c(() => [f(n2, { disabled: !p(W), content: p(W) }, { default: c(() => [f(i2, { ref_key: "componentRef", ref: A, disabled: "disabled" === P.value.state, type: P.value.type, underline: P.value.underline, onClick: l2[0] || (l2[0] = (t3) => p(b)(t3, e2.pageContext, e2.configure, "click", { skipValidate: true })) }, { default: c(() => [S.value ? (o(), u(p(_), { key: 0, iconType: S.value.iconType, iconValue: S.value.icon }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + m(D.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
28
39
  };
29
40
  } });
30
41
  export {
31
- _ as default
42
+ j as default
32
43
  };
@@ -1,4 +1,4 @@
1
- const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空", successfulStart: "起草成功", successfulInitiateExtract: "发起成功", successfulCancelExtract: "取消成功", taskMeaage1: "当前任务为子流程,不能进行减少办理人操作", taskMeaage2: "当前流程已结束或已取消或当前任务为并发环节,不能进行减少办理人操作", taskMeaage3: "当前任务只有一个办理人,不能再减少", taskMeaage4: "流程已结束或有并发环节,无法跳转环节", taskMeaage5: "以下任务请使用修改办理人", delTransactor: "减少办理人", handledBy: "办理人为", pleaseSelectRemoverTransactors: "请选择要减少的办理人", copySuccess: "复制成功", doingExtractFormData: "抽单办理中", nodeTrustorName: "委托人:", transactorNames: "办理人姓名", logTip: "日志提示", hasReadTip: "已读", success: "成功", fail: "失败", partSucess: "部分成功", doing: "进行中", asyncExportType: "异步导出", asyncImportType: "异步导入", startExecute: "开始执行", endExecute: "执行结束" }, chartMessage: { saveAsImage: "保存为图片", restore: "还原", dataView: "数据视图", zoomIn: "放大", zoomOut: "缩小", magicType: "动态类型切换", brush: "刷选", close: "关闭", refresh: "刷新" } };
1
+ const e = { superPageRuntimeMessage: { successfulSave: "保存成功", recordLine: "第 {row} 行记录", tableListSubTableDataVerificationFailed: "表单子表数据校验失败", formDataVerificationFailed: "表单数据校验失败", successfulOperation: "操作成功", selectTemplate: "选择模板", temlpate: "模板", operating: "操作", export: "导出", tips: "提示", sure: "确定", cancel: "取消", whetherToConfirmSubmit: "确定{name}吗?", whetherToConfirmAgree: "确定{name}吗?", whetherToConfirmDisagree: "确定{name}吗?", pleaseSelectRecord: "请选择记录", whetherToConfirmDeletion: "确定删除吗?", successfulDelete: "删除成功", noFileSelected: "请选择一个文件", asyncImport: "正在异步导入,请等待消息通知!", successfulImport: "导入成功", thePreconditionOfTheButtonTo: "该按钮前置条件为[{message}]", onlyOneRecordCanBeselected: "只能选择一条记录", selectAtLeastOneRecord: "请至少选择一条记录", requestPathEmpty: "后台请求路径为空", successfulSubmit: "提交成功", successfulCompleteTask: "任务办理成功", successfulAssign: "指派任务成功", successfulRetrieve: "取回任务成功", successfulDrawTask: "领取任务成功", successfulAbandonReceive: "放弃任务成功", successfulReturnToPreviousTask: "退回上一环节成功", successfulEndInstance: "强制结束流程成功", selectNode: "选择环节", nodeName: "环节名称", nodeId: "环节编码", pleaseSelectNode: "请选择环节", successfulReturnTaskTo: "退回成功", selectRemoveUsers: "选择减签任务", transactorName: "办理人姓名", transactor: "办理人登录名", trustorName: "委托人姓名", pleaseSelectRemoverUsers: "请选择减签用户", required: "{label}必填", formatMismatch: "{label}格式不匹配", overMaxLength: "{label}最多只能输入{value}字符", limitMinLength: "{label}至少输入{value}字符", flowNotStart: "流程未提交", pleaseInputOpinion: "请输入意见", opinion: "意见", pleaseInputRemark: "请输入备注", remark: "备注", pleaseSelectCondition: "请选择条件", pleaseInputConditionName: "请输入条件名称", conditionName: "名称", save: "保存", saveCondition: "保存条件", popMsg: "弹框参数缺少customSystem参数", noChartSetting: "未查询到图表定义", xxxNotEmpty: "{label}不能为空", successfulStart: "起草成功", successfulInitiateExtract: "发起成功", successfulCancelExtract: "取消成功", taskMeaage1: "当前任务为子流程,不能进行减少办理人操作", taskMeaage2: "当前流程已结束或已取消或当前任务为并发环节,不能进行减少办理人操作", taskMeaage3: "当前任务只有一个办理人,不能再减少", taskMeaage4: "流程已结束或有并发环节,无法跳转环节", taskMeaage5: "以下任务请使用修改办理人", delTransactor: "减少办理人", handledBy: "办理人为", pleaseSelectRemoverTransactors: "请选择要减少的办理人", copySuccess: "复制成功", doingExtractFormData: "抽单办理中", nodeTrustorName: "委托人:", transactorNames: "办理人姓名", logTip: "日志提示", hasReadTip: "已读", success: "成功", fail: "失败", partSucess: "部分成功", doing: "进行中", asyncExportType: "异步导出", asyncImportType: "异步导入", startExecute: "开始执行", endExecute: "执行结束", fileUploadUnComplete: "字段【{label}】还未上传完成附件,不能操作,请稍等", fileUploadUnCompleteTable: "表格【{tableTitle}】第{rowIndex}行记录的字段【{label}】还未上传完成附件,不能操作,请稍等" }, chartMessage: { saveAsImage: "保存为图片", restore: "还原", dataView: "数据视图", zoomIn: "放大", zoomOut: "缩小", magicType: "动态类型切换", brush: "刷选", close: "关闭", refresh: "刷新" } };
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1,4 +1,4 @@
1
- const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please Select Node", successfulReturnTaskTo: "Returned successfully", selectRemoveUsers: "Select Remove Task", transactorName: "Transactor Name", transactor: "Transactor Loginname", trustorName: "Trustor Name", pleaseSelectRemoverUsers: "Please select remove task", required: "{label} is required", formatMismatch: "{label} Format mismatch", overMaxLength: "{label} can only input a maximum of {value} characters", limitMinLength: "Enter at least {value} characters for {label}", flowNotStart: "Workflow Not Started", pleaseInputOpinion: "Please input opinion", opinion: "Opinion", pleaseInputRemark: "Please input remark", remark: "Remark", pleaseSelectCondition: "Please select condition", pleaseInputConditionName: "Please input condition name", conditionName: "Name", save: "Save", saveCondition: "Save Condition", popMsg: "Pop dialog lost the parameter of customSystem", noChartSetting: "No chart setting found", xxxNotEmpty: "{label}Not Empty", successfulStart: "Start succeeded", successfulInitiateExtract: "Initiate succeeded", successfulCancelExtract: "Cancel succeeded", taskMeaage1: "The Current Task Is A Subprocess And Cannot Reduce The Handler", taskMeaage2: "The Current Process Has Been Completed Or Cancelled, Or The Current Task Is A Concurrent Phase, So It Is Not Allowed To Reduce The Handler", taskMeaage3: "The Current Task Has Only One Handler And Cannot Be Reduced Any More", taskMeaage4: "The Process Has Been Completed Or There Are Concurrent Phases, Unable To Jump", taskMeaage5: "Please Modify The Handler For The Following Tasks", delTransactor: "Remove Transactor", handledBy: "Handled By", pleaseSelectRemoverTransactors: "Please select the remove transactor", copySuccess: "Copy successful", doingExtractFormData: "Doing draw orders", nodeTrustorName: "Trustor:", transactorNames: "Transactor Name", logTip: "Log Tip", hasReadTip: "Readed", success: "Success", fail: "Fail", partSucess: "Part Success", doing: "Running", asyncExportType: "Async Export", asyncImportType: "Async Import", startExecute: "Start Excute", endExecute: "End Excute" }, chartMessage: { saveAsImage: "Save as Image", restore: "Restore", dataView: "Data View", zoomIn: "Zoom In", zoomOut: "Zoom Out", magicType: "Magic Type", brush: "Brush" } };
1
+ const e = { superPageRuntimeMessage: { successfulSave: "Save succeeded", recordLine: "Record line {row}", tableListSubTableDataVerificationFailed: "Table List Sub Table Data Verification Failed", formDataVerificationFailed: "Form Data Verification Failed", successfulOperation: "Operation successful", selectTemplate: "Select Template", temlpate: "Template", operating: "Operate", export: "Export", tips: "Tip", sure: "Sure", cancel: "Cancel", whetherToConfirmSubmit: "Are you sure to {name}?", whetherToConfirmAgree: "Are you sure to {name}?", whetherToConfirmDisagree: "Are you sure to {name}?", pleaseSelectRecord: "Please select the record", whetherToConfirmDeletion: "Are you sure to delete?", successfulDelete: "Delete succeeded", noFileSelected: "Please select a file", asyncImport: "Asynchronous import, please wait for message notification!", successfulImport: "Import succeeded", thePreconditionOfTheButtonTo: "The Precondition Of The Button To [{message}]", onlyOneRecordCanBeselected: "Only One Record Can Be Selected", selectAtLeastOneRecord: "Please Select At Least One Record", requestPathEmpty: "Backend request path is empty", successfulSubmit: "Submit succeeded", successfulCompleteTask: "Task handled successfully", successfulAssign: "Task assigned successfully", successfulRetrieve: "Retrieve task succeeded", successfulDrawTask: "Task received successfully", successfulAbandonReceive: "The task was abandoned successfully", successfulReturnToPreviousTask: "Successfully returned to the previous phase", successfulEndInstance: "Forced to end the process successfully", selectNode: "Select Node", nodeName: "Node Name", nodeId: "Node Code", pleaseSelectNode: "Please Select Node", successfulReturnTaskTo: "Returned successfully", selectRemoveUsers: "Select Remove Task", transactorName: "Transactor Name", transactor: "Transactor Loginname", trustorName: "Trustor Name", pleaseSelectRemoverUsers: "Please select remove task", required: "{label} is required", formatMismatch: "{label} Format mismatch", overMaxLength: "{label} can only input a maximum of {value} characters", limitMinLength: "Enter at least {value} characters for {label}", flowNotStart: "Workflow Not Started", pleaseInputOpinion: "Please input opinion", opinion: "Opinion", pleaseInputRemark: "Please input remark", remark: "Remark", pleaseSelectCondition: "Please select condition", pleaseInputConditionName: "Please input condition name", conditionName: "Name", save: "Save", saveCondition: "Save Condition", popMsg: "Pop dialog lost the parameter of customSystem", noChartSetting: "No chart setting found", xxxNotEmpty: "{label}Not Empty", successfulStart: "Start succeeded", successfulInitiateExtract: "Initiate succeeded", successfulCancelExtract: "Cancel succeeded", taskMeaage1: "The Current Task Is A Subprocess And Cannot Reduce The Handler", taskMeaage2: "The Current Process Has Been Completed Or Cancelled, Or The Current Task Is A Concurrent Phase, So It Is Not Allowed To Reduce The Handler", taskMeaage3: "The Current Task Has Only One Handler And Cannot Be Reduced Any More", taskMeaage4: "The Process Has Been Completed Or There Are Concurrent Phases, Unable To Jump", taskMeaage5: "Please Modify The Handler For The Following Tasks", delTransactor: "Remove Transactor", handledBy: "Handled By", pleaseSelectRemoverTransactors: "Please select the remove transactor", copySuccess: "Copy successful", doingExtractFormData: "Doing draw orders", nodeTrustorName: "Trustor:", transactorNames: "Transactor Name", logTip: "Log Tip", hasReadTip: "Readed", success: "Success", fail: "Fail", partSucess: "Part Success", doing: "Running", asyncExportType: "Async Export", asyncImportType: "Async Import", startExecute: "Start Excute", endExecute: "End Excute", fileUploadUnComplete: "The attachment for field [{label}] has not been fully uploaded yet. Please wait before proceeding", fileUploadUnCompleteTable: "The field [{label}] in the record of row [{rowIndex}] in the table [{tableTitle}] has not completed the attachment upload, so no operations can be performed. Please wait a moment" }, chartMessage: { saveAsImage: "Save as Image", restore: "Restore", dataView: "Data View", zoomIn: "Zoom In", zoomOut: "Zoom Out", magicType: "Magic Type", brush: "Brush" } };
2
2
  export {
3
3
  e as default
4
4
  };
package/dist/es/style.css CHANGED
@@ -436,10 +436,10 @@
436
436
  }
437
437
  .yx-affix .yx-affix-content.is-fixed.is-bottom[data-v-a994b02d] {
438
438
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
439
- }.yx-card-box-view-main[data-v-4e203ead] > .el-card__header {
439
+ }.yx-card-box-view-main[data-v-3cee8aad] > .el-card__header {
440
440
  position: relative;
441
441
  }
442
- .yx-card-box-view-main .yx-card-box-view-header[data-v-4e203ead] {
442
+ .yx-card-box-view-main .yx-card-box-view-header[data-v-3cee8aad] {
443
443
  display: flex;
444
444
  flex-direction: row;
445
445
  justify-content: space-between;
@@ -447,12 +447,12 @@
447
447
  gap: 15px;
448
448
  flex: 1 1 auto;
449
449
  }
450
- .yx-card-box-view-main .yx-card-box-view-title[data-v-4e203ead] {
450
+ .yx-card-box-view-main .yx-card-box-view-title[data-v-3cee8aad] {
451
451
  position: relative;
452
452
  z-index: 2;
453
453
  flex: 1 1 auto;
454
454
  }
455
- .yx-card-box-view-main .yx-card-box-view-title[data-v-4e203ead]::after {
455
+ .yx-card-box-view-main .yx-card-box-view-title[data-v-3cee8aad]::after {
456
456
  content: " ";
457
457
  position: absolute;
458
458
  left: 0;
@@ -461,46 +461,47 @@
461
461
  right: 0;
462
462
  z-index: 0;
463
463
  }
464
- .yx-card-box-view-main[data-collapse=false][data-v-4e203ead] > .el-card__body {
464
+ .yx-card-box-view-main[data-collapse=false][data-v-3cee8aad] > .el-card__body {
465
465
  display: none;
466
466
  }
467
- .yx-card-box-view-main[data-v-4e203ead] {
467
+ .yx-card-box-view-main[data-v-3cee8aad] {
468
468
  display: flex;
469
469
  flex-direction: column;
470
470
  }
471
- .yx-card-box-view-main[data-v-4e203ead] > .el-card__body {
471
+ .yx-card-box-view-main[data-v-3cee8aad] > .el-card__body {
472
472
  flex: 1;
473
473
  overflow: hidden;
474
474
  display: flex;
475
475
  flex-direction: column;
476
476
  }
477
- .yx-card-box-view-context[data-v-4e203ead] {
477
+ .yx-card-box-view-context[data-v-3cee8aad] {
478
478
  flex: 1;
479
479
  overflow: auto;
480
+ padding-bottom: 5px;
480
481
  }
481
- .yx-card-box-view-context[data-v-4e203ead] {
482
+ .yx-card-box-view-context[data-v-3cee8aad] {
482
483
  gap: var(--layout-form-flex-gap, 15px);
483
484
  }
484
- .yx-card-box-view-context[data-v-4e203ead] > div {
485
+ .yx-card-box-view-context[data-v-3cee8aad] > div {
485
486
  width: 100%;
486
487
  }
487
- .yx-card-box-view-context[data-v-4e203ead] > div[style*="display: inline-block"] {
488
+ .yx-card-box-view-context[data-v-3cee8aad] > div[style*="display: inline-block"] {
488
489
  width: auto;
489
490
  }
490
- .yx-card-box-view-context[data-v-4e203ead] > .el-form-item {
491
+ .yx-card-box-view-context[data-v-3cee8aad] > .el-form-item {
491
492
  margin: 0;
492
493
  }
493
- .yx-card-box-view-context[data-v-4e203ead] > .el-form-item[class*=el-col-8] {
494
+ .yx-card-box-view-context[data-v-3cee8aad] > .el-form-item[class*=el-col-8] {
494
495
  flex: 0 0 calc((100% - var(--layout-form-flex-gap, 15px) * 2) / 3);
495
496
  }
496
497
  @media (max-width: 768px) {
497
- .yx-card-box-view-context[data-v-4e203ead] > .el-form-item[class*=el-col-8] {
498
+ .yx-card-box-view-context[data-v-3cee8aad] > .el-form-item[class*=el-col-8] {
498
499
  max-width: none;
499
500
  flex: 0 0 calc((100% - var(--layout-form-flex-gap, 15px) * 1) / 2);
500
501
  }
501
502
  }
502
503
  @media (max-width: 600px) {
503
- .yx-card-box-view-context[data-v-4e203ead] > .el-form-item[class*=el-col-8] {
504
+ .yx-card-box-view-context[data-v-3cee8aad] > .el-form-item[class*=el-col-8] {
504
505
  width: 100%;
505
506
  max-width: none;
506
507
  flex: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.3.34",
3
+ "version": "2.3.35",
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.89",
52
+ "agilebuilder-ui": "1.1.91",
53
53
  "axios": "^1.6.8",
54
54
  "cypress": "^13.6.6",
55
55
  "element-plus": "^2.6.1",