vitepress-theme-teek 1.3.4 → 1.4.0

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.
Files changed (499) hide show
  1. package/README.md +66 -0
  2. package/es/components/common/ArticlePage/src/components/DocAsideOutline.vue2.mjs +2 -2
  3. package/es/components/common/ArticlePage/src/components/DocAsideOutlineItem.vue2.mjs +2 -2
  4. package/es/components/common/ArticlePage/src/components/outline.mjs +5 -5
  5. package/es/components/common/ArticlePage/src/index.vue2.mjs +3 -3
  6. package/es/components/common/Avatar/src/index.vue2.mjs +2 -2
  7. package/es/components/common/Breadcrumb/src/Breadcrumb.vue2.mjs +2 -2
  8. package/es/components/common/Breadcrumb/src/namespace.d.ts +3 -2
  9. package/es/components/common/Breadcrumb/src/namespace.mjs +2 -2
  10. package/es/components/common/Icon/index.d.ts +1 -0
  11. package/es/components/common/Icon/index.mjs +1 -0
  12. package/es/components/common/Icon/src/SocialIcons.d.ts +9 -0
  13. package/es/components/common/Icon/src/SocialIcons.mjs +13 -0
  14. package/es/components/common/Icon/src/icon.d.ts +4 -0
  15. package/es/components/common/Icon/src/index.vue.d.ts +2 -2
  16. package/es/components/common/Icon/src/index.vue2.mjs +62 -40
  17. package/es/components/common/ImageViewer/src/ImageViewer.vue2.mjs +5 -5
  18. package/es/components/common/InputSlide/src/index.vue2.mjs +4 -4
  19. package/es/components/common/Message/src/index.vue.d.ts +2 -2
  20. package/es/components/common/Message/src/index.vue2.mjs +3 -3
  21. package/es/components/common/PageCard/src/index.vue2.mjs +6 -6
  22. package/es/components/common/Pagination/src/components/jumper.vue2.mjs +3 -3
  23. package/es/components/common/Pagination/src/components/next.vue2.mjs +2 -2
  24. package/es/components/common/Pagination/src/components/pager.vue2.mjs +3 -3
  25. package/es/components/common/Pagination/src/components/prev.vue2.mjs +2 -2
  26. package/es/components/common/Pagination/src/components/total.vue2.mjs +3 -3
  27. package/es/components/common/Pagination/src/index.vue2.mjs +2 -2
  28. package/es/components/common/Popover/src/index.vue2.mjs +7 -7
  29. package/es/components/common/Popover/src/popover.d.ts +1 -1
  30. package/es/components/common/Segmented/src/Segmented.vue2.mjs +2 -2
  31. package/es/components/common/Segmented/src/SegmentedItem.vue2.mjs +2 -2
  32. package/es/components/common/TitleTag/src/index.vue2.mjs +2 -2
  33. package/es/components/common/TransitionCollapse/src/index.vue2.mjs +2 -2
  34. package/es/components/common/VerifyCode/src/index.vue2.mjs +1 -1
  35. package/es/components/common/VpContainer/src/index.vue2.mjs +2 -2
  36. package/es/components/common/index.mjs +1 -0
  37. package/es/components/index.mjs +3 -1
  38. package/es/components/theme/ArchivesPage/src/index.vue2.mjs +3 -3
  39. package/es/components/theme/ArticleAnalyze/src/index.vue2.mjs +9 -14
  40. package/es/components/theme/ArticleAppreciation/src/AsideBottomAppreciation.vue2.mjs +3 -3
  41. package/es/components/theme/ArticleAppreciation/src/DocAfterAppreciation.vue2.mjs +4 -4
  42. package/es/components/theme/ArticleAppreciation/src/DocAfterAppreciationPopper.vue2.mjs +3 -3
  43. package/es/components/theme/ArticleBreadcrumb/src/index.vue2.mjs +3 -3
  44. package/es/components/theme/ArticleHeadingHighlight/src/index.vue2.mjs +3 -3
  45. package/es/components/theme/ArticleImagePreview/src/index.vue2.mjs +4 -5
  46. package/es/components/theme/ArticleInfo/src/index.vue2.mjs +3 -3
  47. package/es/components/theme/ArticleOverviewPage/src/index.vue2.mjs +3 -3
  48. package/es/components/theme/ArticlePageStyle/src/index.vue2.mjs +5 -5
  49. package/es/components/theme/ArticleShare/src/index.vue2.mjs +4 -4
  50. package/es/components/theme/ArticleTitle/src/index.vue2.mjs +3 -3
  51. package/es/components/theme/ArticleUpdate/src/index.vue2.mjs +3 -3
  52. package/es/components/theme/BodyBgImage/src/index.vue2.mjs +3 -3
  53. package/es/components/theme/CataloguePage/src/CatalogueItem.vue2.mjs +8 -8
  54. package/es/components/theme/CataloguePage/src/index.vue2.mjs +3 -3
  55. package/es/components/theme/CodeBlockToggle/src/Overlay.vue.d.ts +7 -0
  56. package/es/components/theme/CodeBlockToggle/src/Overlay.vue.mjs +5 -0
  57. package/es/components/theme/CodeBlockToggle/src/Overlay.vue2.mjs +33 -0
  58. package/es/components/theme/CodeBlockToggle/src/createOverlay.d.ts +4 -0
  59. package/es/components/theme/CodeBlockToggle/src/createOverlay.mjs +10 -0
  60. package/es/components/theme/CodeBlockToggle/src/index.vue2.mjs +31 -13
  61. package/es/components/theme/CommentArtalk/src/index.vue2.mjs +4 -4
  62. package/es/components/theme/CommentGiscus/src/index.vue2.mjs +4 -4
  63. package/es/components/theme/CommentTwikoo/src/index.vue2.mjs +4 -4
  64. package/es/components/theme/CommentWaline/src/index.vue2.mjs +4 -4
  65. package/es/components/theme/ConfigProvider/index.d.ts +6 -0
  66. package/es/components/theme/ConfigProvider/index.mjs +9 -4
  67. package/es/components/theme/DemoCode/src/index.vue2.mjs +6 -6
  68. package/es/components/theme/FooterGroup/src/index.vue2.mjs +2 -2
  69. package/es/components/theme/FooterInfo/src/index.vue2.mjs +4 -4
  70. package/es/components/theme/Home/src/index.vue2.mjs +11 -11
  71. package/es/components/theme/HomeBanner/src/HomeBannerBgImage.vue2.mjs +4 -4
  72. package/es/components/theme/HomeBanner/src/HomeBannerBgPure.vue2.mjs +3 -3
  73. package/es/components/theme/HomeBanner/src/HomeBannerContent.vue.d.ts +18 -1
  74. package/es/components/theme/HomeBanner/src/HomeBannerContent.vue2.mjs +47 -21
  75. package/es/components/theme/HomeBanner/src/HomeBannerFeature.vue2.mjs +6 -6
  76. package/es/components/theme/HomeBanner/src/HomeBannerWaves.vue2.mjs +2 -2
  77. package/es/components/theme/HomeBanner/src/index.vue.d.ts +1 -8
  78. package/es/components/theme/HomeBanner/src/index.vue2.mjs +24 -6
  79. package/es/components/theme/HomeCardList/src/index.vue2.mjs +8 -8
  80. package/es/components/theme/HomeCategoryCard/src/index.vue2.mjs +3 -3
  81. package/es/components/theme/HomeDocAnalysisCard/src/index.vue2.mjs +7 -10
  82. package/es/components/theme/HomeFriendLinkCard/src/ItemInfo.vue.d.ts +1 -1
  83. package/es/components/theme/HomeFriendLinkCard/src/ItemInfo.vue2.mjs +1 -11
  84. package/es/components/theme/HomeFriendLinkCard/src/index.vue2.mjs +4 -5
  85. package/es/components/theme/HomeFullscreenWallpaper/src/index.vue2.mjs +8 -8
  86. package/es/components/theme/HomeMyCard/src/HomeMyCardScreen.vue2.mjs +4 -4
  87. package/es/components/theme/HomeMyCard/src/index.vue2.mjs +3 -3
  88. package/es/components/theme/HomePostList/src/HomePostItem.vue2.mjs +8 -15
  89. package/es/components/theme/HomePostList/src/HomePostItemCard.vue2.mjs +18 -19
  90. package/es/components/theme/HomePostList/src/index.vue2.mjs +5 -5
  91. package/es/components/theme/HomeTagCard/src/index.vue2.mjs +4 -4
  92. package/es/components/theme/HomeTopArticleCard/src/index.vue2.mjs +3 -3
  93. package/es/components/theme/Layout/src/index.vue2.mjs +63 -47
  94. package/es/components/theme/LoginPage/src/index.vue2.mjs +3 -3
  95. package/es/components/theme/LoginPage/src/login.mjs +2 -2
  96. package/es/components/theme/Notice/src/index.vue2.mjs +10 -11
  97. package/es/components/theme/RightBottomButton/src/BackTop.vue.d.ts +21 -1
  98. package/es/components/theme/RightBottomButton/src/BackTop.vue2.mjs +49 -29
  99. package/es/components/theme/RightBottomButton/src/ThemeColor.vue2.mjs +4 -4
  100. package/es/components/theme/RightBottomButton/src/ToComment.vue.d.ts +20 -1
  101. package/es/components/theme/RightBottomButton/src/ToComment.vue2.mjs +31 -26
  102. package/es/components/theme/RightBottomButton/src/index.vue.d.ts +15 -1
  103. package/es/components/theme/RightBottomButton/src/index.vue2.mjs +29 -31
  104. package/es/components/theme/RightBottomButton/src/namespace.d.ts +3 -2
  105. package/es/components/theme/RightBottomButton/src/namespace.mjs +2 -2
  106. package/es/components/theme/RiskLinkPage/src/index.vue2.mjs +4 -4
  107. package/es/components/theme/RiskLinkPage/src/useRiskLink.mjs +3 -3
  108. package/es/components/theme/SidebarTrigger/index.d.ts +4 -0
  109. package/es/components/theme/SidebarTrigger/index.mjs +5 -0
  110. package/es/components/theme/SidebarTrigger/src/index.vue.d.ts +22 -0
  111. package/es/components/theme/SidebarTrigger/src/index.vue.mjs +5 -0
  112. package/es/components/theme/SidebarTrigger/src/index.vue2.mjs +65 -0
  113. package/es/components/theme/SidebarTrigger/src/instance.d.ts +2 -0
  114. package/es/components/theme/SidebarTrigger/src/instance.mjs +1 -0
  115. package/es/components/theme/SidebarTrigger/style/css.d.ts +2 -0
  116. package/es/components/theme/SidebarTrigger/style/css.mjs +2 -0
  117. package/es/components/theme/SidebarTrigger/style/index.d.ts +2 -0
  118. package/es/components/theme/SidebarTrigger/style/index.mjs +2 -0
  119. package/es/components/theme/ThemeEnhance/src/LayoutDocWidthSlide.vue2.mjs +6 -6
  120. package/es/components/theme/ThemeEnhance/src/LayoutPageWidthSlide.vue2.mjs +5 -5
  121. package/es/components/theme/ThemeEnhance/src/LayoutSwitch.vue2.mjs +4 -4
  122. package/es/components/theme/ThemeEnhance/src/Spotlight.vue2.mjs +9 -9
  123. package/es/components/theme/ThemeEnhance/src/SpotlightStyle.vue2.mjs +7 -7
  124. package/es/components/theme/ThemeEnhance/src/ThemeColor.vue2.mjs +5 -5
  125. package/es/components/theme/ThemeEnhance/src/components/BorderHighlight.vue2.mjs +2 -2
  126. package/es/components/theme/ThemeEnhance/src/components/SpotlightHover.vue2.mjs +6 -6
  127. package/es/components/theme/ThemeEnhance/src/index.vue.d.ts +1 -4
  128. package/es/components/theme/ThemeEnhance/src/index.vue2.mjs +3 -6
  129. package/es/components/theme/ThemeEnhance/src/namespace.d.ts +3 -2
  130. package/es/components/theme/ThemeEnhance/src/namespace.mjs +3 -3
  131. package/es/components/theme/ThemeEnhance/src/useAnimated.mjs +2 -2
  132. package/es/components/theme/index.d.ts +1 -0
  133. package/es/components/theme/index.mjs +2 -1
  134. package/es/{hooks → composables}/index.d.ts +1 -1
  135. package/es/{hooks → composables}/index.mjs +1 -1
  136. package/es/{hooks → composables}/useLocale.d.ts +3 -0
  137. package/{lib/hooks → es/composables}/useNamespace.d.ts +2 -1
  138. package/es/{hooks → composables}/useNamespace.mjs +6 -2
  139. package/es/composables/useUvPv.d.ts +76 -0
  140. package/es/composables/useUvPv.mjs +104 -0
  141. package/es/config/interface/backTop.d.ts +19 -0
  142. package/es/config/interface/backTop.mjs +1 -0
  143. package/es/config/interface/codeBlock.d.ts +14 -0
  144. package/es/config/interface/docAnalysis.d.ts +2 -25
  145. package/es/config/interface/friendLink.d.ts +1 -6
  146. package/es/config/interface/index.d.ts +2 -0
  147. package/es/config/interface/post.d.ts +0 -5
  148. package/es/config/interface/themeEnhance.d.ts +7 -0
  149. package/es/config/interface/toComment.d.ts +13 -0
  150. package/es/config/interface/toComment.mjs +1 -0
  151. package/es/config/interface/topArticle.d.ts +1 -1
  152. package/es/config/post/index.mjs +2 -2
  153. package/es/config/types.d.ts +12 -7
  154. package/es/index.css +1 -2
  155. package/es/index.d.ts +1 -1
  156. package/es/index.mjs +25 -23
  157. package/es/locale/lang/en.d.ts +3 -0
  158. package/es/locale/lang/en.mjs +3 -0
  159. package/es/locale/lang/zh-cn.d.ts +3 -0
  160. package/es/locale/lang/zh-cn.mjs +3 -0
  161. package/es/markdown/plugins/imgCard.mjs +1 -1
  162. package/es/markdown/plugins/navCard.mjs +1 -1
  163. package/es/markdown/plugins/shareCard.mjs +1 -1
  164. package/es/version.d.ts +1 -1
  165. package/es/version.mjs +1 -1
  166. package/index.css +1 -1
  167. package/index.js +905 -642
  168. package/index.min.js +107 -104
  169. package/index.min.mjs +108 -105
  170. package/index.mjs +860 -610
  171. package/lib/components/common/ArticlePage/src/components/DocAsideOutline.vue2.js +2 -2
  172. package/lib/components/common/ArticlePage/src/components/DocAsideOutlineItem.vue2.js +2 -2
  173. package/lib/components/common/ArticlePage/src/components/outline.js +5 -5
  174. package/lib/components/common/ArticlePage/src/index.vue2.js +3 -3
  175. package/lib/components/common/Avatar/src/index.vue2.js +2 -2
  176. package/lib/components/common/Breadcrumb/src/Breadcrumb.vue2.js +2 -2
  177. package/lib/components/common/Breadcrumb/src/namespace.d.ts +3 -2
  178. package/lib/components/common/Breadcrumb/src/namespace.js +2 -2
  179. package/lib/components/common/Icon/index.d.ts +1 -0
  180. package/lib/components/common/Icon/index.js +9 -0
  181. package/lib/components/common/Icon/src/SocialIcons.d.ts +9 -0
  182. package/lib/components/common/Icon/src/SocialIcons.js +22 -0
  183. package/lib/components/common/Icon/src/icon.d.ts +4 -0
  184. package/lib/components/common/Icon/src/index.vue.d.ts +2 -2
  185. package/lib/components/common/Icon/src/index.vue2.js +56 -34
  186. package/lib/components/common/ImageViewer/src/ImageViewer.vue2.js +5 -5
  187. package/lib/components/common/InputSlide/src/index.vue2.js +4 -4
  188. package/lib/components/common/Message/src/index.vue.d.ts +2 -2
  189. package/lib/components/common/Message/src/index.vue2.js +3 -3
  190. package/lib/components/common/PageCard/src/index.vue2.js +6 -6
  191. package/lib/components/common/Pagination/src/components/jumper.vue2.js +3 -3
  192. package/lib/components/common/Pagination/src/components/next.vue2.js +2 -2
  193. package/lib/components/common/Pagination/src/components/pager.vue2.js +3 -3
  194. package/lib/components/common/Pagination/src/components/prev.vue2.js +2 -2
  195. package/lib/components/common/Pagination/src/components/total.vue2.js +3 -3
  196. package/lib/components/common/Pagination/src/index.vue2.js +2 -2
  197. package/lib/components/common/Popover/src/index.vue2.js +7 -7
  198. package/lib/components/common/Popover/src/popover.d.ts +1 -1
  199. package/lib/components/common/Segmented/src/Segmented.vue2.js +2 -2
  200. package/lib/components/common/Segmented/src/SegmentedItem.vue2.js +2 -2
  201. package/lib/components/common/TitleTag/src/index.vue2.js +2 -2
  202. package/lib/components/common/TransitionCollapse/src/index.vue2.js +2 -2
  203. package/lib/components/common/VerifyCode/src/index.vue2.js +2 -2
  204. package/lib/components/common/VpContainer/src/index.vue2.js +2 -2
  205. package/lib/components/common/index.js +9 -0
  206. package/lib/components/index.js +12 -0
  207. package/lib/components/theme/ArchivesPage/src/index.vue2.js +3 -3
  208. package/lib/components/theme/ArticleAnalyze/src/index.vue2.js +8 -13
  209. package/lib/components/theme/ArticleAppreciation/src/AsideBottomAppreciation.vue2.js +3 -3
  210. package/lib/components/theme/ArticleAppreciation/src/DocAfterAppreciation.vue2.js +4 -4
  211. package/lib/components/theme/ArticleAppreciation/src/DocAfterAppreciationPopper.vue2.js +3 -3
  212. package/lib/components/theme/ArticleBreadcrumb/src/index.vue2.js +3 -3
  213. package/lib/components/theme/ArticleHeadingHighlight/src/index.vue2.js +3 -3
  214. package/lib/components/theme/ArticleImagePreview/src/index.vue2.js +4 -5
  215. package/lib/components/theme/ArticleInfo/src/index.vue2.js +3 -3
  216. package/lib/components/theme/ArticleOverviewPage/src/index.vue2.js +3 -3
  217. package/lib/components/theme/ArticlePageStyle/src/index.vue2.js +5 -5
  218. package/lib/components/theme/ArticleShare/src/index.vue2.js +4 -4
  219. package/lib/components/theme/ArticleTitle/src/index.vue2.js +3 -3
  220. package/lib/components/theme/ArticleUpdate/src/index.vue2.js +3 -3
  221. package/lib/components/theme/BodyBgImage/src/index.vue2.js +3 -3
  222. package/lib/components/theme/CataloguePage/src/CatalogueItem.vue2.js +7 -7
  223. package/lib/components/theme/CataloguePage/src/index.vue2.js +3 -3
  224. package/lib/components/theme/CodeBlockToggle/src/Overlay.vue.d.ts +7 -0
  225. package/lib/components/theme/CodeBlockToggle/src/Overlay.vue.js +9 -0
  226. package/lib/components/theme/CodeBlockToggle/src/Overlay.vue2.js +37 -0
  227. package/lib/components/theme/CodeBlockToggle/src/createOverlay.d.ts +4 -0
  228. package/lib/components/theme/CodeBlockToggle/src/createOverlay.js +12 -0
  229. package/lib/components/theme/CodeBlockToggle/src/index.vue2.js +30 -12
  230. package/lib/components/theme/CommentArtalk/src/index.vue2.js +4 -4
  231. package/lib/components/theme/CommentGiscus/src/index.vue2.js +4 -4
  232. package/lib/components/theme/CommentTwikoo/src/index.vue2.js +4 -4
  233. package/lib/components/theme/CommentWaline/src/index.vue2.js +4 -4
  234. package/lib/components/theme/ConfigProvider/index.d.ts +6 -0
  235. package/lib/components/theme/ConfigProvider/index.js +9 -3
  236. package/lib/components/theme/DemoCode/src/index.vue2.js +6 -6
  237. package/lib/components/theme/FooterGroup/src/index.vue2.js +2 -2
  238. package/lib/components/theme/FooterInfo/src/index.vue2.js +4 -4
  239. package/lib/components/theme/Home/src/index.vue2.js +10 -10
  240. package/lib/components/theme/HomeBanner/src/HomeBannerBgImage.vue2.js +4 -4
  241. package/lib/components/theme/HomeBanner/src/HomeBannerBgPure.vue2.js +3 -3
  242. package/lib/components/theme/HomeBanner/src/HomeBannerContent.vue.d.ts +18 -1
  243. package/lib/components/theme/HomeBanner/src/HomeBannerContent.vue2.js +46 -20
  244. package/lib/components/theme/HomeBanner/src/HomeBannerFeature.vue2.js +6 -6
  245. package/lib/components/theme/HomeBanner/src/HomeBannerWaves.vue2.js +2 -2
  246. package/lib/components/theme/HomeBanner/src/index.vue.d.ts +1 -8
  247. package/lib/components/theme/HomeBanner/src/index.vue2.js +23 -5
  248. package/lib/components/theme/HomeCardList/src/index.vue2.js +8 -8
  249. package/lib/components/theme/HomeCategoryCard/src/index.vue2.js +3 -3
  250. package/lib/components/theme/HomeDocAnalysisCard/src/index.vue2.js +7 -10
  251. package/lib/components/theme/HomeFriendLinkCard/src/ItemInfo.vue.d.ts +1 -1
  252. package/lib/components/theme/HomeFriendLinkCard/src/ItemInfo.vue2.js +1 -11
  253. package/lib/components/theme/HomeFriendLinkCard/src/index.vue2.js +4 -5
  254. package/lib/components/theme/HomeFullscreenWallpaper/src/index.vue2.js +8 -8
  255. package/lib/components/theme/HomeMyCard/src/HomeMyCardScreen.vue2.js +4 -4
  256. package/lib/components/theme/HomeMyCard/src/index.vue2.js +3 -3
  257. package/lib/components/theme/HomePostList/src/HomePostItem.vue2.js +8 -15
  258. package/lib/components/theme/HomePostList/src/HomePostItemCard.vue2.js +18 -19
  259. package/lib/components/theme/HomePostList/src/index.vue2.js +5 -5
  260. package/lib/components/theme/HomeTagCard/src/index.vue2.js +4 -4
  261. package/lib/components/theme/HomeTopArticleCard/src/index.vue2.js +3 -3
  262. package/lib/components/theme/Layout/src/index.vue2.js +57 -41
  263. package/lib/components/theme/LoginPage/src/index.vue2.js +3 -3
  264. package/lib/components/theme/LoginPage/src/login.js +2 -2
  265. package/lib/components/theme/Notice/src/index.vue2.js +9 -10
  266. package/lib/components/theme/RightBottomButton/src/BackTop.vue.d.ts +21 -1
  267. package/lib/components/theme/RightBottomButton/src/BackTop.vue2.js +48 -28
  268. package/lib/components/theme/RightBottomButton/src/ThemeColor.vue2.js +4 -4
  269. package/lib/components/theme/RightBottomButton/src/ToComment.vue.d.ts +20 -1
  270. package/lib/components/theme/RightBottomButton/src/ToComment.vue2.js +30 -25
  271. package/lib/components/theme/RightBottomButton/src/index.vue.d.ts +15 -1
  272. package/lib/components/theme/RightBottomButton/src/index.vue2.js +26 -28
  273. package/lib/components/theme/RightBottomButton/src/namespace.d.ts +3 -2
  274. package/lib/components/theme/RightBottomButton/src/namespace.js +2 -2
  275. package/lib/components/theme/RiskLinkPage/src/index.vue2.js +4 -4
  276. package/lib/components/theme/RiskLinkPage/src/useRiskLink.js +3 -3
  277. package/lib/components/theme/SidebarTrigger/index.d.ts +4 -0
  278. package/lib/components/theme/SidebarTrigger/index.js +10 -0
  279. package/lib/components/theme/SidebarTrigger/src/index.vue.d.ts +22 -0
  280. package/lib/components/theme/SidebarTrigger/src/index.vue.js +9 -0
  281. package/lib/components/theme/SidebarTrigger/src/index.vue2.js +69 -0
  282. package/lib/components/theme/SidebarTrigger/src/instance.d.ts +2 -0
  283. package/lib/components/theme/SidebarTrigger/src/instance.js +2 -0
  284. package/lib/components/theme/SidebarTrigger/style/css.d.ts +2 -0
  285. package/lib/components/theme/SidebarTrigger/style/css.js +5 -0
  286. package/lib/components/theme/SidebarTrigger/style/index.d.ts +2 -0
  287. package/lib/components/theme/SidebarTrigger/style/index.js +5 -0
  288. package/lib/components/theme/ThemeEnhance/src/LayoutDocWidthSlide.vue2.js +6 -6
  289. package/lib/components/theme/ThemeEnhance/src/LayoutPageWidthSlide.vue2.js +5 -5
  290. package/lib/components/theme/ThemeEnhance/src/LayoutSwitch.vue2.js +4 -4
  291. package/lib/components/theme/ThemeEnhance/src/Spotlight.vue2.js +9 -9
  292. package/lib/components/theme/ThemeEnhance/src/SpotlightStyle.vue2.js +7 -7
  293. package/lib/components/theme/ThemeEnhance/src/ThemeColor.vue2.js +5 -5
  294. package/lib/components/theme/ThemeEnhance/src/components/BorderHighlight.vue2.js +2 -2
  295. package/lib/components/theme/ThemeEnhance/src/components/SpotlightHover.vue2.js +6 -6
  296. package/lib/components/theme/ThemeEnhance/src/index.vue.d.ts +1 -4
  297. package/lib/components/theme/ThemeEnhance/src/index.vue2.js +3 -6
  298. package/lib/components/theme/ThemeEnhance/src/namespace.d.ts +3 -2
  299. package/lib/components/theme/ThemeEnhance/src/namespace.js +3 -3
  300. package/lib/components/theme/ThemeEnhance/src/useAnimated.js +2 -2
  301. package/lib/components/theme/index.d.ts +1 -0
  302. package/lib/components/theme/index.js +3 -0
  303. package/lib/{hooks → composables}/index.d.ts +1 -1
  304. package/lib/{hooks → composables}/index.js +5 -2
  305. package/lib/{hooks → composables}/useLocale.d.ts +3 -0
  306. package/{es/hooks → lib/composables}/useNamespace.d.ts +2 -1
  307. package/lib/{hooks → composables}/useNamespace.js +6 -2
  308. package/lib/composables/useUvPv.d.ts +76 -0
  309. package/lib/composables/useUvPv.js +109 -0
  310. package/lib/config/interface/backTop.d.ts +19 -0
  311. package/lib/config/interface/backTop.js +2 -0
  312. package/lib/config/interface/codeBlock.d.ts +14 -0
  313. package/lib/config/interface/docAnalysis.d.ts +2 -25
  314. package/lib/config/interface/friendLink.d.ts +1 -6
  315. package/lib/config/interface/index.d.ts +2 -0
  316. package/lib/config/interface/post.d.ts +0 -5
  317. package/lib/config/interface/themeEnhance.d.ts +7 -0
  318. package/lib/config/interface/toComment.d.ts +13 -0
  319. package/lib/config/interface/toComment.js +2 -0
  320. package/lib/config/interface/topArticle.d.ts +1 -1
  321. package/lib/config/post/index.js +1 -1
  322. package/lib/config/types.d.ts +12 -7
  323. package/lib/index.css +1 -1
  324. package/lib/index.d.ts +1 -1
  325. package/lib/index.js +38 -23
  326. package/lib/locale/lang/en.d.ts +3 -0
  327. package/lib/locale/lang/en.js +3 -0
  328. package/lib/locale/lang/zh-cn.d.ts +3 -0
  329. package/lib/locale/lang/zh-cn.js +3 -0
  330. package/lib/markdown/plugins/imgCard.js +1 -1
  331. package/lib/markdown/plugins/navCard.js +1 -1
  332. package/lib/markdown/plugins/shareCard.js +1 -1
  333. package/lib/version.d.ts +1 -1
  334. package/lib/version.js +1 -1
  335. package/package.json +4 -4
  336. package/theme-chalk/index.css +1 -1
  337. package/theme-chalk/src/common/atomic.scss +0 -6
  338. package/theme-chalk/src/common/tk.scss +4 -3
  339. package/theme-chalk/src/components/common/article-page.scss +3 -3
  340. package/theme-chalk/src/components/common/breadcrumb.scss +1 -1
  341. package/theme-chalk/src/components/common/icon.scss +16 -9
  342. package/theme-chalk/src/components/common/input-slide.scss +2 -1
  343. package/theme-chalk/src/components/common/message.scss +2 -2
  344. package/theme-chalk/src/components/common/page-card.scss +1 -1
  345. package/theme-chalk/src/components/common/pagination.scss +5 -4
  346. package/theme-chalk/src/components/common/segmented-item.scss +2 -2
  347. package/theme-chalk/src/components/theme/archives-page.scss +1 -1
  348. package/theme-chalk/src/components/theme/article-appreciation.scss +1 -1
  349. package/theme-chalk/src/components/theme/article-page-style.scss +2 -0
  350. package/theme-chalk/src/components/theme/article-share.scss +2 -2
  351. package/theme-chalk/src/components/theme/body-bg-image.scss +2 -1
  352. package/theme-chalk/src/components/theme/border-highlight.scss +3 -2
  353. package/theme-chalk/src/components/theme/code-block-toggle.scss +55 -25
  354. package/theme-chalk/src/components/theme/demo-code.scss +3 -2
  355. package/theme-chalk/src/components/theme/footer-group.scss +4 -3
  356. package/theme-chalk/src/components/theme/home-banner-content.scss +3 -2
  357. package/theme-chalk/src/components/theme/home-banner.scss +9 -3
  358. package/theme-chalk/src/components/theme/home-category-card.scss +7 -8
  359. package/theme-chalk/src/components/theme/home-my-card.scss +3 -3
  360. package/theme-chalk/src/components/theme/home-post-item-card.scss +2 -2
  361. package/theme-chalk/src/components/theme/home-post-item.scss +2 -2
  362. package/theme-chalk/src/components/theme/home-post-list.scss +1 -1
  363. package/theme-chalk/src/components/theme/home-tag-card.scss +2 -2
  364. package/theme-chalk/src/components/theme/home.scss +1 -1
  365. package/theme-chalk/src/components/theme/layout-switch.scss +35 -26
  366. package/theme-chalk/src/components/theme/login-page.scss +2 -2
  367. package/theme-chalk/src/components/theme/notice.scss +2 -2
  368. package/theme-chalk/src/components/theme/right-bottom-button.scss +7 -2
  369. package/theme-chalk/src/components/theme/risk-link-page.scss +1 -1
  370. package/theme-chalk/src/components/theme/sidebar-trigger.scss +162 -0
  371. package/theme-chalk/src/components/theme/theme-enhance.scss +18 -19
  372. package/theme-chalk/src/index.scss +1 -0
  373. package/theme-chalk/src/mixins/bem.scss +31 -7
  374. package/theme-chalk/src/mixins/config.scss +2 -1
  375. package/theme-chalk/src/mixins/function.scss +1 -1
  376. package/theme-chalk/src/tk-plus/banner-desc-gradient.scss +1 -1
  377. package/theme-chalk/src/tk-plus/banner-full-img-scale.scss +1 -1
  378. package/theme-chalk/src/var/var.scss +7 -0
  379. package/theme-chalk/tk-archives-page.css +1 -1
  380. package/theme-chalk/tk-article-appreciation.css +1 -1
  381. package/theme-chalk/tk-article-breadcrumb.css +1 -1
  382. package/theme-chalk/tk-article-page-style.css +1 -1
  383. package/theme-chalk/tk-article-share.css +1 -1
  384. package/theme-chalk/tk-banner-desc-gradient.css +1 -1
  385. package/theme-chalk/tk-base.css +1 -1
  386. package/theme-chalk/tk-body-bg-image.css +1 -1
  387. package/theme-chalk/tk-border-highlight.css +1 -1
  388. package/theme-chalk/tk-code-block-toggle.css +1 -1
  389. package/theme-chalk/tk-demo-code.css +1 -1
  390. package/theme-chalk/tk-footer-group.css +1 -1
  391. package/theme-chalk/tk-home-banner-content.css +1 -1
  392. package/theme-chalk/tk-home-banner.css +1 -1
  393. package/theme-chalk/tk-home-category-card.css +1 -1
  394. package/theme-chalk/tk-home-my-card.css +1 -1
  395. package/theme-chalk/tk-home-post-item-card.css +1 -1
  396. package/theme-chalk/tk-home-post-item.css +1 -1
  397. package/theme-chalk/tk-home-post-list.css +1 -1
  398. package/theme-chalk/tk-home-tag-card.css +1 -1
  399. package/theme-chalk/tk-layout-switch.css +1 -1
  400. package/theme-chalk/tk-right-bottom-button.css +1 -1
  401. package/theme-chalk/tk-risk-link-page.css +1 -1
  402. package/theme-chalk/tk-sidebar-trigger.css +1 -0
  403. package/theme-chalk/tk-theme-enhance.css +1 -1
  404. package/es/hooks/useBuSuanZi.d.ts +0 -44
  405. package/es/hooks/useBuSuanZi.mjs +0 -62
  406. package/lib/hooks/useBuSuanZi.d.ts +0 -44
  407. package/lib/hooks/useBuSuanZi.js +0 -64
  408. /package/es/components/common/VerifyCode/src/{hooks.d.ts → useImgCode.d.ts} +0 -0
  409. /package/es/components/common/VerifyCode/src/{hooks.mjs → useImgCode.mjs} +0 -0
  410. /package/es/{hooks → composables}/cssModule/namespace.module.scss.d.mjs +0 -0
  411. /package/es/{hooks → composables}/cssModule/namespace.module.scss.d.ts +0 -0
  412. /package/es/{hooks → composables}/cssModule/namespace.module.scss.mjs +0 -0
  413. /package/es/{hooks → composables}/onClickOutside.d.ts +0 -0
  414. /package/es/{hooks → composables}/onClickOutside.mjs +0 -0
  415. /package/es/{hooks → composables}/useAnchorScroll.d.ts +0 -0
  416. /package/es/{hooks → composables}/useAnchorScroll.mjs +0 -0
  417. /package/es/{hooks → composables}/useClipboard.d.ts +0 -0
  418. /package/es/{hooks → composables}/useClipboard.mjs +0 -0
  419. /package/es/{hooks → composables}/useDebounce.d.ts +0 -0
  420. /package/es/{hooks → composables}/useDebounce.mjs +0 -0
  421. /package/es/{hooks → composables}/useElementHover.d.ts +0 -0
  422. /package/es/{hooks → composables}/useElementHover.mjs +0 -0
  423. /package/es/{hooks → composables}/useEventListener.d.ts +0 -0
  424. /package/es/{hooks → composables}/useEventListener.mjs +0 -0
  425. /package/es/{hooks → composables}/useLocale.mjs +0 -0
  426. /package/es/{hooks → composables}/useMediaQuery.d.ts +0 -0
  427. /package/es/{hooks → composables}/useMediaQuery.mjs +0 -0
  428. /package/es/{hooks → composables}/useMounted.d.ts +0 -0
  429. /package/es/{hooks → composables}/useMounted.mjs +0 -0
  430. /package/es/{hooks → composables}/usePopoverSize.d.ts +0 -0
  431. /package/es/{hooks → composables}/usePopoverSize.mjs +0 -0
  432. /package/es/{hooks → composables}/useScopeDispose.d.ts +0 -0
  433. /package/es/{hooks → composables}/useScopeDispose.mjs +0 -0
  434. /package/es/{hooks → composables}/useScrollData.d.ts +0 -0
  435. /package/es/{hooks → composables}/useScrollData.mjs +0 -0
  436. /package/es/{hooks → composables}/useScrollbarSize.d.ts +0 -0
  437. /package/es/{hooks → composables}/useScrollbarSize.mjs +0 -0
  438. /package/es/{hooks → composables}/useStorage.d.ts +0 -0
  439. /package/es/{hooks → composables}/useStorage.mjs +0 -0
  440. /package/es/{hooks → composables}/useSwitchData.d.ts +0 -0
  441. /package/es/{hooks → composables}/useSwitchData.mjs +0 -0
  442. /package/es/{hooks → composables}/useTextTypes.d.ts +0 -0
  443. /package/es/{hooks → composables}/useTextTypes.mjs +0 -0
  444. /package/es/{hooks → composables}/useThemeColor.d.ts +0 -0
  445. /package/es/{hooks → composables}/useThemeColor.mjs +0 -0
  446. /package/es/{hooks → composables}/useViewTransition.d.ts +0 -0
  447. /package/es/{hooks → composables}/useViewTransition.mjs +0 -0
  448. /package/es/{hooks → composables}/useVpRouter.d.ts +0 -0
  449. /package/es/{hooks → composables}/useVpRouter.mjs +0 -0
  450. /package/es/{hooks → composables}/useWindowSize.d.ts +0 -0
  451. /package/es/{hooks → composables}/useWindowSize.mjs +0 -0
  452. /package/es/{hooks → composables}/useZIndex.d.ts +0 -0
  453. /package/es/{hooks → composables}/useZIndex.mjs +0 -0
  454. /package/lib/components/common/VerifyCode/src/{hooks.d.ts → useImgCode.d.ts} +0 -0
  455. /package/lib/components/common/VerifyCode/src/{hooks.js → useImgCode.js} +0 -0
  456. /package/lib/{hooks → composables}/cssModule/namespace.module.scss.d.js +0 -0
  457. /package/lib/{hooks → composables}/cssModule/namespace.module.scss.d.ts +0 -0
  458. /package/lib/{hooks → composables}/cssModule/namespace.module.scss.js +0 -0
  459. /package/lib/{hooks → composables}/onClickOutside.d.ts +0 -0
  460. /package/lib/{hooks → composables}/onClickOutside.js +0 -0
  461. /package/lib/{hooks → composables}/useAnchorScroll.d.ts +0 -0
  462. /package/lib/{hooks → composables}/useAnchorScroll.js +0 -0
  463. /package/lib/{hooks → composables}/useClipboard.d.ts +0 -0
  464. /package/lib/{hooks → composables}/useClipboard.js +0 -0
  465. /package/lib/{hooks → composables}/useDebounce.d.ts +0 -0
  466. /package/lib/{hooks → composables}/useDebounce.js +0 -0
  467. /package/lib/{hooks → composables}/useElementHover.d.ts +0 -0
  468. /package/lib/{hooks → composables}/useElementHover.js +0 -0
  469. /package/lib/{hooks → composables}/useEventListener.d.ts +0 -0
  470. /package/lib/{hooks → composables}/useEventListener.js +0 -0
  471. /package/lib/{hooks → composables}/useLocale.js +0 -0
  472. /package/lib/{hooks → composables}/useMediaQuery.d.ts +0 -0
  473. /package/lib/{hooks → composables}/useMediaQuery.js +0 -0
  474. /package/lib/{hooks → composables}/useMounted.d.ts +0 -0
  475. /package/lib/{hooks → composables}/useMounted.js +0 -0
  476. /package/lib/{hooks → composables}/usePopoverSize.d.ts +0 -0
  477. /package/lib/{hooks → composables}/usePopoverSize.js +0 -0
  478. /package/lib/{hooks → composables}/useScopeDispose.d.ts +0 -0
  479. /package/lib/{hooks → composables}/useScopeDispose.js +0 -0
  480. /package/lib/{hooks → composables}/useScrollData.d.ts +0 -0
  481. /package/lib/{hooks → composables}/useScrollData.js +0 -0
  482. /package/lib/{hooks → composables}/useScrollbarSize.d.ts +0 -0
  483. /package/lib/{hooks → composables}/useScrollbarSize.js +0 -0
  484. /package/lib/{hooks → composables}/useStorage.d.ts +0 -0
  485. /package/lib/{hooks → composables}/useStorage.js +0 -0
  486. /package/lib/{hooks → composables}/useSwitchData.d.ts +0 -0
  487. /package/lib/{hooks → composables}/useSwitchData.js +0 -0
  488. /package/lib/{hooks → composables}/useTextTypes.d.ts +0 -0
  489. /package/lib/{hooks → composables}/useTextTypes.js +0 -0
  490. /package/lib/{hooks → composables}/useThemeColor.d.ts +0 -0
  491. /package/lib/{hooks → composables}/useThemeColor.js +0 -0
  492. /package/lib/{hooks → composables}/useViewTransition.d.ts +0 -0
  493. /package/lib/{hooks → composables}/useViewTransition.js +0 -0
  494. /package/lib/{hooks → composables}/useVpRouter.d.ts +0 -0
  495. /package/lib/{hooks → composables}/useVpRouter.js +0 -0
  496. /package/lib/{hooks → composables}/useWindowSize.d.ts +0 -0
  497. /package/lib/{hooks → composables}/useWindowSize.js +0 -0
  498. /package/lib/{hooks → composables}/useZIndex.d.ts +0 -0
  499. /package/lib/{hooks → composables}/useZIndex.js +0 -0
