vue-intergrall-plugins 1.1.51 → 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.
@@ -106,6 +106,7 @@
106
106
  :currentName="formattedToName(recipient.name, index, para.length)" :email="recipient.email"
107
107
  :showMail="isOpen" />
108
108
  </div>
109
+
109
110
  <div v-if="copia && copia.length" class="email-cc-container">
110
111
  <EmailTo v-for="(recipient, index) in copia" :key="`cc-${recipient.email}`"
111
112
  :currentName="formattedCcName(recipient.name, index, copia.length)" :email="recipient.email"
@@ -210,6 +211,7 @@ import EmailFile from "./EmailFile.vue";
210
211
  import EmailTo from "./EmailTo.vue";
211
212
  import { textoLongo } from "@/mixins/formatarTexto";
212
213
  import Clickaway from '@/directives/clickaway';
214
+ import '../../styles/style.css';
213
215
 
214
216
  export default {
215
217
  mixins: [textoLongo],
@@ -736,605 +738,4 @@ export default {
736
738
  }
737
739
  }
738
740
  };
739
- </script>
740
-
741
- <style scoped>
742
- .show-y-top-enter-active,
743
- .show-y-top-leave-enter {
744
- opacity: 1;
745
- transform: translateY(0);
746
- transition: all 200ms linear;
747
- }
748
-
749
- .show-y-top-enter,
750
- .show-y-top-leave-to {
751
- opacity: 0;
752
- transform: translateY(-2%);
753
- }
754
- </style>
755
-
756
- <style>
757
- .visibility-hidden {
758
- visibility: hidden;
759
- }
760
-
761
- .box-shadow-active {
762
- box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.25);
763
- }
764
-
765
- .bg-dark-white-2 {
766
- background-color: #f7f7f7;
767
- }
768
-
769
- .bg-white {
770
- background-color: #FFF;
771
- }
772
-
773
- .cursor-pointer {
774
- cursor: pointer;
775
- }
776
-
777
- .email-overlay {
778
- width: 100%;
779
- height: 100%;
780
- background-color: transparent;
781
- z-index: 1;
782
- position: absolute;
783
- top: 0;
784
- left: 0;
785
- }
786
-
787
- .email-item {
788
- --konecta-gray-3: #515050;
789
- --konecta-light: #f8f9fa;
790
- --blue-silver-4: #dae0e5;
791
- --email-principal: #faa732;
792
- --email-outros: #86b7fe;
793
- font-family: "Roboto", sans-serif;
794
- flex: 1;
795
- margin: 0 0 10px 0;
796
- color: #222;
797
- min-height: 60px;
798
- display: flex;
799
- flex-wrap: wrap;
800
- padding: 10px;
801
- border-radius: 5px;
802
- transition: all 150ms ease-in-out;
803
- max-width: 100%;
804
- width: 100%;
805
- overflow: hidden;
806
- position: relative;
807
- }
808
-
809
- .divBtnReplyEmail {
810
- display: flex;
811
- align-items: center;
812
- background-color: #f0adad;
813
- border-radius: 6px;
814
- padding: 7px 9px;
815
- margin: 5px 0;
816
- gap: 8px;
817
- }
818
-
819
- .reply-email-open {
820
- width: calc(100% - 10px - 45px);
821
- }
822
-
823
- .btnReplyEmail {
824
- display: block;
825
- background-color: #faa732;
826
- border: 1px solid #da8205;
827
- margin: 8px 0 8px 5px;
828
- padding: 5px 10px 5px 10px;
829
- font-size: 14.4px;
830
- font-weight: bold;
831
- border-radius: 3px;
832
- color: #000000;
833
- cursor: pointer;
834
- }
835
-
836
- .ja-marcado-spam {
837
- width: 100%;
838
- background: #fffbe6;
839
- border: 1px solid #ffe58f;
840
- border-radius: 6px;
841
- box-shadow: 0 2px 8px rgba(0,0,0,0.08);
842
- padding: 5px 30px;
843
- margin: 9px 0px 5px 0px;
844
- display: flex;
845
- justify-content: space-between;
846
- align-items: center;
847
- gap: 16px;
848
- }
849
-
850
- .ja-marcado-spam > span {
851
- color: #614500;
852
- font-weight: 500;
853
- font-size: 14px;
854
- margin-bottom: 0;
855
- align-self: center;
856
- align-items: center;
857
- }
858
-
859
- .ja-marcado-spam-buttons {
860
- display: flex;
861
- flex-direction: column;
862
- gap: 6px;
863
- align-items: flex-end;
864
- }
865
-
866
- .ja-marcado-spam button {
867
- min-width: 110px;
868
- padding: 4px 10px;
869
- border: none;
870
- border-radius: 5px;
871
- background: #ffe58f;
872
- color: #333;
873
- cursor: pointer;
874
- font-size: 13.4px;
875
- }
876
-
877
- .ja-marcado-spam-buttons .btn-nao-spam {
878
- background: #36b87b;
879
- color: var(--white);
880
- border: 1px solid var(--konecta-success-hover, #309264);
881
- font-weight: bold;
882
- }
883
-
884
- .ja-marcado-spam-buttons .btn-nao-spam:hover {
885
- background: #309264;
886
- }
887
-
888
- .ja-marcado-spam-buttons .btn-e-spam {
889
- background: #e74c3c;
890
- color: var(--white);
891
- border: 1px solid var(--konecta-danger-hover, #c92e1e);
892
- font-weight: bold;
893
- }
894
-
895
- .ja-marcado-spam-buttons .btn-e-spam:hover {
896
- background: #c92e1e;
897
- }
898
-
899
- .icon-btn-encerrar-spam {
900
- margin-right: 2px;
901
- }
902
-
903
- .btn-loader {
904
- position: absolute;
905
- left: 50%;
906
- top: 50%;
907
- transform: translate(-50%, -50%);
908
- z-index: 2;
909
- pointer-events: none;
910
- }
911
-
912
- .strongMsg {
913
- flex: 1;
914
- font-size: 13px;
915
- }
916
-
917
- .email-custom-action-buttons {
918
- display: flex;
919
- gap: 7px;
920
- align-items: center;
921
- flex-wrap: wrap;
922
- max-width: 100%;
923
- cursor: default;
924
- }
925
-
926
- .email-custom-action-button {
927
- margin-top: 10px;
928
- background-color: var(--konecta-light) !important;
929
- color: var(--konecta-dark) !important;
930
- border: 1px solid var(--blue-silver-4) !important;
931
- flex: 1;
932
- min-width: 100px;
933
- display: flex;
934
- align-items: center;
935
- justify-content: center;
936
- gap: 5px;
937
- padding: 5px;
938
- overflow: hidden;
939
- border-radius: 5px;
940
- text-overflow: ellipsis;
941
- white-space: nowrap;
942
- transition: all 100ms ease-in-out;
943
- max-width: 100%;
944
- cursor: pointer
945
- }
946
-
947
- .email-custom-action-button:hover {
948
- background-color: #e9ecef !important;
949
- }
950
-
951
- .email-custom-action-button:disabled {
952
- background-color: var(--konecta-gray-3) !important;
953
- border: 1px solid #25282b !important;
954
- cursor: not-allowed !important;
955
- }
956
-
957
- .email-item.outros {
958
- border-left: 3px solid var(--email-outros);
959
- }
960
-
961
- .email-author-name {
962
- margin: 0 5px;
963
- max-width: 100%;
964
- overflow: hidden;
965
- text-overflow: ellipsis;
966
- white-space: nowrap;
967
- }
968
-
969
- .email-author.outros {
970
- color: var(--email-outros);
971
- }
972
-
973
- .email-author.outros>svg:nth-child(1) {
974
- transform: rotate(180deg);
975
- }
976
-
977
- .email-author.principal {
978
- color: var(--email-principal);
979
- }
980
-
981
- .email-author.main {
982
- font-size: 16.4px;
983
- }
984
-
985
- .email-item.principal {
986
- border-left: 3px solid var(--email-principal);
987
- }
988
-
989
- .email-item.info-open {
990
- overflow: visible
991
- }
992
-
993
- .email-header {
994
- width: 100%;
995
- display: flex;
996
- flex-direction: column;
997
- cursor: pointer;
998
- border-top-right-radius: 5px;
999
- border-top-left-radius: 5px;
1000
- position: relative;
1001
- overflow: visible;
1002
- }
1003
-
1004
- .header-container {
1005
- display: flex;
1006
- overflow: hidden;
1007
- position: relative;
1008
- }
1009
-
1010
- .email-header-content {
1011
- display: flex;
1012
- align-items: center;
1013
- flex: 1;
1014
- min-width: 250px;
1015
- }
1016
-
1017
- .email-header-infos {
1018
- display: flex;
1019
- flex-direction: column;
1020
- flex: 1;
1021
- }
1022
-
1023
- .email-subject {
1024
- margin: 5px 0 0 0;
1025
- font-size: 16.4px;
1026
- cursor: pointer;
1027
- }
1028
-
1029
- .email-date {
1030
- --width: 245px;
1031
- font-size: 12.8px;
1032
- text-overflow: ellipsis;
1033
- white-space: nowrap;
1034
- overflow: hidden;
1035
- position: absolute;
1036
- right: 0;
1037
- top: 0;
1038
- min-width: var(--width);
1039
- width: var(--width);
1040
- max-width: var(--width);
1041
- display: flex;
1042
- justify-content: flex-end;
1043
- gap: 3px;
1044
- align-items: center;
1045
- }
1046
-
1047
- .email-content {
1048
- display: flex;
1049
- flex-direction: column;
1050
- align-items: center;
1051
- justify-content: flex-start;
1052
- width: 100%;
1053
- background-color: #FFF;
1054
- position: relative;
1055
- max-width: 100%;
1056
- }
1057
-
1058
- .email-actions {
1059
- align-self: flex-end;
1060
- display: flex;
1061
- border-radius: 10px;
1062
- cursor: pointer;
1063
- align-items: center;
1064
- justify-content: center;
1065
- gap: 3px;
1066
- padding: 5px 7px;
1067
- background-color: #dddddd;
1068
- position: absolute;
1069
- right: 0;
1070
- top: 30px;
1071
- z-index: 1;
1072
- }
1073
-
1074
- .email-actions.main {
1075
- top: 10px
1076
- }
1077
-
1078
- .email-actions.active {
1079
- background-color: #dfdfdf;
1080
- }
1081
-
1082
- .email-actions>span {
1083
- width: 4px;
1084
- height: 4px;
1085
- min-width: 4px;
1086
- min-height: 4px;
1087
- max-width: 4px;
1088
- max-height: 4px;
1089
- background-color: #222;
1090
- border-radius: 50%;
1091
- }
1092
-
1093
- .email-actions-list {
1094
- position: absolute;
1095
- right: 45px;
1096
- width: 250px;
1097
- top: 5px;
1098
- margin: 0;
1099
- list-style-type: none;
1100
- padding: 0;
1101
- border-radius: 5px;
1102
- z-index: 1;
1103
- }
1104
-
1105
- .email-action {
1106
- background-color: #dfdfdf;
1107
- padding: 5px 10px;
1108
- cursor: pointer;
1109
- transition: background-color 150ms ease-in-out;
1110
- font-size: 14.4px;
1111
- user-select: none;
1112
- }
1113
-
1114
- .email-action:nth-child(1) {
1115
- border-top-left-radius: 5px;
1116
- border-top-right-radius: 5px;
1117
- }
1118
-
1119
- .email-action:last-child {
1120
- border-bottom-left-radius: 5px;
1121
- border-bottom-right-radius: 5px;
1122
- }
1123
-
1124
- .email-action:hover {
1125
- background-color: #CCC;
1126
- }
1127
-
1128
- .email-html {
1129
- width: 100%;
1130
- min-width: 300px;
1131
- max-width: 100%;
1132
- border: none;
1133
- overflow: auto;
1134
- }
1135
-
1136
- .email-raw {
1137
- width: 100%;
1138
- max-width: 100%;
1139
- padding: 15px;
1140
- font-size: 14.4px;
1141
- color: #222;
1142
- }
1143
-
1144
- .email-files {
1145
- display: flex;
1146
- gap: 10px;
1147
- flex-wrap: wrap;
1148
- width: 100%;
1149
- margin-top: 5px;
1150
- }
1151
-
1152
- .email-header-content,
1153
- .email-header-infos {
1154
- max-width: 100%;
1155
- overflow: hidden;
1156
- }
1157
-
1158
- .email-to-from-container {
1159
- margin-bottom: 5px;
1160
- max-width: 100%;
1161
- min-width: 250px;
1162
- overflow: hidden;
1163
- display: flex;
1164
- align-items: center;
1165
- flex-wrap: wrap;
1166
- flex: 1;
1167
- gap: 5px;
1168
- }
1169
-
1170
- .email-cc-container {
1171
- margin-bottom: 5px;
1172
- max-width: 100%;
1173
- min-width: 250px;
1174
- overflow: hidden;
1175
- display: flex;
1176
- align-items: center;
1177
- flex-wrap: wrap;
1178
- flex: 1;
1179
- gap: 5px;
1180
- }
1181
-
1182
- .email-to-btn {
1183
- padding: 0 5px;
1184
- font-size: 14.4px;
1185
- cursor: pointer;
1186
- color: #666;
1187
- }
1188
-
1189
- .email-to-infos {
1190
- position: absolute;
1191
- bottom: -325px;
1192
- border: 1px solid #CCC;
1193
- z-index: 2;
1194
- padding: 10px;
1195
- background-color: #FFF;
1196
- max-height: 300px;
1197
- overflow-y: auto;
1198
- overflow-x: hidden;
1199
- width: 300px;
1200
- display: flex;
1201
- flex-direction: column;
1202
- gap: 5px;
1203
- margin: 0;
1204
- cursor: default;
1205
- }
1206
-
1207
- .email-info {
1208
- width: 100%;
1209
- font-size: 12.8px;
1210
- }
1211
-
1212
- .email-info>span {
1213
- font-size: 12px;
1214
- color: gray;
1215
- margin-right: 3px;
1216
- }
1217
-
1218
- .email-author {
1219
- display: flex;
1220
- align-items: center;
1221
- height: 5px;
1222
- font-size: 12px;
1223
- font-weight: bold;
1224
- transform: translateY(-2px);
1225
- width: 100%;
1226
- cursor: pointer;
1227
- }
1228
-
1229
- .email-subject-secondary {
1230
- margin-top: -5px;
1231
- }
1232
-
1233
- .email-subject-span {
1234
- font-size: 11.2px;
1235
- color: gray;
1236
- }
1237
-
1238
- .email-to-svg {
1239
- font-size: 13.6px;
1240
- }
1241
-
1242
- .email-custom-buttons {
1243
- display: flex;
1244
- gap: 7px;
1245
- position: absolute;
1246
- top: 5px;
1247
- right: 5px;
1248
- z-index: 1;
1249
- font-size: 12.8px;
1250
- }
1251
-
1252
- .menu-mensagem {
1253
- cursor: pointer;
1254
- padding: 1px;
1255
- opacity: .7;
1256
- transition: opacity 100ms ease-in-out;
1257
- }
1258
-
1259
- .menu-mensagem:hover,
1260
- .menu-mensagem:focus,
1261
- .menu-mensagem:active {
1262
- opacity: 1;
1263
- }
1264
-
1265
- .email-error-content {
1266
- display: flex;
1267
- justify-content: center;
1268
- align-items: center;
1269
- flex-direction: column;
1270
- gap: 5px;
1271
- padding: 10px;
1272
- }
1273
-
1274
- .email-error-content p {
1275
- margin: 0;
1276
- color: #E74C3C;
1277
- }
1278
-
1279
- .email-error-content button {
1280
- border: 1px solid #CCC;
1281
- border-radius: 3px;
1282
- padding: 5px 10px;
1283
- background-color: #FFF;
1284
- cursor: pointer;
1285
- transition: background-color 150ms ease-in-out;
1286
- }
1287
-
1288
- .email-error-content button:hover {
1289
- background-color: #EEE;
1290
- }
1291
-
1292
- .btnReplyEmail:hover, .btnReplyEmail:active {
1293
- background-color: #da8205;
1294
- color: #000000;
1295
- }
1296
-
1297
- .email-attachments-clip {
1298
- display: flex;
1299
- cursor: pointer;
1300
- margin-top: 5px;
1301
- }
1302
-
1303
- .clip-icon {
1304
- position: relative;
1305
- font-size: 22px;
1306
- color: #999;
1307
- transform: rotate(-15deg);
1308
- }
1309
-
1310
- .clip-badge {
1311
- position: absolute;
1312
- transform: rotate(15deg);
1313
- top: 0px;
1314
- right: -15px;
1315
- display: flex;
1316
- align-items: center;
1317
- justify-content: center;
1318
- background: linear-gradient(135deg, #999 40%, #515050 100%);
1319
- color: #fff;
1320
- border-radius: 50%;
1321
- min-width: 22px;
1322
- height: 22px;
1323
- font-size: 12.4px;
1324
- border: 1px solid #fff;
1325
- filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .18));
1326
- text-align: center;
1327
- padding: 0 4px;
1328
- box-sizing: border-box;
1329
- }
1330
-
1331
- .clip-icon:hover {
1332
- color: #777;
1333
- }
1334
-
1335
- .clip-icon:hover .clip-badge {
1336
- background: linear-gradient(135deg, #999 20%, #515050 70%);
1337
- filter: drop-shadow(0 2px 4px rgba(0,0,0,0.28));
1338
- }
1339
-
1340
- </style>
741
+ </script>