vue-intergrall-plugins 1.0.81 → 1.0.82
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.
|
@@ -8596,11 +8596,11 @@ var __vue_render__$9 = function __vue_render__() {
|
|
|
8596
8596
|
var _c = _vm._self._c || _h;
|
|
8597
8597
|
return _c('div', {
|
|
8598
8598
|
staticClass: "interatividade"
|
|
8599
|
-
}, [_vm.interatividade.parameters && _vm.interatividade.parameters.button && _vm.interatividade.parameters.button.type === 'dynamicURL' ? _vm._ssrNode("<div class=\"interatividade-btn\">", "</div>", [_vm._ssrNode("<a" + _vm._ssrAttr("href", _vm.interatividade.parameters.button.text) + " target=\"_blank\" rel=\"noreferrer noopener\" class=\"interatividade-link\">", "</a>", [_vm._ssrNode("\n Acessar "), _c('fa-icon', {
|
|
8599
|
+
}, [_vm.interatividade.parameters && _vm.interatividade.parameters.button && _vm.interatividade.parameters.button.type === 'dynamicURL' || _vm.interatividade.parameters.button.type === 'staticURL' ? _vm._ssrNode("<div class=\"interatividade-btn\">", "</div>", [_vm._ssrNode("<a" + _vm._ssrAttr("href", _vm.interatividade.parameters.button.text) + " target=\"_blank\" rel=\"noreferrer noopener\" class=\"interatividade-link\">", "</a>", [_vm._ssrNode("\n Acessar "), _c('fa-icon', {
|
|
8600
8600
|
attrs: {
|
|
8601
8601
|
"icon": ['fas', 'external-link-square-alt']
|
|
8602
8602
|
}
|
|
8603
|
-
})], 2)]) : _vm._e(), _vm._ssrNode(" "), _c('transition', {
|
|
8603
|
+
})], 2)]) : _vm.interatividade.parameters && _vm.interatividade.parameters.button && _vm.interatividade.parameters.button.type === 'phoneNumber' ? _vm._ssrNode("<div class=\"interatividade-btn\"><p" + _vm._ssrAttr("title", _vm.interatividade.parameters.button.text + " (" + _vm.interatividade.parameters.button.phoneNumber + ")") + " class=\"interatividade-titulo\">" + _vm._ssrEscape(_vm._s(_vm.interatividade.parameters.button.text + " (" + _vm.interatividade.parameters.button.phoneNumber + ")")) + "</p></div>") : _vm.interatividade.parameters && _vm.interatividade.parameters.button && _vm.interatividade.parameters.button.type === 'quickReply' ? _vm._ssrNode("<div class=\"interatividade-btn\"><p" + _vm._ssrAttr("title", "" + _vm.interatividade.parameters.button.text) + " class=\"interatividade-titulo\">" + _vm._ssrEscape(_vm._s("" + _vm.interatividade.parameters.button.text)) + "</p></div>") : _vm._e(), _vm._ssrNode(" "), _c('transition', {
|
|
8604
8604
|
attrs: {
|
|
8605
8605
|
"name": "show-x"
|
|
8606
8606
|
}
|
|
@@ -8623,7 +8623,7 @@ var __vue_staticRenderFns__$9 = [];
|
|
|
8623
8623
|
/* style */
|
|
8624
8624
|
var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
|
|
8625
8625
|
if (!inject) return;
|
|
8626
|
-
inject("data-v-
|
|
8626
|
+
inject("data-v-23bb5782_0", {
|
|
8627
8627
|
source: ".interatividade-btn{width:100%;display:flex;justify-content:center;align-items:center;background-color:#fff;color:#111b21;padding:10px 12px;border-radius:5px;margin-bottom:10px}.interatividade-link{color:#0c5c8f!important;text-decoration:none;display:flex;align-items:center;justify-content:center;width:100%;gap:5px}.interatividade-btn:nth-child(1){margin-top:10px}.interatividade-titulo{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;margin:0;padding:0}.interatividade-lista{width:100%;min-width:200px;border-radius:15px;background-color:#fff;color:#333;margin:10px 0}.interatividade-lista-conteudo{padding:10px;border-bottom:1px solid #d7d7d7}.interatividade-lista-titulo{font-weight:700;font-size:1.2em;margin-bottom:10px}.interatividade-lista-rodape{color:#818181;margin-top:5px}.interatividade-lista-link{width:100%;text-align:center;padding:10px;color:#006eff;cursor:pointer;transition:color .2s ease-in-out}.interatividade-lista-link:hover{color:#00628f}",
|
|
8628
8628
|
map: undefined,
|
|
8629
8629
|
media: undefined
|
|
@@ -8632,7 +8632,7 @@ var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
|
|
|
8632
8632
|
/* scoped */
|
|
8633
8633
|
var __vue_scope_id__$9 = undefined;
|
|
8634
8634
|
/* module identifier */
|
|
8635
|
-
var __vue_module_identifier__$9 = "data-v-
|
|
8635
|
+
var __vue_module_identifier__$9 = "data-v-23bb5782";
|
|
8636
8636
|
/* functional template */
|
|
8637
8637
|
var __vue_is_functional_template__$9 = false;
|
|
8638
8638
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -1,15 +1,33 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="interatividade">
|
|
3
3
|
<div v-if="
|
|
4
|
-
interatividade.parameters &&
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
(interatividade.parameters &&
|
|
5
|
+
interatividade.parameters.button &&
|
|
6
|
+
interatividade.parameters.button.type === 'dynamicURL') ||
|
|
7
|
+
interatividade.parameters.button.type === 'staticURL'
|
|
7
8
|
" class="interatividade-btn">
|
|
8
9
|
<a :href="interatividade.parameters.button.text" target="_blank" rel="noreferrer noopener"
|
|
9
10
|
class="interatividade-link">
|
|
10
11
|
Acessar <fa-icon :icon="['fas', 'external-link-square-alt']" />
|
|
11
12
|
</a>
|
|
12
13
|
</div>
|
|
14
|
+
<div v-else-if="
|
|
15
|
+
interatividade.parameters &&
|
|
16
|
+
interatividade.parameters.button &&
|
|
17
|
+
interatividade.parameters.button.type === 'phoneNumber'
|
|
18
|
+
" class="interatividade-btn">
|
|
19
|
+
<p class="interatividade-titulo"
|
|
20
|
+
:title="`${interatividade.parameters.button.text} (${interatividade.parameters.button.phoneNumber})`" v-text="`${interatividade.parameters.button.text} (${interatividade.parameters.button.phoneNumber})`
|
|
21
|
+
"></p>
|
|
22
|
+
</div>
|
|
23
|
+
<div v-else-if="
|
|
24
|
+
interatividade.parameters &&
|
|
25
|
+
interatividade.parameters.button &&
|
|
26
|
+
interatividade.parameters.button.type === 'quickReply'
|
|
27
|
+
" class="interatividade-btn">
|
|
28
|
+
<p class="interatividade-titulo" :title="`${interatividade.parameters.button.text}`"
|
|
29
|
+
v-text="`${interatividade.parameters.button.text}`"></p>
|
|
30
|
+
</div>
|
|
13
31
|
<transition name="show-x">
|
|
14
32
|
<InteratividadePopup v-if="listaEstaAberta" :lista="listaExpandida" :titulo="objItens.list.title"
|
|
15
33
|
@close="listaEstaAberta = false" />
|