vue-intergrall-plugins 1.0.32 → 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.
@@ -6842,6 +6842,17 @@ const textoLongo = {
6842
6842
  }
6843
6843
  return `${textoLongo}`;
6844
6844
  },
6845
+ replaceUnicodeWithEmoji(text) {
6846
+ if (!text || typeof text !== 'string') return '';
6847
+ return text.replace(/&?#(\d+);/g, (_, dec) => String.fromCodePoint(parseInt(dec, 10)));
6848
+ },
6849
+ htmlEntityToEmoji(message) {
6850
+ return message.replace(/&#x([\da-fA-F]+);/g, (match, p1) => {
6851
+ const codePoint = parseInt(p1, 16);
6852
+ const emoji = String.fromCodePoint(codePoint);
6853
+ return emoji;
6854
+ });
6855
+ },
6845
6856
  formataDataHora(dataHora, origem, cortarSegundos) {
6846
6857
  try {
6847
6858
  if (!dataHora) return "";
@@ -6868,8 +6879,8 @@ const textoLongo = {
6868
6879
  },
6869
6880
  formataDateHoraDateFns(dataHora, dataServer, dicionario) {
6870
6881
  if (!dataHora) return "";
6871
- if (dataHora == '1111-11-11 00:00:00') return '';
6872
- if (dataHora == '0000-00-00 00:00:00') return '';
6882
+ const invalids = ['1111-11-11 00:00:00', '0000-00-00 00:00:00', '0000-00-00', '1111-11-11', '00:00:00'];
6883
+ if (invalids.includes(dataHora)) return '';
6873
6884
  const daysOfWeek = ['dom.', 'seg.', 'ter.', 'qua.', 'qui.', 'sex.', dicionario.sabado_abrev];
6874
6885
  const monthsOfYear = ['jan.', 'fev.', 'mar.', 'abr.', 'mai.', 'jun.', 'jul.', 'ago.', 'set.', 'out.', 'nov.', 'dez.'];
6875
6886
  const date = new Date(dataHora);
@@ -6890,7 +6901,6 @@ const textoLongo = {
6890
6901
  return formattedDateString;
6891
6902
  };
6892
6903
  const now = dataServer ? new Date(getRawData()) : new Date();
6893
- if (!dataServer) console.warn('dataServer nao informado para verificar a data corretamente segundo o servidor, utilizando new Date padrao');
6894
6904
  const timeDifference = Math.abs(now - date);
6895
6905
  let distance;
6896
6906
  const seconds = Math.floor(timeDifference / 1000);
@@ -6910,7 +6920,7 @@ const textoLongo = {
6910
6920
  } else if (monthsDifference < 12) {
6911
6921
  distance = `${dicionario.ha_message} ${monthsDifference} ${monthsDifference > 1 ? 'meses' : dicionario.lower_text_month}`;
6912
6922
  } else {
6913
- distance = `${dicionario.ha_message} ${yearsDifference} ${yearsDifference === 1 ? 'ano' : 'anos'}`;
6923
+ distance = `${date.getFullYear()} ${dicionario.ha_message} ${yearsDifference} ${yearsDifference === 1 ? 'ano' : 'anos'}`;
6914
6924
  }
6915
6925
  return `${formattedDate} (${distance})`;
6916
6926
  }
@@ -10717,8 +10727,6 @@ var EmailFile = __vue_component__$4;
10717
10727
  //
10718
10728
  //
10719
10729
  //
10720
- //
10721
- //
10722
10730
 
10723
10731
  var script$2 = {
10724
10732
  props: {
@@ -10736,16 +10744,6 @@ var script$2 = {
10736
10744
  type: Boolean,
10737
10745
  required: false,
10738
10746
  default: true
10739
- },
10740
- isLastIndex: {
10741
- type: Boolean,
10742
- required: false,
10743
- default: false
10744
- }
10745
- },
10746
- computed: {
10747
- filteredName() {
10748
- return !this.isLastIndex ? `${this.currentName}, ` : this.currentName;
10749
10747
  }
10750
10748
  }
10751
10749
  };
@@ -10783,14 +10781,14 @@ var __vue_staticRenderFns__$2 = [];
10783
10781
  /* style */
10784
10782
  const __vue_inject_styles__$2 = function (inject) {
10785
10783
  if (!inject) return;
10786
- inject("data-v-2a43b9e7_0", {
10787
- source: ".email-to[data-v-2a43b9e7]{width:100%;flex:1;display:flex;align-items:center}.email-to .to[data-v-2a43b9e7]{margin:0}.email-to .additional[data-v-2a43b9e7],.email-to .to[data-v-2a43b9e7]{font-size:.7rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:gray}.email-to .additional[data-v-2a43b9e7]{margin-left:5px}",
10784
+ inject("data-v-9a3de606_0", {
10785
+ 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}",
10788
10786
  map: undefined,
10789
10787
  media: undefined
10790
10788
  });
10791
10789
  };
10792
10790
  /* scoped */
10793
- const __vue_scope_id__$2 = "data-v-2a43b9e7";
10791
+ const __vue_scope_id__$2 = "data-v-9a3de606";
10794
10792
  /* module identifier */
10795
10793
  const __vue_module_identifier__$2 = undefined;
10796
10794
  /* functional template */
@@ -10844,6 +10842,7 @@ var EmailTo = __vue_component__$3;
10844
10842
  //
10845
10843
  //
10846
10844
  //
10845
+ //
10847
10846
 
10848
10847
  var script$1 = {
10849
10848
  props: {
@@ -10861,16 +10860,6 @@ var script$1 = {
10861
10860
  type: Boolean,
10862
10861
  required: false,
10863
10862
  default: true
10864
- },
10865
- isLastIndex: {
10866
- type: Boolean,
10867
- required: false,
10868
- default: false
10869
- }
10870
- },
10871
- computed: {
10872
- filteredName() {
10873
- return !this.isLastIndex ? `${this.currentName}, ` : this.currentName;
10874
10863
  }
10875
10864
  }
10876
10865
  };
@@ -10901,7 +10890,7 @@ var __vue_render__$1 = function () {
10901
10890
  "title": _vm.mail
10902
10891
  },
10903
10892
  domProps: {
10904
- "textContent": _vm._s("<" + _vm.mail + ">")
10893
+ "textContent": _vm._s("" + _vm.mail)
10905
10894
  }
10906
10895
  })]) : _vm._e()]);
