vue-intergrall-plugins 1.1.2 → 1.1.3

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.
@@ -635,7 +635,7 @@ export default {
635
635
  }
636
636
 
637
637
  .email-author.main {
638
- font-size: 1.025rem;
638
+ font-size: 16.4px;
639
639
  }
640
640
 
641
641
  .email-item.principal {
@@ -678,13 +678,13 @@ export default {
678
678
 
679
679
  .email-subject {
680
680
  margin: 5px 0 0 0;
681
- font-size: 1.025rem;
681
+ font-size: 16.4px;
682
682
  cursor: pointer;
683
683
  }
684
684
 
685
685
  .email-date {
686
686
  --width: 245px;
687
- font-size: .8rem;
687
+ font-size: 12.8px;
688
688
  text-overflow: ellipsis;
689
689
  white-space: nowrap;
690
690
  overflow: hidden;
@@ -763,7 +763,7 @@ export default {
763
763
  padding: 5px 10px;
764
764
  cursor: pointer;
765
765
  transition: background-color 150ms ease-in-out;
766
- font-size: .9rem;
766
+ font-size: 14.4px;
767
767
  user-select: none;
768
768
  }
769
769
 
@@ -793,7 +793,7 @@ export default {
793
793
  width: 100%;
794
794
  max-width: 100%;
795
795
  padding: 15px;
796
- font-size: .9rem;
796
+ font-size: 14.4px;
797
797
  color: #222;
798
798
  }
799
799
 
@@ -825,7 +825,7 @@ export default {
825
825
 
826
826
  .email-to-btn {
827
827
  padding: 0 5px;
828
- font-size: .9rem;
828
+ font-size: 14.4px;
829
829
  cursor: pointer;
830
830
  color: #666;
831
831
  }
@@ -850,11 +850,11 @@ export default {
850
850
 
851
851
  .email-info {
852
852
  width: 100%;
853
- font-size: .8rem;
853
+ font-size: 12.8px;
854
854
  }
855
855
 
856
856
  .email-info>span {
857
- font-size: .75rem;
857
+ font-size: 12px;
858
858
  color: gray;
859
859
  margin-right: 3px;
860
860
  }
@@ -863,7 +863,7 @@ export default {
863
863
  display: flex;
864
864
  align-items: center;
865
865
  height: 5px;
866
- font-size: .75rem;
866
+ font-size: 12px;
867
867
  font-weight: bold;
868
868
  transform: translateY(-2px);
869
869
  width: 100%;
@@ -875,12 +875,12 @@ export default {
875
875
  }
876
876
 
877
877
  .email-subject-span {
878
- font-size: .7rem;
878
+ font-size: 11.2px;
879
879
  color: gray;
880
880
  }
881
881
 
882
882
  .email-to-svg {
883
- font-size: .85rem;
883
+ font-size: 13.6px;
884
884
  }
885
885
 
886
886
  .email-custom-buttons {
@@ -890,7 +890,7 @@ export default {
890
890
  top: 5px;
891
891
  right: 5px;
892
892
  z-index: 1;
893
- font-size: .8rem;
893
+ font-size: 12.8px;
894
894
  }
895
895
 
896
896
  .menu-mensagem {
@@ -17,7 +17,7 @@
17
17
 
18
18
  .email-to .to,
19
19
  .email-to .additional {
20
- font-size: .7rem;
20
+ font-size: 11.2px;
21
21
  text-overflow: ellipsis;
22
22
  white-space: nowrap;
23
23
  overflow: hidden;
@@ -401,7 +401,7 @@ export default {
401
401
  }
402
402
 
403
403
  .alert svg {
404
- font-size: 1.025em;
404
+ font-size: 16.4px;
405
405
  margin-right: 2px;
406
406
  }
407
407
 
@@ -648,7 +648,7 @@ svg {
648
648
  flex-direction: column;
649
649
  margin-top: 10px;
650
650
  margin-bottom: 5px;
651
- font-size: 0.9em;
651
+ font-size: 14.4px;
652
652
  }
653
653
 
654
654
  .card-interatividade-title {
@@ -659,7 +659,7 @@ svg {
659
659
  .card-interatividade-list {
660
660
  margin: 0;
661
661
  padding: 0;
662
- font-size: 0.9em;
662
+ font-size: 14.4px;
663
663
  }
664
664
 
665
665
  .card-interatividade-list hr {
@@ -290,8 +290,8 @@ export default {
290
290
 
291
291
  if (this.tipo_origem) {
292
292
  tooltipStar += `${this.dictionary["tipo_origem"]}: ${this.dictionary[`tipo_origem_${this.tipo_origem}`]
293
- ? this.dictionary[`tipo_origem_${this.tipo_origem}`]
294
- : this.tipo_origem
293
+ ? this.dictionary[`tipo_origem_${this.tipo_origem}`]
294
+ : this.tipo_origem
295
295
  }<br/>`;
296
296
  }
297
297
 
@@ -956,16 +956,16 @@ export default {
956
956
  }
957
957
 
958
958
  .info-mapa li.title {
959
- font-size: 0.85em;
959
+ font-size: 13.6px;
960
960
  }
961
961
 
962
962
  .info-mapa li.address,
963
963
  .info-mapa li.url {
964
- font-size: 0.85em;
964
+ font-size: 13.6px;
965
965
  }
966
966
 
967
967
  .info-mapa li.url {
968
- font-size: 0.85em;
968
+ font-size: 13.6px;
969
969
  }
970
970
 
971
971
  .tooltip-list {
@@ -999,7 +999,7 @@ export default {
999
999
  }
1000
1000
 
1001
1001
  .mensagem .reaction {
1002
- $size: 1.8em;
1002
+ $size: 28.8px;
1003
1003
  width: $size;
1004
1004
  height: $size;
1005
1005
  min-width: $size;
@@ -1027,11 +1027,11 @@ export default {
1027
1027
  align-items: center;
1028
1028
  background-color: rgba(100, 100, 100, 0.4);
1029
1029
  padding: 5px;
1030
- font-size: 1.3em;
1031
- min-width: 1.8em;
1032
- min-height: 1.8em;
1033
- max-width: 1.8em;
1034
- max-height: 1.8em;
1030
+ font-size: 20.8px;
1031
+ min-width: 28.8px;
1032
+ min-height: 28.8px;
1033
+ max-width: 28.8px;
1034
+ max-height: 28.8px;
1035
1035
  }
1036
1036
 
1037
1037
  .reaction>span {
@@ -1,26 +1,14 @@
1
1
  <template>
2
2
  <div class="interatividade">
3
- <div
4
- v-if="
5
- interatividade &&
6
- interatividade.parameters &&
7
- interatividade.parameters.button &&
8
- interatividade.parameters.button.length
9
- "
10
- >
11
- <div
12
- v-for="(button, index) in interatividade.parameters.button"
13
- :key="index"
14
- class="interatividade-btn"
15
- >
3
+ <div v-if="
4
+ interatividade &&
5
+ interatividade.parameters &&
6
+ interatividade.parameters.button &&
7
+ interatividade.parameters.button.length
8
+ ">
9
+ <div v-for="(button, index) in interatividade.parameters.button" :key="index" class="interatividade-btn">
16
10
  <p v-if="!button.url" v-html="button.text" class="interatividade-titulo"></p>
17
- <a
18
- v-else
19
- :href="button.url"
20
- target="_blank"
21
- rel="noreferrer noopener"
22
- class="interatividade-link"
23
- >
11
+ <a v-else :href="button.url" target="_blank" rel="noreferrer noopener" class="interatividade-link">
24
12
  <p v-html="button.text" class="interatividade-titulo"></p>
25
13
  <fa-icon :icon="['fas', 'external-link-square-alt']" />
26
14
  </a>
@@ -28,107 +16,60 @@
28
16
  </div>
29
17
 
30
18
  <!-- Tudo aqui abaixo TEORICAMENTE e antigo e nao devera mais cair nas situacoes -->
31
- <div
32
- v-if="
33
- interatividade &&
34
- interatividade.parameters &&
35
- interatividade.parameters.button &&
36
- (interatividade.parameters.button.type === 'dynamicURL' ||
37
- interatividade.parameters.button.type === 'staticURL')
38
- "
39
- class="interatividade-btn"
40
- >
41
- <a
42
- :href="interatividade.parameters.button.text"
43
- target="_blank"
44
- rel="noreferrer noopener"
45
- class="interatividade-link"
46
- >
19
+ <div v-if="
20
+ interatividade &&
21
+ interatividade.parameters &&
22
+ interatividade.parameters.button &&
23
+ (interatividade.parameters.button.type === 'dynamicURL' ||
24
+ interatividade.parameters.button.type === 'staticURL')
25
+ " class="interatividade-btn">
26
+ <a :href="interatividade.parameters.button.text" target="_blank" rel="noreferrer noopener"
27
+ class="interatividade-link">
47
28
  Acessar <fa-icon :icon="['fas', 'external-link-square-alt']" />
48
29
  </a>
49
30
  </div>
50
- <div
51
- v-if="
52
- interatividade &&
53
- interatividade.parameters &&
54
- interatividade.parameters.button &&
55
- interatividade.parameters.button.type === 'phoneNumber'
56
- "
57
- class="interatividade-btn"
58
- >
59
- <p
60
- class="interatividade-titulo"
61
- :title="`${interatividade.parameters.button.text} (${interatividade.parameters.button.phoneNumber})`"
62
- v-text="
63
- `${interatividade.parameters.button.text} (${interatividade.parameters.button.phoneNumber})`
64
- "
65
- ></p>
31
+ <div v-if="
32
+ interatividade &&
33
+ interatividade.parameters &&
34
+ interatividade.parameters.button &&
35
+ interatividade.parameters.button.type === 'phoneNumber'
36
+ " class="interatividade-btn">
37
+ <p class="interatividade-titulo"
38
+ :title="`${interatividade.parameters.button.text} (${interatividade.parameters.button.phoneNumber})`" v-text="`${interatividade.parameters.button.text} (${interatividade.parameters.button.phoneNumber})`
39
+ "></p>
66
40
  </div>
67
- <div
68
- v-if="
69
- interatividade &&
70
- interatividade.parameters &&
71
- interatividade.parameters.button &&
72
- interatividade.parameters.button.type === 'quickReply'
73
- "
74
- class="interatividade-btn"
75
- >
76
- <p
77
- class="interatividade-titulo"
78
- :title="`${interatividade.parameters.button.text}`"
79
- v-text="`${interatividade.parameters.button.text}`"
80
- ></p>
41
+ <div v-if="
42
+ interatividade &&
43
+ interatividade.parameters &&
44
+ interatividade.parameters.button &&
45
+ interatividade.parameters.button.type === 'quickReply'
46
+ " class="interatividade-btn">
47
+ <p class="interatividade-titulo" :title="`${interatividade.parameters.button.text}`"
48
+ v-text="`${interatividade.parameters.button.text}`"></p>
81
49
  </div>
82
50
  <transition name="show-x">
83
- <InteratividadePopup
84
- v-if="listaEstaAberta"
85
- :lista="listaExpandida"
86
- :titulo="objItens.list.title"
87
- @close="listaEstaAberta = false"
88
- />
51
+ <InteratividadePopup v-if="listaEstaAberta" :lista="listaExpandida" :titulo="objItens.list.title"
52
+ @close="listaEstaAberta = false" />
89
53
  </transition>
90
54
  <template v-if="arrBotoes.length">
91
- <div
92
- v-for="(btn, index) in arrBotoes"
93
- :key="index"
94
- :title="btn.titulo"
95
- class="interatividade-btn"
96
- >
55
+ <div v-for="(btn, index) in arrBotoes" :key="index" :title="btn.titulo" class="interatividade-btn">
97
56
  <p v-html="btn.titulo" class="interatividade-titulo"></p>
98
57
  </div>
99
58
  </template>
100
59
  <template v-else-if="Object.keys(objItens).length">
101
- <div
102
- class="interatividade-lista"
103
- :class="tipoBotoes == 'listItem' ? 'bg-none' : ''"
104
- >
105
- <div
106
- class="interatividade-lista-conteudo"
107
- :class="tipoBotoes == 'listItem' ? 'border-bottom-none padding-none' : ''"
108
- >
109
- <p
110
- v-if="objItens.header && objItens.header.text"
111
- v-html="objItens.header.text"
112
- class="interatividade-lista-titulo"
113
- ></p>
114
- <p
115
- v-if="objItens.body && objItens.body.text"
116
- v-html="objItens.body.text"
117
- class="interatividade-lista-corpo"
118
- ></p>
119
- <p
120
- v-if="objItens.footer && objItens.footer.text"
121
- v-html="objItens.footer.text"
122
- class="interatividade-lista-rodape"
123
- ></p>
60
+ <div class="interatividade-lista" :class="tipoBotoes == 'listItem' ? 'bg-none' : ''">
61
+ <div class="interatividade-lista-conteudo"
62
+ :class="tipoBotoes == 'listItem' ? 'border-bottom-none padding-none' : ''">
63
+ <p v-if="objItens.header && objItens.header.text" v-html="objItens.header.text"
64
+ class="interatividade-lista-titulo"></p>
65
+ <p v-if="objItens.body && objItens.body.text" v-html="objItens.body.text" class="interatividade-lista-corpo">
66
+ </p>
67
+ <p v-if="objItens.footer && objItens.footer.text" v-html="objItens.footer.text"
68
+ class="interatividade-lista-rodape"></p>
124
69
  </div>
125
- <p
126
- v-if="objItens.list && objItens.list.title"
127
- v-html="objItens.list.title"
128
- @click="expandirLista"
129
- :class="tipoBotoes == 'listItem' ? 'bg-white border-radius-5 mt-5' : ''"
130
- class="interatividade-lista-link"
131
- ></p>
70
+ <p v-if="objItens.list && objItens.list.title" v-html="objItens.list.title" @click="expandirLista"
71
+ :class="tipoBotoes == 'listItem' ? 'bg-white border-radius-5 mt-5' : ''" class="interatividade-lista-link">
72
+ </p>
132
73
  </div>
133
74
  </template>
134
75
  </div>
@@ -234,7 +175,7 @@ export default {
234
175
 
235
176
  .interatividade-lista-titulo {
236
177
  font-weight: bold;
237
- font-size: 1.2em;
178
+ font-size: 19.2px;
238
179
  margin-bottom: 10px;
239
180
  }
240
181
 
@@ -71,7 +71,7 @@ export default {
71
71
  padding: 4px 10px;
72
72
  background-color: #333;
73
73
  color: #fff;
74
- font-size: 1.2em;
74
+ font-size: 19.2px;
75
75
  display: flex;
76
76
  justify-content: space-between;
77
77
  align-items: center;
@@ -80,7 +80,7 @@ export default {
80
80
  .interatividade-popup-titulo h1 svg {
81
81
  color: #e74c3c;
82
82
  cursor: pointer;
83
- font-size: 0.9em;
83
+ font-size: 14.4px;
84
84
  }
85
85
 
86
86
  .interatividade-popup-item {
@@ -89,7 +89,7 @@ export default {
89
89
  }
90
90
 
91
91
  .interatividade-popup-item-desc {
92
- font-size: 0.9em;
92
+ font-size: 14.4px;
93
93
  color: #767676;
94
94
  }
95
95
  </style>
@@ -137,7 +137,7 @@ export default {
137
137
 
138
138
  .link-preview-author {
139
139
  margin: 5px;
140
- font-size: 0.615em;
140
+ font-size: 9.84px;
141
141
  font-weight: bold;
142
142
  }
143
143
 
@@ -162,7 +162,7 @@ export default {
162
162
  background-color: #2626261a;
163
163
  padding: 5px;
164
164
  margin: 5px;
165
- font-size: 0.83em;
165
+ font-size: 13.28px;
166
166
  border-radius: 5px;
167
167
  }
168
168
 
@@ -51,7 +51,7 @@
51
51
  @click="triggerInputFile(`header-${pIndex}`)" v-tippy="{ placement: 'right' }" :content="headerFiles[0].name
52
52
  " />
53
53
  </template>
54
- <fa-icon v-else class="select-image" :icon="['fas', 'video']" style="font-size: 1.2rem"
54
+ <fa-icon v-else class="select-image" :icon="['fas', 'video']" style="font-size: 19.2px"
55
55
  @click="triggerInputFile(`header-${pIndex}`)" v-tippy="{ placement: 'right' }"
56
56
  :content="`Selecionar anexo`" />
57
57
  </div>