package/README.md CHANGED
@@ -29,6 +29,8 @@
29
29
  </a>
30
30
  </p>
31
31
 
32
+ **简体中文** | [English](./README.en.md)
33
+
32
34
  ## Teek 在线安装
33
35
 
34
36
  请看 [快速开始](https://vp.teek.top/guide/quickstart)。
@@ -63,6 +65,70 @@ pnpm stub
63
65
  pnpm docs:dev
64
66
  ```
65
67
 
68
+ ## 效果图
69
+
70
+ 下面只列出部分效果图,更多的功能请访问 [官方文档](https://vp.teek.top)
71
+
72
+ ### 文档首页
73
+
74
+ ![](https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807010539.png)
75
+
76
+ ### Banner 大图
77
+
78
+ ![Banner 大图](https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807004931.png)
79
+
80
+ ### Banner 小图
81
+
82
+ ![Banner 小图](https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807004833.png)
83
+
84
+ ### 全背景图
85
+
86
+ ![全背景图](https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807004913.png)
87
+
88
+ ### 卡片风格
89
+
90
+ ![卡片风格](https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807004909.png)
91
+
92
+ ### 碎片化文章页
93
+
94
+ ![碎片化文章页](https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807004839.png)
95
+
96
+ ### 目录页
97
+
98
+ ![目录页](https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807004926.png)
99
+
100
+ ### 归档页
101
+
102
+ ![归档页](https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807004922.png)
103
+
104
+ ## 💖 支持这个项目
105
+
106
+ 如果您正在使用这个项目并感觉这个项目给你带来帮助,或者是想支持我继续开发,您可以通过如下任意方式支持我:
107
+
108
+ - Star 并分享 [VitePress Theme Teek](https://github.com/Kele-Bingtang/vitepress-theme-teek) 🚀
109
+ - 通过以下二维码进行赞助,打赏作者一杯茶 🍵
110
+
111
+ 谢谢!❤️
112
+
113
+ | 微信赞赏 | 微信 | 支付宝 |
114
+ | :---------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: |
115
+ | <img src="https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807010102.jpg" alt="WeChat Sponsor QRcode" width=180> | <img src="https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807010104.jpg" alt="WeChat QRcode" width=180> | <img src="https://testingcf.jsdelivr.net/gh/Kele-Bingtang/static/vp-teek-cover/20250807010106.jpg" alt="Alipay QRcode" width=180> |
116
+
117
+ 您的赞助将帮助 Teek:
118
+
119
+ - 维护项目的基础设施
120
+ - 投入更多时间进行开发
121
+ - 提供更好的技术支持
122
+ - 开发更多实用功能
123
+
124
+ 二维码没有正常显示?点 [这里](https://vp.teek.top/personal.html) 😎
125
+
126
+ ## 致谢
127
+
128
+ ❤️ 感谢支持这个项目的朋友,您的每一份帮助都让这个项目变得更好!
129
+
130
+ ❤️ 感谢为这个项目贡献代码的朋友 → [Contributors](https://github.com/Kele-Bingtang/vitepress-theme-teek/graphs/contributors)
131
+
66
132
  ## License
67
133
 
68
134
  [MIT](./LICENSE) License © 2025 [Teeker](https://github.com/Kele-Bingtang)
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, shallowRef, onMounted, ref, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode, toDisplayString } from 'vue';
2
2
  import { useData, onContentUpdated } from 'vitepress';
3
- import { useNamespace } from '../../../../../hooks/useNamespace.mjs';
4
- import '../../../../../hooks/useZIndex.mjs';
3
+ import { useNamespace } from '../../../../../composables/useNamespace.mjs';
4
+ import '../../../../../composables/useZIndex.mjs';
5
5
  import { getHeaders, useActiveAnchor, resolveTitle } from './outline.mjs';
6
6
  import _sfc_main$1 from './DocAsideOutlineItem.vue2.mjs';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, resolveComponent, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, createBlock, createCommentVNode, toDisplayString } from 'vue';
2
2
  import 'vitepress';
3
- import { useNamespace } from '../../../../../hooks/useNamespace.mjs';
4
- import '../../../../../hooks/useZIndex.mjs';
3
+ import { useNamespace } from '../../../../../composables/useNamespace.mjs';
4
+ import '../../../../../composables/useZIndex.mjs';
5
5
 
6
6
  const _hoisted_1 = ["href", "title"];
7
7
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,9 +1,9 @@
1
1
  import { getScrollOffset } from 'vitepress';
2
2
  import { onMounted, onUpdated, onUnmounted } from 'vue';
3
- import { useDebounce } from '../../../../../hooks/useDebounce.mjs';
4
- import { useMediaQuery } from '../../../../../hooks/useMediaQuery.mjs';
5
- import { useNamespace } from '../../../../../hooks/useNamespace.mjs';
6
- import '../../../../../hooks/useZIndex.mjs';
3
+ import { useDebounce } from '../../../../../composables/useDebounce.mjs';
4
+ import { useMediaQuery } from '../../../../../composables/useMediaQuery.mjs';
5
+ import { useNamespace } from '../../../../../composables/useNamespace.mjs';
6
+ import '../../../../../composables/useZIndex.mjs';
7
7
 
8
8
  const ignoreRE = /\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/;
9
9
  const resolvedHeaders = [];
@@ -12,7 +12,7 @@ function resolveTitle(theme) {
12
12
  }
13
13
  function getHeaders(range) {
14
14
  const ns = useNamespace();
15
- const headers = [...document.querySelectorAll(`.${ns.joinNamespace("article-page")} :where(h1,h2,h3,h4,h5,h6)`)].filter((el) => el.id && el.hasChildNodes()).map((el) => {
15
+ const headers = [...document.querySelectorAll(`.${ns.join("article-page")} :where(h1,h2,h3,h4,h5,h6)`)].filter((el) => el.id && el.hasChildNodes()).map((el) => {
16
16
  const level = Number(el.tagName[1]);
17
17
  return {
18
18
  element: el,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createVNode, renderSlot } from 'vue';
2
2
  import 'vitepress';
3
- import { useNamespace } from '../../../../hooks/useNamespace.mjs';
4
- import '../../../../hooks/useZIndex.mjs';
3
+ import { useNamespace } from '../../../../composables/useNamespace.mjs';
4
+ import '../../../../composables/useZIndex.mjs';
5
5
  import _sfc_main$1 from './components/DocAsideOutline.vue2.mjs';
6
6
 
7
7
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -45,7 +45,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
45
45
  createElementVNode(
46
46
  "div",
47
47
  {
48
- class: normalizeClass([unref(ns).joinNamespace("doc"), { "vp-doc": _ctx.doc }])
48
+ class: normalizeClass([unref(ns).join("doc"), { "vp-doc": _ctx.doc }])
49
49
  },
50
50
  [
51
51
  renderSlot(_ctx.$slots, "default")
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, computed, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, createBlock, renderSlot, unref, toDisplayString } from 'vue';
2
2
  import { isString, addUnit } from '../../../../helper/dist/index.mjs';
3
3
  import 'vitepress';
4
- import { useNamespace } from '../../../../hooks/useNamespace.mjs';
5
- import '../../../../hooks/useZIndex.mjs';
4
+ import { useNamespace } from '../../../../composables/useNamespace.mjs';
5
+ import '../../../../composables/useZIndex.mjs';
6
6
  import _sfc_main$1 from '../../Icon/src/index.vue2.mjs';
7
7
  import '@iconify/vue';
8
8
 
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, ref, provide, onMounted, createElementBlock, openBlock, unref, normalizeClass, renderSlot } from 'vue';
2
2
  import 'vitepress';
3
- import { useLocale } from '../../../../hooks/useLocale.mjs';
4
- import '../../../../hooks/useZIndex.mjs';
3
+ import { useLocale } from '../../../../composables/useLocale.mjs';
4
+ import '../../../../composables/useZIndex.mjs';
5
5
  import { breadcrumbKey } from './breadcrumb.mjs';
6
6
  import { ns } from './namespace.mjs';
7
7
 
@@ -1,4 +1,4 @@
1
- import { ScssVariables } from '../../../../hooks/cssModule/namespace.module.scss';
1
+ import { ScssVariables } from '../../../../composables/cssModule/namespace.module.scss';
2
2
  export declare const ns: {
3
3
  namespaceModule: ScssVariables;
4
4
  namespace: string;
@@ -10,8 +10,9 @@ export declare const ns: {
10
10
  em: (element: string, modifier: string) => string;
11
11
  bem: (blockSuffix: string, element: string, modifier: string) => string;
12
12
  is: (name: string, bool?: boolean) => string;
13
+ has: (name: string, bool?: boolean) => string;
13
14
  createBem: (namespace: string, block: string, blockSuffix?: string, element?: string, modifier?: string) => string;
14
- joinNamespace: (scope?: string) => string;
15
+ join: (scope?: string) => string;
15
16
  cssVar: (name: string) => string;
16
17
  cssVarName: (name: string) => string;
17
18
  storageKey: (...key: string[]) => string;
@@ -1,7 +1,7 @@
1
1
  import 'vue';
2
2
  import 'vitepress';
3
- import { useNamespace } from '../../../../hooks/useNamespace.mjs';
4
- import '../../../../hooks/useZIndex.mjs';
3
+ import { useNamespace } from '../../../../composables/useNamespace.mjs';
4
+ import '../../../../composables/useZIndex.mjs';
5
5
 
6
6
  const ns = useNamespace("breadcrumb");
7
7
 
@@ -3,4 +3,5 @@ export { Icon as TkIcon };
3
3
  export default Icon;
4
4
  export type { IconProps as TkIconProps } from './src/icon';
5
5
  export * from './src/instance';
6
+ export * from './src/SocialIcons';
6
7
  export { addCollection as addIcons } from '@iconify/vue';
@@ -1,4 +1,5 @@
1
1
  import _sfc_main from './src/index.vue2.mjs';
2
+ export { WhatsApp, bilibili, email, gitee, github, moblieQQ, music, telegram } from './src/SocialIcons.mjs';
2
3
  export { addCollection as addIcons } from '@iconify/vue';
3
4
 
4
5
 
@@ -0,0 +1,9 @@
1
+ declare const gitee = "<svg t=\"1743875298298\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"2388\" width=\"200\" height=\"200\"><path d=\"M512 1024C229.2224 1024 0 794.7776 0 512S229.2224 0 512 0s512 229.2224 512 512-229.2224 512-512 512z m259.1488-568.8832H480.4096a25.2928 25.2928 0 0 0-25.2928 25.2928l-0.0256 63.2064c0 13.952 11.3152 25.2928 25.2672 25.2928h177.024c13.9776 0 25.2928 11.3152 25.2928 25.2672v12.6464a75.8528 75.8528 0 0 1-75.8528 75.8528H366.592a25.2928 25.2928 0 0 1-25.2672-25.2928v-240.1792a75.8528 75.8528 0 0 1 75.8272-75.8528h353.9456a25.2928 25.2928 0 0 0 25.2672-25.2928l0.0768-63.2064a25.2928 25.2928 0 0 0-25.2672-25.2928H417.152a189.6192 189.6192 0 0 0-189.6192 189.6448v353.9456c0 13.9776 11.3152 25.2928 25.2928 25.2928h372.9408a170.6496 170.6496 0 0 0 170.6496-170.6496v-145.408a25.2928 25.2928 0 0 0-25.2928-25.2672z\" fill=\"#C71D23\" p-id=\"2389\"></path></svg>";
2
+ declare const email = "<svg t=\"1743875620187\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"16697\" width=\"200\" height=\"200\"><path d=\"M512 0A512 512 0 1 1 0 512 512 512 0 0 1 512 0z\" fill=\"#ff485f\" p-id=\"16698\" data-spm-anchor-id=\"a313x.search_index.0.i13.70183a81yTylfI\" class=\"selected\"></path><path d=\"M726.980923 295.384615H280.123077A63.606154 63.606154 0 0 0 216.615385 358.892308v295.187692a63.606154 63.606154 0 0 0 63.507692 63.507692h446.857846a63.606154 63.606154 0 0 0 63.507692-63.507692v-295.187692A63.606154 63.606154 0 0 0 726.980923 295.384615z m25.403077 358.715077a25.481846 25.481846 0 0 1-25.403077 25.403077H280.123077a25.481846 25.481846 0 0 1-25.403077-25.403077v-295.187692a25.481846 25.481846 0 0 1 25.403077-25.403077h446.857846a25.481846 25.481846 0 0 1 25.403077 25.403077z\" fill=\"#FFFFFF\" p-id=\"16699\"></path><path d=\"M693.720615 396.307692l-190.148923 119.965539-190.148923-119.965539a19.062154 19.062154 0 0 0-20.322461 32.236308l200.073846 126.247385a19.062154 19.062154 0 0 0 10.161231 2.934153h0.630153a19.062154 19.062154 0 0 0 10.161231-2.934153l200.073846-126.247385a19.101538 19.101538 0 1 0-20.48-32.236308z\" fill=\"#FFFFFF\" p-id=\"16700\"></path></svg>";
3
+ declare const WhatsApp = "<svg t=\"1743875749604\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"20479\" width=\"200\" height=\"200\"><path d=\"M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z\" fill=\"#1BD741\" p-id=\"20480\"></path><path d=\"M760.2 269.5c-62.1-61.4-144.6-95.2-232.5-95.2-181.1 0-328.5 145.7-328.5 324.8 0 57.2 15.1 113.2 43.9 162.3l-46.6 168.3 174.2-45.2c48.2 25.9 102.1 39.5 157 39.6h0.1c181.1 0 328.6-145.7 328.6-324.8 0.1-86.8-34.1-168.3-96.2-229.8zM527.8 769.3c-49 0-97-13-139.1-37.6l-10-5.9-103.4 26.7 27.6-99.6-6.5-10.2c-27.4-43-42-92.8-41.8-143.6 0-148.9 122.5-270 273.3-270 72.9 0 141.6 28.2 193.2 79.1 51.4 50.6 80.1 119.3 79.9 191-0.1 149-122.6 270.1-273.2 270.1zM677.6 567c-8.2-4.1-48.6-23.7-56.1-26.4-7.5-2.7-13-4.1-18.5 4.1-5.4 8.1-21.2 26.4-26 31.9-4.8 5.4-9.6 6.1-17.7 2.1-8.2-4.1-34.7-12.7-66.1-40.3-24.4-21.5-40.9-48.1-45.7-56.2-4.8-8.1-0.5-12.6 3.6-16.5 3.8-3.6 8.2-9.5 12.3-14.2 4.1-4.7 5.4-8.1 8.2-13.6 2.7-5.4 1.4-10.1-0.6-14.2-2.1-4.1-18.5-44-25.3-60.3-6.6-15.9-13.5-13.7-18.5-13.9-4.8-0.2-10.2-0.2-15.7-0.2-5.4 0-14.4 2-21.9 10.1-7.5 8.1-28.7 27.8-28.7 67.7 0 39.9 29.4 78.5 33.6 84 4.1 5.4 57.9 87.4 140.3 122.5 19.6 8.3 34.8 13.3 46.8 17.1 19.7 6.1 37.6 5.2 51.7 3.2 15.8-2.3 48.6-19.6 55.4-38.5 6.9-18.9 6.9-35.2 4.8-38.5-2.1-3.7-7.6-5.8-15.9-9.9z m0 0\" fill=\"#FFFFFF\" p-id=\"20481\"></path></svg>";
4
+ declare const telegram = "<svg xmlns=\"http://www.w3.org/2000/svg\" enable-background=\"new 0 0 24 24\" viewBox=\"0 0 24 24\">\n <circle cx=\"12\" cy=\"12\" r=\"12\" fill=\"#039be5\"></circle>\n <path fill=\"#fff\" d=\"m5.491 11.74 11.57-4.461c.537-.194 1.006.131.832.943l.001-.001-1.97 9.281c-.146.658-.537.818-1.084.508l-3-2.211-1.447 1.394c-.16.16-.295.295-.605.295l.213-3.053 5.56-5.023c.242-.213-.054-.333-.373-.121l-6.871 4.326-2.962-.924c-.643-.204-.657-.643.136-.953z\"></path>\n</svg>";
5
+ declare const bilibili = "<svg t=\"1753496507227\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"1499\" width=\"200\" height=\"200\"><path d=\"M0 0m184.32 0l655.36 0q184.32 0 184.32 184.32l0 655.36q0 184.32-184.32 184.32l-655.36 0q-184.32 0-184.32-184.32l0-655.36q0-184.32 184.32-184.32Z\" fill=\"#EC5D85\" p-id=\"1500\"></path><path d=\"M512 241.96096h52.224l65.06496-96.31744c49.63328-50.31936 89.64096 0.43008 63.85664 45.71136l-34.31424 51.5072c257.64864 5.02784 257.64864 43.008 257.64864 325.03808 0 325.94944 0 336.46592-404.48 336.46592S107.52 893.8496 107.52 567.90016c0-277.69856 0-318.80192 253.14304-324.95616l-39.43424-58.368c-31.26272-54.90688 37.33504-90.40896 64.68608-42.37312l60.416 99.80928c18.18624-0.0512 41.18528-0.0512 65.66912-0.0512z\" fill=\"#EF85A7\" p-id=\"1501\"></path><path d=\"M512 338.5856c332.8 0 332.8 0 332.8 240.64s0 248.39168-332.8 248.39168-332.8-7.75168-332.8-248.39168 0-240.64 332.8-240.64z\" fill=\"#EC5D85\" p-id=\"1502\"></path><path d=\"M281.6 558.08a30.72 30.72 0 0 1-27.47392-16.97792 30.72 30.72 0 0 1 13.73184-41.216l122.88-61.44a30.72 30.72 0 0 1 41.216 13.74208 30.72 30.72 0 0 1-13.74208 41.216l-122.88 61.44a30.59712 30.59712 0 0 1-13.73184 3.23584zM752.64 558.08a30.60736 30.60736 0 0 1-12.8512-2.83648l-133.12-61.44a30.72 30.72 0 0 1-15.04256-40.7552 30.72 30.72 0 0 1 40.76544-15.02208l133.12 61.44A30.72 30.72 0 0 1 752.64 558.08zM454.656 666.88a15.36 15.36 0 0 1-12.288-6.1952 15.36 15.36 0 0 1 3.072-21.49376l68.5056-50.91328 50.35008 52.62336a15.36 15.36 0 0 1-22.20032 21.23776l-31.5904-33.024-46.71488 34.72384a15.28832 15.28832 0 0 1-9.13408 3.04128z\" fill=\"#EF85A7\" p-id=\"1503\"></path><path d=\"M65.536 369.31584c15.03232 101.90848 32.84992 147.17952 44.544 355.328 14.63296 2.18112 177.70496 10.04544 204.05248-74.62912a16.14848 16.14848 0 0 0 1.64864-10.87488c-30.60736-80.3328-169.216-60.416-169.216-60.416s-10.36288-146.50368-11.49952-238.83776zM362.25024 383.03744l34.816 303.17568h34.64192L405.23776 381.1328zM309.52448 536.28928h45.48608l16.09728 158.6176-31.82592 1.85344zM446.86336 542.98624h45.80352V705.3312h-33.87392zM296.6016 457.97376h21.39136l5.2736 58.99264-18.91328 2.26304zM326.99392 457.97376h21.39136l2.53952 55.808-17.408 1.61792zM470.62016 459.88864h19.456v62.27968h-19.456zM440.23808 459.88864h22.20032v62.27968h-16.62976z\" fill=\"#FFFFFF\" p-id=\"1504\"></path><path d=\"M243.56864 645.51936a275.456 275.456 0 0 1-28.4672 23.74656 242.688 242.688 0 0 1-29.53216 17.52064 2.70336 2.70336 0 0 1-4.4032-1.95584 258.60096 258.60096 0 0 1-5.12-29.57312c-1.41312-12.1856-1.95584-25.68192-2.16064-36.36224 0-0.3072 0-2.5088 3.01056-1.90464a245.92384 245.92384 0 0 1 34.22208 9.5744 257.024 257.024 0 0 1 32.3584 15.17568c0.52224 0.256 2.51904 1.4848 0.09216 3.77856z\" fill=\"#EB5480\" p-id=\"1505\"></path><path d=\"M513.29024 369.31584c15.03232 101.90848 32.84992 147.17952 44.544 355.328 14.63296 2.18112 177.70496 10.04544 204.05248-74.62912a16.14848 16.14848 0 0 0 1.64864-10.87488c-30.60736-80.3328-169.216-60.416-169.216-60.416s-10.36288-146.50368-11.49952-238.83776zM810.00448 383.03744l34.816 303.17568h34.64192L852.992 381.1328zM757.27872 536.28928h45.48608l16.09728 158.6176-31.82592 1.85344zM894.6176 542.98624h45.80352V705.3312H906.5472zM744.35584 457.97376h21.39136l5.2736 58.99264-18.91328 2.26304zM774.74816 457.97376h21.39136l2.53952 55.808-17.408 1.61792zM918.3744 459.88864h19.456v62.27968h-19.456zM887.99232 459.88864h22.20032v62.27968h-16.62976z\" fill=\"#FFFFFF\" p-id=\"1506\"></path><path d=\"M691.32288 645.51936a275.456 275.456 0 0 1-28.4672 23.74656 242.688 242.688 0 0 1-29.53216 17.52064 2.70336 2.70336 0 0 1-4.4032-1.95584 258.60096 258.60096 0 0 1-5.12-29.57312c-1.41312-12.1856-1.95584-25.68192-2.16064-36.36224 0-0.3072 0-2.5088 3.01056-1.90464a245.92384 245.92384 0 0 1 34.22208 9.5744 257.024 257.024 0 0 1 32.3584 15.17568c0.52224 0.256 2.51904 1.4848 0.09216 3.77856z\" fill=\"#EB5480\" p-id=\"1507\"></path></svg>";
6
+ declare const github = "<svg t=\"1753496620677\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"6072\" width=\"200\" height=\"200\"><path d=\"M938.666667 512a426.666667 426.666667 0 0 1-291.84 404.48 22.186667 22.186667 0 0 1-19.2-2.986667 21.76 21.76 0 0 1-8.96-17.493333v-113.92a170.666667 170.666667 0 0 0-21.333334-87.893333 10.666667 10.666667 0 0 1 0-11.52 11.52 11.52 0 0 1 8.533334-5.973334c104.106667-10.666667 162.133333-52.053333 162.133333-164.693333a200.96 200.96 0 0 0-50.773333-143.36 183.466667 183.466667 0 0 0 8.106666-51.2 184.746667 184.746667 0 0 0-6.4-46.08 20.906667 20.906667 0 0 0-22.613333-15.36 189.866667 189.866667 0 0 0-104.106667 50.346667 422.826667 422.826667 0 0 0-160.426666 0A189.866667 189.866667 0 0 0 327.68 256a20.906667 20.906667 0 0 0-22.613333 15.36A184.746667 184.746667 0 0 0 298.666667 317.44a183.466667 183.466667 0 0 0 8.106666 51.2A200.96 200.96 0 0 0 256 512c0 118.613333 64.426667 158.293333 182.613333 168.106667a158.293333 158.293333 0 0 0-29.44 65.28v5.12a29.013333 29.013333 0 0 0 0 5.973333 25.173333 25.173333 0 0 1-27.306666 21.76 42.666667 42.666667 0 0 1-18.346667-5.12 227.84 227.84 0 0 1-60.586667-53.76 430.506667 430.506667 0 0 0-34.133333-34.56 116.906667 116.906667 0 0 0-25.173333-16.64 20.906667 20.906667 0 0 0-20.48 0 21.333333 21.333333 0 0 0-9.813334 17.92v2.56a21.333333 21.333333 0 0 0 9.813334 17.92 193.706667 193.706667 0 0 1 39.253333 44.8 282.026667 282.026667 0 0 0 67.84 73.386667 105.813333 105.813333 0 0 0 59.733333 17.92h15.36V896a21.76 21.76 0 0 1-8.96 17.493333 22.186667 22.186667 0 0 1-19.2 2.986667A426.666667 426.666667 0 1 1 938.666667 512z\" p-id=\"6073\"></path></svg>";
7
+ declare const moblieQQ = "<svg t=\"1753496663960\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"10780\" width=\"200\" height=\"200\"><path d=\"M666.122449 909.061224c-10.44898 0-21.420408-1.044898-31.869388-2.612244-39.183673-4.702041-74.710204-23.510204-100.832653-53.289796-13.583673 5.22449-28.212245 5.22449-41.795918 0-21.420408 28.212245-61.64898 48.065306-108.669388 53.289796-66.35102 7.314286-138.44898-11.493878-144.718367-55.379592-5.22449-34.481633 37.093878-61.126531 81.502041-75.755102-25.6-28.212245-43.363265-63.738776-51.2-101.355102l-0.522449 0.522449c-25.077551 31.346939-41.795918 50.155102-61.126531 50.155102-2.089796 0-4.179592-0.522449-6.269388-1.044898-7.314286-2.612245-13.061224-8.881633-17.240816-18.808164-16.195918-34.481633-9.404082-100.310204 15.15102-150.465306 0 0 0-0.522449 0.522449-0.522449 12.538776-22.465306 27.689796-43.363265 45.453061-62.171428-6.269388-11.493878-10.44898-24.032653-12.016326-37.093878v-3.134694c0.522449-19.330612 10.44898-37.093878 26.644898-47.542857-10.971429-73.142857 9.926531-147.330612 58.514286-203.232653 49.110204-56.946939 120.163265-88.816327 194.873469-86.204081h4.702041c65.306122 0 129.567347 26.122449 177.110204 72.097959 49.110204 47.542857 76.8 112.326531 77.844898 180.767347v7.314285c0.522449 9.926531 0 19.330612-1.044898 29.257143 14.106122 8.881633 21.420408 20.37551 21.420408 48.065306 0 13.583673-1.044898 27.689796-9.926531 36.04898 13.061224 17.763265 28.734694 42.840816 41.27347 62.693877l2.612245 4.179592c20.37551 32.391837 23.510204 74.187755 22.987755 96.130613 0 17.240816-2.089796 58.514286-18.285714 70.530612-3.657143 2.612245-7.314286 3.657143-12.016327 3.657143h-4.179592c-26.122449 0-41.273469-23.510204-57.991837-48.587755l-1.567347-2.089796c-8.881633 36.571429-26.122449 71.053061-50.677551 99.265306 27.167347 9.404082 83.069388 31.346939 75.755103 73.142857-5.746939 35.526531-55.902041 62.171429-114.416327 62.171428z m-388.702041-63.738775z m250.253061-11.493878z m276.375511-140.016326z m-47.020409-235.102041z\" fill=\"#7BD4EF\" p-id=\"10781\"></path></svg>";
8
+ declare const music = "<svg class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" width=\"200\" height=\"200\"><path d=\"M0 0m184.32 0l655.36 0q184.32 0 184.32 184.32l0 655.36q0 184.32-184.32 184.32l-655.36 0q-184.32 0-184.32-184.32l0-655.36q0-184.32 184.32-184.32Z\" fill=\"#EA3E3C\" ></path><path d=\"M527.616 849.43872a373.6064 373.6064 0 0 1-162.54976-39.00416c-112.36352-55.16288-180.00896-176.29184-172.55424-308.67456 7.41376-130.34496 85.10464-237.4656 202.752-279.552a35.85024 35.85024 0 0 1 24.15616 67.51232c-107.66336 38.49216-150.81472 136.86784-155.29984 216.13568-5.86752 103.51616 46.08 197.79584 132.34176 240.13824 124.69248 60.30336 216.91392 22.35392 260.82304-5.64224 59.8016-38.16448 97.86368-100.01408 96.95232-157.55264-1.024-63.72352-24.064-120.99584-63.27296-157.14304a145.408 145.408 0 0 0-65.5872-35.28704q2.82624 9.76896 5.64224 19.32288c13.38368 45.63968 24.94464 85.05344 25.6 114.40128a134.26688 134.26688 0 0 1-37.69344 97.76128 139.1104 139.1104 0 0 1-100.6592 40.45824 140.10368 140.10368 0 0 1-100.47488-42.24 169.12384 169.12384 0 0 1-46.2848-122.76736c1.19808-85.12512 80.11776-153.28256 162.816-175.104a324.80256 324.80256 0 0 1-6.71744-67.05152 92.0576 92.0576 0 0 1 69.18144-91.81184c46.21312-12.53376 104.448 5.19168 124.66176 37.888a35.84 35.84 0 0 1-11.70432 49.31584 35.84 35.84 0 0 1-49.26464-11.65312 62.34112 62.34112 0 0 0-48.45568-5.21216c-4.32128 1.71008-12.35968 4.90496-12.76928 23.10144a270.87872 270.87872 0 0 0 6.73792 58.51136 217.4976 217.4976 0 0 1 133.56032 57.6512c53.57568 49.38752 85.0432 125.46048 86.35392 208.71168 1.29024 81.85856-49.7664 167.86432-130.048 219.136a310.14912 310.14912 0 0 1-168.2432 48.65024z m23.6544-457.55392c-56.77056 15.6672-107.4688 63.03744-108.07296 106.42432a98.304 98.304 0 0 0 25.6512 71.43424 68.0448 68.0448 0 0 0 49.36704 20.87936 67.24608 67.24608 0 0 0 49.44896-18.944 63.19104 63.19104 0 0 0 17.23392-46.08c-0.4096-19.79392-11.7248-58.368-22.67136-95.6928-3.61472-12.42112-7.35232-25.14944-10.9568-38.02112z\" fill=\"#FFFFFF\" ></path></svg>";
9
+ export { gitee, email, WhatsApp, telegram, github, bilibili, moblieQQ, music };
@@ -0,0 +1,13 @@
1
+ const gitee = `<svg t="1743875298298" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2388" width="200" height="200"><path d="M512 1024C229.2224 1024 0 794.7776 0 512S229.2224 0 512 0s512 229.2224 512 512-229.2224 512-512 512z m259.1488-568.8832H480.4096a25.2928 25.2928 0 0 0-25.2928 25.2928l-0.0256 63.2064c0 13.952 11.3152 25.2928 25.2672 25.2928h177.024c13.9776 0 25.2928 11.3152 25.2928 25.2672v12.6464a75.8528 75.8528 0 0 1-75.8528 75.8528H366.592a25.2928 25.2928 0 0 1-25.2672-25.2928v-240.1792a75.8528 75.8528 0 0 1 75.8272-75.8528h353.9456a25.2928 25.2928 0 0 0 25.2672-25.2928l0.0768-63.2064a25.2928 25.2928 0 0 0-25.2672-25.2928H417.152a189.6192 189.6192 0 0 0-189.6192 189.6448v353.9456c0 13.9776 11.3152 25.2928 25.2928 25.2928h372.9408a170.6496 170.6496 0 0 0 170.6496-170.6496v-145.408a25.2928 25.2928 0 0 0-25.2928-25.2672z" fill="#C71D23" p-id="2389"></path></svg>`;
2
+ const email = `<svg t="1743875620187" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16697" width="200" height="200"><path d="M512 0A512 512 0 1 1 0 512 512 512 0 0 1 512 0z" fill="#ff485f" p-id="16698" data-spm-anchor-id="a313x.search_index.0.i13.70183a81yTylfI" class="selected"></path><path d="M726.980923 295.384615H280.123077A63.606154 63.606154 0 0 0 216.615385 358.892308v295.187692a63.606154 63.606154 0 0 0 63.507692 63.507692h446.857846a63.606154 63.606154 0 0 0 63.507692-63.507692v-295.187692A63.606154 63.606154 0 0 0 726.980923 295.384615z m25.403077 358.715077a25.481846 25.481846 0 0 1-25.403077 25.403077H280.123077a25.481846 25.481846 0 0 1-25.403077-25.403077v-295.187692a25.481846 25.481846 0 0 1 25.403077-25.403077h446.857846a25.481846 25.481846 0 0 1 25.403077 25.403077z" fill="#FFFFFF" p-id="16699"></path><path d="M693.720615 396.307692l-190.148923 119.965539-190.148923-119.965539a19.062154 19.062154 0 0 0-20.322461 32.236308l200.073846 126.247385a19.062154 19.062154 0 0 0 10.161231 2.934153h0.630153a19.062154 19.062154 0 0 0 10.161231-2.934153l200.073846-126.247385a19.101538 19.101538 0 1 0-20.48-32.236308z" fill="#FFFFFF" p-id="16700"></path></svg>`;
3
+ const WhatsApp = `<svg t="1743875749604" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="20479" width="200" height="200"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#1BD741" p-id="20480"></path><path d="M760.2 269.5c-62.1-61.4-144.6-95.2-232.5-95.2-181.1 0-328.5 145.7-328.5 324.8 0 57.2 15.1 113.2 43.9 162.3l-46.6 168.3 174.2-45.2c48.2 25.9 102.1 39.5 157 39.6h0.1c181.1 0 328.6-145.7 328.6-324.8 0.1-86.8-34.1-168.3-96.2-229.8zM527.8 769.3c-49 0-97-13-139.1-37.6l-10-5.9-103.4 26.7 27.6-99.6-6.5-10.2c-27.4-43-42-92.8-41.8-143.6 0-148.9 122.5-270 273.3-270 72.9 0 141.6 28.2 193.2 79.1 51.4 50.6 80.1 119.3 79.9 191-0.1 149-122.6 270.1-273.2 270.1zM677.6 567c-8.2-4.1-48.6-23.7-56.1-26.4-7.5-2.7-13-4.1-18.5 4.1-5.4 8.1-21.2 26.4-26 31.9-4.8 5.4-9.6 6.1-17.7 2.1-8.2-4.1-34.7-12.7-66.1-40.3-24.4-21.5-40.9-48.1-45.7-56.2-4.8-8.1-0.5-12.6 3.6-16.5 3.8-3.6 8.2-9.5 12.3-14.2 4.1-4.7 5.4-8.1 8.2-13.6 2.7-5.4 1.4-10.1-0.6-14.2-2.1-4.1-18.5-44-25.3-60.3-6.6-15.9-13.5-13.7-18.5-13.9-4.8-0.2-10.2-0.2-15.7-0.2-5.4 0-14.4 2-21.9 10.1-7.5 8.1-28.7 27.8-28.7 67.7 0 39.9 29.4 78.5 33.6 84 4.1 5.4 57.9 87.4 140.3 122.5 19.6 8.3 34.8 13.3 46.8 17.1 19.7 6.1 37.6 5.2 51.7 3.2 15.8-2.3 48.6-19.6 55.4-38.5 6.9-18.9 6.9-35.2 4.8-38.5-2.1-3.7-7.6-5.8-15.9-9.9z m0 0" fill="#FFFFFF" p-id="20481"></path></svg>`;
4
+ const telegram = `<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" viewBox="0 0 24 24">
5
+ <circle cx="12" cy="12" r="12" fill="#039be5"></circle>
6
+ <path fill="#fff" d="m5.491 11.74 11.57-4.461c.537-.194 1.006.131.832.943l.001-.001-1.97 9.281c-.146.658-.537.818-1.084.508l-3-2.211-1.447 1.394c-.16.16-.295.295-.605.295l.213-3.053 5.56-5.023c.242-.213-.054-.333-.373-.121l-6.871 4.326-2.962-.924c-.643-.204-.657-.643.136-.953z"></path>
7
+ </svg>`;
8
+ const bilibili = `<svg t="1753496507227" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1499" width="200" height="200"><path d="M0 0m184.32 0l655.36 0q184.32 0 184.32 184.32l0 655.36q0 184.32-184.32 184.32l-655.36 0q-184.32 0-184.32-184.32l0-655.36q0-184.32 184.32-184.32Z" fill="#EC5D85" p-id="1500"></path><path d="M512 241.96096h52.224l65.06496-96.31744c49.63328-50.31936 89.64096 0.43008 63.85664 45.71136l-34.31424 51.5072c257.64864 5.02784 257.64864 43.008 257.64864 325.03808 0 325.94944 0 336.46592-404.48 336.46592S107.52 893.8496 107.52 567.90016c0-277.69856 0-318.80192 253.14304-324.95616l-39.43424-58.368c-31.26272-54.90688 37.33504-90.40896 64.68608-42.37312l60.416 99.80928c18.18624-0.0512 41.18528-0.0512 65.66912-0.0512z" fill="#EF85A7" p-id="1501"></path><path d="M512 338.5856c332.8 0 332.8 0 332.8 240.64s0 248.39168-332.8 248.39168-332.8-7.75168-332.8-248.39168 0-240.64 332.8-240.64z" fill="#EC5D85" p-id="1502"></path><path d="M281.6 558.08a30.72 30.72 0 0 1-27.47392-16.97792 30.72 30.72 0 0 1 13.73184-41.216l122.88-61.44a30.72 30.72 0 0 1 41.216 13.74208 30.72 30.72 0 0 1-13.74208 41.216l-122.88 61.44a30.59712 30.59712 0 0 1-13.73184 3.23584zM752.64 558.08a30.60736 30.60736 0 0 1-12.8512-2.83648l-133.12-61.44a30.72 30.72 0 0 1-15.04256-40.7552 30.72 30.72 0 0 1 40.76544-15.02208l133.12 61.44A30.72 30.72 0 0 1 752.64 558.08zM454.656 666.88a15.36 15.36 0 0 1-12.288-6.1952 15.36 15.36 0 0 1 3.072-21.49376l68.5056-50.91328 50.35008 52.62336a15.36 15.36 0 0 1-22.20032 21.23776l-31.5904-33.024-46.71488 34.72384a15.28832 15.28832 0 0 1-9.13408 3.04128z" fill="#EF85A7" p-id="1503"></path><path d="M65.536 369.31584c15.03232 101.90848 32.84992 147.17952 44.544 355.328 14.63296 2.18112 177.70496 10.04544 204.05248-74.62912a16.14848 16.14848 0 0 0 1.64864-10.87488c-30.60736-80.3328-169.216-60.416-169.216-60.416s-10.36288-146.50368-11.49952-238.83776zM362.25024 383.03744l34.816 303.17568h34.64192L405.23776 381.1328zM309.52448 536.28928h45.48608l16.09728 158.6176-31.82592 1.85344zM446.86336 542.98624h45.80352V705.3312h-33.87392zM296.6016 457.97376h21.39136l5.2736 58.99264-18.91328 2.26304zM326.99392 457.97376h21.39136l2.53952 55.808-17.408 1.61792zM470.62016 459.88864h19.456v62.27968h-19.456zM440.23808 459.88864h22.20032v62.27968h-16.62976z" fill="#FFFFFF" p-id="1504"></path><path d="M243.56864 645.51936a275.456 275.456 0 0 1-28.4672 23.74656 242.688 242.688 0 0 1-29.53216 17.52064 2.70336 2.70336 0 0 1-4.4032-1.95584 258.60096 258.60096 0 0 1-5.12-29.57312c-1.41312-12.1856-1.95584-25.68192-2.16064-36.36224 0-0.3072 0-2.5088 3.01056-1.90464a245.92384 245.92384 0 0 1 34.22208 9.5744 257.024 257.024 0 0 1 32.3584 15.17568c0.52224 0.256 2.51904 1.4848 0.09216 3.77856z" fill="#EB5480" p-id="1505"></path><path d="M513.29024 369.31584c15.03232 101.90848 32.84992 147.17952 44.544 355.328 14.63296 2.18112 177.70496 10.04544 204.05248-74.62912a16.14848 16.14848 0 0 0 1.64864-10.87488c-30.60736-80.3328-169.216-60.416-169.216-60.416s-10.36288-146.50368-11.49952-238.83776zM810.00448 383.03744l34.816 303.17568h34.64192L852.992 381.1328zM757.27872 536.28928h45.48608l16.09728 158.6176-31.82592 1.85344zM894.6176 542.98624h45.80352V705.3312H906.5472zM744.35584 457.97376h21.39136l5.2736 58.99264-18.91328 2.26304zM774.74816 457.97376h21.39136l2.53952 55.808-17.408 1.61792zM918.3744 459.88864h19.456v62.27968h-19.456zM887.99232 459.88864h22.20032v62.27968h-16.62976z" fill="#FFFFFF" p-id="1506"></path><path d="M691.32288 645.51936a275.456 275.456 0 0 1-28.4672 23.74656 242.688 242.688 0 0 1-29.53216 17.52064 2.70336 2.70336 0 0 1-4.4032-1.95584 258.60096 258.60096 0 0 1-5.12-29.57312c-1.41312-12.1856-1.95584-25.68192-2.16064-36.36224 0-0.3072 0-2.5088 3.01056-1.90464a245.92384 245.92384 0 0 1 34.22208 9.5744 257.024 257.024 0 0 1 32.3584 15.17568c0.52224 0.256 2.51904 1.4848 0.09216 3.77856z" fill="#EB5480" p-id="1507"></path></svg>`;
9
+ const github = `<svg t="1753496620677" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6072" width="200" height="200"><path d="M938.666667 512a426.666667 426.666667 0 0 1-291.84 404.48 22.186667 22.186667 0 0 1-19.2-2.986667 21.76 21.76 0 0 1-8.96-17.493333v-113.92a170.666667 170.666667 0 0 0-21.333334-87.893333 10.666667 10.666667 0 0 1 0-11.52 11.52 11.52 0 0 1 8.533334-5.973334c104.106667-10.666667 162.133333-52.053333 162.133333-164.693333a200.96 200.96 0 0 0-50.773333-143.36 183.466667 183.466667 0 0 0 8.106666-51.2 184.746667 184.746667 0 0 0-6.4-46.08 20.906667 20.906667 0 0 0-22.613333-15.36 189.866667 189.866667 0 0 0-104.106667 50.346667 422.826667 422.826667 0 0 0-160.426666 0A189.866667 189.866667 0 0 0 327.68 256a20.906667 20.906667 0 0 0-22.613333 15.36A184.746667 184.746667 0 0 0 298.666667 317.44a183.466667 183.466667 0 0 0 8.106666 51.2A200.96 200.96 0 0 0 256 512c0 118.613333 64.426667 158.293333 182.613333 168.106667a158.293333 158.293333 0 0 0-29.44 65.28v5.12a29.013333 29.013333 0 0 0 0 5.973333 25.173333 25.173333 0 0 1-27.306666 21.76 42.666667 42.666667 0 0 1-18.346667-5.12 227.84 227.84 0 0 1-60.586667-53.76 430.506667 430.506667 0 0 0-34.133333-34.56 116.906667 116.906667 0 0 0-25.173333-16.64 20.906667 20.906667 0 0 0-20.48 0 21.333333 21.333333 0 0 0-9.813334 17.92v2.56a21.333333 21.333333 0 0 0 9.813334 17.92 193.706667 193.706667 0 0 1 39.253333 44.8 282.026667 282.026667 0 0 0 67.84 73.386667 105.813333 105.813333 0 0 0 59.733333 17.92h15.36V896a21.76 21.76 0 0 1-8.96 17.493333 22.186667 22.186667 0 0 1-19.2 2.986667A426.666667 426.666667 0 1 1 938.666667 512z" p-id="6073"></path></svg>`;
10
+ const moblieQQ = `<svg t="1753496663960" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10780" width="200" height="200"><path d="M666.122449 909.061224c-10.44898 0-21.420408-1.044898-31.869388-2.612244-39.183673-4.702041-74.710204-23.510204-100.832653-53.289796-13.583673 5.22449-28.212245 5.22449-41.795918 0-21.420408 28.212245-61.64898 48.065306-108.669388 53.289796-66.35102 7.314286-138.44898-11.493878-144.718367-55.379592-5.22449-34.481633 37.093878-61.126531 81.502041-75.755102-25.6-28.212245-43.363265-63.738776-51.2-101.355102l-0.522449 0.522449c-25.077551 31.346939-41.795918 50.155102-61.126531 50.155102-2.089796 0-4.179592-0.522449-6.269388-1.044898-7.314286-2.612245-13.061224-8.881633-17.240816-18.808164-16.195918-34.481633-9.404082-100.310204 15.15102-150.465306 0 0 0-0.522449 0.522449-0.522449 12.538776-22.465306 27.689796-43.363265 45.453061-62.171428-6.269388-11.493878-10.44898-24.032653-12.016326-37.093878v-3.134694c0.522449-19.330612 10.44898-37.093878 26.644898-47.542857-10.971429-73.142857 9.926531-147.330612 58.514286-203.232653 49.110204-56.946939 120.163265-88.816327 194.873469-86.204081h4.702041c65.306122 0 129.567347 26.122449 177.110204 72.097959 49.110204 47.542857 76.8 112.326531 77.844898 180.767347v7.314285c0.522449 9.926531 0 19.330612-1.044898 29.257143 14.106122 8.881633 21.420408 20.37551 21.420408 48.065306 0 13.583673-1.044898 27.689796-9.926531 36.04898 13.061224 17.763265 28.734694 42.840816 41.27347 62.693877l2.612245 4.179592c20.37551 32.391837 23.510204 74.187755 22.987755 96.130613 0 17.240816-2.089796 58.514286-18.285714 70.530612-3.657143 2.612245-7.314286 3.657143-12.016327 3.657143h-4.179592c-26.122449 0-41.273469-23.510204-57.991837-48.587755l-1.567347-2.089796c-8.881633 36.571429-26.122449 71.053061-50.677551 99.265306 27.167347 9.404082 83.069388 31.346939 75.755103 73.142857-5.746939 35.526531-55.902041 62.171429-114.416327 62.171428z m-388.702041-63.738775z m250.253061-11.493878z m276.375511-140.016326z m-47.020409-235.102041z" fill="#7BD4EF" p-id="10781"></path></svg>`;
11
+ const music = `<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M0 0m184.32 0l655.36 0q184.32 0 184.32 184.32l0 655.36q0 184.32-184.32 184.32l-655.36 0q-184.32 0-184.32-184.32l0-655.36q0-184.32 184.32-184.32Z" fill="#EA3E3C" ></path><path d="M527.616 849.43872a373.6064 373.6064 0 0 1-162.54976-39.00416c-112.36352-55.16288-180.00896-176.29184-172.55424-308.67456 7.41376-130.34496 85.10464-237.4656 202.752-279.552a35.85024 35.85024 0 0 1 24.15616 67.51232c-107.66336 38.49216-150.81472 136.86784-155.29984 216.13568-5.86752 103.51616 46.08 197.79584 132.34176 240.13824 124.69248 60.30336 216.91392 22.35392 260.82304-5.64224 59.8016-38.16448 97.86368-100.01408 96.95232-157.55264-1.024-63.72352-24.064-120.99584-63.27296-157.14304a145.408 145.408 0 0 0-65.5872-35.28704q2.82624 9.76896 5.64224 19.32288c13.38368 45.63968 24.94464 85.05344 25.6 114.40128a134.26688 134.26688 0 0 1-37.69344 97.76128 139.1104 139.1104 0 0 1-100.6592 40.45824 140.10368 140.10368 0 0 1-100.47488-42.24 169.12384 169.12384 0 0 1-46.2848-122.76736c1.19808-85.12512 80.11776-153.28256 162.816-175.104a324.80256 324.80256 0 0 1-6.71744-67.05152 92.0576 92.0576 0 0 1 69.18144-91.81184c46.21312-12.53376 104.448 5.19168 124.66176 37.888a35.84 35.84 0 0 1-11.70432 49.31584 35.84 35.84 0 0 1-49.26464-11.65312 62.34112 62.34112 0 0 0-48.45568-5.21216c-4.32128 1.71008-12.35968 4.90496-12.76928 23.10144a270.87872 270.87872 0 0 0 6.73792 58.51136 217.4976 217.4976 0 0 1 133.56032 57.6512c53.57568 49.38752 85.0432 125.46048 86.35392 208.71168 1.29024 81.85856-49.7664 167.86432-130.048 219.136a310.14912 310.14912 0 0 1-168.2432 48.65024z m23.6544-457.55392c-56.77056 15.6672-107.4688 63.03744-108.07296 106.42432a98.304 98.304 0 0 0 25.6512 71.43424 68.0448 68.0448 0 0 0 49.36704 20.87936 67.24608 67.24608 0 0 0 49.44896-18.944 63.19104 63.19104 0 0 0 17.23392-46.08c-0.4096-19.79392-11.7248-58.368-22.67136-95.6928-3.61472-12.42112-7.35232-25.14944-10.9568-38.02112z" fill="#FFFFFF" ></path></svg>`;
12
+
13
+ export { WhatsApp, bilibili, email, gitee, github, moblieQQ, music, telegram };
@@ -37,6 +37,10 @@ export interface IconProps {
37
37
  * img 标签的 alt,当 iconType 为 img 时生效
38
38
  */
39
39
  imgAlt?: string;
40
+ /**
41
+ * 是否使用鼠标手形
42
+ */
43
+ pointer?: boolean;
40
44
  /**
41
45
  * 自定义图标样式
42
46
  */
@@ -6,10 +6,10 @@ declare function __VLS_template(): {
6
6
  default?(_: {}): any;
7
7
  };
8
8
  refs: {};
9
- rootEl: HTMLSpanElement;
9
+ rootEl: any;
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
12
+ declare const __VLS_component: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
14
  export default _default;
15
15
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,14 +1,15 @@
1
- import { defineComponent, createPropsRestProxy, useSlots, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createBlock, createCommentVNode, resolveDynamicComponent } from 'vue';
2
- import { isString, addUnit } from '../../../../helper/dist/index.mjs';
1
+ import { defineComponent, createPropsRestProxy, useSlots, computed, toRaw, createElementBlock, createBlock, createCommentVNode, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, resolveDynamicComponent } from 'vue';
2
+ import { isString, isObject, addUnit } from '../../../../helper/dist/index.mjs';
3
3
  import 'vitepress';
4
- import { useNamespace } from '../../../../hooks/useNamespace.mjs';
5
- import '../../../../hooks/useZIndex.mjs';
6
- import _sfc_main$1 from './components/SvgIcon.vue2.mjs';
7
- import _sfc_main$2 from './components/FontIcon.vue2.mjs';
8
- import _sfc_main$3 from './components/IconifyOffline.vue2.mjs';
9
- import _sfc_main$4 from './components/IconifyOnline.vue2.mjs';
4
+ import { useNamespace } from '../../../../composables/useNamespace.mjs';
5
+ import '../../../../composables/useZIndex.mjs';
6
+ import _sfc_main$3 from './components/SvgIcon.vue2.mjs';
7
+ import _sfc_main$4 from './components/FontIcon.vue2.mjs';
8
+ import _sfc_main$1 from './components/IconifyOffline.vue2.mjs';
9
+ import _sfc_main$2 from './components/IconifyOnline.vue2.mjs';
10
10
 
11
- const _hoisted_1 = ["src", "alt"];
11
+ const _hoisted_1 = ["innerHTML"];
12
+ const _hoisted_2 = ["src", "alt"];
12
13
  var _sfc_main = /* @__PURE__ */ defineComponent({
13
14
  ...{ name: "Icon" },
14
15
  __name: "index",
@@ -20,72 +21,93 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
20
21
  hover: { type: Boolean, default: false },
21
22
  hoverColor: {},
22
23
  imgAlt: {},
24
+ pointer: { type: Boolean, default: false },
23
25
  style: {}
24
26
  },
25
27
  setup(__props) {
26
28
  const ns = useNamespace("icon");
27
- const props = createPropsRestProxy(__props, ["icon", "iconType", "color", "hover", "hoverColor"]);
29
+ const props = createPropsRestProxy(__props, ["icon", "iconType", "color", "hover", "hoverColor", "pointer"]);
28
30
  const slot = useSlots();
29
31
  const getStyle = () => {
30
32
  return {
31
33
  ...props.style,
34
+ ...__props.pointer ? { cursor: "pointer" } : void 0,
32
35
  "--icon-color": __props.color,
33
36
  "--icon-size": props.size && addUnit(props.size),
34
37
  "--icon-color-hover": __props.hoverColor || ns.cssVar("theme-color")
35
38
  };
36
39
  };
37
40
  const finalIcon = computed(() => {
38
- if (isString(__props.icon)) return __props.icon.replace(/^(if-|uni-|sym-|img-)/, "");
39
- return __props.icon;
41
+ if (!isString(__props.icon)) return toRaw(__props.icon);
42
+ return __props.icon.replace(/^(svg-|if-|uni-|sym-|img-)/i, "");
40
43
  });
41
- const getFontIconType = () => {
44
+ const fontIconType = computed(() => {
42
45
  if (__props.iconType && ["unicode", "iconfont", "symbol"].includes(__props.iconType)) {
43
46
  return __props.iconType;
44
47
  }
45
- if (!isString(__props.icon)) return "iconfont";
46
- if (__props.icon.toLowerCase().startsWith("if-")) return "iconfont";
47
- if (__props.icon.toLowerCase().startsWith("uni-")) return "unicode";
48
- if (__props.icon.toLowerCase().startsWith("sym-")) return "symbol";
49
- };
50
- const isSvgIcon = () => isString(__props.icon) && (__props.iconType === "svg" || __props.icon.startsWith("<svg"));
51
- const isFontIcon = () => isString(__props.icon) && getFontIconType();
52
- const isComponent = () => !isString(__props.icon) && (__props.iconType === "component" || __props.icon.name || __props.icon.setup);
53
- const isIconifyOffline = () => !isString(__props.icon) && (__props.iconType === "iconifyOffline" || __props.icon.body);
54
- const isIconifyOnline = () => isString(__props.icon) && (__props.iconType === "iconifyOnline" || __props.icon.includes(":"));
55
- const isImg = () => isString(__props.icon) && (__props.iconType === "img" || __props.icon.toLowerCase().startsWith("img-"));
48
+ if (!isString(__props.icon)) return "";
49
+ const caseIconName = __props.icon.toLowerCase();
50
+ if (caseIconName.startsWith("if-") || caseIconName.startsWith("iconfont")) return "iconfont";
51
+ if (caseIconName.startsWith("uni-") || /^&#x[\da-f]+/i.test(__props.icon) || __props.icon.length === 1 && __props.icon.charCodeAt(0) >= 57344 && __props.icon.charCodeAt(0) <= 63743) {
52
+ return "unicode";
53
+ }
54
+ if (caseIconName.startsWith("sym-")) return "symbol";
55
+ return "";
56
+ });
57
+ const isSvgIcon = computed(() => isString(__props.icon) && (__props.iconType === "svg" || __props.icon.startsWith("svg-") || isString(__props.icon)));
58
+ const isSvgIconHtml = computed(() => isString(__props.icon) && __props.icon?.includes("<svg"));
59
+ const isFontIcon = computed(() => isString(__props.icon) && fontIconType.value);
60
+ const isComponent = computed(
61
+ () => !isString(__props.icon) && (__props.iconType === "component" || isObject(__props.icon) && ("setup" in __props.icon || "render" in __props.icon) || typeof __props.icon === "function")
62
+ );
63
+ const isIconifyOffline = computed(() => !isString(__props.icon) && (__props.iconType === "iconifyOffline" || "body" in __props.icon));
64
+ const isIconifyOnline = computed(() => isString(__props.icon) && (__props.iconType === "iconifyOnline" || __props.icon.includes(":")));
65
+ const isImage = computed(
66
+ () => isString(__props.icon) && (__props.iconType === "img" || __props.icon.toLowerCase().startsWith("img-") || [".png", ".jpg", ".jpeg", ".gif", ".bmp", ".webp"].some((ext) => __props.icon.endsWith(ext)))
67
+ );
56
68
  return (_ctx, _cache) => {
57
- return openBlock(), createElementBlock(
58
- "span",
69
+ return !isFontIcon.value && !isImage.value && !isSvgIconHtml.value ? (openBlock(), createElementBlock(
70
+ "i",
59
71
  {
72
+ key: 0,
60
73
  class: normalizeClass([unref(ns).b(), unref(ns).is("hover", _ctx.hover)]),
61
74
  style: normalizeStyle(getStyle())
62
75
  },
63
76
  [
64
- unref(slot).default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : isComponent() ? (openBlock(), createBlock(resolveDynamicComponent(finalIcon.value), {
77
+ unref(slot).default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : isComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(finalIcon.value), {
65
78
  key: 1,
66
79
  size: _ctx.size
67
- }, null, 8, ["size"])) : isImg() ? (openBlock(), createElementBlock("img", {
80
+ }, null, 8, ["size"])) : isIconifyOffline.value ? (openBlock(), createBlock(_sfc_main$1, {
68
81
  key: 2,
69
- src: finalIcon.value,
70
- alt: _ctx.imgAlt
71
- }, null, 8, _hoisted_1)) : isSvgIcon() ? (openBlock(), createBlock(_sfc_main$1, {
82
+ icon: finalIcon.value
83
+ }, null, 8, ["icon"])) : isIconifyOnline.value ? (openBlock(), createBlock(_sfc_main$2, {
72
84
  key: 3,
73
85
  icon: finalIcon.value
74
- }, null, 8, ["icon"])) : isFontIcon() ? (openBlock(), createBlock(_sfc_main$2, {
86
+ }, null, 8, ["icon"])) : isSvgIcon.value ? (openBlock(), createBlock(_sfc_main$3, {
75
87
  key: 4,
76
- icon: finalIcon.value,
77
- iconType: getFontIconType()
78
- }, null, 8, ["icon", "iconType"])) : isIconifyOffline() ? (openBlock(), createBlock(_sfc_main$3, {
79
- key: 5,
80
- icon: finalIcon.value
81
- }, null, 8, ["icon"])) : isIconifyOnline() ? (openBlock(), createBlock(_sfc_main$4, {
82
- key: 6,
83
88
  icon: finalIcon.value
84
89
  }, null, 8, ["icon"])) : createCommentVNode("v-if", true)
85
90
  ],
86
91
  6
87
92
  /* CLASS, STYLE */
88
- );
93
+ )) : isSvgIconHtml.value ? (openBlock(), createElementBlock("i", {
94
+ key: 1,
95
+ innerHTML: _ctx.icon,
96
+ class: normalizeClass([unref(ns).b(), unref(ns).is("hover", _ctx.hover)]),
97
+ style: normalizeStyle(getStyle())
98
+ }, null, 14, _hoisted_1)) : isFontIcon.value && fontIconType.value ? (openBlock(), createBlock(_sfc_main$4, {
99
+ key: 2,
100
+ icon: finalIcon.value,
101
+ iconType: fontIconType.value,
102
+ class: normalizeClass([unref(ns).b(), unref(ns).is("hover", _ctx.hover)]),
103
+ style: normalizeStyle(getStyle())
104
+ }, null, 8, ["icon", "iconType", "class", "style"])) : isImage.value ? (openBlock(), createElementBlock("img", {
105
+ key: 3,
106
+ src: finalIcon.value,
107
+ alt: _ctx.imgAlt,
108
+ class: normalizeClass([unref(ns).b(), unref(ns).is("hover", _ctx.hover)]),
109
+ style: normalizeStyle(getStyle())
110
+ }, null, 14, _hoisted_2)) : createCommentVNode("v-if", true);
89
111
  };
90
112
  }
91
113
  });
@@ -1,10 +1,10 @@
1
1
  import { defineComponent, ref, effectScope, shallowRef, computed, watch, nextTick, onMounted, createBlock, openBlock, Teleport, createVNode, Transition, withCtx, createElementVNode, normalizeStyle, normalizeClass, unref, createCommentVNode, createElementBlock, renderSlot, withModifiers, Fragment, createTextVNode, toDisplayString, renderList, withDirectives, vShow } from 'vue';
2
- import { useEventListener } from '../../../../hooks/useEventListener.mjs';
2
+ import { useEventListener } from '../../../../composables/useEventListener.mjs';
3
3
  import 'vitepress';
4
- import { useDebounce } from '../../../../hooks/useDebounce.mjs';
5
- import { useLocale } from '../../../../hooks/useLocale.mjs';
6
- import { useNamespace } from '../../../../hooks/useNamespace.mjs';
7
- import { useZIndex } from '../../../../hooks/useZIndex.mjs';
4
+ import { useDebounce } from '../../../../composables/useDebounce.mjs';
5
+ import { useLocale } from '../../../../composables/useLocale.mjs';
6
+ import { useNamespace } from '../../../../composables/useNamespace.mjs';
7
+ import { useZIndex } from '../../../../composables/useZIndex.mjs';
8
8
  import closeIcon from '../../../../static/icons/close.mjs';
9
9
  import arrowLeftIcon from '../../../../static/icons/arrowLeft.mjs';
10
10
  import arrowRightIcon from '../../../../static/icons/arrowRight.mjs';
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, mergeModels, useModel, ref, onMounted, watch, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, withDirectives, createVNode, vModelText, Transition, withCtx, toDisplayString, vShow } from 'vue';
2
- import { useEventListener } from '../../../../hooks/useEventListener.mjs';
2
+ import { useEventListener } from '../../../../composables/useEventListener.mjs';
3
3
  import 'vitepress';
4
- import { useElementHover } from '../../../../hooks/useElementHover.mjs';
5
- import { useNamespace } from '../../../../hooks/useNamespace.mjs';
6
- import '../../../../hooks/useZIndex.mjs';
4
+ import { useElementHover } from '../../../../composables/useElementHover.mjs';
5
+ import { useNamespace } from '../../../../composables/useNamespace.mjs';
6
+ import '../../../../composables/useZIndex.mjs';
7
7
 
8
8
  const _hoisted_1 = ["name", "min", "max", "disabled", "step"];
9
9
  var _sfc_main = /* @__PURE__ */ defineComponent({
@@ -27,13 +27,13 @@ declare const __VLS_component: DefineComponent<MessageProps, {
27
27
  offset: number;
28
28
  duration: number;
29
29
  icon: string | Object | Component | IconifyIcon;
30
+ onClose: () => void;
31
+ zIndex: number;
30
32
  customClass: string;
31
33
  dangerouslyUseHTMLString: boolean;
32
34
  message: string | VNode | (() => VNode);
33
- onClose: () => void;
34
35
  showClose: boolean;
35
36
  plain: boolean;
36
- zIndex: number;
37
37
  grouping: boolean;
38
38
  repeatNum: number;
39
39
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, mergeDefaults, ref, computed, onMounted, onUnmounted, watch, createBlock, openBlock, Transition, unref, withCtx, withDirectives, createElementVNode, normalizeStyle, normalizeClass, createCommentVNode, renderSlot, createElementBlock, toDisplayString, withModifiers, vShow, nextTick } from 'vue';
2
2
  import { VPBadge } from 'vitepress/theme';
3
- import { useEventListener } from '../../../../hooks/useEventListener.mjs';
3
+ import { useEventListener } from '../../../../composables/useEventListener.mjs';
4
4
  import 'vitepress';
5
- import { useNamespace } from '../../../../hooks/useNamespace.mjs';
6
- import { useZIndex } from '../../../../hooks/useZIndex.mjs';
5
+ import { useNamespace } from '../../../../composables/useNamespace.mjs';
6
+ import { useZIndex } from '../../../../composables/useZIndex.mjs';
7
7
  import closeIcon from '../../../../static/icons/close.mjs';
8
8
  import circleCloseFilledIcon from '../../../../static/icons/circleCloseFilled.mjs';
9
9
  import infoFilledIcon from '../../../../static/icons/infoFilled.mjs';
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, mergeModels, useModel, ref, onMounted, onUnmounted, createElementBlock, openBlock, unref, normalizeClass, createCommentVNode, renderSlot, createElementVNode, normalizeProps, guardReactiveProps, createVNode } from 'vue';
2
2
  import { withBase } from 'vitepress';
3
3
  import { isValidURL } from '../../../../helper/dist/index.mjs';
4
- import { useLocale } from '../../../../hooks/useLocale.mjs';
5
- import { useNamespace } from '../../../../hooks/useNamespace.mjs';
6
- import '../../../../hooks/useZIndex.mjs';
4
+ import { useLocale } from '../../../../composables/useLocale.mjs';
5
+ import { useNamespace } from '../../../../composables/useNamespace.mjs';
6
+ import '../../../../composables/useZIndex.mjs';
7
7
  import arrowLeftIcon from '../../../../static/icons/arrowLeft.mjs';
8
8
  import arrowRightIcon from '../../../../static/icons/arrowRight.mjs';
9
9
  import _sfc_main$1 from '../../Icon/src/index.vue2.mjs';
@@ -37,16 +37,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  emits: /* @__PURE__ */ mergeModels(["pagination"], ["update:modelValue"]),
38
38
  setup(__props, { emit: __emit }) {
39
39
  const ns = useNamespace("page-card");
40
- const pointClass = ns.joinNamespace("pointer");
40
+ const pointClass = ns.join("pointer");
41
41
  const { t } = useLocale();
42
42
  const emit = __emit;
43
43
  const pageNum = useModel(__props, "modelValue");
44
44
  const pageTotalNum = Math.ceil(__props.total / __props.pageSize);
45
45
  const hasNextData = __props.total !== 0 && pageTotalNum !== 1;
46
- const transitionName = ref(ns.joinNamespace("scroll"));
46
+ const transitionName = ref(ns.join("scroll"));
47
47
  const pagination = (to, type) => {
48
48
  emit("pagination", to, type);
49
- transitionName.value = ns.joinNamespace(`slide-${type}`);
49
+ transitionName.value = ns.join(`slide-${type}`);
50
50
  if (__props.page && __props.autoPage) startAutoPage();
51
51
  const index = pageNum.value % pageTotalNum;
52
52
  const res = (index + to) % pageTotalNum;
@@ -1,8 +1,8 @@
1
1
  import { defineComponent, ref, createElementBlock, openBlock, unref, normalizeClass, createElementVNode, withDirectives, toDisplayString, vModelText } from 'vue';
2
2
  import 'vitepress';
3
- import { useLocale } from '../../../../../hooks/useLocale.mjs';
4
- import { useNamespace } from '../../../../../hooks/useNamespace.mjs';
5
- import '../../../../../hooks/useZIndex.mjs';
3
+ import { useLocale } from '../../../../../composables/useLocale.mjs';
4
+ import { useNamespace } from '../../../../../composables/useNamespace.mjs';
5
+ import '../../../../../composables/useZIndex.mjs';
6
6
  import { usePagination } from '../usePagination.mjs';
7
7
 
8
8
  const _hoisted_1 = ["disabled"];
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, computed, createElementBlock, openBlock, unref, createBlock, createCommentVNode, toDisplayString } from 'vue';
2
2
  import 'vitepress';
3
- import { useLocale } from '../../../../../hooks/useLocale.mjs';
4
- import '../../../../../hooks/useZIndex.mjs';
3
+ import { useLocale } from '../../../../../composables/useLocale.mjs';
4
+ import '../../../../../composables/useZIndex.mjs';
5
5
  import _sfc_main$1 from '../../../Icon/src/index.vue2.mjs';
6
6
  import '@iconify/vue';
7
7