super-page-designer 2.3.13-sit1-design1 → 2.3.14-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.
Files changed (42) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +73 -62
  2. package/dist/es/components/design/utils/form-design-util.js +1 -1
  3. package/dist/es/components/design/utils/page-table-util.js +2 -2
  4. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
  5. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +8 -8
  6. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +10 -10
  7. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +1 -1
  8. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +1 -1
  9. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +1 -1
  10. package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue.js +7 -0
  11. package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue2.js +27 -0
  12. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +8 -8
  13. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +5 -5
  14. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +16 -18
  15. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +43 -43
  16. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +14 -16
  17. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +21 -21
  18. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +25 -27
  19. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +16 -18
  20. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +15 -17
  21. package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
  22. package/dist/es/components/design/views/assemblys/object-design.vue3.js +87 -97
  23. package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +37 -37
  24. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +28 -0
  25. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue2.js +4 -0
  26. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue.js +7 -0
  27. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +33 -0
  28. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +28 -0
  29. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue2.js +4 -0
  30. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +68 -0
  31. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue2.js +4 -0
  32. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue.js +14 -0
  33. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue2.js +4 -0
  34. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue.js +4 -0
  35. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue2.js +15 -0
  36. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue.js +4 -0
  37. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue2.js +28 -0
  38. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +14 -10
  39. package/dist/es/components/design/views/design/view/view-design-display.vue.js +8 -18
  40. package/dist/es/style.css +18 -3
  41. package/package.json +4 -4
  42. /package/dist/es/components/design/views/assemblys/button/component/{journal-set-dialog.vue2.js → journal-set-dialog.vue3.js} +0 -0
