super-page-designer 2.2.76 → 2.2.77-sit3

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 (117) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +2 -2
  2. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +33 -33
  3. package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +21 -21
  4. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +8 -8
  5. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue.js +4 -1
  6. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +38 -34
  7. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +2 -2
  8. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +3 -3
  9. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
  10. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +8 -8
  11. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +1 -1
  12. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +20 -19
  14. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +19 -19
  15. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +9 -8
  16. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +19 -19
  17. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +9 -9
  18. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +9 -9
  19. package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
  20. package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +12 -12
  21. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +11 -11
  22. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +1 -1
  23. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +39 -36
  24. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +12 -12
  25. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +14 -14
  26. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +12 -12
  27. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +24 -23
  28. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -6
  29. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +1 -1
  30. package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +11 -11
  31. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +53 -53
  32. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
  33. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +3 -3
  34. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
  35. package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +11 -11
  36. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +59 -59
  37. package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +4 -1
  38. package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +43 -38
  39. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +4 -4
  40. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
  41. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +26 -26
  42. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
  43. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
  44. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
  45. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
  46. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
  47. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
  48. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
  49. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +11 -11
  50. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
  51. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
  52. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
  53. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  54. package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
  55. package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
  56. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
  57. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +9 -9
  58. package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +14 -11
  59. package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
  60. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +83 -80
  61. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
  62. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +29 -9
  63. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
  64. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
  65. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
  66. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
  67. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
  68. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +2 -2
  69. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +4 -4
  70. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
  71. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
  72. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
  73. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
  74. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +12 -12
  75. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
  76. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
  77. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +33 -30
  78. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
  79. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
  80. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
  81. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
  82. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
  83. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -14
  84. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
  85. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +2 -2
  86. package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +4 -0
  87. package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
  88. package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -0
  89. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  90. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
  91. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
  92. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
  93. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  94. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +9 -20
  95. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
  96. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +4 -1
  97. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
  98. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
  99. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +64 -64
  100. package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
  101. package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
  102. package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
  103. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
  104. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
  105. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
  106. package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
  107. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -9
  108. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
  109. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  110. package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -1
  111. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  112. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  113. package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
  114. package/dist/es/components/design/views/design/view/view-design.vue.js +27 -26
  115. package/dist/es/style.css +1826 -736
  116. package/package.json +4 -4
  117. package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
@@ -1,4 +1,7 @@
1
1
  import e from "./card-design.vue2.js";
2
+ /* empty css */
3
+ import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const a = r(e, [["__scopeId", "data-v-65a008af"]]);
2
5
  export {
3
- e as default
6
+ a as default
4
7
  };
@@ -1,56 +1,61 @@
1
- import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as o, createBlock as s, openBlock as r, unref as l, normalizeStyle as u, normalizeClass as c, createSlots as g, withCtx as a, createElementVNode as f, createElementBlock as p, Fragment as m, renderList as d, createCommentVNode as y, createTextVNode as b, toDisplayString as x, reactive as v } from "vue";
1
+ import { defineComponent as e, computed as i, ref as n, watch as t, resolveComponent as o, createBlock as s, openBlock as l, unref as r, normalizeStyle as u, normalizeClass as c, createSlots as a, withCtx as g, createElementVNode as p, createElementBlock as f, Fragment as m, renderList as d, createCommentVNode as y, createTextVNode as x, toDisplayString as b, reactive as v } from "vue";
2
2
  import { ElCard as h } from "element-plus";
3
3
  import { useDraggable as j } from "vue-draggable-plus";
4
- import O from "../../object-design.vue.js";
5
- import { deepCopy as W, getUuidv4 as S } from "../../../../utils/common-util.js";
6
- import { caculateComponentStyle as C } from "../../../../utils/container-design-util.js";
4
+ import { ArrowUp as O, ArrowDown as C } from "@element-plus/icons-vue";
5
+ import W from "../../object-design.vue.js";
6
+ import { deepCopy as S, getUuidv4 as k } from "../../../../utils/common-util.js";
7
+ import { caculateComponentStyle as w } from "../../../../utils/container-design-util.js";
7
8
  import { copyHandleEvents as D, deleteDesignItem as _ } from "../../../../utils/page-design-util.js";
