@atomsolution/sdk-merchant 1.6.3 → 1.6.4

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 (27) hide show
  1. package/dist/assets/locales/en/file.json.d.ts +4 -1
  2. package/dist/assets/locales/vi/file.json.d.ts +4 -1
  3. package/dist/assets/locales/vi/merchant-batch-create-form.json.d.ts +1 -1
  4. package/dist/batch-product-creation.cjs +8 -8
  5. package/dist/batch-product-creation.cjs.map +1 -1
  6. package/dist/batch-product-creation.esm.js +8 -8
  7. package/dist/batch-product-creation.esm.js.map +1 -1
  8. package/dist/batch-product-creation.js +8 -8
  9. package/dist/batch-product-creation.js.map +1 -1
  10. package/dist/digistore.cjs +1 -1
  11. package/dist/digistore.esm.js +1 -1
  12. package/dist/digistore.js +1 -1
  13. package/dist/{dropdownMenuAbsolute-CLw6DPyb.js → dropdownMenuAbsolute-CZJdH-DA.js} +2 -2
  14. package/dist/{dropdownMenuAbsolute-CLw6DPyb.js.map → dropdownMenuAbsolute-CZJdH-DA.js.map} +1 -1
  15. package/dist/{dropdownMenuAbsolute-DlrCbNFH.cjs → dropdownMenuAbsolute-Dwd-XAjy.cjs} +2 -2
  16. package/dist/{dropdownMenuAbsolute-DlrCbNFH.cjs.map → dropdownMenuAbsolute-Dwd-XAjy.cjs.map} +1 -1
  17. package/dist/merchant-profile.cjs +2 -2
  18. package/dist/merchant-profile.esm.js +2 -2
  19. package/dist/merchant-profile.js +2 -2
  20. package/dist/use-external-config.store-CaaNmLce.js.map +1 -1
  21. package/dist/use-external-config.store-WVwivWvK.cjs.map +1 -1
  22. package/dist/{use-translation-FLryNm-e.cjs → use-translation-CEsmTQjP.cjs} +13 -4
  23. package/dist/{use-translation-FLryNm-e.cjs.map → use-translation-CEsmTQjP.cjs.map} +1 -1
  24. package/dist/{use-translation-B8KAf9vm.js → use-translation-IKmTNALv.js} +13 -4
  25. package/dist/{use-translation-B8KAf9vm.js.map → use-translation-IKmTNALv.js.map} +1 -1
  26. package/dist/utils/translations.d.ts +4 -0
  27. package/package.json +1 -1
@@ -68,14 +68,14 @@ var __asyncGenerator = (__this, __arguments, generator) => {
68
68
  };
69
69
  var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")]) ? it.call(obj) : (obj = obj[__knownSymbol("iterator")](), it = {}, method = (key, fn) => (fn = obj[key]) && (it[key] = (arg) => new Promise((yes, no, done) => (arg = fn.call(obj, arg), done = arg.done, Promise.resolve(arg.value).then((value) => yes({ value, done }), no)))), method("next"), method("return"), it);
70
70
  import { j as jsxRuntimeExports } from "./jsx-runtime-ClP9nxnW.js";
71
- import { u as useTranslation, t as translate } from "./use-translation-B8KAf9vm.js";
71
+ import { u as useTranslation, t as translate } from "./use-translation-IKmTNALv.js";
72
72
  import { ToastContainer } from "react-toastify";
73
73
  import { a as useUnsavedChangesStore, u as useWesapApiConfig } from "./use-wesap-api-config.store-CIaEkA7m.js";
74
74
  import * as React from "react";
75
75
  import React__default, { useState, useRef, useEffect, useMemo, forwardRef, useCallback } from "react";
76
76
  import create from "zustand";
77
77
  import { u as useExternalConfigStore } from "./use-external-config.store-CaaNmLce.js";
