vue-intergrall-plugins 0.0.199 → 0.0.202
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.
|
@@ -8269,7 +8269,10 @@ axios_1.default = _default;
|
|
|
8269
8269
|
var axios = axios_1;
|
|
8270
8270
|
|
|
8271
8271
|
vue.prototype.$httpRequest = axios;
|
|
8272
|
-
const
|
|
8272
|
+
const domain = window.location.hostname == 'localhost' ? `https://linux07` : `https://${window.location.hostname}` + "/im";
|
|
8273
|
+
const route = `/im/smartChannel/v1/api.php`; // const route = `atdHumano/middleware/smartchannel_api.php`
|
|
8274
|
+
|
|
8275
|
+
const baseURL = `${domain}${route}`;
|
|
8273
8276
|
const dev = window.location.hostname == 'localhost' ? '&teste=levchat2' : '';
|
|
8274
8277
|
|
|
8275
8278
|
const standardMessages = {
|
|
@@ -8279,7 +8282,7 @@ const standardMessages = {
|
|
|
8279
8282
|
return this.$httpRequest({
|
|
8280
8283
|
method: 'get',
|
|
8281
8284
|
url: `${baseURL}/messages/${type}?token_cliente=${token}${dev}` // headers: {
|
|
8282
|
-
// Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
|
|
8285
|
+
// Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdGQiOiJNS1UzakpwZmViWkc1Y1M4dm9rRnBOdFY2WEYxaTh0ZllLWEkzV0ljRTd0M0dxeSIsIm1hbmFnZXIiOiJNS1VxQnBrRlIzQk5ING02Q2J3d2ltNGw1d3dJd3d4YjQ0YXd3aFk1VXd3aW00bDV3d2szSWZJV2RGc2dFRjhjdEhoOVB2eCIsImhhc19pbmZvcyI6dHJ1ZSwibnJvcyI6WyIyOCJdLCJhdXRoIjoiTUtVYXNtV3NNSnpZdmV2R2VQYTRubkZqdHRWR3gxODl6RnRWNDVtVUdFN1JlazAiLCJpYXQiOjE2NDg2NTkwNjQsImV4cCI6MTY0ODc0NTQ2NH0.vdwahP7qSwLJ8qYdQsG-ydL1Y-tzf6Frt0rnd9fYpIU"
|
|
8283
8286
|
// }
|
|
8284
8287
|
|
|
8285
8288
|
}).then(response => {
|
|
@@ -8402,6 +8405,7 @@ var script$i = {
|
|
|
8402
8405
|
this.$toasted.global.defaultError();
|
|
8403
8406
|
}).catch(e => {
|
|
8404
8407
|
this.loadingReq = false;
|
|
8408
|
+
this.$toasted.global.defaultError();
|
|
8405
8409
|
console.error("Error in getStandardMessages: ", e);
|
|
8406
8410
|
});
|
|
8407
8411
|
} catch (e) {
|
|
@@ -8635,7 +8639,7 @@ var __vue_staticRenderFns__$i = [];
|
|
|
8635
8639
|
|
|
8636
8640
|
const __vue_inject_styles__$i = function (inject) {
|
|
8637
8641
|
if (!inject) return;
|
|
8638
|
-
inject("data-v-
|
|
8642
|
+
inject("data-v-d7521b32_0", {
|
|
8639
8643
|
source: ".transition-selects{min-height:80px;display:flex;flex-direction:column;width:100%}.loader-select{position:relative;min-height:35px;background:#fff;width:100%;border:1px solid #ccc;border-radius:5px;z-index:1}.loading-message{background-color:#555!important}",
|
|
8640
8644
|
map: undefined,
|
|
8641
8645
|
media: undefined
|
|
@@ -11884,7 +11888,11 @@ var script$6 = {
|
|
|
11884
11888
|
},
|
|
11885
11889
|
|
|
11886
11890
|
validarAnexo() {
|
|
11887
|
-
let status = true;
|
|
11891
|
+
let status = true; //caso for audio ou documento ignorar
|
|
11892
|
+
|
|
11893
|
+
if (this.anexo.docAnexo || this.anexo.audio) {
|
|
11894
|
+
return true;
|
|
11895
|
+
}
|
|
11888
11896
|
|
|
11889
11897
|
if (!this.anexo.name) {
|
|
11890
11898
|
this.imgMsgErro = this.dictionary.img_com_erro_nome;
|
|
@@ -12076,8 +12084,8 @@ var __vue_staticRenderFns__$6 = [];
|
|
|
12076
12084
|
|
|
12077
12085
|
const __vue_inject_styles__$6 = function (inject) {
|
|
12078
12086
|
if (!inject) return;
|
|
12079
|
-
inject("data-v-
|
|
12080
|
-
source: ".fade-enter-active[data-v-
|
|
12087
|
+
inject("data-v-19808158_0", {
|
|
12088
|
+
source: ".fade-enter-active[data-v-19808158],.fade-leave-active[data-v-19808158]{transition:opacity .5s}.fade-enter[data-v-19808158],.fade-leave-to[data-v-19808158]{opacity:0}.mensagem-div-anexo[data-v-19808158]{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container[data-v-19808158]{width:100%;margin-top:5px}.anexo-container .arquivo-erro[data-v-19808158],.anexo-container a[data-v-19808158]{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container .arquivo-erro[data-v-19808158],.anexo-container p[data-v-19808158]{margin:0;margin-left:15px;font-size:.9rem}.anexo-container svg[data-v-19808158]{font-size:2rem}.anexo-container audio[data-v-19808158]{outline:0;width:100%}.anexo-container video[data-v-19808158]{width:100%;max-width:350px;cursor:pointer}.anexos-links-container[data-v-19808158]{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a[data-v-19808158]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.anexos-links-container svg[data-v-19808158]{cursor:pointer}.mensagem-div-anexo img[data-v-19808158]{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition[data-v-19808158]{width:100%;height:100%}.anexo-mensagem[data-v-19808158]{display:flex;justify-content:center;align-items:center;flex-direction:column}.alert-danger[data-v-19808158]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert[data-v-19808158]{position:relative;padding:.65rem 1.2rem;margin:5px 0;border:1px solid transparent;border-radius:.25rem;text-align:center}.alert svg[data-v-19808158]{font-size:1.025em;margin-right:2px}",
|
|
12081
12089
|
map: undefined,
|
|
12082
12090
|
media: undefined
|
|
12083
12091
|
});
|
|
@@ -12085,7 +12093,7 @@ const __vue_inject_styles__$6 = function (inject) {
|
|
|
12085
12093
|
/* scoped */
|
|
12086
12094
|
|
|
12087
12095
|
|
|
12088
|
-
const __vue_scope_id__$6 = "data-v-
|
|
12096
|
+
const __vue_scope_id__$6 = "data-v-19808158";
|
|
12089
12097
|
/* module identifier */
|
|
12090
12098
|
|
|
12091
12099
|
const __vue_module_identifier__$6 = undefined;
|