vitepress-theme-teek 1.1.4 → 1.2.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 (301) hide show
  1. package/README.md +1 -1
  2. package/es/components/common/Message/src/index.vue2.mjs +1 -0
  3. package/es/components/common/Message/src/message.d.ts +1 -1
  4. package/es/components/common/Message/src/message.mjs +1 -1
  5. package/es/components/common/Pagination/src/index.vue.d.ts +1 -1
  6. package/es/components/common/Popover/src/index.vue2.mjs +4 -3
  7. package/es/components/common/TitleTag/index.d.ts +5 -0
  8. package/es/components/common/TitleTag/index.mjs +5 -0
  9. package/es/components/common/TitleTag/src/index.vue.d.ts +19 -0
  10. package/es/components/common/TitleTag/src/index.vue2.mjs +40 -0
  11. package/es/components/common/TitleTag/src/instance.d.ts +2 -0
  12. package/es/components/common/TitleTag/src/titleTag.d.ts +18 -0
  13. package/es/components/common/TitleTag/src/titleTag.mjs +1 -0
  14. package/es/components/common/TitleTag/style/css.d.ts +2 -0
  15. package/es/components/common/TitleTag/style/css.mjs +2 -0
  16. package/es/components/common/TitleTag/style/index.d.ts +2 -0
  17. package/es/components/common/TitleTag/style/index.mjs +2 -0
  18. package/es/components/common/VpContainer/src/vpContainer.d.ts +2 -2
  19. package/es/components/common/index.d.ts +1 -0
  20. package/es/components/common/index.mjs +5 -4
  21. package/es/components/index.mjs +6 -2
  22. package/es/components/theme/ArchivesPage/src/index.vue2.mjs +8 -12
  23. package/es/components/theme/ArticleBreadcrumb/src/index.vue2.mjs +1 -1
  24. package/es/components/theme/ArticleInfo/src/index.vue2.mjs +1 -2
  25. package/es/components/theme/ArticleOverviewPage/index.d.ts +4 -0
  26. package/es/components/theme/ArticleOverviewPage/index.mjs +5 -0
  27. package/es/components/theme/ArticleOverviewPage/src/index.vue.d.ts +3 -0
  28. package/es/components/theme/ArticleOverviewPage/src/index.vue.mjs +5 -0
  29. package/es/components/theme/ArticleOverviewPage/src/index.vue2.mjs +204 -0
  30. package/es/components/theme/ArticleOverviewPage/src/instance.d.ts +2 -0
  31. package/es/components/theme/ArticleOverviewPage/src/instance.mjs +1 -0
  32. package/es/components/theme/ArticleOverviewPage/style/css.d.ts +2 -0
  33. package/es/components/theme/ArticleOverviewPage/style/css.mjs +2 -0
  34. package/es/components/theme/ArticleOverviewPage/style/index.d.ts +2 -0
  35. package/es/components/theme/ArticleOverviewPage/style/index.mjs +2 -0
  36. package/es/components/theme/ArticlePageStyle/src/index.vue2.mjs +17 -15
  37. package/es/components/theme/ArticleUpdate/index.d.ts +4 -0
  38. package/es/components/theme/ArticleUpdate/index.mjs +5 -0
  39. package/es/components/theme/ArticleUpdate/src/index.vue.d.ts +3 -0
  40. package/es/components/theme/ArticleUpdate/src/index.vue.mjs +5 -0
  41. package/es/components/theme/ArticleUpdate/src/index.vue2.mjs +145 -0
  42. package/es/components/theme/ArticleUpdate/src/instance.d.ts +2 -0
  43. package/es/components/theme/ArticleUpdate/src/instance.mjs +1 -0
  44. package/es/components/theme/ArticleUpdate/style/css.d.ts +2 -0
  45. package/es/components/theme/ArticleUpdate/style/css.mjs +2 -0
  46. package/es/components/theme/ArticleUpdate/style/index.d.ts +2 -0
  47. package/es/components/theme/ArticleUpdate/style/index.mjs +2 -0
  48. package/es/components/theme/CataloguePage/src/index.vue2.mjs +1 -1
  49. package/es/components/theme/CommentArtalk/src/index.vue2.mjs +1 -1
  50. package/es/components/theme/CommentTwikoo/src/index.vue2.mjs +1 -1
  51. package/es/components/theme/ConfigProvider/index.d.ts +6 -1
  52. package/es/components/theme/ConfigProvider/index.mjs +12 -13
  53. package/es/components/theme/Home/src/index.vue.d.ts +146 -37
  54. package/es/components/theme/Home/src/index.vue2.mjs +48 -8
  55. package/es/components/theme/HomeBanner/src/index.vue2.mjs +3 -1
  56. package/es/components/theme/HomeCardList/index.d.ts +4 -0
  57. package/es/components/theme/HomeCardList/index.mjs +5 -0
  58. package/es/components/theme/HomeCardList/src/index.vue.mjs +5 -0
  59. package/es/components/theme/{HomeRightInfo → HomeCardList}/src/index.vue2.mjs +2 -2
  60. package/es/components/theme/HomeCardList/src/instance.d.ts +2 -0
  61. package/es/components/theme/HomeCardList/src/instance.mjs +1 -0
  62. package/es/components/theme/HomeCardList/style/css.d.ts +2 -0
  63. package/es/components/theme/HomeCardList/style/css.mjs +2 -0
  64. package/es/components/theme/{HomeRightInfo → HomeCardList}/style/index.d.ts +1 -1
  65. package/es/components/theme/{HomeRightInfo → HomeCardList}/style/index.mjs +1 -1
  66. package/es/components/theme/HomeCategoryCard/src/index.vue2.mjs +7 -1
  67. package/es/components/theme/HomeFriendLinkCard/src/ItemInfo.vue2.mjs +10 -16
  68. package/es/components/theme/HomeFullscreenWallpaper/src/index.vue2.mjs +3 -3
  69. package/es/components/theme/HomeMyCard/src/index.vue2.mjs +17 -4
  70. package/es/components/theme/HomePostList/src/HomePostItem.vue2.mjs +120 -118
  71. package/es/components/theme/HomePostList/src/HomePostItemCard.vue.d.ts +7 -0
  72. package/es/components/theme/HomePostList/src/HomePostItemCard.vue.mjs +5 -0
  73. package/es/components/theme/HomePostList/src/HomePostItemCard.vue2.mjs +131 -0
  74. package/es/components/theme/HomePostList/src/index.vue.d.ts +32 -1
  75. package/es/components/theme/HomePostList/src/index.vue2.mjs +50 -47
  76. package/es/components/theme/HomeTagCard/src/index.vue2.mjs +40 -13
  77. package/es/components/theme/HomeTopArticleCard/src/index.vue2.mjs +10 -14
  78. package/es/components/theme/Layout/src/index.vue2.mjs +29 -23
  79. package/es/components/theme/RightBottomButton/src/ThemeColor.vue2.mjs +2 -2
  80. package/es/components/theme/RightBottomButton/src/ToComment.vue2.mjs +1 -0
  81. package/es/components/theme/ThemeEnhance/index.d.ts +2 -1
  82. package/es/components/theme/ThemeEnhance/index.mjs +1 -0
  83. package/es/components/theme/ThemeEnhance/src/LayoutSwitch.vue2.mjs +2 -1
  84. package/es/components/theme/ThemeEnhance/src/ThemeColor.vue2.mjs +4 -3
  85. package/es/components/theme/ThemeEnhance/src/components/Helper.vue.d.ts +0 -1
  86. package/es/components/theme/ThemeEnhance/src/components/Helper.vue2.mjs +1 -2
  87. package/es/components/theme/ThemeEnhance/src/index.vue2.mjs +2 -2
  88. package/es/components/theme/ThemeEnhance/src/themeEnhance.d.ts +1 -0
  89. package/es/components/theme/index.d.ts +3 -1
  90. package/es/components/theme/index.mjs +10 -7
  91. package/es/config/interface/blogger.d.ts +8 -2
  92. package/es/config/interface/post.d.ts +22 -0
  93. package/es/config/interface/tag.d.ts +0 -4
  94. package/es/config/interface/themeEnhance.d.ts +2 -2
  95. package/es/config/post/helper.mjs +1 -0
  96. package/es/config/post/index.mjs +1 -0
  97. package/es/config/post/types.d.ts +5 -1
  98. package/es/config/types.d.ts +11 -3
  99. package/es/hooks/useBuSuanZi.mjs +2 -0
  100. package/es/hooks/useLocale.d.ts +13 -0
  101. package/es/hooks/usePopoverSize.mjs +1 -0
  102. package/es/hooks/useStorage.d.ts +1 -1
  103. package/es/index.css +1 -1
  104. package/es/index.mjs +14 -7
  105. package/es/locale/lang/en.d.ts +13 -0
  106. package/es/locale/lang/en.mjs +13 -0
  107. package/es/locale/lang/zh-cn.d.ts +13 -0
  108. package/es/locale/lang/zh-cn.mjs +13 -0
  109. package/es/static/icons/index.d.ts +2 -0
  110. package/es/static/icons/index.mjs +2 -0
  111. package/es/static/icons/theme-enhance/water.d.ts +2 -0
  112. package/es/static/icons/theme-enhance/water.mjs +18 -0
  113. package/es/static/icons/top.d.ts +2 -0
  114. package/es/static/icons/top.mjs +19 -0
  115. package/es/static/index.mjs +2 -0
  116. package/es/teek/version.d.ts +1 -1
  117. package/es/version.mjs +1 -1
  118. package/index.css +1 -1
  119. package/index.js +1272 -637
  120. package/index.min.js +116 -85
  121. package/index.min.mjs +121 -90
  122. package/index.mjs +1231 -602
  123. package/lib/components/common/Message/src/index.vue2.js +1 -0
  124. package/lib/components/common/Message/src/message.d.ts +1 -1
  125. package/lib/components/common/Message/src/message.js +1 -1
  126. package/lib/components/common/Pagination/src/index.vue.d.ts +1 -1
  127. package/lib/components/common/Popover/src/index.vue2.js +4 -3
  128. package/lib/components/common/TitleTag/index.d.ts +5 -0
  129. package/lib/components/common/TitleTag/index.js +10 -0
  130. package/lib/components/common/TitleTag/src/index.vue.d.ts +19 -0
  131. package/lib/components/common/TitleTag/src/index.vue.js +9 -0
  132. package/lib/components/common/TitleTag/src/index.vue2.js +44 -0
  133. package/lib/components/common/TitleTag/src/instance.d.ts +2 -0
  134. package/lib/components/common/TitleTag/src/titleTag.d.ts +18 -0
  135. package/lib/components/common/TitleTag/src/titleTag.js +2 -0
  136. package/lib/components/common/TitleTag/style/css.d.ts +2 -0
  137. package/lib/components/{theme/HomeRightInfo → common/TitleTag}/style/css.js +1 -1
  138. package/lib/components/common/TitleTag/style/index.d.ts +2 -0
  139. package/lib/components/common/TitleTag/style/index.js +5 -0
  140. package/lib/components/common/VpContainer/src/vpContainer.d.ts +2 -2
  141. package/lib/components/common/index.d.ts +1 -0
  142. package/lib/components/common/index.js +13 -11
  143. package/lib/components/index.js +11 -3
  144. package/lib/components/theme/ArchivesPage/src/index.vue2.js +7 -11
  145. package/lib/components/theme/ArticleBreadcrumb/src/index.vue2.js +1 -1
  146. package/lib/components/theme/ArticleInfo/src/index.vue2.js +1 -2
  147. package/lib/components/theme/ArticleOverviewPage/index.d.ts +4 -0
  148. package/lib/components/theme/ArticleOverviewPage/index.js +10 -0
  149. package/lib/components/theme/ArticleOverviewPage/src/index.vue.d.ts +3 -0
  150. package/lib/components/theme/ArticleOverviewPage/src/index.vue.js +9 -0
  151. package/lib/components/theme/ArticleOverviewPage/src/index.vue2.js +208 -0
  152. package/lib/components/theme/ArticleOverviewPage/src/instance.d.ts +2 -0
  153. package/lib/components/theme/ArticleOverviewPage/src/instance.js +2 -0
  154. package/lib/components/theme/ArticleOverviewPage/style/css.d.ts +2 -0
  155. package/lib/components/theme/ArticleOverviewPage/style/css.js +5 -0
  156. package/lib/components/theme/ArticleOverviewPage/style/index.d.ts +2 -0
  157. package/lib/components/theme/ArticleOverviewPage/style/index.js +5 -0
  158. package/lib/components/theme/ArticlePageStyle/src/index.vue2.js +16 -14
  159. package/lib/components/theme/ArticleUpdate/index.d.ts +4 -0
  160. package/lib/components/theme/ArticleUpdate/index.js +10 -0
  161. package/lib/components/theme/ArticleUpdate/src/index.vue.d.ts +3 -0
  162. package/lib/components/theme/ArticleUpdate/src/index.vue.js +9 -0
  163. package/lib/components/theme/ArticleUpdate/src/index.vue2.js +149 -0
  164. package/lib/components/theme/ArticleUpdate/src/instance.d.ts +2 -0
  165. package/lib/components/theme/ArticleUpdate/src/instance.js +2 -0
  166. package/lib/components/theme/ArticleUpdate/style/css.d.ts +2 -0
  167. package/lib/components/theme/ArticleUpdate/style/css.js +5 -0
  168. package/lib/components/theme/ArticleUpdate/style/index.d.ts +2 -0
  169. package/lib/components/theme/ArticleUpdate/style/index.js +5 -0
  170. package/lib/components/theme/CataloguePage/src/index.vue2.js +1 -1
  171. package/lib/components/theme/CommentArtalk/src/index.vue2.js +1 -1
  172. package/lib/components/theme/CommentTwikoo/src/index.vue2.js +1 -1
  173. package/lib/components/theme/ConfigProvider/index.d.ts +6 -1
  174. package/lib/components/theme/ConfigProvider/index.js +12 -13
  175. package/lib/components/theme/Home/src/index.vue.d.ts +146 -37
  176. package/lib/components/theme/Home/src/index.vue2.js +46 -6
  177. package/lib/components/theme/HomeBanner/src/index.vue2.js +3 -1
  178. package/lib/components/theme/HomeCardList/index.d.ts +4 -0
  179. package/lib/components/theme/HomeCardList/index.js +10 -0
  180. package/lib/components/theme/{HomeRightInfo → HomeCardList}/src/index.vue.js +2 -2
  181. package/lib/components/theme/{HomeRightInfo → HomeCardList}/src/index.vue2.js +2 -2
  182. package/lib/components/theme/HomeCardList/src/instance.d.ts +2 -0
  183. package/lib/components/theme/HomeCardList/src/instance.js +2 -0
  184. package/lib/components/theme/HomeCardList/style/css.d.ts +2 -0
  185. package/lib/components/theme/HomeCardList/style/css.js +5 -0
  186. package/lib/components/theme/{HomeRightInfo → HomeCardList}/style/index.d.ts +1 -1
  187. package/lib/components/theme/{HomeRightInfo → HomeCardList}/style/index.js +1 -1
  188. package/lib/components/theme/HomeCategoryCard/src/index.vue2.js +7 -1
  189. package/lib/components/theme/HomeFriendLinkCard/src/ItemInfo.vue2.js +10 -16
  190. package/lib/components/theme/HomeFullscreenWallpaper/src/index.vue2.js +3 -3
  191. package/lib/components/theme/HomeMyCard/src/index.vue2.js +16 -3
  192. package/lib/components/theme/HomePostList/src/HomePostItem.vue2.js +118 -116
  193. package/lib/components/theme/HomePostList/src/HomePostItemCard.vue.d.ts +7 -0
  194. package/lib/components/theme/HomePostList/src/HomePostItemCard.vue.js +9 -0
  195. package/lib/components/theme/HomePostList/src/HomePostItemCard.vue2.js +135 -0
  196. package/lib/components/theme/HomePostList/src/index.vue.d.ts +32 -1
  197. package/lib/components/theme/HomePostList/src/index.vue2.js +44 -41
  198. package/lib/components/theme/HomeTagCard/src/index.vue2.js +38 -11
  199. package/lib/components/theme/HomeTopArticleCard/src/index.vue2.js +8 -12
  200. package/lib/components/theme/Layout/src/index.vue2.js +9 -3
  201. package/lib/components/theme/RightBottomButton/src/ThemeColor.vue2.js +2 -2
  202. package/lib/components/theme/RightBottomButton/src/ToComment.vue2.js +1 -0
  203. package/lib/components/theme/ThemeEnhance/index.d.ts +2 -1
  204. package/lib/components/theme/ThemeEnhance/index.js +2 -0
  205. package/lib/components/theme/ThemeEnhance/src/LayoutSwitch.vue2.js +2 -1
  206. package/lib/components/theme/ThemeEnhance/src/ThemeColor.vue2.js +4 -3
  207. package/lib/components/theme/ThemeEnhance/src/components/Helper.vue.d.ts +0 -1
  208. package/lib/components/theme/ThemeEnhance/src/components/Helper.vue2.js +1 -2
  209. package/lib/components/theme/ThemeEnhance/src/index.vue2.js +1 -1
  210. package/lib/components/theme/ThemeEnhance/src/themeEnhance.d.ts +1 -0
  211. package/lib/components/theme/index.d.ts +3 -1
  212. package/lib/components/theme/index.js +27 -21
  213. package/lib/config/interface/blogger.d.ts +8 -2
  214. package/lib/config/interface/post.d.ts +22 -0
  215. package/lib/config/interface/tag.d.ts +0 -4
  216. package/lib/config/interface/themeEnhance.d.ts +2 -2
  217. package/lib/config/post/helper.js +1 -0
  218. package/lib/config/post/index.js +1 -0
  219. package/lib/config/post/types.d.ts +5 -1
  220. package/lib/config/types.d.ts +11 -3
  221. package/lib/hooks/useBuSuanZi.js +2 -0
  222. package/lib/hooks/useLocale.d.ts +13 -0
  223. package/lib/hooks/usePopoverSize.js +1 -0
  224. package/lib/hooks/useStorage.d.ts +1 -1
  225. package/lib/index.css +1 -1
  226. package/lib/index.js +16 -3
  227. package/lib/locale/lang/en.d.ts +13 -0
  228. package/lib/locale/lang/en.js +13 -0
  229. package/lib/locale/lang/zh-cn.d.ts +13 -0
  230. package/lib/locale/lang/zh-cn.js +13 -0
  231. package/lib/static/icons/index.d.ts +2 -0
  232. package/lib/static/icons/index.js +4 -0
  233. package/lib/static/icons/theme-enhance/water.d.ts +2 -0
  234. package/lib/static/icons/theme-enhance/water.js +22 -0
  235. package/lib/static/icons/top.d.ts +2 -0
  236. package/lib/static/icons/top.js +23 -0
  237. package/lib/static/index.js +4 -0
  238. package/lib/teek/version.d.ts +1 -1
  239. package/lib/version.js +1 -1
  240. package/package.json +3 -3
  241. package/theme-chalk/index.css +1 -1
  242. package/theme-chalk/src/common/tk.scss +6 -36
  243. package/theme-chalk/src/components/common/message.scss +1 -1
  244. package/theme-chalk/src/components/common/segmented.scss +1 -0
  245. package/theme-chalk/src/components/common/title-tag.scss +89 -0
  246. package/theme-chalk/src/components/theme/article-analyze.scss +5 -0
  247. package/theme-chalk/src/components/theme/article-breadcrumb.scss +4 -0
  248. package/theme-chalk/src/components/theme/article-overview-page.scss +10 -0
  249. package/theme-chalk/src/components/theme/article-page-style.scss +25 -21
  250. package/theme-chalk/src/components/theme/article-share.scss +1 -1
  251. package/theme-chalk/src/components/theme/article-update.scss +64 -0
  252. package/theme-chalk/src/components/theme/body-bg-image.scss +38 -6
  253. package/theme-chalk/src/components/theme/demo-code.scss +1 -1
  254. package/theme-chalk/src/components/theme/home-banner-feature.scss +6 -0
  255. package/theme-chalk/src/components/theme/home-card-list.scss +11 -0
  256. package/theme-chalk/src/components/theme/home-category-card.scss +6 -1
  257. package/theme-chalk/src/components/theme/home-my-card.scss +35 -0
  258. package/theme-chalk/src/components/theme/home-post-item-card.scss +64 -0
  259. package/theme-chalk/src/components/theme/home-post-item.scss +68 -66
  260. package/theme-chalk/src/components/theme/home-post-list.scss +21 -9
  261. package/theme-chalk/src/components/theme/home-tag-card.scss +10 -4
  262. package/theme-chalk/src/components/theme/notice.scss +1 -1
  263. package/theme-chalk/src/components/theme/right-bottom-button.scss +1 -1
  264. package/theme-chalk/src/components/theme/theme-enhance.scss +8 -6
  265. package/theme-chalk/src/index.scss +4 -1
  266. package/theme-chalk/src/var/theme-size.scss +5 -5
  267. package/theme-chalk/src/vp-plus/aside.scss +2 -0
  268. package/theme-chalk/tk-article-analyze.css +1 -1
  269. package/theme-chalk/tk-article-breadcrumb.css +1 -1
  270. package/theme-chalk/tk-article-overview-page.css +1 -0
  271. package/theme-chalk/tk-article-page-style.css +1 -1
  272. package/theme-chalk/tk-article-share.css +1 -1
  273. package/theme-chalk/tk-article-update.css +1 -0
  274. package/theme-chalk/tk-aside.css +1 -1
  275. package/theme-chalk/tk-base.css +1 -1
  276. package/theme-chalk/tk-body-bg-image.css +1 -1
  277. package/theme-chalk/tk-home-banner-feature.css +1 -1
  278. package/theme-chalk/tk-home-banner.css +1 -1
  279. package/theme-chalk/tk-home-card-list.css +1 -0
  280. package/theme-chalk/tk-home-category-card.css +1 -1
  281. package/theme-chalk/tk-home-my-card.css +1 -1
  282. package/theme-chalk/tk-home-post-item-card.css +1 -0
  283. package/theme-chalk/tk-home-post-item.css +1 -1
  284. package/theme-chalk/tk-home-post-list.css +1 -1
  285. package/theme-chalk/tk-home-tag-card.css +1 -1
  286. package/theme-chalk/tk-right-bottom-button.css +1 -1
  287. package/theme-chalk/tk-theme-enhance.css +1 -1
  288. package/es/components/theme/HomeRightInfo/index.d.ts +0 -4
  289. package/es/components/theme/HomeRightInfo/index.mjs +0 -5
  290. package/es/components/theme/HomeRightInfo/src/instance.d.ts +0 -2
  291. package/es/components/theme/HomeRightInfo/style/css.d.ts +0 -2
  292. package/es/components/theme/HomeRightInfo/style/css.mjs +0 -2
  293. package/lib/components/theme/HomeRightInfo/index.d.ts +0 -4
  294. package/lib/components/theme/HomeRightInfo/index.js +0 -10
  295. package/lib/components/theme/HomeRightInfo/src/instance.d.ts +0 -2
  296. package/lib/components/theme/HomeRightInfo/style/css.d.ts +0 -2
  297. /package/es/components/{theme/HomeRightInfo → common/TitleTag}/src/index.vue.mjs +0 -0
  298. /package/es/components/{theme/HomeRightInfo → common/TitleTag}/src/instance.mjs +0 -0
  299. /package/es/components/theme/{HomeRightInfo → HomeCardList}/src/index.vue.d.ts +0 -0
  300. /package/lib/components/{theme/HomeRightInfo → common/TitleTag}/src/instance.js +0 -0
  301. /package/lib/components/theme/{HomeRightInfo → HomeCardList}/src/index.vue.d.ts +0 -0
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [Github](https://github.com/Kele-Bingtang/vitepress-theme-teek) |
6
6
  [Gitee](https://gitee.com/kele-bingtang/vitepress-theme-teek) |
7
- [Preview](https://note.teek.top/) |
7
+ [Preview](https://notes.teek.top/) |
8
8
  [Docs](http://vp.teek.top/)
9
9
 
10
10
  ✨一个轻量、简洁高效、灵活配置的 VitePress 主题。
@@ -53,6 +53,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
53
53
  const height = ref(0);
54
54
  const badeTypeMap = {
55
55
  info: "info",
56
+ primary: "primary",
56
57
  success: "success",
57
58
  warning: "warning",
58
59
  error: "danger"
@@ -1,6 +1,6 @@
1
1
  import { AppContext, VNode } from 'vue';
2
2
  import { TkIconProps } from '@teek/components/common/Icon';
3
- export declare const messageTypes: readonly ["success", "info", "warning", "error"];
3
+ export declare const messageTypes: readonly ["primary", "success", "info", "warning", "error"];
4
4
  export type MessageType = (typeof messageTypes)[number];
5
5
  export interface MessageConfigContext {
6
6
  max?: number;
@@ -1,6 +1,6 @@
1
1
  import { isClient } from '../../../../helper/dist/index.mjs';
2
2
 
3
- const messageTypes = ["success", "info", "warning", "error"];
3
+ const messageTypes = ["primary", "success", "info", "warning", "error"];
4
4
  const messagePropsDefaults = {
5
5
  customClass: "",
6
6
  center: false,
@@ -23,8 +23,8 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
23
23
  "onUpdate:currentPage"?: ((value: number) => any) | undefined;
24
24
  "onUpdate:pageSize"?: ((value: number) => any) | undefined;
25
25
  }>, {
26
- disabled: boolean;
27
26
  size: Size;
27
+ disabled: boolean;
28
28
  prevIcon: TkIconProps["icon"];
29
29
  nextIcon: TkIconProps["icon"];
30
30
  pagerCount: number;
@@ -129,7 +129,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
129
129
  ref: triggerRef,
130
130
  onClick: _cache[0] || (_cache[0] = ($event) => toggleVisible("click")),
131
131
  onContextmenu: _cache[1] || (_cache[1] = ($event) => toggleVisible("contextmenu")),
132
- onFocus: _cache[2] || (_cache[2] = ($event) => toggleVisible("focus"))
132
+ onFocus: _cache[2] || (_cache[2] = ($event) => toggleVisible("focus")),
133
+ onTouchstart: _cache[3] || (_cache[3] = ($event) => visible.value = !visible.value)
133
134
  }, _ctx.$attrs),
134
135
  [
135
136
  renderSlot(_ctx.$slots, "reference")
@@ -152,9 +153,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
152
153
  ref: popoverRef,
153
154
  style: normalizeStyle(popupStyle.value),
154
155
  class: normalizeClass([unref(ns).b(), _ctx.popperClass]),
155
- onClick: _cache[3] || (_cache[3] = withModifiers(() => {
156
+ onClick: _cache[4] || (_cache[4] = withModifiers(() => {
156
157
  }, ["stop"])),
157
- onTouchstart: _cache[4] || (_cache[4] = withModifiers(() => {
158
+ onTouchstart: _cache[5] || (_cache[5] = withModifiers(() => {
158
159
  }, ["stop"]))
159
160
  },
160
161
  [
@@ -0,0 +1,5 @@
1
+ import { default as TitleTag } from './src/index.vue';
2
+ export { TitleTag as TkTitleTag };
3
+ export default TitleTag;
4
+ export type { TitleTagProps as TkTitleTagProps } from './src/titleTag';
5
+ export * from './src/instance';
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './src/index.vue2.mjs';
2
+
3
+
4
+
5
+ export { _sfc_main as TkTitleTag, _sfc_main as default };
@@ -0,0 +1,19 @@
1
+ import { TitleTagProps } from './titleTag';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: DefineComponent<TitleTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TitleTagProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,40 @@
1
+ import { defineComponent, createElementBlock, createCommentVNode, openBlock, normalizeClass, unref, renderSlot, createTextVNode, toDisplayString } from 'vue';
2
+ import 'vitepress';
3
+ import { useNamespace } from '../../../../hooks/useNamespace.mjs';
4
+ import '../../../../hooks/useZIndex.mjs';
5
+
6
+ var _sfc_main = /* @__PURE__ */ defineComponent({
7
+ ...{ name: "TitleTag" },
8
+ __name: "index",
9
+ props: {
10
+ text: {},
11
+ type: {},
12
+ position: {},
13
+ size: {}
14
+ },
15
+ setup(__props) {
16
+ const ns = useNamespace("title-tag");
17
+ return (_ctx, _cache) => {
18
+ return _ctx.text ? (openBlock(), createElementBlock(
19
+ "span",
20
+ {
21
+ key: 0,
22
+ class: normalizeClass([unref(ns).b(), _ctx.type && unref(ns).m(_ctx.type), _ctx.position && unref(ns).m(_ctx.position), _ctx.size && unref(ns).m(_ctx.size)])
23
+ },
24
+ [
25
+ renderSlot(_ctx.$slots, "default", {}, () => [
26
+ createTextVNode(
27
+ toDisplayString(_ctx.text),
28
+ 1
29
+ /* TEXT */
30
+ )
31
+ ])
32
+ ],
33
+ 2
34
+ /* CLASS */
35
+ )) : createCommentVNode("v-if", true);
36
+ };
37
+ }
38
+ });
39
+
40
+ export { _sfc_main as default };
@@ -0,0 +1,2 @@
1
+ import { default as TitleTag } from './index.vue';
2
+ export type TkTitleTagInstance = InstanceType<typeof TitleTag>;
@@ -0,0 +1,18 @@
1
+ export interface TitleTagProps {
2
+ /**
3
+ * 内容
4
+ */
5
+ text?: string;
6
+ /**
7
+ * 类型
8
+ */
9
+ type?: "vp-primary" | "vp-info" | "vp-success" | "vp-warning" | "vp-danger" | "vp-important" | "ep-primary" | "ep-info" | "ep-success" | "ep-warning" | "ep-danger";
10
+ /**
11
+ * 位置
12
+ */
13
+ position?: "left" | "right";
14
+ /**
15
+ * 大小
16
+ */
17
+ size?: "large" | "default" | "small" | "mini";
18
+ }
@@ -0,0 +1,2 @@
1
+ import "vitepress-theme-teek/theme-chalk/base.css";
2
+ import "vitepress-theme-teek/theme-chalk/tk-title-tag.css";
@@ -0,0 +1,2 @@
1
+ import 'vitepress-theme-teek/theme-chalk/base.css';
2
+ import 'vitepress-theme-teek/theme-chalk/tk-title-tag.css';
@@ -0,0 +1,2 @@
1
+ import "vitepress-theme-teek/theme-chalk/src/base.scss";
2
+ import "vitepress-theme-teek/theme-chalk/src/components/common/vp-title-tag.scss";
@@ -0,0 +1,2 @@
1
+ import 'vitepress-theme-teek/theme-chalk/src/base.scss';
2
+ import 'vitepress-theme-teek/theme-chalk/src/components/common/vp-title-tag.scss';
@@ -2,7 +2,7 @@ export interface VpContainerProps {
2
2
  /**
3
3
  * 类型
4
4
  *
5
- * @default 'tip;
5
+ * @default 'tip'
6
6
  */
7
7
  type?: "info" | "tip" | "warning" | "danger";
8
8
  /**
@@ -10,7 +10,7 @@ export interface VpContainerProps {
10
10
  */
11
11
  title?: string;
12
12
  /**
13
- * 内容
13
+ * 文本
14
14
  */
15
15
  text?: string;
16
16
  }
@@ -8,5 +8,6 @@ export * from './Message';
8
8
  export * from './Pagination';
9
9
  export * from './Popover';
10
10
  export * from './Segmented';
11
+ export * from './TitleTag';
11
12
  export * from './TransitionCollapse';
12
13
  export * from './VpContainer';
@@ -1,16 +1,17 @@
1
+ export { createImageViewer } from './ImageViewer/index.mjs';
1
2
  export { default as TkAvatar } from './Avatar/src/index.vue2.mjs';
2
3
  export { default as TkBreadcrumb } from './Breadcrumb/src/Breadcrumb.vue2.mjs';
3
4
  export { default as TkBreadcrumbItem } from './Breadcrumb/src/BreadcrumbItem.vue2.mjs';
4
- export { default as TkFocusTrap } from './FocusTrap/src/index.vue.mjs';
5
5
  export { default as TkIcon } from './Icon/src/index.vue2.mjs';
6
- export { createImageViewer } from './ImageViewer/index.mjs';
6
+ export { default as TkImageViewer } from './ImageViewer/src/index.vue2.mjs';
7
7
  export { default as TkInputSlide } from './InputSlide/src/index.vue2.mjs';
8
8
  export { default as TkMessage } from './Message/src/method.mjs';
9
- export { getInstance, getLastOffset, getOffsetOrSpace, instances } from './Message/src/instance.mjs';
10
9
  export { default as TkPagination } from './Pagination/src/index.vue2.mjs';
11
10
  export { default as TkPopover } from './Popover/src/index.vue2.mjs';
12
11
  export { default as TkSegmented } from './Segmented/src/Segmented.vue2.mjs';
13
12
  export { default as TkSegmentedItem } from './Segmented/src/SegmentedItem.vue2.mjs';
13
+ export { default as TkTitleTag } from './TitleTag/src/index.vue2.mjs';
14
14
  export { default as TkTransitionCollapse } from './TransitionCollapse/src/index.vue2.mjs';
15
15
  export { default as TkVpContainer } from './VpContainer/src/index.vue2.mjs';
16
- export { default as TkImageViewer } from './ImageViewer/src/index.vue2.mjs';
16
+ export { default as TkFocusTrap } from './FocusTrap/src/index.vue.mjs';
17
+ export { getInstance, getLastOffset, getOffsetOrSpace, instances } from './Message/src/instance.mjs';
@@ -9,6 +9,7 @@ export { default as TkPagination } from './common/Pagination/src/index.vue2.mjs'
9
9
  export { default as TkPopover } from './common/Popover/src/index.vue2.mjs';
10
10
  export { default as TkSegmented } from './common/Segmented/src/Segmented.vue2.mjs';
11
11
  export { default as TkSegmentedItem } from './common/Segmented/src/SegmentedItem.vue2.mjs';
12
+ export { default as TkTitleTag } from './common/TitleTag/src/index.vue2.mjs';
12
13
  export { default as TkTransitionCollapse } from './common/TransitionCollapse/src/index.vue2.mjs';
13
14
  export { default as TkVpContainer } from './common/VpContainer/src/index.vue2.mjs';
14
15
  export { default as TkArchivesPage } from './theme/ArchivesPage/src/index.vue2.mjs';
@@ -19,8 +20,10 @@ export { default as TkArticleBreadcrumb } from './theme/ArticleBreadcrumb/src/in
19
20
  export { default as TkArticleHeadingHighlight } from './theme/ArticleHeadingHighlight/src/index.vue2.mjs';
20
21
  export { default as TkArticleImagePreview } from './theme/ArticleImagePreview/src/index.vue2.mjs';
21
22
  export { default as TkArticleInfo } from './theme/ArticleInfo/src/index.vue2.mjs';
23
+ export { default as TkArticleOverviewPage } from './theme/ArticleOverviewPage/src/index.vue2.mjs';
22
24
  export { default as TkArticlePageStyle } from './theme/ArticlePageStyle/src/index.vue2.mjs';
23
25
  export { default as TkArticleShare } from './theme/ArticleShare/src/index.vue2.mjs';
26
+ export { default as TkArticleUpdate } from './theme/ArticleUpdate/src/index.vue2.mjs';
24
27
  export { default as TkBodyBgImage } from './theme/BodyBgImage/src/index.vue2.mjs';
25
28
  export { default as TkCataloguePage } from './theme/CataloguePage/src/index.vue2.mjs';
26
29
  export { default as TkCatalogueItem } from './theme/CataloguePage/src/CatalogueItem.vue2.mjs';
@@ -44,7 +47,7 @@ export { default as TkHomeCategoryCard } from './theme/HomeCategoryCard/src/inde
44
47
  export { default as TkHomeDocAnalysisCard } from './theme/HomeDocAnalysisCard/src/index.vue2.mjs';
45
48
  export { default as TkHomeFriendLinkCard } from './theme/HomeFriendLinkCard/src/index.vue2.mjs';
46
49
  export { default as TkHomeFullscreenWallpaper } from './theme/HomeFullscreenWallpaper/src/index.vue2.mjs';
47
- export { default as TkHomeRightInfo } from './theme/HomeRightInfo/src/index.vue2.mjs';
50
+ export { default as TkHomeCardList } from './theme/HomeCardList/src/index.vue2.mjs';
48
51
  export { default as TkHomeMyCard } from './theme/HomeMyCard/src/index.vue2.mjs';
49
52
  export { default as TkHomePostList } from './theme/HomePostList/src/index.vue2.mjs';
50
53
  export { default as TkHomePostItem } from './theme/HomePostList/src/HomePostItem.vue2.mjs';
@@ -54,13 +57,14 @@ export { default as TkLayout } from './theme/Layout/src/index.vue2.mjs';
54
57
  export { default as TkNotice } from './theme/Notice/src/index.vue2.mjs';
55
58
  export { default as TkRightBottomButton } from './theme/RightBottomButton/src/index.vue2.mjs';
56
59
  export { default as TkThemeEnhance } from './theme/ThemeEnhance/src/index.vue2.mjs';
60
+ export { default as TkSwitch } from './theme/ThemeEnhance/src/components/Switch.vue2.mjs';
57
61
  export { default as TkFocusTrap } from './common/FocusTrap/src/index.vue.mjs';
58
62
  export { createImageViewer } from './common/ImageViewer/index.mjs';
59
63
  export { getInstance, getLastOffset, getOffsetOrSpace, instances } from './common/Message/src/instance.mjs';
60
64
  export { artalkContext } from './theme/CommentArtalk/src/artalk.mjs';
61
65
  export { giscusContext } from './theme/CommentGiscus/src/giscus.mjs';
62
66
  export { walineContext } from './theme/CommentWaline/src/waline.mjs';
63
- export { TeekConfigProvider, postsContext, teekConfigContext, useAllPosts, useBgColor, usePage, usePosts, useTeekConfig } from './theme/ConfigProvider/index.mjs';
67
+ export { TeekConfigProvider, postsContext, teekConfigContext, useAllPosts, usePage, usePosts, useTagColor, useTeekConfig } from './theme/ConfigProvider/index.mjs';
64
68
  export { postDataUpdateSymbol } from './theme/Home/src/home.mjs';
65
69
  export { pageNumKey } from './theme/HomePostList/src/homePostList.mjs';
66
70
  export { LayoutMode, SpotlightStyle, ThemeColor, activateMaxWidthSlideMedia, layoutModeAttribute, mobileMaxWidthMedia, themeColorAttribute, themeColorList, touchMedia } from './theme/ThemeEnhance/src/themeEnhance.mjs';
@@ -1,9 +1,10 @@
1
- import { defineComponent, computed, resolveComponent, createElementBlock, openBlock, unref, normalizeClass, renderSlot, createElementVNode, toDisplayString, Fragment, renderList, createCommentVNode, createVNode } from 'vue';
1
+ import { defineComponent, computed, resolveComponent, createElementBlock, openBlock, unref, normalizeClass, renderSlot, createElementVNode, toDisplayString, Fragment, renderList, createVNode } from 'vue';
2
2
  import { useData, withBase } from 'vitepress';
3
3
  import { useLocale } from '../../../../hooks/useLocale.mjs';
4
4
  import { useNamespace } from '../../../../hooks/useNamespace.mjs';
5
5
  import '../../../../hooks/useZIndex.mjs';
6
6
  import { usePosts } from '../../ConfigProvider/index.mjs';
7
+ import _sfc_main$1 from '../../../common/TitleTag/src/index.vue2.mjs';
7
8
 
8
9
  const _hoisted_1 = ["aria-label"];
9
10
  const _hoisted_2 = { class: "count" };
@@ -36,7 +37,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
36
37
  return (_ctx, _cache) => {
37
38
  const _component_Content = resolveComponent("Content");
38
39
  return openBlock(), createElementBlock("div", {
39
- class: normalizeClass(`${unref(ns).b()} ${unref(ns).joinNamespace("page")}`),
40
+ class: normalizeClass([unref(ns).b(), unref(ns).joinNamespace("page")]),
40
41
  "aria-label": unref(t)("tk.archives.label")
41
42
  }, [
42
43
  renderSlot(_ctx.$slots, "teek-archives-top-before"),
@@ -169,16 +170,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
169
170
  1
170
171
  /* TEXT */
171
172
  ),
172
- item.frontmatter.titleTag ? (openBlock(), createElementBlock(
173
- "span",
174
- {
175
- key: 0,
176
- class: normalizeClass([unref(ns).joinNamespace("title-tag"), "small"])
177
- },
178
- toDisplayString(item.frontmatter.titleTag),
179
- 3
180
- /* TEXT, CLASS */
181
- )) : createCommentVNode("v-if", true)
173
+ createVNode(unref(_sfc_main$1), {
174
+ text: item.frontmatter.titleTag,
175
+ position: "right",
176
+ size: "small"
177
+ }, null, 8, ["text"])
182
178
  ], 8, _hoisted_7)
183
179
  ]);
184
180
  }),
@@ -56,7 +56,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
56
56
  createElementVNode("a", {
57
57
  href: unref(withBase)("/"),
58
58
  title: unref(breadcrumb).homeLabel,
59
- class: "hover-color",
59
+ class: "home hover-color",
60
60
  "aria-label": unref(breadcrumb).homeLabel
61
61
  }, [
62
62
  createVNode(unref(_sfc_main$3), {
@@ -97,8 +97,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
97
97
  });
98
98
  const isShow = (showInfo) => {
99
99
  const arr = [showInfo || []].flat();
100
- if (arr.includes(true) || arr.includes(__props.scope)) return true;
101
- return false;
100
+ return arr.includes(true) || arr.includes(__props.scope);
102
101
  };
103
102
  return (_ctx, _cache) => {
104
103
  return openBlock(), createElementBlock("div", {
@@ -0,0 +1,4 @@
1
+ import { default as ArticleOverviewPage } from './src/index.vue';
2
+ export { ArticleOverviewPage as TkArticleOverviewPage };
3
+ export default ArticleOverviewPage;
4
+ export * from './src/instance';
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './src/index.vue2.mjs';
2
+
3
+
4
+
5
+ export { _sfc_main as TkArticleOverviewPage, _sfc_main as default };
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './index.vue2.mjs';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,204 @@
1
+ import { defineComponent, computed, resolveComponent, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, toDisplayString, createVNode, Fragment, renderList } from 'vue';
2
+ import { useData, withBase } from 'vitepress';
3
+ import { formatDate } from '../../../../helper/dist/index.mjs';
4
+ import { useLocale } from '../../../../hooks/useLocale.mjs';
5
+ import { useNamespace } from '../../../../hooks/useNamespace.mjs';
6
+ import '../../../../hooks/useZIndex.mjs';
7
+ import { usePosts, useTeekConfig } from '../../ConfigProvider/index.mjs';
8
+
9
+ const _hoisted_1 = { key: 0 };
10
+ const _hoisted_2 = { class: "vp-doc" };
11
+ const _hoisted_3 = { id: "overview-title" };
12
+ const _hoisted_4 = ["href"];
13
+ const _hoisted_5 = { "aria-describedby": `overview-title` };
14
+ const _hoisted_6 = ["href", "aria-label"];
15
+ var _sfc_main = /* @__PURE__ */ defineComponent({
16
+ ...{ name: "ArticleOverviewPage" },
17
+ __name: "index",
18
+ setup(__props) {
19
+ const ns = useNamespace("article-overview");
20
+ const { t } = useLocale();
21
+ const posts = usePosts();
22
+ const { localeIndex, site, theme, frontmatter } = useData();
23
+ const { getTeekConfigRef } = useTeekConfig();
24
+ const categoryConfig = getTeekConfigRef("category", {
25
+ path: "/categories"
26
+ });
27
+ const categories = computed(() => posts.value.groupPosts.categories);
28
+ const eachFileWords = computed(() => theme.value.docAnalysisInfo?.eachFileWords || []);
29
+ const categoriesPageLink = computed(() => {
30
+ const localeIndexConst = localeIndex.value;
31
+ const localeName = localeIndexConst !== "root" ? `/${localeIndexConst}` : "";
32
+ return `${localeName}${categoryConfig.value.path}${site.value.cleanUrls ? "" : ".html"}`;
33
+ });
34
+ const getFileWords = (url) => {
35
+ return eachFileWords.value.filter((item) => {
36
+ const path = "/" + item.fileInfo.relativePath.replace(".md", "");
37
+ return [path, `${path}.html`].includes(url);
38
+ })[0];
39
+ };
40
+ const enhancedCategories = computed(() => {
41
+ return Object.entries(categories.value).map(([key, items]) => ({
42
+ name: key,
43
+ data: items.map((item) => {
44
+ const wordsInfo = getFileWords(item.url);
45
+ return {
46
+ ...item,
47
+ wordCount: wordsInfo?.wordCount || "-",
48
+ readingTime: wordsInfo?.readingTime || "-"
49
+ };
50
+ }) || []
51
+ })).sort(
52
+ (a, b) => new Date(b.data[b.data.length - 1].date).getTime() - new Date(a.data[a.data.length - 1].date).getTime()
53
+ );
54
+ });
55
+ const formatPublishDate = (date) => {
56
+ const publishDateFormat = frontmatter.value.publishDateFormat;
57
+ if (!publishDateFormat) return date;
58
+ return formatDate(date || /* @__PURE__ */ new Date(), publishDateFormat);
59
+ };
60
+ return (_ctx, _cache) => {
61
+ const _component_Content = resolveComponent("Content");
62
+ return openBlock(), createElementBlock(
63
+ "div",
64
+ {
65
+ class: normalizeClass([unref(ns).b(), unref(ns).joinNamespace("page"), "vp-doc"])
66
+ },
67
+ [
68
+ unref(frontmatter).title ? (openBlock(), createElementBlock(
69
+ "h1",
70
+ _hoisted_1,
71
+ toDisplayString(unref(frontmatter).title),
72
+ 1
73
+ /* TEXT */
74
+ )) : createCommentVNode("v-if", true),
75
+ createElementVNode("div", _hoisted_2, [
76
+ createVNode(_component_Content)
77
+ ]),
78
+ (openBlock(true), createElementBlock(
79
+ Fragment,
80
+ null,
81
+ renderList(enhancedCategories.value, (item) => {
82
+ return openBlock(), createElementBlock(
83
+ Fragment,
84
+ {
85
+ key: item.name
86
+ },
87
+ [
88
+ createElementVNode(
89
+ "h2",
90
+ _hoisted_3,
91
+ toDisplayString(item.name) + " " + toDisplayString(unref(t)("tk.articleOverview.overview")),
92
+ 1
93
+ /* TEXT */
94
+ ),
95
+ createElementVNode("a", {
96
+ href: `${categoriesPageLink.value}?category=${item.name}`,
97
+ "aria-describedby": `overview-title`
98
+ }, toDisplayString(item.name) + " " + toDisplayString(unref(t)("tk.articleOverview.category")), 9, _hoisted_4),
99
+ createElementVNode("table", _hoisted_5, [
100
+ createElementVNode("thead", null, [
101
+ createElementVNode("tr", null, [
102
+ createElementVNode(
103
+ "th",
104
+ null,
105
+ toDisplayString(unref(t)("tk.articleOverview.name")),
106
+ 1
107
+ /* TEXT */
108
+ ),
109
+ createElementVNode(
110
+ "th",
111
+ null,
112
+ toDisplayString(unref(t)("tk.articleOverview.title")),
113
+ 1
114
+ /* TEXT */
115
+ ),
116
+ createElementVNode(
117
+ "th",
118
+ null,
119
+ toDisplayString(unref(t)("tk.articleOverview.date")),
120
+ 1
121
+ /* TEXT */
122
+ ),
123
+ createElementVNode(
124
+ "th",
125
+ null,
126
+ toDisplayString(unref(t)("tk.articleOverview.wordCount")),
127
+ 1
128
+ /* TEXT */
129
+ ),
130
+ createElementVNode(
131
+ "th",
132
+ null,
133
+ toDisplayString(unref(t)("tk.articleOverview.readingTime")),
134
+ 1
135
+ /* TEXT */
136
+ )
137
+ ])
138
+ ]),
139
+ createElementVNode("tbody", null, [
140
+ (openBlock(true), createElementBlock(
141
+ Fragment,
142
+ null,
143
+ renderList(item.data, (data) => {
144
+ return openBlock(), createElementBlock("tr", {
145
+ key: data.url
146
+ }, [
147
+ createElementVNode(
148
+ "td",
149
+ null,
150
+ toDisplayString(item.name),
151
+ 1
152
+ /* TEXT */
153
+ ),
154
+ createElementVNode("td", null, [
155
+ createElementVNode("a", {
156
+ href: data.url && unref(withBase)(data.url),
157
+ "aria-label": data.title
158
+ }, toDisplayString(data.title), 9, _hoisted_6)
159
+ ]),
160
+ createElementVNode(
161
+ "td",
162
+ null,
163
+ toDisplayString(formatPublishDate(data.date)),
164
+ 1
165
+ /* TEXT */
166
+ ),
167
+ createElementVNode(
168
+ "td",
169
+ null,
170
+ toDisplayString(data.wordCount),
171
+ 1
172
+ /* TEXT */
173
+ ),
174
+ createElementVNode(
175
+ "td",
176
+ null,
177
+ toDisplayString(data.readingTime),
178
+ 1
179
+ /* TEXT */
180
+ )
181
+ ]);
182
+ }),
183
+ 128
184
+ /* KEYED_FRAGMENT */
185
+ ))
186
+ ])
187
+ ])
188
+ ],
189
+ 64
190
+ /* STABLE_FRAGMENT */
191
+ );
192
+ }),
193
+ 128
194
+ /* KEYED_FRAGMENT */
195
+ ))
196
+ ],
197
+ 2
198
+ /* CLASS */
199
+ );
200
+ };
201
+ }
202
+ });
203
+
204
+ export { _sfc_main as default };
@@ -0,0 +1,2 @@
1
+ import { default as ArticleOverviewPage } from './index.vue';
2
+ export type TkArticleOverviewPageInstance = InstanceType<typeof ArticleOverviewPage>;
@@ -0,0 +1,2 @@
1
+ import "vitepress-theme-teek/theme-chalk/base.css";
2
+ import "vitepress-theme-teek/theme-chalk/tk-article-overview-page.css";
@@ -0,0 +1,2 @@
1
+ import 'vitepress-theme-teek/theme-chalk/base.css';
2
+ import 'vitepress-theme-teek/theme-chalk/tk-article-overview-page.css';
@@ -0,0 +1,2 @@
1
+ import "vitepress-theme-teek/theme-chalk/src/base.scss";
2
+ import "vitepress-theme-teek/theme-chalk/src/components/theme/article-overview-page.scss";
@@ -0,0 +1,2 @@
1
+ import 'vitepress-theme-teek/theme-chalk/src/base.scss';
2
+ import 'vitepress-theme-teek/theme-chalk/src/components/theme/article-overview-page.scss';