widget.qw 1.0.97 → 1.1.0
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/.env.development +1 -1
- package/build/style.css +28 -96
- package/build/widget.qw.es.js +301 -798
- package/build/widget.qw.umd.js +301 -798
- package/package.json +1 -1
- package/src/components/CascaderPicker.vue +49 -31
- package/src/components/CascaderPop.vue +189 -72
- package/src/components/Input.vue +12 -12
- package/src/components/ObjsEditor.vue +6 -5
- package/src/components/index.js +0 -10
- package/src/router/index.ts +0 -5
- package/src/views/cascaderpicker/userpicker.vue +2 -2
- package/src/views/userpicker/index.vue +2 -2
- package/src/components/UserPicker.vue +0 -107
- package/src/components/UsersPicker.vue +0 -118
- package/src/components/widget/UserPop.vue +0 -346
- package/src/views/userspicker/index.vue +0 -43
package/.env.development
CHANGED
|
@@ -7,4 +7,4 @@ VITE_NEED_LOGIN_CODE=401
|
|
|
7
7
|
# 注意:发布时 VITE_IS_DEBUG必须配置为false
|
|
8
8
|
# 本地开发时 VITE_IS_DEBUG必须配置为true
|
|
9
9
|
VITE_IS_DEBUG=true
|
|
10
|
-
VITE_DEBUG_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
|
|
10
|
+
VITE_DEBUG_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiJIb3VNdSIsInJuU3RyIjoiNU9FTEgydFJReDlVQ2VFYzljZzJjRGc2a3g3VEp3SGQifQ.z3urMfzsUoQAd_DFGx1lgIdwKSHTFLFbUPjcAcFNI1A'
|
package/build/style.css
CHANGED
|
@@ -89,10 +89,10 @@
|
|
|
89
89
|
:root:root {
|
|
90
90
|
--van-popover-action-width: 70vw;
|
|
91
91
|
}
|
|
92
|
-
[data-v-
|
|
92
|
+
[data-v-bdbdf60a] .label {
|
|
93
93
|
color: #000 !important;
|
|
94
94
|
}
|
|
95
|
-
[data-v-
|
|
95
|
+
[data-v-bdbdf60a] .van-field__control:disabled {
|
|
96
96
|
color: #000 !important;
|
|
97
97
|
cursor: not-allowed;
|
|
98
98
|
opacity: 1;
|
|
@@ -515,74 +515,6 @@
|
|
|
515
515
|
overflow-y: auto;
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
-
.user-popup[data-v-85dea264] {
|
|
519
|
-
width: 100%;
|
|
520
|
-
overflow: hidden;
|
|
521
|
-
}
|
|
522
|
-
.department-selector[data-v-85dea264] {
|
|
523
|
-
padding: 10px;
|
|
524
|
-
}
|
|
525
|
-
.search-buttons[data-v-85dea264] {
|
|
526
|
-
display: flex;
|
|
527
|
-
gap: 10px;
|
|
528
|
-
}
|
|
529
|
-
.clear-btn[data-v-85dea264] {
|
|
530
|
-
background-color: #f2f3f5;
|
|
531
|
-
border: none;
|
|
532
|
-
border-radius: 4px;
|
|
533
|
-
padding: 4px 8px;
|
|
534
|
-
font-size: 14px;
|
|
535
|
-
}
|
|
536
|
-
.confirm-btn[data-v-85dea264] {
|
|
537
|
-
background-color: #1989fa;
|
|
538
|
-
color: white;
|
|
539
|
-
border: none;
|
|
540
|
-
border-radius: 4px;
|
|
541
|
-
padding: 4px 8px;
|
|
542
|
-
font-size: 14px;
|
|
543
|
-
}
|
|
544
|
-
.no-results[data-v-85dea264] {
|
|
545
|
-
text-align: center;
|
|
546
|
-
padding: 20px;
|
|
547
|
-
color: #969799;
|
|
548
|
-
}
|
|
549
|
-
.picker-header[data-v-85dea264] {
|
|
550
|
-
padding: 10px;
|
|
551
|
-
border-bottom: 1px solid #ebedf0;
|
|
552
|
-
display: flex;
|
|
553
|
-
justify-content: space-between;
|
|
554
|
-
align-items: center;
|
|
555
|
-
}
|
|
556
|
-
.current-path[data-v-85dea264] {
|
|
557
|
-
flex: 1;
|
|
558
|
-
font-size: 14px;
|
|
559
|
-
color: #323233;
|
|
560
|
-
white-space: nowrap;
|
|
561
|
-
overflow: hidden;
|
|
562
|
-
text-overflow: ellipsis;
|
|
563
|
-
}
|
|
564
|
-
.header-right[data-v-85dea264] {
|
|
565
|
-
display: flex;
|
|
566
|
-
gap: 8px;
|
|
567
|
-
margin-left: auto;
|
|
568
|
-
}
|
|
569
|
-
.cancel-btn[data-v-85dea264] {
|
|
570
|
-
color: #969799;
|
|
571
|
-
margin-right: 5px;
|
|
572
|
-
}
|
|
573
|
-
.scroll-container[data-v-85dea264] {
|
|
574
|
-
height: calc(80vh - 150px);
|
|
575
|
-
overflow-y: auto;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
.user-item[data-v-2ccc13b6]{
|
|
579
|
-
margin:3px;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
.user[data-v-d61f4f1a]{
|
|
583
|
-
padding:4px 8px;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
518
|
.widget[data-v-107e26c3] {
|
|
587
519
|
position: relative;
|
|
588
520
|
display: flex;
|
|
@@ -743,25 +675,25 @@
|
|
|
743
675
|
margin:3px;
|
|
744
676
|
}
|
|
745
677
|
|
|
746
|
-
.cascader-pop[data-v-
|
|
678
|
+
.cascader-pop[data-v-27ca3ce1] {
|
|
747
679
|
width: 100%;
|
|
748
680
|
overflow: hidden;
|
|
749
681
|
}
|
|
750
|
-
.cascader-selector[data-v-
|
|
682
|
+
.cascader-selector[data-v-27ca3ce1] {
|
|
751
683
|
padding: 10px;
|
|
752
684
|
}
|
|
753
|
-
.search-buttons[data-v-
|
|
685
|
+
.search-buttons[data-v-27ca3ce1] {
|
|
754
686
|
display: flex;
|
|
755
687
|
gap: 10px;
|
|
756
688
|
}
|
|
757
|
-
.clear-btn[data-v-
|
|
689
|
+
.clear-btn[data-v-27ca3ce1] {
|
|
758
690
|
background-color: #f2f3f5;
|
|
759
691
|
border: none;
|
|
760
692
|
border-radius: 4px;
|
|
761
693
|
padding: 4px 8px;
|
|
762
694
|
font-size: 14px;
|
|
763
695
|
}
|
|
764
|
-
.confirm-btn[data-v-
|
|
696
|
+
.confirm-btn[data-v-27ca3ce1] {
|
|
765
697
|
background-color: #1989fa;
|
|
766
698
|
color: white;
|
|
767
699
|
border: none;
|
|
@@ -769,46 +701,46 @@
|
|
|
769
701
|
padding: 4px 8px;
|
|
770
702
|
font-size: 14px;
|
|
771
703
|
}
|
|
772
|
-
.no-results[data-v-
|
|
704
|
+
.no-results[data-v-27ca3ce1] {
|
|
773
705
|
text-align: center;
|
|
774
706
|
padding: 20px;
|
|
775
707
|
color: #969799;
|
|
776
708
|
}
|
|
777
|
-
.cascader-header[data-v-
|
|
709
|
+
.cascader-header[data-v-27ca3ce1] {
|
|
778
710
|
padding: 10px;
|
|
779
711
|
border-bottom: 1px solid #ebedf0;
|
|
780
712
|
display: flex;
|
|
781
713
|
justify-content: space-between;
|
|
782
714
|
align-items: center;
|
|
783
715
|
}
|
|
784
|
-
.current-path[data-v-
|
|
716
|
+
.current-path[data-v-27ca3ce1] {
|
|
785
717
|
flex: 1;
|
|
786
718
|
font-size: 14px;
|
|
787
|
-
margin-left:5px;
|
|
719
|
+
margin-left: 5px;
|
|
788
720
|
color: #323233;
|
|
789
721
|
white-space: nowrap;
|
|
790
722
|
overflow: hidden;
|
|
791
723
|
text-overflow: ellipsis;
|
|
792
724
|
}
|
|
793
|
-
.header-right[data-v-
|
|
725
|
+
.header-right[data-v-27ca3ce1] {
|
|
794
726
|
display: flex;
|
|
795
727
|
gap: 8px;
|
|
796
728
|
margin-left: auto;
|
|
797
729
|
}
|
|
798
|
-
.cancel-btn[data-v-
|
|
730
|
+
.cancel-btn[data-v-27ca3ce1] {
|
|
799
731
|
color: #969799;
|
|
800
732
|
margin-right: 5px;
|
|
801
733
|
}
|
|
802
|
-
.scroll-container[data-v-
|
|
734
|
+
.scroll-container[data-v-27ca3ce1] {
|
|
803
735
|
height: calc(80vh - 150px);
|
|
804
736
|
overflow-y: auto;
|
|
805
737
|
}
|
|
806
|
-
.cell-content[data-v-
|
|
738
|
+
.cell-content[data-v-27ca3ce1] {
|
|
807
739
|
display: flex;
|
|
808
740
|
align-items: center;
|
|
809
741
|
gap: 12px;
|
|
810
742
|
}
|
|
811
|
-
.circle-selector[data-v-
|
|
743
|
+
.circle-selector[data-v-27ca3ce1] {
|
|
812
744
|
width: 20px;
|
|
813
745
|
height: 20px;
|
|
814
746
|
border-radius: 50%;
|
|
@@ -818,29 +750,29 @@
|
|
|
818
750
|
transition: all 0.2s;
|
|
819
751
|
flex-shrink: 0;
|
|
820
752
|
}
|
|
821
|
-
.circle-selector.selected[data-v-
|
|
753
|
+
.circle-selector.selected[data-v-27ca3ce1] {
|
|
822
754
|
background-color: #1989fa;
|
|
823
755
|
border-color: #1989fa;
|
|
824
756
|
}
|
|
825
|
-
.circle-selector.selected .van-icon[data-v-
|
|
757
|
+
.circle-selector.selected .van-icon[data-v-27ca3ce1] {
|
|
826
758
|
color: white;
|
|
827
759
|
font-size: 14px;
|
|
828
760
|
}
|
|
829
|
-
.van-cell__right-icon[data-v-
|
|
761
|
+
.van-cell__right-icon[data-v-27ca3ce1] {
|
|
830
762
|
color: #969799;
|
|
831
763
|
font-size: 16px;
|
|
832
764
|
margin-left: 8px;
|
|
833
765
|
}
|
|
834
|
-
.name[data-v-
|
|
766
|
+
.name[data-v-27ca3ce1] {
|
|
835
767
|
flex: 1;
|
|
836
768
|
overflow: hidden;
|
|
837
769
|
text-overflow: ellipsis;
|
|
838
770
|
white-space: nowrap;
|
|
839
771
|
}
|
|
840
|
-
.cancel-btn[data-v-
|
|
772
|
+
.cancel-btn[data-v-27ca3ce1] {
|
|
841
773
|
color: #969799;
|
|
842
774
|
}
|
|
843
|
-
.search-field[data-v-
|
|
775
|
+
.search-field[data-v-27ca3ce1] {
|
|
844
776
|
background: #fff;
|
|
845
777
|
padding: 10px 16px;
|
|
846
778
|
border-bottom: 1px solid #ebedf0;
|
|
@@ -875,14 +807,14 @@
|
|
|
875
807
|
}
|
|
876
808
|
.widget .readonly-field[data-v-e7bb4e5c] {
|
|
877
809
|
margin: 4px 0;
|
|
878
|
-
}.widget[data-v-
|
|
810
|
+
}.widget[data-v-febc3832] {
|
|
879
811
|
background: #fff;
|
|
880
812
|
box-sizing: border-box;
|
|
881
813
|
height: 100%;
|
|
882
814
|
text-align: left;
|
|
883
815
|
font-size: 12px;
|
|
884
816
|
}
|
|
885
|
-
.option[data-v-
|
|
817
|
+
.option[data-v-febc3832] {
|
|
886
818
|
margin: 0 8px 8px 0;
|
|
887
819
|
padding: 5px 10px;
|
|
888
820
|
border-radius: 6px;
|
|
@@ -892,16 +824,16 @@
|
|
|
892
824
|
display: inline-block;
|
|
893
825
|
position: relative;
|
|
894
826
|
}
|
|
895
|
-
[data-v-
|
|
827
|
+
[data-v-febc3832] .van-field__label {
|
|
896
828
|
margin: auto;
|
|
897
829
|
}
|
|
898
|
-
[data-v-
|
|
830
|
+
[data-v-febc3832] .van-cell {
|
|
899
831
|
font-size: 12px;
|
|
900
832
|
padding: 5px 5px;
|
|
901
833
|
}
|
|
902
|
-
[data-v-
|
|
834
|
+
[data-v-febc3832] .van-icon {
|
|
903
835
|
font-size: 12px;
|
|
904
836
|
}
|
|
905
|
-
[data-v-
|
|
837
|
+
[data-v-febc3832] .van-popup .van-cell {
|
|
906
838
|
padding: 5px 25px;
|
|
907
839
|
}
|