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,27 +1,27 @@
1
- import { defineComponent as e, ref as i, watch as t, resolveComponent as n, createBlock as o, openBlock as u, normalizeStyle as l, normalizeClass as a, withCtx as r, createElementBlock as s, createCommentVNode as c, Fragment as p, createTextVNode as g, toDisplayString as v, unref as f } from "vue";
2
- import { SuperIcon as y } from "agilebuilder-ui";
3
- import { caculateDetailComponentStyle as m, caculateComponentProps as d } from "../../../../utils/form-design-util.js";
4
- import { batchUpdatePermissions as b } from "../../../../utils/page-permission-util.js";
5
- const V = e({ __name: "button-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
- const V2 = e2;
7
- V2.configure.runtime || (V2.configure.runtime = {});
8
- const T = i({}), x = i(""), k = i({}), P = i({});
9
- t(V2.configure.style, () => {
10
- m(V2.configure, T, x, k), V2.configure.runtime.style = T.value, V2.configure.runtime.class = x.value, V2.configure.runtime.headerStyle = k.value;
1
+ import { defineComponent as e, ref as i, watch as l, resolveComponent as u, createBlock as t, openBlock as n, normalizeStyle as o, normalizeClass as a, withCtx as s, createElementBlock as c, createCommentVNode as r, Fragment as p, createTextVNode as v, toDisplayString as y, unref as g } from "vue";
2
+ import { SuperIcon as d } from "agilebuilder-ui";
3
+ import { caculateDetailComponentStyle as f, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
4
+ import { batchUpdatePermissions as V } from "../../../../utils/page-permission-util.js";
5
+ const b = e({ __name: "button-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
+ const b2 = e2;
7
+ b2.configure.runtime || (b2.configure.runtime = {});
8
+ const k = i({}), T = i(""), z = i({}), P = i({});
9
+ l(b2.configure.style, () => {
10
+ f(b2.configure, k, T, z), b2.configure.runtime.style = k.value, b2.configure.runtime.class = T.value, b2.configure.runtime.headerStyle = z.value;
11
11
  }, { immediate: true });
12
- const h = V2.configure.props && V2.configure.props.base ? V2.configure.props.base : {};
13
- let j = h.title;
14
- return t(V2.configure.props, (e3, i2) => {
15
- d(V2.configure, P), function() {
16
- let e4 = V2.configure.props ? V2.configure.props : {};
17
- const i3 = e4.base ? e4.base : {}, t2 = {};
18
- i3.type && (t2.type = i3.type), i3.text && (t2.text = true), i3.plain && (t2.plain = true), i3.round && (t2.round = true), i3.iconType && i3.iconValue && (t2.iconType = i3.iconType, t2.iconValue = i3.iconValue, t2.iconPosition = i3.iconPosition), Object.assign(P.value, t2);
19
- }(), h.title !== j && V2.pageDesign && (b(V2.configure, V2.pageDesign), j = h.title), V2.configure.runtime.props = P.value;
12
+ const h = b2.configure.props && b2.configure.props.base ? b2.configure.props.base : {};
13
+ let x = h.title;
14
+ return l(b2.configure.props, (e3, i2) => {
15
+ m(b2.configure, P), function() {
16
+ let e4 = b2.configure.props ? b2.configure.props : {};
17
+ const i3 = e4.base ? e4.base : {}, l2 = {};
18
+ i3.type && (l2.type = i3.type), i3.text && (l2.text = true), i3.plain && (l2.plain = true), i3.round && (l2.round = true), i3.iconType && i3.iconValue && (l2.iconType = i3.iconType, l2.iconValue = i3.iconValue, l2.iconPosition = i3.iconPosition), Object.assign(P.value, l2);
19
+ }(), h.title !== x && b2.pageDesign && (V(b2.configure, b2.pageDesign), x = h.title), b2.configure.runtime.props = P.value;
20
20
  }, { immediate: true }), (e3, i2) => {
21
- const t2 = n("el-button");
22
- return u(), o(t2, { disabled: "disabled" === P.value.state, class: a(x.value), style: l(T.value), type: P.value.type, size: P.value.size, text: P.value.text, round: P.value.round, plain: P.value.plain }, { default: r(() => [P.value.title && "right" == P.value.iconPosition ? (u(), s(p, { key: 0 }, [g(v(P.value.title) + " ", 1), P.value.iconValue ? (u(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true)], 64)) : c("", true), P.value.iconType && P.value.iconValue ? (u(), o(f(y), { key: 1, iconType: P.value.iconType, iconValue: P.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), P.value.title && "right" != P.value.iconPosition ? (u(), s(p, { key: 2 }, [P.value.iconValue ? (u(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true), g(" " + v(P.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain"]);
21
+ const l2 = u("el-link"), f2 = u("el-button");
22
+ return P.value.text ? (n(), t(l2, { key: 0, disabled: "disabled" === P.value.state, class: a(T.value), style: o(k.value), type: P.value.type, size: P.value.size }, { default: s(() => [P.value.title && "right" == P.value.iconPosition ? (n(), c(p, { key: 0 }, [v(y(P.value.title) + " ", 1), P.value.iconValue ? (n(), c(p, { key: 0 }, [v("   ")], 64)) : r("", true)], 64)) : r("", true), P.value.iconType && P.value.iconValue ? (n(), t(g(d), { key: 1, iconType: P.value.iconType, iconValue: P.value.iconValue }, null, 8, ["iconType", "iconValue"])) : r("", true), P.value.title && "right" != P.value.iconPosition ? (n(), c(p, { key: 2 }, [P.value.iconValue ? (n(), c(p, { key: 0 }, [v("   ")], 64)) : r("", true), v(" " + y(P.value.title), 1)], 64)) : r("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size"])) : (n(), t(f2, { key: 1, disabled: "disabled" === P.value.state, class: a(T.value), style: o(k.value), type: P.value.type, size: P.value.size, round: P.value.round, plain: P.value.plain }, { default: s(() => [P.value.title && "right" == P.value.iconPosition ? (n(), c(p, { key: 0 }, [v(y(P.value.title) + " ", 1), P.value.iconValue ? (n(), c(p, { key: 0 }, [v("   ")], 64)) : r("", true)], 64)) : r("", true), P.value.iconType && P.value.iconValue ? (n(), t(g(d), { key: 1, iconType: P.value.iconType, iconValue: P.value.iconValue }, null, 8, ["iconType", "iconValue"])) : r("", true), P.value.title && "right" != P.value.iconPosition ? (n(), c(p, { key: 2 }, [P.value.iconValue ? (n(), c(p, { key: 0 }, [v("   ")], 64)) : r("", true), v(" " + y(P.value.title), 1)], 64)) : r("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain"]));
23
23
  };
24
24
  } });
25
25
  export {
26
- V as default
26
+ b as default
27
27
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as d, createElementVNode as r, createTextVNode as i, toDisplayString as n } from "vue";
2
- import s from "../../common/common-function-code.vue.js";
3
- const m = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "buttongroup-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }) }, setup(e2) {
4
- const f2 = l(["base"]);
5
- return (l2, p) => {
6
- const c = a("el-text"), g = a("el-form-item"), b = a("el-input"), _ = a("el-radio"), V = a("el-radio-group"), x = a("el-collapse-item"), v = a("el-collapse"), y = a("el-form");
7
- return u(), t(y, { "label-width": "80px", size: "small" }, { default: o(() => [d(v, { modelValue: f2.value, "onUpdate:modelValue": p[2] || (p[2] = (e3) => f2.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(x, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [r("div", m, [d(g, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [d(c, null, { default: o(() => [i(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": p[0] || (p[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [d(s, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), d(g, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(V, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": p[1] || (p[1] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => p[3] || (p[3] = [i("普通")])), _: 1 }), d(_, { value: "hidden" }, { default: o(() => p[4] || (p[4] = [i("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as d, createElementVNode as n, createTextVNode as r, toDisplayString as i } from "vue";
2
+ import m from "../../common/common-function-code.vue.js";
3
+ const s = { style: { padding: "8px 0px 0px 0px" } }, p = e({ __name: "buttongroup-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }) }, setup(e2) {
4
+ const p2 = l(["base"]);
5
+ return (l2, f) => {
6
+ const c = a("el-text"), g = a("el-form-item"), b = a("el-input"), _ = a("el-radio"), V = a("el-radio-group"), x = a("el-input-number"), v = a("el-collapse-item"), y = a("el-collapse"), U = a("el-form");
7
+ return u(), t(U, { "label-width": "80px", size: "small" }, { default: o(() => [d(y, { modelValue: p2.value, "onUpdate:modelValue": f[3] || (f[3] = (e3) => p2.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(v, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", s, [d(g, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [d(c, null, { default: o(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f[0] || (f[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [d(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), d(g, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(V, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": f[1] || (f[1] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => f[4] || (f[4] = [r("普通")])), _: 1 }), d(_, { value: "hidden" }, { default: o(() => f[5] || (f[5] = [r("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(g, { label: "内容间距" }, { default: o(() => [d(x, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": f[2] || (f[2] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
8
8
  };
9
9
  } });
10
10
  export {
11
- f as default
11
+ p as default
12
12
  };
@@ -1,4 +1,7 @@
1
1
  import o from "./buttongroup-design.vue2.js";
2
+ /* empty css */
3
+ import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = t(o, [["__scopeId", "data-v-1320eaf4"]]);
2
5
  export {
3
- o as default
6
+ e as default
4
7
  };
@@ -1,45 +1,49 @@
1
- import { defineComponent as e, ref as i, watch as t, resolveComponent as n, createBlock as o, openBlock as u, normalizeClass as s, normalizeStyle as r, withCtx as l, createElementBlock as g, Fragment as c, renderList as a, unref as m } from "vue";
2
- import f from "../../object-design.vue.js";
3
- import { caculateDetailComponentStyle as p, caculateComponentProps as d } from "../../../../utils/form-design-util.js";
4
- import { useDraggable as b } from "vue-draggable-plus";
1
+ import { defineComponent as e, computed as t, ref as i, watch as n, resolveComponent as o, createBlock as u, openBlock as s, normalizeStyle as r, normalizeClass as l, withCtx as g, createElementBlock as c, Fragment as a, renderList as m, unref as f } from "vue";
2
+ import p from "../../object-design.vue.js";
3
+ import { caculateDetailComponentStyle as d, caculateComponentProps as b } from "../../../../utils/form-design-util.js";
4
+ import { useDraggable as v } from "vue-draggable-plus";
5
5
  import "element-plus";
6
- import { deleteDesignItem as v } from "../../../../utils/page-design-util.js";
7
- const y = e({ __name: "buttongroup-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget"], setup(e2, { emit: y2 }) {
8
- const x = e2;
9
- null != x.configure.items && null != x.configure.items || (x.configure.items = []);
10
- const j = x.configure.items;
11
- x.configure.runtime || (x.configure.runtime = {});
12
- const O = i({}), h = i(""), W = i({}), D = i({});
13
- t(x.configure.style, () => {
14
- p(x.configure, O, h, W), x.configure.runtime.style = O.value, x.configure.runtime.class = h.value, x.configure.runtime.headerStyle = W.value;
15
- }, { immediate: true }), t(x.configure.props, () => {
16
- d(x.configure, D), function() {
17
- let e3 = x.configure.props ? x.configure.props : {};
18
- !e3.base || e3.base, Object.assign(D.value, {});
19
- }(), x.configure.runtime.props = D.value;
6
+ import { deleteDesignItem as y } from "../../../../utils/page-design-util.js";
7
+ const j = e({ __name: "buttongroup-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget"], setup(e2, { emit: j2 }) {
8
+ const O = e2;
9
+ null != O.configure.items && null != O.configure.items || (O.configure.items = []);
10
+ const x = O.configure.items;
11
+ O.configure.runtime || (O.configure.runtime = {});
12
+ const W = t(() => {
13
+ var _a;
14
+ const { gap: e3 } = ((_a = O.configure) == null ? void 0 : _a.props) ?? {};
15
+ return { ...e3 ? { gap: `${e3}px` } : {}, ...D.value ?? {} };
16
+ }), D = i({}), h = i(""), S = i({}), _ = i({});
17
+ n(O.configure.style, () => {
18
+ d(O.configure, D, h, S), O.configure.runtime.style = D.value, O.configure.runtime.class = h.value, O.configure.runtime.headerStyle = S.value;
19
+ }, { immediate: true }), n(O.configure.props, () => {
20
+ b(O.configure, _), function() {
21
+ let e3 = O.configure.props ? O.configure.props : {};
22
+ !e3.base || e3.base, Object.assign(_.value, {});
23
+ }(), O.configure.runtime.props = _.value;
20
24
  }, { immediate: true });
21
- const S = i(null);
22
- b(S, j, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd(e3) {
25
+ const k = i(null);
26
+ v(k, x, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd(e3) {
23
27
  } });
24
- const _ = y2;
25
- function k(e3, i2) {
26
- _("onSelectWidget", e3, i2);
28
+ const C = j2;
29
+ function A(e3, t2) {
30
+ C("onSelectWidget", e3, t2);
27
31
  }
28
- function C(e3) {
29
- let i2 = j;
30
- const t2 = i2.indexOf(e3);
31
- if (-1 == t2) return void alert("无可复制对象!");
32
+ function F(e3) {
33
+ let t2 = x;
34
+ const i2 = t2.indexOf(e3);
35
+ if (-1 == i2) return void alert("无可复制对象!");
32
36
  const n2 = reactive(deepCopy(e3));
33
- n2.uuid = getUuidv4(), i2.splice(t2, 0, n2);
37
+ n2.uuid = getUuidv4(), t2.splice(i2, 0, n2);
34
38
  }
35
- function w(e3) {
36
- v(j, e3, true, false);
39
+ function R(e3) {
40
+ y(x, e3, true, false);
37
41
  }
38
- return (e3, i2) => {
39
- const t2 = n("el-button-group");
40
- return u(), o(t2, { ref_key: "thisRef", ref: S, style: r([{ "min-width": "100px", "padding-right": "40px", "min-height": "40px", display: "flex" }, O.value]), class: s([h.value, "amb-design-item-default"]) }, { default: l(() => [(u(true), g(c, null, a(m(j), (i3, t3) => (u(), o(f, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: k, onOnCopy: C, onOnDelete: w }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["class", "style"]);
42
+ return (e3, t2) => {
43
+ const i2 = o("el-button-group");
44
+ return s(), u(i2, { ref_key: "thisRef", ref: k, class: l([h.value, "amb-design-item-default amb-button-group-main"]), style: r(W.value) }, { default: g(() => [(s(true), c(a, null, m(f(x), (t3, i3) => (s(), u(p, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: A, onOnCopy: F, onOnDelete: R }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["class", "style"]);
41
45
  };
42
46
  } });
43
47
  export {
44
- y as default
48
+ j as default
45
49
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as u, withCtx as d, createVNode as r, unref as n, createTextVNode as i, createElementBlock as p, Fragment as m, renderList as s } from "vue";
2
- import { CirclePlus as f, Delete as b } from "@element-plus/icons-vue";
2
+ import { CirclePlus as b, Delete as f } from "@element-plus/icons-vue";
3
3
  import v from "../../common/common-variable-bind.vue.js";
4
4
  import { ElMessage as c } from "element-plus";
5
5
  import { getOperators as V } from "../../../../utils/data-table-util.js";
@@ -30,7 +30,7 @@ const w = e({ __name: "combination", props: { conditionList: { type: String, def
30
30
  y.conditionList ? h.value = JSON.parse(y.conditionList) : y.list && (h.value = y.list);
31
31
  }), (l2, a2) => {
32
32
  const c2 = o("el-button"), _2 = o("el-row"), w3 = o("el-option"), U2 = o("el-select"), C2 = o("el-table-column"), B = o("el-table"), O = o("el-dialog");
33
- return u(), t(O, { "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, onClose: a2[0] || (a2[0] = (e3) => g("close")) }, { default: d(() => [r(_2, { style: { "padding-bottom": "8px" } }, { default: d(() => [r(c2, { icon: n(f), plain: "", type: "primary", onClick: S }, { default: d(() => a2[1] || (a2[1] = [i(" 保存 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(f), plain: "", type: "primary", onClick: z }, { default: d(() => a2[2] || (a2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(b), plain: "", type: "primary", onClick: j }, { default: d(() => a2[3] || (a2[3] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), r(B, { ref: "tableRef", "highlight-current-row": "", onCurrentChange: L, data: h.value, style: { width: "100%" } }, { default: d(() => [r(C2, { prop: "date", label: "(" }, { default: d((e3) => [r(U2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "", value: "" }), r(w3, { label: "(", value: "(" }), r(w3, { label: "((", value: "((" }), r(w3, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "name", label: "字段名(*)" }, { default: d((l3) => [r(U2, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", filterable: "", size: "default", onChange: (e3) => function(e4, l4, a3) {
33
+ return u(), t(O, { "append-to-body": "", "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, onClose: a2[0] || (a2[0] = (e3) => g("close")) }, { default: d(() => [r(_2, { style: { "padding-bottom": "8px" } }, { default: d(() => [r(c2, { icon: n(b), plain: "", type: "primary", onClick: S }, { default: d(() => a2[1] || (a2[1] = [i(" 保存 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(b), plain: "", type: "primary", onClick: z }, { default: d(() => a2[2] || (a2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(f), plain: "", type: "primary", onClick: j }, { default: d(() => a2[3] || (a2[3] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), r(B, { ref: "tableRef", "highlight-current-row": "", onCurrentChange: L, data: h.value, style: { width: "100%" } }, { default: d(() => [r(C2, { prop: "date", label: "(" }, { default: d((e3) => [r(U2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "", value: "" }), r(w3, { label: "(", value: "(" }), r(w3, { label: "((", value: "((" }), r(w3, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "name", label: "字段名(*)" }, { default: d((l3) => [r(U2, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", filterable: "", size: "default", onChange: (e3) => function(e4, l4, a3) {
34
34
  const o2 = y.fieldMap[a3];
35
35
  l4.dataType = o2.dataType, l4.propName = o2.name, N.value[e4] = V(o2);
36
36
  }(l3.$index, l3.row, l3.row.propDbName) }, { default: d(() => [(u(true), p(m, null, s(e2.fieldNameList, (e3) => (u(), t(w3, { key: e3.id, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), r(C2, { prop: "address", label: "操作符" }, { default: d((e3) => [r(U2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", size: "default" }, { default: d(() => [(u(true), p(m, null, s(n(V)(e3.row), (e4) => (u(), t(w3, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "address", label: "值(*)" }, { default: d((e3) => [r(v, { modelValue: e3.row.propValue, objModelOptions: k.value, "onUpdate:modelValue": (l3) => {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as i, withCtx as n, createVNode as t, createCommentVNode as u, unref as d, createTextVNode as p, createElementVNode as r } from "vue";
1
+ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as i, withCtx as t, createVNode as n, createCommentVNode as u, unref as d, createTextVNode as p, createElementVNode as r } from "vue";
2
2
  import { formatConditionList as s } from "../../../../utils/data-table-util.js";
3
3
  import { CirclePlus as c, Delete as m } from "@element-plus/icons-vue";
4
4
  import f from "./combination.vue.js";
@@ -26,10 +26,10 @@ const b = { class: "dialog-footer" }, g = e({ __name: "condition-dialog", props:
26
26
  }
27
27
  return (l2, g3) => {
28
28
  const v2 = o("el-button"), A = o("el-row"), w = o("el-input"), E = o("el-table-column"), F = o("el-table"), L = o("el-dialog");
29
- return i(), a(L, { "model-value": "", title: "可执行条件", "append-to-body": "", onClose: g3[2] || (g3[2] = (e3) => T("close")) }, { footer: n(() => [r("div", b, [t(v2, { onClick: g3[0] || (g3[0] = (e3) => T("close")) }, { default: n(() => g3[5] || (g3[5] = [p("取消")])), _: 1 }), t(v2, { type: "primary", onClick: g3[1] || (g3[1] = (e3) => T("close")) }, { default: n(() => g3[6] || (g3[6] = [p(" 确定 ")])), _: 1 })])]), default: n(() => [t(A, { style: { "padding-bottom": "8px" } }, { default: n(() => [t(v2, { icon: d(c), plain: "", type: "primary", onClick: S }, { default: n(() => g3[3] || (g3[3] = [p(" 添加 ")])), _: 1 }, 8, ["icon"]), t(v2, { icon: d(m), plain: "", type: "primary", onClick: O }, { default: n(() => g3[4] || (g3[4] = [p(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), t(F, { "highlight-current-row": "", onCurrentChange: R, data: _.configure.props.base.condition, style: { width: "100%" } }, { default: n(() => [t(E, { prop: "date", label: "组合条件", align: "center" }, { default: n((l3) => [t(w, { "model-value": d(s)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onClick: (e3) => {
29
+ return i(), a(L, { "model-value": "", title: "可执行条件", "append-to-body": "", onClose: g3[2] || (g3[2] = (e3) => T("close")) }, { footer: t(() => [r("div", b, [n(v2, { type: "default", onClick: g3[0] || (g3[0] = (e3) => T("close")) }, { default: t(() => g3[5] || (g3[5] = [p("取消")])), _: 1 }), n(v2, { type: "primary", onClick: g3[1] || (g3[1] = (e3) => T("close")) }, { default: t(() => g3[6] || (g3[6] = [p(" 确定 ")])), _: 1 })])]), default: t(() => [n(A, { style: { "padding-bottom": "8px" } }, { default: t(() => [n(v2, { icon: d(c), plain: "", type: "primary", onClick: S }, { default: t(() => g3[3] || (g3[3] = [p(" 添加 ")])), _: 1 }, 8, ["icon"]), n(v2, { icon: d(m), plain: "", type: "primary", onClick: O }, { default: t(() => g3[4] || (g3[4] = [p(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), n(F, { "highlight-current-row": "", onCurrentChange: R, data: _.configure.props.base.condition, style: { width: "100%" } }, { default: t(() => [n(E, { prop: "date", label: "组合条件", align: "center" }, { default: t((l3) => [n(w, { "model-value": d(s)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onClick: (e3) => {
30
30
  return o2 = l3.row, a2 = l3.$index, C.value = o2.conditionList, I.value = a2, void (y.value = true);
31
31
  var o2, a2;
32
- } }, null, 8, ["model-value", "onClick"])]), _: 1 }), t(E, { prop: "name", label: "提示信息", align: "center" }, { default: n((e3) => [t(w, { size: "default", modelValue: e3.row.toolTips, "onUpdate:modelValue": (l3) => e3.row.toolTips = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), t(E, { prop: "address", label: "国际化key", align: "center" }, { default: n((e3) => [t(w, { size: "default", modelValue: e3.row.labelI18nKey, "onUpdate:modelValue": (l3) => e3.row.labelI18nKey = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), y.value ? (i(), a(f, { key: 0, conditionList: C.value, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: e2.tableConfigure, onSave: D, onClose: N }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true)]), _: 1 });
32
+ } }, null, 8, ["model-value", "onClick"])]), _: 1 }), n(E, { prop: "name", label: "提示信息", align: "center" }, { default: t((e3) => [n(w, { size: "default", modelValue: e3.row.toolTips, "onUpdate:modelValue": (l3) => e3.row.toolTips = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(E, { prop: "address", label: "国际化key", align: "center" }, { default: t((e3) => [n(w, { size: "default", modelValue: e3.row.labelI18nKey, "onUpdate:modelValue": (l3) => e3.row.labelI18nKey = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), y.value ? (i(), a(f, { key: 0, conditionList: C.value, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: e2.tableConfigure, onSave: D, onClose: N }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true)]), _: 1 });
33
33
  };
34
34
  } });
35
35
  export {
@@ -1,7 +1,7 @@
1
1
  import o from "./journal-set-dialog.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(o, [["__scopeId", "data-v-665d3bf4"]]);
4
+ const r = e(o, [["__scopeId", "data-v-6b022e71"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, onMounted as a, resolveComponent as u, createBlock as t, openBlock as o, withCtx as n, createElementBlock as i, Fragment as r, renderList as d, createTextVNode as m, toDisplayString as s, withKeys as p, createVNode as v, unref as f, createElementVNode as c } from "vue";
1
+ import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as u, openBlock as o, withCtx as n, createElementBlock as i, Fragment as r, renderList as d, createTextVNode as m, toDisplayString as p, withKeys as s, createVNode as v, unref as f, createElementVNode as c } from "vue";
2
2
  import { EditPen as y, Search as g } from "@element-plus/icons-vue";
3
3
  import _ from "../../common/common-variable-bind.vue.js";
4
4
  const V = { class: "dialog-footer" }, k = e({ __name: "journal-set-dialog", props: { modelValue: { type: Array, default: () => [] } }, emits: ["save"], setup(e2, { emit: k2 }) {
@@ -18,17 +18,17 @@ const V = { class: "dialog-footer" }, k = e({ __name: "journal-set-dialog", prop
18
18
  return a(() => {
19
19
  C.modelValue && (h.value = C.modelValue);
20
20
  }), (e3, l2) => {
21
- const a2 = u("el-tag"), k3 = u("el-input"), C2 = u("el-button"), b2 = u("el-icon"), A = u("el-button-group"), K = u("el-dialog");
22
- return o(), t(K, { "model-value": "", title: "日志设置", "append-to-body": "", width: "40%", onBeforeClose: l2[4] || (l2[4] = (l3) => e3.$emit("close")) }, { footer: n(() => [c("div", V, [v(C2, { onClick: l2[3] || (l2[3] = (l3) => e3.$emit("close")) }, { default: n(() => l2[7] || (l2[7] = [m("取消")])), _: 1 }), v(C2, { type: "primary", onClick: B }, { default: n(() => l2[8] || (l2[8] = [m(" 确定 ")])), _: 1 })])]), default: n(() => [(o(true), i(r, null, d(h.value, (e4, l3) => {
23
- return o(), t(a2, { key: l3, closable: "", size: "large", type: (u2 = e4, "2" === u2.type ? "success" : null), onClose: (l4) => {
21
+ const a2 = t("el-tag"), k3 = t("el-input"), C2 = t("el-button"), b2 = t("el-icon"), A = t("el-button-group"), K = t("el-dialog");
22
+ return o(), u(K, { "model-value": "", title: "日志设置", "append-to-body": "", width: "40%", onBeforeClose: l2[4] || (l2[4] = (l3) => e3.$emit("close")) }, { footer: n(() => [c("div", V, [v(C2, { type: "default", onClick: l2[3] || (l2[3] = (l3) => e3.$emit("close")) }, { default: n(() => l2[7] || (l2[7] = [m("取消")])), _: 1 }), v(C2, { type: "primary", onClick: B }, { default: n(() => l2[8] || (l2[8] = [m(" 确定 ")])), _: 1 })])]), default: n(() => [(o(true), i(r, null, d(h.value, (e4, l3) => {
23
+ return o(), u(a2, { key: l3, closable: "", size: "large", type: (t2 = e4, "2" === t2.type ? "success" : null), onClose: (l4) => {
24
24
  return a3 = e4, void (h.value = h.value.filter((e5) => e5 != a3));
25
25
  var a3;
26
- } }, { default: n(() => [m(s(e4.name), 1)]), _: 2 }, 1032, ["type", "onClose"]);
27
- var u2;
28
- }), 128)), x.value ? (o(), t(k3, { key: 0, size: "default", style: { width: "200px", "margin-left": "10px" }, modelValue: z.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => z.value = e4), onBlur: U, onKeyup: p(U, ["enter"]) }, null, 8, ["modelValue"])) : w.value ? (o(), t(_, { key: 1, style: { width: "200px", "margin-left": "10px" }, modelValue: j.value, paramTypes: "['data','page']", "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => {
26
+ } }, { default: n(() => [m(p(e4.name), 1)]), _: 2 }, 1032, ["type", "onClose"]);
27
+ var t2;
28
+ }), 128)), x.value ? (o(), u(k3, { key: 0, size: "default", style: { width: "200px", "margin-left": "10px" }, modelValue: z.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => z.value = e4), onBlur: U, onKeyup: s(U, ["enter"]) }, null, 8, ["modelValue"])) : w.value ? (o(), u(_, { key: 1, style: { width: "200px", "margin-left": "10px" }, modelValue: j.value, paramTypes: "['data','page']", "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => {
29
29
  return l3 = e4, h.value.push({ name: l3 }), void (w.value = false);
30
30
  var l3;
31
- }) }, null, 8, ["modelValue"])) : (o(), t(A, { key: 2, style: { "margin-left": "10px" } }, { default: n(() => [v(C2, { size: "default", type: "primary", icon: f(y), onClick: $ }, { default: n(() => l2[5] || (l2[5] = [m("输入文字")])), _: 1 }, 8, ["icon"]), v(C2, { size: "default", type: "primary", onClick: l2[2] || (l2[2] = (e4) => w.value = true) }, { default: n(() => [l2[6] || (l2[6] = m(" 选择字段")), v(b2, { class: "el-icon--right" }, { default: n(() => [v(f(g))]), _: 1 })]), _: 1 })]), _: 1 }))]), _: 1 });
31
+ }) }, null, 8, ["modelValue"])) : (o(), u(A, { key: 2, style: { "margin-left": "10px" } }, { default: n(() => [v(C2, { size: "default", type: "primary", icon: f(y), onClick: $ }, { default: n(() => l2[5] || (l2[5] = [m("输入文字")])), _: 1 }, 8, ["icon"]), v(C2, { size: "default", type: "primary", onClick: l2[2] || (l2[2] = (e4) => w.value = true) }, { default: n(() => [l2[6] || (l2[6] = m(" 选择字段")), v(b2, { class: "el-icon--right" }, { default: n(() => [v(f(g))]), _: 1 })]), _: 1 })]), _: 1 }))]), _: 1 });
32
32
  };
33
33
  } });
34
34
  export {
@@ -35,7 +35,7 @@ const w = { class: "dialog-footer" }, F = e({ __name: "set-dialog", props: { con
35
35
  }
36
36
  return _.configure.props.setValueList && (U.value = _.configure.props.setValueList), (l2, y2) => {
37
37
  const F3 = o("el-button"), D2 = o("el-row"), N2 = o("el-option"), q = o("el-select"), A = o("el-table-column"), B = o("el-input"), E = o("el-table"), G = o("el-dialog");
38
- return t(), a(G, { "model-value": "", title: "自动设值", "append-to-body": "", onClose: y2[1] || (y2[1] = (e3) => V("close")) }, { footer: n(() => [c("div", w, [u(F3, { onClick: y2[0] || (y2[0] = (e3) => V("close")) }, { default: n(() => y2[4] || (y2[4] = [r("取消")])), _: 1 }), u(F3, { type: "primary", onClick: x }, { default: n(() => y2[5] || (y2[5] = [r(" 确定 ")])), _: 1 })])]), default: n(() => [u(D2, { style: { "padding-bottom": "8px" } }, { default: n(() => [u(F3, { icon: d(v), plain: "", type: "primary", onClick: $ }, { default: n(() => y2[2] || (y2[2] = [r(" 添加 ")])), _: 1 }, 8, ["icon"]), u(F3, { icon: d(g), plain: "", type: "primary", onClick: R }, { default: n(() => y2[3] || (y2[3] = [r(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), u(E, { ref_key: "tableRef", ref: h, "highlight-current-row": "", data: U.value, style: { width: "100%" }, onCurrentChange: S }, { default: n(() => [u(A, { prop: "date", label: "填写方式", align: "center" }, { default: n((e3) => [u(q, { modelValue: e3.row.fillType, "onUpdate:modelValue": (l3) => e3.row.fillType = l3, clearable: "", size: "default", onFocus: (l3) => z(e3.row) }, { default: n(() => [u(N2, { label: "覆盖", value: "cover" }), u(N2, { label: "追加", value: "append" }), u(N2, { label: "插入最前面", value: "prepend" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), u(A, { prop: "date", label: "前置条件", align: "center" }, { default: n((l3) => [u(B, { "model-value": d(f)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onFocus: (e3) => z(l3.row), onClick: (e3) => {
38
+ return t(), a(G, { "model-value": "", title: "自动设值", "append-to-body": "", onClose: y2[1] || (y2[1] = (e3) => V("close")) }, { footer: n(() => [c("div", w, [u(F3, { type: "default", onClick: y2[0] || (y2[0] = (e3) => V("close")) }, { default: n(() => y2[4] || (y2[4] = [r("取消")])), _: 1 }), u(F3, { type: "primary", onClick: x }, { default: n(() => y2[5] || (y2[5] = [r(" 确定 ")])), _: 1 })])]), default: n(() => [u(D2, { style: { "padding-bottom": "8px" } }, { default: n(() => [u(F3, { icon: d(v), plain: "", type: "primary", onClick: $ }, { default: n(() => y2[2] || (y2[2] = [r(" 添加 ")])), _: 1 }, 8, ["icon"]), u(F3, { icon: d(g), plain: "", type: "primary", onClick: R }, { default: n(() => y2[3] || (y2[3] = [r(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), u(E, { ref_key: "tableRef", ref: h, "highlight-current-row": "", data: U.value, style: { width: "100%" }, onCurrentChange: S }, { default: n(() => [u(A, { prop: "date", label: "填写方式", align: "center" }, { default: n((e3) => [u(q, { modelValue: e3.row.fillType, "onUpdate:modelValue": (l3) => e3.row.fillType = l3, clearable: "", size: "default", onFocus: (l3) => z(e3.row) }, { default: n(() => [u(N2, { label: "覆盖", value: "cover" }), u(N2, { label: "追加", value: "append" }), u(N2, { label: "插入最前面", value: "prepend" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), u(A, { prop: "date", label: "前置条件", align: "center" }, { default: n((l3) => [u(B, { "model-value": d(f)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onFocus: (e3) => z(l3.row), onClick: (e3) => {
39
39
  return o2 = l3.row, a2 = l3.$index, k.value = o2.conditionList, j.value = a2, void (M.value = true);
40
40
  var o2, a2;
41
41
  } }, null, 8, ["model-value", "onFocus", "onClick"])]), _: 1 }), u(A, { label: "执行方法时设置", align: "center" }, { default: n(() => [u(A, { prop: "name", label: "字段", align: "center" }, { default: n((l3) => [u(q, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", size: "default", onFocus: (e3) => z(l3.row), onChange: (e3) => function(e4, l4) {
@@ -13,7 +13,7 @@ const _ = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { padding: "8p
13
13
  }
14
14
  return (a2, v3) => {
15
15
  const O = l("el-text"), U = l("el-form-item"), T = l("el-input"), h = l("el-radio"), j = l("el-radio-group"), w = l("el-collapse-item"), k = l("el-option"), S = l("el-select"), D = l("el-collapse"), E = l("el-form");
16
- return o(), t(E, { "label-width": "80px", size: "small" }, { default: u(() => [r(D, { modelValue: y.value, "onUpdate:modelValue": v3[10] || (v3[10] = (e3) => y.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", _, [r(U, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(O, null, { default: u(() => [s(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(U, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v3[0] || (v3[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(U, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(c, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), r(U, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [r(b, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v3[1] || (v3[1] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), r(U, { label: "菜单数据", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": v3[2] || (v3[2] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3) }, { default: u(() => [r(h, { value: "static" }, { default: u(() => v3[11] || (v3[11] = [s("静态数据")])), _: 1 }), r(h, { value: "variable" }, { default: u(() => v3[12] || (v3[12] = [s("绑定变量")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(f, { style: { "margin-bottom": "10px", "border-top": "1px solid var(--el-border-color-lighter)" }, dataOrigin: e2.configure.props.dataOrigin, pageDesign: e2.pageDesign, type: "dropdown", leftTittle: "编码", rightTittle: "显示名称" }, null, 8, ["dataOrigin", "pageDesign"]), [[p, !e2.configure.props.dataOrigin.optionValueSetType || "static" === e2.configure.props.dataOrigin.optionValueSetType]]), i(r(U, { label: "选择变量", class: "amb-design-attr-item" }, { default: u(() => [r(g, { modelValue: e2.configure.props.base.menuField, paramTypes: ["data", "page"], "onUpdate:modelValue": x }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "variable" === e2.configure.props.dataOrigin.optionValueSetType]]), r(U, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v3[3] || (v3[3] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "large" }, { default: u(() => v3[13] || (v3[13] = [s("大")])), _: 1 }), r(h, { value: "default" }, { default: u(() => v3[14] || (v3[14] = [s("中")])), _: 1 }), r(h, { value: "small" }, { default: u(() => v3[15] || (v3[15] = [s("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v3[4] || (v3[4] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "default" }, { default: u(() => v3[16] || (v3[16] = [s("普通")])), _: 1 }), r(h, { value: "disabled" }, { default: u(() => v3[17] || (v3[17] = [s("禁用")])), _: 1 }), r(h, { value: "hidden" }, { default: u(() => v3[18] || (v3[18] = [s("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(w, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", V, [r(U, { label: "触发行为", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.trigger, "onUpdate:modelValue": v3[5] || (v3[5] = (a3) => e2.configure.props.base.trigger = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "hover" }, { default: u(() => v3[19] || (v3[19] = [s("鼠标移动")])), _: 1 }), r(h, { value: "click" }, { default: u(() => v3[20] || (v3[20] = [s("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "呈现元素", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.triggerElement, "onUpdate:modelValue": v3[6] || (v3[6] = (a3) => e2.configure.props.base.triggerElement = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "button" }, { default: u(() => v3[21] || (v3[21] = [s("按钮")])), _: 1 }), r(h, { value: "text" }, { default: u(() => v3[22] || (v3[22] = [s("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.buttonType, "onUpdate:modelValue": v3[7] || (v3[7] = (a3) => e2.configure.props.base.buttonType = a3), class: "ml-4" }, { default: u(() => [r(k, { label: "primary", value: "primary" }), r(k, { label: "success", value: "success" }), r(k, { label: "warning", value: "warning" }), r(k, { label: "danger", value: "danger" }), r(k, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.splitButton, "onUpdate:modelValue": v3[8] || (v3[8] = (a3) => e2.configure.props.base.splitButton = a3), class: "ml-4" }, { default: u(() => [r(h, { value: true }, { default: u(() => v3[23] || (v3[23] = [s("是")])), _: 1 }), r(h, { value: false }, { default: u(() => v3[24] || (v3[24] = [s("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), r(U, { label: "弹出位置", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.placement, "onUpdate:modelValue": v3[9] || (v3[9] = (a3) => e2.configure.props.base.placement = a3), clearable: "", class: "ml-4" }, { default: u(() => [r(k, { value: "bottom" }, { default: u(() => v3[25] || (v3[25] = [s("bottom")])), _: 1 }), r(k, { value: "top" }, { default: u(() => v3[26] || (v3[26] = [s("top")])), _: 1 }), r(k, { value: "top-start" }, { default: u(() => v3[27] || (v3[27] = [s("top-start")])), _: 1 }), r(k, { value: "top-end" }, { default: u(() => v3[28] || (v3[28] = [s("top-end")])), _: 1 }), r(k, { value: "bottom-start" }, { default: u(() => v3[29] || (v3[29] = [s("bottom-start")])), _: 1 }), r(k, { value: "bottom-end" }, { default: u(() => v3[30] || (v3[30] = [s("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
16
+ return o(), t(E, { "label-width": "80px", size: "small" }, { default: u(() => [r(D, { modelValue: y.value, "onUpdate:modelValue": v3[10] || (v3[10] = (e3) => y.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", _, [r(U, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(O, null, { default: u(() => [s(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(U, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v3[0] || (v3[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(U, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(c, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), r(U, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [r(b, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v3[1] || (v3[1] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), r(U, { label: "菜单数据", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": v3[2] || (v3[2] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3) }, { default: u(() => [r(h, { value: "static" }, { default: u(() => v3[11] || (v3[11] = [s("静态数据")])), _: 1 }), r(h, { value: "variable" }, { default: u(() => v3[12] || (v3[12] = [s("绑定变量")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(f, { style: { "margin-bottom": "10px", "border-top": "1px solid var(--el-border-color-lighter)" }, dataOrigin: e2.configure.props.dataOrigin, pageDesign: e2.pageDesign, type: "dropdown", leftTittle: "编码", rightTittle: "显示名称" }, null, 8, ["dataOrigin", "pageDesign"]), [[p, !e2.configure.props.dataOrigin.optionValueSetType || "static" === e2.configure.props.dataOrigin.optionValueSetType]]), i(r(U, { label: "选择变量", class: "amb-design-attr-item" }, { default: u(() => [r(g, { modelValue: e2.configure.props.base.menuField, paramTypes: ["data", "page"], "onUpdate:modelValue": x }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "variable" === e2.configure.props.dataOrigin.optionValueSetType]]), r(U, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v3[3] || (v3[3] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "large" }, { default: u(() => v3[13] || (v3[13] = [s("大")])), _: 1 }), r(h, { value: "default" }, { default: u(() => v3[14] || (v3[14] = [s("中")])), _: 1 }), r(h, { value: "small" }, { default: u(() => v3[15] || (v3[15] = [s("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v3[4] || (v3[4] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "default" }, { default: u(() => v3[16] || (v3[16] = [s("普通")])), _: 1 }), r(h, { value: "disabled" }, { default: u(() => v3[17] || (v3[17] = [s("禁用")])), _: 1 }), r(h, { value: "hidden" }, { default: u(() => v3[18] || (v3[18] = [s("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(w, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", V, [r(U, { label: "触发行为", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.trigger, "onUpdate:modelValue": v3[5] || (v3[5] = (a3) => e2.configure.props.base.trigger = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "hover" }, { default: u(() => v3[19] || (v3[19] = [s("鼠标移动")])), _: 1 }), r(h, { value: "click" }, { default: u(() => v3[20] || (v3[20] = [s("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "呈现元素", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.triggerElement, "onUpdate:modelValue": v3[6] || (v3[6] = (a3) => e2.configure.props.base.triggerElement = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "button" }, { default: u(() => v3[21] || (v3[21] = [s("按钮")])), _: 1 }), r(h, { value: "text" }, { default: u(() => v3[22] || (v3[22] = [s("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.buttonType, "onUpdate:modelValue": v3[7] || (v3[7] = (a3) => e2.configure.props.base.buttonType = a3), class: "ml-4" }, { default: u(() => [r(k, { label: "primary", value: "primary" }), r(k, { label: "success", value: "success" }), r(k, { label: "warning", value: "warning" }), r(k, { label: "danger", value: "danger" }), r(k, { label: "info", value: "info" }), r(k, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.splitButton, "onUpdate:modelValue": v3[8] || (v3[8] = (a3) => e2.configure.props.base.splitButton = a3), class: "ml-4" }, { default: u(() => [r(h, { value: true }, { default: u(() => v3[23] || (v3[23] = [s("是")])), _: 1 }), r(h, { value: false }, { default: u(() => v3[24] || (v3[24] = [s("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), r(U, { label: "弹出位置", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.placement, "onUpdate:modelValue": v3[9] || (v3[9] = (a3) => e2.configure.props.base.placement = a3), clearable: "", class: "ml-4" }, { default: u(() => [r(k, { value: "bottom" }, { default: u(() => v3[25] || (v3[25] = [s("bottom")])), _: 1 }), r(k, { value: "top" }, { default: u(() => v3[26] || (v3[26] = [s("top")])), _: 1 }), r(k, { value: "top-start" }, { default: u(() => v3[27] || (v3[27] = [s("top-start")])), _: 1 }), r(k, { value: "top-end" }, { default: u(() => v3[28] || (v3[28] = [s("top-end")])), _: 1 }), r(k, { value: "bottom-start" }, { default: u(() => v3[29] || (v3[29] = [s("bottom-start")])), _: 1 }), r(k, { value: "bottom-end" }, { default: u(() => v3[30] || (v3[30] = [s("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
17
17
  };
18
18
  } });
19
19
  export {
@@ -1,32 +1,33 @@
1
- import { defineComponent as e, ref as l, onMounted as a, resolveComponent as u, createBlock as t, openBlock as o, withCtx as s, createVNode as d, createElementVNode as i, createElementBlock as n, Fragment as r, renderList as p, unref as m, createTextVNode as f, withDirectives as c, vShow as b } from "vue";
1
+ import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as u, openBlock as t, withCtx as i, createVNode as s, createElementVNode as n, createElementBlock as d, Fragment as p, renderList as r, unref as m, createTextVNode as c, withDirectives as f, vShow as b } from "vue";
2
2
  import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
3
- import _ from "../../common/common-icon-bind.vue.js";
4
- import V from "../../common/common-function-code.vue.js";
5
- import v from "agilebuilder-ui/src/utils/request";
3
+ import V from "../../common/common-icon-bind.vue.js";
4
+ import v from "../../common/common-function-code.vue.js";
5
+ import _ from "agilebuilder-ui/src/utils/request";
6
6
  import y from "../../common/common-i18n-key-input.vue.js";
7
- const U = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, P = e({ __name: "exportpdf-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
8
- const P2 = e2, j = l(["base", "appearance", "otherSettings", "linkPage"]), k = l([]), w = l([]);
9
- function F() {
10
- w.value.length > 0 ? (P2.configure.props.base.templateFiles || (P2.configure.props.base.templateFiles = []), k.value.filter((e3) => w.value.includes(e3.uuid)).forEach((e3) => {
11
- P2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
12
- })) : P2.configure.props.base.templateFiles = [];
7
+ import { Close as x, Check as U } from "@element-plus/icons-vue";
8
+ const h = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8px 0px 0px 0px" } }, k = e({ __name: "exportpdf-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
9
+ const k2 = e2, w = l(["base", "appearance", "otherSettings", "linkPage"]), F = l([]), T = l([]);
10
+ function z() {
11
+ T.value.length > 0 ? (k2.configure.props.base.templateFiles || (k2.configure.props.base.templateFiles = []), F.value.filter((e3) => T.value.includes(e3.uuid)).forEach((e3) => {
12
+ k2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
13
+ })) : k2.configure.props.base.templateFiles = [];
13
14
  }
14
15
  return a(() => {
15
- P2.configure.props.base.templateFiles && P2.configure.props.base.templateFiles.forEach((e3) => {
16
- w.value.push(e3.templateUuid);
16
+ k2.configure.props.base.templateFiles && k2.configure.props.base.templateFiles.forEach((e3) => {
17
+ T.value.push(e3.templateUuid);
17
18
  }), function() {
18
19
  let e3 = {};
19
- v.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/pdf-templates/list/${P2.pageDesign.systemCode}`, e3).then((e4) => {
20
- k.value = e4.data;
20
+ _.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/pdf-templates/list/${k2.pageDesign.systemCode}`, e3).then((e4) => {
21
+ F.value = e4.data;
21
22
  });
22
23
  }();
23
24
  }), (l2, a2) => {
24
- const v2 = u("el-option"), T = u("el-select"), z = u("el-form-item"), N = u("el-input"), A = u("el-radio"), C = u("el-radio-group"), D = u("el-collapse-item"), E = u("el-radio-button"), O = u("el-switch"), S = u("el-collapse"), $ = u("el-form");
25
- return o(), t($, { "label-width": "80px", size: "small" }, { default: s(() => [d(S, { modelValue: j.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [d(D, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", U, [d(z, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: s(() => [(o(true), n(r, null, p(m(g)(), (e3) => (o(), t(v2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [d(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(z, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [d(N, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(z, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(o(), t(V, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), d(z, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [d(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), d(z, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "large" }, { default: s(() => a2[18] || (a2[18] = [f("大")])), _: 1 }), d(A, { value: "default" }, { default: s(() => a2[19] || (a2[19] = [f("中")])), _: 1 }), d(A, { value: "small" }, { default: s(() => a2[20] || (a2[20] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "default" }, { default: s(() => a2[21] || (a2[21] = [f("普通")])), _: 1 }), d(A, { value: "disabled" }, { default: s(() => a2[22] || (a2[22] = [f("禁用")])), _: 1 }), d(A, { value: "hidden" }, { default: s(() => a2[23] || (a2[23] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "模板", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: w.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => w.value = e3), multiple: "", onChange: F }, { default: s(() => [(o(true), n(r, null, p(k.value, (e3) => (o(), t(v2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(D, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", h, [d(z, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: s(() => [d(v2, { label: "primary", value: "primary" }), d(v2, { label: "success", value: "success" }), d(v2, { label: "warning", value: "warning" }), d(v2, { label: "danger", value: "danger" }), d(v2, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(o(), t(_, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[8] || (a2[8] = (e3, l3) => function(e4, l4) {
26
- P2.configure.props.base.iconType = e4, P2.configure.props.base.iconValue = l4;
27
- }(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), c(d(z, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: s(() => [d(E, { value: "left" }, { default: s(() => a2[24] || (a2[24] = [f("标题前")])), _: 1 }), d(E, { value: "right" }, { default: s(() => a2[25] || (a2[25] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), d(z, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.text = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[26] || (a2[26] = [f("")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[27] || (a2[27] = [f("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.plain = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[28] || (a2[28] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[29] || (a2[29] = [f("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.round = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[30] || (a2[30] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[31] || (a2[31] = [f("")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[32] || (a2[32] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[33] || (a2[33] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[34] || (a2[34] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[35] || (a2[35] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "button" }, { default: s(() => a2[36] || (a2[36] = [f("button")])), _: 1 }), d(A, { value: "submit" }, { default: s(() => a2[37] || (a2[37] = [f("submit")])), _: 1 }), d(A, { value: "reset" }, { default: s(() => a2[38] || (a2[38] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(D, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", x, [d(z, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [d(O, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
25
+ const _2 = o("el-option"), N = o("el-select"), A = o("el-form-item"), C = o("el-input"), D = o("el-radio"), E = o("el-radio-group"), O = o("el-collapse-item"), S = o("el-radio-button"), $ = o("el-switch"), q = o("el-collapse"), I = o("el-form");
26
+ return t(), u(I, { "label-width": "80px", size: "small" }, { default: i(() => [s(q, { modelValue: w.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => w.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", h, [s(A, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: i(() => [(t(true), d(p, null, r(m(g)(), (e3) => (t(), u(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [s(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(A, { label: "自定义编码", class: "amb-design-attr-item" }, { default: i(() => [s(C, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(A, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [(t(), u(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(A, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(A, { label: "尺寸", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "large" }, { default: i(() => a2[18] || (a2[18] = [c("大")])), _: 1 }), s(D, { value: "default" }, { default: i(() => a2[19] || (a2[19] = [c("中")])), _: 1 }), s(D, { value: "small" }, { default: i(() => a2[20] || (a2[20] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "default" }, { default: i(() => a2[21] || (a2[21] = [c("普通")])), _: 1 }), s(D, { value: "disabled" }, { default: i(() => a2[22] || (a2[22] = [c("禁用")])), _: 1 }), s(D, { value: "hidden" }, { default: i(() => a2[23] || (a2[23] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "模板", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: T.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => T.value = e3), multiple: "", onChange: z }, { default: i(() => [(t(true), d(p, null, r(F.value, (e3) => (t(), u(_2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", P, [s(A, { label: "按钮类型", class: "amb-design-attr-item" }, { default: i(() => [s(N, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: i(() => [s(_2, { label: "primary", value: "primary" }), s(_2, { label: "success", value: "success" }), s(_2, { label: "warning", value: "warning" }), s(_2, { label: "danger", value: "danger" }), s(_2, { label: "info", value: "info" }), s(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "图标", class: "amb-design-attr-item" }, { default: i(() => [(t(), u(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[8] || (a2[8] = (e3, l3) => function(e4, l4) {
27
+ k2.configure.props.base.iconType = e4, k2.configure.props.base.iconValue = l4;
28
+ }(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(A, { label: "图标位置", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: i(() => [s(S, { value: "left" }, { default: i(() => a2[24] || (a2[24] = [c("标题前")])), _: 1 }), s(S, { value: "right" }, { default: i(() => a2[25] || (a2[25] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), s(A, { label: "文字按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(U), "inactive-icon": m(x) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(A, { label: "加载状态", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[26] || (a2[26] = [c("是")])), _: 1 }), s(D, { value: false }, { default: i(() => a2[27] || (a2[27] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: i(() => [s(D, { value: true }, { default: i(() => a2[28] || (a2[28] = [c("是")])), _: 1 }), s(D, { value: false }, { default: i(() => a2[29] || (a2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(A, { label: "原生type", class: "amb-design-attr-item" }, { default: i(() => [s(E, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: i(() => [s(D, { value: "button" }, { default: i(() => a2[30] || (a2[30] = [c("button")])), _: 1 }), s(D, { value: "submit" }, { default: i(() => a2[31] || (a2[31] = [c("submit")])), _: 1 }), s(D, { value: "reset" }, { default: i(() => a2[32] || (a2[32] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", j, [s(A, { label: "权限保护", class: "amb-design-attr-item" }, { default: i(() => [s($, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
28
29
  };
29
30
  } });
30
31
  export {
31
- P as default
32
+ k as default
32
33
  };
@@ -1,27 +1,27 @@
1
- import { defineComponent as e, ref as i, watch as u, resolveComponent as t, createBlock as o, openBlock as l, normalizeStyle as n, normalizeClass as a, withCtx as r, createElementBlock as s, createCommentVNode as c, Fragment as p, createTextVNode as g, toDisplayString as v, unref as f } from "vue";
1
+ import { defineComponent as e, ref as i, watch as l, resolveComponent as u, createBlock as a, openBlock as t, normalizeStyle as o, normalizeClass as n, withCtx as s, createElementBlock as r, createCommentVNode as c, Fragment as p, createTextVNode as v, toDisplayString as g, unref as y } from "vue";
2
2
  import { SuperIcon as d } from "agilebuilder-ui";
3
- import { caculateDetailComponentStyle as m, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
3
+ import { caculateDetailComponentStyle as f, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
4
4
  import { batchUpdatePermissions as b } from "../../../../utils/page-permission-util.js";
5
- const V = e({ __name: "exportpdf-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
- const V2 = e2;
7
- V2.configure.runtime || (V2.configure.runtime = {});
8
- const k = i({}), x = i(""), j = i({}), T = i({});
9
- u(V2.configure.style, () => {
10
- m(V2.configure, k, x, j), V2.configure.runtime.style = k.value, V2.configure.runtime.class = x.value, V2.configure.runtime.headerStyle = j.value;
5
+ const k = e({ __name: "exportpdf-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
6
+ const k2 = e2;
7
+ k2.configure.runtime || (k2.configure.runtime = {});
8
+ const V = i({}), T = i(""), z = i({}), h = i({});
9
+ l(k2.configure.style, () => {
10
+ f(k2.configure, V, T, z), k2.configure.runtime.style = V.value, k2.configure.runtime.class = T.value, k2.configure.runtime.headerStyle = z.value;
11
11
  }, { immediate: true });
12
- const h = V2.configure.props && V2.configure.props.base ? V2.configure.props.base : {};
13
- let z = h.title;
14
- return u(V2.configure.props, (e3, i2) => {
15
- y(V2.configure, T), function() {
16
- let e4 = V2.configure.props ? V2.configure.props : {};
17
- const i3 = e4.base ? e4.base : {}, u2 = e4.dropdown ? e4.dropdown : {};
18
- Object.assign(T.value, u2), Object.assign(T.value, i3);
19
- }(), h.title !== z && V2.pageDesign && (b(V2.configure, V2.pageDesign), z = h.title), V2.configure.runtime.props = T.value;
12
+ const j = k2.configure.props && k2.configure.props.base ? k2.configure.props.base : {};
13
+ let P = j.title;
14
+ return l(k2.configure.props, (e3, i2) => {
15
+ m(k2.configure, h), function() {
16
+ let e4 = k2.configure.props ? k2.configure.props : {};
17
+ const i3 = e4.base ? e4.base : {}, l2 = e4.dropdown ? e4.dropdown : {};
18
+ Object.assign(h.value, l2), Object.assign(h.value, i3);
19
+ }(), j.title !== P && k2.pageDesign && (b(k2.configure, k2.pageDesign), P = j.title), k2.configure.runtime.props = h.value;
20
20
  }, { immediate: true }), (e3, i2) => {
21
- const u2 = t("el-button");
22
- return l(), o(u2, { disabled: "disabled" === T.value.state, class: a(x.value), style: n(k.value), type: T.value.type, size: T.value.size, text: T.value.text, round: T.value.round, plain: T.value.plain }, { default: r(() => [T.value.title && "right" == T.value.iconPosition ? (l(), s(p, { key: 0 }, [g(v(T.value.title) + " ", 1), T.value.iconValue ? (l(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true)], 64)) : c("", true), T.value.iconType && T.value.iconValue ? (l(), o(f(d), { key: 1, iconType: T.value.iconType, iconValue: T.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), T.value.title && "right" != T.value.iconPosition ? (l(), s(p, { key: 2 }, [T.value.iconValue ? (l(), s(p, { key: 0 }, [g("   ")], 64)) : c("", true), g(" " + v(T.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain"]);
21
+ const l2 = u("el-link"), f2 = u("el-button");
22
+ return h.value.text ? (t(), a(l2, { key: 0, disabled: "disabled" === h.value.state, class: n(T.value), style: o(V.value), type: h.value.type, size: h.value.size }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size"])) : (t(), a(f2, { key: 1, disabled: "disabled" === h.value.state, class: n(T.value), style: o(V.value), type: h.value.type, size: h.value.size, round: h.value.round, plain: h.value.plain }, { default: s(() => [h.value.title && "right" == h.value.iconPosition ? (t(), r(p, { key: 0 }, [v(g(h.value.title) + " ", 1), h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true)], 64)) : c("", true), h.value.iconType && h.value.iconValue ? (t(), a(y(d), { key: 1, iconType: h.value.iconType, iconValue: h.value.iconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), h.value.title && "right" != h.value.iconPosition ? (t(), r(p, { key: 2 }, [h.value.iconValue ? (t(), r(p, { key: 0 }, [v("   ")], 64)) : c("", true), v(" " + g(h.value.title), 1)], 64)) : c("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain"]));
23
23
  };
24
24
  } });
25
25
  export {
26
- V as default
26
+ k as default
27
27
  };