ecinc-cloud-wappaio 9.0.34 → 9.0.35

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.
@@ -215319,12 +215319,26 @@ var js_cookie_default = /*#__PURE__*/__webpack_require__.n(js_cookie);
215319
215319
  function _readOnlyError(name) { throw new TypeError("\"" + name + "\" is read-only"); }
215320
215320
 
215321
215321
  var port = '-' + location.port;
215322
+ if (location.href.indexOf('fromoa') > 0) {
215323
+ alert(port);
215324
+ }
215322
215325
  if (sessionStorage.getItem('productCode')) {
215323
215326
  port = '-' + sessionStorage.getItem('productCode');
215324
215327
  } else if (location.href.indexOf("productCode=") !== -1) {
215325
215328
  port = '-' + location.href.split("productCode=")[1].split("&")[0];
215326
215329
  }
215330
+ if (location.href.indexOf('fromexe') > 0) {
215331
+ alert(port);
215332
+ }
215327
215333
  var TokenKey = (window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN') + port;
215334
+ if (location.href.indexOf('fromoa') > 0) {
215335
+ alert(TokenKey);
215336
+ var auth_token = sessionStorage.getItem(TokenKey);
215337
+ if (!auth_token) {
215338
+ auth_token = js_cookie_default.a.get(TokenKey);
215339
+ }
215340
+ alert(auth_token);
215341
+ }
215328
215342
  var RoleKey = 'ECWEB-ROLE-CODE-LIST' + port;
215329
215343
  var PermissionKey = 'ECWEB-PERMISSION-LIST' + port;
215330
215344
  var OrganListKey = 'PERSON_ORGAN_LIST' + port;
@@ -215328,12 +215328,26 @@ var js_cookie_default = /*#__PURE__*/__webpack_require__.n(js_cookie);
215328
215328
  function _readOnlyError(name) { throw new TypeError("\"" + name + "\" is read-only"); }
215329
215329
 
215330
215330
  var port = '-' + location.port;
215331
+ if (location.href.indexOf('fromoa') > 0) {
215332
+ alert(port);
215333
+ }
215331
215334
  if (sessionStorage.getItem('productCode')) {
215332
215335
  port = '-' + sessionStorage.getItem('productCode');
215333
215336
  } else if (location.href.indexOf("productCode=") !== -1) {
215334
215337
  port = '-' + location.href.split("productCode=")[1].split("&")[0];
215335
215338
  }
215339
+ if (location.href.indexOf('fromexe') > 0) {
215340
+ alert(port);
215341
+ }
215336
215342
  var TokenKey = (window.jwtTokenKey || 'ECWEB-JWTSSO-TOKEN') + port;
215343
+ if (location.href.indexOf('fromoa') > 0) {
215344
+ alert(TokenKey);
215345
+ var auth_token = sessionStorage.getItem(TokenKey);
215346
+ if (!auth_token) {
215347
+ auth_token = js_cookie_default.a.get(TokenKey);
215348
+ }
215349
+ alert(auth_token);
215350
+ }
215337
215351
  var RoleKey = 'ECWEB-ROLE-CODE-LIST' + port;
215338
215352
  var PermissionKey = 'ECWEB-PERMISSION-LIST' + port;
215339
215353
  var OrganListKey = 'PERSON_ORGAN_LIST' + port;