act-plus 1.1.34 → 1.1.36
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 +1 -1
- package/act-plus.umd.cjs +64 -64
- package/lib/{configBtns-5904b50e.js → configBtns-868a4abe.js} +45 -42
- package/lib/{configFileds-e6a87785.js → configFileds-f18ae7a1.js} +3 -3
- package/lib/{configForm-e3af844f.js → configForm-e91a1aa7.js} +1 -1
- package/lib/{configTable-2d2e447b.js → configTable-a734885a.js} +2 -2
- package/lib/{dialogAddField-956517f7.js → dialogAddField-0ef09da5.js} +45 -43
- package/lib/{dialogConfigBtn-a674c036.js → dialogConfigBtn-2b11f3e0.js} +178 -176
- package/lib/dialogInitConfig-d0419973.js +188 -0
- package/lib/{dialogSiteComponentsParams-5b882068.js → dialogSiteComponentsParams-b38f39fd.js} +1 -1
- package/lib/{enum-95788c42.js → enum-d734222c.js} +2 -1
- package/lib/{index-7abb8f31.js → index-21ab1ef2.js} +1 -1
- package/lib/{index-b9e046e9.js → index-240e247a.js} +1 -1
- package/lib/{index-daace5c5.js → index-24bae538.js} +129 -118
- package/lib/{index-cb3083b6.js → index-a4e6b7a2.js} +19270 -19238
- package/lib/{index-4567bcd5.js → index-c57d1b09.js} +1 -1
- package/lib/{index-85d03e1a.js → index-d94da50d.js} +76 -76
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { inject as O, defineAsyncComponent as T, reactive as W, ref as g, provide as
|
|
1
|
+
import { inject as O, defineAsyncComponent as T, reactive as W, ref as g, provide as D, watch as j, resolveComponent as m, openBlock as F, createBlock as z, withCtx as d, createVNode as f, unref as l, isRef as E, createTextVNode as x, toDisplayString as P, pushScopeId as H, popScopeId as K, createElementVNode as L } from "vue";
|
|
2
2
|
import { useRoute as $ } from "vue-router";
|
|
3
|
-
import { _ as G } from "./index-
|
|
3
|
+
import { _ as G } from "./index-a4e6b7a2.js";
|
|
4
4
|
import "js-base64";
|
|
5
5
|
import "element-plus";
|
|
6
6
|
import "monaco-editor";
|
|
7
|
-
const J = (u) => (H("data-v-
|
|
7
|
+
const J = (u) => (H("data-v-862782ff"), u = u(), K(), u), Q = /* @__PURE__ */ J(() => /* @__PURE__ */ L("div", { class: "card-header" }, [
|
|
8
8
|
/* @__PURE__ */ L("div", { class: "card-header-title" }, "按钮配置")
|
|
9
9
|
], -1)), X = {
|
|
10
10
|
__name: "configBtns",
|
|
@@ -13,7 +13,7 @@ const J = (u) => (H("data-v-c348bee1"), u = u(), K(), u), Q = /* @__PURE__ */ J(
|
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:modelValue"],
|
|
15
15
|
setup(u, { expose: V, emit: Y }) {
|
|
16
|
-
const h = $(), C = O("request"), q = T(() => import("./dialogConfigBtn-
|
|
16
|
+
const h = $(), C = O("request"), q = T(() => import("./dialogConfigBtn-2b11f3e0.js")), p = u, w = () => ({
|
|
17
17
|
sort: 0,
|
|
18
18
|
permissionCode: null,
|
|
19
19
|
requestUrl: "",
|
|
@@ -38,7 +38,7 @@ const J = (u) => (H("data-v-c348bee1"), u = u(), K(), u), Q = /* @__PURE__ */ J(
|
|
|
38
38
|
tableLoading: !1,
|
|
39
39
|
showConfigBtnDialog: !1,
|
|
40
40
|
dialogData: {}
|
|
41
|
-
}))()), v = g(null), y = 0, B = [],
|
|
41
|
+
}))()), v = g(null), y = 0, B = [], s = g([]), M = [
|
|
42
42
|
{ prop: "checkbox", width: 60 },
|
|
43
43
|
{ prop: "serialNumber", width: 80 },
|
|
44
44
|
{ label: "按钮名称", prop: "btnName", minWidth: 200 },
|
|
@@ -48,39 +48,42 @@ const J = (u) => (H("data-v-c348bee1"), u = u(), K(), u), Q = /* @__PURE__ */ J(
|
|
|
48
48
|
{ label: "是否自定义", prop: "isCustomBtn", width: 120, render: !0 },
|
|
49
49
|
{ label: "排序", prop: "sort", width: 180, render: !0 },
|
|
50
50
|
{ label: "操作", prop: "operate", width: 120, render: !0, fixed: "right" }
|
|
51
|
-
],
|
|
52
|
-
const N = (e) => C({ url: "/api/v1/sysMenus/getAllList", method: "post", data: e }), S = (e) => C({ url: "/api/v1/sysMenus/getMenuOfOperate", method: "get", params: e }), k = (e,
|
|
53
|
-
|
|
51
|
+
], b = g([]);
|
|
52
|
+
const N = (e) => C({ url: "/api/v1/sysMenus/getAllList", method: "post", data: e }), S = (e) => C({ url: "/api/v1/sysMenus/getMenuOfOperate", method: "get", params: e }), k = (e, a) => {
|
|
53
|
+
s.value.includes(e.permissionCode) || s.value.push(e.permissionCode), Object.assign(b.value[y], e), a(!0);
|
|
54
54
|
}, R = async (e) => {
|
|
55
55
|
try {
|
|
56
56
|
n.tableLoading = !0;
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
let _ = w(),
|
|
60
|
-
return { ..._, ...
|
|
61
|
-
}).sort((
|
|
62
|
-
} catch (
|
|
63
|
-
n.tableLoading = !1, console.error(
|
|
57
|
+
const a = p.id ? p.id : h.params.id, { data: i } = await S({ id: a });
|
|
58
|
+
s.value = (i || []).filter((o) => (e || []).some((r) => r.permissionCode == o.unique)).map((o) => o.unique), b.value = (i || []).map((o, r) => {
|
|
59
|
+
let _ = w(), c = (e || []).find((t) => t.permissionCode == o.unique) || {};
|
|
60
|
+
return { ..._, btnIcon: o.icon || "", ...c, btnName: o.name, permissionCode: o.unique, sort: c.sort ? c.sort : (r + 1) * 10 };
|
|
61
|
+
}).sort((o, r) => o.sort - r.sort), n.tableLoading = !1;
|
|
62
|
+
} catch (a) {
|
|
63
|
+
n.tableLoading = !1, console.error(a);
|
|
64
64
|
}
|
|
65
65
|
}, A = () => v.value.getSelectionRows() || [];
|
|
66
|
-
|
|
67
|
-
() =>
|
|
68
|
-
async (e,
|
|
66
|
+
D("associationMenuList", B), D("createDefaultButtonItem", w), j(
|
|
67
|
+
() => p.modelValue,
|
|
68
|
+
async (e, a) => {
|
|
69
69
|
try {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
if (e.length) {
|
|
71
|
+
const i = p.id ? p.id : h.params.id;
|
|
72
|
+
B = (await N({ dynamicFilters: [{ field: "parentId", operate: "Equal", value: i }] })).data || [], await R(e);
|
|
73
|
+
} else
|
|
74
|
+
s.value = [], b.value = [];
|
|
75
|
+
} catch (i) {
|
|
76
|
+
n.tableLoading = !1, console.error(i);
|
|
74
77
|
}
|
|
75
78
|
},
|
|
76
|
-
{ deep: !0
|
|
79
|
+
{ deep: !0 }
|
|
77
80
|
);
|
|
78
81
|
const U = (e) => {
|
|
79
82
|
n.dialogData = e.row, y = e.$index, n.showConfigBtnDialog = !0;
|
|
80
83
|
};
|
|
81
|
-
return V({ getTableSelectionRows: A }), (e,
|
|
82
|
-
const
|
|
83
|
-
return F(), z(
|
|
84
|
+
return V({ getTableSelectionRows: A }), (e, a) => {
|
|
85
|
+
const i = m("el-tag"), o = m("el-input-number"), r = m("el-button"), _ = m("a-table"), c = m("el-card");
|
|
86
|
+
return F(), z(c, {
|
|
84
87
|
class: "form-card",
|
|
85
88
|
shadow: "hover"
|
|
86
89
|
}, {
|
|
@@ -88,19 +91,19 @@ const J = (u) => (H("data-v-c348bee1"), u = u(), K(), u), Q = /* @__PURE__ */ J(
|
|
|
88
91
|
Q
|
|
89
92
|
]),
|
|
90
93
|
default: d(() => [
|
|
91
|
-
|
|
94
|
+
f(_, {
|
|
92
95
|
ref_key: "tableRef",
|
|
93
96
|
ref: v,
|
|
94
|
-
loading:
|
|
97
|
+
loading: l(n).tableLoading,
|
|
95
98
|
rowKey: "permissionCode",
|
|
96
|
-
selection:
|
|
97
|
-
"onUpdate:selection":
|
|
98
|
-
headers:
|
|
99
|
-
data:
|
|
99
|
+
selection: l(s),
|
|
100
|
+
"onUpdate:selection": a[0] || (a[0] = (t) => E(s) ? s.value = t : s = t),
|
|
101
|
+
headers: l(M),
|
|
102
|
+
data: l(b),
|
|
100
103
|
showPagination: !1
|
|
101
104
|
}, {
|
|
102
105
|
isCustomBtn: d(({ scope: t }) => [
|
|
103
|
-
|
|
106
|
+
f(i, {
|
|
104
107
|
type: "primary",
|
|
105
108
|
effect: "dark",
|
|
106
109
|
size: "small"
|
|
@@ -112,19 +115,19 @@ const J = (u) => (H("data-v-c348bee1"), u = u(), K(), u), Q = /* @__PURE__ */ J(
|
|
|
112
115
|
}, 1024)
|
|
113
116
|
]),
|
|
114
117
|
sort: d(({ scope: t }) => [
|
|
115
|
-
|
|
118
|
+
f(o, {
|
|
116
119
|
modelValue: t.row.sort,
|
|
117
|
-
"onUpdate:modelValue": (
|
|
120
|
+
"onUpdate:modelValue": (I) => t.row.sort = I,
|
|
118
121
|
min: 0
|
|
119
122
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
120
123
|
]),
|
|
121
124
|
operate: d(({ scope: t }) => [
|
|
122
|
-
|
|
125
|
+
f(r, {
|
|
123
126
|
type: "primary",
|
|
124
127
|
text: "",
|
|
125
128
|
size: "small",
|
|
126
129
|
icon: "Aim",
|
|
127
|
-
onClick: (
|
|
130
|
+
onClick: (I) => U(t)
|
|
128
131
|
}, {
|
|
129
132
|
default: d(() => [
|
|
130
133
|
x(" 配置 ")
|
|
@@ -134,11 +137,11 @@ const J = (u) => (H("data-v-c348bee1"), u = u(), K(), u), Q = /* @__PURE__ */ J(
|
|
|
134
137
|
]),
|
|
135
138
|
_: 1
|
|
136
139
|
}, 8, ["loading", "selection", "headers", "data"]),
|
|
137
|
-
|
|
138
|
-
visible:
|
|
139
|
-
"onUpdate:visible":
|
|
140
|
+
f(l(q), {
|
|
141
|
+
visible: l(n).showConfigBtnDialog,
|
|
142
|
+
"onUpdate:visible": a[1] || (a[1] = (t) => l(n).showConfigBtnDialog = t),
|
|
140
143
|
title: "配置按钮",
|
|
141
|
-
data:
|
|
144
|
+
data: l(n).dialogData,
|
|
142
145
|
onRefresh: k
|
|
143
146
|
}, null, 8, ["visible", "data"])
|
|
144
147
|
]),
|
|
@@ -146,7 +149,7 @@ const J = (u) => (H("data-v-c348bee1"), u = u(), K(), u), Q = /* @__PURE__ */ J(
|
|
|
146
149
|
});
|
|
147
150
|
};
|
|
148
151
|
}
|
|
149
|
-
}, ie = /* @__PURE__ */ G(X, [["__scopeId", "data-v-
|
|
152
|
+
}, ie = /* @__PURE__ */ G(X, [["__scopeId", "data-v-862782ff"]]);
|
|
150
153
|
export {
|
|
151
154
|
ie as default
|
|
152
155
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as I, inject as H, reactive as U, ref as j, watch as B, resolveComponent as m, openBlock as f, createBlock as w, withCtx as a, createElementVNode as C, createVNode as d, createTextVNode as i, unref as r, toDisplayString as _, createElementBlock as q, Fragment as K, renderList as O, createCommentVNode as W, pushScopeId as Y, popScopeId as G } from "vue";
|
|
2
|
-
import { a as J } from "./enum-
|
|
3
|
-
import { _ as M } from "./index-
|
|
2
|
+
import { a as J } from "./enum-d734222c.js";
|
|
3
|
+
import { _ as M } from "./index-a4e6b7a2.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import "js-base64";
|
|
6
6
|
import "element-plus";
|
|
@@ -12,7 +12,7 @@ const Q = (u) => (Y("data-v-3440b427"), u = u(), G(), u), X = { class: "card-hea
|
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:modelValue"],
|
|
14
14
|
setup(u, { emit: v }) {
|
|
15
|
-
const F = I(() => import("./dialogAddField-
|
|
15
|
+
const F = I(() => import("./dialogAddField-0ef09da5.js")), g = v, b = u, V = H("configData")();
|
|
16
16
|
let l = U((() => ({
|
|
17
17
|
tableLoading: !1,
|
|
18
18
|
showAddFieldDialog: !1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as _, watch as P, resolveComponent as m, openBlock as i, createBlock as p, withCtx as o, createVNode as e, unref as a, createElementBlock as R, Fragment as W, renderList as F } from "vue";
|
|
2
|
-
import { F as O } from "./enum-
|
|
2
|
+
import { F as O } from "./enum-d734222c.js";
|
|
3
3
|
const C = {
|
|
4
4
|
__name: "configForm",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { inject as z, ref as T, watch as j, resolveComponent as i, openBlock as s, createBlock as b, withCtx as l, createVNode as e, unref as u, createTextVNode as B, createElementBlock as y, Fragment as U, renderList as w, createCommentVNode as x } from "vue";
|
|
2
|
-
import { S as I } from "./enum-
|
|
3
|
-
import { _ as M } from "./index-
|
|
2
|
+
import { S as I } from "./enum-d734222c.js";
|
|
3
|
+
import { _ as M } from "./index-a4e6b7a2.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import "js-base64";
|
|
6
6
|
import "element-plus";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { a as
|
|
3
|
-
import { _ as
|
|
1
|
+
import { defineAsyncComponent as se, inject as E, reactive as ie, ref as A, watch as me, resolveComponent as g, resolveDirective as pe, openBlock as n, createBlock as m, withCtx as a, createElementVNode as H, createVNode as l, unref as o, createTextVNode as S, withDirectives as fe, createElementBlock as b, Fragment as c, renderList as C, createCommentVNode as V, toDisplayString as be } from "vue";
|
|
2
|
+
import { a as ce, j as _e, P as ge, k as L, T as Ce, A as ye, C as Ve, U as Te } from "./enum-d734222c.js";
|
|
3
|
+
import { _ as Se } from "./index-a4e6b7a2.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import "js-base64";
|
|
6
6
|
import "element-plus";
|
|
7
7
|
import "monaco-editor";
|
|
8
|
-
const
|
|
8
|
+
const ve = { slot: "prepend" }, Ue = { class: "dialog-footer" }, ke = {
|
|
9
9
|
__name: "dialogAddField",
|
|
10
10
|
props: {
|
|
11
11
|
visible: { type: Boolean, default: !1 },
|
|
@@ -14,8 +14,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:visible", "refresh"],
|
|
16
16
|
setup(K, { emit: M }) {
|
|
17
|
-
const I =
|
|
18
|
-
let
|
|
17
|
+
const I = se(() => import("./dialogSiteComponentsParams-b38f39fd.js")), D = M, F = K, N = E("pageKey")(), x = E("conditionList")(), W = E("configData")();
|
|
18
|
+
let v = ie((() => ({
|
|
19
19
|
btnLoading: !1,
|
|
20
20
|
showSiteComponentsParamsDialog: !1
|
|
21
21
|
}))());
|
|
@@ -45,11 +45,11 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
45
45
|
isTableCellOverflowTooltip: !0,
|
|
46
46
|
isTableCellSort: !0
|
|
47
47
|
});
|
|
48
|
-
let P =
|
|
48
|
+
let P = Te, w = A(null), t = A(O());
|
|
49
49
|
const $ = () => ["select", "selectIcon", "multipleSelect", "treeSelect", "provinceCascade", "switch", "virtualizedSelect", "virtualizedMultipleSelect"].includes(
|
|
50
50
|
t.value.fieldType
|
|
51
51
|
), Q = () => t.value.useScenes.includes("tableSearch") && t.value.fieldType !== "time", Y = () => t.value.useScenes.includes("tableShow"), B = () => !t.value.fieldKey.includes("&"), j = () => t.value.useScenes.includes("tableCustomHeader"), z = () => t.value.useScenes.filter((_) => !["tableSearch", "tableShow"].includes(_)).length;
|
|
52
|
-
|
|
52
|
+
me(
|
|
53
53
|
() => F.visible,
|
|
54
54
|
async (_, u) => {
|
|
55
55
|
if (_) {
|
|
@@ -63,7 +63,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
63
63
|
return;
|
|
64
64
|
Object.keys(t.value).forEach((r) => {
|
|
65
65
|
r == "permissionCode" ? t.value[r] = d.unique : r == "formCustomComponentes" ? t.value[r] = p.filter((f) => d.useScenes.includes(f.value)).map((f) => {
|
|
66
|
-
const y = d[r].find((
|
|
66
|
+
const y = d[r].find((U) => U.permissionCode == f.value) || {};
|
|
67
67
|
return {
|
|
68
68
|
btnName: f.key,
|
|
69
69
|
permissionCode: f.value,
|
|
@@ -97,18 +97,18 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
97
97
|
}, ee = (_, u) => {
|
|
98
98
|
u.customComponentName = void 0, u.customComponentUrl = void 0;
|
|
99
99
|
}, le = (_) => {
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
t.value = O(),
|
|
100
|
+
R(), _();
|
|
101
|
+
}, R = () => {
|
|
102
|
+
t.value = O(), w.value.resetFields(), D("update:visible", !1);
|
|
103
103
|
}, ae = (_) => {
|
|
104
104
|
_ && _.validate((u) => {
|
|
105
|
-
u && (
|
|
106
|
-
|
|
107
|
-
}),
|
|
105
|
+
u && (v.btnLoading = !0, D("refresh", JSON.parse(JSON.stringify(t.value)), () => {
|
|
106
|
+
R();
|
|
107
|
+
}), v.btnLoading = !1);
|
|
108
108
|
});
|
|
109
109
|
};
|
|
110
110
|
return (_, u) => {
|
|
111
|
-
const p = g("el-input"), d = g("el-form-item"), r = g("el-col"), f = g("el-option"), y = g("el-select"),
|
|
111
|
+
const p = g("el-input"), d = g("el-form-item"), r = g("el-col"), f = g("el-option"), y = g("el-select"), U = g("el-button"), T = g("el-row"), q = g("el-divider"), te = g("el-option-group"), k = g("el-switch"), oe = g("el-input-number"), ue = g("el-form"), re = g("el-scrollbar"), ne = g("el-dialog"), de = pe("debounce");
|
|
112
112
|
return n(), m(ne, {
|
|
113
113
|
"model-value": F.visible,
|
|
114
114
|
title: F.title,
|
|
@@ -120,26 +120,28 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
120
120
|
"before-close": le
|
|
121
121
|
}, {
|
|
122
122
|
footer: a(() => [
|
|
123
|
-
H("span",
|
|
124
|
-
l(
|
|
125
|
-
onClick:
|
|
126
|
-
loading: o(
|
|
123
|
+
H("span", Ue, [
|
|
124
|
+
l(U, {
|
|
125
|
+
onClick: R,
|
|
126
|
+
loading: o(v).btnLoading
|
|
127
127
|
}, {
|
|
128
128
|
default: a(() => [
|
|
129
129
|
S("取消")
|
|
130
130
|
]),
|
|
131
131
|
_: 1
|
|
132
132
|
}, 8, ["loading"]),
|
|
133
|
-
|
|
133
|
+
fe((n(), m(U, {
|
|
134
134
|
type: "primary",
|
|
135
|
-
loading: o(
|
|
136
|
-
onClick: u[23] || (u[23] = (e) => ae(o(
|
|
135
|
+
loading: o(v).btnLoading,
|
|
136
|
+
onClick: u[23] || (u[23] = (e) => ae(o(w)))
|
|
137
137
|
}, {
|
|
138
138
|
default: a(() => [
|
|
139
139
|
S("保存")
|
|
140
140
|
]),
|
|
141
141
|
_: 1
|
|
142
|
-
}, 8, ["loading"])
|
|
142
|
+
}, 8, ["loading"])), [
|
|
143
|
+
[de]
|
|
144
|
+
])
|
|
143
145
|
])
|
|
144
146
|
]),
|
|
145
147
|
default: a(() => [
|
|
@@ -150,7 +152,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
150
152
|
default: a(() => [
|
|
151
153
|
l(ue, {
|
|
152
154
|
ref_key: "formRef",
|
|
153
|
-
ref:
|
|
155
|
+
ref: w,
|
|
154
156
|
model: o(t),
|
|
155
157
|
"label-suffix": ":",
|
|
156
158
|
"label-width": "120px"
|
|
@@ -214,7 +216,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
214
216
|
filterable: ""
|
|
215
217
|
}, {
|
|
216
218
|
default: a(() => [
|
|
217
|
-
(n(!0), b(c, null, C(o(
|
|
219
|
+
(n(!0), b(c, null, C(o(ce), (e) => (n(), m(f, {
|
|
218
220
|
key: e.value,
|
|
219
221
|
label: e.key,
|
|
220
222
|
value: e.value
|
|
@@ -232,13 +234,13 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
232
234
|
default: a(() => [
|
|
233
235
|
l(d, {
|
|
234
236
|
label: "组件参数",
|
|
235
|
-
rules: [{ required: !
|
|
237
|
+
rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
|
|
236
238
|
prop: "fieldType"
|
|
237
239
|
}, {
|
|
238
240
|
default: a(() => [
|
|
239
|
-
l(
|
|
241
|
+
l(U, {
|
|
240
242
|
type: "primary",
|
|
241
|
-
onClick: u[3] || (u[3] = (e) => o(
|
|
243
|
+
onClick: u[3] || (u[3] = (e) => o(v).showSiteComponentsParamsDialog = !0)
|
|
242
244
|
}, {
|
|
243
245
|
default: a(() => [
|
|
244
246
|
S("设置props")
|
|
@@ -248,8 +250,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
248
250
|
l(o(I), {
|
|
249
251
|
modelValue: o(t).fieldUiProps,
|
|
250
252
|
"onUpdate:modelValue": u[4] || (u[4] = (e) => o(t).fieldUiProps = e),
|
|
251
|
-
visible: o(
|
|
252
|
-
"onUpdate:visible": u[5] || (u[5] = (e) => o(
|
|
253
|
+
visible: o(v).showSiteComponentsParamsDialog,
|
|
254
|
+
"onUpdate:visible": u[5] || (u[5] = (e) => o(v).showSiteComponentsParamsDialog = e),
|
|
253
255
|
title: "设置组件参数"
|
|
254
256
|
}, null, 8, ["modelValue", "visible"])
|
|
255
257
|
]),
|
|
@@ -285,7 +287,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
285
287
|
onChange: X
|
|
286
288
|
}, {
|
|
287
289
|
default: a(() => [
|
|
288
|
-
(n(!0), b(c, null, C(o(
|
|
290
|
+
(n(!0), b(c, null, C(o(_e), (e) => (n(), m(f, {
|
|
289
291
|
key: e.value,
|
|
290
292
|
label: e.key,
|
|
291
293
|
value: e.value
|
|
@@ -309,7 +311,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
309
311
|
l(q, { "content-position": "left" }, {
|
|
310
312
|
default: a(() => [
|
|
311
313
|
S(" POST参数配置 "),
|
|
312
|
-
l(
|
|
314
|
+
l(U, {
|
|
313
315
|
class: "add-icon-btn",
|
|
314
316
|
type: "primary",
|
|
315
317
|
icon: "Plus",
|
|
@@ -363,7 +365,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
363
365
|
style: { width: "120px" }
|
|
364
366
|
}, {
|
|
365
367
|
default: a(() => [
|
|
366
|
-
(n(!0), b(c, null, C(o(
|
|
368
|
+
(n(!0), b(c, null, C(o(ge), (s, h) => (n(), m(f, {
|
|
367
369
|
key: h,
|
|
368
370
|
label: s.key,
|
|
369
371
|
value: s.value
|
|
@@ -449,7 +451,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
449
451
|
span: 1
|
|
450
452
|
}, {
|
|
451
453
|
default: a(() => [
|
|
452
|
-
l(
|
|
454
|
+
l(U, {
|
|
453
455
|
class: "match-opreate",
|
|
454
456
|
type: "danger",
|
|
455
457
|
icon: "Minus",
|
|
@@ -469,7 +471,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
469
471
|
default: a(() => [
|
|
470
472
|
l(d, {
|
|
471
473
|
label: "使用场景",
|
|
472
|
-
rules: [{ required: !
|
|
474
|
+
rules: [{ required: !1, message: "必填项", trigger: ["change"] }],
|
|
473
475
|
prop: "useScenes"
|
|
474
476
|
}, {
|
|
475
477
|
default: a(() => [
|
|
@@ -578,7 +580,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
578
580
|
style: { width: "100px" }
|
|
579
581
|
}, {
|
|
580
582
|
default: a(() => [
|
|
581
|
-
(n(!0), b(c, null, C(o(
|
|
583
|
+
(n(!0), b(c, null, C(o(Ce), (e, i) => (n(), m(f, {
|
|
582
584
|
key: i,
|
|
583
585
|
label: e.key,
|
|
584
586
|
value: e.value
|
|
@@ -611,7 +613,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
611
613
|
filterable: ""
|
|
612
614
|
}, {
|
|
613
615
|
default: a(() => [
|
|
614
|
-
(n(!0), b(c, null, C(o(
|
|
616
|
+
(n(!0), b(c, null, C(o(ye), (e, i) => (n(), m(f, {
|
|
615
617
|
key: i,
|
|
616
618
|
label: e.key,
|
|
617
619
|
value: e.value
|
|
@@ -641,7 +643,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
641
643
|
filterable: ""
|
|
642
644
|
}, {
|
|
643
645
|
default: a(() => [
|
|
644
|
-
(n(!0), b(c, null, C(o(
|
|
646
|
+
(n(!0), b(c, null, C(o(Ve), (e, i) => (n(), m(f, {
|
|
645
647
|
key: i,
|
|
646
648
|
label: e.key,
|
|
647
649
|
value: e.value
|
|
@@ -896,8 +898,8 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
896
898
|
clearable: ""
|
|
897
899
|
}, {
|
|
898
900
|
default: a(() => [
|
|
899
|
-
H("template",
|
|
900
|
-
S(
|
|
901
|
+
H("template", ve, [
|
|
902
|
+
S(be(o(N)), 1)
|
|
901
903
|
])
|
|
902
904
|
]),
|
|
903
905
|
_: 2
|
|
@@ -946,7 +948,7 @@ const Ve = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
946
948
|
}, 8, ["model-value", "title"]);
|
|
947
949
|
};
|
|
948
950
|
}
|
|
949
|
-
},
|
|
951
|
+
}, De = /* @__PURE__ */ Se(ke, [["__scopeId", "data-v-9f0c7bbf"]]);
|
|
950
952
|
export {
|
|
951
|
-
|
|
953
|
+
De as default
|
|
952
954
|
};
|