@huyooo/ui 1.0.3 → 1.0.5
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-BN8-xgNq.js +2674 -0
- package/dist/{Contact-M6iyuyNL.js → Contact-BWuVR9ho.js} +105 -113
- package/dist/CustomTable-BzGfaAVH.js +276 -0
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-B9BqGWm8.js +1480 -0
- package/dist/LandingPageDescription-BczWZHKy.js +12 -0
- package/dist/{LandingPageLinkGroup-DDNRivMt.js → LandingPageLinkGroup-BZJ48Yss.js} +87 -88
- package/dist/{LandingPageFAQ-CZJXvor9.js → LandingPageSectionHeader-3hiuw6G0.js} +44 -25
- package/dist/{LandingPageSectionTabs-Ce3_Rc2L.js → LandingPageSectionTabs-jRjkWlM-.js} +475 -375
- package/dist/LegalDocViewer-DM8FYBpf.js +2501 -0
- package/dist/Menu-uCexrsKP.js +199 -0
- package/dist/MessageHandle-mEkCsv9e.js +1173 -0
- package/dist/MessageList-Ce-_LNTk.js +244 -0
- package/dist/PaySubscriptions-CXkEjqr2.js +1326 -0
- package/dist/PricingPlans-CV97ck9p.js +427 -0
- package/dist/ReferrerReferees-DgygiIiE.js +237 -0
- package/dist/{Upload.vue_vue_type_script_setup_true_lang-B6NOZjK0.js → Upload.vue_vue_type_script_setup_true_lang-VGh2V4o0.js} +1 -1
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-zgjpFVln.js +592 -0
- package/dist/WidthContainer-PeWkCK0p.js +721 -0
- package/dist/{apiClients-DrGX2iJy.js → apiClients-BcXOLuYu.js} +131 -98
- package/dist/authkit.d.ts +6 -2
- package/dist/authkit.js +53 -44
- package/dist/common/authProviderIcons.d.ts +12 -0
- package/dist/common/globalConfig.d.ts +5 -0
- package/dist/common/tableColumnWidths.d.ts +11 -0
- package/dist/common.js +3 -3
- package/dist/components/AuthProviderIcon.vue.d.ts +12 -0
- package/dist/components/Authkit/AppSetting/AuthkitEmailVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/AppSetting/AuthkitOAuthBinding.vue.d.ts +2 -1
- package/dist/components/Authkit/AppSetting/AuthkitPasskeyBinding.vue.d.ts +14 -0
- package/dist/components/Authkit/AppSetting/AuthkitPasswordUpdate.vue.d.ts +11 -1
- package/dist/components/Authkit/AppSetting/AuthkitPersonalInformation.vue.d.ts +1 -3
- package/dist/components/Authkit/AppSetting/AuthkitPhoneVerify.vue.d.ts +13 -3
- package/dist/components/Authkit/Auth/AuthkitBindEmail.vue.d.ts +29 -2
- package/dist/components/Authkit/Auth/AuthkitBindPhone.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitEmailUpdate.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitOauthItem.vue.d.ts +37 -9
- package/dist/components/Authkit/Auth/AuthkitOauthList.vue.d.ts +7 -11
- package/dist/components/Authkit/Auth/AuthkitPasswordUpdateAndVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitPhonePasswordUpdateAndVerify.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitServiceAgreementAndPrivacyProtection.vue.d.ts +11 -7
- package/dist/components/Authkit/Auth/AuthkitSignInEmailCode.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitSignInPhone.vue.d.ts +3 -62
- package/dist/components/Authkit/Auth/AuthkitSignUpPhone.vue.d.ts +2 -2
- package/dist/components/Authkit/Auth/AuthkitSwitchSignUpOrResetPassword.vue.d.ts +9 -0
- package/dist/components/Authkit/AuthkitAuth.vue.d.ts +2 -8
- package/dist/components/Authkit/AuthkitAuthModal.vue.d.ts +0 -4
- package/dist/components/Authkit/AuthkitProvider.vue.d.ts +5 -2
- package/dist/components/Authkit/AuthkitSendVerifyCode.vue.d.ts +2 -1
- package/dist/components/CustomTable.vue.d.ts +27 -1
- package/dist/components/Ellipsis.vue.d.ts +2 -6
- package/dist/components/Feedback/FeedbackList.vue.d.ts +4 -1
- package/dist/components/Gradientbackground.vue.d.ts +2 -2
- package/dist/components/HeaderMenus.vue.d.ts +4 -1
- package/dist/components/InfiniteLoading.vue.d.ts +1 -1
- package/dist/components/LandingPage/LandingPageButton.vue.d.ts +2 -2
- package/dist/components/LandingPage/LandingPageContainer.vue.d.ts +2 -2
- package/dist/components/LandingPage/LandingPageFeaturePanels.vue.d.ts +19 -0
- package/dist/components/LandingPage/LandingPageHero.vue.d.ts +9 -0
- package/dist/components/LandingPage/LandingPagePageContent.vue.d.ts +2 -2
- package/dist/components/LandingPage/LandingPageSectionHeader.vue.d.ts +1 -14
- package/dist/components/LandingPage/LandingPageSections.vue.d.ts +1 -1
- package/dist/components/LegalDoc/LegalDocViewer.vue.d.ts +7 -0
- package/dist/components/Menu.vue.d.ts +2 -1
- package/dist/components/MenuItem.vue.d.ts +3 -1
- package/dist/components/Message/MessageAppMessage.vue.d.ts +12 -2
- package/dist/components/Message/MessageDetails.vue.d.ts +9 -161
- package/dist/components/Message/MessageHandle.vue.d.ts +16 -4
- package/dist/components/Message/MessageList.vue.d.ts +4 -3
- package/dist/components/Message/MessageNotificationDetails.vue.d.ts +13 -0
- package/dist/components/Message/messageBody/DescriptionsMessageBody.vue.d.ts +3 -0
- package/dist/components/Message/messageBody/JsonMessageBodyFallback.vue.d.ts +3 -0
- package/dist/components/Message/messageBody/TextMessageBody.vue.d.ts +3 -0
- package/dist/components/Message/messageBody/descriptionRows.d.ts +14 -0
- package/dist/components/Message/messageBody/descriptionsMessageBody.d.ts +32 -0
- package/dist/components/Message/messageBody/descriptionsValueRender.d.ts +4 -0
- package/dist/components/Message/messageBody/messageBodyRegistry.d.ts +9 -0
- package/dist/components/Message/messageBody/registerBuiltinMessageBodies.d.ts +2 -0
- package/dist/components/Message/messageBody/types.d.ts +7 -0
- package/dist/components/Referrer/ReferrerRefereeCell.vue.d.ts +7 -0
- package/dist/components/Referrer/ReferrerReferees.vue.d.ts +1 -0
- package/dist/components/UserMenu/UserAccountMenu.vue.d.ts +1 -16
- package/dist/components/UserMenu/UserMenuItem.vue.d.ts +4 -0
- package/dist/components/UserMenu/UserMenuModals.vue.d.ts +18 -4
- package/dist/components/UserMenu/parts/UserAvatar.vue.d.ts +6 -0
- package/dist/components/UserMenu/parts/UserBasicInformation.vue.d.ts +7 -2
- package/dist/composables/Authkit/fetchAuthPageAboutUs.d.ts +3 -0
- package/dist/composables/Authkit/resolveRoutePermission.d.ts +2 -0
- package/dist/composables/Authkit/useAuthkitAppsAuthPageInfo.d.ts +16 -0
- package/dist/composables/Authkit/useAuthkitAuth.d.ts +2 -0
- package/dist/composables/Authkit/useAuthkitPasskey.d.ts +10 -0
- package/dist/composables/Authkit/useLegalDocHostActions.d.ts +6 -0
- package/dist/composables/Authkit/useLegalDocs.d.ts +19 -0
- package/dist/composables/Authkit/useOauth.d.ts +17 -4
- package/dist/composables/Authkit/useRegistrationTerms.d.ts +24 -0
- package/dist/composables/Authkit/verifyCodeCooldown.d.ts +19 -0
- package/dist/composables/Billing/useBillingPlans.d.ts +0 -4
- package/dist/composables/Billing/useBillingStatusOptions.d.ts +2 -6
- package/dist/composables/Billing/useBillingSubscriptionSummary.d.ts +16 -0
- package/dist/composables/Billing/usePaidProductOptions.d.ts +5 -0
- package/dist/composables/Message/messageCenterBadgeCounts.d.ts +28 -0
- package/dist/composables/UserMenu/useUserMenuBadgeCounts.d.ts +9 -0
- package/dist/composables/useInfiniteList.d.ts +19 -0
- package/dist/composables/useMessageNotifications.d.ts +3 -6
- package/dist/composables.d.ts +4 -2
- package/dist/composables.js +50 -45
- package/dist/feedback.d.ts +1 -0
- package/dist/feedback.js +12 -11
- package/dist/fetchAuthPageAboutUs-dzTSwRsB.js +25 -0
- package/dist/{Clipboard-Bo7gdpR6.js → index-BkLvw1PU.js} +1 -1
- package/dist/landingPage.d.ts +1 -0
- package/dist/landingPage.js +41 -40
- package/dist/legalDocs/buildBuiltinUrl.d.ts +3 -0
- package/dist/{utils/legalLinks.d.ts → legalDocs/constants.d.ts} +0 -10
- package/dist/legalDocs/index.d.ts +7 -0
- package/dist/legalDocs/isConfigured.d.ts +7 -0
- package/dist/legalDocs/open.d.ts +3 -0
- package/dist/legalDocs/resolveAppId.d.ts +8 -0
- package/dist/legalDocs/resolveTarget.d.ts +4 -0
- package/dist/legalDocs/types.d.ts +12 -0
- package/dist/main.js +321 -308
- package/dist/message.d.ts +3 -0
- package/dist/message.js +301 -21
- package/dist/pay.d.ts +1 -1
- package/dist/pay.js +14 -17
- package/dist/privateCom.js +1 -1
- package/dist/referrer.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/api/auth.generated.d.ts +1385 -328
- package/dist/types/api/billing.generated.d.ts +907 -76
- package/dist/types/api/ones.generated.d.ts +131 -2
- package/dist/types/api.d.ts +1 -0
- package/dist/types/app.d.ts +10 -0
- package/dist/types/user.d.ts +1 -0
- package/dist/upload.js +2 -2
- package/dist/{useAuthkitAppsAuthPageInfo-C2yKgl8t.js → useAuthkitAppsAuthPageInfo-CNudJd04.js} +18 -17
- package/dist/useAuthkitAuth-3m0yW6uP.js +267 -0
- package/dist/{useAuthkitCreateAndUpdate-oo9517Gj.js → useAuthkitCreateAndUpdate-BsINsI-E.js} +1 -1
- package/dist/{useAuthkitUsersProfile-BZDk21c8.js → useAuthkitUsersProfile-DJlMsftY.js} +3 -3
- package/dist/useBillingStatusOptions-CfHQOFNw.js +71 -0
- package/dist/{useEnsureAuthenticated-BuIbxqsO.js → useEnsureAuthenticated-DNkCCy_Y.js} +2 -2
- package/dist/useLegalDocs-DQP_Yq6B.js +106 -0
- package/dist/{useMessageNotifications-D85_-mDq.js → useMessageNotifications-CAphguOm.js} +21 -24
- package/dist/useRoutePermission-CEiya9AM.js +218 -0
- package/dist/useSEO-CDWxbk8B.js +221 -0
- package/dist/useSubscriptionCheckout-d_M_rKRa.js +368 -0
- package/dist/{useUploadCos-BRKRzSy3.js → useUploadCos-C8BqFPkx.js} +1 -1
- package/dist/user.js +1 -1
- package/dist/userMenuModal-D-nDaYqM.js +66 -0
- package/dist/utils/apiMiddlewares.d.ts +5 -5
- package/dist/utils/apiResponse.d.ts +11 -0
- package/dist/utils/authProviderIcon.d.ts +3 -0
- package/dist/utils/authkit.d.ts +20 -7
- package/dist/utils/formatPoints.d.ts +8 -0
- package/dist/utils/messageNotificationContent.d.ts +4 -0
- package/dist/utils/messageTextLink.d.ts +9 -0
- package/dist/utils/passkeySupport.d.ts +8 -0
- package/dist/utils/pointsFlowTypes.d.ts +10 -0
- package/dist/utils/pointsHistoryDisplay.d.ts +8 -0
- package/dist/utils/refundStatusDisplay.d.ts +1 -0
- package/dist/utils/subscriptionDisplay.d.ts +7 -0
- package/dist/utils/userDisplay.d.ts +41 -0
- package/package.json +11 -3
- package/dist/AuthkitAppSetting-C-0uuLSg.js +0 -1921
- package/dist/AuthkitGithubBinding-C5zEy9zN.js +0 -2207
- package/dist/CustomTable-nsxN4Ja4.js +0 -276
- package/dist/FeedbackModal.vue_vue_type_script_setup_true_lang-M1NQ-rx-.js +0 -1396
- package/dist/LandingPageSectionHeader-D_74W4My.js +0 -69
- package/dist/Menu-Cy2ZPeaz.js +0 -170
- package/dist/MessageHandle-BG12aX0i.js +0 -924
- package/dist/MessageList-CrCF8mU6.js +0 -233
- package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-gsjL6yAe.js +0 -142
- package/dist/PaySubscriptions-lWnEioX5.js +0 -1241
- package/dist/PricingPlans-DFcjOMWS.js +0 -404
- package/dist/ReferrerReferees-Cn7KaO8z.js +0 -106
- package/dist/UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-P0X1Exyu.js +0 -520
- package/dist/WidthContainer-CF3qOLWW.js +0 -688
- package/dist/common/authPanelWidth.d.ts +0 -2
- package/dist/components/Feedback/FeedbackDetails.vue.d.ts +0 -178
- package/dist/composables/Authkit/useLegalLinks.d.ts +0 -34
- package/dist/index-D3Kp6R4z.js +0 -4
- package/dist/useAuthkitAuth-DmS-H7M2.js +0 -175
- package/dist/useBillingStatusOptions-B7xLU3fs.js +0 -145
- package/dist/useLegalLinks-Cwr45PBT.js +0 -60
- package/dist/useRoutePermission-CaWtjLRA.js +0 -212
- package/dist/useSEO-BSMQdBR9.js +0 -158
- package/dist/useSubscriptionCheckout-BRk5h9aC.js +0 -365
- package/dist/useTableHandle-BdujaiNX.js +0 -69
- /package/dist/components/{Feedback/FeedbackVideoPreview.vue.d.ts → VideoPreview.vue.d.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { eden as n, defineMiddleware as
|
|
2
|
-
import { ref as
|
|
1
|
+
import { eden as n, defineMiddleware as f, createClient as B } from "@vafast/api-client";
|
|
2
|
+
import { ref as b, computed as w } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { Message as
|
|
5
|
-
function
|
|
4
|
+
import { Message as O } from "@arco-design/web-vue";
|
|
5
|
+
function h(e, r = 3) {
|
|
6
6
|
const t = e.indexOf("@");
|
|
7
7
|
if (t > 1) {
|
|
8
8
|
const i = e.slice(0, r), a = e.slice(t);
|
|
@@ -10,44 +10,73 @@ function ee(e, r = 3) {
|
|
|
10
10
|
}
|
|
11
11
|
return e;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return
|
|
16
|
-
|
|
13
|
+
function z(e) {
|
|
14
|
+
const r = e.trim();
|
|
15
|
+
return r.length < 7 ? r : `${r.slice(0, 3)}****${r.slice(-4)}`;
|
|
16
|
+
}
|
|
17
|
+
const D = {
|
|
18
|
+
normal: "正常",
|
|
19
|
+
pending: "待完善",
|
|
20
|
+
forbidden: "已禁用",
|
|
21
|
+
deleted: "已注销"
|
|
22
|
+
};
|
|
23
|
+
function se(e) {
|
|
24
|
+
return e ? D[e] ?? e : "-";
|
|
25
|
+
}
|
|
26
|
+
function le(e) {
|
|
27
|
+
var t, i, a, c, u, d, v, x, y;
|
|
28
|
+
const r = [];
|
|
29
|
+
if ((t = e.email) != null && t.trim() && r.push(h(e.email.trim())), (i = e.phone) != null && i.trim() && r.push(z(e.phone.trim())), e.wechat) {
|
|
30
|
+
const T = (a = e.wechat.nickname) == null ? void 0 : a.trim();
|
|
31
|
+
r.push(T ? `微信(${T})` : "微信");
|
|
32
|
+
}
|
|
33
|
+
return (u = (c = e.github) == null ? void 0 : c.login) != null && u.trim() && r.push(`GitHub(${e.github.login.trim()})`), (v = (d = e.google) == null ? void 0 : d.email) != null && v.trim() && r.push(h(e.google.email.trim())), (y = (x = e.microsoft) == null ? void 0 : x.email) != null && y.trim() && r.push(h(e.microsoft.email.trim())), r.length > 0 ? r.join(" / ") : "-";
|
|
34
|
+
}
|
|
35
|
+
const k = /* @__PURE__ */ new Set();
|
|
36
|
+
function ce(e) {
|
|
37
|
+
return k.add(e), () => {
|
|
38
|
+
k.delete(e);
|
|
17
39
|
};
|
|
18
40
|
}
|
|
19
|
-
function
|
|
41
|
+
function L() {
|
|
20
42
|
try {
|
|
21
43
|
localStorage.removeItem("jwtToken"), localStorage.removeItem("refreshToken");
|
|
22
44
|
} catch (e) {
|
|
23
45
|
console.warn("Failed to clear localStorage:", e);
|
|
24
46
|
}
|
|
25
|
-
|
|
47
|
+
k.forEach((e) => e());
|
|
48
|
+
}
|
|
49
|
+
function ue(e) {
|
|
50
|
+
try {
|
|
51
|
+
localStorage.setItem("jwtToken", e.jwtToken), localStorage.setItem("refreshToken", e.refreshToken);
|
|
52
|
+
} catch (r) {
|
|
53
|
+
console.warn("Failed to set localStorage:", r);
|
|
54
|
+
}
|
|
26
55
|
}
|
|
27
|
-
function
|
|
56
|
+
function K() {
|
|
28
57
|
try {
|
|
29
58
|
return localStorage.getItem("refreshToken");
|
|
30
59
|
} catch (e) {
|
|
31
60
|
return console.warn("Failed to get refreshToken from localStorage:", e), null;
|
|
32
61
|
}
|
|
33
62
|
}
|
|
34
|
-
function
|
|
63
|
+
function _(e) {
|
|
35
64
|
try {
|
|
36
65
|
localStorage.setItem("jwtToken", e);
|
|
37
66
|
} catch (r) {
|
|
38
67
|
console.warn("Failed to update jwtToken in localStorage:", r);
|
|
39
68
|
}
|
|
40
69
|
}
|
|
41
|
-
const
|
|
42
|
-
function
|
|
70
|
+
const S = b(void 0);
|
|
71
|
+
function R(e) {
|
|
43
72
|
var r, t;
|
|
44
73
|
return e === "system" ? typeof window < "u" && ((t = (r = window.matchMedia) == null ? void 0 : r.call(window, "(prefers-color-scheme: dark)")) != null && t.matches) ? "dark" : "light" : e;
|
|
45
74
|
}
|
|
46
|
-
function
|
|
75
|
+
function j(e) {
|
|
47
76
|
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")));
|
|
48
77
|
}
|
|
49
|
-
function
|
|
50
|
-
|
|
78
|
+
function de(e) {
|
|
79
|
+
S.value = e, j(R(e));
|
|
51
80
|
}
|
|
52
81
|
let o = {
|
|
53
82
|
appId: "",
|
|
@@ -63,76 +92,77 @@ let o = {
|
|
|
63
92
|
feedbackBucketId: "6826e4db6888f565dc775dce",
|
|
64
93
|
bucket: "ones-1358549778",
|
|
65
94
|
region: "ap-beijing",
|
|
66
|
-
web3formsAccessKey: "72604aac-d55e-4df0-9bcf-31b2206b3753"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
95
|
+
web3formsAccessKey: "72604aac-d55e-4df0-9bcf-31b2206b3753",
|
|
96
|
+
legalDocsMode: "builtin"
|
|
97
|
+
}, F = {};
|
|
98
|
+
function fe(e) {
|
|
99
|
+
Object.assign(F, e);
|
|
70
100
|
}
|
|
71
|
-
function
|
|
72
|
-
o.appId = e.appId, e.theme !== void 0 && (
|
|
101
|
+
function he(e) {
|
|
102
|
+
o.appId = e.appId, e.theme !== void 0 && (S.value = e.theme, j(R(e.theme))), o.authPrefixUrl = e.authPrefixUrl || "/authRestfulApi", (e.onesPrefixUrl !== void 0 || e.prefixUrl !== void 0) && (o.onesPrefixUrl = e.onesPrefixUrl ?? e.prefixUrl ?? o.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.pricingUrl !== void 0 && (o.pricingUrl = e.pricingUrl || "/Pricing"), e.openPricing !== void 0 && (o.openPricing = e.openPricing), e.oauthCallbackUrl !== void 0 ? o.oauthCallbackUrl = e.oauthCallbackUrl : typeof window < "u" && (o.oauthCallbackUrl = `${window.location.origin}/`), 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), e.legalDocsMode !== void 0 && (o.legalDocsMode = e.legalDocsMode);
|
|
73
103
|
}
|
|
74
|
-
function
|
|
104
|
+
function N(e) {
|
|
75
105
|
return n(e);
|
|
76
106
|
}
|
|
77
|
-
function
|
|
107
|
+
function q(e) {
|
|
78
108
|
return n(e);
|
|
79
109
|
}
|
|
80
|
-
function
|
|
110
|
+
function G(e) {
|
|
81
111
|
return n(e);
|
|
82
112
|
}
|
|
83
|
-
function
|
|
113
|
+
function H(e) {
|
|
84
114
|
return n(e);
|
|
85
115
|
}
|
|
86
|
-
function
|
|
116
|
+
function J(e) {
|
|
87
117
|
return n(e);
|
|
88
118
|
}
|
|
89
|
-
function
|
|
119
|
+
function V(e) {
|
|
90
120
|
return n(e);
|
|
91
121
|
}
|
|
92
|
-
const
|
|
93
|
-
function
|
|
94
|
-
e != null && e.view && (
|
|
122
|
+
const g = b(!1), U = b("signIn");
|
|
123
|
+
function W(e) {
|
|
124
|
+
e != null && e.view && (U.value = e.view), g.value = !0;
|
|
95
125
|
}
|
|
96
|
-
function
|
|
97
|
-
|
|
126
|
+
function X() {
|
|
127
|
+
g.value = !1, U.value = "signIn";
|
|
98
128
|
}
|
|
99
|
-
function
|
|
129
|
+
function Z() {
|
|
100
130
|
return {
|
|
101
|
-
open:
|
|
102
|
-
close:
|
|
103
|
-
isOpen:
|
|
104
|
-
view:
|
|
131
|
+
open: W,
|
|
132
|
+
close: X,
|
|
133
|
+
isOpen: w(() => g.value),
|
|
134
|
+
view: w(() => U.value)
|
|
105
135
|
};
|
|
106
136
|
}
|
|
107
|
-
const
|
|
108
|
-
function
|
|
137
|
+
const P = 40101, I = 401;
|
|
138
|
+
function Q(e) {
|
|
109
139
|
var r;
|
|
110
|
-
return e.status ===
|
|
140
|
+
return e.status === I || ((r = e.error) == null ? void 0 : r.code) === I;
|
|
111
141
|
}
|
|
112
|
-
function
|
|
142
|
+
function Y(e) {
|
|
113
143
|
var r;
|
|
114
|
-
return
|
|
144
|
+
return Q(e) && ((r = e.error) == null ? void 0 : r.code) !== P;
|
|
115
145
|
}
|
|
116
|
-
function
|
|
146
|
+
function C() {
|
|
117
147
|
const {
|
|
118
148
|
open: e
|
|
119
|
-
} =
|
|
149
|
+
} = Z();
|
|
120
150
|
e();
|
|
121
151
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
152
|
+
function M() {
|
|
153
|
+
L(), C();
|
|
124
154
|
}
|
|
125
|
-
let
|
|
126
|
-
function
|
|
127
|
-
|
|
155
|
+
let m = !1, p = [];
|
|
156
|
+
function A(e, r = null) {
|
|
157
|
+
p.forEach(({
|
|
128
158
|
resolve: t,
|
|
129
159
|
reject: i
|
|
130
160
|
}) => {
|
|
131
161
|
e ? i(e) : r && t(r);
|
|
132
|
-
}),
|
|
162
|
+
}), p = [];
|
|
133
163
|
}
|
|
134
|
-
async function
|
|
135
|
-
const e =
|
|
164
|
+
async function ee() {
|
|
165
|
+
const e = K();
|
|
136
166
|
if (!e)
|
|
137
167
|
throw new Error("No refresh token available");
|
|
138
168
|
try {
|
|
@@ -147,63 +177,63 @@ async function V() {
|
|
|
147
177
|
})
|
|
148
178
|
})).json();
|
|
149
179
|
if (t.jwtToken)
|
|
150
|
-
return
|
|
180
|
+
return _(t.jwtToken), t.refreshToken && localStorage.setItem("refreshToken", t.refreshToken), t.jwtToken;
|
|
151
181
|
throw new Error(t.message || "Token refresh failed");
|
|
152
182
|
} catch (r) {
|
|
153
183
|
throw console.error("Token refresh failed:", r), r;
|
|
154
184
|
}
|
|
155
185
|
}
|
|
156
|
-
const
|
|
186
|
+
const re = f(async (e, r) => (e.headers.set("app-id", o.appId), r()), {
|
|
157
187
|
name: "app-id"
|
|
158
|
-
}),
|
|
188
|
+
}), te = f(async (e, r) => {
|
|
159
189
|
const t = localStorage.getItem("jwtToken");
|
|
160
190
|
return t && e.headers.set("authorization", `Bearer ${t}`), r();
|
|
161
191
|
}, {
|
|
162
192
|
name: "token"
|
|
163
|
-
}),
|
|
193
|
+
}), E = f(async (e, r) => {
|
|
164
194
|
var i;
|
|
165
195
|
const t = await r();
|
|
166
|
-
if (((i = t.error) == null ? void 0 : i.code) ===
|
|
167
|
-
if (
|
|
168
|
-
return new Promise((a,
|
|
169
|
-
|
|
170
|
-
resolve: async (
|
|
171
|
-
e.headers.set("authorization", `Bearer ${
|
|
172
|
-
const
|
|
173
|
-
a(
|
|
196
|
+
if (((i = t.error) == null ? void 0 : i.code) === P) {
|
|
197
|
+
if (m)
|
|
198
|
+
return new Promise((a, c) => {
|
|
199
|
+
p.push({
|
|
200
|
+
resolve: async (u) => {
|
|
201
|
+
e.headers.set("authorization", `Bearer ${u}`);
|
|
202
|
+
const d = await r();
|
|
203
|
+
a(d);
|
|
174
204
|
},
|
|
175
205
|
reject: () => {
|
|
176
|
-
|
|
206
|
+
c(t);
|
|
177
207
|
}
|
|
178
208
|
});
|
|
179
209
|
});
|
|
180
|
-
|
|
210
|
+
m = !0;
|
|
181
211
|
try {
|
|
182
|
-
const a = await
|
|
183
|
-
return
|
|
212
|
+
const a = await ee();
|
|
213
|
+
return A(null, a), e.headers.set("authorization", `Bearer ${a}`), await r();
|
|
184
214
|
} catch (a) {
|
|
185
|
-
return
|
|
215
|
+
return A(a, null), M(), t;
|
|
186
216
|
} finally {
|
|
187
|
-
|
|
217
|
+
m = !1;
|
|
188
218
|
}
|
|
189
219
|
}
|
|
190
220
|
return t;
|
|
191
221
|
}, {
|
|
192
222
|
name: "token-refresh"
|
|
193
|
-
}),
|
|
223
|
+
}), $ = f(async (e, r) => {
|
|
194
224
|
const t = await r();
|
|
195
|
-
return
|
|
225
|
+
return Y(t) ? (M(), t) : (t.error && t.error.code !== P && O.error(t.error.message || "请求失败"), t);
|
|
196
226
|
}, {
|
|
197
227
|
name: "error-message"
|
|
198
228
|
});
|
|
199
|
-
function
|
|
200
|
-
return e.use(
|
|
229
|
+
function me(e) {
|
|
230
|
+
return e.use(E).use($);
|
|
201
231
|
}
|
|
202
232
|
function s(e) {
|
|
203
|
-
return
|
|
233
|
+
return B({
|
|
204
234
|
baseURL: e,
|
|
205
235
|
timeout: 3e4
|
|
206
|
-
}).use(
|
|
236
|
+
}).use(re).use(te).use(E).use($);
|
|
207
237
|
}
|
|
208
238
|
function l(e) {
|
|
209
239
|
let r = null;
|
|
@@ -213,27 +243,30 @@ function l(e) {
|
|
|
213
243
|
}
|
|
214
244
|
});
|
|
215
245
|
}
|
|
216
|
-
const
|
|
246
|
+
const ke = l(() => q(s(o.authPrefixUrl))), pe = l(() => G(s(o.billingPrefixUrl))), be = l(() => J(s(o.onesPrefixUrl))), ge = l(() => H(s(o.logPrefixUrl))), Ue = l(() => N(s(o.aiPrefixUrl))), Pe = l(() => V(s(o.webhookPrefixUrl)));
|
|
217
247
|
export {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
248
|
+
F as a,
|
|
249
|
+
S as b,
|
|
250
|
+
fe as c,
|
|
251
|
+
de as d,
|
|
252
|
+
ke as e,
|
|
253
|
+
pe as f,
|
|
224
254
|
o as g,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
255
|
+
re as h,
|
|
256
|
+
E as i,
|
|
257
|
+
$ as j,
|
|
258
|
+
ce as k,
|
|
229
259
|
ue as l,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
260
|
+
Ue as m,
|
|
261
|
+
ge as n,
|
|
262
|
+
be as o,
|
|
263
|
+
me as p,
|
|
264
|
+
se as q,
|
|
265
|
+
L as r,
|
|
266
|
+
he as s,
|
|
267
|
+
te as t,
|
|
268
|
+
Z as u,
|
|
269
|
+
le as v,
|
|
270
|
+
Pe as w,
|
|
271
|
+
h as x
|
|
239
272
|
};
|
package/dist/authkit.d.ts
CHANGED
|
@@ -33,14 +33,18 @@ export { default as AuthkitSetPassword } from './components/Authkit/AppSetting/A
|
|
|
33
33
|
export { default as AuthkitEmailBinding } from './components/Authkit/AppSetting/AuthkitEmailBinding.vue';
|
|
34
34
|
export { default as AuthkitPhoneBinding } from './components/Authkit/AppSetting/AuthkitPhoneBinding.vue';
|
|
35
35
|
export { default as AuthkitPasswordUpdate } from './components/Authkit/AppSetting/AuthkitPasswordUpdate.vue';
|
|
36
|
+
export { default as AuthkitPasskeyBinding } from './components/Authkit/AppSetting/AuthkitPasskeyBinding.vue';
|
|
36
37
|
export { useAuthkitAppsAuthPageInfo } from './composables/Authkit/useAuthkitAppsAuthPageInfo';
|
|
37
38
|
export { useAuthkitAuth, type SignInResult, } from './composables/Authkit/useAuthkitAuth';
|
|
38
39
|
export { useAuthkitAuthModal, type AuthModalView, type OpenAuthModalOptions, type UseAuthkitAuthModalReturn, } from './composables/Authkit/useAuthkitAuthModal';
|
|
39
40
|
export { useEnsureAuthenticated, type UseEnsureAuthenticatedReturn, } from './composables/Authkit/useEnsureAuthenticated';
|
|
40
|
-
export {
|
|
41
|
+
export { useLegalDocs, type LegalDocLink, type UseLegalDocsReturn, } from './composables/Authkit/useLegalDocs';
|
|
42
|
+
export { default as LegalDocViewer } from './components/LegalDoc/LegalDocViewer.vue';
|
|
43
|
+
export { fetchAuthPageAboutUs } from './composables/Authkit/fetchAuthPageAboutUs';
|
|
44
|
+
export { LEGAL_DOCS, LEGAL_DOC_KEYS, buildBuiltinLegalDocUrl, isLegalDocConfigured, resolveLegalAppId, resolveLegalDocTargetFromData, openLegalDocTarget, type LegalDocKey, type LegalDocTarget, type LegalDocsMode, } from './legalDocs';
|
|
41
45
|
export { useAuthkitUsersProfile } from './composables/Authkit/useAuthkitUsersProfile';
|
|
42
46
|
export { useAuthkitCreateAndUpdate } from './composables/Authkit/useAuthkitCreateAndUpdate';
|
|
43
47
|
export { useOauth } from './composables/Authkit/useOauth';
|
|
44
|
-
export {
|
|
48
|
+
export { useAuthkitPasskey } from './composables/Authkit/useAuthkitPasskey';
|
|
45
49
|
export type * from './types/auth';
|
|
46
50
|
export type { AppsData, PublicRoute } from './types/app';
|
package/dist/authkit.js
CHANGED
|
@@ -1,57 +1,66 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { A as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { L as
|
|
8
|
-
import {
|
|
9
|
-
import { u as
|
|
1
|
+
import { A as s, B as i, a as e, _ as u, b as h, O as A, P as o, c as r, d as k, e as n, f as d, S as g, g as l, u as p, h as P } from "./AuthkitAppSetting-BN8-xgNq.js";
|
|
2
|
+
import { A as m, a as c, b as S, c as L, d as O, E as U, e as w, _ as x, f as B, O as D, g as E, P as b, h as y, i as C, j as I, R as v, S as V, k as _, l as G, m as R, n as T, o as M, p as j, L as z } from "./LegalDocViewer-DM8FYBpf.js";
|
|
3
|
+
import { u as K } from "./useAuthkitAppsAuthPageInfo-CNudJd04.js";
|
|
4
|
+
import { u as q } from "./useAuthkitAuth-3m0yW6uP.js";
|
|
5
|
+
import { u as J } from "./apiClients-BcXOLuYu.js";
|
|
6
|
+
import { u as Q } from "./useEnsureAuthenticated-DNkCCy_Y.js";
|
|
7
|
+
import { L as X, a as Z, b as $, i as tt, o as at, r as st, c as it, u as et } from "./useLegalDocs-DQP_Yq6B.js";
|
|
8
|
+
import { f as ht } from "./fetchAuthPageAboutUs-dzTSwRsB.js";
|
|
9
|
+
import { u as ot } from "./useAuthkitUsersProfile-DJlMsftY.js";
|
|
10
|
+
import { u as kt } from "./useAuthkitCreateAndUpdate-BsINsI-E.js";
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
s as AuthkitAppSetting,
|
|
13
|
+
m as AuthkitAuth,
|
|
14
|
+
c as AuthkitAuthContainer,
|
|
15
|
+
S as AuthkitAuthModal,
|
|
16
|
+
L as AuthkitAuthTitle,
|
|
16
17
|
O as AuthkitAuthorize,
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
i as AuthkitBindEmail,
|
|
19
|
+
e as AuthkitBindPhone,
|
|
19
20
|
u as AuthkitEmailBinding,
|
|
20
|
-
|
|
21
|
+
U as AuthkitEmailUpdate,
|
|
21
22
|
h as AuthkitEmailVerify,
|
|
22
|
-
|
|
23
|
+
w as AuthkitGithubBinding,
|
|
23
24
|
A as AuthkitOAuthBinding,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
x as AuthkitOAuthCallbackProvider,
|
|
26
|
+
B as AuthkitOauthCallback,
|
|
27
|
+
D as AuthkitOauthItem,
|
|
27
28
|
E as AuthkitOauthList,
|
|
29
|
+
o as AuthkitPasskeyBinding,
|
|
28
30
|
b as AuthkitPasswordAuth,
|
|
29
31
|
r as AuthkitPasswordUpdate,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
y as AuthkitPasswordUpdateAndVerify,
|
|
33
|
+
k as AuthkitPersonalInformation,
|
|
34
|
+
n as AuthkitPhoneBinding,
|
|
33
35
|
C as AuthkitPhonePasswordUpdateAndVerify,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
d as AuthkitPhoneVerify,
|
|
37
|
+
I as AuthkitProvider,
|
|
38
|
+
v as AuthkitResetPassword,
|
|
39
|
+
g as AuthkitSendVerifyCode,
|
|
38
40
|
V as AuthkitServiceAgreementAndPrivacyProtection,
|
|
39
|
-
|
|
41
|
+
l as AuthkitSetPassword,
|
|
40
42
|
_ as AuthkitSignIn,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
43
|
+
G as AuthkitSignInPhone,
|
|
44
|
+
R as AuthkitSignUp,
|
|
45
|
+
T as AuthkitSignUpPhone,
|
|
46
|
+
M as AuthkitSwitchSignIn,
|
|
47
|
+
j as AuthkitSwitchSignUpOrResetPassword,
|
|
48
|
+
X as LEGAL_DOCS,
|
|
49
|
+
Z as LEGAL_DOC_KEYS,
|
|
50
|
+
z as LegalDocViewer,
|
|
51
|
+
$ as buildBuiltinLegalDocUrl,
|
|
52
|
+
ht as fetchAuthPageAboutUs,
|
|
53
|
+
tt as isLegalDocConfigured,
|
|
54
|
+
at as openLegalDocTarget,
|
|
55
|
+
st as resolveLegalAppId,
|
|
56
|
+
it as resolveLegalDocTargetFromData,
|
|
57
|
+
K as useAuthkitAppsAuthPageInfo,
|
|
58
|
+
q as useAuthkitAuth,
|
|
59
|
+
J as useAuthkitAuthModal,
|
|
60
|
+
kt as useAuthkitCreateAndUpdate,
|
|
61
|
+
p as useAuthkitPasskey,
|
|
62
|
+
ot as useAuthkitUsersProfile,
|
|
63
|
+
Q as useEnsureAuthenticated,
|
|
64
|
+
et as useLegalDocs,
|
|
56
65
|
P as useOauth
|
|
57
66
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** 第三方登录与 Passkey 品牌图标(Iconify selfhst soft 彩色) */
|
|
2
|
+
export type OAuthProviderKey = 'github' | 'google' | 'microsoft' | 'wechat';
|
|
3
|
+
export declare const oauthProviderIcons: Record<OAuthProviderKey, string>;
|
|
4
|
+
export declare const passkeyProviderIcon = "selfhst:ksuite-kpaste";
|
|
5
|
+
/** 登录区图标尺寸 */
|
|
6
|
+
export declare const oauthLoginIconSize = 32;
|
|
7
|
+
export declare const oauthLoginTouchPadding = 2;
|
|
8
|
+
export declare const oauthLoginTouchSize: number;
|
|
9
|
+
export declare const oauthLoginIconGap = 12;
|
|
10
|
+
/** 设置/列表区品牌图标 */
|
|
11
|
+
export declare const oauthSettingIconSize = 24;
|
|
12
|
+
export declare const oauthProviderLabels: Record<OAuthProviderKey, string>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LegalDocsMode } from '../legalDocs/types';
|
|
1
2
|
export type GlobalTheme = 'light' | 'dark' | 'system';
|
|
2
3
|
export interface GlobalSEOConfig {
|
|
3
4
|
/** 网站名称 */
|
|
@@ -40,6 +41,8 @@ export interface HuyoooUIConfig {
|
|
|
40
41
|
region: string;
|
|
41
42
|
/** Web3Forms 访问密钥 */
|
|
42
43
|
web3formsAccessKey: string;
|
|
44
|
+
/** 法律文档导航:builtin 走 /AboutUsDetails,delegate 由应用监听事件自行处理 */
|
|
45
|
+
legalDocsMode: LegalDocsMode;
|
|
43
46
|
}
|
|
44
47
|
export declare let globalConfig: HuyoooUIConfig;
|
|
45
48
|
/** 全局 SEO 配置(独立对象) */
|
|
@@ -80,5 +83,7 @@ export interface SetGlobalConfigOptions {
|
|
|
80
83
|
region?: string;
|
|
81
84
|
/** Web3Forms 访问密钥 */
|
|
82
85
|
web3formsAccessKey?: string;
|
|
86
|
+
/** 法律文档导航:builtin 走 /AboutUsDetails,delegate 由应用监听事件自行处理 */
|
|
87
|
+
legalDocsMode?: LegalDocsMode;
|
|
83
88
|
}
|
|
84
89
|
export declare function setGlobalConfig(newConfig: SetGlobalConfigOptions): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** 表格列 minWidth / width 统一常量(与 ones Space 后台对齐) */
|
|
2
|
+
export declare const TABLE_MIN_WIDTH: {
|
|
3
|
+
readonly status: 100;
|
|
4
|
+
readonly shortLabel: 200;
|
|
5
|
+
readonly datetime: 180;
|
|
6
|
+
readonly name: 240;
|
|
7
|
+
/** 单按钮操作列(移除等) */
|
|
8
|
+
readonly actionsSingle: 100;
|
|
9
|
+
/** 双按钮操作列(重命名 + 删除等) */
|
|
10
|
+
readonly actionsDual: 200;
|
|
11
|
+
};
|
package/dist/common.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
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-PeWkCK0p.js";
|
|
2
2
|
import { C as d, a as f } from "./CollapseItem-DUzZA6tx.js";
|
|
3
|
-
import { C as x, E as b } from "./CustomTable-
|
|
3
|
+
import { C as x, E as b } from "./CustomTable-BzGfaAVH.js";
|
|
4
4
|
import { L } from "./Logo-D7fyXyB-.js";
|
|
5
|
-
import { M as g, a as A } from "./Menu-
|
|
5
|
+
import { M as g, a as A } from "./Menu-uCexrsKP.js";
|
|
6
6
|
export {
|
|
7
7
|
s as AppLayout,
|
|
8
8
|
o as AppSidebar,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
icon: string;
|
|
3
|
+
size?: number | string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
class?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
size: number | string;
|
|
9
|
+
class: string;
|
|
10
|
+
alt: string;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -41,7 +41,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
41
41
|
}>> & Readonly<{
|
|
42
42
|
onSend?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
}>, {
|
|
44
|
-
startCountFn: () => void;
|
|
44
|
+
startCountFn: (seconds: number) => void;
|
|
45
45
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
46
|
send: (...args: any[]) => void;
|
|
47
47
|
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -64,7 +64,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
64
64
|
}>> & Readonly<{
|
|
65
65
|
onSend?: ((...args: any[]) => any) | undefined;
|
|
66
66
|
}>, {
|
|
67
|
-
startCountFn: () => void;
|
|
67
|
+
startCountFn: (seconds: number) => void;
|
|
68
68
|
}, {}, {}, {}, {}> | null;
|
|
69
69
|
}, any>;
|
|
70
70
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { FormSizeType } from '../../../types/auth';
|
|
3
|
-
|
|
3
|
+
import { OAuthProviderKey } from '../../../common/authProviderIcons';
|
|
4
|
+
type OAuthProvider = OAuthProviderKey;
|
|
4
5
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
6
|
provider: {
|
|
6
7
|
type: PropType<OAuthProvider>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { FormSizeType } from '../../../types/auth';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
size: {
|
|
5
|
+
type: PropType<FormSizeType>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
size: {
|
|
10
|
+
type: PropType<FormSizeType>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -5,6 +5,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
5
5
|
type: PropType<FormSizeType>;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
|
+
requireOldPassword: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
8
12
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
13
|
submit: (...args: any[]) => void;
|
|
10
14
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -12,9 +16,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
12
16
|
type: PropType<FormSizeType>;
|
|
13
17
|
required: true;
|
|
14
18
|
};
|
|
19
|
+
requireOldPassword: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
15
23
|
}>> & Readonly<{
|
|
16
24
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {
|
|
25
|
+
}>, {
|
|
26
|
+
requireOldPassword: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
18
28
|
formRef: any;
|
|
19
29
|
}, any>;
|
|
20
30
|
export default _default;
|
|
@@ -14,7 +14,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
};
|
|
15
15
|
}>> & Readonly<{
|
|
16
16
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
18
|
-
formRef: any;
|
|
19
|
-
}, any>;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
20
18
|
export default _default;
|