act-plus 1.1.22 → 1.1.24
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 +6 -5
- package/act-plus.umd.cjs +94 -1722
- package/lib/{configBtns-c4e55eb0.js → configBtns-15591aad.js} +51 -50
- package/lib/{configFileds-b79642bc.js → configFileds-a045430e.js} +5 -4
- package/lib/{configTable-21f37060.js → configTable-0285d3f8.js} +32 -31
- package/lib/{dialogAddField-535d4a6c.js → dialogAddField-f474439d.js} +5 -4
- package/lib/{dialogConfigBtn-f4b70a91.js → dialogConfigBtn-c97ccee8.js} +5 -4
- package/lib/{dialogSiteComponentsParams-a99a4d71.js → dialogSiteComponentsParams-e2c5b8dd.js} +1 -1
- package/lib/{index-cb908890.js → index-36c9cd81.js} +15 -14
- package/lib/{index-f2795fa7.js → index-3e20553c.js} +11 -10
- package/lib/{index-79e6c123.js → index-7de949f6.js} +4 -3
- package/lib/{index-742c1da3.js → index-85deefc8.js} +5 -4
- package/lib/index-d0c3be37.js +68438 -0
- package/lib/{index-14906725.js → index-f58e1535.js} +31 -30
- package/package.json +1 -1
- package/style.css +1 -1
- package/assets/css.worker-1af1972f.js +0 -84
- package/assets/editor.worker-df55e1ff.js +0 -8
- package/assets/html.worker-38c267f1.js +0 -456
- package/assets/json.worker-bf861c27.js +0 -39
- package/assets/ts.worker-e151483b.js +0 -33972
- package/lib/abap-1354785f.js +0 -1314
- package/lib/apex-279d4f27.js +0 -315
- package/lib/azcli-ba812c55.js +0 -74
- package/lib/bat-4d77495d.js +0 -95
- package/lib/bicep-7b240724.js +0 -108
- package/lib/cameligo-5d2daeb8.js +0 -168
- package/lib/clojure-b7ea12a3.js +0 -754
- package/lib/coffee-1a8cfbf4.js +0 -228
- package/lib/cpp-642b10c4.js +0 -387
- package/lib/csharp-d987ddad.js +0 -320
- package/lib/csp-96407af0.js +0 -57
- package/lib/css-5dd354ac.js +0 -186
- package/lib/cssMode-049c1acb.js +0 -1448
- package/lib/cypher-11e5a4b6.js +0 -262
- package/lib/dart-5d209f63.js +0 -270
- package/lib/dockerfile-8739cff7.js +0 -132
- package/lib/ecl-a20c5155.js +0 -454
- package/lib/elixir-8b028584.js +0 -467
- package/lib/flow9-0dea2e73.js +0 -141
- package/lib/freemarker2-c93dec09.js +0 -646
- package/lib/fsharp-49a70fad.js +0 -210
- package/lib/go-46e3b371.js +0 -208
- package/lib/graphql-51a577e5.js +0 -141
- package/lib/handlebars-8a7428d8.js +0 -394
- package/lib/hcl-56b85754.js +0 -177
- package/lib/html-2fad443c.js +0 -284
- package/lib/htmlMode-3c13e1c6.js +0 -1458
- package/lib/index-a2634eef.js +0 -162522
- package/lib/ini-1d58d82f.js +0 -68
- package/lib/java-cd017f60.js +0 -221
- package/lib/javascript-2ec13b45.js +0 -78
- package/lib/jsonMode-33ed8d99.js +0 -1869
- package/lib/julia-a0caf483.js +0 -496
- package/lib/kotlin-c6e52a56.js +0 -245
- package/lib/less-718543b4.js +0 -168
- package/lib/lexon-5e6e7a44.js +0 -151
- package/lib/liquid-40ee460a.js +0 -241
- package/lib/lua-f159160b.js +0 -157
- package/lib/m3-aadaf771.js +0 -210
- package/lib/markdown-9b448c46.js +0 -202
- package/lib/mips-161e49ce.js +0 -194
- package/lib/msdax-f65cb1e6.js +0 -377
- package/lib/mysql-24549dd1.js +0 -875
- package/lib/objective-c-e129a5ca.js +0 -188
- package/lib/pascal-4ccdf5ce.js +0 -245
- package/lib/pascaligo-a9603dcd.js +0 -158
- package/lib/perl-ba1fb97a.js +0 -599
- package/lib/pgsql-89978310.js +0 -843
- package/lib/php-987b9d87.js +0 -471
- package/lib/pla-96c2695d.js +0 -131
- package/lib/postiats-7b52ebac.js +0 -544
- package/lib/powerquery-8954ec26.js +0 -890
- package/lib/powershell-f00d0274.js +0 -233
- package/lib/protobuf-3eb85f80.js +0 -422
- package/lib/pug-6fab415a.js +0 -393
- package/lib/python-852dc2c1.js +0 -262
- package/lib/qsharp-4792f872.js +0 -282
- package/lib/r-630f5d6b.js +0 -245
- package/lib/razor-c24d586d.js +0 -515
- package/lib/redis-276b8288.js +0 -298
- package/lib/redshift-520a7359.js +0 -806
- package/lib/restructuredtext-4676a3fc.js +0 -162
- package/lib/ruby-764137cd.js +0 -444
- package/lib/rust-97f8f6e1.js +0 -337
- package/lib/sb-8c22f14c.js +0 -110
- package/lib/scala-c68c650c.js +0 -353
- package/lib/scheme-e6a52cb0.js +0 -114
- package/lib/scss-45104c77.js +0 -244
- package/lib/shell-09452d42.js +0 -224
- package/lib/solidity-d4979008.js +0 -1351
- package/lib/sophia-21995caf.js +0 -190
- package/lib/sparql-5088743c.js +0 -193
- package/lib/sql-63ec8e76.js +0 -818
- package/lib/st-fa9ab362.js +0 -414
- package/lib/swift-abdf1835.js +0 -315
- package/lib/systemverilog-a4f858ed.js +0 -556
- package/lib/tcl-8adf937f.js +0 -232
- package/lib/tsMode-6d6244be.js +0 -792
- package/lib/twig-404eb73e.js +0 -323
- package/lib/typescript-807ce4d9.js +0 -330
- package/lib/vb-e21e8153.js +0 -364
- package/lib/xml-cc91b485.js +0 -98
- package/lib/yaml-f2de88bb.js +0 -187
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineAsyncComponent as U, reactive as A, ref as g, provide as D, watch as M, resolveComponent as m, openBlock as T, createBlock as W, withCtx as
|
|
2
|
-
import { _ as E, g as P, d as H } from "./index-
|
|
1
|
+
import { defineAsyncComponent as U, reactive as A, ref as g, provide as D, watch as M, resolveComponent as m, openBlock as T, createBlock as W, withCtx as d, createVNode as f, unref as s, isRef as F, createTextVNode as I, toDisplayString as O, pushScopeId as j, popScopeId as z, createElementVNode as x } from "vue";
|
|
2
|
+
import { _ as E, g as P, d as H } from "./index-d0c3be37.js";
|
|
3
3
|
import { useRoute as K } from "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
|
-
|
|
5
|
+
import "monaco-editor";
|
|
6
|
+
const $ = (c) => (j("data-v-2943c543"), c = c(), z(), c), G = /* @__PURE__ */ $(() => /* @__PURE__ */ x("div", { class: "card-header" }, [
|
|
6
7
|
/* @__PURE__ */ x("div", { class: "card-header-title" }, "按钮配置")
|
|
7
8
|
], -1)), J = {
|
|
8
9
|
__name: "configBtns",
|
|
@@ -10,8 +11,8 @@ const $ = (d) => (j("data-v-709fc688"), d = d(), z(), d), G = /* @__PURE__ */ $(
|
|
|
10
11
|
modelValue: { type: Object, default: () => [] }
|
|
11
12
|
},
|
|
12
13
|
emits: ["update:modelValue"],
|
|
13
|
-
setup(
|
|
14
|
-
const h = K(), L = U(() => import("./dialogConfigBtn-
|
|
14
|
+
setup(c, { expose: V, emit: Q }) {
|
|
15
|
+
const h = K(), L = U(() => import("./dialogConfigBtn-c97ccee8.js")), u = c, C = () => ({
|
|
15
16
|
sort: 0,
|
|
16
17
|
permissionCode: null,
|
|
17
18
|
requestUrl: "",
|
|
@@ -32,11 +33,11 @@ const $ = (d) => (j("data-v-709fc688"), d = d(), z(), d), G = /* @__PURE__ */ $(
|
|
|
32
33
|
submitFields: [],
|
|
33
34
|
matchFields: []
|
|
34
35
|
});
|
|
35
|
-
let
|
|
36
|
+
let n = A((() => ({
|
|
36
37
|
tableLoading: !1,
|
|
37
38
|
showConfigBtnDialog: !1,
|
|
38
39
|
dialogData: {}
|
|
39
|
-
}))()),
|
|
40
|
+
}))()), w = g(null), v = 0, y = [], l = g([]), N = [
|
|
40
41
|
{ prop: "checkbox", width: 60 },
|
|
41
42
|
{ prop: "serialNumber", width: 80 },
|
|
42
43
|
{ label: "按钮名称", prop: "btnName", minWidth: 200 },
|
|
@@ -47,84 +48,84 @@ const $ = (d) => (j("data-v-709fc688"), d = d(), z(), d), G = /* @__PURE__ */ $(
|
|
|
47
48
|
{ label: "排序", prop: "sort", width: 180, render: !0 },
|
|
48
49
|
{ label: "操作", prop: "operate", width: 120, render: !0, fixed: "right" }
|
|
49
50
|
], b = g([]);
|
|
50
|
-
const S = (
|
|
51
|
-
Object.assign(b.value[
|
|
52
|
-
}, k = async (
|
|
51
|
+
const S = (t, o) => {
|
|
52
|
+
l.value.includes(t.permissionCode) || l.value.push(t.permissionCode), Object.assign(b.value[v], t), o(!0);
|
|
53
|
+
}, k = async (t) => {
|
|
53
54
|
try {
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
let _ =
|
|
58
|
-
return { ..._, ...p, btnName:
|
|
59
|
-
}).sort((
|
|
60
|
-
} catch (
|
|
61
|
-
|
|
55
|
+
n.tableLoading = !0;
|
|
56
|
+
const o = u.id ? u.id : h.params.id, { data: i } = await H({ id: o });
|
|
57
|
+
l.value = (i || []).filter((a) => (t || []).some((r) => r.permissionCode == a.unique)).map((a) => a.unique), b.value = (i || []).map((a, r) => {
|
|
58
|
+
let _ = C(), p = (t || []).find((e) => e.permissionCode == a.unique) || {};
|
|
59
|
+
return { ..._, ...p, btnName: a.name, permissionCode: a.unique, sort: p.sort ? p.sort : (r + 1) * 10 };
|
|
60
|
+
}).sort((a, r) => a.sort - r.sort), n.tableLoading = !1;
|
|
61
|
+
} catch (o) {
|
|
62
|
+
n.tableLoading = !1, console.error(o);
|
|
62
63
|
}
|
|
63
|
-
}, R = () =>
|
|
64
|
-
D("associationMenuList",
|
|
65
|
-
() =>
|
|
66
|
-
async (
|
|
64
|
+
}, R = () => w.value.getSelectionRows() || [];
|
|
65
|
+
D("associationMenuList", y), D("createDefaultButtonItem", C), M(
|
|
66
|
+
() => u.modelValue,
|
|
67
|
+
async (t, o) => {
|
|
67
68
|
try {
|
|
68
|
-
const i =
|
|
69
|
-
|
|
69
|
+
const i = u.id ? u.id : h.params.id;
|
|
70
|
+
y = (await P({ dynamicFilters: [{ field: "parentId", operate: "Equal", value: i }] })).data || [], await k(t);
|
|
70
71
|
} catch (i) {
|
|
71
|
-
|
|
72
|
+
n.tableLoading = !1, console.error(i);
|
|
72
73
|
}
|
|
73
74
|
},
|
|
74
75
|
{ deep: !0, immediate: !0 }
|
|
75
76
|
);
|
|
76
|
-
const q = (
|
|
77
|
-
|
|
77
|
+
const q = (t) => {
|
|
78
|
+
n.dialogData = t.row, v = t.$index, n.showConfigBtnDialog = !0;
|
|
78
79
|
};
|
|
79
|
-
return V({ getTableSelectionRows: R }), (
|
|
80
|
-
const i = m("el-tag"),
|
|
80
|
+
return V({ getTableSelectionRows: R }), (t, o) => {
|
|
81
|
+
const i = m("el-tag"), a = m("el-input-number"), r = m("el-button"), _ = m("a-table"), p = m("el-card");
|
|
81
82
|
return T(), W(p, {
|
|
82
83
|
class: "form-card",
|
|
83
84
|
shadow: "hover"
|
|
84
85
|
}, {
|
|
85
|
-
header:
|
|
86
|
+
header: d(() => [
|
|
86
87
|
G
|
|
87
88
|
]),
|
|
88
|
-
default:
|
|
89
|
+
default: d(() => [
|
|
89
90
|
f(_, {
|
|
90
91
|
ref_key: "tableRef",
|
|
91
|
-
ref:
|
|
92
|
-
loading:
|
|
92
|
+
ref: w,
|
|
93
|
+
loading: s(n).tableLoading,
|
|
93
94
|
rowKey: "permissionCode",
|
|
94
|
-
selection: l
|
|
95
|
-
"onUpdate:selection":
|
|
96
|
-
headers:
|
|
97
|
-
data:
|
|
95
|
+
selection: s(l),
|
|
96
|
+
"onUpdate:selection": o[0] || (o[0] = (e) => F(l) ? l.value = e : l = e),
|
|
97
|
+
headers: s(N),
|
|
98
|
+
data: s(b),
|
|
98
99
|
showPagination: !1
|
|
99
100
|
}, {
|
|
100
|
-
isCustomBtn:
|
|
101
|
+
isCustomBtn: d(({ scope: e }) => [
|
|
101
102
|
f(i, {
|
|
102
103
|
type: "primary",
|
|
103
104
|
effect: "dark",
|
|
104
105
|
size: "small"
|
|
105
106
|
}, {
|
|
106
|
-
default:
|
|
107
|
+
default: d(() => [
|
|
107
108
|
I(O(e.row.isCustomBtn ? "是" : "否"), 1)
|
|
108
109
|
]),
|
|
109
110
|
_: 2
|
|
110
111
|
}, 1024)
|
|
111
112
|
]),
|
|
112
|
-
sort:
|
|
113
|
-
f(
|
|
113
|
+
sort: d(({ scope: e }) => [
|
|
114
|
+
f(a, {
|
|
114
115
|
modelValue: e.row.sort,
|
|
115
116
|
"onUpdate:modelValue": (B) => e.row.sort = B,
|
|
116
117
|
min: 0
|
|
117
118
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
118
119
|
]),
|
|
119
|
-
operate:
|
|
120
|
-
f(
|
|
120
|
+
operate: d(({ scope: e }) => [
|
|
121
|
+
f(r, {
|
|
121
122
|
type: "primary",
|
|
122
123
|
text: "",
|
|
123
124
|
size: "small",
|
|
124
125
|
icon: "Aim",
|
|
125
126
|
onClick: (B) => q(e)
|
|
126
127
|
}, {
|
|
127
|
-
default:
|
|
128
|
+
default: d(() => [
|
|
128
129
|
I(" 配置 ")
|
|
129
130
|
]),
|
|
130
131
|
_: 2
|
|
@@ -132,11 +133,11 @@ const $ = (d) => (j("data-v-709fc688"), d = d(), z(), d), G = /* @__PURE__ */ $(
|
|
|
132
133
|
]),
|
|
133
134
|
_: 1
|
|
134
135
|
}, 8, ["loading", "selection", "headers", "data"]),
|
|
135
|
-
f(
|
|
136
|
-
visible:
|
|
137
|
-
"onUpdate:visible":
|
|
136
|
+
f(s(L), {
|
|
137
|
+
visible: s(n).showConfigBtnDialog,
|
|
138
|
+
"onUpdate:visible": o[1] || (o[1] = (e) => s(n).showConfigBtnDialog = e),
|
|
138
139
|
title: "配置按钮",
|
|
139
|
-
data:
|
|
140
|
+
data: s(n).dialogData,
|
|
140
141
|
onRefresh: S
|
|
141
142
|
}, null, 8, ["visible", "data"])
|
|
142
143
|
]),
|
|
@@ -144,7 +145,7 @@ const $ = (d) => (j("data-v-709fc688"), d = d(), z(), d), G = /* @__PURE__ */ $(
|
|
|
144
145
|
});
|
|
145
146
|
};
|
|
146
147
|
}
|
|
147
|
-
},
|
|
148
|
+
}, ae = /* @__PURE__ */ E(J, [["__scopeId", "data-v-2943c543"]]);
|
|
148
149
|
export {
|
|
149
|
-
|
|
150
|
+
ae as default
|
|
150
151
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
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
2
|
import { a as J } from "./enum-ab7125f9.js";
|
|
3
|
-
import { _ as M } from "./index-
|
|
3
|
+
import { _ as M } from "./index-d0c3be37.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import "element-plus";
|
|
6
|
+
import "monaco-editor";
|
|
6
7
|
const Q = (u) => (Y("data-v-9d3ab8fb"), u = u(), G(), u), X = { class: "card-header" }, Z = /* @__PURE__ */ Q(() => /* @__PURE__ */ C("div", { class: "card-header-title" }, "字段配置", -1)), ee = {
|
|
7
8
|
__name: "configFileds",
|
|
8
9
|
props: {
|
|
@@ -10,7 +11,7 @@ const Q = (u) => (Y("data-v-9d3ab8fb"), u = u(), G(), u), X = { class: "card-hea
|
|
|
10
11
|
},
|
|
11
12
|
emits: ["update:modelValue"],
|
|
12
13
|
setup(u, { emit: v }) {
|
|
13
|
-
const F = I(() => import("./dialogAddField-
|
|
14
|
+
const F = I(() => import("./dialogAddField-f474439d.js")), b = v, g = u, V = H("configData")();
|
|
14
15
|
let l = U((() => ({
|
|
15
16
|
tableLoading: !1,
|
|
16
17
|
showAddFieldDialog: !1,
|
|
@@ -191,7 +192,7 @@ const Q = (u) => (Y("data-v-9d3ab8fb"), u = u(), G(), u), X = { class: "card-hea
|
|
|
191
192
|
});
|
|
192
193
|
};
|
|
193
194
|
}
|
|
194
|
-
},
|
|
195
|
+
}, de = /* @__PURE__ */ M(ee, [["__scopeId", "data-v-9d3ab8fb"]]);
|
|
195
196
|
export {
|
|
196
|
-
|
|
197
|
+
de as default
|
|
197
198
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { inject as z, ref as T, watch as
|
|
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
2
|
import { S as I } from "./enum-ab7125f9.js";
|
|
3
|
-
import { _ as M } from "./index-
|
|
3
|
+
import { _ as M } from "./index-d0c3be37.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import "element-plus";
|
|
6
|
+
import "monaco-editor";
|
|
6
7
|
const A = {
|
|
7
8
|
__name: "configTable",
|
|
8
9
|
props: {
|
|
9
10
|
modelValue: { type: Object, default: () => ({}) }
|
|
10
11
|
},
|
|
11
12
|
emits: ["update:modelValue"],
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
13
|
+
setup(F, { expose: Q, emit: D }) {
|
|
14
|
+
const v = F, N = () => ({
|
|
14
15
|
dataUrl: void 0,
|
|
15
16
|
defaultParams: [],
|
|
16
17
|
isCheckRow: !1,
|
|
@@ -25,13 +26,13 @@ const A = {
|
|
|
25
26
|
tableQueryRowWidth: 5
|
|
26
27
|
}), O = z("conditionList")();
|
|
27
28
|
let h = T(null), a = T(N());
|
|
28
|
-
|
|
29
|
-
() =>
|
|
30
|
-
(
|
|
31
|
-
if (
|
|
32
|
-
|
|
33
|
-
if (!p.dataUrl)
|
|
29
|
+
j(
|
|
30
|
+
() => v.modelValue,
|
|
31
|
+
(m, o) => {
|
|
32
|
+
if (m) {
|
|
33
|
+
if (!Object.keys(m).length)
|
|
34
34
|
return;
|
|
35
|
+
const p = { ...m, defaultParams: [...m.defaultParams || []] };
|
|
35
36
|
Object.keys(a.value).forEach((d) => {
|
|
36
37
|
["defaultParams"].includes(d) ? a.value[d] = [...p[d] || []] : a.value[d] = p[d];
|
|
37
38
|
});
|
|
@@ -41,14 +42,14 @@ const A = {
|
|
|
41
42
|
);
|
|
42
43
|
const W = () => {
|
|
43
44
|
a.value.defaultParams.push({ submitFieldName: "", defaultValue: "", matchValue: "", submitFieldType: "" });
|
|
44
|
-
}, q = (
|
|
45
|
-
a.value.defaultParams.splice(
|
|
46
|
-
}, P = (
|
|
47
|
-
|
|
45
|
+
}, q = (m) => {
|
|
46
|
+
a.value.defaultParams.splice(m, 1);
|
|
47
|
+
}, P = (m) => {
|
|
48
|
+
m || (a.value.pageSize = 10);
|
|
48
49
|
};
|
|
49
|
-
return
|
|
50
|
-
const p = i("el-input"), d = i("el-form-item"), n = i("el-col"), c = i("el-row"),
|
|
51
|
-
return
|
|
50
|
+
return Q({ formRef: h, form: a }), (m, o) => {
|
|
51
|
+
const p = i("el-input"), d = i("el-form-item"), n = i("el-col"), c = i("el-row"), k = i("el-button"), C = i("el-divider"), S = i("el-option"), R = i("el-select"), f = i("el-switch"), V = i("el-input-number"), E = i("el-form"), L = i("el-card");
|
|
52
|
+
return s(), b(L, {
|
|
52
53
|
class: "form-card",
|
|
53
54
|
shadow: "hover",
|
|
54
55
|
header: "表格配置"
|
|
@@ -87,10 +88,10 @@ const A = {
|
|
|
87
88
|
]),
|
|
88
89
|
_: 1
|
|
89
90
|
}),
|
|
90
|
-
e(
|
|
91
|
+
e(C, { "content-position": "left" }, {
|
|
91
92
|
default: l(() => [
|
|
92
|
-
|
|
93
|
-
e(
|
|
93
|
+
B(" 表格默认参数配置 "),
|
|
94
|
+
e(k, {
|
|
94
95
|
class: "add-icon-btn",
|
|
95
96
|
type: "primary",
|
|
96
97
|
icon: "Plus",
|
|
@@ -100,7 +101,7 @@ const A = {
|
|
|
100
101
|
]),
|
|
101
102
|
_: 1
|
|
102
103
|
}),
|
|
103
|
-
(
|
|
104
|
+
(s(!0), y(U, null, w(u(a).defaultParams, (t, _) => (s(), b(c, {
|
|
104
105
|
class: "table-post-params",
|
|
105
106
|
key: _
|
|
106
107
|
}, {
|
|
@@ -141,7 +142,7 @@ const A = {
|
|
|
141
142
|
clearable: ""
|
|
142
143
|
}, {
|
|
143
144
|
default: l(() => [
|
|
144
|
-
(
|
|
145
|
+
(s(!0), y(U, null, w(u(O), (r, g) => (s(), b(S, {
|
|
145
146
|
key: g,
|
|
146
147
|
label: r.key,
|
|
147
148
|
value: r.value
|
|
@@ -191,7 +192,7 @@ const A = {
|
|
|
191
192
|
clearable: ""
|
|
192
193
|
}, {
|
|
193
194
|
default: l(() => [
|
|
194
|
-
(
|
|
195
|
+
(s(!0), y(U, null, w(u(I), (r, g) => (s(), b(S, {
|
|
195
196
|
key: g,
|
|
196
197
|
label: r.key,
|
|
197
198
|
value: r.value
|
|
@@ -205,13 +206,13 @@ const A = {
|
|
|
205
206
|
]),
|
|
206
207
|
_: 2
|
|
207
208
|
}, 1024),
|
|
208
|
-
e(
|
|
209
|
+
e(C, { "content-position": "left" }),
|
|
209
210
|
e(n, {
|
|
210
211
|
class: "submit-operate",
|
|
211
212
|
span: 2
|
|
212
213
|
}, {
|
|
213
214
|
default: l(() => [
|
|
214
|
-
e(
|
|
215
|
+
e(k, {
|
|
215
216
|
class: "match-opreate",
|
|
216
217
|
type: "danger",
|
|
217
218
|
icon: "Minus",
|
|
@@ -317,7 +318,7 @@ const A = {
|
|
|
317
318
|
}),
|
|
318
319
|
e(c, null, {
|
|
319
320
|
default: l(() => [
|
|
320
|
-
u(a).isOperateRow ? (
|
|
321
|
+
u(a).isOperateRow ? (s(), b(n, {
|
|
321
322
|
key: 0,
|
|
322
323
|
span: 12
|
|
323
324
|
}, {
|
|
@@ -337,8 +338,8 @@ const A = {
|
|
|
337
338
|
})
|
|
338
339
|
]),
|
|
339
340
|
_: 1
|
|
340
|
-
})) :
|
|
341
|
-
u(a).isPagination ? (
|
|
341
|
+
})) : x("", !0),
|
|
342
|
+
u(a).isPagination ? (s(), b(n, {
|
|
342
343
|
key: 1,
|
|
343
344
|
span: 12
|
|
344
345
|
}, {
|
|
@@ -360,7 +361,7 @@ const A = {
|
|
|
360
361
|
})
|
|
361
362
|
]),
|
|
362
363
|
_: 1
|
|
363
|
-
})) :
|
|
364
|
+
})) : x("", !0),
|
|
364
365
|
e(n, { span: 12 }, {
|
|
365
366
|
default: l(() => [
|
|
366
367
|
e(d, {
|
|
@@ -408,7 +409,7 @@ const A = {
|
|
|
408
409
|
});
|
|
409
410
|
};
|
|
410
411
|
}
|
|
411
|
-
},
|
|
412
|
+
}, X = /* @__PURE__ */ M(A, [["__scopeId", "data-v-2dd3967b"]]);
|
|
412
413
|
export {
|
|
413
|
-
|
|
414
|
+
X as default
|
|
414
415
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineAsyncComponent as de, inject as E, reactive as se, ref as x, watch as ie, resolveComponent as g, openBlock as r, createBlock as m, withCtx as a, createElementVNode as A, createVNode as l, unref as o, createTextVNode as S, createElementBlock as c, Fragment as _, renderList as C, createCommentVNode as y, toDisplayString as me } from "vue";
|
|
2
2
|
import { a as pe, j as fe, P as be, k as H, T as ce, A as _e, C as ge, U as Ce } from "./enum-ab7125f9.js";
|
|
3
|
-
import { _ as Ve } from "./index-
|
|
3
|
+
import { _ as Ve } from "./index-d0c3be37.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import "element-plus";
|
|
6
|
+
import "monaco-editor";
|
|
6
7
|
const ye = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
7
8
|
__name: "dialogAddField",
|
|
8
9
|
props: {
|
|
@@ -12,7 +13,7 @@ const ye = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
12
13
|
},
|
|
13
14
|
emits: ["update:visible", "refresh"],
|
|
14
15
|
setup(L, { emit: K }) {
|
|
15
|
-
const W = de(() => import("./dialogSiteComponentsParams-
|
|
16
|
+
const W = de(() => import("./dialogSiteComponentsParams-e2c5b8dd.js")), D = K, F = L, $ = E("configData")();
|
|
16
17
|
let U = se((() => ({
|
|
17
18
|
btnLoading: !1,
|
|
18
19
|
showSiteComponentsParamsDialog: !1
|
|
@@ -910,7 +911,7 @@ const ye = { slot: "prepend" }, Te = { class: "dialog-footer" }, Se = {
|
|
|
910
911
|
}, 8, ["model-value", "title"]);
|
|
911
912
|
};
|
|
912
913
|
}
|
|
913
|
-
},
|
|
914
|
+
}, he = /* @__PURE__ */ Ve(Se, [["__scopeId", "data-v-987b559b"]]);
|
|
914
915
|
export {
|
|
915
|
-
|
|
916
|
+
he as default
|
|
916
917
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineAsyncComponent as O, computed as ae, reactive as te, inject as q, ref as N, watch as oe, resolveComponent as y, openBlock as d, createBlock as m, withCtx as l, createElementVNode as ue, createVNode as e, unref as o, createTextVNode as U, toDisplayString as x, createCommentVNode as C, createElementBlock as b, Fragment as f, renderList as _ } from "vue";
|
|
2
2
|
import { B as ne, b as de, c as re, d as se, e as ie, f as me, g as pe, h as ce, i as be } from "./enum-ab7125f9.js";
|
|
3
|
-
import { _ as fe, f as _e } from "./index-
|
|
3
|
+
import { _ as fe, f as _e } from "./index-d0c3be37.js";
|
|
4
4
|
import { useRoute as ge } from "vue-router";
|
|
5
5
|
import "element-plus";
|
|
6
|
+
import "monaco-editor";
|
|
6
7
|
const Ve = { class: "dialog-footer" }, ye = {
|
|
7
8
|
__name: "dialogConfigBtn",
|
|
8
9
|
props: {
|
|
@@ -12,7 +13,7 @@ const Ve = { class: "dialog-footer" }, ye = {
|
|
|
12
13
|
},
|
|
13
14
|
emits: ["update:visible", "refresh"],
|
|
14
15
|
setup(A, { emit: P }) {
|
|
15
|
-
const E = O(() => import("./index-
|
|
16
|
+
const E = O(() => import("./index-3e20553c.js")), D = O(() => import("./index-d0c3be37.js").then((p) => p.k)), W = ge(), I = P, T = A, R = ae(() => W.params.key);
|
|
16
17
|
let k = te((() => ({
|
|
17
18
|
btnLoading: !1
|
|
18
19
|
}))());
|
|
@@ -800,7 +801,7 @@ const Ve = { class: "dialog-footer" }, ye = {
|
|
|
800
801
|
}, 8, ["model-value", "title"]);
|
|
801
802
|
};
|
|
802
803
|
}
|
|
803
|
-
},
|
|
804
|
+
}, Ne = /* @__PURE__ */ fe(ye, [["__scopeId", "data-v-26dcca01"]]);
|
|
804
805
|
export {
|
|
805
|
-
|
|
806
|
+
Ne as default
|
|
806
807
|
};
|
package/lib/{dialogSiteComponentsParams-a99a4d71.js → dialogSiteComponentsParams-e2c5b8dd.js}
RENAMED
|
@@ -8,7 +8,7 @@ const S = { class: "dialog-footer" }, N = {
|
|
|
8
8
|
},
|
|
9
9
|
emits: ["update:visible", "refresh", "update:modelValue"],
|
|
10
10
|
setup(m, { emit: f }) {
|
|
11
|
-
const v = g(() => import("./index-
|
|
11
|
+
const v = g(() => import("./index-d0c3be37.js").then((t) => t.k)), n = f, o = m;
|
|
12
12
|
let e = y();
|
|
13
13
|
C(
|
|
14
14
|
() => o.visible,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { defineAsyncComponent as W, ref as v, watch as K, resolveComponent as d, unref as o, openBlock as a, createElementBlock as h, createVNode as j, normalizeStyle as G, withCtx as m, Fragment as C, renderList as g, withDirectives as J, createBlock as n, mergeProps as y, withKeys as U, withModifiers as x, createCommentVNode as _, vShow as X, createTextVNode as N, toDisplayString as P } from "vue";
|
|
2
|
-
import { _ as Z, u as ee, P as le, a as te } from "./index-
|
|
2
|
+
import { _ as Z, u as ee, P as le, a as te } from "./index-d0c3be37.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
|
+
import "monaco-editor";
|
|
5
6
|
const oe = {
|
|
6
7
|
key: 0,
|
|
7
8
|
class: "search-module-container"
|
|
@@ -13,8 +14,8 @@ const oe = {
|
|
|
13
14
|
emits: ["reset", "search"],
|
|
14
15
|
setup(E, { emit: I }) {
|
|
15
16
|
const M = W(() => import("./index-e2f2023d.js")), { t: u } = ee(), k = I, c = E;
|
|
16
|
-
let p = v([]), q = v([]),
|
|
17
|
-
const Q = (r) => c.data.tableConfig.isExpandQuery &&
|
|
17
|
+
let p = v([]), q = v([]), V = v(!0);
|
|
18
|
+
const Q = (r) => c.data.tableConfig.isExpandQuery && V.value ? c.data.tableConfig.tableQueryRowWidth > r + 1 : !0, i = (r) => new Function("", r.fieldUiProps)() || {}, D = (r) => {
|
|
18
19
|
p.value = (r || []).filter((t) => t.useScenes.includes("tableSearch"));
|
|
19
20
|
}, R = (r) => {
|
|
20
21
|
const t = (r || []).filter((s) => s.permissionCode === 1001);
|
|
@@ -40,7 +41,7 @@ const oe = {
|
|
|
40
41
|
break;
|
|
41
42
|
}
|
|
42
43
|
}, Y = () => {
|
|
43
|
-
|
|
44
|
+
V.value = !V.value;
|
|
44
45
|
};
|
|
45
46
|
return (r, t) => {
|
|
46
47
|
var S;
|
|
@@ -54,8 +55,8 @@ const oe = {
|
|
|
54
55
|
"label-position": "right"
|
|
55
56
|
}, {
|
|
56
57
|
default: m(() => [
|
|
57
|
-
(a(!0), h(C, null, g(o(p), (e,
|
|
58
|
-
key:
|
|
58
|
+
(a(!0), h(C, null, g(o(p), (e, b) => J((a(), n(T, {
|
|
59
|
+
key: b,
|
|
59
60
|
class: "search-form-item",
|
|
60
61
|
"label-width": c.data.tableConfig.tableQueryLabelWidth,
|
|
61
62
|
label: e.fieldName
|
|
@@ -151,7 +152,7 @@ const oe = {
|
|
|
151
152
|
]),
|
|
152
153
|
_: 2
|
|
153
154
|
}, 1032, ["label-width", "label"])), [
|
|
154
|
-
[X, Q(
|
|
155
|
+
[X, Q(b)]
|
|
155
156
|
])), 128)),
|
|
156
157
|
o(p).length ? (a(), n(T, {
|
|
157
158
|
key: 0,
|
|
@@ -159,8 +160,8 @@ const oe = {
|
|
|
159
160
|
"label-width": "0"
|
|
160
161
|
}, {
|
|
161
162
|
default: m(() => [
|
|
162
|
-
(a(!0), h(C, null, g(o(q), (e,
|
|
163
|
-
key:
|
|
163
|
+
(a(!0), h(C, null, g(o(q), (e, b) => (a(), n($, {
|
|
164
|
+
key: b,
|
|
164
165
|
type: e.btnColor,
|
|
165
166
|
onClick: (l) => f(e)
|
|
166
167
|
}, {
|
|
@@ -173,7 +174,7 @@ const oe = {
|
|
|
173
174
|
height: "12",
|
|
174
175
|
color: "#fff"
|
|
175
176
|
}, null, 8, ["name"])) : _("", !0),
|
|
176
|
-
N(" " + P(e.btnName)
|
|
177
|
+
N(" " + P(e.btnName), 1)
|
|
177
178
|
]),
|
|
178
179
|
_: 2
|
|
179
180
|
}, 1032, ["type", "onClick"]))), 128))
|
|
@@ -188,18 +189,18 @@ const oe = {
|
|
|
188
189
|
class: "expand",
|
|
189
190
|
text: "",
|
|
190
191
|
size: "small",
|
|
191
|
-
icon: o(
|
|
192
|
+
icon: o(V) ? "ArrowDown" : "ArrowUp",
|
|
192
193
|
onClick: Y
|
|
193
194
|
}, {
|
|
194
195
|
default: m(() => [
|
|
195
|
-
N(P(o(
|
|
196
|
+
N(P(o(V) ? "展开" : "收起"), 1)
|
|
196
197
|
]),
|
|
197
198
|
_: 1
|
|
198
199
|
}, 8, ["icon"])) : _("", !0)
|
|
199
200
|
])) : _("", !0);
|
|
200
201
|
};
|
|
201
202
|
}
|
|
202
|
-
},
|
|
203
|
+
}, pe = /* @__PURE__ */ Z(ae, [["__scopeId", "data-v-851e4602"]]);
|
|
203
204
|
export {
|
|
204
|
-
|
|
205
|
+
pe as default
|
|
205
206
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ref as h, watch as I, resolveComponent as _, openBlock as
|
|
2
|
-
import { _ as z } from "./index-
|
|
1
|
+
import { ref as h, watch as I, resolveComponent as _, openBlock as i, createElementBlock as d, createVNode as u, unref as p, isRef as b, withCtx as m, createElementVNode as g, createBlock as w, createCommentVNode as C, createTextVNode as N, Fragment as B, renderList as E, normalizeClass as S } from "vue";
|
|
2
|
+
import { _ as z } from "./index-d0c3be37.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
|
+
import "monaco-editor";
|
|
5
6
|
const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["onClick"], P = {
|
|
6
7
|
class: "icon-value",
|
|
7
8
|
slot: "reference"
|
|
@@ -23,7 +24,7 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
23
24
|
e.value = -1, v("update:modelValue", "");
|
|
24
25
|
return;
|
|
25
26
|
}
|
|
26
|
-
const s = c.icons.findIndex((
|
|
27
|
+
const s = c.icons.findIndex((a) => a === l);
|
|
27
28
|
e.value = s;
|
|
28
29
|
},
|
|
29
30
|
{ deep: !0, immediate: !0 }
|
|
@@ -32,8 +33,8 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
32
33
|
e.value = o, v("update:modelValue", f()), t.value = !1;
|
|
33
34
|
};
|
|
34
35
|
return (l, o) => {
|
|
35
|
-
const s = _("a-svg-icon"),
|
|
36
|
-
return
|
|
36
|
+
const s = _("a-svg-icon"), a = _("el-button"), V = _("el-popover");
|
|
37
|
+
return i(), d("div", A, [
|
|
37
38
|
u(V, {
|
|
38
39
|
"popper-class": "select-icon-popover",
|
|
39
40
|
placement: "bottom-start",
|
|
@@ -44,14 +45,14 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
44
45
|
}, {
|
|
45
46
|
reference: m(() => [
|
|
46
47
|
g("div", P, [
|
|
47
|
-
p(e) >= 0 ? (
|
|
48
|
+
p(e) >= 0 ? (i(), w(s, {
|
|
48
49
|
key: 0,
|
|
49
50
|
name: f(),
|
|
50
51
|
width: "24",
|
|
51
52
|
height: "24",
|
|
52
53
|
color: "#000"
|
|
53
54
|
}, null, 8, ["name"])) : C("", !0),
|
|
54
|
-
u(
|
|
55
|
+
u(a, {
|
|
55
56
|
class: "icon-btn",
|
|
56
57
|
type: "primary"
|
|
57
58
|
}, {
|
|
@@ -64,7 +65,7 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
64
65
|
]),
|
|
65
66
|
default: m(() => [
|
|
66
67
|
g("ul", F, [
|
|
67
|
-
(
|
|
68
|
+
(i(!0), d(B, null, E(c.icons, (n, r) => (i(), d("li", {
|
|
68
69
|
class: S(["icon-item", { "icon-item-checked": p(e) == r }]),
|
|
69
70
|
key: r,
|
|
70
71
|
onClick: (T) => k(n, r)
|
|
@@ -84,7 +85,7 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
84
85
|
]);
|
|
85
86
|
};
|
|
86
87
|
}
|
|
87
|
-
},
|
|
88
|
+
}, H = /* @__PURE__ */ z(R, [["__scopeId", "data-v-eac43c79"]]);
|
|
88
89
|
export {
|
|
89
|
-
|
|
90
|
+
H as default
|
|
90
91
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { reactive as m, watch as v, resolveComponent as s, openBlock as b, createBlock as g, withCtx as o, createElementVNode as i, createVNode as x, createTextVNode as y, toDisplayString as h, unref as C } from "vue";
|
|
2
|
-
import { _ as k, u as V } from "./index-
|
|
2
|
+
import { _ as k, u as V } from "./index-d0c3be37.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
|
+
import "monaco-editor";
|
|
5
6
|
const w = ["innerHTML"], B = { class: "dialog-footer" }, D = {
|
|
6
7
|
__name: "index",
|
|
7
8
|
props: {
|
|
@@ -57,7 +58,7 @@ const w = ["innerHTML"], B = { class: "dialog-footer" }, D = {
|
|
|
57
58
|
}, 8, ["model-value", "title"]);
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
|
-
},
|
|
61
|
+
}, S = /* @__PURE__ */ k(D, [["__scopeId", "data-v-a8dbe98a"]]);
|
|
61
62
|
export {
|
|
62
|
-
|
|
63
|
+
S as default
|
|
63
64
|
};
|