@huyooo/ui 0.10.3 → 0.10.7
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/AuthkitSignInPhone-BWPCpUie.js +3034 -0
- package/dist/{Clipboard-CMm8I4Rb.js → Clipboard-CK_nROjb.js} +1 -1
- package/dist/CollapseItem-DUzZA6tx.js +124 -0
- package/dist/{Contact-Dgn8_it4.js → Contact-CpHU1bJ7.js} +2 -2
- package/dist/{CustomTable-CVZ4mFzi.js → CustomTable-1W5byjgJ.js} +3 -2
- package/dist/FeedbackModal-qAJLL3V3.js +1535 -0
- package/dist/{LandingPageSectionTabs-Dv_xOLqR.js → LandingPageSectionTabs-B6ZVxR47.js} +1 -1
- package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-D109kT8_.js +1282 -0
- package/dist/{PaySubscriptions-W6GJ28uE.js → PaySubscriptions-C4Een__-.js} +17 -16
- package/dist/{ReferrerReferees-C5Sjn7aD.js → ReferrerReferees-DIassvGO.js} +8 -8
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-C4-In_x4.js → Upload.vue_vue_type_script_setup_true_lang-DA8VZBrl.js} +1 -1
- package/dist/UserAccountMenu-BIRTtjLb.js +266 -0
- package/dist/UserSubscriptionBaseInformation-BUs3qiHd.js +60 -0
- package/dist/WidthContainer-TXsvW1ut.js +673 -0
- package/dist/{apiClients-DJchWBAG.js → apiClients-ANEApCyY.js} +84 -75
- package/dist/authkit.d.ts +5 -6
- package/dist/authkit.js +43 -43
- package/dist/common.js +3 -3
- package/dist/components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue.d.ts +5 -5
- package/dist/components/Authkit/AuthkitAuthModal.vue.d.ts +13 -31
- package/dist/components/Feedback/FeedbackBubbleEnd.vue.d.ts +1 -1
- package/dist/components/Feedback/FeedbackBubbleStart.vue.d.ts +1 -1
- package/dist/components/User/UserButton.vue.d.ts +1 -36
- package/dist/components/User/UserPanel.vue.d.ts +26 -201
- package/dist/components/User/UserPanelItem.vue.d.ts +38 -0
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +34 -10
- package/dist/composables/Authkit/useAuthkitAuthModal.d.ts +22 -3
- package/dist/composables/Authkit/useLegalLinks.d.ts +34 -0
- package/dist/composables/Authkit/useOauth.d.ts +0 -1
- package/dist/composables.d.ts +3 -2
- package/dist/composables.js +27 -25
- package/dist/{useUploadCos-BO3W_uqs.js → cos-js-sdk-v5-BJ5AlBRu.js} +2232 -2469
- package/dist/feedback.js +15 -16
- package/dist/landingPage.js +1 -1
- package/dist/main.js +177 -177
- package/dist/message.js +9 -10
- package/dist/pay.js +1 -1
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-C3EHOtlk.js → useAuthkitAppsAuthPageInfo-Da2yJTT-.js} +1 -1
- package/dist/{useAuthkitCreateAndUpdate-CPkogY7K.js → useAuthkitCreateAndUpdate-BLs5vQOu.js} +1 -1
- package/dist/useAuthkitUsersProfile-Cx8NXjlt.js +186 -0
- package/dist/{useDownloads-COXmopbe.js → useDownloads-DT5W2af6.js} +1 -1
- package/dist/useLegalLinks-BIF45kUt.js +60 -0
- package/dist/{useMessageNotifications-SIM85vdb.js → useMessageNotifications-CavBmgO7.js} +1 -1
- package/dist/{useSEO-DeAU9YEc.js → useSEO-MPXQf0dn.js} +2 -2
- package/dist/{useTableHandle-CWu0LbeI.js → useTableHandle--NSbZ-57.js} +1 -1
- package/dist/useUploadCos-D6y0INvP.js +242 -0
- package/dist/user.d.ts +1 -0
- package/dist/user.js +9 -7
- package/dist/utils/legalLinks.d.ts +22 -0
- package/package.json +1 -1
- package/dist/AuthkitAuthModal-De0eEWOC.js +0 -2112
- package/dist/AuthkitSignInPhone-DEUVn3Rq.js +0 -920
- package/dist/CollapseItem-BAuejDBZ.js +0 -57
- package/dist/FeedbackItem-CRiLkWMh.js +0 -495
- package/dist/FeedbackModal-B8WLPCy_.js +0 -1053
- package/dist/MessageHandle-DpIUeQ7U.js +0 -1147
- package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-BbtfWRUD.js +0 -142
- package/dist/UserAccountMenu-OdwonGFa.js +0 -633
- package/dist/WidthContainer-Cpdc67hQ.js +0 -652
- package/dist/index-CUfrjRxu.js +0 -73
- package/dist/useAuthkitUsersProfile-BqW74gfs.js +0 -172
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { eden as
|
|
2
|
-
import { ref as
|
|
1
|
+
import { eden as n, defineMiddleware as u, createClient as g } from "@vafast/api-client";
|
|
2
|
+
import { ref as h, computed as p } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { Message as
|
|
5
|
-
const
|
|
6
|
-
function
|
|
4
|
+
import { Message as m } from "@arco-design/web-vue";
|
|
5
|
+
const P = h(void 0);
|
|
6
|
+
function U(e) {
|
|
7
7
|
var t, r;
|
|
8
8
|
return e === "system" ? typeof window < "u" && ((r = (t = window.matchMedia) == null ? void 0 : t.call(window, "(prefers-color-scheme: dark)")) != null && r.matches) ? "dark" : "light" : e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function v(e) {
|
|
11
11
|
typeof document > "u" || (e === "dark" ? (document.body.setAttribute("arco-theme", "dark"), document.body.classList.add("dark")) : (document.body.removeAttribute("arco-theme"), document.body.classList.remove("dark")));
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
|
|
13
|
+
function H(e) {
|
|
14
|
+
P.value = e, v(U(e));
|
|
15
15
|
}
|
|
16
16
|
let o = {
|
|
17
17
|
appId: "",
|
|
@@ -27,32 +27,32 @@ let o = {
|
|
|
27
27
|
bucket: "ones-1358549778",
|
|
28
28
|
region: "ap-beijing",
|
|
29
29
|
web3formsAccessKey: "72604aac-d55e-4df0-9bcf-31b2206b3753"
|
|
30
|
-
},
|
|
31
|
-
function
|
|
32
|
-
Object.assign(
|
|
33
|
-
}
|
|
34
|
-
function V(e) {
|
|
35
|
-
o.appId = e.appId, e.theme !== void 0 && (b.value = e.theme, P(m(e.theme))), o.authPrefixUrl = e.authPrefixUrl || "/authRestfulApi", e.onesPrefixUrl !== void 0 && (o.onesPrefixUrl = e.onesPrefixUrl), e.billingPrefixUrl !== void 0 && (o.billingPrefixUrl = e.billingPrefixUrl), e.logPrefixUrl !== void 0 && (o.logPrefixUrl = e.logPrefixUrl), e.aiPrefixUrl !== void 0 && (o.aiPrefixUrl = e.aiPrefixUrl), e.webhookPrefixUrl !== void 0 && (o.webhookPrefixUrl = e.webhookPrefixUrl), e.oauthCallbackUrl !== void 0 ? o.oauthCallbackUrl = e.oauthCallbackUrl : typeof window < "u" && (o.oauthCallbackUrl = `${window.location.origin}/auth/callback`), e.avatarBucketId !== void 0 && (o.avatarBucketId = e.avatarBucketId), e.feedbackBucketId !== void 0 && (o.feedbackBucketId = e.feedbackBucketId), e.bucket !== void 0 && (o.bucket = e.bucket), e.region !== void 0 && (o.region = e.region), e.web3formsAccessKey !== void 0 && (o.web3formsAccessKey = e.web3formsAccessKey);
|
|
36
|
-
}
|
|
37
|
-
function g(e) {
|
|
38
|
-
return s(e);
|
|
30
|
+
}, I = {};
|
|
31
|
+
function Q(e) {
|
|
32
|
+
Object.assign(I, e);
|
|
39
33
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
function I(e) {
|
|
44
|
-
return s(e);
|
|
34
|
+
function Y(e) {
|
|
35
|
+
o.appId = e.appId, e.theme !== void 0 && (P.value = e.theme, v(U(e.theme))), o.authPrefixUrl = e.authPrefixUrl || "/authRestfulApi", e.onesPrefixUrl !== void 0 && (o.onesPrefixUrl = e.onesPrefixUrl), e.billingPrefixUrl !== void 0 && (o.billingPrefixUrl = e.billingPrefixUrl), e.logPrefixUrl !== void 0 && (o.logPrefixUrl = e.logPrefixUrl), e.aiPrefixUrl !== void 0 && (o.aiPrefixUrl = e.aiPrefixUrl), e.webhookPrefixUrl !== void 0 && (o.webhookPrefixUrl = e.webhookPrefixUrl), e.oauthCallbackUrl !== void 0 ? o.oauthCallbackUrl = e.oauthCallbackUrl : typeof window < "u" && (o.oauthCallbackUrl = `${window.location.origin}/auth/callback`), e.avatarBucketId !== void 0 && (o.avatarBucketId = e.avatarBucketId), e.feedbackBucketId !== void 0 && (o.feedbackBucketId = e.feedbackBucketId), e.bucket !== void 0 && (o.bucket = e.bucket), e.region !== void 0 && (o.region = e.region), e.web3formsAccessKey !== void 0 && (o.web3formsAccessKey = e.web3formsAccessKey);
|
|
45
36
|
}
|
|
46
37
|
function A(e) {
|
|
47
|
-
return
|
|
38
|
+
return n(e);
|
|
48
39
|
}
|
|
49
40
|
function R(e) {
|
|
50
|
-
return
|
|
41
|
+
return n(e);
|
|
51
42
|
}
|
|
52
43
|
function E(e) {
|
|
53
|
-
return
|
|
44
|
+
return n(e);
|
|
45
|
+
}
|
|
46
|
+
function S(e) {
|
|
47
|
+
return n(e);
|
|
54
48
|
}
|
|
55
|
-
function
|
|
49
|
+
function j(e) {
|
|
50
|
+
return n(e);
|
|
51
|
+
}
|
|
52
|
+
function O(e) {
|
|
53
|
+
return n(e);
|
|
54
|
+
}
|
|
55
|
+
function Z(e, t = 3) {
|
|
56
56
|
const r = e.indexOf("@");
|
|
57
57
|
if (r > 1) {
|
|
58
58
|
const a = e.slice(0, t), i = e.slice(r);
|
|
@@ -60,38 +60,47 @@ function W(e, t = 3) {
|
|
|
60
60
|
}
|
|
61
61
|
return e;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function B() {
|
|
64
64
|
try {
|
|
65
65
|
localStorage.removeItem("jwtToken"), localStorage.removeItem("refreshToken");
|
|
66
66
|
} catch (e) {
|
|
67
67
|
console.warn("Failed to clear localStorage:", e);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function M() {
|
|
71
71
|
try {
|
|
72
72
|
return localStorage.getItem("refreshToken");
|
|
73
73
|
} catch (e) {
|
|
74
74
|
return console.warn("Failed to get refreshToken from localStorage:", e), null;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function $(e) {
|
|
78
78
|
try {
|
|
79
79
|
localStorage.setItem("jwtToken", e);
|
|
80
80
|
} catch (t) {
|
|
81
81
|
console.warn("Failed to update jwtToken in localStorage:", t);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
const
|
|
85
|
-
function
|
|
84
|
+
const k = h(!1), x = h("signIn");
|
|
85
|
+
function _(e) {
|
|
86
|
+
e != null && e.view && (x.value = e.view), k.value = !0;
|
|
87
|
+
}
|
|
88
|
+
function L() {
|
|
89
|
+
k.value = !1;
|
|
90
|
+
}
|
|
91
|
+
function D() {
|
|
86
92
|
return {
|
|
87
|
-
|
|
93
|
+
open: _,
|
|
94
|
+
close: L,
|
|
95
|
+
isOpen: p(() => k.value),
|
|
96
|
+
view: p(() => x.value)
|
|
88
97
|
};
|
|
89
98
|
}
|
|
90
|
-
const
|
|
99
|
+
const y = 40101, G = {
|
|
91
100
|
LOGIN_EXPIRED: "登录已过期,请重新登录"
|
|
92
101
|
};
|
|
93
|
-
let
|
|
94
|
-
function
|
|
102
|
+
let f = !1, d = [];
|
|
103
|
+
function b(e, t = null) {
|
|
95
104
|
d.forEach(({
|
|
96
105
|
resolve: r,
|
|
97
106
|
reject: a
|
|
@@ -99,8 +108,8 @@ function h(e, t = null) {
|
|
|
99
108
|
e ? a(e) : t && r(t);
|
|
100
109
|
}), d = [];
|
|
101
110
|
}
|
|
102
|
-
async function
|
|
103
|
-
const e =
|
|
111
|
+
async function K() {
|
|
112
|
+
const e = M();
|
|
104
113
|
if (!e)
|
|
105
114
|
throw new Error("No refresh token available");
|
|
106
115
|
try {
|
|
@@ -115,66 +124,66 @@ async function _() {
|
|
|
115
124
|
})
|
|
116
125
|
})).json();
|
|
117
126
|
if (r.jwtToken)
|
|
118
|
-
return
|
|
127
|
+
return $(r.jwtToken), r.refreshToken && localStorage.setItem("refreshToken", r.refreshToken), r.jwtToken;
|
|
119
128
|
throw new Error(r.message || "Token refresh failed");
|
|
120
129
|
} catch (t) {
|
|
121
130
|
throw console.error("Token refresh failed:", t), t;
|
|
122
131
|
}
|
|
123
132
|
}
|
|
124
|
-
const
|
|
133
|
+
const N = u(async (e, t) => (e.headers.set("app-id", o.appId), t()), {
|
|
125
134
|
name: "app-id"
|
|
126
|
-
}),
|
|
135
|
+
}), z = u(async (e, t) => {
|
|
127
136
|
const r = localStorage.getItem("jwtToken");
|
|
128
137
|
return r && e.headers.set("authorization", `Bearer ${r}`), t();
|
|
129
138
|
}, {
|
|
130
139
|
name: "token"
|
|
131
|
-
}),
|
|
140
|
+
}), F = u(async (e, t) => {
|
|
132
141
|
var a;
|
|
133
142
|
const r = await t();
|
|
134
|
-
if (((a = r.error) == null ? void 0 : a.code) ===
|
|
135
|
-
if (
|
|
143
|
+
if (((a = r.error) == null ? void 0 : a.code) === y) {
|
|
144
|
+
if (f)
|
|
136
145
|
return new Promise((i, c) => {
|
|
137
146
|
d.push({
|
|
138
|
-
resolve: async (
|
|
139
|
-
e.headers.set("authorization", `Bearer ${
|
|
140
|
-
const
|
|
141
|
-
i(
|
|
147
|
+
resolve: async (w) => {
|
|
148
|
+
e.headers.set("authorization", `Bearer ${w}`);
|
|
149
|
+
const T = await t();
|
|
150
|
+
i(T);
|
|
142
151
|
},
|
|
143
152
|
reject: () => {
|
|
144
153
|
c(r);
|
|
145
154
|
}
|
|
146
155
|
});
|
|
147
156
|
});
|
|
148
|
-
|
|
157
|
+
f = !0;
|
|
149
158
|
try {
|
|
150
|
-
const i = await
|
|
151
|
-
return
|
|
159
|
+
const i = await K();
|
|
160
|
+
return b(null, i), e.headers.set("authorization", `Bearer ${i}`), await t();
|
|
152
161
|
} catch (i) {
|
|
153
|
-
|
|
162
|
+
b(i, null), B();
|
|
154
163
|
const {
|
|
155
|
-
|
|
156
|
-
} =
|
|
157
|
-
return c
|
|
164
|
+
open: c
|
|
165
|
+
} = D();
|
|
166
|
+
return c(), m.error(G.LOGIN_EXPIRED), r;
|
|
158
167
|
} finally {
|
|
159
|
-
|
|
168
|
+
f = !1;
|
|
160
169
|
}
|
|
161
170
|
}
|
|
162
171
|
return r;
|
|
163
172
|
}, {
|
|
164
173
|
name: "token-refresh"
|
|
165
|
-
}),
|
|
174
|
+
}), X = u(async (e, t) => {
|
|
166
175
|
const r = await t();
|
|
167
|
-
return r.error && r.error.code !==
|
|
176
|
+
return r.error && r.error.code !== y && m.error(r.error.message || "请求失败"), r;
|
|
168
177
|
}, {
|
|
169
178
|
name: "error-message"
|
|
170
179
|
});
|
|
171
|
-
function
|
|
172
|
-
return
|
|
180
|
+
function l(e) {
|
|
181
|
+
return g({
|
|
173
182
|
baseURL: e,
|
|
174
183
|
timeout: 3e4
|
|
175
|
-
}).use(
|
|
184
|
+
}).use(N).use(z).use(F).use(X);
|
|
176
185
|
}
|
|
177
|
-
function
|
|
186
|
+
function s(e) {
|
|
178
187
|
let t = null;
|
|
179
188
|
return new Proxy({}, {
|
|
180
189
|
get(r, a) {
|
|
@@ -182,20 +191,20 @@ function l(e) {
|
|
|
182
191
|
}
|
|
183
192
|
});
|
|
184
193
|
}
|
|
185
|
-
const
|
|
194
|
+
const C = s(() => R(l(o.authPrefixUrl))), ee = s(() => E(l(o.billingPrefixUrl))), re = s(() => j(l(o.onesPrefixUrl))), te = s(() => S(l(o.logPrefixUrl))), oe = s(() => A(l(o.aiPrefixUrl))), ae = s(() => O(l(o.webhookPrefixUrl)));
|
|
186
195
|
export {
|
|
187
|
-
|
|
188
|
-
b,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
196
|
+
I as a,
|
|
197
|
+
P as b,
|
|
198
|
+
Q as c,
|
|
199
|
+
H as d,
|
|
200
|
+
C as e,
|
|
201
|
+
ee as f,
|
|
193
202
|
o as g,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
203
|
+
oe as h,
|
|
204
|
+
Z as i,
|
|
205
|
+
te as l,
|
|
206
|
+
re as o,
|
|
207
|
+
Y as s,
|
|
208
|
+
D as u,
|
|
209
|
+
ae as w
|
|
201
210
|
};
|
package/dist/authkit.d.ts
CHANGED
|
@@ -21,9 +21,6 @@ export { default as AuthkitBindPhone } from './components/Authkit/Auth/AuthkitBi
|
|
|
21
21
|
export { default as AuthkitSignUpPhone } from './components/Authkit/Auth/AuthkitSignUpPhone.vue';
|
|
22
22
|
export { default as AuthkitSignInPhone } from './components/Authkit/Auth/AuthkitSignInPhone.vue';
|
|
23
23
|
export { default as AuthkitServiceAgreementAndPrivacyProtection } from './components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue';
|
|
24
|
-
export { default as AuthkitOAuthItem } from './components/Authkit/Auth/AuthkitOauthItem.vue';
|
|
25
|
-
export { default as AuthkitOAuthList } from './components/Authkit/Auth/AuthkitOauthList.vue';
|
|
26
|
-
export { default as AuthkitOAuthCallback } from './components/Authkit/Auth/AuthkitOauthCallback.vue';
|
|
27
24
|
export { default as AuthkitPersonalInformation } from './components/Authkit/AppSetting/AuthkitPersonalInformation.vue';
|
|
28
25
|
export { default as AuthkitEmailVerify } from './components/Authkit/AppSetting/AuthkitEmailVerify.vue';
|
|
29
26
|
export { default as AuthkitGithubBinding } from './components/Authkit/AppSetting/AuthkitGithubBinding.vue';
|
|
@@ -31,10 +28,12 @@ export { default as AuthkitSetPassword } from './components/Authkit/AppSetting/A
|
|
|
31
28
|
export { default as AuthkitEmailBinding } from './components/Authkit/AppSetting/AuthkitEmailBinding.vue';
|
|
32
29
|
export { default as AuthkitPasswordUpdate } from './components/Authkit/AppSetting/AuthkitPasswordUpdate.vue';
|
|
33
30
|
export { useAuthkitAppsAuthPageInfo } from './composables/Authkit/useAuthkitAppsAuthPageInfo';
|
|
34
|
-
export { useAuthkitAuth } from './composables/Authkit/useAuthkitAuth';
|
|
35
|
-
export { useAuthkitAuthModal } from './composables/Authkit/useAuthkitAuthModal';
|
|
31
|
+
export { useAuthkitAuth, type SignInResult, } from './composables/Authkit/useAuthkitAuth';
|
|
32
|
+
export { useAuthkitAuthModal, type AuthModalView, type OpenAuthModalOptions, type UseAuthkitAuthModalReturn, } from './composables/Authkit/useAuthkitAuthModal';
|
|
33
|
+
export { useLegalLinks, type LegalLink, type UseLegalLinksReturn, } from './composables/Authkit/useLegalLinks';
|
|
36
34
|
export { useAuthkitUsersProfile } from './composables/Authkit/useAuthkitUsersProfile';
|
|
37
35
|
export { useAuthkitCreateAndUpdate } from './composables/Authkit/useAuthkitCreateAndUpdate';
|
|
38
|
-
export { useOauth
|
|
36
|
+
export { useOauth } from './composables/Authkit/useOauth';
|
|
37
|
+
export { LEGAL_DOCS, LEGAL_DOC_KEYS, buildLegalLinkUrl, type LegalDocKey } from './utils/legalLinks';
|
|
39
38
|
export type * from './types/auth';
|
|
40
39
|
export type { AppsData, PublicRoute } from './types/app';
|
package/dist/authkit.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { A as i, a as
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
1
|
+
import { A as i, a as s, b as u, c as h, d as A, e, f as k, g as r, E as n, h as o, i as d, _ as p, j as l, k as P, O as S, P as g, l as m, m as f, n as L, R as w, S as U, o as E, p as O, q as c, r as x, s as C, t as I, u as b, v as y, w as B } from "./AuthkitSignInPhone-BWPCpUie.js";
|
|
2
|
+
import { u as v } from "./useAuthkitAppsAuthPageInfo-Da2yJTT-.js";
|
|
3
|
+
import { u as R, a as V } from "./useAuthkitUsersProfile-Cx8NXjlt.js";
|
|
4
|
+
import { u as M } from "./apiClients-ANEApCyY.js";
|
|
5
|
+
import { L as q, a as z, b as K, u as T } from "./useLegalLinks-BIF45kUt.js";
|
|
6
|
+
import { u as F } from "./useAuthkitCreateAndUpdate-BLs5vQOu.js";
|
|
7
7
|
export {
|
|
8
8
|
i as AuthkitAppSetting,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
d as AuthkitOauthItem,
|
|
25
|
-
p as AuthkitOauthList,
|
|
26
|
-
f as AuthkitPasswordAuth,
|
|
9
|
+
s as AuthkitAuth,
|
|
10
|
+
u as AuthkitAuthContainer,
|
|
11
|
+
h as AuthkitAuthModal,
|
|
12
|
+
A as AuthkitAuthTitle,
|
|
13
|
+
e as AuthkitAuthorize,
|
|
14
|
+
k as AuthkitBindEmail,
|
|
15
|
+
r as AuthkitBindPhone,
|
|
16
|
+
n as AuthkitEmailBinding,
|
|
17
|
+
o as AuthkitEmailUpdate,
|
|
18
|
+
d as AuthkitEmailVerify,
|
|
19
|
+
p as AuthkitGithubBinding,
|
|
20
|
+
l as AuthkitOauthCallback,
|
|
21
|
+
P as AuthkitOauthItem,
|
|
22
|
+
S as AuthkitOauthList,
|
|
23
|
+
g as AuthkitPasswordAuth,
|
|
27
24
|
m as AuthkitPasswordUpdate,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
25
|
+
f as AuthkitPasswordUpdateAndVerify,
|
|
26
|
+
L as AuthkitPersonalInformation,
|
|
27
|
+
w as AuthkitResetPassword,
|
|
28
|
+
U as AuthkitSendVerifyCode,
|
|
29
|
+
E as AuthkitServiceAgreementAndPrivacyProtection,
|
|
30
|
+
O as AuthkitSetPassword,
|
|
31
|
+
c as AuthkitSignIn,
|
|
32
|
+
x as AuthkitSignInPhone,
|
|
33
|
+
C as AuthkitSignUp,
|
|
34
|
+
I as AuthkitSignUpPhone,
|
|
35
|
+
b as AuthkitSwitchSignIn,
|
|
36
|
+
y as AuthkitSwitchSignUpOrResetPassword,
|
|
37
|
+
q as LEGAL_DOCS,
|
|
38
|
+
z as LEGAL_DOC_KEYS,
|
|
39
|
+
K as buildLegalLinkUrl,
|
|
40
|
+
v as useAuthkitAppsAuthPageInfo,
|
|
41
|
+
R as useAuthkitAuth,
|
|
42
|
+
M as useAuthkitAuthModal,
|
|
43
|
+
F as useAuthkitCreateAndUpdate,
|
|
44
|
+
V as useAuthkitUsersProfile,
|
|
45
|
+
T as useLegalLinks,
|
|
46
|
+
B as useOauth
|
|
47
47
|
};
|
package/dist/common.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-
|
|
2
|
-
import { C as d, a as f } from "./CollapseItem-
|
|
3
|
-
import { C as x, E as b } from "./CustomTable-
|
|
1
|
+
import { A as s, a as o, C as r, D as t, G as p, H as n, b as l, S as m, W as u } from "./WidthContainer-TXsvW1ut.js";
|
|
2
|
+
import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
|
|
3
|
+
import { C as x, E as b } from "./CustomTable-1W5byjgJ.js";
|
|
4
4
|
import { L } from "./Logo-D7fyXyB-.js";
|
|
5
5
|
import { M as g, a as A } from "./Menu-Cy2ZPeaz.js";
|
|
6
6
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
toUserServiceAgreement: (
|
|
3
|
-
toPrivacyPolicy: (
|
|
2
|
+
toUserServiceAgreement: () => any;
|
|
3
|
+
toPrivacyPolicy: () => any;
|
|
4
4
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
-
onToUserServiceAgreement?: ((
|
|
6
|
-
onToPrivacyPolicy?: ((
|
|
7
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
5
|
+
onToUserServiceAgreement?: (() => any) | undefined;
|
|
6
|
+
onToPrivacyPolicy?: (() => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -1,34 +1,16 @@
|
|
|
1
1
|
import { FormSizeType } from '../../types/auth';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
confirm: (...args: any[]) => void;
|
|
14
|
-
close: (...args: any[]) => void;
|
|
15
|
-
toUserServiceAgreement: (...args: any[]) => void;
|
|
16
|
-
toPrivacyPolicy: (...args: any[]) => void;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
-
size: {
|
|
19
|
-
type: PropType<FormSizeType>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
appId: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: () => string;
|
|
25
|
-
};
|
|
26
|
-
}>> & Readonly<{
|
|
27
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
onToUserServiceAgreement?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
onToPrivacyPolicy?: ((...args: any[]) => any) | undefined;
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
size?: FormSizeType;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
close: () => any;
|
|
7
|
+
toUserServiceAgreement: () => any;
|
|
8
|
+
toPrivacyPolicy: () => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onClose?: (() => any) | undefined;
|
|
11
|
+
onToUserServiceAgreement?: (() => any) | undefined;
|
|
12
|
+
onToPrivacyPolicy?: (() => any) | undefined;
|
|
31
13
|
}>, {
|
|
32
|
-
|
|
33
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
14
|
+
size: FormSizeType;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
34
16
|
export default _default;
|
|
@@ -62,8 +62,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
62
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
}>, {
|
|
64
64
|
value: string;
|
|
65
|
-
avatarUrl: string;
|
|
66
65
|
type: string;
|
|
66
|
+
avatarUrl: string;
|
|
67
67
|
bubbleStyle: Record<string, any>;
|
|
68
68
|
showRefresh: boolean;
|
|
69
69
|
showClipboard: boolean;
|
|
@@ -54,8 +54,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
54
54
|
"onFooter-click"?: ((...args: any[]) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
56
|
value: string;
|
|
57
|
-
avatarUrl: string;
|
|
58
57
|
type: string;
|
|
58
|
+
avatarUrl: string;
|
|
59
59
|
bubbleStyle: Record<string, any>;
|
|
60
60
|
showClipboard: boolean;
|
|
61
61
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,37 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
position?: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
|
|
3
|
-
dropdownOffsetX?: string;
|
|
4
|
-
dropdownOffsetY?: string;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_PublicProps = {
|
|
7
|
-
modelValue?: boolean;
|
|
8
|
-
} & __VLS_Props;
|
|
9
|
-
declare function __VLS_template(): {
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
|
-
slots: {
|
|
12
|
-
DoptionList?(_: {}): any;
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
rootEl: any;
|
|
16
|
-
};
|
|
17
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
-
enterSystem: (...args: any[]) => void;
|
|
20
|
-
toSignIn: (...args: any[]) => void;
|
|
21
|
-
"update:modelValue": (value: boolean) => void;
|
|
22
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
23
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
24
|
-
onEnterSystem?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
onToSignIn?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
}>, {
|
|
27
|
-
position: "tl" | "tr" | "bl" | "br" | "top" | "bottom" | "left" | "right" | "lt" | "lb" | "rt" | "rb";
|
|
28
|
-
dropdownOffsetX: string;
|
|
29
|
-
dropdownOffsetY: string;
|
|
30
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
2
|
export default _default;
|
|
33
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
-
new (): {
|
|
35
|
-
$slots: S;
|
|
36
|
-
};
|
|
37
|
-
};
|