super-page-designer 2.3.26-design1 → 2.3.27-design2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/es/components/design/utils/page-table-util.js +3 -3
  2. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +30 -30
  3. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +1 -1
  4. package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +1 -1
  5. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +1 -1
  6. package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -1
  7. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  8. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -1
  9. package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +1 -1
  10. package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +1 -1
  11. package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +1 -1
  12. package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +1 -1
  13. package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +1 -1
  14. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +1 -1
  15. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +1 -1
  16. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
  17. package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +1 -1
  18. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +1 -1
  19. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +11 -11
  20. package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +13 -13
  21. package/dist/es/components/design/views/assemblys/{object-design.vue.js → object-design.vue2.js} +1 -1
  22. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +1 -1
  23. package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
  24. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  25. package/dist/es/components/design/views/design/view/view-design-display.vue.js +82 -83
  26. package/dist/es/style.css +1 -1
  27. package/package.json +4 -4
@@ -168,7 +168,7 @@ function b(e2) {
168
168
  if ("select" === e2.name) {
169
169
  const r2 = e2.props.base, a2 = r2.allowCreate, o2 = r2.clearable;
170
170
  let i2 = false;
171
- ("normal" === e2.props.dataOrigin.filterType || a2) && (i2 = true), t2.automaticDropdown = false, t2.clearable = o2, t2.filterable = i2, t2.allowCreate = a2, t2.optionDescriptionPosition = r2.optionDescriptionPosition;
171
+ ("normal" === e2.props.dataOrigin.filterType || a2) && (i2 = true), t2.automaticDropdown = false, t2.clearable = o2, t2.filterable = i2, t2.allowCreate = a2;
172
172
  } else if ("input-text" === e2.name) {
173
173
  const r2 = !!((_a = e2.props.scan) == null ? void 0 : _a.enable), a2 = (_b = e2.props.scan) == null ? void 0 : _b.ruleList;
174
174
  t2.scanEnable = r2, t2.scanRuleList = a2;
@@ -275,7 +275,7 @@ function w(e2) {
275
275
  t2.push({ value: e3.dbColumnName, label: e3.alias, alias: e3.alias, dataType: e3.dataType });
276
276
  }), t2;
277
277
  }