@@ -0,0 +1,7 @@
1
+ import o from "./journal-set-dialog.vue2.js";
2
+ /* empty css */
3
+ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = e(o, [["__scopeId", "data-v-9fd9567f"]]);
5
+ export {
6
+ r as default
7
+ };
@@ -0,0 +1,33 @@
1
+ import { defineComponent as e, ref as a, resolveComponent as t, createBlock as l, openBlock as u, withCtx as n, createElementBlock as o, createVNode as r, Fragment as d, renderList as m, createTextVNode as c, toDisplayString as p, withKeys as s, unref as i, createElementVNode as v } from "vue";
2
+ import { EditPen as y, Search as f } from "@element-plus/icons-vue";
3
+ const _ = { class: "dialog-footer" }, x = { class: "dialog-footer" }, $ = e({ __name: "journal-set-dialog", setup(e2) {
4
+ const $2 = a([{ name: 111, type: "1" }, { name: 222, type: "2" }, { name: 333, type: "2" }, { name: 444, type: "2" }, { name: 555, type: "1" }, { name: 555, type: "1" }, { name: 555, type: "1" }, { name: 555, type: "1" }, { name: 555, type: "1" }, { name: 555, type: "1" }, { name: 555, type: "1" }]), V = [{ name: "当前时间", type: "2", value: "${context.currentTime}" }, { name: "当前用户登录名", type: "2", value: "${context.currentTransactor}" }, { name: "当前用户姓名", type: "2", value: "${context.currentTransactorName}" }, { name: "当前用户id", type: "2", value: "${context.currentTransactorId}" }, { name: "当前用户部门id", type: "2", value: "${context.currentTransactorMainDepartmentId}" }, { name: "当前用户部门名称", type: "2", value: "${context.currentTransactorMainDepartment}" }, { name: "当前用户角色id", type: "2", value: "${context.currentTransactorRoleId}" }, { name: "当前用户角色名称", type: "2", value: "${context.currentTransactorRole}" }, { name: "当前用户工作组id", type: "2", value: "${context.currentTransactorWorkGroupId}" }, { name: "当前用户工作组名称", type: "2", value: "${context.currentTransactorWorkGroup}" }, { name: "当前用户所属分支名称", type: "2", value: "${context.currentTransactorBranchName}" }, { name: "当前用户所属分支id", type: "2", value: "${context.currentTransactorBranchId}" }], b = [{ name: "数据库字段1", type: "2", value: "${context.database1}" }, { name: "数据库字段2", type: "2", value: "${context.database2}" }, { name: "数据库字段3", type: "2", value: "${context.database3}" }], g = a(false), k = a(""), T = a(false), C = a(""), h = a("standard");
5
+ function z() {
6
+ if ("" != k.value) {
7
+ let e3 = { name: k.value };
8
+ $2.value.push(e3), g.value = false, k.value = "";
9
+ }
10
+ }
11
+ function I() {
12
+ if ("" != C.value) {
13
+ let e3 = { name: C.value };
14
+ $2.value.push(e3), T.value = false, C.value = "";
15
+ } else T.value = false;
16
+ }
17
+ function U() {
18
+ g.value = true, k.value = "";
19
+ }
20
+ return (e3, a2) => {
21
+ const B = t("el-tag"), w = t("el-input"), D = t("el-button"), G = t("el-icon"), M = t("el-button-group"), N = t("el-radio"), R = t("el-radio-group"), W = t("el-tab-pane"), j = t("el-tabs"), K = t("el-dialog");
22
+ return u(), l(K, { "model-value": "", title: "自动设值", "append-to-body": "", width: "40%", onBeforeClose: a2[9] || (a2[9] = (a3) => e3.$emit("close")) }, { footer: n(() => [v("div", x, [r(D, { type: "default", onClick: a2[7] || (a2[7] = (a3) => e3.$emit("close")) }, { default: n(() => a2[14] || (a2[14] = [c("取消")])), _: 1 }), r(D, { type: "primary", onClick: a2[8] || (a2[8] = (a3) => e3.$emit("close")) }, { default: n(() => a2[15] || (a2[15] = [c(" 确定 ")])), _: 1 })])]), default: n(() => [(u(true), o(d, null, m($2.value, (e4, a3) => {
23
+ return u(), l(B, { key: a3, closable: "", size: "large", type: (t2 = e4, "2" === t2.type ? "success" : null), onClose: (a4) => {
24
+ return t3 = e4, void ($2.value = $2.value.filter((e5) => e5 != t3));
25
+ var t3;
26
+ } }, { default: n(() => [c(p(e4.name), 1)]), _: 2 }, 1032, ["type", "onClose"]);
27
+ var t2;
28
+ }), 128)), g.value ? (u(), l(w, { key: 0, size: "default", style: { width: "200px", "margin-left": "10px" }, modelValue: k.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => k.value = e4), onBlur: z, onKeyup: s(z, ["enter"]) }, null, 8, ["modelValue"])) : (u(), l(M, { key: 1, style: { "margin-left": "10px" } }, { default: n(() => [r(D, { size: "default", type: "primary", icon: i(y), onClick: U }, { default: n(() => a2[10] || (a2[10] = [c("输入文字")])), _: 1 }, 8, ["icon"]), r(D, { size: "default", type: "primary", onClick: a2[1] || (a2[1] = (e4) => T.value = true) }, { default: n(() => [a2[11] || (a2[11] = c(" 选择字段")), r(G, { class: "el-icon--right" }, { default: n(() => [r(i(f))]), _: 1 })]), _: 1 })]), _: 1 })), r(K, { modelValue: T.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e4) => T.value = e4), width: "30%", title: "选择字段" }, { footer: n(() => [v("div", _, [r(D, { type: "default", onClick: a2[5] || (a2[5] = (e4) => T.value = true) }, { default: n(() => a2[12] || (a2[12] = [c("取消")])), _: 1 }), r(D, { type: "primary", onClick: I }, { default: n(() => a2[13] || (a2[13] = [c(" 确定 ")])), _: 1 })])]), default: n(() => [r(j, { modelValue: h.value, "onUpdate:modelValue": a2[4] || (a2[4] = (e4) => h.value = e4), type: "card", class: "demo-tabs" }, { default: n(() => [r(W, { label: "标准字段", name: "standard" }, { default: n(() => [r(R, { modelValue: C.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e4) => C.value = e4), class: "ml-4" }, { default: n(() => [(u(), o(d, null, m(V, (e4, a3) => r(N, { value: e4.value, key: a3, size: "large" }, { default: n(() => [c(p(e4.name), 1)]), _: 2 }, 1032, ["value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(W, { label: "数据库字段", name: "database" }, { default: n(() => [r(R, { modelValue: C.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e4) => C.value = e4), class: "ml-4" }, { default: n(() => [(u(), o(d, null, m(b, (e4, a3) => r(N, { value: e4.value, key: a3, size: "large" }, { default: n(() => [c(p(e4.name), 1)]), _: 2 }, 1032, ["value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
29
+ };
30
+ } });
31
+ export {
32
+ $ as default
33
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as o, withCtx as u, createVNode as n, createCommentVNode as i, unref as r, createTextVNode as d, createElementVNode as p } from "vue";
2
+ import { CirclePlus as c, Delete as s } from "@element-plus/icons-vue";
3
+ import f from "./combination.vue.js";
4
+ const m = { class: "dialog-footer" }, b = e({ __name: "set-dialog", props: { list: Object }, setup(e2) {
5
+ const b2 = e2, v = l({}), y = l(false), _ = l({});
6
+ function g() {
7
+ y.value = false;
8
+ }
9
+ function V() {
10
+ b2.list = b2.list.filter((e3) => e3 !== v.value);
11
+ }
12
+ function k(e3) {
13
+ v.value = e3;
14
+ }
15
+ function w() {
16
+ b2.list.push({ leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "" });
17
+ }
18
+ return (l2, b3) => {
19
+ const v2 = a("el-button"), C = a("el-row"), h = a("el-option"), U = a("el-select"), j = a("el-table-column"), x = a("el-input"), z = a("el-table"), B = a("el-dialog");
20
+ return o(), t(B, { "model-value": "", title: "自动设值", "append-to-body": "", onBeforeClose: b3[2] || (b3[2] = (e3) => l2.$emit("close")) }, { footer: u(() => [p("div", m, [n(v2, { type: "default", onClick: b3[0] || (b3[0] = (e3) => l2.$emit("close")) }, { default: u(() => b3[5] || (b3[5] = [d("取消")])), _: 1 }), n(v2, { type: "primary", onClick: b3[1] || (b3[1] = (e3) => l2.$emit("close")) }, { default: u(() => b3[6] || (b3[6] = [d(" 确定 ")])), _: 1 })])]), default: u(() => [n(C, { style: { "padding-bottom": "8px" } }, { default: u(() => [n(v2, { icon: r(c), plain: "", type: "primary", onClick: w }, { default: u(() => b3[3] || (b3[3] = [d(" 添加 ")])), _: 1 }, 8, ["icon"]), n(v2, { icon: r(s), plain: "", type: "primary", onClick: V }, { default: u(() => b3[4] || (b3[4] = [d(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), n(z, { "highlight-current-row": "", onCurrentChange: k, data: e2.list, style: { width: "100%" } }, { default: u(() => [n(j, { prop: "date", label: "填写方式", align: "center" }, { default: u((e3) => [n(U, { modelValue: e3.row.type, "onUpdate:modelValue": (l3) => e3.row.type = l3, clearable: "", size: "default" }, { default: u(() => [n(h, { label: "覆盖", value: "cover" }), n(h, { label: "追加", value: "append" }), n(h, { label: "插入最前面", value: "prepend" }), n(h, { label: "有值跳过", value: "skipIfExists" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(j, { prop: "date", label: "前置条件", align: "center" }, { default: u((e3) => [n(x, { size: "default", onClick: (l3) => {
21
+ return a2 = e3.row, _.value = a2.combination, void (y.value = true);
22
+ var a2;
23
+ } }, null, 8, ["onClick"])]), _: 1 }), n(j, { label: "执行方法时设置", align: "center" }, { default: u(() => [n(j, { prop: "name", label: "字段", align: "center" }, { default: u((e3) => [n(U, { modelValue: e3.row.type, "onUpdate:modelValue": (l3) => e3.row.type = l3, clearable: "", size: "default" }, { default: u(() => [n(h, { label: "1", value: "1" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(j, { prop: "address", label: "值", align: "center" }, { default: u((e3) => [n(U, { modelValue: e3.row.type, "onUpdate:modelValue": (l3) => e3.row.type = l3, clearable: "", size: "default" }, { default: u(() => [n(h, { label: "手动填写", value: "input" }), n(h, { label: "环境变量", value: "context" }), n(h, { label: "请求参数", value: "request" }), n(h, { label: "数据库字段", value: "obj" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data"]), y.value ? (o(), t(f, { key: 0, list: _.value, onClose: g }, null, 8, ["list"])) : i("", true)]), _: 1 });
24
+ };
25
+ } });
26
+ export {
27
+ b as default
28
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./set-dialog.vue.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,68 @@
1
+ import { defineComponent as e, ref as o, watch as l, resolveComponent as a, createBlock as t, openBlock as i, withCtx as n, createVNode as s, createCommentVNode as u, createElementVNode as r, createElementBlock as p, Fragment as c, renderList as m, createTextVNode as f, withDirectives as g, vShow as d } from "vue";
2
+ import b from "../component/condition-dialog.vue.js";
3
+ import v from "../component/set-dialog.vue.js";
4
+ import y from "../component/combination.vue.js";
5
+ import C from "../component/journal-set-dialog.vue.js";
6
+ import _ from "../../common/common-advanced-basic-showcondition.vue.js";
7
+ import { isShowOpinionSetting as k } from "../../../../utils/form-design-util.js";
8
+ import V from "agilebuilder-ui/src/utils/request";
9
+ import { getTableConfigByTableUuid as j } from "../../../../utils/page-table-util.js";
10
+ import "@element-plus/icons-vue";
11
+ import "uuid";
12
+ import "../../../../../../stores/page-store.js";
13
+ import "../../../../../../stores/table-store.js";
14
+ import "../../../../../../stores/statistics-table-store.js";
15
+ /* empty css */
16
+ /* empty css */
17
+ const h = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "extract-attr-advanced", props: { configure: { type: Object, default: () => {
18
+ } }, pageDesign: { type: Object, default: () => {
19
+ } } }, setup(e2) {
20
+ var _a;
21
+ const w2 = e2, D = o(["base"]), x = o(false), O = o([]), M = (_a = w2.pageDesign) == null ? void 0 : _a.systemVersion, L = o(j(w2.pageDesign, w2.configure));
22
+ function R() {
23
+ x.value = false;
24
+ }
25
+ function S(e3) {
26
+ w2.configure.props.base.logSetting = e3, R();
27
+ }
28
+ V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${w2.pageDesign.systemCode}/${M}`).then((e3) => {
29
+ O.value = e3;
30
+ });
31
+ const U = o(false);
32
+ function N() {
33
+ U.value = false;
34
+ }
35
+ const z = o(false);
36
+ function q() {
37
+ z.value = false;
38
+ }
39
+ function A(e3) {
40
+ w2.configure.props.setValueList = e3;
41
+ }
42
+ const $ = o(false);
43
+ function E() {
44
+ $.value = false;
45
+ }
46
+ function F(e3) {
47
+ w2.configure.props.base.showConditions = JSON.stringify(e3);
48
+ }
49
+ const P = o(W("opinion")), T = o(W("wfRemark"));
50
+ function W(e3) {
51
+ let o2 = false;
52
+ const l2 = w2.configure.events.filter((e4) => "click" === e4.name && e4.eventName);
53
+ if (l2 && l2.length > 0) {
54
+ const a2 = l2[0].eventName;
55
+ o2 = k(a2, e3);
56
+ }
57
+ return o2;
58
+ }
59
+ return l(w2.configure.events, (e3) => {
60
+ P.value = W("opinion"), T.value = W("wfRemark"), P.value || (w2.configure.props.base.isMustOpinion = false);
61
+ }, { immediate: true }), (o2, l2) => {
62
+ const k2 = a("el-option"), V2 = a("el-select"), j2 = a("el-form-item"), w3 = a("el-button"), M2 = a("el-text"), W2 = a("el-switch"), I = a("el-collapse-item"), J = a("el-collapse"), B = a("el-form");
63
+ return i(), t(B, { "label-width": "80px", size: "small" }, { default: n(() => [s(J, { modelValue: D.value, "onUpdate:modelValue": l2[8] || (l2[8] = (e3) => D.value = e3), style: { "margin-top": "6px" } }, { default: n(() => [s(I, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", h, [s(j2, { label: "成功后", class: "amb-design-attr-item" }, { default: n(() => [s(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": l2[0] || (l2[0] = (o3) => e2.configure.props.base.successOperation = o3), class: "ml-4" }, { default: n(() => [s(k2, { label: "无操作", value: "noOperation" }), s(k2, { label: "刷新", value: "refresh" }), s(k2, { label: "关闭窗口", value: "closeWindow" }), s(k2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(j2, { label: "转换规则", class: "amb-design-attr-item" }, { default: n(() => [s(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: n(() => [(i(true), p(c, null, m(O.value, (e3) => (i(), t(k2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(j2, { label: "执行条件", class: "amb-design-attr-item" }, { default: n(() => [s(w3, { type: "primary", onClick: l2[2] || (l2[2] = (e3) => U.value = true) }, { default: n(() => l2[9] || (l2[9] = [f("编辑")])), _: 1 })]), _: 1 }), s(j2, { label: "启用条件", class: "amb-design-attr-item" }, { default: n(() => [(i(), t(_, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: L.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(j2, { label: "自动设值", class: "amb-design-attr-item" }, { default: n(() => [s(w3, { type: "primary", onClick: l2[3] || (l2[3] = (e3) => z.value = true) }, { default: n(() => l2[10] || (l2[10] = [f("编辑")])), _: 1 }), g(s(M2, { type: "success" }, { default: n(() => l2[11] || (l2[11] = [f("  已设置条件. ")])), _: 1 }, 512), [[d, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), s(j2, { label: "显示条件", class: "amb-design-attr-item" }, { default: n(() => [(i(), t(_, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: L.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(j2, { label: "日志设置", class: "amb-design-attr-item" }, { default: n(() => [s(w3, { type: "primary", onClick: l2[4] || (l2[4] = (e3) => x.value = true) }, { default: n(() => l2[12] || (l2[12] = [f("编辑")])), _: 1 })]), _: 1 }), s(j2, { label: "主管必填", class: "amb-design-attr-item" }, { default: n(() => [s(W2, { modelValue: e2.configure.props.base.requireExtractTransactor, "onUpdate:modelValue": l2[5] || (l2[5] = (o3) => e2.configure.props.base.requireExtractTransactor = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), P.value ? (i(), t(j2, { key: 0, label: "意见必填", class: "amb-design-attr-item" }, { default: n(() => [s(W2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": l2[6] || (l2[6] = (o3) => e2.configure.props.base.isMustOpinion = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustOpinion ? (i(), t(j2, { key: 1, label: "意见必填条件", class: "amb-design-attr-item" }, { default: n(() => [(i(), t(_, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: L.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true), T.value ? (i(), t(j2, { key: 2, label: "备注必填", class: "amb-design-attr-item" }, { default: n(() => [s(W2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": l2[7] || (l2[7] = (o3) => e2.configure.props.base.isMustRemark = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustRemark ? (i(), t(j2, { key: 3, label: "备注必填条件", class: "amb-design-attr-item" }, { default: n(() => [(i(), t(_, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: L.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true)])]), _: 1 }), U.value ? (i(), t(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onClose: N }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), z.value ? (i(), t(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onSave: A, onClose: q }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), $.value ? (i(), t(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: L.value, onSave: F, onClose: E }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true), x.value ? (i(), t(C, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: R, onSave: S }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
64
+ };
65
+ } });
66
+ export {
67
+ w as default
68
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./extract-attr-advanced.vue.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,14 @@
1
+ import { defineComponent as e, ref as t, watch as r, resolveComponent as n, createBlock as o, openBlock as u, withCtx as s, createVNode as a } from "vue";
2
+ import c from "../../form/common/attr-event.vue.js";
3
+ const f = e({ __name: "extract-attr-event", props: { configure: Object }, setup(e2) {
4
+ const f2 = e2, i = t([]);
5
+ return r(() => f2.configure.events, (e3) => {
6
+ i.value = f2.configure.events;
7
+ }, { immediate: true }), (t2, r2) => {
8
+ const f3 = n("el-form");
9
+ return u(), o(f3, { "label-width": "80px", size: "small" }, { default: s(() => [a(c, { configure: e2.configure, events: i.value }, null, 8, ["configure", "events"])]), _: 1 });
10
+ };
11
+ } });
12
+ export {
13
+ f as default
14
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./extract-attr-event.vue.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./extract-attr.vue2.js";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,15 @@
1
+ import { defineComponent as e, ref as t, createElementBlock as a, openBlock as s, createElementVNode as n, createCommentVNode as l, normalizeClass as c, unref as i, withDirectives as r, createVNode as o, vShow as d } from "vue";
2
+ import u from "./extract-attr-event.vue.js";
3
+ import g from "./extract-attr-advanced.vue.js";
4
+ const p = { class: "amb-design-attr-content" }, v = { class: "amb-design-attr-header" }, f = { class: "amb-design-attr-header-type" }, b = { class: "amb-design-attr-list" }, m = e({ __name: "extract-attr", props: { configure: { type: Object, default: () => ({ title: "Text", props: { type: "input-text" } }) }, pageDesign: { type: Object, default: () => {
5
+ } } }, setup(e2) {
6
+ const m2 = e2;
7
+ let y = t("base");
8
+ function k(e3) {
9
+ y.value = e3;
10
+ }
11
+ return m2.configure.isFlow && (y.value = "advanced"), (t2, m3) => (s(), a("div", p, [n("div", v, [n("div", f, [e2.configure.isFlow ? l("", true) : (s(), a("label", { key: 0, class: c({ selected: "base" === i(y) }), onClick: m3[0] || (m3[0] = (e3) => k("base")) }, "属性", 2)), e2.configure.isFlow ? l("", true) : (s(), a("label", { key: 1, class: c({ selected: "style" === i(y) }), onClick: m3[1] || (m3[1] = (e3) => k("style")) }, "样式", 2)), n("label", { class: c({ selected: "event" === i(y) }), onClick: m3[2] || (m3[2] = (e3) => k("event")) }, "事件", 2), n("label", { class: c({ selected: "advanced" === i(y) }), onClick: m3[3] || (m3[3] = (e3) => k("advanced")) }, "高级", 2)])]), n("div", b, [r(o(g, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[d, "advanced" === i(y)]]), r(o(u, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" === i(y)]])])]));
12
+ } });
13
+ export {
14
+ m as default
15
+ };
@@ -0,0 +1,4 @@
1
+ import e from "./extract-design.vue2.js";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as e, ref as i, watch as o, resolveComponent as n, createBlock as u, openBlock as t, normalizeStyle as r, normalizeClass as a, withCtx as l, createElementBlock as s, createCommentVNode as c, Fragment as p, createTextVNode as g, toDisplayString as f, unref as v } from "vue";
2
+ import { SuperIcon as y } from "agilebuilder-ui";
3
+ import { caculateDetailComponentStyle as m, caculateComponentProps as d } from "../../../../utils/form-design-util.js";
4
+ import { batchUpdatePermissions as T } from "../../../../utils/page-permission-util.js";
5
+ const b = e({ __name: "extract-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
+ const b2 = e2;
7
+ b2.configure.runtime || (b2.configure.runtime = {});
8
+ const V = i({}), x = i(""), k = i({}), P = i({});
9
+ o(b2.configure.style, () => {
10
+ m(b2.configure, V, x, k), b2.configure.runtime.style = V.value, b2.configure.runtime.class = x.value, b2.configure.runtime.headerStyle = k.value;
11
+ }, { immediate: true });
12
+ const h = b2.configure.props && b2.configure.props.base ? b2.configure.props.base : {};
13
+ let j = h.title;
14
+ return o(b2.configure.props, (e3, i2) => {
15
+ var _a;
16
+ d(b2.configure, P), function() {
17
+ let e4 = b2.configure.props ? b2.configure.props : {};
18
+ const i3 = e4.base ? e4.base : {}, o2 = {};
19
+ i3.type && (o2.type = i3.type), i3.text && (o2.text = true), i3.plain && (o2.plain = true), i3.round && (o2.round = true), o2.isTextIcon = i3.isTextIcon, i3.iconType && i3.iconValue && (o2.iconType = i3.iconType, o2.iconValue = i3.iconValue, o2.iconPosition = i3.iconPosition), Object.assign(P.value, o2);
20
+ }(), h.title !== j && b2.pageDesign && (T(b2.configure, b2.pageDesign), j = h.title), ((_a = b2.configure.props) == null ? void 0 : _a.base) && (P.value.requireExtractTransactor = b2.configure.props.base.requireExtractTransactor, P.value.isMustOpinion = b2.configure.props.base.isMustOpinion), b2.configure.runtime.props = P.value;
21
+ }, { immediate: true }), (e3, i2) => {
22
+ const o2 = n("el-button");
23
+ return t(), u(o2, { class: a(x.value), style: r(V.value), type: P.value.type, size: P.value.size, round: P.value.round, plain: P.value.plain }, { default: l(() => [P.value.title && "right" == P.value.iconPosition ? (t(), s(p, { key: 0 }, [g(f(P.value.title) + " ", 1), P.value.iconValue ? (t(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true)], 64)) : c("", true), P.value.iconType && P.value.iconValue ? (t(), u(v(y), { key: 1, iconType: P.value.iconType, iconValue: P.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), P.value.title && "right" != P.value.iconPosition ? (t(), s(p, { key: 2 }, [P.value.iconValue ? (t(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true), g(" " + f(P.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["class", "style", "type", "size", "round", "plain"]);
24
+ };
25
+ } });
26
+ export {
27
+ b as default
28
+ };
@@ -1,14 +1,18 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as i, withCtx as t, createVNode as u, createElementVNode as n, createElementBlock as d, Fragment as s, renderList as p, unref as r, createTextVNode as c } from "vue";
2
- import { getFormComponentOptions as m } from "../../../../utils/assemblys-config.js";
3
- import f from "../../common/common-function-code.vue.js";
4
- import { Close as b, Check as g } from "@element-plus/icons-vue";
5
- const v = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { padding: "8px 0px 0px 0px" } }, _ = e({ __name: "workflowbutton-attr-base", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
6
- const _2 = e2, x = l([]);
7
- return _2.configure.props.base.showActivityName || false === _2.configure.props.base.showActivityName || (_2.configure.props.base.showActivityName = true), (l2, _3) => {
8
- const h = a("el-option"), y = a("el-select"), U = a("el-form-item"), w = a("el-input"), k = a("el-checkbox"), j = a("el-col"), z = a("el-row"), A = a("el-collapse-item"), N = a("el-switch"), O = a("el-radio"), q = a("el-radio-group"), B = a("el-input-number"), C = a("el-collapse"), D = a("el-form");
9
- return i(), o(D, { "label-width": "80px", size: "small" }, { default: t(() => [u(C, { modelValue: x.value, "onUpdate:modelValue": _3[7] || (_3[7] = (e3) => x.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(A, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", v, [u(U, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [u(y, { modelValue: e2.configure.name, "onUpdate:modelValue": _3[0] || (_3[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: t(() => [(i(true), d(s, null, p(r(m)(), (e3) => (i(), o(h, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(U, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [u(w, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _3[1] || (_3[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(U, { label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [u(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(U, { label: "按钮", class: "amb-design-attr-item" }, { default: t(() => [u(z, null, { default: t(() => [(i(true), d(s, null, p(e2.configure.items, (e3, l3) => (i(), o(j, { key: e3, span: 12 }, { default: t(() => [u(k, { modelValue: e3.check, "onUpdate:modelValue": (l4) => e3.check = l4, label: e3.label, value: true, disabled: e3.disabled }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 })])]), _: 1 }), u(A, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", V, [u(U, { label: "文字按钮", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": _3[2] || (_3[2] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": r(g), "inactive-icon": r(b) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(U, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": _3[3] || (_3[3] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": r(g), "inactive-icon": r(b) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(U, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": _3[4] || (_3[4] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": r(g), "inactive-icon": r(b) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(U, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [u(q, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _3[5] || (_3[5] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [u(O, { value: "large" }, { default: t(() => _3[8] || (_3[8] = [c("大")])), _: 1 }), u(O, { value: "default" }, { default: t(() => _3[9] || (_3[9] = [c("中")])), _: 1 }), u(O, { value: "small" }, { default: t(() => _3[10] || (_3[10] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(U, { label: "内容间距" }, { default: t(() => [u(B, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": _3[6] || (_3[6] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as i, withCtx as t, createVNode as n, createElementVNode as u, createElementBlock as s, Fragment as d, renderList as r, unref as c, createTextVNode as p } from "vue";
2
+ import { workflowStartBtn as m, workflowExtractBtn as f, getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
3
+ import g from "../../common/common-function-code.vue.js";
4
+ import { Close as v, Check as V } from "@element-plus/icons-vue";
5
+ const _ = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, h = e({ __name: "workflowbutton-attr-base", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
6
+ const h2 = e2, y = l(["base", "appearance"]);
7
+ h2.configure.props.base.showActivityName || false === h2.configure.props.base.showActivityName || (h2.configure.props.base.showActivityName = true), h2.configure.items[0].disabled && (h2.configure.items[0].disabled = false);
8
+ const U = h2.configure.items.filter((e3) => "起草" === e3.label);
9
+ U && 0 !== U.length || h2.configure.items.splice(1, 0, m);
10
+ const w = h2.configure.items.filter((e3) => "抽单" === e3.label);
11
+ return w && 0 !== w.length || h2.configure.items.push(...f), (l2, m2) => {
12
+ const f2 = a("el-option"), h3 = a("el-select"), U2 = a("el-form-item"), w2 = a("el-input"), k = a("el-checkbox"), j = a("el-col"), z = a("el-row"), A = a("el-collapse-item"), N = a("el-switch"), O = a("el-radio"), q = a("el-radio-group"), B = a("el-input-number"), C = a("el-collapse"), D = a("el-form");
13
+ return i(), o(D, { "label-width": "80px", size: "small" }, { default: t(() => [n(C, { modelValue: y.value, "onUpdate:modelValue": m2[7] || (m2[7] = (e3) => y.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [n(A, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [u("div", _, [n(U2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [n(h3, { modelValue: e2.configure.name, "onUpdate:modelValue": m2[0] || (m2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: t(() => [(i(true), s(d, null, r(c(b)(), (e3) => (i(), o(f2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(U2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [n(w2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": m2[1] || (m2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), n(U2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [n(g, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), n(U2, { label: "按钮", class: "amb-design-attr-item" }, { default: t(() => [n(z, null, { default: t(() => [(i(true), s(d, null, r(e2.configure.items, (e3, l3) => (i(), o(j, { key: e3, span: 12 }, { default: t(() => [n(k, { modelValue: e3.check, "onUpdate:modelValue": (l4) => e3.check = l4, label: e3.label, value: true, disabled: e3.disabled }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "disabled"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 })])]), _: 1 }), n(A, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: t(() => [u("div", x, [n(U2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: t(() => [n(N, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": m2[2] || (m2[2] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": c(V), "inactive-icon": c(v) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(U2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: t(() => [n(N, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": m2[3] || (m2[3] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(V), "inactive-icon": c(v) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(U2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: t(() => [n(N, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": m2[4] || (m2[4] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(V), "inactive-icon": c(v) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(U2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [n(q, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": m2[5] || (m2[5] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [n(O, { value: "large" }, { default: t(() => m2[8] || (m2[8] = [p("大")])), _: 1 }), n(O, { value: "default" }, { default: t(() => m2[9] || (m2[9] = [p("中")])), _: 1 }), n(O, { value: "small" }, { default: t(() => m2[10] || (m2[10] = [p("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(U2, { label: "内容间距" }, { default: t(() => [n(B, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": m2[6] || (m2[6] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
10
14
  };
11
15
  } });
12
16
  export {
13
- _ as default
17
+ h as default
14
18
  };
@@ -23,8 +23,8 @@ import "../../../../../stores/event-undo-redo-store.js";
23
23
  import "../../../utils/eventBus.js";
24
24
  import z from "./components/quick-add-dialog.vue.js";
25
25
  import M from "./components/i18n-setting.vue.js";
26
- import { setTableRuntimesFromConfigure as R } from "../../../utils/page-table-util.js";
27
- import K from "agilebuilder-ui/src/utils/request";
26
+ import { setTableRuntimesFromConfigure as K } from "../../../utils/page-table-util.js";
27
+ import R from "agilebuilder-ui/src/utils/request";
28
28
  import { copyHandleEvents as q, deleteDesignItem as V } from "../../../utils/page-design-util.js";
29
29
  import { setHomeChartRuntimesFromConfigure as B } from "../../../utils/home-chart-util.js";
30
30
  import { getFormPropTitleMap as F } from "../../../utils/form-design-util.js";
@@ -75,25 +75,15 @@ const L = { class: "amb-design-content-center-header" }, I = { class: "amb-desig
75
75
  const e3 = JSON.parse(JSON.stringify(X.configure));
76
76
  e3.tableRuntimes = {}, e3.currentTableConfig = {}, function(e4) {
77
77
  "form" === e4.pageType && e4.items ? (e4.formPropTiltleMap = F(e4), X.configure.formPropTiltleMap = e4.formPropTiltleMap) : (delete e4.formPropLabelMap, delete X.configure.formPropLabelMap);
78
- if (e4.tableUuids) {
79
- const i2 = {};
80
- e4.tableUuids = e4.tableUuids.filter((n2) => {
81
- const t2 = E(e4, n2);
82
- if (t2) {
83
- if (R(t2, e4), e4.tableRuntimes && e4.tableRuntimes[n2]) {
84
- const l2 = e4.tableRuntimes[n2];
85
- l2.code && (t2.code ? i2[l2.code] = t2.code : i2[l2.code] = l2.code);
86
- }
87
- return true;
88
- }
89
- return false;
90
- }), e4.listCodesMap = i2;
91
- }
78
+ e4.tableUuids && (e4.tableUuids = e4.tableUuids.filter((i2) => {
79
+ const n2 = E(e4, i2);
80
+ return !!n2 && (K(n2, e4), true);
81
+ }));
92
82
  e4.homepageChartUuids && (e4.homepageChartUuids = e4.homepageChartUuids.filter((i2) => {
93
83
  let n2 = E(e4, i2);
94
84
  return !!n2 && (n2 = JSON.parse(JSON.stringify(n2)), B(n2, e4), true);
95
85
  }));
96
- }(e3), K.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/save", { id: X.configure.id, designJson: JSON.stringify(e3) }).then((e4) => {
86
+ }(e3), R.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/save", { id: X.configure.id, designJson: JSON.stringify(e3) }).then((e4) => {
97
87
  P({ message: "保存成功", type: "success" });
98
88
  }).catch((e4) => {
99
89
  P({ message: "保存失败", type: "error" });
@@ -140,7 +130,7 @@ const L = { class: "amb-design-content-center-header" }, I = { class: "amb-desig
140
130
  const e5 = JSON.parse(JSON.stringify(X.configure));
141
131
  e5.tableRuntimes = {}, e5.tableUuids && e5.tableUuids.forEach((i3) => {
142
132
  const n3 = E(e5, i3);
143
- n3 && R(n3, e5);
133
+ n3 && K(n3, e5);
144
134
  }), ne.value = e5, be.value = true;
145
135
  }()) }, [f(n2, { size: 18 }, { default: b(() => [f(y(T))]), _: 1 }), i2[12] || (i2[12] = m("label", null, "预览", -1))])])])]), f(o2, { height: "100%" }, { default: b(() => [d(m("div", { class: v(["amb-design-board amb-design-board-main", oe.value]), ref_key: "pageDesignBoardMain", ref: de, style: j(re.value), onClick: ce }, [(u(true), a(c, null, C(y(ie), (i3, n3) => (u(), g(x, { key: i3.uuid, indexObj: te, configure: i3, pageDesign: e3.configure, selectWidget: e3.selectWidget, onOnSelectWidget: me, onOnCustomAttrWidget: ge, onOnCopy: pe, onOnDelete: fe }, null, 8, ["indexObj", "configure", "pageDesign", "selectWidget"]))), 128))], 6), [[h, "assembly" === e3.selAsselbyType]])]), _: 1 })], 512), be.value ? (u(), g(J, { key: 0, pageDesign: ne.value, modelValue: be.value, "onUpdate:modelValue": i2[7] || (i2[7] = (e4) => be.value = e4), onClose: i2[8] || (i2[8] = (e4) => be.value = false) }, null, 8, ["pageDesign", "modelValue"])) : p("", true), f(z, { ref_key: "quickAddDialogRef", ref: Y, pageDesign: e3.configure }, null, 8, ["pageDesign"]), f(M, { ref_key: "i18nSettingRef", ref: Z, pageDesign: e3.configure }, null, 8, ["pageDesign"])], 64);
146
136
  };
package/dist/es/style.css CHANGED
@@ -830,7 +830,7 @@ fieldset.amb-design-item-selected {
830
830
  content: "\e605";
831
831
  }
832
832
 
833
- .amb-object-design-ref[data-v-62a28ffa] .el-table td.el-table__cell > .cell {
833
+ .amb-object-design-ref[data-v-3c3cc623] .el-table td.el-table__cell > .cell {
834
834
  padding-left: 2px;
835
835
  padding-right: 2px;
836
836
  }.runtime-page-container[data-v-f796b484] {
@@ -1056,6 +1056,18 @@ fieldset.amb-design-item-selected {
1056
1056
  flex: auto;
1057
1057
  }
1058
1058
  }
1059
+ .el-icon[data-v-ba9847b9] {
1060
+ cursor: pointer;
1061
+ }
1062
+ .bind-variable-item[data-v-ba9847b9] {
1063
+ display: flex;
1064
+ align-items: center;
1065
+ gap: 4px;
1066
+ }
1067
+ .bind-variable-item-more[data-v-ba9847b9] {
1068
+ margin-top: 4px;
1069
+ }
1070
+
1059
1071
  .amb-design-attr-header[data-v-226997f7] {
1060
1072
  position: sticky;
1061
1073
  position: -webkit-sticky;
@@ -18745,7 +18757,7 @@ li[data-v-21af26bc] {
18745
18757
  border: 1px solid rgba(88, 147, 239);
18746
18758
  }
18747
18759
 
18748
- .el-radio[data-v-5f08d7b1] {
18760
+ .el-radio[data-v-b223cd1a] {
18749
18761
  margin-right: 10px;
18750
18762
  }
18751
18763
 
@@ -20142,4 +20154,7 @@ fieldset.amb-design-item-selected {
20142
20154
  }
20143
20155
  .amb-design-board-main .el-tabs .amb-design-item-default.el-tabs--top {
20144
20156
  flex-direction: column-reverse;
20145
- }
20157
+ }
20158
+ .el-tag[data-v-9fd9567f]{
20159
+ margin-left: 10px;
20160
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.3.13-sit1-design1",
3
+ "version": "2.3.14-sit1-design1",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -29,7 +29,7 @@
29
29
  "@vitejs/plugin-vue": "^5.0.4",
30
30
  "@vueuse/core": "^10.9.0",
31
31
  "agilebuilder-private-libs": "1.0.26",
32
- "agilebuilder-ui": "1.1.52-sit1",
32
+ "agilebuilder-ui": "1.1.54-sit1",
33
33
  "echarts": "^5.5.0",
34
34
  "element-plus": "^2.6.1",
35
35
  "font-awesome": "^4.7.0",
@@ -41,7 +41,7 @@
41
41
  "qrcode": "^1.5.3",
42
42
  "quill": "^2.0.1",
43
43
  "service-flow-designer": "2.3.12-flow1",
44
- "super-page-runtime": "2.3.13-sit1",
44
+ "super-page-runtime": "2.3.14-sit1",
45
45
  "uuid": "^9.0.1",
46
46
  "vite": "^5.1.6",
47
47
  "vite-plugin-node-stdlib-browser": "^0.2.1",
@@ -52,7 +52,7 @@
52
52
  "vue-echarts": "^6.6.9",
53
53
  "vue-router": "^4.3.0",
54
54
  "vuex": "^4.1.0",
55
- "workflow-editor": "0.0.71-up"
55
+ "workflow-editor": "0.0.74-up"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@codemirror/autocomplete": "^6.16.0",