linkmore-design 1.0.26 → 1.0.29

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 (57) hide show
  1. package/dist/index.umd.js +354 -454
  2. package/dist/index.umd.min.js +7 -7
  3. package/es/Button/index.js +1 -1
  4. package/es/Button/style/style.css +9 -0
  5. package/es/Checkbox/style/style.css +9 -0
  6. package/es/CkFilter/baseFilter/filterMenu.js +5 -4
  7. package/es/CkFilter/baseFilter/index.js +2 -1
  8. package/es/CkFilter/baseFilter/moreFilters.js +10 -5
  9. package/es/CkFilter/complexFilter/drawer.js +8 -9
  10. package/es/CkFilter/complexFilter/index.js +1 -1
  11. package/es/CkFilter/components/DragBox/index.js +0 -1
  12. package/es/CkFilter/components/DragBox/sortableItem.js +5 -1
  13. package/es/CkFilter/components/filterTypes.js +33 -18
  14. package/es/CkFilter/components/modal.js +36 -24
  15. package/es/CkFilter/context.js +2 -1
  16. package/es/CkFilter/customFilter/drawer.js +61 -13
  17. package/es/CkFilter/customFilter/index.js +4 -1
  18. package/es/CkFilter/customFilter/radioGroup.js +4 -3
  19. package/es/CkFilter/icon_placeholder.png +0 -0
  20. package/es/CkFilter/style/style.css +26 -5
  21. package/es/Dropdown/index.d.ts +2 -0
  22. package/es/Dropdown/index.js +9 -12
  23. package/es/Dropdown/style/index.css +12 -2
  24. package/es/Input/index.js +6 -5
  25. package/es/LmTable/ImgList/imgCell.js +3 -1
  26. package/es/LmTable/ImgList/imgTable.js +4 -4
  27. package/es/LmTable/style/style.css +62 -61
  28. package/es/Radio/index.js +4 -2
  29. package/es/Radio/style/style.css +17 -3
  30. package/lib/Button/index.js +1 -1
  31. package/lib/Button/style/style.css +9 -0
  32. package/lib/Checkbox/style/style.css +9 -0
  33. package/lib/CkFilter/baseFilter/filterMenu.js +5 -4
  34. package/lib/CkFilter/baseFilter/index.js +2 -1
  35. package/lib/CkFilter/baseFilter/moreFilters.js +10 -5
  36. package/lib/CkFilter/complexFilter/drawer.js +8 -9
  37. package/lib/CkFilter/complexFilter/index.js +1 -1
  38. package/lib/CkFilter/components/DragBox/index.js +0 -1
  39. package/lib/CkFilter/components/DragBox/sortableItem.js +5 -1
  40. package/lib/CkFilter/components/filterTypes.js +33 -18
  41. package/lib/CkFilter/components/modal.js +36 -24
  42. package/lib/CkFilter/context.js +2 -1
  43. package/lib/CkFilter/customFilter/drawer.js +61 -13
  44. package/lib/CkFilter/customFilter/index.js +4 -1
  45. package/lib/CkFilter/customFilter/radioGroup.js +4 -3
  46. package/lib/CkFilter/icon_placeholder.png +0 -0
  47. package/lib/CkFilter/style/style.css +26 -5
  48. package/lib/Dropdown/index.d.ts +2 -0
  49. package/lib/Dropdown/index.js +9 -12
  50. package/lib/Dropdown/style/index.css +12 -2
  51. package/lib/Input/index.js +6 -5
  52. package/lib/LmTable/ImgList/imgCell.js +3 -1
  53. package/lib/LmTable/ImgList/imgTable.js +4 -4
  54. package/lib/LmTable/style/style.css +62 -61
  55. package/lib/Radio/index.js +4 -2
  56. package/lib/Radio/style/style.css +17 -3
  57. package/package.json +4 -4
