isdata-customer-sdk 0.2.41 → 0.2.42

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.
@@ -40366,6 +40366,7 @@ __webpack_require__.d(__webpack_exports__, {
40366
40366
  switchPortalLogin: function() { return /* reexport */ switchPortalLogin; },
40367
40367
  transformPortalQuickMenuDatas: function() { return /* reexport */ transformPortalQuickMenuDatas; },
40368
40368
  transformPortalSystemMenuDatas: function() { return /* reexport */ transformPortalSystemMenuDatas; },
40369
+ updateI18nValue: function() { return /* reexport */ updateI18nValue; },
40369
40370
  updateIMMapping: function() { return /* reexport */ updateIMMapping; },
40370
40371
  updateUserSelectPortal: function() { return /* reexport */ updateUserSelectPortal; },
40371
40372
  validateSSOPageLoaded: function() { return /* reexport */ validateSSOPageLoaded; }
@@ -43998,6 +43999,10 @@ const getLanguages = async appID => {
43998
43999
  let resultDatas = response.data.resultDatas || [];
43999
44000
  return resultDatas;
44000
44001
  };
44002
+ const updateI18nValue = (appID, key, localID, value) => {
44003
+ let realKey = `${appID}-${key}-${localID}`;
44004
+ window.customI18nObject.set(realKey, value);
44005
+ };
44001
44006
  const i18n = (key, appID, localID) => {
44002
44007
  let result = window.customI18nObject?.get(`${appID}-${key}-${localID}`) || key;
44003
44008
  return result;