super-page-designer 2.2.90 → 2.2.91-sit11

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 (44) hide show
  1. package/dist/es/components/design/index.d.ts +2 -1
  2. package/dist/es/components/design/utils/assemblys-config.js +6 -7
  3. package/dist/es/components/design/utils/common-util.d.ts +1 -0
  4. package/dist/es/components/design/utils/common-util.js +14 -9
  5. package/dist/es/components/design/utils/page-table-util.js +23 -21
  6. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +24 -24
  7. package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +16 -16
  8. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +4 -4
  9. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +3 -3
  10. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +4 -4
  11. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +0 -1
  12. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +27 -27
  13. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +19 -19
  14. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +47 -47
  15. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.d.ts +31 -0
  16. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +5 -108
  17. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +111 -2
  18. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  19. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
  20. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +4 -4
  21. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +2 -2
  22. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +13 -7
  23. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +6 -6
  24. package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +5 -5
  25. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
  26. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +7 -6
  27. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +11 -11
  28. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  29. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
  30. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
  31. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +3 -3
  32. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +18 -18
  33. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +4 -4
  34. package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue2.js +6 -6
  35. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +16 -16
  36. package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
  37. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +46 -46
  38. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +23 -23
  39. package/dist/es/index.d.ts +1 -2
  40. package/dist/es/index.js +2 -0
  41. package/dist/es/style.css +553 -239
  42. package/package.json +5 -5
  43. package/dist/es/components/design/index.js +0 -4
  44. /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as i, openBlock as t, withCtx as u, createVNode as s, createElementVNode as n, createElementBlock as r, Fragment as d, renderList as p, unref as m, createTextVNode as c, withDirectives as f, vShow as g, createCommentVNode as b } from "vue";
1
+ import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as i, openBlock as t, withCtx as u, createVNode as s, createElementVNode as n, createElementBlock as r, Fragment as d, renderList as p, unref as c, createTextVNode as m, withDirectives as f, createCommentVNode as b, vShow as g } from "vue";
2
2
  import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
3
3
  import "../../../../../../stores/page-store.js";
4
4
  /* empty css */
@@ -14,41 +14,41 @@ import "../../../../../../stores/statistics-table-store.js";
14
14
  import { getTableConfigByTableUuid as h } from "../../../../utils/page-table-util.js";
15
15
  import k from "../../common/common-i18n-key-input.vue.js";
16
16
  import P from "../../chart/statistical-table/component/link-table.vue.js";
17
- const j = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, E = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
18
- const E2 = e2, F = a(["base", "appearance", "otherSettings", "linkPage"]), T = a({}), q = a([]), C = a(S()), A = a(false);
19
- E2.configure.props.base.templateFiles && E2.configure.props.base.templateFiles.forEach((e3) => {
17
+ const j = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, z = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
18
+ const z2 = e2, E = a(["base", "appearance", "otherSettings", "linkPage"]), F = a({}), q = a([]), C = a(R()), A = a(false);
19
+ z2.configure.props.base.templateFiles && z2.configure.props.base.templateFiles.forEach((e3) => {
20
20
  q.value.push(e3.templateUuid);
21
- }), void 0 === E2.configure.props.base.isEnableRequired && (E2.configure.props.base.isEnableRequired = true), !E2.configure.props.linkPage || E2.configure.props.linkPage instanceof Array || (E2.configure.props.linkPage = [{ linkPage: E2.configure.props.linkPage }]), A.value = true;
21
+ }), void 0 === z2.configure.props.base.isEnableRequired && (z2.configure.props.base.isEnableRequired = true), !z2.configure.props.linkPage || z2.configure.props.linkPage instanceof Array || (z2.configure.props.linkPage = [{ linkPage: z2.configure.props.linkPage }]), A.value = true;
22
22
  const N = a([]);
