vue-intergrall-plugins 0.0.256 → 0.0.258
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.
|
@@ -9435,6 +9435,11 @@ var script$h = {
|
|
|
9435
9435
|
dictionary: {
|
|
9436
9436
|
type: Object,
|
|
9437
9437
|
required: true
|
|
9438
|
+
},
|
|
9439
|
+
selectInitial: {
|
|
9440
|
+
type: Boolean,
|
|
9441
|
+
required: false,
|
|
9442
|
+
default: true
|
|
9438
9443
|
}
|
|
9439
9444
|
},
|
|
9440
9445
|
data: function data() {
|
|
@@ -9446,7 +9451,7 @@ var script$h = {
|
|
|
9446
9451
|
},
|
|
9447
9452
|
mounted: function mounted() {
|
|
9448
9453
|
this.setTemplateOptions();
|
|
9449
|
-
this.selectIfIsUnique();
|
|
9454
|
+
if (this.selectInitial) this.selectIfIsUnique();
|
|
9450
9455
|
this.selectIfHasContact24h();
|
|
9451
9456
|
},
|
|
9452
9457
|
methods: {
|
|
@@ -9672,7 +9677,7 @@ var __vue_staticRenderFns__$h = [];
|
|
|
9672
9677
|
|
|
9673
9678
|
var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
|
|
9674
9679
|
if (!inject) return;
|
|
9675
|
-
inject("data-v-
|
|
9680
|
+
inject("data-v-37a18a28_0", {
|
|
9676
9681
|
source: "*{box-sizing:border-box}.toasted svg{margin-right:10px}.d-none{display:none}ul{list-style-type:none}h1,h2,h3,h4,p{margin:0;padding:0}.tg-container{width:100%;max-width:800px;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}.tg-options{width:100%;display:flex}.tg-options.column{flex-direction:column}.tg-options h4{margin-right:5px}.tg-select{flex:1;height:34px;overflow:hidden}.tg-select .vs__dropdown-toggle{background-color:#fff;height:34px;overflow:hidden;display:flex;align-items:center}.tg-select .vs__selected-options{height:34px;overflow:hidden}.tg-select .vs__selected-options>span{white-space:nowrap;text-overflow:ellipsis;flex:1}.tg-select .vs__selected-options>input{flex-grow:0}.vs__dropdown-option.vs__dropdown-option--selected{background-color:#1a5fad!important;color:#fff}.vs__dropdown-menu li{padding:10px 15px}.vs__dropdown-option{transition:background-color 150ms;white-space:normal}.vs__dropdown-option:nth-child(odd){background-color:#f1f1f1}.vs__dropdown-option--highlight,.vs__dropdown-option--selected,.vs__dropdown-option:active,.vs__dropdown-option:focus,.vs__dropdown-option:hover{background-color:#5897fb!important;color:#fff}.tg-component{width:100%}.ts-container{width:100%;display:flex;justify-content:space-between}.ts-content{--border-color:#CCC;--background-color:#DFF0D8;--input-background-color:#FFF;--input-border-default:#007BFF;--input-border-error:#E74C3C;--placeholder-color:#BBB;flex:2;font-size:.7rem;padding:10px 0}.ts-content footer,.ts-content header,.ts-content section{padding:3px 5px;background-color:var(--background-color)}.ts-content header,.ts-content section{border-right:1px solid var(--border-color);border-left:1px solid var(--border-color)}.ts-content header{border-top-left-radius:2.5px;border-top-right-radius:2.5px;border-top:1px solid var(--border-color)}.ts-content header{font-weight:550}.ts-content section{line-height:25px}.ts-content section.margin-bottom{border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px;border-bottom:1px solid var(--border-color)}.ts-content footer{border:1px solid var(--border-color);border-top:unset;border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px}.ts-content input{border:1px solid transparent;outline:0;font-size:.8rem;padding:2.5px 5px;background-color:var(--input-background-color)}.ts-content input::placeholder{color:var(--placeholder-color)}.ts-content input.active,.ts-content input:focus{border:1px solid var(--input-border-default)}.ts-content input.invalid{border:1px solid var(--input-border-error)!important}.ts-content__var{display:inline-block;position:relative}.ts-dropdown{margin:0;padding:0;position:absolute;top:19px;left:0;background:#eee;width:100%;z-index:1;transition:all 150ms;visibility:hidden;opacity:0;list-style-type:none;border:1px solid #444;border-top:unset}.ts-dropdown li{width:100%;opacity:.9;cursor:pointer;font-weight:550;padding:2px 3px;font-size:.8rem;transition:background-color 150ms}.ts-dropdown li:focus,.ts-dropdown li:focus-within,.ts-dropdown li:hover{opacity:1;background-color:#555;color:#fff}.ts-dropdown.visible{visibility:visible;opacity:1}.tg-btn{width:40%;display:flex;justify-content:center;align-items:center}.tg-btn button{border:unset;display:block;min-width:180px;height:35px;padding:0 10px;font-weight:500;background-color:#007bff;color:#fff;transition:transform .3s ease-in-out;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px}.tg-btn button>svg{margin-right:5px;color:#003166}.tg-btn button:hover{opacity:1}.tg-btn button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.tg-btn button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.tg-btn button:active,.tg-btn button:focus{outline:2px solid #000}.tg-btn.small-btn{width:auto;margin:0 5px}.tg-btn.small-btn svg{margin-right:0}.tg-btn.small-btn button{min-width:35px;width:35px;padding:0;display:flex;justify-content:center;align-items:center}.tm-container{border:1px solid var(--border-color);border-radius:2.5px;display:flex}",
|
|
9677
9682
|
map: undefined,
|
|
9678
9683
|
media: undefined
|
|
@@ -9684,7 +9689,7 @@ var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
|
|
|
9684
9689
|
var __vue_scope_id__$h = undefined;
|
|
9685
9690
|
/* module identifier */
|
|
9686
9691
|
|
|
9687
|
-
var __vue_module_identifier__$h = "data-v-
|
|
9692
|
+
var __vue_module_identifier__$h = "data-v-37a18a28";
|
|
9688
9693
|
/* functional template */
|
|
9689
9694
|
|
|
9690
9695
|
var __vue_is_functional_template__$h = false;
|
|
@@ -12076,7 +12081,7 @@ var script$5 = {
|
|
|
12076
12081
|
methods: {
|
|
12077
12082
|
validateInterativity: function validateInterativity() {
|
|
12078
12083
|
try {
|
|
12079
|
-
if (this.interatividade.formulario && this.interatividade.formulario.length) {
|
|
12084
|
+
if (this.interatividade && this.interatividade.formulario && this.interatividade.formulario.length || this.interatividade.list && this.interatividade.list.items) {
|
|
12080
12085
|
return true;
|
|
12081
12086
|
}
|
|
12082
12087
|
|
|
@@ -12503,7 +12508,7 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
12503
12508
|
|
|
12504
12509
|
var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
12505
12510
|
if (!inject) return;
|
|
12506
|
-
inject("data-v-
|
|
12511
|
+
inject("data-v-766ae7a5_0", {
|
|
12507
12512
|
source: ":root{--message-color:#373737;--text-color:#FFF;--files-bg:rgba(255, 255, 255, 0.1);--files-bg-hover:rgba(255, 255, 255, 0.1);--light:80;--threshold:60}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:14px 7px;border-radius:5px;min-width:150px;min-height:60px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;max-width:80%;margin-bottom:10px;font-size:.75rem;word-break:break-word;-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)}.mensagem.max-w-60{max-width:60%}.mensagem.mapa{width:100%}.mensagem.hist-msg{animation:show 1s}.mensagem a{margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.message p{white-space:pre-wrap}.mensagem-anexo a,.mensagem-div-mapa a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reply{cursor:pointer;position:absolute;right:53px;bottom:5px;font-size:.6rem;color:#67a332;width:.9rem;height:.9rem;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.reply svg{margin-top:-1px;margin-right:-1px}.reply-with-2-icons{right:30px}.check{cursor:pointer;position:absolute;right:10px;bottom:2px;font-size:.7rem}.check.visualizado,.check.visualizado svg{color:#006daa}.check.verde,.check.verde svg{color:#4f772d}.check.vermelho,.check.vermelho svg{color:#ba181b}.check.cinza,.check.cinza svg{color:#999}.check.preto,.check.preto svg{color:#666}.star{cursor:pointer;position:absolute;right:30px;bottom:2px;font-size:.4rem;width:11.2px}.default-stick-size{width:180px;height:auto}.horario-envio{margin-right:15px;font-size:.7rem;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:.6rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.mensagem__principal{width:100%;display:flex;justify-content:flex-end}.mensagem__principal>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--message-color);bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:var(--message-color);color:var(--text-color)}.mensagem__principal>.mensagem .horario-envio{color:var(--text-color)}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:var(--text-color)}.mensagem__outros{width:100%;display:flex}.mensagem__outros>.mensagem{background-color:#fff;color:#333}.mensagem__outros>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #fff;bottom:5px;left:-10px;transform:rotate(90deg)}.mensagem__outros>.autor-mensagem{left:5px;color:#333}.mensagem-div-mapa{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:5px}.msg-mapa{width:100%;min-height:225px;height:100%;box-sizing:initial}.msg-mapa img{max-width:none!important}.info-mapa{list-style-type:none}.info-mapa li.title{font-size:.85em}.info-mapa li.address,.info-mapa li.url{font-size:.85em}.info-mapa li.url{font-size:.85em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}",
|
|
12508
12513
|
map: undefined,
|
|
12509
12514
|
media: undefined
|
|
@@ -12515,7 +12520,7 @@ var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
|
12515
12520
|
var __vue_scope_id__$5 = undefined;
|
|
12516
12521
|
/* module identifier */
|
|
12517
12522
|
|
|
12518
|
-
var __vue_module_identifier__$5 = "data-v-
|
|
12523
|
+
var __vue_module_identifier__$5 = "data-v-766ae7a5";
|
|
12519
12524
|
/* functional template */
|
|
12520
12525
|
|
|
12521
12526
|
var __vue_is_functional_template__$5 = false;
|
package/package.json
CHANGED
|
@@ -158,7 +158,7 @@ export default {
|
|
|
158
158
|
methods: {
|
|
159
159
|
validateInterativity(){
|
|
160
160
|
try {
|
|
161
|
-
if(this.interatividade.formulario && this.interatividade.formulario.length){
|
|
161
|
+
if(this.interatividade && (this.interatividade.formulario && this.interatividade.formulario.length) || (this.interatividade.list && this.interatividade.list.items)){
|
|
162
162
|
return true;
|
|
163
163
|
}
|
|
164
164
|
return false;
|
|
@@ -73,6 +73,11 @@
|
|
|
73
73
|
dictionary: {
|
|
74
74
|
type: Object,
|
|
75
75
|
required: true
|
|
76
|
+
},
|
|
77
|
+
selectInitial: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
required: false,
|
|
80
|
+
default: true
|
|
76
81
|
}
|
|
77
82
|
},
|
|
78
83
|
data() {
|
|
@@ -84,7 +89,7 @@
|
|
|
84
89
|
},
|
|
85
90
|
mounted() {
|
|
86
91
|
this.setTemplateOptions()
|
|
87
|
-
this.selectIfIsUnique()
|
|
92
|
+
if(this.selectInitial) this.selectIfIsUnique()
|
|
88
93
|
this.selectIfHasContact24h()
|
|
89
94
|
},
|
|
90
95
|
methods: {
|