act-plus 1.1.70 → 1.1.72
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 +50 -50
- package/lib/{dialogAddField-d5464c68.js → dialogAddField-3cde424e.js} +2 -2
- package/lib/{dialogConfigBtn-a040c8a8.js → dialogConfigBtn-2b6e2118.js} +298 -240
- package/lib/{dialogSiteComponentsParams-4a1bc1cc.js → dialogSiteComponentsParams-f3ed924a.js} +1 -1
- package/lib/{index-307d804a.js → index-04c33054.js} +1 -1
- package/lib/{index-2a4b41ad.js → index-1366d1ab.js} +1 -1
- package/lib/{index-d473d428.js → index-a2206f8c.js} +1 -1
- package/lib/{index-fb59c468.js → index-a823b78b.js} +8 -8
- package/lib/{index-fe6488e8.js → index-d2f95f0a.js} +2 -2
- package/lib/{index-b4512e42.js → index-deb65003.js} +1 -1
- package/lib/{index-33623979.js → index-ec8c8fec.js} +2241 -2125
- package/lib/{index-566f70f9.js → index-ee1558c9.js} +1 -1
- package/lib/index-f9636631.js +214 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/index-1eb62bcb.js +0 -106
package/lib/{dialogSiteComponentsParams-4a1bc1cc.js → dialogSiteComponentsParams-f3ed924a.js}
RENAMED
|
@@ -8,7 +8,7 @@ const B = { class: "dialog-footer" }, A = {
|
|
|
8
8
|
},
|
|
9
9
|
emits: ["update:visible", "refresh", "update:modelValue"],
|
|
10
10
|
setup(f, { emit: c }) {
|
|
11
|
-
const v = _(() => import("./index-
|
|
11
|
+
const v = _(() => import("./index-a2206f8c.js")), n = c, o = f;
|
|
12
12
|
let t = C();
|
|
13
13
|
y(
|
|
14
14
|
() => o.visible,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { reactive as m, watch as b, resolveComponent as s, openBlock as v, 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 w } from "./index-
|
|
2
|
+
import { _ as k, u as w } from "./index-ec8c8fec.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const V = ["innerHTML"], B = { class: "dialog-footer" }, D = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as N, watch as O, resolveComponent as u, resolveDirective as T, openBlock as l, createElementBlock as d, withDirectives as j, createBlock as i, mergeProps as D, withCtx as c, createTextVNode as K, toDisplayString as W, unref as f, Fragment as s, renderList as A, renderSlot as w, createCommentVNode as H, nextTick as y } from "vue";
|
|
2
|
-
import { _ as U, u as V } from "./index-
|
|
2
|
+
import { _ as U, u as V } from "./index-ec8c8fec.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const $ = { class: "act-table" }, F = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as yd, shallowRef as qn, inject as xd, computed as Jh, toRaw as wd, onMounted as Sd, watch as le, onBeforeUnmount as vd, h as kd, ref as kl, resolveComponent as Qd, resolveDirective as Pd, openBlock as Ql, createElementBlock as $d, withDirectives as Td, createBlock as Zd, withCtx as Cd, createTextVNode as Rd, toDisplayString as Ad, unref as Pl, createVNode as Md, normalizeStyle as Ed } from "vue";
|
|
2
|
-
import { _ as Xd, u as Ld } from "./index-
|
|
2
|
+
import { _ as Xd, u as Ld } from "./index-ec8c8fec.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
let Mr = [], tf = [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as U, computed as oe, resolveComponent as w, resolveDirective as ne, openBlock as h, createElementBlock as N, withDirectives as ae, createBlock as C, mergeProps as ie, unref as p, withCtx as D, renderSlot as L, createElementVNode as x, toDisplayString as I, createCommentVNode as z, createVNode as $, createTextVNode as se, Fragment as ce, renderList as re, normalizeClass as ue, nextTick as pe } from "vue";
|
|
2
2
|
import { ElNotification as M } from "element-plus";
|
|
3
|
-
import { _ as de, u as me, z as fe,
|
|
3
|
+
import { _ as de, u as me, z as fe, o as ge, p as _e, q as ye } from "./index-ec8c8fec.js";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
let S;
|
|
6
6
|
const he = new Uint8Array(16);
|
|
@@ -15,12 +15,12 @@ for (let l = 0; l < 256; ++l)
|
|
|
15
15
|
function we(l, n = 0) {
|
|
16
16
|
return a[l[n + 0]] + a[l[n + 1]] + a[l[n + 2]] + a[l[n + 3]] + "-" + a[l[n + 4]] + a[l[n + 5]] + "-" + a[l[n + 6]] + a[l[n + 7]] + "-" + a[l[n + 8]] + a[l[n + 9]] + "-" + a[l[n + 10]] + a[l[n + 11]] + a[l[n + 12]] + a[l[n + 13]] + a[l[n + 14]] + a[l[n + 15]];
|
|
17
17
|
}
|
|
18
|
-
const xe = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
18
|
+
const xe = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), q = {
|
|
19
19
|
randomUUID: xe
|
|
20
20
|
};
|
|
21
21
|
function Fe(l, n, F) {
|
|
22
|
-
if (
|
|
23
|
-
return
|
|
22
|
+
if (q.randomUUID && !n && !l)
|
|
23
|
+
return q.randomUUID();
|
|
24
24
|
l = l || {};
|
|
25
25
|
const m = l.random || (l.rng || ve)();
|
|
26
26
|
if (m[6] = m[6] & 15 | 64, m[8] = m[8] & 63 | 128, n) {
|
|
@@ -48,7 +48,7 @@ const Te = { class: "upload-container" }, ke = { class: "el-upload__text" }, $e
|
|
|
48
48
|
},
|
|
49
49
|
emits: ["update:modelValue", "delete"],
|
|
50
50
|
setup(l, { expose: n, emit: F }) {
|
|
51
|
-
const { getAssetsFileName: m, getAssetsFilePath: v, downloadFile:
|
|
51
|
+
const { getAssetsFileName: m, getAssetsFilePath: v, downloadFile: B } = ye(), { t: g } = me(), b = F, s = l, R = {
|
|
52
52
|
image: /(gif|jpg|jpeg|png|pdf|bmp|webp|GIF|JPG|PDF|PNG|JPEG)$/,
|
|
53
53
|
word: /(doc|docx)$/,
|
|
54
54
|
pdf: /(pdf)$/,
|
|
@@ -62,7 +62,7 @@ const Te = { class: "upload-container" }, ke = { class: "el-upload__text" }, $e
|
|
|
62
62
|
b("update:modelValue", e);
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
|
-
const
|
|
65
|
+
const O = (e) => {
|
|
66
66
|
const t = (y.value || []).map((r) => r.filePath);
|
|
67
67
|
if (e == 0)
|
|
68
68
|
return t;
|
|
@@ -135,7 +135,7 @@ const Te = { class: "upload-container" }, ke = { class: "el-upload__text" }, $e
|
|
|
135
135
|
document.querySelector(`.previewImage_${o}`).children[0].click();
|
|
136
136
|
});
|
|
137
137
|
}, ee = ({ filePath: e, name: t }) => {
|
|
138
|
-
|
|
138
|
+
B(s.request, e);
|
|
139
139
|
}, te = (e, t) => {
|
|
140
140
|
y.value = y.value.filter((o, i) => i !== t), b("delete", { data: e });
|
|
141
141
|
};
|
|
@@ -188,7 +188,7 @@ const Te = { class: "upload-container" }, ke = { class: "el-upload__text" }, $e
|
|
|
188
188
|
key: 0,
|
|
189
189
|
class: ue(["file-list-image", { [`previewImage_${u.uid}`]: !0 }]),
|
|
190
190
|
fit: "cover",
|
|
191
|
-
"preview-src-list":
|
|
191
|
+
"preview-src-list": O(k),
|
|
192
192
|
"preview-teleported": "",
|
|
193
193
|
src: u.filePath
|
|
194
194
|
}, null, 8, ["class", "preview-src-list", "src"])) : (h(), C(d, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as O, inject as K, ref as N, watch as Te, resolveComponent as _, resolveDirective as le, openBlock as u, createBlock as y, withCtx as D, createElementVNode as ae, createVNode as te, createTextVNode as J, toDisplayString as A, unref as r, withDirectives as oe, createElementBlock as k, Fragment as q, renderList as Q, mergeProps as F, createCommentVNode as se, resolveDynamicComponent as De, toRaw as Ke } from "vue";
|
|
2
|
-
import { _ as we, u as Ne, P as Pe, a as Ue, b as ke } from "./index-
|
|
2
|
+
import { _ as we, u as Ne, P as Pe, a as Ue, b as ke } from "./index-ec8c8fec.js";
|
|
3
3
|
import { ElNotification as Se } from "element-plus";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
const Le = { class: "no-config-field" }, Re = { class: "dialog-footer" }, $e = {
|
|
@@ -11,7 +11,7 @@ const Le = { class: "no-config-field" }, Re = { class: "dialog-footer" }, $e = {
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:visible", "refresh"],
|
|
13
13
|
setup(P, { emit: ie }) {
|
|
14
|
-
const re = O(() => import("./index-e2f2023d.js")), de = O(() => import("./index-
|
|
14
|
+
const re = O(() => import("./index-e2f2023d.js")), de = O(() => import("./index-ee1558c9.js")), ne = O(() => import("./index-a823b78b.js")), ue = O(() => import("./index-7a420913.js")), { t: b } = Ne(), M = K("request"), ce = K("loadComponents"), w = K("formatDataType"), x = K("globalProps"), fe = K("stringToBoolean"), h = K("getFieldUiProps"), pe = K("disposeRequestData"), X = ie, f = P, S = N(!1), L = N(!1), E = N(null), R = N([]), t = N({}), j = N({}), me = (l) => l.formColumnCol == null ? 24 : l.formColumnCol ? l.formColumnCol : 24 / l.formRow, ye = (l) => ["input", "textarea"].includes(l.fieldType) ? "blur" : (["select", "multipleSelect", "datetimerange", "treeSelect", "provinceCascade"].includes(l.fieldType), "change"), be = async ({ node: l, resolve: p }, a) => {
|
|
15
15
|
const i = h(a), { label: m, value: n, children: g, isLeaf: o } = { ...ke, ...i.treeProps || {} };
|
|
16
16
|
if (l[o])
|
|
17
17
|
return p([]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineAsyncComponent as se, inject as h, ref as q, watch as de, resolveComponent as f, resolveDirective as pe, unref as t, openBlock as n, createElementBlock as V, createVNode as ce, normalizeStyle as ie, withCtx as T, Fragment as k, renderList as L, createBlock as d, mergeProps as C, withKeys as H, withModifiers as K, createCommentVNode as g, resolveDynamicComponent as fe, createElementVNode as me, toDisplayString as S, createTextVNode as M, withDirectives as ye } from "vue";
|
|
2
|
-
import { _ as be, u as Ve, P as Ce, a as _e, b as he } from "./index-
|
|
2
|
+
import { _ as be, u as Ve, P as Ce, a as _e, b as he } from "./index-ec8c8fec.js";
|
|
3
3
|
import "vue-router";
|
|
4
4
|
import "element-plus";
|
|
5
5
|
const ge = {
|