super-page-designer 2.2.82 → 2.2.88
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 +2 -2
- 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.vue3.js → 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-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +26 -26
- 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 +10 -10
- 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 +3 -3
- 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 +9 -9
- 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 +12853 -11195
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
|
@@ -1,106 +1,110 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, reactive as o, computed as n, watch as u, resolveComponent as r, createElementBlock as
|
|
2
|
-
import { ElMessage as
|
|
3
|
-
import {
|
|
4
|
-
import { EnableStates as
|
|
5
|
-
import
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, reactive as o, computed as n, watch as u, resolveComponent as r, createElementBlock as i, createBlock as s, openBlock as p, toDisplayString as c, withCtx as d, createVNode as m, createCommentVNode as v, unref as f, createElementVNode as g, Fragment as y, renderList as h, normalizeClass as b, withDirectives as w, vShow as V, normalizeStyle as C, createTextVNode as k, withModifiers as _, nextTick as z } from "vue";
|
|
2
|
+
import { ElMessage as x } from "element-plus";
|
|
3
|
+
import { Close as S, Check as j, Search as O, Plus as P, CircleClose as T } from "@element-plus/icons-vue";
|
|
4
|
+
import { EnableStates as A } from "../../../utils/interfaces/page-design-types.js";
|
|
5
|
+
import N from "agilebuilder-ui/src/utils/request";
|
|
6
|
+
const D = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, E = ["onClick"], $ = { style: { height: "230px", padding: "0 10px" } }, I = ["title"], L = ["title"], R = e({ __name: "page-permission-select", props: { rowObj: Object, pageDesign: Object, size: { type: String, default: "medium" }, showLabel: { type: Boolean, default: false }, onlyService: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: R2 }) {
|
|
7
7
|
var _a, _b;
|
|
8
|
-
const
|
|
8
|
+
const B = R2, F = e2, X = l(false), q = l(null), G = l(), H = l(null), J = l(false), K = l(""), M = l();
|
|
9
9
|
a(() => {
|
|
10
|
-
window.addEventListener("click",
|
|
10
|
+
window.addEventListener("click", W);
|
|
11
11
|
}), t(() => {
|
|
12
|
-
window.removeEventListener("click",
|
|
12
|
+
window.removeEventListener("click", W), ie && clearTimeout(ie);
|
|
13
13
|
});
|
|
14
|
-
let
|
|
15
|
-
function
|
|
14
|
+
let Q = null;
|
|
15
|
+
function W(e3) {
|
|
16
16
|
let l2 = null;
|
|
17
|
-
if (
|
|
18
|
-
if (e3.target ===
|
|
19
|
-
const a2 =
|
|
20
|
-
a2 && (e3.target === a2 || a2.contains(e3.target)) || (e3.target === l2 || l2.contains(e3.target) ?
|
|
17
|
+
if (H.value && (l2 = H.value.$el.parentNode), !e3.target || !l2) return;
|
|
18
|
+
if (e3.target === Q) return;
|
|
19
|
+
const a2 = q.value ? q.value.input : null;
|
|
20
|
+
a2 && (e3.target === a2 || a2.contains(e3.target)) || (e3.target === l2 || l2.contains(e3.target) ? Q = e3.target : (H.value.$el, J.value && Y()));
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
|
|
22
|
+
function Y(e3) {
|
|
23
|
+
J.value = false;
|
|
24
24
|
}
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
}, get: () =>
|
|
31
|
-
let
|
|
32
|
-
function
|
|
33
|
-
|
|
25
|
+
const Z = [{ value: "service", label: "服务" }, { value: "custom", label: "自定义" }], ee = o({ currentPage: 1, pageSize: 50, total: 0 }), le = l((_a = F.rowObj) == null ? void 0 : _a.type);
|
|
26
|
+
le.value || (le.value = Z[0].value), F.onlyService && (le.value = "service");
|
|
27
|
+
const ae = l("");
|
|
28
|
+
ae.value = (_b = F.rowObj) == null ? void 0 : _b.simpleCode;
|
|
29
|
+
const te = n({ set(e3) {
|
|
30
|
+
}, get: () => F.rowObj.simpleCode }), oe = o({ systemCode: "", searchValue: "" }), ne = l([{ value: "", version: 1, label: "" }]), ue = l([]);
|
|
31
|
+
let re, ie = null;
|
|
32
|
+
function se() {
|
|
33
|
+
de();
|
|
34
34
|
}
|
|
35
|
-
u(
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
u(oe, () => {
|
|
36
|
+
ie && clearTimeout(ie), ie = setTimeout(function() {
|
|
37
|
+
ee.currentPage = 1, de();
|
|
38
38
|
}, 300);
|
|
39
39
|
});
|
|
40
|
-
let
|
|
41
|
-
function
|
|
42
|
-
|
|
40
|
+
let pe = null;
|
|
41
|
+
function ce({ column: e3 }) {
|
|
42
|
+
pe = e3, de();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function de() {
|
|
45
45
|
var _a2, _b2;
|
|
46
|
-
const e3 = { pagination: { currentPage:
|
|
47
|
-
null !=
|
|
46
|
+
const e3 = { pagination: { currentPage: ee.currentPage, pageSize: ee.pageSize, showTotal: true }, searchForm: [], dynamicColumnInfo: [], sorts: [] };
|
|
47
|
+
null != pe && e3.sorts.push({ prop: pe.property, order: "ascending" == pe.order ? "asc" : "desc" }), oe.searchValue && (e3.searchForm.push({ propName: "name", propDbName: "name", operator: "CONTAIN", dataType: "TEXT", propValue: oe.searchValue, joinSign: "or" }), e3.searchForm.push({ propName: "code", propDbName: "code", operator: "CONTAIN", dataType: "TEXT", propValue: oe.searchValue }));
|
|
48
48
|
let l2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow/list", a2 = null;
|
|
49
|
-
if (
|
|
50
|
-
let e4 =
|
|
49
|
+
if (oe.systemCode) {
|
|
50
|
+
let e4 = ne.value.filter((e5) => e5.value == oe.systemCode);
|
|
51
51
|
e4.length > 0 && (a2 = e4[0].version);
|
|
52
52
|
}
|
|
53
|
-
l2 += "?systemCode=" + (
|
|
54
|
-
|
|
53
|
+
l2 += "?systemCode=" + (oe.systemCode ? oe.systemCode : (_a2 = F.pageDesign) == null ? void 0 : _a2.systemCode), l2 += "&publishVersion=" + (a2 || ((_b2 = F.pageDesign) == null ? void 0 : _b2.systemVersion)), l2 += "&parentCode=", N.post(l2, e3).then((e4) => {
|
|
54
|
+
ue.value = e4.data, ee.currentPage = e4.page, ee.pageSize = e4.size, ee.total = e4.total;
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const me = n(() => {
|
|
58
58
|
let e3 = 185;
|
|
59
|
-
return "custom" ==
|
|
59
|
+
return "custom" == le.value && (e3 = 170), e3;
|
|
60
60
|
});
|
|
61
|
-
function
|
|
62
|
-
if (e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), e3 || (e3 = "service"),
|
|
63
|
-
if (
|
|
64
|
-
|
|
61
|
+
function ve(e3) {
|
|
62
|
+
if (e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), e3 || (e3 = "service"), le.value = e3, "service" == le.value) {
|
|
63
|
+
if (re == oe.searchValue) return;
|
|
64
|
+
re = oe.searchValue, de();
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
|
|
67
|
+
function fe() {
|
|
68
|
+
var _a2, _b2;
|
|
69
|
+
(_b2 = (_a2 = G.value) == null ? void 0 : _a2.hide) == null ? void 0 : _b2.call(_a2);
|
|
70
|
+
}
|
|
71
|
+
function ge() {
|
|
72
|
+
le.value = "", ae.value = "", B("update:modelValue", "", "", ""), Y();
|
|
69
73
|
}
|
|
70
|
-
function
|
|
71
|
-
|
|
74
|
+
function ye() {
|
|
75
|
+
K.value ? (ae.value = K.value, B("update:modelValue", le.value, ae.value, ""), Y()) : x.error("请输入权限编码!");
|
|
72
76
|
}
|
|
73
|
-
function
|
|
74
|
-
|
|
75
|
-
|
|
77
|
+
function he() {
|
|
78
|
+
J.value = true, z(() => {
|
|
79
|
+
ve(le.value), N.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-charts/findAllSystem").then((e3) => {
|
|
76
80
|
var _a2, _b2;
|
|
77
81
|
const l2 = e3, a2 = [], t2 = {};
|
|
78
82
|
for (let e4 of l2) {
|
|
79
83
|
if (e4.deleted) continue;
|
|
80
|
-
if (e4.enabledState !=
|
|
84
|
+
if (e4.enabledState != A.ENABLE) continue;
|
|
81
85
|
const l3 = t2[e4.code];
|
|
82
86
|
null != l3 && e4.publishVersion > l3.publishVersion ? t2[e4.code] = e4 : null == l3 && (t2[e4.code] = e4, a2.push(e4.code));
|
|
83
87
|
}
|
|
84
|
-
const o2 = (_a2 =
|
|
85
|
-
|
|
88
|
+
const o2 = (_a2 = F.pageDesign) == null ? void 0 : _a2.systemCode, n2 = (_b2 = F.pageDesign) == null ? void 0 : _b2.systemVersion;
|
|
89
|
+
ne.value = [];
|
|
86
90
|
for (let e4 of a2) {
|
|
87
91
|
const l3 = t2[e4], a3 = e4 === o2 ? n2 : l3.publishVersion;
|
|
88
|
-
|
|
92
|
+
ne.value.push({ value: e4, label: l3.name + "(" + a3 + ")", version: a3 });
|
|
89
93
|
}
|
|
90
94
|
});
|
|
91
95
|
});
|
|
92
96
|
}
|
|
93
|
-
function
|
|
94
|
-
return e3 ? `${
|
|
97
|
+
function be(e3) {
|
|
98
|
+
return e3 ? `${F.rowObj.name}:${e3}` : null;
|
|
95
99
|
}
|
|
96
100
|
return (l2, a2) => {
|
|
97
|
-
const t2 = r("el-icon"), o2 = r("el-input"), n2 = r("el-
|
|
98
|
-
return e2.showLabel ? (p(),
|
|
99
|
-
return a3 = e3.row,
|
|
101
|
+
const t2 = r("el-icon"), o2 = r("el-input"), n2 = r("el-button"), u2 = r("el-tooltip"), z2 = r("el-col"), x2 = r("el-empty"), A2 = r("el-option"), N2 = r("el-select"), R3 = r("el-row"), F2 = r("el-text"), Q2 = r("el-table-column"), W2 = r("el-table"), re2 = r("el-pagination"), ie2 = r("el-popover");
|
|
102
|
+
return e2.showLabel ? (p(), i("span", D, c(e2.rowObj.name ? e2.rowObj.name : e2.rowObj.simpleCode), 1)) : (p(), s(ie2, { key: 1, modelValue: X.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => X.value = e3), ref_key: "popoverRef", ref: G, "popper-class": "amb-component-popover-main", visible: J.value, width: 400 }, { reference: d(() => [m(o2, { ref_key: "inputRef", ref: q, readonly: "", size: "small", onClick: he, title: e2.rowObj.name + "(" + e2.rowObj.simpleCode + ")", formatter: be, modelValue: te.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => te.value = e3), placeholder: "请选择" }, { suffix: d(() => [w(m(t2, { style: { cursor: "pointer" }, onClick: _(ge, ["stop"]) }, { default: d(() => [m(f(T))]), _: 1 }, 512), [[V, ae.value]])]), _: 1 }, 8, ["title", "modelValue"])]), default: d(() => [m(R3, { ref_key: "contentRef", ref: H }, { default: d(() => [m(u2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: d(() => [m(n2, { type: "text", class: "amb-component-popover-close-btn", icon: f(S), onClick: fe }, null, 8, ["icon"])]), _: 1 }), e2.onlyService ? v("", true) : (p(), s(z2, { key: 0, span: 8 }, { default: d(() => [g("div", U, [(p(), i(y, null, h(Z, (e3) => g("div", { class: b(["amb-popover-menu-item", e3.value == le.value ? "is-active" : ""]), onClick: (l3) => ve(e3.value) }, [m(t2, null, { default: d(() => [w(m(f(j), null, null, 512), [[V, e3.value == l2.iconType]])]), _: 2 }, 1024), g("span", null, c(e3.label), 1)], 10, E)), 64))])]), _: 1 })), le.value ? (p(), s(z2, { key: 2, span: e2.onlyService ? 24 : 16, style: { "padding-left": "10px" } }, { default: d(() => [m(R3, null, { default: d(() => [w(m(N2, { modelValue: oe.systemCode, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => oe.systemCode = e3), placeholder: "当前应用", clearable: "", style: { width: "100px" } }, { default: d(() => [(p(true), i(y, null, h(ne.value, (e3) => (p(), s(A2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: oe.searchValue, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => oe.searchValue = e3), placeholder: "搜索", "suffix-icon": f(O), style: C([{ "margin-left": "6px" }, { width: e2.onlyService ? "250px" : "130px" }]) }, null, 8, ["modelValue", "suffix-icon", "style"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: K.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => K.value = e3), placeholder: "请输入", style: { "margin-left": "6px", width: "200px" } }, null, 8, ["modelValue"]), [[V, "custom" == le.value]]), w(m(n2, { style: { "margin-left": "4px" }, onClick: ye, size: "small", type: "primary", icon: f(P), circle: "" }, null, 8, ["icon"]), [[V, "custom" == le.value]])]), _: 1 }), w(g("div", $, [m(F2, { type: "primary" }, { default: d(() => a2[7] || (a2[7] = [k("请输入自定义Controller中Permission注解中的code后点击添加图标.")])), _: 1 })], 512), [[V, "service" != le.value]]), w(m(W2, { ref_key: "tableRef", ref: M, height: me.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "highlight-current-row": true, onSortChange: ce, data: ue.value }, { default: d(() => [m(Q2, { width: "65" }, { default: d((e3) => [m(n2, { type: "default", size: "small", onClick: (l3) => {
|
|
103
|
+
return a3 = e3.row, ae.value = a3.code, B("update:modelValue", le.value, ae.value, a3.name, a3.id), void Y();
|
|
100
104
|
var a3;
|
|
101
|
-
} }, { default: d(() => a2[8] || (a2[8] = [
|
|
105
|
+
} }, { default: d(() => a2[8] || (a2[8] = [k(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), m(Q2, { label: "名称", prop: "name", width: "120", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.name }, c(e3.row.name), 9, I)]), _: 1 }), m(Q2, { label: "编码", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.code }, c(e3.row.code), 9, L)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), [[V, "service" == le.value]]), w(m(re2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": ee.currentPage, "onUpdate:currentPage": a2[4] || (a2[4] = (e3) => ee.currentPage = e3), "page-size": ee.pageSize, "onUpdate:pageSize": a2[5] || (a2[5] = (e3) => ee.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: ee.total, onCurrentChange: se }, null, 8, ["current-page", "page-size", "size", "total"]), [[V, "service" == le.value]])]), _: 1 }, 8, ["span"])) : (p(), s(z2, { key: 1, span: 16 }, { default: d(() => [m(x2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["modelValue", "visible"]));
|
|
102
106
|
};
|
|
103
107
|
} });
|
|
104
108
|
export {
|
|
105
|
-
|
|
109
|
+
R as default
|
|
106
110
|
};
|
|
@@ -1,56 +1,61 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
1
|
+
import { defineComponent as e, computed as i, ref as n, watch as t, resolveComponent as o, createBlock as s, openBlock as l, unref as r, normalizeStyle as u, normalizeClass as c, createSlots as a, withCtx as g, createElementVNode as p, createElementBlock as f, Fragment as m, renderList as d, createCommentVNode as y, createTextVNode as x, toDisplayString as b, reactive as v } from "vue";
|
|
2
2
|
import { ElCard as h } from "element-plus";
|
|
3
3
|
import { useDraggable as j } from "vue-draggable-plus";
|
|
4
|
-
import O from "
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
4
|
+
import { ArrowUp as O, ArrowDown as C } from "@element-plus/icons-vue";
|
|
5
|
+
import W from "../../object-design.vue.js";
|
|
6
|
+
import { deepCopy as S, getUuidv4 as k } from "../../../../utils/common-util.js";
|
|
7
|
+
import { caculateComponentStyle as w } from "../../../../utils/container-design-util.js";
|
|
7
8
|
import { copyHandleEvents as D, deleteDesignItem as _ } from "../../../../utils/page-design-util.js";
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
const T = e({ __name: "card-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: T2 }) {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const V = e2;
|
|
12
|
+
V.configure.items || (V.configure.items = []), V.configure.props = { isCollapse: true, isCollapseShow: true, ...V.configure.props ?? {} };
|
|
13
|
+
const A = i(() => {
|
|
14
|
+
var _a2;
|
|
15
|
+
return [true, void 0].includes((_a2 = V.configure.props) == null ? void 0 : _a2.isCollapse);
|
|
16
|
+
}), F = n(!((_a = V.configure.props) == null ? void 0 : _a.isCollapse) || false !== ((_b = V.configure.props) == null ? void 0 : _b.isCollapseShow)), J = n({}), z = n(""), I = n({});
|
|
17
|
+
q(), t(V.configure.style, () => {
|
|
18
|
+
q();
|
|
14
19
|
});
|
|
15
|
-
const
|
|
16
|
-
function
|
|
17
|
-
|
|
20
|
+
const P = i(() => [...V.configure.items]);
|
|
21
|
+
function q() {
|
|
22
|
+
w(V.configure, J, z, I), V.configure.runtime || (V.configure.runtime = {}), V.configure.runtime.style = J.value, V.configure.runtime.class = z.value, V.configure.runtime.headerStyle = I.value;
|
|
18
23
|
}
|
|
19
|
-
|
|
20
|
-
e3.length >
|
|
24
|
+
t(P, (e3, i2) => {
|
|
25
|
+
e3.length > i2.length && K(V.indexObj.index, e3[e3.length - 1]);
|
|
21
26
|
}, { important: true, deep: true });
|
|
22
|
-
const
|
|
23
|
-
|
|
27
|
+
const B = n({});
|
|
28
|
+
t(V.configure.props, () => {
|
|
24
29
|
!function() {
|
|
25
|
-
const e3 =
|
|
26
|
-
e3.isFlex && (
|
|
27
|
-
|
|
30
|
+
const e3 = V.configure.props, i2 = {};
|
|
31
|
+
e3.isFlex && (i2.display = "flex", i2["flex-wrap"] = "wrap", i2["align-content"] = "flex-start", e3.flexJustify && (i2["justify-content"] = e3.flexJustify));
|
|
32
|
+
B.value = i2, V.configure.runtime.contentStyle = i2;
|
|
28
33
|
}();
|
|
29
34
|
}, { immediate: true });
|
|
30
|
-
const
|
|
31
|
-
function
|
|
32
|
-
|
|
35
|
+
const E = n(null), { start: G } = j(E, V.configure.items, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: { name: "amb-assembly-item" }, animation: 300, ghostClass: "amb-item-ghost", forceFallback: true }), H = T2;
|
|
36
|
+
function K(e3, i2) {
|
|
37
|
+
H("onSelectWidget", e3, i2);
|
|
33
38
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
39
|
+
function L(e3, i2) {
|
|
40
|
+
H("onCustomAttrWidget", e3, i2);
|
|
36
41
|
}
|
|
37
|
-
function
|
|
38
|
-
let
|
|
39
|
-
const
|
|
40
|
-
if (
|
|
41
|
-
const
|
|
42
|
-
|
|
42
|
+
function M(e3) {
|
|
43
|
+
let i2 = V.configure.items;
|
|
44
|
+
const n2 = i2.indexOf(e3);
|
|
45
|
+
if (n2 > -1) {
|
|
46
|
+
const t2 = v(S(e3));
|
|
47
|
+
t2.uuid = k(), D(t2), i2.splice(n2, 0, t2);
|
|
43
48
|
}
|
|
44
49
|
}
|
|
45
|
-
function
|
|
46
|
-
let
|
|
47
|
-
_(
|
|
50
|
+
function N(e3) {
|
|
51
|
+
let i2 = V.configure.items;
|
|
52
|
+
_(i2, e3, e3.items && e3.items.length > 0, true);
|
|
48
53
|
}
|
|
49
|
-
return (e3,
|
|
50
|
-
const
|
|
51
|
-
return
|
|
54
|
+
return (e3, i2) => {
|
|
55
|
+
const n2 = o("SuperIcon"), t2 = o("el-link");
|
|
56
|
+
return l(), s(r(h), { class: c(["amb-design-item-default yx-card-box-view-main", z.value]), style: u(J.value) }, a({ default: g(() => [p("div", { ref_key: "ambDragParent", ref: E, class: "amb-design-item-default", style: u([{ "padding-bottom": "40px" }, B.value]) }, [(l(true), f(m, null, d(e3.configure.items, (i3, n3) => (l(), s(W, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: K, onOnCustomAttrWidget: L, onOnCopy: M, onOnDelete: N }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: g(() => [p("div", { class: "yx-card-box-view-title", style: u(I.value) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (l(), s(n2, { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), x(" " + b(e3.configure.props.base.title), 1)], 4), A.value ? (l(), s(t2, { key: 0, underline: false, icon: F.value ? r(O) : r(C), style: { margin: "-15px 0", "z-index": "1" } }, null, 8, ["icon"])) : y("", true)]), key: "0" } : void 0]), 1032, ["style", "class"]);
|
|
52
57
|
};
|
|
53
58
|
} });
|
|
54
59
|
export {
|
|
55
|
-
|
|
60
|
+
T as default
|
|
56
61
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as u, withCtx as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as u, withCtx as t, createVNode as d, createElementVNode as p, createTextVNode as r, toDisplayString as i, unref as n } from "vue";
|
|
2
2
|
import { Search as m } from "@element-plus/icons-vue";
|
|
3
3
|
import s from "../../common/common-attr-size.vue.js";
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import f from "../../common/common-function-code.vue.js";
|
|
5
|
+
const c = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { padding: "8px 0px 0px 0px" } }, b = e({ __name: "iframe-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
6
6
|
const b2 = l(["1", "2", "attrSize"]);
|
|
7
7
|
return (l2, x) => {
|
|
8
8
|
const V = o("el-text"), _ = o("el-form-item"), y = o("el-input"), v = o("el-collapse-item"), h = o("el-radio"), z = o("el-button"), U = o("el-radio-group"), k = o("el-collapse"), T = o("el-form");
|
|
9
|
-
return u(), a(T, { "label-width": "80px", size: "small" }, { default:
|
|
9
|
+
return u(), a(T, { "label-width": "80px", size: "small" }, { default: t(() => [d(k, { modelValue: b2.value, "onUpdate:modelValue": x[5] || (x[5] = (e3) => b2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [d(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", c, [d(_, { label: "组件类型" }, { default: t(() => [d(V, null, { default: t(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.uuid, "onUpdate:modelValue": x[0] || (x[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.code, "onUpdate:modelValue": x[1] || (x[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(_, { label: "绑定权限", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: t(() => [d(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })])]), _: 1 }), d(v, { title: "链接", name: "2", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", g, [d(U, { modelValue: e2.configure.props.linkType, "onUpdate:modelValue": x[4] || (x[4] = (l3) => e2.configure.props.linkType = l3) }, { default: t(() => [d(_, null, { label: t(() => [d(h, { value: "address" }, { default: t(() => x[6] || (x[6] = [r("地址")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.src, "onUpdate:modelValue": x[2] || (x[2] = (l3) => e2.configure.props.src = l3), disabled: "address" != e2.configure.props.linkType }, null, 8, ["modelValue", "disabled"])]), _: 1 }), d(_, { style: { "margin-top": "-8px", "margin-bottom": "-10px" } }, { label: t(() => [d(h, { value: "page" }, { default: t(() => x[7] || (x[7] = [r("页面")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.pageName, "onUpdate:modelValue": x[3] || (x[3] = (l3) => e2.configure.props.pageName = l3), readonly: "", disabled: "page" != e2.configure.props.linkType }, { append: t(() => [d(z, { type: "default", icon: n(m), disabled: "page" != e2.configure.props.linkType }, null, 8, ["icon", "disabled"])]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), d(s, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
10
10
|
};
|
|
11
11
|
} });
|
|
12
12
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./tabs-design.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const s = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const s = t(e, [["__scopeId", "data-v-eca0c768"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as i, createBlock as n, openBlock as l, unref as o, normalizeStyle as s, normalizeClass as a, withCtx as u, createElementBlock as r, Fragment as m, renderList as c,
|
|
2
|
-
import { ElTabs as
|
|
3
|
-
import { SuperIcon as
|
|
4
|
-
import { VueDraggable as
|
|
5
|
-
import
|
|
6
|
-
import { deepCopy as
|
|
7
|
-
import { caculateComponentStyle as
|
|
8
|
-
import { copyHandleEvents as
|
|
9
|
-
const
|
|
1
|
+
import { defineComponent as e, ref as t, watch as i, createBlock as n, openBlock as l, unref as o, normalizeStyle as s, normalizeClass as a, withCtx as u, createElementBlock as r, Fragment as m, renderList as c, createVNode as g, createCommentVNode as d, createElementVNode as p, toDisplayString as f, reactive as b } from "vue";
|
|
2
|
+
import { ElTabs as y, ElTabPane as v } from "element-plus";
|
|
3
|
+
import { SuperIcon as x } from "agilebuilder-ui";
|
|
4
|
+
import { VueDraggable as O } from "vue-draggable-plus";
|
|
5
|
+
import V from "../../object-design.vue.js";
|
|
6
|
+
import { deepCopy as W, getUuidv4 as j } from "../../../../utils/common-util.js";
|
|
7
|
+
import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
|
|
8
|
+
import { copyHandleEvents as T, deleteDesignItem as _ } from "../../../../utils/page-design-util.js";
|
|
9
|
+
const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
|
|
10
10
|
const k = e2;
|
|
11
11
|
k.configure.items || (k.configure.items = [{ label: "Tab1", index: 1, items: [] }, { label: "Tab2", index: 2, items: [] }]);
|
|
12
|
-
const
|
|
12
|
+
const C = t(1);
|
|
13
13
|
k.configure.runtime || (k.configure.runtime = {});
|
|
14
|
-
const
|
|
15
|
-
function
|
|
16
|
-
|
|
14
|
+
const S = t({}), z = t(""), A = t({});
|
|
15
|
+
function U() {
|
|
16
|
+
h(k.configure, S, z, A), k.configure.runtime.style = S.value, k.configure.runtime.class = z.value, k.configure.runtime.headerStyle = A.value;
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
U(), i(k.configure.style, () => {
|
|
19
|
+
U();
|
|
20
20
|
});
|
|
21
|
-
const
|
|
21
|
+
const w = D2;
|
|
22
22
|
function F(e3, t2) {
|
|
23
|
-
|
|
23
|
+
w("onSelectWidget", e3, t2);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function P(e3, t2) {
|
|
26
|
+
w("onCustomAttrWidget", e3, t2);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function q(e3) {
|
|
29
29
|
let t2 = k.configure.items;
|
|
30
30
|
for (let i2 = 0; i2 < t2.length; i2++) {
|
|
31
31
|
let n2 = t2[i2];
|
|
32
32
|
if (n2.items) for (let t3 = 0; t3 < n2.items.length; t3++) {
|
|
33
33
|
const t4 = n2.items.indexOf(e3);
|
|
34
34
|
if (t4 > -1) {
|
|
35
|
-
const i3 =
|
|
36
|
-
return i3.uuid =
|
|
35
|
+
const i3 = b(W(e3));
|
|
36
|
+
return i3.uuid = j(), T(i3), void n2.items.splice(t4, 0, i3);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
return (e3, t2) => (l(), n(o(
|
|
41
|
+
return (e3, t2) => (l(), n(o(y), { modelValue: C.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => C.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, class: a(["amb-design-item-default runtime-page-container-tabs-view", z.value]), style: s(S.value) }, { default: u(() => [(l(true), r(m, null, c(e3.configure.items, (t3, i2) => (l(), n(o(v), { key: i2, label: t3.label, name: t3.index, lazy: !!e3.configure.props.lazy }, { label: u(() => [t3.iconType && t3.iconValue ? (l(), n(o(x), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : d("", true), p("span", { style: s(A.value) }, f(t3.label), 5)]), default: u(() => [g(o(O), { tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e4) => t3.items = e4, sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", fallbackClass: true }, { default: u(() => [(l(true), r(m, null, c(t3.items, (i3, o2) => (l(), n(V, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: P, onOnCopy: q, onOnDelete: (e4) => function(e5, t4) {
|
|
42
42
|
const i4 = e5.items;
|
|
43
|
-
|
|
44
|
-
}(t3, e4) }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
43
|
+
_(i4, t4, t4.items && t4.items.length > 0, true);
|
|
44
|
+
}(t3, e4) }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128))]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class"]));
|
|
45
45
|
} });
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
D as default
|
|
48
48
|
};
|
|
@@ -97,7 +97,7 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
97
97
|
ce && clearTimeout(ce);
|
|
98
98
|
}), (l2, o2) => {
|
|
99
99
|
const a2 = r("el-button"), h2 = r("el-table-column"), y2 = r("el-icon"), v2 = r("Plus"), k2 = r("Delete"), V2 = r("el-option"), x2 = r("el-select"), W3 = r("el-input"), Y2 = r("el-switch"), le2 = r("el-table"), ae2 = r("el-dialog");
|
|
100
|
-
return t(), n("div", null, [u(ae2, { "append-to-body": "", "model-value": "", title: "快捷设置", width: "70%", "close-on-click-modal": false, "before-close": se }, { default: i(() => [p("div", O, [u(a2, { type: "primary", style: { "margin-left": "10px" }, icon: l2.Search, onClick: de }, { default: i(() => o2[0] || (o2[0] = [d("确定")])), _: 1 }, 8, ["icon"]), u(a2, { style: { "margin-left": "10px" }, icon: l2.Delete, onClick: fe }, { default: i(() => o2[1] || (o2[1] = [d("删除")])), _: 1 }, 8, ["icon"]), u(a2, { style: { "margin-left": "10px" }, icon: l2.Delete, onClick: he }, { default: i(() => o2[2] || (o2[2] = [d("重置顺序")])), _: 1 }, 8, ["icon"]), u(a2, { style: { "margin-left": "10px" }, icon: l2.RefreshLeft, onClick: se }, { default: i(() => o2[3] || (o2[3] = [d("取消")])), _: 1 }, 8, ["icon"])]), u(le2, { border: "", data: Z.value, "row-key": "uuid", "max-height": oe.value, style: { width: "100%" }, onRowClick: te, onSelectionChange: we }, { default: i(() => [u(h2, { type: "selection", align: "center", width: "50" }), u(h2, { type: "index", label: "序号", align: "center", width: "50" }), u(h2, { label: "操作", align: "center", width: "90" }, { default: i((e3) => [e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", U, [ue(e3.row) ? s("", true) : (t(), c(y2, { key: 0, size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
100
|
+
return t(), n("div", null, [u(ae2, { "append-to-body": "", "model-value": "", title: "快捷设置", width: "70%", "close-on-click-modal": false, "before-close": se }, { default: i(() => [p("div", O, [u(a2, { type: "primary", style: { "margin-left": "10px" }, icon: l2.Search, onClick: de }, { default: i(() => o2[0] || (o2[0] = [d("确定")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: fe }, { default: i(() => o2[1] || (o2[1] = [d("删除")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: he }, { default: i(() => o2[2] || (o2[2] = [d("重置顺序")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.RefreshLeft, onClick: se }, { default: i(() => o2[3] || (o2[3] = [d("取消")])), _: 1 }, 8, ["icon"])]), u(le2, { border: "", data: Z.value, "row-key": "uuid", "max-height": oe.value, style: { width: "100%" }, onRowClick: te, onSelectionChange: we }, { default: i(() => [u(h2, { type: "selection", align: "center", width: "50" }), u(h2, { type: "index", label: "序号", align: "center", width: "50" }), u(h2, { label: "操作", align: "center", width: "90" }, { default: i((e3) => [e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", U, [ue(e3.row) ? s("", true) : (t(), c(y2, { key: 0, size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
|
|
101
101
|
let l4 = me(e4);
|
|
102
102
|
if (l4 < 1) return;
|
|
103
103
|
const o3 = Z.value;
|
|
@@ -126,7 +126,7 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
|
|
|
126
126
|
}(l3.row) }, { default: i(() => [(t(true), n(f, null, w(e2.modelFields, (e3) => (t(), c(V2, { key: e3.name, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 }), u(h2, { width: "150" }, { header: i(() => o2[4] || (o2[4] = [d(" 标题 "), p("span", { style: { color: "red" } }, "*", -1)])), default: i((e3) => [e3.row.children && e3.row.children.length > 0 ? (t(), n("span", N, b(be(e3.row)), 1)) : (t(), n("span", D, [e3.row.uuid != ee.value || ie(e3.row) || pe(e3.row) ? (t(), n("label", F, b(e3.row.props.base.name), 1)) : (t(), c(W3, { key: 1, modelValue: e3.row.props.base.name, "onUpdate:modelValue": (l3) => e3.row.props.base.name = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"]))]))]), _: 1 }), u(h2, { label: "显示" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", L, b(e3.row.props.base.visible), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", E, [u(Y2, { modelValue: e3.row.props.base.visible, "onUpdate:modelValue": (l3) => e3.row.props.base.visible = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "显示顺序" }, { default: i((e3) => [e3.row.uuid != ee.value ? (t(), n("label", S, b(e3.row.props.base.displayOrder), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", I, [u(W3, { modelValue: e3.row.props.base.displayOrder, "onUpdate:modelValue": (l3) => e3.row.props.base.displayOrder = l3, modelModifiers: { number: true }, placeholder: "请输入" }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "导出" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", M, b(e3.row.props.base.exportable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", j, [u(Y2, { modelValue: e3.row.props.base.exportable, "onUpdate:modelValue": (l3) => e3.row.props.base.exportable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "查询设置" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", z, b(e3.row.props.base.querySettingName), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", $, [u(x2, { modelValue: e3.row.props.base.querySettingName, "onUpdate:modelValue": (l3) => e3.row.props.base.querySettingName = l3 }, { default: i(() => [u(V2, { label: "不查询", value: "no" }), u(V2, { label: "普通查询", value: "normal" }), u(V2, { label: "高级查询", value: "advanced" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", q, b(e3.row.props.editLine.editable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", R, [u(Y2, { modelValue: e3.row.props.editLine.editable, "onUpdate:modelValue": (l3) => e3.row.props.editLine.editable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑组件" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", A, b(e3.row.props.editLine.plugType), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", B, [u(x2, { modelValue: e3.row.props.editLine.plugType, "onUpdate:modelValue": (l3) => e3.row.props.editLine.plugType = l3, placeholder: "请选择", clearable: "", onChange: (l3) => {
|
|
127
127
|
var o3;
|
|
128
128
|
(o3 = e3.row).name = o3.props.editLine.plugType;
|
|
129
|
-
} }, { default: i(() => [(t(true), n(f, null, w(ne.value, (e4) => (t(), c(V2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]))]), _: 1 }), u(h2, { label: "标题对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", J, b(e3.row.props.base.alignTitle), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", H, [u(x2, { modelValue: e3.row.props.base.alignTitle, "onUpdate:modelValue": (l3) => e3.row.props.base.alignTitle = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[5] || (o2[5] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[6] || (o2[6] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[7] || (o2[7] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "内容对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", P, b(e3.row.props.base.alignContent), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", G, [u(x2, { modelValue: e3.row.props.base.alignContent, "onUpdate:modelValue": (l3) => e3.row.props.base.alignContent = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[8] || (o2[8] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[9] || (o2[9] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[10] || (o2[10] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "固定列" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", K, b(e3.row.props.base.listColumnFixed), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", Q, [u(x2, { modelValue: e3.row.props.base.listColumnFixed, "onUpdate:modelValue": (l3) => e3.row.props.base.listColumnFixed = l3 }, { default: i(() => [u(V2, { value:
|
|
129
|
+
} }, { default: i(() => [(t(true), n(f, null, w(ne.value, (e4) => (t(), c(V2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]))]), _: 1 }), u(h2, { label: "标题对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", J, b(e3.row.props.base.alignTitle), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", H, [u(x2, { modelValue: e3.row.props.base.alignTitle, "onUpdate:modelValue": (l3) => e3.row.props.base.alignTitle = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[5] || (o2[5] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[6] || (o2[6] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[7] || (o2[7] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "内容对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", P, b(e3.row.props.base.alignContent), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", G, [u(x2, { modelValue: e3.row.props.base.alignContent, "onUpdate:modelValue": (l3) => e3.row.props.base.alignContent = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[8] || (o2[8] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[9] || (o2[9] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[10] || (o2[10] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "固定列" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", K, b(e3.row.props.base.listColumnFixed), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", Q, [u(x2, { modelValue: e3.row.props.base.listColumnFixed, "onUpdate:modelValue": (l3) => e3.row.props.base.listColumnFixed = l3 }, { default: i(() => [u(V2, { value: false }, { default: i(() => o2[11] || (o2[11] = [d("否")])), _: 1 }), u(V2, { value: "left" }, { default: i(() => o2[12] || (o2[12] = [d("居左")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[13] || (o2[13] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])]), _: 1 })]);
|
|
130
130
|
};
|
|
131
131
|
} });
|
|
132
132
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./composite-header.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = o(e, [["__scopeId", "data-v-
|
|
4
|
+
const r = o(e, [["__scopeId", "data-v-d06d5717"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|