@opendesign-plus-test/components 0.0.1-rc.135 → 0.0.1-rc.137

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 (116) hide show
  1. package/dist/chunk-OElCookieNotice.cjs.js +1 -1
  2. package/dist/chunk-OElCookieNotice.es.js +14 -14
  3. package/dist/components/feedback-doc/OFeedbackDoc.vue.d.ts +6 -1
  4. package/dist/components/feedback-doc/OFeedbackDocContent.vue.d.ts +2 -0
  5. package/dist/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +6 -1
  6. package/dist/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +4 -0
  7. package/dist/components/feedback-doc/index.d.ts +54 -6
  8. package/dist/components/footer/OFooter.vue.d.ts +4 -25
  9. package/dist/components/footer/components/FooterList.vue.d.ts +21 -0
  10. package/dist/components/footer/components/FooterSimple.vue.d.ts +23 -0
  11. package/dist/components/footer/index.d.ts +8 -64
  12. package/dist/components/footer/types.d.ts +48 -0
  13. package/dist/components/logo-swiper/OLogoSwiper.vue.d.ts +17 -0
  14. package/dist/components/logo-swiper/OLogoSwiperItems.vue.d.ts +17 -0
  15. package/dist/components/logo-swiper/index.d.ts +73 -0
  16. package/dist/components/logo-swiper/types.d.ts +18 -0
  17. package/dist/components/sig/OSigList.vue.d.ts +2 -2
  18. package/dist/components/sig/components/OSigItem.vue.d.ts +1 -5
  19. package/dist/components/sig/components/utils.d.ts +37 -2
  20. package/dist/components/sig/types.d.ts +7 -3
  21. package/dist/components.cjs.js +40 -40
  22. package/dist/components.css +1 -1
  23. package/dist/components.es.js +12961 -12870
  24. package/dist/index.d.ts +1 -0
  25. package/dist/treeshaking/_virtual/icon-filter.mjs +6 -5
  26. package/dist/treeshaking/components/activity/OActivityApproval.css +3 -6
  27. package/dist/treeshaking/components/activity/OActivityApproval2.css +3 -6
  28. package/dist/treeshaking/components/activity/OActivityForm.css +3 -6
  29. package/dist/treeshaking/components/activity/OActivityForm2.css +3 -6
  30. package/dist/treeshaking/components/activity/OActivityMyCalendar.css +3 -6
  31. package/dist/treeshaking/components/activity/OActivityMyCalendar2.css +3 -6
  32. package/dist/treeshaking/components/common/ThFilter.vue.mjs +1 -1
  33. package/dist/treeshaking/components/common/TooltipText.vue.mjs +3 -2
  34. package/dist/treeshaking/components/element-plus/OElCookieNotice.css +3 -6
  35. package/dist/treeshaking/components/element-plus/OElCookieNotice2.css +3 -6
  36. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.css +5 -5
  37. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.d.ts +6 -1
  38. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue.mjs +1 -1
  39. package/dist/treeshaking/components/feedback-doc/OFeedbackDoc.vue2.mjs +10 -4
  40. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.css +27 -27
  41. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.d.ts +2 -0
  42. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue.mjs +1 -1
  43. package/dist/treeshaking/components/feedback-doc/OFeedbackDocContent.vue2.mjs +8 -3
  44. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.d.ts +6 -1
  45. package/dist/treeshaking/components/feedback-doc/OFeedbackDocDialog.vue.mjs +12 -5
  46. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.css +3 -3
  47. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.d.ts +4 -0
  48. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue.mjs +1 -1
  49. package/dist/treeshaking/components/feedback-doc/OFeedbackDocPopup.vue2.mjs +7 -3
  50. package/dist/treeshaking/components/feedback-doc/index.d.ts +54 -6
  51. package/dist/treeshaking/components/footer/OFooter.css +33 -590
  52. package/dist/treeshaking/components/footer/OFooter.vue.d.ts +4 -25
  53. package/dist/treeshaking/components/footer/OFooter.vue.mjs +1 -1
  54. package/dist/treeshaking/components/footer/OFooter.vue2.mjs +76 -332
  55. package/dist/treeshaking/components/footer/components/FooterList.css +462 -0
  56. package/dist/treeshaking/components/footer/components/FooterList.vue.d.ts +21 -0
  57. package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +7 -0
  58. package/dist/treeshaking/components/footer/components/FooterList.vue2.mjs +215 -0
  59. package/dist/treeshaking/components/footer/components/FooterSimple.css +123 -0
  60. package/dist/treeshaking/components/footer/components/FooterSimple.vue.d.ts +23 -0
  61. package/dist/treeshaking/components/footer/components/FooterSimple.vue.mjs +7 -0
  62. package/dist/treeshaking/components/footer/components/FooterSimple.vue2.mjs +109 -0
  63. package/dist/treeshaking/components/footer/index.d.ts +8 -64
  64. package/dist/treeshaking/components/footer/types.d.ts +48 -0
  65. package/dist/treeshaking/components/header/components/HeaderContent.css +184 -184
  66. package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
  67. package/dist/treeshaking/components/header/components/HeaderContent.vue2.mjs +1 -1
  68. package/dist/treeshaking/components/header/components/HeaderFlatten.css +57 -57
  69. package/dist/treeshaking/components/header/components/HeaderFlatten.vue.mjs +1 -1
  70. package/dist/treeshaking/components/header/components/HeaderFlatten.vue2.mjs +5 -5
  71. package/dist/treeshaking/components/header/components/HeaderNavMobile.css +80 -80
  72. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue.mjs +1 -1
  73. package/dist/treeshaking/components/header/components/HeaderNavMobile.vue2.mjs +7 -1
  74. package/dist/treeshaking/components/logo-swiper/OLogoSwiper.css +31 -0
  75. package/dist/treeshaking/components/logo-swiper/OLogoSwiper.vue.d.ts +17 -0
  76. package/dist/treeshaking/components/logo-swiper/OLogoSwiper.vue.mjs +14 -0
  77. package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.css +88 -0
  78. package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.d.ts +17 -0
  79. package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue.mjs +7 -0
  80. package/dist/treeshaking/components/logo-swiper/OLogoSwiperItems.vue2.mjs +158 -0
  81. package/dist/treeshaking/components/logo-swiper/index.d.ts +73 -0
  82. package/dist/treeshaking/components/logo-swiper/index.mjs +16 -0
  83. package/dist/treeshaking/components/logo-swiper/types.d.ts +18 -0
  84. package/dist/treeshaking/components/meeting/OMeetingCalendar.css +3 -6
  85. package/dist/treeshaking/components/meeting/OMeetingForm.css +3 -6
  86. package/dist/treeshaking/components/meeting/OMeetingForm2.css +3 -6
  87. package/dist/treeshaking/components/meeting/OMeetingMyCalendar.css +3 -6
  88. package/dist/treeshaking/components/meeting/OMeetingMyCalendar2.css +3 -6
  89. package/dist/treeshaking/components/meeting/OMeetingSigCalendar.css +2 -1
  90. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.css +3 -6
  91. package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector2.css +3 -6
  92. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles.css +3 -6
  93. package/dist/treeshaking/components/meeting/components/OMeetingPlaybackSubtitles2.css +3 -6
  94. package/dist/treeshaking/components/sig/OSigDetail.css +39 -0
  95. package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +20 -9
  96. package/dist/treeshaking/components/sig/OSigList.css +353 -76
  97. package/dist/treeshaking/components/sig/OSigList.vue.d.ts +2 -2
  98. package/dist/treeshaking/components/sig/OSigList.vue.mjs +172 -262
  99. package/dist/treeshaking/components/sig/components/OSigItem.css +338 -22
  100. package/dist/treeshaking/components/sig/components/OSigItem.vue.d.ts +1 -5
  101. package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +26 -43
  102. package/dist/treeshaking/components/sig/components/OSigMember.css +0 -60
  103. package/dist/treeshaking/components/sig/components/OSigMember.vue.mjs +12 -17
  104. package/dist/treeshaking/components/sig/components/OSigRepo.css +12 -0
  105. package/dist/treeshaking/components/sig/components/OSigRepo.vue.mjs +10 -11
  106. package/dist/treeshaking/components/sig/components/OSigUserContribute.css +24 -0
  107. package/dist/treeshaking/components/sig/components/OSigUserContribute.vue.mjs +12 -10
  108. package/dist/treeshaking/components/sig/components/utils.d.ts +37 -2
  109. package/dist/treeshaking/components/sig/components/utils.mjs +36 -3
  110. package/dist/treeshaking/components/sig/types.d.ts +7 -3
  111. package/dist/treeshaking/i18n/en.mjs +2 -2
  112. package/dist/treeshaking/i18n/zh.mjs +2 -2
  113. package/dist/treeshaking/index.d.ts +1 -0
  114. package/dist/treeshaking/index.mjs +3 -0
  115. package/package.json +3 -3
  116. package/dist/treeshaking/_virtual/icon-filter2.mjs +0 -21
