vitepress-theme-teek 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/common/ArticlePage/src/instance.d.ts +1 -1
- package/es/components/common/Avatar/src/avatar.d.ts +1 -1
- package/es/components/common/Breadcrumb/src/namespace.d.ts +1 -1
- package/es/components/common/Message/src/message.d.ts +1 -1
- package/es/components/common/Pagination/src/components/next.d.ts +1 -1
- package/es/components/common/Pagination/src/components/prev.d.ts +1 -1
- package/es/components/common/Pagination/src/pagination.d.ts +1 -1
- package/es/components/common/Segmented/src/instance.d.ts +1 -1
- package/es/components/common/Segmented/src/segmented.d.ts +1 -1
- package/es/components/theme/ArticleOverviewPage/src/index.vue2.mjs +5 -2
- package/es/components/theme/ArticleTitle/src/index.vue.d.ts +1 -1
- package/es/components/theme/ConfigProvider/index.d.ts +1 -1
- package/es/components/theme/LoginPage/src/login.d.ts +1 -1
- package/es/components/theme/RightBottomButton/src/namespace.d.ts +1 -1
- package/es/components/theme/ThemeEnhance/src/components/BaseTemplate.vue.d.ts +1 -1
- package/es/components/theme/ThemeEnhance/src/components/Title.vue.d.ts +1 -1
- package/es/components/theme/ThemeEnhance/src/namespace.d.ts +1 -1
- package/es/config/interface/appreciation.d.ts +1 -1
- package/es/config/interface/articleAnalyze.d.ts +1 -1
- package/es/config/interface/articleShare.d.ts +1 -1
- package/es/config/interface/blogger.d.ts +1 -1
- package/es/config/interface/codeBlock.d.ts +1 -1
- package/es/config/interface/friendLink.d.ts +1 -1
- package/es/config/interface/notice.d.ts +1 -1
- package/es/config/interface/post.d.ts +2 -2
- package/es/config/interface/social.d.ts +1 -1
- package/es/config/types.d.ts +2 -2
- package/es/hooks/cssModule/namespace.module.scss.d.ts +8 -0
- package/es/icons.d.ts +1 -1
- package/es/index.css +1 -2
- package/es/index.d.ts +7 -7
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +5 -3
- package/index.min.js +66 -66
- package/index.min.mjs +72 -72
- package/index.mjs +5 -3
- package/lib/components/common/ArticlePage/src/instance.d.ts +1 -1
- package/lib/components/common/Avatar/src/avatar.d.ts +1 -1
- package/lib/components/common/Breadcrumb/src/namespace.d.ts +1 -1
- package/lib/components/common/Message/src/message.d.ts +1 -1
- package/lib/components/common/Pagination/src/components/next.d.ts +1 -1
- package/lib/components/common/Pagination/src/components/prev.d.ts +1 -1
- package/lib/components/common/Pagination/src/pagination.d.ts +1 -1
- package/lib/components/common/Segmented/src/instance.d.ts +1 -1
- package/lib/components/common/Segmented/src/segmented.d.ts +1 -1
- package/lib/components/theme/ArticleOverviewPage/src/index.vue2.js +4 -1
- package/lib/components/theme/ArticleTitle/src/index.vue.d.ts +1 -1
- package/lib/components/theme/ConfigProvider/index.d.ts +1 -1
- package/lib/components/theme/LoginPage/src/login.d.ts +1 -1
- package/lib/components/theme/RightBottomButton/src/namespace.d.ts +1 -1
- package/lib/components/theme/ThemeEnhance/src/components/BaseTemplate.vue.d.ts +1 -1
- package/lib/components/theme/ThemeEnhance/src/components/Title.vue.d.ts +1 -1
- package/lib/components/theme/ThemeEnhance/src/namespace.d.ts +1 -1
- package/lib/config/interface/appreciation.d.ts +1 -1
- package/lib/config/interface/articleAnalyze.d.ts +1 -1
- package/lib/config/interface/articleShare.d.ts +1 -1
- package/lib/config/interface/blogger.d.ts +1 -1
- package/lib/config/interface/codeBlock.d.ts +1 -1
- package/lib/config/interface/friendLink.d.ts +1 -1
- package/lib/config/interface/notice.d.ts +1 -1
- package/lib/config/interface/post.d.ts +2 -2
- package/lib/config/interface/social.d.ts +1 -1
- package/lib/config/types.d.ts +2 -2
- package/lib/hooks/cssModule/namespace.module.scss.d.ts +8 -0
- package/lib/icons.d.ts +1 -1
- package/lib/index.css +1 -2
- package/lib/index.d.ts +7 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/components/common/article-page.scss +1 -1
- package/theme-chalk/tk-base.css +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { default as ArticlePage } from './index.vue';
|
|
2
|
-
import { default as DocAsideOutlineItem } from './
|
|
2
|
+
import { default as DocAsideOutlineItem } from './components/DocAsideOutlineItem.vue';
|
|
3
3
|
export type TkArticlePageInstance = InstanceType<typeof ArticlePage>;
|
|
4
4
|
export type TkDocAsideOutlineItemInstance = InstanceType<typeof DocAsideOutlineItem>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AppContext, VNode } from 'vue';
|
|
2
|
-
import { TkIconProps } from '
|
|
2
|
+
import { TkIconProps } from '../../Icon';
|
|
3
3
|
export declare const messageTypes: readonly ["primary", "success", "info", "warning", "error"];
|
|
4
4
|
export type MessageType = (typeof messageTypes)[number];
|
|
5
5
|
export interface MessageConfigContext {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, InjectionKey, ModelRef } from 'vue';
|
|
2
|
-
import { TkIconProps } from '
|
|
2
|
+
import { TkIconProps } from '../../Icon';
|
|
3
3
|
export interface PaginationContext {
|
|
4
4
|
currentPage?: ModelRef<number>;
|
|
5
5
|
pageCount?: ComputedRef<number>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as Segmented } from './
|
|
1
|
+
import { default as Segmented } from './Segmented.vue';
|
|
2
2
|
import { default as SegmentedItem } from './SegmentedItem.vue';
|
|
3
3
|
export type TkSegmentedInstance = InstanceType<typeof Segmented>;
|
|
4
4
|
export type TkSegmentedItemInstance = InstanceType<typeof SegmentedItem>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, resolveComponent, createBlock, openBlock, unref, normalizeClass, withCtx, createElementBlock, createCommentVNode, createVNode, createTextVNode, createElementVNode, toDisplayString, Fragment, renderList } from 'vue';
|
|
1
|
+
import { defineComponent, computed, resolveComponent, createBlock, openBlock, unref, normalizeClass, withCtx, createElementBlock, createCommentVNode, createVNode, createTextVNode, createElementVNode, toDisplayString, Fragment, renderList, resolveDynamicComponent } from 'vue';
|
|
2
2
|
import { useData, withBase } from 'vitepress';
|
|
3
3
|
import { formatDate } from '../../../../helper/dist/index.mjs';
|
|
4
4
|
import { useLocale } from '../../../../hooks/useLocale.mjs';
|
|
@@ -6,6 +6,7 @@ import { useNamespace } from '../../../../hooks/useNamespace.mjs';
|
|
|
6
6
|
import '../../../../hooks/useZIndex.mjs';
|
|
7
7
|
import { usePosts, useTeekConfig } from '../../ConfigProvider/index.mjs';
|
|
8
8
|
import _sfc_main$1 from '../../../common/ArticlePage/src/index.vue2.mjs';
|
|
9
|
+
import { createDynamicComponent } from '../../ArticleTitle/src/compile.mjs';
|
|
9
10
|
|
|
10
11
|
const _hoisted_1 = { key: 0 };
|
|
11
12
|
const _hoisted_2 = ["href", "aria-label"];
|
|
@@ -167,7 +168,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
167
168
|
createElementVNode("a", {
|
|
168
169
|
href: data.url && unref(withBase)(data.url),
|
|
169
170
|
"aria-label": data.title
|
|
170
|
-
},
|
|
171
|
+
}, [
|
|
172
|
+
data.title ? (openBlock(), createBlock(resolveDynamicComponent(unref(createDynamicComponent)(data.title)), { key: 0 })) : createCommentVNode("v-if", true)
|
|
173
|
+
], 8, _hoisted_7)
|
|
171
174
|
]),
|
|
172
175
|
createElementVNode(
|
|
173
176
|
"td",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TkContentData } from '../../../../config';
|
|
2
|
-
import { TkTitleTagProps } from '
|
|
2
|
+
import { TkTitleTagProps } from '../../../common/TitleTag';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
type __VLS_Props = {
|
|
5
5
|
post: TkContentData;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PostData } from '
|
|
1
|
+
import { PostData } from '../../../config/post/types';
|
|
2
2
|
import { TeekConfig } from '../../../config';
|
|
3
3
|
import { Component, Ref, InjectionKey, DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComputedRef } from 'vue';
|
|
4
4
|
export declare const postsContext: InjectionKey<PostData>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ImageViewerProps } from '
|
|
1
|
+
import { ImageViewerProps } from '../../components/common/ImageViewer/src/imageViewer';
|
|
2
2
|
export type ArticleInfoPosition = "post" | "article";
|
|
3
3
|
export interface ArticleAnalyze {
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImageViewerProps } from '
|
|
2
|
-
import { TitleTagProps } from '
|
|
1
|
+
import { ImageViewerProps } from '../../components/common/ImageViewer/src/imageViewer';
|
|
2
|
+
import { TitleTagProps } from '../../components/common/TitleTag/src/titleTag';
|
|
3
3
|
export interface Post {
|
|
4
4
|
/**
|
|
5
5
|
* 文章模板风格,list 为列表风格,card 为卡片风格
|
package/es/config/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageData } from 'vitepress';
|
|
2
|
-
import { VpContainerProps } from '
|
|
3
|
-
import { Message } from '
|
|
2
|
+
import { VpContainerProps } from '../components/common/VpContainer/src/vpContainer';
|
|
3
|
+
import { Message } from '../components/common/Message/src/message';
|
|
4
4
|
import { TkPaginationProps } from '../components/common/Pagination';
|
|
5
5
|
import { Appreciation, ArticleAnalyze, ArticleShare, ArticleUpdate, Author, Banner, Blogger, BodyBgImg, Breadcrumb, Category, CodeBlock, CommentConfig, DocAnalysis, FooterInfo, FooterGroup, FriendLink, ThemeEnhance, Notice, Plugins, Post, SiteAnalytics, Social, Tag, TopArticle, Wallpaper, Markdown, Private, RiskLink } from './interface';
|
|
6
6
|
export type * from './interface';
|
package/es/icons.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from './static/icons';
|