super-page-designer 2.3.8-design1 → 2.3.9-sit1-design1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/es/components/design/utils/common-option.js +5 -0
  2. package/dist/es/components/design/utils/page-event-util.js +0 -1
  3. package/dist/es/components/design/utils/page-i18n-util.js +5 -6
  4. package/dist/es/components/design/utils/page-table-util.js +35 -31
  5. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +16 -16
  6. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +4 -5
  7. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
  8. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +0 -3
  9. package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +2 -3
  10. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +13 -13
  11. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +4 -4
  12. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +2 -3
  13. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
  14. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
  15. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +1 -1
  16. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +10 -10
  17. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
  18. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +2 -2
  19. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +3 -3
  20. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +75 -73
  21. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +3 -3
  22. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +4 -4
  23. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
  24. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +1 -1
  25. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +42 -41
  26. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -1
  27. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +2 -2
  28. package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
  29. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +13 -14
  30. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  31. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +1 -1
  32. package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
  33. package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
  34. package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
  35. package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
  36. package/dist/es/components/design/views/design/page-event/config.vue3.js +17 -18
  37. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  38. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +0 -1
  39. package/dist/es/components/design/views/design/view/page-switch.vue2.js +2 -3
  40. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  41. package/dist/es/stores/undo-redo-store.js +1 -1
  42. package/dist/es/style.css +1 -1
  43. package/package.json +4 -4
@@ -1,60 +1,61 @@
1
- import { defineComponent as e, ref as l, watch as a, onMounted as u, resolveComponent as o, createElementBlock as d, openBlock as i, Fragment as p, createVNode as t, withDirectives as n, createBlock as s, createCommentVNode as m, withCtx as g, createTextVNode as v, withModifiers as r, unref as b, renderList as c, vShow as f, toDisplayString as y } from "vue";
2
- import { Search as V, Close as P } from "@element-plus/icons";
3
- import j from "./linkpage-page-callback.vue.js";
4
- import M from "../../common/common-select-page.vue.js";
5
- import T from "./parameter-table.vue.js";
6
- import k from "../../common/common-variable-bind.vue.js";
7
- import C from "./condition.vue.js";
8
- import _ from "../../common/common-icon-bind.vue.js";
1
+ import { defineComponent as e, ref as l, watch as a, onMounted as u, resolveComponent as o, createElementBlock as d, openBlock as t, Fragment as i, createVNode as p, withDirectives as n, createBlock as m, createCommentVNode as s, withCtx as v, createTextVNode as g, withModifiers as r, unref as b, renderList as c, vShow as f, toDisplayString as y } from "vue";
2
+ import { Search as V, Close as j } from "@element-plus/icons";
3
+ import P from "./linkpage-page-callback.vue.js";
4
+ import T from "../../common/common-select-page.vue.js";
5
+ import k from "./parameter-table.vue.js";
6
+ import M from "../../common/common-variable-bind.vue.js";
7
+ import _ from "./condition.vue.js";
8
+ import C from "../../common/common-icon-bind.vue.js";
9
9
  import h from "../../common/common-i18n-key-input.vue.js";
10
10
  import { getModelOptionsByFields as O } from "../../../../utils/page-table-util.js";
