@opendesign-plus/components 0.0.1-rc.63 → 0.0.1-rc.64

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 (65) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +4 -4
  3. package/dist/components/activity/index.d.ts +9 -9
  4. package/dist/components/banner/index.d.ts +6 -6
  5. package/dist/components/events/index.d.ts +20 -20
  6. package/dist/components/footer/index.d.ts +3 -3
  7. package/dist/components/header/OHeaderMobile.vue.d.ts +8 -8
  8. package/dist/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  9. package/dist/components/header/index.d.ts +28 -28
  10. package/dist/components/header-search/index.d.ts +13 -13
  11. package/dist/components/logo-swiper/index.d.ts +11 -11
  12. package/dist/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  13. package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +2 -1
  14. package/dist/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  15. package/dist/components/meeting/index.d.ts +37 -34
  16. package/dist/components/search/index.d.ts +11 -11
  17. package/dist/components/sig/components/OSigDetailInfoCard.vue.d.ts +3 -1
  18. package/dist/components/sig/components/OSigItem.vue.d.ts +0 -3
  19. package/dist/components/sig/components/utils.d.ts +38 -3
  20. package/dist/components/sig/types.d.ts +12 -7
  21. package/dist/components.cjs.js +42 -42
  22. package/dist/components.css +1 -1
  23. package/dist/components.es.js +9083 -9016
  24. package/dist/treeshaking/_virtual/icon-outlink.mjs +1 -1
  25. package/dist/treeshaking/components/activity/index.d.ts +9 -9
  26. package/dist/treeshaking/components/banner/index.d.ts +6 -6
  27. package/dist/treeshaking/components/events/index.d.ts +20 -20
  28. package/dist/treeshaking/components/footer/index.d.ts +3 -3
  29. package/dist/treeshaking/components/header/OHeaderMobile.vue.d.ts +8 -8
  30. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.d.ts +1 -1
  31. package/dist/treeshaking/components/header/index.d.ts +28 -28
  32. package/dist/treeshaking/components/header-search/index.d.ts +13 -13
  33. package/dist/treeshaking/components/logo-swiper/index.d.ts +11 -11
  34. package/dist/treeshaking/components/meeting/OMeetingPlayback.vue.d.ts +6 -6
  35. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +29 -1
  36. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +2 -1
  37. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +20 -6
  38. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackVideo.vue.d.ts +1 -1
  39. package/dist/treeshaking/components/meeting/index.d.ts +37 -34
  40. package/dist/treeshaking/components/search/index.d.ts +11 -11
  41. package/dist/treeshaking/components/sig/OSigDetail.css +82 -23
  42. package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +54 -17
  43. package/dist/treeshaking/components/sig/OSigList.css +59 -5
  44. package/dist/treeshaking/components/sig/OSigList.vue.mjs +61 -59
  45. package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.css +80 -1
  46. package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.d.ts +3 -1
  47. package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.vue.mjs +36 -10
  48. package/dist/treeshaking/components/sig/components/OSigItem.css +387 -58
  49. package/dist/treeshaking/components/sig/components/OSigItem.vue.d.ts +0 -3
  50. package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +25 -45
  51. package/dist/treeshaking/components/sig/components/OSigMember.css +0 -60
  52. package/dist/treeshaking/components/sig/components/OSigMember.vue.mjs +12 -18
  53. package/dist/treeshaking/components/sig/components/OSigRepo.css +15 -0
  54. package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +46 -41
  55. package/dist/treeshaking/components/sig/components/OSigUserContribute.css +24 -0
  56. package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.mjs +12 -10
  57. package/dist/treeshaking/components/sig/components/utils.d.ts +38 -3
  58. package/dist/treeshaking/components/sig/components/utils.mjs +36 -3
  59. package/dist/treeshaking/components/sig/types.d.ts +12 -7
  60. package/dist/treeshaking/i18n/en.mjs +2 -2
  61. package/dist/treeshaking/i18n/zh.mjs +2 -2
  62. package/package.json +1 -1
  63. package/dist/components/sig/components/config-sig.d.ts +0 -1
  64. package/dist/treeshaking/components/sig/components/config-sig.d.ts +0 -1
  65. package/dist/treeshaking/components/sig/components/config-sig.mjs +0 -4
