super-page-designer 2.3.13-sit4-design1 → 2.3.14-sit1-design2

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 (41) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +66 -56
  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-base.vue.js +5 -5
  13. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +16 -18
  14. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +14 -16
  15. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +21 -21
  16. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +11 -11
  17. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +25 -27
  18. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +16 -18
  19. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +15 -17
  20. package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
  21. package/dist/es/components/design/views/assemblys/object-design.vue3.js +87 -97
  22. package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +37 -37
  23. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +28 -0
  24. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue2.js +4 -0
  25. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue.js +7 -0
  26. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +33 -0
  27. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +28 -0
  28. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue2.js +4 -0
  29. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +68 -0
  30. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue2.js +4 -0
  31. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue.js +14 -0
  32. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue2.js +4 -0
  33. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue.js +4 -0
  34. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue2.js +15 -0
  35. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue.js +4 -0
  36. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue2.js +28 -0
  37. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +13 -11
  38. package/dist/es/components/design/views/design/view/view-design-display.vue.js +8 -18
  39. package/dist/es/style.css +18 -3
  40. package/package.json +4 -4
  41. /package/dist/es/components/design/views/assemblys/button/component/{journal-set-dialog.vue2.js → journal-set-dialog.vue3.js} +0 -0
@@ -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,16 +1,18 @@
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, getFormComponentOptions as f } from "../../../../utils/assemblys-config.js";
3
- import b from "../../common/common-function-code.vue.js";
4
- import { Close as g, Check as v } from "@element-plus/icons-vue";
5
- const V = { style: { padding: "8px 0px 0px 0px" } }, _ = { style: { padding: "8px 0px 0px 0px" } }, x = e({ __name: "workflowbutton-attr-base", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
6
- const x2 = e2, h = l(["base", "appearance"]);
7
- x2.configure.props.base.showActivityName || false === x2.configure.props.base.showActivityName || (x2.configure.props.base.showActivityName = true), x2.configure.items[0].disabled && (x2.configure.items[0].disabled = false);
8
- const y = x2.configure.items.filter((e3) => "起草" === e3.label);
9
- return y && 0 !== y.length || x2.configure.items.splice(1, 0, m), (l2, m2) => {
10
- const x3 = a("el-option"), y2 = 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");
11
- return i(), o(D, { "label-width": "80px", size: "small" }, { default: t(() => [n(C, { modelValue: h.value, "onUpdate:modelValue": m2[7] || (m2[7] = (e3) => h.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [n(A, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [u("div", V, [n(U, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [n(y2, { 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(f)(), (e3) => (i(), o(x3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(U, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [n(w, { 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(U, { label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [n(b, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), n(U, { 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", _, [n(U, { 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(g) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(U, { 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(g) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(U, { 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(g) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(U, { 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(U, { 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 });
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 });
12
14
  };
13
15
  } });
14
16
  export {
15
- x as default
17
+ h as default
16
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-sit4-design1",
3
+ "version": "2.3.14-sit1-design2",
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-sit4",
32
+ "agilebuilder-ui": "1.1.54-sit2",
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-sit4",
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.73-up"
55
+ "workflow-editor": "0.0.74-up"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@codemirror/autocomplete": "^6.16.0",