super-page-runtime 2.3.17-sit4 → 2.3.18
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 +70 -70
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/print-label.js +26 -25
- package/dist/es/components/runtime/utils/events/standard-event.js +10 -10
- package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
- package/dist/es/components/runtime/utils/page-init-util.js +7 -5
- package/dist/es/components/runtime/utils/page-store.js +10 -10
- 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/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 +98 -93
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
- 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 +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +8 -8
- 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.vue2.js +16 -16
- 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 +37 -37
- 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 +4 -4
- 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 +38 -37
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +7 -5
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +4 -3
- 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.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +5 -4
- 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.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 +13 -11
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
- 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 +1 -0
- package/dist/es/components/runtime/views/super-page.vue2.js +27 -26
- package/package.json +2 -2
|
@@ -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 {
|
|
@@ -10,6 +10,7 @@ const s = ["src"], d = { key: 1, class: "amb-super-page-runtime-dialog-iframe",
|
|
|
10
10
|
const e4 = JSON.parse(JSON.stringify(p.parentPageEventParams));
|
|
11
11
|
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(b.value, e4);
|
|
12
12
|
} catch (e4) {
|
|
13
|
+
console.error(e4);
|
|
13
14
|
}
|
|
14
15
|
null !== w.value && void 0 !== w.value || (w.value = p.parentPageEventParams.id);
|
|
15
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, getCurrentInstance as l, onMounted as t, onUpdated as u, nextTick as o, onUnmounted as n, resolveDirective as i, withDirectives as s, createElementBlock as r, openBlock as v, createCommentVNode as p, normalizeStyle as m, normalizeClass as c, createBlock as g, createElementVNode as f, Fragment as d, renderList as y, unref as h, watch as C } from "vue";
|
|
2
2
|
import b from "./assemblys/object-render.vue.js";
|
|
3
|
-
import { updateOptionDatasources as
|
|
3
|
+
import { updateOptionDatasources as P, updateChartDatasources as k } from "../utils/page-helper-util.js";
|
|
4
4
|
import { queryPageSuperGrids as j, queryPageDesignByCode as $, convertToPageContext as x, packageAdditionalMapWithLocationSearch as D, packageAdditionalMapWithRoute as S, packageAdditionalMapWithPageRequest as T } from "../utils/page-init-util.js";
|
|
5
5
|
import { addComponentRef as N, removePageAllRef as q, initComponentRefState as w } from "../utils/global-refs.js";
|
|
6
6
|
import { removeCustomFuncFromWindow as R, handleEvent as O, initPageEvents as I, getCustomFunc as _ } from "../utils/events/event-util.js";
|
|
@@ -9,7 +9,7 @@ import M from "./assemblys/common/task-informition-dialog.vue.js";
|
|
|
9
9
|
import E from "./assemblys/common/remove-signer-dialog.vue.js";
|
|
10
10
|
import V from "./assemblys/common/remove-transactor-dialog.vue.js";
|
|
11
11
|
import W from "../utils/eventBus.js";
|
|
12
|
-
import { getTaskInformitions as B, getRemoveSigner as J, getRemoveTransactor as U, getFormData as
|
|
12
|
+
import { getTaskInformitions as B, getRemoveSigner as J, getRemoveTransactor as U, getFormData as H, exportFormReport as L, doImportFinally as A, doAddSigner as G, doCreateCopyTask as z, doAssign as Q, doAddTransactor as K, doReturnTaskTo as X, doRemoveSigners as Y, doRemoveTransactors as Z, updateValuesWhenCloseDialog as ee, refreshFormOrListPage as ae, saveChartConditionBase as le, getAdditionalParamMap as te } from "../utils/events/standard-event.js";
|
|
13
13
|
import "../utils/api/api-util.js";
|
|
14
14
|
import { ElMessage as ue } from "element-plus";
|
|
15
15
|
import { useI18n as oe } from "vue-i18n";
|
|
@@ -26,8 +26,8 @@ import { usePageContextStore as ye } from "../utils/page-store.js";
|
|
|
26
26
|
import he from "agilebuilder-ui/src/store";
|
|
27
27
|
import Ce from "./assemblys/common/save-chart-condition-dialog.vue.js";
|
|
28
28
|
import be from "../utils/ai-chat-util.js";
|
|
29
|
-
const
|
|
30
|
-
const $e = ye(), { t: xe } = oe(), De = e2, Se = a(false), Te = a(null), Ne = a([]), qe = a(""), we = a({}), Re = a(null), Oe = a(null), Ie = a(false), _e = a(false), Fe = a(false), Me = a(false), Ee = a(false), Ve = a(false), We = a(null), Be = a(false), Je = a([]), Ue = a([]),
|
|
29
|
+
const Pe = { class: "app-container runtime-page-container", "element-loading-text": "拼命加载中" }, ke = e({ __name: "super-page", props: { pageCode: { type: String, required: false }, pageVersion: { type: Number, required: false }, pageId: { type: Number, required: false }, dataId: { type: Number, required: false }, pageDesign: { type: Object, required: false }, isTest: { type: Boolean, required: false }, dimensions: { type: String, required: false }, publishVersion: { type: Number, required: false }, taskId: { type: Number, required: false }, pageRequest: { type: Object, required: false }, contentHeight: { type: [String, Number], default: null }, isDialog: { type: Boolean, required: false } }, emits: ["open", "opened", "close", "closed"], setup(e2, { expose: ke2, emit: je }) {
|
|
30
|
+
const $e = ye(), { t: xe } = oe(), De = e2, Se = a(false), Te = a(null), Ne = a([]), qe = a(""), we = a({}), Re = a(null), Oe = a(null), Ie = a(false), _e = a(false), Fe = a(false), Me = a(false), Ee = a(false), Ve = a(false), We = a(null), Be = a(false), Je = a([]), Ue = a([]), He = a([]), Le = a(false), Ae = a(false), Ge = a(null), ze = a(false), Qe = a(false), Ke = a(null), Xe = a(null), Ye = a(null), Ze = a(null);
|
|
31
31
|
let ea = a(null);
|
|
32
32
|
const aa = a(null), la = a(null), ta = re(), ua = a(0), oa = de();
|
|
33
33
|
let na, ia, sa;
|
|
@@ -40,14 +40,14 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
40
40
|
!function(e4, a3) {
|
|
41
41
|
if (!a3 || 0 == a3.length) return;
|
|
42
42
|
const l3 = a3.filter((e5) => "remote" != e5.filterType);
|
|
43
|
-
l3 && l3.length > 0 &&
|
|
43
|
+
l3 && l3.length > 0 && P(e4, l3, void 0);
|
|
44
44
|
}(ea.value, e3.initOptionConfigs);
|
|
45
45
|
}, 0), ia = setTimeout(() => {
|
|
46
|
-
|
|
46
|
+
e3.initChartServiceConfigs, function(e4, a3) {
|
|
47
47
|
if (!a3 || 0 == a3.length) return;
|
|
48
48
|
if (e4.initChartData = {}, e4.initChartData.data = ge(e4.entity.data), e4.initChartData.page = ge(e4.entity.page), a3 && a3.length > 0) {
|
|
49
49
|
const l3 = a3.filter((e5) => false !== e5.initializationQuery);
|
|
50
|
-
|
|
50
|
+
k(e4, l3, null, true);
|
|
51
51
|
}
|
|
52
52
|
}(ea.value, e3.initChartServiceConfigs);
|
|
53
53
|
}, 200), ea.value.initDataSources = [], w(ea.value), Ne.value = ea.value.items ? ea.value.items : [];
|
|
@@ -74,17 +74,17 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
74
74
|
});
|
|
75
75
|
}), W.$on(We.value + "remove-signer", (e4) => {
|
|
76
76
|
Oe.value = e4, J(e4).then((a3) => {
|
|
77
|
-
|
|
77
|
+
Ge.value = e4.pageContext.completeTaskParam.taskId, Ue.value = a3, Le.value = true;
|
|
78
78
|
}).catch((e5) => {
|
|
79
|
-
|
|
79
|
+
Le.value = false;
|
|
80
80
|
});
|
|
81
81
|
}), W.$on(We.value + "add-transactor", (e4) => {
|
|
82
82
|
Oe.value = e4, Fe.value = true, Ve.value = true;
|
|
83
83
|
}), W.$on(We.value + "remove-transactor", (e4) => {
|
|
84
84
|
Oe.value = e4, U(e4).then((a3) => {
|
|
85
|
-
|
|
85
|
+
Ge.value = e4.pageContext.completeTaskParam.taskId, He.value = a3, Ae.value = true;
|
|
86
86
|
}).catch((e5) => {
|
|
87
|
-
|
|
87
|
+
Ae.value = false;
|
|
88
88
|
});
|
|
89
89
|
}), W.$on(We.value + "prohibit-edit", (e4) => {
|
|
90
90
|
}), W.$on(We.value + "open-dialog", (e4) => {
|
|
@@ -98,6 +98,7 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
98
98
|
if (l5 && l5.jumpPageUrl) {
|
|
99
99
|
false !== l5.isNewPage && true !== l5.isNewPage && (l5.isNewPage = true);
|
|
100
100
|
const e6 = te(ea), u3 = !!((_a2 = Ye.value.props.linkPage) == null ? void 0 : _a2.isNeedId);
|
|
101
|
+
Ye.value;
|
|
101
102
|
let o2 = u3 && a4 ? a4.id : null, n2 = u3 && a4 ? a4.ids : null, i2 = a4 ? a4.selections : [], s2 = a4 ? a4.row : null;
|
|
102
103
|
if (!s2) if (s2 = {}, i2 && i2.length > 0) s2 = i2[0];
|
|
103
104
|
else {
|
|
@@ -130,7 +131,7 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
130
131
|
}).catch(() => {
|
|
131
132
|
t5(true);
|
|
132
133
|
});
|
|
133
|
-
} else ue({ showClose: true, type: "error", message: xe("superPageRuntimeMessage.popMsg") }), t5(false);
|
|
134
|
+
} else ue({ showClose: true, type: "error", message: xe("superPageRuntimeMessage.popMsg") }), console.error("弹框参数缺少customSystem参数,parentPageContext.value.systemCode={}", Xe.value.systemCode), t5(false);
|
|
134
135
|
else t5(true);
|
|
135
136
|
});
|
|
136
137
|
})(o2, u2).then((a4) => {
|
|
@@ -142,7 +143,7 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
142
143
|
}(e7);
|
|
143
144
|
});
|
|
144
145
|
}
|
|
145
|
-
}
|
|
146
|
+
} else console.error("页面配置信息不存在");
|
|
146
147
|
});
|
|
147
148
|
}), W.$on(We.value + "save-chart-condition", (e4) => {
|
|
148
149
|
ra.value = true;
|
|
@@ -151,14 +152,14 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
151
152
|
O(null, ea.value, e4, "load");
|
|
152
153
|
}), C(() => ea.value.isRefresh, (e4) => {
|
|
153
154
|
e4 && (ua.value++, ea.value.isRefresh = false);
|
|
154
|
-
}),
|
|
155
|
+
}), H(ea.value, null, (_a = De.pageRequest) == null ? void 0 : _a.isNeedId);
|
|
155
156
|
}
|
|
156
157
|
const ca = l();
|
|
157
158
|
function ga() {
|
|
158
159
|
o(() => {
|
|
159
160
|
var _a, _b;
|
|
160
161
|
const e3 = Te.value.parentNode ? Te.value.parentNode : Te.value;
|
|
161
|
-
ea.value && (ea.value.pageRuntimeStyle || (ea.value.pageRuntimeStyle = {}), ea.value.pageRuntimeStyle.height = De.contentHeight ?? ((_b = (_a = e3 == null ? void 0 : e3.getBoundingClientRect) == null ? void 0 : _a.call(e3)) == null ? void 0 : _b.height) ?? 0);
|
|
162
|
+
ea.value && (ea.value.pageRuntimeStyle || (ea.value.pageRuntimeStyle = {}), De.contentHeight, ea.value.pageRuntimeStyle.height = De.contentHeight ?? ((_b = (_a = e3 == null ? void 0 : e3.getBoundingClientRect) == null ? void 0 : _a.call(e3)) == null ? void 0 : _b.height) ?? 0);
|
|
162
163
|
});
|
|
163
164
|
}
|
|
164
165
|
function fa() {
|
|
@@ -169,7 +170,7 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
169
170
|
Ie.value = false, Oe.value = null;
|
|
170
171
|
}
|
|
171
172
|
function ya(e3, a2) {
|
|
172
|
-
|
|
173
|
+
L(Oe.value.pageContext, Oe.value.configureObj, a2, pa.value);
|
|
173
174
|
}
|
|
174
175
|
t(() => {
|
|
175
176
|
null != De.pageDesign ? (Re.value = De.pageDesign, sa = setTimeout(() => {
|
|
@@ -202,16 +203,16 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
202
203
|
});
|
|
203
204
|
const ha = a(null);
|
|
204
205
|
function Ca(e3) {
|
|
205
|
-
true === _e.value && (_e.value = false,
|
|
206
|
+
true === _e.value && (_e.value = false, G(Oe.value, e3)), true === Me.value && (Me.value = false, z(Oe.value, e3)), true === Ee.value && (Ee.value = false, Q(Oe.value, e3)), true === Fe.value && (Fe.value = false, K(Oe.value, e3));
|
|
206
207
|
}
|
|
207
208
|
function ba(e3) {
|
|
208
209
|
Je.value = [], Be.value = false, X(Oe.value, e3);
|
|
209
210
|
}
|
|
210
|
-
function ka(e3) {
|
|
211
|
-
Ue.value = [], Ae.value = false, Y(Oe.value, e3);
|
|
212
|
-
}
|
|
213
211
|
function Pa(e3) {
|
|
214
|
-
|
|
212
|
+
Ue.value = [], Le.value = false, Y(Oe.value, e3);
|
|
213
|
+
}
|
|
214
|
+
function ka(e3) {
|
|
215
|
+
He.value = [], Ae.value = false, Z(Oe.value, e3);
|
|
215
216
|
}
|
|
216
217
|
const ja = ve();
|
|
217
218
|
function $a(e3) {
|
|
@@ -249,7 +250,7 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
249
250
|
let l2 = {};
|
|
250
251
|
a2 && (l2 = JSON.parse(a2)), l2 && l2.data && Object.assign(ea.value.entity.data, l2.data), l2 && l2.page && Object.assign(ea.value.entity.page, l2.page), ra.value = false;
|
|
251
252
|
}
|
|
252
|
-
return
|
|
253
|
+
return ke2({ pickFileDone: function(e3) {
|
|
253
254
|
let a2 = e3.componentId, l2 = e3.listCode;
|
|
254
255
|
(a2 || l2) && (l2 ? W.$emit(l2 + "-pickFileDone", e3) : W.$emit(a2 + "-pickFileDone", e3));
|
|
255
256
|
}, uploadFileDone: function(e3) {
|
|
@@ -262,16 +263,16 @@ const ke = { class: "app-container runtime-page-container", "element-loading-tex
|
|
|
262
263
|
return be.getFormFormatDataUtil(ea.value);
|
|
263
264
|
} }), (e3, a2) => {
|
|
264
265
|
const l2 = i("loading");
|
|
265
|
-
return s((v(), r("div",
|
|
266
|
+
return s((v(), r("div", Pe, [ze.value ? (v(), r("div", { ref_key: "thisRef", ref: Te, key: ua.value, class: c(["runtime-page-container-view", qe.value]), style: m(we.value) }, [(v(true), r(d, null, y(Ne.value, (e4, a3) => (v(), g(b, { key: e4.uuid, configure: e4, pageContext: h(ea) }, null, 8, ["configure", "pageContext"]))), 128)), Ie.value ? (v(), g(F, { key: 0, configure: aa.value, pageContext: la.value, onClose: da, onExport: ya }, null, 8, ["configure", "pageContext"])) : p("", true), f("input", { ref_key: "_selectFile_", ref: ha, type: "file", name: "_selectFile_", style: { display: "none" }, onChange: a2[0] || (a2[0] = (e4) => function() {
|
|
266
267
|
if (Oe.value) {
|
|
267
268
|
if (!ha.value) return;
|
|
268
269
|
if ("" === ha.value.value || null === ha.value.value) return;
|
|
269
270
|
const e5 = ha.value.files[0];
|
|
270
|
-
e5 ? (ha.value.value = null,
|
|
271
|
+
e5 ? (ha.value.value = null, A(Oe.value, e5)) : ue({ showClose: true, type: "warning", message: xe("superPageRuntimeMessage.noFileSelected") });
|
|
271
272
|
}
|
|
272
|
-
}()) }, null, 544), _e.value || Me.value || Ee.value || Fe.value ? (v(), g(h(ne), { key: 1, width: "60%", multiple: Ve.value, onClose: Ca }, null, 8, ["multiple"])) : p("", true), Be.value ? (v(), g(M, { key: 2, "task-informitions": Je.value, onClose: a2[1] || (a2[1] = (e4) => Be.value = false), onResult: ba }, null, 8, ["task-informitions"])) : p("", true),
|
|
273
|
+
}()) }, null, 544), _e.value || Me.value || Ee.value || Fe.value ? (v(), g(h(ne), { key: 1, width: "60%", multiple: Ve.value, onClose: Ca }, null, 8, ["multiple"])) : p("", true), Be.value ? (v(), g(M, { key: 2, "task-informitions": Je.value, onClose: a2[1] || (a2[1] = (e4) => Be.value = false), onResult: ba }, null, 8, ["task-informitions"])) : p("", true), Le.value ? (v(), g(E, { key: 3, "task-id": Ge.value, "active-tasks": Ue.value, onClose: a2[2] || (a2[2] = (e4) => Le.value = false), onResult: Pa }, null, 8, ["task-id", "active-tasks"])) : p("", true), Ae.value ? (v(), g(V, { key: 4, "task-id": Ge.value, "transactor-info": He.value, onClose: a2[3] || (a2[3] = (e4) => Ae.value = false), onResult: ka }, null, 8, ["task-id", "transactor-info"])) : p("", true), Qe.value ? (v(), g(se, { key: 5, parentPageContext: Xe.value, parentPageEventParams: Ze.value, jumpPageSetting: Ke.value, onClose: a2[4] || (a2[4] = (e4) => $a()) }, null, 8, ["parentPageContext", "parentPageEventParams", "jumpPageSetting"])) : p("", true), ra.value ? (v(), g(Ce, { key: 6, ref_key: "chartCondtionRef", ref: va, pageContext: h(ea), onClose: a2[5] || (a2[5] = (e4) => ra.value = false), onSave: xa, onConfirm: Da }, null, 8, ["pageContext"])) : p("", true)], 6)) : p("", true)])), [[l2, Se.value]]);
|
|
273
274
|
};
|
|
274
275
|
} });
|
|
275
276
|
export {
|
|
276
|
-
|
|
277
|
+
ke as default
|
|
277
278
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-runtime",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.18",
|
|
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.
|
|
52
|
+
"agilebuilder-ui": "1.1.60",
|
|
53
53
|
"axios": "^1.6.8",
|
|
54
54
|
"cypress": "^13.6.6",
|
|
55
55
|
"element-plus": "^2.6.1",
|