10907
10896
  };
@@ -10910,14 +10899,14 @@ var __vue_staticRenderFns__$1 = [];
10910
10899
  /* style */
10911
10900
  const __vue_inject_styles__$1 = function (inject) {
10912
10901
  if (!inject) return;
10913
- inject("data-v-116539b8_0", {
10914
- source: ".email-from[data-v-116539b8]{width:100%;flex:1;display:flex;align-items:center}.email-from .from[data-v-116539b8]{font-size:.75rem;font-weight:700;white-space:nowrap;margin:0}.email-from .additional-container[data-v-116539b8]{flex:1;overflow:hidden}.email-from .additional[data-v-116539b8]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-left:5px;font-size:.75rem;color:gray}",
10902
+ inject("data-v-ab361444_0", {
10903
+ 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}",
10915
10904
  map: undefined,
10916
10905
  media: undefined
10917
10906
  });
10918
10907
  };
10919
10908
  /* scoped */
10920
- const __vue_scope_id__$1 = "data-v-116539b8";
10909
+ const __vue_scope_id__$1 = "data-v-ab361444";
10921
10910
  /* module identifier */
10922
10911
  const __vue_module_identifier__$1 = undefined;
10923
10912
  /* functional template */
@@ -10954,77 +10943,110 @@ var script = {
10954
10943
  },
10955
10944
  from: {
10956
10945
  type: Array,
10957
- required: false,
10958
10946
  default: () => []
10959
10947
  },
10960
10948
  para: {
10961
10949
  type: Array,
10962
- required: false,
10963
10950
  default: () => []
10964
10951
  },
10965
10952
  html: {
10966
10953
  type: String,
10967
- required: false,
10968
10954
  default: ""
10969
10955
  },
10970
10956
  assunto: {
10971
10957
  type: String,
10972
- required: false,
10973
10958
  default: ""
10974
10959
  },
10975
10960
  dataHora: {
10976
10961
  type: String,
10977
- required: false,
10978
10962
  default: ""
10979
10963
  },
10980
10964
  mensagem: {
10981
10965
  type: String,
10982
- required: false,
10983
10966
  default: ""
10984
10967
  },
10985
10968
  anexos: {
10986
10969
  type: [Array, String],
10987
- required: false,
10988
- default: () => {
10989
- return [];
10990
- }
10970
+ default: () => []
10991
10971
  },
10992
10972
  iniciarAberto: {
10993
10973
  type: Boolean,
10994
- required: false,
10995
10974
  default: false
10996
10975
  },
10997
10976
  dataServer: {
10998
10977
  type: String,
10999
- required: false,
11000
10978
  default: ""
11001
10979
  },
11002
10980
  isOpenClass: {
11003
10981
  type: String,
11004
- required: false,
11005
10982
  default: 'bg-dark-white-2'
11006
10983
  },
11007
10984
  isClosedClass: {
11008
10985
  type: String,
11009
- required: false,
11010
10986
  default: 'bg-light-gray-2'
11011
10987
  },
11012
10988
  sanitizeOptions: {
11013
10989
  type: Object,
11014
- required: false,
11015
10990
  default: null
11016
10991
  }
11017
10992
  },
