super-page-designer 2.2.90 → 2.2.92

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 (24) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +6 -7
  2. package/dist/es/components/design/utils/common-util.d.ts +1 -0
  3. package/dist/es/components/design/utils/common-util.js +14 -9
  4. package/dist/es/components/design/utils/page-table-util.js +9 -9
  5. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +24 -24
  6. package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +16 -16
  7. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +4 -4
  8. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +3 -3
  9. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +4 -4
  10. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +0 -1
  11. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +27 -27
  12. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +47 -47
  13. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +5 -108
  14. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +100 -2
  15. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -4
  16. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +3 -3
  17. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +8 -8
  18. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +4 -4
  19. package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue2.js +6 -6
  20. package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
  21. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  22. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  23. package/dist/es/style.css +542 -225
  24. package/package.json +3 -3
@@ -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,61 +1,61 @@
1
- import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as r, createElementVNode as d, createVNode as p, withCtx as i, createTextVNode as n, unref as s, createBlock as m, createCommentVNode as c } from "vue";
1
+ import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as r, createElementVNode as d, createVNode as n, withCtx as p, createTextVNode as i, unref as s, createBlock as c, createCommentVNode as m } from "vue";
2
2
  import { Plus as b, Delete as f } from "@element-plus/icons";
3
3
  import v from "../../../common/common-variable-bind.vue.js";
