super-page-designer 2.2.73 → 2.2.77-sit11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +4 -4
- package/dist/es/components/design/utils/common-util.js +18 -7
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +21 -21
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +33 -33
- package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +21 -21
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +38 -34
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +20 -19
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +9 -8
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +39 -36
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +24 -23
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +64 -60
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +67 -63
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +43 -38
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +31 -31
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
- 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 +4 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +17 -14
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +83 -80
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +29 -9
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
- 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 +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +33 -25
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +33 -30
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
- 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 +14 -14
- 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/switch/switch-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +4 -0
- package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +25 -34
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +64 -64
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
- package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
- package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -9
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
- 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 +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
- package/dist/es/components/design/views/design/view/view-design.vue.js +27 -26
- package/dist/es/index.js +1 -1
- package/dist/es/style.css +12862 -11197
- package/package.json +5 -5
- package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as i, openBlock as t, withCtx as u, createVNode as s, createElementVNode as n, createElementBlock as r, Fragment as d, renderList as p, unref as m, createTextVNode as c, withDirectives as f, vShow as g, createCommentVNode as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import "../../../../../../stores/page-store.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import v from "../../common/common-icon-bind.vue.js";
|
|
6
|
+
import _ from "agilebuilder-ui/src/utils/request";
|
|
7
7
|
import y from "../../common/common-function-code.vue.js";
|
|
8
8
|
import "@element-plus/icons";
|
|
9
|
-
import "@element-plus/icons-vue";
|
|
9
|
+
import { Close as U, Check as x } from "@element-plus/icons-vue";
|
|
10
10
|
import "uuid";
|
|
11
11
|
import "../../../../../../stores/table-store.js";
|
|
12
12
|
import "../../../../../../stores/statistics-table-store.js";
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { getTableConfigByTableUuid as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}), void 0 ===
|
|
22
|
-
const
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})) :
|
|
14
|
+
import { getTableConfigByTableUuid as h } from "../../../../utils/page-table-util.js";
|
|
15
|
+
import k from "../../common/common-i18n-key-input.vue.js";
|
|
16
|
+
import P from "../../chart/statistical-table/component/link-table.vue.js";
|
|
17
|
+
const j = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, E = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
18
|
+
const E2 = e2, F = a(["base", "appearance", "otherSettings", "linkPage"]), T = a({}), q = a([]), C = a(S()), A = a(false);
|
|
19
|
+
E2.configure.props.base.templateFiles && E2.configure.props.base.templateFiles.forEach((e3) => {
|
|
20
|
+
q.value.push(e3.templateUuid);
|
|
21
|
+
}), void 0 === E2.configure.props.base.isEnableRequired && (E2.configure.props.base.isEnableRequired = true), !E2.configure.props.linkPage || E2.configure.props.linkPage instanceof Array || (E2.configure.props.linkPage = [{ linkPage: E2.configure.props.linkPage }]), A.value = true;
|
|
22
|
+
const N = a([]);
|
|
23
|
+
function R() {
|
|
24
|
+
q.value.length > 0 ? (E2.configure.props.base.templateFiles || (E2.configure.props.base.templateFiles = []), T.value.filter((e3) => q.value.includes(e3.uuid)).forEach((e3) => {
|
|
25
|
+
E2.configure.props.base.templateFiles.push({ templateName: e3.fileName, templateUuid: e3.uuid });
|
|
26
|
+
})) : E2.configure.props.base.templateFiles = [];
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
return
|
|
28
|
+
function S() {
|
|
29
|
+
return h(E2.pageDesign, E2.configure);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
const a2 =
|
|
33
|
-
|
|
31
|
+
function $(e3) {
|
|
32
|
+
const a2 = S();
|
|
33
|
+
C.value = a2;
|
|
34
34
|
}
|
|
35
35
|
return l(() => {
|
|
36
36
|
!function() {
|
|
37
37
|
var _a;
|
|
38
|
-
const e3 = (_a =
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
const e3 = (_a = E2.pageDesign) == null ? void 0 : _a.systemVersion;
|
|
39
|
+
_.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/template-management/list/${E2.pageDesign.systemCode}?publishVersion=${e3}`, {}).then((e4) => {
|
|
40
|
+
T.value = e4.data;
|
|
41
41
|
});
|
|
42
|
-
}(),
|
|
42
|
+
}(), E2.pageDesign.tableUuids && E2.pageDesign.tableUuids.length > 0 && (N.value = E2.pageDesign.tableUuids);
|
|
43
43
|
}), (a2, l2) => {
|
|
44
|
-
const
|
|
45
|
-
return t(),
|
|
46
|
-
|
|
47
|
-
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(
|
|
48
|
-
|
|
49
|
-
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : b("", true)])]), _: 1 }),
|
|
44
|
+
const _2 = o("el-option"), h2 = o("el-select"), S2 = o("el-form-item"), M = o("el-input"), O = o("el-radio"), I = o("el-radio-group"), B = o("el-collapse-item"), G = o("el-radio-button"), H = o("el-switch"), J = o("el-collapse"), K = o("el-form");
|
|
45
|
+
return t(), i(K, { "label-width": "80px", size: "small" }, { default: u(() => [s(J, { modelValue: F.value, "onUpdate:modelValue": l2[24] || (l2[24] = (e3) => F.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", j, [s(S2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: u(() => [(t(true), r(d, null, p(m(V)(), (e3) => (t(), i(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(M, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(S2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [s(M, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), i(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(S2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(k, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [s(O, { value: "large" }, { default: u(() => l2[25] || (l2[25] = [c("大")])), _: 1 }), s(O, { value: "default" }, { default: u(() => l2[26] || (l2[26] = [c("中")])), _: 1 }), s(O, { value: "small" }, { default: u(() => l2[27] || (l2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [s(O, { value: "default" }, { default: u(() => l2[28] || (l2[28] = [c("普通")])), _: 1 }), s(O, { value: "disabled" }, { default: u(() => l2[29] || (l2[29] = [c("禁用")])), _: 1 }), s(O, { value: "hidden" }, { default: u(() => l2[30] || (l2[30] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(B, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", D, [s(S2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: u(() => [s(_2, { label: "primary", value: "primary" }), s(_2, { label: "success", value: "success" }), s(_2, { label: "warning", value: "warning" }), s(_2, { label: "danger", value: "danger" }), s(_2, { label: "info", value: "info" }), s(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "图标", class: "amb-design-attr-item" }, { default: u(() => [(t(), i(v, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
|
|
46
|
+
E2.configure.props.base.iconType = e4, E2.configure.props.base.iconValue = a4;
|
|
47
|
+
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(s(S2, { label: "图标位置", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: u(() => [s(G, { value: "left" }, { default: u(() => l2[31] || (l2[31] = [c("标题前")])), _: 1 }), s(G, { value: "right" }, { default: u(() => l2[32] || (l2[32] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.iconValue]]), s(S2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(S2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(S2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), s(S2, { label: "加载状态", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: u(() => [s(O, { value: true }, { default: u(() => l2[33] || (l2[33] = [c("是")])), _: 1 }), s(O, { value: false }, { default: u(() => l2[34] || (l2[34] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: u(() => [s(O, { value: true }, { default: u(() => l2[35] || (l2[35] = [c("是")])), _: 1 }), s(O, { value: false }, { default: u(() => l2[36] || (l2[36] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "原生type", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: u(() => [s(O, { value: "button" }, { default: u(() => l2[37] || (l2[37] = [c("button")])), _: 1 }), s(O, { value: "submit" }, { default: u(() => l2[38] || (l2[38] = [c("submit")])), _: 1 }), s(O, { value: "reset" }, { default: u(() => l2[39] || (l2[39] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), s(B, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [A.value ? (t(), i(P, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: C.value, onDataChange: l2[15] || (l2[15] = (e3) => function(e4) {
|
|
48
|
+
E2.configure.props.linkPage = e4;
|
|
49
|
+
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : b("", true)])]), _: 1 }), s(B, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", z, [s(S2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "权限保护", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "是否异步", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "必填验证", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "模板路径", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: q.value, "onUpdate:modelValue": l2[21] || (l2[21] = (e3) => q.value = e3), filterable: "", multiple: "", onChange: R }, { default: u(() => [(t(true), r(d, null, p(T.value, (e3) => (t(), i(_2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "执行条件", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: u(() => [s(_2, { label: "无限制", value: "any" }), s(_2, { label: "选单行", value: "one" }), s(_2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(S2, { label: "对应表格", class: "amb-design-attr-item" }, { default: u(() => [s(h2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: $ }, { default: u(() => [(t(true), r(d, null, p(N.value, (e3) => (t(), i(_2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
50
50
|
};
|
|
51
51
|
} });
|
|
52
52
|
export {
|
|
53
|
-
|
|
53
|
+
E as default
|
|
54
54
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as e, ref as i, watch as
|
|
2
|
-
import { SuperIcon as
|
|
3
|
-
import { caculateDetailComponentStyle as
|
|
4
|
-
import { batchUpdatePermissions as
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { defineComponent as e, ref as i, watch as l, resolveComponent as u, createBlock as t, openBlock as n, normalizeStyle as o, normalizeClass as a, withCtx as s, createElementBlock as c, createCommentVNode as r, Fragment as p, createTextVNode as v, toDisplayString as y, unref as g } from "vue";
|
|
2
|
+
import { SuperIcon as d } from "agilebuilder-ui";
|
|
3
|
+
import { caculateDetailComponentStyle as f, caculateComponentProps as m } from "../../../../utils/form-design-util.js";
|
|
4
|
+
import { batchUpdatePermissions as V } from "../../../../utils/page-permission-util.js";
|
|
5
|
+
const b = e({ __name: "button-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
|
|
6
|
+
const b2 = e2;
|
|
7
|
+
b2.configure.runtime || (b2.configure.runtime = {});
|
|
8
|
+
const k = i({}), T = i(""), z = i({}), P = i({});
|
|
9
|
+
l(b2.configure.style, () => {
|
|
10
|
+
f(b2.configure, k, T, z), b2.configure.runtime.style = k.value, b2.configure.runtime.class = T.value, b2.configure.runtime.headerStyle = z.value;
|
|
11
11
|
}, { immediate: true });
|
|
12
|
-
const h =
|
|
13
|
-
let
|
|
14
|
-
return
|
|
15
|
-
|
|
16
|
-
let e4 =
|
|
17
|
-
const i3 = e4.base ? e4.base : {},
|
|
18
|
-
i3.type && (
|
|
19
|
-
}(), h.title !==
|
|
12
|
+
const h = b2.configure.props && b2.configure.props.base ? b2.configure.props.base : {};
|
|
13
|
+
let x = h.title;
|
|
14
|
+
return l(b2.configure.props, (e3, i2) => {
|
|
15
|
+
m(b2.configure, P), function() {
|
|
16
|
+
let e4 = b2.configure.props ? b2.configure.props : {};
|
|
17
|
+
const i3 = e4.base ? e4.base : {}, l2 = {};
|
|
18
|
+
i3.type && (l2.type = i3.type), i3.text && (l2.text = true), i3.plain && (l2.plain = true), i3.round && (l2.round = true), i3.iconType && i3.iconValue && (l2.iconType = i3.iconType, l2.iconValue = i3.iconValue, l2.iconPosition = i3.iconPosition), Object.assign(P.value, l2);
|
|
19
|
+
}(), h.title !== x && b2.pageDesign && (V(b2.configure, b2.pageDesign), x = h.title), b2.configure.runtime.props = P.value;
|
|
20
20
|
}, { immediate: true }), (e3, i2) => {
|
|
21
|
-
const
|
|
22
|
-
return
|
|
21
|
+
const l2 = u("el-link"), f2 = u("el-button");
|
|
22
|
+
return P.value.text ? (n(), t(l2, { key: 0, disabled: "disabled" === P.value.state, class: a(T.value), style: o(k.value), type: P.value.type, size: P.value.size }, { default: s(() => [P.value.title && "right" == P.value.iconPosition ? (n(), c(p, { key: 0 }, [v(y(P.value.title) + " ", 1), P.value.iconValue ? (n(), c(p, { key: 0 }, [v(" ")], 64)) : r("", true)], 64)) : r("", true), P.value.iconType && P.value.iconValue ? (n(), t(g(d), { key: 1, iconType: P.value.iconType, iconValue: P.value.iconValue }, null, 8, ["iconType", "iconValue"])) : r("", true), P.value.title && "right" != P.value.iconPosition ? (n(), c(p, { key: 2 }, [P.value.iconValue ? (n(), c(p, { key: 0 }, [v(" ")], 64)) : r("", true), v(" " + y(P.value.title), 1)], 64)) : r("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size"])) : (n(), t(f2, { key: 1, disabled: "disabled" === P.value.state, class: a(T.value), style: o(k.value), type: P.value.type, size: P.value.size, round: P.value.round, plain: P.value.plain }, { default: s(() => [P.value.title && "right" == P.value.iconPosition ? (n(), c(p, { key: 0 }, [v(y(P.value.title) + " ", 1), P.value.iconValue ? (n(), c(p, { key: 0 }, [v(" ")], 64)) : r("", true)], 64)) : r("", true), P.value.iconType && P.value.iconValue ? (n(), t(g(d), { key: 1, iconType: P.value.iconType, iconValue: P.value.iconValue }, null, 8, ["iconType", "iconValue"])) : r("", true), P.value.title && "right" != P.value.iconPosition ? (n(), c(p, { key: 2 }, [P.value.iconValue ? (n(), c(p, { key: 0 }, [v(" ")], 64)) : r("", true), v(" " + y(P.value.title), 1)], 64)) : r("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain"]));
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
b as default
|
|
27
27
|
};
|
package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as d, createElementVNode as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
return (l2,
|
|
6
|
-
const c = a("el-text"), g = a("el-form-item"), b = a("el-input"), _ = a("el-radio"), V = a("el-radio-group"), x = a("el-
|
|
7
|
-
return u(), t(
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as d, createElementVNode as n, createTextVNode as r, toDisplayString as i } from "vue";
|
|
2
|
+
import m from "../../common/common-function-code.vue.js";
|
|
3
|
+
const s = { style: { padding: "8px 0px 0px 0px" } }, p = e({ __name: "buttongroup-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }) }, setup(e2) {
|
|
4
|
+
const p2 = l(["base"]);
|
|
5
|
+
return (l2, f) => {
|
|
6
|
+
const c = a("el-text"), g = a("el-form-item"), b = a("el-input"), _ = a("el-radio"), V = a("el-radio-group"), x = a("el-input-number"), v = a("el-collapse-item"), y = a("el-collapse"), U = a("el-form");
|
|
7
|
+
return u(), t(U, { "label-width": "80px", size: "small" }, { default: o(() => [d(y, { modelValue: p2.value, "onUpdate:modelValue": f[3] || (f[3] = (e3) => p2.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(v, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", s, [d(g, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [d(c, null, { default: o(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f[0] || (f[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [d(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), d(g, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(V, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": f[1] || (f[1] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => f[4] || (f[4] = [r("普通")])), _: 1 }), d(_, { value: "hidden" }, { default: o(() => f[5] || (f[5] = [r("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(g, { label: "内容间距" }, { default: o(() => [d(x, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": f[2] || (f[2] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
8
8
|
};
|
|
9
9
|
} });
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
p as default
|
|
12
12
|
};
|
package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js
CHANGED
|
@@ -1,45 +1,49 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
2
|
-
import
|
|
3
|
-
import { caculateDetailComponentStyle as
|
|
4
|
-
import { useDraggable as
|
|
1
|
+
import { defineComponent as e, computed as t, ref as i, watch as n, resolveComponent as o, createBlock as u, openBlock as s, normalizeStyle as r, normalizeClass as l, withCtx as g, createElementBlock as c, Fragment as a, renderList as m, unref as f } from "vue";
|
|
2
|
+
import p from "../../object-design.vue.js";
|
|
3
|
+
import { caculateDetailComponentStyle as d, caculateComponentProps as b } from "../../../../utils/form-design-util.js";
|
|
4
|
+
import { useDraggable as v } from "vue-draggable-plus";
|
|
5
5
|
import "element-plus";
|
|
6
|
-
import { deleteDesignItem as
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
null !=
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
6
|
+
import { deleteDesignItem as y } from "../../../../utils/page-design-util.js";
|
|
7
|
+
const j = e({ __name: "buttongroup-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget"], setup(e2, { emit: j2 }) {
|
|
8
|
+
const O = e2;
|
|
9
|
+
null != O.configure.items && null != O.configure.items || (O.configure.items = []);
|
|
10
|
+
const x = O.configure.items;
|
|
11
|
+
O.configure.runtime || (O.configure.runtime = {});
|
|
12
|
+
const W = t(() => {
|
|
13
|
+
var _a;
|
|
14
|
+
const { gap: e3 } = ((_a = O.configure) == null ? void 0 : _a.props) ?? {};
|
|
15
|
+
return { ...e3 ? { gap: `${e3}px` } : {}, ...D.value ?? {} };
|
|
16
|
+
}), D = i({}), h = i(""), S = i({}), _ = i({});
|
|
17
|
+
n(O.configure.style, () => {
|
|
18
|
+
d(O.configure, D, h, S), O.configure.runtime.style = D.value, O.configure.runtime.class = h.value, O.configure.runtime.headerStyle = S.value;
|
|
19
|
+
}, { immediate: true }), n(O.configure.props, () => {
|
|
20
|
+
b(O.configure, _), function() {
|
|
21
|
+
let e3 = O.configure.props ? O.configure.props : {};
|
|
22
|
+
!e3.base || e3.base, Object.assign(_.value, {});
|
|
23
|
+
}(), O.configure.runtime.props = _.value;
|
|
20
24
|
}, { immediate: true });
|
|
21
|
-
const
|
|
22
|
-
|
|
25
|
+
const k = i(null);
|
|
26
|
+
v(k, x, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd(e3) {
|
|
23
27
|
} });
|
|
24
|
-
const
|
|
25
|
-
function
|
|
26
|
-
|
|
28
|
+
const C = j2;
|
|
29
|
+
function A(e3, t2) {
|
|
30
|
+
C("onSelectWidget", e3, t2);
|
|
27
31
|
}
|
|
28
|
-
function
|
|
29
|
-
let
|
|
30
|
-
const
|
|
31
|
-
if (-1 ==
|
|
32
|
+
function F(e3) {
|
|
33
|
+
let t2 = x;
|
|
34
|
+
const i2 = t2.indexOf(e3);
|
|
35
|
+
if (-1 == i2) return void alert("无可复制对象!");
|
|
32
36
|
const n2 = reactive(deepCopy(e3));
|
|
33
|
-
n2.uuid = getUuidv4(),
|
|
37
|
+
n2.uuid = getUuidv4(), t2.splice(i2, 0, n2);
|
|
34
38
|
}
|
|
35
|
-
function
|
|
36
|
-
|
|
39
|
+
function R(e3) {
|
|
40
|
+
y(x, e3, true, false);
|
|
37
41
|
}
|
|
38
|
-
return (e3,
|
|
39
|
-
const
|
|
40
|
-
return
|
|
42
|
+
return (e3, t2) => {
|
|
43
|
+
const i2 = o("el-button-group");
|
|
44
|
+
return s(), u(i2, { ref_key: "thisRef", ref: k, class: l([h.value, "amb-design-item-default amb-button-group-main"]), style: r(W.value) }, { default: g(() => [(s(true), c(a, null, m(f(x), (t3, i3) => (s(), u(p, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: A, onOnCopy: F, onOnDelete: R }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))]), _: 1 }, 8, ["class", "style"]);
|
|
41
45
|
};
|
|
42
46
|
} });
|
|
43
47
|
export {
|
|
44
|
-
|
|
48
|
+
j as default
|
|
45
49
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as u, withCtx as d, createVNode as r, unref as n, createTextVNode as i, createElementBlock as p, Fragment as m, renderList as s } from "vue";
|
|
2
|
-
import { CirclePlus as
|
|
2
|
+
import { CirclePlus as b, Delete as f } from "@element-plus/icons-vue";
|
|
3
3
|
import v from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import { ElMessage as c } from "element-plus";
|
|
5
5
|
import { getOperators as V } from "../../../../utils/data-table-util.js";
|
|
@@ -30,7 +30,7 @@ const w = e({ __name: "combination", props: { conditionList: { type: String, def
|
|
|
30
30
|
y.conditionList ? h.value = JSON.parse(y.conditionList) : y.list && (h.value = y.list);
|
|
31
31
|
}), (l2, a2) => {
|
|
32
32
|
const c2 = o("el-button"), _2 = o("el-row"), w3 = o("el-option"), U2 = o("el-select"), C2 = o("el-table-column"), B = o("el-table"), O = o("el-dialog");
|
|
33
|
-
return u(), t(O, { "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, onClose: a2[0] || (a2[0] = (e3) => g("close")) }, { default: d(() => [r(_2, { style: { "padding-bottom": "8px" } }, { default: d(() => [r(c2, { icon: n(
|
|
33
|
+
return u(), t(O, { "append-to-body": "", "model-value": "", title: "组合条件", width: "70%", "close-on-click-modal": false, onClose: a2[0] || (a2[0] = (e3) => g("close")) }, { default: d(() => [r(_2, { style: { "padding-bottom": "8px" } }, { default: d(() => [r(c2, { icon: n(b), plain: "", type: "primary", onClick: S }, { default: d(() => a2[1] || (a2[1] = [i(" 保存 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(b), plain: "", type: "primary", onClick: z }, { default: d(() => a2[2] || (a2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), r(c2, { icon: n(f), plain: "", type: "primary", onClick: j }, { default: d(() => a2[3] || (a2[3] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), r(B, { ref: "tableRef", "highlight-current-row": "", onCurrentChange: L, data: h.value, style: { width: "100%" } }, { default: d(() => [r(C2, { prop: "date", label: "(" }, { default: d((e3) => [r(U2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, clearable: "", size: "default" }, { default: d(() => [r(w3, { label: "", value: "" }), r(w3, { label: "(", value: "(" }), r(w3, { label: "((", value: "((" }), r(w3, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "name", label: "字段名(*)" }, { default: d((l3) => [r(U2, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", filterable: "", size: "default", onChange: (e3) => function(e4, l4, a3) {
|
|
34
34
|
const o2 = y.fieldMap[a3];
|
|
35
35
|
l4.dataType = o2.dataType, l4.propName = o2.name, N.value[e4] = V(o2);
|
|
36
36
|
}(l3.$index, l3.row, l3.row.propDbName) }, { default: d(() => [(u(true), p(m, null, s(e2.fieldNameList, (e3) => (u(), t(w3, { key: e3.id, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), r(C2, { prop: "address", label: "操作符" }, { default: d((e3) => [r(U2, { modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, clearable: "", size: "default" }, { default: d(() => [(u(true), p(m, null, s(n(V)(e3.row), (e4) => (u(), t(w3, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(C2, { prop: "address", label: "值(*)" }, { default: d((e3) => [r(v, { modelValue: e3.row.propValue, objModelOptions: k.value, "onUpdate:modelValue": (l3) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as i, withCtx as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as i, withCtx as t, createVNode as n, createCommentVNode as u, unref as d, createTextVNode as p, createElementVNode as r } from "vue";
|
|
2
2
|
import { formatConditionList as s } from "../../../../utils/data-table-util.js";
|
|
3
3
|
import { CirclePlus as c, Delete as m } from "@element-plus/icons-vue";
|
|
4
4
|
import f from "./combination.vue.js";
|
|
@@ -26,10 +26,10 @@ const b = { class: "dialog-footer" }, g = e({ __name: "condition-dialog", props:
|
|
|
26
26
|
}
|
|
27
27
|
return (l2, g3) => {
|
|
28
28
|
const v2 = o("el-button"), A = o("el-row"), w = o("el-input"), E = o("el-table-column"), F = o("el-table"), L = o("el-dialog");
|
|
29
|
-
return i(), a(L, { "model-value": "", title: "可执行条件", "append-to-body": "", onClose: g3[2] || (g3[2] = (e3) => T("close")) }, { footer:
|
|
29
|
+
return i(), a(L, { "model-value": "", title: "可执行条件", "append-to-body": "", onClose: g3[2] || (g3[2] = (e3) => T("close")) }, { footer: t(() => [r("div", b, [n(v2, { type: "default", onClick: g3[0] || (g3[0] = (e3) => T("close")) }, { default: t(() => g3[5] || (g3[5] = [p("取消")])), _: 1 }), n(v2, { type: "primary", onClick: g3[1] || (g3[1] = (e3) => T("close")) }, { default: t(() => g3[6] || (g3[6] = [p(" 确定 ")])), _: 1 })])]), default: t(() => [n(A, { style: { "padding-bottom": "8px" } }, { default: t(() => [n(v2, { icon: d(c), plain: "", type: "primary", onClick: S }, { default: t(() => g3[3] || (g3[3] = [p(" 添加 ")])), _: 1 }, 8, ["icon"]), n(v2, { icon: d(m), plain: "", type: "primary", onClick: O }, { default: t(() => g3[4] || (g3[4] = [p(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), n(F, { "highlight-current-row": "", onCurrentChange: R, data: _.configure.props.base.condition, style: { width: "100%" } }, { default: t(() => [n(E, { prop: "date", label: "组合条件", align: "center" }, { default: t((l3) => [n(w, { "model-value": d(s)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onClick: (e3) => {
|
|
30
30
|
return o2 = l3.row, a2 = l3.$index, C.value = o2.conditionList, I.value = a2, void (y.value = true);
|
|
31
31
|
var o2, a2;
|
|
32
|
-
} }, null, 8, ["model-value", "onClick"])]), _: 1 }),
|
|
32
|
+
} }, null, 8, ["model-value", "onClick"])]), _: 1 }), n(E, { prop: "name", label: "提示信息", align: "center" }, { default: t((e3) => [n(w, { size: "default", modelValue: e3.row.toolTips, "onUpdate:modelValue": (l3) => e3.row.toolTips = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(E, { prop: "address", label: "国际化key", align: "center" }, { default: t((e3) => [n(w, { size: "default", modelValue: e3.row.labelI18nKey, "onUpdate:modelValue": (l3) => e3.row.labelI18nKey = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), y.value ? (i(), a(f, { key: 0, conditionList: C.value, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: e2.tableConfigure, onSave: D, onClose: N }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true)]), _: 1 });
|
|
33
33
|
};
|
|
34
34
|
} });
|
|
35
35
|
export {
|
package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./journal-set-dialog.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = e(o, [["__scopeId", "data-v-
|
|
4
|
+
const r = e(o, [["__scopeId", "data-v-6b022e71"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as u, openBlock as o, withCtx as n, createElementBlock as i, Fragment as r, renderList as d, createTextVNode as m, toDisplayString as p, withKeys as s, createVNode as v, unref as f, createElementVNode as c } from "vue";
|
|
2
2
|
import { EditPen as y, Search as g } from "@element-plus/icons-vue";
|
|
3
3
|
import _ from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
const V = { class: "dialog-footer" }, k = e({ __name: "journal-set-dialog", props: { modelValue: { type: Array, default: () => [] } }, emits: ["save"], setup(e2, { emit: k2 }) {
|
|
@@ -18,17 +18,17 @@ const V = { class: "dialog-footer" }, k = e({ __name: "journal-set-dialog", prop
|
|
|
18
18
|
return a(() => {
|
|
19
19
|
C.modelValue && (h.value = C.modelValue);
|
|
20
20
|
}), (e3, l2) => {
|
|
21
|
-
const a2 =
|
|
22
|
-
return o(),
|
|
23
|
-
return o(),
|
|
21
|
+
const a2 = t("el-tag"), k3 = t("el-input"), C2 = t("el-button"), b2 = t("el-icon"), A = t("el-button-group"), K = t("el-dialog");
|
|
22
|
+
return o(), u(K, { "model-value": "", title: "日志设置", "append-to-body": "", width: "40%", onBeforeClose: l2[4] || (l2[4] = (l3) => e3.$emit("close")) }, { footer: n(() => [c("div", V, [v(C2, { type: "default", onClick: l2[3] || (l2[3] = (l3) => e3.$emit("close")) }, { default: n(() => l2[7] || (l2[7] = [m("取消")])), _: 1 }), v(C2, { type: "primary", onClick: B }, { default: n(() => l2[8] || (l2[8] = [m(" 确定 ")])), _: 1 })])]), default: n(() => [(o(true), i(r, null, d(h.value, (e4, l3) => {
|
|
23
|
+
return o(), u(a2, { key: l3, closable: "", size: "large", type: (t2 = e4, "2" === t2.type ? "success" : null), onClose: (l4) => {
|
|
24
24
|
return a3 = e4, void (h.value = h.value.filter((e5) => e5 != a3));
|
|
25
25
|
var a3;
|
|
26
|
-
} }, { default: n(() => [m(
|
|
27
|
-
var
|
|
28
|
-
}), 128)), x.value ? (o(),
|
|
26
|
+
} }, { default: n(() => [m(p(e4.name), 1)]), _: 2 }, 1032, ["type", "onClose"]);
|
|
27
|
+
var t2;
|
|
28
|
+
}), 128)), x.value ? (o(), u(k3, { key: 0, size: "default", style: { width: "200px", "margin-left": "10px" }, modelValue: z.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => z.value = e4), onBlur: U, onKeyup: s(U, ["enter"]) }, null, 8, ["modelValue"])) : w.value ? (o(), u(_, { key: 1, style: { width: "200px", "margin-left": "10px" }, modelValue: j.value, paramTypes: "['data','page']", "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => {
|
|
29
29
|
return l3 = e4, h.value.push({ name: l3 }), void (w.value = false);
|
|
30
30
|
var l3;
|
|
31
|
-
}) }, null, 8, ["modelValue"])) : (o(),
|
|
31
|
+
}) }, null, 8, ["modelValue"])) : (o(), u(A, { key: 2, style: { "margin-left": "10px" } }, { default: n(() => [v(C2, { size: "default", type: "primary", icon: f(y), onClick: $ }, { default: n(() => l2[5] || (l2[5] = [m("输入文字")])), _: 1 }, 8, ["icon"]), v(C2, { size: "default", type: "primary", onClick: l2[2] || (l2[2] = (e4) => w.value = true) }, { default: n(() => [l2[6] || (l2[6] = m(" 选择字段")), v(b2, { class: "el-icon--right" }, { default: n(() => [v(f(g))]), _: 1 })]), _: 1 })]), _: 1 }))]), _: 1 });
|
|
32
32
|
};
|
|
33
33
|
} });
|
|
34
34
|
export {
|
|
@@ -35,7 +35,7 @@ const w = { class: "dialog-footer" }, F = e({ __name: "set-dialog", props: { con
|
|
|
35
35
|
}
|
|
36
36
|
return _.configure.props.setValueList && (U.value = _.configure.props.setValueList), (l2, y2) => {
|
|
37
37
|
const F3 = o("el-button"), D2 = o("el-row"), N2 = o("el-option"), q = o("el-select"), A = o("el-table-column"), B = o("el-input"), E = o("el-table"), G = o("el-dialog");
|
|
38
|
-
return t(), a(G, { "model-value": "", title: "自动设值", "append-to-body": "", onClose: y2[1] || (y2[1] = (e3) => V("close")) }, { footer: n(() => [c("div", w, [u(F3, { onClick: y2[0] || (y2[0] = (e3) => V("close")) }, { default: n(() => y2[4] || (y2[4] = [r("取消")])), _: 1 }), u(F3, { type: "primary", onClick: x }, { default: n(() => y2[5] || (y2[5] = [r(" 确定 ")])), _: 1 })])]), default: n(() => [u(D2, { style: { "padding-bottom": "8px" } }, { default: n(() => [u(F3, { icon: d(v), plain: "", type: "primary", onClick: $ }, { default: n(() => y2[2] || (y2[2] = [r(" 添加 ")])), _: 1 }, 8, ["icon"]), u(F3, { icon: d(g), plain: "", type: "primary", onClick: R }, { default: n(() => y2[3] || (y2[3] = [r(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), u(E, { ref_key: "tableRef", ref: h, "highlight-current-row": "", data: U.value, style: { width: "100%" }, onCurrentChange: S }, { default: n(() => [u(A, { prop: "date", label: "填写方式", align: "center" }, { default: n((e3) => [u(q, { modelValue: e3.row.fillType, "onUpdate:modelValue": (l3) => e3.row.fillType = l3, clearable: "", size: "default", onFocus: (l3) => z(e3.row) }, { default: n(() => [u(N2, { label: "覆盖", value: "cover" }), u(N2, { label: "追加", value: "append" }), u(N2, { label: "插入最前面", value: "prepend" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), u(A, { prop: "date", label: "前置条件", align: "center" }, { default: n((l3) => [u(B, { "model-value": d(f)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onFocus: (e3) => z(l3.row), onClick: (e3) => {
|
|
38
|
+
return t(), a(G, { "model-value": "", title: "自动设值", "append-to-body": "", onClose: y2[1] || (y2[1] = (e3) => V("close")) }, { footer: n(() => [c("div", w, [u(F3, { type: "default", onClick: y2[0] || (y2[0] = (e3) => V("close")) }, { default: n(() => y2[4] || (y2[4] = [r("取消")])), _: 1 }), u(F3, { type: "primary", onClick: x }, { default: n(() => y2[5] || (y2[5] = [r(" 确定 ")])), _: 1 })])]), default: n(() => [u(D2, { style: { "padding-bottom": "8px" } }, { default: n(() => [u(F3, { icon: d(v), plain: "", type: "primary", onClick: $ }, { default: n(() => y2[2] || (y2[2] = [r(" 添加 ")])), _: 1 }, 8, ["icon"]), u(F3, { icon: d(g), plain: "", type: "primary", onClick: R }, { default: n(() => y2[3] || (y2[3] = [r(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), u(E, { ref_key: "tableRef", ref: h, "highlight-current-row": "", data: U.value, style: { width: "100%" }, onCurrentChange: S }, { default: n(() => [u(A, { prop: "date", label: "填写方式", align: "center" }, { default: n((e3) => [u(q, { modelValue: e3.row.fillType, "onUpdate:modelValue": (l3) => e3.row.fillType = l3, clearable: "", size: "default", onFocus: (l3) => z(e3.row) }, { default: n(() => [u(N2, { label: "覆盖", value: "cover" }), u(N2, { label: "追加", value: "append" }), u(N2, { label: "插入最前面", value: "prepend" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), u(A, { prop: "date", label: "前置条件", align: "center" }, { default: n((l3) => [u(B, { "model-value": d(f)(l3.row.conditionList, e2.pageDesign.modelFields, e2.pageDesign.modelFieldsMap), size: "default", onFocus: (e3) => z(l3.row), onClick: (e3) => {
|
|
39
39
|
return o2 = l3.row, a2 = l3.$index, k.value = o2.conditionList, j.value = a2, void (M.value = true);
|
|
40
40
|
var o2, a2;
|
|
41
41
|
} }, null, 8, ["model-value", "onFocus", "onClick"])]), _: 1 }), u(A, { label: "执行方法时设置", align: "center" }, { default: n(() => [u(A, { prop: "name", label: "字段", align: "center" }, { default: n((l3) => [u(q, { modelValue: l3.row.propDbName, "onUpdate:modelValue": (e3) => l3.row.propDbName = e3, clearable: "", size: "default", onFocus: (e3) => z(l3.row), onChange: (e3) => function(e4, l4) {
|
|
@@ -13,7 +13,7 @@ const _ = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { padding: "8p
|
|
|
13
13
|
}
|
|
14
14
|
return (a2, v3) => {
|
|
15
15
|
const O = l("el-text"), U = l("el-form-item"), T = l("el-input"), h = l("el-radio"), j = l("el-radio-group"), w = l("el-collapse-item"), k = l("el-option"), S = l("el-select"), D = l("el-collapse"), E = l("el-form");
|
|
16
|
-
return o(), t(E, { "label-width": "80px", size: "small" }, { default: u(() => [r(D, { modelValue: y.value, "onUpdate:modelValue": v3[10] || (v3[10] = (e3) => y.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", _, [r(U, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(O, null, { default: u(() => [s(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(U, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v3[0] || (v3[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(U, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(c, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), r(U, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [r(b, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v3[1] || (v3[1] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), r(U, { label: "菜单数据", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": v3[2] || (v3[2] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3) }, { default: u(() => [r(h, { value: "static" }, { default: u(() => v3[11] || (v3[11] = [s("静态数据")])), _: 1 }), r(h, { value: "variable" }, { default: u(() => v3[12] || (v3[12] = [s("绑定变量")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(f, { style: { "margin-bottom": "10px", "border-top": "1px solid var(--el-border-color-lighter)" }, dataOrigin: e2.configure.props.dataOrigin, pageDesign: e2.pageDesign, type: "dropdown", leftTittle: "编码", rightTittle: "显示名称" }, null, 8, ["dataOrigin", "pageDesign"]), [[p, !e2.configure.props.dataOrigin.optionValueSetType || "static" === e2.configure.props.dataOrigin.optionValueSetType]]), i(r(U, { label: "选择变量", class: "amb-design-attr-item" }, { default: u(() => [r(g, { modelValue: e2.configure.props.base.menuField, paramTypes: ["data", "page"], "onUpdate:modelValue": x }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "variable" === e2.configure.props.dataOrigin.optionValueSetType]]), r(U, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v3[3] || (v3[3] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "large" }, { default: u(() => v3[13] || (v3[13] = [s("大")])), _: 1 }), r(h, { value: "default" }, { default: u(() => v3[14] || (v3[14] = [s("中")])), _: 1 }), r(h, { value: "small" }, { default: u(() => v3[15] || (v3[15] = [s("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v3[4] || (v3[4] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "default" }, { default: u(() => v3[16] || (v3[16] = [s("普通")])), _: 1 }), r(h, { value: "disabled" }, { default: u(() => v3[17] || (v3[17] = [s("禁用")])), _: 1 }), r(h, { value: "hidden" }, { default: u(() => v3[18] || (v3[18] = [s("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(w, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", V, [r(U, { label: "触发行为", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.trigger, "onUpdate:modelValue": v3[5] || (v3[5] = (a3) => e2.configure.props.base.trigger = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "hover" }, { default: u(() => v3[19] || (v3[19] = [s("鼠标移动")])), _: 1 }), r(h, { value: "click" }, { default: u(() => v3[20] || (v3[20] = [s("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "呈现元素", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.triggerElement, "onUpdate:modelValue": v3[6] || (v3[6] = (a3) => e2.configure.props.base.triggerElement = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "button" }, { default: u(() => v3[21] || (v3[21] = [s("按钮")])), _: 1 }), r(h, { value: "text" }, { default: u(() => v3[22] || (v3[22] = [s("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.buttonType, "onUpdate:modelValue": v3[7] || (v3[7] = (a3) => e2.configure.props.base.buttonType = a3), class: "ml-4" }, { default: u(() => [r(k, { label: "primary", value: "primary" }), r(k, { label: "success", value: "success" }), r(k, { label: "warning", value: "warning" }), r(k, { label: "danger", value: "danger" }), r(k, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.splitButton, "onUpdate:modelValue": v3[8] || (v3[8] = (a3) => e2.configure.props.base.splitButton = a3), class: "ml-4" }, { default: u(() => [r(h, { value: true }, { default: u(() => v3[23] || (v3[23] = [s("是")])), _: 1 }), r(h, { value: false }, { default: u(() => v3[24] || (v3[24] = [s("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), r(U, { label: "弹出位置", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.placement, "onUpdate:modelValue": v3[9] || (v3[9] = (a3) => e2.configure.props.base.placement = a3), clearable: "", class: "ml-4" }, { default: u(() => [r(k, { value: "bottom" }, { default: u(() => v3[25] || (v3[25] = [s("bottom")])), _: 1 }), r(k, { value: "top" }, { default: u(() => v3[26] || (v3[26] = [s("top")])), _: 1 }), r(k, { value: "top-start" }, { default: u(() => v3[27] || (v3[27] = [s("top-start")])), _: 1 }), r(k, { value: "top-end" }, { default: u(() => v3[28] || (v3[28] = [s("top-end")])), _: 1 }), r(k, { value: "bottom-start" }, { default: u(() => v3[29] || (v3[29] = [s("bottom-start")])), _: 1 }), r(k, { value: "bottom-end" }, { default: u(() => v3[30] || (v3[30] = [s("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
16
|
+
return o(), t(E, { "label-width": "80px", size: "small" }, { default: u(() => [r(D, { modelValue: y.value, "onUpdate:modelValue": v3[10] || (v3[10] = (e3) => y.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", _, [r(U, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(O, null, { default: u(() => [s(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(U, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v3[0] || (v3[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(U, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(c, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), r(U, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [r(b, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v3[1] || (v3[1] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), r(U, { label: "菜单数据", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": v3[2] || (v3[2] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3) }, { default: u(() => [r(h, { value: "static" }, { default: u(() => v3[11] || (v3[11] = [s("静态数据")])), _: 1 }), r(h, { value: "variable" }, { default: u(() => v3[12] || (v3[12] = [s("绑定变量")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(f, { style: { "margin-bottom": "10px", "border-top": "1px solid var(--el-border-color-lighter)" }, dataOrigin: e2.configure.props.dataOrigin, pageDesign: e2.pageDesign, type: "dropdown", leftTittle: "编码", rightTittle: "显示名称" }, null, 8, ["dataOrigin", "pageDesign"]), [[p, !e2.configure.props.dataOrigin.optionValueSetType || "static" === e2.configure.props.dataOrigin.optionValueSetType]]), i(r(U, { label: "选择变量", class: "amb-design-attr-item" }, { default: u(() => [r(g, { modelValue: e2.configure.props.base.menuField, paramTypes: ["data", "page"], "onUpdate:modelValue": x }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "variable" === e2.configure.props.dataOrigin.optionValueSetType]]), r(U, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v3[3] || (v3[3] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "large" }, { default: u(() => v3[13] || (v3[13] = [s("大")])), _: 1 }), r(h, { value: "default" }, { default: u(() => v3[14] || (v3[14] = [s("中")])), _: 1 }), r(h, { value: "small" }, { default: u(() => v3[15] || (v3[15] = [s("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v3[4] || (v3[4] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "default" }, { default: u(() => v3[16] || (v3[16] = [s("普通")])), _: 1 }), r(h, { value: "disabled" }, { default: u(() => v3[17] || (v3[17] = [s("禁用")])), _: 1 }), r(h, { value: "hidden" }, { default: u(() => v3[18] || (v3[18] = [s("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(w, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", V, [r(U, { label: "触发行为", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.trigger, "onUpdate:modelValue": v3[5] || (v3[5] = (a3) => e2.configure.props.base.trigger = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "hover" }, { default: u(() => v3[19] || (v3[19] = [s("鼠标移动")])), _: 1 }), r(h, { value: "click" }, { default: u(() => v3[20] || (v3[20] = [s("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "呈现元素", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.triggerElement, "onUpdate:modelValue": v3[6] || (v3[6] = (a3) => e2.configure.props.base.triggerElement = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "button" }, { default: u(() => v3[21] || (v3[21] = [s("按钮")])), _: 1 }), r(h, { value: "text" }, { default: u(() => v3[22] || (v3[22] = [s("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.buttonType, "onUpdate:modelValue": v3[7] || (v3[7] = (a3) => e2.configure.props.base.buttonType = a3), class: "ml-4" }, { default: u(() => [r(k, { label: "primary", value: "primary" }), r(k, { label: "success", value: "success" }), r(k, { label: "warning", value: "warning" }), r(k, { label: "danger", value: "danger" }), r(k, { label: "info", value: "info" }), r(k, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.splitButton, "onUpdate:modelValue": v3[8] || (v3[8] = (a3) => e2.configure.props.base.splitButton = a3), class: "ml-4" }, { default: u(() => [r(h, { value: true }, { default: u(() => v3[23] || (v3[23] = [s("是")])), _: 1 }), r(h, { value: false }, { default: u(() => v3[24] || (v3[24] = [s("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), r(U, { label: "弹出位置", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.placement, "onUpdate:modelValue": v3[9] || (v3[9] = (a3) => e2.configure.props.base.placement = a3), clearable: "", class: "ml-4" }, { default: u(() => [r(k, { value: "bottom" }, { default: u(() => v3[25] || (v3[25] = [s("bottom")])), _: 1 }), r(k, { value: "top" }, { default: u(() => v3[26] || (v3[26] = [s("top")])), _: 1 }), r(k, { value: "top-start" }, { default: u(() => v3[27] || (v3[27] = [s("top-start")])), _: 1 }), r(k, { value: "top-end" }, { default: u(() => v3[28] || (v3[28] = [s("top-end")])), _: 1 }), r(k, { value: "bottom-start" }, { default: u(() => v3[29] || (v3[29] = [s("bottom-start")])), _: 1 }), r(k, { value: "bottom-end" }, { default: u(() => v3[30] || (v3[30] = [s("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
17
17
|
};
|
|
18
18
|
} });
|
|
19
19
|
export {
|