@@ -101,7 +101,6 @@
101
101
  }
102
102
  .o-sig-link .mail-link {
103
103
  min-width: 0;
104
- flex: 1;
105
104
  }
106
105
  .o-sig-link .mail-link .tooltip-text-wrapper {
107
106
  min-width: 0;
@@ -170,9 +169,8 @@
170
169
  }
171
170
  }
172
171
  .o-sig-description {
173
- margin-top: var(--o-gap-2);
172
+ margin-top: var(--o-gap-3);
174
173
  color: var(--o-color-info2);
175
- height: 44px;
176
174
  font-weight: 400;
177
175
  overflow: hidden;
178
176
  text-overflow: ellipsis;
@@ -207,16 +205,10 @@
207
205
  line-height: 18px;
208
206
  }
209
207
  }
210
- @media (max-width: 1680px) {
211
- .o-sig-description {
212
- height: 36px;
213
- }
214
- }
215
208
  @media (max-width: 840px) {
216
209
  .o-sig-description {
217
- margin-top: 6px;
210
+ margin-top: var(--o-gap-2);
218
211
  order: 1;
219
- height: auto;
220
212
  font-size: 16px;
221
213
  line-height: 24px;
222
214
  }
@@ -245,14 +237,6 @@
245
237
  line-height: 18px;
246
238
  }
