act-plus 1.1.56 → 1.1.58
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 +2 -4
- package/act-plus.umd.cjs +61 -146
- package/lib/dialogAddField-8dac5d06.js +939 -0
- package/lib/dialogConfigBtn-02cbe1c8.js +808 -0
- package/lib/dialogSiteComponentsParams-2ed0ff35.js +71 -0
- package/lib/index-160e64fa.js +407 -0
- package/lib/index-210e9bd6.js +147 -0
- package/lib/index-2cbc7b22.js +289 -0
- package/lib/index-76d79944.js +293 -0
- package/lib/index-7a420913.js +378 -0
- package/lib/index-98567fac.js +65 -0
- package/lib/index-a685fc26.js +106 -0
- package/lib/index-b8e2d056.js +20475 -0
- package/lib/index-c7522ec4.js +5929 -0
- package/lib/index-d1c6a777.js +103 -0
- package/lib/index-e2f2023d.js +35 -0
- package/package.json +1 -1
- package/style.css +1 -0
- package/lib/dialogAddField-6b06ab7c.js.gz +0 -0
- package/lib/dialogConfigBtn-d1568216.js.gz +0 -0
- package/lib/dialogSiteComponentsParams-3dcdc659.js.gz +0 -0
- package/lib/index-101b5643.js.gz +0 -0
- package/lib/index-208cc48a.js.gz +0 -0
- package/lib/index-2212d587.js.gz +0 -0
- package/lib/index-4e254a44.js.gz +0 -0
- package/lib/index-59fb9e5c.js.gz +0 -0
- package/lib/index-6933655a.js.gz +0 -0
- package/lib/index-93d2f191.js.gz +0 -0
- package/style.css.gz +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { ref as p, watch as h, resolveComponent as _, openBlock as r, createElementBlock as m, createVNode as v, unref as u, isRef as w, withCtx as f, createElementVNode as g, createBlock as C, createCommentVNode as N, createTextVNode as $, Fragment as B, renderList as E, normalizeClass as L } from "vue";
|
|
2
|
+
import { _ as P } from "./index-c7522ec4.js";
|
|
3
|
+
import "vue-router";
|
|
4
|
+
import "element-plus";
|
|
5
|
+
const R = { class: "select-icon-container" }, S = { class: "icon-list" }, j = ["onClick"], z = {
|
|
6
|
+
class: "icon-value",
|
|
7
|
+
slot: "reference"
|
|
8
|
+
}, A = {
|
|
9
|
+
__name: "index",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: { type: String, default: "" },
|
|
12
|
+
icons: { type: Array, default: () => [] },
|
|
13
|
+
props: {
|
|
14
|
+
type: Object,
|
|
15
|
+
default: () => ({ value: "value", type: "btn" })
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(x, { emit: V }) {
|
|
20
|
+
const y = V, s = x;
|
|
21
|
+
let c = p(!1), n = p(-1), i = p([]);
|
|
22
|
+
const b = () => n.value == -1 ? "" : i.value[n.value];
|
|
23
|
+
h(
|
|
24
|
+
() => s.icons,
|
|
25
|
+
(l, e) => {
|
|
26
|
+
l && (i.value = (s.icons || []).map((t) => {
|
|
27
|
+
const { props: o } = s;
|
|
28
|
+
return Reflect.has(t, o.value) ? `${o.type}-${t[o.value]}` : `${o.type}-${t}`;
|
|
29
|
+
}));
|
|
30
|
+
},
|
|
31
|
+
{ deep: !0, immediate: !0 }
|
|
32
|
+
), h(
|
|
33
|
+
() => s.modelValue,
|
|
34
|
+
(l, e) => {
|
|
35
|
+
if (!l) {
|
|
36
|
+
n.value = -1, y("update:modelValue", "");
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const t = i.value.findIndex((o) => o === l);
|
|
40
|
+
n.value = t;
|
|
41
|
+
},
|
|
42
|
+
{ deep: !0, immediate: !0 }
|
|
43
|
+
);
|
|
44
|
+
const k = (l, e) => {
|
|
45
|
+
n.value = e, y("update:modelValue", b()), c.value = !1;
|
|
46
|
+
};
|
|
47
|
+
return (l, e) => {
|
|
48
|
+
const t = _("a-svg-icon"), o = _("el-button"), I = _("el-popover");
|
|
49
|
+
return r(), m("div", R, [
|
|
50
|
+
v(I, {
|
|
51
|
+
"popper-class": "select-icon-popover",
|
|
52
|
+
placement: "bottom-start",
|
|
53
|
+
visible: u(c),
|
|
54
|
+
"onUpdate:visible": e[0] || (e[0] = (a) => w(c) ? c.value = a : c = a),
|
|
55
|
+
width: 400,
|
|
56
|
+
trigger: "click"
|
|
57
|
+
}, {
|
|
58
|
+
reference: f(() => [
|
|
59
|
+
g("div", z, [
|
|
60
|
+
u(n) >= 0 ? (r(), C(t, {
|
|
61
|
+
key: 0,
|
|
62
|
+
name: s.modelValue,
|
|
63
|
+
width: "24",
|
|
64
|
+
height: "24",
|
|
65
|
+
color: "#000"
|
|
66
|
+
}, null, 8, ["name"])) : N("", !0),
|
|
67
|
+
v(o, {
|
|
68
|
+
class: "icon-btn",
|
|
69
|
+
type: "primary"
|
|
70
|
+
}, {
|
|
71
|
+
default: f(() => e[1] || (e[1] = [
|
|
72
|
+
$("选择图标")
|
|
73
|
+
])),
|
|
74
|
+
_: 1
|
|
75
|
+
})
|
|
76
|
+
])
|
|
77
|
+
]),
|
|
78
|
+
default: f(() => [
|
|
79
|
+
g("ul", S, [
|
|
80
|
+
(r(!0), m(B, null, E(u(i), (a, d) => (r(), m("li", {
|
|
81
|
+
class: L(["icon-item", { "icon-item-checked": u(n) == d }]),
|
|
82
|
+
key: d,
|
|
83
|
+
onClick: (F) => k(a, d)
|
|
84
|
+
}, [
|
|
85
|
+
v(t, {
|
|
86
|
+
class: "icon-svg",
|
|
87
|
+
name: a,
|
|
88
|
+
width: "24",
|
|
89
|
+
height: "24",
|
|
90
|
+
color: "#999"
|
|
91
|
+
}, null, 8, ["name"])
|
|
92
|
+
], 10, j))), 128))
|
|
93
|
+
])
|
|
94
|
+
]),
|
|
95
|
+
_: 1
|
|
96
|
+
}, 8, ["visible"])
|
|
97
|
+
]);
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
}, D = /* @__PURE__ */ P(A, [["__scopeId", "data-v-308d02d4"]]);
|
|
101
|
+
export {
|
|
102
|
+
D as default
|
|
103
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { computed as u, resolveComponent as d, openBlock as i, createBlock as V, mergeProps as g } from "vue";
|
|
2
|
+
const _ = {
|
|
3
|
+
__name: "index",
|
|
4
|
+
props: {
|
|
5
|
+
modelValue: { type: String }
|
|
6
|
+
},
|
|
7
|
+
emits: ["update:modelValue"],
|
|
8
|
+
setup(n, { emit: r }) {
|
|
9
|
+
const p = r, l = n, o = u({
|
|
10
|
+
get() {
|
|
11
|
+
return l.modelValue;
|
|
12
|
+
},
|
|
13
|
+
set(e) {
|
|
14
|
+
p("update:modelValue", e);
|
|
15
|
+
}
|
|
16
|
+
}), m = (e) => {
|
|
17
|
+
let t = e.charAt(0);
|
|
18
|
+
return e = e.replace(/[^\d.]/g, ""), e = e.replace(/^\./g, ""), e = e.replace(/\.{2,}/g, "."), e = e.replace(".", "$#$").replace(/\./g, "").replace("$#$", "."), t == "-" && (e = "-" + e), e;
|
|
19
|
+
}, a = (e) => {
|
|
20
|
+
o.value = m(e);
|
|
21
|
+
};
|
|
22
|
+
return (e, t) => {
|
|
23
|
+
const c = d("el-input");
|
|
24
|
+
return i(), V(c, g({
|
|
25
|
+
modelValue: o.value,
|
|
26
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => o.value = s),
|
|
27
|
+
modelModifiers: { number: !0 },
|
|
28
|
+
placeholder: "Please input"
|
|
29
|
+
}, e.$attrs, { onInput: a }), null, 16, ["modelValue"]);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
_ as default
|
|
35
|
+
};
|
package/package.json
CHANGED
package/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.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%}.month-range .el-date-range-picker{width:320px}.month-range .el-date-range-picker .el-picker-panel__body{min-width:320px}.month-range .is-left{width:100%}.month-range .el-date-range-picker__header,.month-range .is-right{display:none}.table-link{cursor:pointer;color:#409eff;text-decoration:underline}.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-69341f96] .el-empty__image{width:100%}.file-image[data-v-69341f96]{display:block;width:32px;height:32px;margin:0 auto;border-radius:4px;line-height:32px!important}.no-image[data-v-69341f96]{width:100%;height:100%;font-size:12px;background-color:#f5f7fa}.act-module[data-v-69341f96]{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-ca7d3608]{display:flex;align-items:center}.card-header -operate[data-v-ca7d3608]{margin-left:auto}.form-list[data-v-ca7d3608]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-ca7d3608]:last-child{border:none}.config-list-operate[data-v-ca7d3608]{display:flex;align-items:center;justify-content:flex-end}.card-header[data-v-75e750d2]{display:flex;align-items:center}.card-header-operate[data-v-75e750d2]{margin-left:auto}.form-list[data-v-75e750d2]{margin-bottom:24px;border-bottom:1px solid var(--el-color-primary)}.form-list[data-v-75e750d2]:last-child{border:none}.config-list-operate[data-v-75e750d2]{display:flex;align-items:center;justify-content:flex-end}[data-v-75e750d2] .el-badge__content.is-fixed{transform:translateY(-50%) translate(100%) scale(.7)}.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}.search-module-container[data-v-3c6eb654] .el-form-item{margin-bottom:8px}.search-module-container[data-v-3c6eb654] .el-select__selection{flex-wrap:nowrap}.search-module-container .form-content[data-v-3c6eb654]{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-3c6eb654]{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-3c6eb654]{display:flex;margin:0 auto;color:#a4a2a2}.header-operate-container[data-v-6477fb97]{display:flex;align-items:center;justify-content:flex-end}.header-operate-container .el-btn[data-v-6477fb97]{margin:2px}.act-table .table-pagination[data-v-651542d6]{padding:12px 4px;justify-content:flex-end}.no-config[data-v-c6e7e23b]{line-height:32px;font-weight:700}.no-config-field[data-v-c6e7e23b]{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-ca54e816]{cursor:pointer;width:24px;height:24px;margin-left:6px}.condition-box[data-v-ca54e816]{display:flex;justify-content:center}.condition-box[data-v-ca54e816] .el-form-item__content{flex:0;min-width:300px}.submit-operate[data-v-ca54e816]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-ca54e816]{cursor:pointer;width:20px;height:20px}.add-icon-btn[data-v-7a6069a6]{cursor:pointer;width:24px;height:24px;margin-left:6px}.submit-operate[data-v-7a6069a6]{display:flex;align-items:center;height:32px;padding-left:12px}.submit-operate .match-opreate[data-v-7a6069a6]{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}.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}.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}.act-code-mirror[data-v-d3c12061]{width:100%}.act-code-mirror .format-code-btn[data-v-d3c12061]{margin-bottom:4px}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/index-101b5643.js.gz
DELETED
|
Binary file
|
package/lib/index-208cc48a.js.gz
DELETED
|
Binary file
|
package/lib/index-2212d587.js.gz
DELETED
|
Binary file
|
package/lib/index-4e254a44.js.gz
DELETED
|
Binary file
|
package/lib/index-59fb9e5c.js.gz
DELETED
|
Binary file
|
package/lib/index-6933655a.js.gz
DELETED
|
Binary file
|
package/lib/index-93d2f191.js.gz
DELETED
|
Binary file
|
package/style.css.gz
DELETED
|
Binary file
|