@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,233 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
import "./index-D3Kp6R4z.js";
|
|
3
|
-
import { defineComponent as B, ref as L, openBlock as i, createElementBlock as r, createVNode as $, unref as m, createCommentVNode as c, normalizeClass as S, createElementVNode as d, renderSlot as a, toDisplayString as w, createBlock as f, withCtx as l, createTextVNode as u, Fragment as C, renderList as T, createSlots as V, mergeProps as g } from "vue";
|
|
4
|
-
import { Spin as M, Empty as _, Tag as k, Button as z } from "@arco-design/web-vue";
|
|
5
|
-
import { useIntersectionObserver as b } from "@vueuse/core";
|
|
6
|
-
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
/* empty css */
|
|
8
|
-
/* empty css */
|
|
9
|
-
const N = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "loading"
|
|
12
|
-
}, R = {
|
|
13
|
-
key: 1,
|
|
14
|
-
class: "none"
|
|
15
|
-
}, E = /* @__PURE__ */ B({
|
|
16
|
-
__name: "InfiniteLoading",
|
|
17
|
-
props: {
|
|
18
|
-
loading: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: !1
|
|
21
|
-
},
|
|
22
|
-
finished: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: !1
|
|
25
|
-
},
|
|
26
|
-
loadingText: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: "数据加载中..."
|
|
29
|
-
},
|
|
30
|
-
finishedText: {
|
|
31
|
-
type: String,
|
|
32
|
-
default: "亲,没有更多了!"
|
|
33
|
-
},
|
|
34
|
-
showFinishedText: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: !0
|
|
37
|
-
},
|
|
38
|
-
threshold: {
|
|
39
|
-
type: Number,
|
|
40
|
-
default: 0
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
emits: ["infinite"],
|
|
44
|
-
setup(e, {
|
|
45
|
-
emit: o
|
|
46
|
-
}) {
|
|
47
|
-
const t = e, h = o, y = L(null);
|
|
48
|
-
return b(y, ([{
|
|
49
|
-
isIntersecting: s
|
|
50
|
-
}]) => {
|
|
51
|
-
s && // 当loading和finished的值都为false时,就通知父组件调用方法继续向后台请求数据
|
|
52
|
-
!t.loading && !t.finished && h("infinite");
|
|
53
|
-
}, {
|
|
54
|
-
threshold: t.threshold
|
|
55
|
-
}), (s, p) => (i(), r("div", {
|
|
56
|
-
ref_key: "container",
|
|
57
|
-
ref: y,
|
|
58
|
-
class: "infinite-loading"
|
|
59
|
-
}, [e.loading ? (i(), r("div", N, [$(m(M), {
|
|
60
|
-
tip: e.loadingText
|
|
61
|
-
}, null, 8, ["tip"])])) : c("", !0), e.finished && e.showFinishedText ? (i(), r("div", R, [$(m(_), {
|
|
62
|
-
description: e.finishedText
|
|
63
|
-
}, null, 8, ["description"])])) : c("", !0)], 512));
|
|
64
|
-
}
|
|
65
|
-
}), F = /* @__PURE__ */ I(E, [["__scopeId", "data-v-367cd24c"]]), x = {
|
|
66
|
-
class: "message-item__content"
|
|
67
|
-
}, A = {
|
|
68
|
-
class: "message-item__header"
|
|
69
|
-
}, D = {
|
|
70
|
-
class: "message-item__title"
|
|
71
|
-
}, O = {
|
|
72
|
-
class: "message-item__tags"
|
|
73
|
-
}, P = {
|
|
74
|
-
class: "message-item__description"
|
|
75
|
-
}, j = {
|
|
76
|
-
class: "message-item__footer"
|
|
77
|
-
}, q = {
|
|
78
|
-
class: "message-item__time"
|
|
79
|
-
}, G = {
|
|
80
|
-
class: "message-item__actions"
|
|
81
|
-
}, H = /* @__PURE__ */ B({
|
|
82
|
-
__name: "MessageItem",
|
|
83
|
-
props: {
|
|
84
|
-
item: {},
|
|
85
|
-
showReadStatus: {
|
|
86
|
-
type: Boolean
|
|
87
|
-
},
|
|
88
|
-
showViewButton: {
|
|
89
|
-
type: Boolean
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
emits: ["click"],
|
|
93
|
-
setup(e) {
|
|
94
|
-
return (o, t) => (i(), r("div", {
|
|
95
|
-
class: S(["message-item", {
|
|
96
|
-
"message-item--unread": e.showReadStatus && !e.item.read
|
|
97
|
-
}]),
|
|
98
|
-
onClick: t[0] || (t[0] = (h) => o.$emit("click", e.item))
|
|
99
|
-
}, [d("div", x, [d("div", A, [e.showReadStatus ? (i(), r("span", {
|
|
100
|
-
key: 0,
|
|
101
|
-
class: S(["message-item__dot", {
|
|
102
|
-
"message-item__dot--unread": !e.item.read
|
|
103
|
-
}])
|
|
104
|
-
}, null, 2)) : c("", !0), a(o.$slots, "prefix", {
|
|
105
|
-
item: e.item
|
|
106
|
-
}, void 0, !0), d("span", D, w(e.item.title), 1), d("div", O, [e.item.pinned ? (i(), f(m(k), {
|
|
107
|
-
key: 0,
|
|
108
|
-
color: "arcoblue",
|
|
109
|
-
size: "small"
|
|
110
|
-
}, {
|
|
111
|
-
default: l(() => [...t[1] || (t[1] = [u("置顶", -1)])]),
|
|
112
|
-
_: 1
|
|
113
|
-
})) : c("", !0), a(o.$slots, "tags", {
|
|
114
|
-
item: e.item
|
|
115
|
-
}, () => [e.item.priority === "urgent" ? (i(), f(m(k), {
|
|
116
|
-
key: 0,
|
|
117
|
-
color: "red",
|
|
118
|
-
size: "small"
|
|
119
|
-
}, {
|
|
120
|
-
default: l(() => [...t[2] || (t[2] = [u("紧急", -1)])]),
|
|
121
|
-
_: 1
|
|
122
|
-
})) : e.item.priority === "important" ? (i(), f(m(k), {
|
|
123
|
-
key: 1,
|
|
124
|
-
color: "orange",
|
|
125
|
-
size: "small"
|
|
126
|
-
}, {
|
|
127
|
-
default: l(() => [...t[3] || (t[3] = [u("重要", -1)])]),
|
|
128
|
-
_: 1
|
|
129
|
-
})) : e.item.priority === "high" ? (i(), f(m(k), {
|
|
130
|
-
key: 2,
|
|
131
|
-
color: "orange",
|
|
132
|
-
size: "small"
|
|
133
|
-
}, {
|
|
134
|
-
default: l(() => [...t[4] || (t[4] = [u("高", -1)])]),
|
|
135
|
-
_: 1
|
|
136
|
-
})) : c("", !0)], !0)])]), d("div", P, [a(o.$slots, "description", {
|
|
137
|
-
item: e.item
|
|
138
|
-
}, () => [u(w(e.item.description), 1)], !0)]), d("div", j, [d("span", q, w(e.item.createAt), 1), a(o.$slots, "footer", {
|
|
139
|
-
item: e.item
|
|
140
|
-
}, void 0, !0)])]), d("div", G, [a(o.$slots, "actions", {
|
|
141
|
-
item: e.item
|
|
142
|
-
}, () => [e.showViewButton ? (i(), f(m(z), {
|
|
143
|
-
key: 0,
|
|
144
|
-
type: "text",
|
|
145
|
-
size: "small"
|
|
146
|
-
}, {
|
|
147
|
-
default: l(() => [...t[5] || (t[5] = [u("查看", -1)])]),
|
|
148
|
-
_: 1
|
|
149
|
-
})) : c("", !0)], !0)])], 2));
|
|
150
|
-
}
|
|
151
|
-
}), J = /* @__PURE__ */ I(H, [["__scopeId", "data-v-ca3f3399"]]), K = {
|
|
152
|
-
class: "message-list"
|
|
153
|
-
}, Q = {
|
|
154
|
-
key: 0,
|
|
155
|
-
class: "message-list__empty"
|
|
156
|
-
}, U = /* @__PURE__ */ B({
|
|
157
|
-
__name: "MessageList",
|
|
158
|
-
props: {
|
|
159
|
-
messageList: {},
|
|
160
|
-
loading: {
|
|
161
|
-
type: Boolean
|
|
162
|
-
},
|
|
163
|
-
finished: {
|
|
164
|
-
type: Boolean
|
|
165
|
-
},
|
|
166
|
-
showReadStatus: {
|
|
167
|
-
type: Boolean
|
|
168
|
-
},
|
|
169
|
-
showViewButton: {
|
|
170
|
-
type: Boolean
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
emits: ["itemClick", "loadMore"],
|
|
174
|
-
setup(e, {
|
|
175
|
-
emit: o
|
|
176
|
-
}) {
|
|
177
|
-
const t = e, h = o;
|
|
178
|
-
function y(s) {
|
|
179
|
-
h("itemClick", s);
|
|
180
|
-
}
|
|
181
|
-
return (s, p) => (i(), r("div", K, [t.messageList.length === 0 && !t.loading ? (i(), r("div", Q, [$(m(_), {
|
|
182
|
-
description: "暂无消息"
|
|
183
|
-
})])) : (i(), r(C, {
|
|
184
|
-
key: 1
|
|
185
|
-
}, [(i(!0), r(C, null, T(t.messageList, (v) => (i(), f(J, {
|
|
186
|
-
key: v.id,
|
|
187
|
-
item: v,
|
|
188
|
-
"show-read-status": t.showReadStatus,
|
|
189
|
-
"show-view-button": t.showViewButton,
|
|
190
|
-
onClick: (n) => y(v)
|
|
191
|
-
}, V({
|
|
192
|
-
_: 2
|
|
193
|
-
}, [s.$slots.prefix ? {
|
|
194
|
-
name: "prefix",
|
|
195
|
-
fn: l((n) => [a(s.$slots, "prefix", g({
|
|
196
|
-
ref_for: !0
|
|
197
|
-
}, n), void 0, !0)]),
|
|
198
|
-
key: "0"
|
|
199
|
-
} : void 0, s.$slots.tags ? {
|
|
200
|
-
name: "tags",
|
|
201
|
-
fn: l((n) => [a(s.$slots, "tags", g({
|
|
202
|
-
ref_for: !0
|
|
203
|
-
}, n), void 0, !0)]),
|
|
204
|
-
key: "1"
|
|
205
|
-
} : void 0, s.$slots.description ? {
|
|
206
|
-
name: "description",
|
|
207
|
-
fn: l((n) => [a(s.$slots, "description", g({
|
|
208
|
-
ref_for: !0
|
|
209
|
-
}, n), void 0, !0)]),
|
|
210
|
-
key: "2"
|
|
211
|
-
} : void 0, s.$slots.footer ? {
|
|
212
|
-
name: "footer",
|
|
213
|
-
fn: l((n) => [a(s.$slots, "footer", g({
|
|
214
|
-
ref_for: !0
|
|
215
|
-
}, n), void 0, !0)]),
|
|
216
|
-
key: "3"
|
|
217
|
-
} : void 0, s.$slots.actions ? {
|
|
218
|
-
name: "actions",
|
|
219
|
-
fn: l((n) => [a(s.$slots, "actions", g({
|
|
220
|
-
ref_for: !0
|
|
221
|
-
}, n), void 0, !0)]),
|
|
222
|
-
key: "4"
|
|
223
|
-
} : void 0]), 1032, ["item", "show-read-status", "show-view-button", "onClick"]))), 128)), $(F, {
|
|
224
|
-
loading: t.loading,
|
|
225
|
-
finished: t.finished,
|
|
226
|
-
onInfinite: p[0] || (p[0] = (v) => s.$emit("loadMore"))
|
|
227
|
-
}, null, 8, ["loading", "finished"])], 64))]));
|
|
228
|
-
}
|
|
229
|
-
}), oe = /* @__PURE__ */ I(U, [["__scopeId", "data-v-991c4730"]]);
|
|
230
|
-
export {
|
|
231
|
-
F as I,
|
|
232
|
-
oe as M
|
|
233
|
-
};
|
package/dist/MessageNoticeNotificationsDetails.vue_vue_type_script_setup_true_lang-gsjL6yAe.js
DELETED
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, ref as p, openBlock as t, createElementBlock as i, normalizeClass as K, createBlock as d, unref as S, createCommentVNode as v, createElementVNode as _, toDisplayString as A, Fragment as h, renderList as N } from "vue";
|
|
2
|
-
import { Icon as D } from "@iconify/vue";
|
|
3
|
-
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import { o as $ } from "./apiClients-DrGX2iJy.js";
|
|
5
|
-
import { D as x } from "./MessageHandle-BG12aX0i.js";
|
|
6
|
-
const b = /* @__PURE__ */ f({
|
|
7
|
-
__name: "MessageMenuItem",
|
|
8
|
-
props: {
|
|
9
|
-
hidden: {
|
|
10
|
-
type: Boolean,
|
|
11
|
-
required: !0
|
|
12
|
-
},
|
|
13
|
-
path: {
|
|
14
|
-
type: String,
|
|
15
|
-
required: !0
|
|
16
|
-
},
|
|
17
|
-
icon: {
|
|
18
|
-
type: String,
|
|
19
|
-
required: !0
|
|
20
|
-
},
|
|
21
|
-
name: {
|
|
22
|
-
type: String,
|
|
23
|
-
required: !0
|
|
24
|
-
},
|
|
25
|
-
active: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
required: !0
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
setup(l) {
|
|
31
|
-
const n = l, a = p(!1);
|
|
32
|
-
function s() {
|
|
33
|
-
a.value = !0;
|
|
34
|
-
}
|
|
35
|
-
function r() {
|
|
36
|
-
a.value = !1;
|
|
37
|
-
}
|
|
38
|
-
return (u, o) => n.hidden ? v("", !0) : (t(), i("div", {
|
|
39
|
-
key: 0,
|
|
40
|
-
class: K(["List", {
|
|
41
|
-
Active: n.active,
|
|
42
|
-
Hover: a.value && !n.active
|
|
43
|
-
}]),
|
|
44
|
-
onMouseover: s,
|
|
45
|
-
onMouseout: r
|
|
46
|
-
}, [n.icon ? (t(), d(S(D), {
|
|
47
|
-
key: 0,
|
|
48
|
-
class: "icon",
|
|
49
|
-
icon: n.icon
|
|
50
|
-
}, null, 8, ["icon"])) : v("", !0), _("span", null, A(n.name), 1)], 34));
|
|
51
|
-
}
|
|
52
|
-
}), B = /* @__PURE__ */ I(b, [["__scopeId", "data-v-e1a181b9"]]), E = {
|
|
53
|
-
class: "Menu"
|
|
54
|
-
}, F = {
|
|
55
|
-
class: "TitleContent"
|
|
56
|
-
}, H = {
|
|
57
|
-
class: "Title"
|
|
58
|
-
}, L = {
|
|
59
|
-
class: "MenuItem2"
|
|
60
|
-
}, O = /* @__PURE__ */ f({
|
|
61
|
-
__name: "MessageMenu",
|
|
62
|
-
props: {
|
|
63
|
-
menus: {
|
|
64
|
-
type: Array,
|
|
65
|
-
required: !0
|
|
66
|
-
},
|
|
67
|
-
selectedKeys: {
|
|
68
|
-
type: Array,
|
|
69
|
-
required: !0
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
emits: ["update:selectedKeys", "change"],
|
|
73
|
-
setup(l, {
|
|
74
|
-
emit: n
|
|
75
|
-
}) {
|
|
76
|
-
const a = l, s = n;
|
|
77
|
-
function r(u, o) {
|
|
78
|
-
s("change", u, o);
|
|
79
|
-
}
|
|
80
|
-
return (u, o) => (t(), i("div", E, [(t(!0), i(h, null, N(a.menus, (e, m) => {
|
|
81
|
-
var y, g, k;
|
|
82
|
-
return t(), i("div", {
|
|
83
|
-
key: m
|
|
84
|
-
}, [e.children && e.children.length !== 0 ? (t(), i(h, {
|
|
85
|
-
key: 0
|
|
86
|
-
}, [_("span", F, [(y = e == null ? void 0 : e.meta) != null && y.icon ? (t(), d(S(D), {
|
|
87
|
-
key: 0,
|
|
88
|
-
class: "icon",
|
|
89
|
-
icon: e.meta.icon
|
|
90
|
-
}, null, 8, ["icon"])) : v("", !0), _("span", H, A(e.name), 1)]), _("span", L, [(t(!0), i(h, null, N(e.children, (c, M) => {
|
|
91
|
-
var C, q;
|
|
92
|
-
return t(), d(B, {
|
|
93
|
-
key: M,
|
|
94
|
-
hidden: ((C = c.meta) == null ? void 0 : C.hidden) || !1,
|
|
95
|
-
path: c.path,
|
|
96
|
-
icon: (q = c.meta) == null ? void 0 : q.icon,
|
|
97
|
-
name: c.name,
|
|
98
|
-
active: a.selectedKeys.includes(c.path),
|
|
99
|
-
onClick: (T) => r(c, M)
|
|
100
|
-
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]);
|
|
101
|
-
}), 128))])], 64)) : (t(), d(B, {
|
|
102
|
-
key: 1,
|
|
103
|
-
hidden: ((g = e.meta) == null ? void 0 : g.hidden) || !1,
|
|
104
|
-
path: e.path,
|
|
105
|
-
icon: (k = e.meta) == null ? void 0 : k.icon,
|
|
106
|
-
name: e.name,
|
|
107
|
-
active: a.selectedKeys.includes(e.path),
|
|
108
|
-
onClick: (c) => r(e, m)
|
|
109
|
-
}, null, 8, ["hidden", "path", "icon", "name", "active", "onClick"]))]);
|
|
110
|
-
}), 128))]));
|
|
111
|
-
}
|
|
112
|
-
}), J = /* @__PURE__ */ I(O, [["__scopeId", "data-v-bc22aac1"]]), P = /* @__PURE__ */ f({
|
|
113
|
-
__name: "MessageNoticeNotificationsDetails",
|
|
114
|
-
props: {
|
|
115
|
-
id: {
|
|
116
|
-
type: String,
|
|
117
|
-
required: !0
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
setup(l) {
|
|
121
|
-
const n = p(!1), a = p(null), s = p(""), r = l;
|
|
122
|
-
async function u() {
|
|
123
|
-
n.value = !0;
|
|
124
|
-
const {
|
|
125
|
-
data: o
|
|
126
|
-
} = await $.messageCenter.noticeNotifications.findOne.post({
|
|
127
|
-
id: r.id
|
|
128
|
-
});
|
|
129
|
-
n.value = !1, o && (a.value = o.content, s.value = o.title);
|
|
130
|
-
}
|
|
131
|
-
return u(), (o, e) => (t(), d(x, {
|
|
132
|
-
content: a.value,
|
|
133
|
-
title: s.value,
|
|
134
|
-
loading: n.value
|
|
135
|
-
}, null, 8, ["content", "title", "loading"]));
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
export {
|
|
139
|
-
J as M,
|
|
140
|
-
P as _,
|
|
141
|
-
B as a
|
|
142
|
-
};
|