11018
10993
  data() {
11019
10994
  return {
11020
- isOpen: false,
10995
+ isOpen: this.iniciarAberto,
11021
10996
  openMessage: false,
11022
- actionsOpen: false
10997
+ actionsOpen: false,
10998
+ showInfos: false
11023
10999
  };
11024
11000
  },
11001
+ computed: {
11002
+ formattedDate() {
11003
+ return this.formataDateHoraDateFns(this.dataHora, this.dataServer, this.dicionario);
11004
+ },
11005
+ cleanHtml() {
11006
+ const defaultOptions = {
11007
+ allowedTags: ['a', 'b', 'br', 'div', 'i', 'p', 'span', 'strong', 'u', 'ul', 'ol', 'li', 'img', 'link'],
11008
+ allowedAttributes: {
11009
+ 'a': ['href'],
11010
+ 'img': ['src', 'width', 'height', 'alt'],
11011
+ 'link': ['rel', 'href'],
11012
+ '*': ['style']
11013
+ }
11014
+ };
11015
+ return this.$sanitize(this.html, this.sanitizeOptions || defaultOptions);
11016
+ },
11017
+ mailInfos() {
11018
+ const formatAsString = arr => {
11019
+ let str = '';
11020
+ arr.forEach(({
11021
+ name,
11022
+ mail
11023
+ }, index) => {
11024
+ str += `${name} <${mail}>${index !== arr.length - 1 ? ', ' : ''}`;
11025
+ });
11026
+ return str;
11027
+ };
11028
+ return [{
11029
+ label: 'De:',
11030
+ value: formatAsString(this.from)
11031
+ }, {
11032
+ label: 'Para:',
11033
+ value: formatAsString(this.para)
11034
+ }, {
11035
+ label: 'Assunto:',
11036
+ value: this.htmlEntityToEmoji(this.replaceUnicodeWithEmoji(this.assunto)) || '(Sem assunto)'
11037
+ }, {
11038
+ label: 'Data:',
11039
+ value: this.formataDataHora(this.dataHora)
11040
+ }];
11041
+ }
11042
+ },
11025
11043
  methods: {
11044
+ toggleShowInfos() {
11045
+ this.showInfos = !this.showInfos;
11046
+ },
11026
11047
  toggleIsOpen() {
11027
11048
  this.isOpen = !this.isOpen;
11049
+ if (!this.isOpen) this.actionsOpen = false;
11028
11050
  },
11029
11051
  toggleActions() {
11030
11052
  this.actionsOpen = !this.actionsOpen;
@@ -11032,17 +11054,17 @@ var script = {
11032
11054
  toggleOpenMessage() {
11033
11055
  this.openMessage = !this.openMessage;
11034
11056
  },
11035
- returnCleanHtml(html) {
11036
- const options = this.sanitizeOptions ? this.sanitizeOptions : {
11037
- allowedTags: ['a', 'b', 'br', 'div', 'i', 'p', 'span', 'strong', 'u', 'ul', 'ol', 'li', 'img', 'link'],
11038
- allowedAttributes: {
11039
- 'a': ['href'],
11040
- 'img': ['src', 'width', 'height', 'alt'],
11041
- 'link': ['rel', 'href'],
11042
- '*': ['style']
11043
- }
11044
- };
11045
- return this.$sanitize(html, options);
11057
+ closeActions() {
11058
+ this.actionsOpen = false;
11059
+ },
11060
+ formattedName(name, index, length, isOpen) {
11061
+ return `${name}${index !== length - 1 && !isOpen ? ', ' : ''}`;
11062
+ },
11063
+ formattedMail(mail, index, length, isOpen) {
11064
+ return `<${mail}${index !== length - 1 && isOpen ? '>, ' : '>'}`;
11065
+ },
11066
+ formattedToName(name, index, length) {
11067
+ return index === 0 ? `Para: ${name || ''}` : name ? `${name}${index !== length - 1 ? ', ' : ''}` : '';
11046
11068
  }
11047
11069
  }
11048
11070
  };
@@ -11056,14 +11078,11 @@ var __vue_render__ = function () {
11056
11078
  var _h = _vm.$createElement;
11057
11079
  var _c = _vm._self._c || _h;
11058
11080
  return _c('div', {
11059
- staticClass: "email-item box-shadow",
11060
- class: "" + (_vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass)
11081
+ class: ['email-item box-shadow', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass]
11061
11082
  }, [_c('div', {
11062
11083
  staticClass: "email-header",
11063
11084
  on: {
11064
- "click": function ($event) {
11065
- return _vm.toggleIsOpen();
11066
- }
11085
+ "click": _vm.toggleIsOpen
11067
11086
  }
11068
11087
  }, [_c('div', {
11069
11088
  staticClass: "email-header-content"
@@ -11072,88 +11091,117 @@ var __vue_render__ = function () {
11072
11091
  }, [_c('p', {
11073
11092
  staticClass: "email-subject",
11074
11093
  attrs: {
11075
- "title": _vm.assunto || '(Sem assunto)'
11076
- },
11077
- domProps: {
11078
- "textContent": _vm._s(_vm.tratarTextoLongo(_vm.assunto || '(Sem assunto)', 30))
11094
+ "title": _vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'
11079
11095
  }
11080
- }), _vm._v(" "), _vm.from && _vm.from.length ? _vm._l(_vm.from, function (ref, index) {
11081
- var name = ref.name;
11082
- var mail = ref.mail;
11096
+ }, [_vm._v("\n " + _vm._s(_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.tratarTextoLongo(_vm.assunto, 30))) || '(Sem assunto)') + "\n ")]), _vm._v(" "), _vm.from && _vm.from.length ? [_c('div', {
11097
+ staticClass: "email-to-from-container"
11098
+ }, _vm._l(_vm.from, function (sender, index) {
11083
11099
  return _c('EmailFrom', {
11084
11100
  key: "from-" + index,
11085
11101
  attrs: {
11086
- "currentName": name,
11087
- "mail": mail,
11088
- "showMail": _vm.from.length == 1,
11089
- "isLastIndex": index == _vm.from.length - 1
11102
+ "currentName": _vm.formattedName(sender.name, index, _vm.from.length, _vm.isOpen),
11103
+ "mail": _vm.formattedMail(sender.mail, index, _vm.from.length, _vm.isOpen),
11104
+ "showMail": _vm.isOpen
11090
11105
  }
11091
11106
  });
11092
- }) : _vm._e(), _vm._v(" "), _vm.para && _vm.para.length && _vm.isOpen ? _vm._l(_vm.para, function (ref, index) {
11093
- var name = ref.name;
11094
- var mail = ref.mail;
11107
+ }), 1)] : _vm._e(), _vm._v(" "), _vm.para && _vm.para.length && _vm.isOpen ? [_c('div', {
11108
+ staticClass: "email-to-from-container"
11109
+ }, [_vm._l(_vm.para, function (recipient, index) {
11095
11110
  return _c('EmailTo', {
11096
11111
  key: "to-" + index,
11097
11112
  attrs: {
11098
- "currentName": index == '0' ? "Para: " + (name ? name : '') : name ? name : '',
11099
- "mail": mail,
11100
- "showMail": _vm.para.length == 1,
11101
- "isLastIndex": index == _vm.para.length - 1
11113
+ "currentName": _vm.formattedToName(recipient.name, index, _vm.para.length),
11114
+ "mail": recipient.mail,
11115
+ "showMail": _vm.para.length === 1
11102
11116
  }
11103
11117
  });
11104
- }) : _vm._e()], 2)]), _vm._v(" "), _c('span', {
11118
+ }), _vm._v(" "), _c('div', {
11119
+ staticClass: "email-to-btn",
11120
+ on: {
11121
+ "click": function ($event) {
11122
+ $event.stopPropagation();
11123
+ return _vm.toggleShowInfos();
11124
+ }
11125
+ }
11126
+ }, [_c('fa-icon', {
11127
+ attrs: {
11128
+ "icon": ['fas', 'caret-down']
11129
+ }
11130
+ })], 1), _vm._v(" "), _vm.showInfos ? _c('ul', {
11131
+ directives: [{
11132
+ name: "clickaway",
11133
+ rawName: "v-clickaway",
11134
+ value: function () {
11135
+ return _vm.showInfos = false;
11136
+ },
11137
+ expression: "() => showInfos = false"
11138
+ }],
11139
+ staticClass: "email-to-infos box-shadow",
11140
+ on: {
11141
+ "click": function ($event) {
11142
+ $event.stopPropagation();
11143
+ }
11144
+ }
11145
+ }, _vm._l(_vm.mailInfos, function (info, index) {
11146
+ return _c('li', {
11147
+ key: "info-" + index,
11148
+ staticClass: "email-info"
11149
+ }, [_c('span', {
11150
+ domProps: {
11151
+ "textContent": _vm._s(info.label)
11152
+ }
11153
+ }), _vm._v("\n " + _vm._s(info.value) + "\n ")]);
11154
+ }), 0) : _vm._e()], 2)] : _vm._e()], 2)]), _vm._v(" "), _c('span', {
11105
11155
  staticClass: "email-date",
11106
11156
  attrs: {
11107
- "title": _vm.formataDateHoraDateFns(_vm.dataHora, _vm.dataServer, _vm.dicionario)
11157
+ "title": _vm.formattedDate
11108
11158
  }
11109
11159
  }, [_c('fa-icon', {
11110
11160
  attrs: {
11111
11161
  "icon": ['fas', 'calendar']
11112
11162
  }
11113
- }), _vm._v("\n " + _vm._s(_vm.formataDateHoraDateFns(_vm.dataHora, _vm.dataServer, _vm.dicionario)) + "\n ")], 1)]), _vm._v(" "), _c('transition', {
11114
- attrs: {
11115
- "name": "show-y-top"
11116
- }
11117
- }, [_vm.isOpen ? _c('div', {
11118
- staticClass: "email-content"
11119
- }, [_c('span', {
11120
- class: "email-actions box-shadow" + (_vm.actionsOpen ? ' active' : ''),
11163
+ }), _vm._v("\n " + _vm._s(_vm.formattedDate) + "\n ")], 1), _vm._v(" "), _vm.isOpen ? _c('span', {
11164
+ class: ['email-actions box-shadow', {
11165
+ active: _vm.actionsOpen
11166
+ }],
11121
11167
  on: {
11122
11168
  "click": function ($event) {
11123
- return _vm.toggleActions();
11169
+ $event.stopPropagation();
11170
+ return _vm.toggleActions.apply(null, arguments);
11124
11171
  }
11125
11172
  }
11126
- }, [_c('span'), _vm._v(" "), _c('span'), _vm._v(" "), _c('span')]), _vm._v(" "), _vm.actionsOpen ? _c('ul', {
11173
+ }, [_c('span'), _vm._v(" "), _c('span'), _vm._v(" "), _c('span')]) : _vm._e(), _vm._v(" "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
11127
11174
  directives: [{
11128
11175
  name: "clickaway",
11129
11176
  rawName: "v-clickaway",
11130
- value: function () {
11131
- return _vm.actionsOpen = false;
11132
- },
11133
- expression: "() => actionsOpen = false"
11177
+ value: _vm.closeActions,
11178
+ expression: "closeActions"
11134
11179
  }],
11135
- staticClass: "email-actions-list box-shadow"
11136
- }, [_c('li', {
11137
- staticClass: "email-action",
11138
- domProps: {
11139
- "textContent": _vm._s((!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail")
11140
- },
11180
+ staticClass: "email-actions-list box-shadow",
11141
11181
  on: {
11142
11182
  "click": function ($event) {
11143
- return _vm.toggleOpenMessage();
11183
+ $event.stopPropagation();
11144
11184
  }
11145
11185
  }
11146
- })]) : _vm._e(), _vm._v(" "), _c('section', {
11186
+ }, [_c('li', {
11187
+ staticClass: "email-action",
11188
+ on: {
11189
+ "click": _vm.toggleOpenMessage
11190
+ }
11191
+ }, [_vm._v("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ")])]) : _vm._e()]), _vm._v(" "), _c('transition', {
11192
+ attrs: {
11193
+ "name": "show-y-top"
11194
+ }
11195
+ }, [_vm.isOpen ? _c('div', {
11196
+ staticClass: "email-content"
11197
+ }, [_c('section', {
11147
11198
  staticClass: "email-html",
11148
11199
  domProps: {
11149
- "innerHTML": _vm._s(_vm.returnCleanHtml(_vm.html))
11200
+ "innerHTML": _vm._s(_vm.cleanHtml)
11150
11201
  }
11151
11202
  }), _vm._v(" "), _vm.openMessage ? _c('span', {
11152
- staticClass: "email-raw",
11153
- domProps: {
11154
- "textContent": _vm._s(_vm.mensagem)
11155
- }
11156
- }) : _vm._e()]) : _vm._e()]), _vm._v(" "), _vm.anexos && _vm.anexos.length ? _c('div', {
11203
+ staticClass: "email-raw"
11204
+ }, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()]) : _vm._e()]), _vm._v(" "), _vm.anexos && _vm.anexos.length ? _c('div', {
11157
11205
  staticClass: "email-files"
11158
11206
  }, _vm._l(_vm.anexos, function (anexo, index) {
11159
11207
  return _c('EmailFile', {
@@ -11170,18 +11218,18 @@ var __vue_staticRenderFns__ = [];
11170
11218
  /* style */
11171
11219
  const __vue_inject_styles__ = function (inject) {
11172
11220
  if (!inject) return;
11173
- inject("data-v-9a12e0d2_0", {
11174
- source: ".show-y-top-enter-active[data-v-9a12e0d2],.show-y-top-leave-enter[data-v-9a12e0d2]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-9a12e0d2],.show-y-top-leave-to[data-v-9a12e0d2]{opacity:0;transform:translateY(-2%)}",
11221
+ inject("data-v-ea72d2ae_0", {
11222
+ 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%)}",
11175
11223
  map: undefined,
11176
11224
  media: undefined
11177
- }), inject("data-v-9a12e0d2_1", {
11178
- source: ".bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-item{flex:1;margin:0 10px 10px;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}.email-header-content{display:flex;justify-content:center;align-items:center;margin:10px}.email-header-infos{display:flex;flex-direction:column}.email-subject{margin:0;font-weight:700;font-size:.9rem}.email-date{font-size:.8rem;margin-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.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:5px;cursor:pointer;align-items:center;justify-content:center;gap:3px;padding:10px 5px;background-color:#fff}.email-actions.active{background-color:#dfdfdf}.email-actions>span{width:7px;height:7px;background-color:#222;border-radius:50%}.email-actions-list{position:absolute;right:60px;width:250px;top:15px;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{max-width:100%;padding:10px}.email-raw{max-width:100%;font-size:.9rem;color:#222}.email-files{display:flex;gap:10px;flex-wrap:wrap;width:100%}",
11225
+ }), inject("data-v-ea72d2ae_1", {
11226
+ 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}",
11179
11227
  map: undefined,
11180
11228
  media: undefined
11181
11229
  });
11182
11230
  };
11183
11231
  /* scoped */
11184
- const __vue_scope_id__ = "data-v-9a12e0d2";
11232
+ const __vue_scope_id__ = "data-v-ea72d2ae";
11185
11233
  /* module identifier */
11186
11234
  const __vue_module_identifier__ = undefined;
11187
11235
  /* functional template */