@atomsolution/sdk-merchant 1.8.3 → 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.
- package/dist/assets/locales/en/file.json.d.ts +2 -2
- package/dist/assets/locales/vi/file.json.d.ts +2 -2
- package/dist/batch-product-creation/components/merchant-batch-create-form/product-info-preview/index.d.ts +1 -1
- package/dist/batch-product-creation.cjs +51 -37
- package/dist/batch-product-creation.cjs.map +1 -1
- package/dist/batch-product-creation.esm.js +51 -37
- package/dist/batch-product-creation.esm.js.map +1 -1
- package/dist/batch-product-creation.js +51 -37
- package/dist/batch-product-creation.js.map +1 -1
- package/dist/components/common/dataTable/tableHeader.d.ts +1 -1
- package/dist/digistore.cjs +1 -1
- package/dist/digistore.esm.js +1 -1
- package/dist/digistore.js +1 -1
- package/dist/{dropdownMenuAbsolute-BvDBLhd-.js → dropdownMenuAbsolute-0z-SL48l.js} +4 -6
- package/dist/{dropdownMenuAbsolute-BvDBLhd-.js.map → dropdownMenuAbsolute-0z-SL48l.js.map} +1 -1
- package/dist/{dropdownMenuAbsolute-djdsnyTz.cjs → dropdownMenuAbsolute-t4SPWS3W.cjs} +4 -6
- package/dist/{dropdownMenuAbsolute-djdsnyTz.cjs.map → dropdownMenuAbsolute-t4SPWS3W.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/shared.cjs +1 -1
- package/dist/shared.esm.js +1 -1
- package/dist/shared.js +1 -1
- package/dist/{use-external-config.store-CAZvrNUF.js → use-external-config.store-CaaNmLce.js} +2 -2
- package/dist/{use-external-config.store-CAZvrNUF.js.map → use-external-config.store-CaaNmLce.js.map} +1 -1
- package/dist/{use-external-config.store-D2beE35F.cjs → use-external-config.store-WVwivWvK.cjs} +2 -2
- package/dist/{use-external-config.store-D2beE35F.cjs.map → use-external-config.store-WVwivWvK.cjs.map} +1 -1
- package/dist/{use-translation-CD6xknr3.cjs → use-translation-Ba-GPTbc.cjs} +6 -6
- package/dist/{use-translation-CD6xknr3.cjs.map → use-translation-Ba-GPTbc.cjs.map} +1 -1
- package/dist/{use-translation-DFiePp2h.js → use-translation-Dpu_N-4j.js} +6 -6
- package/dist/{use-translation-DFiePp2h.js.map → use-translation-Dpu_N-4j.js.map} +1 -1
- package/package.json +1 -1
|
@@ -2,5 +2,5 @@ import { TableHeader } from './dataTable';
|
|
|
2
2
|
interface TableHeaderProps<T> {
|
|
3
3
|
headers: TableHeader<T>[];
|
|
4
4
|
}
|
|
5
|
-
declare const TableHeaderComponent: <T extends object>({ headers
|
|
5
|
+
declare const TableHeaderComponent: <T extends object>({ headers }: TableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default TableHeaderComponent;
|
package/dist/digistore.cjs
CHANGED
|
@@ -22,7 +22,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
22
22
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
23
23
|
const jsxRuntime = require("./jsx-runtime-DV8UmLi4.cjs");
|
|
24
24
|
const React = require("react");
|
|
25
|
-
const useTranslation = require("./use-translation-
|
|
25
|
+
const useTranslation = require("./use-translation-Ba-GPTbc.cjs");
|
|
26
26
|
const index = require("./index-Ozgk-K52.cjs");
|
|
27
27
|
const axios = require("axios");
|
|
28
28
|
const EyeIcon = ({ className }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
|
package/dist/digistore.esm.js
CHANGED
|
@@ -20,7 +20,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20
20
|
};
|
|
21
21
|
import { j as jsxRuntimeExports } from "./jsx-runtime-ClP9nxnW.js";
|
|
22
22
|
import { useState, useMemo, useCallback } from "react";
|
|
23
|
-
import { u as useTranslation } from "./use-translation-
|
|
23
|
+
import { u as useTranslation } from "./use-translation-Dpu_N-4j.js";
|
|
24
24
|
import { C as CustomToast } from "./index-ChOpfqCh.js";
|
|
25
25
|
import axios from "axios";
|
|
26
26
|
const EyeIcon = ({ className }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
package/dist/digistore.js
CHANGED
|
@@ -20,7 +20,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20
20
|
};
|
|
21
21
|
import { j as jsxRuntimeExports } from "./jsx-runtime-ClP9nxnW.js";
|
|
22
22
|
import { useState, useMemo, useCallback } from "react";
|
|
23
|
-
import { u as useTranslation } from "./use-translation-
|
|
23
|
+
import { u as useTranslation } from "./use-translation-Dpu_N-4j.js";
|
|
24
24
|
import { C as CustomToast } from "./index-ChOpfqCh.js";
|
|
25
25
|
import axios from "axios";
|
|
26
26
|
const EyeIcon = ({ className }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -31,7 +31,7 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import { j as jsxRuntimeExports } from "./jsx-runtime-ClP9nxnW.js";
|
|
33
33
|
import React__default, { useState, useEffect, useRef, useLayoutEffect } from "react";
|
|
34
|
-
import { u as useTranslation } from "./use-translation-
|
|
34
|
+
import { u as useTranslation } from "./use-translation-Dpu_N-4j.js";
|
|
35
35
|
import { createPortal } from "react-dom";
|
|
36
36
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
37
37
|
function getDefaultExportFromCjs(x) {
|
|
@@ -3062,15 +3062,13 @@ const TableSkeleton = ({
|
|
|
3062
3062
|
/* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: Array.from({ length: rows }).map((_, rowIndex) => /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { className: "border-b", children: Array.from({ length: columns }).map((_2, colIndex) => /* @__PURE__ */ jsxRuntimeExports.jsx("td", { className: "px-4 py-3", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "h-4 bg-gray-200 rounded w-full" }) }, colIndex)) }, rowIndex)) })
|
|
3063
3063
|
] }) });
|
|
3064
3064
|
};
|
|
3065
|
-
const TableHeaderComponent = ({
|
|
3066
|
-
headers
|
|
3067
|
-
}) => {
|
|
3065
|
+
const TableHeaderComponent = ({ headers }) => {
|
|
3068
3066
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("thead", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { className: "border-b border-gray-200", children: headers.map((header, index) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3069
3067
|
"th",
|
|
3070
3068
|
{
|
|
3071
3069
|
className: `
|
|
3072
3070
|
px-4 py-3 text-left text-base font-semibold text-[#475467] tracking-wide
|
|
3073
|
-
md:px-2 md:py-2 md:text-sm
|
|
3071
|
+
md:px-2 md:py-2 md:text-sm whitespace-nowrap
|
|
3074
3072
|
`,
|
|
3075
3073
|
style: {
|
|
3076
3074
|
width: header.width,
|
|
@@ -3841,4 +3839,4 @@ export {
|
|
|
3841
3839
|
twMerge as t,
|
|
3842
3840
|
useMediaQuery as u
|
|
3843
3841
|
};
|
|
3844
|
-
//# sourceMappingURL=dropdownMenuAbsolute-
|
|
3842
|
+
//# sourceMappingURL=dropdownMenuAbsolute-0z-SL48l.js.map
|