super-page-designer 2.3.12-sit1-design2 → 2.3.13-rc2-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 (63) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +54 -53
  2. package/dist/es/components/design/utils/chart-design-util.js +27 -27
  3. package/dist/es/components/design/utils/form-design-util.js +1 -1
  4. package/dist/es/components/design/utils/page-event-util.js +1 -0
  5. package/dist/es/components/design/utils/page-i18n-util.js +6 -5
  6. package/dist/es/components/design/utils/page-table-util.d.ts +1 -9
  7. package/dist/es/components/design/utils/page-table-util.js +13 -13
  8. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +1 -1
  9. package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +18 -18
  10. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-design.vue2.js +2 -2
  11. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +18 -18
  12. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +18 -18
  13. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +35 -33
  14. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +5 -4
  15. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +7 -6
  16. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
  17. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +27 -24
  18. package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +3 -2
  19. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  20. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +13 -13
  21. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +4 -4
  22. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +3 -2
  23. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
  24. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
  25. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +1 -1
  26. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
  27. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
  28. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +54 -55
  29. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +10 -10
  30. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +2 -2
  31. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
  32. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1 -1
  33. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +4 -4
  34. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
  35. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-design.vue2.js +2 -2
  36. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  37. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
  38. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
  39. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +1 -1
  40. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +43 -43
  41. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +12 -12
  42. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +2 -2
  43. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +5 -5
  44. package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +18 -18
  45. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +6 -6
  46. package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
  47. package/dist/es/components/design/views/assemblys/form/link/link-design.vue2.js +12 -12
  48. package/dist/es/components/design/views/assemblys/form/radio/radio-design.vue2.js +2 -2
  49. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +14 -13
  50. package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +5 -5
  51. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  52. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +1 -1
  53. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +52 -52
  54. package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
  55. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +12 -10
  56. package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
  57. package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
  58. package/dist/es/components/design/views/design/page-event/config.vue3.js +18 -17
  59. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +1 -0
  60. package/dist/es/components/design/views/design/view/page-switch.vue2.js +3 -2
  61. package/dist/es/stores/undo-redo-store.js +1 -1
  62. package/dist/es/style.css +2 -2
  63. package/package.json +5 -5
@@ -1,17 +1,17 @@
1
- import { defineComponent as e, ref as l, watch as u, resolveComponent as t, createElementBlock as r, openBlock as i, createVNode as a, normalizeStyle as o, normalizeClass as n, withCtx as s, createCommentVNode as m, createBlock as d, Fragment as v, createTextVNode as c, toDisplayString as f } from "vue";
1
+ import { defineComponent as e, ref as l, watch as u, resolveComponent as r, createElementBlock as t, openBlock as i, createVNode as a, normalizeStyle as o, normalizeClass as n, withCtx as m, createCommentVNode as s, createBlock as d, Fragment as v, createTextVNode as c, toDisplayString as f } from "vue";
2
2
  import { caculateDetailComponentStyle as p, caculateComponentProps as g } from "../../../../utils/form-design-util.js";
3
3
  import h from "../common/title-suffix-element.vue.js";