78
- import { t as twMerge, B as Button, c as commonjsRequire, b as commonjsGlobal, g as getDefaultExportFromCjs, u as useMediaQuery, T as TableSkeleton, R as ReusableTable, a as DropdownMenuAbsolute } from "./dropdownMenuAbsolute-CLw6DPyb.js";
78
+ import { t as twMerge, B as Button, c as commonjsRequire, b as commonjsGlobal, g as getDefaultExportFromCjs, u as useMediaQuery, T as TableSkeleton, R as ReusableTable, a as DropdownMenuAbsolute } from "./dropdownMenuAbsolute-CZJdH-DA.js";
79
79
  import * as ReactDOM from "react-dom";
80
80
  import ReactDOM__default from "react-dom";
81
81
  import { C as CustomToast } from "./index-ChOpfqCh.js";
@@ -27122,7 +27122,7 @@ function MergeAndCheckData({ taxDeductionMethod }) {
27122
27122
  onClick: () => setShowCancelPopup(true),
27123
27123
  disabled: isChecking,
27124
27124
  className: `flex justify-center items-center gap-2 border border-[#00BAEE] px-4 py-[7.5px] text-sm font-medium text-[#00BAEE] bg-[#FFFFFF] rounded-lg ${isChecking && "bg-gray-200 text-gray-400 cursor-not-allowed"}`,
27125
- children: "Hủy"
27125
+ children: translate2("cancel")
27126
27126
  }
27127
27127
  ),
27128
27128
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -27163,7 +27163,7 @@ function MergeAndCheckData({ taxDeductionMethod }) {
27163
27163
  ]
27164
27164
  }
27165
27165
  ),
27166
- isChecking ? "Đang kiểm tra..." : "Kiểm tra dữ liệu"
27166
+ isChecking ? translate2("checking") : translate2("checkData")
27167
27167
  ]
27168
27168
  }
27169
27169
  )
@@ -27173,8 +27173,8 @@ function MergeAndCheckData({ taxDeductionMethod }) {
27173
27173
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "fixed inset-0 bg-[#0000004D] z-40" }),
27174
27174
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-50 bg-white rounded-2xl mx-auto p-10 flex flex-col gap-8", children: [
27175
27175
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-6", children: [
27176
- /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-center text-[24px] leading-[30px] font-bold text-[#2C2C2C]", children: "Bạn có chắc muốn thoát tác vụ tải lên danh sách?" }),
27177
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-center text-[14px] leading-[18px] text-[#2C2C2C] font-normal", children: "Thông tin đã tải lên sẽ không được lưu và không được dùng để tạo sản phẩm." })
27176
+ /* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-center text-[24px] leading-[30px] font-bold text-[#2C2C2C]", children: translate2("cancelUploadTitle") }),
27177
+ /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-center text-[14px] leading-[18px] text-[#2C2C2C] font-normal", children: translate2("cancelUploadDescription") })
27178
27178
  ] }),
27179
27179
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full gap-4 flex items-center justify-center", children: [
27180
27180
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -27183,7 +27183,7 @@ function MergeAndCheckData({ taxDeductionMethod }) {
27183
27183
  type: "button",
27184
27184
  onClick: () => setShowCancelPopup(false),
27185
27185
  className: "w-full px-4 py-[7.5px] border-[#00BAEE] border bg-white text-[#00BAEE] text-sm font-medium rounded-lg",
27186
- children: "Đóng"
27186
+ children: translate2("close")
27187
27187
  }
27188
27188
  ),
27189
27189
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -27195,7 +27195,7 @@ function MergeAndCheckData({ taxDeductionMethod }) {
27195
27195
  setShowCancelPopup(false);
27196
27196
  },
27197
27197
  className: "w-full px-4 py-[7.5px] bg-[#1F2B7B] border border-[#1F2B7B] text-[#00BAEE] text-sm rounded-lg ",
27198
- children: "Ngưng tải lên"
27198
+ children: translate2("stopUpload")
27199
27199
  }
27200
27200
  )
27201
27201
  ] })