23
- function R() {
24
- q.value.length > 0 ? (E2.configure.props.base.templateFiles || (E2.configure.props.base.templateFiles = []), T.value.filter((e3) => q.value.includes(e3.uuid)).forEach((e3) => {
25
- E2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
26
- })) : E2.configure.props.base.templateFiles = [];
23
+ function I() {
24
+ q.value.length > 0 ? (z2.configure.props.base.templateFiles || (z2.configure.props.base.templateFiles = []), F.value.filter((e3) => q.value.includes(e3.uuid)).forEach((e3) => {
25
+ z2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
26
+ })) : z2.configure.props.base.templateFiles = [];
27
27
  }
28
- function S() {
29
- return h(E2.pageDesign, E2.configure);
28
+ function R() {
29
+ return h(z2.pageDesign, z2.configure);
30
30
  }
31
- function $(e3) {
32
- const a2 = S();
31
+ function S(e3) {
32
+ const a2 = R();
33
33
  C.value = a2;
34
34
  }
35
35
  return l(() => {
36
36
  !function() {
37
37
  var _a;
38
- const e3 = (_a = E2.pageDesign) == null ? void 0 : _a.systemVersion;
39
- _.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/template-management/list/${E2.pageDesign.systemCode}?publishVersion=${e3}`, {}).then((e4) => {
40
- T.value = e4.data;
38
+ const e3 = (_a = z2.pageDesign) == null ? void 0 : _a.systemVersion;
39
+ _.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/template-management/list/${z2.pageDesign.systemCode}?publishVersion=${e3}`, {}).then((e4) => {
40
+ F.value = e4.data;
41
41
  });
42
- }(), E2.pageDesign.tableUuids && E2.pageDesign.tableUuids.length > 0 && (N.value = E2.pageDesign.tableUuids);
42
+ }(), z2.pageDesign.tableUuids && z2.pageDesign.tableUuids.length > 0 && (N.value = z2.pageDesign.tableUuids);
43
43
  }), (a2, l2) => {
44
- const _2 = o("el-option"), h2 = o("el-select"), S2 = o("el-form-item"), M = o("el-input"), O = o("el-radio"), I = o("el-radio-group"), B = o("el-collapse-item"), G = o("el-radio-button"), H = o("el-switch"), J = o("el-collapse"), K = o("el-form");
45
- return t(), i(K, { "label-width": "80px", size: "small" }, { default: u(() => [s(J, { modelValue: F.value, "onUpdate:modelValue": l2[24] || (l2[24] = (e3) => F.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", j, [s(S2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: u(() => [(t(true), r(d, null, p(m(V)(), (e3) => (t(), i(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(M, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(S2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [s(M, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), i(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(S2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(k, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [s(O, { value: "large" }, { default: u(() => l2[25] || (l2[25] = [c("大")])), _: 1 }), s(O, { value: "default" }, { default: u(() => l2[26] || (l2[26] = [c("中")])), _: 1 }), s(O, { value: "small" }, { default: u(() => l2[27] || (l2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [s(O, { value: "default" }, { default: u(() => l2[28] || (l2[28] = [c("普通")])), _: 1 }), s(O, { value: "disabled" }, { default: u(() => l2[29] || (l2[29] = [c("禁用")])), _: 1 }), s(O, { value: "hidden" }, { default: u(() => l2[30] || (l2[30] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(B, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [s(S2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: u(() => [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(S2, { label: "图标", class: "amb-design-attr-item" }, { default: u(() => [(t(), i(v, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
46
- E2.configure.props.base.iconType = e4, E2.configure.props.base.iconValue = a4;
47
- }(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(S2, { label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: u(() => [s(G, { value: "left" }, { default: u(() => l2[31] || (l2[31] = [c("标题前")])), _: 1 }), s(G, { value: "right" }, { default: u(() => l2[32] || (l2[32] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.iconValue]]), s(S2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(S2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(S2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(S2, { label: "加载状态", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: u(() => [s(O, { value: true }, { default: u(() => l2[33] || (l2[33] = [c("是")])), _: 1 }), s(O, { value: false }, { default: u(() => l2[34] || (l2[34] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: u(() => [s(O, { value: true }, { default: u(() => l2[35] || (l2[35] = [c("是")])), _: 1 }), s(O, { value: false }, { default: u(() => l2[36] || (l2[36] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "原生type", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: u(() => [s(O, { value: "button" }, { default: u(() => l2[37] || (l2[37] = [c("button")])), _: 1 }), s(O, { value: "submit" }, { default: u(() => l2[38] || (l2[38] = [c("submit")])), _: 1 }), s(O, { value: "reset" }, { default: u(() => l2[39] || (l2[39] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), s(B, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [A.value ? (t(), i(P, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: C.value, onDataChange: l2[15] || (l2[15] = (e3) => function(e4) {
48
- E2.configure.props.linkPage = e4;
49
- }(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : b("", true)])]), _: 1 }), s(B, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", z, [s(S2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "权限保护", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "是否异步", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "必填验证", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "模板路径", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: q.value, "onUpdate:modelValue": l2[21] || (l2[21] = (e3) => q.value = e3), filterable: "", multiple: "", onChange: R }, { default: u(() => [(t(true), r(d, null, p(T.value, (e3) => (t(), i(_2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "执行条件", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: u(() => [s(_2, { label: "无限制", value: "any" }), s(_2, { label: "选单行", value: "one" }), s(_2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "对应表格", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: $ }, { default: u(() => [(t(true), r(d, null, p(N.value, (e3) => (t(), i(_2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
44
+ const _2 = o("el-option"), h2 = o("el-select"), R2 = o("el-form-item"), $ = o("el-input"), M = o("el-radio"), O = o("el-radio-group"), B = o("el-collapse-item"), G = o("el-radio-button"), H = o("el-switch"), J = o("el-collapse"), K = o("el-form");
45
+ return t(), i(K, { "label-width": "80px", size: "small" }, { default: u(() => [s(J, { modelValue: E.value, "onUpdate:modelValue": l2[25] || (l2[25] = (e3) => E.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", j, [s(R2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: u(() => [(t(true), r(d, null, p(c(V)(), (e3) => (t(), i(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s($, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(R2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [s($, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), i(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(R2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(k, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [s(M, { value: "large" }, { default: u(() => l2[26] || (l2[26] = [m("大")])), _: 1 }), s(M, { value: "default" }, { default: u(() => l2[27] || (l2[27] = [m("中")])), _: 1 }), s(M, { value: "small" }, { default: u(() => l2[28] || (l2[28] = [m("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [s(M, { value: "default" }, { default: u(() => l2[29] || (l2[29] = [m("普通")])), _: 1 }), s(M, { value: "disabled" }, { default: u(() => l2[30] || (l2[30] = [m("禁用")])), _: 1 }), s(M, { value: "hidden" }, { default: u(() => l2[31] || (l2[31] = [m("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(B, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [s(R2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: u(() => [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(R2, { label: "图标", class: "amb-design-attr-item" }, { default: u(() => [(t(), i(v, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
46
+ z2.configure.props.base.iconType = e4, z2.configure.props.base.iconValue = a4, a4 || (z2.configure.props.base.isTextIcon = false);
47
+ }(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(R2, { label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: u(() => [s(G, { value: "left" }, { default: u(() => l2[32] || (l2[32] = [m("标题前")])), _: 1 }), s(G, { value: "right" }, { default: u(() => l2[33] || (l2[33] = [m("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.iconValue]]), s(R2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": c(x), "inactive-icon": c(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.base.text ? (t(), i(R2, { key: 0, label: "图标按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isTextIcon, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.isTextIcon = a3), disabled: !e2.configure.props.base.iconValue, "inline-prompt": "", "active-icon": c(x), "inactive-icon": c(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : b("", true), s(R2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(x), "inactive-icon": c(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(R2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": c(x), "inactive-icon": c(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(R2, { label: "加载状态", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: u(() => [s(M, { value: true }, { default: u(() => l2[34] || (l2[34] = [m("是")])), _: 1 }), s(M, { value: false }, { default: u(() => l2[35] || (l2[35] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: u(() => [s(M, { value: true }, { default: u(() => l2[36] || (l2[36] = [m("是")])), _: 1 }), s(M, { value: false }, { default: u(() => l2[37] || (l2[37] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "原生type", class: "amb-design-attr-item" }, { default: u(() => [s(O, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: u(() => [s(M, { value: "button" }, { default: u(() => l2[38] || (l2[38] = [m("button")])), _: 1 }), s(M, { value: "submit" }, { default: u(() => l2[39] || (l2[39] = [m("submit")])), _: 1 }), s(M, { value: "reset" }, { default: u(() => l2[40] || (l2[40] = [m("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), s(B, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", T, [A.value ? (t(), i(P, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: C.value, onDataChange: l2[16] || (l2[16] = (e3) => function(e4) {
48
+ z2.configure.props.linkPage = e4;
49
+ }(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : b("", true)])]), _: 1 }), s(B, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [s(R2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "权限保护", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "是否异步", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "必填验证", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "模板路径", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: q.value, "onUpdate:modelValue": l2[22] || (l2[22] = (e3) => q.value = e3), filterable: "", multiple: "", onChange: I }, { default: u(() => [(t(true), r(d, null, p(F.value, (e3) => (t(), i(_2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "执行条件", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: u(() => [s(_2, { label: "无限制", value: "any" }), s(_2, { label: "选单行", value: "one" }), s(_2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(R2, { label: "对应表格", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: S }, { default: u(() => [(t(true), r(d, null, p(N.value, (e3) => (t(), i(_2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
50
50
  };
51
51
  } });
52
52
  export {
53
- E as default
53
+ z as default
54
54
  };
@@ -1,27 +1,27 @@
1
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
2
  import { SuperIcon as d } from "agilebuilder-ui";
3
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;
4
+ import { batchUpdatePermissions as T } 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 b = i({}), k = i(""), x = i({}), z = i({});
9
+ l(V2.configure.style, () => {
10
+ f(V2.configure, b, k, x), V2.configure.runtime.style = b.value, V2.configure.runtime.class = k.value, V2.configure.runtime.headerStyle = x.value;
11
11
  }, { immediate: true });
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 : {};
12
+ const P = V2.configure.props && V2.configure.props.base ? V2.configure.props.base : {};
13
+ let h = P.title;
14
+ return l(V2.configure.props, (e3, i2) => {
15
+ m(V2.configure, z), function() {
16
+ let e4 = V2.configure.props ? V2.configure.props : {};
17
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;
18
+ i3.type && (l2.type = i3.type), i3.text && (l2.text = true), i3.plain && (l2.plain = true), i3.round && (l2.round = true), l2.isTextIcon = i3.isTextIcon, i3.iconType && i3.iconValue && (l2.iconType = i3.iconType, l2.iconValue = i3.iconValue, l2.iconPosition = i3.iconPosition), Object.assign(z.value, l2);
19
+ }(), P.title !== h && V2.pageDesign && (T(V2.configure, V2.pageDesign), h = P.title), V2.configure.runtime.props = z.value;
20
20
  }, { immediate: true }), (e3, i2) => {
21
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"]));
22
+ return z.value.text ? (n(), t(l2, { key: 0, disabled: "disabled" === z.value.state, class: a(k.value), style: o(b.value), type: z.value.type, size: z.value.size }, { default: s(() => [z.value.title && "right" == z.value.iconPosition && !z.value.isTextIcon ? (n(), c(p, { key: 0 }, [v(y(z.value.title) + " ", 1), z.value.iconValue ? (n(), c(p, { key: 0 }, [v("   ")], 64)) : r("", true)], 64)) : r("", true), z.value.iconType && z.value.iconValue ? (n(), t(g(d), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : r("", true), z.value.title && "right" != z.value.iconPosition && !z.value.isTextIcon ? (n(), c(p, { key: 2 }, [z.value.iconValue ? (n(), c(p, { key: 0 }, [v("   ")], 64)) : r("", true), v(" " + y(z.value.title), 1)], 64)) : r("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size"])) : (n(), t(f2, { key: 1, disabled: "disabled" === z.value.state, class: a(k.value), style: o(b.value), type: z.value.type, size: z.value.size, round: z.value.round, plain: z.value.plain }, { default: s(() => [z.value.title && "right" == z.value.iconPosition ? (n(), c(p, { key: 0 }, [v(y(z.value.title) + " ", 1), z.value.iconValue ? (n(), c(p, { key: 0 }, [v("   ")], 64)) : r("", true)], 64)) : r("", true), z.value.iconType && z.value.iconValue ? (n(), t(g(d), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : r("", true), z.value.title && "right" != z.value.iconPosition ? (n(), c(p, { key: 2 }, [z.value.iconValue ? (n(), c(p, { key: 0 }, [v("   ")], 64)) : r("", true), v(" " + y(z.value.title), 1)], 64)) : r("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain"]));
23
23
  };
24
24
  } });
25
25
  export {
26
- b as default
26
+ V as default
27
27
  };
@@ -9,17 +9,17 @@ const k = e({ __name: "exportpdf-design", props: { pageDesign: {}, configure: {}
9
9
  l(k2.configure.style, () => {
10
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 j = k2.configure.props && k2.configure.props.base ? k2.configure.props.base : {};
13
- let P = j.title;
12
+ const x = k2.configure.props && k2.configure.props.base ? k2.configure.props.base : {};
13
+ let j = x.title;
14
14
  return l(k2.configure.props, (e3, i2) => {
15
15
  m(k2.configure, h), function() {
16
16
  let e4 = k2.configure.props ? k2.configure.props : {};
17
17
  const i3 = e4.base ? e4.base : {}, l2 = e4.dropdown ? e4.dropdown : {};
18
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;
19
+ }(), x.title !== j && k2.pageDesign && (b(k2.configure, k2.pageDesign), j = x.title), k2.configure.runtime.props = h.value;
20
20
  }, { immediate: true }), (e3, i2) => {
21
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"]));
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 && !h.value.isTextIcon ? (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 && !h.value.isTextIcon ? (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 {
@@ -10,16 +10,16 @@ const k = e({ __name: "printlabel-design", props: { pageDesign: {}, configure: {
10
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
12
  const j = k2.configure.props && k2.configure.props.base ? k2.configure.props.base : {};
13
- let P = j.title;
13
+ let x = j.title;
14
14
  return l(k2.configure.props, (e3, i2) => {
15
15
  m(k2.configure, h), function() {
16
16
  let e4 = k2.configure.props ? k2.configure.props : {};
17
17
  const i3 = e4.base ? e4.base : {}, l2 = e4.dropdown ? e4.dropdown : {};
18
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;
19
+ }(), j.title !== x && k2.pageDesign && (b(k2.configure, k2.pageDesign), x = j.title), k2.configure.runtime.props = h.value;
20
20
  }, { immediate: true }), (e3, i2) => {
21
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: o(T.value), style: n(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: o(T.value), style: n(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"]));
22
+ return h.value.text ? (t(), a(l2, { key: 0, disabled: "disabled" === h.value.state, class: o(T.value), style: n(V.value), type: h.value.type, size: h.value.size }, { default: s(() => [h.value.title && "right" == h.value.iconPosition && !h.value.isTextIcon ? (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 && !h.value.isTextIcon ? (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: o(T.value), style: n(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 {
@@ -1,7 +1,7 @@
1
- import o from "./data-origin.vue2.js";
1
+ import a from "./data-origin.vue2.js";
2
2
  /* empty css */
3
- import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(o, [["__scopeId", "data-v-ad5b0913"]]);
3
+ import o from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = o(a, [["__scopeId", "data-v-4f7aa99a"]]);
5
5
  export {
6
- t as default
6
+ r as default
7
7
  };
@@ -5,7 +5,6 @@ import C from "../../../form/common/data-origin-service-in.vue.js";
5
5
  import w from "../../../common/page-permission-select.vue.js";
6
6
  import T from "./row-colmun.vue.js";
7
7
  import { queryServiceReturnFields as h } from "../../../../../utils/page-service-util.js";
8
- import "uuid";
9
8
  import { tableField as k } from "../../../../../../../stores/table-store.js";
10
9
  import R from "../../../common/common-variable-bind.vue.js";
11
10
  import { getCustomFuncs as U } from "../../../../../utils/page-event-util.js";
@@ -1,39 +1,39 @@
1
- import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as n, createVNode as i, createBlock as r, createCommentVNode as d, withCtx as p, renderList as s, unref as c, createTextVNode as g } from "vue";
1
+ import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as n, createVNode as i, createBlock as r, createCommentVNode as d, withCtx as s, renderList as p, unref as c, createTextVNode as g } from "vue";
2
2
  import f from "./table-showcondition.vue.js";
3
- import v from "../../../form/common/suffixmodule.vue.js";
4
- import { getCustomFuncs as m } from "../../../../../utils/page-event-util.js";
5
- import "uuid";
6
- import { getTableConfigByTableUuid as b } from "../../../../../utils/page-table-util.js";
7
- const w = e({ __name: "link-table", props: { data: { type: Array, default: () => [] }, pageDesign: { type: Object, default: () => {
8
- } }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request"] }, configure: { type: Object, default: () => null }, tableConfigure: { type: Object, default: () => null } }, emits: ["dataChange"], setup(e2, { emit: w2 }) {
9
- const y = e2, C = w2, h = l([]);
10
- y.data && (h.value = y.data);
11
- const k = l(false), _ = l(y.tableConfigure);
12
- function D(e3, l2) {
13
- h.value.splice(l2 + 1, 0, { showCondition: [], eventCallBack: "", style: {}, linkPage: {} });
3
+ import m from "../../../form/common/suffixmodule.vue.js";
4
+ import { getCustomFuncs as v } from "../../../../../utils/page-event-util.js";
5
+ import { getUuidv4 as b } from "../../../../../utils/common-util.js";
6
+ import { getTableConfigByTableUuid as w } from "../../../../../utils/page-table-util.js";
7
+ const y = e({ __name: "link-table", props: { data: { type: Array, default: () => [] }, pageDesign: { type: Object, default: () => {
8
+ } }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request"] }, configure: { type: Object, default: () => null }, tableConfigure: { type: Object, default: () => null } }, emits: ["dataChange"], setup(e2, { emit: y2 }) {
9
+ const C = e2, h = y2, k = l([]);
10
+ C.data && (k.value = C.data);
11
+ const _ = l(false), D = l(C.tableConfigure);
12
+ function j(e3, l2) {
13
+ k.value.splice(l2 + 1, 0, { uuid: b(), showCondition: [], eventCallBack: "", style: {}, linkPage: {} });
14
14
  }
15
- const j = l({}), V = l(0);
16
- function x(e3, l2) {
17
- _.value = b(y.pageDesign, y.configure), j.value = e3, k.value = true, V.value = l2;
15
+ const V = l({}), x = l(0);
16
+ function z(e3, l2) {
17
+ D.value = w(C.pageDesign, C.configure), V.value = e3, _.value = true, x.value = l2;
18
18
  }
19
- function z() {
20
- h.value[V.value].linkPage = j.value, k.value = false;
19
+ function P() {
20
+ k.value[x.value].linkPage = V.value, _.value = false;
21
21
  }
22
- function P(e3) {
22
+ function T(e3) {
23
23
  e3.row && (e3.row.showCondition = e3.data);
24
24
  }
25
- return a(() => h.value, (e3) => {
26
- e3.length > 0 ? C("dataChange", h.value) : C("dataChange", null);
25
+ return a(() => k.value, (e3) => {
26
+ e3.length > 0 ? h("dataChange", k.value) : h("dataChange", null);
27
27
  }, { deep: true }), (l2, a2) => {
28
- const b2 = t("el-table-column"), w3 = t("el-option"), y2 = t("el-select"), C2 = t("el-button"), V2 = t("Plus"), T = t("el-icon"), U = t("Delete"), F = t("el-table"), O = t("el-dialog");
29
- return u(), o(n, null, [i(F, { data: h.value, style: { width: "100%" } }, { default: p(() => [i(b2, { label: "条件", width: "55", align: "center" }, { default: p((l3) => [i(f, { paramTypes: e2.paramTypes, data: l3.row.showCondition, pageDesign: e2.pageDesign, row: l3.row, tableConfigure: _.value, configure: e2.configure, "onUpdate:data": P }, null, 8, ["paramTypes", "data", "pageDesign", "row", "tableConfigure", "configure"])]), _: 1 }), i(b2, { label: "自定义条件", align: "center" }, { default: p((e3) => [i(y2, { modelValue: e3.row.scopeFunc, "onUpdate:modelValue": (l3) => e3.row.scopeFunc = l3, clearable: "", title: e3.row.scopeFunc, size: "small", placeholder: "请选择" }, { default: p(() => [(u(true), o(n, null, s(c(m)(), (e4) => (u(), r(w3, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), i(b2, { prop: "value", label: "链接", width: "55", align: "center" }, { default: p((e3) => [i(C2, { type: "primary", onClick: (l3) => x(e3.row.linkPage, e3.$index) }, { default: p(() => a2[2] || (a2[2] = [g("设置")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), i(b2, { label: "操作", align: "center" }, { header: p(() => [i(T, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: a2[0] || (a2[0] = (e3) => {
30
- h.value && 0 !== h.value.length ? D(0, h.value.length - 1) : (h.value = [], D(0, -1));
31
- }) }, { default: p(() => [i(V2)]), _: 1 })]), default: p((e3) => [i(T, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => D(e3.row, e3.$index) }, { default: p(() => [i(V2)]), _: 2 }, 1032, ["onClick"]), i(T, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
32
- return e3.row, a3 = e3.$index, void h.value.splice(a3, 1);
28
+ const b2 = t("el-table-column"), w2 = t("el-option"), y3 = t("el-select"), C2 = t("el-button"), h2 = t("Plus"), x2 = t("el-icon"), U = t("Delete"), F = t("el-table"), O = t("el-dialog");
29
+ return u(), o(n, null, [i(F, { data: k.value, style: { width: "100%" }, "row-key": "uuid" }, { default: s(() => [i(b2, { label: "条件", width: "55", align: "center" }, { default: s((l3) => [i(f, { paramTypes: e2.paramTypes, data: l3.row.showCondition, pageDesign: e2.pageDesign, row: l3.row, tableConfigure: D.value, configure: e2.configure, "onUpdate:data": T }, null, 8, ["paramTypes", "data", "pageDesign", "row", "tableConfigure", "configure"])]), _: 1 }), i(b2, { label: "自定义条件", align: "center" }, { default: s((e3) => [i(y3, { modelValue: e3.row.scopeFunc, "onUpdate:modelValue": (l3) => e3.row.scopeFunc = l3, clearable: "", title: e3.row.scopeFunc, size: "small", placeholder: "请选择" }, { default: s(() => [(u(true), o(n, null, p(c(v)(), (e4) => (u(), r(w2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), i(b2, { prop: "value", label: "链接", width: "55", align: "center" }, { default: s((e3) => [i(C2, { type: "primary", onClick: (l3) => z(e3.row.linkPage, e3.$index) }, { default: s(() => a2[2] || (a2[2] = [g("设置")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), i(b2, { label: "操作", align: "center" }, { header: s(() => [i(x2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: a2[0] || (a2[0] = (e3) => {
30
+ k.value && 0 !== k.value.length ? j(0, k.value.length - 1) : (k.value = [], j(0, -1));
31
+ }) }, { default: s(() => [i(h2)]), _: 1 })]), default: s((e3) => [i(x2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => j(e3.row, e3.$index) }, { default: s(() => [i(h2)]), _: 2 }, 1032, ["onClick"]), i(x2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
32
+ return e3.row, a3 = e3.$index, void k.value.splice(a3, 1);
33
33
  var a3;
34
- } }, { default: p(() => [i(U)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), k.value ? (u(), r(O, { key: 0, modelValue: k.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => k.value = e3), title: "超链接设置", "before-close": z, width: "900", "append-to-body": "" }, { default: p(() => [i(v, { isDialog: true, configure: j.value, pageDesign: e2.pageDesign, tableConfigure: _.value }, null, 8, ["configure", "pageDesign", "tableConfigure"])]), _: 1 }, 8, ["modelValue"])) : d("", true)], 64);
34
+ } }, { default: s(() => [i(U)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), _.value ? (u(), r(O, { key: 0, modelValue: _.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => _.value = e3), title: "超链接设置", "before-close": P, width: "900", "append-to-body": "" }, { default: s(() => [i(m, { isDialog: true, configure: V.value, pageDesign: e2.pageDesign, tableConfigure: D.value }, null, 8, ["configure", "pageDesign", "tableConfigure"])]), _: 1 }, 8, ["modelValue"])) : d("", true)], 64);
35
35
  };
36
36
  } });
37
37
  export {
38
- w as default
38
+ y as default
39
39
  };
@@ -1,27 +1,27 @@
1
- import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createBlock as o, openBlock as n, withCtx as i, createCommentVNode as r, createVNode as u, createElementBlock as d, Fragment as p, renderList as s, unref as c } from "vue";
1
+ import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createBlock as o, openBlock as n, withCtx as i, createCommentVNode as r, createVNode as u, createElementBlock as d, Fragment as p, renderList as s, unref as c } from "vue";
2
2
  import f from "./table-showcondition.vue.js";
3
- import m from "./font-style-dialog.vue.js";
4
- import { getCustomFuncs as g } from "../../../../../utils/page-event-util.js";
5
- const y = e({ __name: "style-table", props: { configure: { type: Object, default: () => {
3
+ import g from "./font-style-dialog.vue.js";
4
+ import { getCustomFuncs as m } from "../../../../../utils/page-event-util.js";
5
+ const w = e({ __name: "style-table", props: { configure: { type: Object, default: () => {
6
6
  } }, data: { type: Array, default: () => [] }, showField: { type: Boolean, default: false }, showCondition: { type: Boolean, default: false }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row"] }, pageDesign: { type: Object, default: () => {
7
- } } }, emits: ["dataChange"], setup(e2, { emit: y2 }) {
8
- const v = e2, w = y2, b = a([]);
9
- function h(e3) {
7
+ } } }, emits: ["dataChange"], setup(e2, { emit: w2 }) {
8
+ const y = e2, b = w2, h = l([]);
9
+ function v(e3, l2) {
10
+ (null == l2 || l2 < 0) && (l2 = h.value.length), h.value.splice(l2 + 1, 0, { matchingCondition: [], eventCallBack: "", style: {} });
11
+ }
12
+ function C(e3) {
10
13
  e3.row && (e3.row.matchingCondition = e3.data);
11
14
  }
12
- return v.data && Array.isArray(v.data) && (b.value = v.data), b.value && 0 != b.value.length || b.value.push({ matchingCondition: [], eventCallBack: "", style: {} }), l(() => b.value, (e3) => {
13
- w("dataChange", b.value);
14
- }, { deep: true }), (a2, l2) => {
15
- const y3 = t("el-table-column"), v2 = t("el-option"), w2 = t("el-select"), C = t("Plus"), k = t("el-icon"), _ = t("Delete"), V = t("el-table");
16
- return n(), o(V, { data: b.value, style: { width: "100%" } }, { default: i(() => [e2.showCondition ? (n(), o(y3, { key: 0, label: "条件", width: "55", align: "center" }, { default: i((a3) => [u(f, { paramTypes: e2.paramTypes, title: "匹配条件/生效条件", row: a3.row, data: a3.row.matchingCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": h }, null, 8, ["paramTypes", "row", "data", "pageDesign", "tableConfigure"])]), _: 1 })) : r("", true), e2.showField ? (n(), o(y3, { key: 1, label: "字段", align: "center" }, { default: i((a3) => [u(w2, { modelValue: a3.row.field, "onUpdate:modelValue": (e3) => a3.row.field = e3, multiple: "", "allow-create": "", filterable: "", placeholder: "请选择" }, { default: i(() => [(n(true), d(p, null, s(e2.configure.items, (e3, a4) => (n(), o(v2, { key: e3.uuid, label: e3.props.base.name, value: e3.props.base.prop }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })) : r("", true), u(y3, { label: "自定义条件", align: "center" }, { default: i((e3) => [u(w2, { modelValue: e3.row.scopeFunc, "onUpdate:modelValue": (a3) => e3.row.scopeFunc = a3, clearable: "", title: e3.row.scopeFunc, size: "small", placeholder: "请选择" }, { default: i(() => [(n(true), d(p, null, s(c(g)(), (e4) => (n(), o(v2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), u(y3, { label: "样式", width: "55", align: "center" }, { default: i((e3) => [(n(), o(m, { key: e3.$index, data: e3.row, "onUpdate:data": (a3) => e3.row = a3 }, null, 8, ["data", "onUpdate:data"]))]), _: 1 }), u(y3, { label: "操作", align: "center" }, { default: i((e3) => [u(k, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (a3) => {
17
- return e3.row, l3 = e3.$index, void b.value.splice(l3 + 1, 0, { matchingCondition: [], eventCallBack: "", style: {} });
18
- var l3;
19
- } }, { default: i(() => [u(C)]), _: 2 }, 1032, ["onClick"]), u(k, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (a3) => function(e4, a4) {
20
- if (1 == b.value.length) return e4.matchingCondition = [], e4.eventCallBack = "", void (e4.style = {});
21
- b.value.splice(a4, 1);
22
- }(e3.row, e3.$index) }, { default: i(() => [u(_)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
15
+ return y.data && Array.isArray(y.data) && (h.value = y.data), h.value && 0 != h.value.length || h.value.push({ matchingCondition: [], eventCallBack: "", style: {} }), a(() => h.value, (e3) => {
16
+ b("dataChange", h.value);
17
+ }, { deep: true }), (l2, a2) => {
18
+ const w3 = t("el-table-column"), y2 = t("el-option"), b2 = t("el-select"), k = t("Plus"), _ = t("el-icon"), V = t("Delete"), U = t("el-table");
19
+ return n(), o(U, { data: h.value, style: { width: "100%" } }, { default: i(() => [e2.showCondition ? (n(), o(w3, { key: 0, label: "条件", width: "55", align: "center" }, { default: i((l3) => [u(f, { paramTypes: e2.paramTypes, title: "匹配条件/生效条件", row: l3.row, data: l3.row.matchingCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": C }, null, 8, ["paramTypes", "row", "data", "pageDesign", "tableConfigure"])]), _: 1 })) : r("", true), e2.showField ? (n(), o(w3, { key: 1, label: "字段", align: "center" }, { default: i((l3) => [u(b2, { modelValue: l3.row.field, "onUpdate:modelValue": (e3) => l3.row.field = e3, multiple: "", "allow-create": "", filterable: "", placeholder: "请选择" }, { default: i(() => [(n(true), d(p, null, s(e2.configure.items, (e3, l4) => (n(), o(y2, { key: e3.uuid, label: e3.props.base.name, value: e3.props.base.prop }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })) : r("", true), u(w3, { label: "自定义条件", align: "center" }, { default: i((e3) => [u(b2, { modelValue: e3.row.scopeFunc, "onUpdate:modelValue": (l3) => e3.row.scopeFunc = l3, clearable: "", title: e3.row.scopeFunc, size: "small", placeholder: "请选择" }, { default: i(() => [(n(true), d(p, null, s(c(m)(), (e4) => (n(), o(y2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), u(w3, { label: "样式", width: "55", align: "center" }, { default: i((e3) => [(n(), o(g, { key: e3.$index, data: e3.row, "onUpdate:data": (l3) => e3.row = l3 }, null, 8, ["data", "onUpdate:data"]))]), _: 1 }), u(w3, { label: "操作", align: "center" }, { header: i((e3) => [u(_, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: a2[0] || (a2[0] = (e4) => v(0, null)) }, { default: i(() => [u(k)]), _: 1 })]), default: i((e3) => [u(_, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => v(e3.row, e3.$index) }, { default: i(() => [u(k)]), _: 2 }, 1032, ["onClick"]), u(_, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
20
+ return e3.row, a3 = e3.$index, void h.value.splice(a3, 1);
21
+ var a3;
22
+ } }, { default: i(() => [u(V)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
23
23
  };
24
24
  } });
25
25
  export {
26
- y as default
26
+ w as default
27
27
  };