hasting-swatchcart-module 1.0.15 → 1.0.17
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/index.css +1 -0
- package/dist/cdn/lib/components/SwatchesModule.d.ts +11 -0
- package/dist/cdn/lib/main.d.ts +9 -0
- package/dist/cdn/lib/store/LibraryProvider.d.ts +6 -0
- package/dist/cdn/lib/store/rootReducer.d.ts +11 -0
- package/dist/cdn/lib/store/store.d.ts +30 -0
- package/dist/cdn/lib/store/withStore.d.ts +2 -0
- package/dist/cdn/lib/vite-env.d.ts +1 -0
- package/dist/cdn/main.css +1 -0
- package/dist/cdn/main.js +17368 -0
- package/dist/cdn/src/app/App.d.ts +2 -0
- package/dist/cdn/src/app/assets/svg/ArrowIconSVG.d.ts +3 -0
- package/dist/cdn/src/app/assets/svg/CheckMarkIconSVG.d.ts +3 -0
- package/dist/cdn/src/app/assets/svg/ChevronSVGIcon.d.ts +3 -0
- package/dist/cdn/src/app/assets/svg/CloseIconSVG.d.ts +3 -0
- package/dist/cdn/src/app/assets/svg/DarkWhiteIconSVG.d.ts +1 -0
- package/dist/cdn/src/app/assets/svg/MinusIconSVG.d.ts +3 -0
- package/dist/cdn/src/app/assets/svg/PlusIconSVG.d.ts +3 -0
- package/dist/cdn/src/app/assets/svg/SearchIconSVG.d.ts +3 -0
- package/dist/cdn/src/app/assets/svg/TrashIconSVG.d.ts +3 -0
- package/dist/cdn/src/app/assets/svg/WhiteWhiteIconSVG.d.ts +1 -0
- package/dist/cdn/src/app/main.d.ts +1 -0
- package/dist/cdn/src/app/providers/StoreProvider.d.ts +6 -0
- package/dist/cdn/src/app/store/rootReducer.d.ts +11 -0
- package/dist/cdn/src/app/store/store.d.ts +30 -0
- package/dist/cdn/src/features/Cart/lib/CartCervices.d.ts +5 -0
- package/dist/cdn/src/features/Cart/model/cartSlice.d.ts +13 -0
- package/dist/cdn/src/features/Cart/model/selectors.d.ts +223 -0
- package/dist/cdn/src/features/Cart/model/types.d.ts +7 -0
- package/dist/cdn/src/features/Cart/ui/CartHeader/CartHeader.d.ts +7 -0
- package/dist/cdn/src/features/Cart/ui/CartList/CartList.d.ts +1 -0
- package/dist/cdn/src/features/Cart/ui/CartListItem/CartListItem.d.ts +10 -0
- package/dist/cdn/src/features/Cart/ui/CartWrapper/CartWrapper.d.ts +9 -0
- package/dist/cdn/src/features/Cart/ui/Counter/Counter.d.ts +9 -0
- package/dist/cdn/src/features/DataAdapter/lib/DataAdapterServices.d.ts +14 -0
- package/dist/cdn/src/features/DataAdapter/utils/types.d.ts +11 -0
- package/dist/cdn/src/features/MultiProduct/lib/MultiProductCartServices.d.ts +13 -0
- package/dist/cdn/src/features/MultiProduct/model/API/api.d.ts +4 -0
- package/dist/cdn/src/features/MultiProduct/model/API/routes.d.ts +4 -0
- package/dist/cdn/src/features/MultiProduct/model/multiProductCartSlice.d.ts +9 -0
- package/dist/cdn/src/features/MultiProduct/model/selectors.d.ts +38 -0
- package/dist/cdn/src/features/MultiProduct/model/thunk.d.ts +11 -0
- package/dist/cdn/src/features/MultiProduct/model/types.d.ts +56 -0
- package/dist/cdn/src/features/MultiProduct/ui/CartSelectedProductList/CartSelectedProductList.d.ts +1 -0
- package/dist/cdn/src/features/MultiProduct/ui/FiltersSelectedProductItem/FiltersSelectedProductItem.d.ts +1 -0
- package/dist/cdn/src/features/MultiProduct/ui/MaterialMultiProductList/MaterialMultiProductList.d.ts +7 -0
- package/dist/cdn/src/features/MultiProduct/ui/MultiProductCartHeader/MultiProductCartHeader.d.ts +5 -0
- package/dist/cdn/src/features/MultiProduct/ui/MultiProductItemCart/MultiProductItemCart.d.ts +5 -0
- package/dist/cdn/src/features/MultiProduct/ui/MultiProductWrapper/MultiProductWrapper.d.ts +6 -0
- package/dist/cdn/src/features/MultiProduct/ui/ProductList/ProductList.d.ts +1 -0
- package/dist/cdn/src/features/MultiProduct/ui/ProductListItem/ProductListItem.d.ts +6 -0
- package/dist/cdn/src/features/MultiProduct/ui/SelectedProductItem/SelectedProductItem.d.ts +1 -0
- package/dist/cdn/src/features/MultiProduct/ui/SwatchContentContainer/SwatchContentContainer.d.ts +1 -0
- package/dist/cdn/src/features/MultiProduct/ui/SwatchListItem/SwatchListItem.d.ts +8 -0
- package/dist/cdn/src/features/MultiProduct/ui/SwatchesMultiProductList/SwatchesMultiProductList.d.ts +7 -0
- package/dist/cdn/src/features/MultiProduct/utils/constants.d.ts +6 -0
- package/dist/cdn/src/features/MultiProduct/utils/randomList.d.ts +2 -0
- package/dist/cdn/src/features/SwatchModule/SwatchModule/ui/SwatchModule.d.ts +2 -0
- package/dist/cdn/src/features/swatches/lib/AttributeHelper.d.ts +7 -0
- package/dist/cdn/src/features/swatches/lib/SwatchesServices.d.ts +11 -0
- package/dist/cdn/src/features/swatches/model/selectors.d.ts +10 -0
- package/dist/cdn/src/features/swatches/model/swatchesSlice.d.ts +28 -0
- package/dist/cdn/src/features/swatches/model/thunks.d.ts +12 -0
- package/dist/cdn/src/features/swatches/model/types.d.ts +147 -0
- package/dist/cdn/src/features/swatches/ui/Filters/ColorsFilter.d.ts +1 -0
- package/dist/cdn/src/features/swatches/ui/Filters/LooksFilter.d.ts +1 -0
- package/dist/cdn/src/features/swatches/ui/Filters/MaterialsFilter.d.ts +1 -0
- package/dist/cdn/src/features/swatches/ui/Filters/index.d.ts +1 -0
- package/dist/cdn/src/features/swatches/ui/HexGridZoom/HexGridZoom.d.ts +3 -0
- package/dist/cdn/src/features/swatches/ui/ImageGridZoom/ImageGridZoom.d.ts +3 -0
- package/dist/cdn/src/features/swatches/ui/MaterialSingleProductList/MaterialSingleProductList.d.ts +7 -0
- package/dist/cdn/src/features/swatches/ui/ProductElement/index.d.ts +6 -0
- package/dist/cdn/src/features/swatches/ui/SwatchWrapper/SwatchWrapper.d.ts +8 -0
- package/dist/cdn/src/features/swatches/ui/Swatches.d.ts +2 -0
- package/dist/cdn/src/features/swatches/ui/SwatchesList/SwatchesList.d.ts +7 -0
- package/dist/cdn/src/features/swatches/ui/SwatchesListWrapper/SwatchesListWrapper.d.ts +1 -0
- package/dist/cdn/src/features/swatches/utils/constants.d.ts +3 -0
- package/dist/cdn/src/features/swatches/utils/types.d.ts +22 -0
- package/dist/cdn/src/shared/constants/constants.d.ts +1 -0
- package/dist/cdn/src/shared/constants/props.d.ts +1058 -0
- package/dist/cdn/src/shared/constants/select.d.ts +4 -0
- package/dist/cdn/src/shared/constants/selectedMaterials.d.ts +1 -0
- package/dist/cdn/src/shared/types/activeTab.d.ts +5 -0
- package/dist/cdn/src/shared/types/fetchData.d.ts +41 -0
- package/dist/cdn/src/shared/types/svg.d.ts +3 -0
- package/dist/cdn/src/shared/ui/CartPrice/CartPrice.d.ts +7 -0
- package/dist/cdn/src/shared/ui/Checkbox/Checkbox.d.ts +4 -0
- package/dist/cdn/src/shared/ui/CustomButton/CustomButton.d.ts +6 -0
- package/dist/cdn/src/shared/ui/CustomModal/CustomModal.d.ts +11 -0
- package/dist/cdn/src/shared/ui/CustomSidebar/CustomSidebar.d.ts +8 -0
- package/dist/cdn/src/shared/ui/Dialog/Dialog.d.ts +19 -0
- package/dist/cdn/src/shared/ui/Hint/Hint.d.ts +11 -0
- package/dist/cdn/src/shared/ui/Label/Label.d.ts +7 -0
- package/dist/cdn/src/shared/ui/Loader/Loader.d.ts +10 -0
- package/dist/cdn/src/shared/ui/Markdown/MDWithAccordion.d.ts +0 -0
- package/dist/cdn/src/shared/ui/MaterialItem/MaterialItem.d.ts +8 -0
- package/dist/cdn/src/shared/ui/MaterialListItem/MaterialListItem.d.ts +7 -0
- package/dist/cdn/src/shared/ui/MultiSelect/MultiSelect.d.ts +20 -0
- package/dist/cdn/src/shared/ui/PopoverTooltip/InfoIcon.d.ts +1 -0
- package/dist/cdn/src/shared/ui/PopoverTooltip/PopoverTooltip.d.ts +0 -0
- package/dist/cdn/src/shared/ui/SingleSelect/SingleSelect.d.ts +18 -0
- package/dist/cdn/src/shared/ui/Slider/Slider.d.ts +11 -0
- package/dist/cdn/src/shared/ui/SwatchLimitModal/SwatchLimitModal.d.ts +6 -0
- package/dist/cdn/src/shared/ui/popover.d.ts +9 -0
- package/dist/cdn/src/shared/utils/cn.d.ts +2 -0
- package/dist/cdn/src/shared/utils/uniqueList.d.ts +1 -0
- package/dist/components/SwatchesModule.d.ts +11 -0
- package/dist/main.cjs +135 -0
- package/dist/main.cjs.map +1 -0
- package/dist/main.d.ts +9 -0
- package/dist/main.js +12570 -0
- package/dist/main.js.map +1 -0
- package/dist/store/LibraryProvider.d.ts +6 -0
- package/dist/store/rootReducer.d.ts +11 -0
- package/dist/store/store.d.ts +30 -0
- package/dist/store/withStore.d.ts +2 -0
- package/package.json +4 -13
- package/dist/assets/Poppins-Bold-2q5ngAVi.woff2 +0 -0
- package/dist/assets/Poppins-Bold-CQjaT_ws.woff +0 -0
- package/dist/assets/Poppins-Medium-DJwXWGyq.woff2 +0 -0
- package/dist/assets/Poppins-Medium-DOl3WpZ-.woff +0 -0
- package/dist/assets/Poppins-Regular-6u--lpAX.woff +0 -0
- package/dist/assets/Poppins-Regular-F7nXZSOf.woff2 +0 -0
- package/dist/assets/Poppins-SemiBold-CsrPp8BB.woff +0 -0
- package/dist/assets/Poppins-SemiBold-N83vw0ch.woff2 +0 -0
- package/dist/assets/index-07Gs7A3g.css +0 -1
- package/dist/assets/index-CAlrp30D.js +0 -145
- package/dist/assets/product_thumb-Bn1S8z9K.png +0 -0
- package/dist/index.html +0 -14
- /package/dist/{vite.svg → cdn/vite.svg} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MAX_SLOTS = 5;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { AttributeValue, IMaterialMetadata } from '../../features/swatches/model/types';
|
|
2
|
+
export interface IValueLabel {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IValueLabelMeta extends IValueLabel {
|
|
7
|
+
metadata: IMaterialMetadata;
|
|
8
|
+
}
|
|
9
|
+
export interface ISection {
|
|
10
|
+
section: string;
|
|
11
|
+
sort: string;
|
|
12
|
+
groups: IGroup[];
|
|
13
|
+
}
|
|
14
|
+
export interface IGroup {
|
|
15
|
+
groupName: string;
|
|
16
|
+
order: string;
|
|
17
|
+
type: 'simple' | string;
|
|
18
|
+
options: IOption[];
|
|
19
|
+
}
|
|
20
|
+
export interface IOption {
|
|
21
|
+
option: string;
|
|
22
|
+
label: string;
|
|
23
|
+
optionName: string;
|
|
24
|
+
order: string;
|
|
25
|
+
type: 'simple' | string;
|
|
26
|
+
typeComponent: 'material' | string;
|
|
27
|
+
values: Record<string, string>;
|
|
28
|
+
valuesArray: IValueLabel[];
|
|
29
|
+
}
|
|
30
|
+
export interface IMaterialOption {
|
|
31
|
+
option: string;
|
|
32
|
+
label: string;
|
|
33
|
+
optionName: string;
|
|
34
|
+
order: number;
|
|
35
|
+
typeComponent: 'material' | string;
|
|
36
|
+
valuesArray: IValueLabelMeta[];
|
|
37
|
+
}
|
|
38
|
+
export interface IFetchProductData {
|
|
39
|
+
structure: ISection[];
|
|
40
|
+
materials: AttributeValue[];
|
|
41
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ICartItem } from '../../../features/Cart/model/types';
|
|
2
|
+
interface ICartPriceProps {
|
|
3
|
+
materials: ICartItem[];
|
|
4
|
+
containerStyles?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const CartPrice: ({ materials, containerStyles, }: ICartPriceProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface ModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
title?: string;
|
|
6
|
+
width?: number | string;
|
|
7
|
+
height?: number | string;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const CustomModal: FC<ModalProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type SidebarProps = {
|
|
3
|
+
isOpen?: boolean;
|
|
4
|
+
setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
declare const CustomSidebar: React.FC<SidebarProps>;
|
|
8
|
+
export default CustomSidebar;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const DialogHeader: {
|
|
10
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
declare const DialogFooter: {
|
|
14
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
18
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
type HintProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
target: HTMLElement | null;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
offset?: number;
|
|
7
|
+
maxWidthPx?: number;
|
|
8
|
+
forceOverflowVisible?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const Hint: React.FC<HintProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ILoaderProps {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
trackClassName?: string;
|
|
5
|
+
accentClassName?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
isOverlay?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const Loader: React.FC<ILoaderProps>;
|
|
10
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AttributeValue } from '../../../features/swatches/model/types';
|
|
2
|
+
export interface IMaterialItemProps {
|
|
3
|
+
val: AttributeValue;
|
|
4
|
+
className?: string;
|
|
5
|
+
isShowDeleteIcon?: boolean;
|
|
6
|
+
handleSelect?: (arg: AttributeValue) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const MaterialItem: ({ val, className, isShowDeleteIcon, handleSelect, }: IMaterialItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AttributeValue } from '../../../features/swatches/model/types';
|
|
2
|
+
interface IMaterialListItemProps {
|
|
3
|
+
val: AttributeValue;
|
|
4
|
+
onClick: (item: AttributeValue) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const MaterialListItem: ({ val, onClick }: IMaterialListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface IMultiSelectOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
count?: number;
|
|
6
|
+
}
|
|
7
|
+
interface MultiSelectProps {
|
|
8
|
+
options: IMultiSelectOption[];
|
|
9
|
+
values: string[];
|
|
10
|
+
onValueChange: (values: string[]) => void;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
dropdownWidth?: string;
|
|
14
|
+
align?: 'start' | 'center' | 'end';
|
|
15
|
+
getTooltipByMaterialAndSection?: (material: string, section: string) => any;
|
|
16
|
+
sectionName?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const MultiSelect: React.ForwardRefExoticComponent<MultiSelectProps & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
export { MultiSelect };
|
|
20
|
+
export type { MultiSelectProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function InfoIcon(props: any): import("react/jsx-runtime").JSX.Element;
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ISingleSelectOption } from '../../../features/MultiProduct/model/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface SingleSelectProps {
|
|
4
|
+
values: ISingleSelectOption[];
|
|
5
|
+
value: string | null;
|
|
6
|
+
onValueChange: (value: string | null) => void;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
dropdownWidth?: string;
|
|
11
|
+
align?: 'start' | 'center' | 'end';
|
|
12
|
+
showClear?: boolean;
|
|
13
|
+
getTooltipByMaterialAndSection?: (material: string, section: string) => any;
|
|
14
|
+
sectionName?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const SingleSelect: React.ForwardRefExoticComponent<SingleSelectProps & React.RefAttributes<HTMLButtonElement>>;
|
|
17
|
+
export { SingleSelect };
|
|
18
|
+
export type { SingleSelectProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IProductCart, ISliderItem } from '../../../features/MultiProduct/model/types';
|
|
3
|
+
interface ISliderProps {
|
|
4
|
+
items: ISliderItem[] | IProductCart[];
|
|
5
|
+
activeId?: ISliderItem['productId'] | IProductCart['productId'];
|
|
6
|
+
onSelect: (item: ISliderItem | IProductCart) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
stepRatio?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const Slider: React.FC<ISliderProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
3
|
+
declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function PopoverTrigger({ stopPropagation, onClick, ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger> & {
|
|
5
|
+
stopPropagation?: boolean;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const uniqueList: (arr: string[]) => string[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EDataInputType } from '../../src/features/DataAdapter/utils/types';
|
|
2
|
+
import { IAttributeAsset } from '../../src/features/swatches/model/types';
|
|
3
|
+
export interface ISwatchesModuleProps {
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
uiDataType: EDataInputType;
|
|
6
|
+
assetId?: string;
|
|
7
|
+
data?: IAttributeAsset[] | any[];
|
|
8
|
+
onToggleSidebar: () => void;
|
|
9
|
+
onSendData: (data: unknown) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const SwatchModule: ({ isOpen, uiDataType, data, assetId, onToggleSidebar, onSendData, }: ISwatchesModuleProps) => import("react/jsx-runtime").JSX.Element;
|