@atomsolution/sdk-merchant 1.6.2 → 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.
- package/dist/assets/locales/en/file.json.d.ts +4 -1
- package/dist/assets/locales/en/merchant-batch-create-form.json.d.ts +2 -1
- package/dist/assets/locales/vi/file.json.d.ts +4 -1
- package/dist/assets/locales/vi/merchant-batch-create-form.json.d.ts +3 -2
- package/dist/batch-product-creation.cjs +50 -16
- package/dist/batch-product-creation.cjs.map +1 -1
- package/dist/batch-product-creation.esm.js +50 -16
- package/dist/batch-product-creation.esm.js.map +1 -1
- package/dist/batch-product-creation.js +50 -16
- package/dist/batch-product-creation.js.map +1 -1
- package/dist/digistore.cjs +1 -1
- package/dist/digistore.esm.js +1 -1
- package/dist/digistore.js +1 -1
- package/dist/{dropdownMenuAbsolute-Ds24HaUN.js → dropdownMenuAbsolute-CZJdH-DA.js} +2 -2
- package/dist/{dropdownMenuAbsolute-Ds24HaUN.js.map → dropdownMenuAbsolute-CZJdH-DA.js.map} +1 -1
- package/dist/{dropdownMenuAbsolute-CLsfHK7_.cjs → dropdownMenuAbsolute-Dwd-XAjy.cjs} +2 -2
- package/dist/{dropdownMenuAbsolute-CLsfHK7_.cjs.map → dropdownMenuAbsolute-Dwd-XAjy.cjs.map} +1 -1
- package/dist/merchant-profile.cjs +2 -2
- package/dist/merchant-profile.esm.js +2 -2
- package/dist/merchant-profile.js +2 -2
- package/dist/style.css +4 -0
- package/dist/use-external-config.store-CaaNmLce.js.map +1 -1
- package/dist/use-external-config.store-WVwivWvK.cjs.map +1 -1
- package/dist/{use-translation-GCjcVK7-.cjs → use-translation-CEsmTQjP.cjs} +19 -6
- package/dist/{use-translation-GCjcVK7-.cjs.map → use-translation-CEsmTQjP.cjs.map} +1 -1
- package/dist/{use-translation-CsiF3PR6.js → use-translation-IKmTNALv.js} +19 -6
- package/dist/{use-translation-CsiF3PR6.js.map → use-translation-IKmTNALv.js.map} +1 -1
- package/dist/utils/translations.d.ts +6 -0
- 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-
|
|
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-
|
|
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";
|
|
@@ -26918,15 +26918,49 @@ function MergeAndCheckData({ taxDeductionMethod }) {
|
|
|
26918
26918
|
/* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "text-[20px] leading-[30px] font-bold text-[#0E121B] mb-2", children: translate2("mergeDataTitle") }),
|
|
26919
26919
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-[16px] leading-[20px] font-normal text-[#0E121B] whitespace-pre-line", children: translate2("mergeDescription") }),
|
|
26920
26920
|
/* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
|
|
26921
|
-
taxDeductionMethod == "direct" && /* @__PURE__ */ jsxRuntimeExports.
|
|
26922
|
-
|
|
26923
|
-
|
|
26924
|
-
|
|
26925
|
-
|
|
26926
|
-
|
|
26921
|
+
taxDeductionMethod == "direct" && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex items-center gap-2 p-3 bg-blue-50 rounded-lg", children: [
|
|
26922
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
26923
|
+
"svg",
|
|
26924
|
+
{
|
|
26925
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26926
|
+
width: "16",
|
|
26927
|
+
height: "16",
|
|
26928
|
+
viewBox: "0 0 16 16",
|
|
26929
|
+
fill: "none",
|
|
26930
|
+
children: [
|
|
26931
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("g", { "clip-path": "url(#clip0_15611_172398)", children: [
|
|
26932
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
26933
|
+
"path",
|
|
26934
|
+
{
|
|
26935
|
+
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",
|
|
26936
|
+
fill: "#335CFF"
|
|
26937
|
+
}
|
|
26938
|
+
),
|
|
26939
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
26940
|
+
"path",
|
|
26941
|
+
{
|
|
26942
|
+
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",
|
|
26943
|
+
stroke: "#EBF1FF",
|
|
26944
|
+
"stroke-width": "0.914286",
|
|
26945
|
+
"stroke-linecap": "round",
|
|
26946
|
+
"stroke-linejoin": "round"
|
|
26947
|
+
}
|
|
26948
|
+
)
|
|
26949
|
+
] }),
|
|
26950
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("defs", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("clipPath", { id: "clip0_15611_172398", children: /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
26951
|
+
]
|
|
26927
26952
|
}
|
|
26928
|
-
|
|
26929
|
-
|
|
26953
|
+
),
|
|
26954
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
26955
|
+
"p",
|
|
26956
|
+
{
|
|
26957
|
+
className: "text-sm leading-5 font-normal text-blue-900",
|
|
26958
|
+
dangerouslySetInnerHTML: {
|
|
26959
|
+
__html: translate2("directTaxNote")
|
|
26960
|
+
}
|
|
26961
|
+
}
|
|
26962
|
+
)
|
|
26963
|
+
] })
|
|
26930
26964
|
] }),
|
|
26931
26965
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex gap-4 items-center justify-start", children: [
|
|
26932
26966
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -27088,7 +27122,7 @@ function MergeAndCheckData({ taxDeductionMethod }) {
|
|
|
27088
27122
|
onClick: () => setShowCancelPopup(true),
|
|
27089
27123
|
disabled: isChecking,
|
|
27090
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"}`,
|
|
27091
|
-
children: "
|
|
27125
|
+
children: translate2("cancel")
|
|
27092
27126
|
}
|
|
27093
27127
|
),
|
|
27094
27128
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -27129,7 +27163,7 @@ function MergeAndCheckData({ taxDeductionMethod }) {
|
|
|
27129
27163
|
]
|
|
27130
27164
|
}
|
|
27131
27165
|
),
|
|
27132
|
-
isChecking ? "
|
|
27166
|
+
isChecking ? translate2("checking") : translate2("checkData")
|
|
27133
27167
|
]
|
|
27134
27168
|
}
|
|
27135
27169
|
)
|
|
@@ -27139,8 +27173,8 @@ function MergeAndCheckData({ taxDeductionMethod }) {
|
|
|
27139
27173
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "fixed inset-0 bg-[#0000004D] z-40" }),
|
|
27140
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: [
|
|
27141
27175
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col gap-6", children: [
|
|
27142
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("h3", { className: "text-center text-[24px] leading-[30px] font-bold text-[#2C2C2C]", children: "
|
|
27143
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-center text-[14px] leading-[18px] text-[#2C2C2C] font-normal", children: "
|
|
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") })
|
|
27144
27178
|
] }),
|
|
27145
27179
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "w-full gap-4 flex items-center justify-center", children: [
|
|
27146
27180
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -27149,7 +27183,7 @@ function MergeAndCheckData({ taxDeductionMethod }) {
|
|
|
27149
27183
|
type: "button",
|
|
27150
27184
|
onClick: () => setShowCancelPopup(false),
|
|
27151
27185
|
className: "w-full px-4 py-[7.5px] border-[#00BAEE] border bg-white text-[#00BAEE] text-sm font-medium rounded-lg",
|
|
27152
|
-
children: "
|
|
27186
|
+
children: translate2("close")
|
|
27153
27187
|
}
|
|
27154
27188
|
),
|
|
27155
27189
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -27161,7 +27195,7 @@ function MergeAndCheckData({ taxDeductionMethod }) {
|
|
|
27161
27195
|
setShowCancelPopup(false);
|
|
27162
27196
|
},
|
|
27163
27197
|
className: "w-full px-4 py-[7.5px] bg-[#1F2B7B] border border-[#1F2B7B] text-[#00BAEE] text-sm rounded-lg ",
|
|
27164
|
-
children: "
|
|
27198
|
+
children: translate2("stopUpload")
|
|
27165
27199
|
}
|
|
27166
27200
|
)
|
|
27167
27201
|
] })
|