act-plus 1.1.41 → 1.1.43
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 +53 -53
- package/lib/{dialogAddField-3c740262.js → dialogAddField-cb29b0f1.js} +2 -2
- package/lib/{dialogConfigBtn-8bfd8dd7.js → dialogConfigBtn-0940f876.js} +2 -2
- package/lib/{dialogSiteComponentsParams-b6c8001c.js → dialogSiteComponentsParams-094ce600.js} +1 -1
- package/lib/{index-0c36aa40.js → index-5b657a7e.js} +28 -29
- package/lib/{index-4398f116.js → index-5d5f6688.js} +1 -1
- package/lib/{index-40115216.js → index-6818b5e9.js} +12042 -12042
- package/lib/{index-266b8842.js → index-71af858d.js} +105 -104
- package/lib/index-867cfc28.js +108 -0
- package/lib/{index-333a11e5.js → index-bd53c805.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-e9d31e0d.js +0 -107
package/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.form-card .el-card__header{font-size:16px;font-weight:700}.rotate180{transform:rotate(180deg)}.cp{cursor:pointer}.cp:hover{opacity:.8}.ml12{margin-left:12px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-table{font-size:14px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%;--el-card-padding: 12px}.el-card__body{height:100%;box-sizing:border-box}.el-date-editor{--el-date-editor-width: 100%}.a-loading[data-v-048c6c03]{display:flex;align-items:center;justify-content:center;width:100%;height:50px;font-size:32px}.a-loading .dot[data-v-048c6c03]{animation:antRotate-048c6c03 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;width:28px;height:28px;box-sizing:border-box}.a-loading .dot i[data-v-048c6c03]{width:12px;height:12px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove-048c6c03 1s infinite linear alternate}.a-loading .dot i[data-v-048c6c03]:nth-child(1){top:0;left:0}.a-loading .dot i[data-v-048c6c03]:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.a-loading .dot i[data-v-048c6c03]:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.a-loading .dot i[data-v-048c6c03]:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove-048c6c03{to{opacity:1}}@-webkit-keyframes antSpinMove-048c6c03{to{opacity:1}}[data-v-
|
|
1
|
+
@charset "UTF-8";.form-card .el-card__header{font-size:16px;font-weight:700}.rotate180{transform:rotate(180deg)}.cp{cursor:pointer}.cp:hover{opacity:.8}.ml12{margin-left:12px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mt24{margin-top:24px}.ml6{margin-left:6px!important}.ml4{margin-left:4px!important}.mr6{margin-right:6px}.mr2{margin-right:2px}.mr4{margin-right:4px}.el-table{font-size:14px}.el-select,.el-cascader,.el-form--inline .el-form-item{display:block;width:100%}.el-card{height:100%;--el-card-padding: 12px}.el-card__body{height:100%;box-sizing:border-box}.el-date-editor{--el-date-editor-width: 100%}.a-loading[data-v-048c6c03]{display:flex;align-items:center;justify-content:center;width:100%;height:50px;font-size:32px}.a-loading .dot[data-v-048c6c03]{animation:antRotate-048c6c03 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;width:28px;height:28px;box-sizing:border-box}.a-loading .dot i[data-v-048c6c03]{width:12px;height:12px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove-048c6c03 1s infinite linear alternate}.a-loading .dot i[data-v-048c6c03]:nth-child(1){top:0;left:0}.a-loading .dot i[data-v-048c6c03]:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.a-loading .dot i[data-v-048c6c03]:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.a-loading .dot i[data-v-048c6c03]:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate-048c6c03{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove-048c6c03{to{opacity:1}}@-webkit-keyframes antSpinMove-048c6c03{to{opacity:1}}[data-v-384cc84e] .el-empty__image{width:100%}.table-link[data-v-384cc84e]{cursor:pointer;color:#409eff;text-decoration:underline}.file-image[data-v-384cc84e]{display:block;width:32px;height:32px;margin:0 auto;border-radius:4px;line-height:32px!important}.no-image[data-v-384cc84e]{width:100%;height:100%;font-size:12px;background-color:#f5f7fa}.act-module[data-v-384cc84e]{padding:0;margin:0;border:none}.add-icon-btn[data-v-ada54450]{cursor:pointer;width:24px;height:24px;margin-left:6px}.table-post-params[data-v-ada54450]{position:relative;margin-bottom:12px}.table-post-params .submit-operate[data-v-ada54450]{position:absolute;top:-20px;right:-10px;display:flex;align-items:center}.table-post-params .submit-operate .match-opreate[data-v-ada54450]{cursor:pointer;width:12px;height:12px}.card-header[data-v-3e5e9347]{display:flex;align-items:center}.card-header -operate[data-v-3e5e9347]{margin-left:auto}.form-list[data-v-3e5e9347]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-3e5e9347]:last-child{border:none}.config-list-operate[data-v-3e5e9347]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-3440b427]{display:flex;align-items:center}.card-header-operate[data-v-3440b427]{margin-left:auto}.form-list[data-v-3440b427]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-3440b427]:last-child{border:none}.config-list-operate[data-v-3440b427]{display:flex;align-items:center;justify-content:flex-end}.submit-operate[data-v-c63f456e]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-c63f456e]{cursor:pointer;width:20px;height:20px}.page-container[data-v-4ec549a6]{position:relative}.page-container .header-operate[data-v-4ec549a6]{position:sticky;top:0;z-index:999}.page-container .submit-box[data-v-4ec549a6]{display:flex;align-items:center;justify-content:space-between}.page-container .submit-box-r[data-v-4ec549a6]{display:flex;align-items:center}.page-container .submit-box-r .menu-select[data-v-4ec549a6]{width:360px;margin:0 24px}.act-table .table-pagination[data-v-92f0fcb4]{padding:12px 4px;justify-content:flex-end}.tox-tinymce-aux{z-index:99999!important}.tinymce.ui.FloatPanel{z-index:99}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks):before{color:#a8abb2}.upload-container[data-v-f839bee6]{width:100%}.upload-container[data-v-f839bee6] .el-upload-list--picture-card{display:flex;flex:1}.upload-container[data-v-f839bee6] .el-upload.is-drag{width:100%;height:100%}.upload-container .tip-text[data-v-f839bee6]{margin:0;padding:0;font-size:12px;color:#999}.upload-container .file-list[data-v-f839bee6]{display:flex;align-items:center;justify-content:space-between;margin:6px 0;padding:6px 12px;font-size:14px;border-radius:4px;border:1px solid #dcdfe6}.upload-container .file-list[data-v-f839bee6]:hover{cursor:pointer;opacity:.8}.upload-container .file-list:hover .el-file-name[data-v-f839bee6]{text-decoration:underline}.upload-container .file-list-l[data-v-f839bee6]{display:flex;align-items:center;flex:1;width:500px}.upload-container .file-list-image[data-v-f839bee6]{flex-shrink:0;width:40px;height:40px;border-radius:4px}.upload-container .file-list-icon[data-v-f839bee6]{flex-shrink:0;width:40px;height:40px}.upload-container .file-list .el-file-name[data-v-f839bee6]{flex:1;padding:0 12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.upload-container .file-list .el-file-operate[data-v-f839bee6]{display:flex;justify-content:flex-end;flex-shrink:0;min-width:82px;margin-left:auto}.upload-container .file-list .el-file-operate>i[data-v-f839bee6]{cursor:pointer;margin-left:12px}.upload-container .file-list .el-file-operate>i[data-v-f839bee6]:hover{opacity:.8}.search-module-container[data-v-e748430f] .el-form-item{margin-bottom:8px}.search-module-container[data-v-e748430f] .el-select__selection{flex-wrap:nowrap}.search-module-container .form-content[data-v-e748430f]{display:grid;grid-template-columns:repeat(var(--table-query-row),1fr);gap:6px;padding:6px 6px 0}.search-module-container .form-content .search-form-btn[data-v-e748430f]{justify-self:end;align-self:start;grid-column-start:var(--table-query-row);grid-column-end:var(--table-query-row)}.search-module-container .expand[data-v-e748430f]{display:flex;margin:0 auto;color:#a4a2a2}.header-operate-container[data-v-7d9574aa]{display:flex;align-items:center;justify-content:flex-end}.header-operate-container .el-btn[data-v-7d9574aa]{margin:6px}.no-config[data-v-37b49f83]{line-height:32px;font-weight:700}.no-config-field[data-v-37b49f83]{color:red}.card-header[data-v-be1c5be6]{display:flex;align-items:center}.card-header-operate[data-v-be1c5be6]{margin-left:auto}.add-icon-btn[data-v-75eab9b4]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-75eab9b4]{display:flex;justify-content:center}.condition-box[data-v-75eab9b4] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-75eab9b4]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-75eab9b4]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-2aab2179]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-2aab2179]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-2aab2179]{cursor:pointer;width:20px;height:20px}.select-icon-popover .icon-list{display:grid;grid-template-columns:repeat(8,1fr)}.select-icon-popover .icon-list .icon-item{display:flex;align-items:center;justify-content:center;margin:4px 0;border:1px solid transparent}.select-icon-popover .icon-list .icon-item .icon-svg{cursor:pointer}.select-icon-popover .icon-list .icon-item-checked{border:1px solid #000}.select-icon-container .icon-value[data-v-308d02d4]{display:flex;align-items:center}.select-icon-container .icon-value .icon-btn[data-v-308d02d4]{margin-left:12px}
|
package/lib/index-e9d31e0d.js
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { ref as j, inject as l, watch as q, resolveComponent as C, resolveDirective as O, openBlock as s, createElementBlock as u, Fragment as f, renderList as E, unref as d, createBlock as i, resolveDynamicComponent as H, withCtx as _, withDirectives as k, createCommentVNode as b, createTextVNode as B, toDisplayString as w } from "vue";
|
|
2
|
-
import { _ as M, u as z } from "./index-40115216.js";
|
|
3
|
-
import "vue-router";
|
|
4
|
-
import "js-base64";
|
|
5
|
-
import "element-plus";
|
|
6
|
-
import "monaco-editor";
|
|
7
|
-
const G = { class: "header-operate-container" }, J = {
|
|
8
|
-
__name: "index",
|
|
9
|
-
props: {
|
|
10
|
-
data: { type: Object, default: () => ({}) }
|
|
11
|
-
},
|
|
12
|
-
emits: ["operate"],
|
|
13
|
-
setup(x, { emit: N }) {
|
|
14
|
-
const T = N, D = x, { t: V } = z();
|
|
15
|
-
let h = j([]);
|
|
16
|
-
const v = l("globalProps"), F = l("menuPermissionBtns"), $ = l("stringToBoolean"), S = l("matchCondition"), P = l("getTableData"), A = l("tableBtnRefs"), I = (r) => {
|
|
17
|
-
if (!r.matchFields.length)
|
|
18
|
-
return !0;
|
|
19
|
-
const t = r.matchFields.filter((o) => o.matchType != "default"), a = (o) => v.matchData[o.matchType][o.matchFieldName];
|
|
20
|
-
let c = t.reduce((o, n, m) => {
|
|
21
|
-
const R = a(n);
|
|
22
|
-
return o += S(
|
|
23
|
-
n.matchCondition,
|
|
24
|
-
R,
|
|
25
|
-
n.fieldValue == "" ? null : n.fieldValue == "true" || n.fieldValue == "false" ? $(n.fieldValue) : n.fieldValue
|
|
26
|
-
), m !== t.length - 1 && (o += n.spliceCondition || "&&"), o;
|
|
27
|
-
}, "").split("||"), e = c.reduce((o, n, m) => (o += `(${n})`, m < c.length - 1 && (o += "||"), o), "");
|
|
28
|
-
return new Function(`return ${e}`)();
|
|
29
|
-
}, g = (r) => F.value.some((t) => t.unique == r.permissionCode) && I(r), L = (r) => {
|
|
30
|
-
h.value = (r || []).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);
|
|
31
|
-
};
|
|
32
|
-
q(
|
|
33
|
-
() => D.data,
|
|
34
|
-
(r, t) => {
|
|
35
|
-
L(r.buttons);
|
|
36
|
-
},
|
|
37
|
-
{ immediate: !0 }
|
|
38
|
-
);
|
|
39
|
-
const y = (r) => {
|
|
40
|
-
T("operate", r, {});
|
|
41
|
-
};
|
|
42
|
-
return (r, t) => {
|
|
43
|
-
const a = C("a-svg-icon"), p = C("el-button"), c = O("debounce");
|
|
44
|
-
return s(), u("div", G, [
|
|
45
|
-
(s(!0), u(f, null, E(d(h), (e, o) => (s(), u(f, { key: o }, [
|
|
46
|
-
e.isCustomBtn && e.customType == "component" && g(e) ? (s(), i(H(e[e.customComponentName]), {
|
|
47
|
-
key: 0,
|
|
48
|
-
ref_for: !0,
|
|
49
|
-
ref: (n) => d(A)[`${e.customComponentName}-${e.permissionCode}`] = n,
|
|
50
|
-
buttonData: e,
|
|
51
|
-
onRefresh: t[0] || (t[0] = (n) => d(P)())
|
|
52
|
-
}, {
|
|
53
|
-
default: _(() => [
|
|
54
|
-
k((s(), i(p, {
|
|
55
|
-
class: "el-btn",
|
|
56
|
-
type: e.btnColor,
|
|
57
|
-
onClick: (n) => y(e)
|
|
58
|
-
}, {
|
|
59
|
-
default: _(() => [
|
|
60
|
-
e.btnIcon ? (s(), i(a, {
|
|
61
|
-
key: 0,
|
|
62
|
-
class: "mr4",
|
|
63
|
-
name: e.btnIcon,
|
|
64
|
-
width: "12",
|
|
65
|
-
height: "12",
|
|
66
|
-
color: "#fff"
|
|
67
|
-
}, null, 8, ["name"])) : b("", !0),
|
|
68
|
-
B(" " + w(e.btnName), 1)
|
|
69
|
-
]),
|
|
70
|
-
_: 2
|
|
71
|
-
}, 1032, ["type", "onClick"])), [
|
|
72
|
-
[c]
|
|
73
|
-
])
|
|
74
|
-
]),
|
|
75
|
-
_: 2
|
|
76
|
-
}, 1064, ["buttonData"])) : (s(), u(f, { key: 1 }, [
|
|
77
|
-
g(e) ? k((s(), i(p, {
|
|
78
|
-
key: 0,
|
|
79
|
-
class: "el-btn",
|
|
80
|
-
type: e.btnColor,
|
|
81
|
-
loading: e.opeateLoading,
|
|
82
|
-
onClick: (n) => y(e)
|
|
83
|
-
}, {
|
|
84
|
-
default: _(() => [
|
|
85
|
-
e.btnIcon ? (s(), i(a, {
|
|
86
|
-
key: 0,
|
|
87
|
-
class: "mr4",
|
|
88
|
-
name: e.btnIcon,
|
|
89
|
-
width: "12",
|
|
90
|
-
height: "12",
|
|
91
|
-
color: "#fff"
|
|
92
|
-
}, null, 8, ["name"])) : b("", !0),
|
|
93
|
-
B(" " + w(e.opeateLoading ? e.btnName + d(V)("act.loading") + "..." : e.btnName), 1)
|
|
94
|
-
]),
|
|
95
|
-
_: 2
|
|
96
|
-
}, 1032, ["type", "loading", "onClick"])), [
|
|
97
|
-
[c]
|
|
98
|
-
]) : b("", !0)
|
|
99
|
-
], 64))
|
|
100
|
-
], 64))), 128))
|
|
101
|
-
]);
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
}, Z = /* @__PURE__ */ M(J, [["__scopeId", "data-v-4698b9e6"]]);
|
|
105
|
-
export {
|
|
106
|
-
Z as default
|
|
107
|
-
};
|