@atomsolution/sdk-merchant 1.8.4 → 1.8.5

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.
Files changed (32) hide show
  1. package/dist/assets/locales/en/file.json.d.ts +2 -2
  2. package/dist/assets/locales/vi/file.json.d.ts +2 -2
  3. package/dist/batch-product-creation/components/merchant-batch-create-form/product-info-preview/index.d.ts +1 -1
  4. package/dist/batch-product-creation.cjs +42 -35
  5. package/dist/batch-product-creation.cjs.map +1 -1
  6. package/dist/batch-product-creation.esm.js +42 -35
  7. package/dist/batch-product-creation.esm.js.map +1 -1
  8. package/dist/batch-product-creation.js +42 -35
  9. package/dist/batch-product-creation.js.map +1 -1
  10. package/dist/components/common/dataTable/tableHeader.d.ts +1 -1
  11. package/dist/digistore.cjs +1 -1
  12. package/dist/digistore.esm.js +1 -1
  13. package/dist/digistore.js +1 -1
  14. package/dist/{dropdownMenuAbsolute-BvDBLhd-.js → dropdownMenuAbsolute-0z-SL48l.js} +4 -6
  15. package/dist/{dropdownMenuAbsolute-BvDBLhd-.js.map → dropdownMenuAbsolute-0z-SL48l.js.map} +1 -1
  16. package/dist/{dropdownMenuAbsolute-djdsnyTz.cjs → dropdownMenuAbsolute-t4SPWS3W.cjs} +4 -6
  17. package/dist/{dropdownMenuAbsolute-djdsnyTz.cjs.map → dropdownMenuAbsolute-t4SPWS3W.cjs.map} +1 -1
  18. package/dist/merchant-profile.cjs +2 -2
  19. package/dist/merchant-profile.esm.js +2 -2
  20. package/dist/merchant-profile.js +2 -2
  21. package/dist/shared.cjs +1 -1
  22. package/dist/shared.esm.js +1 -1
  23. package/dist/shared.js +1 -1
  24. package/dist/{use-external-config.store-CAZvrNUF.js → use-external-config.store-CaaNmLce.js} +2 -2
  25. package/dist/{use-external-config.store-CAZvrNUF.js.map → use-external-config.store-CaaNmLce.js.map} +1 -1
  26. package/dist/{use-external-config.store-D2beE35F.cjs → use-external-config.store-WVwivWvK.cjs} +2 -2
  27. package/dist/{use-external-config.store-D2beE35F.cjs.map → use-external-config.store-WVwivWvK.cjs.map} +1 -1
  28. package/dist/{use-translation-CD6xknr3.cjs → use-translation-Ba-GPTbc.cjs} +6 -6
  29. package/dist/{use-translation-CD6xknr3.cjs.map → use-translation-Ba-GPTbc.cjs.map} +1 -1
  30. package/dist/{use-translation-DFiePp2h.js → use-translation-Dpu_N-4j.js} +6 -6
  31. package/dist/{use-translation-DFiePp2h.js.map → use-translation-Dpu_N-4j.js.map} +1 -1
  32. package/package.json +1 -1
