@opendesign-plus/components 0.0.1-rc.81 → 0.0.1-rc.83

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 (34) hide show
  1. package/dist/components/header/types.d.ts +3 -0
  2. package/dist/components/header/utils.d.ts +4 -0
  3. package/dist/components/meeting/OMeetingMinutes.vue.d.ts +1 -0
  4. package/dist/components/meeting/index.d.ts +1 -0
  5. package/dist/components/meeting/types.d.ts +2 -0
  6. package/dist/components.cjs.js +39 -39
  7. package/dist/components.css +1 -1
  8. package/dist/components.es.js +8560 -8506
  9. package/dist/treeshaking/components/brand/OBrandLogo.css +27 -21
  10. package/dist/treeshaking/components/brand/OBrandLogo.vue.mjs +1 -1
  11. package/dist/treeshaking/components/brand/OBrandLogo.vue2.mjs +1 -1
  12. package/dist/treeshaking/components/header/components/HeaderContent.css +189 -187
  13. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
  14. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +6 -11
  15. package/dist/treeshaking/components/header/components/HeaderFlatten.css +56 -56
  16. package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
  17. package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +4 -3
  18. package/dist/treeshaking/components/header/components/HeaderNav.css +49 -49
  19. package/dist/treeshaking/components/header/components/HeaderNav.vue.mjs +1 -1
  20. package/dist/treeshaking/components/header/components/HeaderNav.vue2.mjs +3 -1
  21. package/dist/treeshaking/components/header/components/HeaderNavMobile.css +80 -80
  22. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
  23. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +25 -22
  24. package/dist/treeshaking/components/header/types.d.ts +3 -0
  25. package/dist/treeshaking/components/header/utils.d.ts +4 -0
  26. package/dist/treeshaking/components/header/utils.mjs +20 -0
  27. package/dist/treeshaking/components/meeting/OMeetingMinutes.css +33 -42
  28. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +1 -0
  29. package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.mjs +113 -71
  30. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.css +5 -28
  31. package/dist/treeshaking/components/meeting/OMeetingSendMinutesForm.vue.mjs +11 -4
  32. package/dist/treeshaking/components/meeting/index.d.ts +1 -0
  33. package/dist/treeshaking/components/meeting/types.d.ts +2 -0
  34. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
