isdata-customer-sdk 0.2.39 → 0.2.41
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.
- package/dist/index.common.js +15 -2
- package/dist/index.common.js.map +1 -1
- package/dist/index.umd.js +15 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +4 -4
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.common.js
CHANGED
|
@@ -40291,6 +40291,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
40291
40291
|
fireEvent: function() { return /* reexport */ fireEvent; },
|
|
40292
40292
|
getAIRobotInfos: function() { return /* reexport */ getAIRobotInfos; },
|
|
40293
40293
|
getAPPInfosByID: function() { return /* reexport */ getAPPInfosByID; },
|
|
40294
|
+
getAllI18nTypes: function() { return /* reexport */ getAllI18nTypes; },
|
|
40294
40295
|
getAllUserInfosByGroupID: function() { return /* reexport */ getAllUserInfosByGroupID; },
|
|
40295
40296
|
getAppCustomData: function() { return /* reexport */ getAppCustomData; },
|
|
40296
40297
|
getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
|
|
@@ -41684,20 +41685,32 @@ const getIntegrateAppInfoByID = async appID => {
|
|
|
41684
41685
|
};
|
|
41685
41686
|
|
|
41686
41687
|
// 更新服务器i18n文本
|
|
41687
|
-
const savePortalI18nText = async (key, value, lang) => {
|
|
41688
|
+
const savePortalI18nText = async (key, value, lang, beyondID, i18nType) => {
|
|
41688
41689
|
let app_id = getPoratlAppID();
|
|
41689
41690
|
let requestData = {
|
|
41690
41691
|
param: {
|
|
41691
41692
|
key: key,
|
|
41692
41693
|
value: value,
|
|
41693
41694
|
appID: app_id,
|
|
41694
|
-
lang: lang
|
|
41695
|
+
lang: lang,
|
|
41696
|
+
beyondID: beyondID,
|
|
41697
|
+
i18nType: i18nType
|
|
41695
41698
|
}
|
|
41696
41699
|
};
|
|
41697
41700
|
let result = await request.post(`/dataservice/rest/orchestration/savePortalI18nText`, requestData);
|
|
41698
41701
|
let resultData = result.data.resultData;
|
|
41699
41702
|
return resultData;
|
|
41700
41703
|
};
|
|
41704
|
+
|
|
41705
|
+
// 更新服务器i18n文本
|
|
41706
|
+
const getAllI18nTypes = async () => {
|
|
41707
|
+
let requestData = {
|
|
41708
|
+
param: {}
|
|
41709
|
+
};
|
|
41710
|
+
let result = await request.post(`/dataservice/rest/orchestration/getAllI18nTypes`, requestData);
|
|
41711
|
+
let resultData = result.data.resultDatas;
|
|
41712
|
+
return resultData;
|
|
41713
|
+
};
|
|
41701
41714
|
;// ./node_modules/ua-parser-js/src/main/ua-parser.mjs
|
|
41702
41715
|
// Generated ESM version of ua-parser-js
|
|
41703
41716
|
// DO NOT EDIT THIS FILE!
|