super-page-designer 2.3.16-sit3-design1 → 2.3.17-sit1-design1
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/assets/images/data/file.png.js +4 -0
- package/dist/es/assets/images/data/folder.png.js +4 -0
- package/dist/es/components/design/utils/ucr-element-filter.d.ts +2 -0
- package/dist/es/components/design/utils/ucr-element-filter.js +11 -0
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +66 -66
- package/dist/es/components/design/views/design/page-design.vue.d.ts +9 -0
- package/dist/es/components/design/views/design/page-design.vue2.js +42 -42
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +11 -10
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.d.ts +16 -2
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +8 -8
- package/dist/es/components/design/views/design/view/assemblys-container-list.vue.d.ts +16 -2
- package/dist/es/components/design/views/design/view/assemblys-container-list.vue.js +23 -20
- package/dist/es/components/design/views/design/view/assemblys-container.vue.js +11 -12
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.d.ts +38 -0
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.js +7 -0
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue2.js +111 -0
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.d.ts +6 -0
- package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.js +27 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.d.ts +18 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +34 -30
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +13 -13
- package/dist/es/style.css +33 -5
- package/package.json +5 -5
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const A = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAVTklEQVR4nO3dX2hcd3YH8PMby8LGKpbZkASyYLkp3oCXWN7Chv4BydBU45GNxzBy/RCw/NSWUiyzsPtWj/etC6mVh0L7ZBny4EYDHhNrPKqhHkG7aRaK5SX7sNlNPYY17AbayCBvXNmaX89PtnbFby3NRPOT55wz3w/czO/66UzOnK/vvXPv2BEAgBIILABQA4EFAGogsABADQQWAKiBwAIANRBYAKAGAgsA1EBgAYAaCCwAUAOBBQBqILAAQA0EFgCogcACADUQWACgBgILANRAYAGAGggsAFADgQUAaiCwAEANBNYGsvlTA/S4MUS+MeDJDRL5ASLiV4At4KhG3i048vPkMnXanpmrlq/UCX4DgbVGPj/e/+jxr4+T98OeaJieBhRAB7k6D2mNnKtVZz64zH/Q1RxvXS97tDBMDXfaO58nT/38RwDyOFpw3pUp4y9Xr5dq1IW6OrCyoydPe++LOJICffjIy7litx11Od66DoIK7Oiu4HK8dY1cbmxw2fmLfNo3TACW8AX7bd6dq1Sm53nPrK4IrHAx/cvHi+c5qCZ4F8AuR5OzM6VzvDLJfGCtHFWRv8TLQd4AusG86+05YfGWCNOBlc2NjfM3f+EUsJ93AboHf6OYyWTO3PjwgzLvmWE2sEaOjp2lhp/kJUDXcuTOVCvTU2SEycDiI6tLnvw4AQAPuZvi0DrDS/Ucb6YgrAB+l5XQcryZgbAC2Ih7b7YyPcELtcwEFofVOIdV+DYQANbBR1qqr2mZCKwjx07mG8uNq7wEgCZchg5rfRZRfWCFn4Dxj5/cJty6ANAaRws7t/ftK5enFnhPFfWBNZIr3OaXQd4AoFWOarMzpcO8UsXxplY2Vyh6ovO8BICviIf/QrVSKpIiXLNOL/hU8AFvtQz/reQ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rAgmWDFCRYkE6w4wYJkghUnWJBMsOIEC5IJVpxgQTLBihMsSCZYcYIFyQQrTrAgmWDFCRYkE6w4wYJkghUnWJBMsOIEC5IJVpxgQTLBihMsSCZYcYIFyQQrTrAgmWDFCRYkE6w4wYJkghUnWJBMsOIEC5IJVpxgQTLBihMsSCZYcf3ht+ytf95VRyBFd3839d49dRiUYQbr4Tvvrc/snjoCGfpyX91h3VsGZpjBOvJ/15XZC0fqCGQYX7Oj2/Huo3UalEEGa6Q/fOd0KWVbXcDyOt5NvW+yDFBX1yC5LIQkA70cHBlusI7smSizz462pNvqApbH8TK+8bpux96ZOg/OYIM1Ui8Ld9WHh+oClsdN9XLwQH0cpEEHa6RGa18p5T/qAi6tj9RY7S4DNvhgjfSH31KL37+xjsAl0X2um3rvrjoMWhPBGrHTgktm8Dur5zUTrJEardH/AHvr2lYXsDjH69pTY3WgPjahq6s5v37Lw+4iXLAQx0tf9g31rQt/SpPBel5/5H8ny9zcrjJXJurhjQV4IQfLWJkpY2MHuh3vmS6NajpYwOoiWEAzBAtohmABzRAsoBmCBTRDsIBmCBbQDMECmiFYQDMEC2iGYAHNECygGYIFNEOwgGYIFtAMwQKaIVhAMwQLaIZgAc0QLKAZggU0Q7CAZggW0AzBApohWEAzBAtohmABzRAsoBmCBTRDsIBmCBbQDMECmiFYQDMEC2iGYAHNECygGYIFNEOwgGYIFtAMwQKaIVhAMwQLaIZgAc34JcGF3Xggg5jLAAAAAElFTkSuQmCC";
|
|
2
|
+
export {
|
|
3
|
+
Y as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const e = ["workflow", "table"];
|
|
2
|
+
function t(t2) {
|
|
3
|
+
return t2.filter((t3) => !e.includes(t3.name)).map((t3) => {
|
|
4
|
+
const n = t3.items.filter((t4) => !e.includes(t4.name));
|
|
5
|
+
return { ...t3, items: n };
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
t as filterUcrElements,
|
|
10
|
+
e as ucrExcludeElements
|
|
11
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, watch as l, resolveComponent as a, createBlock as i, openBlock as n, withCtx as t, createVNode as u, createCommentVNode as s, createElementVNode as r, createElementBlock as g, Fragment as c, renderList as f, createTextVNode as
|
|
1
|
+
import { defineComponent as e, ref as o, watch as l, resolveComponent as a, createBlock as i, openBlock as n, withCtx as t, createVNode as u, createCommentVNode as s, createElementVNode as r, createElementBlock as g, Fragment as c, renderList as f, createTextVNode as p, withDirectives as m, vShow as d } from "vue";
|
|
2
2
|
import b from "../component/condition-dialog.vue.js";
|
|
3
3
|
import v from "../component/set-dialog.vue.js";
|
|
4
4
|
import y from "../component/combination.vue.js";
|
|
@@ -6,21 +6,21 @@ import k from "../component/journal-set-dialog.vue.js";
|
|
|
6
6
|
import C from "../../common/common-advanced-basic-showcondition.vue.js";
|
|
7
7
|
import { isShowOpinionSetting as _ } from "../../../../utils/form-design-util.js";
|
|
8
8
|
import V from "agilebuilder-ui/src/utils/request";
|
|
9
|
-
import { getTableConfigByTableUuid as
|
|
10
|
-
import
|
|
9
|
+
import { getTableConfigByTableUuid as D } from "../../../../utils/page-table-util.js";
|
|
10
|
+
import w from "../../common/common-watermark.vue.js";
|
|
11
11
|
import h from "../../common/common-task-title.vue.js";
|
|
12
12
|
const j = { style: { padding: "8px 0px 0px 0px" } }, O = e({ __name: "button-attr-advanced", props: { configure: { type: Object, default: () => {
|
|
13
13
|
} }, pageDesign: { type: Object, default: () => {
|
|
14
14
|
} } }, setup(e2) {
|
|
15
15
|
var _a;
|
|
16
|
-
const O2 = e2, M = o(["base"]), x = o(false), L = o([]), R = (_a = O2.pageDesign) == null ? void 0 : _a.systemVersion, S = o(
|
|
16
|
+
const O2 = e2, M = o(["base"]), x = o(false), L = o([]), R = (_a = O2.pageDesign) == null ? void 0 : _a.systemVersion, S = o(D(O2.pageDesign, O2.configure));
|
|
17
17
|
function N() {
|
|
18
18
|
x.value = false;
|
|
19
19
|
}
|
|
20
20
|
function U(e3) {
|
|
21
21
|
O2.configure.props.base.logSetting = e3, N();
|
|
22
22
|
}
|
|
23
|
-
V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${O2.pageDesign.systemCode}/${R}`).then((e3) => {
|
|
23
|
+
O2.pageDesign.ucrDesign || V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${O2.pageDesign.systemCode}/${R}`).then((e3) => {
|
|
24
24
|
L.value = e3;
|
|
25
25
|
});
|
|
26
26
|
const z = o(false);
|
|
@@ -54,8 +54,8 @@ const j = { style: { padding: "8px 0px 0px 0px" } }, O = e({ __name: "button-att
|
|
|
54
54
|
return l(O2.configure.events, (e3) => {
|
|
55
55
|
I.value = E("opinion"), J.value = E("wfRemark"), I.value || (O2.configure.props.base.isMustOpinion = false);
|
|
56
56
|
}, { immediate: true }), (o2, l2) => {
|
|
57
|
-
const _2 = a("el-option"), V2 = a("el-select"),
|
|
58
|
-
return n(), i(K, { "label-width": "80px", size: "small" }, { default: t(() => [u(H, { modelValue: M.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(G, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", j, [u(
|
|
57
|
+
const _2 = a("el-option"), V2 = a("el-select"), D2 = a("el-form-item"), O3 = a("el-button"), R2 = a("el-text"), E2 = a("el-switch"), G = a("el-collapse-item"), H = a("el-collapse"), K = a("el-form");
|
|
58
|
+
return n(), i(K, { "label-width": "80px", size: "small" }, { default: t(() => [u(H, { modelValue: M.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(G, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", j, [u(D2, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": l2[0] || (l2[0] = (o3) => e2.configure.props.base.successOperation = o3), class: "ml-4" }, { default: t(() => [u(_2, { label: "无操作", value: "noOperation" }), u(_2, { label: "刷新", value: "refresh" }), u(_2, { label: "关闭窗口", value: "closeWindow" }), u(_2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.pageDesign.ucrDesign ? s("", true) : (n(), i(D2, { key: 0, label: "转换规则", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": l2[1] || (l2[1] = (o3) => e2.configure.props.base.conversionCodes = o3), multiple: "", class: "ml-4" }, { default: t(() => [(n(true), g(c, null, f(L.value, (e3) => (n(), i(_2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(D2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [u(O3, { type: "primary", onClick: l2[2] || (l2[2] = (e3) => z.value = true) }, { default: t(() => l2[8] || (l2[8] = [p("编辑")])), _: 1 })]), _: 1 }), u(D2, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: S.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(D2, { label: "自动设值", class: "amb-design-attr-item" }, { default: t(() => [u(O3, { type: "primary", onClick: l2[3] || (l2[3] = (e3) => $.value = true) }, { default: t(() => l2[9] || (l2[9] = [p("编辑")])), _: 1 }), m(u(R2, { type: "success" }, { default: t(() => l2[10] || (l2[10] = [p(" 已设置条件. ")])), _: 1 }, 512), [[d, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), u(D2, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: S.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(D2, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [u(O3, { type: "primary", onClick: l2[4] || (l2[4] = (e3) => x.value = true) }, { default: t(() => l2[11] || (l2[11] = [p("编辑")])), _: 1 })]), _: 1 }), I.value ? (n(), i(D2, { key: 1, label: "意见必填", class: "amb-design-attr-item" }, { default: t(() => [u(E2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": l2[5] || (l2[5] = (o3) => e2.configure.props.base.isMustOpinion = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.base.isMustOpinion ? (n(), i(D2, { key: 2, label: "意见必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: S.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : s("", true), J.value ? (n(), i(D2, { key: 3, label: "备注必填", class: "amb-design-attr-item" }, { default: t(() => [u(E2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": l2[6] || (l2[6] = (o3) => e2.configure.props.base.isMustRemark = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.base.isMustRemark ? (n(), i(D2, { key: 4, label: "备注必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(C, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: S.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : s("", true), B.value ? (n(), i(D2, { key: 5, label: "任务标题", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(h, { key: e2.configure.uuid + "_taskTitle", configure: e2.configure, pageDesign: e2.pageDesign, title: "任务标题生效条件" }, null, 8, ["configure", "pageDesign"]))]), _: 1 })) : s("", true)])]), _: 1 }), u(G, { title: "水印设置", name: "watermark", class: "amb-design-attr-group-header" }, { default: t(() => [u(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), z.value ? (n(), i(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: S.value, onClose: A }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : s("", true), $.value ? (n(), i(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: S.value, onSave: P, onClose: F }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : s("", true), T.value ? (n(), i(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: S.value, onSave: q, onClose: W }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : s("", true), x.value ? (n(), i(k, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: N, onSave: U }, null, 8, ["modelValue"])) : s("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
59
59
|
};
|
|
60
60
|
} });
|
|
61
61
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./button-attr-base.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const o = e(t, [["__scopeId", "data-v-
|
|
4
|
+
const o = e(t, [["__scopeId", "data-v-93b865b5"]]);
|
|
5
5
|
export {
|
|
6
6
|
o as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as i, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as i, openBlock as s, withCtx as t, createVNode as u, createElementBlock as n, createCommentVNode as r, Fragment as d, createElementVNode as p, renderList as c, unref as m, createTextVNode as g, withDirectives as f, vShow as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import "../../../../../../stores/page-store.js";
|
|
4
4
|
/* empty css */
|
|
@@ -6,14 +6,14 @@ import v from "../../common/common-icon-bind.vue.js";
|
|
|
6
6
|
import _ from "agilebuilder-ui/src/utils/request";
|
|
7
7
|
import y from "../../common/common-function-code.vue.js";
|
|
8
8
|
import "@element-plus/icons";
|
|
9
|
-
import { Close as U, Check as
|
|
9
|
+
import { Close as U, Check as k } from "@element-plus/icons-vue";
|
|
10
10
|
import "uuid";
|
|
11
11
|
import "../../../../../../stores/table-store.js";
|
|
12
12
|
import "../../../../../../stores/statistics-table-store.js";
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { getTableConfigByTableUuid as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
14
|
+
import { getTableConfigByTableUuid as h } from "../../../../utils/page-table-util.js";
|
|
15
|
+
import D from "../../common/common-i18n-key-input.vue.js";
|
|
16
|
+
import x from "../../chart/statistical-table/component/link-table.vue.js";
|
|
17
17
|
import P from "../../common/common-template-select.vue.js";
|
|
18
18
|
const j = { class: "collapse-item-content" }, w = { class: "collapse-item-content" }, T = { class: "collapse-item-content" }, z = { class: "collapse-item-content" }, C = { class: "collapse-item-content" }, E = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
19
19
|
const E2 = e2, q = a(["base", "appearance", "otherSettings", "linkPage", "templateConfig"]), F = a({}), R = a([]), A = a($()), I = a(false);
|
|
@@ -22,14 +22,14 @@ const j = { class: "collapse-item-content" }, w = { class: "collapse-item-conten
|
|
|
22
22
|
}), void 0 === E2.configure.props.base.isEnableRequired && (E2.configure.props.base.isEnableRequired = true), !E2.configure.props.linkPage || E2.configure.props.linkPage instanceof Array || (E2.configure.props.linkPage = [{ linkPage: E2.configure.props.linkPage }]), I.value = true;
|
|
23
23
|
const S = a([]);
|
|
24
24
|
function $() {
|
|
25
|
-
return
|
|
25
|
+
return h(E2.pageDesign, E2.configure);
|
|
26
26
|
}
|
|
27
27
|
function M(e3) {
|
|
28
28
|
const a2 = $();
|
|
29
29
|
A.value = a2;
|
|
30
30
|
}
|
|
31
31
|
return l(() => {
|
|
32
|
-
|
|
32
|
+
E2.pageDesign.ucrDesign || function() {
|
|
33
33
|
var _a;
|
|
34
34
|
const e3 = (_a = E2.pageDesign) == null ? void 0 : _a.systemVersion;
|
|
35
35
|
_.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/template-management/list/${E2.pageDesign.systemCode}?publishVersion=${e3}`, {}).then((e4) => {
|
|
@@ -37,12 +37,12 @@ const j = { class: "collapse-item-content" }, w = { class: "collapse-item-conten
|
|
|
37
37
|
});
|
|
38
38
|
}(), E2.pageDesign.tableUuids && E2.pageDesign.tableUuids.length > 0 && (S.value = E2.pageDesign.tableUuids);
|
|
39
39
|
}), (a2, l2) => {
|
|
40
|
-
const _2 = o("el-option"),
|
|
41
|
-
return
|
|
40
|
+
const _2 = o("el-option"), h2 = o("el-select"), F2 = o("el-form-item"), R2 = o("el-input"), $2 = o("el-radio"), N = o("el-radio-group"), O = o("el-collapse-item"), B = o("el-radio-button"), G = o("el-switch"), H = o("el-collapse"), J = o("el-form");
|
|
41
|
+
return s(), i(J, { "label-width": "80px", size: "small" }, { default: t(() => [u(H, { modelValue: q.value, "onUpdate:modelValue": l2[26] || (l2[26] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [e2.configure.isFlow ? r("", true) : (s(), n(d, { key: 0 }, [u(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", j, [u(F2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [u(h2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: t(() => [(s(true), n(d, null, c(m(V)(), (e3) => (s(), i(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [u(R2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(F2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: t(() => [u(R2, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(s(), i(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(F2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [u(D, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: t(() => [u($2, { value: "large" }, { default: t(() => l2[27] || (l2[27] = [g("大")])), _: 1 }), u($2, { value: "default" }, { default: t(() => l2[28] || (l2[28] = [g("中")])), _: 1 }), u($2, { value: "small" }, { default: t(() => l2[29] || (l2[29] = [g("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: t(() => [u($2, { value: "default" }, { default: t(() => l2[30] || (l2[30] = [g("普通")])), _: 1 }), u($2, { value: "disabled" }, { default: t(() => l2[31] || (l2[31] = [g("禁用")])), _: 1 }), u($2, { value: "hidden" }, { default: t(() => l2[32] || (l2[32] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", w, [u(F2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: t(() => [u(h2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: t(() => [u(_2, { label: "primary", value: "primary" }), u(_2, { label: "success", value: "success" }), u(_2, { label: "warning", value: "warning" }), u(_2, { label: "danger", value: "danger" }), u(_2, { label: "info", value: "info" }), u(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "图标", class: "amb-design-attr-item" }, { default: t(() => [(s(), i(v, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
|
|
42
42
|
E2.configure.props.base.iconType = e4, E2.configure.props.base.iconValue = a4, a4 || (E2.configure.props.base.isTextIcon = false);
|
|
43
|
-
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }),
|
|
43
|
+
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(u(F2, { label: "图标位置", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: t(() => [u(B, { value: "left" }, { default: t(() => l2[33] || (l2[33] = [g("标题前")])), _: 1 }), u(B, { value: "right" }, { default: t(() => l2[34] || (l2[34] = [g("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), u(F2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(k), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.base.text ? (s(), i(F2, { key: 0, label: "图标按钮", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.isTextIcon, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.isTextIcon = a3), disabled: !e2.configure.props.base.iconValue, "inline-prompt": "", "active-icon": m(k), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : r("", true), u(F2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(k), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(F2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(k), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(F2, { label: "加载状态", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: t(() => [u($2, { value: true }, { default: t(() => l2[35] || (l2[35] = [g("是")])), _: 1 }), u($2, { value: false }, { default: t(() => l2[36] || (l2[36] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: t(() => [u($2, { value: true }, { default: t(() => l2[37] || (l2[37] = [g("是")])), _: 1 }), u($2, { value: false }, { default: t(() => l2[38] || (l2[38] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "原生type", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: t(() => [u($2, { value: "button" }, { default: t(() => l2[39] || (l2[39] = [g("button")])), _: 1 }), u($2, { value: "submit" }, { default: t(() => l2[40] || (l2[40] = [g("submit")])), _: 1 }), u($2, { value: "reset" }, { default: t(() => l2[41] || (l2[41] = [g("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), u(O, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", T, [I.value ? (s(), i(x, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "context", "system", "request", "fixed", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: A.value, onDataChange: l2[16] || (l2[16] = (e3) => function(e4) {
|
|
44
44
|
E2.configure.props.linkPage = e4;
|
|
45
|
-
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : r("", true)])]), _: 1 }),
|
|
45
|
+
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : r("", true)])]), _: 1 }), e2.pageDesign.ucrDesign ? r("", true) : (s(), i(O, { key: 0, title: "模板配置", name: "templateConfig", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", z, [u(P, { modelValue: e2.configure.props.base.templateFiles, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.templateFiles = a3), pageDesign: e2.pageDesign, tableConfigure: A.value }, null, 8, ["modelValue", "pageDesign", "tableConfigure"])])]), _: 1 }))], 64)), u(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", C, [!e2.configure.isFlow ? (s(), n(d, { key: 1 }, [u(F2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "权限保护", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "是否异步", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "必填验证", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [u(h2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: t(() => [u(_2, { label: "无限制", value: "any" }), u(_2, { label: "选单行", value: "one" }), u(_2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "对应表格", class: "amb-design-attr-item" }, { default: t(() => [u(h2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: M }, { default: t(() => [(s(true), n(d, null, c(S.value, (e3) => (s(), i(_2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })], 64)) : (s(), i(F2, { key: 0, label: "必填验证", class: "amb-design-attr-item" }, { default: t(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
46
46
|
};
|
|
47
47
|
} });
|
|
48
48
|
export {
|
|
@@ -21,7 +21,7 @@ const v = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
21
21
|
null != B && e3.sorts.push({ prop: B.property, order: "ascending" == B.order ? "asc" : "desc" });
|
|
22
22
|
let l2 = I.systemId;
|
|
23
23
|
I.tableType && I.tableType;
|
|
24
|
-
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/
|
|
24
|
+
const t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/app-pages/listBySystem/" + (l2 || 0);
|
|
25
25
|
let a2 = { searchParam: e3, searchInfo: {} };
|
|
26
26
|
I.searchValue && (a2.searchInfo.name = I.searchValue), f.post(t2, a2).then((e4) => {
|
|
27
27
|
A.value = e4.data, k.currentPage = e4.page, k.pageSize = e4.size, k.total = e4.total;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./object-design.vue3.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = o(e, [["__scopeId", "data-v-
|
|
4
|
+
const t = o(e, [["__scopeId", "data-v-c2d9c8d5"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as e, onUnmounted as i, watch as n, ref as r, computed as o, onMounted as t, resolveComponent as s, createElementBlock as u, openBlock as g, normalizeStyle as a, normalizeClass as p, createBlock as c, withDirectives as l, resolveDynamicComponent as f, withModifiers as
|
|
1
|
+
import { defineComponent as e, onUnmounted as i, watch as n, ref as r, computed as o, onMounted as t, resolveComponent as s, createElementBlock as u, openBlock as g, normalizeStyle as a, normalizeClass as p, createBlock as c, withDirectives as l, resolveDynamicComponent as f, withModifiers as m, createElementVNode as d, createVNode as v, withCtx as D, unref as b, vShow as h } from "vue";
|
|
2
2
|
import { CopyDocument as x, Delete as y } from "@element-plus/icons";
|
|
3
3
|
import j from "./error-design.vue.js";
|
|
4
|
-
import { getDesignComponentByName as
|
|
5
|
-
import { caculateCommonStyle as
|
|
4
|
+
import { getDesignComponentByName as W } from "../../utils/assemblys-config.js";
|
|
5
|
+
import { caculateCommonStyle as C } from "../../utils/container-design-util.js";
|
|
6
6
|
import { PageDimensions as k } from "../../utils/interfaces/page-design-types.js";
|
|
7
7
|
import { batchUpdatePermissions as O, batchRemovePermissions as S } from "../../utils/page-permission-util.js";
|
|
8
8
|
import { watchValidate as P, getRefrencePropMap as B, removePropFromRefrencePropMap as T } from "../../utils/form-design-util.js";
|
|
@@ -10,123 +10,123 @@ import { usePageContextStore as w } from "../../../../stores/page-store.js";
|
|
|
10
10
|
import { getListCode as I } from "super-page-runtime";
|
|
11
11
|
import { getFormPropName as U } from "../../utils/page-helper-util.js";
|
|
12
12
|
import { updateServiceInputs as _ } from "../../utils/chart-design-util.js";
|
|
13
|
-
const
|
|
13
|
+
const N = { class: "amb-widget-item-tool" }, M = e({ __name: "object-design", props: { pageDesign: {}, configure: {}, selectWidget: {}, indexObj: {}, showSelectedClass: { type: Boolean, default: true }, errorBlank: { type: Boolean, default: false }, isTableBtnLink: { type: Boolean, default: false } }, emits: ["onSelectWidget", "onCustomAttrWidget", "onCopy", "onDelete"], setup(e2, { emit: M2 }) {
|
|
14
14
|
var _a, _b;
|
|
15
|
-
const
|
|
16
|
-
if ("table" ===
|
|
17
|
-
const e3 =
|
|
18
|
-
Object.assign(
|
|
15
|
+
const R = w(), q = e2;
|
|
16
|
+
if ("table" === q.configure.name && q.pageDesign.tableRuntimes && q.pageDesign.tableRuntimes[q.configure.uuid]) {
|
|
17
|
+
const e3 = q.pageDesign.tableRuntimes[q.configure.uuid].configure, i2 = JSON.parse(e3);
|
|
18
|
+
Object.assign(q.configure, i2), delete q.pageDesign.tableRuntimes[q.configure.uuid];
|
|
19
19
|
}
|
|
20
|
-
if (
|
|
21
|
-
|
|
20
|
+
if (q.indexObj && q.indexObj.index++, null == q.configure.props && (q.configure.props = {}), null == q.configure.style && (q.configure.style = {}), q.pageDesign && q.configure && "table" == q.configure.name && q.configure.uuid) {
|
|
21
|
+
q.pageDesign.tableUuids || (q.pageDesign.tableUuids = []);
|
|
22
22
|
const e3 = setTimeout(() => {
|
|
23
23
|
var _a2, _b2, _c, _d;
|
|
24
|
-
((_b2 = (_a2 =
|
|
24
|
+
((_b2 = (_a2 = q.pageDesign) == null ? void 0 : _a2.tableUuids) == null ? void 0 : _b2.includes(q.configure.uuid)) || ((_d = (_c = q.pageDesign) == null ? void 0 : _c.tableUuids) == null ? void 0 : _d.push(q.configure.uuid));
|
|
25
25
|
}, 500);
|
|
26
26
|
i(() => {
|
|
27
27
|
var _a2, _b2, _c, _d;
|
|
28
|
-
const i2 = (_b2 = (_a2 =
|
|
29
|
-
null != i2 && i2 > -1 && ((_d = (_c =
|
|
30
|
-
const n2 = I(
|
|
31
|
-
|
|
28
|
+
const i2 = (_b2 = (_a2 = q.pageDesign) == null ? void 0 : _a2.tableUuids) == null ? void 0 : _b2.indexOf(q.configure.uuid);
|
|
29
|
+
null != i2 && i2 > -1 && ((_d = (_c = q.pageDesign) == null ? void 0 : _c.tableUuids) == null ? void 0 : _d.shift(i2, 1));
|
|
30
|
+
const n2 = I(q.pageDesign.code, q.pageDesign.version, q.configure.uuid);
|
|
31
|
+
q.pageDesign.listCodesInitSearchForm && q.pageDesign.listCodesInitSearchForm[n2] && delete q.pageDesign.listCodesInitSearchForm[n2], q.pageDesign.subTableWatchProps && delete q.pageDesign.subTableWatchProps[q.configure.uuid], e3 && clearTimeout(e3);
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
O(
|
|
36
|
-
const i2 =
|
|
37
|
-
|
|
34
|
+
q.configure.events && q.pageDesign && (n(q.configure.events, (e3) => {
|
|
35
|
+
O(q.configure, q.pageDesign);
|
|
36
|
+
const i2 = q.configure.events.filter((e4) => !e4.isStandard && e4.jsContent || e4.isStandard && e4.eventName);
|
|
37
|
+
q.configure.runtime || (q.configure.runtime = {}), q.configure.runtime.events = i2;
|
|
38
38
|
}, { immediate: true }), i(() => {
|
|
39
|
-
S(
|
|
40
|
-
})),
|
|
41
|
-
|
|
42
|
-
}, { immediate: true }),
|
|
39
|
+
S(q.pageDesign, q.configure.uuid);
|
|
40
|
+
})), q.configure.props.linkPage && q.pageDesign && n(q.configure.props.linkPage, (e3) => {
|
|
41
|
+
q.configure.runtime || (q.configure.runtime = {}), q.configure.runtime.linkPage = q.configure.props.linkPage;
|
|
42
|
+
}, { immediate: true }), q.configure.props.parameter && q.pageDesign && n(q.configure.props.parameter, (e3) => {
|
|
43
43
|
let i2 = {};
|
|
44
44
|
e3.forEach((e4) => {
|
|
45
45
|
void 0 !== e4.paramName && "" !== e4.paramName && null !== e4.paramName && void 0 !== e4.paramValue && "" !== e4.paramValue && null !== e4.paramValue && (i2[e4.paramName] = e4.paramValue);
|
|
46
|
-
}),
|
|
47
|
-
}, { immediate: true }), ((_b = (_a =
|
|
48
|
-
_(
|
|
49
|
-
}, { immediate: true }),
|
|
50
|
-
let
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
const
|
|
54
|
-
null ==
|
|
55
|
-
|
|
56
|
-
}),
|
|
57
|
-
P(
|
|
58
|
-
}),
|
|
59
|
-
P(
|
|
46
|
+
}), q.configure.runtime || (q.configure.runtime = {}), q.configure.runtime.customParams = i2;
|
|
47
|
+
}, { immediate: true }), ((_b = (_a = q.configure.props) == null ? void 0 : _a.dataOrigin) == null ? void 0 : _b.serviceInputs) && q.pageDesign && n(q.configure.props.dataOrigin.serviceInputs, (e3) => {
|
|
48
|
+
_(q.configure, e3);
|
|
49
|
+
}, { immediate: true }), q.configure.componentIndex = q.indexObj.index;
|
|
50
|
+
let z = q.indexObj.index;
|
|
51
|
+
const F = M2, H = r({});
|
|
52
|
+
H.value = W(q.configure.name);
|
|
53
|
+
const L = r(true);
|
|
54
|
+
null == H.value && (H.value = j, L.value = false), n(() => q.configure.name, (e3) => {
|
|
55
|
+
H.value = W(e3);
|
|
56
|
+
}), q.configure.props && q.configure.props.verification && (q.configure.props.base && q.configure.props.base.title && n(() => q.configure.props.base.title, (e3) => {
|
|
57
|
+
P(q.configure, q.configure.props.verification, ie());
|
|
58
|
+
}), q.configure.props.base && q.configure.props.base.prop && (n(() => q.configure.props.base.prop, (e3, i2) => {
|
|
59
|
+
P(q.configure, q.configure.props.verification, ie()), q.pageDesign.runtime || (q.pageDesign.runtime = {}), q.pageDesign.runtime.refercePropMap || (q.pageDesign.runtime.refercePropMap = {}), B(e3, i2, q.pageDesign.runtime.refercePropMap);
|
|
60
60
|
}), i(() => {
|
|
61
61
|
var _a2, _b2;
|
|
62
|
-
T(
|
|
63
|
-
})), n(
|
|
64
|
-
P(
|
|
65
|
-
})),
|
|
62
|
+
T(q.configure.props.base.prop, (_b2 = (_a2 = q.pageDesign) == null ? void 0 : _a2.runtime) == null ? void 0 : _b2.refercePropMap);
|
|
63
|
+
})), n(q.configure.props.verification, (e3, i2) => {
|
|
64
|
+
P(q.configure, e3, ie());
|
|
65
|
+
})), q.pageDesign.props && n(() => q.pageDesign.props.activeWorkflow, (e3, i2) => {
|
|
66
66
|
if (e3) {
|
|
67
|
-
const e4 =
|
|
67
|
+
const e4 = q.configure.props && q.configure.props.rules ? q.configure.props.rules.filter((e5) => e5.required) : null;
|
|
68
68
|
e4 && e4.length > 0 && e4.forEach((e5) => {
|
|
69
69
|
e5.required = false;
|
|
70
|
-
}),
|
|
70
|
+
}), q.configure.props && q.configure.props.verification && q.configure.props.verification.required && (q.configure.props.verification.required = false);
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
const V = r(null), A = r({}), E = r(""), J = r({});
|
|
74
74
|
function G() {
|
|
75
|
-
|
|
75
|
+
C(q.configure, A, E), q.configure.runtime || (q.configure.runtime = {}), q.configure.runtime.common || (q.configure.runtime.common = {}), q.configure.runtime.common.class = E.value, q.configure.runtime.common.style = A.value;
|
|
76
76
|
}
|
|
77
|
-
if (
|
|
77
|
+
if (q.configure.props && q.configure.props && (n(q.configure.props.size, (e3) => {
|
|
78
78
|
G();
|
|
79
|
-
}), n(() =>
|
|
79
|
+
}), n(() => q.configure.props.position, (e3) => {
|
|
80
80
|
G();
|
|
81
|
-
}, { immediate: true })),
|
|
81
|
+
}, { immediate: true })), q.configure.style && q.configure.style && n(q.configure.style, () => {
|
|
82
82
|
G();
|
|
83
|
-
}),
|
|
84
|
-
|
|
85
|
-
const e3 =
|
|
83
|
+
}), q.configure.props) {
|
|
84
|
+
q.configure.props.size || (q.configure.props.size = {});
|
|
85
|
+
const e3 = q.configure.props.size;
|
|
86
86
|
let i2 = e3[k.PC];
|
|
87
87
|
i2 || (i2 = {}, e3[k.PC] = i2), 0 == Object.keys(i2).length && (i2.widthType = e3.widthType, i2.flexSpan = e3.flexSpan, i2.fixWidth = e3.fixWidth, i2.fixHeight = e3.fixHeight, delete e3.widthType, delete e3.flexSpan, delete e3.fixWidth, delete e3.fixHeight);
|
|
88
88
|
}
|
|
89
89
|
const K = o(() => {
|
|
90
90
|
const e3 = A.value;
|
|
91
|
-
if (J.value = {}, !e3 || !
|
|
91
|
+
if (J.value = {}, !e3 || !q.pageDesign) return {};
|
|
92
92
|
const i2 = {};
|
|
93
|
-
|
|
94
|
-
const n2 =
|
|
93
|
+
q.configure.design && q.configure.design.style && Object.assign(i2, q.configure.design.style);
|
|
94
|
+
const n2 = q.pageDesign.dimensions ? q.pageDesign.dimensions : "pc", r2 = e3[n2 + "_style"];
|
|
95
95
|
return r2 && (i2.width = r2.width, i2.height = r2.height, J.value = { height: r2.height }), E.value = e3[n2 + "_class"], i2;
|
|
96
96
|
});
|
|
97
|
-
|
|
98
|
-
e3 && e3.value ==
|
|
97
|
+
q.selectWidget && n(q.selectWidget, (e3) => {
|
|
98
|
+
e3 && e3.value == z ? Q.value = "amb-design-item-selected" : Q.value = "";
|
|
99
99
|
});
|
|
100
100
|
const Q = r("");
|
|
101
101
|
function X(e3) {
|
|
102
|
-
e3 && e3.preventDefault(),
|
|
102
|
+
e3 && e3.preventDefault(), F("onSelectWidget", z, q.configure);
|
|
103
103
|
}
|
|
104
104
|
function Y(e3, i2) {
|
|
105
|
-
|
|
105
|
+
F("onSelectWidget", e3, i2);
|
|
106
106
|
}
|
|
107
107
|
function Z(e3, i2) {
|
|
108
|
-
|
|
108
|
+
F("onCustomAttrWidget", e3, i2);
|
|
109
109
|
}
|
|
110
110
|
function $(e3) {
|
|
111
|
-
e3.preventDefault(),
|
|
111
|
+
e3.preventDefault(), F("onCopy", q.configure);
|
|
112
112
|
}
|
|
113
113
|
function ee(e3) {
|
|
114
|
-
if (e3.preventDefault(),
|
|
115
|
-
const e4 =
|
|
116
|
-
e4 >= 0 &&
|
|
114
|
+
if (e3.preventDefault(), F("onDelete", q.configure), q.pageDesign.allChartUuids) {
|
|
115
|
+
const e4 = q.pageDesign.allChartUuids.findIndex((e5) => e5 === q.configure.uuid);
|
|
116
|
+
e4 >= 0 && q.pageDesign.allChartUuids.splice(e4, 1);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
function ie() {
|
|
120
120
|
var _a2, _b2;
|
|
121
|
-
return
|
|
121
|
+
return R.getModelField(U((_b2 = (_a2 = q.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.prop));
|
|
122
122
|
}
|
|
123
123
|
return t(() => {
|
|
124
|
-
|
|
124
|
+
q.configure.props && q.configure.props.isInit && (delete q.configure.props.isInit, F("onSelectWidget", z, q.configure));
|
|
125
125
|
}), (e3, i2) => {
|
|
126
126
|
const n2 = s("el-icon");
|
|
127
|
-
return g(), u("div", { class: p(["amb-object-design-ref", E.value]), style: a([{ position: "relative" }, K.value]), ref_key: "thisRef", ref: V }, [(g(), c(f(
|
|
127
|
+
return g(), u("div", { class: p(["amb-object-design-ref", E.value]), style: a([{ position: "relative" }, K.value]), ref_key: "thisRef", ref: V }, [(g(), c(f(H.value), { style: a([A.value, J.value]), configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, errorBlank: e3.errorBlank, selectWidget: e3.selectWidget, onClick: m(X, ["stop"]), onHandleSelect: X, class: p([[Q.value], "amb-design-item"]), isTableBtnLink: q.isTableBtnLink, onOnSelectWidget: Y, onOnCustomAttrWidget: Z }, null, 40, ["style", "configure", "pageDesign", "indexObj", "errorBlank", "selectWidget", "class", "isTableBtnLink"])), l(d("span", N, [l(v(n2, { onClick: m($, ["stop"]), style: { "margin-left": "6px" } }, { default: D(() => [v(b(x))]), _: 1 }, 512), [[h, L.value]]), v(n2, { onClick: m(ee, ["stop"]), style: { "margin-left": "6px" } }, { default: D(() => [v(b(y))]), _: 1 })], 512), [[h, Q.value && e3.showSelectedClass]])], 6);
|
|
128
128
|
};
|
|
129
129
|
} });
|
|
130
130
|
export {
|
|
131
|
-
|
|
131
|
+
M as default
|
|
132
132
|
};
|
|
@@ -3,12 +3,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: any;
|
|
5
5
|
};
|
|
6
|
+
ucrDesign: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
11
|
pageId: {
|
|
8
12
|
type: NumberConstructor;
|
|
9
13
|
default: any;
|
|
10
14
|
};
|
|
15
|
+
ucrDesign: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
11
19
|
}>> & Readonly<{}>, {
|
|
20
|
+
ucrDesign: boolean;
|
|
12
21
|
pageId: number;
|
|
13
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
23
|
export default _default;
|