8
- const k = e({ __name: "card-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: k2 }) {
9
- const w = e2;
10
- w.configure.items || (w.configure.items = []), w.configure.props = { isCollapse: true, isCollapseShow: true, ...w.configure.props ?? {} };
11
- const T = t({}), V = t(""), A = t({});
12
- J(), i(w.configure.style, () => {
13
- J();
9
+ const T = e({ __name: "card-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: T2 }) {
10
+ var _a, _b;
11
+ const V = e2;
12
+ V.configure.items || (V.configure.items = []), V.configure.props = { isCollapse: true, isCollapseShow: true, ...V.configure.props ?? {} };
13
+ const A = i(() => {
14
+ var _a2;
15
+ return [true, void 0].includes((_a2 = V.configure.props) == null ? void 0 : _a2.isCollapse);
16
+ }), F = n(!((_a = V.configure.props) == null ? void 0 : _a.isCollapse) || false !== ((_b = V.configure.props) == null ? void 0 : _b.isCollapseShow)), J = n({}), z = n(""), I = n({});
17
+ q(), t(V.configure.style, () => {
18
+ q();
14
19
  });
15
- const F = n(() => [...w.configure.items]);
16
- function J() {
17
- C(w.configure, T, V, A), w.configure.runtime || (w.configure.runtime = {}), w.configure.runtime.style = T.value, w.configure.runtime.class = V.value, w.configure.runtime.headerStyle = A.value;
20
+ const P = i(() => [...V.configure.items]);
21
+ function q() {
22
+ w(V.configure, J, z, I), V.configure.runtime || (V.configure.runtime = {}), V.configure.runtime.style = J.value, V.configure.runtime.class = z.value, V.configure.runtime.headerStyle = I.value;
18
23
  }
19
- i(F, (e3, t2) => {
20
- e3.length > t2.length && B(w.indexObj.index, e3[e3.length - 1]);
24
+ t(P, (e3, i2) => {
25
+ e3.length > i2.length && K(V.indexObj.index, e3[e3.length - 1]);
21
26
  }, { important: true, deep: true });
22
- const I = t({});
23
- i(w.configure.props, () => {
27
+ const B = n({});
28
+ t(V.configure.props, () => {
24
29
  !function() {
25
- const e3 = w.configure.props, t2 = {};
26
- e3.isFlex && (t2.display = "flex", t2["flex-wrap"] = "wrap", t2["align-content"] = "flex-start", e3.flexJustify && (t2["justify-content"] = e3.flexJustify));
27
- I.value = t2, w.configure.runtime.contentStyle = t2;
30
+ const e3 = V.configure.props, i2 = {};
31
+ e3.isFlex && (i2.display = "flex", i2["flex-wrap"] = "wrap", i2["align-content"] = "flex-start", e3.flexJustify && (i2["justify-content"] = e3.flexJustify));
32
+ B.value = i2, V.configure.runtime.contentStyle = i2;
28
33
  }();
29
34
  }, { immediate: true });
30
- const P = t(null), { start: q } = j(P, w.configure.items, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: { name: "amb-assembly-item" }, animation: 300, ghostClass: "amb-item-ghost", forceFallback: true }), z = k2;
31
- function B(e3, t2) {
32
- z("onSelectWidget", e3, t2);
35
+ const E = n(null), { start: G } = j(E, V.configure.items, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: { name: "amb-assembly-item" }, animation: 300, ghostClass: "amb-item-ghost", forceFallback: true }), H = T2;
36
+ function K(e3, i2) {
37
+ H("onSelectWidget", e3, i2);
33
38
  }
34
- function E(e3, t2) {
35
- z("onCustomAttrWidget", e3, t2);
39
+ function L(e3, i2) {
40
+ H("onCustomAttrWidget", e3, i2);
36
41
  }
37
- function G(e3) {
38
- let t2 = w.configure.items;
39
- const i2 = t2.indexOf(e3);
40
- if (i2 > -1) {
41
- const n2 = v(W(e3));
42
- n2.uuid = S(), D(n2), t2.splice(i2, 0, n2);
42
+ function M(e3) {
43
+ let i2 = V.configure.items;
44
+ const n2 = i2.indexOf(e3);
45
+ if (n2 > -1) {
46
+ const t2 = v(S(e3));
47
+ t2.uuid = k(), D(t2), i2.splice(n2, 0, t2);
43
48
  }
44
49
  }
45
- function H(e3) {
46
- let t2 = w.configure.items;
47
- _(t2, e3, e3.items && e3.items.length > 0, true);
50
+ function N(e3) {
51
+ let i2 = V.configure.items;
52
+ _(i2, e3, e3.items && e3.items.length > 0, true);
48
53
  }
49
- return (e3, t2) => {
50
- const i2 = o("SuperIcon");
51
- return r(), s(l(h), { class: c(["amb-design-item-default", V.value]), style: u(T.value) }, g({ default: a(() => [f("div", { ref_key: "ambDragParent", ref: P, class: "amb-design-item-default", style: u([{ "padding-bottom": "40px" }, I.value]) }, [(r(true), p(m, null, d(e3.configure.items, (t3, i3) => (r(), s(O, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: B, onOnCustomAttrWidget: E, onOnCopy: G, onOnDelete: H }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: a(() => [f("div", { style: u(A.value) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (r(), s(i2, { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), b(" " + x(e3.configure.props.base.title), 1)], 4)]), key: "0" } : void 0]), 1032, ["style", "class"]);
54
+ return (e3, i2) => {
55
+ const n2 = o("SuperIcon"), t2 = o("el-link");
56
+ return l(), s(r(h), { class: c(["amb-design-item-default yx-card-box-view-main", z.value]), style: u(J.value) }, a({ default: g(() => [p("div", { ref_key: "ambDragParent", ref: E, class: "amb-design-item-default", style: u([{ "padding-bottom": "40px" }, B.value]) }, [(l(true), f(m, null, d(e3.configure.items, (i3, n3) => (l(), s(W, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: K, onOnCustomAttrWidget: L, onOnCopy: M, onOnDelete: N }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: g(() => [p("div", { class: "yx-card-box-view-title", style: u(I.value) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (l(), s(n2, { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + b(e3.configure.props.base.title), 1)], 4), A.value ? (l(), s(t2, { key: 0, underline: false, icon: F.value ? r(O) : r(C), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : y("", true)]), key: "0" } : void 0]), 1032, ["style", "class"]);
52
57
  };
53
58
  } });
54
59
  export {
55
- k as default
60
+ T as default
56
61
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as u, withCtx as d, createVNode as t, createElementVNode as p, createTextVNode as r, toDisplayString as i, unref as n } from "vue";
1
+ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as u, withCtx as t, createVNode as d, createElementVNode as p, createTextVNode as r, toDisplayString as i, unref as n } from "vue";
2
2
  import { Search as m } from "@element-plus/icons-vue";
3
3
  import s from "../../common/common-attr-size.vue.js";
4
- import c from "../../common/common-function-code.vue.js";
5
- const f = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { padding: "8px 0px 0px 0px" } }, b = e({ __name: "iframe-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
4
+ import f from "../../common/common-function-code.vue.js";
5
+ const c = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { padding: "8px 0px 0px 0px" } }, b = e({ __name: "iframe-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
6
6
  const b2 = l(["1", "2", "attrSize"]);
7
7
  return (l2, x) => {
8
8
  const V = o("el-text"), _ = o("el-form-item"), y = o("el-input"), v = o("el-collapse-item"), h = o("el-radio"), z = o("el-button"), U = o("el-radio-group"), k = o("el-collapse"), T = o("el-form");
9
- return u(), a(T, { "label-width": "80px", size: "small" }, { default: d(() => [t(k, { modelValue: b2.value, "onUpdate:modelValue": x[5] || (x[5] = (e3) => b2.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [t(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: d(() => [p("div", f, [t(_, { label: "组件类型" }, { default: d(() => [t(V, null, { default: d(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: d(() => [t(y, { modelValue: e2.configure.uuid, "onUpdate:modelValue": x[0] || (x[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: d(() => [t(y, { modelValue: e2.configure.code, "onUpdate:modelValue": x[1] || (x[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "绑定权限", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: d(() => [t(c, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })])]), _: 1 }), t(v, { title: "链接", name: "2", class: "amb-design-attr-group-header" }, { default: d(() => [p("div", g, [t(U, { modelValue: e2.configure.props.linkType, "onUpdate:modelValue": x[4] || (x[4] = (l3) => e2.configure.props.linkType = l3) }, { default: d(() => [t(_, null, { label: d(() => [t(h, { value: "address" }, { default: d(() => x[6] || (x[6] = [r("地址")])), _: 1 })]), default: d(() => [t(y, { modelValue: e2.configure.props.src, "onUpdate:modelValue": x[2] || (x[2] = (l3) => e2.configure.props.src = l3), disabled: "address" != e2.configure.props.linkType }, null, 8, ["modelValue", "disabled"])]), _: 1 }), t(_, { style: { "margin-top": "-8px", "margin-bottom": "-10px" } }, { label: d(() => [t(h, { value: "page" }, { default: d(() => x[7] || (x[7] = [r("页面")])), _: 1 })]), default: d(() => [t(y, { modelValue: e2.configure.props.pageName, "onUpdate:modelValue": x[3] || (x[3] = (l3) => e2.configure.props.pageName = l3), readonly: "", disabled: "page" != e2.configure.props.linkType }, { append: d(() => [t(z, { icon: n(m), disabled: "page" != e2.configure.props.linkType }, null, 8, ["icon", "disabled"])]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), t(s, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
9
+ return u(), a(T, { "label-width": "80px", size: "small" }, { default: t(() => [d(k, { modelValue: b2.value, "onUpdate:modelValue": x[5] || (x[5] = (e3) => b2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [d(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", c, [d(_, { label: "组件类型" }, { default: t(() => [d(V, null, { default: t(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.uuid, "onUpdate:modelValue": x[0] || (x[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.code, "onUpdate:modelValue": x[1] || (x[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(_, { label: "绑定权限", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: t(() => [d(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })])]), _: 1 }), d(v, { title: "链接", name: "2", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", g, [d(U, { modelValue: e2.configure.props.linkType, "onUpdate:modelValue": x[4] || (x[4] = (l3) => e2.configure.props.linkType = l3) }, { default: t(() => [d(_, null, { label: t(() => [d(h, { value: "address" }, { default: t(() => x[6] || (x[6] = [r("地址")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.src, "onUpdate:modelValue": x[2] || (x[2] = (l3) => e2.configure.props.src = l3), disabled: "address" != e2.configure.props.linkType }, null, 8, ["modelValue", "disabled"])]), _: 1 }), d(_, { style: { "margin-top": "-8px", "margin-bottom": "-10px" } }, { label: t(() => [d(h, { value: "page" }, { default: t(() => x[7] || (x[7] = [r("页面")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.pageName, "onUpdate:modelValue": x[3] || (x[3] = (l3) => e2.configure.props.pageName = l3), readonly: "", disabled: "page" != e2.configure.props.linkType }, { append: t(() => [d(z, { type: "default", icon: n(m), disabled: "page" != e2.configure.props.linkType }, null, 8, ["icon", "disabled"])]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), d(s, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
10
10
  };
11
11
  } });
12
12
  export {
@@ -1,7 +1,7 @@
1
1
  import e from "./tabs-design.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const s = t(e, [["__scopeId", "data-v-bc6567c5"]]);
4
+ const s = t(e, [["__scopeId", "data-v-eca0c768"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,48 +1,48 @@
1
- import { defineComponent as e, ref as t, watch as i, createBlock as n, openBlock as l, unref as o, normalizeStyle as s, normalizeClass as a, withCtx as u, createElementBlock as r, Fragment as m, renderList as c, createCommentVNode as g, createElementVNode as d, toDisplayString as p, reactive as f } from "vue";
2
- import { ElTabs as b, ElTabPane as y } from "element-plus";
3
- import { SuperIcon as v } from "agilebuilder-ui";
4
- import { VueDraggable as x } from "vue-draggable-plus";
5
- import O from "../../object-design.vue.js";
6
- import { deepCopy as V, getUuidv4 as W } from "../../../../utils/common-util.js";
7
- import { caculateComponentStyle as j } from "../../../../utils/container-design-util.js";
8
- import { copyHandleEvents as h, deleteDesignItem as T } from "../../../../utils/page-design-util.js";
9
- const _ = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: _2 }) {
1
+ import { defineComponent as e, ref as t, watch as i, createBlock as n, openBlock as l, unref as o, normalizeStyle as s, normalizeClass as a, withCtx as u, createElementBlock as r, Fragment as m, renderList as c, createVNode as g, createCommentVNode as d, createElementVNode as p, toDisplayString as f, reactive as b } from "vue";
2
+ import { ElTabs as y, ElTabPane as v } from "element-plus";
3
+ import { SuperIcon as x } from "agilebuilder-ui";
4
+ import { VueDraggable as O } from "vue-draggable-plus";
5
+ import V from "../../object-design.vue.js";
6
+ import { deepCopy as W, getUuidv4 as j } from "../../../../utils/common-util.js";
7
+ import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
8
+ import { copyHandleEvents as T, deleteDesignItem as _ } from "../../../../utils/page-design-util.js";
9
+ const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
10
10
  const k = e2;
11
11
  k.configure.items || (k.configure.items = [{ label: "Tab1", index: 1, items: [] }, { label: "Tab2", index: 2, items: [] }]);
12
- const D = t(1);
12
+ const C = t(1);
13
13
  k.configure.runtime || (k.configure.runtime = {});
14
- const C = t({}), S = t(""), z = t({});
15
- function A() {
16
- j(k.configure, C, S, z), k.configure.runtime.style = C.value, k.configure.runtime.class = S.value, k.configure.runtime.headerStyle = z.value;
14
+ const S = t({}), z = t(""), A = t({});
15
+ function U() {
16
+ h(k.configure, S, z, A), k.configure.runtime.style = S.value, k.configure.runtime.class = z.value, k.configure.runtime.headerStyle = A.value;
17
17
  }
18
- A(), i(k.configure.style, () => {
19
- A();
18
+ U(), i(k.configure.style, () => {
19
+ U();
20
20
  });
21
- const U = _2;
21
+ const w = D2;
22
22
  function F(e3, t2) {
23
- U("onSelectWidget", e3, t2);
23
+ w("onSelectWidget", e3, t2);
24
24
  }
25
- function w(e3, t2) {
26
- U("onCustomAttrWidget", e3, t2);
25
+ function P(e3, t2) {
26
+ w("onCustomAttrWidget", e3, t2);
27
27
  }
28
- function P(e3) {
28
+ function q(e3) {
29
29
  let t2 = k.configure.items;
30
30
  for (let i2 = 0; i2 < t2.length; i2++) {
31
31
  let n2 = t2[i2];
32
32
  if (n2.items) for (let t3 = 0; t3 < n2.items.length; t3++) {
33
33
  const t4 = n2.items.indexOf(e3);
34
34
  if (t4 > -1) {
35
- const i3 = f(V(e3));
36
- return i3.uuid = W(), h(i3), void n2.items.splice(t4, 0, i3);
35
+ const i3 = b(W(e3));
36
+ return i3.uuid = j(), T(i3), void n2.items.splice(t4, 0, i3);
37
37
  }
38
38
  }
39
39
  }
40
40
  }
41
- return (e3, t2) => (l(), n(o(b), { modelValue: D.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => D.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, class: a(["amb-design-item-default runtime-page-container-tabs-view", S.value]), style: s(C.value) }, { default: u(() => [(l(true), r(m, null, c(e3.configure.items, (t3, i2) => (l(), n(o(y), { key: i2, label: t3.label, name: t3.index, lazy: !!e3.configure.props.lazy }, { label: u(() => [t3.iconType && t3.iconValue ? (l(), n(o(v), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : g("", true), d("span", { style: s(z.value) }, p(t3.label), 5)]), default: u(() => [(e3.configure.props.isFullyRendered ?? 1) || t3.index === D.value ? (l(), n(o(x), { key: 0, tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e4) => t3.items = e4, sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", fallbackClass: true }, { default: u(() => [(l(true), r(m, null, c(t3.items, (i3, o2) => (l(), n(O, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: w, onOnCopy: P, onOnDelete: (e4) => function(e5, t4) {
41
+ return (e3, t2) => (l(), n(o(y), { modelValue: C.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => C.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, class: a(["amb-design-item-default runtime-page-container-tabs-view", z.value]), style: s(S.value) }, { default: u(() => [(l(true), r(m, null, c(e3.configure.items, (t3, i2) => (l(), n(o(v), { key: i2, label: t3.label, name: t3.index, lazy: !!e3.configure.props.lazy }, { label: u(() => [t3.iconType && t3.iconValue ? (l(), n(o(x), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : d("", true), p("span", { style: s(A.value) }, f(t3.label), 5)]), default: u(() => [g(o(O), { tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e4) => t3.items = e4, sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", fallbackClass: true }, { default: u(() => [(l(true), r(m, null, c(t3.items, (i3, o2) => (l(), n(V, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: P, onOnCopy: q, onOnDelete: (e4) => function(e5, t4) {
42
42
  const i4 = e5.items;
43
- T(i4, t4, t4.items && t4.items.length > 0, true);
44
- }(t3, e4) }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : g("", true)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128))]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class"]));
43
+ _(i4, t4, t4.items && t4.items.length > 0, true);
44
+ }(t3, e4) }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128))]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class"]));
45
45
  } });
46
46
  export {
47
- _ as default
47
+ D as default
48
48
  };
@@ -97,7 +97,7 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
97
97
  ce && clearTimeout(ce);
98
98
  }), (l2, o2) => {
99
99
  const a2 = r("el-button"), h2 = r("el-table-column"), y2 = r("el-icon"), v2 = r("Plus"), k2 = r("Delete"), V2 = r("el-option"), x2 = r("el-select"), W3 = r("el-input"), Y2 = r("el-switch"), le2 = r("el-table"), ae2 = r("el-dialog");
100
- return t(), n("div", null, [u(ae2, { "append-to-body": "", "model-value": "", title: "快捷设置", width: "70%", "close-on-click-modal": false, "before-close": se }, { default: i(() => [p("div", O, [u(a2, { type: "primary", style: { "margin-left": "10px" }, icon: l2.Search, onClick: de }, { default: i(() => o2[0] || (o2[0] = [d("确定")])), _: 1 }, 8, ["icon"]), u(a2, { style: { "margin-left": "10px" }, icon: l2.Delete, onClick: fe }, { default: i(() => o2[1] || (o2[1] = [d("删除")])), _: 1 }, 8, ["icon"]), u(a2, { style: { "margin-left": "10px" }, icon: l2.Delete, onClick: he }, { default: i(() => o2[2] || (o2[2] = [d("重置顺序")])), _: 1 }, 8, ["icon"]), u(a2, { style: { "margin-left": "10px" }, icon: l2.RefreshLeft, onClick: se }, { default: i(() => o2[3] || (o2[3] = [d("取消")])), _: 1 }, 8, ["icon"])]), u(le2, { border: "", data: Z.value, "row-key": "uuid", "max-height": oe.value, style: { width: "100%" }, onRowClick: te, onSelectionChange: we }, { default: i(() => [u(h2, { type: "selection", align: "center", width: "50" }), u(h2, { type: "index", label: "序号", align: "center", width: "50" }), u(h2, { label: "操作", align: "center", width: "90" }, { default: i((e3) => [e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", U, [ue(e3.row) ? s("", true) : (t(), c(y2, { key: 0, size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
100
+ return t(), n("div", null, [u(ae2, { "append-to-body": "", "model-value": "", title: "快捷设置", width: "70%", "close-on-click-modal": false, "before-close": se }, { default: i(() => [p("div", O, [u(a2, { type: "primary", style: { "margin-left": "10px" }, icon: l2.Search, onClick: de }, { default: i(() => o2[0] || (o2[0] = [d("确定")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: fe }, { default: i(() => o2[1] || (o2[1] = [d("删除")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: he }, { default: i(() => o2[2] || (o2[2] = [d("重置顺序")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.RefreshLeft, onClick: se }, { default: i(() => o2[3] || (o2[3] = [d("取消")])), _: 1 }, 8, ["icon"])]), u(le2, { border: "", data: Z.value, "row-key": "uuid", "max-height": oe.value, style: { width: "100%" }, onRowClick: te, onSelectionChange: we }, { default: i(() => [u(h2, { type: "selection", align: "center", width: "50" }), u(h2, { type: "index", label: "序号", align: "center", width: "50" }), u(h2, { label: "操作", align: "center", width: "90" }, { default: i((e3) => [e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", U, [ue(e3.row) ? s("", true) : (t(), c(y2, { key: 0, size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
101
101
  let l4 = me(e4);
102
102
  if (l4 < 1) return;
103
103
  const o3 = Z.value;
@@ -126,7 +126,7 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
126
126
  }(l3.row) }, { default: i(() => [(t(true), n(f, null, w(e2.modelFields, (e3) => (t(), c(V2, { key: e3.name, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 }), u(h2, { width: "150" }, { header: i(() => o2[4] || (o2[4] = [d(" 标题 "), p("span", { style: { color: "red" } }, "*", -1)])), default: i((e3) => [e3.row.children && e3.row.children.length > 0 ? (t(), n("span", N, b(be(e3.row)), 1)) : (t(), n("span", D, [e3.row.uuid != ee.value || ie(e3.row) || pe(e3.row) ? (t(), n("label", F, b(e3.row.props.base.name), 1)) : (t(), c(W3, { key: 1, modelValue: e3.row.props.base.name, "onUpdate:modelValue": (l3) => e3.row.props.base.name = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"]))]))]), _: 1 }), u(h2, { label: "显示" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", L, b(e3.row.props.base.visible), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", E, [u(Y2, { modelValue: e3.row.props.base.visible, "onUpdate:modelValue": (l3) => e3.row.props.base.visible = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "显示顺序" }, { default: i((e3) => [e3.row.uuid != ee.value ? (t(), n("label", S, b(e3.row.props.base.displayOrder), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", I, [u(W3, { modelValue: e3.row.props.base.displayOrder, "onUpdate:modelValue": (l3) => e3.row.props.base.displayOrder = l3, modelModifiers: { number: true }, placeholder: "请输入" }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "导出" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", M, b(e3.row.props.base.exportable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", j, [u(Y2, { modelValue: e3.row.props.base.exportable, "onUpdate:modelValue": (l3) => e3.row.props.base.exportable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "查询设置" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", z, b(e3.row.props.base.querySettingName), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", $, [u(x2, { modelValue: e3.row.props.base.querySettingName, "onUpdate:modelValue": (l3) => e3.row.props.base.querySettingName = l3 }, { default: i(() => [u(V2, { label: "不查询", value: "no" }), u(V2, { label: "普通查询", value: "normal" }), u(V2, { label: "高级查询", value: "advanced" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", q, b(e3.row.props.editLine.editable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", R, [u(Y2, { modelValue: e3.row.props.editLine.editable, "onUpdate:modelValue": (l3) => e3.row.props.editLine.editable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑组件" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", A, b(e3.row.props.editLine.plugType), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", B, [u(x2, { modelValue: e3.row.props.editLine.plugType, "onUpdate:modelValue": (l3) => e3.row.props.editLine.plugType = l3, placeholder: "请选择", clearable: "", onChange: (l3) => {
127
127
  var o3;
128
128
  (o3 = e3.row).name = o3.props.editLine.plugType;
129
- } }, { default: i(() => [(t(true), n(f, null, w(ne.value, (e4) => (t(), c(V2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]))]), _: 1 }), u(h2, { label: "标题对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", J, b(e3.row.props.base.alignTitle), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", H, [u(x2, { modelValue: e3.row.props.base.alignTitle, "onUpdate:modelValue": (l3) => e3.row.props.base.alignTitle = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[5] || (o2[5] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[6] || (o2[6] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[7] || (o2[7] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "内容对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", P, b(e3.row.props.base.alignContent), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", G, [u(x2, { modelValue: e3.row.props.base.alignContent, "onUpdate:modelValue": (l3) => e3.row.props.base.alignContent = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[8] || (o2[8] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[9] || (o2[9] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[10] || (o2[10] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "固定列" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", K, b(e3.row.props.base.listColumnFixed), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", Q, [u(x2, { modelValue: e3.row.props.base.listColumnFixed, "onUpdate:modelValue": (l3) => e3.row.props.base.listColumnFixed = l3 }, { default: i(() => [u(V2, { value: "false" }, { default: i(() => o2[11] || (o2[11] = [d("否")])), _: 1 }), u(V2, { value: "left" }, { default: i(() => o2[12] || (o2[12] = [d("居左")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[13] || (o2[13] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])]), _: 1 })]);
129
+ } }, { default: i(() => [(t(true), n(f, null, w(ne.value, (e4) => (t(), c(V2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]))]), _: 1 }), u(h2, { label: "标题对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", J, b(e3.row.props.base.alignTitle), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", H, [u(x2, { modelValue: e3.row.props.base.alignTitle, "onUpdate:modelValue": (l3) => e3.row.props.base.alignTitle = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[5] || (o2[5] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[6] || (o2[6] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[7] || (o2[7] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "内容对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", P, b(e3.row.props.base.alignContent), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", G, [u(x2, { modelValue: e3.row.props.base.alignContent, "onUpdate:modelValue": (l3) => e3.row.props.base.alignContent = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[8] || (o2[8] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[9] || (o2[9] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[10] || (o2[10] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "固定列" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", K, b(e3.row.props.base.listColumnFixed), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", Q, [u(x2, { modelValue: e3.row.props.base.listColumnFixed, "onUpdate:modelValue": (l3) => e3.row.props.base.listColumnFixed = l3 }, { default: i(() => [u(V2, { value: false }, { default: i(() => o2[11] || (o2[11] = [d("否")])), _: 1 }), u(V2, { value: "left" }, { default: i(() => o2[12] || (o2[12] = [d("居左")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[13] || (o2[13] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])]), _: 1 })]);
130
130
  };
131
131
  } });
132
132
  export {
@@ -1,7 +1,7 @@
1
1
  import e from "./composite-header.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = o(e, [["__scopeId", "data-v-dbd1c08b"]]);
4
+ const r = o(e, [["__scopeId", "data-v-d06d5717"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as e, ref as l, onMounted as a, onUnmounted as u, resolveComponent as t, createElementBlock as n, openBlock as i, createElementVNode as d, createCommentVNode as o, createTextVNode as r, createVNode as p, createBlock as s, withCtx as v, withDirectives as c, toDisplayString as f, unref as m, vShow as y, Fragment as g, renderList as h } from "vue";
1
+ import { defineComponent as e, ref as l, onMounted as a, onUnmounted as u, resolveComponent as t, createElementBlock as n, openBlock as d, createElementVNode as i, createCommentVNode as o, createTextVNode as r, createVNode as p, createBlock as s, withCtx as v, withDirectives as c, toDisplayString as f, unref as m, vShow as y, Fragment as g, renderList as h } from "vue";
2
2
  import { Plus as b, EditPen as x, Document as U, Delete as _ } from "@element-plus/icons-vue";
3
3
  import { getUuidv4 as k } from "../../../../utils/common-util.js";
4
4
  import { ElMessage as O, ElMessageBox as T } from "element-plus";
5
- import { getTopGroupHeaderList as C, setGroupHeaderDataDisplayOrder as V, addColumnToGroupHeaders as H, isLeafNode as N } from "../../../../utils/data-table-util.js";
6
- import w from "../../../../utils/eventBus.js";
5
+ import { getTopGroupHeaderList as C, setGroupHeaderDataDisplayOrder as V, addColumnToGroupHeaders as H, isLeafNode as w } from "../../../../utils/data-table-util.js";
6
+ import N from "../../../../utils/eventBus.js";
7
7
  const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = { key: 0 }, $ = { key: 1 }, R = { key: 0, id: "menu", ref: "headerMenu", class: "context-menu" }, S = { key: 5, id: "menu-4994-1-6", tabindex: "-1" }, D = { class: "dialog-footer" }, j = { class: "dialog-footer" }, M = e({ __name: "composite-header", props: { configure: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
8
8
  const M2 = e2, B = l(false), P = l({}), q = l(null), I = l(false), J = l(null);
9
9
  let F = [];
@@ -24,7 +24,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
24
24
  let a2 = { uuid: k(), columnUuid: l2.uuid, titleText: l2.props.base.name, isLeaf: true, prop: l2.props.base.prop, displayOrder: e3++ };
25
25
  M2.configure.props.groupHeaders.push(a2);
26
26
  }
27
- }), Z.value = M2.configure.props.groupHeaders, de(), z.value = C(Z.value);
27
+ }), Z.value = M2.configure.props.groupHeaders, ie(), z.value = C(Z.value);
28
28
  }
29
29
  function te() {
30
30
  X.value = [], F.forEach((e3) => {
@@ -38,13 +38,13 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
38
38
  q.value.validate((e3) => {
39
39
  if (e3) {
40
40
  let e4;
41
- P.value.uuid ? (e4 = ge(P.value.uuid), e4.titleText = P.value.titleText, e4.displayOrder = P.value.displayOrder, void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, e4, Z.value), B.value = false) : (P.value.uuid = k(), void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, P.value, Z.value), Z.value.push(P.value), B.value = false), de(), P.value.parentUuid ? ee.value.append(P.value, K.value) : z.value = C(Z.value), Q.value && he();
41
+ P.value.uuid ? (e4 = ge(P.value.uuid), e4.titleText = P.value.titleText, e4.displayOrder = P.value.displayOrder, void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, e4, Z.value), B.value = false) : (P.value.uuid = k(), void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, P.value, Z.value), Z.value.push(P.value), B.value = false), ie(), P.value.parentUuid ? ee.value.append(P.value, K.value) : z.value = C(Z.value), Q.value && he();
42
42
  }
43
43
  });
44
44
  }
45
- let ie;
46
- function de() {
47
- ie && clearTimeout(ie), M2.configure.props.isChangeGroupHeader = false, ie = setTimeout(() => {
45
+ let de;
46
+ function ie() {
47
+ de && clearTimeout(de), M2.configure.props.isChangeGroupHeader = false, de = setTimeout(() => {
48
48
  M2.configure.props.isChangeGroupHeader = true;
49
49
  }, 1);
50
50
  }
@@ -65,16 +65,16 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
65
65
  "updateCombinedHeader" === e3 ? (P.value = K.value.data, P.value.id = 1, B.value = true, I.value = false) : "createCombinedHeader" === e3 ? (P.value = {}, P.value.parentUuid = K.value.data.uuid, B.value = true, I.value = false) : "addListColumn" === e3 ? (te(), A.value = [], Y.value = true, I.value = false) : "moveToRootNode" === e3 ? (!function() {
66
66
  const e4 = ge(K.value.data.uuid);
67
67
  e4 && (e4.parentUuid = null, K.value.parentUuid = null);
68
- z.value = C(Z.value), de();
68
+ z.value = C(Z.value), ie();
69
69
  }(), I.value = false) : "childMoveToRootNode" === e3 ? (K.value.childNodes.forEach((e4) => {
70
70
  const l2 = ge(e4.data.uuid);
71
71
  l2 && (l2.parentUuid = null, e4.parentUuid = null);
72
- }), z.value = C(Z.value), de(), I.value = false) : "deleteNode" === e3 ? (K.value && K.value.data && function() {
72
+ }), z.value = C(Z.value), ie(), I.value = false) : "deleteNode" === e3 ? (K.value && K.value.data && function() {
73
73
  const e4 = K.value, l2 = K.value.data, a2 = l2.parentUuid, u2 = K.value.parent, t2 = Z.value.filter((e5) => e5.parentUuid === l2.uuid);
74
74
  if (t2 && t2.length > 0) return void O({ showClose: true, type: "warning", message: "请先删除子节点" });
75
75
  T.confirm("确认删除节点[" + l2.titleText + "]吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
76
76
  const t3 = Z.value.findIndex((e5) => e5.uuid === l2.uuid);
77
- if (null != t3 && t3 >= 0 && (Z.value.splice(t3, 1), de()), u2) {
77
+ if (null != t3 && t3 >= 0 && (Z.value.splice(t3, 1), ie()), u2) {
78
78
  const e5 = Z.value.filter((e6) => e6.uuid === a2);
79
79
  e5 && e5.length > 0 ? u2.data.isLeaf = false : u2.data.isLeaf = true, u2.loaded = false, u2.expand();
80
80
  }
@@ -82,7 +82,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
82
82
  const a3 = F.filter((e5) => e5.uuid === l2.columnUuid);
83
83
  if (a3 && a3.length > 0) {
84
84
  const l3 = a3[0];
85
- H(l3, null, Z.value), de();
85
+ H(l3, null, Z.value), ie();
86
86
  const u3 = function(e5) {
87
87
  return ye(e5);
88
88
  }(e4);
@@ -92,18 +92,18 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
92
92
  });
93
93
  }(), I.value = false) : "mobileNode" === e3 && (ve.value = true);
94
94
  }
95
- w.$on("setFieldGroup", (e3) => {
95
+ N.$on("setFieldGroup", (e3) => {
96
96
  e3.length > 0 && (ae.value = e3);
97
- }), w.$on("synchroGroupHeadersData", () => {
97
+ }), N.$on("synchroGroupHeadersData", () => {
98
98
  z.value = C(Z.value);
99
99
  }), u(() => {
100
- ie && clearTimeout(ie), _e && clearTimeout(_e);
100
+ de && clearTimeout(de), _e && clearTimeout(_e);
101
101
  });
102
102
  const ve = l(false), ce = l([]);
103
103
  function fe(e3) {
104
104
  if (!e3 && ce.value.length > 0) {
105
105
  const e4 = ge(K.value.data.uuid);
106
- e4 && (e4.parentUuid = ce.value[ce.value.length - 1], K.value.parentUuid = ce.value[ce.value.length - 1]), z.value = C(Z.value), de(), ve.value = false;
106
+ e4 && (e4.parentUuid = ce.value[ce.value.length - 1], K.value.parentUuid = ce.value[ce.value.length - 1]), z.value = C(Z.value), ie(), ve.value = false;
107
107
  }
108
108
  }
109
109
  function me() {
@@ -111,7 +111,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
111
111
  const l2 = X.value.filter((l3) => l3.uuid === e3);
112
112
  if (l2 && l2.length > 0) {
113
113
  const e4 = l2[0];
114
- H(e4, K.value.data.uuid, Z.value), de();
114
+ H(e4, K.value.data.uuid, Z.value), ie();
115
115
  }
116
116
  }), K.value && (K.value.loaded = false, K.value.expand()), Q.value && he(), Y.value = false;
117
117
  }
@@ -129,7 +129,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
129
129
  const l2 = Z.value.filter((l3) => l3.titleText.indexOf(e3) >= 0);
130
130
  let a2 = JSON.parse(JSON.stringify(l2));
131
131
  a2.forEach((e4) => {
132
- e4.isTheLeaf = N(e4, Z.value), be(e4, e4, e4.titleText);
132
+ e4.isTheLeaf = w(e4, Z.value), be(e4, e4, e4.titleText);
133
133
  }), z.value = a2;
134
134
  } else Q.value = false, z.value = C(Z.value);
135
135
  }
@@ -144,7 +144,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
144
144
  } else e3.fullPath = a2;
145
145
  }
146
146
  function xe(e3, l2) {
147
- w.$emit("hadleDragging", true), W.value = e3;
147
+ N.$emit("hadleDragging", true), W.value = e3;
148
148
  }
149
149
  function Ue(e3, l2, a2) {
150
150
  let u2 = true;
@@ -154,7 +154,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
154
154
  function ke(e3, l2, a2, u2) {
155
155
  let t2 = l2.data;
156
156
  let n2;
157
- const i2 = ge(e3.data.uuid);
157
+ const d2 = ge(e3.data.uuid);
158
158
  if ("after" === a2) !function(e4, l3) {
159
159
  const a3 = e4.parentUuid;
160
160
  let u3 = e4.displayOrder;
@@ -163,8 +163,8 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
163
163
  t3 && t3.length > 0 ? (t3 = t3.sort((e5, l4) => e5.displayOrder - l4.displayOrder), l3.displayOrder = t3[0].displayOrder + 1, t3.forEach((e5) => {
164
164
  e5.displayOrder = e5.displayOrder + 1;
165
165
  })) : l3.displayOrder = u3 + 1;
166
- de();
167
- }(t2, i2), n2 = t2.parentUuid, i2.parentUuid = n2, l2.parent ? (l2.parent.loaded = false, l2.parent.expand()) : (W.value = null, z.value = C(Z.value));
166
+ ie();
167
+ }(t2, d2), n2 = t2.parentUuid, d2.parentUuid = n2, l2.parent ? (l2.parent.loaded = false, l2.parent.expand()) : (W.value = null, z.value = C(Z.value));
168
168
  else if ("before" === a2) !function(e4, l3) {
169
169
  const a3 = e4.parentUuid;
170
170
  let u3 = e4.displayOrder;
@@ -174,16 +174,16 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
174
174
  t3 && t3.length > 0 && (t3 = t3.sort((e5, l4) => e5.displayOrder - l4.displayOrder), t3.forEach((e5) => {
175
175
  e5.displayOrder = e5.displayOrder + 1;
176
176
  }));
177
- de();
178
- }(t2, i2), n2 = t2.parentUuid, i2.parentUuid = n2, l2.parent ? (l2.parent.loaded = false, l2.parent.expand()) : (W.value = null, z.value = C(Z.value));
177
+ ie();
178
+ }(t2, d2), n2 = t2.parentUuid, d2.parentUuid = n2, l2.parent ? (l2.parent.loaded = false, l2.parent.expand()) : (W.value = null, z.value = C(Z.value));
179
179
  else if ("inner" === a2 && !t2.columnUuid) {
180
180
  !function(e5, l3) {
181
181
  let a3;
182
182
  e5 && (a3 = e5.uuid);
183
- V(a3, l3, Z.value), de();
184
- }(t2, i2), n2 = t2.uuid, i2.parentUuid = n2;
183
+ V(a3, l3, Z.value), ie();
184
+ }(t2, d2), n2 = t2.uuid, d2.parentUuid = n2;
185
185
  const e4 = ge(n2);
186
- e4.isLeaf = N(e4, Z.value), l2.loaded = false, l2.expand();
186
+ e4.isLeaf = w(e4, Z.value), l2.loaded = false, l2.expand();
187
187
  }
188
188
  if (W.value && !t2.columnUuid) {
189
189
  const e4 = W.value.parent;
@@ -194,12 +194,12 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
194
194
  e4 && (e4.loaded = false, e4.expand());
195
195
  }
196
196
  _e && clearTimeout(_e), _e = setTimeout(() => {
197
- w.$emit("hadleDragging", false);
197
+ N.$emit("hadleDragging", false);
198
198
  }, 50);
199
199
  }
200
200
  return (l2, a2) => {
201
- const u2 = t("el-switch"), k2 = t("el-button"), O2 = t("el-input"), T2 = t("el-tree"), C2 = t("el-icon"), V2 = t("el-cascader"), H2 = t("el-form-item"), N2 = t("el-form"), w2 = t("el-dialog"), M3 = t("el-checkbox"), F2 = t("el-col"), W2 = t("el-row"), Z2 = t("el-checkbox-group");
202
- return i(), n("div", null, [d("div", null, [a2[19] || (a2[19] = r(" 是否启用")), p(u2, { modelValue: e2.configure.props.base.isEnableGroupHeader, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.base.isEnableGroupHeader = l3), onChange: le }, null, 8, ["modelValue"]), e2.configure.props.base.isEnableGroupHeader ? (i(), s(k2, { key: 0, style: { "margin-left": "10px" }, type: "primary", onClick: ue }, { default: v(() => a2[17] || (a2[17] = [r("重置")])), _: 1 })) : o("", true), e2.configure.props.base.isEnableGroupHeader ? (i(), s(k2, { key: 1, type: "primary", onClick: a2[1] || (a2[1] = (e3) => (P.value = {}, void (B.value = true))) }, { default: v(() => a2[18] || (a2[18] = [r("添加顶级菜单")])), _: 1 })) : o("", true)]), e2.configure.props.base.isEnableGroupHeader ? (i(), n("div", E, [d("div", L, [p(O2, { modelValue: J.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => J.value = e3), placeholder: "Search...", clearable: "", class: "input-with-select", onInput: he }, null, 8, ["modelValue"])]), p(T2, { ref_key: "groupTreeRef", ref: ee, style: { "max-width": "600px" }, data: z.value, draggable: !Q.value, props: { isLeaf: "isLeaf", children: "children", label: "titleText" }, "node-key": "uuid", onNodeClick: re, onNodeContextmenu: pe, onNodeDrop: ke, onNodeDragStart: xe, "allow-drop": Ue }, { default: v(({ data: e3 }) => [Q.value && e3.fullPath ? (i(), n("span", G, f(e3.fullPath), 1)) : (i(), n("span", $, f(e3.titleText), 1))]), _: 1 }, 8, ["data", "draggable"]), c(d("div", null, [K.value.data ? (i(), n("ul", R, [K.value.data.columnUuid ? o("", true) : (i(), n("li", { key: 0, id: "menu-4994-1-0", class: "menu__item", tabindex: "-1", onClick: a2[3] || (a2[3] = () => se("createCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(b))]), _: 1 }), a2[20] || (a2[20] = r(" 创建节点 "))])), K.value.data.columnUuid ? o("", true) : (i(), n("li", { key: 1, id: "menu-4994-1-1", class: "menu__item", tabindex: "-1", onClick: a2[4] || (a2[4] = () => se("updateCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(x))]), _: 1 }), a2[21] || (a2[21] = r(" 修改节点 "))])), K.value.data.parentUuid && !ve.value ? (i(), n("li", { key: 2, id: "menu-4994-1-3", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[5] || (a2[5] = () => se("moveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[22] || (a2[22] = r(" 移至根节点 "))])) : o("", true), K.value.isLeaf || K.value.isTheLeaf || K.value.data.columnUuid || ve.value ? o("", true) : (i(), n("li", { key: 3, id: "menu-4994-1-4", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[6] || (a2[6] = () => se("childMoveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[23] || (a2[23] = r(" 子节点移至根节点 "))])), ve.value ? o("", true) : (i(), n("li", { key: 4, id: "menu-4994-1-5", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[7] || (a2[7] = () => se("mobileNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[24] || (a2[24] = r(" 移动节点 "))])), ve.value ? (i(), n("li", S, [p(V2, { props: { value: "uuid", label: "titleText", children: "children", checkStrictly: true }, modelValue: ce.value, "onUpdate:modelValue": a2[8] || (a2[8] = (e3) => ce.value = e3), options: ae.value, onVisibleChange: fe }, null, 8, ["modelValue", "options"])])) : o("", true), K.value.data.columnUuid ? o("", true) : (i(), n("li", { key: 6, id: "menu-4994-1-7", class: "menu__item", tabindex: "-1", onClick: a2[9] || (a2[9] = () => se("deleteNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[25] || (a2[25] = r(" 删除节点 "))]))], 512)) : o("", true)], 512), [[y, I.value]]), B.value ? (i(), s(w2, { key: 0, modelValue: B.value, "onUpdate:modelValue": a2[13] || (a2[13] = (e3) => B.value = e3), title: "组合表头", width: "500" }, { footer: v(() => [d("div", D, [p(k2, { onClick: a2[12] || (a2[12] = (e3) => B.value = false) }, { default: v(() => a2[26] || (a2[26] = [r("取消")])), _: 1 }), p(k2, { type: "primary", onClick: ne }, { default: v(() => a2[27] || (a2[27] = [r(" 确认 ")])), _: 1 })])]), default: v(() => [p(N2, { ref_key: "formRef", ref: q, model: P.value, "label-width": "auto", style: { "max-width": "600px" } }, { default: v(() => [p(H2, { label: "名称", required: "" }, { default: v(() => [p(O2, { modelValue: P.value.titleText, "onUpdate:modelValue": a2[10] || (a2[10] = (e3) => P.value.titleText = e3), disabled: oe() }, null, 8, ["modelValue", "disabled"])]), _: 1 }), p(H2, { label: "显示顺序" }, { default: v(() => [p(O2, { modelValue: P.value.displayOrder, "onUpdate:modelValue": a2[11] || (a2[11] = (e3) => P.value.displayOrder = e3), modelModifiers: { number: true } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["modelValue"])) : o("", true), Y.value ? (i(), s(w2, { key: 1, modelValue: Y.value, "onUpdate:modelValue": a2[16] || (a2[16] = (e3) => Y.value = e3), title: "请选择字段", width: "500" }, { footer: v(() => [d("div", j, [p(k2, { onClick: a2[15] || (a2[15] = (e3) => Y.value = false) }, { default: v(() => a2[28] || (a2[28] = [r("取消")])), _: 1 }), p(k2, { type: "primary", onClick: me }, { default: v(() => a2[29] || (a2[29] = [r(" 确认 ")])), _: 1 })])]), default: v(() => [p(Z2, { modelValue: A.value, "onUpdate:modelValue": a2[14] || (a2[14] = (e3) => A.value = e3) }, { default: v(() => [p(W2, null, { default: v(() => [(i(true), n(g, null, h(X.value, (e3) => (i(), s(F2, { span: 6, key: e3.uuid }, { default: v(() => [p(M3, { label: e3.props.base.name, value: e3.uuid }, null, 8, ["label", "value"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])) : o("", true)])) : o("", true)]);
201
+ const u2 = t("el-switch"), k2 = t("el-button"), O2 = t("el-input"), T2 = t("el-tree"), C2 = t("el-icon"), V2 = t("el-cascader"), H2 = t("el-form-item"), w2 = t("el-form"), N2 = t("el-dialog"), M3 = t("el-checkbox"), F2 = t("el-col"), W2 = t("el-row"), Z2 = t("el-checkbox-group");
202
+ return d(), n("div", null, [i("div", null, [a2[19] || (a2[19] = r(" 是否启用")), p(u2, { modelValue: e2.configure.props.base.isEnableGroupHeader, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.base.isEnableGroupHeader = l3), onChange: le }, null, 8, ["modelValue"]), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 0, style: { "margin-left": "10px" }, type: "primary", onClick: ue }, { default: v(() => a2[17] || (a2[17] = [r("重置")])), _: 1 })) : o("", true), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 1, type: "primary", onClick: a2[1] || (a2[1] = (e3) => (P.value = {}, void (B.value = true))) }, { default: v(() => a2[18] || (a2[18] = [r("添加顶级菜单")])), _: 1 })) : o("", true)]), e2.configure.props.base.isEnableGroupHeader ? (d(), n("div", E, [i("div", L, [p(O2, { modelValue: J.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => J.value = e3), placeholder: "Search...", clearable: "", class: "input-with-select", onInput: he }, null, 8, ["modelValue"])]), p(T2, { ref_key: "groupTreeRef", ref: ee, style: { "max-width": "600px" }, data: z.value, draggable: !Q.value, props: { isLeaf: "isLeaf", children: "children", label: "titleText" }, "node-key": "uuid", onNodeClick: re, onNodeContextmenu: pe, onNodeDrop: ke, onNodeDragStart: xe, "allow-drop": Ue }, { default: v(({ data: e3 }) => [Q.value && e3.fullPath ? (d(), n("span", G, f(e3.fullPath), 1)) : (d(), n("span", $, f(e3.titleText), 1))]), _: 1 }, 8, ["data", "draggable"]), c(i("div", null, [K.value.data ? (d(), n("ul", R, [K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 0, id: "menu-4994-1-0", class: "menu__item", tabindex: "-1", onClick: a2[3] || (a2[3] = () => se("createCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(b))]), _: 1 }), a2[20] || (a2[20] = r(" 创建节点 "))])), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 1, id: "menu-4994-1-1", class: "menu__item", tabindex: "-1", onClick: a2[4] || (a2[4] = () => se("updateCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(x))]), _: 1 }), a2[21] || (a2[21] = r(" 修改节点 "))])), K.value.data.parentUuid && !ve.value ? (d(), n("li", { key: 2, id: "menu-4994-1-3", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[5] || (a2[5] = () => se("moveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[22] || (a2[22] = r(" 移至根节点 "))])) : o("", true), K.value.isLeaf || K.value.isTheLeaf || K.value.data.columnUuid || ve.value ? o("", true) : (d(), n("li", { key: 3, id: "menu-4994-1-4", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[6] || (a2[6] = () => se("childMoveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[23] || (a2[23] = r(" 子节点移至根节点 "))])), ve.value ? o("", true) : (d(), n("li", { key: 4, id: "menu-4994-1-5", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[7] || (a2[7] = () => se("mobileNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[24] || (a2[24] = r(" 移动节点 "))])), ve.value ? (d(), n("li", S, [p(V2, { props: { value: "uuid", label: "titleText", children: "children", checkStrictly: true }, modelValue: ce.value, "onUpdate:modelValue": a2[8] || (a2[8] = (e3) => ce.value = e3), options: ae.value, onVisibleChange: fe }, null, 8, ["modelValue", "options"])])) : o("", true), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 6, id: "menu-4994-1-7", class: "menu__item", tabindex: "-1", onClick: a2[9] || (a2[9] = () => se("deleteNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[25] || (a2[25] = r(" 删除节点 "))]))], 512)) : o("", true)], 512), [[y, I.value]]), B.value ? (d(), s(N2, { key: 0, "append-to-body": "", modelValue: B.value, "onUpdate:modelValue": a2[13] || (a2[13] = (e3) => B.value = e3), title: "组合表头", width: "500" }, { footer: v(() => [i("div", D, [p(k2, { type: "default", onClick: a2[12] || (a2[12] = (e3) => B.value = false) }, { default: v(() => a2[26] || (a2[26] = [r("取消")])), _: 1 }), p(k2, { type: "primary", onClick: ne }, { default: v(() => a2[27] || (a2[27] = [r(" 确认 ")])), _: 1 })])]), default: v(() => [p(w2, { ref_key: "formRef", ref: q, model: P.value, "label-width": "auto", style: { "max-width": "600px" } }, { default: v(() => [p(H2, { label: "名称", required: "" }, { default: v(() => [p(O2, { modelValue: P.value.titleText, "onUpdate:modelValue": a2[10] || (a2[10] = (e3) => P.value.titleText = e3), disabled: oe() }, null, 8, ["modelValue", "disabled"])]), _: 1 }), p(H2, { label: "显示顺序" }, { default: v(() => [p(O2, { modelValue: P.value.displayOrder, "onUpdate:modelValue": a2[11] || (a2[11] = (e3) => P.value.displayOrder = e3), modelModifiers: { number: true } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["modelValue"])) : o("", true), Y.value ? (d(), s(N2, { key: 1, "append-to-body": "", modelValue: Y.value, "onUpdate:modelValue": a2[16] || (a2[16] = (e3) => Y.value = e3), title: "请选择字段", width: "500" }, { footer: v(() => [i("div", j, [p(k2, { type: "default", onClick: a2[15] || (a2[15] = (e3) => Y.value = false) }, { default: v(() => a2[28] || (a2[28] = [r("取消")])), _: 1 }), p(k2, { type: "primary", onClick: me }, { default: v(() => a2[29] || (a2[29] = [r(" 确认 ")])), _: 1 })])]), default: v(() => [a2[30] || (a2[30] = r('段" width="500">段" width="500"> ')), p(Z2, { modelValue: A.value, "onUpdate:modelValue": a2[14] || (a2[14] = (e3) => A.value = e3) }, { default: v(() => [p(W2, null, { default: v(() => [(d(true), n(g, null, h(X.value, (e3) => (d(), s(F2, { span: 6, key: e3.uuid }, { default: v(() => [p(M3, { label: e3.props.base.name, value: e3.uuid }, null, 8, ["label", "value"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])) : o("", true)])) : o("", true)]);
203
203
  };
204
204
  } });
205
205
  export {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as a, createBlock as u, openBlock as o, withCtx as t, createVNode as n, createCommentVNode as d, createElementBlock as i, Fragment as m, renderList as c, createTextVNode as r, createElementVNode as v } from "vue";
2
2
  import "@element-plus/icons-vue";
3
3
  /* empty css */
4
- import s from "agilebuilder-ui/src/utils/request";
5
- const p = { class: "dialog-footer" }, f = e({ __name: "configuration-value", props: { configValue: { type: Object, default: {} }, clolumnTableFields: { type: Array, default: [] } }, emits: ["close", "add"], setup(e2, { expose: f2, emit: b }) {
4
+ import p from "agilebuilder-ui/src/utils/request";
5
+ const s = { class: "dialog-footer" }, f = e({ __name: "configuration-value", props: { configValue: { type: Object, default: {} }, clolumnTableFields: { type: Array, default: [] } }, emits: ["close", "add"], setup(e2, { expose: f2, emit: b }) {
6
6
  const y = e2, g = b, V = l({});
7
7
  V.value = y.configValue, function() {
8
8
  V.value = y.configValue, V.value || (V.value = {});
@@ -20,7 +20,7 @@ const p = { class: "dialog-footer" }, f = e({ __name: "configuration-value", pro
20
20
  function S(e3) {
21
21
  k.value = true;
22
22
  const l2 = { query: e3 };
23
- s.post(window.$vueApp.config.globalProperties.baseAPI + "/component/option-groups/query", l2).then((e4) => {
23
+ p.post(window.$vueApp.config.globalProperties.baseAPI + "/component/option-groups/query", l2).then((e4) => {
24
24
  k.value = false, C.value = e4;
25
25
  }).catch((e4) => {
26
26
  k.value = false;
@@ -31,7 +31,7 @@ const p = { class: "dialog-footer" }, f = e({ __name: "configuration-value", pro
31
31
  if (e3) {
32
32
  x.value = true;
33
33
  const l2 = { query: e3 };
34
- s.post(window.$vueApp.config.globalProperties.baseAPI + "/component/dynamic-options/query", l2).then((e4) => {
34
+ p.post(window.$vueApp.config.globalProperties.baseAPI + "/component/dynamic-options/query", l2).then((e4) => {
35
35
  x.value = false, U.value = e4;
36
36
  }).catch((e4) => {
37
37
  x.value = false;
@@ -41,7 +41,7 @@ const p = { class: "dialog-footer" }, f = e({ __name: "configuration-value", pro
41
41
  function O(e3) {
42
42
  x.value = true;
43
43
  const l2 = { query: e3 };
44
- s.post(window.$vueApp.config.globalProperties.baseAPI + "/component/dynamic-options/query", l2).then((l3) => {
44
+ p.post(window.$vueApp.config.globalProperties.baseAPI + "/component/dynamic-options/query", l2).then((l3) => {
45
45
  x.value = false, U.value = l3, q(e3);
46
46
  }).catch((e4) => {
47
47
  x.value = false;
@@ -70,9 +70,9 @@ const p = { class: "dialog-footer" }, f = e({ __name: "configuration-value", pro
70
70
  function I(e3) {
71
71
  "keyValuePair" === e3 || ("optionGroup" === e3 ? S(true) : "enumname" === e3 || "beanname" === e3 || "dynamicDataSource" === e3 && O(""));
72
72
  }
73
- return f2({ echoDataOrigin: O }), (l2, s2) => {
73
+ return f2({ echoDataOrigin: O }), (l2, p2) => {
74
74
  const f3 = a("el-option"), b2 = a("el-select"), y2 = a("el-form-item"), g2 = a("el-input"), h2 = a("el-button"), O2 = a("el-table-column"), T = a("el-table"), G = a("el-form"), j = a("el-dialog");
75
- return o(), u(j, { "model-value": "", title: "值设置", width: "600", "before-close": $ }, { footer: t(() => [v("div", p, [n(h2, { onClick: s2[6] || (s2[6] = (e3) => l2.$emit("close")) }, { default: t(() => s2[9] || (s2[9] = [r("取消")])), _: 1 }), n(h2, { type: "primary", onClick: _ }, { default: t(() => s2[10] || (s2[10] = [r("确认 ")])), _: 1 })])]), default: t(() => [n(G, { modelValue: V.value, "onUpdate:modelValue": s2[5] || (s2[5] = (e3) => V.value = e3), "label-width": "100px" }, { default: t(() => [n(y2, { label: "分类", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.type, "onUpdate:modelValue": s2[0] || (s2[0] = (e3) => V.value.type = e3), onChange: I, placeholder: "请选择" }, { default: t(() => [n(f3, { label: "键值对", value: "keyValuePair" }), n(f3, { label: "选项组", value: "optionGroup" }), n(f3, { label: "枚举类名", value: "enumname" }), n(f3, { label: "动态数据源", value: "dynamicDataSource" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "keyValuePair" === V.value.type ? (o(), u(y2, { key: 0, label: "键值对", class: "amb-design-attr-item" }, { default: t(() => [n(g2, { modelValue: V.value.name, "onUpdate:modelValue": s2[1] || (s2[1] = (e3) => V.value.name = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "optionGroup" === V.value.type ? (o(), u(y2, { key: 1, label: "选项组", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.name, "onUpdate:modelValue": s2[2] || (s2[2] = (e3) => V.value.name = e3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": S, loading: k.value }, { default: t(() => [(o(true), i(m, null, c(C.value, (e3) => (o(), u(f3, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : d("", true), "enumname" === V.value.type ? (o(), u(y2, { key: 2, label: "枚举类名", class: "amb-design-attr-item" }, { default: t(() => [n(g2, { modelValue: V.value.name, "onUpdate:modelValue": s2[3] || (s2[3] = (e3) => V.value.name = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "dynamicDataSource" === V.value.type ? (o(), u(y2, { key: 3, label: "动态数据源", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.dynamicDataSourceCode, "onUpdate:modelValue": s2[4] || (s2[4] = (e3) => V.value.dynamicDataSourceCode = e3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": F, loading: x.value, onChange: q }, { default: t(() => [(o(true), i(m, null, c(U.value, (e3) => (o(), u(f3, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : d("", true), "dynamicDataSource" === V.value.type ? (o(), u(y2, { key: 4, label: "字段设置", class: "amb-design-attr-item" }, { default: t(() => [n(h2, { type: "primary", plain: "", onClick: w }, { default: t(() => s2[7] || (s2[7] = [r("添加")])), _: 1 }), n(h2, { type: "primary", plain: "", onClick: A }, { default: t(() => s2[8] || (s2[8] = [r("删除")])), _: 1 }), n(T, { data: V.value.valueSetOptions, "row-class-name": N, height: "400px", "highlight-current-row": "", style: { width: "100%", "margin-top": "5px" }, onCurrentChange: D }, { default: t(() => [n(O2, { label: "来源字段" }, { default: t((e3) => [n(b2, { modelValue: e3.row.columnName, "onUpdate:modelValue": (l3) => e3.row.columnName = l3, clearable: "", filterable: "" }, { default: t(() => [(o(true), i(m, null, c(P.value, (e4) => (o(), u(f3, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(O2, { label: "值字段" }, { default: t((a2) => [e2.clolumnTableFields && e2.clolumnTableFields.length > 0 ? (o(), u(b2, { key: 0, modelValue: a2.row.valueField, "onUpdate:modelValue": (e3) => a2.row.valueField = e3, clearable: "", filterable: "" }, { default: t(() => [(o(true), i(m, null, c(e2.clolumnTableFields, (e3, l3) => (o(), u(f3, { key: l3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (o(), u(g2, { key: 1, modelValue: a2.row.valueField, "onUpdate:modelValue": (e3) => a2.row.valueField = e3, onChange: (e3) => l2.changeValueField(e3, a2.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 })) : d("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
75
+ return o(), u(j, { "append-to-body": "", "model-value": "", title: "值设置", width: "600", "before-close": $ }, { footer: t(() => [v("div", s, [n(h2, { type: "default", onClick: p2[6] || (p2[6] = (e3) => l2.$emit("close")) }, { default: t(() => p2[9] || (p2[9] = [r("取消")])), _: 1 }), n(h2, { type: "primary", onClick: _ }, { default: t(() => p2[10] || (p2[10] = [r("确认 ")])), _: 1 })])]), default: t(() => [n(G, { modelValue: V.value, "onUpdate:modelValue": p2[5] || (p2[5] = (e3) => V.value = e3), "label-width": "100px" }, { default: t(() => [n(y2, { label: "分类", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.type, "onUpdate:modelValue": p2[0] || (p2[0] = (e3) => V.value.type = e3), onChange: I, placeholder: "请选择" }, { default: t(() => [n(f3, { label: "键值对", value: "keyValuePair" }), n(f3, { label: "选项组", value: "optionGroup" }), n(f3, { label: "枚举类名", value: "enumname" }), n(f3, { label: "动态数据源", value: "dynamicDataSource" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "keyValuePair" === V.value.type ? (o(), u(y2, { key: 0, label: "键值对", class: "amb-design-attr-item" }, { default: t(() => [n(g2, { modelValue: V.value.name, "onUpdate:modelValue": p2[1] || (p2[1] = (e3) => V.value.name = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "optionGroup" === V.value.type ? (o(), u(y2, { key: 1, label: "选项组", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.name, "onUpdate:modelValue": p2[2] || (p2[2] = (e3) => V.value.name = e3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": S, loading: k.value }, { default: t(() => [(o(true), i(m, null, c(C.value, (e3) => (o(), u(f3, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : d("", true), "enumname" === V.value.type ? (o(), u(y2, { key: 2, label: "枚举类名", class: "amb-design-attr-item" }, { default: t(() => [n(g2, { modelValue: V.value.name, "onUpdate:modelValue": p2[3] || (p2[3] = (e3) => V.value.name = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "dynamicDataSource" === V.value.type ? (o(), u(y2, { key: 3, label: "动态数据源", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.dynamicDataSourceCode, "onUpdate:modelValue": p2[4] || (p2[4] = (e3) => V.value.dynamicDataSourceCode = e3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": F, loading: x.value, onChange: q }, { default: t(() => [(o(true), i(m, null, c(U.value, (e3) => (o(), u(f3, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : d("", true), "dynamicDataSource" === V.value.type ? (o(), u(y2, { key: 4, label: "字段设置", class: "amb-design-attr-item" }, { default: t(() => [n(h2, { type: "primary", plain: "", onClick: w }, { default: t(() => p2[7] || (p2[7] = [r("添加")])), _: 1 }), n(h2, { type: "primary", plain: "", onClick: A }, { default: t(() => p2[8] || (p2[8] = [r("删除")])), _: 1 }), n(T, { data: V.value.valueSetOptions, "row-class-name": N, height: "400px", "highlight-current-row": "", style: { width: "100%", "margin-top": "5px" }, onCurrentChange: D }, { default: t(() => [n(O2, { label: "来源字段" }, { default: t((e3) => [n(b2, { modelValue: e3.row.columnName, "onUpdate:modelValue": (l3) => e3.row.columnName = l3, clearable: "", filterable: "" }, { default: t(() => [(o(true), i(m, null, c(P.value, (e4) => (o(), u(f3, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(O2, { label: "值字段" }, { default: t((a2) => [e2.clolumnTableFields && e2.clolumnTableFields.length > 0 ? (o(), u(b2, { key: 0, modelValue: a2.row.valueField, "onUpdate:modelValue": (e3) => a2.row.valueField = e3, clearable: "", filterable: "" }, { default: t(() => [(o(true), i(m, null, c(e2.clolumnTableFields, (e3, l3) => (o(), u(f3, { key: l3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (o(), u(g2, { key: 1, modelValue: a2.row.valueField, "onUpdate:modelValue": (e3) => a2.row.valueField = e3, onChange: (e3) => l2.changeValueField(e3, a2.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 })) : d("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
76
76
  };
77
77
  } });
78
78
  export {
@@ -1,7 +1,7 @@
1
1
  import e from "./data-origin-tree.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(e, [["__scopeId", "data-v-c07fe584"]]);
4
+ const t = r(e, [["__scopeId", "data-v-764dbcf5"]]);
5
5
  export {
6
6
  t as default
7
7
  };