@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,688 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
import "./index-D3Kp6R4z.js";
|
|
3
|
-
import { defineComponent as P, ref as U, watch as V, openBlock as n, createElementBlock as o, createElementVNode as r, createVNode as a, unref as i, withCtx as x, createTextVNode as z, renderSlot as G, toDisplayString as I, createCommentVNode as $, onMounted as j, onUnmounted as me, normalizeClass as S, Fragment as L, renderList as D, createBlock as he, computed as B, onBeforeUnmount as pe, normalizeStyle as W } from "vue";
|
|
4
|
-
import { Spin as q } from "@arco-design/web-vue";
|
|
5
|
-
import { u as F } from "./useAuthkitAuth-DmS-H7M2.js";
|
|
6
|
-
import { d as fe, b as _e } from "./apiClients-DrGX2iJy.js";
|
|
7
|
-
import { u as N } from "./useAuthkitAppsAuthPageInfo-C2yKgl8t.js";
|
|
8
|
-
import { u as J } from "./useAuthkitUsersProfile-BZDk21c8.js";
|
|
9
|
-
import { b as Q, f as X, w as O, a as Y, c as Z } from "./useRoutePermission-CaWtjLRA.js";
|
|
10
|
-
import "./useUploadCos-BRKRzSy3.js";
|
|
11
|
-
import { useRouter as ee, useRoute as te } from "vue-router";
|
|
12
|
-
import "@unhead/vue";
|
|
13
|
-
import "./useUserMenu-ClPBlvaM.js";
|
|
14
|
-
import "./useBillingStatusOptions-B7xLU3fs.js";
|
|
15
|
-
import { U as ve, c as ne, h as oe, k as se, _ as ae, f as re, j as ie, d as ue, g as K, i as le } from "./UserMenuInvitationsItem.vue_vue_type_script_setup_true_lang-P0X1Exyu.js";
|
|
16
|
-
/* empty css */
|
|
17
|
-
import { Icon as R } from "@iconify/vue";
|
|
18
|
-
import "./Clipboard-Bo7gdpR6.js";
|
|
19
|
-
/* empty css */
|
|
20
|
-
import { M as ge } from "./Menu-Cy2ZPeaz.js";
|
|
21
|
-
import "./CollapseItem-DUzZA6tx.js";
|
|
22
|
-
/* empty css */
|
|
23
|
-
/* empty css */
|
|
24
|
-
/* empty css */
|
|
25
|
-
/* empty css */
|
|
26
|
-
/* empty css */
|
|
27
|
-
import "./CustomTable-nsxN4Ja4.js";
|
|
28
|
-
import "./index-D56hUMeD.js";
|
|
29
|
-
import { L as ce } from "./Logo-D7fyXyB-.js";
|
|
30
|
-
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
31
|
-
const ye = {
|
|
32
|
-
class: "SidebarCom"
|
|
33
|
-
}, ke = {
|
|
34
|
-
class: "LogoContent"
|
|
35
|
-
}, be = {
|
|
36
|
-
class: "MenuContent"
|
|
37
|
-
}, we = {
|
|
38
|
-
class: "sidebar-footer"
|
|
39
|
-
}, $e = /* @__PURE__ */ P({
|
|
40
|
-
__name: "AppSidebar",
|
|
41
|
-
props: {
|
|
42
|
-
menuType: {
|
|
43
|
-
default: "system"
|
|
44
|
-
},
|
|
45
|
-
showUserPanel: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: !0
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
setup(m) {
|
|
51
|
-
const e = m, {
|
|
52
|
-
appsData: c
|
|
53
|
-
} = N(), {
|
|
54
|
-
clearAuth: h
|
|
55
|
-
} = F(), {
|
|
56
|
-
clearUserProfile: p
|
|
57
|
-
} = J(), {
|
|
58
|
-
menus: d
|
|
59
|
-
} = Q(e.menuType), f = ee();
|
|
60
|
-
function y() {
|
|
61
|
-
f.push({
|
|
62
|
-
path: "/"
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function C() {
|
|
66
|
-
p(), h(), y();
|
|
67
|
-
}
|
|
68
|
-
const v = te(), k = U([""]);
|
|
69
|
-
function M(t) {
|
|
70
|
-
const s = t.path;
|
|
71
|
-
O(() => {
|
|
72
|
-
f.push({
|
|
73
|
-
path: s,
|
|
74
|
-
query: v.query
|
|
75
|
-
}), k.value = [s], window.scrollTo({
|
|
76
|
-
top: 0,
|
|
77
|
-
behavior: "smooth"
|
|
78
|
-
});
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
return V(() => [v.path, d.value], () => {
|
|
82
|
-
const t = X(d.value, v.path, {
|
|
83
|
-
// Sidebar 中,子路由应该选中子菜单项
|
|
84
|
-
returnParentOnChildMatch: !1,
|
|
85
|
-
// 后备查找函数
|
|
86
|
-
fallback: (s) => Y(v.matched, e.menuType, s)
|
|
87
|
-
});
|
|
88
|
-
t && (k.value = [t]);
|
|
89
|
-
}, {
|
|
90
|
-
immediate: !0,
|
|
91
|
-
deep: !0
|
|
92
|
-
}), (t, s) => (n(), o("div", ye, [r("div", ke, [a(i(ce), {
|
|
93
|
-
icon: i(c).applicationLogoUrl,
|
|
94
|
-
name: i(c).name,
|
|
95
|
-
onTo: y
|
|
96
|
-
}, null, 8, ["icon", "name"])]), r("div", be, [a(ge, {
|
|
97
|
-
"selected-keys": k.value,
|
|
98
|
-
"onUpdate:selectedKeys": s[0] || (s[0] = (u) => k.value = u),
|
|
99
|
-
menus: i(d),
|
|
100
|
-
onChange: M
|
|
101
|
-
}, null, 8, ["selected-keys", "menus"])]), r("div", we, [a(i(ve), null, {
|
|
102
|
-
avatar: x(() => [a(i(ne), {
|
|
103
|
-
position: "tr",
|
|
104
|
-
"dropdown-offset-y": "30px"
|
|
105
|
-
}, {
|
|
106
|
-
items: x(() => [a(i(oe)), a(i(se)), a(i(ae)), a(i(re)), a(i(ie)), a(i(ue)), a(i(K), {
|
|
107
|
-
icon: "lucide:home",
|
|
108
|
-
onClick: y
|
|
109
|
-
}, {
|
|
110
|
-
default: x(() => [...s[1] || (s[1] = [z("主页", -1)])]),
|
|
111
|
-
_: 1
|
|
112
|
-
}), a(i(K), {
|
|
113
|
-
icon: "lucide:log-out",
|
|
114
|
-
danger: "",
|
|
115
|
-
onClick: C
|
|
116
|
-
}, {
|
|
117
|
-
default: x(() => [...s[2] || (s[2] = [z("退出登陆", -1)])]),
|
|
118
|
-
_: 1
|
|
119
|
-
})]),
|
|
120
|
-
_: 1
|
|
121
|
-
})]),
|
|
122
|
-
_: 1
|
|
123
|
-
}), a(i(le))])]));
|
|
124
|
-
}
|
|
125
|
-
}), Ce = /* @__PURE__ */ T($e, [["__scopeId", "data-v-f465af61"]]), Me = {
|
|
126
|
-
class: "layout"
|
|
127
|
-
}, Se = {
|
|
128
|
-
class: "leftContent"
|
|
129
|
-
}, Ie = {
|
|
130
|
-
class: "content"
|
|
131
|
-
}, Te = {
|
|
132
|
-
class: "contentCenter"
|
|
133
|
-
}, Pe = {
|
|
134
|
-
class: "pages"
|
|
135
|
-
}, Ae = {
|
|
136
|
-
key: 0,
|
|
137
|
-
class: "loading"
|
|
138
|
-
}, xe = /* @__PURE__ */ P({
|
|
139
|
-
__name: "AppLayout",
|
|
140
|
-
props: {
|
|
141
|
-
menuType: {
|
|
142
|
-
default: "system"
|
|
143
|
-
},
|
|
144
|
-
showUserPanel: {
|
|
145
|
-
type: Boolean,
|
|
146
|
-
default: !0
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
setup(m) {
|
|
150
|
-
const e = m, {
|
|
151
|
-
isChecking: c
|
|
152
|
-
} = Z();
|
|
153
|
-
return (h, p) => (n(), o("div", Me, [r("div", Se, [a(Ce, {
|
|
154
|
-
"menu-type": e.menuType,
|
|
155
|
-
"show-user-panel": e.showUserPanel
|
|
156
|
-
}, null, 8, ["menu-type", "show-user-panel"])]), r("div", Ie, [r("div", Te, [r("div", Pe, [i(c) ? (n(), o("div", Ae, [a(i(q), {
|
|
157
|
-
size: 40
|
|
158
|
-
})])) : G(h.$slots, "default", {
|
|
159
|
-
key: 1
|
|
160
|
-
}, void 0, !0)])])])]));
|
|
161
|
-
}
|
|
162
|
-
}), Xt = /* @__PURE__ */ T(xe, [["__scopeId", "data-v-410ad52b"]]), Ue = {
|
|
163
|
-
class: "ContentHead"
|
|
164
|
-
}, Le = {
|
|
165
|
-
class: "title"
|
|
166
|
-
}, Be = {
|
|
167
|
-
key: 0,
|
|
168
|
-
class: "description"
|
|
169
|
-
}, He = /* @__PURE__ */ P({
|
|
170
|
-
__name: "ContentHead",
|
|
171
|
-
props: {
|
|
172
|
-
title: {
|
|
173
|
-
type: String,
|
|
174
|
-
required: !0,
|
|
175
|
-
default: () => ""
|
|
176
|
-
},
|
|
177
|
-
description: {
|
|
178
|
-
type: String,
|
|
179
|
-
required: !0,
|
|
180
|
-
default: () => ""
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
setup(m) {
|
|
184
|
-
const e = m;
|
|
185
|
-
return (c, h) => (n(), o("div", Ue, [r("h1", Le, I(e.title), 1), e.description ? (n(), o("p", Be, I(e.description), 1)) : $("", !0)]));
|
|
186
|
-
}
|
|
187
|
-
}), Yt = /* @__PURE__ */ T(He, [["__scopeId", "data-v-209a7bef"]]), ze = {
|
|
188
|
-
key: 0,
|
|
189
|
-
class: "desktop-menus"
|
|
190
|
-
}, De = {
|
|
191
|
-
key: 0,
|
|
192
|
-
class: "header-menu-item"
|
|
193
|
-
}, Ke = {
|
|
194
|
-
class: "submenu-popup"
|
|
195
|
-
}, Ee = {
|
|
196
|
-
class: "submenu-content"
|
|
197
|
-
}, Re = ["onClick"], We = {
|
|
198
|
-
key: 0,
|
|
199
|
-
class: "submenu-item-icon"
|
|
200
|
-
}, Oe = {
|
|
201
|
-
class: "submenu-item-content"
|
|
202
|
-
}, Ve = {
|
|
203
|
-
class: "submenu-item-title"
|
|
204
|
-
}, Ge = {
|
|
205
|
-
key: 0,
|
|
206
|
-
class: "submenu-item-description"
|
|
207
|
-
}, Ne = ["onClick"], je = {
|
|
208
|
-
key: 3,
|
|
209
|
-
class: "mobile-menu"
|
|
210
|
-
}, qe = {
|
|
211
|
-
class: "mobile-menu-content"
|
|
212
|
-
}, Fe = ["onClick"], Je = {
|
|
213
|
-
key: 0,
|
|
214
|
-
class: "mobile-submenu"
|
|
215
|
-
}, Qe = ["onClick"], Xe = ["onClick"], Ye = /* @__PURE__ */ P({
|
|
216
|
-
__name: "HeaderMenus",
|
|
217
|
-
props: {
|
|
218
|
-
menus: {
|
|
219
|
-
type: Array,
|
|
220
|
-
required: !0
|
|
221
|
-
},
|
|
222
|
-
activateKey: {
|
|
223
|
-
type: String,
|
|
224
|
-
required: !0
|
|
225
|
-
},
|
|
226
|
-
theme: {
|
|
227
|
-
type: String,
|
|
228
|
-
default: "light"
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
emits: ["change"],
|
|
232
|
-
setup(m, {
|
|
233
|
-
emit: e
|
|
234
|
-
}) {
|
|
235
|
-
const c = m, h = e, p = U(!1), d = U(!1), f = U({});
|
|
236
|
-
function y() {
|
|
237
|
-
d.value = window.innerWidth <= 1024;
|
|
238
|
-
}
|
|
239
|
-
function C() {
|
|
240
|
-
p.value = !p.value;
|
|
241
|
-
}
|
|
242
|
-
function v() {
|
|
243
|
-
p.value = !1;
|
|
244
|
-
}
|
|
245
|
-
function k(_) {
|
|
246
|
-
h("change", _);
|
|
247
|
-
}
|
|
248
|
-
function M(_) {
|
|
249
|
-
h("change", _), v();
|
|
250
|
-
}
|
|
251
|
-
function t(_) {
|
|
252
|
-
f.value[_] = !f.value[_];
|
|
253
|
-
}
|
|
254
|
-
function s(_) {
|
|
255
|
-
const b = c.activateKey, l = _.path;
|
|
256
|
-
if (b === l || b.startsWith(l + "/"))
|
|
257
|
-
return !0;
|
|
258
|
-
if (_.children && _.children.length > 0) {
|
|
259
|
-
for (const w of _.children)
|
|
260
|
-
if (b === w.path || b.startsWith(w.path + "/"))
|
|
261
|
-
return !0;
|
|
262
|
-
}
|
|
263
|
-
return !1;
|
|
264
|
-
}
|
|
265
|
-
function u(_) {
|
|
266
|
-
const b = c.activateKey, l = _.path;
|
|
267
|
-
return !!(b === l || b.startsWith(l + "/"));
|
|
268
|
-
}
|
|
269
|
-
function A(_) {
|
|
270
|
-
h("change", _);
|
|
271
|
-
}
|
|
272
|
-
function H() {
|
|
273
|
-
y(), d.value || v();
|
|
274
|
-
}
|
|
275
|
-
return j(() => {
|
|
276
|
-
y(), window.addEventListener("resize", H);
|
|
277
|
-
}), me(() => {
|
|
278
|
-
window.removeEventListener("resize", H);
|
|
279
|
-
}), (_, b) => (n(), o("div", {
|
|
280
|
-
class: S(["HeaderMenus", {
|
|
281
|
-
"HeaderMenus--dark": c.theme === "dark"
|
|
282
|
-
}])
|
|
283
|
-
}, [d.value ? $("", !0) : (n(), o("div", ze, [(n(!0), o(L, null, D(c.menus, (l, w) => (n(), o(L, {
|
|
284
|
-
key: w
|
|
285
|
-
}, [l.children && l.children.length > 0 ? (n(), o("div", De, [r("div", {
|
|
286
|
-
class: S(["headerLink hasChildren", {
|
|
287
|
-
activate: s(l)
|
|
288
|
-
}])
|
|
289
|
-
}, [z(I(l.name) + " ", 1), a(i(R), {
|
|
290
|
-
icon: "mingcute:down-line",
|
|
291
|
-
class: "dropdown-arrow"
|
|
292
|
-
})], 2), r("div", Ke, [r("div", Ee, [(n(!0), o(L, null, D(l.children, (g, E) => (n(), o("div", {
|
|
293
|
-
key: E,
|
|
294
|
-
class: S(["submenu-item", {
|
|
295
|
-
active: u(g)
|
|
296
|
-
}]),
|
|
297
|
-
onClick: (de) => k(g)
|
|
298
|
-
}, [g.icon ? (n(), o("div", We, [a(i(R), {
|
|
299
|
-
icon: g.icon
|
|
300
|
-
}, null, 8, ["icon"])])) : $("", !0), r("div", Oe, [r("div", Ve, I(g.name), 1), g.description ? (n(), o("div", Ge, I(g.description), 1)) : $("", !0)])], 10, Re))), 128))])])])) : (n(), o("div", {
|
|
301
|
-
key: 1,
|
|
302
|
-
class: S(["headerLink", {
|
|
303
|
-
activate: s(l)
|
|
304
|
-
}]),
|
|
305
|
-
onClick: (g) => A(l)
|
|
306
|
-
}, I(l.name), 11, Ne))], 64))), 128))])), d.value ? (n(), o("button", {
|
|
307
|
-
key: 1,
|
|
308
|
-
class: S(["mobile-menu-toggle", {
|
|
309
|
-
active: p.value
|
|
310
|
-
}]),
|
|
311
|
-
"aria-label": "切换菜单",
|
|
312
|
-
onClick: C
|
|
313
|
-
}, [...b[0] || (b[0] = [r("span", {
|
|
314
|
-
class: "hamburger-line"
|
|
315
|
-
}, null, -1), r("span", {
|
|
316
|
-
class: "hamburger-line"
|
|
317
|
-
}, null, -1), r("span", {
|
|
318
|
-
class: "hamburger-line"
|
|
319
|
-
}, null, -1)])], 2)) : $("", !0), p.value ? (n(), o("div", {
|
|
320
|
-
key: 2,
|
|
321
|
-
class: "mobile-menu-overlay",
|
|
322
|
-
onClick: v
|
|
323
|
-
})) : $("", !0), p.value ? (n(), o("div", je, [r("div", qe, [(n(!0), o(L, null, D(c.menus, (l, w) => (n(), o(L, {
|
|
324
|
-
key: w
|
|
325
|
-
}, [l.children && l.children.length > 0 ? (n(), o("div", {
|
|
326
|
-
key: 0,
|
|
327
|
-
class: S(["mobile-menu-item has-children", {
|
|
328
|
-
activate: s(l),
|
|
329
|
-
expanded: f.value[w]
|
|
330
|
-
}])
|
|
331
|
-
}, [r("div", {
|
|
332
|
-
class: "mobile-menu-item-header",
|
|
333
|
-
onClick: (g) => t(w)
|
|
334
|
-
}, [r("span", null, I(l.name), 1), a(i(R), {
|
|
335
|
-
icon: f.value[w] ? "mingcute:up-line" : "mingcute:down-line",
|
|
336
|
-
class: "mobile-submenu-arrow"
|
|
337
|
-
}, null, 8, ["icon"])], 8, Fe), f.value[w] ? (n(), o("div", Je, [(n(!0), o(L, null, D(l.children, (g, E) => (n(), o("div", {
|
|
338
|
-
key: E,
|
|
339
|
-
class: S(["mobile-submenu-item", {
|
|
340
|
-
active: u(g)
|
|
341
|
-
}]),
|
|
342
|
-
onClick: (de) => M(g)
|
|
343
|
-
}, I(g.name), 11, Qe))), 128))])) : $("", !0)], 2)) : (n(), o("div", {
|
|
344
|
-
key: 1,
|
|
345
|
-
class: S(["mobile-menu-item", {
|
|
346
|
-
activate: s(l)
|
|
347
|
-
}]),
|
|
348
|
-
onClick: (g) => M(l)
|
|
349
|
-
}, I(l.name), 11, Xe))], 64))), 128))])])) : $("", !0)], 2));
|
|
350
|
-
}
|
|
351
|
-
}), Ze = /* @__PURE__ */ T(Ye, [["__scopeId", "data-v-42f528ac"]]), et = {
|
|
352
|
-
class: "HeaderCom"
|
|
353
|
-
}, tt = {
|
|
354
|
-
class: "HeaderCom-inner"
|
|
355
|
-
}, nt = {
|
|
356
|
-
class: "left"
|
|
357
|
-
}, ot = {
|
|
358
|
-
class: "right"
|
|
359
|
-
}, st = ["aria-label"], at = {
|
|
360
|
-
key: 0,
|
|
361
|
-
class: "theme-icon",
|
|
362
|
-
"aria-hidden": "true"
|
|
363
|
-
}, rt = {
|
|
364
|
-
key: 1,
|
|
365
|
-
class: "theme-icon",
|
|
366
|
-
"aria-hidden": "true"
|
|
367
|
-
}, it = /* @__PURE__ */ P({
|
|
368
|
-
__name: "Header",
|
|
369
|
-
props: {
|
|
370
|
-
menuType: {
|
|
371
|
-
default: "header"
|
|
372
|
-
},
|
|
373
|
-
showUserPanel: {
|
|
374
|
-
type: Boolean,
|
|
375
|
-
default: !0
|
|
376
|
-
},
|
|
377
|
-
showThemeToggle: {
|
|
378
|
-
type: Boolean,
|
|
379
|
-
default: !0
|
|
380
|
-
},
|
|
381
|
-
theme: {
|
|
382
|
-
default: "light"
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
setup(m) {
|
|
386
|
-
const e = m, {
|
|
387
|
-
appsData: c
|
|
388
|
-
} = N(), {
|
|
389
|
-
clearAuth: h
|
|
390
|
-
} = F(), {
|
|
391
|
-
clearUserProfile: p
|
|
392
|
-
} = J(), {
|
|
393
|
-
menus: d
|
|
394
|
-
} = Q(e.menuType), f = U(""), y = ee(), C = te();
|
|
395
|
-
function v() {
|
|
396
|
-
O(() => {
|
|
397
|
-
y.push({
|
|
398
|
-
path: "/"
|
|
399
|
-
}), window.scrollTo({
|
|
400
|
-
top: 0,
|
|
401
|
-
behavior: "smooth"
|
|
402
|
-
});
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
function k() {
|
|
406
|
-
p(), h(), v();
|
|
407
|
-
}
|
|
408
|
-
function M(s) {
|
|
409
|
-
const u = s.path;
|
|
410
|
-
O(() => {
|
|
411
|
-
y.push(u), f.value = u, window.scrollTo({
|
|
412
|
-
top: 0,
|
|
413
|
-
behavior: "smooth"
|
|
414
|
-
});
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
function t() {
|
|
418
|
-
fe(e.theme === "dark" ? "light" : "dark");
|
|
419
|
-
}
|
|
420
|
-
return V(() => [C.path, d.value], () => {
|
|
421
|
-
f.value = X(d.value, C.path, {
|
|
422
|
-
// Header 中,子菜单匹配时返回父菜单路径
|
|
423
|
-
returnParentOnChildMatch: !0,
|
|
424
|
-
// 后备查找函数
|
|
425
|
-
fallback: (s) => Y(C.matched, e.menuType, s)
|
|
426
|
-
});
|
|
427
|
-
}, {
|
|
428
|
-
immediate: !0,
|
|
429
|
-
deep: !0
|
|
430
|
-
}), (s, u) => (n(), o("header", et, [r("div", tt, [r("div", nt, [a(ce, {
|
|
431
|
-
icon: i(c).applicationLogoUrl,
|
|
432
|
-
name: i(c).name,
|
|
433
|
-
onTo: v
|
|
434
|
-
}, null, 8, ["icon", "name"])]), r("div", ot, [a(Ze, {
|
|
435
|
-
menus: i(d),
|
|
436
|
-
activateKey: f.value,
|
|
437
|
-
theme: e.theme,
|
|
438
|
-
onChange: M
|
|
439
|
-
}, null, 8, ["menus", "activateKey", "theme"]), e.showThemeToggle ? (n(), o("button", {
|
|
440
|
-
key: 0,
|
|
441
|
-
type: "button",
|
|
442
|
-
class: "theme-toggle",
|
|
443
|
-
"aria-label": e.theme === "dark" ? "切换为浅色" : "切换为深色",
|
|
444
|
-
onClick: t
|
|
445
|
-
}, [e.theme === "dark" ? (n(), o("span", at, [...u[0] || (u[0] = [r("svg", {
|
|
446
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
447
|
-
width: "20",
|
|
448
|
-
height: "20",
|
|
449
|
-
viewBox: "0 0 24 24",
|
|
450
|
-
fill: "none",
|
|
451
|
-
stroke: "currentColor",
|
|
452
|
-
"stroke-width": "2",
|
|
453
|
-
"stroke-linecap": "round",
|
|
454
|
-
"stroke-linejoin": "round"
|
|
455
|
-
}, [r("circle", {
|
|
456
|
-
cx: "12",
|
|
457
|
-
cy: "12",
|
|
458
|
-
r: "4"
|
|
459
|
-
}), r("path", {
|
|
460
|
-
d: "M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"
|
|
461
|
-
})], -1)])])) : (n(), o("span", rt, [...u[1] || (u[1] = [r("svg", {
|
|
462
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
463
|
-
width: "20",
|
|
464
|
-
height: "20",
|
|
465
|
-
viewBox: "0 0 24 24",
|
|
466
|
-
fill: "none",
|
|
467
|
-
stroke: "currentColor",
|
|
468
|
-
"stroke-width": "2",
|
|
469
|
-
"stroke-linecap": "round",
|
|
470
|
-
"stroke-linejoin": "round"
|
|
471
|
-
}, [r("path", {
|
|
472
|
-
d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"
|
|
473
|
-
})], -1)])]))], 8, st)) : $("", !0), e.showUserPanel ? (n(), he(ne, {
|
|
474
|
-
key: 1
|
|
475
|
-
}, {
|
|
476
|
-
items: x(() => [a(oe), a(se), a(ae), a(re), a(ie), a(ue), a(K, {
|
|
477
|
-
icon: "lucide:home",
|
|
478
|
-
onClick: v
|
|
479
|
-
}, {
|
|
480
|
-
default: x(() => [...u[2] || (u[2] = [z("主页", -1)])]),
|
|
481
|
-
_: 1
|
|
482
|
-
}), a(K, {
|
|
483
|
-
icon: "lucide:log-out",
|
|
484
|
-
danger: "",
|
|
485
|
-
onClick: k
|
|
486
|
-
}, {
|
|
487
|
-
default: x(() => [...u[3] || (u[3] = [z("退出登陆", -1)])]),
|
|
488
|
-
_: 1
|
|
489
|
-
})]),
|
|
490
|
-
_: 1
|
|
491
|
-
})) : $("", !0), a(le)])])]));
|
|
492
|
-
}
|
|
493
|
-
}), ut = /* @__PURE__ */ T(it, [["__scopeId", "data-v-ce7108a0"]]), lt = {
|
|
494
|
-
class: "layout-inner"
|
|
495
|
-
}, ct = {
|
|
496
|
-
key: 0,
|
|
497
|
-
class: "loading"
|
|
498
|
-
}, dt = "none", mt = "var(--huyooo-layout-dark-background)", ht = /* @__PURE__ */ P({
|
|
499
|
-
__name: "DefaultLayout",
|
|
500
|
-
props: {
|
|
501
|
-
menuType: {
|
|
502
|
-
default: "header"
|
|
503
|
-
},
|
|
504
|
-
showUserPanel: {
|
|
505
|
-
type: Boolean,
|
|
506
|
-
default: !0
|
|
507
|
-
},
|
|
508
|
-
showThemeToggle: {
|
|
509
|
-
type: Boolean,
|
|
510
|
-
default: !0
|
|
511
|
-
},
|
|
512
|
-
enableRoutePermission: {
|
|
513
|
-
type: Boolean,
|
|
514
|
-
default: !0
|
|
515
|
-
},
|
|
516
|
-
backgroundImage: {
|
|
517
|
-
default: ""
|
|
518
|
-
},
|
|
519
|
-
theme: {
|
|
520
|
-
default: void 0
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
setup(m) {
|
|
524
|
-
var k, M;
|
|
525
|
-
const e = m, {
|
|
526
|
-
appsData: c
|
|
527
|
-
} = N(), h = U(typeof window < "u" && ((M = (k = window.matchMedia) == null ? void 0 : k.call(window, "(prefers-color-scheme: dark)")) == null ? void 0 : M.matches));
|
|
528
|
-
function p() {
|
|
529
|
-
var t, s;
|
|
530
|
-
typeof window > "u" || (h.value = ((s = (t = window.matchMedia) == null ? void 0 : t.call(window, "(prefers-color-scheme: dark)")) == null ? void 0 : s.matches) ?? !1);
|
|
531
|
-
}
|
|
532
|
-
let d;
|
|
533
|
-
j(() => {
|
|
534
|
-
var s, u;
|
|
535
|
-
p();
|
|
536
|
-
const t = (s = window.matchMedia) == null ? void 0 : s.call(window, "(prefers-color-scheme: dark)");
|
|
537
|
-
(u = t == null ? void 0 : t.addEventListener) == null || u.call(t, "change", p), d = () => {
|
|
538
|
-
var A;
|
|
539
|
-
return (A = t == null ? void 0 : t.removeEventListener) == null ? void 0 : A.call(t, "change", p);
|
|
540
|
-
};
|
|
541
|
-
});
|
|
542
|
-
const f = B(() => {
|
|
543
|
-
var A, H;
|
|
544
|
-
const t = e.theme;
|
|
545
|
-
if (t && t !== "system") return t;
|
|
546
|
-
if (t === "system") return h.value ? "dark" : "light";
|
|
547
|
-
const s = _e.value;
|
|
548
|
-
if (s === "dark" || s === "light") return s;
|
|
549
|
-
if (s === "system") return h.value ? "dark" : "light";
|
|
550
|
-
const u = (H = (A = c.value) == null ? void 0 : A.brand) == null ? void 0 : H.theme;
|
|
551
|
-
return u === "dark" || u === "light" ? u : "light";
|
|
552
|
-
}), y = B(() => e.backgroundImage ? e.backgroundImage : f.value === "dark" ? mt : dt), C = B(() => {
|
|
553
|
-
const t = y.value;
|
|
554
|
-
return !t || t === "none" ? {
|
|
555
|
-
backgroundImage: "none",
|
|
556
|
-
backgroundColor: "transparent"
|
|
557
|
-
} : {
|
|
558
|
-
backgroundImage: t,
|
|
559
|
-
backgroundAttachment: "fixed"
|
|
560
|
-
};
|
|
561
|
-
});
|
|
562
|
-
V(f, (t) => {
|
|
563
|
-
typeof document > "u" || (t === "dark" ? (document.body.setAttribute("arco-theme", "dark"), document.body.classList.add("dark")) : (document.body.removeAttribute("arco-theme"), document.body.classList.remove("dark")));
|
|
564
|
-
}, {
|
|
565
|
-
immediate: !0
|
|
566
|
-
}), pe(() => {
|
|
567
|
-
d == null || d();
|
|
568
|
-
});
|
|
569
|
-
const v = e.enableRoutePermission ? Z().isChecking : U(!1);
|
|
570
|
-
return (t, s) => (n(), o("div", {
|
|
571
|
-
class: S(["layout", {
|
|
572
|
-
"layout--dark": f.value === "dark"
|
|
573
|
-
}]),
|
|
574
|
-
style: W(C.value)
|
|
575
|
-
}, [a(ut, {
|
|
576
|
-
"menu-type": e.menuType,
|
|
577
|
-
"show-user-panel": e.showUserPanel,
|
|
578
|
-
"show-theme-toggle": e.showThemeToggle,
|
|
579
|
-
theme: f.value
|
|
580
|
-
}, null, 8, ["menu-type", "show-user-panel", "show-theme-toggle", "theme"]), r("main", lt, [i(v) ? (n(), o("div", ct, [a(i(q), {
|
|
581
|
-
size: 40
|
|
582
|
-
})])) : G(t.$slots, "default", {
|
|
583
|
-
key: 1
|
|
584
|
-
}, void 0, !0)])], 6));
|
|
585
|
-
}
|
|
586
|
-
}), Zt = /* @__PURE__ */ T(ht, [["__scopeId", "data-v-692eaec7"]]), pt = /* @__PURE__ */ P({
|
|
587
|
-
__name: "Gradientbackground",
|
|
588
|
-
props: {
|
|
589
|
-
width: {
|
|
590
|
-
type: String,
|
|
591
|
-
default: "100%"
|
|
592
|
-
},
|
|
593
|
-
height: {
|
|
594
|
-
type: String,
|
|
595
|
-
default: "100%"
|
|
596
|
-
},
|
|
597
|
-
zIndex: {
|
|
598
|
-
type: String,
|
|
599
|
-
default: "-1"
|
|
600
|
-
},
|
|
601
|
-
top: {
|
|
602
|
-
type: String,
|
|
603
|
-
default: "10%"
|
|
604
|
-
},
|
|
605
|
-
left: {
|
|
606
|
-
type: String,
|
|
607
|
-
default: "0%"
|
|
608
|
-
},
|
|
609
|
-
right: {
|
|
610
|
-
type: String,
|
|
611
|
-
default: "auto"
|
|
612
|
-
},
|
|
613
|
-
blur: {
|
|
614
|
-
type: String,
|
|
615
|
-
default: "0px"
|
|
616
|
-
},
|
|
617
|
-
background: {
|
|
618
|
-
type: String,
|
|
619
|
-
required: !1,
|
|
620
|
-
default: () => "var(--huyooo-gradient-background)"
|
|
621
|
-
}
|
|
622
|
-
},
|
|
623
|
-
setup(m) {
|
|
624
|
-
const e = m, c = B(() => ({
|
|
625
|
-
pointerEvents: "none",
|
|
626
|
-
position: "absolute",
|
|
627
|
-
zIndex: e.zIndex,
|
|
628
|
-
width: e.width,
|
|
629
|
-
height: e.height,
|
|
630
|
-
filter: `blur(${e.blur})`
|
|
631
|
-
})), h = B(() => ({
|
|
632
|
-
width: "100%",
|
|
633
|
-
height: "100%",
|
|
634
|
-
background: e.background
|
|
635
|
-
}));
|
|
636
|
-
return (p, d) => (n(), o("div", {
|
|
637
|
-
class: "ellipsis",
|
|
638
|
-
style: W(c.value)
|
|
639
|
-
}, [r("div", {
|
|
640
|
-
class: "ellipsis-item",
|
|
641
|
-
style: W(h.value)
|
|
642
|
-
}, null, 4)], 4));
|
|
643
|
-
}
|
|
644
|
-
}), en = /* @__PURE__ */ T(pt, [["__scopeId", "data-v-64c41f65"]]), ft = {
|
|
645
|
-
class: "SvgIcon"
|
|
646
|
-
}, _t = ["href", "fill"], vt = /* @__PURE__ */ P({
|
|
647
|
-
__name: "SvgIcon",
|
|
648
|
-
props: {
|
|
649
|
-
prefix: {
|
|
650
|
-
type: String,
|
|
651
|
-
required: !1,
|
|
652
|
-
default: "icon"
|
|
653
|
-
},
|
|
654
|
-
name: {
|
|
655
|
-
type: String,
|
|
656
|
-
required: !0
|
|
657
|
-
},
|
|
658
|
-
color: {
|
|
659
|
-
type: String,
|
|
660
|
-
required: !1,
|
|
661
|
-
default: "currentColor"
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
setup(m) {
|
|
665
|
-
const e = m, c = B(() => `#${e.prefix ?? "icon"}-${e.name}`);
|
|
666
|
-
return (h, p) => (n(), o("svg", ft, [r("use", {
|
|
667
|
-
href: c.value,
|
|
668
|
-
fill: e.color
|
|
669
|
-
}, null, 8, _t)]));
|
|
670
|
-
}
|
|
671
|
-
}), tn = /* @__PURE__ */ T(vt, [["__scopeId", "data-v-9d0b08a0"]]), gt = {}, yt = {
|
|
672
|
-
class: "WidthContainer"
|
|
673
|
-
};
|
|
674
|
-
function kt(m, e) {
|
|
675
|
-
return n(), o("div", yt, [G(m.$slots, "default", {}, void 0, !0)]);
|
|
676
|
-
}
|
|
677
|
-
const nn = /* @__PURE__ */ T(gt, [["render", kt], ["__scopeId", "data-v-d06aac1f"]]);
|
|
678
|
-
export {
|
|
679
|
-
Xt as A,
|
|
680
|
-
Yt as C,
|
|
681
|
-
Zt as D,
|
|
682
|
-
en as G,
|
|
683
|
-
ut as H,
|
|
684
|
-
tn as S,
|
|
685
|
-
nn as W,
|
|
686
|
-
Ce as a,
|
|
687
|
-
Ze as b
|
|
688
|
-
};
|