@opendesign-plus-test/components 0.0.1-rc.138 → 0.0.1-rc.139
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 +2 -0
- package/dist/components/sig/components/OSigDetailInfoCard.vue.d.ts +3 -1
- package/dist/components/sig/components/OSigItem.vue.d.ts +0 -2
- package/dist/components/sig/types.d.ts +6 -6
- package/dist/components.cjs.js +38 -38
- package/dist/components.css +1 -1
- package/dist/components.es.js +2492 -2464
- package/dist/treeshaking/components/sig/OSigDetail.css +6 -1
- package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +29 -8
- package/dist/treeshaking/components/sig/OSigList.css +5 -1
- package/dist/treeshaking/components/sig/OSigList.vue.mjs +1 -3
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.css +63 -0
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.d.ts +3 -1
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.mjs +36 -10
- package/dist/treeshaking/components/sig/components/OSigItem.css +35 -22
- package/dist/treeshaking/components/sig/components/OSigItem.vue.d.ts +0 -2
- package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +4 -7
- package/dist/treeshaking/components/sig/components/OSigMember.vue.mjs +1 -2
- package/dist/treeshaking/components/sig/components/OSigRepo.css +3 -0
- package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +1 -1
- package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.mjs +2 -2
- package/dist/treeshaking/components/sig/types.d.ts +6 -6
- package/dist/treeshaking/i18n/en.mjs +1 -0
- package/dist/treeshaking/i18n/zh.mjs +1 -0
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
@media (max-width: 1200px) {
|
|
25
25
|
.o-sig-detail .o-sig-detail-content {
|
|
26
|
-
--sig-floor-gap: var(--o-gap-
|
|
26
|
+
--sig-floor-gap: var(--o-gap-4);
|
|
27
27
|
display: block;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -215,4 +215,9 @@
|
|
|
215
215
|
font-size: 14px;
|
|
216
216
|
line-height: 22px;
|
|
217
217
|
}
|
|
218
|
+
}
|
|
219
|
+
@media (min-width: ) {
|
|
220
|
+
.o-sig-detail .o-sig-detail-content .o-sig-floor-title {
|
|
221
|
+
font-size: 16px;
|
|
222
|
+
}
|
|
218
223
|
}
|
|
@@ -77,12 +77,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
77
|
return ((_a = sigDetailInfo.value) == null ? void 0 : _a[`meeting_agenda_${locale.value}`]) ?? ((_b = sigDetailInfo.value) == null ? void 0 : _b.meeting_agenda) ?? [];
|
|
78
78
|
});
|
|
79
79
|
return (_ctx, _cache) => {
|
|
80
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
80
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
81
81
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
82
82
|
createVNode(_sfc_main$1, {
|
|
83
83
|
description: (_a = sigDetailInfo.value) == null ? void 0 : _a.description,
|
|
84
84
|
"sig-name": props.sigName,
|
|
85
|
-
"gitee-address": (_b = sigDetailInfo.value) == null ? void 0 : _b.
|
|
85
|
+
"gitee-address": (_b = sigDetailInfo.value) == null ? void 0 : _b.git_url,
|
|
86
86
|
bg: __props.headerBg
|
|
87
87
|
}, null, 8, ["description", "sig-name", "gitee-address", "bg"]),
|
|
88
88
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -104,9 +104,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
104
104
|
_: 1
|
|
105
105
|
}),
|
|
106
106
|
createElementVNode("p", _hoisted_10, toDisplayString(unref(t)("sig.workMeeting")), 1),
|
|
107
|
-
((_c = sigDetailInfo.value) == null ? void 0 : _c.
|
|
107
|
+
((_c = sigDetailInfo.value) == null ? void 0 : _c.etherpad_url) ? (openBlock(), createBlock(unref(OLink), {
|
|
108
108
|
key: 0,
|
|
109
|
-
href: (_d = sigDetailInfo.value) == null ? void 0 : _d.
|
|
109
|
+
href: (_d = sigDetailInfo.value) == null ? void 0 : _d.etherpad_url,
|
|
110
110
|
target: "_blank",
|
|
111
111
|
color: "primary"
|
|
112
112
|
}, {
|
|
@@ -157,11 +157,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
157
157
|
}),
|
|
158
158
|
_: 1
|
|
159
159
|
}, 8, ["href"]),
|
|
160
|
-
((_f = sigDetailInfo.value) == null ? void 0 : _f.
|
|
160
|
+
((_f = sigDetailInfo.value) == null ? void 0 : _f.subscribe_url) ? (openBlock(), createBlock(unref(OButton), {
|
|
161
161
|
key: 0,
|
|
162
162
|
round: "pill",
|
|
163
163
|
color: "primary",
|
|
164
|
-
href: (_g = sigDetailInfo.value) == null ? void 0 : _g.
|
|
164
|
+
href: (_g = sigDetailInfo.value) == null ? void 0 : _g.subscribe_url,
|
|
165
165
|
target: "_blank",
|
|
166
166
|
size: "medium"
|
|
167
167
|
}, {
|
|
@@ -177,9 +177,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
177
177
|
createTextVNode(toDisplayString(unref(t)("sig.subscribe")) + " ", 1)
|
|
178
178
|
]),
|
|
179
179
|
_: 1
|
|
180
|
+
}, 8, ["href"])) : createCommentVNode("", true),
|
|
181
|
+
((_h = sigDetailInfo.value) == null ? void 0 : _h.archive_url) ? (openBlock(), createBlock(unref(OButton), {
|
|
182
|
+
key: 1,
|
|
183
|
+
round: "pill",
|
|
184
|
+
color: "primary",
|
|
185
|
+
href: (_i = sigDetailInfo.value) == null ? void 0 : _i.archive_url,
|
|
186
|
+
target: "_blank",
|
|
187
|
+
size: "medium"
|
|
188
|
+
}, {
|
|
189
|
+
suffix: withCtx(() => [
|
|
190
|
+
createVNode(unref(OIcon), null, {
|
|
191
|
+
default: withCtx(() => [
|
|
192
|
+
createVNode(unref(IconOutlink))
|
|
193
|
+
]),
|
|
194
|
+
_: 1
|
|
195
|
+
})
|
|
196
|
+
]),
|
|
197
|
+
default: withCtx(() => [
|
|
198
|
+
createTextVNode(toDisplayString(unref(t)("sig.viewArchive")) + " ", 1)
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
180
201
|
}, 8, ["href"])) : createCommentVNode("", true)
|
|
181
202
|
]),
|
|
182
|
-
((
|
|
203
|
+
((_j = sigDetailInfo.value) == null ? void 0 : _j.discuss_url) ? (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
183
204
|
createElementVNode("div", _hoisted_16, [
|
|
184
205
|
createVNode(unref(OIcon), null, {
|
|
185
206
|
default: withCtx(() => [
|
|
@@ -191,7 +212,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
191
212
|
]),
|
|
192
213
|
createVNode(unref(OLink), {
|
|
193
214
|
color: "primary",
|
|
194
|
-
href: (
|
|
215
|
+
href: (_k = sigDetailInfo.value) == null ? void 0 : _k.discuss_url,
|
|
195
216
|
target: "_blank",
|
|
196
217
|
class: "o-sig-detail-icon-link"
|
|
197
218
|
}, {
|
|
@@ -310,8 +310,12 @@
|
|
|
310
310
|
padding: 0;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
+
.o-sig-list .o-sig-filter-box.o-sig-filter-box--no-filter-type {
|
|
314
|
+
padding: 0;
|
|
315
|
+
background-color: transparent;
|
|
316
|
+
}
|
|
313
317
|
.o-sig-list .o-sig-filter-box.o-sig-filter-box--no-filter-type .o-sig-filter-select-box {
|
|
314
|
-
justify-content: flex-
|
|
318
|
+
justify-content: flex-start;
|
|
315
319
|
}
|
|
316
320
|
@media (max-width: 600px) {
|
|
317
321
|
.o-sig-list .o-sig-filter-box {
|
|
@@ -471,10 +471,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
471
471
|
default: withCtx(() => [
|
|
472
472
|
createVNode(_sfc_main$1, {
|
|
473
473
|
sig,
|
|
474
|
-
locale: locale.value,
|
|
475
|
-
mobile: unref(lePadV),
|
|
476
474
|
onToSigDetail: toSigDetail
|
|
477
|
-
}, null, 8, ["sig"
|
|
475
|
+
}, null, 8, ["sig"])
|
|
478
476
|
]),
|
|
479
477
|
_: 2
|
|
480
478
|
}, 1032, ["flex"]);
|
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
.o-sig-detail-info-card .o-sig-detail-name-box {
|
|
33
33
|
display: flex;
|
|
34
34
|
align-items: center;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
row-gap: var(--o-gap-2);
|
|
37
|
+
}
|
|
38
|
+
.o-sig-detail-info-card .o-sig-detail-name-box.is-wrapped .o-divider {
|
|
39
|
+
display: none;
|
|
35
40
|
}
|
|
36
41
|
.o-sig-detail-info-card .o-sig-detail-name {
|
|
37
42
|
font-weight: 600;
|
|
@@ -80,6 +85,64 @@
|
|
|
80
85
|
--o-divider-gap: var(--o-gap-2);
|
|
81
86
|
}
|
|
82
87
|
}
|
|
88
|
+
.o-sig-detail-info-card .o-link {
|
|
89
|
+
font-size: 16px;
|
|
90
|
+
line-height: 24px;
|
|
91
|
+
}
|
|
92
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
93
|
+
.o-sig-detail-info-card .o-link {
|
|
94
|
+
font-size: 14px;
|
|
95
|
+
line-height: 22px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
99
|
+
.o-sig-detail-info-card .o-link {
|
|
100
|
+
font-size: 14px;
|
|
101
|
+
line-height: 22px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
105
|
+
.o-sig-detail-info-card .o-link {
|
|
106
|
+
font-size: 14px;
|
|
107
|
+
line-height: 22px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
@media (max-width: 600px) {
|
|
111
|
+
.o-sig-detail-info-card .o-link {
|
|
112
|
+
font-size: 12px;
|
|
113
|
+
line-height: 18px;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
@media (max-width: 600px) {
|
|
117
|
+
.o-sig-detail-info-card .o-link {
|
|
118
|
+
font-size: 18px;
|
|
119
|
+
line-height: 26px;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
@media (max-width: 600px) and (min-width: 1201px) and (max-width: 1680px) {
|
|
123
|
+
.o-sig-detail-info-card .o-link {
|
|
124
|
+
font-size: 16px;
|
|
125
|
+
line-height: 24px;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@media (max-width: 600px) and (min-width: 841px) and (max-width: 1200px) {
|
|
129
|
+
.o-sig-detail-info-card .o-link {
|
|
130
|
+
font-size: 14px;
|
|
131
|
+
line-height: 22px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
@media (max-width: 600px) and (min-width: 601px) and (max-width: 840px) {
|
|
135
|
+
.o-sig-detail-info-card .o-link {
|
|
136
|
+
font-size: 14px;
|
|
137
|
+
line-height: 22px;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
@media (max-width: 600px) and (max-width: 600px) {
|
|
141
|
+
.o-sig-detail-info-card .o-link {
|
|
142
|
+
font-size: 14px;
|
|
143
|
+
line-height: 22px;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
83
146
|
.o-sig-detail-info-card .o-link .o-link-label {
|
|
84
147
|
display: flex;
|
|
85
148
|
align-items: center;
|
|
@@ -9,5 +9,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
9
9
|
sigName: string;
|
|
10
10
|
bg: string;
|
|
11
11
|
giteeAddress: string;
|
|
12
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
|
+
nameBoxRef: HTMLDivElement;
|
|
14
|
+
}, HTMLDivElement>;
|
|
13
15
|
export default _default;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, createElementVNode, toDisplayString, createVNode, unref, withCtx } from "vue";
|
|
1
|
+
import { defineComponent, computed, ref, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeStyle, createElementVNode, normalizeClass, toDisplayString, createVNode, unref, withCtx } from "vue";
|
|
2
2
|
import { useI18n } from "../../../i18n/index.mjs";
|
|
3
3
|
import { ODivider, OLink, OIcon } from "@opensig/opendesign";
|
|
4
4
|
import IconOutlink from "../../../_virtual/icon-outlink.mjs";
|
|
5
|
-
const _hoisted_1 = { class: "o-sig-detail-name
|
|
6
|
-
const _hoisted_2 = { class: "o-sig-detail-
|
|
7
|
-
const _hoisted_3 = { class: "o-sig-detail-
|
|
8
|
-
const _hoisted_4 = { class: "o-sig-detail-description" };
|
|
5
|
+
const _hoisted_1 = { class: "o-sig-detail-name" };
|
|
6
|
+
const _hoisted_2 = { class: "o-sig-detail-info-content" };
|
|
7
|
+
const _hoisted_3 = { class: "o-sig-detail-description" };
|
|
9
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
9
|
__name: "OSigDetailInfoCard",
|
|
11
10
|
props: {
|
|
@@ -23,13 +22,40 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
22
|
backgroundImage: `url(${props.bg})`
|
|
24
23
|
};
|
|
25
24
|
});
|
|
25
|
+
const nameBoxRef = ref();
|
|
26
|
+
const isWrapped = ref(false);
|
|
27
|
+
let resizeObserver;
|
|
28
|
+
const checkWrapped = () => {
|
|
29
|
+
const box = nameBoxRef.value;
|
|
30
|
+
if (!box) return;
|
|
31
|
+
const nameEl = box.querySelector(".o-sig-detail-name");
|
|
32
|
+
const linkEl = box.querySelector(".o-sig-detail-more-gitee");
|
|
33
|
+
if (!nameEl || !linkEl) return;
|
|
34
|
+
isWrapped.value = Math.abs(nameEl.offsetTop - linkEl.offsetTop) > 16;
|
|
35
|
+
};
|
|
36
|
+
onMounted(() => {
|
|
37
|
+
checkWrapped();
|
|
38
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
39
|
+
resizeObserver = new ResizeObserver(checkWrapped);
|
|
40
|
+
if (nameBoxRef.value) {
|
|
41
|
+
resizeObserver.observe(nameBoxRef.value);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
onBeforeUnmount(() => {
|
|
46
|
+
resizeObserver == null ? void 0 : resizeObserver.disconnect();
|
|
47
|
+
});
|
|
26
48
|
return (_ctx, _cache) => {
|
|
27
49
|
return openBlock(), createElementBlock("div", {
|
|
28
50
|
class: "o-sig-detail-info-card",
|
|
29
51
|
style: normalizeStyle(cardStyle.value)
|
|
30
52
|
}, [
|
|
31
|
-
createElementVNode("div",
|
|
32
|
-
|
|
53
|
+
createElementVNode("div", {
|
|
54
|
+
ref_key: "nameBoxRef",
|
|
55
|
+
ref: nameBoxRef,
|
|
56
|
+
class: normalizeClass(["o-sig-detail-name-box", { "is-wrapped": isWrapped.value }])
|
|
57
|
+
}, [
|
|
58
|
+
createElementVNode("span", _hoisted_1, toDisplayString(__props.sigName), 1),
|
|
33
59
|
createVNode(unref(ODivider), { direction: "v" }),
|
|
34
60
|
createVNode(unref(OLink), {
|
|
35
61
|
color: "primary",
|
|
@@ -48,9 +74,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
74
|
]),
|
|
49
75
|
_: 1
|
|
50
76
|
}, 8, ["href"])
|
|
51
|
-
]),
|
|
52
|
-
createElementVNode("div",
|
|
53
|
-
createElementVNode("div",
|
|
77
|
+
], 2),
|
|
78
|
+
createElementVNode("div", _hoisted_2, [
|
|
79
|
+
createElementVNode("div", _hoisted_3, toDisplayString(__props.description), 1)
|
|
54
80
|
])
|
|
55
81
|
], 4);
|
|
56
82
|
};
|
|
@@ -135,9 +135,6 @@
|
|
|
135
135
|
line-height: 18px;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
.o-sig-item .o-link .o-link-label {
|
|
139
|
-
display: flex;
|
|
140
|
-
}
|
|
141
138
|
@media (max-width: 840px) {
|
|
142
139
|
.o-sig-item .o-link {
|
|
143
140
|
font-size: 18px;
|
|
@@ -168,16 +165,14 @@
|
|
|
168
165
|
line-height: 22px;
|
|
169
166
|
}
|
|
170
167
|
}
|
|
168
|
+
.o-sig-item .o-link .o-link-label {
|
|
169
|
+
display: flex;
|
|
170
|
+
}
|
|
171
171
|
.o-sig-description {
|
|
172
172
|
margin-top: var(--o-gap-3);
|
|
173
173
|
color: var(--o-color-info2);
|
|
174
174
|
font-weight: 400;
|
|
175
|
-
|
|
176
|
-
text-overflow: ellipsis;
|
|
177
|
-
word-break: break-all;
|
|
178
|
-
display: -webkit-box;
|
|
179
|
-
-webkit-box-orient: vertical;
|
|
180
|
-
-webkit-line-clamp: 2;
|
|
175
|
+
min-height: 2lh;
|
|
181
176
|
font-size: 14px;
|
|
182
177
|
line-height: 22px;
|
|
183
178
|
}
|
|
@@ -205,6 +200,14 @@
|
|
|
205
200
|
line-height: 18px;
|
|
206
201
|
}
|
|
207
202
|
}
|
|
203
|
+
.o-sig-description {
|
|
204
|
+
overflow: hidden;
|
|
205
|
+
text-overflow: ellipsis;
|
|
206
|
+
word-break: break-all;
|
|
207
|
+
display: -webkit-box;
|
|
208
|
+
-webkit-box-orient: vertical;
|
|
209
|
+
-webkit-line-clamp: 2;
|
|
210
|
+
}
|
|
208
211
|
@media (max-width: 840px) {
|
|
209
212
|
.o-sig-description {
|
|
210
213
|
margin-top: var(--o-gap-2);
|
|
@@ -239,9 +242,9 @@
|
|
|
239
242
|
}
|
|
240
243
|
.o-sig-bottom {
|
|
241
244
|
display: flex;
|
|
242
|
-
align-items: center;
|
|
243
|
-
margin-top: var(--o-gap-2);
|
|
244
245
|
color: var(--o-color-info3);
|
|
246
|
+
align-items: center;
|
|
247
|
+
margin-top: var(--o-gap-4);
|
|
245
248
|
font-size: 12px;
|
|
246
249
|
line-height: 18px;
|
|
247
250
|
}
|
|
@@ -269,17 +272,6 @@
|
|
|
269
272
|
line-height: 18px;
|
|
270
273
|
}
|
|
271
274
|
}
|
|
272
|
-
.o-sig-bottom .o-icon {
|
|
273
|
-
--icon-size: 16px;
|
|
274
|
-
margin-right: 4px;
|
|
275
|
-
}
|
|
276
|
-
.o-sig-bottom .o-icon svg path {
|
|
277
|
-
fill: currentColor;
|
|
278
|
-
}
|
|
279
|
-
.o-sig-bottom .o-sig-meta-text {
|
|
280
|
-
cursor: pointer;
|
|
281
|
-
margin-bottom: 0;
|
|
282
|
-
}
|
|
283
275
|
@media (max-width: 840px) {
|
|
284
276
|
.o-sig-bottom {
|
|
285
277
|
font-size: 16px;
|
|
@@ -310,6 +302,27 @@
|
|
|
310
302
|
line-height: 18px;
|
|
311
303
|
}
|
|
312
304
|
}
|
|
305
|
+
@media (max-width: 1680px) {
|
|
306
|
+
.o-sig-bottom {
|
|
307
|
+
margin-top: var(--o-gap-3);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
@media (min-width: ) {
|
|
311
|
+
.o-sig-bottom {
|
|
312
|
+
margin-top: var(--o-gap-2);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
.o-sig-bottom .o-icon {
|
|
316
|
+
--icon-size: 16px;
|
|
317
|
+
margin-right: 4px;
|
|
318
|
+
}
|
|
319
|
+
.o-sig-bottom .o-icon svg path {
|
|
320
|
+
fill: currentColor;
|
|
321
|
+
}
|
|
322
|
+
.o-sig-bottom .o-sig-meta-text {
|
|
323
|
+
cursor: pointer;
|
|
324
|
+
margin-bottom: 0;
|
|
325
|
+
}
|
|
313
326
|
.o-sig-meta {
|
|
314
327
|
display: flex;
|
|
315
328
|
align-items: center;
|
|
@@ -2,8 +2,6 @@ import { GroupInfoT, SigListItemT } from '../types';
|
|
|
2
2
|
type SigMergedItemT = SigListItemT & Partial<GroupInfoT>;
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
sig: SigMergedItemT;
|
|
5
|
-
locale: 'zh' | 'en';
|
|
6
|
-
mobile?: boolean;
|
|
7
5
|
};
|
|
8
6
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
9
7
|
"to-sig-detail": (sigName: string) => any;
|
|
@@ -21,14 +21,11 @@ const _hoisted_11 = { class: "o-sig-popup-content" };
|
|
|
21
21
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
22
|
__name: "OSigItem",
|
|
23
23
|
props: {
|
|
24
|
-
sig: {}
|
|
25
|
-
locale: {},
|
|
26
|
-
mobile: { type: Boolean }
|
|
24
|
+
sig: {}
|
|
27
25
|
},
|
|
28
26
|
emits: ["to-sig-detail"],
|
|
29
27
|
setup(__props, { emit: __emit }) {
|
|
30
28
|
const { t, locale } = useI18n();
|
|
31
|
-
console.log(locale);
|
|
32
29
|
const emit = __emit;
|
|
33
30
|
const lastSeparator = (i, len) => i === (len ?? 0) - 1 ? "" : locale.value === "zh" ? "、" : ", ";
|
|
34
31
|
return (_ctx, _cache) => {
|
|
@@ -50,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
47
|
]),
|
|
51
48
|
createElementVNode("div", _hoisted_3, [
|
|
52
49
|
createVNode(unref(OLink), {
|
|
53
|
-
href: __props.sig.
|
|
50
|
+
href: __props.sig.git_url,
|
|
54
51
|
target: "_blank",
|
|
55
52
|
"hover-underline": false
|
|
56
53
|
}, {
|
|
@@ -81,12 +78,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
78
|
]),
|
|
82
79
|
_: 1
|
|
83
80
|
}, 8, ["href"]),
|
|
84
|
-
__props.sig.
|
|
81
|
+
__props.sig.subscribe_url ? (openBlock(), createBlock(unref(OButton), {
|
|
85
82
|
key: 0,
|
|
86
83
|
size: "medium",
|
|
87
84
|
color: "primary",
|
|
88
85
|
round: "pill",
|
|
89
|
-
href: __props.sig.
|
|
86
|
+
href: __props.sig.subscribe_url,
|
|
90
87
|
target: "_blank"
|
|
91
88
|
}, {
|
|
92
89
|
default: withCtx(() => [
|
|
@@ -52,7 +52,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
52
|
const { t } = useI18n();
|
|
53
53
|
const { isPhone, isPadH, isPadV, leLaptop } = useScreen();
|
|
54
54
|
const { isDark } = useTheme();
|
|
55
|
-
console.log("isDark", isDark.value);
|
|
56
55
|
const defaultCount = computed(() => {
|
|
57
56
|
if (isPadH.value) return 18;
|
|
58
57
|
if (isPadV.value) return 12;
|
|
@@ -211,7 +210,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
211
210
|
], 2),
|
|
212
211
|
createElementVNode("div", _hoisted_16, [
|
|
213
212
|
createElementVNode("a", {
|
|
214
|
-
href: member
|
|
213
|
+
href: unref(getGitUrl)(member),
|
|
215
214
|
target: "_blank",
|
|
216
215
|
rel: "noopener noreferrer"
|
|
217
216
|
}, [
|
|
@@ -103,7 +103,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
103
103
|
border: "row-frame",
|
|
104
104
|
data: repositoryList.value,
|
|
105
105
|
"row-key": "repo",
|
|
106
|
-
"min-table-width":
|
|
106
|
+
"min-table-width": 600,
|
|
107
107
|
onConditionUpdate
|
|
108
108
|
}, {
|
|
109
109
|
td_repo: withCtx(({ row }) => [
|
|
@@ -260,9 +260,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
260
260
|
createVNode(unref(ODataTable), {
|
|
261
261
|
data: displayContributionData.value,
|
|
262
262
|
columns: columns.value,
|
|
263
|
+
size: "small",
|
|
263
264
|
border: "row-frame",
|
|
264
|
-
|
|
265
|
-
"min-table-width": 840
|
|
265
|
+
"min-table-width": 600
|
|
266
266
|
}, {
|
|
267
267
|
td_idx: withCtx(({ index }) => [
|
|
268
268
|
createElementVNode("span", null, toDisplayString(index + 1), 1)
|
|
@@ -14,10 +14,11 @@ export interface SigCompleteItemT {
|
|
|
14
14
|
description: string;
|
|
15
15
|
mailing_list: string;
|
|
16
16
|
meeting_url?: string;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
etherpad_url?: string;
|
|
18
|
+
subscribe_url?: string;
|
|
19
19
|
discuss_url?: string;
|
|
20
|
-
|
|
20
|
+
git_url?: string;
|
|
21
|
+
archive_url?: string;
|
|
21
22
|
mature_level?: string;
|
|
22
23
|
maintainers: string[];
|
|
23
24
|
committers: string[];
|
|
@@ -94,11 +95,11 @@ export interface SigBranchT {
|
|
|
94
95
|
}
|
|
95
96
|
export interface SigListItemT {
|
|
96
97
|
name: string;
|
|
97
|
-
|
|
98
|
+
git_url: string;
|
|
98
99
|
description: string;
|
|
99
100
|
sig_name?: string;
|
|
100
101
|
mailing_list?: string | null;
|
|
101
|
-
|
|
102
|
+
subscribe_url?: string | null;
|
|
102
103
|
repositories?: string[];
|
|
103
104
|
maintainer_info?: SigMaintainerT[] | null;
|
|
104
105
|
committer_info?: SigMaintainerT[] | null;
|
|
@@ -171,6 +172,5 @@ export interface SigContributeItemT {
|
|
|
171
172
|
user_login: string;
|
|
172
173
|
usertype: string;
|
|
173
174
|
contribute: number;
|
|
174
|
-
userLink: string;
|
|
175
175
|
[key: string]: unknown;
|
|
176
176
|
}
|
|
@@ -299,6 +299,7 @@ const en = {
|
|
|
299
299
|
"sig.applicationProcessSubTitle": "Propose creation of a SIG to coordinate development efforts within a specific domain.",
|
|
300
300
|
"sig.sigTip": "Note: Repository Committers, please click on the SIG name to query the repository list.",
|
|
301
301
|
"sig.subscribe": "Subscribe",
|
|
302
|
+
"sig.viewArchive": "View Archive",
|
|
302
303
|
"sig.contributor": "{num} maintainers",
|
|
303
304
|
"sig.sigCore": "Core Members ({num})",
|
|
304
305
|
"sig.sigMaintainer": "Maintainer ({num})",
|
|
@@ -301,6 +301,7 @@ const zh = {
|
|
|
301
301
|
"sig.loading": "加载中...",
|
|
302
302
|
"sig.sigTip": "注:仓库Committer请点击SIG名称,在仓库列表查询",
|
|
303
303
|
"sig.subscribe": "订阅邮件",
|
|
304
|
+
"sig.viewArchive": "查看归档",
|
|
304
305
|
"sig.contributor": "{num}位维护者",
|
|
305
306
|
"sig.sigCore": "核心成员({num})",
|
|
306
307
|
"sig.sigMaintainer": "Maintainer({num})",
|