278
- function D(e2, t2, r2) {
278
+ function x(e2, t2, r2) {
279
279
  var _a;
280
280
  const a2 = e2 ? e2.pageType : null;
281
281
  let o2, n2;
@@ -284,7 +284,7 @@ function D(e2, t2, r2) {
284
284
  export {
285
285
  v as changeFeieldToMap,
286
286
  w as getModelOptionsByFields,
287
- D as getTableConfigByTableUuid,
287
+ x as getTableConfigByTableUuid,
288
288
  N as getTableNameByTableUuid,
289
289
  p as querySublist,
290
290
  s as queryTableFields,
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as o, watch as l, resolveComponent as i, openBlock as a, createBlock as n, withCtx as t, createVNode as u, createElementVNode as s, createElementBlock as r, Fragment as g, renderList as f, createTextVNode as p, withDirectives as c, vShow as m, createCommentVNode as d } from "vue";
1
+ import { defineComponent as e, ref as o, watch as l, resolveComponent as a, openBlock as i, createBlock as n, withCtx as t, createVNode as u, createElementVNode as s, createElementBlock as r, Fragment as g, renderList as c, createTextVNode as f, withDirectives as p, vShow as m, createCommentVNode as d } from "vue";
2
2
  import b from "../component/condition-dialog.vue.js";
3
3
  import v from "../component/set-dialog.vue.js";
4
4
  import y from "../component/combination.vue.js";
@@ -7,57 +7,57 @@ import C from "../../common/common-advanced-basic-showcondition.vue.js";
7
7
  import { isShowOpinionSetting as _ } from "../../../../utils/form-design-util.js";
8
8
  import V from "agilebuilder-ui/src/utils/request";
9
9
  import { getTableConfigByTableUuid as w } from "../../../../utils/page-table-util.js";
10
- import h from "../../common/common-watermark.vue.js";
11
- import D from "../../common/common-task-title.vue.js";
12
- const O = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "button-attr-advanced", props: { configure: { type: Object, default: () => {
10
+ import D from "../../common/common-watermark.vue.js";
11
+ import h from "../../common/common-task-title.vue.js";
12
+ const j = { style: { padding: "8px 0px 0px 0px" } }, O = e({ __name: "button-attr-advanced", props: { configure: { type: Object, default: () => {
13
13
  } }, pageDesign: { type: Object, default: () => {
14
14
  } } }, setup(e2) {
15
15
  var _a;
16
- const j2 = e2, x = o(["base"]), M = o(false), L = o([]), R = (_a = j2.pageDesign) == null ? void 0 : _a.systemVersion, S = o(w(j2.pageDesign, j2.configure));
17
- function U() {
18
- M.value = false;
16
+ const O2 = e2, M = o(["base"]), x = o(false), L = o([]), R = (_a = O2.pageDesign) == null ? void 0 : _a.systemVersion, S = o(w(O2.pageDesign, O2.configure));
17
+ function N() {
18
+ x.value = false;
19
19
  }
20
- function N(e3) {
21
- j2.configure.props.base.logSetting = e3, U();
20
+ function U(e3) {
21
+ O2.configure.props.base.logSetting = e3, N();
22
22
  }
23
- V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${j2.pageDesign.systemCode}/${R}`).then((e3) => {
23
+ V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${O2.pageDesign.systemCode}/${R}`).then((e3) => {
24
24
  L.value = e3;
25
25
  });
26
26
  const z = o(false);
27
- function B() {
27
+ function A() {
28
28
  z.value = false;
29
29
  }
30
- const A = o(false);
31
- function $() {
32
- A.value = false;
30
+ const $ = o(false);
31
+ function F() {
32
+ $.value = false;
33
33
  }
34
- function F(e3) {
35
- j2.configure.props.setValueList = e3, j2.configure.props.setValueList;
34
+ function P(e3) {
35
+ O2.configure.props.setValueList = e3, O2.configure.props.setValueList;
36
36
  }
37
- const P = o(false);
38
- function T() {
39
- P.value = false;
37
+ const T = o(false);
38
+ function W() {
39
+ T.value = false;
40
40
  }
41
- function W(e3) {
42
- j2.configure.props.base.showConditions = JSON.stringify(e3);
41
+ function q(e3) {
42
+ O2.configure.props.base.showConditions = JSON.stringify(e3);
43
43
  }
44
- const q = o(E("opinion")), I = o(E("wfRemark")), J = o(E("taskTitle"));
44
+ const I = o(E("opinion")), J = o(E("wfRemark")), B = o(E("taskTitle"));
45
45
  function E(e3) {
46
46
  let o2 = false;
47
- const l2 = j2.configure.events.filter((e4) => "click" === e4.name && e4.eventName);
47
+ const l2 = O2.configure.events.filter((e4) => "click" === e4.name && e4.eventName);
48
48
  if (l2 && l2.length > 0) {
49
- const i2 = l2[0].eventName;
50
- o2 = _(i2, e3);
49
+ const a2 = l2[0].eventName;
50
+ o2 = _(a2, e3);
51
51
  }
52
52
  return o2;
53
53
  }
54
- return l(j2.configure.events, (e3) => {
55
- q.value = E("opinion"), I.value = E("wfRemark"), q.value || (j2.configure.props.base.isMustOpinion = false);
54
+ return l(O2.configure.events, (e3) => {
55
+ I.value = E("opinion"), J.value = E("wfRemark"), I.value || (O2.configure.props.base.isMustOpinion = false);
56
56
  }, { immediate: true }), (o2, l2) => {
57
- const _2 = i("el-option"), V2 = i("el-select"), w2 = i("el-form-item"), j3 = i("el-button"), R2 = i("el-text"), E2 = i("el-switch"), G = i("el-collapse-item"), H = i("el-collapse"), K = i("el-form");
58
- return a(), n(K, { "label-width": "80px", size: "small" }, { default: t(() => [u(H, { modelValue: x.value, "onUpdate:modelValue": l2[8] || (l2[8] = (e3) => x.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(G, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", O, [u(w2, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": l2[0] || (l2[0] = (o3) => e2.configure.props.base.successOperation = o3), class: "ml-4" }, { default: t(() => [u(_2, { label: "无操作", value: "noOperation" }), u(_2, { label: "刷新", value: "refresh" }), u(_2, { label: "关闭窗口", value: "closeWindow" }), u(_2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(w2, { label: "转换规则", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": l2[1] || (l2[1] = (o3) => e2.configure.props.base.conversionCodes = o3), multiple: "", class: "ml-4" }, { default: t(() => [(a(true), r(g, null, f(L.value, (e3) => (a(), n(_2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(w2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [u(j3, { type: "primary", onClick: l2[2] || (l2[2] = (e3) => z.value = true) }, { default: t(() => [...l2[9] || (l2[9] = [p("编辑", -1)])]), _: 1 })]), _: 1 }), u(w2, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(a(), n(C, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: S.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(w2, { label: "自动设值", class: "amb-design-attr-item" }, { default: t(() => [u(j3, { type: "primary", onClick: l2[3] || (l2[3] = (e3) => A.value = true) }, { default: t(() => [...l2[10] || (l2[10] = [p("编辑", -1)])]), _: 1 }), c(u(R2, { type: "success" }, { default: t(() => [...l2[11] || (l2[11] = [p("  已设置条件. ", -1)])]), _: 1 }, 512), [[m, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), u(w2, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [(a(), n(C, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: S.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(w2, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [u(j3, { type: "primary", onClick: l2[4] || (l2[4] = (e3) => M.value = true) }, { default: t(() => [...l2[12] || (l2[12] = [p("编辑", -1)])]), _: 1 })]), _: 1 }), q.value ? (a(), n(w2, { key: 0, label: "显示意见框", class: "amb-design-attr-item" }, { default: t(() => [u(E2, { modelValue: e2.configure.props.base.showOpinionBox, "onUpdate:modelValue": l2[5] || (l2[5] = (o3) => e2.configure.props.base.showOpinionBox = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.base.showOpinionBox ? (a(), n(w2, { key: 1, label: "意见框显示条件", class: "amb-design-attr-item" }, { default: t(() => [(a(), n(C, { key: e2.configure.uuid + "_opinion_show", configure: e2.configure, type: "showOpinionBoxConditions", tableConfigure: S.value, title: "意见框显示条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : d("", true), q.value ? (a(), n(w2, { key: 2, label: "意见必填", class: "amb-design-attr-item" }, { default: t(() => [u(E2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": l2[6] || (l2[6] = (o3) => e2.configure.props.base.isMustOpinion = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.base.isMustOpinion ? (a(), n(w2, { key: 3, label: "意见必填条件", class: "amb-design-attr-item" }, { default: t(() => [(a(), n(C, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: S.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : d("", true), I.value ? (a(), n(w2, { key: 4, label: "备注必填", class: "amb-design-attr-item" }, { default: t(() => [u(E2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": l2[7] || (l2[7] = (o3) => e2.configure.props.base.isMustRemark = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.base.isMustRemark ? (a(), n(w2, { key: 5, label: "备注必填条件", class: "amb-design-attr-item" }, { default: t(() => [(a(), n(C, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: S.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : d("", true), J.value ? (a(), n(w2, { key: 6, label: "任务标题", class: "amb-design-attr-item" }, { default: t(() => [(a(), n(D, { key: e2.configure.uuid + "_taskTitle", configure: e2.configure, pageDesign: e2.pageDesign, title: "任务标题生效条件" }, null, 8, ["configure", "pageDesign"]))]), _: 1 })) : d("", true)])]), _: 1 }), u(G, { title: "水印设置", name: "watermark", class: "amb-design-attr-group-header" }, { default: t(() => [u(h, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), z.value ? (a(), n(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: S.value, onClose: B }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : d("", true), A.value ? (a(), n(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: S.value, onSave: F, onClose: $ }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : d("", true), P.value ? (a(), n(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: S.value, onSave: W, onClose: T }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : d("", true), M.value ? (a(), n(k, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: U, onSave: N }, null, 8, ["modelValue"])) : d("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
57
+ const _2 = a("el-option"), V2 = a("el-select"), w2 = a("el-form-item"), O3 = a("el-button"), R2 = a("el-text"), E2 = a("el-switch"), G = a("el-collapse-item"), H = a("el-collapse"), K = a("el-form");
58
+ return i(), n(K, { "label-width": "80px", size: "small" }, { default: t(() => [u(H, { modelValue: M.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(G, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", j, [u(w2, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": l2[0] || (l2[0] = (o3) => e2.configure.props.base.successOperation = o3), class: "ml-4" }, { default: t(() => [u(_2, { label: "无操作", value: "noOperation" }), u(_2, { label: "刷新", value: "refresh" }), u(_2, { label: "关闭窗口", value: "closeWindow" }), u(_2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(w2, { label: "转换规则", class: "amb-design-attr-item" }, { default: t(() => [u(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": l2[1] || (l2[1] = (o3) => e2.configure.props.base.conversionCodes = o3), multiple: "", class: "ml-4" }, { default: t(() => [(i(true), r(g, null, c(L.value, (e3) => (i(), n(_2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(w2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [u(O3, { type: "primary", onClick: l2[2] || (l2[2] = (e3) => z.value = true) }, { default: t(() => [...l2[8] || (l2[8] = [f("编辑", -1)])]), _: 1 })]), _: 1 }), u(w2, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(i(), n(C, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: S.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(w2, { label: "自动设值", class: "amb-design-attr-item" }, { default: t(() => [u(O3, { type: "primary", onClick: l2[3] || (l2[3] = (e3) => $.value = true) }, { default: t(() => [...l2[9] || (l2[9] = [f("编辑", -1)])]), _: 1 }), p(u(R2, { type: "success" }, { default: t(() => [...l2[10] || (l2[10] = [f("  已设置条件. ", -1)])]), _: 1 }, 512), [[m, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), u(w2, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [(i(), n(C, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: S.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), u(w2, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [u(O3, { type: "primary", onClick: l2[4] || (l2[4] = (e3) => x.value = true) }, { default: t(() => [...l2[11] || (l2[11] = [f("编辑", -1)])]), _: 1 })]), _: 1 }), I.value ? (i(), n(w2, { key: 0, label: "意见必填", class: "amb-design-attr-item" }, { default: t(() => [u(E2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": l2[5] || (l2[5] = (o3) => e2.configure.props.base.isMustOpinion = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.base.isMustOpinion ? (i(), n(w2, { key: 1, label: "意见必填条件", class: "amb-design-attr-item" }, { default: t(() => [(i(), n(C, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: S.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : d("", true), J.value ? (i(), n(w2, { key: 2, label: "备注必填", class: "amb-design-attr-item" }, { default: t(() => [u(E2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": l2[6] || (l2[6] = (o3) => e2.configure.props.base.isMustRemark = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.base.isMustRemark ? (i(), n(w2, { key: 3, label: "备注必填条件", class: "amb-design-attr-item" }, { default: t(() => [(i(), n(C, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: S.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : d("", true), B.value ? (i(), n(w2, { key: 4, label: "任务标题", class: "amb-design-attr-item" }, { default: t(() => [(i(), n(h, { key: e2.configure.uuid + "_taskTitle", configure: e2.configure, pageDesign: e2.pageDesign, title: "任务标题生效条件" }, null, 8, ["configure", "pageDesign"]))]), _: 1 })) : d("", true)])]), _: 1 }), u(G, { title: "水印设置", name: "watermark", class: "amb-design-attr-group-header" }, { default: t(() => [u(D, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), z.value ? (i(), n(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: S.value, onClose: A }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : d("", true), $.value ? (i(), n(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: S.value, onSave: P, onClose: F }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : d("", true), T.value ? (i(), n(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: S.value, onSave: q, onClose: W }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : d("", true), x.value ? (i(), n(k, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: N, onSave: U }, null, 8, ["modelValue"])) : d("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
59
59
  };
60
60
  } });
61
61
  export {
62
- j as default
62
+ O as default
63
63
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, computed as t, ref as i, watch as n, resolveComponent as o, openBlock as u, createBlock as s, normalizeStyle as r, normalizeClass as l, withCtx as g, createElementBlock as c, Fragment as a, renderList as m, unref as f } from "vue";
2
- import p from "../../object-design.vue.js";
2
+ import p from "../../object-design.vue2.js";
3
3
  import { caculateDetailComponentStyle as d, caculateComponentProps as b } from "../../../../utils/form-design-util.js";
4
4
  import { useDraggable as v } from "vue-draggable-plus";
5
5
  import "element-plus";
@@ -3,7 +3,7 @@ import { Top as h, Bottom as v } from "@element-plus/icons-vue";
3
3
  import y from "../../common/common-variable-bind.vue.js";
4
4
  import { getAttrComponentByName as b } from "../../../../utils/assemblys-config.js";
5
5
  import { getDefaultComponent as C, updateConfEvents as x } from "../../../../utils/home-chart-util.js";
6
- import H from "../../object-design.vue.js";
6
+ import H from "../../object-design.vue2.js";
7
7
  import { getUuidv4 as _ } from "../../../../utils/common-util.js";
8
8
  import "@vueuse/core";
9
9
  const V = { style: { padding: "8px 0px 0px 0px" } }, k = { class: "dialog-footer" }, w = e({ __name: "common-home-chart", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
@@ -13,7 +13,7 @@ import "super-page-runtime";
13
13
  import "../../../../../../stores/page-store.js";
14
14
  import "@vueuse/core";
15
15
  import { removComponentDataConfig as M, initComponentDataConfig as W } from "../../../../utils/chart-design-util.js";
16
- /* empty css */
16
+ /* empty css */
17
17
  import _ from "../../data/component/table-children-column.vue.js";
18
18
  import { queryTableFields as B, changeFeieldToMap as T } from "../../../../utils/page-table-util.js";
19
19
  import { statisticsTable as $ } from "../../../../../../stores/statistics-table-store.js";
@@ -1,4 +1,4 @@
1
- const e = [{ value: "data", label: "数据模型" }, { value: "page", label: "页面变量" }, { value: "task", label: "流程变量" }, { value: "context", label: "环境变量" }, { value: "system", label: "系统参数" }, { value: "request", label: "请求参数" }, { value: "params", label: "方法参数" }, { value: "fixed", label: "固定值" }, { value: "row", label: "列模型" }], a = [{ value: "currentTime", label: "当前时间" }, { value: "currentDate", label: "当前日期" }, { value: "currentTransactorId", label: "当前用户ID" }, { value: "currentTransactor", label: "当前用户登录名" }, { value: "currentTransactorName", label: "当前用户姓名" }, { value: "currentTransactorNameEng", label: "当前用户姓名(英文)" }, { value: "currentUserEmail", label: "当前用户邮箱" }, { value: "currentUserTelephone", label: "当前用户手机号" }, { value: "currentTransactorMainDepartmentId", label: "当前用户部门ID" }, { value: "currentTransactorMainDepartmentCode", label: "当前用户部门编码" }, { value: "currentTransactorMainDepartment", label: "当前用户部门名称" }, { value: "currentBranchId", label: "所属分支ID" }, { value: "currentBranchName", label: "所属分支名称" }, { value: "currentBranchCode", label: "所属分支编码" }, { value: "currentCompanyCode", label: "所属租户编码" }, { value: "currentYear", label: "当前年" }, { value: "currentMonth", label: "当前月" }], l = [{ value: "transactor", label: "当前办理人" }, { value: "nodeId", label: "环节名称" }, { value: "nodeCode", label: "环节编码" }, { value: "assigner", label: "当前指派人" }, { value: "trustor", label: "当前委托人" }];
1
+ const e = [{ value: "data", label: "数据模型" }, { value: "page", label: "页面变量" }, { value: "task", label: "任务变量" }, { value: "context", label: "环境变量" }, { value: "system", label: "系统参数" }, { value: "request", label: "请求参数" }, { value: "params", label: "方法参数" }, { value: "fixed", label: "固定值" }, { value: "row", label: "列模型" }], a = [{ value: "currentTime", label: "当前时间" }, { value: "currentDate", label: "当前日期" }, { value: "currentTransactorId", label: "当前用户ID" }, { value: "currentTransactor", label: "当前用户登录名" }, { value: "currentTransactorName", label: "当前用户姓名" }, { value: "currentTransactorNameEng", label: "当前用户姓名(英文)" }, { value: "currentUserEmail", label: "当前用户邮箱" }, { value: "currentUserTelephone", label: "当前用户手机号" }, { value: "currentTransactorMainDepartmentId", label: "当前用户部门ID" }, { value: "currentTransactorMainDepartmentCode", label: "当前用户部门编码" }, { value: "currentTransactorMainDepartment", label: "当前用户部门名称" }, { value: "currentBranchId", label: "所属分支ID" }, { value: "currentBranchName", label: "所属分支名称" }, { value: "currentBranchCode", label: "所属分支编码" }, { value: "currentCompanyCode", label: "所属租户编码" }, { value: "currentYear", label: "当前年" }, { value: "currentMonth", label: "当前月" }], l = [{ value: "id", label: "任务ID" }, { value: "nodeId", label: "环节编码" }, { value: "name", label: "环节名称" }, { value: "transactor", label: "办理人登录名" }, { value: "transactorName", label: "办理人姓名" }, { value: "transactorId", label: "办理人ID" }, { value: "transactorNameEng", label: "办理人英文名" }, { value: "sourceTrustor", label: "原始委托人登录名", title: "比如:A委托给B,B委托给C,任务本来是给A的,B和C生成的委托任务“原始委托人”都为A" }, { value: "sourceTrustorName", label: "原始委托人姓名", title: "比如:A委托给B,B委托给C,任务本来是给A的,B和C生成的委托任务“原始委托人”都为A" }, { value: "sourceTrustorId", label: "原始委托人ID", title: "比如:A委托给B,B委托给C,任务本来是给A的,B和C生成的委托任务“原始委托人”都为A" }, { value: "title", label: "环节标题" }, { value: "active", label: "任务状态" }, { value: "trustor", label: "直接委托人登录名", title: "比如:A委托给B,B委托给C,任务本来是给A的,C生成的委托任务“直接委托人”为B" }, { value: "trustorName", label: "直接委托人姓名", title: "比如:A委托给B,B委托给C,任务本来是给A的,C生成的委托任务“直接委托人”为B" }, { value: "trustorId", label: "直接委托人ID", title: "比如:A委托给B,B委托给C,任务本来是给A的,C生成的委托任务“直接委托人”为B" }, { value: "sourceAssigner", label: "原始指派人登录名", title: "记录最初是谁指派的任务" }, { value: "sourceAssignerName", label: "原始指派人姓名", title: "记录最初是谁指派的任务" }, { value: "sourceAssignerId", label: "原始指派人ID", title: "记录最初是谁指派的任务" }, { value: "assigner", label: "指派人登录名", title: "记录是谁指派的任务" }, { value: "assignerName", label: "指派人姓名", title: "记录是谁指派的任务" }, { value: "assignerId", label: "指派人ID", title: "记录是谁指派的任务" }, { value: "instanceCreator", label: "流程发起人登录名" }, { value: "instanceCreatorName", label: "流程发起人姓名" }, { value: "processCode", label: "流程编码" }, { value: "groupName", label: "流程名称" }, { value: "processingMode", label: "任务办理方式", title: "EDIT 编辑式,APPROVE 审批式,COUNTERSIGN 会签式,TYPE_SIGNOFF 签收式,VOTE投票式,TYPE_READ 阅" }, { value: "isMoreTransactor", label: "是否需要所有办理人均办理" }, { value: "isDeptTask", label: "是否是部门任务" }, { value: "isDrawTask", label: "是否是领取的任务" }, { value: "transactDate", label: "任务办理时间" }, { value: "deptTransactor", label: "部门任务时部门编码" }, { value: "deptTransactorName", label: "部门任务时部门名称" }, { value: "deptTransactorId", label: "部门任务时部门ID" }, { value: "businessData", label: "业务单据信息" }, { value: "previousTaskId", label: "上一环节任务ID" }];
2
2
  function r(a2, l2) {
3
3
  return a2 && a2.length > 0 ? e.filter((e2) => l2 && "params" == e2.value || a2.includes(e2.value)) : l2 ? e : e.filter((e2) => "params" != e2.value);
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import o from "./common-variable-bind.vue3.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(o, [["__scopeId", "data-v-b1a52546"]]);
4
+ const r = e(o, [["__scopeId", "data-v-b16110ab"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -131,7 +131,7 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
131
131
  "0" != e4.symbolNum ? le.value = e4.value + e4.symbol + e4.symbolNum + e4.symbolUnit : le.value = e4.value;
132
132
  } else le.value = e4.value;
133
133
  H.value = "${" + ee.value + "." + le.value + "}", W("update:modelValue", H.value, e4.alias), de();
134
- }(e3.row) }, { default: v(() => [...a2[9] || (a2[9] = [y(" 选择 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), d(z2, { label: "Date", prop: "label" }, { default: v((e3) => ["context" == ee.value && "range" == e3.row.type ? (s(), i("div", D, [d(u2, { size: "small", modelValue: e3.row.symbolNum, "onUpdate:modelValue": (l3) => e3.row.symbolNum = l3, placeholder: "", style: { width: "35px", "margin-left": "4px" } }, null, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbolUnit, "onUpdate:modelValue": (l3) => e3.row.symbolUnit = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "天", value: "d" }), d(j2, { label: "周", value: "w" }), d(j2, { label: "月", value: "m" }), d(j2, { label: "年", value: "y" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbol, "onUpdate:modelValue": (l3) => e3.row.symbol = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "前", value: "-" }), d(j2, { label: "后", value: "+" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])])) : h("", true), "data" == ee.value || "obj" == ee.value || "row" == ee.value ? (s(), i("span", { key: 1, title: e3.row.label + " " + e3.row.value }, r(e3.row.label + " " + e3.row.value), 9, P)) : (s(), i("span", { key: 2, title: e3.row.label }, r(e3.row.label), 9, B))]), _: 1 })]), _: 1 }, 8, ["height", "data"]), f("div", S, "总计:" + r(me.value.length), 1)]), _: 1 })) : (s(), p(V2, { key: 0, span: 16 }, { default: v(() => [d(M2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["visible"]));
134
+ }(e3.row) }, { default: v(() => [...a2[9] || (a2[9] = [y(" 选择 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), d(z2, { label: "Date", prop: "label" }, { default: v((e3) => ["context" == ee.value && "range" == e3.row.type ? (s(), i("div", D, [d(u2, { size: "small", modelValue: e3.row.symbolNum, "onUpdate:modelValue": (l3) => e3.row.symbolNum = l3, placeholder: "", style: { width: "35px", "margin-left": "4px" } }, null, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbolUnit, "onUpdate:modelValue": (l3) => e3.row.symbolUnit = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "天", value: "d" }), d(j2, { label: "周", value: "w" }), d(j2, { label: "月", value: "m" }), d(j2, { label: "年", value: "y" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbol, "onUpdate:modelValue": (l3) => e3.row.symbol = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "前", value: "-" }), d(j2, { label: "后", value: "+" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])])) : h("", true), "data" == ee.value || "obj" == ee.value || "row" == ee.value || "task" == ee.value ? (s(), i("span", { key: 1, title: e3.row.label + " " + e3.row.value + (e3.row.title ? " 说明:" + e3.row.title : "") }, r(e3.row.label + " " + e3.row.value), 9, P)) : (s(), i("span", { key: 2, title: e3.row.label }, r(e3.row.label), 9, B))]), _: 1 })]), _: 1 }, 8, ["height", "data"]), f("div", S, "总计:" + r(me.value.length), 1)]), _: 1 })) : (s(), p(V2, { key: 0, span: 16 }, { default: v(() => [d(M2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["visible"]));
135
135
  };
136
136
  } });
137
137
  export {
@@ -2,7 +2,7 @@ import { defineComponent as e, computed as i, ref as n, watch as t, resolveCompo
2
2
  import { ElCard as h } from "element-plus";
3
3
  import { useDraggable as j } from "vue-draggable-plus";
4
4
  import { ArrowUp as O, ArrowDown as C } from "@element-plus/icons-vue";
5
- import W from "../../object-design.vue.js";
5
+ import W from "../../object-design.vue2.js";
6
6
  import { deepCopy as S, getUuidv4 as k } from "../../../../utils/common-util.js";
7
7
  import { caculateComponentStyle as w } from "../../../../utils/container-design-util.js";
8
8
  import { copyHandleEvents as D, deleteDesignItem as _ } from "../../../../utils/page-design-util.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as t, watch as i, computed as l, resolveComponent as n, openBlock as o, createBlock as s, normalizeClass as u, normalizeStyle as a, withCtx as m, createElementBlock as r, Fragment as c, renderList as g, createVNode as d, unref as f, createElementVNode as p, createCommentVNode as b, createTextVNode as y, toDisplayString as v, reactive as h } from "vue";
2
2
  import { VueDraggable as x } from "vue-draggable-plus";
3
- import O from "../../object-design.vue.js";
3
+ import O from "../../object-design.vue2.js";
4
4
  import { SuperIcon as V } from "agilebuilder-ui";
5
5
  import { deepCopy as j, getUuidv4 as W } from "../../../../utils/common-util.js";
6
6
  import { caculateComponentStyle as D } from "../../../../utils/container-design-util.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as l, openBlock as o, createBlock as s, withCtx as g, unref as u, normalizeStyle as r, createElementBlock as a, Fragment as c, renderList as d, createCommentVNode as f, createVNode as m, normalizeClass as p, reactive as h } from "vue";
2
2
  import { VueDraggable as b } from "vue-draggable-plus";
3
- import O from "../../object-design.vue.js";
3
+ import O from "../../object-design.vue2.js";
4
4
  import { deepCopy as W, getUuidv4 as y } from "../../../../utils/common-util.js";
5
5
  import { caculateComponentStyle as x } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as o, openBlock as l, createBlock as s, normalizeClass as u, normalizeStyle as r, withCtx as g, createElementBlock as f, Fragment as c, renderList as a, reactive as m } from "vue";
2
2
  import { useDraggable as p } from "vue-draggable-plus";
3
- import d from "../../object-design.vue.js";
3
+ import d from "../../object-design.vue2.js";
4
4
  import { deepCopy as x, getUuidv4 as b } from "../../../../utils/common-util.js";
5
5
  import { caculateComponentStyle as v } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as o, openBlock as l, createElementBlock as s, createVNode as r, normalizeClass as u, normalizeStyle as c, withCtx as g, toDisplayString as a, createCommentVNode as f, Fragment as m, renderList as p, createBlock as d, reactive as b } from "vue";
2
2
  import { useDraggable as v } from "vue-draggable-plus";
3
- import y from "../../object-design.vue.js";
3
+ import y from "../../object-design.vue2.js";
4
4
  import { deepCopy as h, getUuidv4 as W } from "../../../../utils/common-util.js";
5
5
  import { caculateComponentStyle as O } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as t, watch as i, resolveComponent as n, open
2
2
  import { ElTabs as O, ElTabPane as V } from "element-plus";
3
3
  import { SuperIcon as W } from "agilebuilder-ui";
4
4
  import { VueDraggable as j } from "vue-draggable-plus";
5
- import _ from "../../object-design.vue.js";
5
+ import _ from "../../object-design.vue2.js";
6
6
  import { deepCopy as h, getUuidv4 as k } from "../../../../utils/common-util.js";
7
7
  import { caculateComponentStyle as D } from "../../../../utils/container-design-util.js";
8
8
  import { copyHandleEvents as T, deleteDesignItem as C } from "../../../../utils/page-design-util.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as t, computed as n, watch as i, onMounted as o, onUnmounted as s, openBlock as u, createElementBlock as r, createElementVNode as l, normalizeStyle as g, normalizeClass as c, Fragment as f, renderList as p, createBlock as m, reactive as a } from "vue";
2
2
  import { useDraggable as d } from "vue-draggable-plus";
3
- import v from "../../object-design.vue.js";
3
+ import v from "../../object-design.vue2.js";
4
4
  import { deepCopy as b, getUuidv4 as y } from "../../../../utils/common-util.js";
5
5
  import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
@@ -4,7 +4,7 @@ import "uuid";
4
4
  import v from "./configuration-value.vue.js";
5
5
  import V from "./formatting.vue.js";
6
6
  import "../../../../../../stores/page-store.js";
7
- import C from "../../object-design.vue.js";
7
+ import C from "../../object-design.vue2.js";
8
8
  import { getDefaultComponent as k, updateConfEvents as h } from "../../../../utils/home-chart-util.js";
9
9
  const _ = { key: 0 }, x = { key: 1 }, F = { key: 0 }, U = { key: 0 }, D = { key: 0 }, N = { key: 1 }, S = { key: 0 }, T = { key: 1 }, j = { key: 0 }, M = { key: 0 }, I = { key: 0 }, J = { key: 0 }, K = { key: 0 }, O = { key: 0 }, A = { style: { display: "none" } }, L = e({ __name: "dynamic-column", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) }, modelTableFieldList: { type: Array, default: () => [] }, clolumnTableFields: { type: Array, default: () => [] }, title: String }, setup(e2) {
10
10
  const L2 = e2, R = l(false), z = l(null), $ = l(false), q = l({}), G = l({}), B = l({});
@@ -3,7 +3,7 @@ import { columnCustomTittleClass as f, columnTittleStyle as y } from "../../../.
3
3
  import { VueDraggable as h } from "vue-draggable-plus";
4
4
  import x from "../../../../utils/eventBus.js";
5
5
  import { deepCopy as k, getUuidv4 as O } from "../../../../utils/common-util.js";
6
- import j from "../../object-design.vue.js";
6
+ import j from "../../object-design.vue2.js";
7
7
  import { ElMessage as W, ElMessageBox as v } from "element-plus";
8
8
  const D = ["onClick", "onMouseout", "onMouseover"], w = { key: 2 }, M = e({ __name: "table-children-column", props: { listColumns: { type: Object, default: () => {
9
9
  } }, selectWidget: { type: Object, default: () => {
@@ -13,7 +13,7 @@ import "super-page-runtime";
13
13
  import "../../../../../../stores/page-store.js";
14
14
  import "@vueuse/core";
15
15
  import "agilebuilder-ui/src/utils/json-util";
16
- /* empty css */
16
+ /* empty css */
17
17
  import M from "../component/table-children-column.vue.js";
18
18
  import { queryTableFields as W, changeFeieldToMap as _ } from "../../../../utils/page-table-util.js";
19
19
  const B = { class: "amb-object-design-table-ref" }, P = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, $ = e({ __name: "table-design", props: { pageDesign: {}, configure: {}, selectWidget: {}, indexObj: {} }, emits: ["selectColumn", "onSelectWidget"], setup(e2, { emit: $2 }) {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, openBlock as o, createBlock as u, withCtx as t, createVNode as i, createElementVNode as s, createElementBlock as r, Fragment as d, renderList as n, unref as m, createCommentVNode as p, createTextVNode as f, withDirectives as c, vShow as g } from "vue";
1
+ import { defineComponent as e, ref as l, resolveComponent as a, openBlock as u, createBlock as o, withCtx as t, createVNode as i, createElementVNode as s, createElementBlock as r, Fragment as d, renderList as n, unref as m, createCommentVNode as p, createTextVNode as f, withDirectives as c, vShow as g } from "vue";
2
2
  import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
3
3
  import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
4
4
  import V from "../../common/common-attr-size.vue.js";
@@ -10,23 +10,23 @@ import k from "../common/title-suffix.vue.js";
10
10
  import w from "../common/verification-custom.vue.js";
11
11
  import j from "../../common/common-i18n-key-input.vue.js";
12
12
  import x from "../../common/common-bind-default-value.vue.js";
13
- const S = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, D = e({ __name: "select-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
14
- } }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: D2 }) {
15
- const P = e2, q = l(P.configure.name), W = D2, C = l(["base"]), T = l(false);
13
+ const S = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, q = e({ __name: "select-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
14
+ } }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: q2 }) {
15
+ const W = e2, D = l(W.configure.name), P = q2, C = l(["base"]), T = l(false);
16
16
  function M(e3, l2) {
17
- P.configure.props.base.prop = e3, l2 && (P.configure.props.base.title = l2);
17
+ W.configure.props.base.prop = e3, l2 && (W.configure.props.base.title = l2);
18
18
  }
19
19
  function O(e3) {
20
- P.configure.props.base.optionProp = e3;
20
+ W.configure.props.base.optionProp = e3;
21
21
  }
22
22
  function A(e3) {
23
- _(P.configure, e3, W);
23
+ _(W.configure, e3, P);
24
24
  }
25
- return P.configure.isTable && (T.value = true), (l2, _2) => {
26
- const D3 = a("el-option"), P2 = a("el-select"), W2 = a("el-form-item"), L = a("el-input"), B = a("el-radio"), E = a("el-radio-group"), F = a("el-input-number"), G = a("el-collapse-item"), H = a("el-checkbox"), I = a("el-collapse"), J = a("el-form");
27
- return o(), u(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: C.value, "onUpdate:modelValue": _2[17] || (_2[17] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", S, [i(W2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(P2, { modelValue: q.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => q.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(o(true), r(d, null, n(m(b)(), (e3) => (o(), u(D3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(L, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? p("", true) : (o(), u(W2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? p("", true) : (o(), u(W2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? p("", true) : (o(), u(W2, { key: 2, label: "选项名变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.optionProp, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["modelValue"]))]), _: 1 })), i(W2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(x, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), T.value ? p("", true) : (o(), u(W2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => [..._2[18] || (_2[18] = [f("显示", -1)])]), _: 1 }), i(B, { value: false }, { default: t(() => [..._2[19] || (_2[19] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), c(i(W2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), c(i(W2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), c(i(W2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => [..._2[20] || (_2[20] = [f("换行", -1)])]), _: 1 }), i(B, { value: "inline" }, { default: t(() => [..._2[21] || (_2[21] = [f("不换行", -1)])]), _: 1 }), i(B, { value: "omit" }, { default: t(() => [..._2[22] || (_2[22] = [f("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "多选", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.multiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.multiple = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => [..._2[23] || (_2[23] = [f("是", -1)])]), _: 1 }), i(B, { value: false }, { default: t(() => [..._2[24] || (_2[24] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), c(i(W2, { label: "多选合并", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.multipleMerge, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.multipleMerge = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => [..._2[25] || (_2[25] = [f("是", -1)])]), _: 1 }), i(B, { value: false }, { default: t(() => [..._2[26] || (_2[26] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(W2, { label: "可创建条目", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.allowCreate, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.allowCreate = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => [..._2[27] || (_2[27] = [f("是", -1)])]), _: 1 }), i(B, { value: false }, { default: t(() => [..._2[28] || (_2[28] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "常用选优先", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.frequently, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.frequently = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => [..._2[29] || (_2[29] = [f("是", -1)])]), _: 1 }), i(B, { value: false }, { default: t(() => [..._2[30] || (_2[30] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), c(i(W2, { label: "值为数组", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.arrayValue, "onUpdate:modelValue": _2[11] || (_2[11] = (l3) => e2.configure.props.base.arrayValue = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => [..._2[31] || (_2[31] = [f("是", -1)])]), _: 1 }), i(B, { value: false }, { default: t(() => [..._2[32] || (_2[32] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(W2, { label: "选项描述位置", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.optionDescriptionPosition, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.optionDescriptionPosition = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => [..._2[33] || (_2[33] = [f("默认", -1)])]), _: 1 }), i(B, { value: "newLine" }, { default: t(() => [..._2[34] || (_2[34] = [f("新一行", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => [..._2[35] || (_2[35] = [f("显示", -1)])]), _: 1 }), i(B, { value: false }, { default: t(() => [..._2[36] || (_2[36] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[14] || (_2[14] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => [..._2[37] || (_2[37] = [f("大", -1)])]), _: 1 }), i(B, { value: "default" }, { default: t(() => [..._2[38] || (_2[38] = [f("中", -1)])]), _: 1 }), i(B, { value: "small" }, { default: t(() => [..._2[39] || (_2[39] = [f("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[15] || (_2[15] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => [..._2[40] || (_2[40] = [f("普通", -1)])]), _: 1 }), i(B, { value: "disabled" }, { default: t(() => [..._2[41] || (_2[41] = [f("禁用", -1)])]), _: 1 }), i(B, { value: "hidden" }, { default: t(() => [..._2[42] || (_2[42] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), T.value ? p("", true) : (o(), u(v, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (o(), u(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), c(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(G, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [s("div", z, [i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[16] || (_2[16] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(w, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), T.value ? p("", true) : (o(), u(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
25
+ return W.configure.isTable && (T.value = true), (l2, _2) => {
26
+ const q3 = a("el-option"), W2 = a("el-select"), P2 = a("el-form-item"), B = a("el-input"), E = a("el-radio"), F = a("el-radio-group"), G = a("el-input-number"), H = a("el-collapse-item"), I = a("el-checkbox"), J = a("el-collapse"), K = a("el-form");
27
+ return u(), o(K, { "label-width": "80px", size: "small" }, { default: t(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": _2[16] || (_2[16] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(H, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", S, [i(P2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(W2, { modelValue: D.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => D.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), r(d, null, n(m(b)(), (e3) => (u(), o(q3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? p("", true) : (u(), o(P2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? p("", true) : (u(), o(P2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? p("", true) : (u(), o(P2, { key: 2, label: "选项名变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.optionProp, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["modelValue"]))]), _: 1 })), i(P2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(x, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), T.value ? p("", true) : (u(), o(P2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[17] || (_2[17] = [f("显示", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[18] || (_2[18] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), c(i(P2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), c(i(P2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), c(i(P2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "block" }, { default: t(() => [..._2[19] || (_2[19] = [f("换行", -1)])]), _: 1 }), i(E, { value: "inline" }, { default: t(() => [..._2[20] || (_2[20] = [f("不换行", -1)])]), _: 1 }), i(E, { value: "omit" }, { default: t(() => [..._2[21] || (_2[21] = [f("省略号", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(P2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "多选", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.multiple = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[22] || (_2[22] = [f("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[23] || (_2[23] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), c(i(P2, { label: "多选合并", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multipleMerge, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.multipleMerge = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[24] || (_2[24] = [f("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[25] || (_2[25] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(P2, { label: "可创建条目", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.allowCreate, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.allowCreate = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[26] || (_2[26] = [f("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[27] || (_2[27] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "常用选优先", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.frequently, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.frequently = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[28] || (_2[28] = [f("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[29] || (_2[29] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), c(i(P2, { label: "值为数组", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.arrayValue, "onUpdate:modelValue": _2[11] || (_2[11] = (l3) => e2.configure.props.base.arrayValue = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[30] || (_2[30] = [f("是", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[31] || (_2[31] = [f("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(P2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => [..._2[32] || (_2[32] = [f("显示", -1)])]), _: 1 }), i(E, { value: false }, { default: t(() => [..._2[33] || (_2[33] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "large" }, { default: t(() => [..._2[34] || (_2[34] = [f("大", -1)])]), _: 1 }), i(E, { value: "default" }, { default: t(() => [..._2[35] || (_2[35] = [f("中", -1)])]), _: 1 }), i(E, { value: "small" }, { default: t(() => [..._2[36] || (_2[36] = [f("小", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[14] || (_2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "default" }, { default: t(() => [..._2[37] || (_2[37] = [f("普通", -1)])]), _: 1 }), i(E, { value: "disabled" }, { default: t(() => [..._2[38] || (_2[38] = [f("禁用", -1)])]), _: 1 }), i(E, { value: "hidden" }, { default: t(() => [..._2[39] || (_2[39] = [f("隐藏", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), T.value ? p("", true) : (u(), o(v, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), c(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (u(), o(H, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [s("div", z, [i(P2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(I, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[15] || (_2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(P2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(w, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), T.value ? p("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
28
28
  };
29
29
  } });
30
30
  export {
31
- D as default
31
+ q as default
32
32
  };
@@ -4,33 +4,33 @@ import h from "../common/title-suffix-element.vue.js";
4
4
  const w = e({ __name: "select-design", props: { pageDesign: {}, configure: {} }, emits: ["handleSelect"], setup(e2, { emit: w2 }) {
5
5
  const V = e2;
6
6
  V.configure.runtime || (V.configure.runtime = {});
7
- const k = l(null), S = l({}), x = l(""), C = l({}), _ = l({ value: "" }), D = l({});
8
- let j;
7
+ const k = l(null), S = l({}), x = l(""), C = l({}), _ = l({ value: "" }), j = l({});
8
+ let q;
9
9
  a(V.configure.style, () => {
10
10
  b(V.configure, S, x, C), V.configure.runtime.style = S.value, V.configure.runtime.class = x.value, V.configure.runtime.headerStyle = C.value;
11
11
  }, { immediate: true });
12
- const q = setTimeout(() => {
13
- z();
12
+ const z = setTimeout(() => {
13
+ O();
14
14
  }, 10);
15
- function z() {
16
- T(V.configure, _, D), function() {
17
- var _a, _b;
15
+ function O() {
16
+ T(V.configure, _, j), function() {
17
+ var _a;
18
18
  let e3 = {};
19
19
  const l2 = {};
20
- V.configure.props && (e3 = V.configure.props), l2.value = "", e3.base && e3.base.multiple ? (l2.multiple = true, l2.value = []) : (l2.multiple = false, l2.value = ""), e3.base && e3.base.defaultValue && (l2.defaultValue = e3.base.defaultValue), e3.base && e3.base.allowCreate && (l2.filterable = true, l2.allowCreate = true), l2.arrayValue = !!((_a = e3 == null ? void 0 : e3.base) == null ? void 0 : _a.arrayValue), l2.optionDescriptionPosition = ((_b = e3 == null ? void 0 : e3.base) == null ? void 0 : _b.optionDescriptionPosition) ? e3.base.optionDescriptionPosition : "default";
20
+ V.configure.props && (e3 = V.configure.props), l2.value = "", e3.base && e3.base.multiple ? (l2.multiple = true, l2.value = []) : (l2.multiple = false, l2.value = ""), e3.base && e3.base.defaultValue && (l2.defaultValue = e3.base.defaultValue), e3.base && e3.base.allowCreate && (l2.filterable = true, l2.allowCreate = true), l2.arrayValue = !!((_a = e3 == null ? void 0 : e3.base) == null ? void 0 : _a.arrayValue);
21
21
  const a2 = e3.dataOrigin;
22
- a2 && ("normal" != a2.filterType && "remote" != a2.filterType || (l2.filterable = true)), Object.assign(_.value, l2), _.value.options || (_.value.options = []), _.value.multiple && e3.base.multipleMerge && (j && clearTimeout(j), j = setTimeout(() => {
22
+ a2 && ("normal" != a2.filterType && "remote" != a2.filterType || (l2.filterable = true)), Object.assign(_.value, l2), _.value.options || (_.value.options = []), _.value.multiple && e3.base.multipleMerge && (q && clearTimeout(q), q = setTimeout(() => {
23
23
  _.value.collapseTags = true, _.value.collapseTagsTooltip = true;
24
24
  }, 10));
25
- }(), V.configure.runtime.props = _.value, V.configure.runtime.titleExceedStyle = D.value;
25
+ }(), V.configure.runtime.props = _.value, V.configure.runtime.titleExceedStyle = j.value;
26
26
  }
27
27
  return t(() => {
28
- y(V.configure), j && clearTimeout(j), q && clearTimeout(q);
28
+ y(V.configure), q && clearTimeout(q), z && clearTimeout(z);
29
29
  }), a(V.configure.props, () => {
30
- z();
30
+ O();
31
31
  }), (l2, a2) => {
32
32
  const t2 = u("el-option"), b2 = u("el-select"), y2 = u("el-form-item");
33
- return i(), o(y2, { required: !!_.value.required, class: s([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": _.value.labelWidth, style: r(S.value) }, { label: n(() => [_.value.tittleShow ? (i(), p("div", { key: 0, style: r({ ...C.value, ...D.value, "padding-right": "12px" }) }, [_.value.prefixType ? (i(), o(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (i(), p(f, { key: 1 }, [v(g(_.value.title), 1)], 64))], 4)) : d("", true)]), default: n(() => [c(b2, { ref_key: "thisRef", ref: k, disabled: "", size: _.value.size, clearable: _.value.clearable, multiple: _.value.multiple, "collapse-tags": _.value.collapseTags, "collapse-tags-tooltip": _.value.collapseTagsTooltip, filterable: _.value.filterable, "allow-create": _.value.allowCreate, placeholder: _.value.placeholder, modelValue: _.value.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => _.value.value = e3), onClick: a2[1] || (a2[1] = (e3) => l2.$emit("handleSelect")) }, { default: n(() => [(i(true), p(f, null, m(_.value.options, (e3) => (i(), o(t2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
33
+ return i(), o(y2, { required: !!_.value.required, class: s([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": _.value.labelWidth, style: r(S.value) }, { label: n(() => [_.value.tittleShow ? (i(), p("div", { key: 0, style: r({ ...C.value, ...j.value, "padding-right": "12px" }) }, [_.value.prefixType ? (i(), o(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (i(), p(f, { key: 1 }, [v(g(_.value.title), 1)], 64))], 4)) : d("", true)]), default: n(() => [c(b2, { ref_key: "thisRef", ref: k, disabled: "", size: _.value.size, clearable: _.value.clearable, multiple: _.value.multiple, "collapse-tags": _.value.collapseTags, "collapse-tags-tooltip": _.value.collapseTagsTooltip, filterable: _.value.filterable, "allow-create": _.value.allowCreate, placeholder: _.value.placeholder, modelValue: _.value.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => _.value.value = e3), onClick: a2[1] || (a2[1] = (e3) => l2.$emit("handleSelect")) }, { default: n(() => [(i(true), p(f, null, m(_.value.options, (e3) => (i(), o(t2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
34
34
  };
35
35
  } });
36
36
  export {
@@ -1,5 +1,5 @@
1
1
  import e from "./object-design.vue3.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const t = o(e, [["__scopeId", "data-v-c2d9c8d5"]]);
5
5
  export {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as o, computed as i, watch as s, openBlock as t, createElementBlock as n, normalizeClass as r, normalizeStyle as u, Fragment as c, renderList as g, withDirectives as p, createBlock as l, vShow as a } from "vue";
2
- import f from "../../object-design.vue.js";
2
+ import f from "../../object-design.vue2.js";
3
3
  import { caculateDetailComponentStyle as d } from "../../../../utils/form-design-util.js";
4
4
  const m = e({ __name: "workflowbutton-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget"], setup(e2, { emit: m2 }) {
5
5
  const b = e2;
@@ -1,5 +1,5 @@
1
1
  import o from "./config.vue3.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-f39498c6"]]);
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as t, onMounted as n, onUnmounted as a, watch as l, resolveComponent as u, openBlock as o, createElementBlock as s, createElementVNode as i, createVNode as r, withCtx as m, withDirectives as c, vShow as d, unref as v, createTextVNode as p, toDisplayString as f, Fragment as g, renderList as b, createBlock as y } from "vue";
2
2
  import { ElMessageBox as x, ElMessage as h } from "element-plus";
3
- import C from "./config.vue.js";
3
+ import C from "./config.vue2.js";
4
4
  import { standardButtonOperations as E } from "../../../utils/assemblys-config.js";
5
5
  import { findDesignItemByUuid as S, getUuidv4 as V, deepCopy as k } from "../../../utils/common-util.js";
6
6
  import { usePageContextStore as _ } from "../../../../../stores/page-store.js";
@@ -1,12 +1,12 @@
1
- import { defineComponent as e, ref as i, reactive as n, computed as t, watch as l, onMounted as s, onUnmounted as o, resolveComponent as r, openBlock as a, createElementBlock as u, Fragment as c, createElementVNode as m, withDirectives as g, normalizeClass as p, createVNode as f, withCtx as d, unref as v, vShow as b, normalizeStyle as y, renderList as h, createBlock as j, createCommentVNode as C } from "vue";
1
+ import { defineComponent as e, ref as i, reactive as n, computed as t, watch as l, onMounted as o, onUnmounted as s, resolveComponent as r, openBlock as a, createElementBlock as u, Fragment as c, createElementVNode as m, withDirectives as g, normalizeClass as p, createVNode as f, withCtx as d, unref as v, vShow as b, normalizeStyle as y, renderList as h, createBlock as j, createCommentVNode as C } from "vue";
2
2
  import { Monitor as S, Cellphone as k, Iphone as _, Plus as O, Check as A, View as T } from "@element-plus/icons";
3
3
  import { useDraggable as D } from "vue-draggable-plus";
4
- import x from "../../assemblys/object-design.vue.js";
4
+ import x from "../../assemblys/object-design.vue2.js";
5
5
  import { deepCopy as W, getUuidv4 as N, findDesignItemByUuid as E } from "../../../utils/common-util.js";
6
6
  import { addComponentRef as U } from "../../../utils/page-helper-util.js";
7
7
  import { caculatePageStyle as w } from "../../../utils/container-design-util.js";
8
8
  import J from "./view-design-preview.vue.js";
9
- import { ElLoading as P, ElMessage as z } from "element-plus";
9
+ import { ElMessage as P } from "element-plus";
10
10
  import "@vueuse/core";
11
11
  import "@element-plus/icons-vue";
12
12
  import "codemirror";
@@ -16,126 +16,125 @@ import "@codemirror/autocomplete";
16
16
  import "@codemirror/language";
17
17
  import "@codemirror/search";
18
18
  import "js-beautify";
19
- /* empty css */
19
+ /* empty css */
20
20
  import "../../../utils/assemblys-config.js";
21
21
  import "../../../../../stores/page-store.js";
22
22
  import "../../../../../stores/event-undo-redo-store.js";
23
23
  import "../../../utils/eventBus.js";
24
- import M from "./components/quick-add-dialog.vue.js";
25
- import K from "./components/i18n-setting.vue.js";
26
- import { setTableRuntimesFromConfigure as R } from "../../../utils/page-table-util.js";
27
- import q from "agilebuilder-ui/src/utils/request";
28
- import { copyHandleEvents as V, deleteDesignItem as B } from "../../../utils/page-design-util.js";
29
- import { setHomeChartRuntimesFromConfigure as F } from "../../../utils/home-chart-util.js";
30
- import { getFormPropTitleMap as L } from "../../../utils/form-design-util.js";
24
+ import z from "./components/quick-add-dialog.vue.js";
25
+ import M from "./components/i18n-setting.vue.js";
26
+ import { setTableRuntimesFromConfigure as K } from "../../../utils/page-table-util.js";
27
+ import R from "agilebuilder-ui/src/utils/request";
28
+ import { copyHandleEvents as q, deleteDesignItem as V } from "../../../utils/page-design-util.js";
29
+ import { setHomeChartRuntimesFromConfigure as B } from "../../../utils/home-chart-util.js";
30
+ import { getFormPropTitleMap as F } from "../../../utils/form-design-util.js";
31
31
  import "super-page-runtime";
32
- const I = { class: "amb-design-content-center-header" }, $ = { class: "amb-design-tool" }, G = { class: "amb-design-tool-item" }, H = { class: "amb-design-tool-item", style: { "padding-right": "20px" } }, Q = e({ __name: "view-design-display", props: { configure: {}, selectWidget: {}, selAsselbyType: {} }, emits: ["onSelectWidget", "onCustomAttrWidget", "changeSelectEvent", "addEvent", "changeSelectStandardEvent", "revocation", "regain"], setup(e2, { expose: Q2, emit: X }) {
33
- const Y = e2, Z = i(null), ee = i(null), ie = X;
34
- null == Y.configure.props && (Y.configure.props = {}), null == Y.configure.style && (Y.configure.style = {}), null != Y.configure.items && null != Y.configure.items || (Y.configure.items = []);
35
- const ne = Y.configure.items, te = i(null), le = n({ index: 0 }), se = i({}), oe = i(""), re = i(null);
36
- let ae = null;
37
- ce();
38
- const ue = t(function() {
32
+ const L = { class: "amb-design-content-center-header" }, I = { class: "amb-design-tool" }, $ = { class: "amb-design-tool-item" }, G = { class: "amb-design-tool-item", style: { "padding-right": "20px" } }, H = e({ __name: "view-design-display", props: { configure: {}, selectWidget: {}, selAsselbyType: {} }, emits: ["onSelectWidget", "onCustomAttrWidget", "changeSelectEvent", "addEvent", "changeSelectStandardEvent", "revocation", "regain"], setup(e2, { expose: H2, emit: Q }) {
33
+ const X = e2, Y = i(null), Z = i(null), ee = Q;
34
+ null == X.configure.props && (X.configure.props = {}), null == X.configure.style && (X.configure.style = {}), null != X.configure.items && null != X.configure.items || (X.configure.items = []);
35
+ const ie = X.configure.items, ne = i(null), te = n({ index: 0 }), le = i({}), oe = i(""), se = i(null);
36
+ ae();
37
+ const re = t(function() {
39
38
  let e3 = null;
40
- "ipad" == Y.configure.dimensions ? e3 = 768 : "phone" == Y.configure.dimensions && (e3 = 414);
39
+ "ipad" == X.configure.dimensions ? e3 = 768 : "phone" == X.configure.dimensions && (e3 = 414);
41
40
  const i2 = { width: e3 ? e3 + "px" : "" };
42
- for (let e4 in se.value) i2[e4] = se.value[e4];
43
- return re.value && (i2["min-height"] = re.value + "px"), i2;
41
+ for (let e4 in le.value) i2[e4] = le.value[e4];
42
+ return se.value && (i2["min-height"] = se.value + "px"), i2;
44
43
  });
45
- function ce() {
46
- w(Y.configure, se, oe), Y.configure.runtime || (Y.configure.runtime = {}), Y.configure.runtime.class = oe.value, Y.configure.runtime.style = se.value;
44
+ function ae() {
45
+ w(X.configure, le, oe), X.configure.runtime || (X.configure.runtime = {}), X.configure.runtime.class = oe.value, X.configure.runtime.style = le.value;
47
46
  }
48
- l(Y.configure.props, () => {
49
- ce();
50
- }), l(Y.configure.style, () => {
51
- ce();
47
+ l(X.configure.props, () => {
48
+ ae();
49
+ }), l(X.configure.style, () => {
50
+ ae();
52
51
  });
53
- const me = i(null);
54
- function ge(e3) {
55
- ie("onSelectWidget", -1);
52
+ const ue = i(null);
53
+ function ce(e3) {
54
+ ee("onSelectWidget", -1);
56
55
  }
57
- function pe(e3, i2) {
58
- ie("onSelectWidget", e3, i2);
56
+ function me(e3, i2) {
57
+ ee("onSelectWidget", e3, i2);
59
58
  }
60
- function fe(e3, i2) {
61
- ie("onCustomAttrWidget", e3, i2);
59
+ function ge(e3, i2) {
60
+ ee("onCustomAttrWidget", e3, i2);
62
61
  }
63
- function de(e3) {
64
- const i2 = ne.indexOf(e3), t2 = n(W(e3));
65
- t2.uuid = N(), V(t2, Y.configure), ne.splice(i2, 0, t2);
62
+ function pe(e3) {
63
+ const i2 = ie.indexOf(e3), t2 = n(W(e3));
64
+ t2.uuid = N(), q(t2, X.configure), ie.splice(i2, 0, t2);
66
65
  }
67
- function ve(e3) {
68
- B(ne, e3, e3.items && e3.items.length > 0, true);
66
+ function fe(e3) {
67
+ V(ie, e3, e3.items && e3.items.length > 0, true);
69
68
  }
70
- s(() => {
71
- me.value && U(Y.configure, -1, me);
69
+ o(() => {
70
+ ue.value && U(X.configure, -1, ue);
72
71
  });
73
- const be = i(null);
74
- function ye() {
75
- ae = P.service({ fullscreen: true, text: "正在保存中..." }), Y.configure.i18nKeys && Y.configure.i18nKeys.length > 0 && (Y.configure.i18nKeys = Array.from(new Set(Y.configure.i18nKeys)));
76
- const e3 = JSON.parse(JSON.stringify(Y.configure));
72
+ const de = i(null);
73
+ function ve() {
74
+ X.configure.i18nKeys && X.configure.i18nKeys.length > 0 && (X.configure.i18nKeys = Array.from(new Set(X.configure.i18nKeys)));
75
+ const e3 = JSON.parse(JSON.stringify(X.configure));
77
76
  e3.tableRuntimes = {}, e3.currentTableConfig = {}, function(e4) {
78
- "form" === e4.pageType && e4.items ? (e4.formPropTiltleMap = L(e4), Y.configure.formPropTiltleMap = e4.formPropTiltleMap) : (delete e4.formPropLabelMap, delete Y.configure.formPropLabelMap);
77
+ "form" === e4.pageType && e4.items ? (e4.formPropTiltleMap = F(e4), X.configure.formPropTiltleMap = e4.formPropTiltleMap) : (delete e4.formPropLabelMap, delete X.configure.formPropLabelMap);
79
78
  e4.tableUuids && (e4.tableUuids = e4.tableUuids.filter((i2) => {
80
79
  const n2 = E(e4, i2);
81
- return !!n2 && (R(n2, e4), true);
80
+ return !!n2 && (K(n2, e4), true);
82
81
  }));
83
82
  e4.homepageChartUuids && (e4.homepageChartUuids = e4.homepageChartUuids.filter((i2) => {
84
83
  let n2 = E(e4, i2);
85
- return !!n2 && (n2 = JSON.parse(JSON.stringify(n2)), F(n2, e4), true);
84
+ return !!n2 && (n2 = JSON.parse(JSON.stringify(n2)), B(n2, e4), true);
86
85
  }));
87
- }(e3), q.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/save", { id: Y.configure.id, designJson: JSON.stringify(e3) }).then((e4) => {
88
- ae && ae.close(), z({ message: "保存成功", type: "success" });
86
+ }(e3), R.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/save", { id: X.configure.id, designJson: JSON.stringify(e3) }).then((e4) => {
87
+ P({ message: "保存成功", type: "success" });
89
88
  }).catch((e4) => {
90
- ae && ae.close(), z({ message: "保存失败", type: "error" });
89
+ P({ message: "保存失败", type: "error" });
91
90
  });
92
91
  }
93
- D(be, ne, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd(e3) {
92
+ D(de, ie, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd(e3) {
94
93
  } });
95
- const he = i(false);
96
- const je = i(null), Ce = i({}), Se = i({}), ke = i(false);
97
- let _e;
98
- function Oe() {
99
- _e && clearTimeout(_e), ke.value = false, _e = setTimeout(() => {
100
- ke.value = true;
94
+ const be = i(false);
95
+ const ye = i(null), he = i({}), je = i({}), Ce = i(false);
96
+ let Se;
97
+ function ke() {
98
+ Se && clearTimeout(Se), Ce.value = false, Se = setTimeout(() => {
99
+ Ce.value = true;
101
100
  }, 1);
102
101
  }
103
- function Ae(e3) {
104
- if (Y.configure.customEvents) {
105
- let i2 = Y.configure.customEvents.filter((i3) => i3.eventName === e3);
102
+ function _e(e3) {
103
+ if (X.configure.customEvents) {
104
+ let i2 = X.configure.customEvents.filter((i3) => i3.eventName === e3);
106
105
  if (i2 && i2.length > 0) return i2[0];
107
106
  }
108
107
  }
109
- return o(() => {
110
- _e && clearTimeout(_e);
111
- }), Q2({ onSelectEvent: function(e3) {
112
- ke.value = !(!e3 || "selected" !== e3);
108
+ return s(() => {
109
+ Se && clearTimeout(Se);
110
+ }), H2({ onSelectEvent: function(e3) {
111
+ Ce.value = !(!e3 || "selected" !== e3);
113
112
  }, addEvent: function(e3, i2) {
114
- Ce.value = e3;
115
- const n2 = Ae(e3.eventName);
116
- n2 && (Se.value = n2), je.value = i2 || "event", Oe();
113
+ he.value = e3;
114
+ const n2 = _e(e3.eventName);
115
+ n2 && (je.value = n2), ye.value = i2 || "event", ke();
117
116
  }, changeEvent: function(e3) {
118
117
  if (e3) {
119
- je.value = null, Ce.value = e3;
120
- const i2 = Ae(e3.eventName);
121
- Se.value = i2 || null, Oe();
122
- } else ke.value = false;
118
+ ye.value = null, he.value = e3;
119
+ const i2 = _e(e3.eventName);
120
+ je.value = i2 || null, ke();
121
+ } else Ce.value = false;
123
122
  } }), (i2, n2) => {
124
- const t2 = r("el-icon"), l2 = r("el-divider"), s2 = r("Setting"), o2 = r("el-scrollbar");
125
- return a(), u(c, null, [m("div", { class: "amb-design-content", ref_key: "ambPageDesignContent", ref: me }, [m("div", I, [m("div", $, [m("div", G, [g(m("label", { class: p(["amb-page-type", { selected: !e2.configure.dimensions || "pc" == e2.configure.dimensions }]), onClick: n2[0] || (n2[0] = (i3) => e2.configure.dimensions = "pc") }, [f(t2, { size: 23 }, { default: d(() => [f(v(S))]), _: 1 })], 2), [[b, "assembly" === e2.selAsselbyType]]), g(m("label", { class: p(["amb-page-type", { selected: "ipad" == e2.configure.dimensions }]), onClick: n2[1] || (n2[1] = (i3) => e2.configure.dimensions = "ipad") }, [f(t2, { size: 23 }, { default: d(() => [f(v(k))]), _: 1 })], 2), [[b, "assembly" === e2.selAsselbyType]]), g(m("label", { class: p(["amb-page-type", { selected: "phone" == e2.configure.dimensions }]), onClick: n2[2] || (n2[2] = (i3) => e2.configure.dimensions = "phone") }, [f(t2, { size: 23 }, { default: d(() => [f(v(_))]), _: 1 })], 2), [[b, "assembly" === e2.selAsselbyType]]), g(f(l2, { direction: "vertical" }, null, 512), [[b, "assembly" === e2.selAsselbyType]])]), m("div", H, [m("label", { class: "amb-page-type", onClick: n2[3] || (n2[3] = (e3) => {
123
+ const t2 = r("el-icon"), l2 = r("el-divider"), o2 = r("Setting"), s2 = r("el-scrollbar");
124
+ return a(), u(c, null, [m("div", { class: "amb-design-content", ref_key: "ambPageDesignContent", ref: ue }, [m("div", L, [m("div", I, [m("div", $, [g(m("label", { class: p(["amb-page-type", { selected: !e2.configure.dimensions || "pc" == e2.configure.dimensions }]), onClick: n2[0] || (n2[0] = (i3) => e2.configure.dimensions = "pc") }, [f(t2, { size: 23 }, { default: d(() => [f(v(S))]), _: 1 })], 2), [[b, "assembly" === e2.selAsselbyType]]), g(m("label", { class: p(["amb-page-type", { selected: "ipad" == e2.configure.dimensions }]), onClick: n2[1] || (n2[1] = (i3) => e2.configure.dimensions = "ipad") }, [f(t2, { size: 23 }, { default: d(() => [f(v(k))]), _: 1 })], 2), [[b, "assembly" === e2.selAsselbyType]]), g(m("label", { class: p(["amb-page-type", { selected: "phone" == e2.configure.dimensions }]), onClick: n2[2] || (n2[2] = (i3) => e2.configure.dimensions = "phone") }, [f(t2, { size: 23 }, { default: d(() => [f(v(_))]), _: 1 })], 2), [[b, "assembly" === e2.selAsselbyType]]), g(f(l2, { direction: "vertical" }, null, 512), [[b, "assembly" === e2.selAsselbyType]])]), m("div", G, [m("label", { class: "amb-page-type", onClick: n2[3] || (n2[3] = (e3) => {
126
125
  var _a;
127
- (_a = ee.value) == null ? void 0 : _a.show();
128
- }) }, [f(t2, { size: 18 }, { default: d(() => [f(s2)]), _: 1 }), n2[9] || (n2[9] = m("label", null, "国际化配置", -1))]), m("label", { class: "amb-page-type", onClick: n2[4] || (n2[4] = (e3) => {
129
- Z.value && Z.value.openDialog();
130
- }) }, [f(t2, { size: 18 }, { default: d(() => [f(v(O))]), _: 1 }), n2[10] || (n2[10] = m("label", null, "快捷添加", -1))]), f(l2, { direction: "vertical" }), m("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: n2[5] || (n2[5] = (e3) => ye()) }, [f(t2, { size: 18 }, { default: d(() => [f(v(A))]), _: 1 }), n2[11] || (n2[11] = m("label", null, "保存", -1))]), f(l2, { direction: "vertical" }), m("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: n2[6] || (n2[6] = (e3) => function() {
131
- const e4 = JSON.parse(JSON.stringify(Y.configure));
126
+ (_a = Z.value) == null ? void 0 : _a.show();
127
+ }) }, [f(t2, { size: 18 }, { default: d(() => [f(o2)]), _: 1 }), n2[9] || (n2[9] = m("label", null, "国际化配置", -1))]), m("label", { class: "amb-page-type", onClick: n2[4] || (n2[4] = (e3) => {
128
+ Y.value && Y.value.openDialog();
129
+ }) }, [f(t2, { size: 18 }, { default: d(() => [f(v(O))]), _: 1 }), n2[10] || (n2[10] = m("label", null, "快捷添加", -1))]), f(l2, { direction: "vertical" }), m("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: n2[5] || (n2[5] = (e3) => ve()) }, [f(t2, { size: 18 }, { default: d(() => [f(v(A))]), _: 1 }), n2[11] || (n2[11] = m("label", null, "保存", -1))]), f(l2, { direction: "vertical" }), m("label", { class: "amb-page-type", style: { "margin-left": "0px" }, onClick: n2[6] || (n2[6] = (e3) => function() {
130
+ const e4 = JSON.parse(JSON.stringify(X.configure));
132
131
  e4.tableRuntimes = {}, e4.tableUuids && e4.tableUuids.forEach((i3) => {
133
132
  const n3 = E(e4, i3);
134
- n3 && R(n3, e4);
135
- }), te.value = e4, he.value = true;
136
- }()) }, [f(t2, { size: 18 }, { default: d(() => [f(v(T))]), _: 1 }), n2[12] || (n2[12] = m("label", null, "预览", -1))])])])]), f(o2, { height: "100%" }, { default: d(() => [g(m("div", { class: p(["amb-design-board amb-design-board-main", oe.value]), ref_key: "pageDesignBoardMain", ref: be, style: y(ue.value), onClick: ge }, [(a(true), u(c, null, h(v(ne), (i3, n3) => (a(), j(x, { key: i3.uuid, indexObj: le, configure: i3, pageDesign: e2.configure, selectWidget: e2.selectWidget, onOnSelectWidget: pe, onOnCustomAttrWidget: fe, onOnCopy: de, onOnDelete: ve }, null, 8, ["indexObj", "configure", "pageDesign", "selectWidget"]))), 128))], 6), [[b, "assembly" === e2.selAsselbyType]])]), _: 1 })], 512), he.value ? (a(), j(J, { key: 0, pageDesign: te.value, modelValue: he.value, "onUpdate:modelValue": n2[7] || (n2[7] = (e3) => he.value = e3), onClose: n2[8] || (n2[8] = (e3) => he.value = false) }, null, 8, ["pageDesign", "modelValue"])) : C("", true), f(M, { ref_key: "quickAddDialogRef", ref: Z, pageDesign: e2.configure }, null, 8, ["pageDesign"]), f(K, { ref_key: "i18nSettingRef", ref: ee, pageDesign: e2.configure }, null, 8, ["pageDesign"])], 64);
133
+ n3 && K(n3, e4);
134
+ }), ne.value = e4, be.value = true;
135
+ }()) }, [f(t2, { size: 18 }, { default: d(() => [f(v(T))]), _: 1 }), n2[12] || (n2[12] = m("label", null, "预览", -1))])])])]), f(s2, { height: "100%" }, { default: d(() => [g(m("div", { class: p(["amb-design-board amb-design-board-main", oe.value]), ref_key: "pageDesignBoardMain", ref: de, style: y(re.value), onClick: ce }, [(a(true), u(c, null, h(v(ie), (i3, n3) => (a(), j(x, { key: i3.uuid, indexObj: te, configure: i3, pageDesign: e2.configure, selectWidget: e2.selectWidget, onOnSelectWidget: me, onOnCustomAttrWidget: ge, onOnCopy: pe, onOnDelete: fe }, null, 8, ["indexObj", "configure", "pageDesign", "selectWidget"]))), 128))], 6), [[b, "assembly" === e2.selAsselbyType]])]), _: 1 })], 512), be.value ? (a(), j(J, { key: 0, pageDesign: ne.value, modelValue: be.value, "onUpdate:modelValue": n2[7] || (n2[7] = (e3) => be.value = e3), onClose: n2[8] || (n2[8] = (e3) => be.value = false) }, null, 8, ["pageDesign", "modelValue"])) : C("", true), f(z, { ref_key: "quickAddDialogRef", ref: Y, pageDesign: e2.configure }, null, 8, ["pageDesign"]), f(M, { ref_key: "i18nSettingRef", ref: Z, pageDesign: e2.configure }, null, 8, ["pageDesign"])], 64);
137
136
  };
138
137
  } });
139
138
  export {
140
- Q as default
139
+ H as default
141
140
  };
package/dist/es/style.css CHANGED
@@ -855,7 +855,7 @@ fieldset.amb-design-item-selected {
855
855
  align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
856
856
  }
857
857
 
858
- [data-v-b1a52546] .el-cascader-menu {
858
+ [data-v-b16110ab] .el-cascader-menu {
859
859
  min-width: 120px !important;
860
860
  }
861
861
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.3.26-design1",
3
+ "version": "2.3.27-design2",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -29,7 +29,7 @@
29
29
  "@vitejs/plugin-vue": "^5.0.4",
30
30
  "@vueuse/core": "^10.9.0",
31
31
  "agilebuilder-private-libs": "1.0.26",
32
- "agilebuilder-ui": "1.1.75",
32
+ "agilebuilder-ui": "1.1.77",
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.26-flow1",
44
- "super-page-runtime": "2.3.26",
43
+ "service-flow-designer": "2.3.27-flow1",
44
+ "super-page-runtime": "2.3.27",
45
45
  "uuid": "^9.0.1",
46
46
  "vite": "^5.1.6",
47
47
  "vite-plugin-node-stdlib-browser": "^0.2.1",