@opendesign-plus/components 0.0.1-rc.91 → 0.0.1-rc.93

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 (38) hide show
  1. package/dist/components/footer/components/FooterSimple.vue.d.ts +4 -0
  2. package/dist/components/summit/types.d.ts +18 -9
  3. package/dist/components/summit/utils.d.ts +11 -0
  4. package/dist/components.cjs.js +37 -37
  5. package/dist/components.css +1 -1
  6. package/dist/components.es.js +5309 -5249
  7. package/dist/treeshaking/_virtual/icon-email.mjs +8 -9
  8. package/dist/treeshaking/_virtual/icon-email2.mjs +9 -8
  9. package/dist/treeshaking/_virtual/icon-tips.mjs +2 -13
  10. package/dist/treeshaking/_virtual/icon-tips2.mjs +13 -2
  11. package/dist/treeshaking/components/footer/OFooter.css +20 -15
  12. package/dist/treeshaking/components/footer/OFooter.vue.mjs +1 -1
  13. package/dist/treeshaking/components/footer/components/FooterSimple.css +37 -36
  14. package/dist/treeshaking/components/footer/components/FooterSimple.vue.d.ts +4 -0
  15. package/dist/treeshaking/components/footer/components/FooterSimple.vue.mjs +1 -1
  16. package/dist/treeshaking/components/footer/components/FooterSimple.vue2.mjs +54 -37
  17. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +1 -1
  18. package/dist/treeshaking/components/org/OOrgMembers.vue2.mjs +1 -1
  19. package/dist/treeshaking/components/summit/OSummitLive.css +20 -20
  20. package/dist/treeshaking/components/summit/OSummitLive.vue.mjs +1 -1
  21. package/dist/treeshaking/components/summit/OSummitLive.vue2.mjs +12 -3
  22. package/dist/treeshaking/components/summit/OSummitSchedule.css +33 -33
  23. package/dist/treeshaking/components/summit/OSummitSchedule.vue.mjs +1 -1
  24. package/dist/treeshaking/components/summit/OSummitSchedule.vue2.mjs +13 -3
  25. package/dist/treeshaking/components/summit/components/OSummitTabs.css +30 -29
  26. package/dist/treeshaking/components/summit/components/OSummitTabs.vue.mjs +1 -1
  27. package/dist/treeshaking/components/summit/components/OSummitTabs.vue2.mjs +2 -0
  28. package/dist/treeshaking/components/summit/types.d.ts +18 -9
  29. package/dist/treeshaking/components/summit/utils.d.ts +11 -0
  30. package/dist/treeshaking/components/summit/utils.mjs +56 -0
  31. package/dist/treeshaking/components/user-center/OAccountSecurity.css +51 -51
  32. package/dist/treeshaking/components/user-center/OAccountSecurity.vue.mjs +1 -1
  33. package/dist/treeshaking/components/user-center/OAccountSecurity.vue2.mjs +24 -9
  34. package/dist/treeshaking/components/user-center/OAccountSetting.css +63 -61
  35. package/dist/treeshaking/components/user-center/OAccountSetting.vue.mjs +1 -1
  36. package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +1 -1
  37. package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +1 -1
  38. package/package.json +4 -4
