super-page-designer 2.3.7-design2 → 2.3.7-sit1-design1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/es/components/design/utils/page-event-util.js +0 -1
  2. package/dist/es/components/design/utils/page-i18n-util.js +5 -6
  3. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +16 -16
  4. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +4 -5
  5. package/dist/es/components/design/views/assemblys/chart/common/common-style-grid.vue.js +3 -3
  6. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +8 -8
  7. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
  8. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +0 -3
  9. package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +2 -3
  10. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +13 -13
  11. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +4 -4
  12. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +2 -3
  13. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
  14. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
  15. package/dist/es/components/design/views/assemblys/data/component/attr-style.vue.js +1 -1
  16. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +1 -1
  17. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
  18. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +10 -10
  19. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
  20. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +2 -2
  21. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +8 -8
  22. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +4 -4
  23. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
  24. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +78 -46
  25. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  26. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
  27. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
  28. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +13 -16
  29. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +1 -1
  30. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -1
  31. package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
  32. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +13 -14
  33. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  34. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +1 -1
  35. package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
  36. package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
  37. package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
  38. package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
  39. package/dist/es/components/design/views/design/page-event/config.vue3.js +17 -18
  40. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  41. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +0 -1
  42. package/dist/es/components/design/views/design/view/page-switch.vue2.js +2 -3
  43. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  44. package/dist/es/stores/undo-redo-store.js +1 -1
  45. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as r, createElementVNode as n, createCommentVNode as s, createElementBlock as i, Fragment as m, renderList as p, unref as d, createTextVNode as c } from "vue";
2
2
  import { getFormComponentOptions as f } from "../../../../utils/assemblys-config.js";
3
- import g from "../component/data-origin-tree.vue.js";
4
- import b from "../../form/common/data-linkage.vue.js";
3
+ import b from "../component/data-origin-tree.vue.js";
4
+ import g from "../../form/common/data-linkage.vue.js";
5
5
  import y from "../../common/common-attr-size.vue.js";
6
6
  import V from "../../common/common-variable-bind.vue.js";
7
7
  import _ from "../../common/common-icon-bind.vue.js";
@@ -28,11 +28,11 @@ const N = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8p
28
28
  }).catch((e4) => {
29
29
  });
30
30
  }