@@ -775,71 +775,71 @@ html {
775
775
  .ant-popover.ant-pro-table-column-setting-overlay .ant-tree .ant-tree-node-content-wrapper:hover {
776
776
  background-color: transparent;
777
777
  }
778
- .lm_img_table {
778
+ .lm_pro_component_img_table {
779
779
  display: flex;
780
780
  flex-flow: column;
781
781
  height: 100%;
782
782
  }
783
- .lm_img_table .lm_img_body {
783
+ .lm_pro_component_img_table .lm_img_body {
784
784
  flex: 1;
785
785
  height: calc(100% - 36px);
786
786
  }
787
- .lm_img_table .lm_img_body.hasChecked .lm_imgList .img_cell_wrap .checkBox,
788
- .lm_img_table .lm_img_body.hasChecked .lm_imgList .img_cell_wrap .card_cell_checkbox {
787
+ .lm_pro_component_img_table .lm_img_body.hasChecked .lm_imgList .img_cell_wrap .checkBox,
788
+ .lm_pro_component_img_table .lm_img_body.hasChecked .lm_imgList .img_cell_wrap .card_cell_checkbox {
789
789
  opacity: 1;
790
790
  }
791
- .lm_img_table .lm_img_footer {
791
+ .lm_pro_component_img_table .lm_img_footer {
792
792
  display: flex;
793
793
  justify-content: flex-end;
794
794
  height: 36px;
795
795
  }
796
- .lm_img_table .lm_imgList {
796
+ .lm_pro_component_img_table .lm_imgList {
797
797
  font-size: 0;
798
798
  }
799
- .lm_img_table .lm_imgList .img_cell_wrap {
799
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap {
800
800
  font-size: 12px;
801
801
  width: 20%;
802
802
  padding: 6px;
803
803
  overflow: hidden;
804
804
  }
805
- .lm_img_table .lm_imgList .img_cell_wrap.first_row {
805
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap.first_row {
806
806
  padding-top: 0;
807
807
  }
808
- .lm_img_table .lm_imgList .img_cell_wrap.last_row {
808
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap.last_row {
809
809
  padding-bottom: 0;
810
810
  }
811
- .lm_img_table .lm_imgList .img_cell_wrap.first_column {
811
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap.first_column {
812
812
  padding-left: 0;
813
813
  }
814
- .lm_img_table .lm_imgList .img_cell_wrap.last_column {
814
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap.last_column {
815
815
  padding-right: 0;
816
816
  }
817
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body {
817
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body {
818
818
  display: flex;
819
819
  flex-flow: column;
820
820
  height: 100%;
821
821
  border-radius: 2px;
822
822
  background-color: var(--background-color);
823
- padding: 16px 8px 8px 8px;
823
+ padding: 16px;
824
824
  overflow: hidden;
825
825
  border: 1px solid transparent;
826
826
  transition: 0.3s;
827
827
  }
828
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body:hover {
828
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body:hover {
829
829
  background-color: var(--background-color-hover);
830
830
  }
831
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .ant-checkbox {
831
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .ant-checkbox {
832
832
  border: 8px solid rgba(255, 255, 255, 0.624);
833
833
  border-radius: 2px;
834
834
  }
835
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .checkBox {
835
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .checkBox {
836
836
  position: absolute;
837
837
  top: 0;
838
838
  left: 0;
839
839
  opacity: 0;
840
840
  transition: 0.3s;
841
841
  }
842
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .more {
842
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .more {
843
843
  position: absolute;
844
844
  top: 0;
845
845
  right: 0;
@@ -848,7 +848,7 @@ html {
848
848
  background-color: rgba(255, 255, 255, 0.624);
849
849
  transition: 0.3s;
850
850
  }
851
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .more .more_btn {
851
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .more .more_btn {
852
852
  display: inline-flex;
853
853
  align-items: center;
854
854
  justify-content: center;
@@ -856,7 +856,7 @@ html {
856
856
  width: 32px;
857
857
  height: 32px;
858
858
  }
859
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum {
859
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum {
860
860
  position: relative;
861
861
  display: flex;
862
862
  align-items: center;
@@ -865,41 +865,42 @@ html {
865
865
  text-align: center;
866
866
  overflow: hidden;
867
867
  }
868
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum img {
868
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum img {
869
869
  display: inline-block;
870
- max-height: 200px;
871
870
  object-fit: cover;
872
871
  margin: auto;
872
+ width: 100%;
873
873
  }
874
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum:hover .checkBox,
875
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum:hover .more {
874
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum:hover .checkBox,
875
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_thum:hover .more {
876
876
  opacity: 1;
877
877
  }
878
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title {
878
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title {
879
879
  padding: 16px 0 0 4px;
880
880
  }
881
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .title {
881
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .title {
882
882
  color: var(--font-color);
883
883
  white-space: nowrap;
884
884
  text-overflow: ellipsis;
885
885
  overflow: hidden;
886
886
  font-weight: 500;
887
+ font-size: var(--font-size-base);
887
888
  }
888
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code {
889
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code {
889
890
  padding-top: 5px;
890
891
  color: var(--text-color);
891
892
  }
892
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography {
893
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography {
893
894
  color: var(--text-color);
894
895
  margin-bottom: 0;
895
896
  }
896
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography .ant-typography-copy {
897
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography .ant-typography-copy {
897
898
  color: inherit;
898
899
  }
899
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography .ant-typography-copy-success {
900
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_title .code .ant-typography .ant-typography-copy-success {
900
901
  color: var(--success-color);
901
902
  }
902
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_tags {
903
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_tags {
903
904
  flex: 1;
904
905
  width: 100%;
905
906
  padding-top: 9px;
@@ -910,19 +911,19 @@ html {
910
911
  font-size: 12px;
911
912
  padding-left: 4px;
912
913
  }
913
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_tags button.ant-btn-sm {
914
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body .img_cell_tags button.ant-btn-sm {
914
915
  border: 0;
915
916
  background: var(--background-color-hover);
916
917
  margin: 0 4px 6px 0px;
917
918
  }
918
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked {
919
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked {
919
920
  border-color: #2593f9;
920
921
  }
921
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked .checkBox,
922
- .lm_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked .more {
922
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked .checkBox,
923
+ .lm_pro_component_img_table .lm_imgList .img_cell_wrap .img_cell_body.checked .more {
923
924
  opacity: 1;
924
925
  }
925
- .lm_img_table .lm_card_cell_content {
926
+ .lm_pro_component_img_table .lm_card_cell_content {
926
927
  display: flex;
927
928
  flex-flow: column;
928
929
  height: 100%;
@@ -931,7 +932,7 @@ html {
931
932
  border-radius: 2px;
932
933
  transition: 0.3s;
933
934
  }
934
- .lm_img_table .lm_card_cell_content .card_cell_body {
935
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body {
935
936
  position: relative;
936
937
  flex: 1;
937
938
  display: flex;
@@ -940,7 +941,7 @@ html {
940
941
  padding: 16px;
941
942
  cursor: pointer;
942
943
  }
943
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_checkbox {
944
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_checkbox {
944
945
  position: absolute;
945
946
  left: 8px;
946
947
  top: 8px;
@@ -948,17 +949,17 @@ html {
948
949
  opacity: 0;
949
950
  transition: 0.3s;
950
951
  }
951
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_checkbox .ant-checkbox {
952
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_checkbox .ant-checkbox {
952
953
  border: 8px solid rgba(255, 255, 255, 0.624);
953
954
  border-radius: 2px;
954
955
  }
955
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title {
956
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title {
956
957
  display: flex;
957
958
  align-items: center;
958
959
  justify-content: space-between;
959
960
  gap: 8px;
960
961
  }
961
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title .label {
962
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title .label {
962
963
  flex: 1;
963
964
  font-size: 14px;
964
965
  font-weight: 500;
@@ -967,7 +968,7 @@ html {
967
968
  overflow: hidden;
968
969
  white-space: nowrap;
969
970
  }
970
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title .icon {
971
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .title .icon {
971
972
  display: inline-flex;
972
973
  align-items: center;
973
974
  gap: 4px;
@@ -977,18 +978,18 @@ html {
977
978
  background: var(--background-color);
978
979
  padding: 0 8px;
979
980
  }
980
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code {
981
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code {
981
982
  font-size: 12px;
982
983
  }
983
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code .ant-typography {
984
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code .ant-typography {
984
985
  color: var(--text-color);
985
986
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
986
987
  margin: 0;
987
988
  }
988
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code .ant-typography .ant-typography-copy {
989
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .code .ant-typography .ant-typography-copy {
989
990
  color: inherit;
990
991
  }
991
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .expand {
992
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .expand {
992
993
  display: flex;
993
994
  flex-wrap: wrap;
994
995
  gap: 16px;
@@ -997,15 +998,15 @@ html {
997
998
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
998
999
  padding: 6px 0 2px;
999
1000
  }
1000
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_info .expand > div {
1001
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_info .expand > div {
1001
1002
  padding: 2px 0;
1002
1003
  }
1003
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center {
1004
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center {
1004
1005
  display: flex;
1005
1006
  align-items: center;
1006
1007
  flex: 1;
1007
1008
  }
1008
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list {
1009
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list {
1009
1010
  display: flex;
1010
1011
  align-items: center;
1011
1012
  justify-content: space-between;
@@ -1013,31 +1014,31 @@ html {
1013
1014
  width: 100%;
1014
1015
  margin: auto 0;
1015
1016
  }
1016
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item {
1017
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item {
1017
1018
  display: inline-flex;
1018
1019
  align-items: center;
1019
1020
  gap: 4px;
1020
1021
  line-height: 1;
1021
1022
  }
1022
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item .num {
1023
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item .num {
1023
1024
  font-size: 20px;
1024
1025
  font-weight: 500;
1025
1026
  color: var(--font-color);
1026
1027
  }
1027
- .lm_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item .text {
1028
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_body .card_cell_center .list .item .text {
1028
1029
  font-size: 12px;
1029
1030
  color: var(--text-color);
1030
1031
  }
1031
- .lm_img_table .lm_card_cell_content .card_cell_footer {
1032
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_footer {
1032
1033
  display: flex;
1033
1034
  align-items: center;
1034
1035
  height: 40px;
1035
1036
  background: #F7F7F7;
1036
1037
  }
1037
- .lm_img_table .lm_card_cell_content .card_cell_footer > * {
1038
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_footer > * {
1038
1039
  flex: 1;
1039
1040
  }
1040
- .lm_img_table .lm_card_cell_content .card_cell_footer > *::after {
1041
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_footer > *::after {
1041
1042
  content: '';
1042
1043
  position: absolute;
1043
1044
  right: 0;
@@ -1047,23 +1048,23 @@ html {
1047
1048
  width: 1px;
1048
1049
  background-color: #E8E8E8;
1049
1050
  }
1050
- .lm_img_table .lm_card_cell_content .card_cell_footer button:last-child {
1051
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_footer button:last-child {
1051
1052
  border: none;
1052
1053
  }
1053
- .lm_img_table .lm_card_cell_content .card_cell_footer button:last-child::after {
1054
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_footer button:last-child::after {
1054
1055
  display: none;
1055
1056
  }
1056
- .lm_img_table .lm_card_cell_content .card_cell_footer .footer_expand {
1057
+ .lm_pro_component_img_table .lm_card_cell_content .card_cell_footer .footer_expand {
1057
1058
  font-size: 16px;
1058
1059
  text-align: center;
1059
1060
  border: none;
1060
1061
  }
1061
- .lm_img_table .lm_card_cell_content.checked,
1062
- .lm_img_table .lm_card_cell_content:hover {
1062
+ .lm_pro_component_img_table .lm_card_cell_content.checked,
1063
+ .lm_pro_component_img_table .lm_card_cell_content:hover {
1063
1064
  border-color: var(--primary-color);
1064
1065
  }
1065
- .lm_img_table .lm_card_cell_content.checked .card_cell_body .card_cell_checkbox,
1066
- .lm_img_table .lm_card_cell_content:hover .card_cell_body .card_cell_checkbox {
1066
+ .lm_pro_component_img_table .lm_card_cell_content.checked .card_cell_body .card_cell_checkbox,
1067
+ .lm_pro_component_img_table .lm_card_cell_content:hover .card_cell_body .card_cell_checkbox {
1067
1068
  opacity: 1;
1068
1069
  }
1069
1070
  .lm_customCheck {
package/es/Radio/index.js CHANGED
@@ -32,14 +32,16 @@ var LMRadio = function LMRadio(props) {
32
32
 
33
33
  LMRadio.Group = function (props) {
34
34
  var children = props.children,
35
- size = props.size,
35
+ _props$size = props.size,
36
+ size = _props$size === void 0 ? 'middle' : _props$size,
36
37
  buttonStyle = props.buttonStyle,
37
38
  _props$direction = props.direction,
38
39
  direction = _props$direction === void 0 ? 'row' : _props$direction,
39
40
  restProps = (0, _objectWithoutProperties2.default)(props, _excluded2);
40
41
  console.log(children, 'rrr');
41
42
  return /*#__PURE__*/_react.default.createElement(_radio.default.Group, (0, _extends2.default)({
42
- className: (0, _classnames.default)('lm-radio-group', "lm-radio-group-".concat(direction))
43
+ className: (0, _classnames.default)('lm-radio-group', "lm-radio-group-".concat(direction)),
44
+ size: size
43
45
  }, restProps), children);
44
46
  };
45
47
 
@@ -28,8 +28,8 @@
28
28
  }
29
29
  .lm-radio-group .ant-radio-button-wrapper {
30
30
  font-size: 12px;
31
- line-height: 20px;
32
- height: 24px;
31
+ line-height: 30px;
32
+ height: 32px;
33
33
  padding: 1px 8px;
34
34
  color: var(--font-color);
35
35
  vertical-align: middle;
@@ -44,7 +44,7 @@
44
44
  .lm-radio-group .ant-radio-button-wrapper > span:last-child {
45
45
  display: inline-block;
46
46
  font-size: 12px;
47
- line-height: 20px;
47
+ line-height: 30px;
48
48
  max-width: 96px;
49
49
  overflow: hidden;
50
50
  white-space: nowrap;
@@ -63,6 +63,20 @@
63
63
  color: var(--primary-hover-color);
64
64
  border-color: var(--primary-hover-color);
65
65
  }
66
+ .lm-radio-group.ant-radio-group-large .ant-radio-button-wrapper {
67
+ line-height: 38px;
68
+ height: 40px;
69
+ }
70
+ .lm-radio-group.ant-radio-group-large .ant-radio-button-wrapper > span:last-child {
71
+ line-height: 38px;
72
+ }
73
+ .lm-radio-group.ant-radio-group-small .ant-radio-button-wrapper {
74
+ line-height: 22px;
75
+ height: 24px;
76
+ }
77
+ .lm-radio-group.ant-radio-group-small .ant-radio-button-wrapper > span:last-child {
78
+ line-height: 22px;
79
+ }
66
80
  .lm-radio-group .ant-radio-wrapper {
67
81
  font-size: 12px;
68
82
  line-height: 20px;
@@ -34,7 +34,7 @@ var LMButton = function LMButton(props) {
34
34
  var children = props.children,
35
35
  className = props.className,
36
36
  _props$size = props.size,
37
- size = _props$size === void 0 ? 'small' : _props$size,
37
+ size = _props$size === void 0 ? 'middle' : _props$size,
38
38
  _props$type = props.type,
39
39
  type = _props$type === void 0 ? 'default' : _props$type,
40
40
  _props$hover = props.hover,
@@ -38,11 +38,17 @@
38
38
  max-width: 112px;
39
39
  font-size: 12px;
40
40
  }
41
+ .ant-btn.lm-button-small.lm-button-icon-only .anticon {
42
+ font-size: 16px;
43
+ }
41
44
  .ant-btn.lm-button-middle {
42
45
  height: 32px;
43
46
  padding: 6px 12px;
44
47
  max-width: 120px;
45
48
  }
49
+ .ant-btn.lm-button-middle .anticon {
50
+ font-size: 16px;
51
+ }
46
52
  .ant-btn.lm-button-default {
47
53
  border: 1px solid var(--stroke-color);
48
54
  color: var(--font-color);
@@ -82,6 +88,9 @@
82
88
  border-color: var(--error-loading-color);
83
89
  color: var(--error-hover-color);
84
90
  }
91
+ .ant-btn.lm-button-dashed {
92
+ border: 1px dashed var(--color-15);
93
+ }
85
94
  .ant-btn.lm-button-link {
86
95
  color: var(--primary-color);
87
96
  }
@@ -13,6 +13,9 @@
13
13
  .lm-checkbox .ant-checkbox .ant-checkbox-inner {
14
14
  border-color: var(--stroke-color);
15
15
  }
16
+ .lm-checkbox .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner {
17
+ border-color: var(--primary-color);
18
+ }
16
19
  .lm-checkbox .ant-checkbox:hover .ant-checkbox-inner {
17
20
  border-color: var(--primary-color);
18
21
  }
@@ -58,6 +61,9 @@
58
61
  color: var(--primary-hover-color);
59
62
  border-color: var(--primary-hover-color);
60
63
  }
64
+ .lm-checkbox-group .ant-checkbox-button-wrapper-checked.ant-checkbox-checked .ant-checkbox-inner {
65
+ border-color: var(--primary-color);
66
+ }
61
67
  .lm-checkbox-group .ant-checkbox-wrapper {
62
68
  font-size: 12px;
63
69
  line-height: 20px;
@@ -73,6 +79,9 @@
73
79
  .lm-checkbox-group .ant-checkbox-wrapper .ant-checkbox .ant-checkbox-inner {
74
80
  border-color: var(--stroke-color);
75
81
  }
82
+ .lm-checkbox-group .ant-checkbox-wrapper .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner {
83
+ border-color: var(--primary-color);
84
+ }
76
85
  .lm-checkbox-group .ant-checkbox-wrapper .ant-checkbox:hover .ant-checkbox-inner {
77
86
  border-color: var(--primary-color);
78
87
  }
@@ -145,7 +145,7 @@ var FilterMenu = function FilterMenu(props) {
145
145
  return filterValue;
146
146
  }, [comProps, data, isFiltering, setFilterValue, type, filterValue, state.nestedFilterValues, field]); // 下拉组件渲染
147
147
 
148
- var FilterControl = (0, _react.useCallback)(function () {
148
+ var FilterControl = function FilterControl() {
149
149
  var obj = {
150
150
  filters: data,
151
151
  getFilterValue: filterValue,
@@ -156,7 +156,8 @@ var FilterMenu = function FilterMenu(props) {
156
156
  type: type
157
157
  }, obj));
158
158
  });
159
- }, [data, setFilterValue, type, filterValue]); // 清除筛选项
159
+ }; // 清除筛选项
160
+
160
161
 
161
162
  var handleClear = function handleClear(e) {
162
163
  if (isFiltering) {
@@ -179,7 +180,7 @@ var FilterMenu = function FilterMenu(props) {
179
180
  if (type === 'date') {
180
181
  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
181
182
  className: (0, _classnames.default)('filter_item', {
182
- isfiltering: isFiltering,
183
+ isfiltering: isFiltering || visible,
183
184
  active: !isFiltering && visible
184
185
  })
185
186
  }, /*#__PURE__*/_react.default.createElement("div", {
@@ -201,7 +202,7 @@ var FilterMenu = function FilterMenu(props) {
201
202
  }
202
203
  }, /*#__PURE__*/_react.default.createElement("div", {
203
204
  className: (0, _classnames.default)('filter_item', {
204
- isfiltering: isFiltering,
205
+ isfiltering: isFiltering || visible,
205
206
  active: !isFiltering && visible
206
207
  })
207
208
  }, /*#__PURE__*/_react.default.createElement("div", {
@@ -45,6 +45,7 @@ var Filter = function Filter() {
45
45
  searchKey = _useStore$state$insta.searchKey,
46
46
  search = _useStore$state$insta.search,
47
47
  filter = _useStore$state$insta.filter,
48
+ size = _useStore$state$insta.size,
48
49
  isMore = _useStore$state.isMore,
49
50
  filterValues = _useStore$state.filterValues,
50
51
  visibleFields = _useStore$state.visibleFields,
@@ -73,7 +74,7 @@ var Filter = function Filter() {
73
74
  }, /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Input.Search, {
74
75
  ref: inputRef,
75
76
  allowClear: true,
76
- size: "small",
77
+ size: size,
77
78
  placeholder: placeholder,
78
79
  onSearch: handleFilter
79
80
  })), filter && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, data === null || data === void 0 ? void 0 : (_data$filter = data.filter(function (v) {
@@ -143,10 +143,14 @@ var MoreFilters = function MoreFilters() {
143
143
 
144
144
  if (type === 'move') {
145
145
  var cloneArr = (0, _toConsumableArray2.default)(state.orderFields);
146
- var findIndex = cloneArr.findIndex(function (v) {
147
- return v === item.over;
146
+ var oldIndex = cloneArr.findIndex(function (v) {
147
+ return v === item.active;
148
148
  });
149
- cloneArr.splice(findIndex, 0, item.active);
149
+ var newIndex = cloneArr.findIndex(function (v) {
150
+ return v === item.over;
151
+ }); // 在新位置增加数据
152
+
153
+ cloneArr.splice(newIndex, 0, cloneArr.splice(oldIndex, 1)[0]);
150
154
  dispatch({
151
155
  type: 'changeOrderFields',
152
156
  orderFields: cloneArr
@@ -183,7 +187,7 @@ var MoreFilters = function MoreFilters() {
183
187
  } // 人性化设计,位置不变无需收起
184
188
 
185
189
 
186
- if (['top'].includes(type)) {
190
+ if (!['top', 'move'].includes(type)) {
187
191
  setVisible(false); // 收起下拉选项框
188
192
  }
189
193
  }, [dispatch, state]);
@@ -213,6 +217,7 @@ var MoreFilters = function MoreFilters() {
213
217
  }
214
218
  }, /*#__PURE__*/_react.default.createElement("div", {
215
219
  className: (0, _classnames.default)('filter_item filter_item_more', {
220
+ isfiltering: visible,
216
221
  active: visible
217
222
  })
218
223
  }, /*#__PURE__*/_react.default.createElement("div", {
@@ -222,7 +227,7 @@ var MoreFilters = function MoreFilters() {
222
227
  className: "addonBefore"
223
228
  }), /*#__PURE__*/_react.default.createElement("span", {
224
229
  className: "checked"
225
- }, "\u66F4\u591A\u67E5\u8BE2"), /*#__PURE__*/_react.default.createElement(_IconFont.default, {
230
+ }, "\u66F4\u591A\u7B5B\u9009"), /*#__PURE__*/_react.default.createElement(_IconFont.default, {
226
231
  type: "lmweb-down",
227
232
  className: "addonAfter"
228
233
  })))));
@@ -164,7 +164,12 @@ var ListItemChecked = function ListItemChecked(props) {
164
164
 
165
165
 
166
166
  var tagElem = function tagElem() {
167
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, checkedValues === null || checkedValues === void 0 ? void 0 : checkedValues.map(function (v) {
167
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_tag.default, {
168
+ className: "site-tag-plus",
169
+ onClick: handleAdd
170
+ }, /*#__PURE__*/_react.default.createElement(_IconFont.default, {
171
+ type: "lmweb-plus-circle"
172
+ }), " \u65B0\u589E"), checkedValues === null || checkedValues === void 0 ? void 0 : checkedValues.map(function (v) {
168
173
  return /*#__PURE__*/_react.default.createElement(_tag.default, {
169
174
  key: v.value,
170
175
  closable: true,
@@ -172,12 +177,7 @@ var ListItemChecked = function ListItemChecked(props) {
172
177
  return onTagClose(v.value);
173
178
  }
174
179
  }, v.label);
175
- }), /*#__PURE__*/_react.default.createElement(_tag.default, {
176
- className: "site-tag-plus",
177
- onClick: handleAdd
178
- }, /*#__PURE__*/_react.default.createElement(_IconFont.default, {
179
- type: "lmweb-plus-circle"
180
- }), " \u65B0\u589E"));
180
+ }));
181
181
  }; // 模式
182
182
 
183
183
 
@@ -225,8 +225,7 @@ var ListGroup = function ListGroup() {
225
225
  // 单项匹配数据, 根据字段名查找
226
226
  var getItem = fullData.find(function (v) {
227
227
  return v.field === field;
228
- });
229
- console.log('getItem', getItem); // 编辑
228
+ }); // 编辑
230
229
 
231
230
  dispatch({
232
231
  type: 'changeModal',
@@ -62,7 +62,7 @@ var Custom = function Custom() {
62
62
  className: "addonBefore"
63
63
  }), /*#__PURE__*/_react.default.createElement("span", {
64
64
  className: "checked"
65
- }, "\u9AD8\u7EA7\u67E5\u8BE2"))), /*#__PURE__*/_react.default.createElement(_drawer.default, null));
65
+ }, "\u9AD8\u7EA7\u7B5B\u9009"))), /*#__PURE__*/_react.default.createElement(_drawer.default, null));
66
66
  };
67
67
 
68
68
  var _default = Custom;
@@ -32,7 +32,6 @@ var Drag = function Drag(_ref) {
32
32
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
33
33
 
34
34
  var move = function move(active, over) {
35
- console.log('handleMove', active, over);
36
35
  setFilterValue({
37
36
  active: active,
38
37
  over: over
@@ -89,7 +89,11 @@ var SortableItem = function SortableItem(props) {
89
89
  }
90
90
  }), /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({
91
91
  className: "pointer_move"
92
- }, listeners), /*#__PURE__*/_react.default.createElement(_icons.HolderOutlined, null)), /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Checkbox, {
92
+ }, listeners), /*#__PURE__*/_react.default.createElement(_icons.HolderOutlined, {
93
+ style: {
94
+ color: 'var(--tip-text-color)'
95
+ }
96
+ })), /*#__PURE__*/_react.default.createElement(_linkmoreDesign.Checkbox, {
93
97
  value: virItem.field,
94
98
  className: "filter_item-content"
95
99
  }, virItem.title), /*#__PURE__*/_react.default.createElement("div", {