hanbiro-react16-sdk 1.0.31 → 1.0.33
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/README.md +22 -35
- package/dist/components/ChatAIDraft/CreatePanel/index.js +2 -2
- package/dist/components/ChatAIDraft/ReplyPanel/index.js +2 -2
- package/dist/components/ChatAIDraft/helper.js +5 -8
- package/dist/components/SummaryAIEmails/index.js +3 -2
- package/dist/components/SummaryAIEmails/utils.js +1 -0
- package/dist/components/index.d.ts +0 -2
- package/dist/hanbiro-react16-sdk.style.css +2 -2
- package/dist/hanbiro-react16-sdk.umd.js +2738 -811
- package/dist/index.js +10 -13
- package/dist/lang/index.js +2 -2
- package/dist/node_modules/@hanbiro/signer-core/dist/index.js +932 -0
- package/dist/utils/api.d.ts +1 -0
- package/dist/utils/api.js +16 -3
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/lang.d.ts +1 -1
- package/dist/utils/lang.js +2 -1
- package/dist/utils/url.d.ts +1 -9
- package/dist/utils/url.js +5 -23
- package/package.json +5 -3
package/dist/index.js
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* hanbiro-react16-sdk v1.0.
|
|
3
|
-
* Build Date: 2026-
|
|
2
|
+
* hanbiro-react16-sdk v1.0.33
|
|
3
|
+
* Build Date: 2026-06-23
|
|
4
4
|
*/
|
|
5
5
|
/* empty css */
|
|
6
|
+
import { applyVersionAttribute } from "./utils/url.js";
|
|
7
|
+
import { getAppVersion } from "./utils/url.js";
|
|
6
8
|
import { AI_LANG_FLAGS } from "./constants/index.js";
|
|
7
9
|
import { default as default2 } from "./components/ChatAIDraft/index.js";
|
|
8
|
-
import { default as default3 } from "./components/
|
|
9
|
-
import { default as default4 } from "./components/
|
|
10
|
-
|
|
11
|
-
import { default as default6 } from "./components/SummaryAIEmails/index.js";
|
|
12
|
-
import { initHanbiroReactSDK, setLibLang } from "./utils/url.js";
|
|
10
|
+
import { default as default3 } from "./components/LoadingContainer/index.js";
|
|
11
|
+
import { default as default4 } from "./components/SummaryAIEmails/index.js";
|
|
12
|
+
applyVersionAttribute();
|
|
13
13
|
export {
|
|
14
14
|
AI_LANG_FLAGS,
|
|
15
15
|
default2 as ChatAIDraft,
|
|
16
|
-
default3 as
|
|
17
|
-
default4 as
|
|
18
|
-
|
|
19
|
-
default6 as SummaryAIEmails,
|
|
20
|
-
initHanbiroReactSDK,
|
|
21
|
-
setLibLang
|
|
16
|
+
default3 as LoadingContainer,
|
|
17
|
+
default4 as SummaryAIEmails,
|
|
18
|
+
getAppVersion
|
|
22
19
|
};
|
package/dist/lang/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { SDKConfig } from "../utils/url.js";
|
|
2
1
|
import { en } from "./en.js";
|
|
3
2
|
import { vi } from "./vi.js";
|
|
4
3
|
import { ko } from "./ko.js";
|
|
4
|
+
import { CURRENT_LANG } from "../utils/lang.js";
|
|
5
5
|
const dicts = {
|
|
6
6
|
en,
|
|
7
7
|
vi,
|
|
8
8
|
ko
|
|
9
9
|
};
|
|
10
10
|
const t = (key) => {
|
|
11
|
-
const lang =
|
|
11
|
+
const lang = CURRENT_LANG || "en";
|
|
12
12
|
const prefix = lang.split("-")[0];
|
|
13
13
|
const dict = dicts[lang] || dicts[prefix] || dicts.en;
|
|
14
14
|
return dict[key] || en[key] || key;
|