super-page-runtime 2.3.47-sit1 → 2.3.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/runtime/utils/api/page-expose-util.js +136 -136
- package/dist/es/components/runtime/utils/events/event-util.js +121 -121
- package/dist/es/components/runtime/utils/events/print-label.js +34 -33
- package/dist/es/components/runtime/utils/events/standard-event.js +22 -22
- package/dist/es/components/runtime/utils/events/validator-util.js +209 -206
- package/dist/es/components/runtime/utils/page-init-util.js +47 -45
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +8 -8
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +104 -99
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +42 -42
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +11 -9
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +94 -93
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +26 -26
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +8 -6
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +6 -5
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +43 -42
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +9 -7
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +124 -124
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +9 -8
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +11 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +35 -34
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +19 -18
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +27 -27
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +18 -16
- package/dist/es/components/runtime/views/super-page.vue2.js +99 -98
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +85 -85
- package/package.json +2 -2
|
@@ -6,9 +6,9 @@ import { addComponentRef as x, addComponentRefByCode as y } from "../../utils/gl
|
|
|
6
6
|
import { getPermissionCodes as w, packageFormRules as j, getModelFields as N, controlObjectRenderState as M } from "../../utils/page-init-util.js";
|
|
7
7
|
import { caculateShowCondition as V, getFormPropName as _, getSizeConfig as A } from "../../utils/page-helper-util.js";
|
|
8
8
|
import { isWorkflowPage as S, getPropClassName as T, isNumber as $ } from "../../utils/common-util.js";
|
|
9
|
-
import { isShowMobileEvent as
|
|
10
|
-
import { usePageContextStore as
|
|
11
|
-
import { isHasFieldAuth as
|
|
9
|
+
import { isShowMobileEvent as H, isShowComponent as O } from "../../utils/events/event-util.js";
|
|
10
|
+
import { usePageContextStore as P } from "../../utils/page-store.js";
|
|
11
|
+
import { isHasFieldAuth as B } from "../../utils/table-utils.js";
|
|
12
12
|
import { checkPermission as R } from "agilebuilder-ui/src/utils/permission.js";
|
|
13
13
|
import { isMobileBrowser as F } from "agilebuilder-ui/src/utils/common-util";
|
|
14
14
|
const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
@@ -17,7 +17,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
17
17
|
null == L2.configure.style && (L2.configure.style = {});
|
|
18
18
|
let k = null, D = w(L2.configure, L2.pageContext);
|
|
19
19
|
L2.configure && L2.configure.props && L2.configure.props.base && (L2.configure.props.base.functionCode = D);
|
|
20
|
-
const E = R(D || "true", L2.pageContext.systemCode), J =
|
|
20
|
+
const E = R(D || "true", L2.pageContext.systemCode), J = B(L2.pageContext, L2.configure), W = E && J;
|
|
21
21
|
L2.configure && L2.configure.props && L2.configure.props.base && (L2.configure.props.base.isHasFieldAuthPermission = W), j(L2.pageContext, L2.configure, W);
|
|
22
22
|
let q = o(null), z = o(true), G = o("");
|
|
23
23
|
if (L2.configure && L2.configure.props) {
|
|
@@ -26,7 +26,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
26
26
|
var _a2;
|
|
27
27
|
let o2 = true;
|
|
28
28
|
if (W) if (q.value && null !== q.value) o2 = "show" === q.value;
|
|
29
|
-
else if (
|
|
29
|
+
else if (H(L2.pageContext, L2.configure)) if (e3 && e3.length > 0) o2 = V(L2.pageContext, e3);
|
|
30
30
|
else {
|
|
31
31
|
const e4 = (_a2 = L2.configure.props.base) == null ? void 0 : _a2.state;
|
|
32
32
|
e4 && "hidden" === e4 && (o2 = false);
|
|
@@ -80,7 +80,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
80
80
|
const t2 = Z.style[e3 + "_class"];
|
|
81
81
|
t2 && (X.value += " " + t2);
|
|
82
82
|
}
|
|
83
|
-
const ee =
|
|
83
|
+
const ee = P();
|
|
84
84
|
let oe = false;
|
|
85
85
|
function te(e3) {
|
|
86
86
|
var _a2, _b2, _c2;
|
|
@@ -131,7 +131,9 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
131
131
|
const o2 = e3.parentNode;
|
|
132
132
|
if (!e3 || !o2) return;
|
|
133
133
|
const t2 = e3.getBoundingClientRect();
|
|
134
|
-
let n2 = window.innerHeight - t2.y - 30
|
|
134
|
+
let n2 = window.innerHeight - t2.y - 30;
|
|
135
|
+
window.innerHeight, t2.y;
|
|
136
|
+
let i2 = n2 + "";
|
|
135
137
|
if ("tabs" === L2.configure.name && L2.pageContext.isDialog && !F()) {
|
|
136
138
|
const o3 = e3.closest(".runtime-page-container");
|
|
137
139
|
if (o3) {
|
|
@@ -142,7 +144,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
142
144
|
U.value.height = i2, U.value["overflow-y"] = "auto", U.value["overflow-x"] = "hidden", L2.configure.sytle || (L2.configure.sytle = {}), L2.configure.sytle._heightStyle = i2;
|
|
143
145
|
}
|
|
144
146
|
r(() => {
|
|
145
|
-
W &&
|
|
147
|
+
W && O(L2.configure) || ee.countComponentsLoadedNumber();
|
|
146
148
|
}), s(() => {
|
|
147
149
|
var _a2;
|
|
148
150
|
re && clearTimeout(re), k && ((_a2 = L2.pageContext.hiddenNotValidatorCodes) == null ? void 0 : _a2.delete(k));
|
|
@@ -157,7 +159,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
157
159
|
const t2 = L2.configure.props ? L2.configure.props : {}, n2 = L2.configure.style ? L2.configure.style : {}, i2 = t2.position;
|
|
158
160
|
"top" == i2 || "bottom" == i2 || n2.position;
|
|
159
161
|
};
|
|
160
|
-
return (
|
|
162
|
+
return (o2, t2) => a(W) && a(O)(e2.configure) ? u((g(), p(c(I.value), { key: 0, ref: te, style: d(U.value), class: f(X.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, a(z)]]) : l("", true);
|
|
161
163
|
} });
|
|
162
164
|
export {
|
|
163
165
|
L as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as o, createBlock as e, createCommentVNode as t, openBlock as n } from "vue";
|
|
2
2
|
import p from "./workflow/component/workflow-opinion-box.vue.js";
|
|
3
|
-
const a = o({ __name: "page-bottom", props: { pageContext: {} }, setup: (o2) => (
|
|
3
|
+
const a = o({ __name: "page-bottom", props: { pageContext: {} }, setup: (o2) => (a2, r) => {
|
|
4
4
|
var _a;
|
|
5
|
-
return ((_a =
|
|
5
|
+
return ((_a = o2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (n(), e(p, { key: 0, pageContext: o2.pageContext }, null, 8, ["pageContext"])) : t("", true);
|
|
6
6
|
} });
|
|
7
7
|
export {
|
|
8
8
|
a as default
|
package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./workflow-opinion-box.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = r(o, [["__scopeId", "data-v-e0c933bb"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js
CHANGED
|
@@ -1,55 +1,56 @@
|
|
|
1
|
-
import { defineComponent as e, ref as n, computed as o, onMounted as l, onUnmounted as
|
|
2
|
-
import { addRequiredClassUtil as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as e, ref as n, computed as o, onMounted as l, onUnmounted as i, watch as t, nextTick as a, resolveComponent as u, createElementBlock as s, openBlock as r, Fragment as p, createElementVNode as w, createCommentVNode as f, createBlock as d, normalizeStyle as v, Teleport as c, withDirectives as x, createTextVNode as g, toDisplayString as m, unref as k, normalizeClass as O, createVNode as b, vShow as h } from "vue";
|
|
2
|
+
import { addRequiredClassUtil as C } from "../../../../utils/common-util.js";
|
|
3
|
+
import { $t as y } from "../../../../utils/i18n-util.js";
|
|
4
|
+
const R = { class: "opinion-box-table-wrapper" }, I = { class: "opinion-table" }, E = { class: "opinion-label" }, z = { key: 0, class: "required-star" }, L = e({ __name: "workflow-opinion-box", props: { pageContext: {} }, setup(e2, { expose: L2 }) {
|
|
5
|
+
const _ = e2, B = n(""), H = n(), V = n(""), j = n(null), q = n(null), M = n(0), P = n(null), S = n(null);
|
|
6
|
+
let U = null, W = null;
|
|
7
|
+
const A = n(true), D = o(() => {
|
|
8
|
+
const e3 = S.value;
|
|
8
9
|
return e3 ? { left: e3.left + "px", right: window.innerWidth - e3.right + "px", bottom: window.innerHeight - e3.bottom + "px" } : { left: "0", right: "0", bottom: "0" };
|
|
9
10
|
});
|
|
10
|
-
function
|
|
11
|
-
|
|
11
|
+
function F() {
|
|
12
|
+
P.value && (S.value = P.value.getBoundingClientRect());
|
|
12
13
|
}
|
|
13
|
-
function
|
|
14
|
-
|
|
14
|
+
function G(e3) {
|
|
15
|
+
P.value = e3, F(), W = new ResizeObserver(F), W.observe(e3), window.addEventListener("scroll", F, true), window.addEventListener("resize", F);
|
|
15
16
|
}
|
|
16
17
|
l(() => {
|
|
17
18
|
var _a;
|
|
18
|
-
let e3 = ((_a =
|
|
19
|
+
let e3 = ((_a = j.value) == null ? void 0 : _a.parentElement) ?? null;
|
|
19
20
|
for (; e3; ) {
|
|
20
|
-
if (e3.classList.contains("el-dialog")) return void
|
|
21
|
+
if (e3.classList.contains("el-dialog")) return void G(e3);
|
|
21
22
|
e3 = e3.parentElement;
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
-
}), t(() => {
|
|
25
|
-
var _a;
|
|
26
|
-
S == null ? void 0 : S.disconnect(), S = null, U == null ? void 0 : U.disconnect(), U = null, window.removeEventListener("scroll", D, true), window.removeEventListener("resize", D), q.value = null, j.value = null, ((_a = I.pageContext.workflowOpinion) == null ? void 0 : _a.boxInstance) && (I.pageContext.workflowOpinion.boxInstance = null);
|
|
27
|
-
}), i(H, (e3) => {
|
|
28
|
-
S == null ? void 0 : S.disconnect(), S = null, e3 ? (V.value = e3.offsetHeight, S = new ResizeObserver(() => {
|
|
29
|
-
V.value = e3.offsetHeight;
|
|
30
|
-
}), S.observe(e3)) : V.value = 0;
|
|
24
|
+
_.pageContext.workflowOpinion && (_.pageContext.workflowOpinion.boxInstance = J);
|
|
31
25
|
}), i(() => {
|
|
32
26
|
var _a;
|
|
33
|
-
|
|
27
|
+
U == null ? void 0 : U.disconnect(), U = null, W == null ? void 0 : W.disconnect(), W = null, window.removeEventListener("scroll", F, true), window.removeEventListener("resize", F), P.value = null, S.value = null, ((_a = _.pageContext.workflowOpinion) == null ? void 0 : _a.boxInstance) && (_.pageContext.workflowOpinion.boxInstance = null);
|
|
28
|
+
}), t(q, (e3) => {
|
|
29
|
+
U == null ? void 0 : U.disconnect(), U = null, e3 ? (M.value = e3.offsetHeight, U = new ResizeObserver(() => {
|
|
30
|
+
M.value = e3.offsetHeight;
|
|
31
|
+
}), U.observe(e3)) : M.value = 0;
|
|
32
|
+
}), t(() => {
|
|
33
|
+
var _a;
|
|
34
|
+
return (_a = _.pageContext.workflowOpinion) == null ? void 0 : _a.focusOpinionInput;
|
|
34
35
|
}, (e3) => {
|
|
35
|
-
e3 ? (
|
|
36
|
+
e3 ? (V.value = C(), a(() => {
|
|
36
37
|
var _a;
|
|
37
|
-
((_a =
|
|
38
|
-
})) :
|
|
38
|
+
((_a = H.value) == null ? void 0 : _a.focus) && H.value.focus();
|
|
39
|
+
})) : V.value = "";
|
|
39
40
|
}, { immediate: true });
|
|
40
|
-
const
|
|
41
|
-
|
|
41
|
+
const J = { show: function() {
|
|
42
|
+
_.pageContext.workflowOpinion && (A.value = true);
|
|
42
43
|
}, hide: function() {
|
|
43
|
-
|
|
44
|
+
_.pageContext.workflowOpinion && (A.value = false);
|
|
44
45
|
} };
|
|
45
|
-
return
|
|
46
|
+
return L2(J), (n2, o2) => {
|
|
46
47
|
var _a, _b, _c;
|
|
47
|
-
const
|
|
48
|
-
return
|
|
49
|
-
|
|
50
|
-
}), class: "opinion-input" }, null, 8, ["modelValue"])], 2)])])])])], 4)), [[
|
|
48
|
+
const l2 = u("el-input");
|
|
49
|
+
return r(), s(p, null, [w("div", { ref_key: "sentinelRef", ref: j, style: { display: "none" } }, null, 512), ((_a = e2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (r(), s("div", { key: 0, style: v({ height: M.value + "px", width: "100%", flexShrink: 0 }) }, null, 4)) : f("", true), (r(), d(c, { to: "body" }, [((_b = e2.pageContext.workflowOpinion) == null ? void 0 : _b.showOpinionBox) ? x((r(), s("div", { key: 0, ref_key: "opinionBarRef", ref: q, class: "opinion-fixed-bar", style: v(D.value) }, [w("div", R, [w("table", I, [w("tbody", null, [w("tr", null, [w("td", E, [((_c = e2.pageContext.workflowOpinion) == null ? void 0 : _c.isRequired) ? (r(), s("span", z, "*")) : f("", true), g(" " + m(k(y)("superPageRuntimeMessage.handleOpinion")), 1)]), w("td", { class: O(["opinion-input-cell", V.value]) }, [b(l2, { ref_key: "opinionInputRef", ref: H, modelValue: B.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => B.value = e3), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: k(y)("superPageRuntimeMessage.pleaseInputHandleOpinion"), onChange: o2[1] || (o2[1] = (e3) => {
|
|
50
|
+
_.pageContext.workflowOpinion && (_.pageContext.workflowOpinion.opinion = B.value.trim(), _.pageContext.workflowOpinion.focusOpinionInput = false);
|
|
51
|
+
}), class: "opinion-input" }, null, 8, ["modelValue", "placeholder"])], 2)])])])])], 4)), [[h, A.value]]) : f("", true)]))], 64);
|
|
51
52
|
};
|
|
52
53
|
} });
|
|
53
54
|
export {
|
|
54
|
-
|
|
55
|
+
L as default
|
|
55
56
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./extract-workflow-runtime-dialog.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = r(o, [["__scopeId", "data-v-
|
|
4
|
+
const t = r(o, [["__scopeId", "data-v-05f9ea1f"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as
|
|
2
|
-
import { extractWorkflowFunc as
|
|
3
|
-
import { DepartmentUserTree as
|
|
4
|
-
import { Search as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as n, unref as i, withCtx as u, createVNode as r, createCommentVNode as s, createElementVNode as p, createTextVNode as m, toDisplayString as g } from "vue";
|
|
2
|
+
import { extractWorkflowFunc as d } from "../../../../utils/events/standard-event.js";
|
|
3
|
+
import { DepartmentUserTree as c } from "agilebuilder-ui";
|
|
4
|
+
import { Search as v, Delete as f } from "@element-plus/icons-vue";
|
|
5
|
+
import { $t as _ } from "../../../../utils/i18n-util.js";
|
|
6
|
+
const x = { class: "dialog-footer" }, y = e({ __name: "extract-workflow-runtime-dialog", props: { pageContext: {}, configure: {} }, emits: ["destroy"], setup(e2, { emit: y2 }) {
|
|
7
|
+
const b = y2, C = e2, M = l(), R = l(false), h = l(true), k = l({}), N = l({ loginName: [], opinion: [] }), P = C.configure.runtime ? C.configure.runtime : {};
|
|
8
|
+
function w() {
|
|
9
|
+
R.value = true;
|
|
9
10
|
}
|
|
10
|
-
function
|
|
11
|
-
|
|
11
|
+
function V(e3) {
|
|
12
|
+
R.value = false, k.value.loginName = e3 ? e3.loginName : "", k.value.name = e3 ? e3.name : "";
|
|
12
13
|
}
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
e3 &&
|
|
16
|
-
|
|
14
|
+
function T() {
|
|
15
|
+
M.value.validate((e3, l2) => {
|
|
16
|
+
e3 && d({ pageContext: C.pageContext, configureObj: C.configure, _value: { loginName: k.value.loginName, opinion: k.value.opinion } }).then(() => {
|
|
17
|
+
h.value = false, b("destroy");
|
|
17
18
|
});
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
|
-
return
|
|
21
|
+
return P.props && (true === P.props.requireExtractTransactor && (N.value.loginName = [{ required: true, message: _("superPageRuntimeMessage.pleaseSelectTransactor"), trigger: "blur" }]), true === P.props.isMustOpinion && (N.value.opinion = [{ required: true, message: _("superPageRuntimeMessage.pleaseInputOpinion"), trigger: "change" }])), a(() => {
|
|
21
22
|
}), (e3, l2) => {
|
|
22
|
-
const
|
|
23
|
-
return n(),
|
|
23
|
+
const a2 = o("el-icon"), d2 = o("el-input"), y3 = o("el-form-item"), b2 = o("el-form"), C2 = o("el-button"), P2 = o("el-dialog");
|
|
24
|
+
return n(), t(P2, { modelValue: h.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => h.value = e4), title: i(_)("superPageRuntimeMessage.selectTransactor"), width: "500" }, { footer: u(() => [p("div", x, [r(C2, { onClick: l2[4] || (l2[4] = (e4) => h.value = false) }, { default: u(() => [m(g(i(_)("superPageRuntimeMessage.cancel")), 1)]), _: 1 }), r(C2, { type: "primary", onClick: T }, { default: u(() => [m(g(i(_)("superPageRuntimeMessage.sure")), 1)]), _: 1 })])]), default: u(() => [r(b2, { ref_key: "ruleFormRef", ref: M, style: { "max-width": "600px" }, model: k.value, rules: N.value, "label-width": "auto" }, { default: u(() => [r(y3, { label: i(_)("superPageRuntimeMessage.transactorUser"), prop: "loginName" }, { default: u(() => [r(d2, { "model-value": k.value.name, readonly: true, type: "text", placeholder: i(_)("superPageRuntimeMessage.pleaseSelectTransactor"), onClick: l2[2] || (l2[2] = (e4) => w()) }, { append: u(() => [r(a2, { class: "el-input__icon", onClick: l2[0] || (l2[0] = (e4) => w()) }, { default: u(() => [r(i(v))]), _: 1 }), r(a2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => (k.value.loginName = "", void (k.value.name = ""))) }, { default: u(() => [r(i(f))]), _: 1 })]), _: 1 }, 8, ["model-value", "placeholder"])]), _: 1 }, 8, ["label"]), r(y3, { label: i(_)("superPageRuntimeMessage.opinion"), prop: "opinion" }, { default: u(() => [r(d2, { modelValue: k.value.opinion, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => k.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), R.value ? (n(), t(i(c), { key: 0, width: "60%", multiple: false, onClose: V })) : s("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"]);
|
|
24
25
|
};
|
|
25
26
|
} });
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
y as default
|
|
28
29
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./extract-workflow-runtime.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const e = t(r, [["__scopeId", "data-v-
|
|
4
|
+
const e = t(r, [["__scopeId", "data-v-1a7971b9"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, nextTick as n, resolveComponent as t, createElementBlock as o, openBlock as i, createVNode as u, normalizeStyle as r, normalizeClass as s, unref as p, withCtx as c, createTextVNode as m, toDisplayString as g, createBlock as d, createCommentVNode as f, createElementVNode as v } from "vue";
|
|
2
2
|
import { handleAfterInitEvent as x, handleEvent as C, getDefaultEventParams as y, canExecuteButton as _ } from "../../../../utils/events/event-util.js";
|
|
3
3
|
import { $t as k } from "../../../../utils/i18n-util.js";
|
|
4
4
|
import { DepartmentUserTree as b } from "agilebuilder-ui";
|
|
5
|
-
import { Search as
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
function
|
|
9
|
-
return void 0 !==
|
|
5
|
+
import { Search as R, Delete as h } from "@element-plus/icons-vue";
|
|
6
|
+
const M = { class: "page-runtime-header-btn" }, N = { class: "dialog-footer" }, P = e({ __name: "extract-workflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: P2 }) {
|
|
7
|
+
const w = e2, V = l(), U = l(false), T = l(false), q = l({}), z = l({ loginName: [], opinion: [] }), j = w.configure.runtime ? w.configure.runtime : {}, E = l(j.props ? j.props : {}), O = j.style, S = j.class;
|
|
8
|
+
function D() {
|
|
9
|
+
return void 0 !== w.pageContext.canClick && void 0 !== w.pageContext.clickUuid && (!w.pageContext.canClick && w.pageContext.clickUuid === w.configure.uuid);
|
|
10
10
|
}
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
function
|
|
14
|
-
|
|
11
|
+
j.props && (true === j.props.requireExtractTransactor && (z.value.loginName = [{ required: true, message: k("superPageRuntimeMessage.pleaseSelectTransactor"), trigger: "blur" }]), true === j.props.isMustOpinion && (z.value.opinion = [{ required: true, message: k("superPageRuntimeMessage.pleaseInputOpinion"), trigger: "change" }]));
|
|
12
|
+
const F = l(null);
|
|
13
|
+
function I() {
|
|
14
|
+
U.value = true;
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
16
|
+
function $(e3) {
|
|
17
|
+
U.value = false, q.value.loginName = e3 ? e3.loginName : "", q.value.name = e3 ? e3.name : "";
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
|
|
19
|
+
function A() {
|
|
20
|
+
V.value.validate((e3, l2) => {
|
|
21
21
|
if (e3) {
|
|
22
|
-
const e4 = { loginName:
|
|
23
|
-
C(e4,
|
|
22
|
+
const e4 = { loginName: q.value.loginName, opinion: q.value.opinion };
|
|
23
|
+
C(e4, w.pageContext, w.configure, "click");
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
return
|
|
28
|
-
|
|
29
|
-
x(null,
|
|
27
|
+
return a(() => {
|
|
28
|
+
n(() => {
|
|
29
|
+
x(null, w.pageContext, w.configure, { componentRef: F.value, entity: w.pageContext.entity.data, pageData: w.pageContext.entity.page });
|
|
30
30
|
});
|
|
31
|
-
}),
|
|
32
|
-
|
|
31
|
+
}), P2({ click: function() {
|
|
32
|
+
F.value && F.value.$el.click();
|
|
33
33
|
} }), (e3, l2) => {
|
|
34
|
-
const
|
|
35
|
-
return i(),
|
|
36
|
-
const l3 = y(e5,
|
|
34
|
+
const a2 = t("el-button"), n2 = t("el-icon"), x2 = t("el-input"), C2 = t("el-form-item"), P3 = t("el-form"), j2 = t("el-dialog");
|
|
35
|
+
return i(), o("span", M, [u(a2, { ref_key: "componentRef", ref: F, disabled: D(), class: s(p(S)), style: r(p(O)), type: E.value.type, size: E.value.size, round: E.value.round, plain: E.value.plain, loading: D(), onClick: l2[0] || (l2[0] = (e4) => function(e5) {
|
|
36
|
+
const l3 = y(e5, w.pageContext, w.configure, {});
|
|
37
37
|
_(l3).then((e6) => {
|
|
38
|
-
e6.canExecute && (
|
|
38
|
+
e6.canExecute && (T.value = true);
|
|
39
39
|
});
|
|
40
|
-
}()) }, { default:
|
|
40
|
+
}()) }, { default: c(() => [m(g(p(k)(E.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(j2, { modelValue: T.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => T.value = e4), title: p(k)("superPageRuntimeMessage.selectTransactor"), width: "500" }, { footer: c(() => [v("div", N, [u(a2, { onClick: l2[5] || (l2[5] = (e4) => T.value = false) }, { default: c(() => [m(g(p(k)("superPageRuntimeMessage.cancel")), 1)]), _: 1 }), u(a2, { type: "primary", onClick: A }, { default: c(() => [m(g(p(k)("superPageRuntimeMessage.sure")), 1)]), _: 1 })])]), default: c(() => [u(P3, { ref_key: "ruleFormRef", ref: V, style: { "max-width": "600px" }, model: q.value, rules: z.value, "label-width": "auto" }, { default: c(() => [u(C2, { label: p(k)("superPageRuntimeMessage.transactorUser"), prop: "loginName" }, { default: c(() => [u(x2, { "model-value": q.value.name, readonly: true, type: "text", placeholder: p(k)("superPageRuntimeMessage.pleaseSelectTransactor"), onClick: l2[3] || (l2[3] = (e4) => I()) }, { append: c(() => [u(n2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => I()) }, { default: c(() => [u(p(R))]), _: 1 }), u(n2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (q.value.loginName = "", void (q.value.name = ""))) }, { default: c(() => [u(p(h))]), _: 1 })]), _: 1 }, 8, ["model-value", "placeholder"])]), _: 1 }, 8, ["label"]), u(C2, { label: p(k)("superPageRuntimeMessage.opinion"), prop: "opinion" }, { default: c(() => [u(x2, { modelValue: q.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => q.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), U.value ? (i(), d(p(b), { key: 0, width: "60%", multiple: false, onClose: $ })) : f("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"])]);
|
|
41
41
|
};
|
|
42
42
|
} });
|
|
43
43
|
export {
|
|
44
|
-
|
|
44
|
+
P as default
|
|
45
45
|
};
|
|
@@ -25,7 +25,7 @@ const c = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" },
|
|
|
25
25
|
if (!o2 || o2.startsWith("initVal")) return;
|
|
26
26
|
((_b2 = (_a2 = t4 == null ? void 0 : t4.runtime) == null ? void 0 : _a2.props) == null ? void 0 : _b2.title) && (t4.runtime.props.title = o2);
|
|
27
27
|
}(t3), k.value.push(t3));
|
|
28
|
-
}), (
|
|
28
|
+
}), (e2, p2) => (o(), n("span", c, [(o(true), n(r, null, u(k.value, (e3, u2) => (o(), n(r, null, [e3.check ? (o(), i(s, { key: u2, pageContext: t2.pageContext, configure: e3 }, null, 8, ["pageContext", "configure"])) : a("", true)], 64))), 256))]));
|
|
29
29
|
} });
|
|
30
30
|
export {
|
|
31
31
|
l as default
|
|
@@ -7,12 +7,12 @@ import { initPageEvents as f } from "../utils/events/event-util.js";
|
|
|
7
7
|
import { setHomeChartInitConfigValue as v } from "../utils/charts/chart-util.js";
|
|
8
8
|
import { useI18n as C } from "vue-i18n";
|
|
9
9
|
const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartUuid: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
|
|
10
|
-
const { t: b2 } = C(), I = e2, U = t(true),
|
|
10
|
+
const { t: b2 } = C(), I = e2, U = t(true), H = t(false), w = t(null);
|
|
11
11
|
let x, A = t(null);
|
|
12
12
|
return I.chartUuid && c.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + I.chartUuid).then((e3) => {
|
|
13
13
|
var _a, _b;
|
|
14
14
|
if (e3 && e3.designJson) {
|
|
15
|
-
|
|
15
|
+
w.value = {};
|
|
16
16
|
const t2 = JSON.parse(e3.designJson);
|
|
17
17
|
let a2 = window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");
|
|
18
18
|
if (a2) {
|
|
@@ -20,26 +20,26 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
|
|
|
20
20
|
e4[I.homeChartSettingUserId] && (t2.chartJson.runtime.headerInfo ? t2.chartJson.runtime.headerInfo.title = e4[I.homeChartSettingUserId] : t2.chartJson.runtime.headerInfo = { textAlign: "center", title: e4[I.homeChartSettingUserId] });
|
|
21
21
|
}
|
|
22
22
|
const i2 = window.frameElement;
|
|
23
|
-
|
|
23
|
+
w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (i2.clientHeight, w.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
|
|
24
24
|
const n2 = { showHomepageSearch: false, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
|
|
25
|
-
if (((_a =
|
|
25
|
+
if (((_a = w.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = w.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
|
|
26
26
|
const e4 = n2.entity.page;
|
|
27
27
|
for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
|
|
28
28
|
}
|
|
29
|
-
t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(
|
|
29
|
+
t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(w.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
|
|
30
30
|
!function(e4, t3) {
|
|
31
31
|
if (!t3 || 0 == t3.length) return;
|
|
32
32
|
e4.initChartData = {}, e4.initChartData.data = h(e4.entity.data), e4.initChartData.page = h(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
|
|
33
33
|
}(A.value, [t2.initChartServiceConfigs]);
|
|
34
34
|
}, 200);
|
|
35
|
-
} else
|
|
35
|
+
} else H.value = true, U.value = false;
|
|
36
36
|
}).finally(() => {
|
|
37
37
|
U.value = false;
|
|
38
38
|
}), a(() => {
|
|
39
39
|
x && clearTimeout(x);
|
|
40
40
|
}), (e3, t2) => {
|
|
41
41
|
const a2 = i("loading");
|
|
42
|
-
return n((o(), r("div", y, [!U.value &&
|
|
42
|
+
return n((o(), r("div", y, [!U.value && w.value ? (o(), s(g, { key: 0, configure: w.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || w.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
|
|
43
43
|
};
|
|
44
44
|
} });
|
|
45
45
|
export {
|
|
@@ -1,28 +1,30 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onUnmounted as l, resolveComponent as u, createBlock as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { defineComponent as e, ref as a, onUnmounted as l, resolveComponent as u, createBlock as o, openBlock as t, withCtx as n, createElementBlock as r, createCommentVNode as i } from "vue";
|
|
2
|
+
import s from "./super-page.vue.js";
|
|
3
|
+
import { $t as d } from "../utils/i18n-util.js";
|
|
4
|
+
const g = ["src"], v = ["src"], p = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: p2 }) {
|
|
5
|
+
const m = e2, c = p2, P = a(true), f = m.jumpPageSetting ? m.jumpPageSetting : null, h = a(null), w = a(null), b = a(null), C = a(null), j = a(null), y = a(null), I = a({}), k = a(false), O = a(false), S = a("rtl"), _ = a(null), x = a(false), V = a(null), M = a(true), T = a(false), q = a(true), E = a(false);
|
|
6
|
+
if (f) {
|
|
7
|
+
M.value = (f == null ? void 0 : f.alignCenter) ?? true, T.value = (f == null ? void 0 : f.fullscreen) ?? false, x.value = !(!f || void 0 === f._isIframe) && f._isIframe, V.value = f && f._path ? f._path : null, y.value = f && f.dialogType ? f.dialogType : "dialog", k.value = !(!f || !f.draggable) && f.draggable, O.value = !(!f || !f.overflow) && f.overflow, S.value = f && f.showPosition ? f.showPosition : "rtl", w.value = f && f.jumpPageTitle ? d(f.jumpPageTitle) : null, h.value = f && f.jumpPageWidth ? f.jumpPageWidth : "dialog" === y.value ? "calc(100% - 30px)" : "100%", q.value = f == null ? void 0 : f.showDialogModal, false === q.value ? E.value = f == null ? void 0 : f.dialogModalPenetrable : null !== q.value && void 0 !== q.value || true === (f == null ? void 0 : f.dialogModalPenetrable) && (E.value = true, q.value = false), _.value = f && f.jumpPageHeight ? f.jumpPageHeight : null, b.value = f && f.pageCode, C.value = f && f.dataId ? f.dataId : null, j.value = f && f.taskId ? f.taskId : null;
|
|
8
|
+
const e3 = !!f.isNeedId;
|
|
9
|
+
if (m.parentPageEventParams) {
|
|
9
10
|
try {
|
|
10
|
-
const e4 = JSON.parse(JSON.stringify(
|
|
11
|
-
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(
|
|
11
|
+
const e4 = JSON.parse(JSON.stringify(m.parentPageEventParams));
|
|
12
|
+
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(I.value, e4);
|
|
12
13
|
} catch (e4) {
|
|
14
|
+
console.error(e4);
|
|
13
15
|
}
|
|
14
|
-
null !==
|
|
16
|
+
null !== C.value && void 0 !== C.value || (C.value = m.parentPageEventParams.id);
|
|
15
17
|
}
|
|
16
|
-
|
|
18
|
+
I.value.parentPageCode = f && f.parentPageCode ? f.parentPageCode : null, I.value.parentPageVersion = f && f.parentPageVersion ? f.parentPageVersion : null, I.value.jumpMode = f ? f.jumpMode : null, I.value.id = C.value, I.value.isNeedId = e3, I.value.taskId = j.value, m.customParams && Object.assign(I.value, m.customParams);
|
|
17
19
|
}
|
|
18
20
|
return l(() => {
|
|
19
21
|
var _a;
|
|
20
|
-
((_a =
|
|
22
|
+
((_a = I.value) == null ? void 0 : _a.dialogParamStoreId) && sessionStorage.removeItem(I.value.dialogParamStoreId);
|
|
21
23
|
}), (e3, a2) => {
|
|
22
|
-
const l2 = u("el-drawer"),
|
|
23
|
-
return
|
|
24
|
+
const l2 = u("el-drawer"), d2 = u("el-dialog");
|
|
25
|
+
return y.value && "drawer" === y.value ? (t(), o(l2, { key: 0, modelValue: P.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => P.value = e4), title: w.value, direction: S.value, size: h.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => c("open")), onOpened: a2[2] || (a2[2] = (e4) => c("opened")), onClose: a2[3] || (a2[3] = (e4) => c("close")), onClosed: a2[4] || (a2[4] = (e4) => c("closed")) }, { default: n(() => [!x.value && b.value ? (t(), o(s, { key: 0, pageCode: b.value, pageRequest: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : x.value ? (t(), r("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, g)) : i("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (t(), o(d2, { key: 1, "model-value": "", title: w.value, "close-on-click-modal": false, "append-to-body": "", width: h.value, modal: q.value, "modal-penetrable": E.value, fullscreen: T.value, alignCenter: M.value, draggable: k.value, overflow: O.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) => c("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: n(() => [!x.value && b.value ? (t(), o(s, { key: 0, style: { "min-height": "100px" }, pageCode: b.value, pageRequest: I.value, contentHeight: _.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : x.value ? (t(), r("iframe", { key: 1, src: V.value, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, v)) : i("", true)]), _: 1 }, 8, ["title", "width", "modal", "modal-penetrable", "fullscreen", "alignCenter", "draggable", "overflow"]));
|
|
24
26
|
};
|
|
25
27
|
} });
|
|
26
28
|
export {
|
|
27
|
-
|
|
29
|
+
p as default
|
|
28
30
|
};
|