@huyooo/ui 0.4.72 → 0.4.74
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-CX3_9Jcg.js → AuthkitAuthModal-A8HqP1Bw.js} +1441 -1439
- package/dist/{AuthkitAuthorize-CA0jmnjq.js → AuthkitAuthorize-BlEC4PlY.js} +1 -1
- package/dist/{FeedbackItem-C5WqFEqH.js → FeedbackItem-B_EUApFA.js} +1 -1
- package/dist/{FeedbackModal-BDPw2tu7.js → FeedbackModal-D1htK7xY.js} +34 -33
- package/dist/{MessageHandle-BelPivb3.js → MessageHandle-DkNum5-u.js} +3 -2
- package/dist/UserAccountMenu-C7LQIjwT.js +610 -0
- package/dist/authkit.js +3 -3
- package/dist/common.d.ts +0 -14
- package/dist/common.js +13 -37
- package/dist/components/Authkit/Auth/AuthkitAuthContainer.vue.d.ts +1 -1
- package/dist/components/Authkit/Auth/AuthkitAuthorize.vue.d.ts +1 -1
- package/dist/components/Authkit/Auth/AuthkitOAuthItem.vue.d.ts +1 -1
- package/dist/components/Authkit/AuthkitAuthModal.vue.d.ts +4 -4
- package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +1 -1
- package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +1 -1
- package/dist/components/Gradientbackground.vue.d.ts +1 -1
- package/dist/components/LandingPage/LandingPageContact.vue.d.ts +2 -2
- package/dist/components/User/UserBasicInformation.vue.d.ts +1 -1
- package/dist/components/User/UserPanel.vue.d.ts +6 -6
- package/dist/composables.d.ts +2 -2
- package/dist/composables.js +21 -35
- package/dist/feedback.js +2 -2
- package/dist/index.js +154 -159
- package/dist/main.d.ts +1 -4
- package/dist/message.js +1 -1
- package/dist/pay.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAuthkitAuthModal-hxivJw_U.js → useAuthkitAppsAuthPageInfo-COeq29Tn.js} +13 -13
- package/dist/user.js +6 -7
- package/dist/viewTransitions-C-ZLwiJ0.js +55 -0
- package/package.json +1 -1
- package/dist/UserAccountMenu-BD8F9vEK.js +0 -40
- package/dist/UserPanel-CaaTu1mu.js +0 -576
- package/dist/useActiveDoc-BWHkOJhJ.js +0 -39
- /package/dist/{PaySubscriptions-BRWvLeed.js → PaySubscriptions-l6VlqvBy.js} +0 -0
- /package/dist/{ReferrerReferees-BVj9o5kG.js → ReferrerReferees-BclAtmgX.js} +0 -0
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { ref as t } from "vue";
|
|
2
2
|
import { api as i } from "@huyooo/api";
|
|
3
3
|
import { g as r } from "./globalConfig-DZIhLe1R.js";
|
|
4
|
-
|
|
4
|
+
const l = t(!1);
|
|
5
|
+
function f() {
|
|
6
|
+
return {
|
|
7
|
+
show: l
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
function g(a) {
|
|
5
11
|
return i({
|
|
6
12
|
url: `${r.authPrefixUrl}/restfulApi/apps/findOne`,
|
|
7
13
|
method: "post",
|
|
8
14
|
data: a
|
|
9
15
|
});
|
|
10
16
|
}
|
|
11
|
-
function
|
|
17
|
+
function p() {
|
|
12
18
|
return i({
|
|
13
19
|
url: `${r.authPrefixUrl}/restfulApi/apps/authPageInfo`,
|
|
14
20
|
method: "post"
|
|
@@ -86,9 +92,9 @@ const o = t({
|
|
|
86
92
|
backgroundImage: "/66a0d5b35203890887f0e1a4/6714e2458fe86895bf3da8ae/1ef8ed72-1731-6e00-93d1-fa24165f1a3e.webp"
|
|
87
93
|
}
|
|
88
94
|
});
|
|
89
|
-
function
|
|
95
|
+
function h() {
|
|
90
96
|
function a(n) {
|
|
91
|
-
|
|
97
|
+
p().then(({
|
|
92
98
|
data: e
|
|
93
99
|
}) => {
|
|
94
100
|
o.value.id = e.id, o.value.appKey = e.appKey, o.value.name = e.name, o.value.description = e.description, o.value.homePageUrl = e.homePageUrl, o.value.applicationLogo = e.applicationLogo, o.value.applicationLogoUrl = e.applicationLogoUrl, o.value.oauth = e.oauth, o.value.authorizationCallback = e.authorizationCallback, o.value.aboutUs = e.aboutUs, o.value.brand = e.brand, n && n();
|
|
@@ -101,14 +107,8 @@ function g() {
|
|
|
101
107
|
appsAuthPageInfoApi: a
|
|
102
108
|
};
|
|
103
109
|
}
|
|
104
|
-
const p = t(!1);
|
|
105
|
-
function h() {
|
|
106
|
-
return {
|
|
107
|
-
show: p
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
110
|
export {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
h as U,
|
|
112
|
+
g as a,
|
|
113
|
+
f as u
|
|
114
114
|
};
|
package/dist/user.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { U as c } from "./UserAccountMenu-BD8F9vEK.js";
|
|
1
|
+
import { d as r, U as e, a as n, b as o, c as t, S as U } from "./UserAccountMenu-C7LQIjwT.js";
|
|
3
2
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
r as UserAccountMenu,
|
|
4
|
+
e as UserAvatar,
|
|
5
|
+
n as UserBasicInformation,
|
|
7
6
|
o as UserButton,
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
t as UserPanel,
|
|
8
|
+
U as UserSubscriptionBaseInformation
|
|
10
9
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { Message as u } from "@arco-design/web-vue";
|
|
4
|
+
import { ref as s } from "vue";
|
|
5
|
+
function y(e) {
|
|
6
|
+
const t = s(!1), n = s(), o = s(!1), a = s(""), i = s("");
|
|
7
|
+
function l(r) {
|
|
8
|
+
u.success(r), o.value = !1, t.value = !1, e("confirm");
|
|
9
|
+
}
|
|
10
|
+
function f() {
|
|
11
|
+
o.value = !1, console.log("handleClose"), e("cancel");
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
loading: t,
|
|
15
|
+
formRef: n,
|
|
16
|
+
submitSuccess: l,
|
|
17
|
+
modelType: a,
|
|
18
|
+
changeType: i,
|
|
19
|
+
show: o,
|
|
20
|
+
handleCancel: f
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
const c = s({
|
|
24
|
+
key: "",
|
|
25
|
+
name: ""
|
|
26
|
+
});
|
|
27
|
+
function h() {
|
|
28
|
+
function e(t, n) {
|
|
29
|
+
c.value.key = t, c.value.name = n;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
activeDoc: c,
|
|
33
|
+
setActiveDoc: e
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function w(e, t = "default") {
|
|
37
|
+
const n = document;
|
|
38
|
+
if (n && typeof n.startViewTransition == "function") {
|
|
39
|
+
const o = document.body;
|
|
40
|
+
o.classList.add(`vt-${t}`), n.startViewTransition(() => {
|
|
41
|
+
try {
|
|
42
|
+
e();
|
|
43
|
+
} catch {
|
|
44
|
+
}
|
|
45
|
+
}).finished.finally(() => {
|
|
46
|
+
o.classList.remove(`vt-${t}`);
|
|
47
|
+
});
|
|
48
|
+
} else
|
|
49
|
+
e();
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
h as a,
|
|
53
|
+
y as u,
|
|
54
|
+
w
|
|
55
|
+
};
|
package/package.json
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
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-DNOB_Kuk.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
|
-
};
|