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.
@@ -7779,7 +7779,10 @@ var axios_1 = axios$1;
7779
7779
  // Allow use of default import syntax in TypeScript
7780
7780
  var _default = axios$1;
7781
7781
  axios_1.default = _default;var axios = axios_1;vue__default["default"].prototype.$httpRequest = axios;
7782
- var baseURL = window.location.hostname == 'localhost' ? "https://linux07/im/atdHumano/middleware/smartchannel_api.php" : "https://".concat(window.location.hostname, "/im/atdHumano/middleware/smartchannel_api.php");
7782
+ var domain = window.location.hostname == 'localhost' ? "https://linux07" : "https://".concat(window.location.hostname) + "/im";
7783
+ var route = "/smartChannel/v1/api.php"; // const route = `atdHumano/middleware/smartchannel_api.php`
7784
+
7785
+ var baseURL = "".concat(domain).concat(route);
7783
7786
  var dev = window.location.hostname == 'localhost' ? '&teste=levchat2' : '';var standardMessages = {
7784
7787
  methods: {
7785
7788
  getStandardMessages: function getStandardMessages(type, token) {
@@ -7794,7 +7797,7 @@ var dev = window.location.hostname == 'localhost' ? '&teste=levchat2' : '';var s
7794
7797
  return _context.abrupt("return", _this.$httpRequest({
7795
7798
  method: 'get',
7796
7799
  url: "".concat(baseURL, "/messages/").concat(type, "?token_cliente=").concat(token).concat(dev) // headers: {
7797
- // Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdGQiOiJNS1U5azQ3c2h2bGpOak9Db3dNMjJoMW94d3d4YjQ0YXd3allrbG1JVFNpMmV0aDI5ZTVIRXZNIiwibWFuYWdlciI6Ik1LVWVUQWlxWXBNTmk0M054bDVIeDM4aDdOOTNFQW9qUkN3d2ltNGw1d3dJbDdPdWpSTlV6V0ciLCJoYXNfaW5mb3MiOnRydWUsIm5yb3MiOlsiMjY3Il0sImF1dGgiOiJNS1VBbTNPaWhaaWJlQVRPQ2xaRnBYYUhFN3d3eGI0NGF3d1N1S1VwNG9lN3haTXRNcUJ1aVdIIiwiaWF0IjoxNjQ4MjE1NjE3LCJleHAiOjE2NDgzMDIwMTd9.EJZTSTac_SLgq9NFnLOctf-J06u3GY1L9ZTV_1zSQ7A"
7800
+ // Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdGQiOiJNS1UzakpwZmViWkc1Y1M4dm9rRnBOdFY2WEYxaTh0ZllLWEkzV0ljRTd0M0dxeSIsIm1hbmFnZXIiOiJNS1VxQnBrRlIzQk5ING02Q2J3d2ltNGw1d3dJd3d4YjQ0YXd3aFk1VXd3aW00bDV3d2szSWZJV2RGc2dFRjhjdEhoOVB2eCIsImhhc19pbmZvcyI6dHJ1ZSwibnJvcyI6WyIyOCJdLCJhdXRoIjoiTUtVYXNtV3NNSnpZdmV2R2VQYTRubkZqdHRWR3gxODl6RnRWNDVtVUdFN1JlazAiLCJpYXQiOjE2NDg2NTkwNjQsImV4cCI6MTY0ODc0NTQ2NH0.vdwahP7qSwLJ8qYdQsG-ydL1Y-tzf6Frt0rnd9fYpIU"
7798
7801
  // }
7799
7802
 
7800
7803
  }).then(function (response) {
@@ -7921,6 +7924,9 @@ var script$i = {
7921
7924
  _this.$toasted.global.defaultError();
7922
7925
  }).catch(function (e) {
7923
7926
  _this.loadingReq = false;
7927
+
7928
+ _this.$toasted.global.defaultError();
7929
+
7924
7930
  console.error("Error in getStandardMessages: ", e);
7925
7931
  });
7926
7932
  } catch (e) {
@@ -8144,7 +8150,7 @@ var __vue_staticRenderFns__$i = [];
8144
8150
 
8145
8151
  var __vue_inject_styles__$i = function __vue_inject_styles__(inject) {
8146
8152
  if (!inject) return;
8147
- inject("data-v-d5920a7e_0", {
8153
+ inject("data-v-d7521b32_0", {
8148
8154
  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}",
8149
8155
  map: undefined,
8150
8156
  media: undefined
@@ -8156,7 +8162,7 @@ var __vue_inject_styles__$i = function __vue_inject_styles__(inject) {
8156
8162
  var __vue_scope_id__$i = undefined;
8157
8163
  /* module identifier */
8158
8164
 
8159
- var __vue_module_identifier__$i = "data-v-d5920a7e";
8165
+ var __vue_module_identifier__$i = "data-v-d7521b32";
8160
8166
  /* functional template */
8161
8167
 
8162
8168
  var __vue_is_functional_template__$i = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "0.0.200",
3
+ "version": "0.0.203",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -157,6 +157,7 @@ export default {
157
157
  this.$toasted.global.defaultError()
158
158
  }).catch(e => {
159
159
  this.loadingReq = false
160
+ this.$toasted.global.defaultError()
160
161
  console.error("Error in getStandardMessages: ", e)
161
162
  })
162
163
  }catch(e) {