super-page-designer 2.3.12-rc1-design1 → 2.3.12-rc3-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 (25) hide show
  1. package/dist/es/components/design/utils/page-table-util.js +82 -54
  2. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +32 -31
  3. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +3 -3
  4. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +23 -30
  5. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +21 -20
  6. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +5 -91
  7. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +99 -2
  8. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +1 -1
  9. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +5 -5
  10. package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +24 -0
  11. package/dist/es/components/design/views/assemblys/common/common-watermark.vue2.js +4 -0
  12. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +11 -76
  13. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +44 -42
  14. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +23 -20
  15. package/dist/es/components/design/views/assemblys/data/component/table-column-format.vue.js +19 -0
  16. package/dist/es/components/design/views/assemblys/data/component/table-column-format.vue2.js +4 -0
  17. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +3 -3
  18. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +72 -75
  19. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +10 -10
  20. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-advanced.vue.js +9 -8
  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 +1 -1
  23. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +52 -52
  24. package/dist/es/style.css +16 -12
  25. package/package.json +4 -4
@@ -1,83 +1,83 @@
1
- import { defineComponent as e, ref as o, resolveComponent as l, createBlock as a, openBlock as r, withCtx as n, createVNode as t, createCommentVNode as i, createElementVNode as u, createTextVNode as s, toDisplayString as f, createElementBlock as p, Fragment as c, renderList as d, unref as g } from "vue";
2
- import { Search as m, Close as b, Setting as y } from "@element-plus/icons";
3
- import k from "../common/common-select-table.vue.js";
4
- import w from "./variable-dialog.vue.js";
5
- import x from "./create-workflow-dialog.vue.js";
6
- import { queryTableFields as v, changeFeieldToMap as V } from "../../../utils/page-table-util.js";
7
- import { usePageContextStore as _ } from "../../../../../stores/page-store.js";
8
- import { queryWorkflowsRequest as C, createWorkflowRequest as h } from "../../../utils/page-design-util.js";
9
- import { ElMessageBox as W } from "element-plus";
10
- const S = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8px 0px 0px 0px" } }, U = { style: { padding: "8px 0px 0px 0px" } }, F = { key: 0 }, N = { style: { float: "left" } }, D = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, j = e({ __name: "page-attr-base", props: { configure: {} }, setup(e2) {
11
- const j2 = _(), z = e2, A = { children: "children", label: "label" }, I = o([]);
12
- I.value = Z(z.configure.variables);
13
- const O = o([2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24]), B = o(["1", "2", "3"]), G = o(null), J = o(null), M = o([]), P = z.configure.props.linkWorkflowCode ? z.configure.props.linkWorkflowCode : null, q = o(P), E = o(false), H = o(z.configure.props.activeWorkflow);
14
- function K(e3) {
15
- q.value = e3, e3 && e3.indexOf(":") > 0 ? (z.configure.props.linkWorkflowCode = e3.substring(0, e3.lastIndexOf(":")), z.configure.props.linkWorkflowVersion = parseInt(e3.substring(e3.lastIndexOf(":") + 1))) : (z.configure.props.linkWorkflowCode = e3, z.configure.props.linkWorkflowVersion = 1), z.configure.workflowCode = z.configure.props.linkWorkflowCode, z.configure.workflowVersion = z.configure.props.linkWorkflowVersion;
16
- }
17
- function L() {
18
- G.value.openDialog();
1
+ import { defineComponent as e, ref as o, resolveComponent as l, createBlock as a, openBlock as r, withCtx as n, createVNode as t, createCommentVNode as i, createElementVNode as u, createTextVNode as s, toDisplayString as f, createElementBlock as p, Fragment as c, renderList as d, unref as g, withModifiers as m } from "vue";
2
+ import { Search as b, Close as y, Setting as k } from "@element-plus/icons";
3
+ import w from "../common/common-select-table.vue.js";
4
+ import x from "./variable-dialog.vue.js";
5
+ import v from "./create-workflow-dialog.vue.js";
6
+ import { queryTableFields as V, changeFeieldToMap as _ } from "../../../utils/page-table-util.js";
7
+ import { usePageContextStore as C } from "../../../../../stores/page-store.js";
8
+ import { queryWorkflowsRequest as h, createWorkflowRequest as W } from "../../../utils/page-design-util.js";
9
+ import { ElMessageBox as S } from "element-plus";
10
+ const T = { style: { padding: "8px 0px 0px 0px" } }, U = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { padding: "8px 0px 0px 0px" } }, N = { key: 0 }, D = { style: { float: "left" } }, j = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, z = e({ __name: "page-attr-base", props: { configure: {} }, setup(e2) {
11
+ const z2 = C(), A = e2, I = { children: "children", label: "label" }, O = o([]);
12
+ O.value = $(A.configure.variables);
13
+ const B = o([2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24]), G = o(["1", "2", "3"]), J = o(null), M = o(null), P = o([]), q = A.configure.props.linkWorkflowCode ? A.configure.props.linkWorkflowCode : null, E = o(q), H = o(false), K = o(A.configure.props.activeWorkflow);
14
+ function L(e3) {
15
+ E.value = e3, e3 && e3.indexOf(":") > 0 ? (A.configure.props.linkWorkflowCode = e3.substring(0, e3.lastIndexOf(":")), A.configure.props.linkWorkflowVersion = parseInt(e3.substring(e3.lastIndexOf(":") + 1))) : (A.configure.props.linkWorkflowCode = e3, A.configure.props.linkWorkflowVersion = 1), A.configure.workflowCode = A.configure.props.linkWorkflowCode, A.configure.workflowVersion = A.configure.props.linkWorkflowVersion;
19
16
  }
20
17
  function Q() {
21
- z.configure.tableAlias = "", z.configure.tableName = "", z.configure.modelFields = [];
18
+ J.value.openDialog();
19
+ }
20
+ function R() {
21
+ A.configure.tableAlias = "", A.configure.tableName = "", A.configure.modelFields = [];
22
22
  }
23
- function R(e3) {
24
- let o2 = z.configure.tableSysCode ? z.configure.tableSysCode : "";
25
- o2 += "_", o2 += z.configure.tableSysVersion ? z.configure.tableSysVersion : "", o2 += "_", o2 += z.configure.tableName ? z.configure.tableName : "";
23
+ function X(e3) {
24
+ let o2 = A.configure.tableSysCode ? A.configure.tableSysCode : "";
25
+ o2 += "_", o2 += A.configure.tableSysVersion ? A.configure.tableSysVersion : "", o2 += "_", o2 += A.configure.tableName ? A.configure.tableName : "";
26
26
  let l2 = e3.systemCode ? e3.systemCode : "";
27
27
  if (l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != o2) {
28
- z.configure.tableSysCode = e3.systemCode, z.configure.tableSysVersion = e3.systemVersion, z.configure.tableName = e3.name, z.configure.tableAlias = e3.alias;
29
- const o3 = e3.systemCode ? e3.systemCode : z.configure.systemCode, l3 = e3.systemVersion ? e3.systemVersion : z.configure.systemVersion;
30
- v(o3, l3, e3.name).then((e4) => {
31
- z.configure.modelFields = e4, z.configure.modelFieldsMap = V(z.configure.modelFieldsMap, e4), j2.setPageContext(z.configure);
28
+ A.configure.tableSysCode = e3.systemCode, A.configure.tableSysVersion = e3.systemVersion, A.configure.tableName = e3.name, A.configure.tableAlias = e3.alias;
29
+ const o3 = e3.systemCode ? e3.systemCode : A.configure.systemCode, l3 = e3.systemVersion ? e3.systemVersion : A.configure.systemVersion;
30
+ V(o3, l3, e3.name).then((e4) => {
31
+ A.configure.modelFields = e4, A.configure.modelFieldsMap = _(A.configure.modelFieldsMap, e4), z2.setPageContext(A.configure);
32
32
  });
33
33
  }
34
34
  }
35
- function X() {
36
- J.value.openDialog();
37
- }
38
35
  function Y() {
39
- I.value = Z(z.configure.variables), j2.setPageContext(z.configure);
36
+ M.value.openDialog();
40
37
  }
41
- function Z(e3) {
42
- const o2 = $(e3);
43
- return o2 || [{ label: "无自定义" }];
38
+ function Z() {
39
+ O.value = $(A.configure.variables), z2.setPageContext(A.configure);
44
40
  }
45
41
  function $(e3) {
42
+ const o2 = ee(e3);
43
+ return o2 || [{ label: "无自定义" }];
44
+ }
45
+ function ee(e3) {
46
46
  if (null == e3 || 0 == e3.length) return null;
47
47
  {
48
48
  const o2 = [];
49
49
  for (let l2 of e3) {
50
- const e4 = { label: l2.name + (l2.alias ? "(" + l2.alias + ")" : "") }, a2 = $(l2.items);
50
+ const e4 = { label: l2.name + (l2.alias ? "(" + l2.alias + ")" : "") }, a2 = ee(l2.items);
51
51
  a2 && (e4.children = a2), o2.push(e4);
52
52
  }
53
53
  return o2;
54
54
  }
55
55
  }
56
- function ee(e3) {
57
- e3 && "link" === e3 && C(z.configure.tableName, z.configure.systemCode, z.configure.systemVersion).then((e4) => {
58
- M.value = e4;
56
+ function oe(e3) {
57
+ e3 && "link" === e3 && h(A.configure.tableName, A.configure.systemCode, A.configure.systemVersion).then((e4) => {
58
+ P.value = e4;
59
59
  });
60
60
  }
61
- function oe() {
62
- E.value = true;
63
- }
64
- function le(e3) {
65
- e3 ? h(z.configure.tableName, z.configure.systemCode, z.configure.systemVersion, e3.code, e3.name).then((e4) => {
66
- e4 && (z.configure.props.createWorkflowCode = e4.code, z.configure.props.createWorkflowName = e4.name, z.configure.workflowCode = z.configure.props.createWorkflowCode, z.configure.workflowVersion = e4.definitionVersion), E.value = false;
67
- }) : E.value = false;
61
+ function le() {
62
+ H.value = true;
68
63
  }
69
64
  function ae(e3) {
70
- H.value ? W.confirm("开启流程后所有字段的必填验证配置会被取消,以流程图设置中的为准,确定开启吗?", "提示", { confirmButtonText: "确认", cancelButtonText: "取消", type: "warning" }).then(() => {
71
- z.configure.props.activeWorkflow = true;
65
+ e3 ? W(A.configure.tableName, A.configure.systemCode, A.configure.systemVersion, e3.code, e3.name).then((e4) => {
66
+ e4 && (A.configure.props.createWorkflowCode = e4.code, A.configure.props.createWorkflowName = e4.name, A.configure.workflowCode = A.configure.props.createWorkflowCode, A.configure.workflowVersion = e4.definitionVersion), H.value = false;
67
+ }) : H.value = false;
68
+ }
69
+ function re(e3) {
70
+ K.value ? S.confirm("开启流程后所有字段的必填验证配置会被取消,以流程图设置中的为准,确定开启吗?", "提示", { confirmButtonText: "确认", cancelButtonText: "取消", type: "warning" }).then(() => {
71
+ A.configure.props.activeWorkflow = true;
72
72
  }).catch((e4) => {
73
- H.value = false, z.configure.props.activeWorkflow = false;
74
- }) : z.configure.props.activeWorkflow = false;
73
+ K.value = false, A.configure.props.activeWorkflow = false;
74
+ }) : A.configure.props.activeWorkflow = false;
75
75
  }
76
- return ee(z.configure.props ? z.configure.props.workflowSource : null), (e3, o2) => {
77
- const v2 = l("el-text"), V2 = l("el-form-item"), _2 = l("el-input"), C2 = l("el-radio-button"), h2 = l("el-radio-group"), W2 = l("el-switch"), j3 = l("el-option"), P2 = l("el-select"), Z2 = l("el-collapse-item"), $2 = l("el-button"), re = l("el-tree"), ne = l("el-form"), te = l("el-radio"), ie = l("el-collapse");
78
- return r(), a(ne, { "label-width": "80px", size: "small" }, { default: n(() => [t(ie, { modelValue: B.value, "onUpdate:modelValue": o2[9] || (o2[9] = (e4) => B.value = e4), style: { "margin-top": "6px" } }, { default: n(() => [t(Z2, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", S, [t(V2, { label: "编码" }, { default: n(() => [t(v2, null, { default: n(() => [s(f(e3.configure.code), 1)]), _: 1 })]), _: 1 }), t(V2, { label: "名称", style: { "margin-top": "-10px" } }, { default: n(() => [t(_2, { modelValue: e3.configure.label, "onUpdate:modelValue": o2[0] || (o2[0] = (o3) => e3.configure.label = o3) }, null, 8, ["modelValue"])]), _: 1 }), t(V2, { label: "页面类型", style: { "margin-top": "-10px" } }, { default: n(() => [t(h2, { modelValue: e3.configure.pageType, "onUpdate:modelValue": o2[1] || (o2[1] = (o3) => e3.configure.pageType = o3) }, { default: n(() => [t(C2, { value: "form" }, { default: n(() => o2[10] || (o2[10] = [s("表单")])), _: 1 }), t(C2, { value: "list" }, { default: n(() => o2[11] || (o2[11] = [s("台帐")])), _: 1 }), t(C2, { value: "other" }, { default: n(() => o2[12] || (o2[12] = [s("其他")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(V2, { label: "Flex布局", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.props.isFlex, "onUpdate:modelValue": o2[2] || (o2[2] = (o3) => e3.configure.props.isFlex = o3) }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.isFlex ? (r(), a(V2, { key: 0, label: "水平对齐", style: { "margin-top": "18px", "margin-bottom": "-15px" } }, { default: n(() => [t(P2, { modelValue: e3.configure.props.flexJustify, "onUpdate:modelValue": o2[3] || (o2[3] = (o3) => e3.configure.props.flexJustify = o3), placeholder: "默认", clearable: "" }, { default: n(() => [t(j3, { label: "start", value: "start" }), t(j3, { label: "center", value: "center" }), t(j3, { label: "space-between", value: "space-between" }), t(j3, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), "2" == e3.configure.props.isFlex ? (r(), a(V2, { key: 1, label: "分栏间隔", style: { "margin-bottom": "-15px", "margin-top": "-10px" } }, { default: n(() => [t(P2, { modelValue: e3.configure.props.flexGutter, "onUpdate:modelValue": o2[4] || (o2[4] = (o3) => e3.configure.props.flexGutter = o3), placeholder: "默认", clearable: "" }, { default: n(() => [(r(true), p(c, null, d(O.value, (e4) => (r(), a(j3, { label: e4, value: e4 }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true)])]), _: 1 }), t(Z2, { title: "页面变量", name: "3", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", T, [e3.configure.pageType && "form" != e3.configure.pageType ? i("", true) : (r(), a(V2, { key: 0, label: "数据模型", class: "amb-design-attr-item" }, { default: n(() => [t(_2, { modelValue: e3.configure.tableAlias, "onUpdate:modelValue": o2[5] || (o2[5] = (o3) => e3.configure.tableAlias = o3), title: e3.configure.tableAlias, clearable: "", readonly: "true" }, { append: n(() => [t($2, { type: "default", icon: g(m), onClick: L, size: "small" }, null, 8, ["icon"]), t($2, { type: "default", icon: g(b), onClick: Q, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })), t(ne, { "label-position": "top", size: "small" }, { default: n(() => [t(V2, { "label-position": "top", class: "amb-design-attr-item" }, { label: n(() => [o2[13] || (o2[13] = s("   自定义变量 ")), t($2, { type: "primary", round: "", icon: g(y), onClick: X, size: "small" }, null, 8, ["icon"])]), default: n(() => [t(re, { style: { border: "1px solid #f5f6f8", padding: "10px", width: "100%", "min-height": "100px" }, data: I.value, props: A, "default-expand-all": "", "expand-on-click-node": false }, null, 8, ["data"])]), _: 1 })]), _: 1 })])]), _: 1 }), e3.configure.pageType && "form" != e3.configure.pageType || !z.configure.tableName ? i("", true) : (r(), a(Z2, { key: 0, title: "工作流", name: "2", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", U, [t(V2, { label: "启用", style: { "margin-bottom": "-14px" } }, { default: n(() => [t(W2, { modelValue: H.value, "onUpdate:modelValue": o2[6] || (o2[6] = (e4) => H.value = e4), onChange: ae }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.activeWorkflow ? (r(), a(V2, { key: 0, label: "流程来源", style: { "margin-top": "14px", "margin-bottom": "-15px" } }, { default: n(() => [t(h2, { modelValue: e3.configure.props.workflowSource, "onUpdate:modelValue": o2[7] || (o2[7] = (o3) => e3.configure.props.workflowSource = o3), onChange: ee }, { default: n(() => [t(te, { value: "link" }, { default: n(() => o2[14] || (o2[14] = [s("选择引用")])), _: 1 }), t(te, { value: "create" }, { default: n(() => o2[15] || (o2[15] = [s("新增流程")])), _: 1 }), e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), p("span", F, [t($2, { type: "default", onClick: oe }, { default: n(() => o2[16] || (o2[16] = [s("新增")])), _: 1 })])) : i("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(V2, { key: 1, label: "选择引用", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [t(P2, { modelValue: q.value, "onUpdate:modelValue": o2[8] || (o2[8] = (e4) => q.value = e4), onChange: K }, { default: n(() => [(r(true), p(c, null, d(M.value, (e4) => (r(), a(j3, { key: e4.code, label: e4.name, value: e4.code }, { default: n(() => [u("span", N, f(e4.name), 1), u("span", D, f(e4.code), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(V2, { key: 2, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.linkWorkflowCode), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(V2, { key: 3, label: "流程名称", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowName), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(V2, { key: 4, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowCode), 1)]), _: 1 })) : i("", true)])]), _: 1 }))]), _: 1 }, 8, ["modelValue"]), t(k, { ref_key: "selectTableDialog", ref: G, onSelectTable: R, systemCode: e3.configure.systemCode, systemVersion: e3.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"]), t(w, { ref_key: "refVariableDialog", ref: J, pageDesign: e3.configure, onClose: Y }, null, 8, ["pageDesign"]), E.value ? (r(), a(x, { key: 0, pageDesign: e3.configure, onClose: le }, null, 8, ["pageDesign"])) : i("", true)]), _: 1 });
76
+ return oe(A.configure.props ? A.configure.props.workflowSource : null), (e3, o2) => {
77
+ const V2 = l("el-text"), _2 = l("el-form-item"), C2 = l("el-input"), h2 = l("el-radio-button"), W2 = l("el-radio-group"), S2 = l("el-switch"), z3 = l("el-option"), q2 = l("el-select"), $2 = l("el-collapse-item"), ee2 = l("el-button"), ne = l("el-tree"), te = l("el-form"), ie = l("el-radio"), ue = l("el-collapse");
78
+ return r(), a(te, { "label-width": "80px", size: "small" }, { default: n(() => [t(ue, { modelValue: G.value, "onUpdate:modelValue": o2[9] || (o2[9] = (e4) => G.value = e4), style: { "margin-top": "6px" } }, { default: n(() => [t($2, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", T, [t(_2, { label: "编码" }, { default: n(() => [t(V2, null, { default: n(() => [s(f(e3.configure.code), 1)]), _: 1 })]), _: 1 }), t(_2, { label: "名称", style: { "margin-top": "-10px" } }, { default: n(() => [t(C2, { modelValue: e3.configure.label, "onUpdate:modelValue": o2[0] || (o2[0] = (o3) => e3.configure.label = o3) }, null, 8, ["modelValue"])]), _: 1 }), t(_2, { label: "页面类型", style: { "margin-top": "-10px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.pageType, "onUpdate:modelValue": o2[1] || (o2[1] = (o3) => e3.configure.pageType = o3) }, { default: n(() => [t(h2, { value: "form" }, { default: n(() => o2[10] || (o2[10] = [s("表单")])), _: 1 }), t(h2, { value: "list" }, { default: n(() => o2[11] || (o2[11] = [s("台帐")])), _: 1 }), t(h2, { value: "other" }, { default: n(() => o2[12] || (o2[12] = [s("其他")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_2, { label: "Flex布局", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [t(S2, { modelValue: e3.configure.props.isFlex, "onUpdate:modelValue": o2[2] || (o2[2] = (o3) => e3.configure.props.isFlex = o3) }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.isFlex ? (r(), a(_2, { key: 0, label: "水平对齐", style: { "margin-top": "18px", "margin-bottom": "-15px" } }, { default: n(() => [t(q2, { modelValue: e3.configure.props.flexJustify, "onUpdate:modelValue": o2[3] || (o2[3] = (o3) => e3.configure.props.flexJustify = o3), placeholder: "默认", clearable: "" }, { default: n(() => [t(z3, { label: "start", value: "start" }), t(z3, { label: "center", value: "center" }), t(z3, { label: "space-between", value: "space-between" }), t(z3, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), "2" == e3.configure.props.isFlex ? (r(), a(_2, { key: 1, label: "分栏间隔", style: { "margin-bottom": "-15px", "margin-top": "-10px" } }, { default: n(() => [t(q2, { modelValue: e3.configure.props.flexGutter, "onUpdate:modelValue": o2[4] || (o2[4] = (o3) => e3.configure.props.flexGutter = o3), placeholder: "默认", clearable: "" }, { default: n(() => [(r(true), p(c, null, d(B.value, (e4) => (r(), a(z3, { label: e4, value: e4 }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true)])]), _: 1 }), t($2, { title: "页面变量", name: "3", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", U, [e3.configure.pageType && "form" != e3.configure.pageType ? i("", true) : (r(), a(_2, { key: 0, label: "数据模型", class: "amb-design-attr-item" }, { default: n(() => [t(C2, { modelValue: e3.configure.tableAlias, "onUpdate:modelValue": o2[5] || (o2[5] = (o3) => e3.configure.tableAlias = o3), onClick: Q, title: e3.configure.tableAlias, clearable: "", readonly: "true" }, { append: n(() => [t(ee2, { type: "default", icon: g(b), onClick: Q, size: "small" }, null, 8, ["icon"]), t(ee2, { style: { "margin-left": "5px" }, type: "default", icon: g(y), onClick: m(R, ["stop"]), title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 })), t(te, { "label-position": "top", size: "small" }, { default: n(() => [t(_2, { "label-position": "top", class: "amb-design-attr-item" }, { label: n(() => [o2[13] || (o2[13] = s("   自定义变量 ")), t(ee2, { type: "primary", round: "", icon: g(k), onClick: Y, size: "small" }, null, 8, ["icon"])]), default: n(() => [t(ne, { style: { border: "1px solid #f5f6f8", padding: "10px", width: "100%", "min-height": "100px" }, data: O.value, props: I, "default-expand-all": "", "expand-on-click-node": false }, null, 8, ["data"])]), _: 1 })]), _: 1 })])]), _: 1 }), e3.configure.pageType && "form" != e3.configure.pageType || !A.configure.tableName ? i("", true) : (r(), a($2, { key: 0, title: "工作流", name: "2", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", F, [t(_2, { label: "启用", style: { "margin-bottom": "-14px" } }, { default: n(() => [t(S2, { modelValue: K.value, "onUpdate:modelValue": o2[6] || (o2[6] = (e4) => K.value = e4), onChange: re }, null, 8, ["modelValue"])]), _: 1 }), e3.configure.props.activeWorkflow ? (r(), a(_2, { key: 0, label: "流程来源", style: { "margin-top": "14px", "margin-bottom": "-15px" } }, { default: n(() => [t(W2, { modelValue: e3.configure.props.workflowSource, "onUpdate:modelValue": o2[7] || (o2[7] = (o3) => e3.configure.props.workflowSource = o3), onChange: oe }, { default: n(() => [t(ie, { value: "link" }, { default: n(() => o2[14] || (o2[14] = [s("选择引用")])), _: 1 }), t(ie, { value: "create" }, { default: n(() => o2[15] || (o2[15] = [s("新增流程")])), _: 1 }), e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), p("span", N, [t(ee2, { type: "default", onClick: le }, { default: n(() => o2[16] || (o2[16] = [s("新增")])), _: 1 })])) : i("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 1, label: "选择引用", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [t(q2, { modelValue: E.value, "onUpdate:modelValue": o2[8] || (o2[8] = (e4) => E.value = e4), onChange: L }, { default: n(() => [(r(true), p(c, null, d(P.value, (e4) => (r(), a(z3, { key: e4.code, label: e4.name, value: e4.code }, { default: n(() => [u("span", D, f(e4.name), 1), u("span", j, f(e4.code), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "link" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 2, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.linkWorkflowCode), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 3, label: "流程名称", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowName), 1)]), _: 1 })) : i("", true), e3.configure.props.activeWorkflow && e3.configure.props.workflowSource && "create" === e3.configure.props.workflowSource ? (r(), a(_2, { key: 4, label: "流程编码", style: { "margin-top": "18px", "margin-bottom": "-12px" } }, { default: n(() => [s(f(e3.configure.props.createWorkflowCode), 1)]), _: 1 })) : i("", true)])]), _: 1 }))]), _: 1 }, 8, ["modelValue"]), t(w, { ref_key: "selectTableDialog", ref: J, onSelectTable: X, systemCode: e3.configure.systemCode, systemVersion: e3.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"]), t(x, { ref_key: "refVariableDialog", ref: M, pageDesign: e3.configure, onClose: Z }, null, 8, ["pageDesign"]), H.value ? (r(), a(v, { key: 0, pageDesign: e3.configure, onClose: ae }, null, 8, ["pageDesign"])) : i("", true)]), _: 1 });
79
79
  };
80
80
  } });
81
81
  export {
82
- j as default
82
+ z as default
83
83
  };
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-3ebfab9d] .el-table td.el-table__cell > .cell {
833
+ .amb-object-design-ref[data-v-62a28ffa] .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] {
@@ -930,25 +930,25 @@ fieldset.amb-design-item-selected {
930
930
  }
931
931
  ._amb-page-container_1k9lg_1 ._amb-page-container-header_1k9lg_6 ~ ._amb-page-container-main_1k9lg_9 {
932
932
  height: calc(100vh - 60px);
933
- }.amb-component-popover-icon-list-view[data-v-70020263] {
933
+ }.amb-component-popover-icon-list-view[data-v-ac295829] {
934
934
  display: flex;
935
935
  flex-direction: column;
936
936
  gap: 10px;
937
937
  overflow: hidden;
938
938
  height: 300px;
939
939
  }
940
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll[data-v-70020263] {
940
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll[data-v-ac295829] {
941
941
  flex: 1 1 auto;
942
942
  overflow: auto;
943
943
  }
944
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid[data-v-70020263] {
944
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid[data-v-ac295829] {
945
945
  display: grid;
946
946
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
947
947
  grid-gap: 15px;
948
948
  padding: 0;
949
949
  list-style: none;
950
950
  }
951
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item[data-v-70020263] {
951
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item[data-v-ac295829] {
952
952
  position: relative;
953
953
  width: 40px;
954
954
  height: 40px;
@@ -960,11 +960,11 @@ fieldset.amb-design-item-selected {
960
960
  border-radius: 5px;
961
961
  line-height: 1;
962
962
  }
963
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item svg[data-v-70020263] {
963
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item svg[data-v-ac295829] {
964
964
  width: 24px;
965
965
  height: 24px;
966
966
  }
967
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item[data-v-70020263]:hover {
967
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item[data-v-ac295829]:hover {
968
968
  background-color: var(--el-menu-active-color);
969
969
  color: var(--el-color-white);
970
970
  }.runtime-page-container-tabs-view[data-v-a504bfb3] > .el-tabs__header > .el-tabs__new-tab {
@@ -5261,6 +5261,10 @@ fieldset.amb-design-item-selected {
5261
5261
  .amb-design-board-main .el-tabs .amb-design-item-default.el-tabs--top {
5262
5262
  flex-direction: column-reverse;
5263
5263
  }
5264
+ .el-tag[data-v-d630afac]{
5265
+ margin-left: 10px;
5266
+ }
5267
+
5264
5268
  .el-tree-node__content {
5265
5269
  height: 34px !important;
5266
5270
  }
@@ -10984,7 +10988,7 @@ li[data-v-d06d5717] {
10984
10988
  width: 100%
10985
10989
  }
10986
10990
 
10987
- .seleteSort[data-v-c491ad8a] {
10991
+ .seleteSort[data-v-dc7bdb21] {
10988
10992
  border-radius: 5px;
10989
10993
  border: 1px solid rgba(88, 147, 239);
10990
10994
  }
@@ -13089,10 +13093,6 @@ fieldset.amb-design-item-selected {
13089
13093
  .collapse-item-content[data-v-b665b830] {
13090
13094
  padding: 8px 0px 0px 0px;
13091
13095
  }
13092
-
13093
- .el-tag[data-v-6b022e71]{
13094
- margin-left: 10px;
13095
- }
13096
13096
  .amb-button-group-main[data-v-1320eaf4] {
13097
13097
  min-height: 32px;
13098
13098
  display: flex;
@@ -18745,6 +18745,10 @@ li[data-v-21af26bc] {
18745
18745
  border: 1px solid rgba(88, 147, 239);
18746
18746
  }
18747
18747
 
18748
+ .el-radio[data-v-5f08d7b1] {
18749
+ margin-right: 10px;
18750
+ }
18751
+
18748
18752
  .el-tree-node__content {
18749
18753
  height: 34px !important;
18750
18754
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.3.12-rc1-design1",
3
+ "version": "2.3.12-rc3-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.50-rc2",
32
+ "agilebuilder-ui": "1.1.50-rc3",
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.7-flow1",
44
- "super-page-runtime": "2.3.12-rc1",
44
+ "super-page-runtime": "2.3.12-rc3",
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.67-up"
55
+ "workflow-editor": "0.0.68-up"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@codemirror/autocomplete": "^6.16.0",