@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
package/dist/message.d.ts
CHANGED
|
@@ -10,8 +10,11 @@ export { default as MessageMenu } from './components/Message/MessageMenu.vue';
|
|
|
10
10
|
export { default as MessageMenuItem } from './components/Message/MessageMenuItem.vue';
|
|
11
11
|
export { default as MessageHandle } from './components/Message/MessageHandle.vue';
|
|
12
12
|
export { default as MessageList } from './components/Message/MessageList.vue';
|
|
13
|
+
export { default as MessageNotificationDetails } from './components/Message/MessageNotificationDetails.vue';
|
|
13
14
|
export { default as MessageNotifications } from './components/Message/MessageNotifications.vue';
|
|
14
15
|
export { default as MessageTabs } from './components/Message/MessageTabs.vue';
|
|
15
16
|
export { default as MessageNoticeNotifications } from './components/Message/MessageNoticeNotifications.vue';
|
|
16
17
|
export { default as MessageNoticeNotificationsDetails } from './components/Message/MessageNoticeNotificationsDetails.vue';
|
|
18
|
+
export { hasMessageBody, listRegisteredMessageBodyTypes, registerMessageBody, resolveMessageBodyComponent, } from './components/Message/messageBody/messageBodyRegistry';
|
|
19
|
+
export type { MessageBodyProps } from './components/Message/messageBody/types';
|
|
17
20
|
export { useMessageNotifications } from './composables/useMessageNotifications';
|
package/dist/message.js
CHANGED
|
@@ -1,23 +1,303 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import {
|
|
1
|
+
import { r as L, D as q } from "./MessageHandle-mEkCsv9e.js";
|
|
2
|
+
import { _ as Ce, C as De, a as Be, b as Ae, E as Ie, c as Te, M as Le, N as Pe, d as $e, e as qe, f as Se, h as Ee, l as He, g as Ve } from "./MessageHandle-mEkCsv9e.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { M as Ke } from "./MessageList-Ce-_LNTk.js";
|
|
5
|
+
import { h as C, defineComponent as m, computed as d, openBlock as r, createBlock as g, unref as v, withCtx as S, resolveDynamicComponent as E, createElementBlock as l, toDisplayString as y, Fragment as h, renderList as D, createCommentVNode as b, ref as M, normalizeClass as H, createElementVNode as k } from "vue";
|
|
6
|
+
import { Tag as V, Descriptions as F } from "@arco-design/web-vue";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
import { useRouter as K } from "vue-router";
|
|
10
|
+
import { I as je } from "./userMenuModal-D-nDaYqM.js";
|
|
11
|
+
import { Icon as $ } from "@iconify/vue";
|
|
12
|
+
import { o as O } from "./apiClients-BcXOLuYu.js";
|
|
13
|
+
import { u as ze } from "./useMessageNotifications-CAphguOm.js";
|
|
14
|
+
function N(e) {
|
|
15
|
+
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
16
|
+
}
|
|
17
|
+
function j(e) {
|
|
18
|
+
return N(e) ? e.color === void 0 || typeof e.color == "string" : !1;
|
|
19
|
+
}
|
|
20
|
+
function w(e) {
|
|
21
|
+
return N(e) ? typeof e.href == "string" && (e.target === void 0 || typeof e.target == "string") : !1;
|
|
22
|
+
}
|
|
23
|
+
function z(e) {
|
|
24
|
+
return !N(e) || typeof e.type != "string" || typeof e.text != "string" ? !1 : e.type === "text" ? !0 : e.type === "tag" ? e.tagProps === void 0 || j(e.tagProps) : e.type === "link" ? w(e.linkProps) : !1;
|
|
25
|
+
}
|
|
26
|
+
function J(e) {
|
|
27
|
+
return N(e) ? typeof e.key == "string" && typeof e.label == "string" && z(e.value) : !1;
|
|
28
|
+
}
|
|
29
|
+
function R(e) {
|
|
30
|
+
const t = Array.isArray(e.items) ? e.items.filter(J) : [];
|
|
31
|
+
return {
|
|
32
|
+
title: typeof e.title == "string" && e.title.trim() ? e.title.trim() : void 0,
|
|
33
|
+
items: t
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function W(e) {
|
|
37
|
+
var t;
|
|
38
|
+
if (e.type === "tag")
|
|
39
|
+
return C(V, {
|
|
40
|
+
color: ((t = e.tagProps) == null ? void 0 : t.color) ?? "gray"
|
|
41
|
+
}, () => e.text);
|
|
42
|
+
if (e.type === "link") {
|
|
43
|
+
const s = e.linkProps.target ?? "_blank";
|
|
44
|
+
return C("a", {
|
|
45
|
+
href: e.linkProps.href,
|
|
46
|
+
target: s,
|
|
47
|
+
rel: s === "_blank" ? "noopener noreferrer" : void 0
|
|
48
|
+
}, e.text);
|
|
49
|
+
}
|
|
50
|
+
return C("span", e.text);
|
|
51
|
+
}
|
|
52
|
+
const G = {
|
|
53
|
+
key: 1,
|
|
54
|
+
class: "descriptions-message-body__fallback"
|
|
55
|
+
}, Q = /* @__PURE__ */ m({
|
|
56
|
+
__name: "DescriptionsMessageBody",
|
|
57
|
+
props: {
|
|
58
|
+
data: {},
|
|
59
|
+
title: {},
|
|
60
|
+
description: {},
|
|
61
|
+
type: {}
|
|
62
|
+
},
|
|
63
|
+
setup(e) {
|
|
64
|
+
const t = e, s = d(() => R(t.data)), o = d(() => s.value.title), i = d(() => s.value.items), a = d(() => {
|
|
65
|
+
try {
|
|
66
|
+
return JSON.stringify(t.data, null, 2);
|
|
67
|
+
} catch {
|
|
68
|
+
return String(t.data);
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
return (c, n) => i.value.length > 0 ? (r(), g(v(F), {
|
|
72
|
+
key: 0,
|
|
73
|
+
class: "descriptions-message-body",
|
|
74
|
+
title: o.value,
|
|
75
|
+
column: 1,
|
|
76
|
+
bordered: "",
|
|
77
|
+
size: "medium",
|
|
78
|
+
data: i.value
|
|
79
|
+
}, {
|
|
80
|
+
value: S(({
|
|
81
|
+
data: p
|
|
82
|
+
}) => [(r(), g(E(v(W)(p.value))))]),
|
|
83
|
+
_: 1
|
|
84
|
+
}, 8, ["title", "data"])) : (r(), l("pre", G, y(a.value), 1));
|
|
85
|
+
}
|
|
86
|
+
}), U = /* @__PURE__ */ x(Q, [["__scopeId", "data-v-d80f7fab"]]);
|
|
87
|
+
function X(e) {
|
|
88
|
+
const t = e.link;
|
|
89
|
+
if (t && typeof t == "object" && !Array.isArray(t)) {
|
|
90
|
+
const o = t, i = typeof o.href == "string" ? o.href.trim() : "", a = typeof o.label == "string" ? o.label.trim() : "点击查看详情";
|
|
91
|
+
if (i)
|
|
92
|
+
return {
|
|
93
|
+
href: i,
|
|
94
|
+
label: a || "点击查看详情"
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
const s = typeof e.linkHref == "string" ? e.linkHref.trim() : "";
|
|
98
|
+
if (s) {
|
|
99
|
+
const o = typeof e.linkLabel == "string" ? e.linkLabel.trim() : "点击查看详情";
|
|
100
|
+
return {
|
|
101
|
+
href: s,
|
|
102
|
+
label: o || "点击查看详情"
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
function Y(e) {
|
|
108
|
+
return e.split(/\r?\n/).map((t) => t.trim()).filter(Boolean);
|
|
109
|
+
}
|
|
110
|
+
function Z(e) {
|
|
111
|
+
return /^https?:\/\//i.test(e) || e.startsWith("//");
|
|
112
|
+
}
|
|
113
|
+
const ee = {
|
|
114
|
+
class: "text-message-body"
|
|
115
|
+
}, te = ["href"], se = /* @__PURE__ */ m({
|
|
116
|
+
__name: "TextMessageBody",
|
|
117
|
+
props: {
|
|
118
|
+
data: {},
|
|
119
|
+
title: {},
|
|
120
|
+
description: {},
|
|
121
|
+
type: {}
|
|
122
|
+
},
|
|
123
|
+
setup(e) {
|
|
124
|
+
const t = e, s = K(), o = d(() => {
|
|
125
|
+
var n;
|
|
126
|
+
return typeof t.data.text == "string" ? t.data.text : ((n = t.description) == null ? void 0 : n.trim()) || "";
|
|
127
|
+
}), i = d(() => Y(o.value)), a = d(() => X(t.data));
|
|
128
|
+
function c(n) {
|
|
129
|
+
var u;
|
|
130
|
+
const p = (u = a.value) == null ? void 0 : u.href;
|
|
131
|
+
!p || Z(p) || (n.preventDefault(), s.push(p));
|
|
132
|
+
}
|
|
133
|
+
return (n, p) => (r(), l("div", ee, [(r(!0), l(h, null, D(i.value, (u, _) => (r(), l("p", {
|
|
134
|
+
key: _,
|
|
135
|
+
class: "text-message-body__paragraph"
|
|
136
|
+
}, y(u), 1))), 128)), a.value ? (r(), l("a", {
|
|
137
|
+
key: 0,
|
|
138
|
+
href: a.value.href,
|
|
139
|
+
class: "text-message-body__link",
|
|
140
|
+
onClick: c
|
|
141
|
+
}, y(a.value.label), 9, te)) : b("", !0)]));
|
|
142
|
+
}
|
|
143
|
+
}), ne = /* @__PURE__ */ x(se, [["__scopeId", "data-v-4096fbb8"]]);
|
|
144
|
+
function re() {
|
|
145
|
+
L("text", ne), L("descriptions", U);
|
|
146
|
+
}
|
|
147
|
+
const oe = /* @__PURE__ */ m({
|
|
148
|
+
__name: "MessageMenuItem",
|
|
149
|
+
props: {
|
|
150
|
+
hidden: {
|
|
151
|
+
type: Boolean,
|
|
152
|
+
required: !0
|
|
153
|
+
},
|
|
154
|
+
path: {
|
|
155
|
+
type: String,
|
|
156
|
+
required: !0
|
|
157
|
+
},
|
|
158
|
+
icon: {
|
|
159
|
+
type: String,
|
|
160
|
+
required: !0
|
|
161
|
+
},
|
|
162
|
+
name: {
|
|
163
|
+
type: String,
|
|
164
|
+
required: !0
|
|
165
|
+
},
|
|
166
|
+
active: {
|
|
167
|
+
type: Boolean,
|
|
168
|
+
required: !0
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
setup(e) {
|
|
172
|
+
const t = e, s = M(!1);
|
|
173
|
+
function o() {
|
|
174
|
+
s.value = !0;
|
|
175
|
+
}
|
|
176
|
+
function i() {
|
|
177
|
+
s.value = !1;
|
|
178
|
+
}
|
|
179
|
+
return (a, c) => t.hidden ? b("", !0) : (r(), l("div", {
|
|
180
|
+
key: 0,
|
|
181
|
+
class: H(["List", {
|
|
182
|
+
Active: t.active,
|
|
183
|
+
Hover: s.value && !t.active
|
|
184
|
+
}]),
|
|
185
|
+
onMouseover: o,
|
|
186
|
+
onMouseout: i
|
|
187
|
+
}, [t.icon ? (r(), g(v($), {
|
|
188
|
+
key: 0,
|
|
189
|
+
class: "icon",
|
|
190
|
+
icon: t.icon
|
|
191
|
+
}, null, 8, ["icon"])) : b("", !0), k("span", null, y(t.name), 1)], 34));
|
|
192
|
+
}
|
|
193
|
+
}), P = /* @__PURE__ */ x(oe, [["__scopeId", "data-v-e1a181b9"]]), ie = {
|
|
194
|
+
class: "Menu"
|
|
195
|
+
}, ae = {
|
|
196
|
+
class: "TitleContent"
|
|
197
|
+
}, ce = {
|
|
198
|
+
class: "Title"
|
|
199
|
+
}, le = {
|
|
200
|
+
class: "MenuItem2"
|
|
201
|
+
}, pe = /* @__PURE__ */ m({
|
|
202
|
+
__name: "MessageMenu",
|
|
203
|
+
props: {
|
|
204
|
+
menus: {
|
|
205
|
+
type: Array,
|
|
206
|
+
required: !0
|
|
207
|
+
},
|
|
208
|
+
selectedKeys: {
|
|
209
|
+
type: Array,
|
|
210
|
+
required: !0
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
emits: ["update:selectedKeys", "change"],
|
|
214
|
+
setup(e, {
|
|
215
|
+
emit: t
|
|
216
|
+
}) {
|
|
217
|
+
const s = e, o = t;
|
|
218
|
+
function i(a, c) {
|
|
219
|
+
o("change", a, c);
|
|
220
|
+
}
|
|
221
|
+
return (a, c) => (r(), l("div", ie, [(r(!0), l(h, null, D(s.menus, (n, p) => {
|
|
222
|
+
var u, _, B;
|
|
223
|
+
return r(), l("div", {
|
|
224
|
+
key: p
|
|
225
|
+
}, [n.children && n.children.length !== 0 ? (r(), l(h, {
|
|
226
|
+
key: 0
|
|
227
|
+
}, [k("span", ae, [(u = n == null ? void 0 : n.meta) != null && u.icon ? (r(), g(v($), {
|
|
228
|
+
key: 0,
|
|
229
|
+
class: "icon",
|
|
230
|
+
icon: n.meta.icon
|
|
231
|
+
}, null, 8, ["icon"])) : b("", !0), k("span", ce, y(n.name), 1)]), k("span", le, [(r(!0), l(h, null, D(n.children, (f, A) => {
|
|
232
|
+
var I, T;
|
|
233
|
+
return r(), g(P, {
|
|
234
|
+
key: A,
|
|
235
|
+
hidden: ((I = f.meta) == null ? void 0 : I.hidden) || !1,
|
|
236
|
+
path: f.path,
|
|
237
|
+
icon: (T = f.meta) == null ? void 0 : T.icon,
|
|
238
|
+
name: f.name,
|
|
239
|
+
active: s.selectedKeys.includes(f.path),
|
|
240
|
+
onClick: (ue) => i(f, A)
|
|
241
|
+
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]);
|
|
242
|
+
}), 128))])], 64)) : (r(), g(P, {
|
|
243
|
+
key: 1,
|
|
244
|
+
hidden: ((_ = n.meta) == null ? void 0 : _.hidden) || !1,
|
|
245
|
+
path: n.path,
|
|
246
|
+
icon: (B = n.meta) == null ? void 0 : B.icon,
|
|
247
|
+
name: n.name,
|
|
248
|
+
active: s.selectedKeys.includes(n.path),
|
|
249
|
+
onClick: (f) => i(n, p)
|
|
250
|
+
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))]);
|
|
251
|
+
}), 128))]));
|
|
252
|
+
}
|
|
253
|
+
}), ve = /* @__PURE__ */ x(pe, [["__scopeId", "data-v-bc22aac1"]]), be = /* @__PURE__ */ m({
|
|
254
|
+
__name: "MessageNoticeNotificationsDetails",
|
|
255
|
+
props: {
|
|
256
|
+
id: {
|
|
257
|
+
type: String,
|
|
258
|
+
required: !0
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
setup(e) {
|
|
262
|
+
const t = M(!1), s = M(null), o = M(""), i = e;
|
|
263
|
+
async function a() {
|
|
264
|
+
t.value = !0;
|
|
265
|
+
const {
|
|
266
|
+
data: c
|
|
267
|
+
} = await O.messageCenter.noticeNotifications.findOne.post({
|
|
268
|
+
id: i.id
|
|
269
|
+
});
|
|
270
|
+
t.value = !1, c && (s.value = c.content, o.value = c.title);
|
|
271
|
+
}
|
|
272
|
+
return a(), (c, n) => (r(), g(q, {
|
|
273
|
+
content: s.value,
|
|
274
|
+
title: o.value,
|
|
275
|
+
loading: t.value
|
|
276
|
+
}, null, 8, ["content", "title", "loading"]));
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
re();
|
|
5
280
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
281
|
+
je as InfiniteLoading,
|
|
282
|
+
Ce as MessageAppMessage,
|
|
283
|
+
De as MessageChangelogNotifications,
|
|
284
|
+
Be as MessageChangelogNotificationsDetails,
|
|
285
|
+
Ae as MessageCustomTabs,
|
|
286
|
+
q as MessageDetails,
|
|
287
|
+
Ie as MessageEventNotifications,
|
|
288
|
+
Te as MessageEventNotificationsDetails,
|
|
289
|
+
Le as MessageHandle,
|
|
290
|
+
Ke as MessageList,
|
|
291
|
+
ve as MessageMenu,
|
|
292
|
+
P as MessageMenuItem,
|
|
293
|
+
Pe as MessageNoticeNotifications,
|
|
294
|
+
be as MessageNoticeNotificationsDetails,
|
|
295
|
+
$e as MessageNotificationDetails,
|
|
296
|
+
qe as MessageNotifications,
|
|
297
|
+
Se as MessageTabs,
|
|
298
|
+
Ee as hasMessageBody,
|
|
299
|
+
He as listRegisteredMessageBodyTypes,
|
|
300
|
+
L as registerMessageBody,
|
|
301
|
+
Ve as resolveMessageBodyComponent,
|
|
302
|
+
ze as useMessageNotifications
|
|
23
303
|
};
|
package/dist/pay.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export { usePaymentPolling, usePaymentReturnPage, verifyPaymentStatus, type Paym
|
|
|
7
7
|
export { useBillingPlans, type BillingFeatureItem, type BillingInterval, type BillingIntervalKey, type BillingIntervalTab, type BillingPlan, type BillingPrice, type BillingProduct, type BillingProductFeature, type BillingSubscription, } from './composables/Billing/useBillingPlans';
|
|
8
8
|
export { useBillingSubscriptionSummary, type BillingSubscriptionSummary, type BillingSubscriptionSummaryCurrent, type BillingSubscriptionSummaryFeature, type BillingSubscriptionSummaryPendingInvoice, type BillingSubscriptionSummaryPointsBalance, type BillingSubscriptionSummaryQuota, } from './composables/Billing/useBillingSubscriptionSummary';
|
|
9
9
|
export { useSubscriptionCheckout } from './composables/Billing/useSubscriptionCheckout';
|
|
10
|
-
export { createBillingStatusOptions, useInvoiceStatusOptions, usePointsRechargeStatusOptions, useRefundStatusOptions,
|
|
10
|
+
export { createBillingStatusOptions, useInvoiceStatusOptions, usePointsRechargeStatusOptions, useRefundStatusOptions, type BillingStatusOption, } from './composables/Billing/useBillingStatusOptions';
|
package/dist/pay.js
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import { P as e, u as t, a as n, b as u, v as r } from "./PaySubscriptions-
|
|
2
|
-
import { P, a as
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
1
|
+
import { P as e, u as t, a as n, b as u, v as r } from "./PaySubscriptions-CXkEjqr2.js";
|
|
2
|
+
import { P as o, a as P, b as p, c as m, p as c, r as l } from "./PricingPlans-CV97ck9p.js";
|
|
3
|
+
import { u as y, a as S } from "./useSubscriptionCheckout-d_M_rKRa.js";
|
|
4
|
+
import { c as b, u as f, a as v, b as x } from "./useBillingStatusOptions-CfHQOFNw.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
P as PAYMENT_RETURN_PATH,
|
|
8
|
-
y as POINTS_RECHARGE_STATUS_FALLBACK,
|
|
6
|
+
o as PAYMENT_RETURN_PATH,
|
|
9
7
|
e as PaySubscriptions,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
_ as REFUND_STATUS_FALLBACK,
|
|
8
|
+
P as PaymentReturnPage,
|
|
9
|
+
p as PricingFAQ,
|
|
10
|
+
m as PricingPlans,
|
|
14
11
|
b as createBillingStatusOptions,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
c as parsePaymentReturnQuery,
|
|
13
|
+
l as resolvePaymentReturnTarget,
|
|
14
|
+
y as useBillingPlans,
|
|
18
15
|
t as useBillingSubscriptionSummary,
|
|
19
16
|
f as useInvoiceStatusOptions,
|
|
20
17
|
n as usePaymentPolling,
|
|
21
18
|
u as usePaymentReturnPage,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
v as usePointsRechargeStatusOptions,
|
|
20
|
+
x as useRefundStatusOptions,
|
|
21
|
+
S as useSubscriptionCheckout,
|
|
25
22
|
r as verifyPaymentStatus
|
|
26
23
|
};
|
package/dist/privateCom.js
CHANGED
package/dist/referrer.js
CHANGED