@atomsolution/sdk-merchant 1.6.2 → 1.6.3

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 (25) hide show
  1. package/dist/assets/locales/en/merchant-batch-create-form.json.d.ts +2 -1
  2. package/dist/assets/locales/vi/merchant-batch-create-form.json.d.ts +2 -1
  3. package/dist/batch-product-creation.cjs +44 -10
  4. package/dist/batch-product-creation.cjs.map +1 -1
  5. package/dist/batch-product-creation.esm.js +44 -10
  6. package/dist/batch-product-creation.esm.js.map +1 -1
  7. package/dist/batch-product-creation.js +44 -10
  8. package/dist/batch-product-creation.js.map +1 -1
  9. package/dist/digistore.cjs +1 -1
  10. package/dist/digistore.esm.js +1 -1
  11. package/dist/digistore.js +1 -1
  12. package/dist/{dropdownMenuAbsolute-Ds24HaUN.js → dropdownMenuAbsolute-CLw6DPyb.js} +2 -2
  13. package/dist/{dropdownMenuAbsolute-Ds24HaUN.js.map → dropdownMenuAbsolute-CLw6DPyb.js.map} +1 -1
  14. package/dist/{dropdownMenuAbsolute-CLsfHK7_.cjs → dropdownMenuAbsolute-DlrCbNFH.cjs} +2 -2
  15. package/dist/{dropdownMenuAbsolute-CLsfHK7_.cjs.map → dropdownMenuAbsolute-DlrCbNFH.cjs.map} +1 -1
  16. package/dist/merchant-profile.cjs +2 -2
  17. package/dist/merchant-profile.esm.js +2 -2
  18. package/dist/merchant-profile.js +2 -2
  19. package/dist/style.css +4 -0
  20. package/dist/{use-translation-CsiF3PR6.js → use-translation-B8KAf9vm.js} +7 -3
  21. package/dist/{use-translation-CsiF3PR6.js.map → use-translation-B8KAf9vm.js.map} +1 -1
  22. package/dist/{use-translation-GCjcVK7-.cjs → use-translation-FLryNm-e.cjs} +7 -3
  23. package/dist/{use-translation-GCjcVK7-.cjs.map → use-translation-FLryNm-e.cjs.map} +1 -1
  24. package/dist/utils/translations.d.ts +2 -0
  25. package/package.json +1 -1
@@ -91,7 +91,8 @@ declare const _default: {
91
91
  "category_invalid": "Product category is invalid",
92
92
  "toast_delete_image_success": "Delete image successfully",
93
93
  "delete_image_confirm_title": "Confirm delete image",
94
- "delete_image_confirm_description": "Are you sure you want to delete this product image?"
94
+ "delete_image_confirm_description": "Are you sure you want to delete this product image?",
95
+ "select_tax": "Select Tax VAT"
95
96
  }
96
97
  ;
97
98
 
@@ -91,7 +91,8 @@ declare const _default: {
91
91
  "category_invalid": "Danh mục sản phẩm không hợp lệ",
92
92
  "toast_delete_image_success": "Xóa ảnh thành công",
93
93
  "delete_image_confirm_title": "Xác nhận xóa ảnh",
94
- "delete_image_confirm_description": "Bạn có chắc chắn muốn xoá hình ảnh của sản phẩm không?"
94
+ "delete_image_confirm_description": "Bạn có chắc chắn muốn xoá hình ảnh của sản phẩm không?",
95
+ "select_tax": "Chọn thuế VAT"
95
96
  }
96
97
  ;
97
98
 
@@ -70,13 +70,13 @@ var __asyncGenerator = (__this, __arguments, generator) => {
70
70
  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);
71
71
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
72
72
  const jsxRuntime = require("./jsx-runtime-DV8UmLi4.cjs");
73
- const useTranslation = require("./use-translation-GCjcVK7-.cjs");
73
+ const useTranslation = require("./use-translation-FLryNm-e.cjs");
74
74
  const reactToastify = require("react-toastify");
75
75
  const useWesapApiConfig_store = require("./use-wesap-api-config.store-BaseWS--.cjs");
76
76
  const React = require("react");
77
77
  const create = require("zustand");
