vue-intergrall-plugins 1.0.31 → 1.0.33
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/README.md +208 -173
- package/dist/vue-intergrall-plugins.esm.js +225 -221
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +202 -220
- package/package.json +2 -3
- package/src/lib-components/Chat/BtnEmojis.vue +9 -10
- package/src/lib-components/Chat/BtnFiles.vue +41 -103
- package/src/lib-components/Chat/ExpandTextarea.vue +26 -37
- package/src/lib-components/Chat/TextFooter.vue +5 -3
- package/src/lib-components/Email/EmailFrom.vue +4 -13
- package/src/lib-components/Email/EmailItem.vue +197 -74
- package/src/lib-components/Email/EmailTo.vue +0 -12
- package/src/lib-components/Messages/ChatMessages.vue +8 -6
- package/src/lib-components/Messages/InteratividadePopup.vue +10 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _iterableToArrayLimit(r, l) {
|
|
2
2
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
3
3
|
if (null != t) {
|
|
4
4
|
var e,
|
|
@@ -2847,77 +2847,20 @@ var __vue_component__$J = /*#__PURE__*/normalizeComponent({
|
|
|
2847
2847
|
render: __vue_render__$B,
|
|
2848
2848
|
staticRenderFns: __vue_staticRenderFns__$B
|
|
2849
2849
|
}, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, undefined, createInjectorSSR, undefined);
|
|
2850
|
-
var TemplateSingle = __vue_component__$J;var
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
}
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
var HANDLER = '_vue_clickaway_handler';
|
|
2865
|
-
|
|
2866
|
-
function bind(el, binding, vnode) {
|
|
2867
|
-
unbind(el);
|
|
2868
|
-
|
|
2869
|
-
var vm = vnode.context;
|
|
2870
|
-
|
|
2871
|
-
var callback = binding.value;
|
|
2872
|
-
if (typeof callback !== 'function') {
|
|
2873
|
-
return;
|
|
2874
|
-
}
|
|
2875
|
-
|
|
2876
|
-
// @NOTE: Vue binds directives in microtasks, while UI events are dispatched
|
|
2877
|
-
// in macrotasks. This causes the listener to be set up before
|
|
2878
|
-
// the "origin" click event (the event that lead to the binding of
|
|
2879
|
-
// the directive) arrives at the document root. To work around that,
|
|
2880
|
-
// we ignore events until the end of the "initial" macrotask.
|
|
2881
|
-
// @REFERENCE: https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/
|
|
2882
|
-
// @REFERENCE: https://github.com/simplesmiler/vue-clickaway/issues/8
|
|
2883
|
-
var initialMacrotaskEnded = false;
|
|
2884
|
-
setTimeout(function() {
|
|
2885
|
-
initialMacrotaskEnded = true;
|
|
2886
|
-
}, 0);
|
|
2887
|
-
|
|
2888
|
-
el[HANDLER] = function(ev) {
|
|
2889
|
-
// @NOTE: this test used to be just `el.containts`, but working with path is better,
|
|
2890
|
-
// because it tests whether the element was there at the time of
|
|
2891
|
-
// the click, not whether it is there now, that the event has arrived
|
|
2892
|
-
// to the top.
|
|
2893
|
-
// @NOTE: `.path` is non-standard, the standard way is `.composedPath()`
|
|
2894
|
-
var path = ev.path || (ev.composedPath ? ev.composedPath() : undefined);
|
|
2895
|
-
if (initialMacrotaskEnded && (path ? path.indexOf(el) < 0 : !el.contains(ev.target))) {
|
|
2896
|
-
return callback.call(vm, ev);
|
|
2897
|
-
}
|
|
2898
|
-
};
|
|
2899
|
-
|
|
2900
|
-
document.documentElement.addEventListener('click', el[HANDLER], false);
|
|
2901
|
-
}
|
|
2902
|
-
|
|
2903
|
-
function unbind(el) {
|
|
2904
|
-
document.documentElement.removeEventListener('click', el[HANDLER], false);
|
|
2905
|
-
delete el[HANDLER];
|
|
2906
|
-
}
|
|
2907
|
-
|
|
2908
|
-
var directive = {
|
|
2909
|
-
bind: bind,
|
|
2910
|
-
update: function(el, binding) {
|
|
2911
|
-
if (binding.value === binding.oldValue) return;
|
|
2912
|
-
bind(el, binding);
|
|
2913
|
-
},
|
|
2914
|
-
unbind: unbind,
|
|
2915
|
-
};
|
|
2916
|
-
|
|
2917
|
-
var mixin = {
|
|
2918
|
-
directives: { onClickaway: directive },
|
|
2919
|
-
};
|
|
2920
|
-
var mixin_1 = mixin;var setResizeListeners = function setResizeListeners($el, inputClass, parentClass) {
|
|
2850
|
+
var TemplateSingle = __vue_component__$J;var Clickaway = {
|
|
2851
|
+
bind: function bind(el, binding, vnode) {
|
|
2852
|
+
el.clickAwayHandler = function (event) {
|
|
2853
|
+
if (!(el === event.target || el.contains(event.target))) binding.value(event);
|
|
2854
|
+
};
|
|
2855
|
+
setTimeout(function () {
|
|
2856
|
+
document.addEventListener('click', el.clickAwayHandler);
|
|
2857
|
+
}, 0);
|
|
2858
|
+
},
|
|
2859
|
+
unbind: function unbind(el) {
|
|
2860
|
+
document.removeEventListener('click', el.clickAwayHandler);
|
|
2861
|
+
el.clickAwayHandler = null;
|
|
2862
|
+
}
|
|
2863
|
+
};var setResizeListeners = function setResizeListeners($el, inputClass, parentClass) {
|
|
2921
2864
|
var inputTargets = $el.querySelectorAll(inputClass);
|
|
2922
2865
|
inputTargets.forEach(function (target) {
|
|
2923
2866
|
target.addEventListener("input", function () {
|
|
@@ -3453,7 +3396,9 @@ var script$w = {
|
|
|
3453
3396
|
components: {
|
|
3454
3397
|
Picker: Picker
|
|
3455
3398
|
},
|
|
3456
|
-
|
|
3399
|
+
directives: {
|
|
3400
|
+
clickaway: Clickaway
|
|
3401
|
+
},
|
|
3457
3402
|
props: {
|
|
3458
3403
|
emojiId: {
|
|
3459
3404
|
type: String,
|
|
@@ -3546,8 +3491,8 @@ var __vue_render__$w = function __vue_render__() {
|
|
|
3546
3491
|
var _c = _vm._self._c || _h;
|
|
3547
3492
|
return _c('div', {
|
|
3548
3493
|
directives: [{
|
|
3549
|
-
name: "
|
|
3550
|
-
rawName: "v-
|
|
3494
|
+
name: "clickaway",
|
|
3495
|
+
rawName: "v-clickaway",
|
|
3551
3496
|
value: _vm.away,
|
|
3552
3497
|
expression: "away"
|
|
3553
3498
|
}],
|
|
@@ -3574,7 +3519,7 @@ var __vue_staticRenderFns__$w = [];
|
|
|
3574
3519
|
/* style */
|
|
3575
3520
|
var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
|
|
3576
3521
|
if (!inject) return;
|
|
3577
|
-
inject("data-v-
|
|
3522
|
+
inject("data-v-6e4d9dd7_0", {
|
|
3578
3523
|
source: ".emoji-text-container{position:relative}.emoji-text-container .emoji-text-btn{font-size:19.2px;cursor:pointer}",
|
|
3579
3524
|
map: undefined,
|
|
3580
3525
|
media: undefined
|
|
@@ -3583,7 +3528,7 @@ var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
|
|
|
3583
3528
|
/* scoped */
|
|
3584
3529
|
var __vue_scope_id__$w = undefined;
|
|
3585
3530
|
/* module identifier */
|
|
3586
|
-
var __vue_module_identifier__$w = "data-v-
|
|
3531
|
+
var __vue_module_identifier__$w = "data-v-6e4d9dd7";
|
|
3587
3532
|
/* functional template */
|
|
3588
3533
|
var __vue_is_functional_template__$w = false;
|
|
3589
3534
|
/* style inject shadow dom */
|
|
@@ -4006,7 +3951,9 @@ var SingleFilePreview = __vue_component__$B;var script$s = {
|
|
|
4006
3951
|
SingleFilePreview: SingleFilePreview,
|
|
4007
3952
|
MultipleFilePreview: MultipleFilePreview
|
|
4008
3953
|
},
|
|
4009
|
-
|
|
3954
|
+
directives: {
|
|
3955
|
+
clickaway: Clickaway
|
|
3956
|
+
},
|
|
4010
3957
|
props: {
|
|
4011
3958
|
textId: {
|
|
4012
3959
|
type: String,
|
|
@@ -4450,8 +4397,8 @@ var __vue_render__$s = function __vue_render__() {
|
|
|
4450
4397
|
value: _vm.showFilePreview,
|
|
4451
4398
|
expression: "showFilePreview"
|
|
4452
4399
|
}, {
|
|
4453
|
-
name: "
|
|
4454
|
-
rawName: "v-
|
|
4400
|
+
name: "clickaway",
|
|
4401
|
+
rawName: "v-clickaway",
|
|
4455
4402
|
value: _vm.away,
|
|
4456
4403
|
expression: "away"
|
|
4457
4404
|
}],
|
|
@@ -4497,7 +4444,7 @@ var __vue_staticRenderFns__$s = [];
|
|
|
4497
4444
|
/* style */
|
|
4498
4445
|
var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
4499
4446
|
if (!inject) return;
|
|
4500
|
-
inject("data-v-
|
|
4447
|
+
inject("data-v-87cdc664_0", {
|
|
4501
4448
|
source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:8px;width:15px;height:15px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .3s;color:#fff;font-weight:900}.files-counter:hover{opacity:1}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:12.8px}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
|
|
4502
4449
|
map: undefined,
|
|
4503
4450
|
media: undefined
|
|
@@ -4506,7 +4453,7 @@ var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
|
4506
4453
|
/* scoped */
|
|
4507
4454
|
var __vue_scope_id__$s = undefined;
|
|
4508
4455
|
/* module identifier */
|
|
4509
|
-
var __vue_module_identifier__$s = "data-v-
|
|
4456
|
+
var __vue_module_identifier__$s = "data-v-87cdc664";
|
|
4510
4457
|
/* functional template */
|
|
4511
4458
|
var __vue_is_functional_template__$s = false;
|
|
4512
4459
|
/* style inject shadow dom */
|
|
@@ -5222,7 +5169,9 @@ var StandardMessages = __vue_component__$v;var script$m = {
|
|
|
5222
5169
|
BtnScreenShare: BtnScreenShare,
|
|
5223
5170
|
BtnDownloadAllFiles: BtnDownloadAllFiles
|
|
5224
5171
|
},
|
|
5225
|
-
|
|
5172
|
+
directives: {
|
|
5173
|
+
clickaway: Clickaway
|
|
5174
|
+
},
|
|
5226
5175
|
props: {
|
|
5227
5176
|
buttons: {
|
|
5228
5177
|
type: Object,
|
|
@@ -5684,8 +5633,8 @@ var __vue_render__$m = function __vue_render__() {
|
|
|
5684
5633
|
var _c = _vm._self._c || _h;
|
|
5685
5634
|
return _vm.textId ? _c('div', {
|
|
5686
5635
|
directives: [{
|
|
5687
|
-
name: "
|
|
5688
|
-
rawName: "v-
|
|
5636
|
+
name: "clickaway",
|
|
5637
|
+
rawName: "v-clickaway",
|
|
5689
5638
|
value: _vm.away,
|
|
5690
5639
|
expression: "away"
|
|
5691
5640
|
}],
|
|
@@ -5889,7 +5838,7 @@ var __vue_staticRenderFns__$m = [];
|
|
|
5889
5838
|
/* style */
|
|
5890
5839
|
var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
|
|
5891
5840
|
if (!inject) return;
|
|
5892
|
-
inject("data-v-
|
|
5841
|
+
inject("data-v-bf33e062_0", {
|
|
5893
5842
|
source: ".text-footer-container{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;position:relative}.text-footer-container .text-footer{min-height:48px;box-shadow:0 3px 7px -2px rgba(0,0,0,.45);position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #ccc;padding:5px 2px 5px 5px;border-radius:5px}.text-footer-container .text-footer.full{width:100%}.text-footer-container .text-footer.almostFull{width:95%}.text-footer-container .text-footer.medium{width:75%}.text-footer-container.bigger .text-footer{height:80px}.text-footer-container.bigger .text-footer>textarea{font-size:14px;height:75px;max-height:75px;min-height:75px}.text-footer-container textarea{margin:0 5px;border:unset;flex:1;resize:none;min-height:30px;max-height:60px;font-size:14px;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:12px}.text-footer-container .text-footer-audio{flex:1;display:flex;justify-content:center;align-items:center}.text-footer-container audio{flex:1;outline:unset;width:auto;height:38px}.text-footer-container .delete-audio{display:flex;justify-content:center;align-items:center;color:#e74c3c;transition:background .3s;border-radius:50%;font-size:16px;padding:10px;cursor:pointer;margin:0 5px;width:31px;height:31px}.text-footer-container .delete-audio:hover{background-color:rgba(208,0,0,.2)}.text-footer-container .max-characters{font-size:9.2px;z-index:1;color:#444;position:relative;top:30px;left:-30px}.text-footer-container .max-characters.no-width{width:0}.text-footer-container .text-footer-actions{display:flex}.text-footer-container .text-footer-actions.outside-buttons{display:flex;align-items:center;justify-content:flex-end;position:absolute;top:-30px;right:35px;background-color:#fafafa}.text-footer-container .text-footer-actions .text-footer-actions--btn{display:flex;justify-content:center;align-items:center;color:#777;border-radius:50%;transition:background .3s;padding:10px;font-size:16px;width:36px;height:36px;cursor:pointer;margin-right:2.5px}.text-footer-container .text-footer-actions .text-footer-actions--btn:last-child{margin-right:unset}.text-footer-container .text-footer-actions .text-footer-actions--btn:hover{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.files-activated{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.audio-activated{background-color:rgba(208,0,0,.7);color:#fff}.text-footer-container .text-footer-actions .text-footer-actions--btn.left-button{position:absolute;left:0}.text-footer-container .text-footer-hsm-container{margin:12px 0 7px 0}.text-footer-container .text-footer-hsm-container.full{width:100%}.text-footer-container .text-footer-hsm-container.almostFull{width:95%}.text-footer-container .text-footer-hsm-container.medium{width:75%}.text-footer-container .text-footer-hsm-container .text-footer-v-select{border-radius:5px;margin-bottom:5px}.text-footer-container .text-footer-hsm-container .text-footer-select-03{display:flex;align-items:center;flex:1;width:100%}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer-v-select{flex:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -3px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px;display:flex;justify-content:center;align-items:center;margin-left:5px;margin-bottom:5px;background-color:#f7fe72;width:32px;height:32px}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:hover{opacity:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03 svg{font-size:16px}.text-footer-container .text-footer-files-container{position:absolute;right:0;top:-55px;padding:5px;background-color:rgba(0,0,0,.4);border-radius:5px;display:flex;align-items:center;justify-content:space-between;z-index:1}.text-footer-container .text-footer-files-container.horizontal{right:-55px;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn{transition-duration:.3s;transition-property:opacity;opacity:.8;cursor:pointer;display:flex;justify-content:center;align-items:center;border-radius:10px;padding:3px;width:40px;height:40px;font-size:16px;color:#fff}.text-footer-container .text-footer-files-container .files-btn:hover{opacity:1}.text-footer-container .text-footer-files-container .files-btn svg{color:#fff}.text-footer-container .text-footer-files-container .files-btn.images{background-color:#9575cd;margin-right:5px}.text-footer-container .text-footer-files-container .files-btn.images.margin-bottom{margin-right:unset;margin-bottom:5px}.text-footer-container .text-footer-files-container .files-btn.docs{background-color:#7986cb}.text-footer-container .text-footer-files-container .files-btn.system{background-color:#49a349;margin-left:5px}.text-footer-container .text-footer-files-container .files-btn.both{font-size:15.2px;background-color:#5555ec;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(1){transform:translateX(5px)}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(2){transform:translateX(-5px)}.text-footer-container .text-footer-preview-container{width:100%;cursor:default;position:absolute;left:0;background-color:#f1f1f1;border:2px solid #ccc;border-bottom:unset;border-top-left-radius:2.5px;border-top-right-radius:2.5px}.text-footer-container .text-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .text-footer-preview-container.isImg,.text-footer-container .text-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px;min-width:200px}.text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .text-footer-preview-container.isError{top:-80px;width:100%;height:75px}.text-footer-container .text-footer-alt{margin-top:-12px;width:100%;padding:0 10px}.text-footer-container .text-footer-alt .text-footer-out-session{margin-top:12px}.text-footer-container .text-footer-alt .text-footer-sem-24h{font-size:12.8px;text-align:right;font-weight:600;letter-spacing:-.5px;color:#dd7f0c;margin-top:5px;position:absolute;right:0}.text-footer-container .text-footer-alt .sem-templates{margin-top:10px;font-size:12.8px;text-align:right;font-weight:600;letter-spacing:-.5px;color:#921e12}.text-footer-container .text-footer-alt .text-footer-templates{position:relative;width:100%}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection{width:100%;display:flex;align-items:center}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection h4{margin-right:5px}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection .sm__select{flex:1}.vs__dropdown-menu{font-size:13.6px!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
|
|
5894
5843
|
map: undefined,
|
|
5895
5844
|
media: undefined
|
|
@@ -5898,7 +5847,7 @@ var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
|
|
|
5898
5847
|
/* scoped */
|
|
5899
5848
|
var __vue_scope_id__$m = undefined;
|
|
5900
5849
|
/* module identifier */
|
|
5901
|
-
var __vue_module_identifier__$m = "data-v-
|
|
5850
|
+
var __vue_module_identifier__$m = "data-v-bf33e062";
|
|
5902
5851
|
/* functional template */
|
|
5903
5852
|
var __vue_is_functional_template__$m = false;
|
|
5904
5853
|
/* style inject shadow dom */
|
|
@@ -6336,7 +6285,9 @@ var script$j = {
|
|
|
6336
6285
|
BtnEmojis: BtnEmojis,
|
|
6337
6286
|
BtnFiles: BtnFiles
|
|
6338
6287
|
},
|
|
6339
|
-
|
|
6288
|
+
directives: {
|
|
6289
|
+
clickaway: Clickaway
|
|
6290
|
+
},
|
|
6340
6291
|
props: {
|
|
6341
6292
|
identifier: {
|
|
6342
6293
|
type: String,
|
|
@@ -6597,8 +6548,8 @@ var __vue_render__$j = function __vue_render__() {
|
|
|
6597
6548
|
var _c = _vm._self._c || _h;
|
|
6598
6549
|
return _c('div', {
|
|
6599
6550
|
directives: [{
|
|
6600
|
-
name: "
|
|
6601
|
-
rawName: "v-
|
|
6551
|
+
name: "clickaway",
|
|
6552
|
+
rawName: "v-clickaway",
|
|
6602
6553
|
value: _vm.away,
|
|
6603
6554
|
expression: "away"
|
|
6604
6555
|
}],
|
|
@@ -6658,7 +6609,7 @@ var __vue_staticRenderFns__$j = [];
|
|
|
6658
6609
|
/* style */
|
|
6659
6610
|
var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
|
|
6660
6611
|
if (!inject) return;
|
|
6661
|
-
inject("data-v-
|
|
6612
|
+
inject("data-v-53d5f793_0", {
|
|
6662
6613
|
source: ".sc-icone-fechar.sc-icone-fechar--externo{top:-10px;right:-10px}.sc-icone-fechar.sc-icone-fechar--interno{top:10px;right:10px}.expand-textarea{position:relative;width:90%;height:90%;z-index:1}.expand-textarea-content{overflow-x:hidden;overflow-y:auto;background-color:#fff;width:100%;height:100%;display:flex;flex-direction:column}.expand-textarea-title{padding:2.5px 8px;min-height:38px;display:flex;align-items:center;width:100%;font-size:20.8px;background-color:#222;color:#fff}.expand-textarea-content textarea{padding:10px;flex:1;width:100%;border:unset;resize:none;outline:0;overflow-x:hidden}.expand-textarea-content textarea:active,.expand-textarea-content textarea:hover{outline:0}.expand-textarea-footer{display:flex;justify-content:flex-end;align-items:center;padding:10px;background-color:#f7f7f7;position:relative}.expand-textarea-footer .text-footer-preview-container{position:absolute;top:-200px;right:145px;height:200px;background:#f7f7f7}.expand-textarea-footer .text-footer-actions--btn{width:36px;height:36px;border-radius:50%;background-color:rgba(255,255,255,0);color:#333;padding:2.5px;margin:0 15px 0 10px;display:flex;justify-content:center;align-items:center;font-size:20.8px;cursor:pointer;opacity:.9;transition:all .3s}.expand-textarea-footer .text-footer-actions--btn:hover{opacity:1;background-color:rgba(30,30,30,.1)}.expand-textarea-button{width:125px;height:30px;display:flex;justify-content:center;align-items:center;transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:5px;padding:5px 10px;border-radius:2.5px;position:relative}.expand-textarea-button.green{background-color:#2a963a;color:#fff;margin-right:10px}.expand-textarea-button.red{background-color:#e74c3c;color:#fff}.expand-textarea-button:hover{opacity:1}.expand-textarea-button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.expand-textarea-button.carregando{background-color:#777}",
|
|
6663
6614
|
map: undefined,
|
|
6664
6615
|
media: undefined
|
|
@@ -6667,7 +6618,7 @@ var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
|
|
|
6667
6618
|
/* scoped */
|
|
6668
6619
|
var __vue_scope_id__$j = undefined;
|
|
6669
6620
|
/* module identifier */
|
|
6670
|
-
var __vue_module_identifier__$j = "data-v-
|
|
6621
|
+
var __vue_module_identifier__$j = "data-v-53d5f793";
|
|
6671
6622
|
/* functional template */
|
|
6672
6623
|
var __vue_is_functional_template__$j = false;
|
|
6673
6624
|
/* style inject shadow dom */
|
|
@@ -6686,6 +6637,19 @@ var __vue_component__$q = __vue_component__$p;var textoLongo = {
|
|
|
6686
6637
|
}
|
|
6687
6638
|
return "".concat(textoLongo);
|
|
6688
6639
|
},
|
|
6640
|
+
replaceUnicodeWithEmoji: function replaceUnicodeWithEmoji(text) {
|
|
6641
|
+
if (!text || typeof text !== 'string') return '';
|
|
6642
|
+
return text.replace(/&?#(\d+);/g, function (_, dec) {
|
|
6643
|
+
return String.fromCodePoint(parseInt(dec, 10));
|
|
6644
|
+
});
|
|
6645
|
+
},
|
|
6646
|
+
htmlEntityToEmoji: function htmlEntityToEmoji(message) {
|
|
6647
|
+
return message.replace(/&#x([\da-fA-F]+);/g, function (match, p1) {
|
|
6648
|
+
var codePoint = parseInt(p1, 16);
|
|
6649
|
+
var emoji = String.fromCodePoint(codePoint);
|
|
6650
|
+
return emoji;
|
|
6651
|
+
});
|
|
6652
|
+
},
|
|
6689
6653
|
formataDataHora: function formataDataHora(dataHora, origem, cortarSegundos) {
|
|
6690
6654
|
try {
|
|
6691
6655
|
if (!dataHora) return "";
|
|
@@ -6712,8 +6676,8 @@ var __vue_component__$q = __vue_component__$p;var textoLongo = {
|
|
|
6712
6676
|
},
|
|
6713
6677
|
formataDateHoraDateFns: function formataDateHoraDateFns(dataHora, dataServer, dicionario) {
|
|
6714
6678
|
if (!dataHora) return "";
|
|
6715
|
-
|
|
6716
|
-
if (dataHora
|
|
6679
|
+
var invalids = ['1111-11-11 00:00:00', '0000-00-00 00:00:00', '0000-00-00', '1111-11-11', '00:00:00'];
|
|
6680
|
+
if (invalids.includes(dataHora)) return '';
|
|
6717
6681
|
var daysOfWeek = ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', dicionario.sabado_abrev];
|
|
6718
6682
|
var monthsOfYear = ['jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.'];
|
|
6719
6683
|
var date = new Date(dataHora);
|
|
@@ -6745,7 +6709,6 @@ var __vue_component__$q = __vue_component__$p;var textoLongo = {
|
|
|
6745
6709
|
return formattedDateString;
|
|
6746
6710
|
};
|
|
6747
6711
|
var now = dataServer ? new Date(getRawData()) : new Date();
|
|
6748
|
-
if (!dataServer) console.warn('dataServer nao informado para verificar a data corretamente segundo o servidor, utilizando new Date padrao');
|
|
6749
6712
|
var timeDifference = Math.abs(now - date);
|
|
6750
6713
|
var distance;
|
|
6751
6714
|
var seconds = Math.floor(timeDifference / 1000);
|
|
@@ -6765,7 +6728,7 @@ var __vue_component__$q = __vue_component__$p;var textoLongo = {
|
|
|
6765
6728
|
} else if (monthsDifference < 12) {
|
|
6766
6729
|
distance = "".concat(dicionario.ha_message, " ").concat(monthsDifference, " ").concat(monthsDifference > 1 ? 'meses' : dicionario.lower_text_month);
|
|
6767
6730
|
} else {
|
|
6768
|
-
distance = "".concat(dicionario.ha_message, " ").concat(yearsDifference, " ").concat(yearsDifference === 1 ? 'ano' : 'anos');
|
|
6731
|
+
distance = "".concat(date.getFullYear(), " ").concat(dicionario.ha_message, " ").concat(yearsDifference, " ").concat(yearsDifference === 1 ? 'ano' : 'anos');
|
|
6769
6732
|
}
|
|
6770
6733
|
return "".concat(formattedDate, " (").concat(distance, ")");
|
|
6771
6734
|
}
|
|
@@ -7551,7 +7514,9 @@ var __vue_component__$l = /*#__PURE__*/normalizeComponent({
|
|
|
7551
7514
|
}, __vue_inject_styles__$g, __vue_script__$g, __vue_scope_id__$g, __vue_is_functional_template__$g, __vue_module_identifier__$g, false, undefined, createInjectorSSR, undefined);
|
|
7552
7515
|
var __vue_component__$m = __vue_component__$l;//
|
|
7553
7516
|
var script$f = {
|
|
7554
|
-
|
|
7517
|
+
directives: {
|
|
7518
|
+
clickaway: Clickaway
|
|
7519
|
+
},
|
|
7555
7520
|
props: {
|
|
7556
7521
|
lista: {
|
|
7557
7522
|
type: [Array, Object],
|
|
@@ -7577,8 +7542,8 @@ var __vue_render__$f = function __vue_render__() {
|
|
|
7577
7542
|
var _c = _vm._self._c || _h;
|
|
7578
7543
|
return _c('div', {
|
|
7579
7544
|
directives: [{
|
|
7580
|
-
name: "
|
|
7581
|
-
rawName: "v-
|
|
7545
|
+
name: "clickaway",
|
|
7546
|
+
rawName: "v-clickaway",
|
|
7582
7547
|
value: _vm.away,
|
|
7583
7548
|
expression: "away"
|
|
7584
7549
|
}],
|
|
@@ -7601,7 +7566,7 @@ var __vue_staticRenderFns__$f = [];
|
|
|
7601
7566
|
/* style */
|
|
7602
7567
|
var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
|
|
7603
7568
|
if (!inject) return;
|
|
7604
|
-
inject("data-v-
|
|
7569
|
+
inject("data-v-327f52b4_0", {
|
|
7605
7570
|
source: ".box-shadow{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.interatividade-popup{position:absolute;top:15px;right:0;width:250px;height:auto;max-height:300px;overflow-y:auto;overflow-x:hidden;background-color:#fff;border-radius:15px;color:#333;font-size:14px}.interatividade-popup-titulo h1{padding:4px 10px;background-color:#333;color:#fff;font-size:1.2em;display:flex;justify-content:space-between;align-items:center}.interatividade-popup-titulo h1 svg{color:#e74c3c;cursor:pointer;font-size:.9em}.interatividade-popup-item{padding:10px;border-bottom:1px solid #d7d7d7}.interatividade-popup-item-desc{font-size:.9em;color:#767676}",
|
|
7606
7571
|
map: undefined,
|
|
7607
7572
|
media: undefined
|
|
@@ -7610,7 +7575,7 @@ var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
|
|
|
7610
7575
|
/* scoped */
|
|
7611
7576
|
var __vue_scope_id__$f = undefined;
|
|
7612
7577
|
/* module identifier */
|
|
7613
|
-
var __vue_module_identifier__$f = "data-v-
|
|
7578
|
+
var __vue_module_identifier__$f = "data-v-327f52b4";
|
|
7614
7579
|
/* functional template */
|
|
7615
7580
|
var __vue_is_functional_template__$f = false;
|
|
7616
7581
|
/* style inject shadow dom */
|
|
@@ -8801,7 +8766,9 @@ var LinkPreview = __vue_component__$c;var script$7 = {
|
|
|
8801
8766
|
created: function created() {
|
|
8802
8767
|
if (!this.$root.$refs.chatMessages) this.$root.$refs.chatMessages = this;
|
|
8803
8768
|
},
|
|
8804
|
-
|
|
8769
|
+
directives: {
|
|
8770
|
+
clickaway: Clickaway
|
|
8771
|
+
},
|
|
8805
8772
|
data: function data() {
|
|
8806
8773
|
return {
|
|
8807
8774
|
strTooltipAux: "",
|
|
@@ -9478,8 +9445,8 @@ var __vue_render__$7 = function __vue_render__() {
|
|
|
9478
9445
|
})], 1);
|
|
9479
9446
|
}) : _vm._e()], 2) : _vm._e(), _vm._v(" "), _vm.isEmojisOpen ? _c('div', {
|
|
9480
9447
|
directives: [{
|
|
9481
|
-
name: "
|
|
9482
|
-
rawName: "v-
|
|
9448
|
+
name: "clickaway",
|
|
9449
|
+
rawName: "v-clickaway",
|
|
9483
9450
|
value: _vm.closeEmojis,
|
|
9484
9451
|
expression: "closeEmojis"
|
|
9485
9452
|
}],
|
|
@@ -9503,8 +9470,8 @@ var __vue_render__$7 = function __vue_render__() {
|
|
|
9503
9470
|
}
|
|
9504
9471
|
}, [_c('ul', {
|
|
9505
9472
|
directives: [{
|
|
9506
|
-
name: "
|
|
9507
|
-
rawName: "v-
|
|
9473
|
+
name: "clickaway",
|
|
9474
|
+
rawName: "v-clickaway",
|
|
9508
9475
|
value: _vm.closeMenu,
|
|
9509
9476
|
expression: "closeMenu"
|
|
9510
9477
|
}],
|
|
@@ -9543,7 +9510,7 @@ var __vue_staticRenderFns__$7 = [];
|
|
|
9543
9510
|
/* style */
|
|
9544
9511
|
var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
|
|
9545
9512
|
if (!inject) return;
|
|
9546
|
-
inject("data-v-
|
|
9513
|
+
inject("data-v-5dc8f4c6_0", {
|
|
9547
9514
|
source: ":root{--message-color:#373737;--text-color:#fff;--files-bg:rgba(255, 255, 255, 0.1);--files-bg-hover:rgba(255, 255, 255, 0.1);--light:80;--threshold:60}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem-reply{padding:5px 10px;font-size:12px;color:#666;transition:background-color 150ms ease-in-out;border-radius:5px;margin:5px 0;overflow:hidden;max-width:100%}.mensagem-reply p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-reply-principal{border-left:3px solid transparent;background-color:rgba(100,100,100,.1)}.message-reply-principal:hover{background-color:rgba(100,100,100,.2)}.message-reply-outros{background-color:#f5f5f5;border-left:3px solid var(--message-color)}.message-reply-outros:hover{background-color:#ebebeb}.mensagem-reply-vazia{display:flex;align-items:center}.mensagem-reply-vazia svg{margin-right:5px;color:#ba181b}.mensagem{padding:20px 7px 14px 7px;border-radius:5px;min-width:150px;min-height:60px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;max-width:80%;margin-bottom:10px;font-size:12px;word-break:break-word;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mensagem.max-w-60{max-width:60%}.mensagem.mapa{width:100%}.mensagem.hist-msg{animation:show 1s}.mensagem a{margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.message p{white-space:pre-wrap}.mensagem:hover .menu-primario{visibility:visible;opacity:1}.mensagem-anexo a,.mensagem-div-mapa a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reply{cursor:pointer;position:absolute;right:53px;bottom:5px;font-size:9.6px;color:#67a332;width:14.4px;height:14.4px;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.reply svg{margin-top:-1px;margin-right:-1px}.reply-with-2-icons{right:30px}.check{cursor:pointer;position:absolute;right:10px;bottom:2px;font-size:11.2px}.check.visualizado,.check.visualizado svg{color:#006daa}.check.verde,.check.verde svg{color:#4f772d}.check.vermelho,.check.vermelho svg{color:#ba181b}.check.cinza,.check.cinza svg{color:#999}.check.preto,.check.preto svg{color:#666}.star{cursor:pointer;position:absolute;right:30px;bottom:2px;font-size:6.4px;width:11.2px}.default-stick-size{width:180px;height:auto}.horario-envio{margin-right:15px;font-size:11.2px;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:9.6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.menu-primario{visibility:hidden;opacity:0;transition:opacity 150ms ease-in-out;position:absolute;font-size:11.2px;top:3px;display:flex;gap:5px;padding:2px 4px}.menu-primario.principal{left:4px;color:var(--text-color);background-color:var(--message-color)}.menu-primario.outros{right:4px;color:var(--text-color);background-color:#fff}.menu-primario.outros>span:nth-child(1){order:10}.menu-mensagem{cursor:pointer;padding:1px}.menu-flutuante{background-color:#fff;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);border-radius:10px;position:absolute;top:20px;width:120px;min-height:50px;height:50px;max-height:50px;overflow-x:hidden;overflow-y:auto;margin:0;padding:0;display:flex;flex-direction:column;z-index:1}.menu-flutuante.principal{left:3px}.menu-flutuante.outros{right:3px}.menu-flutuante li{transition:background-color .3s ease-in-out;width:100%;cursor:pointer;padding:5px 10px;display:flex;align-items:center}.menu-flutuante li:hover{background-color:#e9e9e9}.mensagem__principal{width:100%;display:flex;justify-content:flex-end}.mensagem__principal>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--message-color);bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:var(--message-color);color:var(--text-color)}.mensagem__principal>.mensagem .horario-envio{color:var(--text-color)}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:var(--text-color)}.mensagem__outros{width:100%;display:flex}.mensagem__outros>.mensagem{background-color:#fff;color:#333}.mensagem__outros>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #fff;bottom:5px;left:-10px;transform:rotate(90deg)}.mensagem__outros>.autor-mensagem{left:5px;color:#333}.mensagem-div-mapa{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:5px}.msg-mapa{width:100%;min-height:225px;height:100%;box-sizing:initial}.msg-mapa img{max-width:none!important}.info-mapa{list-style-type:none}.info-mapa li.title{font-size:.85em}.info-mapa li.address,.info-mapa li.url{font-size:.85em}.info-mapa li.url{font-size:.85em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.emoji-message-container{position:absolute;top:0;z-index:1;width:300px;height:250px}.emoji-message-container .sm-emoji-picker{width:300px;height:250px}.emoji-message-container .sm-emoji-picker .sm-emoji-header{overflow-x:auto;overflow-y:hidden}.reaction{position:absolute;bottom:0;border-radius:50%;display:flex;justify-content:center;align-items:center;background-color:rgba(100,100,100,.4);padding:5px;font-size:1.3em;min-width:1.8em;min-height:1.8em;max-width:1.8em;max-height:1.8em}.reaction>span{display:block;transform:translateY(-1px)}.mensagem__outros .reaction{right:-30px}.mensagem__principal .reaction{left:-30px}",
|
|
9548
9515
|
map: undefined,
|
|
9549
9516
|
media: undefined
|
|
@@ -9552,7 +9519,7 @@ var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
|
|
|
9552
9519
|
/* scoped */
|
|
9553
9520
|
var __vue_scope_id__$7 = undefined;
|
|
9554
9521
|
/* module identifier */
|
|
9555
|
-
var __vue_module_identifier__$7 = "data-v-
|
|
9522
|
+
var __vue_module_identifier__$7 = "data-v-5dc8f4c6";
|
|
9556
9523
|
/* functional template */
|
|
9557
9524
|
var __vue_is_functional_template__$7 = false;
|
|
9558
9525
|
/* style inject shadow dom */
|
|
@@ -10045,8 +10012,6 @@ var EmailFile = __vue_component__$4;//
|
|
|
10045
10012
|
//
|
|
10046
10013
|
//
|
|
10047
10014
|
//
|
|
10048
|
-
//
|
|
10049
|
-
//
|
|
10050
10015
|
|
|
10051
10016
|
var script$2 = {
|
|
10052
10017
|
props: {
|
|
@@ -10064,16 +10029,6 @@ var script$2 = {
|
|
|
10064
10029
|
type: Boolean,
|
|
10065
10030
|
required: false,
|
|
10066
10031
|
default: true
|
|
10067
|
-
},
|
|
10068
|
-
isLastIndex: {
|
|
10069
|
-
type: Boolean,
|
|
10070
|
-
required: false,
|
|
10071
|
-
default: false
|
|
10072
|
-
}
|
|
10073
|
-
},
|
|
10074
|
-
computed: {
|
|
10075
|
-
filteredName: function filteredName() {
|
|
10076
|
-
return !this.isLastIndex ? "".concat(this.currentName, ", ") : this.currentName;
|
|
10077
10032
|
}
|
|
10078
10033
|
}
|
|
10079
10034
|
};/* script */
|
|
@@ -10086,23 +10041,23 @@ var __vue_render__$2 = function __vue_render__() {
|
|
|
10086
10041
|
var _c = _vm._self._c || _h;
|
|
10087
10042
|
return _c('div', {
|
|
10088
10043
|
staticClass: "email-to"
|
|
10089
|
-
}, [_vm._ssrNode((_vm.currentName ? "<p" + _vm._ssrAttr("title", _vm.currentName) + " class=\"to\" data-v-
|
|
10044
|
+
}, [_vm._ssrNode((_vm.currentName ? "<p" + _vm._ssrAttr("title", _vm.currentName) + " class=\"to\" data-v-9a3de606>" + _vm._ssrEscape(_vm._s(_vm.currentName)) + "</p>" : "<!---->") + " " + (_vm.showMail ? "<span" + _vm._ssrAttr("title", _vm.mail) + " class=\"additional\" data-v-9a3de606>" + _vm._ssrEscape(_vm._s("<" + _vm.mail + ">")) + "</span>" : "<!---->"))]);
|
|
10090
10045
|
};
|
|
10091
10046
|
var __vue_staticRenderFns__$2 = [];
|
|
10092
10047
|
|
|
10093
10048
|
/* style */
|
|
10094
10049
|
var __vue_inject_styles__$2 = function __vue_inject_styles__(inject) {
|
|
10095
10050
|
if (!inject) return;
|
|
10096
|
-
inject("data-v-
|
|
10097
|
-
source: ".email-to[data-v-
|
|
10051
|
+
inject("data-v-9a3de606_0", {
|
|
10052
|
+
source: ".email-to[data-v-9a3de606]{display:flex;align-items:center}.email-to .to[data-v-9a3de606]{margin:0}.email-to .additional[data-v-9a3de606],.email-to .to[data-v-9a3de606]{font-size:.7rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:gray}.email-to .additional[data-v-9a3de606]{margin-left:5px}",
|
|
10098
10053
|
map: undefined,
|
|
10099
10054
|
media: undefined
|
|
10100
10055
|
});
|
|
10101
10056
|
};
|
|
10102
10057
|
/* scoped */
|
|
10103
|
-
var __vue_scope_id__$2 = "data-v-
|
|
10058
|
+
var __vue_scope_id__$2 = "data-v-9a3de606";
|
|
10104
10059
|
/* module identifier */
|
|
10105
|
-
var __vue_module_identifier__$2 = "data-v-
|
|
10060
|
+
var __vue_module_identifier__$2 = "data-v-9a3de606";
|
|
10106
10061
|
/* functional template */
|
|
10107
10062
|
var __vue_is_functional_template__$2 = false;
|
|
10108
10063
|
/* style inject shadow dom */
|
|
@@ -10150,6 +10105,7 @@ var EmailTo = __vue_component__$3;//
|
|
|
10150
10105
|
//
|
|
10151
10106
|
//
|
|
10152
10107
|
//
|
|
10108
|
+
//
|
|
10153
10109
|
|
|
10154
10110
|
var script$1 = {
|
|
10155
10111
|
props: {
|
|
@@ -10167,16 +10123,6 @@ var script$1 = {
|
|
|
10167
10123
|
type: Boolean,
|
|
10168
10124
|
required: false,
|
|
10169
10125
|
default: true
|
|
10170
|
-
},
|
|
10171
|
-
isLastIndex: {
|
|
10172
|
-
type: Boolean,
|
|
10173
|
-
required: false,
|
|
10174
|
-
default: false
|
|
10175
|
-
}
|
|
10176
|
-
},
|
|
10177
|
-
computed: {
|
|
10178
|
-
filteredName: function filteredName() {
|
|
10179
|
-
return !this.isLastIndex ? "".concat(this.currentName, ", ") : this.currentName;
|
|
10180
10126
|
}
|
|
10181
10127
|
}
|
|
10182
10128
|
};/* script */
|
|
@@ -10189,23 +10135,23 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10189
10135
|
var _c = _vm._self._c || _h;
|
|
10190
10136
|
return _c('div', {
|
|
10191
10137
|
staticClass: "email-from"
|
|
10192
|
-
}, [_vm._ssrNode((_vm.currentName ? "<p" + _vm._ssrAttr("title", _vm.currentName) + " class=\"from\" data-v-
|
|
10138
|
+
}, [_vm._ssrNode((_vm.currentName ? "<p" + _vm._ssrAttr("title", _vm.currentName) + " class=\"from\" data-v-ab361444>" + _vm._ssrEscape(_vm._s(_vm.currentName)) + "</p>" : "<!---->") + " " + (_vm.showMail ? "<div class=\"additional-container\" data-v-ab361444><span" + _vm._ssrAttr("title", _vm.mail) + " class=\"additional\" data-v-ab361444>" + _vm._ssrEscape(_vm._s("" + _vm.mail)) + "</span></div>" : "<!---->"))]);
|
|
10193
10139
|
};
|
|
10194
10140
|
var __vue_staticRenderFns__$1 = [];
|
|
10195
10141
|
|
|
10196
10142
|
/* style */
|
|
10197
10143
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10198
10144
|
if (!inject) return;
|
|
10199
|
-
inject("data-v-
|
|
10200
|
-
source: ".email-from[data-v-
|
|
10145
|
+
inject("data-v-ab361444_0", {
|
|
10146
|
+
source: ".email-from[data-v-ab361444]{display:flex;align-items:center}.email-from .from[data-v-ab361444]{font-size:.75rem;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0}.email-from .additional-container[data-v-ab361444]{flex:1;overflow:hidden}.email-from .additional[data-v-ab361444]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-left:5px;font-size:.75rem;color:gray;text-overflow:ellipsis}",
|
|
10201
10147
|
map: undefined,
|
|
10202
10148
|
media: undefined
|
|
10203
10149
|
});
|
|
10204
10150
|
};
|
|
10205
10151
|
/* scoped */
|
|
10206
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10152
|
+
var __vue_scope_id__$1 = "data-v-ab361444";
|
|
10207
10153
|
/* module identifier */
|
|
10208
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10154
|
+
var __vue_module_identifier__$1 = "data-v-ab361444";
|
|
10209
10155
|
/* functional template */
|
|
10210
10156
|
var __vue_is_functional_template__$1 = false;
|
|
10211
10157
|
/* style inject shadow dom */
|
|
@@ -10216,7 +10162,10 @@ var __vue_component__$2 = /*#__PURE__*/normalizeComponent({
|
|
|
10216
10162
|
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, createInjectorSSR, undefined);
|
|
10217
10163
|
var EmailFrom = __vue_component__$2;//
|
|
10218
10164
|
var script = {
|
|
10219
|
-
mixins: [textoLongo
|
|
10165
|
+
mixins: [textoLongo],
|
|
10166
|
+
directives: {
|
|
10167
|
+
clickaway: Clickaway
|
|
10168
|
+
},
|
|
10220
10169
|
components: {
|
|
10221
10170
|
EmailFile: EmailFile,
|
|
10222
10171
|
EmailTo: EmailTo,
|
|
@@ -10233,81 +10182,115 @@ var script = {
|
|
|
10233
10182
|
},
|
|
10234
10183
|
from: {
|
|
10235
10184
|
type: Array,
|
|
10236
|
-
required: false,
|
|
10237
10185
|
default: function _default() {
|
|
10238
10186
|
return [];
|
|
10239
10187
|
}
|
|
10240
10188
|
},
|
|
10241
10189
|
para: {
|
|
10242
10190
|
type: Array,
|
|
10243
|
-
required: false,
|
|
10244
10191
|
default: function _default() {
|
|
10245
10192
|
return [];
|
|
10246
10193
|
}
|
|
10247
10194
|
},
|
|
10248
10195
|
html: {
|
|
10249
10196
|
type: String,
|
|
10250
|
-
required: false,
|
|
10251
10197
|
default: ""
|
|
10252
10198
|
},
|
|
10253
10199
|
assunto: {
|
|
10254
10200
|
type: String,
|
|
10255
|
-
required: false,
|
|
10256
10201
|
default: ""
|
|
10257
10202
|
},
|
|
10258
10203
|
dataHora: {
|
|
10259
10204
|
type: String,
|
|
10260
|
-
required: false,
|
|
10261
10205
|
default: ""
|
|
10262
10206
|
},
|
|
10263
10207
|
mensagem: {
|
|
10264
10208
|
type: String,
|
|
10265
|
-
required: false,
|
|
10266
10209
|
default: ""
|
|
10267
10210
|
},
|
|
10268
10211
|
anexos: {
|
|
10269
10212
|
type: [Array, String],
|
|
10270
|
-
required: false,
|
|
10271
10213
|
default: function _default() {
|
|
10272
10214
|
return [];
|
|
10273
10215
|
}
|
|
10274
10216
|
},
|
|
10275
10217
|
iniciarAberto: {
|
|
10276
10218
|
type: Boolean,
|
|
10277
|
-
required: false,
|
|
10278
10219
|
default: false
|
|
10279
10220
|
},
|
|
10280
10221
|
dataServer: {
|
|
10281
10222
|
type: String,
|
|
10282
|
-
required: false,
|
|
10283
10223
|
default: ""
|
|
10284
10224
|
},
|
|
10285
10225
|
isOpenClass: {
|
|
10286
10226
|
type: String,
|
|
10287
|
-
required: false,
|
|
10288
10227
|
default: 'bg-dark-white-2'
|
|
10289
10228
|
},
|
|
10290
10229
|
isClosedClass: {
|
|
10291
10230
|
type: String,
|
|
10292
|
-
required: false,
|
|
10293
10231
|
default: 'bg-light-gray-2'
|
|
10294
10232
|
},
|
|
10295
10233
|
sanitizeOptions: {
|
|
10296
10234
|
type: Object,
|
|
10297
|
-
required: false,
|
|
10298
10235
|
default: null
|
|
10299
10236
|
}
|
|
10300
10237
|
},
|
|
10301
10238
|
data: function data() {
|
|
10302
10239
|
return {
|
|
10303
|
-
isOpen:
|
|
10240
|
+
isOpen: this.iniciarAberto,
|
|
10304
10241
|
openMessage: false,
|
|
10305
|
-
actionsOpen: false
|
|
10242
|
+
actionsOpen: false,
|
|
10243
|
+
showInfos: false
|
|
10306
10244
|
};
|
|
10307
10245
|
},
|
|
10246
|
+
computed: {
|
|
10247
|
+
formattedDate: function formattedDate() {
|
|
10248
|
+
return this.formataDateHoraDateFns(this.dataHora, this.dataServer, this.dicionario);
|
|
10249
|
+
},
|
|
10250
|
+
cleanHtml: function cleanHtml() {
|
|
10251
|
+
var defaultOptions = {
|
|
10252
|
+
allowedTags: ['a', 'b', 'br', 'div', 'i', 'p', 'span', 'strong', 'u', 'ul', 'ol', 'li', 'img', 'link'],
|
|
10253
|
+
allowedAttributes: {
|
|
10254
|
+
'a': ['href'],
|
|
10255
|
+
'img': ['src', 'width', 'height', 'alt'],
|
|
10256
|
+
'link': ['rel', 'href'],
|
|
10257
|
+
'*': ['style']
|
|
10258
|
+
}
|
|
10259
|
+
};
|
|
10260
|
+
return this.$sanitize(this.html, this.sanitizeOptions || defaultOptions);
|
|
10261
|
+
},
|
|
10262
|
+
mailInfos: function mailInfos() {
|
|
10263
|
+
var formatAsString = function formatAsString(arr) {
|
|
10264
|
+
var str = '';
|
|
10265
|
+
arr.forEach(function (_ref, index) {
|
|
10266
|
+
var name = _ref.name,
|
|
10267
|
+
mail = _ref.mail;
|
|
10268
|
+
str += "".concat(name, " <").concat(mail, ">").concat(index !== arr.length - 1 ? ', ' : '');
|
|
10269
|
+
});
|
|
10270
|
+
return str;
|
|
10271
|
+
};
|
|
10272
|
+
return [{
|
|
10273
|
+
label: 'De:',
|
|
10274
|
+
value: formatAsString(this.from)
|
|
10275
|
+
}, {
|
|
10276
|
+
label: 'Para:',
|
|
10277
|
+
value: formatAsString(this.para)
|
|
10278
|
+
}, {
|
|
10279
|
+
label: 'Assunto:',
|
|
10280
|
+
value: this.htmlEntityToEmoji(this.replaceUnicodeWithEmoji(this.assunto)) || '(Sem assunto)'
|
|
10281
|
+
}, {
|
|
10282
|
+
label: 'Data:',
|
|
10283
|
+
value: this.formataDataHora(this.dataHora)
|
|
10284
|
+
}];
|
|
10285
|
+
}
|
|
10286
|
+
},
|
|
10308
10287
|
methods: {
|
|
10288
|
+
toggleShowInfos: function toggleShowInfos() {
|
|
10289
|
+
this.showInfos = !this.showInfos;
|
|
10290
|
+
},
|
|
10309
10291
|
toggleIsOpen: function toggleIsOpen() {
|
|
10310
10292
|
this.isOpen = !this.isOpen;
|
|
10293
|
+
if (!this.isOpen) this.actionsOpen = false;
|
|
10311
10294
|
},
|
|
10312
10295
|
toggleActions: function toggleActions() {
|
|
10313
10296
|
this.actionsOpen = !this.actionsOpen;
|
|
@@ -10315,17 +10298,17 @@ var script = {
|
|
|
10315
10298
|
toggleOpenMessage: function toggleOpenMessage() {
|
|
10316
10299
|
this.openMessage = !this.openMessage;
|
|
10317
10300
|
},
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
return
|
|
10301
|
+
closeActions: function closeActions() {
|
|
10302
|
+
this.actionsOpen = false;
|
|
10303
|
+
},
|
|
10304
|
+
formattedName: function formattedName(name, index, length, isOpen) {
|
|
10305
|
+
return "".concat(name).concat(index !== length - 1 && !isOpen ? ', ' : '');
|
|
10306
|
+
},
|
|
10307
|
+
formattedMail: function formattedMail(mail, index, length, isOpen) {
|
|
10308
|
+
return "<".concat(mail).concat(index !== length - 1 && isOpen ? '>, ' : '>');
|
|
10309
|
+
},
|
|
10310
|
+
formattedToName: function formattedToName(name, index, length) {
|
|
10311
|
+
return index === 0 ? "Para: ".concat(name || '') : name ? "".concat(name).concat(index !== length - 1 ? ', ' : '') : '';
|
|
10329
10312
|
}
|
|
10330
10313
|
}
|
|
10331
10314
|
};/* script */
|
|
@@ -10337,80 +10320,79 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10337
10320
|
var _h = _vm.$createElement;
|
|
10338
10321
|
var _c = _vm._self._c || _h;
|
|
10339
10322
|
return _c('div', {
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
}, [_vm._ssrNode("<div class=\"email-header\" data-v-47eec7ab>", "</div>", [_vm._ssrNode("<div class=\"email-header-content\" data-v-47eec7ab>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-47eec7ab>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.assunto || '(Sem assunto)') + " class=\"email-subject\" data-v-47eec7ab>" + _vm._ssrEscape(_vm._s(_vm.tratarTextoLongo(_vm.assunto || '(Sem assunto)', 30))) + "</p> "), _vm.from && _vm.from.length ? _vm._l(_vm.from, function (ref, index) {
|
|
10343
|
-
var name = ref.name;
|
|
10344
|
-
var mail = ref.mail;
|
|
10323
|
+
class: ['email-item box-shadow', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass]
|
|
10324
|
+
}, [_vm._ssrNode("<div class=\"email-header\" data-v-ea72d2ae>", "</div>", [_vm._ssrNode("<div class=\"email-header-content\" data-v-ea72d2ae>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-ea72d2ae>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)') + " class=\"email-subject\" data-v-ea72d2ae>" + _vm._ssrEscape("\n " + _vm._s(_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.tratarTextoLongo(_vm.assunto, 30))) || '(Sem assunto)') + "\n ") + "</p> "), _vm.from && _vm.from.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-ea72d2ae>", "</div>", _vm._l(_vm.from, function (sender, index) {
|
|
10345
10325
|
return _c('EmailFrom', {
|
|
10346
10326
|
key: "from-" + index,
|
|
10347
10327
|
attrs: {
|
|
10348
|
-
"currentName": name,
|
|
10349
|
-
"mail": mail,
|
|
10350
|
-
"showMail": _vm.
|
|
10351
|
-
"isLastIndex": index == _vm.from.length - 1
|
|
10328
|
+
"currentName": _vm.formattedName(sender.name, index, _vm.from.length, _vm.isOpen),
|
|
10329
|
+
"mail": _vm.formattedMail(sender.mail, index, _vm.from.length, _vm.isOpen),
|
|
10330
|
+
"showMail": _vm.isOpen
|
|
10352
10331
|
}
|
|
10353
10332
|
});
|
|
10354
|
-
}) : _vm._e(), _vm._ssrNode(" "), _vm.para && _vm.para.length && _vm.isOpen ? _vm._l(_vm.para, function (
|
|
10355
|
-
var name = ref.name;
|
|
10356
|
-
var mail = ref.mail;
|
|
10333
|
+
}), 1)] : _vm._e(), _vm._ssrNode(" "), _vm.para && _vm.para.length && _vm.isOpen ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-ea72d2ae>", "</div>", [_vm._l(_vm.para, function (recipient, index) {
|
|
10357
10334
|
return _c('EmailTo', {
|
|
10358
10335
|
key: "to-" + index,
|
|
10359
10336
|
attrs: {
|
|
10360
|
-
"currentName":
|
|
10361
|
-
"mail": mail,
|
|
10362
|
-
"showMail": _vm.para.length
|
|
10363
|
-
"isLastIndex": index == _vm.para.length - 1
|
|
10337
|
+
"currentName": _vm.formattedToName(recipient.name, index, _vm.para.length),
|
|
10338
|
+
"mail": recipient.mail,
|
|
10339
|
+
"showMail": _vm.para.length === 1
|
|
10364
10340
|
}
|
|
10365
10341
|
});
|
|
10366
|
-
})
|
|
10342
|
+
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\" data-v-ea72d2ae>", "</div>", [_c('fa-icon', {
|
|
10367
10343
|
attrs: {
|
|
10368
|
-
"icon": ['fas', '
|
|
10344
|
+
"icon": ['fas', 'caret-down']
|
|
10369
10345
|
}
|
|
10370
|
-
})
|
|
10371
|
-
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10377
|
-
|
|
10346
|
+
})], 1), _vm._ssrNode(" "), _vm.showInfos ? _c('ul', {
|
|
10347
|
+
directives: [{
|
|
10348
|
+
name: "clickaway",
|
|
10349
|
+
rawName: "v-clickaway",
|
|
10350
|
+
value: function value() {
|
|
10351
|
+
return _vm.showInfos = false;
|
|
10352
|
+
},
|
|
10353
|
+
expression: "() => showInfos = false"
|
|
10354
|
+
}],
|
|
10355
|
+
staticClass: "email-to-infos box-shadow",
|
|
10378
10356
|
on: {
|
|
10379
10357
|
"click": function click($event) {
|
|
10380
|
-
|
|
10358
|
+
$event.stopPropagation();
|
|
10381
10359
|
}
|
|
10382
10360
|
}
|
|
10383
|
-
}, [
|
|
10361
|
+
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10362
|
+
return "<li class=\"email-info\" data-v-ea72d2ae><span data-v-ea72d2ae>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10363
|
+
}))]) : _vm._e()], 2)] : _vm._e()], 2)]), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.formattedDate) + " class=\"email-date\" data-v-ea72d2ae>", "</span>", [_c('fa-icon', {
|
|
10364
|
+
attrs: {
|
|
10365
|
+
"icon": ['fas', 'calendar']
|
|
10366
|
+
}
|
|
10367
|
+
}), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.formattedDate) + "\n "))], 2), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10368
|
+
active: _vm.actionsOpen
|
|
10369
|
+
}]) + " data-v-ea72d2ae><span data-v-ea72d2ae></span> <span data-v-ea72d2ae></span> <span data-v-ea72d2ae></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10384
10370
|
directives: [{
|
|
10385
|
-
name: "
|
|
10386
|
-
rawName: "v-
|
|
10387
|
-
value:
|
|
10388
|
-
|
|
10389
|
-
},
|
|
10390
|
-
expression: "() => actionsOpen = false"
|
|
10371
|
+
name: "clickaway",
|
|
10372
|
+
rawName: "v-clickaway",
|
|
10373
|
+
value: _vm.closeActions,
|
|
10374
|
+
expression: "closeActions"
|
|
10391
10375
|
}],
|
|
10392
|
-
staticClass: "email-actions-list box-shadow"
|
|
10393
|
-
}, [_c('li', {
|
|
10394
|
-
staticClass: "email-action",
|
|
10395
|
-
domProps: {
|
|
10396
|
-
"textContent": _vm._s((!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail")
|
|
10397
|
-
},
|
|
10376
|
+
staticClass: "email-actions-list box-shadow",
|
|
10398
10377
|
on: {
|
|
10399
10378
|
"click": function click($event) {
|
|
10400
|
-
|
|
10379
|
+
$event.stopPropagation();
|
|
10401
10380
|
}
|
|
10402
10381
|
}
|
|
10403
|
-
})]) : _vm._e(), _vm.
|
|
10382
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-ea72d2ae>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _c('transition', {
|
|
10383
|
+
attrs: {
|
|
10384
|
+
"name": "show-y-top"
|
|
10385
|
+
}
|
|
10386
|
+
}, [_vm.isOpen ? _c('div', {
|
|
10387
|
+
staticClass: "email-content"
|
|
10388
|
+
}, [_c('section', {
|
|
10404
10389
|
staticClass: "email-html",
|
|
10405
10390
|
domProps: {
|
|
10406
|
-
"innerHTML": _vm._s(_vm.
|
|
10391
|
+
"innerHTML": _vm._s(_vm.cleanHtml)
|
|
10407
10392
|
}
|
|
10408
10393
|
}), _vm._v(" "), _vm.openMessage ? _c('span', {
|
|
10409
|
-
staticClass: "email-raw"
|
|
10410
|
-
|
|
10411
|
-
"textContent": _vm._s(_vm.mensagem)
|
|
10412
|
-
}
|
|
10413
|
-
}) : _vm._e()]) : _vm._e()]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-47eec7ab>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10394
|
+
staticClass: "email-raw"
|
|
10395
|
+
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()]) : _vm._e()]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-ea72d2ae>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10414
10396
|
return _c('EmailFile', {
|
|
10415
10397
|
key: index,
|
|
10416
10398
|
attrs: {
|
|
@@ -10425,20 +10407,20 @@ var __vue_staticRenderFns__ = [];
|
|
|
10425
10407
|
/* style */
|
|
10426
10408
|
var __vue_inject_styles__ = function __vue_inject_styles__(inject) {
|
|
10427
10409
|
if (!inject) return;
|
|
10428
|
-
inject("data-v-
|
|
10429
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10410
|
+
inject("data-v-ea72d2ae_0", {
|
|
10411
|
+
source: ".show-y-top-enter-active[data-v-ea72d2ae],.show-y-top-leave-enter[data-v-ea72d2ae]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-ea72d2ae],.show-y-top-leave-to[data-v-ea72d2ae]{opacity:0;transform:translateY(-2%)}",
|
|
10430
10412
|
map: undefined,
|
|
10431
10413
|
media: undefined
|
|
10432
|
-
}), inject("data-v-
|
|
10433
|
-
source: ".bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-item{flex:1;margin:0 10px
|
|
10414
|
+
}), inject("data-v-ea72d2ae_1", {
|
|
10415
|
+
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}.email-header-content{display:flex;align-items:center;margin:10px;flex:1;min-width:275px}.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:center;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}.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:5px 15px;margin-left:5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-315px;border:1px solid #ccc;z-index:1;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}.email-info{width:100%;font-size:.8rem}.email-info>span{font-size:.75rem;color:gray;margin-left:5px}",
|
|
10434
10416
|
map: undefined,
|
|
10435
10417
|
media: undefined
|
|
10436
10418
|
});
|
|
10437
10419
|
};
|
|
10438
10420
|
/* scoped */
|
|
10439
|
-
var __vue_scope_id__ = "data-v-
|
|
10421
|
+
var __vue_scope_id__ = "data-v-ea72d2ae";
|
|
10440
10422
|
/* module identifier */
|
|
10441
|
-
var __vue_module_identifier__ = "data-v-
|
|
10423
|
+
var __vue_module_identifier__ = "data-v-ea72d2ae";
|
|
10442
10424
|
/* functional template */
|
|
10443
10425
|
var __vue_is_functional_template__ = false;
|
|
10444
10426
|
/* style inject shadow dom */
|