247
239
  }
248
- .o-sig-description .o-sig-repo {
249
- display: flex;
250
- }
251
- .o-sig-description .o-sig-repo .o-sig-repo-label {
252
- color: var(--o-color-info1);
253
- font-weight: 500;
254
- margin-right: 8px;
255
- }
256
240
  .o-sig-bottom {
257
241
  display: flex;
258
242
  align-items: center;
@@ -289,6 +273,9 @@
289
273
  --icon-size: 16px;
290
274
  margin-right: 4px;
291
275
  }
276
+ .o-sig-bottom .o-icon svg path {
277
+ fill: currentColor;
278
+ }
292
279
  .o-sig-bottom .o-sig-meta-text {
293
280
  cursor: pointer;
294
281
  margin-bottom: 0;
@@ -331,19 +318,348 @@
331
318
  .o-sig-item {
332
319
  position: relative;
333
320
  }
321
+ .o-sig-item-header {
322
+ display: flex;
323
+ justify-content: space-between;
324
+ align-items: center;
325
+ }
326
+ .o-sig-name {
327
+ cursor: pointer;
328
+ color: var(--o-color-info1);
329
+ font-weight: 600;
330
+ font-size: 22px;
331
+ line-height: 30px;
332
+ }
333
+ }
334
+ @media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
335
+ .o-sig-name {
336
+ font-size: 18px;
337
+ line-height: 26px;
338
+ }
339
+ }
340
+ @media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
341
+ .o-sig-name {
342
+ font-size: 16px;
343
+ line-height: 24px;
344
+ }
345
+ }
346
+ @media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
347
+ .o-sig-name {
348
+ font-size: 16px;
349
+ line-height: 24px;
350
+ }
351
+ }
352
+ @media (max-width: 840px) and (max-width: 600px) {
353
+ .o-sig-name {
354
+ font-size: 16px;
355
+ line-height: 24px;
356
+ }
357
+ }
358
+ @media (max-width: 840px) and (hover: hover) {
359
+ .o-sig-name:hover {
360
+ color: var(--o-color-primary1);
361
+ }
362
+ }
363
+ @media (max-width: 840px) {
364
+ .o-sig-type-tag {
365
+ --tag-bd-color: var(--o-color-control4);
366
+ --tag-height: 24px;
367
+ }
368
+ }
369
+ @media (max-width: 840px) and (max-width: 1680px) {
370
+ .o-sig-type-tag {
371
+ --tag-height: 20px;
372
+ }
373
+ }
374
+ @media (max-width: 840px) and (max-width: 840px) {
334
375
  .o-sig-type-tag {
335
376
  position: absolute;
336
377
  top: 8px;
337
378
  right: 4px;
338
379
  }
380
+ }
381
+ @media (max-width: 840px) {
382
+ .o-sig-link {
383
+ display: flex;
384
+ align-items: center;
385
+ margin-top: var(--o-gap-2);
386
+ }
387
+ .o-sig-link a:first-child {
388
+ height: 24px;
389
+ }
390
+ }
391
+ @media (max-width: 840px) and (max-width: 1680px) {
392
+ .o-sig-link a:first-child {
393
+ height: 20px;
394
+ }
395
+ }
396
+ @media (max-width: 840px) {
397
+ .o-sig-link .o-sig-source-icon {
398
+ font-size: 24px;
399
+ }
400
+ }
401
+ @media (max-width: 840px) and (max-width: 1680px) {
402
+ .o-sig-link .o-sig-source-icon {
403
+ font-size: 20px;
404
+ }
405
+ }
406
+ @media (max-width: 840px) {
407
+ .o-sig-link .o-sig-source-icon svg {
408
+ fill: none;
409
+ }
410
+ .o-sig-link .o-divider {
411
+ --o-divider-label-gap: 0 8px;
412
+ }
413
+ .o-sig-link .o-btn {
414
+ margin-left: var(--o-gap-2);
415
+ }
416
+ .o-sig-link .mail-link {
417
+ min-width: 0;
418
+ flex: 0 1 auto;
419
+ }
420
+ .o-sig-link .mail-link .tooltip-text-wrapper {
421
+ min-width: 0;
422
+ flex: 1;
423
+ }
424
+ }
425
+ @media (max-width: 840px) and (max-width: 840px) {
339
426
  .o-sig-link {
340
427
  margin-top: 8px;
341
428
  }
342
- .o-sig-icon-link {
343
- margin-left: 8px;
344
429
  }
345
- .o-sig-subscribe {
346
- margin-left: auto;
430
+ @media (max-width: 840px) {
431
+ .o-link {
432
+ padding: 0;
433
+ font-size: 16px;
434
+ line-height: 24px;
435
+ }
436
+ }
437
+ @media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
438
+ .o-link {
439
+ font-size: 14px;
440
+ line-height: 22px;
441
+ }
442
+ }
443
+ @media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
444
+ .o-link {
445
+ font-size: 14px;
446
+ line-height: 22px;
447
+ }
448
+ }
449
+ @media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
450
+ .o-link {
451
+ font-size: 14px;
452
+ line-height: 22px;
453
+ }
454
+ }
455
+ @media (max-width: 840px) and (max-width: 600px) {
456
+ .o-link {
457
+ font-size: 12px;
458
+ line-height: 18px;
459
+ }
460
+ }
461
+ @media (max-width: 840px) {
462
+ .o-link .o-link-label {
463
+ display: flex;
464
+ }
465
+ }
466
+ @media (max-width: 840px) and (max-width: 840px) {
467
+ .o-link {
468
+ font-size: 18px;
469
+ line-height: 26px;
470
+ }
471
+ }
472
+ @media (max-width: 840px) and (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
473
+ .o-link {
474
+ font-size: 16px;
475
+ line-height: 24px;
476
+ }
477
+ }
478
+ @media (max-width: 840px) and (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
479
+ .o-link {
480
+ font-size: 14px;
481
+ line-height: 22px;
482
+ }
483
+ }
484
+ @media (max-width: 840px) and (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
485
+ .o-link {
486
+ font-size: 14px;
487
+ line-height: 22px;
488
+ }
489
+ }
490
+ @media (max-width: 840px) and (max-width: 840px) and (max-width: 600px) {
491
+ .o-link {
492
+ font-size: 14px;
493
+ line-height: 22px;
494
+ }
495
+ }
496
+ @media (max-width: 840px) {
497
+ .o-sig-description {
498
+ margin-top: var(--o-gap-2);
499
+ color: var(--o-color-info2);
500
+ height: 44px;
501
+ font-weight: 400;
502
+ overflow: hidden;
503
+ text-overflow: ellipsis;
504
+ word-break: break-all;
505
+ display: -webkit-box;
506
+ -webkit-box-orient: vertical;
507
+ -webkit-line-clamp: 2;
508
+ font-size: 14px;
509
+ line-height: 22px;
510
+ }
511
+ }
512
+ @media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
513
+ .o-sig-description {
514
+ font-size: 14px;
515
+ line-height: 18px;
516
+ }
517
+ }
518
+ @media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
519
+ .o-sig-description {
520
+ font-size: 12px;
521
+ line-height: 18px;
522
+ }
523
+ }
524
+ @media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
525
+ .o-sig-description {
526
+ font-size: 12px;
527
+ line-height: 18px;
528
+ }
529
+ }
530
+ @media (max-width: 840px) and (max-width: 600px) {
531
+ .o-sig-description {
532
+ font-size: 12px;
533
+ line-height: 18px;
534
+ }
535
+ }
536
+ @media (max-width: 840px) and (max-width: 1680px) {
537
+ .o-sig-description {
538
+ height: 36px;
539
+ }
540
+ }
541
+ @media (max-width: 840px) and (max-width: 840px) {
542
+ .o-sig-description {
543
+ margin-top: 6px;
544
+ order: 1;
545
+ height: auto;
546
+ font-size: 16px;
547
+ line-height: 24px;
548
+ }
549
+ }
550
+ @media (max-width: 840px) and (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
551
+ .o-sig-description {
552
+ font-size: 14px;
553
+ line-height: 22px;
554
+ }
555
+ }
556
+ @media (max-width: 840px) and (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
557
+ .o-sig-description {
558
+ font-size: 14px;
559
+ line-height: 22px;
560
+ }
561
+ }
562
+ @media (max-width: 840px) and (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
563
+ .o-sig-description {
564
+ font-size: 14px;
565
+ line-height: 22px;
566
+ }
567
+ }
568
+ @media (max-width: 840px) and (max-width: 840px) and (max-width: 600px) {
569
+ .o-sig-description {
570
+ font-size: 12px;
571
+ line-height: 18px;
572
+ }
573
+ }
574
+ @media (max-width: 840px) {
575
+ .o-sig-description .o-sig-repo {
576
+ display: flex;
577
+ }
578
+ .o-sig-description .o-sig-repo .o-sig-repo-label {
579
+ color: var(--o-color-info1);
580
+ font-weight: 500;
581
+ margin-right: 8px;
582
+ }
583
+ .o-sig-bottom {
584
+ display: flex;
585
+ align-items: center;
586
+ margin-top: var(--o-gap-2);
587
+ color: var(--o-color-info3);
588
+ font-size: 12px;
589
+ line-height: 18px;
590
+ }
591
+ }
592
+ @media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
593
+ .o-sig-bottom {
594
+ font-size: 12px;
595
+ line-height: 18px;
596
+ }
597
+ }
598
+ @media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
599
+ .o-sig-bottom {
600
+ font-size: 12px;
601
+ line-height: 18px;
602
+ }
603
+ }
604
+ @media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
605
+ .o-sig-bottom {
606
+ font-size: 12px;
607
+ line-height: 18px;
608
+ }
609
+ }
610
+ @media (max-width: 840px) and (max-width: 600px) {
611
+ .o-sig-bottom {
612
+ font-size: 12px;
613
+ line-height: 18px;
614
+ }
615
+ }
616
+ @media (max-width: 840px) {
617
+ .o-sig-bottom .o-icon {
618
+ --icon-size: 16px;
619
+ margin-right: 4px;
620
+ }
621
+ .o-sig-bottom .o-icon svg path {
622
+ fill: currentColor;
623
+ }
624
+ .o-sig-bottom .o-sig-meta-text {
625
+ cursor: pointer;
626
+ margin-bottom: 0;
627
+ }
628
+ }
629
+ @media (max-width: 840px) and (max-width: 840px) {
630
+ .o-sig-bottom {
631
+ font-size: 16px;
632
+ line-height: 24px;
633
+ }
634
+ }
635
+ @media (max-width: 840px) and (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
636
+ .o-sig-bottom {
637
+ font-size: 14px;
638
+ line-height: 22px;
639
+ }
640
+ }
641
+ @media (max-width: 840px) and (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
642
+ .o-sig-bottom {
643
+ font-size: 14px;
644
+ line-height: 22px;
645
+ }
646
+ }
647
+ @media (max-width: 840px) and (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
648
+ .o-sig-bottom {
649
+ font-size: 14px;
650
+ line-height: 22px;
651
+ }
652
+ }
653
+ @media (max-width: 840px) and (max-width: 840px) and (max-width: 600px) {
654
+ .o-sig-bottom {
655
+ font-size: 12px;
656
+ line-height: 18px;
657
+ }
658
+ }
659
+ @media (max-width: 840px) {
660
+ .o-sig-meta {
661
+ display: flex;
662
+ align-items: center;
347
663
  }
348
664
  }
