vue-intergrall-plugins 0.0.255 → 0.0.257
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.
|
@@ -4073,10 +4073,10 @@ var script$p = {
|
|
|
4073
4073
|
});
|
|
4074
4074
|
}
|
|
4075
4075
|
|
|
4076
|
-
if (sizeInMb >=
|
|
4076
|
+
if (sizeInMb >= 15) {
|
|
4077
4077
|
this.file = [];
|
|
4078
4078
|
return this.$toasted.global.defaultInfo({
|
|
4079
|
-
msg: `Limite de
|
|
4079
|
+
msg: `Limite de 15 MB por arquivo`
|
|
4080
4080
|
});
|
|
4081
4081
|
}
|
|
4082
4082
|
|
|
@@ -4466,7 +4466,7 @@ var __vue_staticRenderFns__$p = [];
|
|
|
4466
4466
|
|
|
4467
4467
|
const __vue_inject_styles__$p = function (inject) {
|
|
4468
4468
|
if (!inject) return;
|
|
4469
|
-
inject("data-v-
|
|
4469
|
+
inject("data-v-0a2392ca_0", {
|
|
4470
4470
|
source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:.5rem;width:15px;height:15px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .3s;color:#fff;font-weight:900}.files-counter:hover{opacity:1}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:.8rem}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
|
|
4471
4471
|
map: undefined,
|
|
4472
4472
|
media: undefined
|
|
@@ -10080,6 +10080,11 @@ var script$h = {
|
|
|
10080
10080
|
dictionary: {
|
|
10081
10081
|
type: Object,
|
|
10082
10082
|
required: true
|
|
10083
|
+
},
|
|
10084
|
+
selectInitial: {
|
|
10085
|
+
type: Boolean,
|
|
10086
|
+
required: false,
|
|
10087
|
+
default: true
|
|
10083
10088
|
}
|
|
10084
10089
|
},
|
|
10085
10090
|
|
|
@@ -10093,7 +10098,7 @@ var script$h = {
|
|
|
10093
10098
|
|
|
10094
10099
|
mounted() {
|
|
10095
10100
|
this.setTemplateOptions();
|
|
10096
|
-
this.selectIfIsUnique();
|
|
10101
|
+
if (this.selectInitial) this.selectIfIsUnique();
|
|
10097
10102
|
this.selectIfHasContact24h();
|
|
10098
10103
|
},
|
|
10099
10104
|
|
|
@@ -10336,7 +10341,7 @@ var __vue_staticRenderFns__$h = [];
|
|
|
10336
10341
|
|
|
10337
10342
|
const __vue_inject_styles__$h = function (inject) {
|
|
10338
10343
|
if (!inject) return;
|
|
10339
|
-
inject("data-v-
|
|
10344
|
+
inject("data-v-37a18a28_0", {
|
|
10340
10345
|
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}",
|
|
10341
10346
|
map: undefined,
|
|
10342
10347
|
media: undefined
|
|
@@ -10851,15 +10856,21 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10851
10856
|
mku,
|
|
10852
10857
|
name
|
|
10853
10858
|
} = anexos;
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10859
|
+
let ignoreMku = false;
|
|
10860
|
+
|
|
10861
|
+
if (!type || !mku || !name) {
|
|
10862
|
+
if (anexos.anexo) {
|
|
10863
|
+
ignoreMku = true;
|
|
10864
|
+
imgAnexo = anexos.imgAnexo ? anexos.imgAnexo : '';
|
|
10865
|
+
tipoDoc = anexos.tipoDoc ? anexos.tipoDoc : '';
|
|
10866
|
+
docAnexo = anexos.docAnexo ? anexos.docAnexo : '';
|
|
10867
|
+
nomeArquivo = anexos.nomeArquivo ? anexos.nomeArquivo : '';
|
|
10868
|
+
audio = anexos.audio ? anexos.audio : false;
|
|
10869
|
+
} else {
|
|
10870
|
+
return anexos;
|
|
10871
|
+
}
|
|
10872
|
+
}
|
|
10873
|
+
|
|
10863
10874
|
let tipoAnexo = regexAnexos.exec(type);
|
|
10864
10875
|
tipoAnexo = !tipoAnexo ? type : tipoAnexo[1];
|
|
10865
10876
|
if (type === "application/octet-stream") audio = true;
|
|
@@ -10869,8 +10880,11 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10869
10880
|
case "jpg":
|
|
10870
10881
|
case "png":
|
|
10871
10882
|
case "jpeg":
|
|
10872
|
-
|
|
10873
|
-
|
|
10883
|
+
if (!ignoreMku) {
|
|
10884
|
+
imgAnexo = `${dominio}/callcenter/docs.php?mku=${mku}`;
|
|
10885
|
+
nomeArquivo = name;
|
|
10886
|
+
}
|
|
10887
|
+
|
|
10874
10888
|
break;
|
|
10875
10889
|
|
|
10876
10890
|
case "audio/ogg":
|
|
@@ -10891,8 +10905,11 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10891
10905
|
tipoDoc = `audio/mpeg`;
|
|
10892
10906
|
}
|
|
10893
10907
|
|
|
10894
|
-
|
|
10895
|
-
|
|
10908
|
+
if (!ignoreMku) {
|
|
10909
|
+
docAnexo = `${dominio}/callcenter/docs.php?mku=${mku}`;
|
|
10910
|
+
nomeArquivo = name;
|
|
10911
|
+
}
|
|
10912
|
+
|
|
10896
10913
|
audio = true;
|
|
10897
10914
|
break;
|
|
10898
10915
|
|
|
@@ -10907,15 +10924,22 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10907
10924
|
tipoDoc = "video/webm";
|
|
10908
10925
|
}
|
|
10909
10926
|
|
|
10910
|
-
|
|
10911
|
-
|
|
10927
|
+
if (!ignoreMku) {
|
|
10928
|
+
docAnexo = `${dominio}/callcenter/docs.php?mku=${mku}`;
|
|
10929
|
+
nomeArquivo = name;
|
|
10930
|
+
}
|
|
10931
|
+
|
|
10912
10932
|
video = true;
|
|
10913
10933
|
break;
|
|
10914
10934
|
|
|
10915
10935
|
default:
|
|
10916
10936
|
tipoDoc = type;
|
|
10917
|
-
|
|
10918
|
-
|
|
10937
|
+
|
|
10938
|
+
if (!ignoreMku) {
|
|
10939
|
+
docAnexo = `${dominio}/callcenter/docs.php?mku=${mku}`;
|
|
10940
|
+
nomeArquivo = name;
|
|
10941
|
+
}
|
|
10942
|
+
|
|
10919
10943
|
break;
|
|
10920
10944
|
}
|
|
10921
10945
|
|