super-page-runtime 2.3.12-sit2 → 2.3.13-sit1

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,54 +1,55 @@
1
- import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as i, watch as n, resolveComponent as p, createBlock as a, openBlock as u, normalizeStyle as r, normalizeClass as s, unref as d, withCtx as f, createVNode as c, createElementBlock as m, createCommentVNode as g, Fragment as v, createTextVNode as y, toDisplayString as x } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as n, watch as i, resolveComponent as p, createBlock as a, openBlock as u, normalizeStyle as r, normalizeClass as s, unref as d, withCtx as f, createVNode as m, createElementBlock as c, createCommentVNode as g, Fragment as v, createTextVNode as y, toDisplayString as x } from "vue";
2
2
  import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
- import { handleAfterInitEvent as S, handleFormEvent as h } from "../../../../utils/events/event-util.js";
3
+ import { handleAfterInitEvent as h, handleFormEvent as S } from "../../../../utils/events/event-util.js";
4
4
  import F from "../common/title-suffix-element.vue.js";
5
5
  import { $t as b } from "../../../../utils/i18n-util.js";
6
- import { setVariableValue as k, getVariableValue as R, getValueFromVariable as j } from "../../../../utils/page-helper-util.js";
7
- import { addRequiredClassUtil as _ } from "../../../../utils/common-util.js";
8
- const I = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: I2 }) {
9
- const T = e2, q = t(null), w = t([]), z = T.pageContext.entity ? T.pageContext.entity : {};
10
- z.data || (z.data = {});
11
- const M = z.data, O = z.page;
12
- let $ = C(T.pageContext, T.configure);
13
- const D = $.length > 0 ? $[$.length - 1] : T.configure.uuid, E = T.configure.runtime ? T.configure.runtime : {}, V = t(E.props ? E.props : {}), W = E.style, A = E.class, B = E.headerStyle, G = E.titleExceedStyle;
14
- E.props.deptScope && ("field" == E.props.deptScope && E.props.deptScopeField ? (U(), function(e3, t2) {
6
+ import { setVariableValue as k, getVariableValue as R, getFormPropName as j, getValueFromVariable as _ } from "../../../../utils/page-helper-util.js";
7
+ import { addRequiredClassUtil as I } from "../../../../utils/common-util.js";
8
+ const T = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: T2 }) {
9
+ const q = e2, w = t(null), z = t([]), M = q.pageContext.entity ? q.pageContext.entity : {};
10
+ M.data || (M.data = {});
11
+ const O = M.data, $ = M.page;
12
+ let D = C(q.pageContext, q.configure);
13
+ const E = D.length > 0 ? D[D.length - 1] : q.configure.uuid, V = q.configure.runtime ? q.configure.runtime : {}, W = t(V.props ? V.props : {}), A = V.style, B = V.class, G = V.headerStyle, H = V.titleExceedStyle;
14
+ V.props.deptScope && ("field" == V.props.deptScope && V.props.deptScopeField ? (Y(), function(e3, t2) {
15
15
  if (0 === e3.indexOf("${fixed.")) return;
16
16
  const l2 = e3.match(/\${(.*?)}/);
17
17
  if (!l2) return;
18
18
  const o2 = l2 ? l2[1].split(".") : [];
19
- o2 && o2.length > 0 && n(() => o2.reduce((e4, t3) => e4[t3], T.pageContext.entity), (e4, l3) => {
19
+ o2 && o2.length > 0 && i(() => o2.reduce((e4, t3) => e4[t3], q.pageContext.entity), (e4, l3) => {
20
20
  t2(e4, l3);
21
21
  });
22
- }(E.props.deptScopeField, (e3, t2) => {
23
- U();
24
- })) : "depts" == E.props.deptScope && E.props.deptScopeCodes && (w.value = E.props.deptScopeCodes.split(",")));
25
- const H = t(null), J = t(null), K = t(null);
22
+ }(V.props.deptScopeField, (e3, t2) => {
23
+ Y();
24
+ })) : "depts" == V.props.deptScope && V.props.deptScopeCodes && (z.value = V.props.deptScopeCodes.split(",")));
25
+ const J = t(null), K = t(null), L = t(null);
26
26
  l(() => {
27
27
  o(() => {
28
- const e3 = M ? M[D] : null;
29
- S(e3, T.pageContext, T.configure, { formItemRef: H.value, componentRef: J.value, titleRef: K.value, value: e3, entity: T.pageContext.entity.data, pageData: T.pageContext.entity.page });
28
+ const e3 = O ? O[E] : null;
29
+ h(e3, q.pageContext, q.configure, { formItemRef: J.value, componentRef: K.value, titleRef: L.value, value: e3, entity: q.pageContext.entity.data, pageData: q.pageContext.entity.page });
30
30
  });
31
31
  });
32
- const L = i({ get: () => R(z, $), set(e3) {
33
- k(z, $, e3), null != e3 && (q.value = "");
34
- } }), N = V.value.autoSetFields ? V.value.autoSetFields : [];
35
- function P(e3, t2) {
36
- e3 === D && h(t2, T.pageContext, T.configure, "change");
32
+ const N = n({ get: () => R(M, D), set(e3) {
33
+ k(M, D, e3), null != e3 && (w.value = "");
34
+ } }), P = W.value.autoSetFields ? W.value.autoSetFields : [];
35
+ let Q = null;
36
+ function U(e3, t2) {
37
+ (Q && Q === e3 || e3 === E) && S(t2, q.pageContext, q.configure, "change");
37
38
  }
38
- function Q() {
39
- h(null, T.pageContext, T.configure, "click");
39
+ function X() {
40
+ S(null, q.pageContext, q.configure, "click");
40
41
  }
41
- function U() {
42
- const e3 = j(T.pageContext.entity, E.props.deptScopeField);
43
- w.value = e3 ? e3.split(",") : [];
42
+ function Y() {
43
+ const e3 = _(q.pageContext.entity, V.props.deptScopeField);
44
+ z.value = e3 ? e3.split(",") : [];
44
45
  }
45
- return I2({ addRequiredClass: function() {
46
- q.value = _();
46
+ return P.length - 1 > 0 && P[P.length - 1] && P[P.length - 1].model && (Q = j(P[P.length - 1].model)), T2({ addRequiredClass: function() {
47
+ w.value = I();
47
48
  } }), (e3, t2) => {
48
49
  const l2 = p("OrganizationInput"), o2 = p("el-form-item");
49
- return u(), a(o2, { ref_key: "formItemRef", ref: H, required: V.value.required, class: s(d(A) + (q.value ? " " + q.value : "")), "label-width": V.value.labelWidth, style: r(d(W)) }, { label: f(() => [V.value.tittleShow ? (u(), m("div", { key: 0, ref_key: "titleRef", ref: K, style: r({ ...d(B), ...d(G) }) }, [V.value.prefixType ? (u(), a(F, { key: 0, pageContext: e3.pageContext, property: V.value }, null, 8, ["pageContext", "property"])) : (u(), m(v, { key: 1 }, [y(x(d(b)(V.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [c(l2, { ref_key: "componentRef", ref: J, disabled: "disabled" == V.value.state, multiple: V.value.multiple, treeType: V.value.treeType, value: L.value, models: d(M), departmentInfo: w.value, limitFilterColumn: V.value.limitFilterColumn, pageModels: d(O), fields: d(N), size: V.value.size, separator: V.value.separator, onSetValue: P, onShowTree: Q }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
50
+ return u(), a(o2, { ref_key: "formItemRef", ref: J, required: W.value.required, class: s(d(B) + (w.value ? " " + w.value : "")), "label-width": W.value.labelWidth, style: r(d(A)) }, { label: f(() => [W.value.tittleShow ? (u(), c("div", { key: 0, ref_key: "titleRef", ref: L, style: r({ ...d(G), ...d(H) }) }, [W.value.prefixType ? (u(), a(F, { key: 0, pageContext: e3.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (u(), c(v, { key: 1 }, [y(x(d(b)(W.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [m(l2, { ref_key: "componentRef", ref: K, disabled: "disabled" == W.value.state, multiple: W.value.multiple, treeType: W.value.treeType, value: N.value, models: d(O), departmentInfo: z.value, limitFilterColumn: W.value.limitFilterColumn, pageModels: d($), fields: d(P), size: W.value.size, separator: W.value.separator, onSetValue: U, onShowTree: X }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
50
51
  };
51
52
  } });
52
53
  export {
53
- I as default
54
+ T as default
54
55
  };
@@ -6,69 +6,70 @@ import { FsUploadNew as b } from "agilebuilder-ui";
6
6
  import k from "../../../../utils/eventBus.js";
7
7
  import { $t as x } from "../../../../utils/i18n-util.js";
8
8
  import { addRequiredClassUtil as P } from "../../../../utils/common-util.js";
9
- const _ = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
9
+ import { getRelativeBaseUrl as _ } from "agilebuilder-ui/src/utils/common-util";
10
+ const j = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: j2 }) {
10
11
  var _a, _b, _c, _d, _e, _f, _g;
11
- const j = e2, N = l(null), S = j.configure.runtime ? j.configure.runtime : {}, R = l(S.props ? S.props : {}), T = S.style, z = S.class, D = S.headerStyle, I = S.titleExceedStyle, O = j.pageContext.entity ? j.pageContext.entity : {}, q = j.configure.props.base ? j.configure.props.base : {}, F = L(q.prop), W = L(q.propName);
12
- let U = l({});
13
- U.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) + "", U.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 : "", F && F.length > 1 && t(() => j.pageContext.entity[F[0]][F[1]], (e3) => {
14
- K(h(O, F));
12
+ const N = e2, S = l(null), R = N.configure.runtime ? N.configure.runtime : {}, T = l(R.props ? R.props : {}), z = R.style, D = R.class, I = R.headerStyle, O = R.titleExceedStyle, q = N.pageContext.entity ? N.pageContext.entity : {}, F = N.configure.props.base ? N.configure.props.base : {}, W = M(F.prop), U = M(F.propName);
13
+ let $ = l({});
14
+ $.value.isShowWatermark = void 0 === ((_b = (_a = N.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = N.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", $.value.content = ((_e = (_d = N.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content) ? (_g = (_f = N.configure.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content : "", W && W.length > 1 && t(() => N.pageContext.entity[W[0]][W[1]], (e3) => {
15
+ L(h(q, W));
15
16
  });
16
- const $ = j.pageContext.code, B = l(F ? $ + "__" + F.join("__") : null), E = h(O, F), A = l(null), G = l(false), H = l([]), J = l({});
17
- function K(e3) {
17
+ const B = N.pageContext.code, E = l(W ? B + "__" + W.join("__") : null), A = h(q, W), G = l(null), H = l(false), J = l([]), K = l({});
18
+ function L(e3) {
18
19
  if (e3) {
19
20
  const l2 = e3.split(",");
20
21
  if (l2.length > 0) {
21
- const e4 = j.pageContext.backendUrl;
22
- w.post(e4 + "/common/fs-upload/search-file-names", l2).then((e5) => {
23
- H.value = [];
24
- const t2 = [];
22
+ const e4 = N.pageContext.backendUrl, t2 = _(e4 + "/common/fs-upload/search-file-names");
23
+ w.post(t2, l2).then((e5) => {
24
+ J.value = [];
25
+ const t3 = [];
25
26
  for (let a2 = 0; a2 < l2.length; a2++) {
26
27
  const o2 = l2[a2];
27
- t2.push(e5[o2]), H.value.push({ showName: e5[o2], serverPath: o2 });
28
+ t3.push(e5[o2]), J.value.push({ showName: e5[o2], serverPath: o2 });
28
29
  }
29
- "input" === R.value.displayType && (J.value.showName = t2.join(","), J.value.serverPath = l2.join(","));
30
+ "input" === T.value.displayType && (K.value.showName = t3.join(","), K.value.serverPath = l2.join(","));
30
31
  }).finally(() => {
31
- G.value = true;
32
+ H.value = true;
32
33
  });
33
- } else G.value = true;
34
- } else H.value = [], J.value = {}, G.value = true;
34
+ } else H.value = true;
35
+ } else J.value = [], K.value = {}, H.value = true;
35
36
  }
36
- function L(e3) {
37
+ function M(e3) {
37
38
  return e3 ? (e3.startsWith("${") && (e3 = e3.substring(2, e3.length - 1)), e3.split(".")) : [];
38
39
  }
39
- function M(e3) {
40
+ function Q(e3) {
40
41
  return C(e3);
41
42
  }
42
- K(E);
43
- const Q = (e3, l2, t2) => {
44
- X();
45
- }, V = (e3) => {
46
- X();
47
- }, X = () => {
43
+ L(A);
44
+ const V = (e3, l2, t2) => {
45
+ Y();
46
+ }, X = (e3) => {
47
+ Y();
48
+ }, Y = () => {
48
49
  const e3 = [], l2 = [];
49
- if (R.value.limit && H.value.length > R.value.limit) {
50
- const e4 = H.value.length - R.value.limit;
51
- for (let l3 = 0; l3 < e4; l3++) H.value.shift();
50
+ if (T.value.limit && J.value.length > T.value.limit) {
51
+ const e4 = J.value.length - T.value.limit;
52
+ for (let l3 = 0; l3 < e4; l3++) J.value.shift();
52
53
  }
53
- for (let t2 = 0; t2 < H.value.length; t2++) e3.push(H.value[t2].showName), l2.push(H.value[t2].serverPath);
54
- y(j.pageContext.entity, F, l2.join(",")), y(j.pageContext.entity, W, e3.join(",")), l2.length > 0 && (N.value = "");
55
- }, Y = l(null), Z = l(null);
54
+ for (let t2 = 0; t2 < J.value.length; t2++) e3.push(J.value[t2].showName), l2.push(J.value[t2].serverPath);
55
+ y(N.pageContext.entity, W, l2.join(",")), y(N.pageContext.entity, U, e3.join(",")), l2.length > 0 && (S.value = "");
56
+ }, Z = l(null), ee = l(null);
56
57
  return a(() => {
57
- k.$on(B.value + "-pickFileDone", (e3) => {
58
- A.value.pickFileDone(e3);
58
+ k.$on(E.value + "-pickFileDone", (e3) => {
59
+ G.value.pickFileDone(e3);
59
60
  }), o(() => {
60
- const e3 = h(O, F), l2 = { showName: h(O, W), serverPath: e3 };
61
- g(l2, j.pageContext, j.configure, { formItemRef: Y.value, componentRef: A.value, titleRef: Z.value, value: l2, entity: j.pageContext.entity.data, pageData: j.pageContext.entity.page });
61
+ const e3 = h(q, W), l2 = { showName: h(q, U), serverPath: e3 };
62
+ g(l2, N.pageContext, N.configure, { formItemRef: Z.value, componentRef: G.value, titleRef: ee.value, value: l2, entity: N.pageContext.entity.data, pageData: N.pageContext.entity.page });
62
63
  });
63
64
  }), i(() => {
64
- k.$off(B.value + "-pickFileDone");
65
- }), _2({ addRequiredClass: function() {
66
- N.value = P();
65
+ k.$off(E.value + "-pickFileDone");
66
+ }), j2({ addRequiredClass: function() {
67
+ S.value = P();
67
68
  } }), (e3, l2) => {
68
69
  const t2 = n("el-form-item");
69
- return R.value.tittleShow ? (u(), s(t2, { key: 0, ref_key: "formItemRef", ref: Y, required: R.value.required, class: d(m(z) + (N.value ? " " + N.value : "")), "label-width": R.value.labelWidth, style: p(m(T)) }, { label: v(() => [R.value.tittleShow ? (u(), f("div", { key: 0, ref_key: "titleRef", ref: Z, style: p({ ...m(D), ...m(I) }) }, c(m(x)(R.value.title)), 5)) : r("", true)]), default: v(() => [G.value ? (u(), s(m(b), { key: 0, ref_key: "fileUploadRef", ref: A, style: { width: "100%" }, disabled: "disabled" === R.value.state, displayType: R.value.displayType, accept: R.value.accept, multiple: R.value.multiple, placeholder: R.value.placeholder, limit: R.value.limit, "limit-file-size": R.value.limitFileSize, "disabled-no-preview": R.value.disabledNoPreview, "disabled-no-download": R.value.disabledNoDownload, openCameraOrChoosePhoto: R.value.openCameraOrChoosePhoto, "file-info": J.value, "file-list": H.value, "system-code": e3.pageContext.systemCode, componentId: B.value, watermark: m(U), "on-success": Q, "on-remove": V, "before-upload": M, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : r("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : G.value ? (u(), s(m(b), { key: 1, ref_key: "fileUploadRef", ref: A, style: { width: "100%" }, disabled: "disabled" === R.value.state, displayType: R.value.displayType, accept: R.value.accept, multiple: R.value.multiple, placeholder: R.value.placeholder, limit: R.value.limit, "limit-file-size": R.value.limitFileSize, "disabled-no-preview": R.value.disabledNoPreview, "disabled-no-download": R.value.disabledNoDownload, openCameraOrChoosePhoto: R.value.openCameraOrChoosePhoto, "file-info": J.value, "file-list": H.value, "system-code": e3.pageContext.systemCode, componentId: B.value, watermark: m(U), "on-success": Q, "on-remove": V, "before-upload": M, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : r("", true);
70
+ return T.value.tittleShow ? (u(), s(t2, { key: 0, ref_key: "formItemRef", ref: Z, required: T.value.required, class: d(m(D) + (S.value ? " " + S.value : "")), "label-width": T.value.labelWidth, style: p(m(z)) }, { label: v(() => [T.value.tittleShow ? (u(), f("div", { key: 0, ref_key: "titleRef", ref: ee, style: p({ ...m(I), ...m(O) }) }, c(m(x)(T.value.title)), 5)) : r("", true)]), default: v(() => [H.value ? (u(), s(m(b), { key: 0, ref_key: "fileUploadRef", ref: G, style: { width: "100%" }, disabled: "disabled" === T.value.state, displayType: T.value.displayType, accept: T.value.accept, multiple: T.value.multiple, placeholder: T.value.placeholder, limit: T.value.limit, "limit-file-size": T.value.limitFileSize, "disabled-no-preview": T.value.disabledNoPreview, "disabled-no-download": T.value.disabledNoDownload, openCameraOrChoosePhoto: T.value.openCameraOrChoosePhoto, "file-info": K.value, "file-list": J.value, "system-code": e3.pageContext.systemCode, componentId: E.value, watermark: m($), "on-success": V, "on-remove": X, "before-upload": Q, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : r("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : H.value ? (u(), s(m(b), { key: 1, ref_key: "fileUploadRef", ref: G, style: { width: "100%" }, disabled: "disabled" === T.value.state, displayType: T.value.displayType, accept: T.value.accept, multiple: T.value.multiple, placeholder: T.value.placeholder, limit: T.value.limit, "limit-file-size": T.value.limitFileSize, "disabled-no-preview": T.value.disabledNoPreview, "disabled-no-download": T.value.disabledNoDownload, openCameraOrChoosePhoto: T.value.openCameraOrChoosePhoto, "file-info": K.value, "file-list": J.value, "system-code": e3.pageContext.systemCode, componentId: E.value, watermark: m($), "on-success": V, "on-remove": X, "before-upload": Q, pageContext: e3.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : r("", true);
70
71
  };
71
72
  } });
72
73
  export {
73
- _ as default
74
+ j as default
74
75
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./workflowbutton-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = t(o, [["__scopeId", "data-v-8a8cf88f"]]);
4
+ const r = t(o, [["__scopeId", "data-v-4306a446"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -14,7 +14,7 @@ const l = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" },
14
14
  if (t3.isStandard) return t3.event.eventName;
15
15
  }
16
16
  }(e4.runtime && e4.runtime.events ? e4.runtime.events : []);
17
- return c(t2, g, v);
17
+ return c(t2, g, v, e4);
18
18
  })(e3) && x.value.push(e3);
19
19
  }), (e3, t2) => (o(), n("span", l, [(o(true), n(r, null, u(x.value, (t3, u2) => (o(), n(r, null, [t3.check ? (o(), i(a, { key: u2, pageContext: e3.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"])) : s("", true)], 64))), 256))]));
20
20
  } });
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as e, ref as a, resolveComponent as l, createBlock as u, openBlock as t, withCtx as n, createElementBlock as o, createCommentVNode as r } from "vue";
2
2
  import i from "./super-page.vue.js";
3
3
  const s = ["src"], d = { key: 1, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, g = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: g2 }) {
4
- const p = e2, v = g2, m = a(true), c = p.jumpPageSetting ? p.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), w = a(null), C = a(null), j = a(null), b = a({}), y = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), V = a(null), x = a(true), S = a(false);
4
+ const p = e2, v = g2, m = a(true), c = p.jumpPageSetting ? p.jumpPageSetting : null, P = a(null), f = a(null), h = a(null), w = a(null), C = a(null), j = a(null), b = a({}), y = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), x = a(null), V = a(true), S = a(false);
5
5
  if (c) {
6
- x.value = (c == null ? void 0 : c.alignCenter) ?? true, S.value = (c == null ? void 0 : c.fullscreen) ?? false, _.value = !(!c || void 0 === c._isIframe) && c._isIframe, V.value = c && c._path ? c._path : null, j.value = c && c.dialogType ? c.dialogType : "dialog", y.value = !(!c || !c.draggable) && c.draggable, k.value = !(!c || !c.overflow) && c.overflow, O.value = c && c.showPosition ? c.showPosition : "rtl", f.value = c && c.jumpPageTitle ? c.jumpPageTitle : null, P.value = c && c.jumpPageWidth ? c.jumpPageWidth : "dialog" === j.value ? "calc(100% - 30px)" : "100%", I.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, w.value = c && c.dataId ? c.dataId : null, C.value = c && c.taskId ? c.taskId : null;
6
+ V.value = (c == null ? void 0 : c.alignCenter) ?? true, S.value = (c == null ? void 0 : c.fullscreen) ?? false, _.value = !(!c || void 0 === c._isIframe) && c._isIframe, x.value = c && c._path ? c._path : null, j.value = c && c.dialogType ? c.dialogType : "dialog", y.value = !(!c || !c.draggable) && c.draggable, k.value = !(!c || !c.overflow) && c.overflow, O.value = c && c.showPosition ? c.showPosition : "rtl", f.value = c && c.jumpPageTitle ? c.jumpPageTitle : null, P.value = c && c.jumpPageWidth ? c.jumpPageWidth : "dialog" === j.value ? "calc(100% - 30px)" : "100%", I.value = c && c.jumpPageHeight ? c.jumpPageHeight : null, h.value = c && c.pageCode, w.value = c && c.dataId ? c.dataId : null, C.value = c && c.taskId ? c.taskId : null;
7
7
  const e3 = !!c.isNeedId;
8
8
  if (p.parentPageEventParams) {
9
9
  try {
@@ -17,7 +17,7 @@ const s = ["src"], d = { key: 1, class: "amb-super-page-runtime-dialog-iframe",
17
17
  }
18
18
  return (e3, a2) => {
19
19
  const g3 = l("el-drawer"), p2 = l("el-dialog");
20
- return j.value && "drawer" === j.value ? (t(), u(g3, { key: 0, modelValue: m.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => m.value = e4), title: f.value, direction: O.value, size: P.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => v("open")), onOpened: a2[2] || (a2[2] = (e4) => v("opened")), onClose: a2[3] || (a2[3] = (e4) => v("close")), onClosed: a2[4] || (a2[4] = (e4) => v("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, pageCode: h.value, pageRequest: b.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (t(), o("iframe", { key: 1, src: V.value, class: "amb-super-page-runtime-drawer-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, s)) : r("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (t(), u(p2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, fullscreen: S.value, alignCenter: x.value, draggable: y.value, overflow: k.value, class: "amb-super-page-runtime-dialog-view", onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => v("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, pageCode: h.value, pageRequest: b.value, contentHeight: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (t(), o("iframe", d)) : r("", true)]), _: 1 }, 8, ["title", "width", "fullscreen", "alignCenter", "draggable", "overflow"]));
20
+ return j.value && "drawer" === j.value ? (t(), u(g3, { key: 0, modelValue: m.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => m.value = e4), title: f.value, direction: O.value, size: P.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => v("open")), onOpened: a2[2] || (a2[2] = (e4) => v("opened")), onClose: a2[3] || (a2[3] = (e4) => v("close")), onClosed: a2[4] || (a2[4] = (e4) => v("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, pageCode: h.value, pageRequest: b.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (t(), o("iframe", { key: 1, src: x.value, class: "amb-super-page-runtime-drawer-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, s)) : r("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (t(), u(p2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, fullscreen: S.value, alignCenter: V.value, draggable: y.value, overflow: k.value, class: "amb-super-page-runtime-dialog-view", onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => v("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: n(() => [!_.value && h.value ? (t(), u(i, { key: 0, style: { "min-height": "100px" }, pageCode: h.value, pageRequest: b.value, contentHeight: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (t(), o("iframe", d)) : r("", true)]), _: 1 }, 8, ["title", "width", "fullscreen", "alignCenter", "draggable", "overflow"]));
21
21
  };
22
22
  } });
23
23
  export {
@@ -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-5ed222b6"]]);
4
+ const r = p(e, [["__scopeId", "data-v-8e808d13"]]);
5
5
  export {
6
6
  r as default
7
7
  };