@huyooo/ui 0.4.89 → 0.5.0
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-CIbwFN8S.js → AuthkitAuthModal-cEi5Hm14.js} +13 -15
- package/dist/{useAuthkitAppsAuthPageInfo-Ria0l-Pk.js → AuthkitAuthModal.vue_vue_type_style_index_1_lang-B-QKS_BT.js} +9 -8
- package/dist/{AuthkitAuthorize-RvYEB3VO.js → AuthkitAuthorize-DksJZktr.js} +9 -8
- package/dist/{Clipboard-Bful1lNJ.js → Clipboard-CGm0G1dN.js} +1 -1
- package/dist/{CustomTable-JflAYS8i.js → CustomTable-kfI18phy.js} +16 -17
- package/dist/{FeedbackItem-B_EUApFA.js → FeedbackItem-Day3rfSw.js} +14 -15
- package/dist/{FeedbackModal-D1htK7xY.js → FeedbackModal-CsRXm-MY.js} +8 -11
- package/dist/{Menu-Cxo8Rpu3.js → Menu-BKBnsDJ8.js} +6 -5
- package/dist/{MessageHandle-DkNum5-u.js → MessageHandle-DqH_478k.js} +18 -20
- package/dist/{PaySubscriptions-l6VlqvBy.js → PaySubscriptions-Dp8y1fdJ.js} +10 -11
- package/dist/{ReferrerReferees-BclAtmgX.js → ReferrerReferees-xIXZglpy.js} +19 -20
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-CDyUt05d.js → Upload.vue_vue_type_script_setup_true_lang-CxGZSDoo.js} +10 -11
- package/dist/UserAccountMenu-DD3zoOBd.js +40 -0
- package/dist/UserPanel-C1NGdsFk.js +580 -0
- package/dist/WidthContainer-D9JWjdkk.js +376 -0
- package/dist/authkit.d.ts +1 -0
- package/dist/authkit.js +4 -4
- package/dist/common.d.ts +2 -0
- package/dist/common.js +14 -12
- package/dist/components/DefaultLayout.vue.d.ts +9 -0
- package/dist/components/Header.vue.d.ts +9 -0
- package/dist/composables/Authkit/useAuthMenu.d.ts +13 -0
- package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +24 -65
- package/dist/composables/Authkit/useRoutePermission.d.ts +5 -0
- package/dist/composables.d.ts +2 -0
- package/dist/composables.js +19 -15
- package/dist/feedback.js +3 -3
- package/dist/index.js +180 -173
- 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/styles.d.ts +0 -1
- package/dist/types/app.d.ts +54 -0
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitUsersProfile-DNOB_Kuk.js → useAuthkitUsersProfile-D2UZf7n0.js} +1 -1
- package/dist/useDownloads-CHe228Vf.js +87 -0
- package/dist/{useMessageNotifications-DOH1MS61.js → useMessageNotifications-BahKMcby.js} +1 -1
- package/dist/useRoutePermission-Uxu5S3m1.js +119 -0
- package/dist/{useUploadCos-B5P_PDcy.js → useUploadCos-DNKp_9xt.js} +2 -2
- package/dist/user.js +7 -6
- package/package.json +3 -2
- package/dist/UserAccountMenu-BR-ms1Pp.js +0 -615
- package/dist/WidthContainer-CfR77puD.js +0 -263
- package/dist/useDownloads-BkDo_wOR.js +0 -103
- /package/dist/{globalConfig-DZIhLe1R.js → index-DZIhLe1R.js} +0 -0
- /package/dist/{_commonjsHelpers-DaMA6jEr.js → index-DaMA6jEr.js} +0 -0
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
+
import { g as z } from "./index-DZIhLe1R.js";
|
|
2
3
|
/* empty css */
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { api as U } from "@huyooo/api";
|
|
7
|
-
import { g as y } from "./globalConfig-DZIhLe1R.js";
|
|
4
|
+
import { defineComponent as A, ref as d, createBlock as v, openBlock as g, unref as a, withCtx as _, createElementVNode as n, createVNode as V, createCommentVNode as w, toDisplayString as C, createTextVNode as T } from "vue";
|
|
5
|
+
import { Modal as U } from "@arco-design/web-vue";
|
|
6
|
+
import { api as y } from "@huyooo/api";
|
|
8
7
|
import { u as B } from "./useTableHandle-DKUIdSSh.js";
|
|
9
|
-
import { C as D } from "./CustomTable-
|
|
10
|
-
import { C as E } from "./Clipboard-
|
|
11
|
-
import { a as H } from "./useAuthkitUsersProfile-
|
|
8
|
+
import { C as D } from "./CustomTable-kfI18phy.js";
|
|
9
|
+
import { C as E } from "./Clipboard-CGm0G1dN.js";
|
|
10
|
+
import { a as H } from "./useAuthkitUsersProfile-D2UZf7n0.js";
|
|
12
11
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
12
|
function $(f) {
|
|
14
|
-
return
|
|
15
|
-
url: `${
|
|
13
|
+
return y({
|
|
14
|
+
url: `${z.prefixUrl}/restfulApi/referrer/referees`,
|
|
16
15
|
method: "post",
|
|
17
16
|
data: f
|
|
18
17
|
});
|
|
@@ -21,7 +20,7 @@ const j = {
|
|
|
21
20
|
class: "invite-code-section"
|
|
22
21
|
}, q = {
|
|
23
22
|
class: "invite-code-value"
|
|
24
|
-
}, F = /* @__PURE__ */
|
|
23
|
+
}, F = /* @__PURE__ */ A({
|
|
25
24
|
__name: "ReferrerReferees",
|
|
26
25
|
emits: ["cancel"],
|
|
27
26
|
setup(f, {
|
|
@@ -74,9 +73,9 @@ const j = {
|
|
|
74
73
|
}
|
|
75
74
|
return h({
|
|
76
75
|
setData: P
|
|
77
|
-
}), (e,
|
|
76
|
+
}), (e, l) => (g(), v(a(U), {
|
|
78
77
|
visible: r.value,
|
|
79
|
-
"onUpdate:visible":
|
|
78
|
+
"onUpdate:visible": l[0] || (l[0] = (i) => r.value = i),
|
|
80
79
|
title: "被邀请人详情",
|
|
81
80
|
width: "60%",
|
|
82
81
|
"ok-loading": o.value,
|
|
@@ -86,14 +85,14 @@ const j = {
|
|
|
86
85
|
onCancel: N
|
|
87
86
|
}, {
|
|
88
87
|
default: _(() => {
|
|
89
|
-
var
|
|
90
|
-
return [n("div", j, [
|
|
88
|
+
var i, p;
|
|
89
|
+
return [n("div", j, [l[1] || (l[1] = n("div", {
|
|
91
90
|
class: "invite-code-label"
|
|
92
|
-
}, "我的邀请码:", -1)), n("div", q, [n("span", null, C(((
|
|
91
|
+
}, "我的邀请码:", -1)), n("div", q, [n("span", null, C(((i = a(s)) == null ? void 0 : i.referrerId) || "-"), 1), (p = a(s)) != null && p.referrerId ? (g(), v(E, {
|
|
93
92
|
key: 0,
|
|
94
93
|
value: a(s).referrerId,
|
|
95
94
|
message: "邀请码复制成功"
|
|
96
|
-
}, null, 8, ["value"])) :
|
|
95
|
+
}, null, 8, ["value"])) : w("", !0)])]), V(D, {
|
|
97
96
|
columns: k,
|
|
98
97
|
data: a(c),
|
|
99
98
|
loading: o.value,
|
|
@@ -103,14 +102,14 @@ const j = {
|
|
|
103
102
|
}, {
|
|
104
103
|
email: _(({
|
|
105
104
|
record: R
|
|
106
|
-
}) => [
|
|
105
|
+
}) => [T(C(R.refereeInfo.email || "-"), 1)]),
|
|
107
106
|
_: 1
|
|
108
107
|
}, 8, ["data", "loading", "pagination"])];
|
|
109
108
|
}),
|
|
110
109
|
_: 1
|
|
111
110
|
}, 8, ["visible", "ok-loading"]));
|
|
112
111
|
}
|
|
113
|
-
}),
|
|
112
|
+
}), te = /* @__PURE__ */ M(F, [["__scopeId", "data-v-122fc8d6"]]);
|
|
114
113
|
export {
|
|
115
|
-
|
|
114
|
+
te as R
|
|
116
115
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
+
import { g as u } from "./index-DZIhLe1R.js";
|
|
3
|
+
import "./index-DaMA6jEr.js";
|
|
2
4
|
/* empty css */
|
|
3
5
|
/* empty css */
|
|
4
|
-
|
|
5
|
-
/* empty css */
|
|
6
|
-
import { defineComponent as q, createBlock as y, openBlock as F, unref as S, mergeProps as h, createSlots as C, withCtx as u, renderSlot as p } from "vue";
|
|
6
|
+
import { defineComponent as q, createBlock as y, openBlock as F, unref as S, mergeProps as h, createSlots as C, withCtx as l, renderSlot as p } from "vue";
|
|
7
7
|
import { Upload as I } from "@arco-design/web-vue";
|
|
8
|
-
import { u as _ } from "./useUploadCos-
|
|
9
|
-
|
|
10
|
-
const O = /* @__PURE__ */ q({
|
|
8
|
+
import { u as _ } from "./useUploadCos-DNKp_9xt.js";
|
|
9
|
+
const N = /* @__PURE__ */ q({
|
|
11
10
|
__name: "Upload",
|
|
12
11
|
props: {
|
|
13
12
|
options: {
|
|
@@ -22,12 +21,12 @@ const O = /* @__PURE__ */ q({
|
|
|
22
21
|
bucket: {
|
|
23
22
|
type: String,
|
|
24
23
|
required: !1,
|
|
25
|
-
default: () =>
|
|
24
|
+
default: () => u.bucket
|
|
26
25
|
},
|
|
27
26
|
region: {
|
|
28
27
|
type: String,
|
|
29
28
|
required: !1,
|
|
30
|
-
default: () =>
|
|
29
|
+
default: () => u.region
|
|
31
30
|
}
|
|
32
31
|
},
|
|
33
32
|
emits: ["progress", "fileFinish", "fail"],
|
|
@@ -74,15 +73,15 @@ const O = /* @__PURE__ */ q({
|
|
|
74
73
|
_: 2
|
|
75
74
|
}, [e.$slots["upload-button"] ? {
|
|
76
75
|
name: "upload-button",
|
|
77
|
-
fn:
|
|
76
|
+
fn: l(() => [p(e.$slots, "upload-button")]),
|
|
78
77
|
key: "0"
|
|
79
78
|
} : void 0, e.$slots["upload-item"] ? {
|
|
80
79
|
name: "upload-item",
|
|
81
|
-
fn:
|
|
80
|
+
fn: l(() => [p(e.$slots, "upload-item")]),
|
|
82
81
|
key: "1"
|
|
83
82
|
} : void 0]), 1040));
|
|
84
83
|
}
|
|
85
84
|
});
|
|
86
85
|
export {
|
|
87
|
-
|
|
86
|
+
N as _
|
|
88
87
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as _, createElementBlock as d, openBlock as m, createElementVNode as e, renderSlot as u, toDisplayString as r, unref as o, createVNode as p } from "vue";
|
|
2
|
+
import { Icon as f } from "@iconify/vue";
|
|
3
|
+
import { a as v } from "./useAuthkitUsersProfile-D2UZf7n0.js";
|
|
4
|
+
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const k = {
|
|
6
|
+
class: "UserAccountMenu"
|
|
7
|
+
}, w = {
|
|
8
|
+
class: "avatar"
|
|
9
|
+
}, A = {
|
|
10
|
+
class: "meta"
|
|
11
|
+
}, C = {
|
|
12
|
+
class: "name"
|
|
13
|
+
}, U = {
|
|
14
|
+
class: "email"
|
|
15
|
+
}, M = /* @__PURE__ */ _({
|
|
16
|
+
__name: "UserAccountMenu",
|
|
17
|
+
emits: ["arrowClick"],
|
|
18
|
+
setup(x, {
|
|
19
|
+
emit: n
|
|
20
|
+
}) {
|
|
21
|
+
const {
|
|
22
|
+
userProfile: t
|
|
23
|
+
} = v(), i = n;
|
|
24
|
+
function a() {
|
|
25
|
+
i("arrowClick");
|
|
26
|
+
}
|
|
27
|
+
return (l, B) => {
|
|
28
|
+
var s, c;
|
|
29
|
+
return m(), d("div", k, [e("div", w, [u(l.$slots, "avatar", {}, void 0, !0)]), e("div", A, [e("div", C, r(((s = o(t)) == null ? void 0 : s.nickname) || ""), 1), e("div", U, r(((c = o(t)) == null ? void 0 : c.email) || ""), 1)]), e("div", {
|
|
30
|
+
class: "arrow",
|
|
31
|
+
onClick: a
|
|
32
|
+
}, [p(o(f), {
|
|
33
|
+
icon: "lucide:chevrons-up-down"
|
|
34
|
+
})])]);
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
}), S = /* @__PURE__ */ h(M, [["__scopeId", "data-v-b801e222"]]);
|
|
38
|
+
export {
|
|
39
|
+
S as U
|
|
40
|
+
};
|