vue-intergrall-plugins 0.0.200 → 0.0.203
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 = `/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
|