4
- import { isNumberType as g, getUuidv4 as w } from "../../../../../utils/common-util.js";
5
- import { usePageContextStore as y } from "../../../../../../../stores/page-store.js";
6
- import { statisticsTable as h } from "../../../../../../../stores/statistics-table-store.js";
7
- import { getModelOptionsByFields as V, getTableConfigByTableUuid as T } from "../../../../../utils/page-table-util.js";
8
- const k = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, _ = e({ __name: "table-showcondition", props: { data: { type: Array, required: true, default: () => [] }, title: { type: String, default: "显示条件" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row"] }, configure: { type: Object, default: () => {
4
+ import { isNumberType as g, isDateOrTimeType as w, getUuidv4 as y } from "../../../../../utils/common-util.js";
5
+ import { usePageContextStore as h } from "../../../../../../../stores/page-store.js";
6
+ import { statisticsTable as V } from "../../../../../../../stores/statistics-table-store.js";
7
+ import { getModelOptionsByFields as T, getTableConfigByTableUuid as k } from "../../../../../utils/page-table-util.js";
8
+ const _ = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, N = e({ __name: "table-showcondition", props: { data: { type: Array, required: true, default: () => [] }, title: { type: String, default: "显示条件" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row"] }, configure: { type: Object, default: () => {
9
9
  } }, tableConfigure: { type: Object, default: () => {
10
10
  } }, pageDesign: { type: Object, default: () => {
11
11
  } }, row: { type: Object, default: () => {
12
- } } }, emits: ["update:data"], setup(e2, { emit: _2 }) {
13
- const N = y(), C = h(), O = e2, j = _2, U = l(300), x = l([]);
14
- O.data && (x.value = O.data);
15
- const B = l(false);
16
- let L;
17
- const I = O.pageDesign ? O.pageDesign.pageType : null;
18
- !I || "form" !== I && "list" !== I || (L = O.pageDesign.modelFields);
19
- const M = l(null);
20
- L && L.length > 0 && (M.value = V(L));
12
+ } } }, emits: ["update:data"], setup(e2, { emit: N2 }) {
13
+ const C = h(), O = V(), j = e2, U = N2, x = l(300), B = l([]);
14
+ j.data && (B.value = j.data);
15
+ const L = l(false);
16
+ let I;
17
+ const M = j.pageDesign ? j.pageDesign.pageType : null;
18
+ !M || "form" !== M && "list" !== M || (I = j.pageDesign.modelFields);
21
19
  const S = l(null);
22
- function E(e3) {
23
- e3 && (S.value = V(e3.modelFields));
20
+ I && I.length > 0 && (S.value = T(I));
21
+ const E = l(null);
22
+ function D(e3) {
23
+ e3 && (E.value = T(e3.modelFields));
24
24
  }
25
- function D() {
26
- E(T(O.pageDesign, O.configure, O.tableConfigure));
25
+ function z() {
26
+ D(k(j.pageDesign, j.configure, j.tableConfigure));
27
27
  let e3 = window.innerHeight - 140 - 176;
28
- e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), U.value = e3, B.value = true;
28
+ e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), x.value = e3, L.value = true;
29
29
  }
30
- function z(e3) {
30
+ function A(e3) {
31
31
  let l2 = -1;
32
- const a2 = x.value.length;
33
- for (let t2 = 0; t2 < a2; t2++) if (x.value[t2].uuid == e3.uuid) {
32
+ const a2 = B.value.length;
33
+ for (let t2 = 0; t2 < a2; t2++) if (B.value[t2].uuid == e3.uuid) {
34
34
  l2 = t2;
35
35
  break;
36
36
  }
37
37
  return l2;
38
38
  }
39
- function A(e3) {
39
+ function G(e3) {
40
40
  let l2 = -1;
41
- e3 && (l2 = z(e3));
42
- const a2 = { uuid: w(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" };
43
- x.value.splice(l2 + 1, 0, a2);
41
+ e3 && (l2 = A(e3));
42
+ const a2 = { uuid: y(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" };
43
+ B.value.splice(l2 + 1, 0, a2);
44
44
  }
45
- E(O.tableConfigure), a(() => x.value, (e3) => {
46
- j("update:data", { row: O.row, data: x.value });
45
+ D(j.tableConfigure), a(() => B.value, (e3) => {
46
+ U("update:data", { row: j.row, data: B.value });
47
47
  }, { deep: true });
48
- const G = l({});
49
- function W(e3) {
50
- G.value = e3;
48
+ const W = l({});
49
+ function q(e3) {
50
+ W.value = e3;
51
51
  }
52
- function q(e3, l2, a2) {
52
+ function F(e3, l2, a2) {
53
53
  if ("propValue" === a2) l2.propValue = e3;
54
54
  else {
55
55
  let a3, t2 = [];
56
56
  l2.propName = e3;
57
57
  let o2 = "";
58
- if (e3 && e3.startsWith("${") && (a3 = e3.substring(2, e3.length - 1), a3.startsWith("page.") || (a3.startsWith("data.") ? (a3 = a3.substring(5), t2 = M.value, t2 && 0 !== t2.length || (t2 = N.pageContextVarOptions.dataOptions)) : a3.startsWith("row.") && (a3 = a3.substring(4), t2 = S.value, t2 && 0 !== t2.length || (t2 = C.columnList)))), t2 && a3) {
58
+ if (e3 && e3.startsWith("${") && (a3 = e3.substring(2, e3.length - 1), a3.startsWith("page.") || (a3.startsWith("data.") ? (a3 = a3.substring(5), t2 = S.value, t2 && 0 !== t2.length || (t2 = C.pageContextVarOptions.dataOptions)) : a3.startsWith("row.") && (a3 = a3.substring(4), t2 = E.value, t2 && 0 !== t2.length || (t2 = O.columnList)))), t2 && a3) {
59
59
  const e4 = t2.find((e5) => e5.value == a3);
60
60
  e4 && (o2 = e4.dataType);
61
61
  }
@@ -63,23 +63,23 @@ const k = { style: { "text-align": "center", margin: "0px -8px", "padding-top":
63
63
  }
64
64
  }
65
65
  return (l2, a2) => {
66
- const w2 = t("el-button"), y2 = t("el-row"), h2 = t("Top"), V2 = t("el-icon"), T2 = t("Bottom"), _3 = t("el-table-column"), N2 = t("el-option"), C2 = t("el-select"), O2 = t("el-table"), j2 = t("el-dialog");
67
- return u(), o(r, null, [d("div", null, [p(w2, { type: "primary", onClick: D }, { default: i(() => a2[1] || (a2[1] = [n("编辑")])), _: 1 })]), p(j2, { modelValue: B.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => B.value = e3), title: e2.title, width: "900", "append-to-body": "" }, { default: i(() => [p(y2, { style: { "padding-bottom": "8px" } }, { default: i(() => [p(w2, { icon: s(b), plain: "", type: "primary", onClick: A }, { default: i(() => a2[2] || (a2[2] = [n(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), p(O2, { "row-key": "uuid", border: "", "highlight-current-row": "", onCurrentChange: W, data: x.value, style: { width: "100%" } }, { default: i(() => [p(_3, { label: "", width: "50" }, { default: i((e3) => [d("div", k, [p(V2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
68
- let l4 = z(e4);
66
+ const y2 = t("el-button"), h2 = t("el-row"), V2 = t("Top"), T2 = t("el-icon"), k2 = t("Bottom"), N3 = t("el-table-column"), C2 = t("el-option"), O2 = t("el-select"), j2 = t("el-table"), U2 = t("el-dialog");
67
+ return u(), o(r, null, [d("div", null, [n(y2, { type: "primary", onClick: z }, { default: p(() => a2[1] || (a2[1] = [i("编辑")])), _: 1 })]), n(U2, { modelValue: L.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => L.value = e3), title: e2.title, width: "900", "append-to-body": "" }, { default: p(() => [n(h2, { style: { "padding-bottom": "8px" } }, { default: p(() => [n(y2, { icon: s(b), plain: "", type: "primary", onClick: G }, { default: p(() => a2[2] || (a2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), n(j2, { "row-key": "uuid", border: "", "highlight-current-row": "", onCurrentChange: q, data: B.value, style: { width: "100%" } }, { default: p(() => [n(N3, { label: "", width: "50" }, { default: p((e3) => [d("div", _, [n(T2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
68
+ let l4 = A(e4);
69
69
  if (l4 < 1) return;
70
- const a3 = x.value;
70
+ const a3 = B.value;
71
71
  [a3[l4 - 1], a3[l4]] = [a3[l4], a3[l4 - 1]];
72
- }(e3.row) }, { default: i(() => [p(h2)]), _: 2 }, 1032, ["onClick"]), p(V2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
73
- let l4 = z(e4);
74
- if (-1 == l4 || x.value.length == l4 + 1) return;
75
- const a3 = x.value;
72
+ }(e3.row) }, { default: p(() => [n(V2)]), _: 2 }, 1032, ["onClick"]), n(T2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
73
+ let l4 = A(e4);
74
+ if (-1 == l4 || B.value.length == l4 + 1) return;
75
+ const a3 = B.value;
76
76
  [a3[l4], a3[l4 + 1]] = [a3[l4 + 1], a3[l4]];
77
- }(e3.row) }, { default: i(() => [p(T2)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), p(_3, { prop: "leftBracket", label: "(", width: "80" }, { default: i((e3) => [p(C2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [p(N2, { label: "", value: "" }), p(N2, { label: "(", value: "(" }), p(N2, { label: "((", value: "((" }), p(N2, { label: "(((", value: "(((" }), p(N2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(_3, { prop: "propName", label: "字段名(*)", width: "150" }, { default: i((l3) => [p(v, { modelValue: l3.row.propName, dataModelOptions: M.value, objModelOptions: S.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => q(e3, l3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), p(_3, { prop: "operator", label: "操作符", width: "90" }, { default: i((e3) => [p(C2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [s(g)(e3.row.dataType) ? (u(), m(N2, { key: 0, label: "大于", value: "GT" })) : c("", true), s(g)(e3.row.dataType) ? (u(), m(N2, { key: 1, label: "小于", value: "LT" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 2, label: "晚于", value: "GT" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 3, label: "早于", value: "LT" })) : c("", true), p(N2, { label: "等于", value: "EQ" }), s(g)(e3.row.dataType) ? (u(), m(N2, { key: 4, label: "小于等于", value: "LET" })) : c("", true), s(g)(e3.row.dataType) ? (u(), m(N2, { key: 5, label: "大于等于", value: "GET" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 6, label: "不晚于", value: "LET" })) : c("", true), "date" == e3.row.dataType || "datetime" == e3.row.dataType ? (u(), m(N2, { key: 7, label: "不早于", value: "GET" })) : c("", true), p(N2, { label: "不等于", value: "NET" }), p(N2, { label: "包含", value: "CONTAIN" }), p(N2, { label: "不包含", value: "NOT_CONTAIN" }), p(N2, { label: "等于Null", value: "IS_NULL" }), p(N2, { label: "不等于Null", value: "IS_NOT_NULL" }), p(N2, { label: "in", value: "IN" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(_3, { prop: "propValue", label: "值(*)", width: "150" }, { default: i((e3) => [p(v, { modelValue: e3.row.propValue, dataModelOptions: M.value, objModelOptions: S.value, "onUpdate:modelValue": (l3) => q(l3, e3.row, "propValue") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), p(_3, { prop: "rightBracket", label: ")", width: "80" }, { default: i((e3) => [p(C2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: i(() => [p(N2, { label: "", value: "" }), p(N2, { label: ")", value: ")" }), p(N2, { label: "))", value: "))" }), p(N2, { label: ")))", value: ")))" }), p(N2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(_3, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: i((e3) => [p(C2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [p(N2, { label: "或者", value: "or" }), p(N2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(_3, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: i((e3) => [p(C2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: i(() => [p(N2, { label: "Null", value: "null" }), p(N2, { label: "忽略(1=1)", value: "ignore" }), p(N2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(_3, { label: "操作", width: "60" }, { default: i((e3) => [p(V2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (l3) => A(e3.row) }, { default: i(() => [p(s(b))]), _: 2 }, 1032, ["onClick"]), p(V2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
78
- let l4 = z(e4);
79
- l4 > -1 && x.value.splice(l4, 1);
80
- }(e3.row) }, { default: i(() => [p(s(f))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
77
+ }(e3.row) }, { default: p(() => [n(k2)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), n(N3, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e3) => [n(O2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "", value: "" }), n(C2, { label: "(", value: "(" }), n(C2, { label: "((", value: "((" }), n(C2, { label: "(((", value: "(((" }), n(C2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((l3) => [n(v, { modelValue: l3.row.propName, dataModelOptions: S.value, objModelOptions: E.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => F(e3, l3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "operator", label: "操作符", width: "90" }, { default: p((e3) => [n(O2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "等于", value: "EQ" }), n(C2, { label: "不等于", value: "NET" }), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 0, label: "大于", value: "GT" })) : m("", true), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 1, label: "小于", value: "LT" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 2, label: "晚于", value: "GT" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 3, label: "早于", value: "LT" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 4, label: "不晚于", value: "LET" })) : m("", true), s(w)(e3.row.dataType) ? (u(), c(C2, { key: 5, label: "不早于", value: "GET" })) : m("", true), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 6, label: "小于等于", value: "LET" })) : m("", true), s(g)(e3.row.dataType) ? (u(), c(C2, { key: 7, label: "大于等于", value: "GET" })) : m("", true), n(C2, { label: "包含", value: "CONTAIN" }), n(C2, { label: "不包含", value: "NOT_CONTAIN" }), n(C2, { label: "等于Null", value: "IS_NULL" }), n(C2, { label: "不等于Null", value: "IS_NOT_NULL" }), n(C2, { label: "in", value: "IN" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "propValue", label: "值(*)", width: "150" }, { default: p((e3) => [n(v, { modelValue: e3.row.propValue, dataModelOptions: S.value, objModelOptions: E.value, "onUpdate:modelValue": (l3) => F(l3, e3.row, "propValue") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e3) => [n(O2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: p(() => [n(C2, { label: "", value: "" }), n(C2, { label: ")", value: ")" }), n(C2, { label: "))", value: "))" }), n(C2, { label: ")))", value: ")))" }), n(C2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e3) => [n(O2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "或者", value: "or" }), n(C2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: p((e3) => [n(O2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(C2, { label: "Null", value: "null" }), n(C2, { label: "忽略(1=1)", value: "ignore" }), n(C2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(N3, { label: "操作", width: "60" }, { default: p((e3) => [n(T2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (l3) => G(e3.row) }, { default: p(() => [n(s(b))]), _: 2 }, 1032, ["onClick"]), n(T2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
78
+ let l4 = A(e4);
79
+ l4 > -1 && B.value.splice(l4, 1);
80
+ }(e3.row) }, { default: p(() => [n(s(f))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
81
81
  };
82
82
  } });
83
83
  export {
84
- _ as default
84
+ N as default
85
85
  };