@huyooo/ui 0.4.63 → 0.4.67
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/dist/{AuthkitAppSetting-D7k_8buM.js → AuthkitAppSetting-CX3_9Jcg.js} +71 -70
- package/dist/{AuthkitAuthorize-pB8aT1kV.js → AuthkitAuthorize-B3WS5eGX.js} +2 -2
- package/dist/{FeedbackItem-Dxzmtu66.js → FeedbackItem-C5WqFEqH.js} +62 -60
- package/dist/{FeedbackModal-D7tjJLBj.js → FeedbackModal-BDPw2tu7.js} +22 -21
- package/dist/{MessageHandle-Dt6rb0rg.js → MessageHandle-BelPivb3.js} +2 -2
- package/dist/{PaySubscriptions-B42IdT-5.js → PaySubscriptions-BRWvLeed.js} +1 -1
- package/dist/{ReferrerReferees-CvuUodDZ.js → ReferrerReferees-BVj9o5kG.js} +2 -2
- package/dist/Upload.vue_vue_type_script_setup_true_lang-CDyUt05d.js +88 -0
- package/dist/{UserAccountMenu-3neBzl5f.js → UserAccountMenu-BD8F9vEK.js} +1 -1
- package/dist/{UserPanel-BJzhmyWP.js → UserPanel-CaaTu1mu.js} +7 -7
- package/dist/authkit.js +4 -4
- package/dist/common/globalConfig.d.ts +20 -6
- package/dist/common.js +7 -7
- package/dist/components/Upload/Upload.vue.d.ts +30 -0
- package/dist/composables/Upload/useUploadCos.d.ts +4 -1
- package/dist/composables.js +5 -5
- package/dist/feedback.js +2 -2
- package/dist/globalConfig-DZIhLe1R.js +16 -0
- package/dist/index.js +15 -15
- package/dist/message.js +2 -2
- package/dist/pay.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api.d.ts +0 -14
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAuthModal-C153ZpNb.js → useAuthkitAuthModal-hxivJw_U.js} +1 -1
- package/dist/{useAuthkitUsersProfile-CT2MN1S5.js → useAuthkitUsersProfile-DNOB_Kuk.js} +1 -1
- package/dist/{useMessageNotifications-DkKSVkdt.js → useMessageNotifications-DOH1MS61.js} +1 -1
- package/dist/{useUploadCos-C3ts0Gpa.js → useUploadCos-B5P_PDcy.js} +1289 -1283
- package/dist/user.js +2 -2
- package/package.json +1 -1
- package/dist/Upload.vue_vue_type_script_setup_true_lang-Bw3IlEUj.js +0 -70
- package/dist/globalConfig-dtNQA0ZH.js +0 -15
package/dist/user.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as r, c as e, a as o, U as n, S as t } from "./UserPanel-
|
|
2
|
-
import { U as c } from "./UserAccountMenu-
|
|
1
|
+
import { b as r, c as e, a as o, U as n, S as t } from "./UserPanel-CaaTu1mu.js";
|
|
2
|
+
import { U as c } from "./UserAccountMenu-BD8F9vEK.js";
|
|
3
3
|
export {
|
|
4
4
|
c as UserAccountMenu,
|
|
5
5
|
r as UserAvatar,
|
package/package.json
CHANGED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
|
-
/* empty css */
|
|
5
|
-
/* empty css */
|
|
6
|
-
import { defineComponent as g, createBlock as h, openBlock as k, unref as _, mergeProps as $, createSlots as q, withCtx as i, renderSlot as p } from "vue";
|
|
7
|
-
import { Upload as y } from "@arco-design/web-vue";
|
|
8
|
-
import { u as C } from "./useUploadCos-C3ts0Gpa.js";
|
|
9
|
-
const I = /* @__PURE__ */ g({
|
|
10
|
-
__name: "Upload",
|
|
11
|
-
props: {
|
|
12
|
-
options: {
|
|
13
|
-
type: Object,
|
|
14
|
-
required: !1,
|
|
15
|
-
default: () => null
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
emits: ["progress", "fileFinish", "fail"],
|
|
19
|
-
setup(l, {
|
|
20
|
-
emit: u
|
|
21
|
-
}) {
|
|
22
|
-
const r = u, m = l, {
|
|
23
|
-
uploadFile: a
|
|
24
|
-
} = C();
|
|
25
|
-
function c(o) {
|
|
26
|
-
const {
|
|
27
|
-
onProgress: s,
|
|
28
|
-
onError: f,
|
|
29
|
-
onSuccess: d,
|
|
30
|
-
fileItem: n
|
|
31
|
-
} = o;
|
|
32
|
-
if (n.file) {
|
|
33
|
-
const b = n.file;
|
|
34
|
-
a({
|
|
35
|
-
file: b,
|
|
36
|
-
onProgress(e) {
|
|
37
|
-
r("progress", e);
|
|
38
|
-
const t = (e.percent * 100).toFixed(2);
|
|
39
|
-
s(Number(t));
|
|
40
|
-
},
|
|
41
|
-
onFileFinish(e, t, F) {
|
|
42
|
-
r("fileFinish", e, t, F), d(t);
|
|
43
|
-
},
|
|
44
|
-
onError: f
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
abort() {
|
|
49
|
-
return "";
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
return (o, s) => (k(), h(_(y), $({
|
|
54
|
-
"custom-request": c
|
|
55
|
-
}, m.options), q({
|
|
56
|
-
_: 2
|
|
57
|
-
}, [o.$slots["upload-button"] ? {
|
|
58
|
-
name: "upload-button",
|
|
59
|
-
fn: i(() => [p(o.$slots, "upload-button")]),
|
|
60
|
-
key: "0"
|
|
61
|
-
} : void 0, o.$slots["upload-item"] ? {
|
|
62
|
-
name: "upload-item",
|
|
63
|
-
fn: i(() => [p(o.$slots, "upload-item")]),
|
|
64
|
-
key: "1"
|
|
65
|
-
} : void 0]), 1040));
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
export {
|
|
69
|
-
I as _
|
|
70
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
let e = {
|
|
2
|
-
appId: "",
|
|
3
|
-
bucketId: "",
|
|
4
|
-
prefixUrl: "",
|
|
5
|
-
authPrefixUrl: "",
|
|
6
|
-
bucket: "",
|
|
7
|
-
region: ""
|
|
8
|
-
};
|
|
9
|
-
function t(r) {
|
|
10
|
-
e.appId = r.appId, e.bucketId = r.bucketId, e.prefixUrl = r.prefixUrl, e.bucket = r.bucket, e.region = r.region, e.authPrefixUrl = r.authPrefixUrl;
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
e as g,
|
|
14
|
-
t as s
|
|
15
|
-
};
|