78
78
  const useExternalConfig_store = require("./use-external-config.store-WVwivWvK.cjs");
79
- const dropdownMenuAbsolute = require("./dropdownMenuAbsolute-CLsfHK7_.cjs");
79
+ const dropdownMenuAbsolute = require("./dropdownMenuAbsolute-DlrCbNFH.cjs");
80
80
  const ReactDOM = require("react-dom");
81
81
  const index = require("./index-Ozgk-K52.cjs");
82
82
  const axios = require("axios");
@@ -26936,15 +26936,49 @@ function MergeAndCheckData({ taxDeductionMethod }) {
26936
26936
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("h2", { className: "text-[20px] leading-[30px] font-bold text-[#0E121B] mb-2", children: translate("mergeDataTitle") }),
26937
26937
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("p", { className: "text-[16px] leading-[20px] font-normal text-[#0E121B] whitespace-pre-line", children: translate("mergeDescription") }),
26938
26938
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("br", {}),
26939
- taxDeductionMethod == "direct" && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
26940
- "p",
26941
- {
26942
- className: "text-[14px] w-fit leading-[18px] font-normal text-[#0E121B] bg-blue-200",
26943
- dangerouslySetInnerHTML: {
26944
- __html: translate("directTaxNote")
26939
+ taxDeductionMethod == "direct" && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 p-3 bg-blue-50 rounded-lg", children: [
26940
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
26941
+ "svg",
26942
+ {
26943
+ xmlns: "http://www.w3.org/2000/svg",
26944
+ width: "16",
26945
+ height: "16",
26946
+ viewBox: "0 0 16 16",
26947
+ fill: "none",
26948
+ children: [
26949
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs("g", { "clip-path": "url(#clip0_15611_172398)", children: [
26950
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
26951
+ "path",
26952
+ {
26953
+ d: "M5.25619 12.9656V13.8799C5.25619 15.3948 6.48417 16.1656 7.99905 16.1656C9.51393 16.1656 10.7419 15.3948 10.7419 13.8799V12.9656M2.51333 4.73708C2.51333 1.7074 4.96936 0.165649 7.99905 0.165649C11.0287 0.165649 13.4848 1.7074 13.4848 4.73708C13.4848 6.51006 14.1293 8.49781 14.7937 10.0755C15.3452 11.3855 14.4193 12.9656 12.998 12.9656H3.00007C1.57873 12.9656 0.652929 11.3855 1.20446 10.0755C1.8687 8.49781 2.51333 6.51006 2.51333 4.73708Z",
26954
+ fill: "#335CFF"
26955
+ }
26956
+ ),
26957
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
26958
+ "path",
26959
+ {
26960
+ d: "M5.25619 12.9656V13.8799C5.25619 15.3948 6.48417 16.1656 7.99905 16.1656C9.51393 16.1656 10.7419 15.3948 10.7419 13.8799V12.9656M2.51333 4.73708C2.51333 1.7074 4.96936 0.165649 7.99905 0.165649C11.0287 0.165649 13.4848 1.7074 13.4848 4.73708C13.4848 6.51006 14.1293 8.49781 14.7937 10.0755C15.3452 11.3855 14.4193 12.9656 12.998 12.9656H3.00007C1.57873 12.9656 0.652929 11.3855 1.20446 10.0755C1.8687 8.49781 2.51333 6.51006 2.51333 4.73708Z",
26961
+ stroke: "#EBF1FF",
26962
+ "stroke-width": "0.914286",
26963
+ "stroke-linecap": "round",
26964
+ "stroke-linejoin": "round"
26965
+ }
26966
+ )
26967
+ ] }),
26968
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("clipPath", { id: "clip0_15611_172398", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
26969
+ ]
26945
26970
  }
26946
- }
26947
- )
26971
+ ),
26972
+ /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
26973
+ "p",
26974
+ {
26975
+ className: "text-sm leading-5 font-normal text-blue-900",
26976
+ dangerouslySetInnerHTML: {
26977
+ __html: translate("directTaxNote")
26978
+ }
26979
+ }
26980
+ )
26981
+ ] })
26948
26982
  ] }),
26949
26983
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs("div", { className: "flex gap-4 items-center justify-start", children: [
26950
26984
  /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(