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