- .hover-icon-rotate .o-icon[data-v-8c853215] {
1
+ .hover-icon-rotate .o-icon[data-v-5c72051b] {
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-8c853215] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-5c72051b] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .header-nav[data-v-8c853215] {
9
+ .header-nav[data-v-5c72051b] {
10
10
  flex: 1;
11
11
  justify-content: space-between;
12
12
  width: 100%;
@@ -19,13 +19,13 @@
19
19
  opacity: 0;
20
20
  display: flex;
21
21
  }
22
- .header-nav.active[data-v-8c853215] {
22
+ .header-nav.active[data-v-5c72051b] {
23
23
  opacity: 1;
24
24
  visibility: visible;
25
25
  transform: translateX(0);
26
26
  background-color: var(--o-color-mask1);
27
27
  }
28
- .o-nav[data-v-8c853215] {
28
+ .o-nav[data-v-5c72051b] {
29
29
  height: 100%;
30
30
  min-width: 99px;
31
31
  max-width: 40%;
@@ -35,35 +35,35 @@
35
35
  flex-direction: column;
36
36
  justify-content: space-between;
37
37
  }
38
- .o-nav .o-nav-list > li[data-v-8c853215] {
38
+ .o-nav .o-nav-list > li[data-v-5c72051b] {
39
39
  font-size: 18px;
40
40
  line-height: 26px;
41
41
  }
42
42
  @media (min-width: 1201px) and (max-width: 1680px) {
43
- .o-nav .o-nav-list > li[data-v-8c853215] {
43
+ .o-nav .o-nav-list > li[data-v-5c72051b] {
44
44
  font-size: 16px;
45
45
  line-height: 24px;
46
46
  }
47
47
  }
48
48
  @media (min-width: 841px) and (max-width: 1200px) {
49
- .o-nav .o-nav-list > li[data-v-8c853215] {
49
+ .o-nav .o-nav-list > li[data-v-5c72051b] {
50
50
  font-size: 14px;
51
51
  line-height: 22px;
52
52
  }
53
53
  }
54
54
  @media (min-width: 601px) and (max-width: 840px) {
55
- .o-nav .o-nav-list > li[data-v-8c853215] {
55
+ .o-nav .o-nav-list > li[data-v-5c72051b] {
56
56
  font-size: 14px;
57
57
  line-height: 22px;
58
58
  }
59
59
  }
60
60
  @media (max-width: 600px) {
61
- .o-nav .o-nav-list > li[data-v-8c853215] {
61
+ .o-nav .o-nav-list > li[data-v-5c72051b] {
62
62
  font-size: 14px;
63
63
  line-height: 22px;
64
64
  }
65
65
  }
66
- .o-nav .o-nav-list > li[data-v-8c853215] {
66
+ .o-nav .o-nav-list > li[data-v-5c72051b] {
67
67
  display: flex;
68
68
  align-items: center;
69
69
  min-height: 48px;
@@ -71,40 +71,40 @@
71
71
  padding-right: var(--o-gap-2);
72
72
  color: var(--o-color-info1);
73
73
  }
74
- .o-nav .o-nav-list > li.active[data-v-8c853215] {
74
+ .o-nav .o-nav-list > li.active[data-v-5c72051b] {
75
75
  color: var(--o-color-primary1);
76
76
  background: var(--o-color-fill2);
77
77
  font-weight: 500;
78
78
  }
79
- .o-nav .o-nav-list > li.is-disabled[data-v-8c853215] {
79
+ .o-nav .o-nav-list > li.is-disabled[data-v-5c72051b] {
80
80
  color: var(--o-color-info4);
81
81
  pointer-events: none;
82
82
  }
83
- .o-nav .o-nav-list > li .text-label[data-v-8c853215] {
83
+ .o-nav .o-nav-list > li .text-label[data-v-5c72051b] {
84
84
  display: block;
85
85
  white-space: pre-wrap;
86
86
  word-wrap: break-word;
87
87
  width: 100%;
88
88
  }
89
- .nav-aside[data-v-8c853215] {
89
+ .nav-aside[data-v-5c72051b] {
90
90
  background-color: var(--o-color-fill2);
91
91
  flex: 1;
92
92
  height: 100%;
93
93
  }
94
- .nav-aside .nav-aside-wrapper[data-v-8c853215] {
94
+ .nav-aside .nav-aside-wrapper[data-v-5c72051b] {
95
95
  overflow-y: auto;
96
96
  padding: 16px 12px 32px;
97
97
  height: 100%;
98
98
  }
99
- .nav-aside .nav-aside-wrapper .nav-aside-content[data-v-8c853215] {
99
+ .nav-aside .nav-aside-wrapper .nav-aside-content[data-v-5c72051b] {
100
100
  display: block;
101
101
  flex: 0 1 auto;
102
102
  }
103
- .nav-aside .nav-aside-wrapper .nav-aside-content + .nav-aside-content[data-v-8c853215] {
103
+ .nav-aside .nav-aside-wrapper .nav-aside-content + .nav-aside-content[data-v-5c72051b] {
104
104
  position: relative;
105
105
  padding-top: var(--o-gap-3);
106
106
  }
107
- .nav-aside .nav-aside-wrapper .nav-aside-content + .nav-aside-content[data-v-8c853215]::before {
107
+ .nav-aside .nav-aside-wrapper .nav-aside-content + .nav-aside-content[data-v-5c72051b]::before {
108
108
  content: "";
109
109
  position: absolute;
110
110
  top: 0;
@@ -112,49 +112,49 @@
112
112
  height: 1px;
113
113
  background-color: rgba(var(--o-grey-14), 0.1);
114
114
  }
115
- .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-8c853215] {
115
+ .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-5c72051b] {
116
116
  color: var(--o-color-info3);
117
117
  margin-bottom: 8px;
118
118
  font-size: 18px;
119
119
  line-height: 26px;
120
120
  }
121
121
  @media (min-width: 1201px) and (max-width: 1680px) {
122
- .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-8c853215] {
122
+ .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-5c72051b] {
123
123
  font-size: 16px;
124
124
  line-height: 24px;
125
125
  }
126
126
  }
127
127
  @media (min-width: 841px) and (max-width: 1200px) {
128
- .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-8c853215] {
128
+ .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-5c72051b] {
129
129
  font-size: 14px;
130
130
  line-height: 22px;
131
131
  }
132
132
  }
133
133
  @media (min-width: 601px) and (max-width: 840px) {
134
- .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-8c853215] {
134
+ .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-5c72051b] {
135
135
  font-size: 14px;
136
136
  line-height: 22px;
137
137
  }
138
138
  }
139
139
  @media (max-width: 600px) {
140
- .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-8c853215] {
140
+ .nav-aside .nav-aside-wrapper .nav-aside-content .content-label[data-v-5c72051b] {
141
141
  font-size: 14px;
142
142
  line-height: 22px;
143
143
  }
144
144
  }
145
- .nav-aside .nav-aside-wrapper .nav-aside-content .item-not-children[data-v-8c853215] {
145
+ .nav-aside .nav-aside-wrapper .nav-aside-content .item-not-children[data-v-5c72051b] {
146
146
  margin-bottom: 12px;
147
147
  display: flex;
148
148
  align-items: center;
149
149
  }
150
- .nav-aside .nav-aside-wrapper .nav-aside-content .item-not-children .o-tag[data-v-8c853215] {
150
+ .nav-aside .nav-aside-wrapper .nav-aside-content .item-not-children .o-tag[data-v-5c72051b] {
151
151
  margin-left: var(--o-gap-2);
152
152
  --layout-pkg-radius: 100vh;
153
153
  }
154
- .nav-aside .nav-aside-wrapper .nav-aside-content .item-not-children .o-icon[data-v-8c853215] {
154
+ .nav-aside .nav-aside-wrapper .nav-aside-content .item-not-children .o-icon[data-v-5c72051b] {
155
155
  margin-left: var(--o-gap-2);
156
156
  }
157
- .nav-aside .nav-aside-wrapper .source-code-item[data-v-8c853215] {
157
+ .nav-aside .nav-aside-wrapper .source-code-item[data-v-5c72051b] {
158
158
  height: 40px;
159
159
  display: flex;
160
160
  align-items: center;
@@ -164,91 +164,91 @@
164
164
  line-height: 26px;
165
165
  }
166
166
  @media (min-width: 1201px) and (max-width: 1680px) {
167
- .nav-aside .nav-aside-wrapper .source-code-item[data-v-8c853215] {
167
+ .nav-aside .nav-aside-wrapper .source-code-item[data-v-5c72051b] {
168
168
  font-size: 16px;
169
169
  line-height: 24px;
170
170
  }
171
171
  }
172
172
  @media (min-width: 841px) and (max-width: 1200px) {
173
- .nav-aside .nav-aside-wrapper .source-code-item[data-v-8c853215] {
173
+ .nav-aside .nav-aside-wrapper .source-code-item[data-v-5c72051b] {
174
174
  font-size: 14px;
175
175
  line-height: 22px;
176
176
  }
177
177
  }
178
178
  @media (min-width: 601px) and (max-width: 840px) {
179
- .nav-aside .nav-aside-wrapper .source-code-item[data-v-8c853215] {
179
+ .nav-aside .nav-aside-wrapper .source-code-item[data-v-5c72051b] {
180
180
  font-size: 14px;
181
181
  line-height: 22px;
182
182
  }
183
183
  }
184
184
  @media (max-width: 600px) {
185
- .nav-aside .nav-aside-wrapper .source-code-item[data-v-8c853215] {
185
+ .nav-aside .nav-aside-wrapper .source-code-item[data-v-5c72051b] {
186
186
  font-size: 14px;
187
187
  line-height: 22px;
188
188
  }
189
189
  }
190
- .nav-aside .nav-aside-wrapper .source-code-item.active[data-v-8c853215] {
190
+ .nav-aside .nav-aside-wrapper .source-code-item.active[data-v-5c72051b] {
191
191
  color: var(--o-color-primary1);
192
192
  }
193
- .nav-aside .nav-aside-wrapper .source-code-item + .source-code-item[data-v-8c853215] {
193
+ .nav-aside .nav-aside-wrapper .source-code-item + .source-code-item[data-v-5c72051b] {
194
194
  border-top: 1px solid var(--o-color-control4);
195
195
  }
196
- .nav-aside .nav-aside-wrapper .source-code-item .icon[data-v-8c853215] {
196
+ .nav-aside .nav-aside-wrapper .source-code-item .icon[data-v-5c72051b] {
197
197
  margin-left: var(--o-gap-2);
198
198
  }
199
- .nav-aside .nav-aside-wrapper[data-v-8c853215]::-webkit-scrollbar-track {
199
+ .nav-aside .nav-aside-wrapper[data-v-5c72051b]::-webkit-scrollbar-track {
200
200
  border-radius: 3px;
201
201
  }
202
- .nav-aside .nav-aside-wrapper[data-v-8c853215]::-webkit-scrollbar {
202
+ .nav-aside .nav-aside-wrapper[data-v-5c72051b]::-webkit-scrollbar {
203
203
  width: 6px;
204
204
  background-color: transparent;
205
205
  }
206
- .nav-aside .nav-aside-wrapper[data-v-8c853215]::-webkit-scrollbar-thumb {
206
+ .nav-aside .nav-aside-wrapper[data-v-5c72051b]::-webkit-scrollbar-thumb {
207
207
  border-radius: 3px;
208
208
  background: var(--o-color-control1);
209
209
  }
210
- .nav-aside .container-mobile[data-v-8c853215] {
210
+ .nav-aside .container-mobile[data-v-5c72051b] {
211
211
  font-size: 18px;
212
212
  line-height: 26px;
213
213
  }
214
214
  @media (min-width: 1201px) and (max-width: 1680px) {
215
- .nav-aside .container-mobile[data-v-8c853215] {
215
+ .nav-aside .container-mobile[data-v-5c72051b] {
216
216
  font-size: 16px;
217
217
  line-height: 24px;
218
218
  }
219
219
  }
220
220
  @media (min-width: 841px) and (max-width: 1200px) {
221
- .nav-aside .container-mobile[data-v-8c853215] {
221
+ .nav-aside .container-mobile[data-v-5c72051b] {
222
222
  font-size: 14px;
223
223
  line-height: 22px;
224
224
  }
225
225
  }
226
226
  @media (min-width: 601px) and (max-width: 840px) {
227
- .nav-aside .container-mobile[data-v-8c853215] {
227
+ .nav-aside .container-mobile[data-v-5c72051b] {
228
228
  font-size: 14px;
229
229
  line-height: 22px;
230
230
  }
231
231
  }
232
232
  @media (max-width: 600px) {
233
- .nav-aside .container-mobile[data-v-8c853215] {
233
+ .nav-aside .container-mobile[data-v-5c72051b] {
234
234
  font-size: 14px;
235
235
  line-height: 22px;
236
236
  }
237
237
  }
238
- .nav-aside .container-mobile .o-icon[data-v-8c853215] {
238
+ .nav-aside .container-mobile .o-icon[data-v-5c72051b] {
239
239
  --icon-size: 16px;
240
240
  margin-left: var(--o-gap-2);
241
241
  }
242
- .nav-aside .content-container-mobile[data-v-8c853215] {
242
+ .nav-aside .content-container-mobile[data-v-5c72051b] {
243
243
  margin-top: var(--o-gap-3);
244
244
  }
245
- .nav-aside .content-container-mobile[data-v-8c853215]:first-child {
245
+ .nav-aside .content-container-mobile[data-v-5c72051b]:first-child {
246
246
  margin-top: 8px;
247
247
  }
248
- .nav-aside .content-container-mobile[data-v-8c853215]:last-child {
248
+ .nav-aside .content-container-mobile[data-v-5c72051b]:last-child {
249
249
  margin-bottom: 12px;
250
250
  }
251
- .nav-aside .content-container-mobile .content-subtitle[data-v-8c853215] {
251
+ .nav-aside .content-container-mobile .content-subtitle[data-v-5c72051b] {
252
252
  color: var(--o-color-info1);
253
253
  display: flex;
254
254
  align-items: center;
@@ -256,41 +256,41 @@
256
256
  line-height: 26px;
257
257
  }
258
258
  @media (min-width: 1201px) and (max-width: 1680px) {
259
- .nav-aside .content-container-mobile .content-subtitle[data-v-8c853215] {
259
+ .nav-aside .content-container-mobile .content-subtitle[data-v-5c72051b] {
260
260
  font-size: 16px;
261
261
  line-height: 24px;
262
262
  }
263
263
  }
264
264
  @media (min-width: 841px) and (max-width: 1200px) {
265
- .nav-aside .content-container-mobile .content-subtitle[data-v-8c853215] {
265
+ .nav-aside .content-container-mobile .content-subtitle[data-v-5c72051b] {
266
266
  font-size: 14px;
267
267
  line-height: 22px;
268
268
  }
269
269
  }
270
270
  @media (min-width: 601px) and (max-width: 840px) {
271
- .nav-aside .content-container-mobile .content-subtitle[data-v-8c853215] {
271
+ .nav-aside .content-container-mobile .content-subtitle[data-v-5c72051b] {
272
272
  font-size: 14px;
273
273
  line-height: 22px;
274
274
  }
275
275
  }
276
276
  @media (max-width: 600px) {
277
- .nav-aside .content-container-mobile .content-subtitle[data-v-8c853215] {
277
+ .nav-aside .content-container-mobile .content-subtitle[data-v-5c72051b] {
278
278
  font-size: 14px;
279
279
  line-height: 22px;
280
280
  }
281
281
  }
282
- .nav-aside .content-container-mobile .content-subtitle .item-label[data-v-8c853215] {
282
+ .nav-aside .content-container-mobile .content-subtitle .item-label[data-v-5c72051b] {
283
283
  font-weight: 600;
284
284
  }
285
- .nav-aside .content-container-mobile .content-tag[data-v-8c853215] {
285
+ .nav-aside .content-container-mobile .content-tag[data-v-5c72051b] {
286
286
  margin-left: var(--o-gap-2);
287
287
  --layout-pkg-radius: var(--o-radius-xs);
288
288
  }
289
- .nav-aside .content-container-mobile .desc-container[data-v-8c853215] {
289
+ .nav-aside .content-container-mobile .desc-container[data-v-5c72051b] {
290
290
  overflow: hidden;
291
291
  position: relative;
292
292
  }
293
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
293
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
294
294
  color: var(--o-color-info2);
295
295
  margin-top: var(--o-gap-1);
296
296
  text-align: justify;
@@ -299,30 +299,30 @@
299
299
  line-height: 22px;
300
300
  }
301
301
  @media (min-width: 1201px) and (max-width: 1680px) {
302
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
302
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
303
303
  font-size: 14px;
304
304
  line-height: 18px;
305
305
  }
306
306
  }
307
307
  @media (min-width: 841px) and (max-width: 1200px) {
308
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
308
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
309
309
  font-size: 12px;
310
310
  line-height: 18px;
311
311
  }
312
312
  }
313
313
  @media (min-width: 601px) and (max-width: 840px) {
314
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
314
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
315
315
  font-size: 12px;
316
316
  line-height: 18px;
317
317
  }
318
318
  }
319
319
  @media (max-width: 600px) {
320
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
320
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
321
321
  font-size: 12px;
322
322
  line-height: 18px;
323
323
  }
324
324
  }
325
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
325
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
326
326
  overflow: hidden;
327
327
  text-overflow: ellipsis;
328
328
  word-break: break-all;
@@ -331,47 +331,47 @@
331
331
  -webkit-line-clamp: 2;
332
332
  }
333
333
  @media (max-width: 600px) {
334
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
334
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
335
335
  font-size: 16px;
336
336
  line-height: 24px;
337
337
  }
338
338
  }
339
339
  @media (max-width: 600px) and (min-width: 1201px) and (max-width: 1680px) {
340
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
340
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
341
341
  font-size: 14px;
342
342
  line-height: 22px;
343
343
  }
344
344
  }
345
345
  @media (max-width: 600px) and (min-width: 841px) and (max-width: 1200px) {
346
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
346
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
347
347
  font-size: 14px;
348
348
  line-height: 22px;
349
349
  }
350
350
  }
351
351
  @media (max-width: 600px) and (min-width: 601px) and (max-width: 840px) {
352
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
352
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
353
353
  font-size: 14px;
354
354
  line-height: 22px;
355
355
  }
356
356
  }
357
357
  @media (max-width: 600px) and (max-width: 600px) {
358
- .nav-aside .content-container-mobile .desc-container .item-desc[data-v-8c853215] {
358
+ .nav-aside .content-container-mobile .desc-container .item-desc[data-v-5c72051b] {
359
359
  font-size: 12px;
360
360
  line-height: 18px;
361
361
  }
362
362
  }
363
- .nav-aside .content-item-disabled[data-v-8c853215] {
363
+ .nav-aside .content-item-disabled[data-v-5c72051b] {
364
364
  cursor: no-drop;
365
365
  }
366
- .nav-aside .content-item-disabled .content-subtitle[data-v-8c853215] {
366
+ .nav-aside .content-item-disabled .content-subtitle[data-v-5c72051b] {
367
367
  color: var(--o-color-info4);
368
368
  cursor: no-drop;
369
369
  pointer-events: none;
370
370
  }
371
- .nav-aside .content-item-disabled .desc-container .item-desc[data-v-8c853215] {
371
+ .nav-aside .content-item-disabled .desc-container .item-desc[data-v-5c72051b] {
372
372
  color: var(--o-color-info4);
373
373
  }
374
- .header-tool[data-v-8c853215] {
374
+ .header-tool[data-v-5c72051b] {
375
375
  margin-bottom: 36px;
376
376
  width: 100%;
377
377
  display: flex;
@@ -379,7 +379,7 @@
379
379
  align-items: center;
380
380
  flex-direction: column;
381
381
  }
382
- .header-tool-item[data-v-8c853215] {
382
+ .header-tool-item[data-v-5c72051b] {
383
383
  width: 100%;
384
384
  display: flex;
385
385
  align-items: center;
@@ -388,47 +388,47 @@
388
388
  padding-right: var(--o-gap-2);
389
389
  color: var(--o-color-info1);
390
390
  }
391
- .header-tool-item.active[data-v-8c853215] {
391
+ .header-tool-item.active[data-v-5c72051b] {
392
392
  color: var(--o-color-primary1);
393
393
  background: var(--o-color-fill2);
394
394
  font-weight: 500;
395
395
  }
396
- .header-tool-item.is-disabled[data-v-8c853215] {
396
+ .header-tool-item.is-disabled[data-v-5c72051b] {
397
397
  color: var(--o-color-info4);
398
398
  pointer-events: none;
399
399
  }
400
- .header-tool-item[data-v-8c853215] {
400
+ .header-tool-item[data-v-5c72051b] {
401
401
  font-size: 18px;
402
402
  line-height: 26px;
403
403
  }
404
404
  @media (min-width: 1201px) and (max-width: 1680px) {
405
- .header-tool-item[data-v-8c853215] {
405
+ .header-tool-item[data-v-5c72051b] {
406
406
  font-size: 16px;
407
407
  line-height: 24px;
408
408
  }
409
409
  }
410
410
  @media (min-width: 841px) and (max-width: 1200px) {
411
- .header-tool-item[data-v-8c853215] {
411
+ .header-tool-item[data-v-5c72051b] {
412
412
  font-size: 14px;
413
413
  line-height: 22px;
414
414
  }
415
415
  }
416
416
  @media (min-width: 601px) and (max-width: 840px) {
417
- .header-tool-item[data-v-8c853215] {
417
+ .header-tool-item[data-v-5c72051b] {
418
418
  font-size: 14px;
419
419
  line-height: 22px;
420
420
  }
421
421
  }
422
422
  @media (max-width: 600px) {
423
- .header-tool-item[data-v-8c853215] {
423
+ .header-tool-item[data-v-5c72051b] {
424
424
  font-size: 14px;
425
425
  line-height: 22px;
426
426
  }
427
427
  }
428
- .other-tool[data-v-8c853215] {
428
+ .other-tool[data-v-5c72051b] {
429
429
  width: 100%;
430
430
  padding: var(--o-gap-2) var(--o-gap-2) 0 var(--o-gap-5);
431
431
  }
432
- .mindspore .content-container-mobile .content-tag[data-v-8c853215] {
432
+ .mindspore .content-container-mobile .content-tag[data-v-5c72051b] {
433
433
  --layout-pkg-radius: 100vh;
434
434
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./HeaderNavMobile.vue2.mjs";
2
2
  import './HeaderNavMobile.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const HeaderNavMobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8c853215"]]);
4
+ const HeaderNavMobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5c72051b"]]);
5
5
  export {
6
6
  HeaderNavMobile as default
7
7
  };
@@ -1,6 +1,7 @@
1
- import { defineComponent, ref, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString, createCommentVNode, renderSlot, createBlock, unref, withCtx, resolveDynamicComponent, createTextVNode } from "vue";
1
+ import { defineComponent, ref, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, toDisplayString, createCommentVNode, renderSlot, unref, createBlock, withCtx, resolveDynamicComponent, createTextVNode } from "vue";
2
2
  import { OIcon, OTag } from "@opensig/opendesign";
3
3
  import { NavType } from "../types.mjs";
4
+ import { linkTarget, isTagExpired, isCodeItem } from "../utils.mjs";
4
5
  const _hoisted_1 = { class: "o-nav" };
5
6
  const _hoisted_2 = { class: "o-nav-list" };
6
7
  const _hoisted_3 = ["onClick"];
@@ -16,17 +17,17 @@ const _hoisted_6 = {
16
17
  const _hoisted_7 = ["value"];
17
18
  const _hoisted_8 = { class: "content-label" };
18
19
  const _hoisted_9 = { class: "container-mobile" };
19
- const _hoisted_10 = ["onClick"];
20
+ const _hoisted_10 = ["href", "target"];
20
21
  const _hoisted_11 = { class: "item-label" };
21
22
  const _hoisted_12 = { class: "desc-container" };
22
23
  const _hoisted_13 = { class: "item-desc" };
23
- const _hoisted_14 = ["onClick"];
24
+ const _hoisted_14 = ["href", "target"];
24
25
  const _hoisted_15 = { class: "item-label" };
25
26
  const _hoisted_16 = {
26
27
  key: 1,
27
28
  class: "nav-aside-wrapper"
28
29
  };
29
- const _hoisted_17 = ["onClick"];
30
+ const _hoisted_17 = ["href", "target", "onClick"];
30
31
  const _sfc_main = /* @__PURE__ */ defineComponent({
31
32
  __name: "HeaderNavMobile",
32
33
  props: {
@@ -60,19 +61,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
61
  navInfo.value = props.langData;
61
62
  }
62
63
  };
63
- const onClick = (url, target) => {
64
- if (target) {
65
- window.open(url, target);
66
- } else if (url == null ? void 0 : url.startsWith("http")) {
67
- window.open(url, "_blank");
68
- } else {
69
- window.location.href = url;
70
- }
64
+ const onClick = () => {
71
65
  emit("on-click");
72
66
  };
73
67
  const onClickNav = (val) => {
74
- if ("href" in val) {
75
- onClick(val.href, val == null ? void 0 : val.target);
68
+ if (isCodeItem(val)) {
69
+ emit("on-click");
76
70
  } else {
77
71
  emit("lang-click", val);
78
72
  }
@@ -167,9 +161,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
167
161
  class: normalizeClass(["content-container-mobile", { "content-item-disabled": subItem == null ? void 0 : subItem.disabled }])
168
162
  }, [
169
163
  createElementVNode("a", {
170
- onClick: ($event) => onClick(subItem.href, subItem == null ? void 0 : subItem.target),
164
+ href: subItem.href,
165
+ target: unref(linkTarget)(subItem.href, subItem == null ? void 0 : subItem.target),
171
166
  rel: "noopener noreferrer",
172
- class: "content-subtitle"
167
+ class: "content-subtitle",
168
+ onClick
173
169
  }, [
174
170
  createElementVNode("span", _hoisted_11, toDisplayString(subItem.label), 1),
175
171
  subItem.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
@@ -178,10 +174,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
178
174
  ]),
179
175
  _: 2
180
176
  }, 1024)) : createCommentVNode("", true),
181
- subItem.tag ? (openBlock(), createBlock(unref(OTag), {
177
+ subItem.tag && !unref(isTagExpired)(subItem.tagExpire) ? (openBlock(), createBlock(unref(OTag), {
182
178
  key: 1,
183
179
  color: "danger",
184
180
  size: "small",
181
+ round: "pill",
185
182
  class: normalizeClass(["content-tag", `tag-${(_a3 = subItem == null ? void 0 : subItem.tag) == null ? void 0 : _a3.toLowerCase()}`])
186
183
  }, {
187
184
  default: withCtx(() => [
@@ -198,9 +195,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
198
195
  ])
199
196
  ], 64)) : (openBlock(), createElementBlock("a", {
200
197
  key: 1,
201
- onClick: ($event) => onClick(item.href, item == null ? void 0 : item.target),
198
+ href: item.href,
199
+ target: unref(linkTarget)(item.href, item == null ? void 0 : item.target),
202
200
  rel: "noopener noreferrer",
203
- class: "content-subtitle item-not-children"
201
+ class: "content-subtitle item-not-children",
202
+ onClick
204
203
  }, [
205
204
  createElementVNode("span", _hoisted_15, toDisplayString(item.label), 1),
206
205
  item.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
@@ -209,10 +208,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
209
208
  ]),
210
209
  _: 2
211
210
  }, 1024)) : createCommentVNode("", true),
212
- item.tag ? (openBlock(), createBlock(unref(OTag), {
211
+ item.tag && !unref(isTagExpired)(item.tagExpire) ? (openBlock(), createBlock(unref(OTag), {
213
212
  key: 1,
214
213
  color: "danger",
215
214
  size: "small",
215
+ round: "pill",
216
216
  class: normalizeClass(`tag-${(_a2 = item == null ? void 0 : item.tag) == null ? void 0 : _a2.toLowerCase()}`)
217
217
  }, {
218
218
  default: withCtx(() => [
@@ -227,8 +227,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
227
227
  (openBlock(true), createElementBlock(Fragment, null, renderList(navInfo.value.children, (item) => {
228
228
  return openBlock(), createElementBlock("a", {
229
229
  key: item.label,
230
- onClick: ($event) => onClickNav(item),
231
- class: "source-code-item"
230
+ href: unref(isCodeItem)(item) ? item.href : void 0,
231
+ target: unref(isCodeItem)(item) ? unref(linkTarget)(item.href, item.target) : void 0,
232
+ rel: "noopener noreferrer",
233
+ class: "source-code-item",
234
+ onClick: ($event) => onClickNav(item)
232
235
  }, [
233
236
  createElementVNode("span", null, toDisplayString(item.label), 1),
234
237
  item.icon ? (openBlock(), createBlock(unref(OIcon), { key: 0 }, {
@@ -9,6 +9,7 @@ export interface ChildrenItemT {
9
9
  description?: string;
10
10
  href?: string;
11
11
  tag?: tagT;
12
+ tagExpire?: string;
12
13
  icon?: any;
13
14
  target?: string;
14
15
  line?: number;
@@ -22,6 +23,7 @@ export interface ShortcutItemT {
22
23
  pictureDark?: string;
23
24
  href?: string;
24
25
  tag?: tagT;
26
+ tagExpire?: string;
25
27
  remark?: string;
26
28
  type?: string;
27
29
  target?: string;
@@ -36,6 +38,7 @@ export interface NavItemT {
36
38
  children: ChildrenItemT[];
37
39
  shortcut: ShortcutItemT[];
38
40
  tag?: string;
41
+ tagExpire?: string;
39
42
  disabled?: boolean;
40
43
  }
41
44
  export interface CodeItemT {
@@ -0,0 +1,4 @@
1
+ import { CodeItemT, LangItemT } from './types.ts';
2
+ export declare const isTagExpired: (tagExpire?: string) => boolean;
3
+ export declare const isCodeItem: (val: CodeItemT | LangItemT) => val is CodeItemT;
4
+ export declare const linkTarget: (url: string | undefined, target?: string) => string | undefined;
@@ -0,0 +1,20 @@
1
+ const isTagExpired = (tagExpire) => {
2
+ if (!tagExpire) {
3
+ return false;
4
+ }
5
+ const expireTime = (/* @__PURE__ */ new Date(`${tagExpire}T23:59:59.999`)).getTime();
6
+ return !Number.isNaN(expireTime) && Date.now() > expireTime;
7
+ };
8
+ const isCodeItem = (val) => "href" in val;
9
+ const linkTarget = (url, target) => {
10
+ if (target) {
11
+ return target;
12
+ } else {
13
+ return (url == null ? void 0 : url.startsWith("http")) ? "_blank" : void 0;
14
+ }
15
+ };
16
+ export {
17
+ isCodeItem,
18
+ isTagExpired,
19
+ linkTarget
20
+ };