vue-intergrall-plugins 1.1.50 → 1.1.52
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/dist/vue-intergrall-plugins.css +1 -0
- package/dist/vue-intergrall-plugins.esm.js +13 -27
- package/dist/vue-intergrall-plugins.min.js +2 -2
- package/dist/vue-intergrall-plugins.ssr.js +38 -48
- package/package.json +4 -1
- package/src/lib-components/Email/EmailItem.vue +6 -607
- package/src/lib-components/Messages/ChatMessages.vue +1 -482
|
@@ -167,6 +167,7 @@ import Picker from "../Chat/Picker";
|
|
|
167
167
|
import { formataTimezoneData } from "../../services/textFormatting";
|
|
168
168
|
import LinkPreview from "./LinkPreview";
|
|
169
169
|
import Clickaway from "@/directives/clickaway";
|
|
170
|
+
import '../../styles/style.css'
|
|
170
171
|
|
|
171
172
|
export default {
|
|
172
173
|
components: {
|
|
@@ -599,485 +600,3 @@ export default {
|
|
|
599
600
|
},
|
|
600
601
|
};
|
|
601
602
|
</script>
|
|
602
|
-
|
|
603
|
-
<style>
|
|
604
|
-
:root {
|
|
605
|
-
--message-color: #373737;
|
|
606
|
-
--text-color: #fff;
|
|
607
|
-
--files-bg: rgba(255, 255, 255, 0.1);
|
|
608
|
-
--files-bg-hover: rgba(255, 255, 255, 0.1);
|
|
609
|
-
|
|
610
|
-
--light: 80;
|
|
611
|
-
--threshold: 60;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
.fade-enter-active,
|
|
615
|
-
.fade-leave-active {
|
|
616
|
-
transition: opacity 0.5s;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
.fade-enter,
|
|
620
|
-
.fade-leave-to {
|
|
621
|
-
opacity: 0;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
.mensagem-reply {
|
|
625
|
-
padding: 5px 10px;
|
|
626
|
-
font-size: 12px;
|
|
627
|
-
color: #666;
|
|
628
|
-
transition: background-color 150ms ease-in-out;
|
|
629
|
-
border-radius: 5px;
|
|
630
|
-
margin: 5px 0;
|
|
631
|
-
overflow: hidden;
|
|
632
|
-
max-width: 100%;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.mensagem-reply p {
|
|
636
|
-
overflow: hidden;
|
|
637
|
-
text-overflow: ellipsis;
|
|
638
|
-
white-space: nowrap;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.message-reply-principal {
|
|
642
|
-
border-left: 3px solid transparent;
|
|
643
|
-
background-color: rgba(100, 100, 100, 0.1);
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
.message-reply-principal:hover {
|
|
647
|
-
background-color: rgba(100, 100, 100, 0.2);
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.message-reply-outros {
|
|
651
|
-
background-color: rgb(245, 245, 245);
|
|
652
|
-
border-left: 3px solid var(--message-color);
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
.message-reply-outros:hover {
|
|
656
|
-
background-color: rgb(235, 235, 235);
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.mensagem-reply-vazia {
|
|
660
|
-
display: flex;
|
|
661
|
-
align-items: center;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
.mensagem-reply-vazia svg {
|
|
665
|
-
margin-right: 5px;
|
|
666
|
-
color: #ba181b;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
.mensagem {
|
|
670
|
-
padding: 20px 7px 14px 7px;
|
|
671
|
-
border-radius: 5px;
|
|
672
|
-
min-width: 150px;
|
|
673
|
-
min-height: 60px;
|
|
674
|
-
width: -webkit-fit-content;
|
|
675
|
-
width: -moz-fit-content;
|
|
676
|
-
width: fit-content;
|
|
677
|
-
position: relative;
|
|
678
|
-
max-width: 80%;
|
|
679
|
-
margin-bottom: 10px;
|
|
680
|
-
font-size: 12px;
|
|
681
|
-
word-break: break-word;
|
|
682
|
-
|
|
683
|
-
-webkit-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
|
|
684
|
-
0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
685
|
-
-moz-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
|
|
686
|
-
0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
687
|
-
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
|
|
688
|
-
0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
.mensagem.max-w-60 {
|
|
692
|
-
max-width: 60%;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
.mensagem.mapa {
|
|
696
|
-
width: 100%;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
.mensagem.hist-msg {
|
|
700
|
-
animation: show 1s;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
.mensagem a {
|
|
704
|
-
margin-right: 5px;
|
|
705
|
-
font-weight: 550;
|
|
706
|
-
color: inherit;
|
|
707
|
-
text-decoration: none;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
.mensagem a:hover {
|
|
711
|
-
text-decoration: underline;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
.message p {
|
|
715
|
-
white-space: pre-wrap;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
.mensagem-anexo a,
|
|
719
|
-
.mensagem-div-mapa a {
|
|
720
|
-
white-space: nowrap;
|
|
721
|
-
text-overflow: ellipsis;
|
|
722
|
-
overflow: hidden;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
.reply {
|
|
726
|
-
cursor: pointer;
|
|
727
|
-
position: absolute;
|
|
728
|
-
right: 53px;
|
|
729
|
-
bottom: 5px;
|
|
730
|
-
font-size: 9.6px;
|
|
731
|
-
color: #67a332;
|
|
732
|
-
width: 14.4px;
|
|
733
|
-
height: 14.4px;
|
|
734
|
-
display: flex;
|
|
735
|
-
justify-content: center;
|
|
736
|
-
align-items: center;
|
|
737
|
-
border-radius: 50%;
|
|
738
|
-
background-color: #fff;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
.reply svg {
|
|
742
|
-
margin-top: -1px;
|
|
743
|
-
margin-right: -1px;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
.reply-with-2-icons {
|
|
747
|
-
right: 30px;
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
.check {
|
|
751
|
-
cursor: pointer;
|
|
752
|
-
position: absolute;
|
|
753
|
-
right: 10px;
|
|
754
|
-
bottom: 2px;
|
|
755
|
-
font-size: 11.2px;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
.check.visualizado,
|
|
759
|
-
.check.visualizado svg {
|
|
760
|
-
color: #006daa;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
.check.verde,
|
|
764
|
-
.check.verde svg {
|
|
765
|
-
color: #4f772d;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
.check.vermelho,
|
|
769
|
-
.check.vermelho svg {
|
|
770
|
-
color: #ba181b;
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
.check.cinza,
|
|
774
|
-
.check.cinza svg {
|
|
775
|
-
color: #999;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
.check.preto,
|
|
779
|
-
.check.preto svg {
|
|
780
|
-
color: #666;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
.star {
|
|
784
|
-
cursor: pointer;
|
|
785
|
-
position: absolute;
|
|
786
|
-
right: 30px;
|
|
787
|
-
bottom: 2px;
|
|
788
|
-
font-size: 6.4px;
|
|
789
|
-
width: 11.2px;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
.default-stick-size {
|
|
793
|
-
width: 180px;
|
|
794
|
-
height: auto;
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
.horario-envio {
|
|
798
|
-
margin-right: 15px;
|
|
799
|
-
font-size: 11.2px;
|
|
800
|
-
position: absolute;
|
|
801
|
-
left: 10px;
|
|
802
|
-
bottom: 2px;
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
.autor-mensagem {
|
|
806
|
-
position: absolute;
|
|
807
|
-
font-size: 9.6px;
|
|
808
|
-
white-space: nowrap;
|
|
809
|
-
text-overflow: ellipsis;
|
|
810
|
-
overflow: hidden;
|
|
811
|
-
max-width: 90%;
|
|
812
|
-
font-weight: bold;
|
|
813
|
-
top: 2px;
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
.menu-primario {
|
|
817
|
-
transition: opacity 150ms ease-in-out;
|
|
818
|
-
height: 20px;
|
|
819
|
-
position: absolute;
|
|
820
|
-
font-size: 11.2px;
|
|
821
|
-
top: 2px;
|
|
822
|
-
display: flex;
|
|
823
|
-
gap: 5px;
|
|
824
|
-
padding: 2px 4px;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
.menu-primario.principal {
|
|
828
|
-
left: 2px;
|
|
829
|
-
color: var(--text-color);
|
|
830
|
-
background-color: var(--message-color);
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
.menu-primario.outros {
|
|
834
|
-
right: 2px;
|
|
835
|
-
color: var(--text-color);
|
|
836
|
-
background-color: #fff;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
.menu-primario.outros>span:nth-child(1) {
|
|
840
|
-
order: 10;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
.menu-mensagem {
|
|
844
|
-
cursor: pointer;
|
|
845
|
-
padding: 1px;
|
|
846
|
-
opacity: 0.7;
|
|
847
|
-
transition: opacity 100ms ease-in-out;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
.menu-mensagem:hover,
|
|
851
|
-
.menu-mensagem:focus,
|
|
852
|
-
.menu-mensagem:active {
|
|
853
|
-
opacity: 1;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
.menu-flutuante {
|
|
857
|
-
background-color: #fff;
|
|
858
|
-
-webkit-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
|
|
859
|
-
0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
860
|
-
-moz-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
|
|
861
|
-
0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
862
|
-
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
|
|
863
|
-
0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
864
|
-
border-radius: 10px;
|
|
865
|
-
position: absolute;
|
|
866
|
-
top: 20px;
|
|
867
|
-
width: 120px;
|
|
868
|
-
min-height: 50px;
|
|
869
|
-
height: 50px;
|
|
870
|
-
max-height: 50px;
|
|
871
|
-
overflow-x: hidden;
|
|
872
|
-
overflow-y: auto;
|
|
873
|
-
margin: 0;
|
|
874
|
-
padding: 0;
|
|
875
|
-
display: flex;
|
|
876
|
-
flex-direction: column;
|
|
877
|
-
z-index: 1;
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
.menu-flutuante.principal {
|
|
881
|
-
left: 3px;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
.menu-flutuante.outros {
|
|
885
|
-
right: 3px;
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
.menu-flutuante li {
|
|
889
|
-
transition: background-color 300ms ease-in-out;
|
|
890
|
-
width: 100%;
|
|
891
|
-
cursor: pointer;
|
|
892
|
-
padding: 5px 10px;
|
|
893
|
-
display: flex;
|
|
894
|
-
align-items: center;
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
.menu-flutuante li:hover {
|
|
898
|
-
background-color: #e9e9e9;
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
/* Principal */
|
|
902
|
-
.mensagem__principal {
|
|
903
|
-
width: 100%;
|
|
904
|
-
display: flex;
|
|
905
|
-
justify-content: flex-end;
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
.mensagem__principal>.mensagem::after {
|
|
909
|
-
content: "";
|
|
910
|
-
width: 0;
|
|
911
|
-
height: 0;
|
|
912
|
-
position: absolute;
|
|
913
|
-
border-left: 10px solid transparent;
|
|
914
|
-
border-right: 10px solid transparent;
|
|
915
|
-
border-top: 10px solid var(--message-color);
|
|
916
|
-
bottom: 5px;
|
|
917
|
-
right: -10px;
|
|
918
|
-
transform: rotate(-90deg);
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
.mensagem__principal>.mensagem {
|
|
922
|
-
background-color: var(--message-color);
|
|
923
|
-
color: var(--text-color);
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
.mensagem__principal>.mensagem .horario-envio {
|
|
927
|
-
color: var(--text-color);
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
.mensagem__principal>.mensagem .autor-mensagem {
|
|
931
|
-
right: 5px;
|
|
932
|
-
color: var(--text-color);
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
/* Outros */
|
|
936
|
-
.mensagem__outros {
|
|
937
|
-
width: 100%;
|
|
938
|
-
display: flex;
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
.mensagem__outros>.mensagem {
|
|
942
|
-
background-color: #fff;
|
|
943
|
-
color: #333;
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
.mensagem__outros>.mensagem::after {
|
|
947
|
-
content: "";
|
|
948
|
-
width: 0;
|
|
949
|
-
height: 0;
|
|
950
|
-
position: absolute;
|
|
951
|
-
border-left: 10px solid transparent;
|
|
952
|
-
border-right: 10px solid transparent;
|
|
953
|
-
border-top: 10px solid #fff;
|
|
954
|
-
bottom: 5px;
|
|
955
|
-
left: -10px;
|
|
956
|
-
transform: rotate(90deg);
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
/* .mensagem__outros .check{
|
|
960
|
-
display: none
|
|
961
|
-
} */
|
|
962
|
-
.mensagem__outros>.autor-mensagem {
|
|
963
|
-
left: 5px;
|
|
964
|
-
color: #333;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
/* Mapa */
|
|
968
|
-
.mensagem-div-mapa {
|
|
969
|
-
width: 100%;
|
|
970
|
-
display: flex;
|
|
971
|
-
justify-content: center;
|
|
972
|
-
align-items: center;
|
|
973
|
-
flex-direction: column;
|
|
974
|
-
margin-bottom: 5px;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
.msg-mapa {
|
|
978
|
-
width: 100%;
|
|
979
|
-
min-height: 225px;
|
|
980
|
-
height: 100%;
|
|
981
|
-
box-sizing: initial;
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
.msg-mapa img {
|
|
985
|
-
max-width: none !important;
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
.info-mapa {
|
|
989
|
-
list-style-type: none;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
.info-mapa li.title {
|
|
993
|
-
font-size: 13.6px;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
.info-mapa li.address,
|
|
997
|
-
.info-mapa li.url {
|
|
998
|
-
font-size: 13.6px;
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
.info-mapa li.url {
|
|
1002
|
-
font-size: 13.6px;
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
.tooltip-list {
|
|
1006
|
-
margin: 0;
|
|
1007
|
-
padding: 0;
|
|
1008
|
-
display: flex;
|
|
1009
|
-
flex-direction: column;
|
|
1010
|
-
justify-content: center;
|
|
1011
|
-
align-items: flex-start;
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
.emoji-message-container {
|
|
1015
|
-
position: absolute;
|
|
1016
|
-
top: 0;
|
|
1017
|
-
z-index: 1;
|
|
1018
|
-
width: 300px;
|
|
1019
|
-
height: 250px;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
/* .emoji-message-container {
|
|
1023
|
-
z-index: 1;
|
|
1024
|
-
overflow: hidden;
|
|
1025
|
-
width: 300px;
|
|
1026
|
-
height: 250px;
|
|
1027
|
-
|
|
1028
|
-
>.sm-emoji-picker {
|
|
1029
|
-
position: relative;
|
|
1030
|
-
width: 300px;
|
|
1031
|
-
height: 250px;
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
.mensagem .reaction {
|
|
1036
|
-
$size: 28.8px;
|
|
1037
|
-
width: $size;
|
|
1038
|
-
height: $size;
|
|
1039
|
-
min-width: $size;
|
|
1040
|
-
min-height: $size;
|
|
1041
|
-
max-width: $size;
|
|
1042
|
-
max-height: $size;
|
|
1043
|
-
} */
|
|
1044
|
-
|
|
1045
|
-
.emoji-message-container .sm-emoji-picker {
|
|
1046
|
-
width: 300px;
|
|
1047
|
-
height: 250px;
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1050
|
-
.emoji-message-container .sm-emoji-picker .sm-emoji-header {
|
|
1051
|
-
overflow-x: auto;
|
|
1052
|
-
overflow-y: hidden;
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
.reaction {
|
|
1056
|
-
position: absolute;
|
|
1057
|
-
bottom: 0;
|
|
1058
|
-
border-radius: 50%;
|
|
1059
|
-
display: flex;
|
|
1060
|
-
justify-content: center;
|
|
1061
|
-
align-items: center;
|
|
1062
|
-
background-color: rgba(100, 100, 100, 0.4);
|
|
1063
|
-
padding: 5px;
|
|
1064
|
-
font-size: 20.8px;
|
|
1065
|
-
min-width: 28.8px;
|
|
1066
|
-
min-height: 28.8px;
|
|
1067
|
-
max-width: 28.8px;
|
|
1068
|
-
max-height: 28.8px;
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
.reaction>span {
|
|
1072
|
-
display: block;
|
|
1073
|
-
transform: translateY(-1px);
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
.mensagem__outros .reaction {
|
|
1077
|
-
right: -30px;
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
.mensagem__principal .reaction {
|
|
1081
|
-
left: -30px;
|
|
1082
|
-
}
|
|
1083
|
-
</style>
|