@@ -23,16 +23,32 @@
23
23
  }
24
24
  @media (max-width: 1200px) {
25
25
  .o-sig-detail .o-sig-detail-content {
26
- --sig-floor-gap: var(--o-gap-3);
26
+ --sig-floor-gap: var(--o-gap-4);
27
27
  display: block;
28
28
  }
29
29
  }
30
30
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor {
31
31
  width: 100%;
32
32
  }
33
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-icon {
34
+ font-size: 24px;
35
+ }
36
+ @media (max-width: 1680px) {
37
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-icon {
38
+ font-size: 20px;
39
+ }
40
+ }
33
41
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-icon path {
34
42
  fill: currentColor;
35
43
  }
44
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-btn .o-icon {
45
+ font-size: 20px;
46
+ }
47
+ @media (max-width: 1680px) {
48
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-btn .o-icon {
49
+ font-size: 16px;
50
+ }
51
+ }
36
52
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-sig-detail-title-top {
37
53
  margin-bottom: var(--o-gap-2);
38
54
  }
@@ -44,19 +60,15 @@
44
60
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-sig-detail-tip {
45
61
  margin: 0;
46
62
  }
47
- .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-link-suffix .o-icon {
48
- font-size: 24px;
49
- }
50
- @media (max-width: 1680px) {
51
- .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-link-suffix .o-icon {
52
- font-size: 20px;
53
- }
54
- }
55
63
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-sig-detail-email-link {
56
64
  margin-top: var(--o-gap-3);
57
65
  }
58
- .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-sig-detail-email-link .o-btn {
59
- margin-left: var(--o-gap-2);
66
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-sig-detail-email-link a {
67
+ margin-right: var(--o-gap-2);
68
+ }
69
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-sig-detail-email-link .o-link {
70
+ margin-bottom: var(--o-gap-2);
71
+ display: inline-block;
60
72
  }
61
73
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-detail .o-sig-detail-discuss-link {
62
74
  margin-top: var(--o-gap-3);
@@ -64,18 +76,61 @@
64
76
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card {
65
77
  border-radius: var(--o-radius-xs);
66
78
  background-color: var(--o-color-fill2);
67
- padding: 16px 24px;
79
+ padding: var(--o-gap-4) var(--o-gap-5);
80
+ }
81
+ @media (min-width: 1201px) and (max-width: 1680px) {
82
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card {
83
+ padding: var(--o-gap-3) var(--o-gap-4);
84
+ }
85
+ }
86
+ @media (max-width: 1200px) {
87
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card {
88
+ padding: var(--o-gap-3);
89
+ }
90
+ }
91
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card .o-sig-detail-meeting-agenda {
92
+ margin-top: var(--o-gap-2);
93
+ color: var(--o-color-info2);
94
+ background-color: var(--o-color-control2-light);
95
+ font-weight: 400;
96
+ padding: var(--o-gap-3);
97
+ border-radius: var(--o-radius-xs);
98
+ font-size: 14px;
99
+ line-height: 22px;
100
+ }
101
+ @media (min-width: 1201px) and (max-width: 1680px) {
102
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card .o-sig-detail-meeting-agenda {
103
+ font-size: 14px;
104
+ line-height: 18px;
105
+ }
106
+ }
107
+ @media (min-width: 841px) and (max-width: 1200px) {
108
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card .o-sig-detail-meeting-agenda {
109
+ font-size: 12px;
110
+ line-height: 18px;
111
+ }
112
+ }
113
+ @media (min-width: 601px) and (max-width: 840px) {
114
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card .o-sig-detail-meeting-agenda {
115
+ font-size: 12px;
116
+ line-height: 18px;
117
+ }
118
+ }
119
+ @media (max-width: 600px) {
120
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card .o-sig-detail-meeting-agenda {
121
+ font-size: 12px;
122
+ line-height: 18px;
123
+ }
124
+ }
125
+ @media (max-width: 1680px) {
126
+ .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card .o-sig-detail-meeting-agenda {
127
+ padding: var(--o-gap-2);
68
128
  }
69
- .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-meeting-card .o-btn {
70
- margin-left: 8px;
71
129
  }
72
130
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-title-top {
73
131
  display: flex;
74
132
  align-items: center;
75
- margin-bottom: 8px;
76
- }
77
- .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-title-top .o-icon {
78
- --icon-size: 24px;
133
+ margin-bottom: var(--o-gap-2);
79
134
  }
80
135
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-title-top .o-sig-detail-text {
81
136
  font-weight: 500;
@@ -110,10 +165,12 @@
110
165
  }
111
166
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-title-top .o-link {
112
167
  margin-left: auto;
168
+ display: flex;
169
+ flex-wrap: nowrap;
113
170
  }
114
171
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-tip {
115
172
  color: var(--o-color-info2);
116
- margin-top: 8px;
173
+ margin-top: var(--o-gap-2);
117
174
  font-size: 16px;
118
175
  line-height: 24px;
119
176
  }
@@ -141,11 +198,8 @@
141
198
  line-height: 18px;
142
199
  }
143
200
  }
144
- .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-email-link {
145
- margin-top: 16px;
146
- }
147
201
  .o-sig-detail .o-sig-detail-content .o-sig-detail-floor .o-sig-detail-floor-item + .o-sig-detail-floor-item {
148
- margin-top: 32px;
202
+ margin-top: var(--grid-column-gutter);
149
203
  }
150
204
  .o-sig-detail .o-sig-detail-content .o-sig-floor-title {
151
205
  font-weight: 600;
@@ -176,4 +230,9 @@
176
230
  font-size: 14px;
177
231
  line-height: 22px;
178
232
  }
233
+ }
234
+ @media (min-width: ) {
235
+ .o-sig-detail .o-sig-detail-content .o-sig-floor-title {
236
+ font-size: 16px;
237
+ }
179
238
  }