@@ -0,0 +1,56 @@
1
+ function normalizeScheduleRows(rows) {
2
+ var _a, _b, _c, _d;
3
+ const sessions = [];
4
+ const sessionMap = /* @__PURE__ */ new Map();
5
+ const getSubForum = (session, name) => {
6
+ if (!session.subForums) {
7
+ session.subForums = [];
8
+ }
9
+ let forum = session.subForums.find((f) => f.name === name);
10
+ if (!forum) {
11
+ forum = { id: `${session.id}-${session.subForums.length}`, name, items: [] };
12
+ session.subForums.push(forum);
13
+ }
14
+ return forum;
15
+ };
16
+ for (const row of rows) {
17
+ const label = row.session ?? "";
18
+ let session = sessionMap.get(label);
19
+ if (!session) {
20
+ session = { id: `session-${sessions.length}`, label, items: [], subForums: [] };
21
+ sessionMap.set(label, session);
22
+ sessions.push(session);
23
+ }
24
+ if (!session.duration && row.duration) {
25
+ session.duration = row.duration;
26
+ }
27
+ const entry = { time: row.time, topics: row.topics };
28
+ if (row.forum) {
29
+ const forum = getSubForum(session, row.forum);
30
+ forum.detailMode = forum.detailMode ?? row.detailMode;
31
+ forum.items.push(entry);
32
+ } else {
33
+ if (!session.items) {
34
+ session.items = [];
35
+ }
36
+ session.items.push(entry);
37
+ }
38
+ }
39
+ for (const session of sessions) {
40
+ if (!((_a = session.items) == null ? void 0 : _a.length)) {
41
+ delete session.items;
42
+ }
43
+ if (!((_b = session.subForums) == null ? void 0 : _b.length)) {
44
+ delete session.subForums;
45
+ }
46
+ if (((_c = session.items) == null ? void 0 : _c.length) && ((_d = session.subForums) == null ? void 0 : _d.length)) {
47
+ console.warn(
48
+ `[OSummitSchedule] 分类内同一时段(${session.label || "默认"})混用了「带 forum」与「不带 forum」的行,subForums 将被忽略。`
49
+ );
50
+ }
51
+ }
52
+ return sessions;
53
+ }
54
+ export {
55
+ normalizeScheduleRows
56
+ };
@@ -1,217 +1,217 @@
1
- .hover-icon-rotate .o-icon[data-v-c5f77844] {
1
+ .hover-icon-rotate .o-icon[data-v-41b55b2c] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-c5f77844] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-41b55b2c] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .title[data-v-c5f77844] {
9
+ .title[data-v-41b55b2c] {
10
10
  font-size: 20px;
11
11
  line-height: 28px;
12
12
  }
13
13
  @media (min-width: 1201px) and (max-width: 1680px) {
14
- .title[data-v-c5f77844] {
14
+ .title[data-v-41b55b2c] {
15
15
  font-size: 18px;
16
16
  line-height: 26px;
17
17
  }
18
18
  }
19
19
  @media (min-width: 841px) and (max-width: 1200px) {
20
- .title[data-v-c5f77844] {
20
+ .title[data-v-41b55b2c] {
21
21
  font-size: 16px;
22
22
  line-height: 24px;
23
23
  }
24
24
  }
25
25
  @media (min-width: 601px) and (max-width: 840px) {
26
- .title[data-v-c5f77844] {
26
+ .title[data-v-41b55b2c] {
27
27
  font-size: 16px;
28
28
  line-height: 24px;
29
29
  }
30
30
  }
31
31
  @media (max-width: 600px) {
32
- .title[data-v-c5f77844] {
32
+ .title[data-v-41b55b2c] {
33
33
  font-size: 14px;
34
34
  line-height: 22px;
35
35
  }
36
36
  }
37
- .title[data-v-c5f77844] {
37
+ .title[data-v-41b55b2c] {
38
38
  font-weight: 600;
39
39
  padding-top: var(--o-gap-5);
40
40
  padding-bottom: var(--o-gap-5);
41
41
  }
42
- .tips[data-v-c5f77844] {
42
+ .tips[data-v-41b55b2c] {
43
43
  width: 592px;
44
44
  color: var(--o-color-info1);
45
45
  margin-bottom: 24px;
46
46
  }
47
- .tips[data-v-c5f77844]:last-child {
47
+ .tips[data-v-41b55b2c]:last-child {
48
48
  margin-bottom: 0;
49
49
  }
50
- .tips-title[data-v-c5f77844] {
50
+ .tips-title[data-v-41b55b2c] {
51
51
  font-size: 18px;
52
52
  line-height: 26px;
53
53
  }
54
54
  @media (min-width: 1201px) and (max-width: 1680px) {
55
- .tips-title[data-v-c5f77844] {
55
+ .tips-title[data-v-41b55b2c] {
56
56
  font-size: 16px;
57
57
  line-height: 24px;
58
58
  }
59
59
  }
60
60
  @media (min-width: 841px) and (max-width: 1200px) {
61
- .tips-title[data-v-c5f77844] {
61
+ .tips-title[data-v-41b55b2c] {
62
62
  font-size: 14px;
63
63
  line-height: 22px;
64
64
  }
65
65
  }
66
66
  @media (min-width: 601px) and (max-width: 840px) {
67
- .tips-title[data-v-c5f77844] {
67
+ .tips-title[data-v-41b55b2c] {
68
68
  font-size: 14px;
69
69
  line-height: 22px;
70
70
  }
71
71
  }
72
72
  @media (max-width: 600px) {
73
- .tips-title[data-v-c5f77844] {
73
+ .tips-title[data-v-41b55b2c] {
74
74
  font-size: 14px;
75
75
  line-height: 22px;
76
76
  }
77
77
  }
78
- .tips-title[data-v-c5f77844] {
78
+ .tips-title[data-v-41b55b2c] {
79
79
  margin-bottom: 4px;
80
80
  }
81
- .tips-content[data-v-c5f77844] {
81
+ .tips-content[data-v-41b55b2c] {
82
82
  font-size: 14px;
83
83
  line-height: 22px;
84
84
  }
85
85
  @media (min-width: 1201px) and (max-width: 1680px) {
86
- .tips-content[data-v-c5f77844] {
86
+ .tips-content[data-v-41b55b2c] {
87
87
  font-size: 14px;
88
88
  line-height: 18px;
89
89
  }
90
90
  }
91
91
  @media (min-width: 841px) and (max-width: 1200px) {
92
- .tips-content[data-v-c5f77844] {
92
+ .tips-content[data-v-41b55b2c] {
93
93
  font-size: 12px;
94
94
  line-height: 18px;
95
95
  }
96
96
  }
97
97
  @media (min-width: 601px) and (max-width: 840px) {
98
- .tips-content[data-v-c5f77844] {
98
+ .tips-content[data-v-41b55b2c] {
99
99
  font-size: 12px;
100
100
  line-height: 18px;
101
101
  }
102
102
  }
103
103
  @media (max-width: 600px) {
104
- .tips-content[data-v-c5f77844] {
104
+ .tips-content[data-v-41b55b2c] {
105
105
  font-size: 12px;
106
106
  line-height: 18px;
107
107
  }
108
108
  }
109
- .tips-content[data-v-c5f77844] {
109
+ .tips-content[data-v-41b55b2c] {
110
110
  font-weight: normal;
111
111
  color: var(--o-color-info2);
112
112
  display: flex;
113
113
  justify-content: space-between;
114
114
  }
115
115
  @media (min-width: 841px) and (max-width: 1200px) {
116
- .tips[data-v-c5f77844] {
116
+ .tips[data-v-41b55b2c] {
117
117
  width: 480px;
118
118
  }
119
119
  }
120
- .tips.lang-en[data-v-c5f77844] {
120
+ .tips.lang-en[data-v-41b55b2c] {
121
121
  width: 592px;
122
122
  }
123
123
  @media (min-width: 841px) and (max-width: 1200px) {
124
- .tips.lang-en[data-v-c5f77844] {
124
+ .tips.lang-en[data-v-41b55b2c] {
125
125
  width: 480px;
126
126
  }
127
127
  }
128
- .red[data-v-c5f77844] {
128
+ .red[data-v-41b55b2c] {
129
129
  color: var(--o-color-danger1);
130
130
  }
131
- .text-btn[data-v-c5f77844] {
131
+ .text-btn[data-v-41b55b2c] {
132
132
  font-size: 16px;
133
133
  line-height: 24px;
134
134
  }
135
135
  @media (min-width: 1201px) and (max-width: 1680px) {
136
- .text-btn[data-v-c5f77844] {
136
+ .text-btn[data-v-41b55b2c] {
137
137
  font-size: 14px;
138
138
  line-height: 22px;
139
139
  }
140
140
  }
141
141
  @media (min-width: 841px) and (max-width: 1200px) {
142
- .text-btn[data-v-c5f77844] {
142
+ .text-btn[data-v-41b55b2c] {
143
143
  font-size: 14px;
144
144
  line-height: 22px;
145
145
  }
146
146
  }
147
147
  @media (min-width: 601px) and (max-width: 840px) {
148
- .text-btn[data-v-c5f77844] {
148
+ .text-btn[data-v-41b55b2c] {
149
149
  font-size: 14px;
150
150
  line-height: 22px;
151
151
  }
152
152
  }
153
153
  @media (max-width: 600px) {
154
- .text-btn[data-v-c5f77844] {
154
+ .text-btn[data-v-41b55b2c] {
155
155
  font-size: 12px;
156
156
  line-height: 18px;
157
157
  }
158
158
  }
159
- .text-btn[data-v-c5f77844] {
159
+ .text-btn[data-v-41b55b2c] {
160
160
  line-height: 24px;
161
161
  font-weight: Regular;
162
162
  cursor: pointer;
163
163
  white-space: nowrap;
164
164
  margin-left: 16px;
165
165
  }
166
- .text-btn[data-v-c5f77844]:hover {
166
+ .text-btn[data-v-41b55b2c]:hover {
167
167
  color: var(--o-color-danger2);
168
168
  }
169
- .forget-btn[data-v-c5f77844] {
169
+ .forget-btn[data-v-41b55b2c] {
170
170
  margin-left: 16px;
171
171
  font-size: 16px;
172
172
  line-height: 24px;
173
173
  }
174
174
  @media (min-width: 1201px) and (max-width: 1680px) {
175
- .forget-btn[data-v-c5f77844] {
175
+ .forget-btn[data-v-41b55b2c] {
176
176
  font-size: 14px;
177
177
  line-height: 22px;
178
178
  }
179
179
  }
180
180
  @media (min-width: 841px) and (max-width: 1200px) {
181
- .forget-btn[data-v-c5f77844] {
181
+ .forget-btn[data-v-41b55b2c] {
182
182
  font-size: 14px;
183
183
  line-height: 22px;
184
184
  }
185
185
  }
186
186
  @media (min-width: 601px) and (max-width: 840px) {
187
- .forget-btn[data-v-c5f77844] {
187
+ .forget-btn[data-v-41b55b2c] {
188
188
  font-size: 14px;
189
189
  line-height: 22px;
190
190
  }
191
191
  }
192
192
  @media (max-width: 600px) {
193
- .forget-btn[data-v-c5f77844] {
193
+ .forget-btn[data-v-41b55b2c] {
194
194
  font-size: 12px;
195
195
  line-height: 18px;
196
196
  }
197
197
  }
198
- .tips-bg[data-v-c5f77844] {
198
+ .tips-bg[data-v-41b55b2c] {
199
199
  line-height: 24px;
200
200
  }
201
- .tips-bg a[data-v-c5f77844] {
201
+ .tips-bg a[data-v-41b55b2c] {
202
202
  color: var(--o-color-link1);
203
203
  }
204
- .tips-bg a[data-v-c5f77844]:hover {
204
+ .tips-bg a[data-v-41b55b2c]:hover {
205
205
  color: var(--o-color-primary2);
206
206
  }
207
- .security-pad[data-v-c5f77844] {
207
+ .security-pad[data-v-41b55b2c] {
208
208
  /* 三行合并为一张白色卡片,距顶部 16px */
209
209
  margin-top: 16px;
210
210
  background-color: var(--o-color-fill2);
211
211
  border-radius: 4px;
212
212
  padding: 0 16px;
213
213
  }
214
- .security-pad .tips[data-v-c5f77844] {
214
+ .security-pad .tips[data-v-41b55b2c] {
215
215
  width: 100%;
216
216
  /* 重置基础规则的 max-width:592px,移动端卡片行始终通栏 */
217
217
  max-width: 100%;
@@ -220,32 +220,32 @@
220
220
  background-color: transparent;
221
221
  border-bottom: 1px solid var(--o-color-control4);
222
222
  }
223
- .security-pad .tips[data-v-c5f77844]:last-child {
223
+ .security-pad .tips[data-v-41b55b2c]:last-child {
224
224
  border-bottom: none;
225
225
  }
226
- .security-pad .tips-title[data-v-c5f77844] {
226
+ .security-pad .tips-title[data-v-41b55b2c] {
227
227
  margin-bottom: 8px;
228
228
  }
229
- .security-pad .tips-content[data-v-c5f77844] {
229
+ .security-pad .tips-content[data-v-41b55b2c] {
230
230
  color: var(--o-color-info2);
231
231
  }
232
- .security-pad .tips .forget-btn[data-v-c5f77844] {
232
+ .security-pad .tips .forget-btn[data-v-41b55b2c] {
233
233
  margin-left: 0;
234
234
  }
235
- .security-pad[data-v-c5f77844] {
235
+ .security-pad[data-v-41b55b2c] {
236
236
  /* 登录密码 / 注销账号:标题上、描述+箭头下 */
237
237
  }
238
- .security-pad .tips-inline .tips-content[data-v-c5f77844] {
238
+ .security-pad .tips-inline .tips-content[data-v-41b55b2c] {
239
239
  display: flex;
240
240
  align-items: center;
241
241
  justify-content: space-between;
242
242
  }
243
- .security-pad .tips-inline .tips-content .tips-desc[data-v-c5f77844] {
243
+ .security-pad .tips-inline .tips-content .tips-desc[data-v-41b55b2c] {
244
244
  display: block;
245
245
  flex: 1;
246
246
  margin-right: 16px;
247
247
  }
248
- .security-pad .tips-inline .arrow[data-v-c5f77844] {
248
+ .security-pad .tips-inline .arrow[data-v-41b55b2c] {
249
249
  width: 24px;
250
250
  height: 24px;
251
251
  cursor: pointer;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./OAccountSecurity.vue2.mjs";
2
2
  import './OAccountSecurity.css';
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const _OAccountSecurity = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c5f77844"]]);
4
+ const _OAccountSecurity = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-41b55b2c"]]);
5
5
  export {
6
6
  _OAccountSecurity as default
7
7
  };
@@ -132,16 +132,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
132
132
  emit("refresh");
133
133
  });
134
134
  };
135
- const protocolList = computed(() => [
136
- {
137
- url: `${props.mainDomainUrl}/privacy`,
138
- urlEn: `${props.mainDomainUrl}/privacy/en`
139
- },
140
- {
141
- url: `${props.mainDomainUrl}/legal`,
142
- urlEn: `${props.mainDomainUrl}/legal/en`
135
+ const protocolList = computed(() => {
136
+ var _a;
137
+ if (((_a = props.community) == null ? void 0 : _a.toLowerCase()) === "mindspore") {
138
+ return [
139
+ {
140
+ url: `${props.mainDomainUrl}/privacy/zh`,
141
+ urlEn: `${props.mainDomainUrl}/privacy/en`
142
+ },
143
+ {
144
+ url: `${props.mainDomainUrl}/legal/zh`,
145
+ urlEn: `${props.mainDomainUrl}/legal/en`
146
+ }
147
+ ];
143
148
  }
144
- ]);
149
+ return [
150
+ {
151
+ url: `${props.mainDomainUrl}/zh/privacy/`,
152
+ urlEn: `${props.mainDomainUrl}/en/privacy/`
153
+ },
154
+ {
155
+ url: `${props.mainDomainUrl}/zh/legal/`,
156
+ urlEn: `${props.mainDomainUrl}/en/legal/`
157
+ }
158
+ ];
159
+ });
145
160
  const forgetPwd = () => {
146
161
  if (!isSendCodeEmail(props.userInfo.email) && !props.userInfo.phone) {
147
162
  toBindingModalVisible.value = true;