@@ -53,8 +53,8 @@ var __async = (__this, __arguments, generator) => {
53
53
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
54
54
  const jsxRuntime = require("./jsx-runtime-DV8UmLi4.cjs");
55
55
  const React = require("react");
56
- const dropdownMenuAbsolute = require("./dropdownMenuAbsolute-djdsnyTz.cjs");
57
- const useTranslation = require("./use-translation-CD6xknr3.cjs");
56
+ const dropdownMenuAbsolute = require("./dropdownMenuAbsolute-t4SPWS3W.cjs");
57
+ const useTranslation = require("./use-translation-Ba-GPTbc.cjs");
58
58
  const usePortalApiConfig_store = require("./use-portal-api-config.store-C8a2gebE.cjs");
59
59
  const axios = require("axios");
60
60
  var runtime = { exports: {} };
@@ -51,8 +51,8 @@ var __async = (__this, __arguments, generator) => {
51
51
  };
52
52
  import { j as jsxRuntimeExports } from "./jsx-runtime-ClP9nxnW.js";
53
53
  import { useState, useCallback, useEffect, useMemo, useRef, memo } from "react";
54
- import { c as commonjsRequire, g as getDefaultExportFromCjs, B as Button, D as DropdownMenu, u as useMediaQuery, T as TableSkeleton, R as ReusableTable, a as DropdownMenuAbsolute } from "./dropdownMenuAbsolute-BvDBLhd-.js";
55
- import { u as useTranslation } from "./use-translation-DFiePp2h.js";
54
+ import { c as commonjsRequire, g as getDefaultExportFromCjs, B as Button, D as DropdownMenu, u as useMediaQuery, T as TableSkeleton, R as ReusableTable, a as DropdownMenuAbsolute } from "./dropdownMenuAbsolute-0z-SL48l.js";
55
+ import { u as useTranslation } from "./use-translation-Dpu_N-4j.js";
56
56
  import { u as usePortalApiConfig } from "./use-portal-api-config.store-C1UTTpK9.js";
57
57
  import axios from "axios";
58
58
  var runtime = { exports: {} };
@@ -51,8 +51,8 @@ var __async = (__this, __arguments, generator) => {
51
51
  };
52
52
  import { j as jsxRuntimeExports } from "./jsx-runtime-ClP9nxnW.js";
53
53
  import { useState, useCallback, useEffect, useMemo, useRef, memo } from "react";
54
- import { c as commonjsRequire, g as getDefaultExportFromCjs, B as Button, D as DropdownMenu, u as useMediaQuery, T as TableSkeleton, R as ReusableTable, a as DropdownMenuAbsolute } from "./dropdownMenuAbsolute-BvDBLhd-.js";
55
- import { u as useTranslation } from "./use-translation-DFiePp2h.js";
54
+ import { c as commonjsRequire, g as getDefaultExportFromCjs, B as Button, D as DropdownMenu, u as useMediaQuery, T as TableSkeleton, R as ReusableTable, a as DropdownMenuAbsolute } from "./dropdownMenuAbsolute-0z-SL48l.js";
55
+ import { u as useTranslation } from "./use-translation-Dpu_N-4j.js";
56
56
  import { u as usePortalApiConfig } from "./use-portal-api-config.store-C1UTTpK9.js";
57
57
  import axios from "axios";
58
58
  var runtime = { exports: {} };
package/dist/shared.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const useWesapApiConfig_store = require("./use-wesap-api-config.store-BaseWS--.cjs");
4
4
  const usePortalApiConfig_store = require("./use-portal-api-config.store-C8a2gebE.cjs");
5
- const useExternalConfig_store = require("./use-external-config.store-D2beE35F.cjs");
5
+ const useExternalConfig_store = require("./use-external-config.store-WVwivWvK.cjs");
6
6
  exports.useUnsavedChanges = useWesapApiConfig_store.useUnsavedChangesStore;
7
7
  exports.useWesapApiConfig = useWesapApiConfig_store.useWesapApiConfig;
8
8
  exports.usePortalApiConfig = usePortalApiConfig_store.usePortalApiConfig;
@@ -1,6 +1,6 @@
1
1
  import { a, u } from "./use-wesap-api-config.store-CIaEkA7m.js";
2
2
  import { u as u2 } from "./use-portal-api-config.store-C1UTTpK9.js";
3
- import { u as u3 } from "./use-external-config.store-CAZvrNUF.js";
3
+ import { u as u3 } from "./use-external-config.store-CaaNmLce.js";
4
4
  export {
5
5
  u3 as useExternalConfig,
6
6
  u2 as usePortalApiConfig,
package/dist/shared.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a, u } from "./use-wesap-api-config.store-CIaEkA7m.js";
2
2
  import { u as u2 } from "./use-portal-api-config.store-C1UTTpK9.js";
3
- import { u as u3 } from "./use-external-config.store-CAZvrNUF.js";
3
+ import { u as u3 } from "./use-external-config.store-CaaNmLce.js";
4
4
  export {
5
5
  u3 as useExternalConfig,
6
6
  u2 as usePortalApiConfig,
@@ -1,6 +1,6 @@
1
1
  import create from "zustand";
2
2
  const useExternalConfigStore = create((set) => ({
3
- language: "en",
3
+ language: "vi",
4
4
  setLanguage: (language) => set({ language }),
5
5
  userInfo: null,
6
6
  setUserInfo: (userInfo) => set({ userInfo })
@@ -8,4 +8,4 @@ const useExternalConfigStore = create((set) => ({
8
8
  export {
9
9
  useExternalConfigStore as u
10
10
  };
11
- //# sourceMappingURL=use-external-config.store-CAZvrNUF.js.map
11
+ //# sourceMappingURL=use-external-config.store-CaaNmLce.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-external-config.store-CAZvrNUF.js","sources":["../src/shared/store/use-external-config.store.ts"],"sourcesContent":["import { Language } from '@/hooks/use-translation'\nimport { UserInfo } from '@/types/user'\nimport create from 'zustand'\n\ntype ExternalConfig = {\n language: Language\n setLanguage: (language: Language) => void\n userInfo: UserInfo | null\n setUserInfo: (userInfo: UserInfo) => void\n}\n\nconst useExternalConfigStore = create<ExternalConfig>((set) => ({\n language: 'en',\n setLanguage: (language: Language) => set({ language }),\n userInfo: null,\n setUserInfo: (userInfo: UserInfo) => set({ userInfo }),\n}))\n\nexport default useExternalConfigStore\n"],"names":[],"mappings":";AAWA,MAAM,yBAAyB,OAAuB,CAAC,SAAS;AAAA,EAC9D,UAAU;AAAA,EACV,aAAa,CAAC,aAAuB,IAAI,EAAE,UAAU;AAAA,EACrD,UAAU;AAAA,EACV,aAAa,CAAC,aAAuB,IAAI,EAAE,UAAU;AACvD,EAAE;"}
1
+ {"version":3,"file":"use-external-config.store-CaaNmLce.js","sources":["../src/shared/store/use-external-config.store.ts"],"sourcesContent":["import { Language } from '@/hooks/use-translation'\nimport { UserInfo } from '@/types/user'\nimport create from 'zustand'\n\ntype ExternalConfig = {\n language: Language\n setLanguage: (language: Language) => void\n userInfo: UserInfo | null\n setUserInfo: (userInfo: UserInfo) => void\n}\n\nconst useExternalConfigStore = create<ExternalConfig>((set) => ({\n language: 'vi',\n setLanguage: (language: Language) => set({ language }),\n userInfo: null,\n setUserInfo: (userInfo: UserInfo) => set({ userInfo }),\n}))\n\nexport default useExternalConfigStore\n"],"names":[],"mappings":";AAWA,MAAM,yBAAyB,OAAuB,CAAC,SAAS;AAAA,EAC9D,UAAU;AAAA,EACV,aAAa,CAAC,aAAuB,IAAI,EAAE,UAAU;AAAA,EACrD,UAAU;AAAA,EACV,aAAa,CAAC,aAAuB,IAAI,EAAE,UAAU;AACvD,EAAE;"}
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  const create = require("zustand");
3
3
  const useExternalConfigStore = create((set) => ({
4
- language: "en",
4
+ language: "vi",
5
5
  setLanguage: (language) => set({ language }),
6
6
  userInfo: null,
7
7
  setUserInfo: (userInfo) => set({ userInfo })
8
8
  }));
9
9
  exports.useExternalConfigStore = useExternalConfigStore;
10
- //# sourceMappingURL=use-external-config.store-D2beE35F.cjs.map
10
+ //# sourceMappingURL=use-external-config.store-WVwivWvK.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-external-config.store-D2beE35F.cjs","sources":["../src/shared/store/use-external-config.store.ts"],"sourcesContent":["import { Language } from '@/hooks/use-translation'\nimport { UserInfo } from '@/types/user'\nimport create from 'zustand'\n\ntype ExternalConfig = {\n language: Language\n setLanguage: (language: Language) => void\n userInfo: UserInfo | null\n setUserInfo: (userInfo: UserInfo) => void\n}\n\nconst useExternalConfigStore = create<ExternalConfig>((set) => ({\n language: 'en',\n setLanguage: (language: Language) => set({ language }),\n userInfo: null,\n setUserInfo: (userInfo: UserInfo) => set({ userInfo }),\n}))\n\nexport default useExternalConfigStore\n"],"names":[],"mappings":";;AAWA,MAAM,yBAAyB,OAAuB,CAAC,SAAS;AAAA,EAC9D,UAAU;AAAA,EACV,aAAa,CAAC,aAAuB,IAAI,EAAE,UAAU;AAAA,EACrD,UAAU;AAAA,EACV,aAAa,CAAC,aAAuB,IAAI,EAAE,UAAU;AACvD,EAAE;;"}
1
+ {"version":3,"file":"use-external-config.store-WVwivWvK.cjs","sources":["../src/shared/store/use-external-config.store.ts"],"sourcesContent":["import { Language } from '@/hooks/use-translation'\nimport { UserInfo } from '@/types/user'\nimport create from 'zustand'\n\ntype ExternalConfig = {\n language: Language\n setLanguage: (language: Language) => void\n userInfo: UserInfo | null\n setUserInfo: (userInfo: UserInfo) => void\n}\n\nconst useExternalConfigStore = create<ExternalConfig>((set) => ({\n language: 'vi',\n setLanguage: (language: Language) => set({ language }),\n userInfo: null,\n setUserInfo: (userInfo: UserInfo) => set({ userInfo }),\n}))\n\nexport default useExternalConfigStore\n"],"names":[],"mappings":";;AAWA,MAAM,yBAAyB,OAAuB,CAAC,SAAS;AAAA,EAC9D,UAAU;AAAA,EACV,aAAa,CAAC,aAAuB,IAAI,EAAE,UAAU;AAAA,EACrD,UAAU;AAAA,EACV,aAAa,CAAC,aAAuB,IAAI,EAAE,UAAU;AACvD,EAAE;;"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const useExternalConfig_store = require("./use-external-config.store-D2beE35F.cjs");
2
+ const useExternalConfig_store = require("./use-external-config.store-WVwivWvK.cjs");
3
3
  const submitDate$1 = "Ngày nộp";
4
4
  const object$3 = "Đối tượng";
5
5
  const status$1 = "Trạng thái";
@@ -882,8 +882,8 @@ const systemFields$1 = [
882
882
  "Danh mục sản phẩm"
883
883
  ];
884
884
  const title$5 = "Tải lên danh sách sản phẩm";
885
- const instruction1$1 = "Sau khi hoàn tất định dạng, hãy tải tệp lên đây. Hệ thống sẽ kiểm tra trả kết quả cần chỉnh sửa trong trường hợp có thông tin không đúng định dạng để nhập vào hệ thống.";
886
- const instruction2$1 = "Mỗi lượt tải lên danh sách chỉ được tối đa 01 tệp và tối đa 100 dòng thông tin (sản phẩm). Trường hợp danh sách có nhiều hơn số dòng thông tin quy định, hệ thống sẽ lấy theo thứ tự dòng thông tin số 1 đến dòng thông tin số 100 (không bao gồm tiêu đề).";
885
+ const instruction1$1 = "Mỗi lượt tải lên danh sách chỉ được tối đa 01 tệp tối đa 100 dòng thông tin (sản phẩm).";
886
+ const instruction2$1 = "Trường hợp danh sách có nhiều hơn số dòng thông tin quy định, hệ thống sẽ lấy theo thứ tự dòng thông tin số 1 đến dòng thông tin số 100 (không bao gồm tiêu đề).";
887
887
  const deleteFile$1 = "Xóa file";
888
888
  const tabs$1 = {
889
889
  sampleDownload: "Tải xuống tệp mẫu",
@@ -969,8 +969,8 @@ const systemFields = [
969
969
  "Product Category"
970
970
  ];
971
971
  const title$4 = "Upload Product List";
972
- const instruction1 = "After formatting is complete, upload the file here. The system will verify the file and return any corrections needed if information is not in the correct format for import into the system.";
973
- const instruction2 = "Each upload is limited to 1 file and up to 100 rows of information (products). If the list contains more rows than allowed, the system will take rows 1 through 100 in order (excluding the header).";
972
+ const instruction1 = "Each upload is limited to 1 file and up to 100 rows of information (products).";
973
+ const instruction2 = "If the list contains more rows than allowed, the system will take rows 1 through 100 in order (excluding the header).";
974
974
  const deleteFile = "Delete file";
975
975
  const tabs = {
976
976
  sampleDownload: "Download sample file",
@@ -1316,4 +1316,4 @@ const useTranslation = (defaultNs = "table", manualLanguage) => {
1316
1316
  };
1317
1317
  exports.translate = translate;
1318
1318
  exports.useTranslation = useTranslation;
1319
- //# sourceMappingURL=use-translation-CD6xknr3.cjs.map
1319
+ //# sourceMappingURL=use-translation-Ba-GPTbc.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-translation-CD6xknr3.cjs","sources":["../src/utils/translations.ts","../src/hooks/use-translation.ts"],"sourcesContent":["import TABLE_VI from '@/assets/locales/vi/table.json';\nimport TABLE_EN from '@/assets/locales/en/table.json';\nimport FORM_VI from '@/assets/locales/vi/form.json';\nimport FORM_EN from '@/assets/locales/en/form.json';\nimport BATCH_CREATE_PRODUCT_VI from '@/assets/locales/vi/merchant-batch-create-form.json';\nimport BATCH_CREATE_PRODUCT_EN from '@/assets/locales/en/merchant-batch-create-form.json';\nimport COMMON_VI from '@/assets/locales/vi/common.json';\nimport COMMON_EN from '@/assets/locales/en/common.json';\nimport FILE_VI from '@/assets/locales/vi/file.json';\nimport FILE_VN from '@/assets/locales/en/file.json';\nimport DOWNLOAD_SAMPLE_VI from '@/assets/locales/vi/download-sample.json';\nimport DOWNLOAD_SAMPLE_EN from '@/assets/locales/en/download-sample.json';\nimport DIGISTORE_ID_VI from '@/assets/locales/vi/digistore-id.json';\nimport DIGISTORE_ID_EN from '@/assets/locales/en/digistore-id.json';\n\nexport const TRANSLATIONS = {\n vi: {\n common: COMMON_VI,\n table: TABLE_VI,\n form: FORM_VI,\n 'batch-create-product': BATCH_CREATE_PRODUCT_VI,\n file: FILE_VI,\n 'download-sample': DOWNLOAD_SAMPLE_VI,\n 'digistore-id': DIGISTORE_ID_VI\n },\n en: {\n common: COMMON_EN,\n table: TABLE_EN,\n form: FORM_EN,\n 'batch-create-product': BATCH_CREATE_PRODUCT_EN,\n file: FILE_VN,\n 'download-sample': DOWNLOAD_SAMPLE_EN,\n 'digistore-id': DIGISTORE_ID_EN\n },\n} as const;\n","import useExternalConfigStore from '@/shared/store/use-external-config.store';\nimport { TRANSLATIONS } from '../utils/translations';\n\nexport type Language = keyof typeof TRANSLATIONS;\ntype Namespace = keyof (typeof TRANSLATIONS)[Language];\n\ninterface UseTranslationReturn {\n translate: (key: string) => string;\n language?: Language;\n}\n\nexport const translate = (\n key: string,\n name_space: Namespace = \"table\",\n language?: Language\n): string => {\n const lang = language || useExternalConfigStore.getState().language;\n const splitKey = key?.split(\":\");\n const [namespace, derivedKey] =\n splitKey.length > 1 ? splitKey : [name_space, key];\n\n const ns = namespace as Namespace;\n const translations = TRANSLATIONS[lang][ns] as any;\n const keys = derivedKey.split('.');\n let value: any = translations;\n for (const k of keys) {\n value = value?.[k];\n }\n\n return value ?? key;\n};\n\nexport const useTranslation = (\n defaultNs: Namespace = 'table',\n manualLanguage?: Language\n): UseTranslationReturn => {\n const language: Language =\n manualLanguage || useExternalConfigStore.getState().language;\n const translateWithDefault = (key: string) =>\n translate(key, defaultNs, language);\n\n return { translate: translateWithDefault, language };\n};\n"],"names":["useExternalConfigStore"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAC3D,QAAM,WAAW,2BAAK,MAAM;AAC5B,QAAM,CAAC,WAAW,UAAU,IAC1B,SAAS,SAAS,IAAI,WAAW,CAAC,YAAY,GAAG;AAEnD,QAAM,KAAK;AACX,QAAM,eAAe,aAAa,IAAI,EAAE,EAAE;AAC1C,QAAM,OAAO,WAAW,MAAM,GAAG;AACjC,MAAI,QAAa;AACjB,aAAW,KAAK,MAAM;AACpB,YAAQ,+BAAQ;AAAA,EAClB;AAEA,SAAO,wBAAS;AAClB;AAEO,MAAM,iBAAiB,CAC5B,YAAuB,SACvB,mBACyB;AACzB,QAAM,WACJ,kBAAkBA,+CAAuB,SAAA,EAAW;AACtD,QAAM,uBAAuB,CAAC,QAC5B,UAAU,KAAK,WAAW,QAAQ;AAEpC,SAAO,EAAE,WAAW,sBAAsB,SAAA;AAC5C;;;"}
1
+ {"version":3,"file":"use-translation-Ba-GPTbc.cjs","sources":["../src/utils/translations.ts","../src/hooks/use-translation.ts"],"sourcesContent":["import TABLE_VI from '@/assets/locales/vi/table.json';\nimport TABLE_EN from '@/assets/locales/en/table.json';\nimport FORM_VI from '@/assets/locales/vi/form.json';\nimport FORM_EN from '@/assets/locales/en/form.json';\nimport BATCH_CREATE_PRODUCT_VI from '@/assets/locales/vi/merchant-batch-create-form.json';\nimport BATCH_CREATE_PRODUCT_EN from '@/assets/locales/en/merchant-batch-create-form.json';\nimport COMMON_VI from '@/assets/locales/vi/common.json';\nimport COMMON_EN from '@/assets/locales/en/common.json';\nimport FILE_VI from '@/assets/locales/vi/file.json';\nimport FILE_VN from '@/assets/locales/en/file.json';\nimport DOWNLOAD_SAMPLE_VI from '@/assets/locales/vi/download-sample.json';\nimport DOWNLOAD_SAMPLE_EN from '@/assets/locales/en/download-sample.json';\nimport DIGISTORE_ID_VI from '@/assets/locales/vi/digistore-id.json';\nimport DIGISTORE_ID_EN from '@/assets/locales/en/digistore-id.json';\n\nexport const TRANSLATIONS = {\n vi: {\n common: COMMON_VI,\n table: TABLE_VI,\n form: FORM_VI,\n 'batch-create-product': BATCH_CREATE_PRODUCT_VI,\n file: FILE_VI,\n 'download-sample': DOWNLOAD_SAMPLE_VI,\n 'digistore-id': DIGISTORE_ID_VI\n },\n en: {\n common: COMMON_EN,\n table: TABLE_EN,\n form: FORM_EN,\n 'batch-create-product': BATCH_CREATE_PRODUCT_EN,\n file: FILE_VN,\n 'download-sample': DOWNLOAD_SAMPLE_EN,\n 'digistore-id': DIGISTORE_ID_EN\n },\n} as const;\n","import useExternalConfigStore from '@/shared/store/use-external-config.store';\nimport { TRANSLATIONS } from '../utils/translations';\n\nexport type Language = keyof typeof TRANSLATIONS;\ntype Namespace = keyof (typeof TRANSLATIONS)[Language];\n\ninterface UseTranslationReturn {\n translate: (key: string) => string;\n language?: Language;\n}\n\nexport const translate = (\n key: string,\n name_space: Namespace = \"table\",\n language?: Language\n): string => {\n const lang = language || useExternalConfigStore.getState().language;\n const splitKey = key?.split(\":\");\n const [namespace, derivedKey] =\n splitKey.length > 1 ? splitKey : [name_space, key];\n\n const ns = namespace as Namespace;\n const translations = TRANSLATIONS[lang][ns] as any;\n const keys = derivedKey.split('.');\n let value: any = translations;\n for (const k of keys) {\n value = value?.[k];\n }\n\n return value ?? key;\n};\n\nexport const useTranslation = (\n defaultNs: Namespace = 'table',\n manualLanguage?: Language\n): UseTranslationReturn => {\n const language: Language =\n manualLanguage || useExternalConfigStore.getState().language;\n const translateWithDefault = (key: string) =>\n translate(key, defaultNs, language);\n\n return { translate: translateWithDefault, language };\n};\n"],"names":["useExternalConfigStore"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeO,MAAM,eAAe;AAAA,EAC1B,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,MAAM;AAAA,IACN,wBAAwB;AAAA,IACxB,MAAM;AAAA,IACN,mBAAmB;AAAA,IACnB,gBAAgB;AAAA,EAAA;AAAA,EAElB,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,MAAM;AAAA,IACN,wBAAwB;AAAA,IACxB,MAAM;AAAA,IACN,mBAAmB;AAAA,IACnB,gBAAgB;AAAA,EAAA;AAEpB;ACvBO,MAAM,YAAY,CACvB,KACA,aAAwB,SACxB,aACW;AACX,QAAM,OAAO,YAAYA,+CAAuB,SAAA,EAAW;AAC3D,QAAM,WAAW,2BAAK,MAAM;AAC5B,QAAM,CAAC,WAAW,UAAU,IAC1B,SAAS,SAAS,IAAI,WAAW,CAAC,YAAY,GAAG;AAEnD,QAAM,KAAK;AACX,QAAM,eAAe,aAAa,IAAI,EAAE,EAAE;AAC1C,QAAM,OAAO,WAAW,MAAM,GAAG;AACjC,MAAI,QAAa;AACjB,aAAW,KAAK,MAAM;AACpB,YAAQ,+BAAQ;AAAA,EAClB;AAEA,SAAO,wBAAS;AAClB;AAEO,MAAM,iBAAiB,CAC5B,YAAuB,SACvB,mBACyB;AACzB,QAAM,WACJ,kBAAkBA,+CAAuB,SAAA,EAAW;AACtD,QAAM,uBAAuB,CAAC,QAC5B,UAAU,KAAK,WAAW,QAAQ;AAEpC,SAAO,EAAE,WAAW,sBAAsB,SAAA;AAC5C;;;"}
@@ -1,4 +1,4 @@
1
- import { u as useExternalConfigStore } from "./use-external-config.store-CAZvrNUF.js";
1
+ import { u as useExternalConfigStore } from "./use-external-config.store-CaaNmLce.js";
2
2
  const submitDate$1 = "Ngày nộp";
3
3
  const object$3 = "Đối tượng";
4
4
  const status$1 = "Trạng thái";
@@ -881,8 +881,8 @@ const systemFields$1 = [
881
881
  "Danh mục sản phẩm"
882
882
  ];
883
883
  const title$5 = "Tải lên danh sách sản phẩm";
884
- const instruction1$1 = "Sau khi hoàn tất định dạng, hãy tải tệp lên đây. Hệ thống sẽ kiểm tra trả kết quả cần chỉnh sửa trong trường hợp có thông tin không đúng định dạng để nhập vào hệ thống.";
885
- const instruction2$1 = "Mỗi lượt tải lên danh sách chỉ được tối đa 01 tệp và tối đa 100 dòng thông tin (sản phẩm). Trường hợp danh sách có nhiều hơn số dòng thông tin quy định, hệ thống sẽ lấy theo thứ tự dòng thông tin số 1 đến dòng thông tin số 100 (không bao gồm tiêu đề).";
884
+ const instruction1$1 = "Mỗi lượt tải lên danh sách chỉ được tối đa 01 tệp tối đa 100 dòng thông tin (sản phẩm).";
885
+ const instruction2$1 = "Trường hợp danh sách có nhiều hơn số dòng thông tin quy định, hệ thống sẽ lấy theo thứ tự dòng thông tin số 1 đến dòng thông tin số 100 (không bao gồm tiêu đề).";
886
886
  const deleteFile$1 = "Xóa file";
887
887
  const tabs$1 = {
888
888
  sampleDownload: "Tải xuống tệp mẫu",
@@ -968,8 +968,8 @@ const systemFields = [
968
968
  "Product Category"
969
969
  ];
970
970
  const title$4 = "Upload Product List";
971
- const instruction1 = "After formatting is complete, upload the file here. The system will verify the file and return any corrections needed if information is not in the correct format for import into the system.";
972
- const instruction2 = "Each upload is limited to 1 file and up to 100 rows of information (products). If the list contains more rows than allowed, the system will take rows 1 through 100 in order (excluding the header).";
971
+ const instruction1 = "Each upload is limited to 1 file and up to 100 rows of information (products).";
972
+ const instruction2 = "If the list contains more rows than allowed, the system will take rows 1 through 100 in order (excluding the header).";
973
973
  const deleteFile = "Delete file";
974
974
  const tabs = {
975
975
  sampleDownload: "Download sample file",
@@ -1317,4 +1317,4 @@ export {
1317
1317
  translate as t,
1318
1318
  useTranslation as u
1319
1319
  };
1320
- //# sourceMappingURL=use-translation-DFiePp2h.js.map
1320
+ //# sourceMappingURL=use-translation-Dpu_N-4j.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-translation-DFiePp2h.js","sources":["../src/utils/translations.ts","../src/hooks/use-translation.ts"],"sourcesContent":["import TABLE_VI from '@/assets/locales/vi/table.json';\nimport TABLE_EN from '@/assets/locales/en/table.json';\nimport FORM_VI from '@/assets/locales/vi/form.json';\nimport FORM_EN from '@/assets/locales/en/form.json';\nimport BATCH_CREATE_PRODUCT_VI from '@/assets/locales/vi/merchant-batch-create-form.json';\nimport BATCH_CREATE_PRODUCT_EN from '@/assets/locales/en/merchant-batch-create-form.json';\nimport COMMON_VI from '@/assets/locales/vi/common.json';\nimport COMMON_EN from '@/assets/locales/en/common.json';\nimport FILE_VI from '@/assets/locales/vi/file.json';\nimport FILE_VN from '@/assets/locales/en/file.json';\nimport DOWNLOAD_SAMPLE_VI from '@/assets/locales/vi/download-sample.json';\nimport DOWNLOAD_SAMPLE_EN from '@/assets/locales/en/download-sample.json';\nimport DIGISTORE_ID_VI from '@/assets/locales/vi/digistore-id.json';\nimport DIGISTORE_ID_EN from '@/assets/locales/en/digistore-id.json';\n\nexport const TRANSLATIONS = {\n vi: {\n common: COMMON_VI,\n table: TABLE_VI,\n form: FORM_VI,\n 'batch-create-product': BATCH_CREATE_PRODUCT_VI,\n file: FILE_VI,\n 'download-sample': DOWNLOAD_SAMPLE_VI,\n 'digistore-id': DIGISTORE_ID_VI\n },\n en: {\n common: COMMON_EN,\n table: TABLE_EN,\n form: FORM_EN,\n 'batch-create-product': BATCH_CREATE_PRODUCT_EN,\n file: FILE_VN,\n 'download-sample': DOWNLOAD_SAMPLE_EN,\n 'digistore-id': DIGISTORE_ID_EN\n },\n} as const;\n","import useExternalConfigStore from '@/shared/store/use-external-config.store';\nimport { TRANSLATIONS } from '../utils/translations';\n\nexport type Language = keyof typeof TRANSLATIONS;\ntype Namespace = keyof (typeof TRANSLATIONS)[Language];\n\ninterface UseTranslationReturn {\n translate: (key: string) => string;\n language?: Language;\n}\n\nexport const translate = (\n key: string,\n name_space: Namespace = \"table\",\n language?: Language\n): string => {\n const lang = language || useExternalConfigStore.getState().language;\n const splitKey = key?.split(\":\");\n const [namespace, derivedKey] =\n splitKey.length > 1 ? splitKey : [name_space, key];\n\n const ns = namespace as Namespace;\n const translations = TRANSLATIONS[lang][ns] as any;\n const keys = derivedKey.split('.');\n let value: any = translations;\n for (const k of keys) {\n value = value?.[k];\n }\n\n return value ?? key;\n};\n\nexport const useTranslation = (\n defaultNs: Namespace = 'table',\n manualLanguage?: Language\n): UseTranslationReturn => {\n const language: Language =\n manualLanguage || useExternalConfigStore.getState().language;\n const translateWithDefault = (key: string) =>\n translate(key, defaultNs, language);\n\n return { translate: translateWithDefault, language };\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAS,IAAI,WAAW,CAAC,YAAY,GAAG;AAEnD,QAAM,KAAK;AACX,QAAM,eAAe,aAAa,IAAI,EAAE,EAAE;AAC1C,QAAM,OAAO,WAAW,MAAM,GAAG;AACjC,MAAI,QAAa;AACjB,aAAW,KAAK,MAAM;AACpB,YAAQ,+BAAQ;AAAA,EAClB;AAEA,SAAO,wBAAS;AAClB;AAEO,MAAM,iBAAiB,CAC5B,YAAuB,SACvB,mBACyB;AACzB,QAAM,WACJ,kBAAkB,uBAAuB,SAAA,EAAW;AACtD,QAAM,uBAAuB,CAAC,QAC5B,UAAU,KAAK,WAAW,QAAQ;AAEpC,SAAO,EAAE,WAAW,sBAAsB,SAAA;AAC5C;"}
1
+ {"version":3,"file":"use-translation-Dpu_N-4j.js","sources":["../src/utils/translations.ts","../src/hooks/use-translation.ts"],"sourcesContent":["import TABLE_VI from '@/assets/locales/vi/table.json';\nimport TABLE_EN from '@/assets/locales/en/table.json';\nimport FORM_VI from '@/assets/locales/vi/form.json';\nimport FORM_EN from '@/assets/locales/en/form.json';\nimport BATCH_CREATE_PRODUCT_VI from '@/assets/locales/vi/merchant-batch-create-form.json';\nimport BATCH_CREATE_PRODUCT_EN from '@/assets/locales/en/merchant-batch-create-form.json';\nimport COMMON_VI from '@/assets/locales/vi/common.json';\nimport COMMON_EN from '@/assets/locales/en/common.json';\nimport FILE_VI from '@/assets/locales/vi/file.json';\nimport FILE_VN from '@/assets/locales/en/file.json';\nimport DOWNLOAD_SAMPLE_VI from '@/assets/locales/vi/download-sample.json';\nimport DOWNLOAD_SAMPLE_EN from '@/assets/locales/en/download-sample.json';\nimport DIGISTORE_ID_VI from '@/assets/locales/vi/digistore-id.json';\nimport DIGISTORE_ID_EN from '@/assets/locales/en/digistore-id.json';\n\nexport const TRANSLATIONS = {\n vi: {\n common: COMMON_VI,\n table: TABLE_VI,\n form: FORM_VI,\n 'batch-create-product': BATCH_CREATE_PRODUCT_VI,\n file: FILE_VI,\n 'download-sample': DOWNLOAD_SAMPLE_VI,\n 'digistore-id': DIGISTORE_ID_VI\n },\n en: {\n common: COMMON_EN,\n table: TABLE_EN,\n form: FORM_EN,\n 'batch-create-product': BATCH_CREATE_PRODUCT_EN,\n file: FILE_VN,\n 'download-sample': DOWNLOAD_SAMPLE_EN,\n 'digistore-id': DIGISTORE_ID_EN\n },\n} as const;\n","import useExternalConfigStore from '@/shared/store/use-external-config.store';\nimport { TRANSLATIONS } from '../utils/translations';\n\nexport type Language = keyof typeof TRANSLATIONS;\ntype Namespace = keyof (typeof TRANSLATIONS)[Language];\n\ninterface UseTranslationReturn {\n translate: (key: string) => string;\n language?: Language;\n}\n\nexport const translate = (\n key: string,\n name_space: Namespace = \"table\",\n language?: Language\n): string => {\n const lang = language || useExternalConfigStore.getState().language;\n const splitKey = key?.split(\":\");\n const [namespace, derivedKey] =\n splitKey.length > 1 ? splitKey : [name_space, key];\n\n const ns = namespace as Namespace;\n const translations = TRANSLATIONS[lang][ns] as any;\n const keys = derivedKey.split('.');\n let value: any = translations;\n for (const k of keys) {\n value = value?.[k];\n }\n\n return value ?? key;\n};\n\nexport const useTranslation = (\n defaultNs: Namespace = 'table',\n manualLanguage?: Language\n): UseTranslationReturn => {\n const language: Language =\n manualLanguage || useExternalConfigStore.getState().language;\n const translateWithDefault = (key: string) =>\n translate(key, defaultNs, language);\n\n return { translate: translateWithDefault, language };\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACR,OAAO;AAAA,IACP,MAAM;AAAA,IACN,wBAAwB;AAAA,IACxB,MAAM;AAAA,IACN,mBAAmB;AAAA,IACnB,gBAAgB;AAAA,EAAA;AAAA,EAElB,IAAI;AAAA,IACF,QAAQ;AAAA,IACR,OAAO;AAAA,IACP,MAAM;AAAA,IACN,wBAAwB;AAAA,IACxB,MAAM;AAAA,IACN,mBAAmB;AAAA,IACnB,gBAAgB;AAAA,EAAA;AAEpB;ACvBO,MAAM,YAAY,CACvB,KACA,aAAwB,SACxB,aACW;AACX,QAAM,OAAO,YAAY,uBAAuB,SAAA,EAAW;AAC3D,QAAM,WAAW,2BAAK,MAAM;AAC5B,QAAM,CAAC,WAAW,UAAU,IAC1B,SAAS,SAAS,IAAI,WAAW,CAAC,YAAY,GAAG;AAEnD,QAAM,KAAK;AACX,QAAM,eAAe,aAAa,IAAI,EAAE,EAAE;AAC1C,QAAM,OAAO,WAAW,MAAM,GAAG;AACjC,MAAI,QAAa;AACjB,aAAW,KAAK,MAAM;AACpB,YAAQ,+BAAQ;AAAA,EAClB;AAEA,SAAO,wBAAS;AAClB;AAEO,MAAM,iBAAiB,CAC5B,YAAuB,SACvB,mBACyB;AACzB,QAAM,WACJ,kBAAkB,uBAAuB,SAAA,EAAW;AACtD,QAAM,uBAAuB,CAAC,QAC5B,UAAU,KAAK,WAAW,QAAQ;AAEpC,SAAO,EAAE,WAAW,sBAAsB,SAAA;AAC5C;"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.4",
6
+ "version": "1.8.5",
7
7
  "type": "module",
8
8
  "main": "dist/index.cjs",
9
9
  "module": "dist/index.esm.js",