@@ -1,5 +1,4 @@
1
- import { defineComponent, computed, onMounted, nextTick, openBlock, createElementBlock, createVNode, unref, createElementVNode, toDisplayString, withCtx, createBlock, createTextVNode, createCommentVNode, renderSlot } from "vue";
2
- import { SIG_ADDRESS } from "./components/config-sig.mjs";
1
+ import { defineComponent, computed, onMounted, nextTick, openBlock, createElementBlock, createVNode, createElementVNode, toDisplayString, unref, withCtx, createBlock, createTextVNode, createCommentVNode, Fragment, renderList, renderSlot } from "vue";
3
2
  import { OIcon, OLink, OButton } from "@opensig/opendesign";
4
3
  import _sfc_main$1 from "./components/OSigDetailInfoCard.vue.mjs";
5
4
  import './components/OSigDetailInfoCard.css';
@@ -24,7 +23,7 @@ const _hoisted_7 = { class: "o-sig-detail-meeting-card" };
24
23
  const _hoisted_8 = { class: "o-sig-detail-info-item" };
25
24
  const _hoisted_9 = { class: "o-sig-detail-title-top" };
26
25
  const _hoisted_10 = { class: "o-sig-detail-text" };
27
- const _hoisted_11 = { class: "o-sig-detail-tip" };
26
+ const _hoisted_11 = { class: "o-sig-detail-meeting-agenda" };
28
27
  const _hoisted_12 = { class: "o-sig-detail-email-link" };
29
28
  const _hoisted_13 = { class: "o-sig-detail-title-top" };
30
29
  const _hoisted_14 = { class: "o-sig-detail-text" };
@@ -51,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
50
  },
52
51
  setup(__props) {
53
52
  const props = __props;
54
- const { t } = useI18n();
53
+ const { t, locale } = useI18n();
55
54
  const sigDetailInfo = computed(() => props.sigDetail);
56
55
  const maintainerInfo = computed(() => {
57
56
  var _a;
@@ -72,13 +71,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
72
71
  }, 300);
73
72
  });
