vue-intergrall-plugins 1.0.47 → 1.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-intergrall-plugins.esm.js +60 -18
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +62 -34
- package/package.json +1 -1
- package/src/lib-components/Email/EmailExpanded.vue +1 -1
- package/src/lib-components/Email/EmailFile.vue +12 -1
- package/src/lib-components/Email/EmailItem.vue +70 -11
|
@@ -10677,15 +10677,23 @@ var __vue_render__$4 = function () {
|
|
|
10677
10677
|
attrs: {
|
|
10678
10678
|
"icon": ['fas', 'download']
|
|
10679
10679
|
}
|
|
10680
|
-
})], 1)
|
|
10680
|
+
})], 1), _vm._v(" "), _c('span', {
|
|
10681
|
+
staticClass: "anexo-name",
|
|
10682
|
+
attrs: {
|
|
10683
|
+
"title": _vm.filename
|
|
10684
|
+
},
|
|
10685
|
+
domProps: {
|
|
10686
|
+
"textContent": _vm._s(_vm.filename)
|
|
10687
|
+
}
|
|
10688
|
+
})])], 1);
|
|
10681
10689
|
};
|
|
10682
10690
|
var __vue_staticRenderFns__$4 = [];
|
|
10683
10691
|
|
|
10684
10692
|
/* style */
|
|
10685
10693
|
const __vue_inject_styles__$4 = function (inject) {
|
|
10686
10694
|
if (!inject) return;
|
|
10687
|
-
inject("data-v-
|
|
10688
|
-
source: ".email-file{display:flex;align-items:center;min-width:50px;width:auto;max-width:100px;height:70px;position:relative}.anexo-img{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.anexo-img:hover{opacity:1}.anexo-img img{max-width:100%;max-height:100%}.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)}.anexo-icone{display:flex;justify-content:center;align-items:center;font-size:30px;cursor:pointer
|
|
10695
|
+
inject("data-v-f05f5d6c_0", {
|
|
10696
|
+
source: ".email-file{display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:50px;width:auto;max-width:100px;height:70px;position:relative}.anexo-img{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.anexo-img:hover{opacity:1}.anexo-img img{max-width:100%;max-height:100%}.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)}.anexo-icone{display:flex;justify-content:center;align-items:center;font-size:30px;cursor:pointer}.anexo-icone:hover{opacity:1}.anexo-icone:visited{color:inherit}.anexo-icone.pdf{position:relative}.anexo-icone.pdf svg{color:#e74c3c}.anexo-icone.pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px}.anexo-icone.doc{color:#15517f}.anexo-icone.doc::after{content:\"\";position:absolute;width:20px;height:20px}.anexo-download{position:absolute;top:0;right:0;border-radius:5px;padding:5px;display:flex;justify-content:center;align-items:center;color:#222;background-color:#fff;z-index:1;font-size:.8rem}.anexo-name{max-width:100%;font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 0 5px 0}",
|
|
10689
10697
|
map: undefined,
|
|
10690
10698
|
media: undefined
|
|
10691
10699
|
});
|
|
@@ -10999,7 +11007,7 @@ var script$1 = {
|
|
|
10999
11007
|
},
|
|
11000
11008
|
isOpenClass: {
|
|
11001
11009
|
type: String,
|
|
11002
|
-
default: 'bg-dark-white-2'
|
|
11010
|
+
default: 'bg-dark-white-2 box-shadow-active'
|
|
11003
11011
|
},
|
|
11004
11012
|
isClosedClass: {
|
|
11005
11013
|
type: String,
|
|
@@ -11011,6 +11019,17 @@ var script$1 = {
|
|
|
11011
11019
|
showRawMessageInsideEmail: {
|
|
11012
11020
|
type: Boolean,
|
|
11013
11021
|
default: false
|
|
11022
|
+
},
|
|
11023
|
+
origem: {
|
|
11024
|
+
type: String,
|
|
11025
|
+
default: 'outros'
|
|
11026
|
+
},
|
|
11027
|
+
autor: {
|
|
11028
|
+
type: String
|
|
11029
|
+
},
|
|
11030
|
+
isMainEmail: {
|
|
11031
|
+
type: Boolean,
|
|
11032
|
+
default: true
|
|
11014
11033
|
}
|
|
11015
11034
|
},
|
|
11016
11035
|
data() {
|
|
@@ -11134,6 +11153,16 @@ var script$1 = {
|
|
|
11134
11153
|
},
|
|
11135
11154
|
formattedToName(name, index, length) {
|
|
11136
11155
|
return index === 0 ? `Para: ${name || ''}` : name ? `${name}${index !== length - 1 ? ', ' : ''}` : '';
|
|
11156
|
+
},
|
|
11157
|
+
returnMainValue() {
|
|
11158
|
+
if (this.isMainEmail) return this.htmlEntityToEmoji(this.replaceUnicodeWithEmoji(this.assunto)) || '(Sem assunto)';
|
|
11159
|
+
const defaultStr = `(Sem remetente)`;
|
|
11160
|
+
if (!this.from || !this.from.length) return defaultStr;
|
|
11161
|
+
const {
|
|
11162
|
+
name,
|
|
11163
|
+
mail
|
|
11164
|
+
} = this.from[0];
|
|
11165
|
+
return `${name || mail || defaultStr}`;
|
|
11137
11166
|
}
|
|
11138
11167
|
}
|
|
11139
11168
|
};
|
|
@@ -11147,9 +11176,15 @@ var __vue_render__$1 = function () {
|
|
|
11147
11176
|
var _h = _vm.$createElement;
|
|
11148
11177
|
var _c = _vm._self._c || _h;
|
|
11149
11178
|
return _c('div', {
|
|
11150
|
-
class: ['email-item box-shadow', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass, _vm.showInfos ? 'info-open' : '']
|
|
11179
|
+
class: ['email-item box-shadow', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass, _vm.showInfos ? 'info-open' : '', _vm.origem]
|
|
11151
11180
|
}, [_vm.showInfos ? _c('div', {
|
|
11152
11181
|
staticClass: "email-overlay"
|
|
11182
|
+
}) : _vm._e(), _vm._v(" "), _vm.autor ? _c('div', {
|
|
11183
|
+
staticClass: "email-author",
|
|
11184
|
+
class: [_vm.origem],
|
|
11185
|
+
domProps: {
|
|
11186
|
+
"innerHTML": _vm._s(_vm.autor)
|
|
11187
|
+
}
|
|
11153
11188
|
}) : _vm._e(), _vm._v(" "), _c('div', {
|
|
11154
11189
|
staticClass: "email-header",
|
|
11155
11190
|
on: {
|
|
@@ -11158,9 +11193,9 @@ var __vue_render__$1 = function () {
|
|
|
11158
11193
|
}, [_c('p', {
|
|
11159
11194
|
staticClass: "email-subject",
|
|
11160
11195
|
attrs: {
|
|
11161
|
-
"title": _vm.
|
|
11196
|
+
"title": _vm.returnMainValue()
|
|
11162
11197
|
}
|
|
11163
|
-
}, [_vm._v("\n " + _vm._s(_vm.
|
|
11198
|
+
}, [_vm._v("\n " + _vm._s(_vm.returnMainValue()) + "\n ")]), _vm._v(" "), _c('div', {
|
|
11164
11199
|
staticClass: "header-container"
|
|
11165
11200
|
}, [_c('div', {
|
|
11166
11201
|
staticClass: "email-header-content"
|
|
@@ -11201,9 +11236,16 @@ var __vue_render__$1 = function () {
|
|
|
11201
11236
|
attrs: {
|
|
11202
11237
|
"icon": ['fas', 'caret-down']
|
|
11203
11238
|
}
|
|
11204
|
-
})], 1)], 2)] : _vm._e()
|
|
11239
|
+
})], 1)], 2)] : _vm._e(), _vm._v(" "), !_vm.isMainEmail && _vm.isOpen ? _c('div', {
|
|
11240
|
+
staticClass: "email-subject-secondary"
|
|
11241
|
+
}, [_c('span', {
|
|
11242
|
+
staticClass: "email-subject-span",
|
|
11243
|
+
domProps: {
|
|
11244
|
+
"textContent": _vm._s("Assunto: " + (_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'))
|
|
11245
|
+
}
|
|
11246
|
+
})]) : _vm._e()], 2)]), _vm._v(" "), _c('span', {
|
|
11205
11247
|
ref: "emailDate",
|
|
11206
|
-
class: "email-date " + (_vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass),
|
|
11248
|
+
class: "email-date " + (_vm.isOpen ? _vm.isOpenClass ? _vm.isOpenClass.split(' ')[0] : '' : _vm.isClosedClass),
|
|
11207
11249
|
attrs: {
|
|
11208
11250
|
"title": _vm.formattedDate
|
|
11209
11251
|
}
|
|
@@ -11292,18 +11334,18 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
11292
11334
|
/* style */
|
|
11293
11335
|
const __vue_inject_styles__$1 = function (inject) {
|
|
11294
11336
|
if (!inject) return;
|
|
11295
|
-
inject("data-v-
|
|
11296
|
-
source: ".show-y-top-enter-active[data-v-
|
|
11337
|
+
inject("data-v-3586cd59_0", {
|
|
11338
|
+
source: ".show-y-top-enter-active[data-v-3586cd59],.show-y-top-leave-enter[data-v-3586cd59]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-3586cd59],.show-y-top-leave-to[data-v-3586cd59]{opacity:0;transform:translateY(-2%)}",
|
|
11297
11339
|
map: undefined,
|
|
11298
11340
|
media: undefined
|
|
11299
|
-
}), inject("data-v-
|
|
11300
|
-
source: "@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);.bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-overlay{width:100%;height:100%;background-color:transparent;z-index:1;position:absolute;top:0;left:0}.email-item{font-family:Roboto,sans-serif;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%;overflow:hidden;position:relative}.email-item.info-open{overflow:visible}.email-header{width:100%;display:flex;flex-direction:column;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:visible}.header-container{display:flex;overflow:hidden;position:relative}.email-header-content{display:flex;align-items:center;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-size:1.025rem;cursor:pointer}.email-date{--width:245px;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:absolute;right:0;top:0;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%;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%;min-width:300px;max-width:100%;border:none;overflow:auto}.email-raw{width:100%;max-width:100%;padding:15px;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:
|
|
11341
|
+
}), inject("data-v-3586cd59_1", {
|
|
11342
|
+
source: "@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);.box-shadow-active{box-shadow:0 0 4px 2px rgba(0,0,0,.25)!important}.bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-overlay{width:100%;height:100%;background-color:transparent;z-index:1;position:absolute;top:0;left:0}.email-item{font-family:Roboto,sans-serif;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%;overflow:hidden;position:relative}.email-item.outros{border-top-left-radius:0}.email-item.principal{border-top-right-radius:0}.email-item.info-open{overflow:visible}.email-header{width:100%;display:flex;flex-direction:column;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:visible}.header-container{display:flex;overflow:hidden;position:relative}.email-header-content{display:flex;align-items:center;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-size:1.025rem;cursor:pointer}.email-date{--width:245px;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:absolute;right:0;top:0;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%;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%;min-width:300px;max-width:100%;border:none;overflow:auto}.email-raw{width:100%;max-width:100%;padding:15px;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:5px;max-width:100%;min-width:250px;overflow:hidden;display:flex;flex-wrap:wrap;flex:1;gap:5px}.email-to-btn{padding:0 5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-325px;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-right:3px}.email-author{display:flex;align-items:center;height:5px;font-size:.65rem;font-weight:700;transform:translateY(-2px);width:100%}.email-author.principal{justify-content:flex-end}.email-subject-secondary{margin-top:-5px}.email-subject-span{font-size:.7rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:gray}",
|
|
11301
11343
|
map: undefined,
|
|
11302
11344
|
media: undefined
|
|
11303
11345
|
});
|
|
11304
11346
|
};
|
|
11305
11347
|
/* scoped */
|
|
11306
|
-
const __vue_scope_id__$1 = "data-v-
|
|
11348
|
+
const __vue_scope_id__$1 = "data-v-3586cd59";
|
|
11307
11349
|
/* module identifier */
|
|
11308
11350
|
const __vue_module_identifier__$1 = undefined;
|
|
11309
11351
|
/* functional template */
|
|
@@ -11381,7 +11423,7 @@ var script = {
|
|
|
11381
11423
|
return `<${mail}${index !== length - 1 && isOpen ? '>, ' : '>'}`;
|
|
11382
11424
|
},
|
|
11383
11425
|
formattedToName(name, index, length) {
|
|
11384
|
-
return index === 0 ?
|
|
11426
|
+
return index === 0 ? `${name || ''}` : name ? `${name}${index !== length - 1 ? ', ' : ''}` : '';
|
|
11385
11427
|
}
|
|
11386
11428
|
}
|
|
11387
11429
|
};
|
|
@@ -11466,14 +11508,14 @@ var __vue_staticRenderFns__ = [];
|
|
|
11466
11508
|
/* style */
|
|
11467
11509
|
const __vue_inject_styles__ = function (inject) {
|
|
11468
11510
|
if (!inject) return;
|
|
11469
|
-
inject("data-v-
|
|
11470
|
-
source: ".sc-icone-fechar[data-v-
|
|
11511
|
+
inject("data-v-c084ac8a_0", {
|
|
11512
|
+
source: ".sc-icone-fechar[data-v-c084ac8a]{cursor:pointer;position:absolute;top:0;right:0;background-color:#fff;border-radius:50%;z-index:1;color:#e74c3c;font-size:20.8px}.sc-icone-fechar.sc-icone-fechar--interno[data-v-c084ac8a]{top:5px;right:5px}.email-blocker[data-v-c084ac8a]{font-family:Roboto,sans-serif;position:absolute;top:0;left:0;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;z-index:99;background-color:rgba(0,0,0,.2);overflow:visible}.email-blocker-content[data-v-c084ac8a]{width:90%;height:90%;max-width:90%;max-height:90%;overflow:hidden auto;position:relative;background-color:#fff;color:#222}.email-title[data-v-c084ac8a]{background:#222;color:#fff;margin:0 0 10px 0;padding:5px 10px;border-top-left-radius:5px;border-top-right-radius:5px;font-size:1.1rem}.email-content-table[data-v-c084ac8a]{padding:0;margin:0 10px 10px;font-size:.95rem;border-collapse:collapse}.email-content-table td[data-v-c084ac8a],.email-content-table th[data-v-c084ac8a]{border:solid thin #e0e0e0}.email-content-table th[data-v-c084ac8a]{min-width:100px;text-align:left;vertical-align:text-top;padding:12px 20px;font-weight:400;border-right:unset}.email-divisor[data-v-c084ac8a]{margin-top:15px;margin-bottom:10px;height:1px;width:100%;background:#e0e0e0;border:unset}.email-content-table td[data-v-c084ac8a]{padding:8px;border-left:unset}.email-raw-content[data-v-c084ac8a]{display:flex;flex-direction:column;gap:10px;padding:0 15px 15px}.email-raw-content h2[data-v-c084ac8a]{margin:0;padding:0;font-size:1rem}.email-file-content[data-v-c084ac8a]{display:flex;gap:10px;flex-wrap:wrap;align-items:center}",
|
|
11471
11513
|
map: undefined,
|
|
11472
11514
|
media: undefined
|
|
11473
11515
|
});
|
|
11474
11516
|
};
|
|
11475
11517
|
/* scoped */
|
|
11476
|
-
const __vue_scope_id__ = "data-v-
|
|
11518
|
+
const __vue_scope_id__ = "data-v-c084ac8a";
|
|
11477
11519
|
/* module identifier */
|
|
11478
11520
|
const __vue_module_identifier__ = undefined;
|
|
11479
11521
|
/* functional template */
|