11
- const U = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, tableConfigure: {}, isDialog: { type: Boolean }, isButton: { type: Boolean, default: true }, showDisplayConditions: { type: Boolean, default: true } }, setup(e2) {
12
- const U2 = e2, D = l(null), w = l({});
13
- let A;
14
- const B = U2.pageDesign ? U2.pageDesign.pageType : null;
15
- !B || "form" !== B && "list" !== B || (A = U2.pageDesign.modelFields);
11
+ import { dateFormatOptions as U, timeFormatOptions as x } from "../../../../utils/common-option.js";
12
+ const D = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, tableConfigure: {}, isDialog: { type: Boolean }, isButton: { type: Boolean, default: true }, showDisplayConditions: { type: Boolean, default: true } }, setup(e2) {
13
+ const D2 = e2, w = l(null), F = l({});
14
+ let B;
15
+ const A = D2.pageDesign ? D2.pageDesign.pageType : null;
16
+ !A || "form" !== A && "list" !== A || (B = D2.pageDesign.modelFields);
16
17
  const N = l([]);
17
- A && A.length > 0 && (N.value = O(A));
18
- const x = l([]);
19
- U2.tableConfigure && (x.value = O(U2.tableConfigure.modelFields)), U2.isDialog ? w.value = U2.configure : (U2.configure.props.linkPage || (U2.configure.props.linkPage = {}), Array.isArray(U2.configure.props.linkPage) && U2.configure.props.linkPage.length > 0 && (w.value = U2.configure.props.linkPage[0]), w.value = U2.configure.props.linkPage), void 0 === w.value.linkType && (w.value.linkType = "page"), void 0 === w.value.isNewPage && (w.value.isNewPage = true), w.value.dynamicTags || (w.value.dynamicTags = []), w.value.buttonDisplayConditionsList || (w.value.buttonDisplayConditionsList = []), void 0 === w.value.alignCenter && (w.value.alignCenter = true), void 0 === w.value.displayTextJudge && (w.value.displayTextJudge = true);
20
- const F = [{ label: "弹窗", value: "popup" }, { label: "新页签", value: "newTab" }, { label: "局部刷新", value: "refresh" }], J = [{ label: "弹窗", value: "popup" }, { label: "局部刷新", value: "refresh" }], W = [{ label: "弹框", value: "dialog" }, { label: "抽屉", value: "drawer" }], L = [{ label: "右到左", value: "rtl" }, { label: "左到右", value: "ltr" }, { label: "上到下", value: "ttb" }, { label: "下到上", value: "btt" }], R = l(null);
21
- function z() {
22
- U2.tableConfigure && R.value && R.value.changeTableFields(U2.tableConfigure.modelFields);
23
- }
18
+ B && B.length > 0 && (N.value = O(B));
19
+ const J = l([]);
20
+ D2.tableConfigure && (J.value = O(D2.tableConfigure.modelFields)), D2.isDialog ? F.value = D2.configure : (D2.configure.props.linkPage || (D2.configure.props.linkPage = {}), Array.isArray(D2.configure.props.linkPage) && D2.configure.props.linkPage.length > 0 && (F.value = D2.configure.props.linkPage[0]), F.value = D2.configure.props.linkPage), void 0 === F.value.linkType && (F.value.linkType = "page"), void 0 === F.value.isNewPage && (F.value.isNewPage = true), F.value.dynamicTags || (F.value.dynamicTags = []), F.value.buttonDisplayConditionsList || (F.value.buttonDisplayConditionsList = []), void 0 === F.value.alignCenter && (F.value.alignCenter = true), void 0 === F.value.displayTextJudge && (F.value.displayTextJudge = true);
21
+ const W = [{ label: "弹窗", value: "popup" }, { label: "新页签", value: "newTab" }, { label: "局部刷新", value: "refresh" }], L = [{ label: "弹窗", value: "popup" }, { label: "局部刷新", value: "refresh" }], R = [{ label: "弹框", value: "dialog" }, { label: "抽屉", value: "drawer" }], S = [{ label: "右到左", value: "rtl" }, { label: "左到右", value: "ltr" }, { label: "上到下", value: "ttb" }, { label: "下到上", value: "btt" }], z = l(null);
24
22
  function E() {
25
- D.value.openDialog();
23
+ D2.tableConfigure && z.value && z.value.changeTableFields(D2.tableConfigure.modelFields);
26
24
  }
27
25
  function H() {
28
- w.value.jumpPageCode = "", w.value.jumpPageName = "";
26
+ w.value.openDialog();
27
+ }
28
+ function I() {
29
+ F.value.jumpPageCode = "", F.value.jumpPageName = "";
29
30
  }
30
- function I(e3) {
31
- w.value.jumpPageAdditional = e3;
31
+ function q(e3) {
32
+ F.value.jumpPageAdditional = e3;
32
33
  }
33
- function S(e3) {
34
- w.value.jumpPageName = e3.name, w.value.jumpPageCode = e3.code;
34
+ function G(e3) {
35
+ F.value.jumpPageName = e3.name, F.value.jumpPageCode = e3.code;
35
36
  }
36
- a(() => ({ linkType: w.value.linkType, jumpPageCode: w.value.jumpPageCode, jumpAddress: w.value.jumpAddress }), (e3) => {
37
- const l2 = w.value, a2 = l2.linkType;
37
+ a(() => ({ linkType: F.value.linkType, jumpPageCode: F.value.jumpPageCode, jumpAddress: F.value.jumpAddress }), (e3) => {
38
+ const l2 = F.value, a2 = l2.linkType;
38
39
  let u2 = "";
39
40
  "page" === a2 && l2.jumpPageCode ? u2 = l2.linkType + ":" + l2.jumpPageCode : "url" === a2 && (u2 = l2.jumpAddress), l2.jumpPageUrl = u2;
40
- }, { immediate: true }), a(() => U2.tableConfigure, (e3) => {
41
- z();
41
+ }, { immediate: true }), a(() => D2.tableConfigure, (e3) => {
42
+ E();
42
43
  }), u(() => {
43
- z();
44
+ E();
44
45
  });
45
- const q = l("");
46
- function G(e3) {
47
- q.value = e3, w.value.dynamicTags.push(e3);
46
+ const K = l("");
47
+ function Q(e3) {
48
+ K.value = e3, F.value.dynamicTags.push(e3);
48
49
  }
49
50
  return (e3, l2) => {
50
- const a2 = o("el-radio"), u2 = o("el-form-item"), O2 = o("el-button"), U3 = o("el-input"), A2 = o("el-radio-group"), B2 = o("el-option"), z2 = o("el-select"), K = o("el-switch"), Q = o("el-tag"), X = o("el-divider");
51
- return i(), d(p, null, [t(A2, { modelValue: w.value.linkType, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => w.value.linkType = e4) }, { default: g(() => [t(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [t(a2, { value: "" }, { default: g(() => l2[19] || (l2[19] = [v("无跳转   ")])), _: 1 })]), _: 1 }), t(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [t(a2, { value: "page" }, { default: g(() => l2[20] || (l2[20] = [v("跳转页面")])), _: 1 })]), default: g(() => [t(U3, { disabled: "page" != w.value.linkType, modelValue: w.value.jumpPageName, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => w.value.jumpPageName = e4), title: w.value.jumpPageCode, onClick: r(E, ["stop"]), readonly: "true" }, { append: g(() => [t(O2, { type: "default", disabled: "page" != w.value.linkType, icon: b(V), onClick: E, size: "small" }, null, 8, ["disabled", "icon"]), t(O2, { type: "default", disabled: "page" != w.value.linkType, icon: b(P), onClick: H, title: "Clear", size: "small" }, null, 8, ["disabled", "icon"])]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), t(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [t(a2, { value: "url" }, { default: g(() => l2[21] || (l2[21] = [v("跳转地址")])), _: 1 })]), default: g(() => [t(U3, { disabled: "url" != w.value.linkType, modelValue: w.value.jumpAddress, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => w.value.jumpAddress = e4), clearable: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), t(u2, { label: "打开方式", class: "amb-design-attr-item" }, { default: g(() => [t(z2, { modelValue: w.value.jumpPageOpenMode, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => w.value.jumpPageOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(i(), d(p, null, c(F, (e4, l3) => t(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(u2, { label: "移动端打开", class: "amb-design-attr-item" }, { default: g(() => [t(z2, { modelValue: w.value.jumpPageMobileOpenMode, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => w.value.jumpPageMobileOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(i(), d(p, null, c(J, (e4, l3) => t(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(t(u2, { label: "弹框方式", class: "amb-design-attr-item" }, { default: g(() => [t(z2, { modelValue: w.value.dialogType, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => w.value.dialogType = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(i(), d(p, null, c(W, (e4, l3) => t(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "可拖拽", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.draggable, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => w.value.draggable = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(t(u2, { label: "显示位置", class: "amb-design-attr-item" }, { default: g(() => [t(z2, { modelValue: w.value.showPosition, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => w.value.showPosition = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(i(), d(p, null, c(L, (e4, l3) => t(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, ("popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode) && w.value.dialogType && "drawer" === w.value.dialogType]]), n(t(u2, { label: "拖出可视区", title: "拖动范围可以超出可视区", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.overflow, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => w.value.overflow = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(t(u2, { label: "弹窗标题", class: "amb-design-attr-item" }, { default: g(() => [t(h, { modelValue: w.value.jumpPageTitle, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => w.value.jumpPageTitle = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "是否全屏", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.fullscreen, "onUpdate:modelValue": l2[10] || (l2[10] = (e4) => w.value.fullscreen = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "是否居中", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.alignCenter, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => w.value.alignCenter = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "弹窗宽度", class: "amb-design-attr-item" }, { default: g(() => [t(U3, { modelValue: w.value.jumpPageWidth, "onUpdate:modelValue": l2[12] || (l2[12] = (e4) => w.value.jumpPageWidth = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "弹窗高度", class: "amb-design-attr-item" }, { default: g(() => [t(U3, { modelValue: w.value.jumpPageHeight, "onUpdate:modelValue": l2[13] || (l2[13] = (e4) => w.value.jumpPageHeight = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "关闭事件", class: "amb-design-attr-item" }, { default: g(() => [t(U3, { modelValue: w.value.closeEvent, "onUpdate:modelValue": l2[14] || (l2[14] = (e4) => w.value.closeEvent = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "关闭后刷新", title: "关闭页面时是否刷新父页面", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.isRefreshWhenClosePopup, "onUpdate:modelValue": l2[15] || (l2[15] = (e4) => w.value.isRefreshWhenClosePopup = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), e3.isButton && e3.showDisplayConditions ? (i(), s(u2, { key: 0, label: "显示判断", class: "amb-design-attr-item" }, { default: g(() => [t(C, { title: "显示判断", list: w.value.buttonDisplayConditionsList, ref_key: "conditionRef", ref: R }, null, 8, ["list"])]), _: 1 })) : m("", true), e3.isButton ? (i(), s(u2, { key: 1, label: "显示文本", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.displayTextJudge, "onUpdate:modelValue": l2[16] || (l2[16] = (e4) => w.value.displayTextJudge = e4) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), e3.isButton ? (i(), s(u2, { key: 2, label: "图标", class: "amb-design-attr-item" }, { default: g(() => [t(_, { iconType: w.value.iconType, iconValue: w.value.icon, "onUpdate:modelValue": l2[17] || (l2[17] = (e4, l3) => function(e5, l4) {
52
- w.value.iconType = e5, w.value.icon = l4;
53
- }(e4, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) : m("", true), e3.isButton ? (i(), s(u2, { key: 3, label: "显示值", class: "amb-design-attr-item" }, { default: g(() => [t(k, { isTable: e3.configure.isTable, modelValue: q.value, dataModelOptions: N.value, objModelOptions: x.value, "onUpdate:modelValue": G }, null, 8, ["isTable", "modelValue", "dataModelOptions", "objModelOptions"])]), _: 1 })) : m("", true), (i(true), d(p, null, c(w.value.dynamicTags, (e4, l3) => (i(), s(Q, { key: l3, "disable-transitions": true, closable: "", onClose: (e5) => function(e6, l4) {
54
- w.value.dynamicTags.splice(l4, 1);
55
- }(0, l3) }, { default: g(() => [v(y(e4), 1)]), _: 2 }, 1032, ["onClose"]))), 128)), t(X, null, { default: g(() => l2[22] || (l2[22] = [v("附加参数")])), _: 1 }), e3.isButton ? (i(), s(u2, { key: 4, label: "自动拼接id", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.isNeedId, "onUpdate:modelValue": l2[18] || (l2[18] = (e4) => w.value.isNeedId = e4) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), t(T, { data: w.value.jumpPageAdditional, tableConfigure: e3.tableConfigure, onDataChange: I }, null, 8, ["data", "tableConfigure"]), t(j, { linkPage: w.value }, null, 8, ["linkPage"]), t(M, { ref_key: "selectPageDialog", ref: D, onSelectPage: S, systemCode: e3.pageDesign.systemCode, systemVersion: e3.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
51
+ const a2 = o("el-radio"), u2 = o("el-form-item"), O2 = o("el-button"), D3 = o("el-input"), B2 = o("el-radio-group"), A2 = o("el-option"), E2 = o("el-select"), X = o("el-switch"), Y = o("el-divider"), Z = o("el-tag");
52
+ return t(), d(i, null, [p(B2, { modelValue: F.value.linkType, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => F.value.linkType = e4) }, { default: v(() => [p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "" }, { default: v(() => l2[22] || (l2[22] = [g("无跳转   ")])), _: 1 })]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "page" }, { default: v(() => l2[23] || (l2[23] = [g("跳转页面")])), _: 1 })]), default: v(() => [p(D3, { disabled: "page" != F.value.linkType, modelValue: F.value.jumpPageName, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => F.value.jumpPageName = e4), title: F.value.jumpPageCode, onClick: r(H, ["stop"]), readonly: "true" }, { append: v(() => [p(O2, { type: "default", disabled: "page" != F.value.linkType, icon: b(V), onClick: H, size: "small" }, null, 8, ["disabled", "icon"]), p(O2, { type: "default", disabled: "page" != F.value.linkType, icon: b(j), onClick: I, title: "Clear", size: "small" }, null, 8, ["disabled", "icon"])]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "url" }, { default: v(() => l2[24] || (l2[24] = [g("跳转地址")])), _: 1 })]), default: v(() => [p(D3, { disabled: "url" != F.value.linkType, modelValue: F.value.jumpAddress, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => F.value.jumpAddress = e4), clearable: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), p(u2, { label: "打开方式", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.jumpPageOpenMode, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => F.value.jumpPageOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(W, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(u2, { label: "移动端打开", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.jumpPageMobileOpenMode, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => F.value.jumpPageMobileOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(L, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(p(u2, { label: "弹框方式", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.dialogType, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => F.value.dialogType = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(R, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "可拖拽", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.draggable, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => F.value.draggable = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != F.value.jumpPageOpenMode && "popup" != F.value.jumpPageMobileOpenMode || F.value.dialogType && "dialog" !== F.value.dialogType)]]), n(p(u2, { label: "显示位置", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.showPosition, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => F.value.showPosition = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(S, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, ("popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode) && F.value.dialogType && "drawer" === F.value.dialogType]]), n(p(u2, { label: "拖出可视区", title: "拖动范围可以超出可视区", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.overflow, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => F.value.overflow = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != F.value.jumpPageOpenMode && "popup" != F.value.jumpPageMobileOpenMode || F.value.dialogType && "dialog" !== F.value.dialogType)]]), n(p(u2, { label: "弹窗标题", class: "amb-design-attr-item" }, { default: v(() => [p(h, { modelValue: F.value.jumpPageTitle, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => F.value.jumpPageTitle = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否全屏", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.fullscreen, "onUpdate:modelValue": l2[10] || (l2[10] = (e4) => F.value.fullscreen = e4), disabled: !("dialog" === F.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否居中", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.alignCenter, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => F.value.alignCenter = e4), disabled: !("dialog" === F.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗宽度", class: "amb-design-attr-item" }, { default: v(() => [p(D3, { modelValue: F.value.jumpPageWidth, "onUpdate:modelValue": l2[12] || (l2[12] = (e4) => F.value.jumpPageWidth = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗高度", class: "amb-design-attr-item" }, { default: v(() => [p(D3, { modelValue: F.value.jumpPageHeight, "onUpdate:modelValue": l2[13] || (l2[13] = (e4) => F.value.jumpPageHeight = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭事件", class: "amb-design-attr-item" }, { default: v(() => [p(D3, { modelValue: F.value.closeEvent, "onUpdate:modelValue": l2[14] || (l2[14] = (e4) => F.value.closeEvent = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭后刷新", title: "关闭页面时是否刷新父页面", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.isRefreshWhenClosePopup, "onUpdate:modelValue": l2[15] || (l2[15] = (e4) => F.value.isRefreshWhenClosePopup = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), e3.isButton && e3.showDisplayConditions ? (t(), m(u2, { key: 0, label: "显示判断", class: "amb-design-attr-item" }, { default: v(() => [p(_, { title: "显示判断", list: F.value.buttonDisplayConditionsList, ref_key: "conditionRef", ref: z }, null, 8, ["list"])]), _: 1 })) : s("", true), p(Y, { style: { margin: "12px 0" } }), e3.isButton ? (t(), m(u2, { key: 1, label: "显示文本", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.displayTextJudge, "onUpdate:modelValue": l2[16] || (l2[16] = (e4) => F.value.displayTextJudge = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 2, label: "文本格式化", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.displayTextFormatType, "onUpdate:modelValue": l2[17] || (l2[17] = (e4) => F.value.displayTextFormatType = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [p(A2, { label: "日期", value: "date" }), p(A2, { label: "时间", value: "time" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), F.value.displayTextFormatType && "date" === F.value.displayTextFormatType ? (t(), m(u2, { key: 3, label: "日期类型", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.displayTextFormat, "onUpdate:modelValue": l2[18] || (l2[18] = (e4) => F.value.displayTextFormat = e4), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, c(b(U), (e4) => (t(), m(A2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), F.value.displayTextFormatType && "time" === F.value.displayTextFormatType ? (t(), m(u2, { key: 4, label: "时间类型", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.displayTextFormat, "onUpdate:modelValue": l2[19] || (l2[19] = (e4) => F.value.displayTextFormat = e4), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, c(b(x), (e4) => (t(), m(A2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), p(Y, { style: { margin: "12px 0" } }), e3.isButton ? (t(), m(u2, { key: 5, label: "图标", class: "amb-design-attr-item" }, { default: v(() => [p(C, { iconType: F.value.iconType, iconValue: F.value.icon, "onUpdate:modelValue": l2[20] || (l2[20] = (e4, l3) => function(e5, l4) {
53
+ F.value.iconType = e5, F.value.icon = l4;
54
+ }(e4, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 6, label: "自定义显示值", class: "amb-design-attr-item" }, { default: v(() => [p(M, { isTable: e3.configure.isTable, modelValue: K.value, dataModelOptions: N.value, objModelOptions: J.value, "onUpdate:modelValue": Q }, null, 8, ["isTable", "modelValue", "dataModelOptions", "objModelOptions"])]), _: 1 })) : s("", true), (t(true), d(i, null, c(F.value.dynamicTags, (e4, l3) => (t(), m(Z, { key: l3, "disable-transitions": true, closable: "", onClose: (e5) => function(e6, l4) {
55
+ F.value.dynamicTags.splice(l4, 1);
56
+ }(0, l3) }, { default: v(() => [g(y(e4), 1)]), _: 2 }, 1032, ["onClose"]))), 128)), p(Y, null, { default: v(() => l2[25] || (l2[25] = [g("附加参数")])), _: 1 }), e3.isButton ? (t(), m(u2, { key: 7, label: "自动拼接id", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.isNeedId, "onUpdate:modelValue": l2[21] || (l2[21] = (e4) => F.value.isNeedId = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), p(k, { data: F.value.jumpPageAdditional, tableConfigure: e3.tableConfigure, onDataChange: q }, null, 8, ["data", "tableConfigure"]), p(P, { linkPage: F.value }, null, 8, ["linkPage"]), p(T, { ref_key: "selectPageDialog", ref: w, onSelectPage: G, systemCode: e3.pageDesign.systemCode, systemVersion: e3.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
56
57
  };
57
58
  } });
58
59
  export {
59
- U as default
60
+ D as default
60
61
  };
@@ -13,7 +13,7 @@ const y = e({ __name: "fileupload-design", props: { pageDesign: {}, configure: {
13
13
  let e3 = y2.configure.props ? y2.configure.props : {};
14
14
  const l2 = e3.uploadConfig ? e3.uploadConfig : {}, i2 = e3.base ? e3.base : {}, o2 = {};
15
15
  l2.drag && (o2.drag = l2.drag), o2.prop = i2.prop, o2.propName = i2.propName, o2.displayType = l2.displayType ? l2.displayType : "input", o2.state = i2.state, o2.placeholder = i2.placeholder, o2.disabledNoPreview = i2.disabledNoPreview, o2.disabledNoDownload = i2.disabledNoDownload, l2.accept ? o2.accept = l2.accept : o2.accept = null, l2.multiple ? (o2.multiple = l2.multiple, l2.limit ? o2.limit = l2.limit : o2.limit = null) : (o2.multiple = false, o2.limit = 1), l2.limitFileSize ? o2.limitFileSize = l2.limitFileSize : o2.limitFileSize = null, l2.openCameraOrChoosePhoto ? o2.openCameraOrChoosePhoto = l2.openCameraOrChoosePhoto : o2.openCameraOrChoosePhoto = null, o2.isDeleteNow = l2.isDeleteNow, Object.assign(w.value, o2);
16
- }(), y2.configure.runtime.props = w.value, y2.configure.runtime.titleExceedStyle = S.value, w.value;
16
+ }(), y2.configure.runtime.props = w.value, y2.configure.runtime.titleExceedStyle = S.value;
17
17
  }, { immediate: true }), (e3, l2) => {
18
18
  const i2 = o("el-form-item");
19
19
  return a(), t(i2, { required: !!w.value.required, class: r([h.value, "remove-formLabel-formContent-blankStyle"]), "label-width": w.value.labelWidth, style: u(b.value) }, { label: p(() => [w.value.tittleShow ? (a(), m("div", { key: 0, style: u({ ...C.value, ...S.value, "padding-right": "12px" }) }, c(w.value.title ? w.value.title : "Files"), 5)) : d("", true)]), default: p(() => [s(n(g), { disabled: "disabled" == w.value.state, style: { width: "100%" }, displayType: w.value.displayType, accept: w.value.accept, multiple: w.value.multiple, placeholder: w.value.placeholder, limit: w.value.limit, "limit-file-size": w.value.limitFileSize, "file-info": e3.fileInfo, "file-list": e3.fileList, "on-success": e3.onSuccess, "on-remove": e3.onRemove, openFsUpload: false, "before-upload": e3.beforeUpload }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list", "on-success", "on-remove", "before-upload"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
@@ -19,8 +19,8 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
19
19
  j.configure.props.base.defaultValue = e3;
20
20
  }
21
21
  return j.configure.isTable && (W.value = true), (l2, V2) => {
22
- const k3 = a("el-option"), j2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
23
- return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 }), i(A, { value: "hidden" }, { default: t(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H, { type: "default" }, { default: t(() => V2[30] || (V2[30] = [c("自定义逻辑")])), _: 1 }), i(H, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? d("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
22
+ const k3 = a("el-option"), j2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-checkbox-group"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
23
+ return u(), o(K, { "label-width": "80px", size: "small" }, { default: t(() => [i(J, { modelValue: z.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[17] || (V2[17] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[18] || (V2[18] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[19] || (V2[19] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[20] || (V2[20] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[21] || (V2[21] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[22] || (V2[22] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[23] || (V2[23] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[24] || (V2[24] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[25] || (V2[25] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[26] || (V2[26] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[27] || (V2[27] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[28] || (V2[28] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[29] || (V2[29] = [c("只读")])), _: 1 }), i(A, { value: "hidden" }, { default: t(() => V2[30] || (V2[30] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(G, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.type = l3), max: 1 }, { default: t(() => [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { label: "整形", value: "integer" }), i(F, { label: "数字", value: "number" }), i(F, { label: "小数", value: "float" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: t(() => [i(I, { type: "default" }, { default: t(() => V2[31] || (V2[31] = [c("自定义逻辑")])), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? d("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
24
24
  };
25
25
  } });
26
26
  export {
@@ -1,26 +1,26 @@
1
- import { defineComponent as e, ref as u, watch as l, resolveComponent as t, createBlock as a, openBlock as o, normalizeStyle as i, normalizeClass as n, withCtx as r, createElementVNode as s, createElementBlock as p, createCommentVNode as c, createTextVNode as f, unref as v, toDisplayString as y } from "vue";
1
+ import { defineComponent as e, ref as u, watch as t, resolveComponent as l, createBlock as a, openBlock as o, normalizeStyle as i, normalizeClass as n, withCtx as r, createElementVNode as s, createElementBlock as p, createCommentVNode as c, createTextVNode as f, unref as v, toDisplayString as y } from "vue";
2
2
  import { caculateDetailComponentStyle as d, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
3
3
  import { SuperIcon as T } from "agilebuilder-ui";
4
4
  const g = { style: { display: "flex", width: "100%", "justify-content": "space-between" } }, x = ["title"], I = e({ __name: "label-design", props: { configure: { type: Object, required: true } }, setup(e2) {
5
5
  const I2 = e2;
6
6
  I2.configure.runtime || (I2.configure.runtime = {});
7
7
  const b = u({}), h = u(""), V = u({}), _ = u({}), w = u({});
8
- return l(I2.configure.style, () => {
8
+ return t(I2.configure.style, () => {
9
9
  d(I2.configure, b, h, V), I2.configure.runtime.style = b.value, I2.configure.runtime.class = h.value, I2.configure.runtime.headerStyle = V.value;
10
- }, { immediate: true }), l(I2.configure.props, () => {
11
- m(I2.configure, _, w), _.value, function() {
10
+ }, { immediate: true }), t(I2.configure.props, () => {
11
+ m(I2.configure, _, w), function() {
12
12
  let e3 = I2.configure.props ? I2.configure.props : {};
13
- const u2 = e3.base ? e3.base : {}, l2 = e3.dataOrigin ? e3.dataOrigin : {}, t2 = {};
14
- u2.labelText && (t2.labelText = u2.labelText), u2.whetherTittle && (t2.whetherTittle = u2.whetherTittle);
13
+ const u2 = e3.base ? e3.base : {}, t2 = e3.dataOrigin ? e3.dataOrigin : {}, l2 = {};
14
+ u2.labelText && (l2.labelText = u2.labelText), u2.whetherTittle && (l2.whetherTittle = u2.whetherTittle);
15
15
  const a2 = e3.preSuffix ? e3.preSuffix : {};
16
- (a2.preIconType || a2.preText || a2.sufIconType || a2.sufText) && (t2.preIconType = a2.preIconType, t2.preIconValue = a2.preIconValue, t2.preText = a2.preText, t2.sufIconType = a2.sufIconType, t2.sufIconValue = a2.sufIconValue, t2.sufText = a2.sufText, t2.iconPosition = a2.position);
17
- const o2 = l2.optionValueSetType;
16
+ (a2.preIconType || a2.preText || a2.sufIconType || a2.sufText) && (l2.preIconType = a2.preIconType, l2.preIconValue = a2.preIconValue, l2.preText = a2.preText, l2.sufIconType = a2.sufIconType, l2.sufIconValue = a2.sufIconValue, l2.sufText = a2.sufText, l2.iconPosition = a2.position);
17
+ const o2 = t2.optionValueSetType;
18
18
  let i2 = false;
19
- o2 && (_.value.formatType = o2, "static" != o2 && "optionGroup" != o2 && "dynamicData" != o2 && "dataTable" != o2 || (i2 = true), _.value.hasOptions = i2, _.value.decimalDigit = l2.decimalDigit, _.value.thousandsSeparator = l2.thousandsSeparator, _.value.symbol = l2.symbol, _.value.dateFormat = l2.dateFormat, _.value.timeFormat = l2.timeFormat, _.value.formatFunc = l2.formatFunc), Object.assign(_.value, t2);
19
+ o2 && (_.value.formatType = o2, "static" != o2 && "optionGroup" != o2 && "dynamicData" != o2 && "dataTable" != o2 || (i2 = true), _.value.hasOptions = i2, _.value.decimalDigit = t2.decimalDigit, _.value.thousandsSeparator = t2.thousandsSeparator, _.value.symbol = t2.symbol, _.value.dateFormat = t2.dateFormat, _.value.timeFormat = t2.timeFormat, _.value.formatFunc = t2.formatFunc), Object.assign(_.value, l2);
20
20
  }(), I2.configure.runtime.props = _.value, I2.configure.runtime.titleExceedStyle = w.value;
21
21
  }, { immediate: true }), (e3, u2) => {
22
- const l2 = t("el-form-item");
23
- return o(), a(l2, { required: !!_.value.required, class: n(h.value), "label-width": _.value.labelWidth, style: i(b.value) }, { label: r(() => [_.value.tittleShow ? (o(), p("div", { key: 0, style: i({ ...V.value, ...w.value }) }, y(_.value.title), 5)) : c("", true)]), default: r(() => [s("div", g, [s("span", { style: { overflow: "hidden" }, title: _.value.value }, [_.value.preIconValue || _.value.preText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }), style: i(e3.appendStyle) }, [_.value.preIconType && _.value.preIconValue ? (o(), a(v(T), { key: 0, iconType: _.value.preIconType, iconValue: _.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), f(" " + y(_.value.preText), 1)], 6)) : c("", true), f("  " + y(_.value.value), 1)], 8, x), _.value.sufIconValue || _.value.sufText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }) }, [_.value.sufIconType && _.value.sufIconValue ? (o(), a(v(T), { key: 0, style: {}, iconType: _.value.sufIconType, iconValue: _.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), s("span", null, " " + y(_.value.sufText), 1)], 2)) : c("", true)])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
22
+ const t2 = l("el-form-item");
23
+ return o(), a(t2, { required: !!_.value.required, class: n(h.value), "label-width": _.value.labelWidth, style: i(b.value) }, { label: r(() => [_.value.tittleShow ? (o(), p("div", { key: 0, style: i({ ...V.value, ...w.value }) }, y(_.value.title), 5)) : c("", true)]), default: r(() => [s("div", g, [s("span", { style: { overflow: "hidden" }, title: _.value.value }, [_.value.preIconValue || _.value.preText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }), style: i(e3.appendStyle) }, [_.value.preIconType && _.value.preIconValue ? (o(), a(v(T), { key: 0, iconType: _.value.preIconType, iconValue: _.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), f(" " + y(_.value.preText), 1)], 6)) : c("", true), f("  " + y(_.value.value), 1)], 8, x), _.value.sufIconValue || _.value.sufText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }) }, [_.value.sufIconType && _.value.sufIconValue ? (o(), a(v(T), { key: 0, style: {}, iconType: _.value.sufIconType, iconValue: _.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), s("span", null, " " + y(_.value.sufText), 1)], 2)) : c("", true)])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
24
24
  };
25
25
  } });
26
26
  export {
@@ -1,12 +1,12 @@
1
- import { defineComponent as e, ref as l, watch as t, onMounted as i, onUnmounted as u, resolveComponent as a, createBlock as n, openBlock as r, normalizeStyle as o, normalizeClass as c, withCtx as d, createElementVNode as s, createElementBlock as p, createCommentVNode as f, toDisplayString as v } from "vue";
2
- import { caculateDetailComponentStyle as g, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
1
+ import { defineComponent as e, ref as l, watch as t, onMounted as i, onUnmounted as u, resolveComponent as a, createBlock as n, openBlock as r, normalizeStyle as o, normalizeClass as c, withCtx as d, createElementVNode as s, createElementBlock as p, createCommentVNode as f, toDisplayString as g } from "vue";
2
+ import { caculateDetailComponentStyle as v, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
3
3
  import h from "quill";
4
4
  import "quill/dist/quill.snow.css";
5
5
  const y = { style: { height: "100%", width: "100%" } }, b = e({ __name: "richtext-design", props: { configure: { type: Object, required: true } }, setup(e2) {
6
6
  const b2 = e2;
7
7
  b2.configure.runtime || (b2.configure.runtime = {}), l(null);
8
- const x = l(null), k = l(null), q = l(null), w = l({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: ["12px", "13px", "14px", "15px", "16px", "18px", "20px", "24px", "28px", "32px", "36px"] }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: [] }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: "", readOnly: true }), S = l({}), _ = l(""), C = l({}), E = l({}), R = l({}), T = l({});
9
- function j() {
8
+ const x = l(null), k = l(null), q = l(null), w = l({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: ["12px", "13px", "14px", "15px", "16px", "18px", "20px", "24px", "28px", "32px", "36px"] }], [{ header: [1, 2, 3, 4, 5, 6, false] }], [{ color: [] }, { background: [] }], [{ font: [] }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: "", readOnly: true }), S = l({}), _ = l(""), C = l({}), E = l({}), R = l({}), j = l({});
9
+ function B() {
10
10
  if (k && k.value && k.value.container) {
11
11
  const e3 = k.value.container.parentNode.getBoundingClientRect(), l2 = k.value.container.getBoundingClientRect();
12
12
  let t2 = e3.height - (l2.top - e3.top);
@@ -14,15 +14,15 @@ const y = { style: { height: "100%", width: "100%" } }, b = e({ __name: "richtex
14
14
  }
15
15
  }
16
16
  t(b2.configure.style, () => {
17
- g(b2.configure, S, _, C), b2.configure.runtime.style = S.value, b2.configure.runtime.class = _.value, b2.configure.runtime.headerStyle = C.value;
17
+ v(b2.configure, S, _, C), b2.configure.runtime.style = S.value, b2.configure.runtime.class = _.value, b2.configure.runtime.headerStyle = C.value;
18
18
  }, { immediate: true }), t(b2.configure.props, () => {
19
19
  m(b2.configure, E, R);
20
20
  let e3 = b2.configure.props ? b2.configure.props : {};
21
21
  const l2 = e3.base ? e3.base : {};
22
22
  let t2 = "";
23
- t2 = l2.prop ? l2.prop : l2.defaultValue ? l2.defaultValue : "${page." + b2.configure.uuid + "}", E.value.value = t2, j(), k && k.value && (k.value.enable("readonly" != E.value.state), k.value.root.dataset.placeholder = E.value.placeholder ? E.value.placeholder : ""), b2.configure.runtime.props = E.value, b2.configure.runtime.titleExceedStyle = R.value;
23
+ t2 = l2.prop ? l2.prop : l2.defaultValue ? l2.defaultValue : "${page." + b2.configure.uuid + "}", E.value.value = t2, B(), k && k.value && (k.value.enable("readonly" != E.value.state), k.value.root.dataset.placeholder = E.value.placeholder ? E.value.placeholder : ""), b2.configure.runtime.props = E.value, b2.configure.runtime.titleExceedStyle = R.value;
24
24
  }, { immediate: true });
25
- const B = (e3) => {
25
+ const T = (e3) => {
26
26
  q.value && e3 && q.value.click();
27
27
  }, F = (e3) => {
28
28
  const l2 = Array.prototype.slice.call(e3.target.files);
@@ -35,18 +35,17 @@ const y = { style: { height: "100%", width: "100%" } }, b = e({ __name: "richtex
35
35
  }
36
36
  });
37
37
  };
38
- let H;
38
+ let O;
39
39
  return i(() => {
40
- k.value = new h(x.value, w.value), k.value.getModule("toolbar").addHandler("image", B), k.value.on("text-change", function(e3, l2, t2) {
41
- H && clearTimeout(H), H = setTimeout(function() {
42
- k.value.root.innerHTML;
40
+ k.value = new h(x.value, w.value), k.value.getModule("toolbar").addHandler("image", T), k.value.on("text-change", function(e3, l2, t2) {
41
+ O && clearTimeout(O), O = setTimeout(function() {
43
42
  }, 1e3);
44
- }), j();
43
+ }), B();
45
44
  }), u(() => {
46
- H && clearTimeout(H);
45
+ O && clearTimeout(O);
47
46
  }), (e3, l2) => {
48
47
  const t2 = a("el-form-item");
49
- return r(), n(t2, { required: E.value.required, class: c([_.value, "remove-formLabel-formContent-blankStyle"]), "label-width": E.value.labelWidth, style: o(S.value) }, { label: d(() => [E.value.tittleShow ? (r(), p("div", { key: 0, style: o({ ...C.value, ...R.value, "padding-right": "12px" }) }, v(E.value.title), 5)) : f("", true)]), default: d(() => [s("div", y, [s("div", { ref_key: "quillEditorRef", ref: x, style: o({ ...T.value }) }, null, 4), s("input", { type: "file", hidden: "", accept: ".jpg,.png", ref_key: "fileBtn", ref: q, onChange: F }, null, 544)])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
48
+ return r(), n(t2, { required: E.value.required, class: c([_.value, "remove-formLabel-formContent-blankStyle"]), "label-width": E.value.labelWidth, style: o(S.value) }, { label: d(() => [E.value.tittleShow ? (r(), p("div", { key: 0, style: o({ ...C.value, ...R.value, "padding-right": "12px" }) }, g(E.value.title), 5)) : f("", true)]), default: d(() => [s("div", y, [s("div", { ref_key: "quillEditorRef", ref: x, style: o({ ...j.value }) }, null, 4), s("input", { type: "file", hidden: "", accept: ".jpg,.png", ref_key: "fileBtn", ref: q, onChange: F }, null, 544)])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
50
49
  };
51
50
  } });
52
51
  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 ? (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) => {
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) => {
27
27
  q.value = e5, b({ showClose: true, message: "保存成功", type: "success" });
28
- })) : (q.value.systemCode = w.systemCode, q.value, function(e5) {
28
+ }) : (q.value.systemCode = w.systemCode, 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 = e3.target.value.trim();
28
+ 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;
@@ -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, 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));
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));
23
23
  });
24
24
  return i(() => {
25
25
  y.observe(m.value);
@@ -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 l, createElementVNode as o, 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 o, createElementVNode as l, 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), v.value, function() {
8
+ c(f2.configure, v), 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: 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));
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));
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 void console.error("不能重复点击[工作流设计],请稍等!");
109
+ if (!Q.value) return;
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,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-c8908117"]]);
5
5
  export {
@@ -1,4 +1,4 @@
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";
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";
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,31 +9,30 @@ 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" } }, 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 }) {
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 }) {
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
- o(() => {
18
- D.eventForm;
17
+ l(() => {
19
18
  let e3 = f("editorStyle", "").value;
20
19
  e3 && (e3 = JSON.parse(e3), L.value.theme = e3.theme || "default", L.value.fontSize = e3.fontSize || 14), G();
21
- }), l(() => {
20
+ }), o(() => {
22
21
  R && clearTimeout(R);
23
22
  });
24
23
  const U = b.data.of({ autocomplete: function(e3) {
25
24
  const t2 = e3.matchBefore(/(?:window\.[\w$\.]*|logicContext\.[\w$\.]*)/);
26
25
  if (!t2 || "" === t2.text) return null;
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 };
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 };
35
34
  }
36
- if ("window.$" === o2) return { from: t2.from, options: w["window."].filter((e4) => e4.label.startsWith("window.$")), filter: false };
35
+ if ("window.$" === l2) return { from: t2.from, options: w["window."].filter((e4) => e4.label.startsWith("window.$")), filter: false };
37
36
  return null;
38
37
  } });
39
38
  function q() {
@@ -42,7 +41,7 @@ const j = { style: { padding: "8px 16px", margin: "10px 0px", "background-color"
42
41
  function E() {
43
42
  const e3 = h.theme({}), t2 = h.theme({ ".cm-content, .cm-gutter": { minHeight: "400px" }, "&": { fontSize: L.value.fontSize + "px" } });
44
43
  return x.create({ doc: D.eventForm.jsContent, extensions: [x.tabSize.of(16), g, _(), U, e3, t2, h.updateListener.of(function(e4) {
45
- e4.state.doc.toString(), D.eventForm.jsContent = e4.state.doc.toString();
44
+ D.eventForm.jsContent = e4.state.doc.toString();
46
45
  })] });
47
46
  }
48
47
  function G() {
@@ -69,9 +68,9 @@ const j = { style: { padding: "8px 16px", margin: "10px 0px", "background-color"
69
68
  var _a;
70
69
  const t2 = D.eventForm.jsContent ? D.eventForm.jsContent : "";
71
70
  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 } }));
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);
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);
75
74
  };
76
75
  } });
77
76
  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, createElementBlock as o, openBlock as s, createElementVNode as i, createVNode as r, withDirectives as m, withCtx 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";
@@ -187,7 +187,6 @@ const I = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
187
187
  }
188
188
  return s2;
189
189
  }
190
- btnOption;
191
190
  }
192
191
  function se(e3) {
193
192
  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 r, createBlock as d, unref as u, 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 d, createBlock as u, unref as r, 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,7 +12,6 @@ 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("加载国际化文件失败");
16
15
  });
17
16
  });
18
17
  }
@@ -51,7 +50,7 @@ const k = { style: { display: "flex", "min-width": "60px", height: "60px", "marg
51
50
  return a(() => options.value.filter((e3) => !F.value || e3.name.toLowerCase().includes(F.value.toLowerCase()))), l(() => {
52
51
  }), (t2, a2) => {
53
52
  const l2 = n("el-icon"), w2 = n("el-button"), b2 = n("el-cascader-panel"), _2 = n("el-popover");
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)]);
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)]);
55
54
  };
56
55
  } });
57
56
  export {