@atomsolution/sdk-merchant 1.6.7 → 1.6.9
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/batch-product-creation.cjs +2 -3
- package/dist/batch-product-creation.cjs.map +1 -1
- package/dist/batch-product-creation.esm.js +2 -3
- package/dist/batch-product-creation.esm.js.map +1 -1
- package/dist/batch-product-creation.js +2 -3
- package/dist/batch-product-creation.js.map +1 -1
- package/package.json +1 -1
|
@@ -29261,6 +29261,7 @@ const ConfirmModal = ({
|
|
|
29261
29261
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
29262
29262
|
dropdownMenuAbsolute.Button,
|
|
29263
29263
|
{
|
|
29264
|
+
loading: disable,
|
|
29264
29265
|
fullWidth: true,
|
|
29265
29266
|
className: "mt-0 flex-1",
|
|
29266
29267
|
variant: "outline",
|
|
@@ -29317,7 +29318,6 @@ const createProductsService = {
|
|
|
29317
29318
|
);
|
|
29318
29319
|
})
|
|
29319
29320
|
};
|
|
29320
|
-
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
29321
29321
|
const CreateProductConfirmModal = ({
|
|
29322
29322
|
checkedProducts,
|
|
29323
29323
|
numCheckedProducts,
|
|
@@ -29345,7 +29345,6 @@ const CreateProductConfirmModal = ({
|
|
|
29345
29345
|
}, taxDeductionMethod === "credit" ? { price_after_vat: (_b = product.priceAfterTax) != null ? _b : 0 } : {});
|
|
29346
29346
|
});
|
|
29347
29347
|
try {
|
|
29348
|
-
yield sleep(5e3);
|
|
29349
29348
|
const response = yield createProductsService.createProducts(
|
|
29350
29349
|
formattedProducts
|
|
29351
29350
|
);
|
|
@@ -57699,7 +57698,7 @@ const ProductPreviewTable = ({
|
|
|
57699
57698
|
setCheckedProducts,
|
|
57700
57699
|
taxDeductionMethod
|
|
57701
57700
|
}) => {
|
|
57702
|
-
const { language } =
|
|
57701
|
+
const { language } = useExternalConfig_store.useExternalConfigStore();
|
|
57703
57702
|
const [showUpdateProductModal, setShowUpdateProductModal] = React.useState(false);
|
|
57704
57703
|
const [selectedProduct, setSelectedProduct] = React.useState(null);
|
|
57705
57704
|
const [productsTableData, setProductsTableData] = React.useState(
|