74
73
  });
74
+ const meetingAgenda = computed(() => {
75
+ var _a, _b;
76
+ return ((_a = sigDetailInfo.value) == null ? void 0 : _a[`meeting_agenda_${locale.value}`]) ?? ((_b = sigDetailInfo.value) == null ? void 0 : _b.meeting_agenda) ?? [];
77
+ });
75
78
  return (_ctx, _cache) => {
76
- var _a, _b, _c, _d, _e, _f;
79
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
77
80
  return openBlock(), createElementBlock("div", _hoisted_1, [
78
81
  createVNode(_sfc_main$1, {
79
82
  description: (_a = sigDetailInfo.value) == null ? void 0 : _a.description,
80
83
  "sig-name": props.sigName,
81
- "gitee-address": `${unref(SIG_ADDRESS)}${props.sigName}`,
84
+ "gitee-address": (_b = sigDetailInfo.value) == null ? void 0 : _b.git_url,
82
85
  bg: __props.headerBg
83
86
  }, null, 8, ["description", "sig-name", "gitee-address", "bg"]),
84
87
  createElementVNode("div", _hoisted_2, [
@@ -89,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
89
92
  createElementVNode("div", _hoisted_3, [
90
93
  createElementVNode("div", _hoisted_4, [
91
94
  createElementVNode("div", _hoisted_5, [
92
- createElementVNode("p", _hoisted_6, toDisplayString(unref(t)("sig.sigMettingActive")), 1),
95
+ createElementVNode("p", _hoisted_6, toDisplayString(unref(t)("sig.sigMeetingActive")), 1),
93
96
  createElementVNode("div", _hoisted_7, [
94
97
  createElementVNode("div", _hoisted_8, [
95
98
  createElementVNode("div", _hoisted_9, [
@@ -100,9 +103,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
100
103
  _: 1
101
104
  }),
102
105
  createElementVNode("p", _hoisted_10, toDisplayString(unref(t)("sig.workMeeting")), 1),
103
- ((_b = sigDetailInfo.value) == null ? void 0 : _b.etherpadUrl) ? (openBlock(), createBlock(unref(OLink), {
106
+ ((_c = sigDetailInfo.value) == null ? void 0 : _c.etherpad_url) ? (openBlock(), createBlock(unref(OLink), {
104
107
  key: 0,
105
- href: (_c = sigDetailInfo.value) == null ? void 0 : _c.etherpadUrl,
108
+ href: (_d = sigDetailInfo.value) == null ? void 0 : _d.etherpad_url,
106
109
  target: "_blank",
107
110
  color: "primary"
108
111
  }, {
@@ -120,7 +123,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
120
123
  _: 1
121
124
  }, 8, ["href"])) : createCommentVNode("", true)
122
125
  ]),
123
- createElementVNode("p", _hoisted_11, toDisplayString(unref(t)("sig.sigMeetingIntro")), 1)
126
+ createElementVNode("div", _hoisted_11, [
127
+ (openBlock(true), createElementBlock(Fragment, null, renderList(meetingAgenda.value, (t2) => {
128
+ return openBlock(), createElementBlock("div", {
129
+ class: "o-sig-detail-meeting-agenda-item",
130
+ key: t2
131
+ }, toDisplayString(t2), 1);
132
+ }), 128))
133
+ ])
124
134
  ]),
125
135
  createElementVNode("div", _hoisted_12, [
126
136
  createElementVNode("div", _hoisted_13, [
@@ -134,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
134
144
  ]),
135
145
  createVNode(unref(OLink), {
136
146
  color: "primary",
137
- href: `mailto:${(_d = sigDetailInfo.value) == null ? void 0 : _d.mailing_list}`,
147
+ href: `mailto:${(_e = sigDetailInfo.value) == null ? void 0 : _e.mailing_list}`,
138
148
  target: "_blank",
139
149
  class: "o-sig-detail-icon-link"
140
150
  }, {
@@ -146,11 +156,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
146
156
  }),
147
157
  _: 1
148
158
  }, 8, ["href"]),
149
- ((_e = sigDetailInfo.value) == null ? void 0 : _e.subscribeUrl) ? (openBlock(), createBlock(unref(OButton), {
159
+ ((_f = sigDetailInfo.value) == null ? void 0 : _f.subscribe_url) ? (openBlock(), createBlock(unref(OButton), {
150
160
  key: 0,
151
161
  round: "pill",
152
162
  color: "primary",
153
- href: (_f = sigDetailInfo.value) == null ? void 0 : _f.subscribeUrl,
163
+ href: (_g = sigDetailInfo.value) == null ? void 0 : _g.subscribe_url,
154
164
  target: "_blank",
155
165
  size: "medium"
156
166
  }, {
@@ -166,9 +176,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
166
176
  createTextVNode(toDisplayString(unref(t)("sig.subscribe")) + " ", 1)
167
177
  ]),
168
178
  _: 1
179
+ }, 8, ["href"])) : createCommentVNode("", true),
180
+ ((_h = sigDetailInfo.value) == null ? void 0 : _h.archive_url) ? (openBlock(), createBlock(unref(OButton), {
181
+ key: 1,
182
+ round: "pill",
183
+ color: "primary",
184
+ href: (_i = sigDetailInfo.value) == null ? void 0 : _i.archive_url,
185
+ target: "_blank",
186
+ size: "medium"
187
+ }, {
188
+ suffix: withCtx(() => [
189
+ createVNode(unref(OIcon), null, {
190
+ default: withCtx(() => [
191
+ createVNode(unref(IconOutlink))
192
+ ]),
193
+ _: 1
194
+ })
195
+ ]),
196
+ default: withCtx(() => [
197
+ createTextVNode(toDisplayString(unref(t)("sig.viewArchive")) + " ", 1)
198
+ ]),
199
+ _: 1
169
200
  }, 8, ["href"])) : createCommentVNode("", true)
170
201
  ]),
171
- sigDetailInfo.value.discuss_url ? (openBlock(), createElementBlock("div", _hoisted_15, [
202
+ ((_j = sigDetailInfo.value) == null ? void 0 : _j.discuss_url) ? (openBlock(), createElementBlock("div", _hoisted_15, [
172
203
  createElementVNode("div", _hoisted_16, [
173
204
  createVNode(unref(OIcon), null, {
174
205
  default: withCtx(() => [
@@ -180,14 +211,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
180
211
  ]),
181
212
  createVNode(unref(OLink), {
182
213
  color: "primary",
183
- href: sigDetailInfo.value.discuss_url,
214
+ href: (_k = sigDetailInfo.value) == null ? void 0 : _k.discuss_url,
184
215
  target: "_blank",
185
216
  class: "o-sig-detail-icon-link"
186
217
  }, {
187
218
  default: withCtx(() => {
188
219
  var _a2;
189
220
  return [
190
- createTextVNode(toDisplayString((_a2 = sigDetailInfo.value) == null ? void 0 : _a2.mailing_list), 1)
221
+ createTextVNode(toDisplayString((_a2 = sigDetailInfo.value) == null ? void 0 : _a2.discuss_url), 1)
191
222
  ];
192
223
  }),
193
224
  _: 1
@@ -200,7 +231,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
200
231
  renderSlot(_ctx.$slots, "meeting")
201
232
  ])) : createCommentVNode("", true),
202
233
  createElementVNode("div", _hoisted_19, [
203
- createVNode(_sfc_main$3, { repositories: __props.repositories }, null, 8, ["repositories"])
234
+ __props.repositories.length ? (openBlock(), createBlock(_sfc_main$3, {
235
+ key: 0,
236
+ repositories: __props.repositories
237
+ }, null, 8, ["repositories"])) : (openBlock(), createBlock(_sfc_main$3, {
238
+ key: 1,
239
+ repositories: __props.repositories
240
+ }, null, 8, ["repositories"]))
204
241
  ]),
205
242
  createElementVNode("div", _hoisted_20, [
206
243
  createVNode(_sfc_main$4, {
@@ -306,8 +306,16 @@
306
306
  }
307
307
  @media (max-width: 840px) {
308
308
  .o-sig-list .o-sig-filter-box {
309
- padding: var(--o-gap-3);
309
+ background-color: transparent;
310
+ padding: 0;
311
+ }
310
312
  }
313
+ .o-sig-list .o-sig-filter-box.o-sig-filter-box--no-filter-type {
314
+ padding: 0;
315
+ background-color: transparent;
316
+ }
317
+ .o-sig-list .o-sig-filter-box.o-sig-filter-box--no-filter-type .o-sig-filter-select-box {
318
+ justify-content: flex-start;
311
319
  }
312
320
  @media (max-width: 600px) {
313
321
  .o-sig-list .o-sig-filter-box {
@@ -444,6 +452,11 @@
444
452
  display: flex;
445
453
  justify-content: flex-start;
446
454
  }
455
+ @media (max-width: 840px) {
456
+ .o-sig-list .o-sig-filter-box .o-sig-filter-select-box {
457
+ width: 100%;
458
+ }
459
+ }
447
460
  @media (max-width: 600px) {
448
461
  .o-sig-list .o-sig-filter-box .o-sig-filter-select-box {
449
462
  padding: var(--o-gap-3);
@@ -458,33 +471,50 @@
458
471
  z-index: 9;
459
472
  border: 1px solid var(--o-color-control1);
460
473
  border-radius: var(--o-radius-xs);
474
+ background-color: var(--o-color-fill2);
461
475
  }
462
476
  @media (hover: hover) {
463
477
  .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-filter-select:hover {
464
478
  border: 1px solid var(--o-color-primary2);
465
479
  }
466
480
  }
467
- @media (max-width: 600px) {
481
+ @media (max-width: 840px) {
468
482
  .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-filter-select {
469
483
  width: 100%;
470
484
  }
471
485
  }
472
- .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-filter-select .o-input .o-icon svg path {
473
- fill: currentColor;
474
- }
475
486
  .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-filter-select-focus {
476
487
  border: 1px solid var(--o-color-primary3);
477
488
  }
478
489
  .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-select {
479
490
  --select-height: 40px;
480
491
  --select-icon-size: 24px;
492
+ --select-bg-color: var(--o-color-fill2);
493
+ --select-bg-color-hover: var(--o-color-fill2);
494
+ --select-bg-color-focus: var(--o-color-fill2);
481
495
  max-width: 135px;
482
496
  border-radius: var(--o-radius-xs) 0 0 var(--o-radius-xs);
483
497
  border: none;
484
498
  border-right: 1px solid var(--o-color-control1);
485
499
  }
500
+ @media (max-width: 840px) {
501
+ .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-select {
502
+ --select-height: 38px;
503
+ max-width: 100%;
504
+ width: 40%;
505
+ }
506
+ }
486
507
  .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-input {
487
508
  width: 320px;
509
+ --_box-bg-color: var(--o-color-fill2);
510
+ --_box-bg-color-hover: var(--o-color-fill2);
511
+ --_box-bg-color-focus: var(--o-color-fill2);
512
+ }
513
+ @media (max-width: 840px) {
514
+ .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-input {
515
+ flex: 1;
516
+ width: 60%;
517
+ }
488
518
  }
489
519
  .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-input .o_box-main {
490
520
  border: none;
@@ -505,6 +535,15 @@
505
535
  font-size: 24px;
506
536
  }
507
537
  }
538
+ .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-input .o-icon svg path {
539
+ fill: currentColor;
540
+ }
541
+ @media (max-width: 840px) {
542
+ .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-input .o_box {
543
+ width: 100%;
544
+ --box-height: 38px;
545
+ }
546
+ }
508
547
  .o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-data {
509
548
  position: absolute;
510
549
  top: 44px;
@@ -631,6 +670,21 @@
631
670
  line-height: 18px;
632
671
  }
633
672
  }
673
+ @media (max-width: 840px) {
674
+ .o-sig-list .o-sig-filter-box .o-sig-filter-btn {
675
+ display: flex;
676
+ align-items: center;
677
+ justify-content: flex-end;
678
+ margin-top: 8px;
679
+ position: relative;
680
+ }
681
+ .o-sig-list .o-sig-filter-box .o-sig-filter-btn .o-icon {
682
+ --icon-size: 16px;
683
+ }
684
+ .o-sig-list .o-sig-filter-box .o-sig-filter-btn .o-sig-filter-text {
685
+ margin-left: 8px;
686
+ }
687
+ }
634
688
  .o-sig-list .o-sig-filter-box-en .o-select {
635
689
  max-width: 150px;
636
690
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, ref, watch, onMounted, onUnmounted, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, toDisplayString, createVNode, withCtx, Fragment, renderList, createBlock, createTextVNode, createCommentVNode, withModifiers, withDirectives, nextTick } from "vue";
1
+ import { defineComponent, computed, ref, watch, onMounted, onUnmounted, openBlock, createElementBlock, createElementVNode, normalizeClass, Fragment, unref, toDisplayString, createVNode, withCtx, renderList, createBlock, createTextVNode, createCommentVNode, withModifiers, withDirectives, nextTick } from "vue";
2
2
  import { ElSelect, ElOption } from "element-plus";
3
3
  import "element-plus/es/components/select/style/css";
4
4
  import "element-plus/es/components/option/style/css";
@@ -80,11 +80,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
80
  sigQuery.value.pageSize = PAGE_SIZE_DEFAULT;
81
81
  };
82
82
  const allSigInfo = ref([]);
83
- const activeRepo = ref("");
84
83
  const landscapeList = ref([]);
85
84
  const featureArr = ref([]);
86
85
  const mergedSigList = ref([]);
87
86
  const constructLandscapeMap = () => {
87
+ if (!props.sigLandscape.length) {
88
+ featureArr.value = [];
89
+ return;
90
+ }
88
91
  landscapeList.value = props.sigLandscape.map(({ created_at: _created, ...rest }) => rest);
89
92
  const seen = /* @__PURE__ */ new Set();
90
93
  const features = [];
@@ -312,60 +315,62 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
312
315
  return (_ctx, _cache) => {
313
316
  return openBlock(), createElementBlock("div", _hoisted_1, [
314
317
  createElementVNode("div", {
315
- class: normalizeClass(["o-sig-filter-box", `o-sig-filter-box-${locale.value}`])
318
+ class: normalizeClass(["o-sig-filter-box", `o-sig-filter-box-${locale.value} ${featureArr.value.length ? "" : "o-sig-filter-box--no-filter-type"}`])
316
319
  }, [
317
- !unref(isPhone) ? (openBlock(), createElementBlock("div", _hoisted_2, [
318
- createElementVNode("p", _hoisted_3, toDisplayString(unref(t)("sig.type")), 1),
319
- createVNode(unref(ORadioGroup), {
320
- modelValue: featureType.value,
321
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => featureType.value = $event)
322
- }, {
323
- default: withCtx(() => [
324
- (openBlock(true), createElementBlock(Fragment, null, renderList(featureArr.value, (option) => {
325
- return openBlock(), createBlock(unref(ORadio), {
326
- key: option.value,
327
- value: option.value
328
- }, {
329
- radio: withCtx(({ checked }) => [
330
- createVNode(unref(OToggle), {
331
- class: normalizeClass(["o-sig-tag-normal", { active: checked }]),
332
- checked,
333
- onClick: ($event) => clearChecked(checked)
334
- }, {
335
- default: withCtx(() => [
336
- createTextVNode(toDisplayString(option.label[locale.value]), 1)
337
- ]),
338
- _: 2
339
- }, 1032, ["class", "checked", "onClick"])
340
- ]),
341
- _: 2
342
- }, 1032, ["value"]);
343
- }), 128))
344
- ]),
345
- _: 1
346
- }, 8, ["modelValue"])
347
- ])) : createCommentVNode("", true),
348
- unref(isPhone) ? (openBlock(), createElementBlock("div", _hoisted_4, [
349
- createVNode(unref(ElSelect), {
350
- modelValue: featureType.value,
351
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => featureType.value = $event),
352
- filterable: "",
353
- size: "large",
354
- placeholder: unref(t)("sig.selectOrSearchCate")
355
- }, {
356
- default: withCtx(() => [
357
- (openBlock(true), createElementBlock(Fragment, null, renderList(featureArr.value, (option) => {
358
- return openBlock(), createBlock(unref(ElOption), {
359
- key: option.value,
360
- label: option.label[locale.value] ?? option.value,
361
- value: option.value
362
- }, null, 8, ["label", "value"]);
363
- }), 128))
364
- ]),
365
- _: 1
366
- }, 8, ["modelValue", "placeholder"])
367
- ])) : createCommentVNode("", true),
368
- createVNode(unref(ODivider), { direction: "h" }),
320
+ featureArr.value.length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
321
+ !unref(isPhone) ? (openBlock(), createElementBlock("div", _hoisted_2, [
322
+ createElementVNode("p", _hoisted_3, toDisplayString(unref(t)("sig.type")), 1),
323
+ createVNode(unref(ORadioGroup), {
324
+ modelValue: featureType.value,
325
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => featureType.value = $event)
326
+ }, {
327
+ default: withCtx(() => [
328
+ (openBlock(true), createElementBlock(Fragment, null, renderList(featureArr.value, (option) => {
329
+ return openBlock(), createBlock(unref(ORadio), {
330
+ key: option.value,
331
+ value: option.value
332
+ }, {
333
+ radio: withCtx(({ checked }) => [
334
+ createVNode(unref(OToggle), {
335
+ class: normalizeClass(["o-sig-tag-normal", { active: checked }]),
336
+ checked,
337
+ onClick: ($event) => clearChecked(checked)
338
+ }, {
339
+ default: withCtx(() => [
340
+ createTextVNode(toDisplayString(option.label[locale.value]), 1)
341
+ ]),
342
+ _: 2
343
+ }, 1032, ["class", "checked", "onClick"])
344
+ ]),
345
+ _: 2
346
+ }, 1032, ["value"]);
347
+ }), 128))
348
+ ]),
349
+ _: 1
350
+ }, 8, ["modelValue"])
351
+ ])) : createCommentVNode("", true),
352
+ unref(isPhone) ? (openBlock(), createElementBlock("div", _hoisted_4, [
353
+ createVNode(unref(ElSelect), {
354
+ modelValue: featureType.value,
355
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => featureType.value = $event),
356
+ filterable: "",
357
+ size: "large",
358
+ placeholder: unref(t)("sig.selectOrSearchCate")
359
+ }, {
360
+ default: withCtx(() => [
361
+ (openBlock(true), createElementBlock(Fragment, null, renderList(featureArr.value, (option) => {
362
+ return openBlock(), createBlock(unref(ElOption), {
363
+ key: option.value,
364
+ label: option.label[locale.value] ?? option.value,
365
+ value: option.value
366
+ }, null, 8, ["label", "value"]);
367
+ }), 128))
368
+ ]),
369
+ _: 1
370
+ }, 8, ["modelValue", "placeholder"])
371
+ ])) : createCommentVNode("", true),
372
+ createVNode(unref(ODivider), { direction: "h" })
373
+ ], 64)) : createCommentVNode("", true),
369
374
  createElementVNode("div", _hoisted_5, [
370
375
  createElementVNode("div", {
371
376
  ref_key: "panelRef",
@@ -466,11 +471,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
466
471
  default: withCtx(() => [
467
472
  createVNode(_sfc_main$1, {
468
473
  sig,
469
- locale: locale.value,
470
- mobile: unref(lePadV),
471
- "active-repo": activeRepo.value,
472
474
  onToSigDetail: toSigDetail
473
- }, null, 8, ["sig", "locale", "mobile", "active-repo"])
475
+ }, null, 8, ["sig"])
474
476
  ]),
475
477
  _: 2
476
478
  }, 1032, ["flex"]);