vue-intergrall-plugins 1.1.82 → 1.1.83

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.
@@ -21812,7 +21812,25 @@ var __vue_render__$1 = function __vue_render__() {
21812
21812
  attrs: {
21813
21813
  "icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset']
21814
21814
  }
21815
- })], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-custom-buttons\">", "</div>", [_vm.customButtons && _vm.customButtons.length ? _vm._l(_vm.customButtons, function (button, index) {
21815
+ })], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.status && _vm.status !== 'C' ? _c('span', {
21816
+ directives: [{
21817
+ name: "tippy",
21818
+ rawName: "v-tippy"
21819
+ }],
21820
+ staticClass: "email-status-badge email-status-enviado",
21821
+ attrs: {
21822
+ "content": "Enviado em: " + _vm.formattedDate
21823
+ }
21824
+ }, [_vm._ssrNode("\n Enviado\n ")], 2) : _vm.status === 'C' ? _c('span', {
21825
+ directives: [{
21826
+ name: "tippy",
21827
+ rawName: "v-tippy"
21828
+ }],
21829
+ staticClass: "email-status-badge email-status-nao-enviado",
21830
+ attrs: {
21831
+ "content": "Erro ao enviar em: " + _vm.formattedDate
21832
+ }
21833
+ }, [_vm._ssrNode("\n Não enviado\n ")]) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-custom-buttons\">", "</div>", [_vm.customButtons && _vm.customButtons.length ? _vm._l(_vm.customButtons, function (button, index) {
21816
21834
  return _c('span', {
21817
21835
  directives: [{
21818
21836
  name: "show",
@@ -21996,125 +22014,7 @@ var __vue_render__$1 = function __vue_render__() {
21996
22014
  attrs: {
21997
22015
  "icon": ['fas', 'paperclip']
21998
22016
  }
21999
- }), _vm._ssrNode(" <span class=\"clip-badge\">" + _vm._ssrEscape(_vm._s(_vm.filteredFiles.length)) + "</span>")], 2)]) : _vm._e(), _vm._ssrNode(" "), _c('transition', {
22000
- attrs: {
22001
- "name": "fade",
22002
- "mode": "out-in"
22003
- }
22004
- }, [_vm.status == 'D' ? _c('span', {
22005
- directives: [{
22006
- name: "tippy",
22007
- rawName: "v-tippy"
22008
- }],
22009
- key: "check-padrao",
22010
- staticClass: "check",
22011
- attrs: {
22012
- "content": _vm.contentTooltip
22013
- }
22014
- }, [_c('fa-icon', {
22015
- attrs: {
22016
- "icon": ['fas', 'check']
22017
- }
22018
- })], 1) : _vm.status == 'Q' ? _c('span', {
22019
- directives: [{
22020
- name: "tippy",
22021
- rawName: "v-tippy"
22022
- }],
22023
- key: "check-cinza",
22024
- staticClass: "check cinza",
22025
- attrs: {
22026
- "content": _vm.contentTooltip
22027
- }
22028
- }, [_c('fa-icon', {
22029
- attrs: {
22030
- "icon": ['fas', 'check']
22031
- }
22032
- })], 1) : _vm.status == 'G' ? _c('span', {
22033
- directives: [{
22034
- name: "tippy",
22035
- rawName: "v-tippy"
22036
- }],
22037
- key: "check-preto",
22038
- staticClass: "check preto",
22039
- attrs: {
22040
- "content": _vm.contentTooltip
22041
- }
22042
- }, [_c('fa-icon', {
22043
- attrs: {
22044
- "icon": ['fas', 'check']
22045
- }
22046
- })], 1) : _vm.status == 'E' ? _c('span', {
22047
- directives: [{
22048
- name: "tippy",
22049
- rawName: "v-tippy"
22050
- }],
22051
- key: "double-check-preto",
22052
- staticClass: "check preto",
22053
- attrs: {
22054
- "content": _vm.contentTooltip
22055
- }
22056
- }, [_c('fa-icon', {
22057
- attrs: {
22058
- "icon": ['fas', 'check-double']
22059
- }
22060
- })], 1) : _vm.status == 'L' ? _c('span', {
22061
- directives: [{
22062
- name: "tippy",
22063
- rawName: "v-tippy"
22064
- }],
22065
- key: "double-check-visualizado",
22066
- staticClass: "check visualizado",
22067
- attrs: {
22068
- "content": _vm.contentTooltip
22069
- }
22070
- }, [_c('fa-icon', {
22071
- attrs: {
22072
- "icon": ['fas', 'check-double']
22073
- }
22074
- })], 1) : _vm.status == 'C' || _vm.status == 'ERRO' ? _c('span', {
22075
- directives: [{
22076
- name: "tippy",
22077
- rawName: "v-tippy"
22078
- }],
22079
- key: "times-circle",
22080
- staticClass: "check vermelho",
22081
- attrs: {
22082
- "content": _vm.contentTooltip
22083
- }
22084
- }, [_c('fa-icon', {
22085
- attrs: {
22086
- "icon": ['fas', 'times-circle']
22087
- }
22088
- })], 1) : _vm.status == 'T' ? _c('span', {
22089
- directives: [{
22090
- name: "tippy",
22091
- rawName: "v-tippy"
22092
- }],
22093
- key: "hourglass",
22094
- staticClass: "check vermelho",
22095
- attrs: {
22096
- "content": _vm.contentTooltip
22097
- }
22098
- }, [_c('fa-icon', {
22099
- attrs: {
22100
- "icon": ['fas', 'hourglass']
22101
- }
22102
- })], 1) : _vm.status == 'O' ? _c('span', {
22103
- directives: [{
22104
- name: "tippy",
22105
- rawName: "v-tippy"
22106
- }],
22107
- key: "deleted",
22108
- staticClass: "check vermelho",
22109
- attrs: {
22110
- "content": _vm.contentTooltip
22111
- }
22112
- }, [_c('fa-icon', {
22113
- attrs: {
22114
- "icon": ['fas', 'times']
22115
- }
22116
- })], 1) : _vm._e()]), _vm._ssrNode(" "), _c('vue-html2pdf', {
22117
- key: _vm.htmlToPdfOptions.filename,
22017
+ }), _vm._ssrNode(" <span class=\"clip-badge\">" + _vm._ssrEscape(_vm._s(_vm.filteredFiles.length)) + "</span>")], 2)]) : _vm._e(), _vm._ssrNode(" "), _c('vue-html2pdf', {
22118
22018
  ref: "html2pdf",
22119
22019
  attrs: {
22120
22020
  "show-layout": false,
@@ -22161,7 +22061,7 @@ var __vue_inject_styles__$1 = undefined;
22161
22061
  /* scoped */
22162
22062
  var __vue_scope_id__$1 = undefined;
22163
22063
  /* module identifier */
22164
- var __vue_module_identifier__$1 = "data-v-7e2161d1";
22064
+ var __vue_module_identifier__$1 = "data-v-009c1d38";
22165
22065
  /* functional template */
22166
22066
  var __vue_is_functional_template__$1 = false;
22167
22067
  /* style inject */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "1.1.82",
3
+ "version": "1.1.83",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -11,6 +11,22 @@
11
11
  <fa-icon :icon="['fas', origem === 'outros' ? 'user' : 'headset']" class="email-to-svg" />
12
12
  </span>
13
13
  </div>
14
+ <span
15
+ v-if="status && status !== 'C'"
16
+ class="email-status-badge email-status-enviado"
17
+ v-tippy
18
+ :content="`Enviado em: ${formattedDate}`"
19
+ >
20
+ Enviado
21
+ </span>
22
+ <span
23
+ v-else-if="status === 'C'"
24
+ class="email-status-badge email-status-nao-enviado"
25
+ v-tippy
26
+ :content="`Erro ao enviar em: ${formattedDate}`"
27
+ >
28
+ Não enviado
29
+ </span>
14
30
  <div class="email-custom-buttons" @click.stop>
15
31
  <template v-if="customButtons && customButtons.length">
16
32
  <span v-for="(button, index) in customButtons" :key="button.id || index" v-show="button.use"
@@ -189,38 +205,6 @@
189
205
  </span>
190
206
  </div>
191
207
  <!-- Status da mensagem -->
192
- <transition name="fade" mode="out-in">
193
- <span class="check" v-if="status == 'D'" :content="contentTooltip" v-tippy key="check-padrao">
194
- <fa-icon :icon="['fas', 'check']" />
195
- </span>
196
- <span class="check cinza" v-else-if="status == 'Q'" :content="contentTooltip" v-tippy key="check-cinza">
197
- <fa-icon :icon="['fas', 'check']" />
198
- </span>
199
- <span class="check preto" v-else-if="status == 'G'" :content="contentTooltip" v-tippy key="check-preto">
200
- <fa-icon :icon="['fas', 'check']" />
201
- </span>
202
- <span class="check preto" v-else-if="status == 'E'" :content="contentTooltip" v-tippy key="double-check-preto">
203
- <fa-icon :icon="['fas', 'check-double']" />
204
- </span>
205
- <span class="check visualizado" v-else-if="status == 'L'" :content="contentTooltip" v-tippy
206
- key="double-check-visualizado">
207
- <fa-icon :icon="['fas', 'check-double']" />
208
- </span>
209
- <!-- Status finalizador -->
210
- <span class="check vermelho" v-else-if="status == 'C' || status == 'ERRO'" :content="contentTooltip" v-tippy
211
- key="times-circle">
212
- <fa-icon :icon="['fas', 'times-circle']" />
213
- </span>
214
- <!-- Status finalizador -->
215
- <span class="check vermelho" v-else-if="status == 'T'" :content="contentTooltip" v-tippy key="hourglass">
216
- <fa-icon :icon="['fas', 'hourglass']" />
217
- </span>
218
- <!-- Status finalizador -->
219
- <span class="check vermelho" v-else-if="status == 'O'" :content="contentTooltip" v-tippy key="deleted">
220
- <fa-icon :icon="['fas', 'times']" />
221
- </span>
222
- <!-- Status de mensagem deletada -->
223
- </transition>
224
208
  <vue-html2pdf
225
209
  :show-layout="false"
226
210
  :enable-download="true"
@@ -231,7 +215,6 @@
231
215
  ref="html2pdf"
232
216
  :manual-pagination="true"
233
217
  :html-to-pdf-options="htmlToPdfOptions"
234
- :key="htmlToPdfOptions.filename"
235
218
  >
236
219
  <section slot="pdf-content" id="conteudo-pdf">
237
220
  <div class="pdf-content">