@opendesign-plus-test/components 0.0.1-rc.247 → 0.0.1-rc.249
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/activity/index.d.ts +9 -9
- package/dist/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
- package/dist/components/anchor-bar/index.d.ts +9 -9
- package/dist/components/article/OArticle.vue.d.ts +14 -206
- package/dist/components/article/index.d.ts +50 -156
- package/dist/components/article/types.d.ts +2 -8
- package/dist/components/article-anchor/index.d.ts +9 -9
- package/dist/components/article-pagination/index.d.ts +17 -17
- package/dist/components/banner/index.d.ts +6 -6
- package/dist/components/brand/index.d.ts +15 -15
- package/dist/components/events/index.d.ts +20 -20
- package/dist/components/footer/index.d.ts +3 -3
- package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/components/header/index.d.ts +28 -28
- package/dist/components/header-search/index.d.ts +13 -13
- package/dist/components/logo-swiper/index.d.ts +11 -11
- package/dist/components/markdown/OMarkdown.vue.d.ts +16 -9
- package/dist/components/{article/components/DocTitle.vue.d.ts → markdown/components/MarkdownPageTitle.vue.d.ts} +5 -6
- package/dist/components/markdown/index.d.ts +45 -19
- package/dist/components/markdown/replacer/h1.d.ts +11 -0
- package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/components/meeting/index.d.ts +51 -51
- package/dist/components/org/index.d.ts +9 -9
- package/dist/components/recursion-menu/index.d.ts +3 -3
- package/dist/components/search/index.d.ts +11 -11
- package/dist/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
- package/dist/components/search-result/index.d.ts +31 -31
- package/dist/components/sig/index.d.ts +15 -15
- package/dist/components/summit/index.d.ts +12 -12
- package/dist/components/user-center/index.d.ts +18 -18
- package/dist/components/video/index.d.ts +3 -3
- package/dist/components.cjs.js +45 -45
- package/dist/components.css +2 -2
- package/dist/components.es.js +11202 -11457
- package/dist/index.d.ts +0 -1
- package/dist/treeshaking/components/activity/index.d.ts +9 -9
- package/dist/treeshaking/components/anchor-bar/OAnchorBar.vue.d.ts +2 -2
- package/dist/treeshaking/components/anchor-bar/index.d.ts +9 -9
- package/dist/treeshaking/components/article/OArticle.css +124 -18
- package/dist/treeshaking/components/article/OArticle.vue.d.ts +14 -206
- package/dist/treeshaking/components/article/OArticle.vue.mjs +1 -1
- package/dist/treeshaking/components/article/OArticle.vue2.mjs +82 -48
- package/dist/treeshaking/components/article/OArticleList.css +6 -7
- package/dist/treeshaking/components/article/OArticleList.vue.mjs +34 -48
- package/dist/treeshaking/components/article/index.d.ts +50 -156
- package/dist/treeshaking/components/article/types.d.ts +2 -8
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.css +4 -4
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue.mjs +1 -1
- package/dist/treeshaking/components/article-anchor/OArticleAnchor.vue2.mjs +5 -4
- package/dist/treeshaking/components/article-anchor/index.d.ts +9 -9
- package/dist/treeshaking/components/article-pagination/index.d.ts +17 -17
- package/dist/treeshaking/components/banner/index.d.ts +6 -6
- package/dist/treeshaking/components/brand/index.d.ts +15 -15
- package/dist/treeshaking/components/events/OEventsList.vue.mjs +1 -1
- package/dist/treeshaking/components/events/index.d.ts +20 -20
- package/dist/treeshaking/components/footer/index.d.ts +3 -3
- package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
- package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
- package/dist/treeshaking/components/header/index.d.ts +28 -28
- package/dist/treeshaking/components/header-search/index.d.ts +13 -13
- package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
- package/dist/treeshaking/components/markdown/OMarkdown.vue.d.ts +16 -9
- package/dist/treeshaking/components/markdown/OMarkdown.vue.mjs +1 -1
- package/dist/treeshaking/components/markdown/OMarkdown.vue2.mjs +36 -68
- package/dist/treeshaking/components/markdown/OMarkdown2.css +3 -3
- package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.css +261 -0
- package/dist/treeshaking/components/{article/components/DocTitle.vue.d.ts → markdown/components/MarkdownPageTitle.vue.d.ts} +5 -6
- package/dist/treeshaking/components/markdown/components/MarkdownPageTitle.vue.mjs +7 -0
- package/dist/treeshaking/components/{article/components/DocTitle.vue2.mjs → markdown/components/MarkdownPageTitle.vue2.mjs} +80 -131
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.css +22 -22
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue.mjs +1 -1
- package/dist/treeshaking/components/markdown/components/MarkdownTitle.vue2.mjs +5 -11
- package/dist/treeshaking/components/markdown/index.d.ts +45 -19
- package/dist/treeshaking/components/markdown/replacer/h1.d.ts +11 -0
- package/dist/treeshaking/components/markdown/replacer/h1.mjs +29 -0
- package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +51 -51
- package/dist/treeshaking/components/org/index.d.ts +9 -9
- package/dist/treeshaking/components/recursion-menu/ORecursionMenu.vue.mjs +1 -1
- package/dist/treeshaking/components/recursion-menu/index.d.ts +3 -3
- package/dist/treeshaking/components/search/index.d.ts +11 -11
- package/dist/treeshaking/components/search-result/OSearchResultHeader.vue.d.ts +24 -24
- package/dist/treeshaking/components/search-result/index.d.ts +31 -31
- package/dist/treeshaking/components/sig/index.d.ts +15 -15
- package/dist/treeshaking/components/summit/index.d.ts +12 -12
- package/dist/treeshaking/components/user-center/OUserInfo.css +109 -109
- package/dist/treeshaking/components/user-center/OUserInfo.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo2.css +10 -7
- package/dist/treeshaking/components/user-center/OUserInfo3.css +4 -4
- package/dist/treeshaking/components/user-center/index.d.ts +18 -18
- package/dist/treeshaking/components/user-center/verify/Verify.css +53 -44
- package/dist/treeshaking/components/user-center/verify/Verify.vue.mjs +1 -1
- package/dist/treeshaking/components/video/index.d.ts +3 -3
- package/dist/treeshaking/index.d.ts +0 -1
- package/dist/treeshaking/index.mjs +0 -2
- package/package.json +3 -3
- package/dist/components/article/components/ArticleTitle.vue.d.ts +0 -22
- package/dist/components/doc-layout/ODocLayout.vue.d.ts +0 -38
- package/dist/components/doc-layout/index.d.ts +0 -59
- package/dist/treeshaking/_virtual/icon-menu-fold.mjs +0 -20
- package/dist/treeshaking/_virtual/icon-menu-unfold.mjs +0 -20
- package/dist/treeshaking/components/article/components/ArticleTitle.css +0 -123
- package/dist/treeshaking/components/article/components/ArticleTitle.vue.d.ts +0 -22
- package/dist/treeshaking/components/article/components/ArticleTitle.vue.mjs +0 -7
- package/dist/treeshaking/components/article/components/ArticleTitle.vue2.mjs +0 -97
- package/dist/treeshaking/components/article/components/DocTitle.css +0 -246
- package/dist/treeshaking/components/article/components/DocTitle.vue.mjs +0 -7
- package/dist/treeshaking/components/doc-layout/ODocLayout.css +0 -271
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue.d.ts +0 -38
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue.mjs +0 -7
- package/dist/treeshaking/components/doc-layout/ODocLayout.vue2.mjs +0 -165
- package/dist/treeshaking/components/doc-layout/index.d.ts +0 -59
- package/dist/treeshaking/components/doc-layout/index.mjs +0 -9
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
-
const _hoisted_1 = {
|
|
3
|
-
version: "1.1",
|
|
4
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: "24",
|
|
6
|
-
height: "24",
|
|
7
|
-
viewBox: "0 0 32 32"
|
|
8
|
-
};
|
|
9
|
-
function render(_ctx, _cache) {
|
|
10
|
-
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
|
-
createElementVNode("path", {
|
|
12
|
-
fill: "currentColor",
|
|
13
|
-
d: "M4.026 6.040c0-0.516 0.418-0.934 0.933-0.934h22.074c0.515 0 0.933 0.418 0.933 0.934s-0.418 0.934-0.933 0.934h-22.074c-0.515 0-0.933-0.418-0.933-0.934zM27.507 16.596c0.365-0.365 0.365-0.956 0-1.32l-4-4c-0.364-0.365-0.955-0.365-1.32 0l-0.098 0.116c-0.263 0.365-0.23 0.876 0.098 1.204l3.341 3.34-3.341 3.34c-0.364 0.365-0.364 0.956 0 1.32s0.956 0.365 1.32 0l4-4zM4.96 11.773c-0.515 0-0.933 0.418-0.933 0.934s0.418 0.934 0.933 0.934h11.407c0.515 0 0.933-0.418 0.933-0.934s-0.418-0.934-0.933-0.934h-11.407zM4.026 19.374c0-0.516 0.418-0.934 0.933-0.934h11.407c0.515 0 0.933 0.418 0.933 0.934s-0.418 0.934-0.933 0.934h-11.407c-0.515 0-0.933-0.418-0.933-0.934zM4.96 25.107c-0.515 0-0.933 0.418-0.933 0.934s0.418 0.934 0.933 0.934h22.074c0.515 0 0.933-0.418 0.933-0.934s-0.418-0.934-0.933-0.934h-22.074z"
|
|
14
|
-
}, null, -1)
|
|
15
|
-
])]);
|
|
16
|
-
}
|
|
17
|
-
const IconMenuFold = { name: "components-icon-menu-fold", render };
|
|
18
|
-
export {
|
|
19
|
-
IconMenuFold as default
|
|
20
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
|
2
|
-
const _hoisted_1 = {
|
|
3
|
-
version: "1.1",
|
|
4
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
width: "24",
|
|
6
|
-
height: "24",
|
|
7
|
-
viewBox: "0 0 32 32"
|
|
8
|
-
};
|
|
9
|
-
function render(_ctx, _cache) {
|
|
10
|
-
return openBlock(), createElementBlock("svg", _hoisted_1, [..._cache[0] || (_cache[0] = [
|
|
11
|
-
createElementVNode("path", {
|
|
12
|
-
fill: "currentColor",
|
|
13
|
-
d: "M27.974 6.040c0-0.516-0.418-0.934-0.933-0.934h-22.074c-0.515 0-0.933 0.418-0.933 0.934s0.418 0.934 0.933 0.934h22.074c0.515 0 0.933-0.418 0.933-0.934zM4.493 16.596c-0.364-0.365-0.364-0.956 0-1.32l4-4c0.364-0.365 0.955-0.365 1.32 0l0.098 0.116c0.262 0.365 0.23 0.876-0.098 1.204l-3.341 3.34 3.341 3.34c0.364 0.365 0.364 0.956 0 1.32s-0.955 0.365-1.32 0l-4-4zM27.040 11.773c0.515 0 0.933 0.418 0.933 0.934s-0.418 0.934-0.933 0.934h-11.407c-0.515 0-0.933-0.418-0.933-0.934s0.418-0.934 0.933-0.934h11.407zM27.974 19.374c0-0.516-0.418-0.934-0.933-0.934h-11.407c-0.515 0-0.933 0.418-0.933 0.934s0.418 0.934 0.933 0.934h11.407c0.515 0 0.933-0.418 0.933-0.934zM27.040 25.107c0.515 0 0.933 0.418 0.933 0.934s-0.418 0.934-0.933 0.934h-22.074c-0.515 0-0.933-0.418-0.933-0.934s0.418-0.934 0.933-0.934h22.074z"
|
|
14
|
-
}, null, -1)
|
|
15
|
-
])]);
|
|
16
|
-
}
|
|
17
|
-
const IconMenuUnfold = { name: "components-icon-menu-unfold", render };
|
|
18
|
-
export {
|
|
19
|
-
IconMenuUnfold as default
|
|
20
|
-
};
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-b96d293f] {
|
|
2
|
-
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
-
}
|
|
4
|
-
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-b96d293f] {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.o-article__header[data-v-b96d293f] {
|
|
10
|
-
padding: 32px;
|
|
11
|
-
border-radius: var(--o-article-radius) var(--o-article-radius) 0 0;
|
|
12
|
-
background-image: var(--v5804c76a);
|
|
13
|
-
background-position: 100% 100%;
|
|
14
|
-
background-repeat: no-repeat;
|
|
15
|
-
background-size: cover;
|
|
16
|
-
}
|
|
17
|
-
@media (max-width: 1680px) {
|
|
18
|
-
.o-article__header[data-v-b96d293f] {
|
|
19
|
-
padding: 24px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
@media (max-width: 1200px) {
|
|
23
|
-
.o-article__header[data-v-b96d293f] {
|
|
24
|
-
padding: 16px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
@media (max-width: 600px) {
|
|
28
|
-
.o-article__header[data-v-b96d293f] {
|
|
29
|
-
padding: 12px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
.o-article__title[data-v-b96d293f] {
|
|
33
|
-
margin: 0;
|
|
34
|
-
color: var(--o-color-info1);
|
|
35
|
-
font-weight: 600;
|
|
36
|
-
font-size: 32px;
|
|
37
|
-
line-height: 44px;
|
|
38
|
-
}
|
|
39
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
40
|
-
.o-article__title[data-v-b96d293f] {
|
|
41
|
-
font-size: 20px;
|
|
42
|
-
line-height: 28px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
46
|
-
.o-article__title[data-v-b96d293f] {
|
|
47
|
-
font-size: 20px;
|
|
48
|
-
line-height: 28px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
52
|
-
.o-article__title[data-v-b96d293f] {
|
|
53
|
-
font-size: 18px;
|
|
54
|
-
line-height: 26px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
@media (max-width: 600px) {
|
|
58
|
-
.o-article__title[data-v-b96d293f] {
|
|
59
|
-
font-size: 16px;
|
|
60
|
-
line-height: 24px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
.o-article__meta[data-v-b96d293f] {
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-wrap: wrap;
|
|
66
|
-
align-items: center;
|
|
67
|
-
justify-content: space-between;
|
|
68
|
-
column-gap: 16px;
|
|
69
|
-
row-gap: 8px;
|
|
70
|
-
margin-top: 8px;
|
|
71
|
-
}
|
|
72
|
-
.o-article__tags[data-v-b96d293f] {
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-wrap: wrap;
|
|
75
|
-
align-items: center;
|
|
76
|
-
gap: 16px;
|
|
77
|
-
min-width: fit-content;
|
|
78
|
-
padding: 0;
|
|
79
|
-
list-style: none;
|
|
80
|
-
}
|
|
81
|
-
.o-article__tags-divider[data-v-b96d293f] {
|
|
82
|
-
--o-divider-label-gap: 0;
|
|
83
|
-
height: 20px;
|
|
84
|
-
}
|
|
85
|
-
.o-article__update-time[data-v-b96d293f] {
|
|
86
|
-
flex-shrink: 0;
|
|
87
|
-
color: var(--o-color-info3);
|
|
88
|
-
font-size: 14px;
|
|
89
|
-
line-height: 22px;
|
|
90
|
-
}
|
|
91
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
92
|
-
.o-article__update-time[data-v-b96d293f] {
|
|
93
|
-
font-size: 14px;
|
|
94
|
-
line-height: 18px;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
98
|
-
.o-article__update-time[data-v-b96d293f] {
|
|
99
|
-
font-size: 12px;
|
|
100
|
-
line-height: 18px;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
104
|
-
.o-article__update-time[data-v-b96d293f] {
|
|
105
|
-
font-size: 12px;
|
|
106
|
-
line-height: 18px;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
@media (max-width: 600px) {
|
|
110
|
-
.o-article__update-time[data-v-b96d293f] {
|
|
111
|
-
font-size: 12px;
|
|
112
|
-
line-height: 18px;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
@media (max-width: 600px) {
|
|
116
|
-
.o-article__update-time[data-v-b96d293f] {
|
|
117
|
-
flex-basis: 100%;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
.o-article__tag[data-v-b96d293f] {
|
|
121
|
-
--tag-height: 24px;
|
|
122
|
-
--tag-padding: 0 11px;
|
|
123
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { OMarkdownMaybeElementT } from '../../markdown/types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
/** 文章标题(可选),未传时使用 el 渲染 */
|
|
4
|
-
title?: string;
|
|
5
|
-
/** 标题 DOM 元素(可选),title 未传时渲染 el 的 outerHTML */
|
|
6
|
-
el?: OMarkdownMaybeElementT;
|
|
7
|
-
/** 标题头部背景图地址(可选),未传时不显示背景图 */
|
|
8
|
-
headerBg?: string;
|
|
9
|
-
/** 标签列表(可选),渲染为标题下方的 OTag 标签 */
|
|
10
|
-
tags?: string[];
|
|
11
|
-
/** 所属社区(可选),渲染为标签并置于标签列表首位,用垂直分隔线与其余标签隔开 */
|
|
12
|
-
community?: string;
|
|
13
|
-
/** 标题头部展示的更新时间(可选),与标签两端对齐,文案前缀取 i18n `md.updateTime` */
|
|
14
|
-
updateTime?: string;
|
|
15
|
-
/** 圆角 */
|
|
16
|
-
radius?: string;
|
|
17
|
-
};
|
|
18
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
-
radius: string;
|
|
20
|
-
tags: string[];
|
|
21
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
22
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./ArticleTitle.vue2.mjs";
|
|
2
|
-
import './ArticleTitle.css';
|
|
3
|
-
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const ArticleTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b96d293f"]]);
|
|
5
|
-
export {
|
|
6
|
-
ArticleTitle as default
|
|
7
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, computed, openBlock, createElementBlock, toDisplayString, withDirectives, unref, createBlock, withCtx, createTextVNode, createCommentVNode, Fragment, renderList } from "vue";
|
|
2
|
-
import { OTag, ODivider } from "@opensig/opendesign";
|
|
3
|
-
import { buildVueDompurifyHTMLDirective } from "vue-dompurify-html";
|
|
4
|
-
import { useI18n } from "../../../i18n/index.mjs";
|
|
5
|
-
const _hoisted_1 = { class: "o-article__header" };
|
|
6
|
-
const _hoisted_2 = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "o-article__title"
|
|
9
|
-
};
|
|
10
|
-
const _hoisted_3 = {
|
|
11
|
-
key: 1,
|
|
12
|
-
class: "o-article__title __mounted"
|
|
13
|
-
};
|
|
14
|
-
const _hoisted_4 = {
|
|
15
|
-
key: 2,
|
|
16
|
-
class: "o-article__meta"
|
|
17
|
-
};
|
|
18
|
-
const _hoisted_5 = {
|
|
19
|
-
key: 0,
|
|
20
|
-
class: "o-article__tags"
|
|
21
|
-
};
|
|
22
|
-
const _hoisted_6 = {
|
|
23
|
-
key: 1,
|
|
24
|
-
class: "o-article__update-time"
|
|
25
|
-
};
|
|
26
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
27
|
-
__name: "ArticleTitle",
|
|
28
|
-
props: {
|
|
29
|
-
title: {},
|
|
30
|
-
el: {},
|
|
31
|
-
headerBg: {},
|
|
32
|
-
tags: { default: () => [] },
|
|
33
|
-
community: {},
|
|
34
|
-
updateTime: {},
|
|
35
|
-
radius: { default: "var(--o-radius-xs)" }
|
|
36
|
-
},
|
|
37
|
-
setup(__props) {
|
|
38
|
-
useCssVars((_ctx) => ({
|
|
39
|
-
"v5804c76a": headerBgStyle.value
|
|
40
|
-
}));
|
|
41
|
-
const props = __props;
|
|
42
|
-
const { t } = useI18n();
|
|
43
|
-
const vDompurifyHtml = buildVueDompurifyHTMLDirective({
|
|
44
|
-
default: {
|
|
45
|
-
FORBID_ATTR: ["style"]
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
const headerBgStyle = computed(() => props.headerBg ? `url(${props.headerBg})` : "none");
|
|
49
|
-
return (_ctx, _cache) => {
|
|
50
|
-
var _a;
|
|
51
|
-
return openBlock(), createElementBlock("header", _hoisted_1, [
|
|
52
|
-
__props.title ? (openBlock(), createElementBlock("h1", _hoisted_2, toDisplayString(__props.title), 1)) : withDirectives((openBlock(), createElementBlock("h1", _hoisted_3, null, 512)), [
|
|
53
|
-
[unref(vDompurifyHtml), (_a = __props.el) == null ? void 0 : _a.outerHTML]
|
|
54
|
-
]),
|
|
55
|
-
__props.tags.length || __props.updateTime || __props.community ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
56
|
-
__props.tags.length || __props.community ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
57
|
-
__props.community ? (openBlock(), createBlock(unref(OTag), {
|
|
58
|
-
key: 0,
|
|
59
|
-
class: "o-article__tag",
|
|
60
|
-
size: "large",
|
|
61
|
-
variant: "outline",
|
|
62
|
-
round: __props.community === "MindSpore" ? "pill" : __props.radius
|
|
63
|
-
}, {
|
|
64
|
-
default: withCtx(() => [
|
|
65
|
-
createTextVNode(toDisplayString(__props.community), 1)
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}, 8, ["round"])) : createCommentVNode("", true),
|
|
69
|
-
__props.community && __props.tags.length ? (openBlock(), createBlock(unref(ODivider), {
|
|
70
|
-
key: 1,
|
|
71
|
-
direction: "v",
|
|
72
|
-
class: "o-article__tags-divider"
|
|
73
|
-
})) : createCommentVNode("", true),
|
|
74
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tags, (tag) => {
|
|
75
|
-
return openBlock(), createBlock(unref(OTag), {
|
|
76
|
-
key: tag,
|
|
77
|
-
class: "o-article__tag",
|
|
78
|
-
size: "large",
|
|
79
|
-
variant: "outline",
|
|
80
|
-
round: __props.community === "MindSpore" ? "pill" : __props.radius
|
|
81
|
-
}, {
|
|
82
|
-
default: withCtx(() => [
|
|
83
|
-
createTextVNode(toDisplayString(tag), 1)
|
|
84
|
-
]),
|
|
85
|
-
_: 2
|
|
86
|
-
}, 1032, ["round"]);
|
|
87
|
-
}), 128))
|
|
88
|
-
])) : createCommentVNode("", true),
|
|
89
|
-
__props.updateTime ? (openBlock(), createElementBlock("span", _hoisted_6, toDisplayString(unref(t)("md.updateTime")) + toDisplayString(__props.updateTime), 1)) : createCommentVNode("", true)
|
|
90
|
-
])) : createCommentVNode("", true)
|
|
91
|
-
]);
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
export {
|
|
96
|
-
_sfc_main as default
|
|
97
|
-
};
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
.hover-icon-rotate .o-icon[data-v-ea84d56c] {
|
|
2
|
-
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
-
}
|
|
4
|
-
@media (hover: hover) {
|
|
5
|
-
.hover-icon-rotate:hover .o-icon[data-v-ea84d56c] {
|
|
6
|
-
transform: rotate(-180deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.o-doc-title[data-v-ea84d56c] {
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
gap: 12px;
|
|
13
|
-
padding: 16px;
|
|
14
|
-
border-radius: var(--o-radius-xs);
|
|
15
|
-
background-image: var(--bc7b9dec);
|
|
16
|
-
background-position: 100% 100%;
|
|
17
|
-
background-repeat: no-repeat;
|
|
18
|
-
background-size: cover;
|
|
19
|
-
}
|
|
20
|
-
@media (max-width: 1680px) {
|
|
21
|
-
.o-doc-title[data-v-ea84d56c] {
|
|
22
|
-
gap: 8px;
|
|
23
|
-
padding: 12px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
@media (max-width: 1200px) {
|
|
27
|
-
.o-doc-title[data-v-ea84d56c] {
|
|
28
|
-
gap: 8px;
|
|
29
|
-
padding: 8px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
@media (max-width: 840px) {
|
|
33
|
-
.o-doc-title[data-v-ea84d56c] {
|
|
34
|
-
gap: 12px;
|
|
35
|
-
padding: 16px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.o-doc-title .o-doc-title-content[data-v-ea84d56c] {
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
gap: 8px;
|
|
42
|
-
min-width: 0;
|
|
43
|
-
}
|
|
44
|
-
.o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
|
|
45
|
-
margin-top: 0;
|
|
46
|
-
margin-bottom: 0;
|
|
47
|
-
font-size: 32px;
|
|
48
|
-
line-height: 44px;
|
|
49
|
-
}
|
|
50
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
51
|
-
.o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
|
|
52
|
-
font-size: 20px;
|
|
53
|
-
line-height: 28px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
57
|
-
.o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
|
|
58
|
-
font-size: 20px;
|
|
59
|
-
line-height: 28px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
63
|
-
.o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
|
|
64
|
-
font-size: 18px;
|
|
65
|
-
line-height: 26px;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
@media (max-width: 600px) {
|
|
69
|
-
.o-doc-title .o-doc-title-text[data-v-ea84d56c] h1 {
|
|
70
|
-
font-size: 16px;
|
|
71
|
-
line-height: 24px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
.o-doc-title .o-doc-title-actions[data-v-ea84d56c] {
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
justify-content: space-between;
|
|
78
|
-
margin-top: 12px;
|
|
79
|
-
}
|
|
80
|
-
@media (max-width: 1680px) {
|
|
81
|
-
.o-doc-title .o-doc-title-actions[data-v-ea84d56c] {
|
|
82
|
-
margin-top: 8px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
@media (max-width: 840px) {
|
|
86
|
-
.o-doc-title .o-doc-title-actions[data-v-ea84d56c] {
|
|
87
|
-
margin-top: 0;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-more[data-v-ea84d56c] {
|
|
91
|
-
font-size: 24px;
|
|
92
|
-
color: var(--o-color-info2);
|
|
93
|
-
}
|
|
94
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
|
|
95
|
-
font-size: 16px;
|
|
96
|
-
line-height: 24px;
|
|
97
|
-
}
|
|
98
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
99
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
|
|
100
|
-
font-size: 14px;
|
|
101
|
-
line-height: 22px;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
105
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
|
|
106
|
-
font-size: 14px;
|
|
107
|
-
line-height: 22px;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
111
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
|
|
112
|
-
font-size: 14px;
|
|
113
|
-
line-height: 22px;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
@media (max-width: 600px) {
|
|
117
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] {
|
|
118
|
-
font-size: 12px;
|
|
119
|
-
line-height: 18px;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-source-code[data-v-ea84d56c] .o-link-label {
|
|
123
|
-
display: flex;
|
|
124
|
-
align-items: center;
|
|
125
|
-
}
|
|
126
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
|
|
127
|
-
font-size: 22px;
|
|
128
|
-
line-height: 30px;
|
|
129
|
-
}
|
|
130
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
131
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
|
|
132
|
-
font-size: 18px;
|
|
133
|
-
line-height: 26px;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
137
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
|
|
138
|
-
font-size: 16px;
|
|
139
|
-
line-height: 24px;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
143
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
|
|
144
|
-
font-size: 16px;
|
|
145
|
-
line-height: 24px;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
@media (max-width: 600px) {
|
|
149
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-outlink[data-v-ea84d56c] {
|
|
150
|
-
font-size: 16px;
|
|
151
|
-
line-height: 24px;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
|
|
155
|
-
color: var(--o-color-info3);
|
|
156
|
-
font-size: 14px;
|
|
157
|
-
line-height: 22px;
|
|
158
|
-
}
|
|
159
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
160
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
|
|
161
|
-
font-size: 14px;
|
|
162
|
-
line-height: 18px;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
166
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
|
|
167
|
-
font-size: 12px;
|
|
168
|
-
line-height: 18px;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
172
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
|
|
173
|
-
font-size: 12px;
|
|
174
|
-
line-height: 18px;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
@media (max-width: 600px) {
|
|
178
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-update-time[data-v-ea84d56c] {
|
|
179
|
-
font-size: 12px;
|
|
180
|
-
line-height: 18px;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-actions-left[data-v-ea84d56c] {
|
|
184
|
-
display: flex;
|
|
185
|
-
align-items: center;
|
|
186
|
-
gap: 12px;
|
|
187
|
-
}
|
|
188
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-ea84d56c],
|
|
189
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-ea84d56c],
|
|
190
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-ea84d56c] {
|
|
191
|
-
font-size: 24px;
|
|
192
|
-
cursor: pointer;
|
|
193
|
-
}
|
|
194
|
-
@media (hover: hover) {
|
|
195
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-ea84d56c]:hover,
|
|
196
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-ea84d56c]:hover,
|
|
197
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-ea84d56c]:hover {
|
|
198
|
-
color: var(--o-color-info1);
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
@media (max-width: 1680px) {
|
|
202
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-download[data-v-ea84d56c],
|
|
203
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-star[data-v-ea84d56c],
|
|
204
|
-
.o-doc-title .o-doc-title-actions .o-doc-title-icon-copy[data-v-ea84d56c] {
|
|
205
|
-
font-size: 20px;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
.o-doc-title.is-simple[data-v-ea84d56c] {
|
|
209
|
-
padding: 0;
|
|
210
|
-
background-image: none;
|
|
211
|
-
background-color: var(--o-color-fill2);
|
|
212
|
-
}
|
|
213
|
-
@media (max-width: 840px) {
|
|
214
|
-
.o-doc-title.first-h1[data-v-ea84d56c] {
|
|
215
|
-
display: flex;
|
|
216
|
-
justify-content: space-between;
|
|
217
|
-
align-items: center;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
.o-doc-title-dlg-action-box-container[data-v-ea84d56c] {
|
|
221
|
-
display: flex;
|
|
222
|
-
flex-wrap: wrap;
|
|
223
|
-
justify-content: flex-start;
|
|
224
|
-
column-gap: 8px;
|
|
225
|
-
row-gap: 24px;
|
|
226
|
-
}
|
|
227
|
-
.o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box[data-v-ea84d56c] {
|
|
228
|
-
flex: 0 0 calc(33.333% - 8px);
|
|
229
|
-
align-items: center;
|
|
230
|
-
display: flex;
|
|
231
|
-
flex-direction: column;
|
|
232
|
-
}
|
|
233
|
-
.o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-icon[data-v-ea84d56c] {
|
|
234
|
-
display: flex;
|
|
235
|
-
justify-content: center;
|
|
236
|
-
align-items: center;
|
|
237
|
-
width: 40px;
|
|
238
|
-
height: 40px;
|
|
239
|
-
background-color: var(--o-color-fill1);
|
|
240
|
-
border-radius: 50%;
|
|
241
|
-
font-size: 24px;
|
|
242
|
-
}
|
|
243
|
-
.o-doc-title-dlg-action-box-container .o-doc-title-dlg-action-box-label[data-v-ea84d56c] {
|
|
244
|
-
margin-top: 8px;
|
|
245
|
-
color: var(--o-color-info1);
|
|
246
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "./DocTitle.vue2.mjs";
|
|
2
|
-
import './DocTitle.css';
|
|
3
|
-
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const DocTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ea84d56c"]]);
|
|
5
|
-
export {
|
|
6
|
-
DocTitle as default
|
|
7
|
-
};
|