vue-intergrall-plugins 1.0.47 → 1.0.49

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.
@@ -10677,15 +10677,23 @@ var __vue_render__$4 = function () {
10677
10677
  attrs: {
10678
10678
  "icon": ['fas', 'download']
10679
10679
  }
10680
- })], 1)])], 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-2f08d676_0", {
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;margin-right:5px}.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}",
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
  });
@@ -11003,7 +11011,7 @@ var script$1 = {
11003
11011
  },
11004
11012
  isClosedClass: {
11005
11013
  type: String,
11006
- default: 'bg-light-gray-2'
11014
+ default: 'bg-white'
11007
11015
  },
11008
11016
  refKey: {
11009
11017
  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,10 @@ 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
+ return '';
11137
11160
  }
11138
11161
  }
11139
11162
  };
@@ -11147,10 +11170,19 @@ var __vue_render__$1 = function () {
11147
11170
  var _h = _vm.$createElement;
11148
11171
  var _c = _vm._self._c || _h;
11149
11172
  return _c('div', {
11150
- class: ['email-item box-shadow', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass, _vm.showInfos ? 'info-open' : '']
11173
+ class: ['email-item box-shadow-active', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass, _vm.showInfos ? 'info-open' : '', _vm.origem]
11151
11174
  }, [_vm.showInfos ? _c('div', {
11152
11175
  staticClass: "email-overlay"
11153
- }) : _vm._e(), _vm._v(" "), _c('div', {
11176
+ }) : _vm._e(), _vm._v(" "), _vm.autor ? _c('div', {
11177
+ staticClass: "email-author",
11178
+ class: [_vm.origem]
11179
+ }, [_c('fa-icon', {
11180
+ class: [_vm.origem],
11181
+ attrs: {
11182
+ "icon": ['fas', 'reply'],
11183
+ "title": "Enviado por: " + _vm.autor
11184
+ }
11185
+ })], 1) : _vm._e(), _vm._v(" "), _c('div', {
11154
11186
  staticClass: "email-header",
11155
11187
  on: {
11156
11188
  "click": _vm.toggleIsOpen
@@ -11158,9 +11190,9 @@ var __vue_render__$1 = function () {
11158
11190
  }, [_c('p', {
11159
11191
  staticClass: "email-subject",
11160
11192
  attrs: {
11161
- "title": _vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'
11193
+ "title": _vm.returnMainValue()
11162
11194
  }
11163
- }, [_vm._v("\n " + _vm._s(_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)') + "\n ")]), _vm._v(" "), _c('div', {
11195
+ }, [_vm._v("\n " + _vm._s(_vm.returnMainValue()) + "\n ")]), _vm._v(" "), _c('div', {
11164
11196
  staticClass: "header-container"
11165
11197
  }, [_c('div', {
11166
11198
  staticClass: "email-header-content"
@@ -11201,7 +11233,14 @@ var __vue_render__$1 = function () {
11201
11233
  attrs: {
11202
11234
  "icon": ['fas', 'caret-down']
11203
11235
  }
11204
- })], 1)], 2)] : _vm._e()], 2)]), _vm._v(" "), _c('span', {
11236
+ })], 1)], 2)] : _vm._e(), _vm._v(" "), !_vm.isMainEmail && _vm.isOpen ? _c('div', {
11237
+ staticClass: "email-subject-secondary"
11238
+ }, [_c('span', {
11239
+ staticClass: "email-subject-span",
11240
+ domProps: {
11241
+ "textContent": _vm._s("Assunto: " + (_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'))
11242
+ }
11243
+ })]) : _vm._e()], 2)]), _vm._v(" "), _c('span', {
11205
11244
  ref: "emailDate",
11206
11245
  class: "email-date " + (_vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass),
11207
11246
  attrs: {
@@ -11292,18 +11331,18 @@ var __vue_staticRenderFns__$1 = [];
11292
11331
  /* style */
11293
11332
  const __vue_inject_styles__$1 = function (inject) {
11294
11333
  if (!inject) return;
11295
- inject("data-v-c9d10e90_0", {
11296
- source: ".show-y-top-enter-active[data-v-c9d10e90],.show-y-top-leave-enter[data-v-c9d10e90]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-c9d10e90],.show-y-top-leave-to[data-v-c9d10e90]{opacity:0;transform:translateY(-2%)}",
11334
+ inject("data-v-4cace530_0", {
11335
+ source: ".show-y-top-enter-active[data-v-4cace530],.show-y-top-leave-enter[data-v-4cace530]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-4cace530],.show-y-top-leave-to[data-v-4cace530]{opacity:0;transform:translateY(-2%)}",
11297
11336
  map: undefined,
11298
11337
  media: undefined
11299
- }), inject("data-v-c9d10e90_1", {
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:10px;max-width:100%;min-width:250px;overflow:hidden;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:-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-left:5px}",
11338
+ }), inject("data-v-4cace530_1", {
11339
+ 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-white{background-color:#fff}.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-left:3px solid #33b8df}.email-author.outros{color:#33b8df}.email-author.principal{color:#5e6364;transform:rotateY(180deg)}.email-item.principal{border-right:3px solid #5e6364}.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);display:flex;justify-content:flex-end;gap:3px;align-items:center}.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-subject-secondary{margin-top:-5px}.email-subject-span{font-size:.7rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:gray}",
11301
11340
  map: undefined,
11302
11341
  media: undefined
11303
11342
  });
11304
11343
  };
11305
11344
  /* scoped */
11306
- const __vue_scope_id__$1 = "data-v-c9d10e90";
11345
+ const __vue_scope_id__$1 = "data-v-4cace530";
11307
11346
  /* module identifier */
11308
11347
  const __vue_module_identifier__$1 = undefined;
11309
11348
  /* functional template */
@@ -11381,7 +11420,7 @@ var script = {
11381
11420
  return `<${mail}${index !== length - 1 && isOpen ? '>, ' : '>'}`;
11382
11421
  },
11383
11422
  formattedToName(name, index, length) {
11384
- return index === 0 ? `Para: ${name || ''}` : name ? `${name}${index !== length - 1 ? ', ' : ''}` : '';
11423
+ return index === 0 ? `${name || ''}` : name ? `${name}${index !== length - 1 ? ', ' : ''}` : '';
11385
11424
  }
11386
11425
  }
11387
11426
  };
@@ -11466,14 +11505,14 @@ var __vue_staticRenderFns__ = [];
11466
11505
  /* style */
11467
11506
  const __vue_inject_styles__ = function (inject) {
11468
11507
  if (!inject) return;
11469
- inject("data-v-d5e631be_0", {
11470
- source: ".sc-icone-fechar[data-v-d5e631be]{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-d5e631be]{top:5px;right:5px}.email-blocker[data-v-d5e631be]{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-d5e631be]{width:90%;height:90%;max-width:90%;max-height:90%;overflow:hidden auto;position:relative;background-color:#fff;color:#222}.email-title[data-v-d5e631be]{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-d5e631be]{padding:0;margin:0 10px 10px;font-size:.95rem;border-collapse:collapse}.email-content-table td[data-v-d5e631be],.email-content-table th[data-v-d5e631be]{border:solid thin #e0e0e0}.email-content-table th[data-v-d5e631be]{min-width:100px;text-align:left;vertical-align:text-top;padding:12px 20px;font-weight:400;border-right:unset}.email-divisor[data-v-d5e631be]{margin-top:15px;margin-bottom:10px;height:1px;width:100%;background:#e0e0e0;border:unset}.email-content-table td[data-v-d5e631be]{padding:8px;border-left:unset}.email-raw-content[data-v-d5e631be]{display:flex;flex-direction:column;gap:10px;padding:0 15px 15px}.email-raw-content h2[data-v-d5e631be]{margin:0;padding:0;font-size:1rem}.email-file-content[data-v-d5e631be]{display:flex;gap:10px;flex-wrap:wrap;align-items:center}",
11508
+ inject("data-v-50a9c914_0", {
11509
+ source: ".sc-icone-fechar[data-v-50a9c914]{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-50a9c914]{top:5px;right:5px}.email-blocker[data-v-50a9c914]{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-50a9c914]{width:90%;height:90%;max-width:90%;max-height:90%;overflow:hidden auto;position:relative;background-color:#fff;color:#222}.email-title[data-v-50a9c914]{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-50a9c914]{padding:0;margin:0 10px 10px;font-size:.95rem;border-collapse:collapse;width:calc(100% - 20px)}.email-content-table td[data-v-50a9c914],.email-content-table th[data-v-50a9c914]{border:solid thin #e0e0e0}.email-content-table th[data-v-50a9c914]{min-width:100px;text-align:left;vertical-align:text-top;padding:12px 20px;font-weight:400;border-right:unset}.email-divisor[data-v-50a9c914]{margin-top:15px;margin-bottom:10px;height:1px;width:100%;background:#e0e0e0;border:unset}.email-content-table td[data-v-50a9c914]{padding:8px;border-left:unset}.email-raw-content[data-v-50a9c914]{display:flex;flex-direction:column;gap:10px;padding:0 15px 15px}.email-raw-content h2[data-v-50a9c914]{margin:0;padding:0;font-size:1rem}.email-file-content[data-v-50a9c914]{display:flex;gap:10px;flex-wrap:wrap;align-items:center}",
11471
11510
  map: undefined,
11472
11511
  media: undefined
11473
11512
  });
11474
11513
  };
11475
11514
  /* scoped */
11476
- const __vue_scope_id__ = "data-v-d5e631be";
11515
+ const __vue_scope_id__ = "data-v-50a9c914";
11477
11516
  /* module identifier */
11478
11517
  const __vue_module_identifier__ = undefined;
11479
11518
  /* functional template */