fec-dev-designer 1.1.2 → 5.1.3
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/es/node_modules/element-plus/{dist/locale → es/locale/lang}/zh-cn.js +0 -1
- package/es/package.json.js +66 -0
- package/es/src/assets/approvalHistory.png.js +4 -0
- package/es/src/assets/logo.png.js +4 -0
- package/es/src/components/DataSourceSelect.vue.js +2 -1
- package/es/src/components/FieldSetMapping.vue.js +245 -108
- package/es/src/components/OptionConfig.vue.js +3 -2
- package/es/src/components/OptionConfig.vue2.js +2 -2
- package/es/src/components/ParamsConfig.vue.js +2 -2
- package/es/src/components/ParamsConfig.vue2.js +31 -32
- package/es/src/components/TemplateSelector.vue.js +101 -81
- package/es/src/components/ValueSelector.vue2.js +49 -39
- package/es/src/layout/aside/HiddenFieldDialog.vue.js +313 -0
- package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue.js +72 -64
- package/es/src/layout/aside/index.vue.js +47 -50
- package/es/src/layout/header/index.vue.js +95 -84
- package/es/src/layout/index.vue.js +81 -76
- package/es/src/packages/advancedFilter/ValueInput.vue2.js +57 -60
- package/es/src/packages/dataSource/dataSource.vue.js +98 -105
- package/es/src/packages/dialog/index.vue.js +446 -322
- package/es/src/packages/event/index.vue2.js +44 -44
- package/es/src/packages/event/useEventDialog.js +2 -2
- package/es/src/packages/eventFlow/dialog/action/FormSubmit.vue2.js +47 -54
- package/es/src/packages/eventFlow/dialog/action/Page.vue.js +42 -49
- package/es/src/packages/form/aside/index.js +28 -2
- package/es/src/packages/form/aside/roleSelect.js +156 -0
- package/es/src/packages/form/aside/userSelect.js +206 -0
- package/es/src/packages/form/components/ApprovalHistory.vue.js +73 -0
- package/es/src/packages/form/components/ApprovalHistory.vue2.js +4 -0
- package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +51 -41
- package/es/src/packages/form/components/H2Wrapper.vue.js +13 -10
- package/es/src/packages/form/demo.js +8064 -0
- package/es/src/packages/form/headerBtn.vue.js +120 -99
- package/es/src/packages/form/index.vue.js +206 -180
- package/es/src/packages/form/property/approvalHistory.vue.js +178 -0
- package/es/src/packages/form/property/index.vue.js +23 -22
- package/es/src/packages/form/property/subTable.vue.js +37 -43
- package/es/src/packages/form/property/widgets.vue.js +258 -202
- package/es/src/packages/table/aside/index.js +2 -1
- package/es/src/packages/table/default.js +24 -21
- package/es/src/packages/table/index.vue.js +191 -155
- package/es/src/packages/table/property/widgets.vue.js +63 -47
- package/es/src/packages/table/queryModule/FixedModeConfig.vue.js +76 -77
- package/es/src/packages/table/queryModule/index.vue.js +108 -91
- package/es/src/packages/utils/common.js +33 -29
- package/es/style.css +1 -1
- package/package.json +1 -1
- package/es/src/packages/form/HiddenFieldDialog.vue.js +0 -258
- /package/es/src/{packages/form → layout/aside}/HiddenFieldDialog.vue2.js +0 -0
- /package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue2.js +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import "../../../node_modules/element-plus/theme-chalk/base.css.js";
|
|
2
2
|
import "../../../node_modules/element-plus/theme-chalk/el-dialog.css.js";
|
|
3
3
|
import "../../../node_modules/element-plus/theme-chalk/el-overlay.css.js";
|
|
4
|
-
import "../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
|
|
5
4
|
import "../../../node_modules/element-plus/theme-chalk/el-form.css.js";
|
|
6
5
|
import "../../../node_modules/element-plus/theme-chalk/el-checkbox.css.js";
|
|
7
6
|
import "../../../node_modules/element-plus/theme-chalk/el-switch.css.js";
|
|
7
|
+
import "../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
|
|
8
|
+
import "../../../node_modules/element-plus/theme-chalk/el-popover.css.js";
|
|
9
|
+
import "../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
|
|
8
10
|
import "../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
|
|
9
11
|
import "../../../node_modules/element-plus/theme-chalk/el-option.css.js";
|
|
10
12
|
import "../../../node_modules/element-plus/theme-chalk/el-option-group.css.js";
|
|
11
|
-
import "../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
|
|
12
13
|
import "../../../node_modules/element-plus/theme-chalk/el-select.css.js";
|
|
13
14
|
import "../../../node_modules/element-plus/theme-chalk/el-radio.css.js";
|
|
14
15
|
import "../../../node_modules/element-plus/theme-chalk/el-radio-group.css.js";
|
|
@@ -22,69 +23,69 @@ import "../../../node_modules/element-plus/theme-chalk/el-main.css.js";
|
|
|
22
23
|
import "../../../node_modules/element-plus/theme-chalk/el-link.css.js";
|
|
23
24
|
import "../../../node_modules/element-plus/theme-chalk/el-input.css.js";
|
|
24
25
|
import "../../../node_modules/element-plus/theme-chalk/el-button.css.js";
|
|
25
|
-
import { computed as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
26
|
+
import { computed as M, useModel as ke, ref as k, watch as Te, openBlock as d, createBlock as S, withCtx as n, createElementVNode as f, createVNode as l, createTextVNode as i, unref as o, createElementBlock as r, isRef as q, withKeys as Fe, createCommentVNode as y, Fragment as V, renderList as I, normalizeClass as Se, withDirectives as W, vShow as J, withModifiers as G, toDisplayString as z } from "vue";
|
|
27
|
+
import { VueDraggable as De } from "../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js";
|
|
28
|
+
import { Plus as Ee, Close as Ue, Check as xe, Delete as j, Rank as we, Edit as Me } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
|
|
29
|
+
import { getEditConfigData as Ie, cloneDeep as Q, getEditConfigDialogs as Be, setEditConfigDialogs as Ne } from "../utils/common.js";
|
|
30
|
+
import X from "../../components/TemplateSelector.vue.js";
|
|
31
|
+
import Y from "../../api/index.js";
|
|
32
|
+
import Oe from "../../components/ParamsConfig.vue2.js";
|
|
33
|
+
import Pe from "../../components/DataSourceSelect.vue.js";
|
|
34
|
+
import ze from "../../components/FieldSetMapping.vue.js";
|
|
35
|
+
import Ke from "../../components/OnlyFLowConfigButton.vue.js";
|
|
36
|
+
import Re from "../../components/FormulaEditorInput.vue.js";
|
|
37
|
+
import { defaultProperty as $e } from "../table/aside/index.js";
|
|
38
|
+
import { defaultTableConfig as Le } from "../table/default.js";
|
|
39
|
+
import Ae from "../table/property/widgets.vue.js";
|
|
35
40
|
import "../../../node_modules/element-plus/theme-chalk/el-badge.css.js";
|
|
36
41
|
import "../../../node_modules/element-plus/theme-chalk/el-message.css.js";
|
|
37
42
|
import "./index.vue2.js";
|
|
38
|
-
import
|
|
39
|
-
import { ElMessage as
|
|
40
|
-
import { ElButton as
|
|
41
|
-
import { ElHeader as
|
|
42
|
-
import { ElInput as
|
|
43
|
-
import { ElLink as
|
|
44
|
-
import { ElIcon as
|
|
45
|
-
import { ElFormItem as
|
|
46
|
-
import { ElRadioButton as
|
|
47
|
-
import { ElOption as
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
|
|
43
|
+
import He from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
44
|
+
import { ElMessage as Z } from "../../../node_modules/element-plus/es/components/message/index.js";
|
|
45
|
+
import { ElButton as qe } from "../../../node_modules/element-plus/es/components/button/index.js";
|
|
46
|
+
import { ElHeader as We, ElMain as Je, ElContainer as Ge, ElAside as je } from "../../../node_modules/element-plus/es/components/container/index.js";
|
|
47
|
+
import { ElInput as Qe } from "../../../node_modules/element-plus/es/components/input/index.js";
|
|
48
|
+
import { ElLink as Xe } from "../../../node_modules/element-plus/es/components/link/index.js";
|
|
49
|
+
import { ElIcon as Ye } from "../../../node_modules/element-plus/es/components/icon/index.js";
|
|
50
|
+
import { ElFormItem as Ze, ElForm as he } from "../../../node_modules/element-plus/es/components/form/index.js";
|
|
51
|
+
import { ElRadioButton as el, ElRadioGroup as ll } from "../../../node_modules/element-plus/es/components/radio/index.js";
|
|
52
|
+
import { ElOption as ol, ElSelect as tl } from "../../../node_modules/element-plus/es/components/select/index.js";
|
|
53
|
+
import { ElScrollbar as al } from "../../../node_modules/element-plus/es/components/scrollbar/index.js";
|
|
54
|
+
import { ElPopover as nl } from "../../../node_modules/element-plus/es/components/popover/index.js";
|
|
55
|
+
import { ElSwitch as ul } from "../../../node_modules/element-plus/es/components/switch/index.js";
|
|
56
|
+
import { ElCheckbox as il } from "../../../node_modules/element-plus/es/components/checkbox/index.js";
|
|
57
|
+
import { ElDialog as dl } from "../../../node_modules/element-plus/es/components/dialog/index.js";
|
|
58
|
+
const sl = { key: 0 }, ml = { class: "dialog-menu-item is-editing" }, rl = { class: "new-item-content" }, pl = { class: "edit-actions" }, fl = ["onClick"], bl = { class: "dialog-content" }, vl = { class: "dialog-name-wrapper" }, gl = { style: { display: "flex", gap: "16px", width: "100%" } }, cl = { class: "col-panel" }, Vl = { class: "col-header" }, _l = { class: "col-rules-list" }, yl = { class: "drag-handle" }, Cl = { class: "custom-col-btns" }, kl = { class: "col-property" }, Tl = { class: "footer-buttons-container" }, Fl = {
|
|
53
59
|
key: 0,
|
|
54
60
|
class: "empty-tip"
|
|
55
|
-
},
|
|
61
|
+
}, Sl = {
|
|
56
62
|
key: 1,
|
|
57
63
|
class: "footer-buttons"
|
|
58
|
-
},
|
|
64
|
+
}, Dl = {
|
|
59
65
|
key: 1,
|
|
60
66
|
class: "empty-selection"
|
|
61
|
-
},
|
|
67
|
+
}, El = { class: "dialog-footer" }, Ul = {
|
|
62
68
|
__name: "index",
|
|
63
69
|
props: {
|
|
64
70
|
modelValue: { required: !0 },
|
|
65
71
|
modelModifiers: {}
|
|
66
72
|
},
|
|
67
73
|
emits: ["update:modelValue"],
|
|
68
|
-
setup(
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
fieldName: e.fieldName,
|
|
73
|
-
fieldType: e.fieldType
|
|
74
|
-
}))), x = Ve(j, "modelValue"), b = _([]), f = _(-1);
|
|
75
|
-
ye(x, (u) => {
|
|
76
|
-
u && (E.value = !1, C.value = -1, b.value = Ee(Te()), b.value.length > 0 && f.value === -1 && (f.value = 0));
|
|
74
|
+
setup(h) {
|
|
75
|
+
const K = M(() => Ie()), D = ke(h, "modelValue"), g = k([]), b = k(-1);
|
|
76
|
+
Te(D, (u) => {
|
|
77
|
+
u && (E.value = !1, T.value = -1, g.value = Q(Be()), g.value.length > 0 && b.value === -1 && (b.value = 0));
|
|
77
78
|
});
|
|
78
|
-
const E =
|
|
79
|
-
E.value = !0,
|
|
80
|
-
},
|
|
81
|
-
if (!
|
|
82
|
-
|
|
79
|
+
const E = k(!1), C = k(""), T = k(-1), F = k(""), ee = () => {
|
|
80
|
+
E.value = !0, C.value = "";
|
|
81
|
+
}, R = () => {
|
|
82
|
+
if (!C.value.trim()) {
|
|
83
|
+
Z.warning("请输入弹层名称");
|
|
83
84
|
return;
|
|
84
85
|
}
|
|
85
|
-
|
|
86
|
+
g.value.push({
|
|
86
87
|
id: "dialog_" + Date.now(),
|
|
87
|
-
name:
|
|
88
|
+
name: C.value,
|
|
88
89
|
dialogSize: "standard",
|
|
89
90
|
dialogParams: [],
|
|
90
91
|
customWidth: "",
|
|
@@ -102,70 +103,86 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
102
103
|
subFormFooterButtons: []
|
|
103
104
|
// 表单底部按钮
|
|
104
105
|
// callbackEventConfig: {},
|
|
105
|
-
}), E.value = !1,
|
|
106
|
-
},
|
|
107
|
-
E.value = !1,
|
|
108
|
-
},
|
|
109
|
-
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
},
|
|
113
|
-
if (
|
|
106
|
+
}), E.value = !1, C.value = "", b.value = g.value.length - 1;
|
|
107
|
+
}, le = () => {
|
|
108
|
+
E.value = !1, C.value = "";
|
|
109
|
+
}, oe = (u) => {
|
|
110
|
+
g.value.splice(u, 1), b.value === u ? b.value = -1 : b.value > u && b.value--;
|
|
111
|
+
}, te = (u) => {
|
|
112
|
+
T.value = u, F.value = g.value[u].name;
|
|
113
|
+
}, ae = () => {
|
|
114
|
+
if (T.value !== -1) {
|
|
114
115
|
if (!F.value.trim()) {
|
|
115
|
-
|
|
116
|
+
Z.warning("请输入弹层名称");
|
|
116
117
|
return;
|
|
117
118
|
}
|
|
118
|
-
|
|
119
|
+
g.value[T.value].name = F.value, T.value = -1, F.value = "";
|
|
119
120
|
}
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
const u =
|
|
124
|
-
if (u.fieldMapping || (u.fieldMapping = []), (u == null ? void 0 : u.contentSource) == "table"
|
|
121
|
+
}, ne = () => {
|
|
122
|
+
Ne(g.value), D.value = !1;
|
|
123
|
+
}, U = k(null), B = k(null), t = M(() => {
|
|
124
|
+
const u = g.value[b.value];
|
|
125
|
+
if (u.fieldMapping || (u.fieldMapping = []), u.customTableConfig ? (u.customTableConfig.dataSources = K.value.dataSources, u.customTableConfig.queryConfig.enabled = !1) : (u.customTableConfig = Q(Le), u.customTableConfig.fieldsData = [], u.customTableConfig.dataSources = K.value.dataSources), (u == null ? void 0 : u.contentSource) == "table") {
|
|
125
126
|
const e = u == null ? void 0 : u.subTableId;
|
|
126
|
-
e &&
|
|
127
|
-
|
|
127
|
+
e && Y.getById(e, !1).then((m) => {
|
|
128
|
+
U.value = JSON.parse(m.context);
|
|
128
129
|
});
|
|
129
|
-
} else if ((u == null ? void 0 : u.contentSource) == "form"
|
|
130
|
+
} else if ((u == null ? void 0 : u.contentSource) == "form") {
|
|
130
131
|
const e = u == null ? void 0 : u.subFormId;
|
|
131
|
-
e &&
|
|
132
|
-
|
|
132
|
+
e && Y.getById(e, !1).then((m) => {
|
|
133
|
+
B.value = JSON.parse(m.context);
|
|
133
134
|
});
|
|
134
135
|
}
|
|
135
136
|
return u;
|
|
136
137
|
});
|
|
137
|
-
function
|
|
138
|
-
|
|
138
|
+
function ue(u) {
|
|
139
|
+
U.value = u, t.value.subTableMode = null;
|
|
139
140
|
}
|
|
140
|
-
function
|
|
141
|
-
|
|
141
|
+
function ie(u) {
|
|
142
|
+
B.value = u;
|
|
142
143
|
}
|
|
143
|
-
const
|
|
144
|
-
var u;
|
|
145
|
-
return (u = T.value) == null ? void 0 : u.mode;
|
|
146
|
-
}), z = w(() => {
|
|
144
|
+
const de = M(() => {
|
|
147
145
|
var u;
|
|
148
|
-
return (u =
|
|
149
|
-
}),
|
|
146
|
+
return (u = U.value) == null ? void 0 : u.mode;
|
|
147
|
+
}), $ = M(() => {
|
|
148
|
+
var u, e, m, x;
|
|
149
|
+
if (t.value.tableContent === "custom")
|
|
150
|
+
return ((e = (u = t.value) == null ? void 0 : u.customTableConfig) == null ? void 0 : e.fieldsData) || [];
|
|
151
|
+
if (t.value.tableContent === "select")
|
|
152
|
+
return [
|
|
153
|
+
...((m = U.value) == null ? void 0 : m.fieldsData) || [],
|
|
154
|
+
...((x = U.value) == null ? void 0 : x.hiddenFields) || []
|
|
155
|
+
];
|
|
156
|
+
}), N = M(() => {
|
|
150
157
|
var e;
|
|
151
|
-
const u = (e =
|
|
152
|
-
return u ? u.filter((
|
|
153
|
-
}),
|
|
154
|
-
var e,
|
|
155
|
-
return (
|
|
156
|
-
},
|
|
158
|
+
const u = (e = B.value) == null ? void 0 : e.pageFooterConfig.actions;
|
|
159
|
+
return u ? u.filter((m) => m.btnType == "primary") : [];
|
|
160
|
+
}), se = (u) => {
|
|
161
|
+
var e, m;
|
|
162
|
+
return (m = (e = t.value) == null ? void 0 : e.subFormFooterButtons) == null ? void 0 : m.includes(u);
|
|
163
|
+
}, me = (u) => {
|
|
157
164
|
t.value.subFormFooterButtons || (t.value.subFormFooterButtons = []);
|
|
158
165
|
const e = t.value.subFormFooterButtons.indexOf(u.id);
|
|
159
166
|
e > -1 ? t.value.subFormFooterButtons.splice(e, 1) : t.value.subFormFooterButtons.push(u.id);
|
|
160
167
|
};
|
|
161
|
-
function
|
|
168
|
+
function re(u) {
|
|
162
169
|
t.value.callbackEventConfig = u;
|
|
163
170
|
}
|
|
171
|
+
const pe = () => {
|
|
172
|
+
t.value.customTableConfig.fieldsData.push({
|
|
173
|
+
fieldType: "text",
|
|
174
|
+
label: "",
|
|
175
|
+
...$e,
|
|
176
|
+
fieldName: ""
|
|
177
|
+
});
|
|
178
|
+
}, fe = (u) => {
|
|
179
|
+
t.value.customTableConfig.fieldsData.splice(u, 1);
|
|
180
|
+
};
|
|
164
181
|
return (u, e) => {
|
|
165
|
-
const
|
|
166
|
-
return
|
|
167
|
-
modelValue:
|
|
168
|
-
"onUpdate:modelValue": e[
|
|
182
|
+
const m = qe, x = We, _ = Qe, be = Xe, L = Ye, O = Je, P = Ge, ve = je, s = Ze, p = el, w = ll, ge = ol, ce = tl, A = al, Ve = nl, H = ul, _e = il, ye = he, Ce = dl;
|
|
183
|
+
return d(), S(Ce, {
|
|
184
|
+
modelValue: D.value,
|
|
185
|
+
"onUpdate:modelValue": e[28] || (e[28] = (a) => D.value = a),
|
|
169
186
|
width: "50%",
|
|
170
187
|
title: "弹层配置",
|
|
171
188
|
draggable: "",
|
|
@@ -174,133 +191,133 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
174
191
|
class: "fec-dev-designer-dialog"
|
|
175
192
|
}, {
|
|
176
193
|
footer: n(() => [
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
onClick: e[
|
|
194
|
+
f("div", El, [
|
|
195
|
+
l(m, {
|
|
196
|
+
onClick: e[27] || (e[27] = (a) => D.value = !1)
|
|
180
197
|
}, {
|
|
181
|
-
default: n(() => [...e[
|
|
182
|
-
|
|
198
|
+
default: n(() => [...e[48] || (e[48] = [
|
|
199
|
+
i("取消", -1)
|
|
183
200
|
])]),
|
|
184
201
|
_: 1
|
|
185
202
|
}),
|
|
186
|
-
|
|
203
|
+
l(m, {
|
|
187
204
|
type: "primary",
|
|
188
|
-
onClick:
|
|
205
|
+
onClick: ne
|
|
189
206
|
}, {
|
|
190
|
-
default: n(() => [...e[
|
|
191
|
-
|
|
207
|
+
default: n(() => [...e[49] || (e[49] = [
|
|
208
|
+
i("确定", -1)
|
|
192
209
|
])]),
|
|
193
210
|
_: 1
|
|
194
211
|
})
|
|
195
212
|
])
|
|
196
213
|
]),
|
|
197
214
|
default: n(() => [
|
|
198
|
-
|
|
215
|
+
l(P, { style: { border: "1px solid #ebeef5", "border-radius": "4px", height: "600px" } }, {
|
|
199
216
|
default: n(() => [
|
|
200
|
-
|
|
217
|
+
l(ve, { width: "300px" }, {
|
|
201
218
|
default: n(() => [
|
|
202
|
-
|
|
219
|
+
l(P, null, {
|
|
203
220
|
default: n(() => [
|
|
204
|
-
|
|
221
|
+
l(x, {
|
|
205
222
|
height: "40px",
|
|
206
223
|
style: { "background-color": "#f2f2f2", "line-height": "40px" }
|
|
207
224
|
}, {
|
|
208
225
|
default: n(() => [
|
|
209
|
-
|
|
226
|
+
l(m, {
|
|
210
227
|
type: "primary",
|
|
211
228
|
link: "",
|
|
212
|
-
icon:
|
|
213
|
-
onClick:
|
|
229
|
+
icon: o(Ee),
|
|
230
|
+
onClick: ee
|
|
214
231
|
}, {
|
|
215
|
-
default: n(() => [...e[
|
|
216
|
-
|
|
232
|
+
default: n(() => [...e[29] || (e[29] = [
|
|
233
|
+
i(" 新增弹层 ", -1)
|
|
217
234
|
])]),
|
|
218
235
|
_: 1
|
|
219
236
|
}, 8, ["icon"])
|
|
220
237
|
]),
|
|
221
238
|
_: 1
|
|
222
239
|
}),
|
|
223
|
-
|
|
240
|
+
l(O, { style: { padding: "10px" } }, {
|
|
224
241
|
default: n(() => [
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
modelValue:
|
|
230
|
-
"onUpdate:modelValue": e[0] || (e[0] = (a) =>
|
|
242
|
+
o(E) ? (d(), r("div", sl, [
|
|
243
|
+
f("div", ml, [
|
|
244
|
+
f("div", rl, [
|
|
245
|
+
l(_, {
|
|
246
|
+
modelValue: o(C),
|
|
247
|
+
"onUpdate:modelValue": e[0] || (e[0] = (a) => q(C) ? C.value = a : null),
|
|
231
248
|
placeholder: "请输入弹层名称",
|
|
232
249
|
size: "default",
|
|
233
|
-
onKeyup:
|
|
250
|
+
onKeyup: Fe(R, ["enter"]),
|
|
234
251
|
class: "new-item-input"
|
|
235
252
|
}, null, 8, ["modelValue"]),
|
|
236
|
-
|
|
237
|
-
|
|
253
|
+
f("div", pl, [
|
|
254
|
+
l(m, {
|
|
238
255
|
size: "small",
|
|
239
|
-
icon:
|
|
240
|
-
onClick:
|
|
256
|
+
icon: o(Ue),
|
|
257
|
+
onClick: le
|
|
241
258
|
}, {
|
|
242
|
-
default: n(() => [...e[
|
|
243
|
-
|
|
259
|
+
default: n(() => [...e[30] || (e[30] = [
|
|
260
|
+
i(" 取消 ", -1)
|
|
244
261
|
])]),
|
|
245
262
|
_: 1
|
|
246
263
|
}, 8, ["icon"]),
|
|
247
|
-
|
|
264
|
+
l(m, {
|
|
248
265
|
type: "primary",
|
|
249
266
|
size: "small",
|
|
250
|
-
icon:
|
|
251
|
-
onClick:
|
|
267
|
+
icon: o(xe),
|
|
268
|
+
onClick: R
|
|
252
269
|
}, {
|
|
253
|
-
default: n(() => [...e[
|
|
254
|
-
|
|
270
|
+
default: n(() => [...e[31] || (e[31] = [
|
|
271
|
+
i(" 确认 ", -1)
|
|
255
272
|
])]),
|
|
256
273
|
_: 1
|
|
257
274
|
}, 8, ["icon"])
|
|
258
275
|
])
|
|
259
276
|
])
|
|
260
277
|
])
|
|
261
|
-
])) :
|
|
262
|
-
(
|
|
263
|
-
key:
|
|
264
|
-
class:
|
|
278
|
+
])) : y("", !0),
|
|
279
|
+
(d(!0), r(V, null, I(o(g), (a, v) => (d(), r("div", {
|
|
280
|
+
key: v,
|
|
281
|
+
class: Se([
|
|
265
282
|
"dialog-menu-item",
|
|
266
|
-
{ "is-active":
|
|
283
|
+
{ "is-active": o(b) === v }
|
|
267
284
|
]),
|
|
268
|
-
onClick: (
|
|
285
|
+
onClick: (c) => b.value = v
|
|
269
286
|
}, [
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
onBlur: (
|
|
287
|
+
f("div", bl, [
|
|
288
|
+
f("div", vl, [
|
|
289
|
+
W(l(_, {
|
|
290
|
+
onBlur: (c) => ae(),
|
|
274
291
|
maxlength: "30",
|
|
275
|
-
modelValue:
|
|
276
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
292
|
+
modelValue: o(F),
|
|
293
|
+
"onUpdate:modelValue": e[1] || (e[1] = (c) => q(F) ? F.value = c : null),
|
|
277
294
|
size: "small"
|
|
278
295
|
}, null, 8, ["onBlur", "modelValue"]), [
|
|
279
|
-
[
|
|
296
|
+
[J, o(T) === v]
|
|
280
297
|
]),
|
|
281
|
-
|
|
298
|
+
W(l(be, {
|
|
282
299
|
icon: "Edit",
|
|
283
|
-
onClick:
|
|
300
|
+
onClick: G((c) => te(v), ["stop"])
|
|
284
301
|
}, {
|
|
285
302
|
default: n(() => [
|
|
286
|
-
|
|
303
|
+
i(z(a.name), 1)
|
|
287
304
|
]),
|
|
288
305
|
_: 2
|
|
289
306
|
}, 1032, ["onClick"]), [
|
|
290
|
-
[
|
|
307
|
+
[J, o(T) !== v]
|
|
291
308
|
])
|
|
292
309
|
]),
|
|
293
|
-
|
|
310
|
+
l(L, {
|
|
294
311
|
class: "delete-icon",
|
|
295
|
-
onClick:
|
|
312
|
+
onClick: G((c) => oe(v), ["stop"])
|
|
296
313
|
}, {
|
|
297
314
|
default: n(() => [
|
|
298
|
-
o(
|
|
315
|
+
l(o(j))
|
|
299
316
|
]),
|
|
300
317
|
_: 1
|
|
301
318
|
}, 8, ["onClick"])
|
|
302
319
|
])
|
|
303
|
-
], 10,
|
|
320
|
+
], 10, fl))), 128))
|
|
304
321
|
]),
|
|
305
322
|
_: 1
|
|
306
323
|
})
|
|
@@ -310,72 +327,72 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
310
327
|
]),
|
|
311
328
|
_: 1
|
|
312
329
|
}),
|
|
313
|
-
|
|
330
|
+
l(O, { style: { "border-left": "1px solid #ebeef5", padding: "0" } }, {
|
|
314
331
|
default: n(() => [
|
|
315
|
-
|
|
332
|
+
o(b) !== -1 ? (d(), S(P, {
|
|
316
333
|
key: 0,
|
|
317
334
|
style: { height: "100%" }
|
|
318
335
|
}, {
|
|
319
336
|
default: n(() => [
|
|
320
|
-
|
|
337
|
+
l(x, {
|
|
321
338
|
height: "40px",
|
|
322
339
|
class: "dialog-header"
|
|
323
340
|
}, {
|
|
324
341
|
default: n(() => [
|
|
325
|
-
|
|
342
|
+
f("div", null, z(o(t).name), 1)
|
|
326
343
|
]),
|
|
327
344
|
_: 1
|
|
328
345
|
}),
|
|
329
|
-
|
|
346
|
+
l(O, { style: { padding: "12px 20px 0 20px" } }, {
|
|
330
347
|
default: n(() => [
|
|
331
|
-
|
|
348
|
+
l(A, null, {
|
|
332
349
|
default: n(() => [
|
|
333
|
-
|
|
334
|
-
model:
|
|
350
|
+
l(ye, {
|
|
351
|
+
model: o(t),
|
|
335
352
|
"label-width": "120px",
|
|
336
353
|
style: { "padding-right": "20px" },
|
|
337
354
|
size: "small"
|
|
338
355
|
}, {
|
|
339
356
|
default: n(() => [
|
|
340
|
-
|
|
357
|
+
l(s, { label: "弹层标题" }, {
|
|
341
358
|
default: n(() => [
|
|
342
|
-
|
|
343
|
-
modelValue:
|
|
344
|
-
"onUpdate:modelValue": e[2] || (e[2] = (a) =>
|
|
359
|
+
l(_, {
|
|
360
|
+
modelValue: o(t).dialogTitle,
|
|
361
|
+
"onUpdate:modelValue": e[2] || (e[2] = (a) => o(t).dialogTitle = a),
|
|
345
362
|
placeholder: "请输入弹层标题",
|
|
346
363
|
clearable: ""
|
|
347
364
|
}, null, 8, ["modelValue"])
|
|
348
365
|
]),
|
|
349
366
|
_: 1
|
|
350
367
|
}),
|
|
351
|
-
|
|
368
|
+
l(s, { label: "弹层尺寸" }, {
|
|
352
369
|
default: n(() => [
|
|
353
|
-
|
|
354
|
-
modelValue:
|
|
355
|
-
"onUpdate:modelValue": e[3] || (e[3] = (a) =>
|
|
370
|
+
l(w, {
|
|
371
|
+
modelValue: o(t).dialogSize,
|
|
372
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => o(t).dialogSize = a)
|
|
356
373
|
}, {
|
|
357
374
|
default: n(() => [
|
|
358
|
-
|
|
359
|
-
default: n(() => [...e[
|
|
360
|
-
|
|
375
|
+
l(p, { value: "standard" }, {
|
|
376
|
+
default: n(() => [...e[32] || (e[32] = [
|
|
377
|
+
i("标准", -1)
|
|
361
378
|
])]),
|
|
362
379
|
_: 1
|
|
363
380
|
}),
|
|
364
|
-
|
|
365
|
-
default: n(() => [...e[
|
|
366
|
-
|
|
381
|
+
l(p, { value: "large" }, {
|
|
382
|
+
default: n(() => [...e[33] || (e[33] = [
|
|
383
|
+
i("更大", -1)
|
|
367
384
|
])]),
|
|
368
385
|
_: 1
|
|
369
386
|
}),
|
|
370
|
-
|
|
371
|
-
default: n(() => [...e[
|
|
372
|
-
|
|
387
|
+
l(p, { value: "small" }, {
|
|
388
|
+
default: n(() => [...e[34] || (e[34] = [
|
|
389
|
+
i("更小", -1)
|
|
373
390
|
])]),
|
|
374
391
|
_: 1
|
|
375
392
|
}),
|
|
376
|
-
|
|
377
|
-
default: n(() => [...e[
|
|
378
|
-
|
|
393
|
+
l(p, { value: "custom" }, {
|
|
394
|
+
default: n(() => [...e[35] || (e[35] = [
|
|
395
|
+
i("自定义", -1)
|
|
379
396
|
])]),
|
|
380
397
|
_: 1
|
|
381
398
|
})
|
|
@@ -385,60 +402,65 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
385
402
|
]),
|
|
386
403
|
_: 1
|
|
387
404
|
}),
|
|
388
|
-
|
|
405
|
+
o(t).dialogSize === "custom" ? (d(), S(s, {
|
|
389
406
|
key: 0,
|
|
390
407
|
label: "自定义尺寸"
|
|
391
408
|
}, {
|
|
392
409
|
default: n(() => [
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
modelValue:
|
|
396
|
-
"onUpdate:modelValue": e[4] || (e[4] = (a) =>
|
|
410
|
+
f("div", gl, [
|
|
411
|
+
l(_, {
|
|
412
|
+
modelValue: o(t).customWidth,
|
|
413
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => o(t).customWidth = a),
|
|
397
414
|
placeholder: "宽度,如:800px、60%",
|
|
398
415
|
style: { flex: "1" }
|
|
399
416
|
}, null, 8, ["modelValue"]),
|
|
400
|
-
|
|
401
|
-
modelValue:
|
|
402
|
-
"onUpdate:modelValue": e[5] || (e[5] = (a) =>
|
|
417
|
+
l(_, {
|
|
418
|
+
modelValue: o(t).customMaxHeight,
|
|
419
|
+
"onUpdate:modelValue": e[5] || (e[5] = (a) => o(t).customMaxHeight = a),
|
|
403
420
|
placeholder: "最大高度,如:600px、80vh",
|
|
404
421
|
style: { flex: "1" }
|
|
405
422
|
}, null, 8, ["modelValue"])
|
|
406
423
|
])
|
|
407
424
|
]),
|
|
408
425
|
_: 1
|
|
409
|
-
})) :
|
|
410
|
-
|
|
426
|
+
})) : y("", !0),
|
|
427
|
+
l(s, { label: "弹层参数" }, {
|
|
411
428
|
default: n(() => [
|
|
412
|
-
|
|
413
|
-
modelValue:
|
|
414
|
-
"onUpdate:modelValue": e[6] || (e[6] = (a) =>
|
|
415
|
-
|
|
416
|
-
}, null, 8, ["modelValue", "available-fields"])
|
|
429
|
+
l(Oe, {
|
|
430
|
+
modelValue: o(t).dialogParams,
|
|
431
|
+
"onUpdate:modelValue": e[6] || (e[6] = (a) => o(t).dialogParams = a)
|
|
432
|
+
}, null, 8, ["modelValue"])
|
|
417
433
|
]),
|
|
418
434
|
_: 1
|
|
419
435
|
}),
|
|
420
|
-
|
|
436
|
+
l(s, { label: "弹层类型" }, {
|
|
421
437
|
default: n(() => [
|
|
422
|
-
|
|
423
|
-
modelValue:
|
|
424
|
-
"onUpdate:modelValue": e[7] || (e[7] = (a) =>
|
|
438
|
+
l(w, {
|
|
439
|
+
modelValue: o(t).contentSource,
|
|
440
|
+
"onUpdate:modelValue": e[7] || (e[7] = (a) => o(t).contentSource = a)
|
|
425
441
|
}, {
|
|
426
442
|
default: n(() => [
|
|
427
|
-
|
|
428
|
-
default: n(() => [...e[
|
|
429
|
-
|
|
443
|
+
l(p, { value: "table" }, {
|
|
444
|
+
default: n(() => [...e[36] || (e[36] = [
|
|
445
|
+
i("列表", -1)
|
|
430
446
|
])]),
|
|
431
447
|
_: 1
|
|
432
448
|
}),
|
|
433
|
-
|
|
434
|
-
default: n(() => [...e[
|
|
435
|
-
|
|
449
|
+
l(p, { value: "form" }, {
|
|
450
|
+
default: n(() => [...e[37] || (e[37] = [
|
|
451
|
+
i("表单", -1)
|
|
436
452
|
])]),
|
|
437
453
|
_: 1
|
|
438
454
|
}),
|
|
439
|
-
|
|
440
|
-
default: n(() => [...e[
|
|
441
|
-
|
|
455
|
+
l(p, { value: "tree" }, {
|
|
456
|
+
default: n(() => [...e[38] || (e[38] = [
|
|
457
|
+
i("树形", -1)
|
|
458
|
+
])]),
|
|
459
|
+
_: 1
|
|
460
|
+
}),
|
|
461
|
+
l(p, { value: "component" }, {
|
|
462
|
+
default: n(() => [...e[39] || (e[39] = [
|
|
463
|
+
i("组件", -1)
|
|
442
464
|
])]),
|
|
443
465
|
_: 1
|
|
444
466
|
})
|
|
@@ -448,23 +470,23 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
448
470
|
]),
|
|
449
471
|
_: 1
|
|
450
472
|
}),
|
|
451
|
-
|
|
452
|
-
|
|
473
|
+
o(t).contentSource === "table" ? (d(), r(V, { key: 1 }, [
|
|
474
|
+
l(s, { label: "列表内容" }, {
|
|
453
475
|
default: n(() => [
|
|
454
|
-
|
|
455
|
-
modelValue:
|
|
456
|
-
"onUpdate:modelValue": e[8] || (e[8] = (a) =>
|
|
476
|
+
l(w, {
|
|
477
|
+
modelValue: o(t).tableContent,
|
|
478
|
+
"onUpdate:modelValue": e[8] || (e[8] = (a) => o(t).tableContent = a)
|
|
457
479
|
}, {
|
|
458
480
|
default: n(() => [
|
|
459
|
-
|
|
460
|
-
default: n(() => [...e[
|
|
461
|
-
|
|
481
|
+
l(p, { value: "select" }, {
|
|
482
|
+
default: n(() => [...e[40] || (e[40] = [
|
|
483
|
+
i("选择列表", -1)
|
|
462
484
|
])]),
|
|
463
485
|
_: 1
|
|
464
486
|
}),
|
|
465
|
-
|
|
466
|
-
default: n(() => [...e[
|
|
467
|
-
|
|
487
|
+
l(p, { value: "custom" }, {
|
|
488
|
+
default: n(() => [...e[41] || (e[41] = [
|
|
489
|
+
i("自定义", -1)
|
|
468
490
|
])]),
|
|
469
491
|
_: 1
|
|
470
492
|
})
|
|
@@ -474,34 +496,31 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
474
496
|
]),
|
|
475
497
|
_: 1
|
|
476
498
|
}),
|
|
477
|
-
|
|
478
|
-
l(
|
|
479
|
-
key: 0,
|
|
480
|
-
label: "选择列表"
|
|
481
|
-
}, {
|
|
499
|
+
o(t).tableContent === "select" ? (d(), r(V, { key: 0 }, [
|
|
500
|
+
l(s, { label: "选择列表" }, {
|
|
482
501
|
default: n(() => [
|
|
483
|
-
|
|
484
|
-
modelValue:
|
|
485
|
-
"onUpdate:modelValue": e[9] || (e[9] = (a) =>
|
|
486
|
-
templateKey:
|
|
487
|
-
"onUpdate:templateKey": e[10] || (e[10] = (a) =>
|
|
488
|
-
templateId:
|
|
489
|
-
"onUpdate:templateId": e[11] || (e[11] = (a) =>
|
|
502
|
+
l(X, {
|
|
503
|
+
modelValue: o(t).subTableName,
|
|
504
|
+
"onUpdate:modelValue": e[9] || (e[9] = (a) => o(t).subTableName = a),
|
|
505
|
+
templateKey: o(t).subTableKey,
|
|
506
|
+
"onUpdate:templateKey": e[10] || (e[10] = (a) => o(t).subTableKey = a),
|
|
507
|
+
templateId: o(t).subTableId,
|
|
508
|
+
"onUpdate:templateId": e[11] || (e[11] = (a) => o(t).subTableId = a),
|
|
490
509
|
templateType: "table",
|
|
491
|
-
onConfirm:
|
|
510
|
+
onConfirm: ue
|
|
492
511
|
}, null, 8, ["modelValue", "templateKey", "templateId"])
|
|
493
512
|
]),
|
|
494
513
|
_: 1
|
|
495
|
-
})
|
|
496
|
-
|
|
514
|
+
}),
|
|
515
|
+
l(s, { label: "列表模式" }, {
|
|
497
516
|
default: n(() => [
|
|
498
|
-
|
|
499
|
-
modelValue:
|
|
500
|
-
"onUpdate:modelValue": e[12] || (e[12] = (a) =>
|
|
517
|
+
l(ce, {
|
|
518
|
+
modelValue: o(t).subTableMode,
|
|
519
|
+
"onUpdate:modelValue": e[12] || (e[12] = (a) => o(t).subTableMode = a),
|
|
501
520
|
clearable: ""
|
|
502
521
|
}, {
|
|
503
522
|
default: n(() => [
|
|
504
|
-
(
|
|
523
|
+
(d(!0), r(V, null, I(o(de), (a) => (d(), S(ge, {
|
|
505
524
|
key: a.key,
|
|
506
525
|
label: a.name,
|
|
507
526
|
value: a.key
|
|
@@ -512,60 +531,165 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
512
531
|
]),
|
|
513
532
|
_: 1
|
|
514
533
|
})
|
|
515
|
-
], 64)) :
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
534
|
+
], 64)) : y("", !0),
|
|
535
|
+
o(t).tableContent === "custom" ? (d(), r(V, { key: 1 }, [
|
|
536
|
+
l(s, { label: "列配置" }, {
|
|
537
|
+
default: n(() => [
|
|
538
|
+
f("div", cl, [
|
|
539
|
+
f("div", Vl, [
|
|
540
|
+
l(m, {
|
|
541
|
+
type: "primary",
|
|
542
|
+
size: "small",
|
|
543
|
+
onClick: pe,
|
|
544
|
+
icon: "Plus",
|
|
545
|
+
link: ""
|
|
546
|
+
}, {
|
|
547
|
+
default: n(() => [...e[42] || (e[42] = [
|
|
548
|
+
i(" 添加列配置 ", -1)
|
|
549
|
+
])]),
|
|
550
|
+
_: 1
|
|
551
|
+
})
|
|
552
|
+
]),
|
|
553
|
+
f("div", _l, [
|
|
554
|
+
l(o(De), {
|
|
555
|
+
modelValue: o(t).customTableConfig.fieldsData,
|
|
556
|
+
"onUpdate:modelValue": e[13] || (e[13] = (a) => o(t).customTableConfig.fieldsData = a),
|
|
557
|
+
animation: 150,
|
|
558
|
+
handle: ".drag-handle"
|
|
559
|
+
}, {
|
|
560
|
+
default: n(() => [
|
|
561
|
+
(d(!0), r(V, null, I(o(t).customTableConfig.fieldsData, (a, v) => (d(), r("div", {
|
|
562
|
+
key: v,
|
|
563
|
+
class: "col-rule-item"
|
|
564
|
+
}, [
|
|
565
|
+
f("div", yl, [
|
|
566
|
+
l(L, null, {
|
|
567
|
+
default: n(() => [
|
|
568
|
+
l(o(we))
|
|
569
|
+
]),
|
|
570
|
+
_: 1
|
|
571
|
+
})
|
|
572
|
+
]),
|
|
573
|
+
l(_, {
|
|
574
|
+
modelValue: a.label,
|
|
575
|
+
"onUpdate:modelValue": (c) => a.label = c,
|
|
576
|
+
size: "small",
|
|
577
|
+
placeholder: "列标题"
|
|
578
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
579
|
+
l(_, {
|
|
580
|
+
modelValue: a.fieldName,
|
|
581
|
+
"onUpdate:modelValue": (c) => a.fieldName = c,
|
|
582
|
+
size: "small",
|
|
583
|
+
placeholder: "字段名"
|
|
584
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
585
|
+
f("div", Cl, [
|
|
586
|
+
l(Ve, {
|
|
587
|
+
placement: "right",
|
|
588
|
+
width: 200,
|
|
589
|
+
trigger: "click"
|
|
590
|
+
}, {
|
|
591
|
+
reference: n(() => [
|
|
592
|
+
l(m, {
|
|
593
|
+
icon: o(Me),
|
|
594
|
+
link: "",
|
|
595
|
+
type: "primary",
|
|
596
|
+
class: "edit-btn"
|
|
597
|
+
}, null, 8, ["icon"])
|
|
598
|
+
]),
|
|
599
|
+
default: n(() => [
|
|
600
|
+
f("div", kl, [
|
|
601
|
+
l(A, { "wrap-class": "col-property-scrollbar" }, {
|
|
602
|
+
default: n(() => [
|
|
603
|
+
l(Ae, {
|
|
604
|
+
column: a,
|
|
605
|
+
isComp: ""
|
|
606
|
+
}, null, 8, ["column"])
|
|
607
|
+
]),
|
|
608
|
+
_: 2
|
|
609
|
+
}, 1024)
|
|
610
|
+
])
|
|
611
|
+
]),
|
|
612
|
+
_: 2
|
|
613
|
+
}, 1024),
|
|
614
|
+
l(m, {
|
|
615
|
+
icon: o(j),
|
|
616
|
+
link: "",
|
|
617
|
+
type: "danger",
|
|
618
|
+
class: "delete-btn",
|
|
619
|
+
onClick: (c) => fe(v)
|
|
620
|
+
}, null, 8, ["icon", "onClick"])
|
|
621
|
+
])
|
|
622
|
+
]))), 128))
|
|
623
|
+
]),
|
|
624
|
+
_: 1
|
|
625
|
+
}, 8, ["modelValue"])
|
|
626
|
+
])
|
|
627
|
+
])
|
|
628
|
+
]),
|
|
629
|
+
_: 1
|
|
630
|
+
}),
|
|
631
|
+
l(s, { label: "主键字段" }, {
|
|
632
|
+
default: n(() => [
|
|
633
|
+
l(_, {
|
|
634
|
+
modelValue: o(t).customTableConfig.pkFieldName,
|
|
635
|
+
"onUpdate:modelValue": e[14] || (e[14] = (a) => o(t).customTableConfig.pkFieldName = a),
|
|
636
|
+
placeholder: "请输入主键字段",
|
|
637
|
+
clearable: ""
|
|
638
|
+
}, null, 8, ["modelValue"])
|
|
639
|
+
]),
|
|
640
|
+
_: 1
|
|
641
|
+
}),
|
|
642
|
+
l(s, { label: "数据源" }, {
|
|
643
|
+
default: n(() => [
|
|
644
|
+
l(Pe, {
|
|
645
|
+
modelValue: o(t).customTableConfig.dataSourceId,
|
|
646
|
+
"onUpdate:modelValue": e[15] || (e[15] = (a) => o(t).customTableConfig.dataSourceId = a)
|
|
647
|
+
}, null, 8, ["modelValue"])
|
|
648
|
+
]),
|
|
649
|
+
_: 1
|
|
650
|
+
})
|
|
651
|
+
], 64)) : y("", !0),
|
|
652
|
+
l(s, { label: "是否翻页" }, {
|
|
529
653
|
default: n(() => [
|
|
530
|
-
|
|
531
|
-
modelValue:
|
|
532
|
-
"onUpdate:modelValue": e[
|
|
654
|
+
l(H, {
|
|
655
|
+
modelValue: o(t).isSubTablePagination,
|
|
656
|
+
"onUpdate:modelValue": e[16] || (e[16] = (a) => o(t).isSubTablePagination = a)
|
|
533
657
|
}, null, 8, ["modelValue"])
|
|
534
658
|
]),
|
|
535
659
|
_: 1
|
|
536
660
|
}),
|
|
537
|
-
|
|
661
|
+
l(s, { label: "是否只读" }, {
|
|
538
662
|
default: n(() => [
|
|
539
|
-
|
|
540
|
-
modelValue:
|
|
541
|
-
"onUpdate:modelValue": e[
|
|
663
|
+
l(H, {
|
|
664
|
+
modelValue: o(t).isSubTableReadOnly,
|
|
665
|
+
"onUpdate:modelValue": e[17] || (e[17] = (a) => o(t).isSubTableReadOnly = a)
|
|
542
666
|
}, null, 8, ["modelValue"])
|
|
543
667
|
]),
|
|
544
668
|
_: 1
|
|
545
669
|
}),
|
|
546
|
-
|
|
547
|
-
|
|
670
|
+
o(t).isSubTableReadOnly ? y("", !0) : (d(), r(V, { key: 2 }, [
|
|
671
|
+
l(s, { label: "选择模式" }, {
|
|
548
672
|
default: n(() => [
|
|
549
|
-
|
|
550
|
-
modelValue:
|
|
551
|
-
"onUpdate:modelValue": e[
|
|
673
|
+
l(w, {
|
|
674
|
+
modelValue: o(t).selectionMode,
|
|
675
|
+
"onUpdate:modelValue": e[18] || (e[18] = (a) => o(t).selectionMode = a)
|
|
552
676
|
}, {
|
|
553
677
|
default: n(() => [
|
|
554
|
-
|
|
555
|
-
default: n(() => [...e[
|
|
556
|
-
|
|
678
|
+
l(p, { value: "none" }, {
|
|
679
|
+
default: n(() => [...e[43] || (e[43] = [
|
|
680
|
+
i("无", -1)
|
|
557
681
|
])]),
|
|
558
682
|
_: 1
|
|
559
683
|
}),
|
|
560
|
-
|
|
561
|
-
default: n(() => [...e[
|
|
562
|
-
|
|
684
|
+
l(p, { value: "single" }, {
|
|
685
|
+
default: n(() => [...e[44] || (e[44] = [
|
|
686
|
+
i("单选", -1)
|
|
563
687
|
])]),
|
|
564
688
|
_: 1
|
|
565
689
|
}),
|
|
566
|
-
|
|
567
|
-
default: n(() => [...e[
|
|
568
|
-
|
|
690
|
+
l(p, { value: "multiple" }, {
|
|
691
|
+
default: n(() => [...e[45] || (e[45] = [
|
|
692
|
+
i("多选", -1)
|
|
569
693
|
])]),
|
|
570
694
|
_: 1
|
|
571
695
|
})
|
|
@@ -575,77 +699,77 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
575
699
|
]),
|
|
576
700
|
_: 1
|
|
577
701
|
}),
|
|
578
|
-
|
|
579
|
-
|
|
702
|
+
o(t).selectionMode != "none" ? (d(), r(V, { key: 0 }, [
|
|
703
|
+
l(s, { label: "选取后反显格式" }, {
|
|
580
704
|
default: n(() => [
|
|
581
|
-
o(
|
|
705
|
+
l(o(Re), {
|
|
582
706
|
title: "反显格式配置",
|
|
583
|
-
formulaConf:
|
|
584
|
-
"onUpdate:formulaConf": e[
|
|
585
|
-
modelValue:
|
|
586
|
-
"onUpdate:modelValue": e[
|
|
587
|
-
fieldList:
|
|
707
|
+
formulaConf: o(t).displayFormat,
|
|
708
|
+
"onUpdate:formulaConf": e[19] || (e[19] = (a) => o(t).displayFormat = a),
|
|
709
|
+
modelValue: o(t).displayFormatText,
|
|
710
|
+
"onUpdate:modelValue": e[20] || (e[20] = (a) => o(t).displayFormatText = a),
|
|
711
|
+
fieldList: o($)
|
|
588
712
|
}, null, 8, ["formulaConf", "modelValue", "fieldList"])
|
|
589
713
|
]),
|
|
590
714
|
_: 1
|
|
591
715
|
}),
|
|
592
|
-
|
|
716
|
+
l(s, { label: "选取后表单赋值" }, {
|
|
593
717
|
default: n(() => [
|
|
594
|
-
|
|
595
|
-
modelValue:
|
|
596
|
-
"onUpdate:modelValue": e[
|
|
718
|
+
l(ze, {
|
|
719
|
+
modelValue: o(t).fieldMapping,
|
|
720
|
+
"onUpdate:modelValue": e[21] || (e[21] = (a) => o(t).fieldMapping = a),
|
|
597
721
|
fieldLabel: "赋值表单字段",
|
|
598
722
|
valueLabel: "列表字段",
|
|
599
|
-
valueOptions:
|
|
723
|
+
valueOptions: o($),
|
|
600
724
|
valueSelectMode: ""
|
|
601
725
|
}, null, 8, ["modelValue", "valueOptions"])
|
|
602
726
|
]),
|
|
603
727
|
_: 1
|
|
604
728
|
})
|
|
605
|
-
], 64)) :
|
|
606
|
-
|
|
729
|
+
], 64)) : y("", !0),
|
|
730
|
+
l(s, { label: "回调事件配置" }, {
|
|
607
731
|
default: n(() => [
|
|
608
|
-
|
|
609
|
-
config:
|
|
610
|
-
onConfirm:
|
|
732
|
+
l(Ke, {
|
|
733
|
+
config: o(t).callbackEventConfig,
|
|
734
|
+
onConfirm: re
|
|
611
735
|
}, null, 8, ["config"])
|
|
612
736
|
]),
|
|
613
737
|
_: 1
|
|
614
738
|
})
|
|
615
739
|
], 64))
|
|
616
|
-
], 64)) :
|
|
617
|
-
|
|
618
|
-
|
|
740
|
+
], 64)) : y("", !0),
|
|
741
|
+
o(t).contentSource === "form" ? (d(), r(V, { key: 2 }, [
|
|
742
|
+
l(s, { label: "选择表单" }, {
|
|
619
743
|
default: n(() => [
|
|
620
|
-
|
|
621
|
-
modelValue:
|
|
622
|
-
"onUpdate:modelValue": e[
|
|
623
|
-
templateKey:
|
|
624
|
-
"onUpdate:templateKey": e[
|
|
625
|
-
templateId:
|
|
626
|
-
"onUpdate:templateId": e[
|
|
744
|
+
l(X, {
|
|
745
|
+
modelValue: o(t).subFormName,
|
|
746
|
+
"onUpdate:modelValue": e[22] || (e[22] = (a) => o(t).subFormName = a),
|
|
747
|
+
templateKey: o(t).subFormKey,
|
|
748
|
+
"onUpdate:templateKey": e[23] || (e[23] = (a) => o(t).subFormKey = a),
|
|
749
|
+
templateId: o(t).subFormId,
|
|
750
|
+
"onUpdate:templateId": e[24] || (e[24] = (a) => o(t).subFormId = a),
|
|
627
751
|
templateType: "form",
|
|
628
|
-
onConfirm:
|
|
752
|
+
onConfirm: ie
|
|
629
753
|
}, null, 8, ["modelValue", "templateKey", "templateId"])
|
|
630
754
|
]),
|
|
631
755
|
_: 1
|
|
632
756
|
}),
|
|
633
|
-
|
|
757
|
+
l(s, { label: "表单模式" }, {
|
|
634
758
|
default: n(() => [
|
|
635
|
-
|
|
636
|
-
modelValue:
|
|
637
|
-
"onUpdate:modelValue": e[
|
|
759
|
+
l(w, {
|
|
760
|
+
modelValue: o(t).subFormMode,
|
|
761
|
+
"onUpdate:modelValue": e[25] || (e[25] = (a) => o(t).subFormMode = a)
|
|
638
762
|
}, {
|
|
639
763
|
default: n(() => [
|
|
640
|
-
|
|
641
|
-
default: n(() => [...e[
|
|
642
|
-
|
|
764
|
+
l(p, { value: "edit" }, {
|
|
765
|
+
default: n(() => [...e[46] || (e[46] = [
|
|
766
|
+
i("编辑", -1)
|
|
643
767
|
])]),
|
|
644
768
|
_: 1
|
|
645
769
|
}),
|
|
646
|
-
|
|
647
|
-
default: n(() => [...e[
|
|
648
|
-
|
|
770
|
+
l(p, { value: "query" }, {
|
|
771
|
+
default: n(() => [...e[47] || (e[47] = [
|
|
772
|
+
i("查看", -1)
|
|
649
773
|
])]),
|
|
650
774
|
_: 1
|
|
651
775
|
})
|
|
@@ -655,17 +779,17 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
655
779
|
]),
|
|
656
780
|
_: 1
|
|
657
781
|
}),
|
|
658
|
-
|
|
782
|
+
l(s, { label: "表单底部按钮" }, {
|
|
659
783
|
default: n(() => [
|
|
660
|
-
|
|
661
|
-
!
|
|
662
|
-
(
|
|
784
|
+
f("div", Tl, [
|
|
785
|
+
!o(N) || o(N).length === 0 ? (d(), r("div", Fl, " 暂无可用按钮 ")) : (d(), r("div", Sl, [
|
|
786
|
+
(d(!0), r(V, null, I(o(N), (a) => (d(), S(_e, {
|
|
663
787
|
key: a.id,
|
|
664
|
-
"model-value":
|
|
665
|
-
onChange: (
|
|
788
|
+
"model-value": se(a.id),
|
|
789
|
+
onChange: (v) => me(a)
|
|
666
790
|
}, {
|
|
667
791
|
default: n(() => [
|
|
668
|
-
|
|
792
|
+
i(z(a.label), 1)
|
|
669
793
|
]),
|
|
670
794
|
_: 2
|
|
671
795
|
}, 1032, ["model-value", "onChange"]))), 128))
|
|
@@ -674,21 +798,21 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
674
798
|
]),
|
|
675
799
|
_: 1
|
|
676
800
|
})
|
|
677
|
-
], 64)) :
|
|
678
|
-
|
|
801
|
+
], 64)) : y("", !0),
|
|
802
|
+
o(t).contentSource === "component" ? (d(), S(s, {
|
|
679
803
|
key: 3,
|
|
680
804
|
label: "选择组件"
|
|
681
805
|
}, {
|
|
682
806
|
default: n(() => [
|
|
683
|
-
|
|
684
|
-
modelValue:
|
|
685
|
-
"onUpdate:modelValue": e[
|
|
807
|
+
l(_, {
|
|
808
|
+
modelValue: o(t).componentPath,
|
|
809
|
+
"onUpdate:modelValue": e[26] || (e[26] = (a) => o(t).componentPath = a),
|
|
686
810
|
placeholder: "请输入组件路径",
|
|
687
811
|
clearable: ""
|
|
688
812
|
}, null, 8, ["modelValue"])
|
|
689
813
|
]),
|
|
690
814
|
_: 1
|
|
691
|
-
})) :
|
|
815
|
+
})) : y("", !0)
|
|
692
816
|
]),
|
|
693
817
|
_: 1
|
|
694
818
|
}, 8, ["model"])
|
|
@@ -700,7 +824,7 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
700
824
|
})
|
|
701
825
|
]),
|
|
702
826
|
_: 1
|
|
703
|
-
})) : (
|
|
827
|
+
})) : (d(), r("div", Dl, "请从左侧选择一个弹层"))
|
|
704
828
|
]),
|
|
705
829
|
_: 1
|
|
706
830
|
})
|
|
@@ -712,7 +836,7 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
|
|
|
712
836
|
}, 8, ["modelValue"]);
|
|
713
837
|
};
|
|
714
838
|
}
|
|
715
|
-
},
|
|
839
|
+
}, Bo = /* @__PURE__ */ He(Ul, [["__scopeId", "data-v-8f751b6e"]]);
|
|
716
840
|
export {
|
|
717
|
-
|
|
841
|
+
Bo as default
|
|
718
842
|
};
|