349
665
  .o-sig-popup-repos {
@@ -4,14 +4,10 @@ type __VLS_Props = {
4
4
  sig: SigMergedItemT;
5
5
  locale: 'zh' | 'en';
6
6
  mobile?: boolean;
7
- activeRepo?: string;
8
- gitBase?: string;
9
7
  };
10
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
9
  "to-sig-detail": (sigName: string) => any;
12
10
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
11
  "onTo-sig-detail"?: ((sigName: string) => any) | undefined;
14
- }>, {
15
- gitBase: string;
16
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
17
13
  export default _default;
@@ -6,37 +6,31 @@ import IconUser from "../../../_virtual/icon-user.mjs";
6
6
  import IconSigSpace from "../../../_virtual/sig-space.mjs";
7
7
  import _sfc_main$1 from "../../common/TooltipText.vue.mjs";
8
8
  import '../../common/TooltipText.css';
9
+ import { getGitUrl, getGitId } from "./utils.mjs";
9
10
  const _hoisted_1 = { class: "o-sig-item" };
10
11
  const _hoisted_2 = { class: "o-sig-item-header" };
11
12
  const _hoisted_3 = { class: "o-sig-link" };
12
13
  const _hoisted_4 = ["title"];
13
- const _hoisted_5 = { key: 0 };
14
- const _hoisted_6 = {
15
- key: 1,
16
- class: "o-sig-repo"
17
- };
18
- const _hoisted_7 = { class: "o-sig-repo-label" };
19
- const _hoisted_8 = { class: "o-sig-bottom" };
14
+ const _hoisted_5 = { class: "o-sig-bottom" };
15
+ const _hoisted_6 = { class: "o-sig-meta" };
16
+ const _hoisted_7 = { class: "o-sig-meta-text" };
17
+ const _hoisted_8 = { class: "o-sig-popup-content" };
20
18
  const _hoisted_9 = { class: "o-sig-meta" };
21
19
  const _hoisted_10 = { class: "o-sig-meta-text" };
22
20
  const _hoisted_11 = { class: "o-sig-popup-content" };
23
- const _hoisted_12 = { class: "o-sig-meta" };
24
- const _hoisted_13 = { class: "o-sig-meta-text" };
25
- const _hoisted_14 = { class: "o-sig-popup-content" };
26
21
  const _sfc_main = /* @__PURE__ */ defineComponent({
27
22
  __name: "OSigItem",
28
23
  props: {
29
24
  sig: {},
30
25
  locale: {},
31
- mobile: { type: Boolean },
32
- activeRepo: {},
33
- gitBase: { default: "${gitBase}" }
26
+ mobile: { type: Boolean }
34
27
  },
35
28
  emits: ["to-sig-detail"],
36
29
  setup(__props, { emit: __emit }) {
30
+ const { t, locale } = useI18n();
31
+ console.log(locale);
37
32
  const emit = __emit;
38
- const { t } = useI18n();
39
- const lastSeparator = (i, len) => i === (len ?? 0) - 1 ? "" : "、";
33
+ const lastSeparator = (i, len) => i === (len ?? 0) - 1 ? "" : locale.value === "zh" ? "、" : ", ";
40
34
  return (_ctx, _cache) => {
41
35
  return openBlock(), createElementBlock("div", _hoisted_1, [
42
36
  createElementVNode("div", _hoisted_2, [
@@ -49,15 +43,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
49
43
  class: "o-sig-type-tag"
50
44
  }, {
51
45
  default: withCtx(() => [
52
- createTextVNode(toDisplayString((__props.locale === "zh" ? __props.sig.feature_zh : __props.sig.feature_en) || unref(t)("sig.other")), 1)
46
+ createTextVNode(toDisplayString((unref(locale) === "zh" ? __props.sig.feature_zh : __props.sig.feature_en) || unref(t)("sig.other")), 1)
53
47
  ]),
54
48
  _: 1
55
49
  })
56
50
  ]),
57
51
  createElementVNode("div", _hoisted_3, [
58
52
  createVNode(unref(OLink), {
59
- href: `${__props.gitBase}${__props.sig.atomgitUrl}`,
60
- target: "_blank"
53
+ href: __props.sig.atomgitUrl,
54
+ target: "_blank",
55
+ "hover-underline": false
61
56
  }, {
62
57
  default: withCtx(() => [
63
58
  createVNode(unref(OIcon), { class: "o-sig-source-icon" }, {
@@ -101,25 +96,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
101
96
  }, 8, ["href"])) : createCommentVNode("", true)
102
97
  ]),
103
98
  createElementVNode("div", {
104
- title: __props.activeRepo ? "" : __props.sig.description,
99
+ title: __props.sig.description,
105
100
  class: "o-sig-description"
106
101
  }, [
107
- !__props.activeRepo ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(__props.sig.description), 1)) : (openBlock(), createElementBlock("div", _hoisted_6, [
108
- createElementVNode("div", _hoisted_7, toDisplayString(unref(t)("sig.repo")) + ":", 1),
109
- createVNode(unref(OLink), {
110
- color: "primary",
111
- href: `${__props.gitBase}${__props.activeRepo}`,
112
- target: "_blank"
113
- }, {
114
- default: withCtx(() => [
115
- createTextVNode(toDisplayString(__props.activeRepo), 1)
116
- ]),
117
- _: 1
118
- }, 8, ["href"])
119
- ]))
102
+ createElementVNode("div", null, toDisplayString(__props.sig.description || "--"), 1)
120
103
  ], 8, _hoisted_4),
121
- createElementVNode("div", _hoisted_8, [
122
- createElementVNode("div", _hoisted_9, [
104
+ createElementVNode("div", _hoisted_5, [
105
+ createElementVNode("div", _hoisted_6, [
123
106
  createVNode(unref(OIcon), null, {
124
107
  default: withCtx(() => [
125
108
  createVNode(unref(IconSigSpace))
@@ -134,11 +117,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
134
117
  target: withCtx(() => {
135
118
  var _a;
136
119
  return [
137
- createElementVNode("p", _hoisted_10, toDisplayString(unref(t)("sig.repo")) + " " + toDisplayString((_a = __props.sig.repositories) == null ? void 0 : _a.length), 1)
120
+ createElementVNode("p", _hoisted_7, toDisplayString(unref(t)("sig.repo")) + " " + toDisplayString((_a = __props.sig.repositories) == null ? void 0 : _a.length), 1)
138
121
  ];
139
122
  }),
140
123
  default: withCtx(() => [
141
- createElementVNode("div", _hoisted_11, [
124
+ createElementVNode("div", _hoisted_8, [
142
125
  createVNode(unref(OScroller), {
143
126
  showType: "always",
144
127
  size: "small"
@@ -149,7 +132,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
149
132
  key: item,
150
133
  class: "o-sig-popup-item",
151
134
  color: "primary",
152
- href: `${__props.gitBase}${item}`,
135
+ href: unref(getGitUrl)(item),
153
136
  target: "_blank"
154
137
  }, {
155
138
  default: withCtx(() => {
@@ -170,7 +153,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
170
153
  })
171
154
  ]),
172
155
  createVNode(unref(ODivider), { direction: "v" }),
173
- createElementVNode("div", _hoisted_12, [
156
+ createElementVNode("div", _hoisted_9, [
174
157
  createVNode(unref(OIcon), null, {
175
158
  default: withCtx(() => [
176
159
  createVNode(unref(IconUser))
@@ -185,11 +168,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
185
168
  target: withCtx(() => {
186
169
  var _a;
187
170
  return [
188
- createElementVNode("p", _hoisted_13, "Maintainer " + toDisplayString((_a = __props.sig.maintainer_info) == null ? void 0 : _a.length), 1)
171
+ createElementVNode("p", _hoisted_10, "Maintainer " + toDisplayString((_a = __props.sig.maintainer_info) == null ? void 0 : _a.length), 1)
189
172
  ];
190
173
  }),
191
174
  default: withCtx(() => [
192
- createElementVNode("div", _hoisted_14, [
175
+ createElementVNode("div", _hoisted_11, [
193
176
  createVNode(unref(OScroller), {
194
177
  showType: "always",
195
178
  size: "small"
@@ -197,16 +180,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
197
180
  default: withCtx(() => [
198
181
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.sig.maintainer_info, (item, i) => {
199
182
  return openBlock(), createBlock(unref(OLink), {
200
- key: item.gitee_id,
183
+ key: i,
201
184
  class: "o-sig-popup-item",
202
185
  color: "primary",
203
- href: item.email ? `mailto:${item.email}` : void 0,
186
+ href: unref(getGitUrl)(item),
204
187
  target: "_blank"
205
188
  }, {
206
189
  default: withCtx(() => {
207
190
  var _a;
208
191
  return [
209
- createTextVNode(toDisplayString(item.gitee_id + lastSeparator(i, (_a = __props.sig.maintainer_info) == null ? void 0 : _a.length)), 1)
192
+ createTextVNode(toDisplayString(unref(getGitId)(item) + lastSeparator(i, (_a = __props.sig.maintainer_info) == null ? void 0 : _a.length)), 1)
210
193
  ];
211
194
  }),
212
195
  _: 2
@@ -193,36 +193,6 @@
193
193
  -webkit-box-orient: vertical;
194
194
  -webkit-line-clamp: 1;
195
195
  }
196
- @media (max-width: 840px) {
197
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-id {
198
- font-size: 16px;
199
- line-height: 24px;
200
- }
201
- }
202
- @media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
203
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-id {
204
- font-size: 14px;
205
- line-height: 22px;
206
- }
207
- }
208
- @media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
209
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-id {
210
- font-size: 14px;
211
- line-height: 22px;
212
- }
213
- }
214
- @media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
215
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-id {
216
- font-size: 14px;
217
- line-height: 22px;
218
- }
219
- }
220
- @media (max-width: 840px) and (max-width: 600px) {
221
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-id {
222
- font-size: 12px;
223
- line-height: 18px;
224
- }
225
- }
226
196
  .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-name {
227
197
  color: var(--o-color-info4);
228
198
  font-size: 12px;
@@ -252,36 +222,6 @@
252
222
  line-height: 18px;
253
223
  }
254
224
  }
255
- @media (max-width: 840px) {
256
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-name {
257
- font-size: 16px;
258
- line-height: 24px;
259
- }
260
- }
261
- @media (max-width: 840px) and (min-width: 1201px) and (max-width: 1680px) {
262
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-name {
263
- font-size: 14px;
264
- line-height: 22px;
265
- }
266
- }
267
- @media (max-width: 840px) and (min-width: 841px) and (max-width: 1200px) {
268
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-name {
269
- font-size: 14px;
270
- line-height: 22px;
271
- }
272
- }
273
- @media (max-width: 840px) and (min-width: 601px) and (max-width: 840px) {
274
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-name {
275
- font-size: 14px;
276
- line-height: 22px;
277
- }
278
- }
279
- @media (max-width: 840px) and (max-width: 600px) {
280
- .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-left .o-sig-detail-info .o-sig-detail-member-name {
281
- font-size: 12px;
282
- line-height: 18px;
283
- }
284
- }
285
225
  .o-sig-detail-member .o-sig-detail-member-box .o-sig-detail-member-list .o-sig-detail-member-info .o-sig-detail-member-info-id {
286
226
  align-items: center;
287
227
  }