@huyooo/ui 0.6.1 → 0.6.4
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/{AuthkitAuthModal-BfwODnpI.js → AuthkitAuthModal-GorxR6ZJ.js} +1 -1
- package/dist/{AuthkitSignInPhone-CvP7rT3r.js → AuthkitSignInPhone-CLW_u8AY.js} +1 -1
- package/dist/{FeedbackItem-3RVUHPP1.js → FeedbackItem-uW6HoVZA.js} +2 -2
- package/dist/FeedbackModal-BfDUEqAa.js +1103 -0
- package/dist/Upload.vue_vue_type_script_setup_true_lang-BkqyMwbd.js +75 -0
- package/dist/{UserAccountMenu-BzV2mkj3.js → UserAccountMenu-CRvrcDGG.js} +2 -2
- package/dist/{WidthContainer-BKpO4rRH.js → WidthContainer-BPOjQcRc.js} +2 -2
- package/dist/authkit.js +2 -2
- package/dist/common/MessageCenterOptions.d.ts +0 -4
- package/dist/common/feedbackOptions.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/components/Upload/Upload.vue.d.ts +0 -22
- package/dist/composables/Upload/useUploadCos.d.ts +1 -3
- package/dist/composables.js +1 -1
- package/dist/feedback.js +2 -2
- package/dist/index.js +8 -8
- package/dist/style.css +1 -1
- package/dist/upload.js +2 -2
- package/dist/{useUploadCos-_xwV40NS.js → useUploadCos-EWMNJjRf.js} +2683 -2767
- package/dist/user.js +1 -1
- package/package.json +1 -1
- package/dist/FeedbackModal-CK9JVDXg.js +0 -1056
- package/dist/Upload.vue_vue_type_script_setup_true_lang-BYlxlhfb.js +0 -88
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { defineComponent as g, createBlock as F, openBlock as h, unref as q, mergeProps as y, createSlots as I, withCtx as p, renderSlot as u } from "vue";
|
|
7
|
+
import { Upload as S } from "@arco-design/web-vue";
|
|
8
|
+
import { u as _ } from "./useUploadCos-EWMNJjRf.js";
|
|
9
|
+
const E = /* @__PURE__ */ g({
|
|
10
|
+
__name: "Upload",
|
|
11
|
+
props: {
|
|
12
|
+
options: {
|
|
13
|
+
type: Object,
|
|
14
|
+
required: !1,
|
|
15
|
+
default: () => null
|
|
16
|
+
},
|
|
17
|
+
bucketId: {
|
|
18
|
+
type: String,
|
|
19
|
+
required: !0
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
emits: ["progress", "fileFinish", "fail"],
|
|
23
|
+
setup(l, {
|
|
24
|
+
emit: m
|
|
25
|
+
}) {
|
|
26
|
+
const r = m, s = l, {
|
|
27
|
+
uploadFile: c
|
|
28
|
+
} = _();
|
|
29
|
+
function a(e) {
|
|
30
|
+
const {
|
|
31
|
+
onProgress: i,
|
|
32
|
+
onError: d,
|
|
33
|
+
onSuccess: f,
|
|
34
|
+
fileItem: n
|
|
35
|
+
} = e;
|
|
36
|
+
if (n.file) {
|
|
37
|
+
const b = n.file;
|
|
38
|
+
c({
|
|
39
|
+
file: b,
|
|
40
|
+
bucketId: s.bucketId,
|
|
41
|
+
onProgress(o) {
|
|
42
|
+
r("progress", o);
|
|
43
|
+
const t = (o.percent * 100).toFixed(2);
|
|
44
|
+
i(Number(t));
|
|
45
|
+
},
|
|
46
|
+
onFileFinish(o, t, k) {
|
|
47
|
+
r("fileFinish", o, t, k), f(t);
|
|
48
|
+
},
|
|
49
|
+
onError: d
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
abort() {
|
|
54
|
+
return "";
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
return (e, i) => (h(), F(q(S), y({
|
|
59
|
+
"custom-request": a
|
|
60
|
+
}, s.options), I({
|
|
61
|
+
_: 2
|
|
62
|
+
}, [e.$slots["upload-button"] ? {
|
|
63
|
+
name: "upload-button",
|
|
64
|
+
fn: p(() => [u(e.$slots, "upload-button")]),
|
|
65
|
+
key: "0"
|
|
66
|
+
} : void 0, e.$slots["upload-item"] ? {
|
|
67
|
+
name: "upload-item",
|
|
68
|
+
fn: p(() => [u(e.$slots, "upload-item")]),
|
|
69
|
+
key: "1"
|
|
70
|
+
} : void 0]), 1040));
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
export {
|
|
74
|
+
E as _
|
|
75
|
+
};
|
|
@@ -8,8 +8,8 @@ import { S as ze } from "./PaySubscriptions-C9LA8ZeX.js";
|
|
|
8
8
|
import { R as Ne } from "./ReferrerReferees-CnYkGC5r.js";
|
|
9
9
|
import { a as N, u as Le } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
|
|
10
10
|
import { u as je, g as oe } from "./auth-bwwc2iT8.js";
|
|
11
|
-
import { c as He, A as Fe } from "./AuthkitAuthModal-
|
|
12
|
-
import { d as qe } from "./FeedbackModal-
|
|
11
|
+
import { c as He, A as Fe } from "./AuthkitAuthModal-GorxR6ZJ.js";
|
|
12
|
+
import { d as qe } from "./FeedbackModal-BfDUEqAa.js";
|
|
13
13
|
import { M as Ee } from "./MessageHandle-BlsLRmdj.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
@@ -6,11 +6,11 @@ import "./useAuthkitUsersProfile-hZ9L3rYe.js";
|
|
|
6
6
|
import { a as ae } from "./auth-bwwc2iT8.js";
|
|
7
7
|
import { u as W } from "./useAuthkitAppsAuthPageInfo-CzZmhPMm.js";
|
|
8
8
|
import { a as D, b as R, w as H, f as G, c as N, e as F, d as ie } from "./useSEO-DT8VkGVt.js";
|
|
9
|
-
import "./useUploadCos-
|
|
9
|
+
import "./useUploadCos-EWMNJjRf.js";
|
|
10
10
|
import { useRouter as j, useRoute as J } from "vue-router";
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
|
-
import { d as re, c as Q } from "./UserAccountMenu-
|
|
13
|
+
import { d as re, c as Q } from "./UserAccountMenu-CRvrcDGG.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
16
|
/* empty css */
|
package/dist/authkit.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as i, a as u, c as s, b as h, n as A, E as e, k, l as o, _ as r, O as n, _ as d, O as p, f as m, o as P, P as f, j as l, R as S, S as g, i as O, m as c, d as w, e as U, g as I, h as b, p as x, u as C } from "./AuthkitAuthModal-
|
|
2
|
-
import { A as y, a as B, c as R, d as V, b as v, b as L, f as M, e as _ } from "./AuthkitSignInPhone-
|
|
1
|
+
import { A as i, a as u, c as s, b as h, n as A, E as e, k, l as o, _ as r, O as n, _ as d, O as p, f as m, o as P, P as f, j as l, R as S, S as g, i as O, m as c, d as w, e as U, g as I, h as b, p as x, u as C } from "./AuthkitAuthModal-GorxR6ZJ.js";
|
|
2
|
+
import { A as y, a as B, c as R, d as V, b as v, b as L, f as M, e as _ } from "./AuthkitSignInPhone-CLW_u8AY.js";
|
|
3
3
|
import { u as z } from "./useAuthkitAppsAuthPageInfo-CzZmhPMm.js";
|
|
4
4
|
import { u as T, a as q } from "./useAuthkitUsersProfile-hZ9L3rYe.js";
|
|
5
5
|
import { u as F } from "./auth-bwwc2iT8.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const feedbackTypeOptions: {
|
|
2
2
|
key: string;
|
|
3
3
|
label: string;
|
|
4
4
|
}[];
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const feedbackPriorityOptions: {
|
|
6
6
|
key: string;
|
|
7
7
|
label: string;
|
|
8
8
|
}[];
|
package/dist/common.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-
|
|
1
|
+
import { A as s, a as o, C as t, D as r, G as p, H as n, b as l, L as u, S as C, W as d } from "./WidthContainer-BPOjQcRc.js";
|
|
2
2
|
import { C as i, a as f } from "./CollapseItem-Cw1vcdLu.js";
|
|
3
3
|
import { C as x, E as H } from "./CustomTable-BCOwLyRJ.js";
|
|
4
4
|
import { M, a as g } from "./Menu-BjWB9hre.js";
|
|
@@ -18,16 +18,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
required: true;
|
|
20
20
|
};
|
|
21
|
-
bucket: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
required: false;
|
|
24
|
-
default: () => string;
|
|
25
|
-
};
|
|
26
|
-
region: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
required: false;
|
|
29
|
-
default: () => string;
|
|
30
|
-
};
|
|
31
21
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
22
|
fail: (...args: any[]) => void;
|
|
33
23
|
progress: (...args: any[]) => void;
|
|
@@ -42,24 +32,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
42
32
|
type: StringConstructor;
|
|
43
33
|
required: true;
|
|
44
34
|
};
|
|
45
|
-
bucket: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
required: false;
|
|
48
|
-
default: () => string;
|
|
49
|
-
};
|
|
50
|
-
region: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
required: false;
|
|
53
|
-
default: () => string;
|
|
54
|
-
};
|
|
55
35
|
}>> & Readonly<{
|
|
56
36
|
onFail?: ((...args: any[]) => any) | undefined;
|
|
57
37
|
onProgress?: ((...args: any[]) => any) | undefined;
|
|
58
38
|
onFileFinish?: ((...args: any[]) => any) | undefined;
|
|
59
39
|
}>, {
|
|
60
40
|
options: Record<string, any>;
|
|
61
|
-
bucket: string;
|
|
62
|
-
region: string;
|
|
63
41
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
64
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
65
43
|
export default _default;
|
|
@@ -5,10 +5,8 @@ interface UploadType {
|
|
|
5
5
|
onFileFinish?: COS.onFileFinish;
|
|
6
6
|
onError?: (error: COS.CosSdkError) => void;
|
|
7
7
|
bucketId: string;
|
|
8
|
-
bucket?: string;
|
|
9
|
-
region?: string;
|
|
10
8
|
}
|
|
11
9
|
export declare function useUploadCos(): {
|
|
12
|
-
uploadFile: ({ file, onProgress, onFileFinish, onError, bucketId,
|
|
10
|
+
uploadFile: ({ file, onProgress, onFileFinish, onError, bucketId, }: UploadType) => Promise<void>;
|
|
13
11
|
};
|
|
14
12
|
export {};
|
package/dist/composables.js
CHANGED
|
@@ -6,7 +6,7 @@ import { u as d } from "./useMessageNotifications-BT84SOgI.js";
|
|
|
6
6
|
import { u as x, a as C } from "./useDownloads-C0V_Sjr9.js";
|
|
7
7
|
import { u as P } from "./useTableHandle-DaKaAKAH.js";
|
|
8
8
|
import { b as k, f as M, g as O, u as w, a as E, c as S, e as U, d as v, w as D } from "./useSEO-DT8VkGVt.js";
|
|
9
|
-
import { u as R } from "./useUploadCos-
|
|
9
|
+
import { u as R } from "./useUploadCos-EWMNJjRf.js";
|
|
10
10
|
export {
|
|
11
11
|
k as findActiveMenuPath,
|
|
12
12
|
M as findMenuPath,
|
package/dist/feedback.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-
|
|
1
|
+
import { _ as b, a as s, F as d, b as F, c, d as o, R as t } from "./FeedbackModal-BfDUEqAa.js";
|
|
2
2
|
import { C as r } from "./Clipboard-BAn3vQlX.js";
|
|
3
|
-
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-
|
|
3
|
+
import { F as m, a as n, c as f, b as i, d as p } from "./FeedbackItem-uW6HoVZA.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Clipboard,
|
|
6
6
|
b as FeedbackBubbleEnd,
|
package/dist/index.js
CHANGED
|
@@ -8,24 +8,24 @@ import { u as E3 } from "./useDownloads-C0V_Sjr9.js";
|
|
|
8
8
|
import { u as A3 } from "./useTableHandle-DaKaAKAH.js";
|
|
9
9
|
import { n as p2, h as I, U as f2, i as t2, V as h2, j as q, H as K, k as u2, v as _2 } from "./useSEO-DT8VkGVt.js";
|
|
10
10
|
import { b as b3, f as G3, g as D3, u as P3, a as T3, c as O3, e as B3, d as I3, w as $3 } from "./useSEO-DT8VkGVt.js";
|
|
11
|
-
import { u as W3 } from "./useUploadCos-
|
|
12
|
-
import { A as z3, a as j3, c as q3, b as K3, n as J3, E as Q3, k as X3, l as Y3, _ as e4, O as t4, _ as o4, O as s4, f as a4, o as i4, P as n4, j as r4, R as c4, S as l4, i as C4, m as d4, d as p4, e as f4, g as h4, h as u4, p as _4, u as g4 } from "./AuthkitAuthModal-
|
|
13
|
-
import { A as L4, a as y4, c as w4, d as F4, b as M4, b as k4, f as v4, e as x4 } from "./AuthkitSignInPhone-
|
|
11
|
+
import { u as W3 } from "./useUploadCos-EWMNJjRf.js";
|
|
12
|
+
import { A as z3, a as j3, c as q3, b as K3, n as J3, E as Q3, k as X3, l as Y3, _ as e4, O as t4, _ as o4, O as s4, f as a4, o as i4, P as n4, j as r4, R as c4, S as l4, i as C4, m as d4, d as p4, e as f4, g as h4, h as u4, p as _4, u as g4 } from "./AuthkitAuthModal-GorxR6ZJ.js";
|
|
13
|
+
import { A as L4, a as y4, c as w4, d as F4, b as M4, b as k4, f as v4, e as x4 } from "./AuthkitSignInPhone-CLW_u8AY.js";
|
|
14
14
|
import { I as Z4, A as V4, C as E4, _ as U4, a as A4, D as S4, E as b4, b as G4, M as D4, c as P4, N as T4, f as O4, d as B4, e as I4 } from "./MessageHandle-BlsLRmdj.js";
|
|
15
15
|
import { M as N4, a as W4 } from "./MessageMenu-_RZJ9Mbi.js";
|
|
16
|
-
import { _ as z4, a as j4, F as q4, b as K4, c as J4, d as Q4, R as X4 } from "./FeedbackModal-
|
|
16
|
+
import { _ as z4, a as j4, F as q4, b as K4, c as J4, d as Q4, R as X4 } from "./FeedbackModal-BfDUEqAa.js";
|
|
17
17
|
import { C as e6 } from "./Clipboard-BAn3vQlX.js";
|
|
18
|
-
import { F as o6, a as s6, c as a6, b as i6, d as n6 } from "./FeedbackItem-
|
|
18
|
+
import { F as o6, a as s6, c as a6, b as i6, d as n6 } from "./FeedbackItem-uW6HoVZA.js";
|
|
19
19
|
import { L as c6, a as l6, b as C6, c as d6, B as p6, C as f6, d as h6, e as u6, x as _6, y as g6, f as m6, g as L6, z as y6, h as w6, i as F6, j as M6, k as k6, l as v6, m as x6, n as H6, D as Z6, o as V6, p as E6, q as U6, r as A6, s as S6, T as b6, t as G6, A as D6, u as P6, v as T6, w as O6 } from "./LandingPageSectionTabs-DYNXKElT.js";
|
|
20
20
|
import { L as I6, a as $6, b as N6, c as W6, D as R6, d as z6, e as j6, f as q6, g as K6, h as J6, i as Q6, j as X6, k as Y6, l as e7, m as t7, n as o7 } from "./LandingPageSectionHeader-BU7Qtxaj.js";
|
|
21
|
-
import { A as a7, a as i7, C as n7, D as r7, G as c7, H as l7, b as C7, L as d7, S as p7, W as f7 } from "./WidthContainer-
|
|
21
|
+
import { A as a7, a as i7, C as n7, D as r7, G as c7, H as l7, b as C7, L as d7, S as p7, W as f7 } from "./WidthContainer-BPOjQcRc.js";
|
|
22
22
|
import { C as u7, a as _7 } from "./CollapseItem-Cw1vcdLu.js";
|
|
23
23
|
import { C as m7, E as L7 } from "./CustomTable-BCOwLyRJ.js";
|
|
24
24
|
import { M as w7, a as F7 } from "./Menu-BjWB9hre.js";
|
|
25
25
|
import { S as k7 } from "./PaySubscriptions-C9LA8ZeX.js";
|
|
26
26
|
import { R as x7 } from "./ReferrerReferees-CnYkGC5r.js";
|
|
27
|
-
import { _ as Z7 } from "./Upload.vue_vue_type_script_setup_true_lang-
|
|
28
|
-
import { d as E7, U as U7, a as A7, b as S7, c as b7, S as G7 } from "./UserAccountMenu-
|
|
27
|
+
import { _ as Z7 } from "./Upload.vue_vue_type_script_setup_true_lang-BkqyMwbd.js";
|
|
28
|
+
import { d as E7, U as U7, a as A7, b as S7, c as b7, S as G7 } from "./UserAccountMenu-CRvrcDGG.js";
|
|
29
29
|
import { defineComponent as V, computed as U, createElementBlock as L, openBlock as g, normalizeStyle as g2, normalizeClass as o2, createElementVNode as d, createCommentVNode as x, toDisplayString as k, createVNode as Z, unref as H, createTextVNode as s2, withModifiers as a2, renderSlot as m2, withCtx as W, Fragment as T, renderList as O, createBlock as G, onMounted as i2, ref as $, watch as L2, onUnmounted as y2, withDirectives as w2, createStaticVNode as F2, vShow as M2 } from "vue";
|
|
30
30
|
import { Icon as A } from "@iconify/vue";
|
|
31
31
|
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|