super-page-designer 2.2.57 → 2.2.61
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.
- package/dist/es/components/design/utils/assemblys-config.js +1 -1
- package/dist/es/components/design/utils/common-util.js +0 -3
- package/dist/es/components/design/utils/form-design-util.js +5 -5
- package/dist/es/components/design/utils/page-table-util.d.ts +1 -1
- package/dist/es/components/design/utils/page-table-util.js +4 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +37 -37
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +22 -22
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +5 -137
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +139 -0
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -4
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +55 -55
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +16 -32
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/title-suffix.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +1 -1
- package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-design.vue3.js +1 -1
- package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +2 -2
- package/dist/es/components/design/views/design/view/assemblys-container.vue.js +20 -13
- package/dist/es/components/design/views/design/view/attr-container.vue.js +29 -22
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +8 -8
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +154 -5
- package/dist/es/components/design/views/design/view/view-design-display.vue2.js +2 -148
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +20 -5
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -20
- package/dist/es/style.css +821 -884
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +0 -7
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +0 -37
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue2.js +0 -4
|
@@ -1,40 +1,24 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as r,
|
|
2
|
-
import { getFormComponentOptions as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as r, createCommentVNode as n, createElementVNode as i, createElementBlock as m, Fragment as p, renderList as s, unref as d, createTextVNode as f } from "vue";
|
|
2
|
+
import { getFormComponentOptions as c } 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";
|
|
5
5
|
import y from "../../common/common-attr-size.vue.js";
|
|
6
|
-
import V from "../../common/common-variable-bind.
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
import { Search as h, Close as k, InfoFilled as x } from "@element-plus/icons-vue";
|
|
10
|
-
import C from "../../common/common-select-table.vue.js";
|
|
11
|
-
import { queryTableFields as U } from "../../../../utils/page-table-util.js";
|
|
12
|
-
const N = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, H = e({ __name: "tree-attr-base", props: { configure: { type: Object, default: () => {
|
|
6
|
+
import V from "../../common/common-variable-bind.vue2.js";
|
|
7
|
+
import v from "../../common/common-icon-bind.vue.js";
|
|
8
|
+
const _ = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, x = e({ __name: "tree-attr-base", props: { configure: { type: Object, default: () => {
|
|
13
9
|
} }, pageDesign: { type: Object, default: () => {
|
|
14
10
|
} } }, setup(e2) {
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
|
|
11
|
+
const x2 = e2, U = l([]);
|
|
12
|
+
function C(e3) {
|
|
13
|
+
x2.configure.props.base.prop = e3;
|
|
18
14
|
}
|
|
19
|
-
|
|
20
|
-
S
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
H2.configure.props.base.treeTableName = null;
|
|
24
|
-
}
|
|
25
|
-
function P(e3) {
|
|
26
|
-
H2.configure.props.base.treeTableName = e3.name, H2.configure.props.base.treeTableAlias = e3.alias, U(e3.systemCode, e3.systemVersion, e3.name).then((e4) => {
|
|
27
|
-
z.value = e4;
|
|
28
|
-
}).catch((e4) => {
|
|
29
|
-
});
|
|
30
|
-
}
|
|
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
|
-
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
|
-
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
|
-
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, { icon: d(h), onClick: O, size: "small" }, null, 8, ["icon"]), r(M, { 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, { 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, null, { default: u(() => U2[51] || (U2[51] = [c("自定义逻辑")])), _: 1 }), r(M, { 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 });
|
|
15
|
+
return null == x2.configure.props.base.showCheckbox && (x2.configure.props.base.showCheckbox = "no"), null == x2.configure.props.base.defaultExpandAll && (x2.configure.props.base.defaultExpandAll = false), null == x2.configure.props.base.expandOnClickNode && (x2.configure.props.base.expandOnClickNode = true), null == x2.configure.props.base.accordion && (x2.configure.props.base.accordion = false), null == x2.configure.props.base.lazy && (x2.configure.props.base.lazy = false), x2.configure.props.format || (x2.configure.props.format = {}), (l2, H) => {
|
|
16
|
+
const S = a("el-option"), T = a("el-select"), D = a("el-form-item"), w = a("el-input"), z = a("el-radio"), N = a("el-radio-group"), j = a("el-collapse-item"), A = a("el-switch"), E = a("Suffixmodule"), O = a("IconSetDialog"), q = a("el-input-number"), F = a("el-button"), G = a("VariateSelect"), I = a("el-checkbox"), L = a("el-col"), P = a("el-collapse"), W = a("el-form");
|
|
17
|
+
return t(), o(W, { "label-width": "80px", size: "small" }, { default: u(() => [r(P, { modelValue: U.value, "onUpdate:modelValue": H[35] || (H[35] = (e3) => U.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(j, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [i("div", _, [r(D, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.name, "onUpdate:modelValue": H[0] || (H[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: u(() => [(t(true), m(p, null, s(d(c)(), (e3) => (t(), o(S, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.uuid, "onUpdate:modelValue": H[1] || (H[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(D, { 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": C }, null, 8, ["modelValue"]))]), _: 1 }), r(D, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.code, "onUpdate:modelValue": H[2] || (H[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(D, { label: "可选择", class: "amb-design-attr-item" }, { default: u(() => [r(N, { modelValue: e2.configure.props.base.showCheckbox, "onUpdate:modelValue": H[3] || (H[3] = (l3) => e2.configure.props.base.showCheckbox = l3), class: "ml-4" }, { default: u(() => [r(z, { value: "no" }, { default: u(() => H[36] || (H[36] = [f("否")])), _: 1 }), r(z, { value: "alone" }, { default: u(() => H[37] || (H[37] = [f("单选")])), _: 1 }), r(z, { value: "multiple" }, { default: u(() => H[38] || (H[38] = [f("多选")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D, { label: "默认展开", class: "amb-design-attr-item" }, { default: u(() => [r(N, { modelValue: e2.configure.props.base.defaultExpandAll, "onUpdate:modelValue": H[4] || (H[4] = (l3) => e2.configure.props.base.defaultExpandAll = l3), class: "ml-4" }, { default: u(() => [r(z, { value: true }, { default: u(() => H[39] || (H[39] = [f("是")])), _: 1 }), r(z, { value: false }, { default: u(() => H[40] || (H[40] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.defaultExpandAll ? (t(), o(D, { key: 0, label: "展开级数", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.props.base.unfoldGrade, "onUpdate:modelValue": H[5] || (H[5] = (l3) => e2.configure.props.base.unfoldGrade = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), r(D, { label: "节点可点击", title: "点击节点时展开或收缩节点", class: "amb-design-attr-item" }, { default: u(() => [r(N, { modelValue: e2.configure.props.base.expandOnClickNode, "onUpdate:modelValue": H[6] || (H[6] = (l3) => e2.configure.props.base.expandOnClickNode = l3), class: "ml-4" }, { default: u(() => [r(z, { value: true }, { default: u(() => H[41] || (H[41] = [f("是")])), _: 1 }), r(z, { value: false }, { default: u(() => H[42] || (H[42] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D, { label: "手风琴模式", title: "每次只打开一个同级树节点", class: "amb-design-attr-item" }, { default: u(() => [r(N, { modelValue: e2.configure.props.base.accordion, "onUpdate:modelValue": H[7] || (H[7] = (l3) => e2.configure.props.base.accordion = l3), class: "ml-4" }, { default: u(() => [r(z, { value: true }, { default: u(() => H[43] || (H[43] = [f("是")])), _: 1 }), r(z, { value: false }, { default: u(() => H[44] || (H[44] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D, { label: "节点缩进", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.props.base.retractWidth, "onUpdate:modelValue": H[8] || (H[8] = (l3) => e2.configure.props.base.retractWidth = l3), title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(D, { label: "是否懒加载", class: "amb-design-attr-item" }, { default: u(() => [r(N, { modelValue: e2.configure.props.base.lazy, "onUpdate:modelValue": H[9] || (H[9] = (l3) => e2.configure.props.base.lazy = l3), class: "ml-4" }, { default: u(() => [r(z, { value: true }, { default: u(() => H[45] || (H[45] = [f("是")])), _: 1 }), r(z, { value: false }, { default: u(() => H[46] || (H[46] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D, { label: "是否过滤", class: "amb-design-attr-item" }, { default: u(() => [r(N, { modelValue: e2.configure.props.base.filter, "onUpdate:modelValue": H[10] || (H[10] = (l3) => e2.configure.props.base.filter = l3), class: "ml-4" }, { default: u(() => [r(z, { value: true }, { default: u(() => H[47] || (H[47] = [f("是")])), _: 1 }), r(z, { value: false }, { default: u(() => H[48] || (H[48] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D, { label: "节点图标", class: "amb-design-attr-item" }, { default: u(() => [r(v, { iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.icon, "onUpdate:modelValue": H[11] || (H[11] = (e3, l3) => function(e4, l4) {
|
|
18
|
+
x2.configure.props.base.iconType = e4, x2.configure.props.base.iconValue = l4;
|
|
19
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), r(D, { label: "节点内容", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.props.format.contentLogic, "onUpdate:modelValue": H[12] || (H[12] = (l3) => e2.configure.props.format.contentLogic = l3), filterable: "", placeholder: "请选择" }, { default: u(() => [(t(true), m(p, null, s(e2.pageDesign.customEvents, (e3) => (t(), o(S, { label: e3.eventName, value: e3.uuid }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": H[13] || (H[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [r(z, { value: "default" }, { default: u(() => H[49] || (H[49] = [f("普通")])), _: 1 }), r(z, { value: "hidden" }, { default: u(() => H[50] || (H[50] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(g, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), l2.operationColumn ? n("", true) : (t(), o(j, { key: 0, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: u(() => [i("div", h, [r(D, { label: "格式化分类", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": H[14] || (H[14] = (l3) => e2.configure.props.format.type = l3), placeholder: "请选择" }, { default: u(() => [r(S, { label: "数值", value: "number" }), r(S, { label: "货币", value: "currency" }), r(S, { label: "日期", value: "date" }), r(S, { label: "时间", value: "time" }), r(S, { label: "百分比", value: "percent" }), r(S, { label: "自定义控件", value: "customControl" }), r(S, { label: "超链接", value: "hyperlinks" }), r(S, { label: "图标/标签", value: "icon" }), r(S, { label: "附件控件", value: "files" }), r(S, { label: "富文本", value: "richEditor" }), r(S, { label: "脱敏组件", value: "secretInfo" }), r(S, { 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(D, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": H[15] || (H[15] = (l3) => e2.configure.props.format.decimalDigit = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "number" === e2.configure.props.format.type ? (t(), o(D, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: u(() => [r(A, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": H[16] || (H[16] = (l3) => e2.configure.props.format.scientific = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (t(), o(D, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": H[17] || (H[17] = (l3) => e2.configure.props.format.scientificNum = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "number" === e2.configure.props.format.type ? (t(), o(D, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(A, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": H[18] || (H[18] = (l3) => e2.configure.props.format.thousandsSeparator = l3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "number" === e2.configure.props.format.type ? (t(), o(D, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": H[19] || (H[19] = (l3) => e2.configure.props.format.symbol = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "currency" === e2.configure.props.format.type ? (t(), o(D, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": H[20] || (H[20] = (l3) => e2.configure.props.format.currencySymbol = l3), placeholder: "Select" }, { default: u(() => [r(S, { label: "$", value: "$" }), r(S, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : n("", true), "date" === e2.configure.props.format.type ? (t(), o(D, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": H[21] || (H[21] = (l3) => e2.configure.props.format.dataType = l3), placeholder: "Select" }, { default: u(() => [r(S, { label: "yyyy-m-d", value: "yyyy-m-d" }), r(S, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), r(S, { label: "yyyy-m", value: "yyyy-m" }), r(S, { label: "m-d", value: "m-d" }), r(S, { label: "yyyy", value: "yyyy" }), r(S, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), r(S, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), r(S, { label: "yyyy年m月", value: "yyyy年m月" }), r(S, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : n("", true), "time" === e2.configure.props.format.type ? (t(), o(D, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": H[22] || (H[22] = (l3) => e2.configure.props.format.timeType = l3), placeholder: "Select" }, { default: u(() => [r(S, { label: "HH:mm", value: "HH:mm" }), r(S, { label: "HH:mm:ss", value: "HH:mm:ss" }), r(S, { label: "HH时mm分", value: "HH时mm分" }), r(S, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), r(S, { label: "hh:mm", value: "hh:mm" }), r(S, { label: "hh:mm:ss", value: "hh:mm:ss" }), r(S, { label: "hh时mm分", value: "hh时mm分" }), r(S, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : n("", true), "customControl" === e2.configure.props.format.type ? (t(), o(D, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": H[23] || (H[23] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "hyperlinks" === e2.configure.props.format.type ? (t(), o(E, { key: 9, pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"])) : n("", true), "icon" === e2.configure.props.format.type ? (t(), o(D, { key: 10, label: "图标", class: "amb-design-attr-item" }, { default: u(() => [r(O, { modelValue: e2.configure.props.format.icon, "onUpdate:modelValue": H[24] || (H[24] = (l3) => e2.configure.props.format.icon = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "icon" === e2.configure.props.format.type ? (t(), o(D, { key: 11, label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [r(A, { modelValue: e2.configure.props.format.position, "onUpdate:modelValue": H[25] || (H[25] = (l3) => e2.configure.props.format.position = l3), "active-text": "后缀", "inactive-text": "前缀", "active-value": "suf", "inactive-value": "pre" }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "icon" === e2.configure.props.format.type ? (t(), o(D, { key: 12, label: "回调事件", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.props.format.event, "onUpdate:modelValue": H[26] || (H[26] = (l3) => e2.configure.props.format.event = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "custom" === e2.configure.props.format.type ? (t(), o(D, { key: 13, label: "自定义方法", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": H[27] || (H[27] = (l3) => e2.configure.props.format.customControl = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "files" === e2.configure.props.format.type ? (t(), o(D, { key: 14, label: "是否多选", class: "amb-design-attr-item" }, { default: u(() => [r(A, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": H[28] || (H[28] = (l3) => e2.configure.props.format.multiple = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "files" === e2.configure.props.format.type ? (t(), o(D, { key: 15, label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [r(w, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": H[29] || (H[29] = (l3) => e2.configure.props.format.accept = l3) }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "files" === e2.configure.props.format.type ? (t(), o(D, { key: 16, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: u(() => [r(q, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": H[30] || (H[30] = (l3) => e2.configure.props.format.limitFileSize = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : n("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (t(), o(D, { key: 17, label: "选择数据表" }, { default: u(() => [r(w, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": H[31] || (H[31] = (l3) => e2.configure.props.format.childAnnexDataTableCode = l3), onClick: l2.openSelectDataTable, clearable: "" }, { append: u(() => [r(F, { icon: l2.Search, onClick: l2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : n("", true), "files" === e2.configure.props.format.type ? (t(), o(D, { key: 18, label: "展示名字段", class: "amb-design-attr-item" }, { default: u(() => [r(G, { prop: e2.configure.props.format.showName, "onUpdate:prop": H[32] || (H[32] = (l3) => e2.configure.props.format.showName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : n("", true), "files" === e2.configure.props.format.type ? (t(), o(D, { key: 19, label: "服务器字段", class: "amb-design-attr-item" }, { default: u(() => [r(G, { prop: e2.configure.props.format.serverName, "onUpdate:prop": H[33] || (H[33] = (l3) => e2.configure.props.format.serverName = l3), tableConfigure: l2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : n("", true)])]), _: 1 })), (t(), o(b, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (t(), o(j, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [i("div", k, [r(D, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(I, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": H[34] || (H[34] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(D, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [r(L, { span: 8 }, { default: u(() => [r(I, { label: "自定义", value: "custom" })]), _: 1 }), r(L, { span: 14 }, { default: u(() => [r(F, null, { default: u(() => H[51] || (H[51] = [f("自定义逻辑")])), _: 1 }), r(F, { icon: l2.Search, 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"])]), _: 1 });
|
|
36
20
|
};
|
|
37
21
|
} });
|
|
38
22
|
export {
|
|
39
|
-
|
|
23
|
+
x as default
|
|
40
24
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, watch as t, resolveComponent as
|
|
1
|
+
import { defineComponent as e, ref as a, watch as t, resolveComponent as n, createElementBlock as i, openBlock as o, normalizeClass as c, createVNode as l, 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 f = e2;
|
|
@@ -10,7 +10,7 @@ const u = e({ __name: "tree-design", props: { configure: Object }, emits: ["hand
|
|
|
10
10
|
s(f.configure, g), function() {
|
|
11
11
|
let e3 = {};
|
|
12
12
|
const a2 = {};
|
|
13
|
-
f.configure.props.preSuffix && (e3 = f.configure.props), e3.base.showCheckbox &&
|
|
13
|
+
f.configure.props.preSuffix && (e3 = f.configure.props), e3.base.showCheckbox && "no" === e3.base.showCheckbox ? a2.showCheckbox = false : a2.showCheckbox = true, e3.base.defaultExpandAll && (a2.defaultExpandAll = e3.base.defaultExpandAll), e3.base.expandOnClickNode && (a2.expandOnClickNode = e3.base.expandOnClickNode), e3.base.accordion && (a2.accordion = e3.base.accordion), e3.base.retractWidth && (a2.retractWidth = e3.base.retractWidth), e3.base.filter && (a2.filter = e3.base.filter);
|
|
14
14
|
try {
|
|
15
15
|
if (e3.dataOrigin.staticData) {
|
|
16
16
|
let t2 = e3.dataOrigin.staticData.replace(/[\r\n\t\f\v ]+/g, "");
|
|
@@ -21,8 +21,8 @@ const u = e({ __name: "tree-design", props: { configure: Object }, emits: ["hand
|
|
|
21
21
|
if (a2 != {}) for (const e4 in a2) g.value[e4] = a2[e4];
|
|
22
22
|
}(), f.configure.runtime.props = g.value;
|
|
23
23
|
}, { immediate: true }), (e3, a2) => {
|
|
24
|
-
const t2 =
|
|
25
|
-
return o(),
|
|
24
|
+
const t2 = n("el-tree");
|
|
25
|
+
return o(), i("div", { class: c(b.value) }, [l(t2, { style: r([h.value, { width: "fit-content" }]), 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: p }, null, 8, ["style", "data", "default-expand-all", "expand-on-click-node", "indent", "accordion", "show-checkbox"])], 2);
|
|
26
26
|
};
|
|
27
27
|
} });
|
|
28
28
|
export {
|
|
@@ -4,7 +4,7 @@ import { componentNameChange as v } from "../../../../utils/form-design-util.js"
|
|
|
4
4
|
import V from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import _ from "../common/data-origin.vue.js";
|
|
6
6
|
import y from "../common/data-linkage.vue.js";
|
|
7
|
-
import h from "../../common/common-variable-bind.
|
|
7
|
+
import h from "../../common/common-variable-bind.vue2.js";
|
|
8
8
|
import k from "../../common/common-function-code.vue.js";
|
|
9
9
|
import x from "../common/verification-custom.vue.js";
|
|
10
10
|
import U from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as o, resolveComponent as t, createBlock as a, openBlock as u, withCtx as n, createVNode as i, createCommentVNode as r, unref as d, createTextVNode as s, createElementBlock as c, Fragment as p, renderList as f, toDisplayString as m, createElementVNode as b } from "vue";
|
|
2
2
|
import { Plus as v, Top as y, Bottom as g, Delete as _ } from "@element-plus/icons-vue";
|
|
3
|
-
import h from "../../common/common-variable-bind.
|
|
3
|
+
import h from "../../common/common-variable-bind.vue2.js";
|
|
4
4
|
import k from "agilebuilder-ui/src/utils/request";
|
|
5
5
|
import { ElMessage as V } from "element-plus";
|
|
6
6
|
const C = { style: { "font-weight": "bold" } }, L = { class: "dialog-footer" }, w = { class: "dialog-footer" }, x = e({ __name: "bar-code-rule", props: { ruleList: { type: Array, default: [] } }, emits: ["close", "remove"], setup(e2, { emit: x2 }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
2
|
import { Plus as w, Delete as f } from "@element-plus/icons";
|
|
3
|
-
import y from "../../common/common-variable-bind.
|
|
3
|
+
import y from "../../common/common-variable-bind.vue2.js";
|
|
4
4
|
import { getUuidv4 as s } from "../../../../utils/common-util.js";
|
|
5
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
6
|
const N = l2, _ = e([]);
|
|
@@ -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 v, normalizeClass as y } from "vue";
|
|
2
|
-
import V from "./dataorigin-input-table.
|
|
2
|
+
import V from "./dataorigin-input-table.vue.js";
|
|
3
3
|
import g from "./condition.vue.js";
|
|
4
4
|
import S from "./row-ul-li.vue.js";
|
|
5
5
|
import "uuid";
|
|
@@ -8,7 +8,7 @@ import Y from "agilebuilder-ui/src/utils/request";
|
|
|
8
8
|
import { usePageContextStore as _ } from "../../../../../../stores/page-store.js";
|
|
9
9
|
import "../../../../../../stores/table-store.js";
|
|
10
10
|
import "../../../../../../stores/statistics-table-store.js";
|
|
11
|
-
/* empty css
|
|
11
|
+
/* empty css */
|
|
12
12
|
import T from "./data-origin-service-in.vue.js";
|
|
13
13
|
import { queryTableFields as h } from "../../../../utils/page-table-util.js";
|
|
14
14
|
import { getCustomFuncs as D } from "../../../../utils/page-event-util.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, onUnmounted as o, resolveComponent as l, createBlock as i, openBlock as n, withCtx as r, createElementVNode as t, createVNode as a, unref as u } from "vue";
|
|
2
2
|
import { Plus as s, Delete as c } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as p } from "../../../../utils/common-util.js";
|
|
4
|
-
import f from "../../common/common-variable-bind.
|
|
4
|
+
import f from "../../common/common-variable-bind.vue2.js";
|
|
5
5
|
const d = { style: { padding: "8px 0px 0px 0px" } }, m = e({ __name: "data-linkage", props: { configureProps: {} }, setup(e2) {
|
|
6
6
|
const m2 = e2;
|
|
7
7
|
function g(e3) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onUnmounted as l, resolveComponent as a, createElementBlock as o, openBlock as i, createVNode as n, withCtx as u, createElementVNode as r, unref as d, Fragment as s, renderList as m, createBlock as c } from "vue";
|
|
2
2
|
import { getUuidv4 as p } from "../../../../utils/common-util.js";
|
|
3
3
|
import { Top as f, Bottom as g, Plus as b, Delete as v } from "@element-plus/icons-vue";
|
|
4
|
-
import w from "../../common/common-variable-bind.
|
|
4
|
+
import w from "../../common/common-variable-bind.vue2.js";
|
|
5
5
|
const k = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, C = e({ __name: "data-origin-autoset", props: { dataOrigin: {}, isTable: {} }, setup(e2, { expose: C2 }) {
|
|
6
6
|
const O = e2;
|
|
7
7
|
O.dataOrigin.autoSets || (O.dataOrigin.autoSets = []), 0 == O.dataOrigin.autoSets.length && _(null);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, onUnmounted as l, resolveComponent as t, createElementBlock as a, openBlock as i, createVNode as n, withCtx as o, createElementVNode as r, unref as u } from "vue";
|
|
2
2
|
import { Plus as d, Delete as s } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as c } from "../../../../utils/common-util.js";
|
|
4
|
-
import p from "../../common/common-variable-bind.
|
|
4
|
+
import p from "../../common/common-variable-bind.vue2.js";
|
|
5
5
|
const m = e({ __name: "data-origin-service-in", props: { dataOrigin: {} }, setup(e2) {
|
|
6
6
|
const m2 = e2;
|
|
7
7
|
function v(e3) {
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
import t from "
|
|
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 v = { class: "dialog-footer" }, c = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: c2 }) {
|
|
4
|
+
const f = e2, g = l(f.modelValue), V = c2, 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 S() {
|
|
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 w(e3) {
|
|
14
|
+
_.value = e3;
|
|
15
|
+
}
|
|
16
|
+
function y() {
|
|
17
|
+
b.value = true;
|
|
18
|
+
}
|
|
19
|
+
return a(() => f.modelValue, (e3) => {
|
|
20
|
+
g.value = e3;
|
|
21
|
+
}), (e3, l2) => {
|
|
22
|
+
const a2 = t("el-icon"), c3 = t("el-input"), f2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
+
return d(), o(u, null, [n(c3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: y }, { suffix: i(() => [n(a2, { onClick: y }, { 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", v, [n(_2, { onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: S }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: w }, { default: i(() => [n(f2, { type: "selection", width: "55" }), n(f2, { prop: "date", label: "Date", width: "180" }), n(f2, { prop: "name", label: "Name", width: "180" }), n(f2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
c as default
|
|
4
28
|
};
|
package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
-
const v = { class: "dialog-footer" }, c = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: c2 }) {
|
|
4
|
-
const f = e2, g = l(f.modelValue), V = c2, 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 S() {
|
|
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 w(e3) {
|
|
14
|
-
_.value = e3;
|
|
15
|
-
}
|
|
16
|
-
function y() {
|
|
17
|
-
b.value = true;
|
|
18
|
-
}
|
|
19
|
-
return a(() => f.modelValue, (e3) => {
|
|
20
|
-
g.value = e3;
|
|
21
|
-
}), (e3, l2) => {
|
|
22
|
-
const a2 = t("el-icon"), c3 = t("el-input"), f2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
-
return d(), o(u, null, [n(c3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: y }, { suffix: i(() => [n(a2, { onClick: y }, { 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", v, [n(_2, { onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: S }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: w }, { default: i(() => [n(f2, { type: "selection", width: "55" }), n(f2, { prop: "date", label: "Date", width: "180" }), n(f2, { prop: "name", label: "Name", width: "180" }), n(f2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
-
};
|
|
25
|
-
} });
|
|
1
|
+
import t from "./dataorigin-input-table.vue.js";
|
|
26
2
|
export {
|
|
27
|
-
|
|
3
|
+
t as default
|
|
28
4
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, onUnmounted as l, resolveComponent as a, createElementBlock as o, openBlock as n, createVNode as t, withDirectives as u, withCtx as i, createTextVNode as p, unref as r, vShow as c } from "vue";
|
|
2
2
|
import { Plus as s, Delete as d } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as m } from "../../../../utils/common-util.js";
|
|
4
|
-
import g from "../../common/common-variable-bind.
|
|
4
|
+
import g from "../../common/common-variable-bind.vue2.js";
|
|
5
5
|
const k = e({ __name: "linkpage-page-callback", props: { linkPage: {} }, setup(e2) {
|
|
6
6
|
const k2 = e2;
|
|
7
7
|
function f(e3) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as r, createVNode as n, createElementVNode as i } from "vue";
|
|
2
2
|
import { getUuidv4 as d } from "../../../../utils/common-util.js";
|
|
3
|
-
import m from "../../common/common-variable-bind.
|
|
3
|
+
import m from "../../common/common-variable-bind.vue2.js";
|
|
4
4
|
import { getModelOptionsByFields as p } from "../../../../utils/page-table-util.js";
|
|
5
5
|
const s = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, c = e({ __name: "parameter-table", props: { data: { type: Array, default: () => [] }, tableConfigure: { type: Object, default: () => [] } }, emits: ["dataChange"], setup(e2, { emit: c2 }) {
|
|
6
6
|
const f = e2, v = c2, b = l(null);
|
|
@@ -3,7 +3,7 @@ import { Search as j, Close as V } from "@element-plus/icons";
|
|
|
3
3
|
import P from "./linkpage-page-callback.vue.js";
|
|
4
4
|
import T from "../../common/common-select-page.vue.js";
|
|
5
5
|
import M from "./parameter-table.vue.js";
|
|
6
|
-
import k from "../../common/common-variable-bind.
|
|
6
|
+
import k from "../../common/common-variable-bind.vue2.js";
|
|
7
7
|
import _ from "./condition.vue.js";
|
|
8
8
|
import C from "../../common/common-icon-bind.vue.js";
|
|
9
9
|
import h from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, resolveComponent as a, createBlock as l, openBlock as r, withCtx as p, createElementVNode as o, createVNode as t, withDirectives as i, vShow as u } from "vue";
|
|
2
|
-
import s from "../../common/common-variable-bind.
|
|
2
|
+
import s from "../../common/common-variable-bind.vue2.js";
|
|
3
3
|
const f = { style: { padding: "8px 0px 0px 0px" } }, n = e({ __name: "title-suffix", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
4
4
|
const n2 = e2;
|
|
5
5
|
function d(e3, a2) {
|
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getFormComponentOptions as V } from "../../../../utils/assemblys-config
|
|
|
3
3
|
import { componentNameChange as v } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import { getCustomFuncs as _ } from "../../../../utils/page-event-util.js";
|
|
5
5
|
import y from "../../common/common-attr-size.vue.js";
|
|
6
|
-
import h from "../../common/common-variable-bind.
|
|
6
|
+
import h from "../../common/common-variable-bind.vue2.js";
|
|
7
7
|
import k from "../../common/common-function-code.vue.js";
|
|
8
8
|
import U from "../common/title-suffix.vue.js";
|
|
9
9
|
import w from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -3,7 +3,7 @@ import { Search as g } from "@element-plus/icons-vue";
|
|
|
3
3
|
import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
|
|
5
5
|
import v from "../../common/common-attr-size.vue.js";
|
|
6
|
-
import h from "../../common/common-variable-bind.
|
|
6
|
+
import h from "../../common/common-variable-bind.vue2.js";
|
|
7
7
|
import y from "./depttree-autoset.vue.js";
|
|
8
8
|
import { OrganizationInput as S } from "agilebuilder-ui";
|
|
9
9
|
import U from "../../common/common-function-code.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, computed as l, onUnmounted as t, resolveComponent as a, createBlock as o, openBlock as r, withCtx as u, createElementVNode as s, createVNode as n, unref as p, createElementBlock as i, Fragment as m, renderList as d, withDirectives as c, vShow as f } from "vue";
|
|
2
2
|
import { Plus as b, Delete as g } from "@element-plus/icons-vue";
|
|
3
3
|
import { getUuidv4 as y } from "../../../../utils/common-util.js";
|
|
4
|
-
import v from "../../common/common-variable-bind.
|
|
4
|
+
import v from "../../common/common-variable-bind.vue2.js";
|
|
5
5
|
const h = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "depttree-autoset", props: { configure: { type: Object, default: {} }, isTable: { type: Boolean } }, setup(e2) {
|
|
6
6
|
const w2 = e2;
|
|
7
7
|
w2.configure.props || (w2.configure.props = {}), w2.configure.props.base || (w2.configure.props.base = {}), w2.configure.props.base.otherFieldSets || (w2.configure.props.base.otherFieldSets = []);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as d, createElementVNode as i, createTextVNode as s } from "vue";
|
|
2
2
|
import r from "../../common/common-attr-size.vue.js";
|
|
3
|
-
import m from "../../common/common-variable-bind.
|
|
3
|
+
import m from "../../common/common-variable-bind.vue2.js";
|
|
4
4
|
import n from "../../common/common-i18n-key-input.vue.js";
|
|
5
5
|
const p = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "divider-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
6
6
|
} }, default: () => ({ props: {} }) }, setup(e2) {
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getFormComponentOptions as b } from "../../../../utils/assemblys-config
|
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import v from "../common/uploading.vue.js";
|
|
6
|
-
import y from "../../common/common-variable-bind.
|
|
6
|
+
import y from "../../common/common-variable-bind.vue2.js";
|
|
7
7
|
import h from "../../common/common-function-code.vue.js";
|
|
8
8
|
import x from "../../common/common-i18n-key-input.vue.js";
|
|
9
9
|
const U = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, k = e({ __name: "fileupload-attr-base", props: { configure: { type: Object, required: true, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => {
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o
|
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import v from "../../common/common-variable-bind.
|
|
5
|
+
import v from "../../common/common-variable-bind.vue2.js";
|
|
6
6
|
import h from "../../common/common-function-code.vue.js";
|
|
7
7
|
import y from "../common/title-suffix.vue.js";
|
|
8
8
|
import U from "../../common/common-i18n-key-input.vue.js";
|
package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js
CHANGED
|
@@ -5,7 +5,7 @@ import V from "../common/verification.vue.js";
|
|
|
5
5
|
import _ from "../../common/common-attr-size.vue.js";
|
|
6
6
|
import y from "../common/pre-suffix.vue.js";
|
|
7
7
|
import x from "../common/bar-code-rule.vue.js";
|
|
8
|
-
import h from "../../common/common-variable-bind.
|
|
8
|
+
import h from "../../common/common-variable-bind.vue2.js";
|
|
9
9
|
import k from "../../common/common-function-code.vue.js";
|
|
10
10
|
import S from "../common/suffixmodule.vue.js";
|
|
11
11
|
import U from "../common/title-suffix.vue.js";
|
|
@@ -3,7 +3,7 @@ import { getFormComponentOptions as b } from "../../../../utils/assemblys-config
|
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import v from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import _ from "../common/pre-suffix.vue.js";
|
|
6
|
-
import h from "../../common/common-variable-bind.
|
|
6
|
+
import h from "../../common/common-variable-bind.vue2.js";
|
|
7
7
|
import y from "../common/data-format.vue.js";
|
|
8
8
|
import x from "../../common/common-function-code.vue.js";
|
|
9
9
|
import S from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -4,7 +4,7 @@ import { getFormComponentOptions as V } from "../../../../utils/assemblys-config
|
|
|
4
4
|
import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
|
|
5
5
|
import v from "../common/icon-set-dialog.vue.js";
|
|
6
6
|
import y from "../../common/common-attr-size.vue.js";
|
|
7
|
-
import h from "../../common/common-variable-bind.
|
|
7
|
+
import h from "../../common/common-variable-bind.vue2.js";
|
|
8
8
|
import x from "../common/condition.vue.js";
|
|
9
9
|
import k from "../../common/common-function-code.vue.js";
|
|
10
10
|
import U from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -4,7 +4,7 @@ import { componentNameChange as v } from "../../../../utils/form-design-util.js"
|
|
|
4
4
|
import V from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import _ from "../common/data-origin.vue.js";
|
|
6
6
|
import y from "../common/data-linkage.vue.js";
|
|
7
|
-
import h from "../../common/common-variable-bind.
|
|
7
|
+
import h from "../../common/common-variable-bind.vue2.js";
|
|
8
8
|
import k from "../../common/common-function-code.vue.js";
|
|
9
9
|
import x from "../common/verification-custom.vue.js";
|
|
10
10
|
import U from "../../common/common-i18n-key-input.vue.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t
|
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import v from "../../common/common-variable-bind.
|
|
5
|
+
import v from "../../common/common-variable-bind.vue2.js";
|
|
6
6
|
import h from "../../common/common-function-code.vue.js";
|
|
7
7
|
import y from "../../common/common-i18n-key-input.vue.js";
|
|
8
8
|
const x = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, U = e({ __name: "richtext-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
@@ -4,7 +4,7 @@ import { componentNameChange as V } from "../../../../utils/form-design-util.js"
|
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import v from "../common/data-origin.vue.js";
|
|
6
6
|
import y from "../common/data-linkage.vue.js";
|
|
7
|
-
import h from "../../common/common-variable-bind.
|
|
7
|
+
import h from "../../common/common-variable-bind.vue2.js";
|
|
8
8
|
import U from "../../common/common-function-code.vue.js";
|
|
9
9
|
import k from "../common/title-suffix.vue.js";
|
|
10
10
|
import w from "../common/verification-custom.vue.js";
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o
|
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import v from "../../common/common-variable-bind.
|
|
5
|
+
import v from "../../common/common-variable-bind.vue2.js";
|
|
6
6
|
import h from "../../common/common-function-code.vue.js";
|
|
7
7
|
import y from "../../common/common-i18n-key-input.vue.js";
|
|
8
8
|
const U = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, k = e({ __name: "switch-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t
|
|
|
2
2
|
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import v from "../../common/common-variable-bind.
|
|
5
|
+
import v from "../../common/common-variable-bind.vue2.js";
|
|
6
6
|
import y from "../../common/common-function-code.vue.js";
|
|
7
7
|
import h from "../../common/common-i18n-key-input.vue.js";
|
|
8
8
|
const U = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "tag-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o
|
|
|
2
2
|
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import v from "../../common/common-attr-size.vue.js";
|
|
5
|
-
import _ from "../../common/common-variable-bind.
|
|
5
|
+
import _ from "../../common/common-variable-bind.vue2.js";
|
|
6
6
|
import h from "../../common/common-function-code.vue.js";
|
|
7
7
|
import y from "../common/title-suffix.vue.js";
|
|
8
8
|
import x from "../common/verification-custom.vue.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as o, withCtx as u, createVNode as d, unref as r, createTextVNode as n, createElementBlock as i, Fragment as p, renderList as m } from "vue";
|
|
2
2
|
import { CirclePlus as s, Delete as f, Top as c, Bottom as v } from "@element-plus/icons-vue";
|
|
3
|
-
import b from "../../common/common-variable-bind.
|
|
3
|
+
import b from "../../common/common-variable-bind.vue2.js";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
import { getOperators as V } from "../../../../utils/data-table-util.js";
|
|
6
6
|
import { getModelOptionsByFields as y } from "../../../../utils/page-table-util.js";
|
|
@@ -130,7 +130,7 @@ const P = { class: "amb-page-container" }, T = { class: "amb-page-container-head
|
|
|
130
130
|
}
|
|
131
131
|
return (e3, l2) => {
|
|
132
132
|
const o2 = a("el-col"), g2 = a("el-row"), w2 = a("workflow-editor");
|
|
133
|
-
return t(), s("div", P, [i("div", T, [u(g2, null, { default: r(() => [u(o2, { span: 23 }, { default: r(() => [F.value && F.value.code ? (t(), v(W, { key: 0, pageDesign: F.value, onChangePage: pe, onInitLoaded: ce }, null, 8, ["pageDesign"])) : n("", true)]), _: 1 })]), _: 1 })]), i("div", $, [i("div", N, [i("label", { class: p({ selected: "page" === q.value }), onClick: l2[0] || (l2[0] = (e4) => q.value = "page") }, "页面设计", 2), i("label", { class: p({ selected: "front" === q.value }), onClick: l2[1] || (l2[1] = (e4) => ee()) }, "页面逻辑", 2), i("label", { class: p({ selected: "workflow" === q.value }), onClick: l2[2] || (l2[2] = (e4) => ve()) }, "工作流设计", 2), i("label", { class: p({ selected: "service" === q.value }), onClick: l2[3] || (l2[3] = (e4) => q.value = "service") }, "服务编排", 2)])]), F.value ? (t(), s("div", R, [c((t(), v(m, { ref_key: "ViewDesignRef", ref: G, key: X.value, configure: F.value, system: Z.value, onRegain: ie, onRevocation: te }, null, 8, ["configure", "system"])), [[f, "page" === q.value]]), K.value ? c((t(), v(w2, { key: 0, id: L.value, code: F.value.workflowCode, version: F.value.workflowVersion, "system-code": F.value.systemCode, "system-publish-version": F.value.systemVersion, "page-code": F.value.code, onBack: e3.goBack, onChangeDefVersion: ne }, null, 8, ["id", "code", "version", "system-code", "system-publish-version", "page-code", "onBack"])), [[f, "workflow" === q.value]]) : n("", true), "service" === q.value ? (t(), v(d(S), { key: 1, pageContext: F.value }, null, 8, ["pageContext"])) : n("", true), c(u(x, { ref_key: "pageEventContainerRef", ref: O, configure: F.value }, null, 8, ["configure"]), [[f, "front" === q.value]])])) : n("", true)]);
|
|
133
|
+
return t(), s("div", P, [i("div", T, [u(g2, null, { default: r(() => [u(o2, { span: 23, style: {} }, { default: r(() => [F.value && F.value.code ? (t(), v(W, { key: 0, pageDesign: F.value, onChangePage: pe, onInitLoaded: ce }, null, 8, ["pageDesign"])) : n("", true)]), _: 1 })]), _: 1 })]), i("div", $, [i("div", N, [i("label", { class: p({ selected: "page" === q.value }), onClick: l2[0] || (l2[0] = (e4) => q.value = "page") }, "页面设计", 2), i("label", { class: p({ selected: "front" === q.value }), onClick: l2[1] || (l2[1] = (e4) => ee()) }, "页面逻辑", 2), i("label", { class: p({ selected: "workflow" === q.value }), onClick: l2[2] || (l2[2] = (e4) => ve()) }, "工作流设计", 2), i("label", { class: p({ selected: "service" === q.value }), onClick: l2[3] || (l2[3] = (e4) => q.value = "service") }, "服务编排", 2)])]), F.value ? (t(), s("div", R, [c((t(), v(m, { ref_key: "ViewDesignRef", ref: G, key: X.value, configure: F.value, system: Z.value, onRegain: ie, onRevocation: te }, null, 8, ["configure", "system"])), [[f, "page" === q.value]]), K.value ? c((t(), v(w2, { key: 0, id: L.value, code: F.value.workflowCode, version: F.value.workflowVersion, "system-code": F.value.systemCode, "system-publish-version": F.value.systemVersion, "page-code": F.value.code, onBack: e3.goBack, onChangeDefVersion: ne }, null, 8, ["id", "code", "version", "system-code", "system-publish-version", "page-code", "onBack"])), [[f, "workflow" === q.value]]) : n("", true), "service" === q.value ? (t(), v(d(S), { key: 1, pageContext: F.value }, null, 8, ["pageContext"])) : n("", true), c(u(x, { ref_key: "pageEventContainerRef", ref: O, configure: F.value }, null, 8, ["configure"]), [[f, "front" === q.value]])])) : n("", true)]);
|
|
134
134
|
};
|
|
135
135
|
} });
|
|
136
136
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const a = { "amb-page-container": "_amb-page-
|
|
1
|
+
const a = { "amb-page-container": "_amb-page-container_19cmx_1", "amb-page-container-header": "_amb-page-container-header_19cmx_6", "amb-page-container-main": "_amb-page-container-main_19cmx_9" };
|
|
2
2
|
export {
|
|
3
3
|
a as default
|
|
4
4
|
};
|