act-plus 1.1.40 → 1.1.41
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/act-plus.js +4 -4
- package/act-plus.umd.cjs +62 -62
- package/lib/{dialogAddField-37d23c28.js → dialogAddField-3c740262.js} +11 -12
- package/lib/{dialogConfigBtn-2a5b29d3.js → dialogConfigBtn-8bfd8dd7.js} +108 -111
- package/lib/{dialogSiteComponentsParams-2aaba180.js → dialogSiteComponentsParams-b6c8001c.js} +1 -1
- package/lib/{index-2d22f3f2.js → index-0c36aa40.js} +2 -2
- package/lib/{index-a6e33b82.js → index-266b8842.js} +90 -92
- package/lib/{index-bc3b48a4.js → index-333a11e5.js} +1 -1
- package/lib/{index-c18badb4.js → index-40115216.js} +32413 -31266
- package/lib/{index-a2d322cf.js → index-4398f116.js} +1 -1
- package/lib/index-e9d31e0d.js +107 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/configBtns-a589fc35.js +0 -155
- package/lib/configFileds-b6de7bc4.js +0 -199
- package/lib/configForm-e91a1aa7.js +0 -129
- package/lib/configTable-6ac94e24.js +0 -416
- package/lib/dialogInitConfig-0f352fa9.js +0 -188
- package/lib/enum-d734222c.js +0 -119
- package/lib/index-00de9d7d.js +0 -102
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, inject as N, computed as ue, reactive as ne, ref as
|
|
2
|
-
import {
|
|
3
|
-
import { useRoute as
|
|
4
|
-
import { _ as Ce } from "./index-c18badb4.js";
|
|
1
|
+
import { defineAsyncComponent as O, inject as N, computed as ue, reactive as ne, ref as q, watch as de, resolveComponent as y, resolveDirective as re, openBlock as d, createBlock as m, withCtx as e, createElementVNode as se, createVNode as l, unref as o, createTextVNode as U, withDirectives as ie, toDisplayString as A, createCommentVNode as C, createElementBlock as b, Fragment as f, renderList as _ } from "vue";
|
|
2
|
+
import { _ as me, B as pe, c as ce, d as be, e as fe, f as _e, g as ge, h as Ve, i as ye, j as he } from "./index-40115216.js";
|
|
3
|
+
import { useRoute as Ce } from "vue-router";
|
|
5
4
|
import "js-base64";
|
|
6
5
|
import "element-plus";
|
|
7
6
|
import "monaco-editor";
|
|
@@ -14,14 +13,12 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
14
13
|
},
|
|
15
14
|
emits: ["update:visible", "refresh"],
|
|
16
15
|
setup(x, { emit: D }) {
|
|
17
|
-
const P = O(() => import("./index-
|
|
16
|
+
const P = O(() => import("./index-4398f116.js")), E = O(() => import("./index-40115216.js").then((p) => p.q)), W = Ce(), R = N("request"), I = D, T = x, Y = ue(() => W.params.key);
|
|
18
17
|
let k = ne((() => ({
|
|
19
18
|
btnLoading: !1
|
|
20
19
|
}))());
|
|
21
20
|
const M = N("createDefaultButtonItem"), j = N("associationMenuList"), $ = N("conditionList")();
|
|
22
|
-
let w =
|
|
23
|
-
B([]);
|
|
24
|
-
let S = B(null), a = B(M());
|
|
21
|
+
let w = q([]), B = q(null), t = q(M());
|
|
25
22
|
const z = (p) => R({ url: "/api/v1/icons/getAllList", method: "post", data: p }), H = async () => {
|
|
26
23
|
try {
|
|
27
24
|
const { data: p } = await z({ dynamicFilters: [{ field: "type", operate: "Equal", value: "2" }] });
|
|
@@ -36,32 +33,32 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
36
33
|
if (p) {
|
|
37
34
|
await H();
|
|
38
35
|
const c = { ...T.data };
|
|
39
|
-
Object.keys(
|
|
40
|
-
r == "submitFields" || r == "matchFields" ?
|
|
36
|
+
Object.keys(t.value).forEach((r) => {
|
|
37
|
+
r == "submitFields" || r == "matchFields" ? t.value[r] = [...c[r] || []] : t.value[r] = c[r];
|
|
41
38
|
});
|
|
42
39
|
}
|
|
43
40
|
}
|
|
44
41
|
);
|
|
45
42
|
const K = () => {
|
|
46
|
-
|
|
43
|
+
t.value.submitWay = [], t.value.requestUrl = void 0, t.value.submitWay = void 0, t.value.customType = void 0, t.value.codeStr = void 0, t.value.customComponentName = void 0, t.value.customComponentUrl = void 0;
|
|
47
44
|
}, G = () => {
|
|
48
|
-
|
|
45
|
+
t.value.submitFields.push({ matchType: "match", submitFieldMatchOrigin: "rowData", submitFieldName: "", matchFieldName: "", submitFieldType: "" });
|
|
49
46
|
}, J = (p) => {
|
|
50
|
-
|
|
47
|
+
t.value.submitFields.splice(p, 1);
|
|
51
48
|
}, Q = () => {
|
|
52
|
-
|
|
49
|
+
t.value.matchFields.push({ matchType: "default", matchFieldName: "", matchCondition: "", fieldValue: "", spliceCondition: "" });
|
|
53
50
|
}, X = (p) => {
|
|
54
|
-
|
|
51
|
+
t.value.matchFields.splice(p, 1), t.value.matchFields.length === 1 && (t.value.matchFields[0].spliceCondition = "");
|
|
55
52
|
}, Z = (p) => {
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
|
|
53
|
+
S(), p();
|
|
54
|
+
}, S = () => {
|
|
55
|
+
t.value = Object.assign(t.value, M()), B.value.resetFields(), I("update:visible", !1);
|
|
59
56
|
}, ee = (p) => {
|
|
60
57
|
p && p.validate((u) => {
|
|
61
58
|
if (u)
|
|
62
59
|
try {
|
|
63
|
-
k.btnLoading = !0, I("refresh", { ...
|
|
64
|
-
|
|
60
|
+
k.btnLoading = !0, I("refresh", { ...t.value, submitFields: [...t.value.submitFields], matchFields: [...t.value.matchFields] }, () => {
|
|
61
|
+
S();
|
|
65
62
|
}), k.btnLoading = !1;
|
|
66
63
|
} catch (c) {
|
|
67
64
|
console.error(c), k.btnLoading = !1;
|
|
@@ -69,8 +66,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
69
66
|
});
|
|
70
67
|
};
|
|
71
68
|
return (p, u) => {
|
|
72
|
-
const c = y("el-input"), r = y("el-form-item"), i = y("el-col"), g = y("el-option"), V = y("el-select"), v = y("el-row"), F = y("el-button"), L = y("el-divider"), le = y("el-switch"),
|
|
73
|
-
return d(), m(
|
|
69
|
+
const c = y("el-input"), r = y("el-form-item"), i = y("el-col"), g = y("el-option"), V = y("el-select"), v = y("el-row"), F = y("el-button"), L = y("el-divider"), le = y("el-switch"), ae = y("el-form"), te = y("el-dialog"), oe = re("debounce");
|
|
70
|
+
return d(), m(te, {
|
|
74
71
|
"model-value": T.visible,
|
|
75
72
|
title: T.title,
|
|
76
73
|
top: "5vh",
|
|
@@ -84,7 +81,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
84
81
|
se("span", ve, [
|
|
85
82
|
l(F, {
|
|
86
83
|
loading: o(k).btnLoading,
|
|
87
|
-
onClick:
|
|
84
|
+
onClick: S
|
|
88
85
|
}, {
|
|
89
86
|
default: e(() => u[17] || (u[17] = [
|
|
90
87
|
U("取消")
|
|
@@ -94,7 +91,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
94
91
|
ie((d(), m(F, {
|
|
95
92
|
type: "primary",
|
|
96
93
|
loading: o(k).btnLoading,
|
|
97
|
-
onClick: u[14] || (u[14] = (
|
|
94
|
+
onClick: u[14] || (u[14] = (a) => ee(o(B)))
|
|
98
95
|
}, {
|
|
99
96
|
default: e(() => u[18] || (u[18] = [
|
|
100
97
|
U("保存")
|
|
@@ -106,10 +103,10 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
106
103
|
])
|
|
107
104
|
]),
|
|
108
105
|
default: e(() => [
|
|
109
|
-
l(
|
|
106
|
+
l(ae, {
|
|
110
107
|
ref_key: "formRef",
|
|
111
|
-
ref:
|
|
112
|
-
model: o(
|
|
108
|
+
ref: B,
|
|
109
|
+
model: o(t),
|
|
113
110
|
"label-suffix": ":",
|
|
114
111
|
"label-position": "top"
|
|
115
112
|
}, {
|
|
@@ -124,13 +121,13 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
124
121
|
}, {
|
|
125
122
|
default: e(() => [
|
|
126
123
|
l(c, {
|
|
127
|
-
modelValue: o(
|
|
128
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
124
|
+
modelValue: o(t).btnName,
|
|
125
|
+
"onUpdate:modelValue": u[0] || (u[0] = (a) => o(t).btnName = a),
|
|
129
126
|
disabled: "",
|
|
130
127
|
placeholder: "请输入按钮名称"
|
|
131
128
|
}, {
|
|
132
129
|
prepend: e(() => [
|
|
133
|
-
U(A(o(
|
|
130
|
+
U(A(o(t).permissionCode), 1)
|
|
134
131
|
]),
|
|
135
132
|
_: 1
|
|
136
133
|
}, 8, ["modelValue"])
|
|
@@ -148,8 +145,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
148
145
|
}, {
|
|
149
146
|
default: e(() => [
|
|
150
147
|
l(o(P), {
|
|
151
|
-
modelValue: o(
|
|
152
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
148
|
+
modelValue: o(t).btnIcon,
|
|
149
|
+
"onUpdate:modelValue": u[1] || (u[1] = (a) => o(t).btnIcon = a),
|
|
153
150
|
icons: o(w),
|
|
154
151
|
props: { value: "name", type: "btn" }
|
|
155
152
|
}, null, 8, ["modelValue", "icons"])
|
|
@@ -159,7 +156,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
159
156
|
]),
|
|
160
157
|
_: 1
|
|
161
158
|
}),
|
|
162
|
-
o(
|
|
159
|
+
o(t).permissionCode != "1001" && !o(t).isCustomBtn ? (d(), m(i, {
|
|
163
160
|
key: 0,
|
|
164
161
|
span: 24
|
|
165
162
|
}, {
|
|
@@ -171,8 +168,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
171
168
|
}, {
|
|
172
169
|
default: e(() => [
|
|
173
170
|
l(c, {
|
|
174
|
-
modelValue: o(
|
|
175
|
-
"onUpdate:modelValue": u[2] || (u[2] = (
|
|
171
|
+
modelValue: o(t).requestUrl,
|
|
172
|
+
"onUpdate:modelValue": u[2] || (u[2] = (a) => o(t).requestUrl = a),
|
|
176
173
|
placeholder: "请输入接口地址",
|
|
177
174
|
clearable: ""
|
|
178
175
|
}, null, 8, ["modelValue"])
|
|
@@ -191,17 +188,17 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
191
188
|
}, {
|
|
192
189
|
default: e(() => [
|
|
193
190
|
l(V, {
|
|
194
|
-
modelValue: o(
|
|
195
|
-
"onUpdate:modelValue": u[3] || (u[3] = (
|
|
191
|
+
modelValue: o(t).btnPostion,
|
|
192
|
+
"onUpdate:modelValue": u[3] || (u[3] = (a) => o(t).btnPostion = a),
|
|
196
193
|
placeholder: "请选择按钮位置",
|
|
197
194
|
filterable: "",
|
|
198
195
|
clearable: ""
|
|
199
196
|
}, {
|
|
200
197
|
default: e(() => [
|
|
201
|
-
(d(!0), b(f, null, _(o(
|
|
198
|
+
(d(!0), b(f, null, _(o(pe), (a, s) => (d(), m(g, {
|
|
202
199
|
key: s,
|
|
203
|
-
label:
|
|
204
|
-
value:
|
|
200
|
+
label: a.key,
|
|
201
|
+
value: a.value
|
|
205
202
|
}, null, 8, ["label", "value"]))), 128))
|
|
206
203
|
]),
|
|
207
204
|
_: 1
|
|
@@ -221,17 +218,17 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
221
218
|
}, {
|
|
222
219
|
default: e(() => [
|
|
223
220
|
l(V, {
|
|
224
|
-
modelValue: o(
|
|
225
|
-
"onUpdate:modelValue": u[4] || (u[4] = (
|
|
221
|
+
modelValue: o(t).btnType,
|
|
222
|
+
"onUpdate:modelValue": u[4] || (u[4] = (a) => o(t).btnType = a),
|
|
226
223
|
placeholder: "请选择按钮类型",
|
|
227
224
|
filterable: "",
|
|
228
225
|
clearable: ""
|
|
229
226
|
}, {
|
|
230
227
|
default: e(() => [
|
|
231
|
-
(d(!0), b(f, null, _(o(
|
|
228
|
+
(d(!0), b(f, null, _(o(ce), (a, s) => (d(), m(g, {
|
|
232
229
|
key: s,
|
|
233
|
-
label:
|
|
234
|
-
value:
|
|
230
|
+
label: a.key,
|
|
231
|
+
value: a.value
|
|
235
232
|
}, null, 8, ["label", "value"]))), 128))
|
|
236
233
|
]),
|
|
237
234
|
_: 1
|
|
@@ -250,8 +247,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
250
247
|
}, {
|
|
251
248
|
default: e(() => [
|
|
252
249
|
l(c, {
|
|
253
|
-
modelValue: o(
|
|
254
|
-
"onUpdate:modelValue": u[5] || (u[5] = (
|
|
250
|
+
modelValue: o(t).btnAlias,
|
|
251
|
+
"onUpdate:modelValue": u[5] || (u[5] = (a) => o(t).btnAlias = a),
|
|
255
252
|
placeholder: "请输入按钮别名",
|
|
256
253
|
clearable: ""
|
|
257
254
|
}, null, 8, ["modelValue"])
|
|
@@ -270,17 +267,17 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
270
267
|
}, {
|
|
271
268
|
default: e(() => [
|
|
272
269
|
l(V, {
|
|
273
|
-
modelValue: o(
|
|
274
|
-
"onUpdate:modelValue": u[6] || (u[6] = (
|
|
270
|
+
modelValue: o(t).btnColor,
|
|
271
|
+
"onUpdate:modelValue": u[6] || (u[6] = (a) => o(t).btnColor = a),
|
|
275
272
|
placeholder: "请选择按钮颜色",
|
|
276
273
|
filterable: "",
|
|
277
274
|
clearable: ""
|
|
278
275
|
}, {
|
|
279
276
|
default: e(() => [
|
|
280
|
-
(d(!0), b(f, null, _(o(
|
|
277
|
+
(d(!0), b(f, null, _(o(be), (a, s) => (d(), m(g, {
|
|
281
278
|
key: s,
|
|
282
|
-
label:
|
|
283
|
-
value:
|
|
279
|
+
label: a.key,
|
|
280
|
+
value: a.value
|
|
284
281
|
}, null, 8, ["label", "value"]))), 128))
|
|
285
282
|
]),
|
|
286
283
|
_: 1
|
|
@@ -291,12 +288,12 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
291
288
|
]),
|
|
292
289
|
_: 1
|
|
293
290
|
}),
|
|
294
|
-
!o(
|
|
291
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (d(), m(i, {
|
|
295
292
|
key: 1,
|
|
296
293
|
span: 12
|
|
297
294
|
}, {
|
|
298
295
|
default: e(() => [
|
|
299
|
-
!o(
|
|
296
|
+
!o(t).isCustomBtn && o(t).permissionCode != "1001" ? (d(), m(r, {
|
|
300
297
|
key: 0,
|
|
301
298
|
label: "提交方式",
|
|
302
299
|
rules: [{ required: !0, message: "必填项", trigger: "change" }],
|
|
@@ -304,17 +301,17 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
304
301
|
}, {
|
|
305
302
|
default: e(() => [
|
|
306
303
|
l(V, {
|
|
307
|
-
modelValue: o(
|
|
308
|
-
"onUpdate:modelValue": u[7] || (u[7] = (
|
|
304
|
+
modelValue: o(t).submitWay,
|
|
305
|
+
"onUpdate:modelValue": u[7] || (u[7] = (a) => o(t).submitWay = a),
|
|
309
306
|
placeholder: "请选择提交方式",
|
|
310
307
|
filterable: "",
|
|
311
308
|
clearable: ""
|
|
312
309
|
}, {
|
|
313
310
|
default: e(() => [
|
|
314
|
-
(d(!0), b(f, null, _(o(
|
|
311
|
+
(d(!0), b(f, null, _(o(fe), (a, s) => (d(), m(g, {
|
|
315
312
|
key: s,
|
|
316
|
-
label:
|
|
317
|
-
value:
|
|
313
|
+
label: a.key,
|
|
314
|
+
value: a.value
|
|
318
315
|
}, null, 8, ["label", "value"]))), 128))
|
|
319
316
|
]),
|
|
320
317
|
_: 1
|
|
@@ -341,7 +338,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
341
338
|
]),
|
|
342
339
|
_: 1
|
|
343
340
|
}),
|
|
344
|
-
(d(!0), b(f, null, _(o(
|
|
341
|
+
(d(!0), b(f, null, _(o(t).submitFields, (a, s) => (d(), m(v, {
|
|
345
342
|
gutter: 24,
|
|
346
343
|
key: s
|
|
347
344
|
}, {
|
|
@@ -355,8 +352,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
355
352
|
}, {
|
|
356
353
|
default: e(() => [
|
|
357
354
|
l(c, {
|
|
358
|
-
modelValue:
|
|
359
|
-
"onUpdate:modelValue": (n) =>
|
|
355
|
+
modelValue: a.submitFieldName,
|
|
356
|
+
"onUpdate:modelValue": (n) => a.submitFieldName = n,
|
|
360
357
|
placeholder: "请输入提交字段名",
|
|
361
358
|
clearable: ""
|
|
362
359
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -377,20 +374,20 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
377
374
|
default: e(() => [
|
|
378
375
|
l(c, {
|
|
379
376
|
placeholder: "请输入",
|
|
380
|
-
modelValue:
|
|
381
|
-
"onUpdate:modelValue": (n) =>
|
|
377
|
+
modelValue: a.matchFieldName,
|
|
378
|
+
"onUpdate:modelValue": (n) => a.matchFieldName = n,
|
|
382
379
|
clearable: ""
|
|
383
380
|
}, {
|
|
384
381
|
prepend: e(() => [
|
|
385
382
|
l(V, {
|
|
386
|
-
modelValue:
|
|
387
|
-
"onUpdate:modelValue": (n) =>
|
|
383
|
+
modelValue: a.matchType,
|
|
384
|
+
"onUpdate:modelValue": (n) => a.matchType = n,
|
|
388
385
|
placeholder: "请选择",
|
|
389
386
|
style: { width: "120px" },
|
|
390
|
-
onChange: (n) =>
|
|
387
|
+
onChange: (n) => a.submitFieldMatchOrigin = "rowData"
|
|
391
388
|
}, {
|
|
392
389
|
default: e(() => [
|
|
393
|
-
(d(!0), b(f, null, _(o(
|
|
390
|
+
(d(!0), b(f, null, _(o(_e), (n, h) => (d(), m(g, {
|
|
394
391
|
key: h,
|
|
395
392
|
label: n.key,
|
|
396
393
|
value: n.value
|
|
@@ -407,7 +404,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
407
404
|
]),
|
|
408
405
|
_: 2
|
|
409
406
|
}, 1024),
|
|
410
|
-
|
|
407
|
+
a.matchType === "match" ? (d(), m(i, {
|
|
411
408
|
key: 0,
|
|
412
409
|
span: 5
|
|
413
410
|
}, {
|
|
@@ -419,8 +416,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
419
416
|
}, {
|
|
420
417
|
default: e(() => [
|
|
421
418
|
l(c, {
|
|
422
|
-
modelValue:
|
|
423
|
-
"onUpdate:modelValue": (n) =>
|
|
419
|
+
modelValue: a.submitFieldMatchOrigin,
|
|
420
|
+
"onUpdate:modelValue": (n) => a.submitFieldMatchOrigin = n,
|
|
424
421
|
placeholder: "请输入匹配源",
|
|
425
422
|
clearable: ""
|
|
426
423
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -439,14 +436,14 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
439
436
|
}, {
|
|
440
437
|
default: e(() => [
|
|
441
438
|
l(V, {
|
|
442
|
-
modelValue:
|
|
443
|
-
"onUpdate:modelValue": (n) =>
|
|
439
|
+
modelValue: a.submitFieldType,
|
|
440
|
+
"onUpdate:modelValue": (n) => a.submitFieldType = n,
|
|
444
441
|
placeholder: "请选择提交类型",
|
|
445
442
|
filterable: "",
|
|
446
443
|
clearable: ""
|
|
447
444
|
}, {
|
|
448
445
|
default: e(() => [
|
|
449
|
-
(d(!0), b(f, null, _(o(
|
|
446
|
+
(d(!0), b(f, null, _(o(ge), (n, h) => (d(), m(g, {
|
|
450
447
|
key: h,
|
|
451
448
|
label: n.key,
|
|
452
449
|
value: n.value
|
|
@@ -491,7 +488,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
491
488
|
]),
|
|
492
489
|
_: 1
|
|
493
490
|
}),
|
|
494
|
-
(d(!0), b(f, null, _(o(
|
|
491
|
+
(d(!0), b(f, null, _(o(t).matchFields, (a, s) => (d(), m(v, {
|
|
495
492
|
gutter: 24,
|
|
496
493
|
key: s
|
|
497
494
|
}, {
|
|
@@ -506,19 +503,19 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
506
503
|
default: e(() => [
|
|
507
504
|
l(c, {
|
|
508
505
|
placeholder: "请输入",
|
|
509
|
-
modelValue:
|
|
510
|
-
"onUpdate:modelValue": (n) =>
|
|
506
|
+
modelValue: a.matchFieldName,
|
|
507
|
+
"onUpdate:modelValue": (n) => a.matchFieldName = n,
|
|
511
508
|
clearable: ""
|
|
512
509
|
}, {
|
|
513
510
|
prepend: e(() => [
|
|
514
511
|
l(V, {
|
|
515
|
-
modelValue:
|
|
516
|
-
"onUpdate:modelValue": (n) =>
|
|
512
|
+
modelValue: a.matchType,
|
|
513
|
+
"onUpdate:modelValue": (n) => a.matchType = n,
|
|
517
514
|
placeholder: "请选择",
|
|
518
515
|
style: { width: "180px" }
|
|
519
516
|
}, {
|
|
520
517
|
default: e(() => [
|
|
521
|
-
(d(!0), b(f, null, _(o(
|
|
518
|
+
(d(!0), b(f, null, _(o(Ve), (n, h) => (d(), m(g, {
|
|
522
519
|
key: h,
|
|
523
520
|
label: n.key,
|
|
524
521
|
value: n.value
|
|
@@ -544,8 +541,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
544
541
|
}, {
|
|
545
542
|
default: e(() => [
|
|
546
543
|
l(V, {
|
|
547
|
-
modelValue:
|
|
548
|
-
"onUpdate:modelValue": (n) =>
|
|
544
|
+
modelValue: a.matchCondition,
|
|
545
|
+
"onUpdate:modelValue": (n) => a.matchCondition = n,
|
|
549
546
|
placeholder: "请选择匹配条件",
|
|
550
547
|
clearable: "",
|
|
551
548
|
filterable: ""
|
|
@@ -573,8 +570,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
573
570
|
}, {
|
|
574
571
|
default: e(() => [
|
|
575
572
|
l(c, {
|
|
576
|
-
modelValue:
|
|
577
|
-
"onUpdate:modelValue": (n) =>
|
|
573
|
+
modelValue: a.fieldValue,
|
|
574
|
+
"onUpdate:modelValue": (n) => a.fieldValue = n,
|
|
578
575
|
placeholder: "请输入字段值",
|
|
579
576
|
clearable: ""
|
|
580
577
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -599,7 +596,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
599
596
|
]),
|
|
600
597
|
_: 2
|
|
601
598
|
}, 1024),
|
|
602
|
-
s + 1 !== o(
|
|
599
|
+
s + 1 !== o(t).matchFields.length ? (d(), m(i, {
|
|
603
600
|
key: 0,
|
|
604
601
|
span: 24
|
|
605
602
|
}, {
|
|
@@ -612,14 +609,14 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
612
609
|
}, {
|
|
613
610
|
default: e(() => [
|
|
614
611
|
l(V, {
|
|
615
|
-
modelValue:
|
|
616
|
-
"onUpdate:modelValue": (n) =>
|
|
612
|
+
modelValue: a.spliceCondition,
|
|
613
|
+
"onUpdate:modelValue": (n) => a.spliceCondition = n,
|
|
617
614
|
placeholder: "请选择拼接条件",
|
|
618
615
|
clearable: "",
|
|
619
616
|
filterable: ""
|
|
620
617
|
}, {
|
|
621
618
|
default: e(() => [
|
|
622
|
-
(d(!0), b(f, null, _(o(
|
|
619
|
+
(d(!0), b(f, null, _(o(ye), (n, h) => (d(), m(g, {
|
|
623
620
|
key: h,
|
|
624
621
|
label: n.key,
|
|
625
622
|
value: n.value
|
|
@@ -646,8 +643,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
646
643
|
}, {
|
|
647
644
|
default: e(() => [
|
|
648
645
|
l(le, {
|
|
649
|
-
modelValue: o(
|
|
650
|
-
"onUpdate:modelValue": u[8] || (u[8] = (
|
|
646
|
+
modelValue: o(t).isCustomBtn,
|
|
647
|
+
"onUpdate:modelValue": u[8] || (u[8] = (a) => o(t).isCustomBtn = a),
|
|
651
648
|
onChange: K
|
|
652
649
|
}, null, 8, ["modelValue"])
|
|
653
650
|
]),
|
|
@@ -656,7 +653,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
656
653
|
]),
|
|
657
654
|
_: 1
|
|
658
655
|
}),
|
|
659
|
-
o(
|
|
656
|
+
o(t).isCustomBtn ? (d(), m(i, {
|
|
660
657
|
key: 0,
|
|
661
658
|
span: 6
|
|
662
659
|
}, {
|
|
@@ -668,17 +665,17 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
668
665
|
}, {
|
|
669
666
|
default: e(() => [
|
|
670
667
|
l(V, {
|
|
671
|
-
modelValue: o(
|
|
672
|
-
"onUpdate:modelValue": u[9] || (u[9] = (
|
|
668
|
+
modelValue: o(t).customType,
|
|
669
|
+
"onUpdate:modelValue": u[9] || (u[9] = (a) => o(t).customType = a),
|
|
673
670
|
placeholder: "请选择关联菜单",
|
|
674
671
|
filterable: "",
|
|
675
672
|
clearable: ""
|
|
676
673
|
}, {
|
|
677
674
|
default: e(() => [
|
|
678
|
-
(d(!0), b(f, null, _(o(
|
|
675
|
+
(d(!0), b(f, null, _(o(he), (a, s) => (d(), m(g, {
|
|
679
676
|
key: s,
|
|
680
|
-
label:
|
|
681
|
-
value:
|
|
677
|
+
label: a.key,
|
|
678
|
+
value: a.value
|
|
682
679
|
}, null, 8, ["label", "value"]))), 128))
|
|
683
680
|
]),
|
|
684
681
|
_: 1
|
|
@@ -692,7 +689,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
692
689
|
]),
|
|
693
690
|
_: 1
|
|
694
691
|
}),
|
|
695
|
-
o(
|
|
692
|
+
o(t).customType === "code" ? (d(), m(v, {
|
|
696
693
|
key: 0,
|
|
697
694
|
gutter: 24
|
|
698
695
|
}, {
|
|
@@ -706,8 +703,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
706
703
|
}, {
|
|
707
704
|
default: e(() => [
|
|
708
705
|
l(o(E), {
|
|
709
|
-
modelValue: o(
|
|
710
|
-
"onUpdate:modelValue": u[10] || (u[10] = (
|
|
706
|
+
modelValue: o(t).codeStr,
|
|
707
|
+
"onUpdate:modelValue": u[10] || (u[10] = (a) => o(t).codeStr = a)
|
|
711
708
|
}, null, 8, ["modelValue"])
|
|
712
709
|
]),
|
|
713
710
|
_: 1
|
|
@@ -718,7 +715,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
718
715
|
]),
|
|
719
716
|
_: 1
|
|
720
717
|
})) : C("", !0),
|
|
721
|
-
o(
|
|
718
|
+
o(t).customType === "component" ? (d(), m(v, {
|
|
722
719
|
key: 1,
|
|
723
720
|
gutter: 24
|
|
724
721
|
}, {
|
|
@@ -732,8 +729,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
732
729
|
}, {
|
|
733
730
|
default: e(() => [
|
|
734
731
|
l(c, {
|
|
735
|
-
modelValue: o(
|
|
736
|
-
"onUpdate:modelValue": u[11] || (u[11] = (
|
|
732
|
+
modelValue: o(t).customComponentName,
|
|
733
|
+
"onUpdate:modelValue": u[11] || (u[11] = (a) => o(t).customComponentName = a),
|
|
737
734
|
placeholder: "请输入组件名称",
|
|
738
735
|
clearable: ""
|
|
739
736
|
}, {
|
|
@@ -757,8 +754,8 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
757
754
|
}, {
|
|
758
755
|
default: e(() => [
|
|
759
756
|
l(c, {
|
|
760
|
-
modelValue: o(
|
|
761
|
-
"onUpdate:modelValue": u[12] || (u[12] = (
|
|
757
|
+
modelValue: o(t).customComponentUrl,
|
|
758
|
+
"onUpdate:modelValue": u[12] || (u[12] = (a) => o(t).customComponentUrl = a),
|
|
762
759
|
placeholder: "请输入组件地址",
|
|
763
760
|
clearable: ""
|
|
764
761
|
}, null, 8, ["modelValue"])
|
|
@@ -773,17 +770,17 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
773
770
|
l(r, { label: "关联菜单" }, {
|
|
774
771
|
default: e(() => [
|
|
775
772
|
l(V, {
|
|
776
|
-
modelValue: o(
|
|
777
|
-
"onUpdate:modelValue": u[13] || (u[13] = (
|
|
773
|
+
modelValue: o(t).associationMenuId,
|
|
774
|
+
"onUpdate:modelValue": u[13] || (u[13] = (a) => o(t).associationMenuId = a),
|
|
778
775
|
placeholder: "请选择关联菜单",
|
|
779
776
|
filterable: "",
|
|
780
777
|
clearable: ""
|
|
781
778
|
}, {
|
|
782
779
|
default: e(() => [
|
|
783
|
-
(d(!0), b(f, null, _(o(j), (
|
|
780
|
+
(d(!0), b(f, null, _(o(j), (a, s) => (d(), m(g, {
|
|
784
781
|
key: s,
|
|
785
|
-
label:
|
|
786
|
-
value:
|
|
782
|
+
label: a.name,
|
|
783
|
+
value: a.id
|
|
787
784
|
}, null, 8, ["label", "value"]))), 128))
|
|
788
785
|
]),
|
|
789
786
|
_: 1
|
|
@@ -805,7 +802,7 @@ const ve = { class: "dialog-footer" }, Fe = {
|
|
|
805
802
|
}, 8, ["model-value", "title"]);
|
|
806
803
|
};
|
|
807
804
|
}
|
|
808
|
-
},
|
|
805
|
+
}, Ie = /* @__PURE__ */ me(Fe, [["__scopeId", "data-v-75eab9b4"]]);
|
|
809
806
|
export {
|
|
810
|
-
|
|
807
|
+
Ie as default
|
|
811
808
|
};
|
package/lib/{dialogSiteComponentsParams-2aaba180.js → dialogSiteComponentsParams-b6c8001c.js}
RENAMED
|
@@ -8,7 +8,7 @@ const B = { class: "dialog-footer" }, h = {
|
|
|
8
8
|
},
|
|
9
9
|
emits: ["update:visible", "refresh", "update:modelValue"],
|
|
10
10
|
setup(f, { emit: c }) {
|
|
11
|
-
const v = _(() => import("./index-
|
|
11
|
+
const v = _(() => import("./index-40115216.js").then((l) => l.q)), n = c, o = f;
|
|
12
12
|
let t = y();
|
|
13
13
|
C(
|
|
14
14
|
() => o.visible,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as le, inject as x, ref as R, watch as ae, resolveComponent as i, resolveDirective as te, unref as l, openBlock as n, createElementBlock as $, createVNode as oe, normalizeStyle as re, withCtx as h, Fragment as E, renderList as D, withDirectives as z, createBlock as u, mergeProps as m, withKeys as A, withModifiers as F, createCommentVNode as g, vShow as ne, createTextVNode as Y, toDisplayString as B } from "vue";
|
|
2
|
-
import { _ as se, u as ue, P as H, a as de, b as pe } from "./index-
|
|
2
|
+
import { _ as se, u as ue, P as H, a as de, b as pe } from "./index-40115216.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "js-base64";
|
|
5
5
|
import "element-plus";
|
|
@@ -14,7 +14,7 @@ const ie = {
|
|
|
14
14
|
},
|
|
15
15
|
emits: ["reset", "search"],
|
|
16
16
|
setup(W, { emit: j }) {
|
|
17
|
-
const I = le(() => import("./index-
|
|
17
|
+
const I = le(() => import("./index-40115216.js").then((o) => o.t)), { t: d } = ue(), K = x("request"), p = x("getFieldUiProps"), L = x("formatDataType"), M = j, b = W;
|
|
18
18
|
let f = R([]), O = R([]), C = R(!0);
|
|
19
19
|
const G = (o) => b.data.tableConfig.isExpandQuery && C.value ? b.data.tableConfig.tableQueryRowWidth > o + 1 : !0, J = (o) => {
|
|
20
20
|
f.value = (o || []).filter((t) => t.useScenes.includes("tableSearch"));
|