sand-components-vben 2.7.22 → 2.7.23
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/package.json +1 -1
- package/sand-components-vben.js +41 -9
- package/sand-components-vben.umd.cjs +19 -19
package/package.json
CHANGED
package/sand-components-vben.js
CHANGED
|
@@ -38803,7 +38803,7 @@ const sXe = () => `${Ct.VITE_GLOB_AI_URL}/dify/analyse`, uXe = (e) => ni.uploadF
|
|
|
38803
38803
|
]);
|
|
38804
38804
|
};
|
|
38805
38805
|
}
|
|
38806
|
-
},
|
|
38806
|
+
}, wJe = /* @__PURE__ */ dn(Gje, [["__scopeId", "data-v-a487e00d"]]), Zje = { class: "user-card" }, Yje = {
|
|
38807
38807
|
key: 0,
|
|
38808
38808
|
class: "spin-box"
|
|
38809
38809
|
}, Wje = { class: "user-info" }, Vje = { class: "user-message" }, qje = { class: "user-nickname" }, Uje = { class: "user-job-info" }, Jje = { class: "user-no" }, Qje = { class: "user-avatar" }, Kje = ["src"], _je = {
|
|
@@ -93371,7 +93371,38 @@ const cJe = { class: "hint-content" }, lJe = { class: "dialog-body" }, dJe = { c
|
|
|
93371
93371
|
]);
|
|
93372
93372
|
};
|
|
93373
93373
|
}
|
|
93374
|
-
}, AJe = /* @__PURE__ */ dn(yJe, [["__scopeId", "data-v-e3b5ff32"]]), OJe = {
|
|
93374
|
+
}, AJe = /* @__PURE__ */ dn(yJe, [["__scopeId", "data-v-e3b5ff32"]]), OJe = (e) => {
|
|
93375
|
+
const t = [];
|
|
93376
|
+
let n;
|
|
93377
|
+
const r = e.length;
|
|
93378
|
+
for (let a = 0; a < r; a++)
|
|
93379
|
+
n = e.charCodeAt(a), n >= 65536 && n <= 1114111 ? (t.push(n >> 18 & 7 | 240), t.push(n >> 12 & 63 | 128), t.push(n >> 6 & 63 | 128), t.push(n & 63 | 128)) : n >= 2048 && n <= 65535 ? (t.push(n >> 12 & 15 | 224), t.push(n >> 6 & 63 | 128), t.push(n & 63 | 128)) : n >= 128 && n <= 2047 ? (t.push(n >> 6 & 31 | 192), t.push(n & 63 | 128)) : t.push(n & 255);
|
|
93380
|
+
return t;
|
|
93381
|
+
}, xJe = (e) => {
|
|
93382
|
+
let t = "";
|
|
93383
|
+
const n = new Uint8Array(e), r = n.byteLength;
|
|
93384
|
+
for (let a = 0; a < r; a++)
|
|
93385
|
+
t += String.fromCharCode(n[a]);
|
|
93386
|
+
return window.btoa(t);
|
|
93387
|
+
}, TJe = (e) => {
|
|
93388
|
+
const t = OJe(e), n = xJe(t);
|
|
93389
|
+
return encodeURIComponent(n);
|
|
93390
|
+
}, SJe = (e) => {
|
|
93391
|
+
const { url: t, type: n, isOpenDirectly: r = !0 } = e, { origin: a } = location;
|
|
93392
|
+
if (t instanceof Array && !n)
|
|
93393
|
+
throw new Error("仅图片支持多文件预览");
|
|
93394
|
+
let i = "";
|
|
93395
|
+
const o = (s) => TJe(s);
|
|
93396
|
+
if (n) {
|
|
93397
|
+
let s = "";
|
|
93398
|
+
t instanceof Array ? s = t.join("|") : s = t, i = a + `/preview/picturesPreview?urls=${o(a + s)}`;
|
|
93399
|
+
} else
|
|
93400
|
+
i = a + `/preview/onlinePreview?url=${o(a + t)}`;
|
|
93401
|
+
if (r)
|
|
93402
|
+
window.open(i);
|
|
93403
|
+
else
|
|
93404
|
+
return i;
|
|
93405
|
+
}, EJe = {
|
|
93375
93406
|
ApiSelect: Woe,
|
|
93376
93407
|
BaseUpload: vS,
|
|
93377
93408
|
UploadImage: Wke,
|
|
@@ -93396,11 +93427,11 @@ const cJe = { class: "hint-content" }, lJe = { class: "dialog-body" }, dJe = { c
|
|
|
93396
93427
|
AIInput: OXe,
|
|
93397
93428
|
UploadImage2: Kke,
|
|
93398
93429
|
UploadFile2: aXe
|
|
93399
|
-
},
|
|
93400
|
-
Object.entries(
|
|
93430
|
+
}, NJe = (e) => {
|
|
93431
|
+
Object.entries(EJe).forEach(([t, n]) => {
|
|
93401
93432
|
e.component(t, n);
|
|
93402
93433
|
});
|
|
93403
|
-
},
|
|
93434
|
+
}, zJe = { install: NJe }, CJe = (e) => kde(e);
|
|
93404
93435
|
export {
|
|
93405
93436
|
OXe as AIInput,
|
|
93406
93437
|
bXe as AITextarea,
|
|
@@ -93421,14 +93452,15 @@ export {
|
|
|
93421
93452
|
Rke as SelectAddress,
|
|
93422
93453
|
soe as SelectUserDialog,
|
|
93423
93454
|
Rje as SexStatus,
|
|
93424
|
-
|
|
93455
|
+
wJe as TreeOrg,
|
|
93425
93456
|
Xke as UploadFile,
|
|
93426
93457
|
aXe as UploadFile2,
|
|
93427
93458
|
Wke as UploadImage,
|
|
93428
93459
|
Kke as UploadImage2,
|
|
93429
93460
|
ooe as UserCard,
|
|
93430
93461
|
I5 as UserTag,
|
|
93431
|
-
|
|
93432
|
-
|
|
93433
|
-
|
|
93462
|
+
EJe as components,
|
|
93463
|
+
zJe as default,
|
|
93464
|
+
SJe as filePreview,
|
|
93465
|
+
CJe as sandInit
|
|
93434
93466
|
};
|