4
4
  const y = e({ __name: "textarea-design", props: { configure: { type: Object, required: true } }, setup(e2) {
5
5
  const y2 = e2;
6
6
  y2.configure.runtime || (y2.configure.runtime = {});
7
- const w = l({}), b = l(""), x = l({}), k = l({}), q = l({});
7
+ const w = l({}), x = l(""), b = l({}), k = l({}), q = l({});
8
8
  return u(y2.configure.style, () => {
9
- p(y2.configure, w, b, x), y2.configure.runtime.style = w.value, y2.configure.runtime.class = b.value, y2.configure.runtime.headerStyle = x.value;
9
+ p(y2.configure, w, x, b), y2.configure.runtime.style = w.value, y2.configure.runtime.class = x.value, y2.configure.runtime.headerStyle = b.value;
10
10
  }, { immediate: true }), u(y2.configure.props, () => {
11
11
  g(y2.configure, k, q), y2.configure.runtime.props = k.value, y2.configure.runtime.titleExceedStyle = q.value;
12
12
  }, { immediate: true }), (l2, u2) => {
13
- const p2 = t("el-input"), g2 = t("el-form-item");
14
- return i(), r("div", null, [a(g2, { required: k.value.required, class: n([b.value, "remove-formLabel-formContent-blankStyle"]), "label-width": k.value.labelWidth, style: o(w.value) }, { label: s(() => [k.value.tittleShow ? (i(), r("div", { key: 0, style: o({ ...x.value, ...q.value, "padding-right": "12px" }) }, [k.value.prefixType ? (i(), d(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (i(), r(v, { key: 1 }, [c(f(k.value.title), 1)], 64))], 4)) : m("", true)]), default: s(() => [a(p2, { disabled: "disabled" === k.value.state, readonly: "", size: k.value.size, placeholder: k.value.placeholder, modelValue: k.value.value, "onUpdate:modelValue": u2[0] || (u2[0] = (e3) => k.value.value = e3), rows: k.value.rows ? k.value.rows : 2, maxlength: k.value.maxLength, "show-word-limit": k.value.showInputNum, type: "textarea" }, null, 8, ["disabled", "size", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
13
+ const p2 = r("el-input"), g2 = r("el-form-item");
14
+ return i(), t("div", null, [a(g2, { required: k.value.required, class: n([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": k.value.labelWidth, style: o(w.value) }, { label: m(() => [k.value.tittleShow ? (i(), t("div", { key: 0, style: o({ ...b.value, ...q.value, "padding-right": "12px" }) }, [k.value.prefixType ? (i(), d(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (i(), t(v, { key: 1 }, [c(f(k.value.title), 1)], 64))], 4)) : s("", true)]), default: m(() => [a(p2, { readonly: "", size: k.value.size, placeholder: k.value.placeholder, modelValue: k.value.value, "onUpdate:modelValue": u2[0] || (u2[0] = (e3) => k.value.value = e3), rows: k.value.rows ? k.value.rows : 2, maxlength: k.value.maxLength, "show-word-limit": k.value.showInputNum, type: "textarea" }, null, 8, ["size", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
15
15
  };
16
16
  } });
17
17
  export {
@@ -23,9 +23,9 @@ const h = { class: "operation-area operation-area-float" }, $ = e({ __name: "set
23
23
  const l3 = T.value.filter((l4) => l4.dbColumnName && l4.dbColumnName === e4);
24
24
  l3 && l3.length > 0 && (q.value.fieldName = l3[0].name);
25
25
  }
26
- q.value.id ? (l2 = q.value.id, a2 = q.value, y.put(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-form-rule-base/${l2}`, a2)).then((e5) => {
26
+ q.value.id ? (q.value, (l2 = q.value.id, a2 = q.value, y.put(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-form-rule-base/${l2}`, a2)).then((e5) => {
27
27
  q.value = e5, b({ showClose: true, message: "保存成功", type: "success" });
28
- }) : (q.value.systemCode = w.systemCode, function(e5) {
28
+ })) : (q.value.systemCode = w.systemCode, q.value, function(e5) {
29
29
  return y.post(window.$vueApp.config.globalProperties.baseAPI + "/mms/setting-form-rule-base", e5);
30
30
  }(q.value).then((e5) => {
31
31
  q.value = e5, b({ showClose: true, message: "保存成功", type: "success" });
@@ -25,7 +25,7 @@ const I = { style: { padding: "8px 0px 0px 0px" } }, N = { class: "amb-design-at
25
25
  e3 && !R2.configure.props.formNoRuleCode && (R2.configure.props.formNoRuleCode = e3), F(), S.value = false;
26
26
  }
27
27
  function E(e3) {
28
- e3.target.value = e3.target.value.trim();
28
+ e3.target.value, e3.target.value = e3.target.value.trim();
29
29
  }
30
30
  function F() {
31
31
  let e3 = window.$vueApp.config.globalProperties.baseAPI + "/mms/systems/getByCode/" + R2.configure.systemCode;
@@ -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
  };
@@ -19,7 +19,7 @@ const a = ["id"], g = e({ __name: "pictureflow-design", props: { configure: Obje
19
19
  }, { immediate: true });
20
20
  const v = t({ nodes: [{ id: "1", type: "rect", x: 0, y: 70, text: "经办人填写" }, { id: "2", type: "rect", x: 0, y: 70, text: "品质主管审核" }, { id: "3", type: "rect", x: 0, y: 70, text: "品质总监确认" }], edges: [{ sourceNodeId: "1", targetNodeId: "2", type: "polyline" }, { sourceNodeId: "2", targetNodeId: "3", type: "polyline" }] }), m = t(null), y = new ResizeObserver((e3) => {
21
21
  var t2;
22
- m.value && (v.value.nodes[0].x = m.value.offsetWidth / 3 - 116, v.value.nodes[1].x = m.value.offsetWidth / 3 + 134, v.value.nodes[2].x = m.value.offsetWidth / 3 + 384, t2 = g2.configure.uuid, new s({ container: document.getElementById(t2), grid: true, isSilentMode: true, stopZoomGraph: true, stopScrollGraph: true, stopMoveGraph: true }).render(v.value));
22
+ m.value && (v.value.nodes[0].x = m.value.offsetWidth / 3 - 116, v.value.nodes[1].x = m.value.offsetWidth / 3 + 134, v.value.nodes[2].x = m.value.offsetWidth / 3 + 384, g2.configure, t2 = g2.configure.uuid, new s({ container: document.getElementById(t2), grid: true, isSilentMode: true, stopZoomGraph: true, stopScrollGraph: true, stopMoveGraph: true }).render(v.value));
23
23
  });
24
24
  return i(() => {
25
25
  y.observe(m.value);
@@ -1,14 +1,16 @@
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, 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 });
10
12
  };
11
13
  } });
12
14
  export {
13
- _ as default
15
+ x as default
14
16
  };
@@ -1,16 +1,16 @@
1
- import { defineComponent as e, ref as u, watch as i, createElementBlock as t, openBlock as n, normalizeStyle as r, normalizeClass as o, createElementVNode as l, toDisplayString as s } from "vue";
1
+ import { defineComponent as e, ref as u, watch as i, createElementBlock as t, openBlock as n, normalizeStyle as r, normalizeClass as l, createElementVNode as o, toDisplayString as s } from "vue";
2
2
  import { caculateDetailComponentStyle as a, caculateComponentProps as c } from "../../../../utils/form-design-util.js";
3
3
  const f = e({ __name: "workflownode-design", props: { configure: Object }, setup(e2) {
4
4
  const f2 = e2, p = u({}), g = u(""), m = u({}), v = u({});
5
5
  return i(f2.configure.style, () => {
6
6
  a(f2.configure, p, g, m), f2.configure.runtime.style = p.value, f2.configure.runtime.class = g.value, f2.configure.runtime.headerStyle = m.value;
7
7
  }, { immediate: true }), i(f2.configure.props, () => {
8
- c(f2.configure, v), function() {
8
+ c(f2.configure, v), v.value, function() {
9
9
  let e3 = f2.configure.props ? f2.configure.props : {};
10
10
  const u2 = e3.base ? e3.base : {};
11
11
  u2.title && u2.title, Object.assign(v.value, u2);
12
12
  }(), f2.configure.runtime.props = v.value;
13
- }, { immediate: true }), (e3, u2) => (n(), t("div", { class: o(g.value), style: r(p.value) }, [l("div", { style: r(m.value) }, [l("span", null, s(v.value.title), 1), u2[0] || (u2[0] = l("span", null, "xxxxxx", -1))], 4)], 6));
13
+ }, { immediate: true }), (e3, u2) => (n(), t("div", { class: l(g.value), style: r(p.value) }, [o("div", { style: r(m.value) }, [o("span", null, s(v.value.title), 1), u2[0] || (u2[0] = o("span", null, "xxxxxx", -1))], 4)], 6));
14
14
  } });
15
15
  export {
16
16
  f as default
@@ -106,7 +106,7 @@ const P = { class: "amb-page-container" }, T = { class: "amb-page-container-head
106
106
  U.value = e3.code, H.value = e3.definitionVersion, L.value = e3.id;
107
107
  }
108
108
  function ve() {
109
- if (!Q.value) return;
109
+ if (!Q.value) return void console.error("不能重复点击[工作流设计],请稍等!");
110
110
  let e3, l2;
111
111
  F.value.props.activeWorkflow && F.value.props.workflowSource && "link" === F.value.props.workflowSource ? (l2 = F.value.props.linkWorkflowCode, e3 = F.value.props.linkWorkflowVersion) : F.value.props.activeWorkflow && F.value.props.workflowSource && "create" === F.value.props.workflowSource && (l2 = F.value.props.createWorkflowCode, e3 = 1), l2 ? !U.value && !H.value || U.value !== l2 || H.value !== e3 ? (K.value = false, Q.value = false, function(e4, l3) {
112
112
  V(e4, l3, Y.value).then((e5) => {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, onMounted as l, onUnmounted as o, resolveComponent as n, createElementBlock as a, openBlock as r, createElementVNode as i, createVNode as s, createTextVNode as u, withCtx as c, unref as d, normalizeStyle as m } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as o, onUnmounted as l, resolveComponent as n, createElementBlock as a, openBlock as r, createElementVNode as i, createVNode as s, createTextVNode as u, withCtx as c, unref as d, normalizeStyle as m } from "vue";
2
2
  import { useLocalStorage as f } from "@vueuse/core";
3
3
  import { Search as p, MagicStick as v } from "@element-plus/icons-vue";
4
4
  import { EditorView as h, basicSetup as g } from "codemirror";
@@ -9,30 +9,31 @@ import "@codemirror/language";
9
9
  import { openSearchPanel as y } from "@codemirror/search";
10
10
  import k from "js-beautify";
11
11
  import w from "./completion-data.js";
12
- const j = { style: { padding: "8px 16px", margin: "10px 0px", "background-color": "#f4f4f5" }, class: "pppp" }, C = { style: { color: "#909399", "font-size": "14px" } }, z = { key: 0 }, F = { key: 1 }, S = { class: "editorTool" }, O = e({ __name: "config", props: { eventForm: { type: Object, default: () => ({}) } }, emits: ["fullScreen"], setup(e2, { expose: O2, emit: V }) {
12
+ const j = { style: { padding: "8px 16px", margin: "10px 0px", "background-color": "#f4f4f5" }, class: "pppp" }, C = { style: { color: "#909399", "font-size": "14px" } }, F = { key: 0 }, S = { key: 1 }, z = { class: "editorTool" }, O = e({ __name: "config", props: { eventForm: { type: Object, default: () => ({}) } }, emits: ["fullScreen"], setup(e2, { expose: O2, emit: V }) {
13
13
  const D = e2;
14
14
  t(false);
15
15
  const L = t({ theme: "default", fontSize: 14, searchOpen: false }), T = t(null), W = t(null), $ = t(null), B = t({ backgroundColor: "#fff", color: "#333", border: "1px solid #ddd", overflow: "auto" });
16
16
  let R;
17
- l(() => {
17
+ o(() => {
18
+ D.eventForm;
18
19
  let e3 = f("editorStyle", "").value;
19
20
  e3 && (e3 = JSON.parse(e3), L.value.theme = e3.theme || "default", L.value.fontSize = e3.fontSize || 14), G();
20
- }), o(() => {
21
+ }), l(() => {
21
22
  R && clearTimeout(R);
22
23
  });
23
24
  const U = b.data.of({ autocomplete: function(e3) {
24
25
  const t2 = e3.matchBefore(/(?:window\.[\w$\.]*|logicContext\.[\w$\.]*)/);
25
26
  if (!t2 || "" === t2.text) return null;
26
- const l2 = t2.text;
27
- if (w[l2]) return { from: t2.from, options: w[l2], filter: true };
28
- let o2 = null;
29
- for (const e4 of Object.keys(w)) l2.startsWith(e4) && (!o2 || e4.length > o2.length) && (o2 = e4);
30
- if (!o2) for (const e4 of Object.keys(w)) e4.startsWith(l2) && (!o2 || e4.length > o2.length) && (o2 = e4);
31
- if (o2) {
32
- let e4 = w[o2];
33
- return (l2.length > o2.length || l2 !== o2) && (e4 = e4.filter((e5) => e5.label.startsWith(l2))), { from: t2.from, options: e4, filter: false };
27
+ const o2 = t2.text;
28
+ if (w[o2]) return { from: t2.from, options: w[o2], filter: true };
29
+ let l2 = null;
30
+ for (const e4 of Object.keys(w)) o2.startsWith(e4) && (!l2 || e4.length > l2.length) && (l2 = e4);
31
+ if (!l2) for (const e4 of Object.keys(w)) e4.startsWith(o2) && (!l2 || e4.length > l2.length) && (l2 = e4);
32
+ if (l2) {
33
+ let e4 = w[l2];
34
+ return (o2.length > l2.length || o2 !== l2) && (e4 = e4.filter((e5) => e5.label.startsWith(o2))), { from: t2.from, options: e4, filter: false };
34
35
  }
35
- if ("window.$" === l2) return { from: t2.from, options: w["window."].filter((e4) => e4.label.startsWith("window.$")), filter: false };
36
+ if ("window.$" === o2) return { from: t2.from, options: w["window."].filter((e4) => e4.label.startsWith("window.$")), filter: false };
36
37
  return null;
37
38
  } });
38
39
  function q() {
@@ -41,7 +42,7 @@ const j = { style: { padding: "8px 16px", margin: "10px 0px", "background-color"
41
42
  function E() {
42
43
  const e3 = h.theme({}), t2 = h.theme({ ".cm-content, .cm-gutter": { minHeight: "400px" }, "&": { fontSize: L.value.fontSize + "px" } });
43
44
  return x.create({ doc: D.eventForm.jsContent, extensions: [x.tabSize.of(16), g, _(), U, e3, t2, h.updateListener.of(function(e4) {
44
- D.eventForm.jsContent = e4.state.doc.toString();
45
+ e4.state.doc.toString(), D.eventForm.jsContent = e4.state.doc.toString();
45
46
  })] });
46
47
  }
47
48
  function G() {
@@ -68,9 +69,9 @@ const j = { style: { padding: "8px 16px", margin: "10px 0px", "background-color"
68
69
  var _a;
69
70
  const t2 = D.eventForm.jsContent ? D.eventForm.jsContent : "";
70
71
  e3 && D.eventForm && (e3.jsContent || (e3.jsContent = ""), Object.assign(D.eventForm, e3), (_a = T.value) == null ? void 0 : _a.dispatch({ changes: { from: 0, to: t2.length, insert: D.eventForm.jsContent } }));
71
- } }), (t2, l2) => {
72
- const o2 = n("el-input"), f2 = n("el-option"), h2 = n("el-select"), g2 = n("el-tooltip"), b2 = n("el-icon");
73
- return r(), a("div", { style: { "padding-right": "20px" }, ref_key: "editorContentRef", ref: $ }, [i("div", j, [i("span", C, [l2[6] || (l2[6] = u(" function ")), "customFunc" === e2.eventForm.name ? (r(), a("span", z, [l2[3] || (l2[3] = u(" ( ")), l2[4] || (l2[4] = i("span", { class: "is_req" }, [i("span", { class: "cell--span required__label" })], -1)), s(o2, { size: "small", modelValue: e2.eventForm.funcParam, "onUpdate:modelValue": l2[0] || (l2[0] = (t3) => e2.eventForm.funcParam = t3), style: { width: "300px" }, title: "方法参数" }, null, 8, ["modelValue"]), l2[5] || (l2[5] = u(" ) "))])) : (r(), a("span", F, " ( params ) ")), l2[7] || (l2[7] = u("{ "))]), i("span", S, [s(g2, { class: "box-item", effect: "dark", content: "切换主题", placement: "top" }, { default: c(() => [s(h2, { class: "editorOption", onChange: q, modelValue: L.value.theme, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => L.value.theme = e3), placeholder: "", size: "small", style: { width: "120px" } }, { default: c(() => [s(f2, { label: "默认", value: "default" }), s(f2, { label: "VScodeDark", value: "vscodeDark" }), s(f2, { label: "Dracula", value: "dracula" }), s(f2, { label: "GithubLight", value: "githubLight" }), s(f2, { label: "GithubDark", value: "githubDark" }), s(f2, { label: "Eclipse", value: "eclipse" }), s(f2, { label: "XcodeLight", value: "xcodeLight" }), s(f2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(g2, { class: "box-item", effect: "dark", content: "切换字体大小", placement: "top" }, { default: c(() => [s(h2, { class: "editorOption", modelValue: L.value.fontSize, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => L.value.fontSize = e3), placeholder: "", onChange: q, size: "small", style: { width: "80px" } }, { default: c(() => [s(f2, { label: "12", value: 12 }), s(f2, { label: "14", value: 14 }), s(f2, { label: "16", value: 16 }), s(f2, { label: "18", value: 18 }), s(f2, { label: "20", value: 20 }), s(f2, { label: "22", value: 22 }), s(f2, { label: "24", value: 24 }), s(f2, { label: "26", value: 26 }), s(f2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), s(g2, { class: "box-item", effect: "dark", content: "打开搜索", placement: "top" }, { default: c(() => [s(b2, { class: "editorOption", onClick: H }, { default: c(() => [s(d(p))]), _: 1 })]), _: 1 }), s(g2, { class: "box-item", effect: "dark", content: "格式化代码", placement: "top" }, { default: c(() => [s(b2, { class: "editorOption", onClick: J }, { default: c(() => [s(d(v))]), _: 1 })]), _: 1 })]), i("div", { style: m(B.value), id: "cf-codemirror", ref_key: "codemirrorRef", ref: W }, null, 4), l2[8] || (l2[8] = i("span", { style: { color: "gray" } }, " }", -1))], 512);
72
+ } }), (t2, o2) => {
73
+ const l2 = n("el-input"), f2 = n("el-option"), h2 = n("el-select"), g2 = n("el-tooltip"), b2 = n("el-icon");
74
+ return r(), a("div", { style: { "padding-right": "20px" }, ref_key: "editorContentRef", ref: $ }, [i("div", j, [i("span", C, [o2[6] || (o2[6] = u(" function ")), "customFunc" === e2.eventForm.name ? (r(), a("span", F, [o2[3] || (o2[3] = u(" ( ")), o2[4] || (o2[4] = i("span", { class: "is_req" }, [i("span", { class: "cell--span required__label" })], -1)), s(l2, { size: "small", modelValue: e2.eventForm.funcParam, "onUpdate:modelValue": o2[0] || (o2[0] = (t3) => e2.eventForm.funcParam = t3), style: { width: "300px" }, title: "方法参数" }, null, 8, ["modelValue"]), o2[5] || (o2[5] = u(" ) "))])) : (r(), a("span", S, " ( params ) ")), o2[7] || (o2[7] = u("{ "))]), i("span", z, [s(g2, { class: "box-item", effect: "dark", content: "切换主题", placement: "top" }, { default: c(() => [s(h2, { class: "editorOption", onChange: q, modelValue: L.value.theme, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => L.value.theme = e3), placeholder: "", size: "small", style: { width: "120px" } }, { default: c(() => [s(f2, { label: "默认", value: "default" }), s(f2, { label: "VScodeDark", value: "vscodeDark" }), s(f2, { label: "Dracula", value: "dracula" }), s(f2, { label: "GithubLight", value: "githubLight" }), s(f2, { label: "GithubDark", value: "githubDark" }), s(f2, { label: "Eclipse", value: "eclipse" }), s(f2, { label: "XcodeLight", value: "xcodeLight" }), s(f2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(g2, { class: "box-item", effect: "dark", content: "切换字体大小", placement: "top" }, { default: c(() => [s(h2, { class: "editorOption", modelValue: L.value.fontSize, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => L.value.fontSize = e3), placeholder: "", onChange: q, size: "small", style: { width: "80px" } }, { default: c(() => [s(f2, { label: "12", value: 12 }), s(f2, { label: "14", value: 14 }), s(f2, { label: "16", value: 16 }), s(f2, { label: "18", value: 18 }), s(f2, { label: "20", value: 20 }), s(f2, { label: "22", value: 22 }), s(f2, { label: "24", value: 24 }), s(f2, { label: "26", value: 26 }), s(f2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), s(g2, { class: "box-item", effect: "dark", content: "打开搜索", placement: "top" }, { default: c(() => [s(b2, { class: "editorOption", onClick: H }, { default: c(() => [s(d(p))]), _: 1 })]), _: 1 }), s(g2, { class: "box-item", effect: "dark", content: "格式化代码", placement: "top" }, { default: c(() => [s(b2, { class: "editorOption", onClick: J }, { default: c(() => [s(d(v))]), _: 1 })]), _: 1 })]), i("div", { style: m(B.value), id: "cf-codemirror", ref_key: "codemirrorRef", ref: W }, null, 4), o2[8] || (o2[8] = i("span", { style: { color: "gray" } }, " }", -1))], 512);
74
75
  };
75
76
  } });
76
77
  export {
@@ -187,6 +187,7 @@ const I = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
187
187
  }
188
188
  return s2;
189
189
  }
190
+ btnOption;
190
191
  }
191
192
  function se(e3) {
192
193
  const t2 = w(e3);
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as a, onMounted as l, resolveComponent as n, createElementBlock as o, openBlock as i, createVNode as s, withCtx as p, createElementVNode as d, createBlock as u, unref as r, toDisplayString as c, createTextVNode as g } from "vue";
1
+ import { defineComponent as e, ref as t, computed as a, onMounted as l, resolveComponent as n, createElementBlock as o, openBlock as i, createVNode as s, withCtx as p, createElementVNode as r, createBlock as d, unref as u, toDisplayString as c, createTextVNode as g } from "vue";
2
2
  import { Menu as m, Tickets as f, Folder as y, Operation as v, ArrowUp as h, ArrowDown as x } from "@element-plus/icons-vue";
3
3
  import { ElMessageBox as w } from "element-plus";
4
4
  import b from "agilebuilder-ui/src/utils/request";
@@ -12,6 +12,7 @@ const k = { style: { display: "flex", "min-width": "60px", height: "60px", "marg
12
12
  b.post(window.$vueApp.config.globalProperties.baseAPI + "/acs/user/i18n-languages", a3).then((e5) => {
13
13
  const a4 = e5.i18nFileUrls[e5.language] + "?_t_=" + (/* @__PURE__ */ new Date()).getTime();
14
14
  _.loadLangFile(t3, a4, "zh_CN").catch(() => {
15
+ console.error("加载国际化文件失败");
15
16
  });
16
17
  });
17
18
  }
@@ -50,7 +51,7 @@ const k = { style: { display: "flex", "min-width": "60px", height: "60px", "marg
50
51
  return a(() => options.value.filter((e3) => !F.value || e3.name.toLowerCase().includes(F.value.toLowerCase()))), l(() => {
51
52
  }), (t2, a2) => {
52
53
  const l2 = n("el-icon"), w2 = n("el-button"), b2 = n("el-cascader-panel"), _2 = n("el-popover");
53
- return i(), o("div", k, [s(_2, { onShow: R, onHide: U, ref_key: "popoverRef", ref: $, width: "auto", "popper-style": "box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;" }, { reference: p(() => [s(w2, { type: "default", icon: r(v), style: { "font-size": "14px", "font-weight": "600" } }, { default: p(() => [g(c(e2.pageDesign.label + "(" + e2.pageDesign.version + ")") + " ", 1), S.value ? (i(), u(l2, { key: 0, class: "el-icon--right" }, { default: p(() => [s(r(h))]), _: 1 })) : (i(), u(l2, { key: 1, class: "el-icon--right" }, { default: p(() => [s(r(x))]), _: 1 }))]), _: 1 }, 8, ["icon"])]), default: p(() => [d("div", C, [s(b2, { ref_key: "cascaderRef", ref: L, style: { width: "fit-content", "margin-top": "6px" }, props: B.value, modelValue: z.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => z.value = e3), onChange: q }, { default: p(({ node: e3, data: t3 }) => [d("div", I, ["menu" === t3.menuType ? (i(), u(l2, { key: 0 }, { default: p(() => [s(r(m))]), _: 1 })) : "page" === t3.menuType ? (i(), u(l2, { key: 1 }, { default: p(() => [s(r(f))]), _: 1 })) : (i(), u(l2, { key: 2 }, { default: p(() => [s(r(y))]), _: 1 })), "page" === t3.menuType ? (i(), o("span", T, c(j(e3)), 1)) : (i(), o("span", N, c(e3.label), 1))])]), _: 1 }, 8, ["props", "modelValue"])])]), _: 1 }, 512)]);
54
+ return i(), o("div", k, [s(_2, { onShow: R, onHide: U, ref_key: "popoverRef", ref: $, width: "auto", "popper-style": "box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;" }, { reference: p(() => [s(w2, { type: "default", icon: u(v), style: { "font-size": "14px", "font-weight": "600" } }, { default: p(() => [g(c(e2.pageDesign.label + "(" + e2.pageDesign.version + ")") + " ", 1), S.value ? (i(), d(l2, { key: 0, class: "el-icon--right" }, { default: p(() => [s(u(h))]), _: 1 })) : (i(), d(l2, { key: 1, class: "el-icon--right" }, { default: p(() => [s(u(x))]), _: 1 }))]), _: 1 }, 8, ["icon"])]), default: p(() => [r("div", C, [s(b2, { ref_key: "cascaderRef", ref: L, style: { width: "fit-content", "margin-top": "6px" }, props: B.value, modelValue: z.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => z.value = e3), onChange: q }, { default: p(({ node: e3, data: t3 }) => [r("div", I, ["menu" === t3.menuType ? (i(), d(l2, { key: 0 }, { default: p(() => [s(u(m))]), _: 1 })) : "page" === t3.menuType ? (i(), d(l2, { key: 1 }, { default: p(() => [s(u(f))]), _: 1 })) : (i(), d(l2, { key: 2 }, { default: p(() => [s(u(y))]), _: 1 })), "page" === t3.menuType ? (i(), o("span", T, c(j(e3)), 1)) : (i(), o("span", N, c(e3.label), 1))])]), _: 1 }, 8, ["props", "modelValue"])])]), _: 1 }, 512)]);
54
55
  };
55
56
  } });
56
57
  export {
@@ -13,7 +13,7 @@ const u = l("snapshot", () => {
13
13
  if (a.value > 0) {
14
14
  v.value = false;
15
15
  let u3 = JSON.parse(l2.value[--a.value]);
16
- e2.value = u3;
16
+ e2.value = u3, e2.value;
17
17
  }
18
18
  }, record: function(e2) {
19
19
  if (a.value < l2.value.length - 1) {
package/dist/es/style.css CHANGED
@@ -849,7 +849,7 @@ fieldset.amb-design-item-selected {
849
849
  align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
850
850
  }
851
851
 
852
- [data-v-3324003e] .el-cascader-menu {
852
+ [data-v-dc109040] .el-cascader-menu {
853
853
  min-width: 120px !important;
854
854
  }
855
855
 
@@ -10988,7 +10988,7 @@ li[data-v-d06d5717] {
10988
10988
  width: 100%
10989
10989
  }
10990
10990
 
10991
- .seleteSort[data-v-dc7bdb21] {
10991
+ .seleteSort[data-v-d7043265] {
10992
10992
  border-radius: 5px;
10993
10993
  border: 1px solid rgba(88, 147, 239);
10994
10994
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.3.12-sit1-design2",
3
+ "version": "2.3.13-rc2-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-sit2",
32
+ "agilebuilder-ui": "1.1.53-rc1",
33
33
  "echarts": "^5.5.0",
34
34
  "element-plus": "^2.6.1",
35
35
  "font-awesome": "^4.7.0",
@@ -40,8 +40,8 @@
40
40
  "pinia": "^2.1.7",
41
41
  "qrcode": "^1.5.3",
42
42
  "quill": "^2.0.1",
43
- "service-flow-designer": "2.3.7-flow1",
44
- "super-page-runtime": "2.3.12-sit1",
43
+ "service-flow-designer": "2.3.12-flow1",
44
+ "super-page-runtime": "2.3.13-rc2",
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.73-up"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@codemirror/autocomplete": "^6.16.0",