vue-intergrall-plugins 1.0.39 → 1.0.40
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.
|
@@ -6883,7 +6883,16 @@ const textoLongo = {
|
|
|
6883
6883
|
if (invalids.includes(dataHora)) return '';
|
|
6884
6884
|
const daysOfWeek = ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', dicionario.sabado_abrev];
|
|
6885
6885
|
const monthsOfYear = ['jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.'];
|
|
6886
|
-
const
|
|
6886
|
+
const parseDate = dateStr => {
|
|
6887
|
+
if (dateStr.includes('/')) {
|
|
6888
|
+
const [day, month, yearTime] = dateStr.split('/');
|
|
6889
|
+
const [year, time] = yearTime.split(' ');
|
|
6890
|
+
const [hours, minutes] = time ? time.split(':') : ['00', '00'];
|
|
6891
|
+
return new Date(`${year}-${month}-${day}T${hours}:${minutes}:00`);
|
|
6892
|
+
}
|
|
6893
|
+
return new Date(dateStr);
|
|
6894
|
+
};
|
|
6895
|
+
const date = parseDate(dataHora);
|
|
6887
6896
|
const dayOfWeek = daysOfWeek[date.getDay()];
|
|
6888
6897
|
const day = date.getDate();
|
|
6889
6898
|
const month = monthsOfYear[date.getMonth()];
|
|
@@ -11051,8 +11060,8 @@ var script = {
|
|
|
11051
11060
|
const emailParent = this.$refs.emailIframeParent;
|
|
11052
11061
|
if (iframe && emailParent) {
|
|
11053
11062
|
const doc = iframe.contentDocument || iframe.contentWindow.document;
|
|
11054
|
-
iframe.style.height = `${doc.documentElement.offsetHeight}px`;
|
|
11055
|
-
emailParent.style.minHeight = `${doc.documentElement.offsetHeight
|
|
11063
|
+
iframe.style.height = `${doc.documentElement.offsetHeight < 1000 ? doc.documentElement.offsetHeight : 1000}px`;
|
|
11064
|
+
emailParent.style.minHeight = `${doc.documentElement.offsetHeight < 1000 ? doc.documentElement.offsetHeight : 1000}px`;
|
|
11056
11065
|
}
|
|
11057
11066
|
});
|
|
11058
11067
|
},
|
|
@@ -11235,18 +11244,18 @@ var __vue_staticRenderFns__ = [];
|
|
|
11235
11244
|
/* style */
|
|
11236
11245
|
const __vue_inject_styles__ = function (inject) {
|
|
11237
11246
|
if (!inject) return;
|
|
11238
|
-
inject("data-v-
|
|
11239
|
-
source: ".show-y-top-enter-active[data-v-
|
|
11247
|
+
inject("data-v-42a3cc0e_0", {
|
|
11248
|
+
source: ".show-y-top-enter-active[data-v-42a3cc0e],.show-y-top-leave-enter[data-v-42a3cc0e]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-42a3cc0e],.show-y-top-leave-to[data-v-42a3cc0e]{opacity:0;transform:translateY(-2%)}",
|
|
11240
11249
|
map: undefined,
|
|
11241
11250
|
media: undefined
|
|
11242
|
-
}), inject("data-v-
|
|
11243
|
-
source: ".bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-item{flex:1;margin:0 0 10px 0;color:#222;min-height:60px;display:flex;flex-wrap:wrap;padding:10px;border-radius:5px;transition:all 150ms ease-in-out;max-width:100%;width:100%}.email-header{width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:hidden}.email-header-content{display:flex;align-items:center;margin:10px;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-weight:700;font-size:.95rem}.email-date{--width:245px;font-size:.8rem;margin-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;min-width:var(--width);width:var(--width);max-width:var(--width)}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:
|
|
11251
|
+
}), inject("data-v-42a3cc0e_1", {
|
|
11252
|
+
source: ".bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-item{flex:1;margin:0 0 10px 0;color:#222;min-height:60px;display:flex;flex-wrap:wrap;padding:10px;border-radius:5px;transition:all 150ms ease-in-out;max-width:100%;width:100%}.email-header{width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:hidden}.email-header-content{display:flex;align-items:center;margin:10px;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-weight:700;font-size:.95rem}.email-date{--width:245px;font-size:.8rem;margin-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;min-width:var(--width);width:var(--width);max-width:var(--width)}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;padding:15px;background-color:#fff;position:relative;max-width:100%}.email-actions{align-self:flex-end;display:flex;border-radius:10px;cursor:pointer;align-items:center;justify-content:center;gap:3px;padding:5px 7px;background-color:#ddd;position:absolute;right:5px;top:5px;z-index:1}.email-actions.active{background-color:#dfdfdf}.email-actions>span{width:4px;height:4px;background-color:#222;border-radius:50%}.email-actions-list{position:absolute;right:45px;width:250px;top:5px;margin:0;list-style-type:none;padding:0;border-radius:5px;z-index:1}.email-action{background-color:#dfdfdf;padding:5px 10px;cursor:pointer;transition:background-color 150ms ease-in-out;font-size:.9rem;user-select:none}.email-action:nth-child(1){border-top-left-radius:5px;border-top-right-radius:5px}.email-action:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.email-action:hover{background-color:#ccc}.email-html{width:100%;max-width:100%;padding:10px;border:none;max-height:1000px;overflow:auto}.email-raw{width:100%;max-width:100%;font-size:.9rem;color:#222}.email-files{display:flex;gap:10px;flex-wrap:wrap;width:100%}.email-header-content,.email-header-infos{max-width:100%;overflow:hidden}.email-to-from-container{margin-bottom:10px;max-width:100%;display:flex;flex-wrap:wrap;flex:1;gap:5px}.email-to-from-container:last-child{margin-bottom:0}.email-to-btn{padding:0 5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-300px;border:1px solid #ccc;z-index:2;padding:10px;background-color:#fff;height:300px;max-height:300px;overflow-y:auto;overflow-x:hidden;width:300px;display:flex;flex-direction:column;gap:5px;margin:0;cursor:default}.email-info{width:100%;font-size:.8rem}.email-info>span{font-size:.75rem;color:gray;margin-left:5px}",
|
|
11244
11253
|
map: undefined,
|
|
11245
11254
|
media: undefined
|
|
11246
11255
|
});
|
|
11247
11256
|
};
|
|
11248
11257
|
/* scoped */
|
|
11249
|
-
const __vue_scope_id__ = "data-v-
|
|
11258
|
+
const __vue_scope_id__ = "data-v-42a3cc0e";
|
|
11250
11259
|
/* module identifier */
|
|
11251
11260
|
const __vue_module_identifier__ = undefined;
|
|
11252
11261
|
/* functional template */
|