31
- return H2.pageDesign, null == H2.configure.props.base.showCheckbox && (H2.configure.props.base.showCheckbox = "no"), null == H2.configure.props.base.defaultExpandAll && (H2.configure.props.base.defaultExpandAll = false), null == H2.configure.props.base.expandOnClickNode && (H2.configure.props.base.expandOnClickNode = true), null == H2.configure.props.base.accordion && (H2.configure.props.base.accordion = false), null == H2.configure.props.base.lazy && (H2.configure.props.base.lazy = false), H2.configure.props.format || (H2.configure.props.format = {}), (l2, U2) => {
31
+ return null == H2.configure.props.base.showCheckbox && (H2.configure.props.base.showCheckbox = "no"), null == H2.configure.props.base.defaultExpandAll && (H2.configure.props.base.defaultExpandAll = false), null == H2.configure.props.base.expandOnClickNode && (H2.configure.props.base.expandOnClickNode = true), null == H2.configure.props.base.accordion && (H2.configure.props.base.accordion = false), null == H2.configure.props.base.lazy && (H2.configure.props.base.lazy = false), H2.configure.props.format || (H2.configure.props.format = {}), (l2, U2) => {
32
32
  const E = a("el-option"), I = a("el-select"), L = a("el-form-item"), q = a("el-input"), F = a("el-switch"), G = a("el-radio"), $ = a("el-radio-group"), M = a("el-button"), B = a("el-col"), J = a("el-icon"), K = a("el-tooltip"), Q = a("el-collapse-item"), R = a("Suffixmodule"), W = a("IconSetDialog"), X = a("el-input-number"), Y = a("VariateSelect"), Z = a("el-checkbox"), ee = a("el-collapse"), le = a("el-form");
33
33
  return t(), o(le, { "label-width": "80px", size: "small" }, { default: u(() => [r(ee, { modelValue: w.value, "onUpdate:modelValue": U2[38] || (U2[38] = (e3) => w.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(Q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", N, [r(L, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.name, "onUpdate:modelValue": U2[0] || (U2[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(d(f)(), (e3) => (t(), o(E, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": U2[1] || (U2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(L, { label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(V, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": j }, null, 8, ["modelValue"]))]), _: 1 }), r(L, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.code, "onUpdate:modelValue": U2[2] || (U2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { label: "可选择", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.base.showCheckbox, "onUpdate:modelValue": U2[3] || (U2[3] = (l3) => e2.configure.props.base.showCheckbox = l3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { label: "默认展开", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.defaultExpandAll, "onUpdate:modelValue": U2[4] || (U2[4] = (l3) => e2.configure.props.base.defaultExpandAll = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[39] || (U2[39] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[40] || (U2[40] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.defaultExpandAll ? (t(), o(L, { key: 0, label: "展开级数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.base.unfoldGrade, "onUpdate:modelValue": U2[5] || (U2[5] = (l3) => e2.configure.props.base.unfoldGrade = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), r(L, { label: "节点可点击", title: "点击节点时展开或收缩节点", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.expandOnClickNode, "onUpdate:modelValue": U2[6] || (U2[6] = (l3) => e2.configure.props.base.expandOnClickNode = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[41] || (U2[41] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[42] || (U2[42] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "手风琴模式", title: "每次只打开一个同级树节点", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.accordion, "onUpdate:modelValue": U2[7] || (U2[7] = (l3) => e2.configure.props.base.accordion = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[43] || (U2[43] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[44] || (U2[44] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "是否懒加载", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.lazy, "onUpdate:modelValue": U2[8] || (U2[8] = (l3) => e2.configure.props.base.lazy = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[45] || (U2[45] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[46] || (U2[46] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "是否过滤", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.filter, "onUpdate:modelValue": U2[9] || (U2[9] = (l3) => e2.configure.props.base.filter = l3), class: "ml-4" }, { default: u(() => [r(G, { value: true }, { default: u(() => U2[47] || (U2[47] = [c("是")])), _: 1 }), r(G, { value: false }, { default: u(() => U2[48] || (U2[48] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "节点图标", class: "amb-design-attr-item" }, { default: u(() => [r(_, { iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.icon, "onUpdate:modelValue": U2[10] || (U2[10] = (e3, l3) => function(e4, l4) {
34
34
  H2.configure.props.base.iconType = e4, H2.configure.props.base.iconValue = l4;
35
- }(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), r(L, { label: "节点内容", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.contentLogic, "onUpdate:modelValue": U2[11] || (U2[11] = (l3) => e2.configure.props.format.contentLogic = l3), filterable: "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(e2.pageDesign.customEvents, (e3) => (t(), o(E, { label: e3.eventName, value: e3.uuid }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": U2[12] || (U2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [r(G, { value: "default" }, { default: u(() => U2[49] || (U2[49] = [c("普通")])), _: 1 }), r(G, { value: "hidden" }, { default: u(() => U2[50] || (U2[50] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "对应数据表", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.base.treeTableName, "onUpdate:modelValue": U2[13] || (U2[13] = (l3) => e2.configure.props.base.treeTableName = l3), title: e2.configure.props.base.treeTableName, clearable: "", readonly: "true", onClick: O, placeholder: "请选择数据表" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: O, size: "small" }, null, 8, ["icon"]), r(M, { type: "default", icon: d(k), onClick: A, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(K, { class: "box-item", content: "使用右键菜单编辑保存时需要配置" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "父节点关联属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeParentIdProp, "onUpdate:modelValue": U2[14] || (U2[14] = (l3) => e2.configure.props.base.treeParentIdProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点nodeId对应数据表的父节点属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "标签属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeLabelProp, "onUpdate:modelValue": U2[15] || (U2[15] = (l3) => e2.configure.props.base.treeLabelProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点Label对应数据表的属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })])]), _: 1 }), r(Q, { title: "右键菜单", name: "nodeContextmenu", class: "amb-design-attr-group-header" }, { default: u(() => [r(v, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])]), _: 1 }), (t(), o(g, { key: e2.configure.uuid, configure: e2.configure }, { beanName: u(() => [r(L, { label: "", class: "amb-design-attr-item" }, { default: u(() => [e2.configure.props.dataOrigin ? (t(), o(B, { key: 0, span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.dataOrigin.beanName, "onUpdate:modelValue": U2[16] || (U2[16] = (l3) => e2.configure.props.dataOrigin.beanName = l3), placeholder: "beanName" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), r(K, { class: "box-item", content: "为空时默认使用页面配置的自定义bean" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["configure"])), r(Q, { title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", T, [r(L, { label: "格式化分类", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": U2[17] || (U2[17] = (l3) => e2.configure.props.format.type = l3), placeholder: "请选择" }, { default: u(() => [r(E, { label: "数值", value: "number" }), r(E, { label: "货币", value: "currency" }), r(E, { label: "日期", value: "date" }), r(E, { label: "时间", value: "time" }), r(E, { label: "百分比", value: "percent" }), r(E, { label: "自定义控件", value: "customControl" }), r(E, { label: "超链接", value: "hyperlinks" }), r(E, { label: "图标/标签", value: "icon" }), r(E, { label: "附件控件", value: "files" }), r(E, { label: "富文本", value: "richEditor" }), r(E, { label: "脱敏组件", value: "secretInfo" }), r(E, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (t(), o(L, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": U2[18] || (U2[18] = (l3) => e2.configure.props.format.decimalDigit = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": U2[19] || (U2[19] = (l3) => e2.configure.props.format.scientific = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (t(), o(L, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": U2[20] || (U2[20] = (l3) => e2.configure.props.format.scientificNum = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": U2[21] || (U2[21] = (l3) => e2.configure.props.format.thousandsSeparator = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": U2[22] || (U2[22] = (l3) => e2.configure.props.format.symbol = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "currency" === e2.configure.props.format.type ? (t(), o(L, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": U2[23] || (U2[23] = (l3) => e2.configure.props.format.currencySymbol = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "$", value: "$" }), r(E, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "date" === e2.configure.props.format.type ? (t(), o(L, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": U2[24] || (U2[24] = (l3) => e2.configure.props.format.dataType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "yyyy-m-d", value: "yyyy-m-d" }), r(E, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), r(E, { label: "yyyy-m", value: "yyyy-m" }), r(E, { label: "m-d", value: "m-d" }), r(E, { label: "yyyy", value: "yyyy" }), r(E, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), r(E, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), r(E, { label: "yyyy年m月", value: "yyyy年m月" }), r(E, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "time" === e2.configure.props.format.type ? (t(), o(L, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": U2[25] || (U2[25] = (l3) => e2.configure.props.format.timeType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "HH:mm", value: "HH:mm" }), r(E, { label: "HH:mm:ss", value: "HH:mm:ss" }), r(E, { label: "HH时mm分", value: "HH时mm分" }), r(E, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), r(E, { label: "hh:mm", value: "hh:mm" }), r(E, { label: "hh:mm:ss", value: "hh:mm:ss" }), r(E, { label: "hh时mm分", value: "hh时mm分" }), r(E, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "customControl" === e2.configure.props.format.type ? (t(), o(L, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[26] || (U2[26] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "hyperlinks" === e2.configure.props.format.type ? (t(), o(R, { key: 9, pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"])) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 10, label: "图标", class: "amb-design-attr-item" }, { default: u(() => [r(W, { modelValue: e2.configure.props.format.icon, "onUpdate:modelValue": U2[27] || (U2[27] = (l3) => e2.configure.props.format.icon = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 11, label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.position, "onUpdate:modelValue": U2[28] || (U2[28] = (l3) => e2.configure.props.format.position = l3), "active-text": "后缀", "inactive-text": "前缀", "active-value": "suf", "inactive-value": "pre" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 12, label: "回调事件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.event, "onUpdate:modelValue": U2[29] || (U2[29] = (l3) => e2.configure.props.format.event = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "custom" === e2.configure.props.format.type ? (t(), o(L, { key: 13, label: "自定义方法", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[30] || (U2[30] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 14, label: "是否多选", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": U2[31] || (U2[31] = (l3) => e2.configure.props.format.multiple = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 15, label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": U2[32] || (U2[32] = (l3) => e2.configure.props.format.accept = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 16, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: u(() => [r(X, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": U2[33] || (U2[33] = (l3) => e2.configure.props.format.limitFileSize = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (t(), o(L, { key: 17, label: "选择数据表" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": U2[34] || (U2[34] = (l3) => e2.configure.props.format.childAnnexDataTableCode = l3), onClick: l2.openSelectDataTable, clearable: "" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: l2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 18, label: "展示名字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.showName, "onUpdate:prop": U2[35] || (U2[35] = (l3) => e2.configure.props.format.showName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 19, label: "服务器字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.serverName, "onUpdate:prop": U2[36] || (U2[36] = (l3) => e2.configure.props.format.serverName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true)])]), _: 1 }), (t(), o(b, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (t(), o(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(Z, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": U2[37] || (U2[37] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(B, { span: 8 }, { default: u(() => [r(Z, { label: "自定义", value: "custom" })]), _: 1 }), r(B, { span: 14 }, { default: u(() => [r(M, { type: "default" }, { default: u(() => U2[51] || (U2[51] = [c("自定义逻辑")])), _: 1 }), r(M, { type: "default", icon: d(h), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), (t(), o(y, { key: e2.configure.uuid, size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"]), r(C, { ref_key: "selectTableDialog", ref: S, onSelectTable: P, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
35
+ }(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), r(L, { label: "节点内容", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.contentLogic, "onUpdate:modelValue": U2[11] || (U2[11] = (l3) => e2.configure.props.format.contentLogic = l3), filterable: "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(e2.pageDesign.customEvents, (e3) => (t(), o(E, { label: e3.eventName, value: e3.uuid }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r($, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": U2[12] || (U2[12] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [r(G, { value: "default" }, { default: u(() => U2[49] || (U2[49] = [c("普通")])), _: 1 }), r(G, { value: "hidden" }, { default: u(() => U2[50] || (U2[50] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(L, { label: "对应数据表", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.base.treeTableName, "onUpdate:modelValue": U2[13] || (U2[13] = (l3) => e2.configure.props.base.treeTableName = l3), title: e2.configure.props.base.treeTableName, clearable: "", readonly: "true", onClick: O, placeholder: "请选择数据表" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: O, size: "small" }, null, 8, ["icon"]), r(M, { type: "default", icon: d(k), onClick: A, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), r(K, { class: "box-item", content: "使用右键菜单编辑保存时需要配置" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "父节点关联属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeParentIdProp, "onUpdate:modelValue": U2[14] || (U2[14] = (l3) => e2.configure.props.base.treeParentIdProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点nodeId对应数据表的父节点属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 }), r(L, { label: "标签属性", class: "amb-design-attr-item" }, { default: u(() => [r(B, { span: 20 }, { default: u(() => [r(I, { modelValue: e2.configure.props.base.treeLabelProp, "onUpdate:modelValue": U2[15] || (U2[15] = (l3) => e2.configure.props.base.treeLabelProp = l3), clearable: "", filterable: "", "allow-create": "", placeholder: "请选择" }, { default: u(() => [(t(true), i(m, null, p(z.value, (e3) => (t(), o(E, { key: e3.dbColumnName, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(K, { class: "box-item", content: "树节点Label对应数据表的属性字段名" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })])]), _: 1 }), r(Q, { title: "右键菜单", name: "nodeContextmenu", class: "amb-design-attr-group-header" }, { default: u(() => [r(v, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])]), _: 1 }), (t(), o(b, { key: e2.configure.uuid, configure: e2.configure }, { beanName: u(() => [r(L, { label: "", class: "amb-design-attr-item" }, { default: u(() => [e2.configure.props.dataOrigin ? (t(), o(B, { key: 0, span: 20 }, { default: u(() => [r(q, { modelValue: e2.configure.props.dataOrigin.beanName, "onUpdate:modelValue": U2[16] || (U2[16] = (l3) => e2.configure.props.dataOrigin.beanName = l3), placeholder: "beanName" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), r(K, { class: "box-item", content: "为空时默认使用页面配置的自定义bean" }, { default: u(() => [r(J, null, { default: u(() => [r(d(x))]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["configure"])), r(Q, { title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", T, [r(L, { label: "格式化分类", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": U2[17] || (U2[17] = (l3) => e2.configure.props.format.type = l3), placeholder: "请选择" }, { default: u(() => [r(E, { label: "数值", value: "number" }), r(E, { label: "货币", value: "currency" }), r(E, { label: "日期", value: "date" }), r(E, { label: "时间", value: "time" }), r(E, { label: "百分比", value: "percent" }), r(E, { label: "自定义控件", value: "customControl" }), r(E, { label: "超链接", value: "hyperlinks" }), r(E, { label: "图标/标签", value: "icon" }), r(E, { label: "附件控件", value: "files" }), r(E, { label: "富文本", value: "richEditor" }), r(E, { label: "脱敏组件", value: "secretInfo" }), r(E, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (t(), o(L, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": U2[18] || (U2[18] = (l3) => e2.configure.props.format.decimalDigit = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": U2[19] || (U2[19] = (l3) => e2.configure.props.format.scientific = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (t(), o(L, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": U2[20] || (U2[20] = (l3) => e2.configure.props.format.scientificNum = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": U2[21] || (U2[21] = (l3) => e2.configure.props.format.thousandsSeparator = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "number" === e2.configure.props.format.type ? (t(), o(L, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": U2[22] || (U2[22] = (l3) => e2.configure.props.format.symbol = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "currency" === e2.configure.props.format.type ? (t(), o(L, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": U2[23] || (U2[23] = (l3) => e2.configure.props.format.currencySymbol = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "$", value: "$" }), r(E, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "date" === e2.configure.props.format.type ? (t(), o(L, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": U2[24] || (U2[24] = (l3) => e2.configure.props.format.dataType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "yyyy-m-d", value: "yyyy-m-d" }), r(E, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), r(E, { label: "yyyy-m", value: "yyyy-m" }), r(E, { label: "m-d", value: "m-d" }), r(E, { label: "yyyy", value: "yyyy" }), r(E, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), r(E, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), r(E, { label: "yyyy年m月", value: "yyyy年m月" }), r(E, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "time" === e2.configure.props.format.type ? (t(), o(L, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: u(() => [r(I, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": U2[25] || (U2[25] = (l3) => e2.configure.props.format.timeType = l3), placeholder: "Select" }, { default: u(() => [r(E, { label: "HH:mm", value: "HH:mm" }), r(E, { label: "HH:mm:ss", value: "HH:mm:ss" }), r(E, { label: "HH时mm分", value: "HH时mm分" }), r(E, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), r(E, { label: "hh:mm", value: "hh:mm" }), r(E, { label: "hh:mm:ss", value: "hh:mm:ss" }), r(E, { label: "hh时mm分", value: "hh时mm分" }), r(E, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "customControl" === e2.configure.props.format.type ? (t(), o(L, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[26] || (U2[26] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "hyperlinks" === e2.configure.props.format.type ? (t(), o(R, { key: 9, pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"])) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 10, label: "图标", class: "amb-design-attr-item" }, { default: u(() => [r(W, { modelValue: e2.configure.props.format.icon, "onUpdate:modelValue": U2[27] || (U2[27] = (l3) => e2.configure.props.format.icon = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 11, label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.position, "onUpdate:modelValue": U2[28] || (U2[28] = (l3) => e2.configure.props.format.position = l3), "active-text": "后缀", "inactive-text": "前缀", "active-value": "suf", "inactive-value": "pre" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "icon" === e2.configure.props.format.type ? (t(), o(L, { key: 12, label: "回调事件", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.event, "onUpdate:modelValue": U2[29] || (U2[29] = (l3) => e2.configure.props.format.event = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "custom" === e2.configure.props.format.type ? (t(), o(L, { key: 13, label: "自定义方法", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": U2[30] || (U2[30] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 14, label: "是否多选", class: "amb-design-attr-item" }, { default: u(() => [r(F, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": U2[31] || (U2[31] = (l3) => e2.configure.props.format.multiple = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 15, label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": U2[32] || (U2[32] = (l3) => e2.configure.props.format.accept = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 16, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: u(() => [r(X, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": U2[33] || (U2[33] = (l3) => e2.configure.props.format.limitFileSize = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (t(), o(L, { key: 17, label: "选择数据表" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": U2[34] || (U2[34] = (l3) => e2.configure.props.format.childAnnexDataTableCode = l3), onClick: l2.openSelectDataTable, clearable: "" }, { append: u(() => [r(M, { type: "default", icon: d(h), onClick: l2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 18, label: "展示名字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.showName, "onUpdate:prop": U2[35] || (U2[35] = (l3) => e2.configure.props.format.showName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true), "files" === e2.configure.props.format.type ? (t(), o(L, { key: 19, label: "服务器字段", class: "amb-design-attr-item" }, { default: u(() => [r(Y, { prop: e2.configure.props.format.serverName, "onUpdate:prop": U2[36] || (U2[36] = (l3) => e2.configure.props.format.serverName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : s("", true)])]), _: 1 }), (t(), o(g, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (t(), o(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(Z, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": U2[37] || (U2[37] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(L, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(B, { span: 8 }, { default: u(() => [r(Z, { label: "自定义", value: "custom" })]), _: 1 }), r(B, { span: 14 }, { default: u(() => [r(M, { type: "default" }, { default: u(() => U2[51] || (U2[51] = [c("自定义逻辑")])), _: 1 }), r(M, { type: "default", icon: d(h), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), (t(), o(y, { key: e2.configure.uuid, size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"]), r(C, { ref_key: "selectTableDialog", ref: S, onSelectTable: P, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
36
36
  };
37
37
  } });
38
38
  export {
@@ -1,11 +1,11 @@
1
- import { defineComponent as e, ref as a, watch as t, resolveComponent as i, createElementBlock as n, openBlock as l, normalizeClass as o, createVNode as c, normalizeStyle as r } from "vue";
1
+ import { defineComponent as e, ref as a, watch as t, resolveComponent as i, createElementBlock as n, openBlock as o, normalizeClass as l, createVNode as c, normalizeStyle as r } from "vue";
2
2
  import { caculateDetailComponentStyle as d, caculateComponentProps as s } from "../../../../utils/form-design-util.js";
3
3
  const u = e({ __name: "tree-design", props: { configure: Object }, emits: ["handleSelect"], setup(e2, { emit: u2 }) {
4
4
  const p = e2;
5
5
  null == p.configure.title && (p.configure.title = "");
6
6
  const f = { id: "nodeId", label: "name", children: "children", isLeaf: "leaf", disabled: "disabled", nodeType: "nodeType", iconType: "iconType", iconValue: "iconValue" }, b = a({}), h = a(""), x = a({}), g = a({});
7
7
  return t(p.configure.style, () => {
8
- d(p.configure, b, h, x), b.value, p.configure.runtime.style = b.value, p.configure.runtime.class = h.value, p.configure.runtime.headerStyle = x.value;
8
+ d(p.configure, b, h, x), p.configure.runtime.style = b.value, p.configure.runtime.class = h.value, p.configure.runtime.headerStyle = x.value;
9
9
  }, { immediate: true }), t(p.configure.props, () => {
10
10
  s(p.configure, g), function() {
11
11
  let e3 = {};
@@ -22,7 +22,7 @@ const u = e({ __name: "tree-design", props: { configure: Object }, emits: ["hand
22
22
  }(), p.configure.runtime.props = g.value;
23
23
  }, { immediate: true }), (e3, a2) => {
24
24
  const t2 = i("el-tree");
25
- return l(), n("div", { class: o(["amb-tree-group-main", h.value]) }, [c(t2, { style: r([b.value, { width: "100%" }]), data: g.value.staticData, "default-expand-all": g.value.defaultExpandAll, "expand-on-click-node": g.value.expandOnClickNode, indent: g.value.retractWidth ? g.value.retractWidth : 18, accordion: g.value.accordion, "show-checkbox": g.value.showCheckbox, props: f }, null, 8, ["style", "data", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox"])], 2);
25
+ return o(), n("div", { class: l(["amb-tree-group-main", h.value]) }, [c(t2, { style: r([b.value, { width: "100%" }]), data: g.value.staticData, "default-expand-all": g.value.defaultExpandAll, "expand-on-click-node": g.value.expandOnClickNode, indent: g.value.retractWidth ? g.value.retractWidth : 18, accordion: g.value.accordion, "show-checkbox": g.value.showCheckbox, props: f }, null, 8, ["style", "data", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox"])], 2);
26
26
  };
27
27
  } });
28
28
  export {
@@ -1,52 +1,84 @@
1
- import { defineComponent as l, ref as e, resolveComponent as a, createElementBlock as o, openBlock as t, Fragment as u, createElementVNode as r, createVNode as d, withDirectives as n, withCtx as p, createTextVNode as i, toDisplayString as T, vShow as m, unref as c, renderList as b, createBlock as v } from "vue";
2
- import { Plus as f, Delete as w } from "@element-plus/icons";
3
- import y from "../../common/common-variable-bind.vue.js";
4
- import { getUuidv4 as s } from "../../../../utils/common-util.js";
5
- const V = { class: "dialog-footer" }, h = l({ __name: "condition", props: { list: { type: Array, default: () => [] }, title: String, buttonText: { type: String, default: "编辑" } }, setup(l2, { expose: h2 }) {
6
- const N = l2, _ = e([]);
7
- N.list && (_.value = N.list);
8
- const E = e(false), g = e({});
9
- function U() {
10
- _.value && _.value.length > 0 && _.value.splice(_.value.length - 1, 1);
11
- }
12
- function L(l3) {
13
- g.value = l3;
14
- }
15
- function k() {
16
- _.value.push({ uuid: s(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" });
17
- }
18
- function C(l3) {
19
- let e2 = -1;
20
- const a2 = N.list.length;
21
- for (let o2 = 0; o2 < a2; o2++) if (_.value[o2].uuid == l3.uuid) {
22
- e2 = o2;
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createElementBlock as t, openBlock as o, Fragment as u, createElementVNode as r, createVNode as d, withDirectives as n, withCtx as p, createTextVNode as i, toDisplayString as s, vShow as m, unref as T } from "vue";
2
+ import { Plus as c, Delete as f } from "@element-plus/icons";
3
+ import b from "../../common/common-variable-bind.vue.js";
4
+ import { getUuidv4 as v } from "../../../../utils/common-util.js";
5
+ import { usePageContextStore as y } from "../../../../../../stores/page-store.js";
6
+ import { getModelOptionsByFields as w, getTableConfigByTableUuid as g } from "../../../../utils/page-table-util.js";
7
+ const h = { class: "dialog-footer" }, V = e({ __name: "condition", props: { list: { type: Array, default: () => [] }, title: String, buttonText: { type: String, default: "编辑" }, paramTypes: { type: Array, default: () => ["data", "task", "page", "request", "row", "context", "fixed"] }, tableConfigure: { type: Object, default: () => {
8
+ } } }, setup(e2, { expose: V2 }) {
9
+ const _ = y(), E = e2, N = l([]);
10
+ let O;
11
+ E.list && (N.value = E.list);
12
+ const U = _.pageContext, L = U ? U.pageType : null;
13
+ !L || "form" !== L && "list" !== L || (O = U.modelFields);
14
+ const k = l(null);
15
+ O && O.length > 0 && (k.value = w(O));
16
+ const C = l(null);
17
+ function I(e3) {
18
+ e3 && (C.value = w(e3.modelFields));
19
+ }
20
+ I(E.tableConfigure);
21
+ const B = l(false), A = l({});
22
+ function G() {
23
+ var _a;
24
+ I(g(U, null, E.tableConfigure)), R((_a = E.tableConfigure) == null ? void 0 : _a.modelFields), B.value = true;
25
+ }
26
+ function j() {
27
+ N.value && N.value.length > 0 && N.value.splice(N.value.length - 1, 1);
28
+ }
29
+ function x(e3) {
30
+ A.value = e3;
31
+ }
32
+ function F() {
33
+ N.value.push({ uuid: v(), leftBracket: "", propName: "", operator: "", propValueType: "", rightBracket: "", joinSign: "", dataType: "" });
34
+ }
35
+ function M(e3) {
36
+ let l2 = -1;
37
+ const a2 = E.list.length;
38
+ for (let t2 = 0; t2 < a2; t2++) if (N.value[t2].uuid == e3.uuid) {
39
+ l2 = t2;
23
40
  break;
24
41
  }
25
- return e2;
26
- }
27
- const O = e([]);
28
- return h2({ changeTableFields: function(l3) {
29
- O.value = l3 || [];
30
- } }), (e2, s2) => {
31
- const h3 = a("el-button"), N2 = a("el-text"), g2 = a("el-row"), I = a("Top"), B = a("el-icon"), G = a("Bottom"), A = a("el-table-column"), D = a("el-option"), S = a("el-select"), x = a("el-table"), j = a("el-dialog");
32
- return t(), o(u, null, [r("div", null, [d(h3, { type: "primary", onClick: s2[0] || (s2[0] = (l3) => E.value = true) }, { default: p(() => [i(T(l2.buttonText), 1)]), _: 1 }), n(d(N2, { type: "success" }, { default: p(() => s2[4] || (s2[4] = [i(" 已设置条件.")])), _: 1 }, 512), [[m, l2.list && l2.list.length > 0]])]), d(j, { "append-to-body": "", modelValue: E.value, "onUpdate:modelValue": s2[3] || (s2[3] = (l3) => E.value = l3), title: l2.title, width: "840" }, { footer: p(() => [r("div", V, [d(h3, { type: "default", onClick: s2[1] || (s2[1] = (l3) => E.value = false) }, { default: p(() => s2[7] || (s2[7] = [i("取消")])), _: 1 }), d(h3, { type: "primary", onClick: s2[2] || (s2[2] = (l3) => E.value = false) }, { default: p(() => s2[8] || (s2[8] = [i(" 确定 ")])), _: 1 })])]), default: p(() => [d(g2, { style: { "padding-bottom": "8px" } }, { default: p(() => [d(h3, { icon: c(f), plain: "", type: "primary", onClick: k }, { default: p(() => s2[5] || (s2[5] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), d(h3, { icon: c(w), plain: "", type: "primary", onClick: U }, { default: p(() => s2[6] || (s2[6] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(x, { border: "", "highlight-current-row": "", onCurrentChange: L, data: _.value, style: { width: "100%" } }, { default: p(() => [d(A, { width: "36" }, { default: p((l3) => [d(B, { size: "14", style: { cursor: "pointer" }, onClick: (e3) => function(l4) {
33
- let e4 = C(l4);
34
- if (e4 < 1) return;
35
- const a2 = _.value;
36
- [a2[e4 - 1], a2[e4]] = [a2[e4], a2[e4 - 1]];
37
- }(l3.row) }, { default: p(() => [d(I)]), _: 2 }, 1032, ["onClick"]), d(B, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (e3) => function(l4) {
38
- let e4 = C(l4);
39
- const a2 = _.value;
40
- -1 != e4 && a2.length != e4 + 1 && ([a2[e4], a2[e4 + 1]] = [a2[e4 + 1], a2[e4]]);
41
- }(l3.row) }, { default: p(() => [d(G)]), _: 2 }, 1032, ["onClick"])]), _: 1 }), d(A, { prop: "leftBracket", label: "(", width: "80" }, { default: p((l3) => [d(S, { modelValue: l3.row.leftBracket, "onUpdate:modelValue": (e3) => l3.row.leftBracket = e3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(D, { label: "", value: "" }), d(D, { label: "(", value: "(" }), d(D, { label: "((", value: "((" }), d(D, { label: "(((", value: "(((" }), d(D, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(A, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((l3) => [d(S, { modelValue: l3.row.propName, "onUpdate:modelValue": (e3) => l3.row.propName = e3, clearable: "", filterable: "", onChange: (e3) => function(l4, e4) {
42
- if (!e4) return;
43
- const a2 = O.value.filter((e5) => e5.name == l4 || e5.dbColumnName == l4);
44
- a2 && a2.length > 0 ? e4.dataType = a2[0].dataType : e4.dataType = "TEXT";
45
- }(e3, l3.row), placeholder: "请选择" }, { default: p(() => [(t(true), o(u, null, b(O.value, (l4, e3) => (t(), v(D, { key: l4.dbColumnName, label: l4.alias + "(" + l4.dbColumnName + ")", value: l4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), d(A, { prop: "operator", label: "操作符", width: "90" }, { default: p((l3) => [d(S, { modelValue: l3.row.operator, "onUpdate:modelValue": (e3) => l3.row.operator = e3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(d(D, { label: "大于", value: "GT" }, null, 512), [[m, "INTEGER" == l3.row.dataType || "LONG" == l3.row.dataType || "FLOAT" == l3.row.dataType || "DOUBLE" == l3.row.dataType]]), n(d(D, { label: "小于", value: "LT" }, null, 512), [[m, "INTEGER" == l3.row.dataType || "LONG" == l3.row.dataType || "FLOAT" == l3.row.dataType || "DOUBLE" == l3.row.dataType]]), n(d(D, { label: "晚于", value: "GT" }, null, 512), [[m, "DATE" == l3.row.dataType || "TIME" == l3.row.dataType]]), n(d(D, { label: "早于", value: "LT" }, null, 512), [[m, "DATE" == l3.row.dataType || "TIME" == l3.row.dataType]]), d(D, { label: "等于", value: "EQ" }), n(d(D, { label: "不大于", value: "LET" }, null, 512), [[m, "INTEGER" == l3.row.dataType || "LONG" == l3.row.dataType || "FLOAT" == l3.row.dataType || "DOUBLE" == l3.row.dataType]]), n(d(D, { label: "不小于", value: "GET" }, null, 512), [[m, "INTEGER" == l3.row.dataType || "LONG" == l3.row.dataType || "FLOAT" == l3.row.dataType || "DOUBLE" == l3.row.dataType]]), n(d(D, { label: "不晚于", value: "LET" }, null, 512), [[m, "DATE" == l3.row.dataType || "TIME" == l3.row.dataType]]), n(d(D, { label: "不早于", value: "GET" }, null, 512), [[m, "DATE" == l3.row.dataType || "TIME" == l3.row.dataType]]), d(D, { label: "不等于", value: "NET" }), n(d(D, { label: "包含", value: "CONTAIN" }, null, 512), [[m, "TEXT" == l3.row.dataType]]), n(d(D, { label: "不包含", value: "NOT_CONTAIN" }, null, 512), [[m, "TEXT" == l3.row.dataType]]), d(D, { label: "等于Null", value: "IS_NULL" }), d(D, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(A, { prop: "propValue", label: "值(*)", width: "150" }, { default: p((l3) => [d(y, { modelValue: l3.row.propValue, "onUpdate:modelValue": (e3) => function(l4, e4) {
46
- e4.propValue = l4;
47
- }(e3, l3.row) }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(A, { prop: "rightBracket", label: ")", width: "80" }, { default: p((l3) => [d(S, { modelValue: l3.row.rightBracket, "onUpdate:modelValue": (e3) => l3.row.rightBracket = e3, placeholder: "请选择", clearable: "" }, { default: p(() => [d(D, { label: "", value: "" }), d(D, { label: ")", value: ")" }), d(D, { label: "))", value: "))" }), d(D, { label: ")))", value: ")))" }), d(D, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(A, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((l3) => [d(S, { modelValue: l3.row.joinSign, "onUpdate:modelValue": (e3) => l3.row.joinSign = e3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(D, { label: "或者", value: "or" }), d(D, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(A, { prop: "variableIsNull", label: "变量为空时", width: "130" }, { default: p((l3) => [d(S, { modelValue: l3.row.variableIsNull, "onUpdate:modelValue": (e3) => l3.row.variableIsNull = e3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(D, { label: "Null", value: "null" }), d(D, { label: "忽略(1=1)", value: "ignore" }), d(D, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
42
+ return l2;
43
+ }
44
+ function D(e3, l2, a2) {
45
+ if ("propValue" == a2) l2.propValue = e3;
46
+ else {
47
+ l2.propName = e3;
48
+ let a3 = "";
49
+ if (e3 && e3.startsWith("${")) {
50
+ let l3 = e3.substring(2, e3.length - 1);
51
+ if (l3.startsWith("page.")) ;
52
+ else if (l3.startsWith("data.")) {
53
+ l3 = l3.substring(5);
54
+ const e4 = _.getModelField(l3);
55
+ a3 = e4 ? e4.dataType : null;
56
+ } else if (l3.startsWith("row.")) {
57
+ const e4 = l3.substring(l3.indexOf(".") + 1), t2 = S.value.filter((l4) => l4.name === e4 || l4.dbColumnName === e4);
58
+ a3 = t2 && t2.length > 0 ? t2[0].dataType : "TEXT";
59
+ }
60
+ }
61
+ l2.dataType = a3;
62
+ }
63
+ }
64
+ const S = l([]);
65
+ function R(e3) {
66
+ S.value = e3 || [];
67
+ }
68
+ return V2({ changeTableFields: R }), (l2, v2) => {
69
+ const y2 = a("el-button"), w2 = a("el-text"), g2 = a("el-row"), V3 = a("Top"), _2 = a("el-icon"), E2 = a("Bottom"), O2 = a("el-table-column"), U2 = a("el-option"), L2 = a("el-select"), I2 = a("el-table"), A2 = a("el-dialog");
70
+ return o(), t(u, null, [r("div", null, [d(y2, { type: "primary", onClick: v2[0] || (v2[0] = (e3) => G()) }, { default: p(() => [i(s(e2.buttonText), 1)]), _: 1 }), n(d(w2, { type: "success" }, { default: p(() => v2[4] || (v2[4] = [i(" 已设置条件.")])), _: 1 }, 512), [[m, e2.list && e2.list.length > 0]])]), d(A2, { "append-to-body": "", modelValue: B.value, "onUpdate:modelValue": v2[3] || (v2[3] = (e3) => B.value = e3), title: e2.title, width: "840" }, { footer: p(() => [r("div", h, [d(y2, { type: "default", onClick: v2[1] || (v2[1] = (e3) => B.value = false) }, { default: p(() => v2[7] || (v2[7] = [i("取消")])), _: 1 }), d(y2, { type: "primary", onClick: v2[2] || (v2[2] = (e3) => B.value = false) }, { default: p(() => v2[8] || (v2[8] = [i(" 确定 ")])), _: 1 })])]), default: p(() => [d(g2, { style: { "padding-bottom": "8px" } }, { default: p(() => [d(y2, { icon: T(c), plain: "", type: "primary", onClick: F }, { default: p(() => v2[5] || (v2[5] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), d(y2, { icon: T(f), plain: "", type: "primary", onClick: j }, { default: p(() => v2[6] || (v2[6] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), d(I2, { border: "", "highlight-current-row": "", onCurrentChange: x, data: N.value, style: { width: "100%" } }, { default: p(() => [d(O2, { width: "36" }, { default: p((e3) => [d(_2, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
71
+ let l4 = M(e4);
72
+ if (l4 < 1) return;
73
+ const a2 = N.value;
74
+ [a2[l4 - 1], a2[l4]] = [a2[l4], a2[l4 - 1]];
75
+ }(e3.row) }, { default: p(() => [d(V3)]), _: 2 }, 1032, ["onClick"]), d(_2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
76
+ let l4 = M(e4);
77
+ const a2 = N.value;
78
+ -1 != l4 && a2.length != l4 + 1 && ([a2[l4], a2[l4 + 1]] = [a2[l4 + 1], a2[l4]]);
79
+ }(e3.row) }, { default: p(() => [d(E2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }), d(O2, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "", value: "" }), d(U2, { label: "(", value: "(" }), d(U2, { label: "((", value: "((" }), d(U2, { label: "(((", value: "(((" }), d(U2, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((l3) => [d(b, { modelValue: l3.row.propName, dataModelOptions: k.value, objModelOptions: C.value, paramTypes: e2.paramTypes, "onUpdate:modelValue": (e3) => D(e3, l3.row, "propName") }, null, 8, ["modelValue", "dataModelOptions", "objModelOptions", "paramTypes", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "operator", label: "操作符", width: "90" }, { default: p((e3) => [d(L2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [n(d(U2, { label: "大于", value: "GT" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "小于", value: "LT" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "晚于", value: "GT" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), n(d(U2, { label: "早于", value: "LT" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), d(U2, { label: "等于", value: "EQ" }), n(d(U2, { label: "不大于", value: "LET" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "不小于", value: "GET" }, null, 512), [[m, "INTEGER" == e3.row.dataType || "LONG" == e3.row.dataType || "FLOAT" == e3.row.dataType || "DOUBLE" == e3.row.dataType]]), n(d(U2, { label: "不晚于", value: "LET" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), n(d(U2, { label: "不早于", value: "GET" }, null, 512), [[m, "DATE" == e3.row.dataType || "TIME" == e3.row.dataType]]), d(U2, { label: "不等于", value: "NET" }), n(d(U2, { label: "包含", value: "CONTAIN" }, null, 512), [[m, "TEXT" == e3.row.dataType]]), n(d(U2, { label: "不包含", value: "NOT_CONTAIN" }, null, 512), [[m, "TEXT" == e3.row.dataType]]), d(U2, { label: "等于Null", value: "IS_NULL" }), d(U2, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "propValue", label: "值(*)", width: "150" }, { default: p((e3) => [d(b, { modelValue: e3.row.propValue, "onUpdate:modelValue": (l3) => D(l3, e3.row, "propValue") }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "请选择", clearable: "" }, { default: p(() => [d(U2, { label: "", value: "" }), d(U2, { label: ")", value: ")" }), d(U2, { label: "))", value: "))" }), d(U2, { label: ")))", value: ")))" }), d(U2, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e3) => [d(L2, { modelValue: e3.row.joinSign, "onUpdate:modelValue": (l3) => e3.row.joinSign = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "或者", value: "or" }), d(U2, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(O2, { prop: "variableIsNull", label: "变量为空时", width: "130" }, { default: p((e3) => [d(L2, { modelValue: e3.row.variableIsNull, "onUpdate:modelValue": (l3) => e3.row.variableIsNull = l3, clearable: "", placeholder: "请选择" }, { default: p(() => [d(U2, { label: "Null", value: "null" }), d(U2, { label: "忽略(1=1)", value: "ignore" }), d(U2, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"])], 64);
48
80
  };
49
81
  } });
50
82
  export {
51
- h as default
83
+ V as default
52
84
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as i, createElementVNode as n, createVNode as s, createCommentVNode as d, withDirectives as r, unref as m, createElementBlock as p, Fragment as c, renderList as b, createTextVNode as f, vShow as y, normalizeClass as v } from "vue";
2
- import V from "./dataorigin-input-table.vue.js";
2
+ import V from "./dataorigin-input-table.vue2.js";
3
3
  import g from "./condition.vue.js";
4
4
  import S from "./row-ul-li.vue.js";
5
5
  import "uuid";
@@ -1,28 +1,4 @@
1
- import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
2
- import { Search as p } from "@element-plus/icons-vue";
3
- const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
4
- const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
5
- function y() {
6
- if (_.value.length > 0) {
7
- let e3 = "";
8
- _.value.forEach((l2) => {
9
- e3 = e3 + l2.name + ",";
10
- }), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
11
- } else b.value = false;
12
- }
13
- function S(e3) {
14
- _.value = e3;
15
- }
16
- function w() {
17
- b.value = true;
18
- }
19
- return a(() => c.modelValue, (e3) => {
20
- g.value = e3;
21
- }), (e3, l2) => {
22
- const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
- return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
- };
25
- } });
1
+ import t from "./dataorigin-input-table.vue2.js";
26
2
  export {
27
- v as default
3
+ t as default
28
4
  };
@@ -1,4 +1,28 @@
1
- import t from "./dataorigin-input-table.vue.js";
1
+ import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
2
+ import { Search as p } from "@element-plus/icons-vue";
3
+ const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
4
+ const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
5
+ function y() {
6
+ if (_.value.length > 0) {
7
+ let e3 = "";
8
+ _.value.forEach((l2) => {
9
+ e3 = e3 + l2.name + ",";
10
+ }), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
11
+ } else b.value = false;
12
+ }
13
+ function S(e3) {
14
+ _.value = e3;
15
+ }
16
+ function w() {
17
+ b.value = true;
18
+ }
19
+ return a(() => c.modelValue, (e3) => {
20
+ g.value = e3;
21
+ }), (e3, l2) => {
22
+ const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
+ return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
+ };
25
+ } });
2
26
  export {
3
- t as default
27
+ v as default
4
28
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, nextTick as a, resolveComponent as i, createElementBlock as n, openBlock as t, Fragment as o, createBlock as u, createCommentVNode as g, createVNode as d, withCtx as p, createTextVNode as r, toDisplayString as s, renderList as m, unref as c, createElementVNode as f } from "vue";
1
+ import { defineComponent as e, ref as l, nextTick as a, resolveComponent as n, createElementBlock as i, openBlock as t, Fragment as o, createBlock as u, createCommentVNode as g, createVNode as d, withCtx as p, createTextVNode as r, toDisplayString as s, renderList as m, unref as c, createElementVNode as f } from "vue";
2
2
  import k from "./suffixmodule.vue.js";
3
3
  import P from "./condition.vue.js";
4
4
  import { getCustomFuncs as y } from "../../../../utils/page-event-util.js";
@@ -10,35 +10,32 @@ const v = { class: "dialog-footer" }, C = e({ __name: "hyperlink-mult-config", p
10
10
  x("update:linkPage", [e3]);
11
11
  }
12
12
  } else x("update:linkPage", []);
13
- function T() {
13
+ function $() {
14
14
  h.linkPage || x("update:linkPage", []), h.linkPage.push({ jumpConditionType: "none", conditions: [], customFunc: "", jumpPageSetting: {} });
15
15
  }
16
- function $(e3) {
17
- _.value = e3, b.value = true, "config" === h.linkPage[_.value].jumpConditionType && V();
16
+ function T(e3) {
17
+ _.value = e3, b.value = true;
18
18
  }
19
19
  function V(e3) {
20
- j.value.changeTableFields(h.tableConfigure.modelFields);
21
- }
22
- function D(e3) {
23
20
  e3();
24
21
  }
25
22
  return a(() => {
26
23
  S.value = true;
27
24
  }), (e3, l2) => {
28
- const a2 = i("el-button"), C3 = i("el-link"), x2 = i("el-tooltip"), F = i("el-table-column"), z = i("Plus"), U = i("el-icon"), w = i("Delete"), B = i("el-table"), N = i("el-radio"), A = i("el-radio-group"), J = i("el-form-item"), O = i("el-option"), R = i("el-select"), q = i("el-dialog");
29
- return t(), n(o, null, [S.value ? (t(), u(B, { key: 0, data: e3.linkPage, style: { width: "100%" } }, { default: p(() => [d(F, { prop: "value", label: "链接页面", align: "center" }, { default: p((i2) => {
25
+ const a2 = n("el-button"), C3 = n("el-link"), x2 = n("el-tooltip"), D = n("el-table-column"), z = n("Plus"), U = n("el-icon"), w = n("Delete"), F = n("el-table"), B = n("el-radio"), N = n("el-radio-group"), A = n("el-form-item"), J = n("el-option"), O = n("el-select"), R = n("el-dialog");
26
+ return t(), i(o, null, [S.value ? (t(), u(F, { key: 0, data: e3.linkPage, style: { width: "100%" } }, { default: p(() => [d(D, { prop: "value", label: "链接页面", align: "center" }, { default: p((n2) => {
30
27
  var _a, _b, _c, _d;
31
- return [((_a = e3.linkPage[i2.$index].jumpPageSetting) == null ? void 0 : _a.jumpPageUrl) ? "page" === ((_b = e3.linkPage[i2.$index].jumpPageSetting) == null ? void 0 : _b.linkType) ? (t(), u(C3, { key: 1, type: "primary", onClick: (e4) => $(i2.$index) }, { default: p(() => {
28
+ return [((_a = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _a.jumpPageUrl) ? "page" === ((_b = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _b.linkType) ? (t(), u(C3, { key: 1, type: "primary", onClick: (e4) => T(n2.$index) }, { default: p(() => {
32
29
  var _a2;
33
- return [r(s((_a2 = e3.linkPage[i2.$index].jumpPageSetting) == null ? void 0 : _a2.jumpPageName), 1)];
34
- }), _: 2 }, 1032, ["onClick"])) : "url" === ((_c = e3.linkPage[i2.$index].jumpPageSetting) == null ? void 0 : _c.linkType) ? (t(), u(x2, { key: 2, class: "box-item", content: (_d = e3.linkPage[i2.$index].jumpPageSetting) == null ? void 0 : _d.jumpPageUrl }, { default: p(() => [d(C3, { type: "primary", onClick: (e4) => $(i2.$index) }, { default: p(() => {
30
+ return [r(s((_a2 = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _a2.jumpPageName), 1)];
31
+ }), _: 2 }, 1032, ["onClick"])) : "url" === ((_c = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _c.linkType) ? (t(), u(x2, { key: 2, class: "box-item", content: (_d = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _d.jumpPageUrl }, { default: p(() => [d(C3, { type: "primary", onClick: (e4) => T(n2.$index) }, { default: p(() => {
35
32
  var _a2;
36
- return [r(s((_a2 = e3.linkPage[i2.$index].jumpPageSetting) == null ? void 0 : _a2.jumpPageUrl), 1)];
37
- }), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1032, ["content"])) : g("", true) : (t(), u(a2, { key: 0, type: "primary", onClick: (e4) => $(i2.$index) }, { default: p(() => l2[5] || (l2[5] = [r(" 设置 ")])), _: 2 }, 1032, ["onClick"]))];
38
- }), _: 1 }), d(F, { label: "操作", align: "center" }, { header: p(() => [d(U, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold" }, onClick: T }, { default: p(() => [d(z)]), _: 1 })]), default: p((e4) => [d(U, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
33
+ return [r(s((_a2 = e3.linkPage[n2.$index].jumpPageSetting) == null ? void 0 : _a2.jumpPageUrl), 1)];
34
+ }), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1032, ["content"])) : g("", true) : (t(), u(a2, { key: 0, type: "primary", onClick: (e4) => T(n2.$index) }, { default: p(() => l2[5] || (l2[5] = [r(" 设置 ")])), _: 2 }, 1032, ["onClick"]))];
35
+ }), _: 1 }), d(D, { label: "操作", align: "center" }, { header: p(() => [d(U, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold" }, onClick: $ }, { default: p(() => [d(z)]), _: 1 })]), default: p((e4) => [d(U, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
39
36
  return e4.row, a3 = e4.$index, void h.linkPage.splice(a3, 1);
40
37
  var a3;
41
- } }, { default: p(() => [d(w)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : g("", true), d(q, { "append-to-body": "", modelValue: b.value, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => b.value = e4), title: "链接配置", width: "500", "before-close": D, "destroy-on-close": "" }, { footer: p(() => [f("div", v, [d(a2, { type: "default", onClick: l2[2] || (l2[2] = (e4) => b.value = false) }, { default: p(() => l2[9] || (l2[9] = [r("取消")])), _: 1 }), d(a2, { type: "primary", onClick: l2[3] || (l2[3] = (e4) => b.value = false) }, { default: p(() => l2[10] || (l2[10] = [r(" 确定 ")])), _: 1 })])]), default: p(() => [d(J, { label: "跳转条件", class: "amb-design-attr-item" }, { default: p(() => [d(A, { modelValue: e3.linkPage[_.value].jumpConditionType, "onUpdate:modelValue": l2[0] || (l2[0] = (l3) => e3.linkPage[_.value].jumpConditionType = l3), onChange: V }, { default: p(() => [d(N, { value: "none", size: "small" }, { default: p(() => l2[6] || (l2[6] = [r("无")])), _: 1 }), d(N, { value: "config", size: "small" }, { default: p(() => l2[7] || (l2[7] = [r("配置条件")])), _: 1 }), d(N, { value: "customFunc", size: "small" }, { default: p(() => l2[8] || (l2[8] = [r("自定义条件")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(J, { class: "amb-design-attr-item" }, { default: p(() => ["config" === e3.linkPage[_.value].jumpConditionType ? (t(), u(P, { key: 0, title: "跳转条件", buttonText: "设置条件", list: e3.linkPage[_.value].conditions, tableConfigure: e3.tableConfigure, ref_key: "conditionRef", ref: j }, null, 8, ["list", "tableConfigure"])) : "customFunc" === e3.linkPage[_.value].jumpConditionType ? (t(), u(R, { key: 1, modelValue: e3.linkPage[_.value].customFunc, "onUpdate:modelValue": l2[1] || (l2[1] = (l3) => e3.linkPage[_.value].customFunc = l3), clearable: "", size: "small", placeholder: "请选择" }, { default: p(() => [(t(true), n(o, null, m(c(y)(), (e4) => (t(), u(O, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])) : g("", true)]), _: 1 }), d(k, { pageDesign: e3.pageDesign, configure: e3.linkPage[_.value].jumpPageSetting, tableConfigure: e3.tableConfigure, showDisplayConditions: false, isDialog: true }, null, 8, ["pageDesign", "configure", "tableConfigure"])]), _: 1 }, 8, ["modelValue"])], 64);
38
+ } }, { default: p(() => [d(w)]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : g("", true), d(R, { "append-to-body": "", modelValue: b.value, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => b.value = e4), title: "链接配置", width: "500", "before-close": V, "destroy-on-close": "" }, { footer: p(() => [f("div", v, [d(a2, { type: "default", onClick: l2[2] || (l2[2] = (e4) => b.value = false) }, { default: p(() => l2[9] || (l2[9] = [r("取消")])), _: 1 }), d(a2, { type: "primary", onClick: l2[3] || (l2[3] = (e4) => b.value = false) }, { default: p(() => l2[10] || (l2[10] = [r(" 确定 ")])), _: 1 })])]), default: p(() => [d(A, { label: "跳转条件", class: "amb-design-attr-item" }, { default: p(() => [d(N, { modelValue: e3.linkPage[_.value].jumpConditionType, "onUpdate:modelValue": l2[0] || (l2[0] = (l3) => e3.linkPage[_.value].jumpConditionType = l3), onChange: e3.jumpConditionTypeChange }, { default: p(() => [d(B, { value: "none", size: "small" }, { default: p(() => l2[6] || (l2[6] = [r("无")])), _: 1 }), d(B, { value: "config", size: "small" }, { default: p(() => l2[7] || (l2[7] = [r("配置条件")])), _: 1 }), d(B, { value: "customFunc", size: "small" }, { default: p(() => l2[8] || (l2[8] = [r("自定义条件")])), _: 1 })]), _: 1 }, 8, ["modelValue", "onChange"])]), _: 1 }), d(A, { class: "amb-design-attr-item" }, { default: p(() => ["config" === e3.linkPage[_.value].jumpConditionType ? (t(), u(P, { key: 0, title: "跳转条件", buttonText: "设置条件", list: e3.linkPage[_.value].conditions, tableConfigure: e3.tableConfigure, ref_key: "conditionRef", ref: j }, null, 8, ["list", "tableConfigure"])) : "customFunc" === e3.linkPage[_.value].jumpConditionType ? (t(), u(O, { key: 1, modelValue: e3.linkPage[_.value].customFunc, "onUpdate:modelValue": l2[1] || (l2[1] = (l3) => e3.linkPage[_.value].customFunc = l3), clearable: "", size: "small", placeholder: "请选择" }, { default: p(() => [(t(true), i(o, null, m(c(y)(), (e4) => (t(), u(J, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])) : g("", true)]), _: 1 }), d(k, { pageDesign: e3.pageDesign, configure: e3.linkPage[_.value].jumpPageSetting, tableConfigure: e3.tableConfigure, showDisplayConditions: false, isDialog: true }, null, 8, ["pageDesign", "configure", "tableConfigure"])]), _: 1 }, 8, ["modelValue"])], 64);
42
39
  };
43
40
  } });
44
41
  export {
@@ -6,7 +6,7 @@ const w = { class: "icon-set-center-body" }, x = ["onClick"], z = { class: "dial
6
6
  M.value = true;
7
7
  }
8
8
  function A() {
9
- N.value, F("update:modelValue", N.value), M.value = false;
9
+ F("update:modelValue", N.value), M.value = false;
10
10
  }
11
11
  return o(() => q.modelValue, (e3) => {
12
12
  L.value = e3;
@@ -13,7 +13,7 @@ const y = e({ __name: "fileupload-design", props: { pageDesign: {}, configure: {
13
13
  let e3 = y2.configure.props ? y2.configure.props : {};
14
14
  const l2 = e3.uploadConfig ? e3.uploadConfig : {}, i2 = e3.base ? e3.base : {}, o2 = {};
15
15
  l2.drag && (o2.drag = l2.drag), o2.prop = i2.prop, o2.propName = i2.propName, o2.displayType = l2.displayType ? l2.displayType : "input", o2.state = i2.state, o2.placeholder = i2.placeholder, o2.disabledNoPreview = i2.disabledNoPreview, o2.disabledNoDownload = i2.disabledNoDownload, l2.accept ? o2.accept = l2.accept : o2.accept = null, l2.multiple ? (o2.multiple = l2.multiple, l2.limit ? o2.limit = l2.limit : o2.limit = null) : (o2.multiple = false, o2.limit = 1), l2.limitFileSize ? o2.limitFileSize = l2.limitFileSize : o2.limitFileSize = null, l2.openCameraOrChoosePhoto ? o2.openCameraOrChoosePhoto = l2.openCameraOrChoosePhoto : o2.openCameraOrChoosePhoto = null, o2.isDeleteNow = l2.isDeleteNow, Object.assign(w.value, o2);
16
- }(), y2.configure.runtime.props = w.value, y2.configure.runtime.titleExceedStyle = S.value, w.value;
16
+ }(), y2.configure.runtime.props = w.value, y2.configure.runtime.titleExceedStyle = S.value;
17
17
  }, { immediate: true }), (e3, l2) => {
18
18
  const i2 = o("el-form-item");
19
19
  return a(), t(i2, { required: !!w.value.required, class: r([h.value, "remove-formLabel-formContent-blankStyle"]), "label-width": w.value.labelWidth, style: u(b.value) }, { label: p(() => [w.value.tittleShow ? (a(), m("div", { key: 0, style: u({ ...C.value, ...S.value, "padding-right": "12px" }) }, c(w.value.title ? w.value.title : "Files"), 5)) : d("", true)]), default: p(() => [s(n(g), { disabled: "disabled" == w.value.state, style: { width: "100%" }, displayType: w.value.displayType, accept: w.value.accept, multiple: w.value.multiple, placeholder: w.value.placeholder, limit: w.value.limit, "limit-file-size": w.value.limitFileSize, "file-info": e3.fileInfo, "file-list": e3.fileList, "on-success": e3.onSuccess, "on-remove": e3.onRemove, openFsUpload: false, "before-upload": e3.beforeUpload }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list", "on-success", "on-remove", "before-upload"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
@@ -1,26 +1,26 @@
1
- import { defineComponent as e, ref as u, watch as l, resolveComponent as t, createBlock as a, openBlock as o, normalizeStyle as i, normalizeClass as n, withCtx as r, createElementVNode as s, createElementBlock as p, createCommentVNode as c, createTextVNode as f, unref as v, toDisplayString as y } from "vue";
1
+ import { defineComponent as e, ref as u, watch as t, resolveComponent as l, createBlock as a, openBlock as o, normalizeStyle as i, normalizeClass as n, withCtx as r, createElementVNode as s, createElementBlock as p, createCommentVNode as c, createTextVNode as f, unref as v, toDisplayString as y } from "vue";
2
2
  import { caculateDetailComponentStyle as d, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
3
3
  import { SuperIcon as T } from "agilebuilder-ui";
4
4
  const g = { style: { display: "flex", width: "100%", "justify-content": "space-between" } }, x = ["title"], I = e({ __name: "label-design", props: { configure: { type: Object, required: true } }, setup(e2) {
5
5
  const I2 = e2;
6
6
  I2.configure.runtime || (I2.configure.runtime = {});
7
7
  const b = u({}), h = u(""), V = u({}), _ = u({}), w = u({});
8
- return l(I2.configure.style, () => {
8
+ return t(I2.configure.style, () => {
9
9
  d(I2.configure, b, h, V), I2.configure.runtime.style = b.value, I2.configure.runtime.class = h.value, I2.configure.runtime.headerStyle = V.value;
10
- }, { immediate: true }), l(I2.configure.props, () => {
11
- m(I2.configure, _, w), _.value, function() {
10
+ }, { immediate: true }), t(I2.configure.props, () => {
11
+ m(I2.configure, _, w), function() {
12
12
  let e3 = I2.configure.props ? I2.configure.props : {};
13
- const u2 = e3.base ? e3.base : {}, l2 = e3.dataOrigin ? e3.dataOrigin : {}, t2 = {};
14
- u2.labelText && (t2.labelText = u2.labelText), u2.whetherTittle && (t2.whetherTittle = u2.whetherTittle);
13
+ const u2 = e3.base ? e3.base : {}, t2 = e3.dataOrigin ? e3.dataOrigin : {}, l2 = {};
14
+ u2.labelText && (l2.labelText = u2.labelText), u2.whetherTittle && (l2.whetherTittle = u2.whetherTittle);
15
15
  const a2 = e3.preSuffix ? e3.preSuffix : {};
16
- (a2.preIconType || a2.preText || a2.sufIconType || a2.sufText) && (t2.preIconType = a2.preIconType, t2.preIconValue = a2.preIconValue, t2.preText = a2.preText, t2.sufIconType = a2.sufIconType, t2.sufIconValue = a2.sufIconValue, t2.sufText = a2.sufText, t2.iconPosition = a2.position);
17
- const o2 = l2.optionValueSetType;
16
+ (a2.preIconType || a2.preText || a2.sufIconType || a2.sufText) && (l2.preIconType = a2.preIconType, l2.preIconValue = a2.preIconValue, l2.preText = a2.preText, l2.sufIconType = a2.sufIconType, l2.sufIconValue = a2.sufIconValue, l2.sufText = a2.sufText, l2.iconPosition = a2.position);
17
+ const o2 = t2.optionValueSetType;
18
18
  let i2 = false;
19
- o2 && (_.value.formatType = o2, "static" != o2 && "optionGroup" != o2 && "dynamicData" != o2 && "dataTable" != o2 || (i2 = true), _.value.hasOptions = i2, _.value.decimalDigit = l2.decimalDigit, _.value.thousandsSeparator = l2.thousandsSeparator, _.value.symbol = l2.symbol, _.value.dateFormat = l2.dateFormat, _.value.timeFormat = l2.timeFormat, _.value.formatFunc = l2.formatFunc), Object.assign(_.value, t2);
19
+ o2 && (_.value.formatType = o2, "static" != o2 && "optionGroup" != o2 && "dynamicData" != o2 && "dataTable" != o2 || (i2 = true), _.value.hasOptions = i2, _.value.decimalDigit = t2.decimalDigit, _.value.thousandsSeparator = t2.thousandsSeparator, _.value.symbol = t2.symbol, _.value.dateFormat = t2.dateFormat, _.value.timeFormat = t2.timeFormat, _.value.formatFunc = t2.formatFunc), Object.assign(_.value, l2);
20
20
  }(), I2.configure.runtime.props = _.value, I2.configure.runtime.titleExceedStyle = w.value;
21
21
  }, { immediate: true }), (e3, u2) => {
22
- const l2 = t("el-form-item");
23
- return o(), a(l2, { required: !!_.value.required, class: n(h.value), "label-width": _.value.labelWidth, style: i(b.value) }, { label: r(() => [_.value.tittleShow ? (o(), p("div", { key: 0, style: i({ ...V.value, ...w.value }) }, y(_.value.title), 5)) : c("", true)]), default: r(() => [s("div", g, [s("span", { style: { overflow: "hidden" }, title: _.value.value }, [_.value.preIconValue || _.value.preText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }), style: i(e3.appendStyle) }, [_.value.preIconType && _.value.preIconValue ? (o(), a(v(T), { key: 0, iconType: _.value.preIconType, iconValue: _.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), f(" " + y(_.value.preText), 1)], 6)) : c("", true), f("  " + y(_.value.value), 1)], 8, x), _.value.sufIconValue || _.value.sufText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }) }, [_.value.sufIconType && _.value.sufIconValue ? (o(), a(v(T), { key: 0, style: {}, iconType: _.value.sufIconType, iconValue: _.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), s("span", null, " " + y(_.value.sufText), 1)], 2)) : c("", true)])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
22
+ const t2 = l("el-form-item");
23
+ return o(), a(t2, { required: !!_.value.required, class: n(h.value), "label-width": _.value.labelWidth, style: i(b.value) }, { label: r(() => [_.value.tittleShow ? (o(), p("div", { key: 0, style: i({ ...V.value, ...w.value }) }, y(_.value.title), 5)) : c("", true)]), default: r(() => [s("div", g, [s("span", { style: { overflow: "hidden" }, title: _.value.value }, [_.value.preIconValue || _.value.preText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }), style: i(e3.appendStyle) }, [_.value.preIconType && _.value.preIconValue ? (o(), a(v(T), { key: 0, iconType: _.value.preIconType, iconValue: _.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), f(" " + y(_.value.preText), 1)], 6)) : c("", true), f("  " + y(_.value.value), 1)], 8, x), _.value.sufIconValue || _.value.sufText ? (o(), p("span", { key: 0, class: n({ "el-input__suffix": "outer" != _.value.iconPosition, "el-input-group__append": "outer" == _.value.iconPosition }) }, [_.value.sufIconType && _.value.sufIconValue ? (o(), a(v(T), { key: 0, style: {}, iconType: _.value.sufIconType, iconValue: _.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : c("", true), s("span", null, " " + y(_.value.sufText), 1)], 2)) : c("", true)])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
24
24
  };
25
25
  } });
26
26
  export {