act-plus 1.1.23 → 1.1.25
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 +87 -1733
- package/lib/configBtns-63d416ef.js +152 -0
- package/lib/{configFileds-4633be91.js → configFileds-105ca288.js} +13 -11
- package/lib/{configTable-160a99e8.js → configTable-5bf09aac.js} +33 -31
- package/lib/{dialogAddField-a8db1c57.js → dialogAddField-bb493c88.js} +6 -4
- package/lib/{dialogConfigBtn-e5c41ad9.js → dialogConfigBtn-1fcd1496.js} +57 -55
- package/lib/{dialogSiteComponentsParams-05a400cc.js → dialogSiteComponentsParams-708737d2.js} +1 -1
- package/lib/{index-28cfa770.js → index-6b7ddc83.js} +74 -65
- package/lib/{index-44e2732a.js → index-740fe217.js} +10 -8
- package/lib/{index-7a1700c3.js → index-9071c381.js} +12 -10
- package/lib/{index-421ea84f.js → index-9bd009b2.js} +32 -30
- package/lib/index-ba8fa827.js +61597 -0
- package/lib/{index-cceb15dd.js → index-f8e81c41.js} +126 -148
- package/package.json +2 -6
- 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/configBtns-c51c642b.js +0 -150
- 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-55e3e2b9.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-86429a9d.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-dcad112f.js +0 -394
- package/lib/hcl-56b85754.js +0 -177
- package/lib/html-95cf87e3.js +0 -284
- package/lib/htmlMode-93d4ea14.js +0 -1458
- package/lib/index-22ab90dc.js +0 -162522
- package/lib/index-e2f2023d.js +0 -35
- package/lib/ini-1d58d82f.js +0 -68
- package/lib/java-cd017f60.js +0 -221
- package/lib/javascript-55252557.js +0 -78
- package/lib/jsonMode-b73c28d1.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-c923578c.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-319c4cbb.js +0 -262
- package/lib/qsharp-4792f872.js +0 -282
- package/lib/r-630f5d6b.js +0 -245
- package/lib/razor-9a8bae51.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-7111578e.js +0 -792
- package/lib/twig-404eb73e.js +0 -323
- package/lib/typescript-0c5e909b.js +0 -330
- package/lib/vb-e21e8153.js +0 -364
- package/lib/xml-acd745c7.js +0 -98
- package/lib/yaml-c114fa81.js +0 -187
|
@@ -1,7 +1,9 @@
|
|
|
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-ba8fa827.js";
|
|
3
3
|
import "vue-router";
|
|
4
|
+
import "js-base64";
|
|
4
5
|
import "element-plus";
|
|
6
|
+
import "monaco-editor";
|
|
5
7
|
const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["onClick"], P = {
|
|
6
8
|
class: "icon-value",
|
|
7
9
|
slot: "reference"
|
|
@@ -23,7 +25,7 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
23
25
|
e.value = -1, v("update:modelValue", "");
|
|
24
26
|
return;
|
|
25
27
|
}
|
|
26
|
-
const s = c.icons.findIndex((
|
|
28
|
+
const s = c.icons.findIndex((a) => a === l);
|
|
27
29
|
e.value = s;
|
|
28
30
|
},
|
|
29
31
|
{ deep: !0, immediate: !0 }
|
|
@@ -32,8 +34,8 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
32
34
|
e.value = o, v("update:modelValue", f()), t.value = !1;
|
|
33
35
|
};
|
|
34
36
|
return (l, o) => {
|
|
35
|
-
const s = _("a-svg-icon"),
|
|
36
|
-
return
|
|
37
|
+
const s = _("a-svg-icon"), a = _("el-button"), V = _("el-popover");
|
|
38
|
+
return i(), d("div", A, [
|
|
37
39
|
u(V, {
|
|
38
40
|
"popper-class": "select-icon-popover",
|
|
39
41
|
placement: "bottom-start",
|
|
@@ -44,14 +46,14 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
44
46
|
}, {
|
|
45
47
|
reference: m(() => [
|
|
46
48
|
g("div", P, [
|
|
47
|
-
p(e) >= 0 ? (
|
|
49
|
+
p(e) >= 0 ? (i(), w(s, {
|
|
48
50
|
key: 0,
|
|
49
51
|
name: f(),
|
|
50
52
|
width: "24",
|
|
51
53
|
height: "24",
|
|
52
54
|
color: "#000"
|
|
53
55
|
}, null, 8, ["name"])) : C("", !0),
|
|
54
|
-
u(
|
|
56
|
+
u(a, {
|
|
55
57
|
class: "icon-btn",
|
|
56
58
|
type: "primary"
|
|
57
59
|
}, {
|
|
@@ -64,7 +66,7 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
64
66
|
]),
|
|
65
67
|
default: m(() => [
|
|
66
68
|
g("ul", F, [
|
|
67
|
-
(
|
|
69
|
+
(i(!0), d(B, null, E(c.icons, (n, r) => (i(), d("li", {
|
|
68
70
|
class: S(["icon-item", { "icon-item-checked": p(e) == r }]),
|
|
69
71
|
key: r,
|
|
70
72
|
onClick: (T) => k(n, r)
|
|
@@ -84,7 +86,7 @@ const A = { class: "select-icon-container" }, F = { class: "icon-list" }, L = ["
|
|
|
84
86
|
]);
|
|
85
87
|
};
|
|
86
88
|
}
|
|
87
|
-
},
|
|
89
|
+
}, J = /* @__PURE__ */ z(R, [["__scopeId", "data-v-3437a309"]]);
|
|
88
90
|
export {
|
|
89
|
-
|
|
91
|
+
J as default
|
|
90
92
|
};
|
|
@@ -1,57 +1,59 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { _ as H, u as M } from "./index-
|
|
1
|
+
import { ref as R, inject as l, watch as j, resolveComponent as C, openBlock as s, createElementBlock as f, Fragment as y, renderList as q, unref as c, createBlock as i, resolveDynamicComponent as O, withCtx as _, createVNode as E, createCommentVNode as u, createTextVNode as B, toDisplayString as k } from "vue";
|
|
2
|
+
import { _ as H, u as M } from "./index-ba8fa827.js";
|
|
3
3
|
import "vue-router";
|
|
4
|
+
import "js-base64";
|
|
4
5
|
import "element-plus";
|
|
6
|
+
import "monaco-editor";
|
|
5
7
|
const z = { class: "header-operate-container" }, G = {
|
|
6
8
|
__name: "index",
|
|
7
9
|
props: {
|
|
8
10
|
data: { type: Object, default: () => ({}) }
|
|
9
11
|
},
|
|
10
12
|
emits: ["operate"],
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
let b =
|
|
14
|
-
const
|
|
13
|
+
setup(N, { emit: w }) {
|
|
14
|
+
const x = w, T = N, { t: V } = M();
|
|
15
|
+
let b = R([]);
|
|
16
|
+
const F = l("globalProps"), $ = l("menuPermissionBtns"), D = l("stringToBoolean"), S = l("matchCondition"), P = l("getTableData"), v = l("tableBtnRefs"), A = (o) => {
|
|
15
17
|
if (!o.matchFields.length)
|
|
16
18
|
return !0;
|
|
17
|
-
const
|
|
18
|
-
let e =
|
|
19
|
-
const
|
|
20
|
-
return
|
|
21
|
-
}, "").split("||"), p = e.reduce((
|
|
19
|
+
const t = o.matchFields.filter((n) => n.matchType != "default"), a = (n) => F.matchData[n.matchType][n.matchFieldName];
|
|
20
|
+
let e = t.reduce((n, r, m) => {
|
|
21
|
+
const L = a(r);
|
|
22
|
+
return n += S(r.matchCondition, L, r.fieldValue == "" ? null : r.fieldValue == "true" ? D(r.fieldValue) : r.fieldValue), m !== t.length - 1 && (n += r.spliceCondition || "&&"), n;
|
|
23
|
+
}, "").split("||"), p = e.reduce((n, r, m) => (n += `(${r})`, m < e.length - 1 && (n += "||"), n), "");
|
|
22
24
|
return new Function(`return ${p}`)();
|
|
23
|
-
}, h = (o) =>
|
|
24
|
-
b.value = (o || []).filter((
|
|
25
|
+
}, h = (o) => $.value.some((t) => t.unique == o.permissionCode) && A(o), I = (o) => {
|
|
26
|
+
b.value = (o || []).filter((t) => t.permissionCode !== 1001 && t.btnPostion.includes("header")).map((t) => (t.btnAlias && (t.btnName = t.btnAlias), t)).sort((t, a) => t.sort - a.sort);
|
|
25
27
|
};
|
|
26
|
-
|
|
28
|
+
j(
|
|
27
29
|
() => T.data,
|
|
28
|
-
(o,
|
|
29
|
-
|
|
30
|
+
(o, t) => {
|
|
31
|
+
I(o.buttons);
|
|
30
32
|
},
|
|
31
33
|
{ immediate: !0 }
|
|
32
34
|
);
|
|
33
35
|
const g = (o) => {
|
|
34
|
-
|
|
36
|
+
x("operate", o, {});
|
|
35
37
|
};
|
|
36
|
-
return (o,
|
|
38
|
+
return (o, t) => {
|
|
37
39
|
const a = C("a-svg-icon"), d = C("el-button");
|
|
38
|
-
return
|
|
39
|
-
(
|
|
40
|
-
e.isCustomBtn && e.customType == "component" && h(e) ? (
|
|
40
|
+
return s(), f("div", z, [
|
|
41
|
+
(s(!0), f(y, null, q(c(b), (e, p) => (s(), f(y, { key: p }, [
|
|
42
|
+
e.isCustomBtn && e.customType == "component" && h(e) ? (s(), i(O(e[e.customComponentName]), {
|
|
41
43
|
key: 0,
|
|
42
44
|
ref_for: !0,
|
|
43
|
-
ref: (
|
|
45
|
+
ref: (n) => c(v)[`${e.customComponentName}-${e.permissionCode}`] = n,
|
|
44
46
|
buttonData: e,
|
|
45
|
-
onRefresh:
|
|
47
|
+
onRefresh: t[0] || (t[0] = (n) => c(P)())
|
|
46
48
|
}, {
|
|
47
49
|
default: _(() => [
|
|
48
50
|
E(d, {
|
|
49
51
|
class: "el-btn",
|
|
50
52
|
type: e.btnColor,
|
|
51
|
-
onClick: (
|
|
53
|
+
onClick: (n) => g(e)
|
|
52
54
|
}, {
|
|
53
55
|
default: _(() => [
|
|
54
|
-
e.btnIcon ? (
|
|
56
|
+
e.btnIcon ? (s(), i(a, {
|
|
55
57
|
key: 0,
|
|
56
58
|
class: "mr4",
|
|
57
59
|
name: e.btnIcon,
|
|
@@ -66,15 +68,15 @@ const z = { class: "header-operate-container" }, G = {
|
|
|
66
68
|
]),
|
|
67
69
|
_: 2
|
|
68
70
|
}, 1064, ["buttonData"])) : u("", !0),
|
|
69
|
-
!e.isCustomBtn && h(e) ? (
|
|
71
|
+
!e.isCustomBtn && h(e) ? (s(), i(d, {
|
|
70
72
|
key: 1,
|
|
71
73
|
class: "el-btn",
|
|
72
74
|
type: e.btnColor,
|
|
73
75
|
loading: e.opeateLoading,
|
|
74
|
-
onClick: (
|
|
76
|
+
onClick: (n) => g(e)
|
|
75
77
|
}, {
|
|
76
78
|
default: _(() => [
|
|
77
|
-
e.btnIcon ? (
|
|
79
|
+
e.btnIcon ? (s(), i(a, {
|
|
78
80
|
key: 0,
|
|
79
81
|
class: "mr4",
|
|
80
82
|
name: e.btnIcon,
|
|
@@ -90,7 +92,7 @@ const z = { class: "header-operate-container" }, G = {
|
|
|
90
92
|
]);
|
|
91
93
|
};
|
|
92
94
|
}
|
|
93
|
-
},
|
|
95
|
+
}, Y = /* @__PURE__ */ H(G, [["__scopeId", "data-v-00d47037"]]);
|
|
94
96
|
export {
|
|
95
|
-
|
|
97
|
+
Y as default
|
|
96
98
|
};
|