@opendesign-plus-test/components 0.0.1-rc.153 → 0.0.1-rc.155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/meeting/OMeetingMinutes.vue.d.ts +348 -2
- package/dist/components/meeting/index.d.ts +174 -1
- package/dist/components/meeting/types.d.ts +1 -0
- package/dist/components/sig/OSigDetail.vue.d.ts +1 -1
- package/dist/components/sig/OSigList.vue.d.ts +0 -2
- package/dist/components/sig/components/OSigItem.vue.d.ts +1 -4
- package/dist/components.cjs.js +35 -35
- package/dist/components.css +1 -1
- package/dist/components.es.js +7211 -7204
- package/dist/treeshaking/components/activity/OActivityApproval.css +8 -8
- package/dist/treeshaking/components/footer/components/FooterList.css +96 -109
- package/dist/treeshaking/components/footer/components/FooterList.vue.mjs +1 -1
- package/dist/treeshaking/components/header/components/HeaderContent.css +185 -185
- package/dist/treeshaking/components/header/components/HeaderContent.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/OMeetingMinutes.css +201 -223
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.d.ts +348 -2
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue.mjs +392 -6
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue3.mjs +5 -0
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.css +53 -53
- package/dist/treeshaking/components/meeting/components/OMeetingSendMinutesDialog.vue.mjs +1 -1
- package/dist/treeshaking/components/meeting/index.d.ts +174 -1
- package/dist/treeshaking/components/meeting/index.mjs +13 -12
- package/dist/treeshaking/components/meeting/types.d.ts +1 -0
- package/dist/treeshaking/components/sig/OSigDetail.css +3 -7
- package/dist/treeshaking/components/sig/OSigDetail.vue.d.ts +1 -1
- package/dist/treeshaking/components/sig/OSigDetail.vue.mjs +3 -6
- package/dist/treeshaking/components/sig/OSigList.css +134 -135
- package/dist/treeshaking/components/sig/OSigList.vue.d.ts +0 -2
- package/dist/treeshaking/components/sig/OSigList.vue.mjs +94 -106
- package/dist/treeshaking/components/sig/components/OSigDetailInfoCard.css +1 -1
- package/dist/treeshaking/components/sig/components/OSigItem.css +367 -31
- package/dist/treeshaking/components/sig/components/OSigItem.vue.d.ts +1 -4
- package/dist/treeshaking/components/sig/components/OSigItem.vue.mjs +4 -6
- package/dist/treeshaking/components/sig/components/OSigMember.css +1 -1
- package/dist/treeshaking/components/sig/components/OSigRepo.css +2 -15
- package/dist/treeshaking/components/sig/components/OSigUserContribute.css +0 -7
- package/dist/treeshaking/components/video/OVideoDetail.css +7 -7
- package/package.json +1 -1
- package/dist/treeshaking/components/meeting/OMeetingMinutes.vue2.mjs +0 -356
- package/dist/treeshaking/components/meeting/OMeetingMinutes2.css +0 -11
|
@@ -294,14 +294,10 @@
|
|
|
294
294
|
:root .el-input-number.el-input-number--large {
|
|
295
295
|
line-height: var(--el-component-size-large);
|
|
296
296
|
}
|
|
297
|
-
.o-sig-list {
|
|
298
|
-
--sig-input-radius: var(--o-radius-xs);
|
|
299
|
-
--sig-card-radius: var(--o-radius-xs);
|
|
300
|
-
}
|
|
301
297
|
.o-sig-list .o-sig-filter-box {
|
|
302
298
|
background-color: var(--o-color-fill2);
|
|
303
299
|
padding: var(--o-gap-5);
|
|
304
|
-
border-radius: var(--
|
|
300
|
+
border-radius: var(--o-radius-xs);
|
|
305
301
|
}
|
|
306
302
|
@media (min-width: 841px) and (max-width: 1200px) {
|
|
307
303
|
.o-sig-list .o-sig-filter-box {
|
|
@@ -388,7 +384,7 @@
|
|
|
388
384
|
.o-sig-list .o-sig-filter-box .o-sig-filter-type .o-toggle {
|
|
389
385
|
--toggle-size: var(--item-size);
|
|
390
386
|
--toggle-padding: 3px 15px;
|
|
391
|
-
--toggle-radius:
|
|
387
|
+
--toggle-radius: 4px;
|
|
392
388
|
max-height: 32px;
|
|
393
389
|
color: var(--o-color-info1);
|
|
394
390
|
border: 1px solid var(--o-color-control2-light);
|
|
@@ -434,9 +430,6 @@
|
|
|
434
430
|
padding: var(--o-gap-3);
|
|
435
431
|
}
|
|
436
432
|
}
|
|
437
|
-
.o-sig-list .o-sig-filter-box .o-sig-filter-input .el-select {
|
|
438
|
-
--el-border-radius-base: var(--sig-input-radius);
|
|
439
|
-
}
|
|
440
433
|
.o-sig-list .o-sig-filter-box .o-divider {
|
|
441
434
|
--o-divider-gap: var(--o-gap-4);
|
|
442
435
|
}
|
|
@@ -477,9 +470,8 @@
|
|
|
477
470
|
position: relative;
|
|
478
471
|
z-index: 9;
|
|
479
472
|
border: 1px solid var(--o-color-control1);
|
|
480
|
-
border-radius: var(--
|
|
473
|
+
border-radius: var(--o-radius-xs);
|
|
481
474
|
background-color: var(--o-color-fill2);
|
|
482
|
-
overflow: hidden;
|
|
483
475
|
}
|
|
484
476
|
@media (hover: hover) {
|
|
485
477
|
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-filter-select:hover {
|
|
@@ -500,8 +492,8 @@
|
|
|
500
492
|
--select-bg-color: var(--o-color-fill2);
|
|
501
493
|
--select-bg-color-hover: var(--o-color-fill2);
|
|
502
494
|
--select-bg-color-focus: var(--o-color-fill2);
|
|
503
|
-
max-width:
|
|
504
|
-
border-radius: var(--
|
|
495
|
+
max-width: 135px;
|
|
496
|
+
border-radius: var(--o-radius-xs) 0 0 var(--o-radius-xs);
|
|
505
497
|
border: none;
|
|
506
498
|
border-right: 1px solid var(--o-color-control1);
|
|
507
499
|
}
|
|
@@ -552,6 +544,132 @@
|
|
|
552
544
|
--box-height: 38px;
|
|
553
545
|
}
|
|
554
546
|
}
|
|
547
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-data {
|
|
548
|
+
position: absolute;
|
|
549
|
+
top: 44px;
|
|
550
|
+
right: 0;
|
|
551
|
+
width: 320px;
|
|
552
|
+
background-color: var(--o-color-fill2);
|
|
553
|
+
padding: 4px;
|
|
554
|
+
border-radius: var(--o-radius-xs);
|
|
555
|
+
box-shadow: var(--o-shadow-2);
|
|
556
|
+
}
|
|
557
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-group + .o-sig-search-group {
|
|
558
|
+
margin-top: 4px;
|
|
559
|
+
}
|
|
560
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-label {
|
|
561
|
+
color: var(--o-color-info3);
|
|
562
|
+
padding: 4px 8px;
|
|
563
|
+
font-size: 12px;
|
|
564
|
+
line-height: 18px;
|
|
565
|
+
}
|
|
566
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
567
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-label {
|
|
568
|
+
font-size: 12px;
|
|
569
|
+
line-height: 18px;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
573
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-label {
|
|
574
|
+
font-size: 12px;
|
|
575
|
+
line-height: 18px;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
579
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-label {
|
|
580
|
+
font-size: 12px;
|
|
581
|
+
line-height: 18px;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
@media (max-width: 600px) {
|
|
585
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-label {
|
|
586
|
+
font-size: 12px;
|
|
587
|
+
line-height: 18px;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-item {
|
|
591
|
+
padding: 8px 12px;
|
|
592
|
+
display: flex;
|
|
593
|
+
align-items: center;
|
|
594
|
+
justify-content: space-between;
|
|
595
|
+
cursor: pointer;
|
|
596
|
+
border-radius: var(--o-radius-xs);
|
|
597
|
+
}
|
|
598
|
+
@media (hover: hover) {
|
|
599
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-item:hover {
|
|
600
|
+
background-color: var(--o-color-control2-light);
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-item .highlight-text {
|
|
604
|
+
color: var(--o-color-link1);
|
|
605
|
+
}
|
|
606
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-title {
|
|
607
|
+
color: var(--o-color-info1);
|
|
608
|
+
font-size: 16px;
|
|
609
|
+
line-height: 24px;
|
|
610
|
+
}
|
|
611
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
612
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-title {
|
|
613
|
+
font-size: 14px;
|
|
614
|
+
line-height: 22px;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
618
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-title {
|
|
619
|
+
font-size: 14px;
|
|
620
|
+
line-height: 22px;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
624
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-title {
|
|
625
|
+
font-size: 14px;
|
|
626
|
+
line-height: 22px;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
@media (max-width: 600px) {
|
|
630
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-title {
|
|
631
|
+
font-size: 12px;
|
|
632
|
+
line-height: 18px;
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-search-title {
|
|
636
|
+
overflow: hidden;
|
|
637
|
+
text-overflow: ellipsis;
|
|
638
|
+
word-break: break-all;
|
|
639
|
+
display: -webkit-box;
|
|
640
|
+
-webkit-box-orient: vertical;
|
|
641
|
+
-webkit-line-clamp: 1;
|
|
642
|
+
}
|
|
643
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-no-result {
|
|
644
|
+
padding: 8px 12px;
|
|
645
|
+
color: var(--o-color-info3);
|
|
646
|
+
font-size: 14px;
|
|
647
|
+
line-height: 22px;
|
|
648
|
+
}
|
|
649
|
+
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
650
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-no-result {
|
|
651
|
+
font-size: 14px;
|
|
652
|
+
line-height: 18px;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
@media (min-width: 841px) and (max-width: 1200px) {
|
|
656
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-no-result {
|
|
657
|
+
font-size: 12px;
|
|
658
|
+
line-height: 18px;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
@media (min-width: 601px) and (max-width: 840px) {
|
|
662
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-no-result {
|
|
663
|
+
font-size: 12px;
|
|
664
|
+
line-height: 18px;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
@media (max-width: 600px) {
|
|
668
|
+
.o-sig-list .o-sig-filter-box .o-sig-filter-select-box .o-sig-no-result {
|
|
669
|
+
font-size: 12px;
|
|
670
|
+
line-height: 18px;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
555
673
|
@media (max-width: 840px) {
|
|
556
674
|
.o-sig-list .o-sig-filter-box .o-sig-filter-btn {
|
|
557
675
|
display: flex;
|
|
@@ -573,6 +691,9 @@
|
|
|
573
691
|
.o-sig-list .o-sig-filter-box-en .o-input .o_box {
|
|
574
692
|
width: 380px;
|
|
575
693
|
}
|
|
694
|
+
.o-sig-list .o-sig-filter-box-en .o-sig-search-data {
|
|
695
|
+
width: 380px;
|
|
696
|
+
}
|
|
576
697
|
.o-sig-list .o-sig-filter-result-tip {
|
|
577
698
|
margin-top: var(--grid-column-gutter);
|
|
578
699
|
color: var(--o-color-info3);
|
|
@@ -689,126 +810,4 @@
|
|
|
689
810
|
font-size: 12px;
|
|
690
811
|
line-height: 18px;
|
|
691
812
|
}
|
|
692
|
-
}
|
|
693
|
-
.o-sig-list .o-sig-search-data {
|
|
694
|
-
width: 320px;
|
|
695
|
-
}
|
|
696
|
-
.o-sig-list .o-sig-search-data.o-sig-search-data-en {
|
|
697
|
-
width: 380px;
|
|
698
|
-
}
|
|
699
|
-
.o-sig-list .o-sig-search-data .o-sig-search-group + .o-sig-search-group {
|
|
700
|
-
margin-top: 4px;
|
|
701
|
-
}
|
|
702
|
-
.o-sig-list .o-sig-search-data .o-sig-search-label {
|
|
703
|
-
color: var(--o-color-info3);
|
|
704
|
-
padding: 4px 8px;
|
|
705
|
-
font-size: 12px;
|
|
706
|
-
line-height: 18px;
|
|
707
|
-
}
|
|
708
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
709
|
-
.o-sig-list .o-sig-search-data .o-sig-search-label {
|
|
710
|
-
font-size: 12px;
|
|
711
|
-
line-height: 18px;
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
715
|
-
.o-sig-list .o-sig-search-data .o-sig-search-label {
|
|
716
|
-
font-size: 12px;
|
|
717
|
-
line-height: 18px;
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
721
|
-
.o-sig-list .o-sig-search-data .o-sig-search-label {
|
|
722
|
-
font-size: 12px;
|
|
723
|
-
line-height: 18px;
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
@media (max-width: 600px) {
|
|
727
|
-
.o-sig-list .o-sig-search-data .o-sig-search-label {
|
|
728
|
-
font-size: 12px;
|
|
729
|
-
line-height: 18px;
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
.o-sig-list .o-sig-search-data .o-sig-search-item {
|
|
733
|
-
padding: 8px 12px;
|
|
734
|
-
display: flex;
|
|
735
|
-
align-items: center;
|
|
736
|
-
justify-content: space-between;
|
|
737
|
-
cursor: pointer;
|
|
738
|
-
border-radius: var(--sig-input-radius);
|
|
739
|
-
}
|
|
740
|
-
@media (hover: hover) {
|
|
741
|
-
.o-sig-list .o-sig-search-data .o-sig-search-item:hover {
|
|
742
|
-
background-color: var(--o-color-control2-light);
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
.o-sig-list .o-sig-search-data .o-sig-search-item .highlight-text {
|
|
746
|
-
color: var(--o-color-link1);
|
|
747
|
-
}
|
|
748
|
-
.o-sig-list .o-sig-search-data .o-sig-search-title {
|
|
749
|
-
color: var(--o-color-info1);
|
|
750
|
-
font-size: 16px;
|
|
751
|
-
line-height: 24px;
|
|
752
|
-
}
|
|
753
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
754
|
-
.o-sig-list .o-sig-search-data .o-sig-search-title {
|
|
755
|
-
font-size: 14px;
|
|
756
|
-
line-height: 22px;
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
760
|
-
.o-sig-list .o-sig-search-data .o-sig-search-title {
|
|
761
|
-
font-size: 14px;
|
|
762
|
-
line-height: 22px;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
766
|
-
.o-sig-list .o-sig-search-data .o-sig-search-title {
|
|
767
|
-
font-size: 14px;
|
|
768
|
-
line-height: 22px;
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
@media (max-width: 600px) {
|
|
772
|
-
.o-sig-list .o-sig-search-data .o-sig-search-title {
|
|
773
|
-
font-size: 12px;
|
|
774
|
-
line-height: 18px;
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
.o-sig-list .o-sig-search-data .o-sig-search-title {
|
|
778
|
-
overflow: hidden;
|
|
779
|
-
text-overflow: ellipsis;
|
|
780
|
-
word-break: break-all;
|
|
781
|
-
display: -webkit-box;
|
|
782
|
-
-webkit-box-orient: vertical;
|
|
783
|
-
-webkit-line-clamp: 1;
|
|
784
|
-
}
|
|
785
|
-
.o-sig-list .o-sig-search-data .o-sig-no-result {
|
|
786
|
-
padding: 8px 12px;
|
|
787
|
-
color: var(--o-color-info3);
|
|
788
|
-
font-size: 14px;
|
|
789
|
-
line-height: 22px;
|
|
790
|
-
}
|
|
791
|
-
@media (min-width: 1201px) and (max-width: 1680px) {
|
|
792
|
-
.o-sig-list .o-sig-search-data .o-sig-no-result {
|
|
793
|
-
font-size: 14px;
|
|
794
|
-
line-height: 18px;
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
@media (min-width: 841px) and (max-width: 1200px) {
|
|
798
|
-
.o-sig-list .o-sig-search-data .o-sig-no-result {
|
|
799
|
-
font-size: 12px;
|
|
800
|
-
line-height: 18px;
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
@media (min-width: 601px) and (max-width: 840px) {
|
|
804
|
-
.o-sig-list .o-sig-search-data .o-sig-no-result {
|
|
805
|
-
font-size: 12px;
|
|
806
|
-
line-height: 18px;
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
@media (max-width: 600px) {
|
|
810
|
-
.o-sig-list .o-sig-search-data .o-sig-no-result {
|
|
811
|
-
font-size: 12px;
|
|
812
|
-
line-height: 18px;
|
|
813
|
-
}
|
|
814
813
|
}
|
|
@@ -8,8 +8,6 @@ declare const _default: import('vue').DefineComponent<SigListPropsT, {}, {}, {},
|
|
|
8
8
|
sigList: SigListItemT[];
|
|
9
9
|
footerSelector: string;
|
|
10
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
11
|
-
rootRef: HTMLDivElement;
|
|
12
11
|
panelRef: HTMLDivElement;
|
|
13
|
-
loadingRef: HTMLParagraphElement;
|
|
14
12
|
}, HTMLDivElement>;
|
|
15
13
|
export default _default;
|
|
@@ -1,49 +1,58 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createElementVNode, normalizeClass, Fragment, unref, toDisplayString, createVNode, withCtx, 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";
|
|
5
|
-
import { useDebounceFn,
|
|
5
|
+
import { useDebounceFn, onClickOutside, useThrottleFn } from "@vueuse/core";
|
|
6
6
|
import { useScreen } from "@opendesign-plus/composables";
|
|
7
7
|
import { useI18n } from "../../i18n/index.mjs";
|
|
8
|
-
import { ORadioGroup, ORadio, OToggle, ODivider, OSelect, OOption, OInput, OIcon,
|
|
8
|
+
import { ORadioGroup, ORadio, OToggle, ODivider, OSelect, OOption, OInput, OIcon, ORow, OCol, OPagination } from "@opensig/opendesign";
|
|
9
9
|
import OEmpty from "../empty/OEmpty.vue.mjs";
|
|
10
10
|
import _sfc_main$1 from "./components/OSigItem.vue.mjs";
|
|
11
11
|
import './components/OSigItem.css';
|
|
12
12
|
import IconSearch from "../../_virtual/icon-search.mjs";
|
|
13
13
|
import { buildVueDompurifyHTMLDirective } from "vue-dompurify-html";
|
|
14
|
-
const _hoisted_1 = {
|
|
14
|
+
const _hoisted_1 = { class: "o-sig-list" };
|
|
15
|
+
const _hoisted_2 = {
|
|
15
16
|
key: 0,
|
|
16
17
|
class: "o-sig-filter-type"
|
|
17
18
|
};
|
|
18
|
-
const
|
|
19
|
-
const
|
|
19
|
+
const _hoisted_3 = { class: "o-sig-filter-title" };
|
|
20
|
+
const _hoisted_4 = {
|
|
20
21
|
key: 1,
|
|
21
22
|
class: "o-sig-filter-input"
|
|
22
23
|
};
|
|
23
|
-
const
|
|
24
|
-
const
|
|
24
|
+
const _hoisted_5 = { class: "o-sig-filter-select-box" };
|
|
25
|
+
const _hoisted_6 = {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "o-sig-search-data"
|
|
28
|
+
};
|
|
29
|
+
const _hoisted_7 = {
|
|
25
30
|
key: 0,
|
|
26
31
|
class: "o-sig-search-label"
|
|
27
32
|
};
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
33
|
+
const _hoisted_8 = ["onClick"];
|
|
34
|
+
const _hoisted_9 = ["title"];
|
|
35
|
+
const _hoisted_10 = {
|
|
31
36
|
key: 2,
|
|
32
37
|
class: "o-sig-no-result"
|
|
33
38
|
};
|
|
34
|
-
const
|
|
39
|
+
const _hoisted_11 = {
|
|
35
40
|
key: 0,
|
|
36
41
|
class: "o-sig-filter-result-tip"
|
|
37
42
|
};
|
|
38
|
-
const
|
|
39
|
-
const
|
|
40
|
-
const
|
|
43
|
+
const _hoisted_12 = { key: 0 };
|
|
44
|
+
const _hoisted_13 = { class: "o-sig-num" };
|
|
45
|
+
const _hoisted_14 = {
|
|
41
46
|
key: 0,
|
|
42
47
|
class: "o-sig-num"
|
|
43
48
|
};
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
const
|
|
49
|
+
const _hoisted_15 = { key: 1 };
|
|
50
|
+
const _hoisted_16 = { class: "o-sig-num" };
|
|
51
|
+
const _hoisted_17 = {
|
|
52
|
+
key: 3,
|
|
53
|
+
class: "o-sig-loading"
|
|
54
|
+
};
|
|
55
|
+
const _hoisted_18 = {
|
|
47
56
|
key: 4,
|
|
48
57
|
class: "o-sig-pagination"
|
|
49
58
|
};
|
|
@@ -192,22 +201,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
192
201
|
const stripHtml = (val) => (val == null ? void 0 : val.replace(/<[^>]+>/g, "")) ?? "";
|
|
193
202
|
const clickItem = (val) => {
|
|
194
203
|
sigInput.value = stripHtml(val);
|
|
204
|
+
showPanel.value = false;
|
|
195
205
|
enterSearchType.value = searchType.value;
|
|
196
206
|
enterSearchInput.value = sigInput.value;
|
|
197
|
-
nextTick(() => {
|
|
198
|
-
showPanel.value = false;
|
|
199
|
-
});
|
|
200
207
|
};
|
|
201
208
|
const clearInput = () => {
|
|
202
209
|
sigInput.value = "";
|
|
203
210
|
enterSearchInput.value = "";
|
|
204
211
|
};
|
|
205
|
-
const rootRef = ref();
|
|
206
212
|
const panelRef = ref();
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
};
|
|
213
|
+
onClickOutside(panelRef, () => {
|
|
214
|
+
showPanel.value = false;
|
|
215
|
+
});
|
|
211
216
|
const toSigDetail = (sigName) => emit("to-sig-detail", sigName);
|
|
212
217
|
watch(
|
|
213
218
|
() => sigInput.value,
|
|
@@ -218,6 +223,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
218
223
|
);
|
|
219
224
|
const filterSigData = ref([]);
|
|
220
225
|
const filterSearchData = ref([]);
|
|
226
|
+
const filterDataMb = ref([]);
|
|
221
227
|
const featureType = ref("all");
|
|
222
228
|
const matchKw = (text, kw) => !!text && text.toLowerCase().includes(kw);
|
|
223
229
|
watch(
|
|
@@ -269,9 +275,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
269
275
|
if (lePadV.value) return "0 12px";
|
|
270
276
|
return "32px 32px";
|
|
271
277
|
});
|
|
272
|
-
watch(lePadV, () => {
|
|
273
|
-
sigQuery.value.page = 1;
|
|
274
|
-
});
|
|
275
278
|
const clearChecked = (val) => {
|
|
276
279
|
resetSigQuery();
|
|
277
280
|
if (val) {
|
|
@@ -280,35 +283,43 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
280
283
|
});
|
|
281
284
|
}
|
|
282
285
|
};
|
|
283
|
-
const loadingRef = ref(null);
|
|
284
286
|
const getMoreDataMo = () => {
|
|
287
|
+
filterDataMb.value = filterSearchData.value.slice(
|
|
288
|
+
0,
|
|
289
|
+
sigQuery.value.page * sigQuery.value.pageSize
|
|
290
|
+
);
|
|
285
291
|
sigQuery.value.page++;
|
|
286
292
|
};
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
(
|
|
290
|
-
|
|
293
|
+
const footer = ref(null);
|
|
294
|
+
const listenScroll = () => {
|
|
295
|
+
if (!lePadV.value) return;
|
|
296
|
+
nextTick(() => {
|
|
297
|
+
var _a;
|
|
298
|
+
const scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
|
|
299
|
+
const scrollHeight = document.body.scrollHeight;
|
|
300
|
+
const clientHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
301
|
+
const footerHeight = ((_a = footer.value) == null ? void 0 : _a.clientHeight) ?? 0;
|
|
302
|
+
if (scrollTop + clientHeight + footerHeight >= scrollHeight && filterDataMb.value.length < filterSearchData.value.length) {
|
|
291
303
|
getMoreDataMo();
|
|
292
304
|
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
);
|
|
305
|
+
});
|
|
306
|
+
};
|
|
307
|
+
const throttleEvent = useThrottleFn(listenScroll, 300);
|
|
308
|
+
onMounted(() => {
|
|
309
|
+
footer.value = document.querySelector(props.footerSelector);
|
|
310
|
+
window.addEventListener("scroll", throttleEvent);
|
|
311
|
+
});
|
|
312
|
+
onUnmounted(() => {
|
|
313
|
+
window.removeEventListener("scroll", throttleEvent);
|
|
314
|
+
});
|
|
296
315
|
return (_ctx, _cache) => {
|
|
297
|
-
return openBlock(), createElementBlock("div",
|
|
298
|
-
ref_key: "rootRef",
|
|
299
|
-
ref: rootRef,
|
|
300
|
-
class: "o-sig-list"
|
|
301
|
-
}, [
|
|
316
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
302
317
|
createElementVNode("div", {
|
|
303
|
-
class: normalizeClass({
|
|
304
|
-
"o-sig-filter-box": true,
|
|
305
|
-
[`o-sig-filter-box-${locale.value}`]: true,
|
|
306
|
-
"o-sig-filter-box--no-filter-type": !featureArr.value.length
|
|
307
|
-
})
|
|
318
|
+
class: normalizeClass(["o-sig-filter-box", `o-sig-filter-box-${locale.value} ${featureArr.value.length ? "" : "o-sig-filter-box--no-filter-type"}`])
|
|
308
319
|
}, [
|
|
309
320
|
featureArr.value.length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
310
|
-
!unref(isPhone) ? (openBlock(), createElementBlock("div",
|
|
311
|
-
createElementVNode("p",
|
|
321
|
+
!unref(isPhone) ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
322
|
+
createElementVNode("p", _hoisted_3, toDisplayString(unref(t)("sig.type")), 1),
|
|
312
323
|
createVNode(unref(ORadioGroup), {
|
|
313
324
|
modelValue: featureType.value,
|
|
314
325
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => featureType.value = $event)
|
|
@@ -338,7 +349,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
338
349
|
_: 1
|
|
339
350
|
}, 8, ["modelValue"])
|
|
340
351
|
])) : createCommentVNode("", true),
|
|
341
|
-
unref(isPhone) ? (openBlock(), createElementBlock("div",
|
|
352
|
+
unref(isPhone) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
342
353
|
createVNode(unref(ElSelect), {
|
|
343
354
|
modelValue: featureType.value,
|
|
344
355
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => featureType.value = $event),
|
|
@@ -360,7 +371,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
360
371
|
])) : createCommentVNode("", true),
|
|
361
372
|
createVNode(unref(ODivider), { direction: "h" })
|
|
362
373
|
], 64)) : createCommentVNode("", true),
|
|
363
|
-
createElementVNode("div",
|
|
374
|
+
createElementVNode("div", _hoisted_5, [
|
|
364
375
|
createElementVNode("div", {
|
|
365
376
|
ref_key: "panelRef",
|
|
366
377
|
ref: panelRef,
|
|
@@ -405,60 +416,43 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
405
416
|
]),
|
|
406
417
|
_: 1
|
|
407
418
|
}, 8, ["modelValue", "placeholder"]),
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
position: "br",
|
|
414
|
-
trigger: "click-outclick",
|
|
415
|
-
"adjust-min-width": false,
|
|
416
|
-
"adjust-width": false,
|
|
417
|
-
"onUpdate:visible": onPopoverVisibleChange
|
|
418
|
-
}, {
|
|
419
|
-
default: withCtx(() => [
|
|
420
|
-
createElementVNode("div", {
|
|
421
|
-
class: normalizeClass(["o-sig-search-data", `o-sig-search-data-${locale.value}`])
|
|
419
|
+
showPanel.value && sigInput.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
420
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(hasSearchData.value, (item) => {
|
|
421
|
+
return openBlock(), createElementBlock("div", {
|
|
422
|
+
key: item.id,
|
|
423
|
+
class: "o-sig-search-group"
|
|
422
424
|
}, [
|
|
423
|
-
(openBlock(
|
|
425
|
+
searchType.value === "all" ? (openBlock(), createElementBlock("p", _hoisted_7, toDisplayString(item.label), 1)) : createCommentVNode("", true),
|
|
426
|
+
item.list.length ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(item.list, (it) => {
|
|
424
427
|
return openBlock(), createElementBlock("div", {
|
|
425
|
-
key:
|
|
426
|
-
class: "o-sig-search-
|
|
428
|
+
key: it.name,
|
|
429
|
+
class: "o-sig-search-item",
|
|
430
|
+
onClick: withModifiers(($event) => clickItem(it == null ? void 0 : it.name), ["stop"])
|
|
427
431
|
}, [
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
[unref(vDompurifyHtml), it == null ? void 0 : it.name]
|
|
440
|
-
])
|
|
441
|
-
], 8, _hoisted_6);
|
|
442
|
-
}), 128)) : (openBlock(), createElementBlock("p", _hoisted_8, toDisplayString(unref(t)("sig.noResult")), 1))
|
|
443
|
-
]);
|
|
444
|
-
}), 128))
|
|
445
|
-
], 2)
|
|
446
|
-
]),
|
|
447
|
-
_: 1
|
|
448
|
-
}, 8, ["target", "wrapper", "visible", "disabled"])
|
|
432
|
+
withDirectives(createElementVNode("span", {
|
|
433
|
+
title: stripHtml(it == null ? void 0 : it.name),
|
|
434
|
+
class: "o-sig-search-title"
|
|
435
|
+
}, null, 8, _hoisted_9), [
|
|
436
|
+
[unref(vDompurifyHtml), it == null ? void 0 : it.name]
|
|
437
|
+
])
|
|
438
|
+
], 8, _hoisted_8);
|
|
439
|
+
}), 128)) : (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(unref(t)("sig.noResult")), 1))
|
|
440
|
+
]);
|
|
441
|
+
}), 128))
|
|
442
|
+
])) : createCommentVNode("", true)
|
|
449
443
|
], 2)
|
|
450
444
|
])
|
|
451
445
|
], 2),
|
|
452
|
-
featureType.value !== "all" || enterSearchInput.value ? (openBlock(), createElementBlock("div",
|
|
453
|
-
sigInput.value ? (openBlock(), createElementBlock("div",
|
|
446
|
+
featureType.value !== "all" || enterSearchInput.value ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
447
|
+
sigInput.value ? (openBlock(), createElementBlock("div", _hoisted_12, [
|
|
454
448
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip1")), 1),
|
|
455
|
-
createElementVNode("span",
|
|
449
|
+
createElementVNode("span", _hoisted_13, toDisplayString(filterSearchData.value.length), 1),
|
|
456
450
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip2")), 1),
|
|
457
|
-
locale.value === "zh" ? (openBlock(), createElementBlock("span",
|
|
451
|
+
locale.value === "zh" ? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(sigInput.value), 1)) : createCommentVNode("", true),
|
|
458
452
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip3")), 1)
|
|
459
|
-
])) : (openBlock(), createElementBlock("div",
|
|
453
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
460
454
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip4")), 1),
|
|
461
|
-
createElementVNode("span",
|
|
455
|
+
createElementVNode("span", _hoisted_16, toDisplayString(filterSearchData.value.length), 1),
|
|
462
456
|
createElementVNode("span", null, toDisplayString(unref(t)("sig.filterResultTip5")), 1)
|
|
463
457
|
]))
|
|
464
458
|
])) : createCommentVNode("", true),
|
|
@@ -477,9 +471,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
477
471
|
default: withCtx(() => [
|
|
478
472
|
createVNode(_sfc_main$1, {
|
|
479
473
|
sig,
|
|
480
|
-
onToSigDetail: toSigDetail
|
|
481
|
-
|
|
482
|
-
}, null, 8, ["sig", "showFeature"])
|
|
474
|
+
onToSigDetail: toSigDetail
|
|
475
|
+
}, null, 8, ["sig"])
|
|
483
476
|
]),
|
|
484
477
|
_: 2
|
|
485
478
|
}, 1032, ["flex"]);
|
|
@@ -494,13 +487,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
494
487
|
"--result-image-height": "170px"
|
|
495
488
|
}
|
|
496
489
|
})),
|
|
497
|
-
unref(lePadV) &&
|
|
498
|
-
|
|
499
|
-
ref_key: "loadingRef",
|
|
500
|
-
ref: loadingRef,
|
|
501
|
-
class: "o-sig-loading"
|
|
502
|
-
}, toDisplayString(unref(t)("sig.loading")), 513)) : createCommentVNode("", true),
|
|
503
|
-
filterSearchData.value.length > COUNT_PER_PAGE[0] ? (openBlock(), createElementBlock("div", _hoisted_15, [
|
|
490
|
+
unref(lePadV) && filterDataMb.value.length && filterDataMb.value.length < filterSearchData.value.length ? (openBlock(), createElementBlock("p", _hoisted_17, toDisplayString(unref(t)("sig.loading")), 1)) : createCommentVNode("", true),
|
|
491
|
+
filterSearchData.value.length > COUNT_PER_PAGE[0] ? (openBlock(), createElementBlock("div", _hoisted_18, [
|
|
504
492
|
createVNode(unref(OPagination), {
|
|
505
493
|
page: sigQuery.value.page,
|
|
506
494
|
"onUpdate:page": _cache[5] || (_cache[5] = ($event) => sigQuery.value.page = $event),
|
|
@@ -512,7 +500,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
512
500
|
"show-more": true
|
|
513
501
|
}, null, 8, ["page", "page-size", "total"])
|
|
514
502
|
])) : createCommentVNode("", true)
|
|
515
|
-
]
|
|
503
|
+
]);
|
|
516
504
|
};
|
|
517
505
|
}
|
|
518
506
|
});
|