super-page-runtime 2.3.18-tmp1 → 2.3.18-tmp3
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/barcode-util.js +5 -5
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +49 -48
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +14 -12
- package/dist/es/components/runtime/utils/charts/chart-util.js +58 -56
- package/dist/es/components/runtime/utils/events/event-util.js +111 -111
- package/dist/es/components/runtime/utils/events/print-label.js +1 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +524 -512
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/form/scan-util.js +4 -3
- package/dist/es/components/runtime/utils/page-helper-util.js +275 -275
- package/dist/es/components/runtime/utils/page-init-util.js +82 -79
- package/dist/es/components/runtime/utils/page-store.js +10 -10
- package/dist/es/components/runtime/utils/table-utils.js +28 -28
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +14 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +13 -12
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +15 -14
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +15 -14
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +16 -15
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +86 -85
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +24 -22
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +63 -63
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +40 -38
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +90 -87
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +39 -38
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +26 -26
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +14 -14
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +49 -49
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +13 -13
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +16 -16
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +6 -6
- package/dist/es/components/runtime/views/home-chart.vue.js +4 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +9 -9
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue2.js +172 -171
- package/dist/es/style.css +76 -76
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as n, nextTick as u, resolveComponent as r, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as f, withCtx as
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, watch as o, onUnmounted as a, onMounted as n, nextTick as u, resolveComponent as r, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as f, withCtx as g, createVNode as v, createElementVNode as m, withKeys as d, withModifiers as h, createElementBlock as y, Fragment as x, renderList as b, createCommentVNode as C, toDisplayString as w, createTextVNode as _ } from "vue";
|
|
2
2
|
import { setVariableValue as S, getOptionDatasFromPage as k, queryOptionDatasources as T, autoSetAfterSelect as j, getVariableValue as A } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { getFormModelFields as R } from "../../../../utils/page-init-util.js";
|
|
4
|
-
import { handleFormEvent as V, handleAfterInitEvent as
|
|
5
|
-
import
|
|
6
|
-
import { $t as
|
|
4
|
+
import { handleFormEvent as V, handleAfterInitEvent as q } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import I from "../common/title-suffix-element.vue.js";
|
|
6
|
+
import { $t as M } from "../../../../utils/i18n-util.js";
|
|
7
7
|
import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
|
|
8
8
|
import { CopyDocument as E } from "@element-plus/icons-vue";
|
|
9
9
|
import O from "clipboard";
|
|
@@ -36,10 +36,10 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
|
|
|
36
36
|
if ("remote" == ie.filterType) {
|
|
37
37
|
let e3;
|
|
38
38
|
ee.value.filterable = true, ee.value.remote = true, ee.value.remoteShowSuffix = true, ee.value.remoteMethod = function(t2) {
|
|
39
|
-
e3 !== t2 && (e3 = t2, re.value = true, T(G.pageContext, ce, t2).then((e4) => {
|
|
39
|
+
e3 !== t2 && (e3 = t2, re.value = true, console.log("query", t2), T(G.pageContext, ce, t2).then((e4) => {
|
|
40
40
|
re.value = false;
|
|
41
41
|
}).then((e4) => {
|
|
42
|
-
re.value = false;
|
|
42
|
+
console.log("查询失败!", e4), re.value = false;
|
|
43
43
|
}));
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -54,28 +54,28 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
|
|
|
54
54
|
t2 && (o2.extendParams = t2);
|
|
55
55
|
o2.options = ne.value, o2.oldValue = te, V(e3, G.pageContext, G.configure, "change", o2);
|
|
56
56
|
};
|
|
57
|
-
const fe = ee.value.monitorFields,
|
|
57
|
+
const fe = ee.value.monitorFields, ge = [];
|
|
58
58
|
if (fe) {
|
|
59
59
|
const e3 = [];
|
|
60
60
|
for (let t2 of fe) if (t2.startsWith("${")) {
|
|
61
61
|
t2 = t2.substring(2, t2.length - 1);
|
|
62
62
|
const l2 = t2.split(".");
|
|
63
|
-
"page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (
|
|
63
|
+
"page" !== l2[0] && "task" !== l2[0] && "data" !== l2[0] || (ge.push(l2), e3.includes(l2[0]) || e3.push(l2[0]));
|
|
64
64
|
}
|
|
65
65
|
for (let t2 of e3) o(J[t2], () => {
|
|
66
66
|
de();
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
let
|
|
69
|
+
let ve = "", me = false;
|
|
70
70
|
function de() {
|
|
71
71
|
me && clearTimeout(me), me = setTimeout(function() {
|
|
72
72
|
const e3 = function() {
|
|
73
73
|
let e4 = [];
|
|
74
|
-
for (let t2 of
|
|
74
|
+
for (let t2 of ge) e4.push(A(J, t2));
|
|
75
75
|
return e4.join(",");
|
|
76
76
|
}();
|
|
77
|
-
e3 !=
|
|
78
|
-
re.value = false;
|
|
77
|
+
e3 != ve && (ve = e3, ce.watchAttrValue = e3, T(G.pageContext, ce, void 0).then((e4) => {
|
|
78
|
+
console.log("查询失败!", e4), re.value = false;
|
|
79
79
|
}));
|
|
80
80
|
}, 200);
|
|
81
81
|
}
|
|
@@ -101,12 +101,12 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
|
|
|
101
101
|
return be();
|
|
102
102
|
} });
|
|
103
103
|
e3.on("success", () => {
|
|
104
|
-
P({ showClose: true, type: "success", message: $("superPageRuntimeMessage.copySuccess") });
|
|
104
|
+
console.log("复制成功"), P({ showClose: true, type: "success", message: $("superPageRuntimeMessage.copySuccess") });
|
|
105
105
|
}), e3.on("error", (e4) => {
|
|
106
106
|
console.error("复制失败", e4);
|
|
107
107
|
}), u(() => {
|
|
108
108
|
const e4 = ae.value;
|
|
109
|
-
|
|
109
|
+
q(e4, G.pageContext, G.configure, { formItemRef: he.value, componentRef: ye.value, titleRef: xe.value, value: e4, entity: G.pageContext.entity.data, pageData: G.pageContext.entity.page });
|
|
110
110
|
});
|
|
111
111
|
}), U2({ updateOptions: function(e3) {
|
|
112
112
|
ne.value = e3 || [];
|
|
@@ -116,8 +116,8 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
|
|
|
116
116
|
return ne.value;
|
|
117
117
|
} }), (e3, t2) => {
|
|
118
118
|
const l2 = r("el-icon"), o2 = r("el-option"), a2 = r("el-select"), n2 = r("el-popover"), u2 = r("el-form-item");
|
|
119
|
-
return s(), i(u2, { ref_key: "formItemRef", ref: he, required: !!ee.value.required, class: c(f(X) + (H.value ? " " + H.value : "")), "label-width": ee.value.labelWidth, style: p(f(Q)) }, { label:
|
|
120
|
-
}, ["stop"]), ["space"])), onChange: ee.value.changeMethod, modelValue: ae.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ae.value = e4) }, { default:
|
|
119
|
+
return s(), i(u2, { ref_key: "formItemRef", ref: he, required: !!ee.value.required, class: c(f(X) + (H.value ? " " + H.value : "")), "label-width": ee.value.labelWidth, style: p(f(Q)) }, { label: g(() => [ee.value.tittleShow ? (s(), y("div", { key: 0, ref_key: "titleRef", ref: xe, style: p({ ...f(Y), ...f(Z) }) }, [ee.value.prefixType ? (s(), i(I, { key: 0, pageContext: e3.pageContext, property: ee.value }, null, 8, ["pageContext", "property"])) : (s(), y(x, { key: 1 }, [_(w(f(M)(ee.value.title)), 1)], 64))], 4)) : C("", true)]), default: g(() => [v(n2, { placement: "top", trigger: "hover" }, { reference: g(() => [m("div", B, [v(a2, { ref_key: "componentRef", ref: ye, style: { width: "100%" }, disabled: "disabled" === ee.value.state, size: ee.value.size, clearable: ee.value.clearable, multiple: ee.value.multiple, "collapse-tags": ee.value.collapseTags, "collapse-tags-tooltip": ee.value.collapseTagsTooltip, filterable: ee.value.filterable, "allow-create": ee.value.allowCreate, placeholder: ee.value.placeholder, "remote-show-suffix": ee.value.remoteShowSuffix, remote: ee.value.remote, "remote-method": ee.value.remoteMethod, loading: re.value, onKeydown: t2[0] || (t2[0] = d(h(() => {
|
|
120
|
+
}, ["stop"]), ["space"])), onChange: ee.value.changeMethod, modelValue: ae.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => ae.value = e4) }, { default: g(() => [(s(true), y(x, null, b(ne.value, (t3) => (s(), i(o2, { key: t3.value, label: t3.label, value: t3.value, onClick: (l3) => f(V)(t3.value, e3.pageContext, e3.configure, "click", { values: ae.value }) }, { default: g(() => [t3._description_ ? (s(), y(x, { key: 0 }, [m("span", F, w(t3.label), 1), m("span", K, w(t3._description_), 1)], 64)) : C("", true)]), _: 2 }, 1032, ["label", "value", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "modelValue"])])]), default: g(() => [m("span", W, [v(l2, { id: le }, { default: g(() => [v(f(E))]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
121
121
|
};
|
|
122
122
|
} });
|
|
123
123
|
export {
|
|
@@ -5,8 +5,8 @@ import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js
|
|
|
5
5
|
import { addComponentRef as x, addComponentRefByCode as h } from "../../utils/global-refs.js";
|
|
6
6
|
import { getPermissionCodes as y, packageFormRules as w, controlObjectRenderState as j } from "../../utils/page-init-util.js";
|
|
7
7
|
import { caculateShowCondition as T, getFormPropName as M, getSizeConfig as N } from "../../utils/page-helper-util.js";
|
|
8
|
-
import { isWorkflowPage as _, getPropClassName as
|
|
9
|
-
import { isShowMobileEvent as
|
|
8
|
+
import { isWorkflowPage as _, getPropClassName as H, isNumber as P } from "../../utils/common-util.js";
|
|
9
|
+
import { isShowMobileEvent as $, isShowComponent as L } from "../../utils/events/event-util.js";
|
|
10
10
|
import { usePageContextStore as O } from "../../utils/page-store.js";
|
|
11
11
|
import { isHasFieldAuth as S } from "../../utils/table-utils.js";
|
|
12
12
|
import { checkPermission as B } from "agilebuilder-ui/src/utils/permission.js";
|
|
@@ -25,7 +25,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
25
25
|
var _a2;
|
|
26
26
|
let o2 = true;
|
|
27
27
|
if (E) if (J.value && null !== J.value) o2 = "show" === J.value;
|
|
28
|
-
else if (
|
|
28
|
+
else if ($(F2.pageContext, F2.configure)) if (e3 && e3.length > 0) o2 = T(F2.pageContext, e3);
|
|
29
29
|
else {
|
|
30
30
|
const e4 = (_a2 = F2.configure.props.base) == null ? void 0 : _a2.state;
|
|
31
31
|
e4 && "hidden" === e4 && (o2 = false);
|
|
@@ -59,7 +59,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
59
59
|
z.value = n(v(F2.configure.name));
|
|
60
60
|
const D = o(true);
|
|
61
61
|
null == z.value && (z.value = C, D.value = false);
|
|
62
|
-
const G = o(null), I = o({}), K = o(""), Q =
|
|
62
|
+
const G = o(null), I = o({}), K = o(""), Q = H(F2.configure);
|
|
63
63
|
Q && (K.value = Q);
|
|
64
64
|
const U = F2.configure.runtime && F2.configure.runtime.common ? F2.configure.runtime.common : {};
|
|
65
65
|
if (U.class && (K.value += " " + U.class), U.style) {
|
|
@@ -119,9 +119,9 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
119
119
|
if (!e3 || !o2) return;
|
|
120
120
|
const t2 = e3.getBoundingClientRect();
|
|
121
121
|
let n2 = window.innerHeight - t2.y - 30;
|
|
122
|
-
window.innerHeight, t2.y;
|
|
122
|
+
console.log("contentHeight=", window.innerHeight, t2.y);
|
|
123
123
|
let i2 = n2 + "";
|
|
124
|
-
|
|
124
|
+
P(n2) && (i2 = n2 + "px"), I.value.height = i2, I.value["overflow-y"] = "auto", I.value["overflow-x"] = "hidden", F2.configure.sytle || (F2.configure.sytle = {}), F2.configure.sytle._heightStyle = i2;
|
|
125
125
|
}
|
|
126
126
|
i(() => {
|
|
127
127
|
te(), V.countComponentsLoadedNumber(), Y = setTimeout(() => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onUnmounted as a, resolveDirective as i, withDirectives as n, createElementBlock as
|
|
1
|
+
import { defineComponent as e, ref as t, onUnmounted as a, resolveDirective as i, withDirectives as n, createElementBlock as o, openBlock as r, createBlock as s, createCommentVNode as l, unref as u, toDisplayString as m } from "vue";
|
|
2
2
|
import { deepCopy as h } from "../utils/common-util.js";
|
|
3
3
|
import g from "./assemblys/home-chart-render.vue.js";
|
|
4
4
|
import c from "agilebuilder-ui/src/utils/request";
|
|
@@ -20,7 +20,7 @@ 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
|
-
w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (i2.clientHeight, w.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
|
|
23
|
+
w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (console.log(i2.clientHeight + "iframeElement.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
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;
|
|
@@ -28,7 +28,7 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
|
|
|
28
28
|
}
|
|
29
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
|
-
if (!t3 || 0 == t3.length) return;
|
|
31
|
+
if (!t3 || 0 == t3.length) return void console.log("无需要初始化时统计的统计图数据");
|
|
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);
|
|
@@ -39,7 +39,7 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
|
|
|
39
39
|
x && clearTimeout(x);
|
|
40
40
|
}), (e3, t2) => {
|
|
41
41
|
const a2 = i("loading");
|
|
42
|
-
return n((
|
|
42
|
+
return n((r(), o("div", y, [!U.value && w.value ? (r(), s(g, { key: 0, configure: w.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || w.value ? l("", true) : (r(), o("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
|
|
43
43
|
};
|
|
44
44
|
} });
|
|
45
45
|
export {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, resolveComponent as l, createBlock as
|
|
1
|
+
import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as u, withCtx as n, createElementBlock as o, createCommentVNode as r } from "vue";
|
|
2
2
|
import i from "./super-page.vue.js";
|
|
3
|
-
const s = ["src"],
|
|
4
|
-
const p = e2, v =
|
|
3
|
+
const s = ["src"], g = { key: 1, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, d = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: d2 }) {
|
|
4
|
+
const p = e2, v = d2, 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), y = a({}), b = a(false), k = a(false), O = a("rtl"), I = a(null), _ = a(false), x = a(null), S = a(true), V = a(false);
|
|
5
5
|
if (c) {
|
|
6
|
-
|
|
6
|
+
S.value = (c == null ? void 0 : c.alignCenter) ?? true, V.value = (c == null ? void 0 : c.fullscreen) ?? false, console.log("弹出页面myJumpPageSetting=", c), _.value = !(!c || void 0 === c._isIframe) && c._isIframe, x.value = c && c._path ? c._path : null, j.value = c && c.dialogType ? c.dialogType : "dialog", b.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 {
|
|
10
10
|
const e4 = JSON.parse(JSON.stringify(p.parentPageEventParams));
|
|
11
|
-
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(
|
|
11
|
+
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(y.value, e4);
|
|
12
12
|
} catch (e4) {
|
|
13
13
|
console.error(e4);
|
|
14
14
|
}
|
|
15
15
|
null !== w.value && void 0 !== w.value || (w.value = p.parentPageEventParams.id);
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
y.value.parentPageCode = c && c.parentPageCode ? c.parentPageCode : null, y.value.parentPageVersion = c && c.parentPageVersion ? c.parentPageVersion : null, y.value.jumpMode = c ? c.jumpMode : null, y.value.id = w.value, y.value.isNeedId = e3, y.value.taskId = C.value, p.customParams && Object.assign(y.value, p.customParams);
|
|
18
18
|
}
|
|
19
19
|
return (e3, a2) => {
|
|
20
|
-
const
|
|
21
|
-
return j.value && "drawer" === j.value ? (
|
|
20
|
+
const d3 = l("el-drawer"), p2 = l("el-dialog");
|
|
21
|
+
return j.value && "drawer" === j.value ? (u(), t(d3, { 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 ? (u(), t(i, { key: 0, pageCode: h.value, pageRequest: y.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : _.value ? (u(), 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"])) : (u(), t(p2, { key: 1, "model-value": "", title: f.value, "close-on-click-modal": false, "append-to-body": "", width: P.value, fullscreen: V.value, alignCenter: S.value, draggable: b.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 ? (u(), t(i, { key: 0, style: { "min-height": "100px" }, pageCode: h.value, pageRequest: y.value, contentHeight: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : _.value ? (u(), o("iframe", g)) : r("", true)]), _: 1 }, 8, ["title", "width", "fullscreen", "alignCenter", "draggable", "overflow"]));
|
|
22
22
|
};
|
|
23
23
|
} });
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
d as default
|
|
26
26
|
};
|
|
@@ -24,7 +24,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
24
24
|
};
|
|
25
25
|
pageDesign: {
|
|
26
26
|
type: PropType<PageDesign>;
|
|
27
|
-
required:
|
|
27
|
+
required: any;
|
|
28
28
|
};
|
|
29
29
|
isTest: {
|
|
30
30
|
type: BooleanConstructor;
|
|
@@ -87,7 +87,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
87
87
|
};
|
|
88
88
|
pageDesign: {
|
|
89
89
|
type: PropType<PageDesign>;
|
|
90
|
-
required:
|
|
90
|
+
required: any;
|
|
91
91
|
};
|
|
92
92
|
isTest: {
|
|
93
93
|
type: BooleanConstructor;
|