@opendesign-plus-test/components 0.0.1-rc.129 → 0.0.1-rc.131
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/chunk-OElCookieNotice.cjs.js +1 -1
- package/dist/chunk-OElCookieNotice.es.js +306 -149
- package/dist/components/empty/OEmpty.vue.d.ts +24 -0
- package/dist/components/empty/index.d.ts +39 -0
- package/dist/components/header/components/HeaderContent.vue.d.ts +0 -3
- package/dist/components/icon/index.d.ts +9 -0
- package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +0 -1
- package/dist/components/meeting/index.d.ts +0 -3
- package/dist/components/search/internal/SearchPanel.vue.d.ts +1 -1
- package/dist/components/sig/OSigDetail.vue.d.ts +30 -0
- package/dist/components/sig/OSigList.vue.d.ts +12 -0
- package/dist/components/sig/components/OSigDetailInfoCard.vue.d.ts +13 -0
- package/dist/components/sig/components/OSigItem.vue.d.ts +14 -0
- package/dist/components/sig/components/OSigMember.vue.d.ts +10 -0
- package/dist/components/sig/components/OSigRepo.vue.d.ts +8 -0
- package/dist/components/sig/components/OSigUserContribute.vue.d.ts +10 -0
- package/dist/components/sig/components/config-sig.d.ts +1 -0
- package/dist/components/sig/components/utils.d.ts +6 -0
- package/dist/components/sig/types.d.ts +169 -0
- package/dist/components.cjs.js +39 -39
- package/dist/components.css +1 -1
- package/dist/components.es.js +13894 -12210
- package/dist/index.d.ts +3 -0
- package/dist/treeshaking/_virtual/icon-atomgit.mjs +25 -0
- package/dist/treeshaking/_virtual/icon-filter.mjs +5 -6
- package/dist/treeshaking/_virtual/icon-filter2.mjs +21 -0
- package/dist/treeshaking/_virtual/icon-gitee.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-mail.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-notice.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-outlink.mjs +20 -0
- package/dist/treeshaking/_virtual/icon-search.mjs +5 -5
- package/dist/treeshaking/_virtual/icon-search2.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-user.mjs +17 -0
- package/dist/treeshaking/_virtual/icon-working.mjs +17 -0
- package/dist/treeshaking/_virtual/sig-space.mjs +20 -0
- package/dist/treeshaking/components/common/ThFilter.vue.mjs +1 -1
- package/dist/treeshaking/components/common/WordAvatar.css +18 -0
- package/dist/treeshaking/components/common/WordAvatar.vue.mjs +68 -0
- package/dist/treeshaking/components/common/WordAvatar.vue3.mjs +5 -0
- package/dist/treeshaking/components/empty/404.png.mjs +4 -0
- package/dist/treeshaking/components/empty/404_dark.png.mjs +4 -0
- package/dist/treeshaking/components/empty/OEmpty.css +60 -0
- package/dist/treeshaking/components/empty/OEmpty.vue.d.ts +24 -0
- package/dist/treeshaking/components/empty/OEmpty.vue.mjs +7 -0
- package/dist/treeshaking/components/empty/OEmpty.vue2.mjs +40 -0
- package/dist/treeshaking/components/empty/index.d.ts +39 -0
- package/dist/treeshaking/components/empty/index.mjs +9 -0
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.css +49 -21
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.mjs +1 -1
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue2.mjs +15 -14
- package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.css +15 -15
- package/dist/treeshaking/components/header/OHeader.vue.mjs +1 -1
- package/dist/treeshaking/components/header/OHeader.vue2.mjs +5 -8
- package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
- package/dist/treeshaking/components/header/components/HeaderContent.vue.d.ts +0 -3
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +9 -11
- package/dist/treeshaking/components/icon/index.d.ts +9 -0
- package/dist/treeshaking/components/icon/index.mjs +12 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +3 -0
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +0 -1
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +4 -4
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarList.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingDetail.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +0 -3
- package/dist/treeshaking/components/search/internal/SearchPanel.vue.d.ts +1 -1
- package/dist/treeshaking/components/sig/OSigDetail.css +176 -0
- package/dist/treeshaking/components/sig/OSigDetail.vue.d.ts +30 -0
- package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +218 -0
- package/dist/treeshaking/components/sig/OSigDetail.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/OSigList.css +523 -0
- package/dist/treeshaking/components/sig/OSigList.vue.d.ts +12 -0
- package/dist/treeshaking/components/sig/OSigList.vue.mjs +595 -0
- package/dist/treeshaking/components/sig/OSigList.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.css +126 -0
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.d.ts +13 -0
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.mjs +61 -0
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigItem.css +375 -0
- package/dist/treeshaking/components/sig/components/OSigItem.vue.d.ts +14 -0
- package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +229 -0
- package/dist/treeshaking/components/sig/components/OSigItem.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigMember.css +374 -0
- package/dist/treeshaking/components/sig/components/OSigMember.vue.d.ts +10 -0
- package/dist/treeshaking/components/sig/components/OSigMember.vue.mjs +274 -0
- package/dist/treeshaking/components/sig/components/OSigMember.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.css +108 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.d.ts +8 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +181 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/OSigUserContribute.css +510 -0
- package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.d.ts +10 -0
- package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.mjs +329 -0
- package/dist/treeshaking/components/sig/components/OSigUserContribute.vue3.mjs +5 -0
- package/dist/treeshaking/components/sig/components/config-sig.d.ts +1 -0
- package/dist/treeshaking/components/sig/components/config-sig.mjs +4 -0
- package/dist/treeshaking/components/sig/components/utils.d.ts +6 -0
- package/dist/treeshaking/components/sig/components/utils.mjs +10 -0
- package/dist/treeshaking/components/sig/index.mjs +18 -0
- package/dist/treeshaking/components/sig/types.d.ts +169 -0
- package/dist/treeshaking/i18n/en.mjs +73 -1
- package/dist/treeshaking/i18n/zh.mjs +87 -2
- package/dist/treeshaking/index.d.ts +3 -0
- package/dist/treeshaking/index.mjs +8 -1
- package/package.json +4 -4
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
.hover-icon-rotate .o-icon {
|
|
2
|
+
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
+
}
|
|
4
|
+
@media (hover: hover) {
|
|
5
|
+
.hover-icon-rotate:hover .o-icon {
|
|
6
|
+
transform: rotate(-180deg);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
.o-sig-detail-info-card {
|
|
10
|
+
position: relative;
|
|
11
|
+
border-radius: var(--o-radius-xs);
|
|
12
|
+
background-size: cover;
|
|
13
|
+
background-position: right bottom;
|
|
14
|
+
background-repeat: no-repeat;
|
|
15
|
+
padding: var(--o-gap-6);
|
|
16
|
+
}
|
|
17
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
18
|
+
.o-sig-detail-info-card {
|
|
19
|
+
padding: var(--o-gap-5);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
23
|
+
.o-sig-detail-info-card {
|
|
24
|
+
padding: var(--o-gap-4);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
@media (max-width: 840px) {
|
|
28
|
+
.o-sig-detail-info-card {
|
|
29
|
+
padding: var(--o-gap-3);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.o-sig-detail-info-card .o-sig-detail-name-box {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
.o-sig-detail-info-card .o-sig-detail-name {
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
font-size: 32px;
|
|
39
|
+
line-height: 44px;
|
|
40
|
+
}
|
|
41
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
42
|
+
.o-sig-detail-info-card .o-sig-detail-name {
|
|
43
|
+
font-size: 20px;
|
|
44
|
+
line-height: 28px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
48
|
+
.o-sig-detail-info-card .o-sig-detail-name {
|
|
49
|
+
font-size: 20px;
|
|
50
|
+
line-height: 28px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
54
|
+
.o-sig-detail-info-card .o-sig-detail-name {
|
|
55
|
+
font-size: 18px;
|
|
56
|
+
line-height: 26px;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
@media (max-width: 600px) {
|
|
60
|
+
.o-sig-detail-info-card .o-sig-detail-name {
|
|
61
|
+
font-size: 16px;
|
|
62
|
+
line-height: 24px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
.o-sig-detail-info-card .o-divider {
|
|
66
|
+
--o-divider-gap: var(--o-gap-4);
|
|
67
|
+
}
|
|
68
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
69
|
+
.o-sig-detail-info-card .o-divider {
|
|
70
|
+
--o-divider-gap: var(--o-gap-3);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
74
|
+
.o-sig-detail-info-card .o-divider {
|
|
75
|
+
--o-divider-gap: var(--o-gap-2);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
@media (max-width: 840px) {
|
|
79
|
+
.o-sig-detail-info-card .o-divider {
|
|
80
|
+
--o-divider-gap: var(--o-gap-2);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.o-sig-detail-info-card .o-link .o-link-label {
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
}
|
|
87
|
+
.o-sig-detail-info-card .o-link .o-link-label .o-icon {
|
|
88
|
+
margin-left: var(--o-gap-1);
|
|
89
|
+
}
|
|
90
|
+
.o-sig-detail-info-card .o-sig-detail-info-content {
|
|
91
|
+
margin-top: var(--o-gap-4);
|
|
92
|
+
color: var(--o-color-info2);
|
|
93
|
+
}
|
|
94
|
+
@media (max-width: 1200px) {
|
|
95
|
+
.o-sig-detail-info-card .o-sig-detail-info-content {
|
|
96
|
+
margin-top: var(--o-gap-3);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
.o-sig-detail-info-card .o-sig-detail-description {
|
|
100
|
+
font-size: 16px;
|
|
101
|
+
line-height: 24px;
|
|
102
|
+
}
|
|
103
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
104
|
+
.o-sig-detail-info-card .o-sig-detail-description {
|
|
105
|
+
font-size: 14px;
|
|
106
|
+
line-height: 22px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
110
|
+
.o-sig-detail-info-card .o-sig-detail-description {
|
|
111
|
+
font-size: 14px;
|
|
112
|
+
line-height: 22px;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
116
|
+
.o-sig-detail-info-card .o-sig-detail-description {
|
|
117
|
+
font-size: 14px;
|
|
118
|
+
line-height: 22px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
@media (max-width: 600px) {
|
|
122
|
+
.o-sig-detail-info-card .o-sig-detail-description {
|
|
123
|
+
font-size: 12px;
|
|
124
|
+
line-height: 18px;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
sigName?: string;
|
|
3
|
+
giteeAddress?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
bg?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
description: string;
|
|
9
|
+
sigName: string;
|
|
10
|
+
bg: string;
|
|
11
|
+
giteeAddress: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, createElementVNode, toDisplayString, createVNode, unref, withCtx } from "vue";
|
|
2
|
+
import { useI18n } from "../../../i18n/index.mjs";
|
|
3
|
+
import { ODivider, OLink, OIcon } from "@opensig/opendesign";
|
|
4
|
+
import IconOutlink from "../../../_virtual/icon-outlink.mjs";
|
|
5
|
+
const _hoisted_1 = { class: "o-sig-detail-name-box" };
|
|
6
|
+
const _hoisted_2 = { class: "o-sig-detail-name" };
|
|
7
|
+
const _hoisted_3 = { class: "o-sig-detail-info-content" };
|
|
8
|
+
const _hoisted_4 = { class: "o-sig-detail-description" };
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
__name: "OSigDetailInfoCard",
|
|
11
|
+
props: {
|
|
12
|
+
sigName: { default: "" },
|
|
13
|
+
giteeAddress: { default: "" },
|
|
14
|
+
description: { default: "" },
|
|
15
|
+
bg: { default: "" }
|
|
16
|
+
},
|
|
17
|
+
setup(__props) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const { t } = useI18n();
|
|
20
|
+
const cardStyle = computed(() => {
|
|
21
|
+
if (!props.bg) return {};
|
|
22
|
+
return {
|
|
23
|
+
backgroundImage: `url(${props.bg})`
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createElementBlock("div", {
|
|
28
|
+
class: "o-sig-detail-info-card",
|
|
29
|
+
style: normalizeStyle(cardStyle.value)
|
|
30
|
+
}, [
|
|
31
|
+
createElementVNode("div", _hoisted_1, [
|
|
32
|
+
createElementVNode("span", _hoisted_2, toDisplayString(__props.sigName), 1),
|
|
33
|
+
createVNode(unref(ODivider), { direction: "v" }),
|
|
34
|
+
createVNode(unref(OLink), {
|
|
35
|
+
color: "primary",
|
|
36
|
+
href: __props.giteeAddress,
|
|
37
|
+
target: "_blank",
|
|
38
|
+
class: "o-sig-detail-more-gitee"
|
|
39
|
+
}, {
|
|
40
|
+
default: withCtx(() => [
|
|
41
|
+
createElementVNode("span", null, toDisplayString(unref(t)("sig.giteeMore")), 1),
|
|
42
|
+
createVNode(unref(OIcon), null, {
|
|
43
|
+
default: withCtx(() => [
|
|
44
|
+
createVNode(unref(IconOutlink))
|
|
45
|
+
]),
|
|
46
|
+
_: 1
|
|
47
|
+
})
|
|
48
|
+
]),
|
|
49
|
+
_: 1
|
|
50
|
+
}, 8, ["href"])
|
|
51
|
+
]),
|
|
52
|
+
createElementVNode("div", _hoisted_3, [
|
|
53
|
+
createElementVNode("div", _hoisted_4, toDisplayString(__props.description), 1)
|
|
54
|
+
])
|
|
55
|
+
], 4);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
export {
|
|
60
|
+
_sfc_main as default
|
|
61
|
+
};
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
.hover-icon-rotate .o-icon {
|
|
2
|
+
transition: all var(--o-duration-m1) var(--o-easing-standard-in);
|
|
3
|
+
}
|
|
4
|
+
@media (hover: hover) {
|
|
5
|
+
.hover-icon-rotate:hover .o-icon {
|
|
6
|
+
transform: rotate(-180deg);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
.o-sig-item {
|
|
10
|
+
height: 100%;
|
|
11
|
+
background-color: var(--o-color-fill2);
|
|
12
|
+
padding: var(--o-gap-5) var(--o-gap-6);
|
|
13
|
+
border-radius: var(--o-radius-xs);
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
16
|
+
.o-sig-item {
|
|
17
|
+
padding: var(--o-gap-4) var(--o-gap-5);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
21
|
+
.o-sig-item {
|
|
22
|
+
padding: var(--o-gap-3) var(--o-gap-4);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (max-width: 840px) {
|
|
26
|
+
.o-sig-item {
|
|
27
|
+
padding: var(--o-gap-2) var(--o-gap-3);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.o-sig-item-header {
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
align-items: center;
|
|
34
|
+
}
|
|
35
|
+
.o-sig-name {
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
color: var(--o-color-info1);
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
font-size: 22px;
|
|
40
|
+
line-height: 30px;
|
|
41
|
+
}
|
|
42
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
43
|
+
.o-sig-name {
|
|
44
|
+
font-size: 18px;
|
|
45
|
+
line-height: 26px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
49
|
+
.o-sig-name {
|
|
50
|
+
font-size: 16px;
|
|
51
|
+
line-height: 24px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
55
|
+
.o-sig-name {
|
|
56
|
+
font-size: 16px;
|
|
57
|
+
line-height: 24px;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
@media (max-width: 600px) {
|
|
61
|
+
.o-sig-name {
|
|
62
|
+
font-size: 16px;
|
|
63
|
+
line-height: 24px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
@media (hover: hover) {
|
|
67
|
+
.o-sig-name:hover {
|
|
68
|
+
color: var(--o-color-primary1);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.o-sig-type-tag {
|
|
72
|
+
--tag-bd-color: var(--o-color-control4);
|
|
73
|
+
--tag-height: 24px;
|
|
74
|
+
}
|
|
75
|
+
@media (max-width: 1680px) {
|
|
76
|
+
.o-sig-type-tag {
|
|
77
|
+
--tag-height: 20px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
.o-sig-link {
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
margin-top: var(--o-gap-2);
|
|
84
|
+
}
|
|
85
|
+
.o-sig-link .o-sig-source-icon {
|
|
86
|
+
font-size: 24px;
|
|
87
|
+
}
|
|
88
|
+
@media (max-width: 1680px) {
|
|
89
|
+
.o-sig-link .o-sig-source-icon {
|
|
90
|
+
font-size: 20px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
.o-sig-link .o-sig-source-icon svg {
|
|
94
|
+
fill: none;
|
|
95
|
+
}
|
|
96
|
+
.o-sig-link .o-divider {
|
|
97
|
+
--o-divider-label-gap: 0 8px;
|
|
98
|
+
}
|
|
99
|
+
.o-sig-link .o-btn {
|
|
100
|
+
margin-left: var(--o-gap-2);
|
|
101
|
+
}
|
|
102
|
+
.o-sig-link .mail-link {
|
|
103
|
+
min-width: 0;
|
|
104
|
+
flex: 1;
|
|
105
|
+
}
|
|
106
|
+
.o-sig-link .mail-link .tooltip-text-wrapper {
|
|
107
|
+
min-width: 0;
|
|
108
|
+
flex: 1;
|
|
109
|
+
}
|
|
110
|
+
.o-sig-item .o-link {
|
|
111
|
+
padding: 0;
|
|
112
|
+
font-size: 16px;
|
|
113
|
+
line-height: 24px;
|
|
114
|
+
}
|
|
115
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
116
|
+
.o-sig-item .o-link {
|
|
117
|
+
font-size: 14px;
|
|
118
|
+
line-height: 22px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
122
|
+
.o-sig-item .o-link {
|
|
123
|
+
font-size: 14px;
|
|
124
|
+
line-height: 22px;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
128
|
+
.o-sig-item .o-link {
|
|
129
|
+
font-size: 14px;
|
|
130
|
+
line-height: 22px;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
@media (max-width: 600px) {
|
|
134
|
+
.o-sig-item .o-link {
|
|
135
|
+
font-size: 12px;
|
|
136
|
+
line-height: 18px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
.o-sig-item .o-link .o-link-label {
|
|
140
|
+
display: flex;
|
|
141
|
+
}
|
|
142
|
+
@media (max-width: 840px) {
|
|
143
|
+
.o-sig-item .o-link {
|
|
144
|
+
font-size: 18px;
|
|
145
|
+
line-height: 26px;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
@media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
149
|
+
.o-sig-item .o-link {
|
|
150
|
+
font-size: 16px;
|
|
151
|
+
line-height: 24px;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
@media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
|
|
155
|
+
.o-sig-item .o-link {
|
|
156
|
+
font-size: 14px;
|
|
157
|
+
line-height: 22px;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
@media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
|
|
161
|
+
.o-sig-item .o-link {
|
|
162
|
+
font-size: 14px;
|
|
163
|
+
line-height: 22px;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
@media (max-width: 840px) and (max-width: 600px) {
|
|
167
|
+
.o-sig-item .o-link {
|
|
168
|
+
font-size: 14px;
|
|
169
|
+
line-height: 22px;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
.o-sig-description {
|
|
173
|
+
margin-top: var(--o-gap-2);
|
|
174
|
+
color: var(--o-color-info2);
|
|
175
|
+
height: 44px;
|
|
176
|
+
font-weight: 400;
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
text-overflow: ellipsis;
|
|
179
|
+
word-break: break-all;
|
|
180
|
+
display: -webkit-box;
|
|
181
|
+
-webkit-box-orient: vertical;
|
|
182
|
+
-webkit-line-clamp: 2;
|
|
183
|
+
font-size: 14px;
|
|
184
|
+
line-height: 22px;
|
|
185
|
+
}
|
|
186
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
187
|
+
.o-sig-description {
|
|
188
|
+
font-size: 14px;
|
|
189
|
+
line-height: 18px;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
193
|
+
.o-sig-description {
|
|
194
|
+
font-size: 12px;
|
|
195
|
+
line-height: 18px;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
199
|
+
.o-sig-description {
|
|
200
|
+
font-size: 12px;
|
|
201
|
+
line-height: 18px;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
@media (max-width: 600px) {
|
|
205
|
+
.o-sig-description {
|
|
206
|
+
font-size: 12px;
|
|
207
|
+
line-height: 18px;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
@media (max-width: 1680px) {
|
|
211
|
+
.o-sig-description {
|
|
212
|
+
height: 36px;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
@media (max-width: 840px) {
|
|
216
|
+
.o-sig-description {
|
|
217
|
+
margin-top: 6px;
|
|
218
|
+
order: 1;
|
|
219
|
+
height: auto;
|
|
220
|
+
font-size: 16px;
|
|
221
|
+
line-height: 24px;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
@media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
225
|
+
.o-sig-description {
|
|
226
|
+
font-size: 14px;
|
|
227
|
+
line-height: 22px;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
@media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
|
|
231
|
+
.o-sig-description {
|
|
232
|
+
font-size: 14px;
|
|
233
|
+
line-height: 22px;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
@media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
|
|
237
|
+
.o-sig-description {
|
|
238
|
+
font-size: 14px;
|
|
239
|
+
line-height: 22px;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
@media (max-width: 840px) and (max-width: 600px) {
|
|
243
|
+
.o-sig-description {
|
|
244
|
+
font-size: 12px;
|
|
245
|
+
line-height: 18px;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
.o-sig-description .o-sig-repo {
|
|
249
|
+
display: flex;
|
|
250
|
+
}
|
|
251
|
+
.o-sig-description .o-sig-repo .o-sig-repo-label {
|
|
252
|
+
color: var(--o-color-info1);
|
|
253
|
+
font-weight: 500;
|
|
254
|
+
margin-right: 8px;
|
|
255
|
+
}
|
|
256
|
+
.o-sig-bottom {
|
|
257
|
+
display: flex;
|
|
258
|
+
align-items: center;
|
|
259
|
+
margin-top: var(--o-gap-2);
|
|
260
|
+
color: var(--o-color-info3);
|
|
261
|
+
font-size: 12px;
|
|
262
|
+
line-height: 18px;
|
|
263
|
+
}
|
|
264
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
265
|
+
.o-sig-bottom {
|
|
266
|
+
font-size: 12px;
|
|
267
|
+
line-height: 18px;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
271
|
+
.o-sig-bottom {
|
|
272
|
+
font-size: 12px;
|
|
273
|
+
line-height: 18px;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
277
|
+
.o-sig-bottom {
|
|
278
|
+
font-size: 12px;
|
|
279
|
+
line-height: 18px;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
@media (max-width: 600px) {
|
|
283
|
+
.o-sig-bottom {
|
|
284
|
+
font-size: 12px;
|
|
285
|
+
line-height: 18px;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
.o-sig-bottom .o-icon {
|
|
289
|
+
--icon-size: 16px;
|
|
290
|
+
margin-right: 4px;
|
|
291
|
+
}
|
|
292
|
+
.o-sig-bottom .o-sig-meta-text {
|
|
293
|
+
cursor: pointer;
|
|
294
|
+
margin-bottom: 0;
|
|
295
|
+
}
|
|
296
|
+
@media (max-width: 840px) {
|
|
297
|
+
.o-sig-bottom {
|
|
298
|
+
font-size: 16px;
|
|
299
|
+
line-height: 24px;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
@media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
303
|
+
.o-sig-bottom {
|
|
304
|
+
font-size: 14px;
|
|
305
|
+
line-height: 22px;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
@media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
|
|
309
|
+
.o-sig-bottom {
|
|
310
|
+
font-size: 14px;
|
|
311
|
+
line-height: 22px;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
@media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
|
|
315
|
+
.o-sig-bottom {
|
|
316
|
+
font-size: 14px;
|
|
317
|
+
line-height: 22px;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
@media (max-width: 840px) and (max-width: 600px) {
|
|
321
|
+
.o-sig-bottom {
|
|
322
|
+
font-size: 12px;
|
|
323
|
+
line-height: 18px;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
.o-sig-meta {
|
|
327
|
+
display: flex;
|
|
328
|
+
align-items: center;
|
|
329
|
+
}
|
|
330
|
+
@media (max-width: 840px) {
|
|
331
|
+
.o-sig-item {
|
|
332
|
+
position: relative;
|
|
333
|
+
}
|
|
334
|
+
.o-sig-type-tag {
|
|
335
|
+
position: absolute;
|
|
336
|
+
top: 8px;
|
|
337
|
+
right: 4px;
|
|
338
|
+
}
|
|
339
|
+
.o-sig-link {
|
|
340
|
+
margin-top: 8px;
|
|
341
|
+
}
|
|
342
|
+
.o-sig-icon-link {
|
|
343
|
+
margin-left: 8px;
|
|
344
|
+
}
|
|
345
|
+
.o-sig-subscribe {
|
|
346
|
+
margin-left: auto;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
.o-sig-popup-repos {
|
|
350
|
+
width: 272px;
|
|
351
|
+
--popup-padding: 9px 0;
|
|
352
|
+
}
|
|
353
|
+
.o-sig-popup-repos .o-sig-popup-content {
|
|
354
|
+
height: 176px;
|
|
355
|
+
}
|
|
356
|
+
.o-sig-popup-repos .o-scroller {
|
|
357
|
+
max-height: 100%;
|
|
358
|
+
padding: 0 16px;
|
|
359
|
+
}
|
|
360
|
+
@media (max-width: 840px) {
|
|
361
|
+
.o-sig-popup-repos {
|
|
362
|
+
width: 200px;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
.o-sig-popup-maintainers {
|
|
366
|
+
width: 168px;
|
|
367
|
+
--popup-padding: 9px 0;
|
|
368
|
+
}
|
|
369
|
+
.o-sig-popup-maintainers .o-sig-popup-content {
|
|
370
|
+
height: 112px;
|
|
371
|
+
}
|
|
372
|
+
.o-sig-popup-maintainers .o-scroller {
|
|
373
|
+
max-height: 100%;
|
|
374
|
+
padding: 0 16px;
|
|
375
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GroupInfoT, SigListItemT } from '../types';
|
|
2
|
+
type SigMergedItemT = SigListItemT & Partial<GroupInfoT>;
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
sig: SigMergedItemT;
|
|
5
|
+
locale: 'zh' | 'en';
|
|
6
|
+
mobile?: boolean;
|
|
7
|
+
activeRepo?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
+
"to-sig-detail": (sigName: string) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
"onTo-sig-detail"?: ((sigName: string) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|