ecinc-cloud-mappaio 9.7.64 → 9.7.66

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.
@@ -58289,6 +58289,17 @@ var auth_install = function install(Vue) {
58289
58289
  }
58290
58290
  return token === 'undefined' ? null : token;
58291
58291
  },
58292
+ getCookieToken: function getCookieToken() {
58293
+ token = js_cookie_default().get(TokenKey);
58294
+ if (!token) {
58295
+ if (port === '-') {
58296
+ token = js_cookie_default().get(window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN');
58297
+ } else {
58298
+ token = js_cookie_default().get((window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN') + port);
58299
+ }
58300
+ }
58301
+ return token === 'undefined' ? null : token;
58302
+ },
58292
58303
  setToken: function setToken(token) {
58293
58304
  return sessionStorage.setItem(TokenKey, token);
58294
58305
  },
@@ -58307,6 +58307,17 @@ var auth_install = function install(Vue) {
58307
58307
  }
58308
58308
  return token === 'undefined' ? null : token;
58309
58309
  },
58310
+ getCookieToken: function getCookieToken() {
58311
+ token = js_cookie_default().get(TokenKey);
58312
+ if (!token) {
58313
+ if (port === '-') {
58314
+ token = js_cookie_default().get(window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN');
58315
+ } else {
58316
+ token = js_cookie_default().get((window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN') + port);
58317
+ }
58318
+ }
58319
+ return token === 'undefined' ? null : token;
58320
+ },
58310
58321
  setToken: function setToken(token) {
58311
58322
  return sessionStorage.setItem(TokenKey, token);
58312
58323
  },