ingeniuscliq-core 0.2.56 → 0.2.58

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 (70) hide show
  1. package/dist/components/templates/index.d.ts +0 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.js +6779 -10675
  4. package/dist/modules/CoreProduct/classes/CoreProductBuilder.d.ts +2 -0
  5. package/dist/modules/CoreProduct/types/CoreProduct.d.ts +4 -4
  6. package/dist/modules/CoreProduct/types/CoreProductCategory.d.ts +0 -3
  7. package/dist/types/CoreImage.d.ts +5 -2
  8. package/dist/ui/index.d.ts +0 -1
  9. package/package.json +1 -1
  10. package/dist/components/templates/partials/CoreFooter.d.ts +0 -1
  11. package/dist/components/templates/partials/CoreHeader.d.ts +0 -6
  12. package/dist/components/templates/partials/CoreMainSearch.d.ts +0 -8
  13. package/dist/components/templates/partials/CoreNavbar.d.ts +0 -8
  14. package/dist/components/templates/partials/CoreSubMenu.d.ts +0 -9
  15. package/dist/components/templates/partials/CoreSubMenuHeader.d.ts +0 -7
  16. package/dist/components/templates/partials/DynamicHeader.d.ts +0 -7
  17. package/dist/components/templates/partials/DynamicMain.d.ts +0 -5
  18. package/dist/components/templates/partials/index.d.ts +0 -8
  19. package/dist/modules/CoreAuth/components/index.d.ts +0 -1
  20. package/dist/modules/CoreAuth/components/layouts/index.d.ts +0 -1
  21. package/dist/modules/CoreAuth/components/layouts/partials/CoreAuthDecorator.d.ts +0 -1
  22. package/dist/modules/CoreAuth/components/layouts/partials/CoreAuthProfileDeleteAccountForm.d.ts +0 -1
  23. package/dist/modules/CoreAuth/components/layouts/partials/CoreAuthProfileForm.d.ts +0 -1
  24. package/dist/modules/CoreAuth/components/layouts/partials/CoreAuthProfileUpdatePassForm.d.ts +0 -1
  25. package/dist/modules/CoreAuth/components/layouts/partials/CoreAuthUserMenu.d.ts +0 -1
  26. package/dist/modules/CoreAuth/components/layouts/partials/index.d.ts +0 -5
  27. package/dist/modules/CoreAuth/registry/ui/index.d.ts +0 -1
  28. package/dist/modules/CoreCustomization/registry/ui/index.d.ts +0 -0
  29. package/dist/modules/CoreOrder/registry/ui/index.d.ts +0 -0
  30. package/dist/modules/CorePayForm/registry/ui/index.d.ts +0 -0
  31. package/dist/modules/CoreProduct/components/index.d.ts +0 -2
  32. package/dist/modules/CoreProduct/components/layouts/index.d.ts +0 -1
  33. package/dist/modules/CoreProduct/components/layouts/partials/TabHead.d.ts +0 -6
  34. package/dist/modules/CoreProduct/components/layouts/partials/index.d.ts +0 -1
  35. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCard.d.ts +0 -15
  36. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCardActions.d.ts +0 -18
  37. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartItemAsideCard.d.ts +0 -7
  38. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartItemCard.d.ts +0 -8
  39. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartSummaryCard.d.ts +0 -7
  40. package/dist/modules/CoreProduct/components/ui/cards/addons/WarrantyLabel.d.ts +0 -10
  41. package/dist/modules/CoreProduct/components/ui/cards/addons/index.d.ts +0 -1
  42. package/dist/modules/CoreProduct/components/ui/cards/index.d.ts +0 -7
  43. package/dist/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCardSkeleton.d.ts +0 -5
  44. package/dist/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCartItemCardSkeleton.d.ts +0 -1
  45. package/dist/modules/CoreProduct/components/ui/cards/skeletons/index.d.ts +0 -2
  46. package/dist/modules/CoreProduct/components/ui/carousels/CoreProductImageCarousel.d.ts +0 -8
  47. package/dist/modules/CoreProduct/components/ui/carousels/index.d.ts +0 -1
  48. package/dist/modules/CoreProduct/components/ui/containers/CoreProductGrid.d.ts +0 -19
  49. package/dist/modules/CoreProduct/components/ui/containers/index.d.ts +0 -1
  50. package/dist/modules/CoreProduct/components/ui/index.d.ts +0 -3
  51. package/dist/modules/CoreProduct/registry/ui/index.d.ts +0 -1
  52. package/dist/modules/CoreShopCart/components/index.d.ts +0 -2
  53. package/dist/modules/CoreShopCart/components/layouts/index.d.ts +0 -1
  54. package/dist/modules/CoreShopCart/components/layouts/partials/CoreShopCartAside.d.ts +0 -12
  55. package/dist/modules/CoreShopCart/components/layouts/partials/CoreShopCartIcon.d.ts +0 -7
  56. package/dist/modules/CoreShopCart/components/layouts/partials/index.d.ts +0 -2
  57. package/dist/modules/CoreShopCart/components/ui/cards/CoreCartItemAsideCard.d.ts +0 -9
  58. package/dist/modules/CoreShopCart/components/ui/cards/index.d.ts +0 -2
  59. package/dist/modules/CoreShopCart/components/ui/cards/skeletons/CoreCartItemAsideCardSkeleton.d.ts +0 -4
  60. package/dist/modules/CoreShopCart/components/ui/cards/skeletons/index.d.ts +0 -1
  61. package/dist/modules/CoreShopCart/components/ui/empty/EmptyCartItems.d.ts +0 -1
  62. package/dist/modules/CoreShopCart/components/ui/empty/index.d.ts +0 -1
  63. package/dist/modules/CoreShopCart/components/ui/index.d.ts +0 -3
  64. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartHintTitle.d.ts +0 -8
  65. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSubtotalText.d.ts +0 -7
  66. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSummaryHead.d.ts +0 -6
  67. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSummaryText.d.ts +0 -7
  68. package/dist/modules/CoreShopCart/components/ui/texts/index.d.ts +0 -4
  69. package/dist/modules/CoreShopCart/registry/ui/index.d.ts +0 -1
  70. package/dist/modules/registry/ui/index.d.ts +0 -3
@@ -11,6 +11,7 @@ export declare class CoreProductBuilder implements CoreBuilder {
11
11
  setOptions: (options: Partial<import('zustand/middleware').PersistOptions<CoreProductStore<CoreProduct, CoreProductCategory>, {
12
12
  productDetails: CoreProduct | null;
13
13
  products: import('../../..').BasePagination<CoreProduct> | null;
14
+ categories: CoreProductCategory[] | null;
14
15
  }>>) => void;
15
16
  clearStorage: () => void;
16
17
  rehydrate: () => Promise<void> | void;
@@ -20,6 +21,7 @@ export declare class CoreProductBuilder implements CoreBuilder {
20
21
  getOptions: () => Partial<import('zustand/middleware').PersistOptions<CoreProductStore<CoreProduct, CoreProductCategory>, {
21
22
  productDetails: CoreProduct | null;
22
23
  products: import('../../..').BasePagination<CoreProduct> | null;
24
+ categories: CoreProductCategory[] | null;
23
25
  }>>;
24
26
  };
25
27
  }>;
@@ -24,14 +24,14 @@ export interface CoreProduct extends BaseType, BaseSlugType, BaseImagesType, Bas
24
24
  export interface CoreProductStore<T extends CoreProduct, K extends CoreProductCategory> extends BaseStore {
25
25
  productDetails: T | null;
26
26
  products: BasePagination<T> | null;
27
- categories: BasePagination<K> | null;
27
+ categories: K[] | null;
28
28
  setProducts: (products: BasePagination<T> | null) => void;
29
- setCategories: (categories: BasePagination<K> | null) => void;
29
+ setCategories: (categories: K[]) => void;
30
30
  setProductDetails: (product: T | null) => void;
31
31
  fetchProducts: (params?: Record<string, any>) => Promise<BaseApiResponsePagination<T>>;
32
32
  getProducts: () => BasePagination<T> | null;
33
33
  fetchProductDetails: (id: string | number) => Promise<BaseApiResponse<T>>;
34
34
  getProductDetails: () => T | null;
35
- fetchCategories: (params?: Record<string, any>) => Promise<BaseApiResponsePagination<K>>;
36
- getCategories: () => BasePagination<K> | null;
35
+ fetchCategories: (params?: Record<string, any>) => Promise<BaseApiResponse<K[]>>;
36
+ getCategories: () => K[] | null;
37
37
  }
@@ -5,6 +5,3 @@ export interface CoreProductCategory extends BaseType {
5
5
  export interface HasProductCategories {
6
6
  categories?: CoreProductCategory[];
7
7
  }
8
- export interface HasProbablyProductCategories {
9
- categories?: CoreProductCategory[];
10
- }
@@ -1,5 +1,8 @@
1
1
  import { BaseType } from './BaseType';
2
2
  export interface CoreImage extends BaseType {
3
- src: string;
4
- alt: string;
3
+ origin: string;
4
+ rectangle: string;
5
+ size: number;
6
+ thumb: string;
7
+ type: string;
5
8
  }
@@ -1,2 +1 @@
1
1
  export * from '../components/index';
2
- export * from '../modules/registry/ui/index';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingeniuscliq-core",
3
- "version": "0.2.56",
3
+ "version": "0.2.58",
4
4
  "description": "IngeniusCliq Core UI y lógica compartida",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1 +0,0 @@
1
- export declare function CoreFooter(): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- interface CoreHeaderProps {
2
- readonly navbar?: React.ReactNode;
3
- readonly subMenuHeader?: React.ReactNode;
4
- }
5
- export declare function CoreHeader({ navbar, subMenuHeader }: CoreHeaderProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,8 +0,0 @@
1
- interface CoreMainSearchProps {
2
- readonly left?: React.ReactNode;
3
- readonly right?: React.ReactNode;
4
- readonly input?: React.ReactNode;
5
- readonly searchButton?: React.ReactNode;
6
- }
7
- export declare function CoreMainSearch({ left, right, input, searchButton }: CoreMainSearchProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,8 +0,0 @@
1
- import { BaseStyleProps } from '../../../types/ui/main';
2
- interface CoreNavbarProps extends BaseStyleProps {
3
- readonly center?: React.ReactNode;
4
- readonly right?: React.ReactNode;
5
- readonly logo?: React.ReactNode;
6
- }
7
- export declare function CoreNavbar({ className, logo, center, right }: CoreNavbarProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,9 +0,0 @@
1
- import { BaseStyleProps } from '../../../types/ui/main';
2
- import { CoreMenuItem } from '../../../types';
3
- interface CoreSubMenuProps extends BaseStyleProps {
4
- classNameItems?: string;
5
- items?: CoreMenuItem[];
6
- itemComponent?: (item: CoreMenuItem) => React.ReactNode;
7
- }
8
- export declare function CoreSubMenu({ className, classNameItems, items, itemComponent }: CoreSubMenuProps): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,7 +0,0 @@
1
- import { BaseStyleProps } from '../../../types/ui/main';
2
- interface CoreSubMenuHeaderProps extends BaseStyleProps {
3
- readonly subMenuHeaderLeft?: React.ReactNode;
4
- readonly subMenuHeaderRight?: React.ReactNode;
5
- }
6
- export declare function CoreSubMenuHeader({ className, subMenuHeaderLeft, subMenuHeaderRight }: CoreSubMenuHeaderProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,7 +0,0 @@
1
- interface DynamicHeaderProps {
2
- navbar: any;
3
- submenuHeader: any;
4
- submenu: any;
5
- }
6
- export declare function DynamicHeader({ navbar, submenuHeader, submenu }: DynamicHeaderProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,5 +0,0 @@
1
- interface DynamicMainProps {
2
- card: any;
3
- }
4
- export declare function DynamicMain({ card }: DynamicMainProps): import("react/jsx-runtime").JSX.Element;
5
- export {};
@@ -1,8 +0,0 @@
1
- export * from './CoreHeader';
2
- export * from './CoreFooter';
3
- export * from './CoreMainSearch';
4
- export * from './CoreSubMenu';
5
- export * from './CoreNavbar';
6
- export * from './CoreSubMenuHeader';
7
- export * from './DynamicHeader';
8
- export * from './DynamicMain';
@@ -1 +0,0 @@
1
- export * from './layouts/index';
@@ -1 +0,0 @@
1
- export * from './partials/index';
@@ -1 +0,0 @@
1
- export declare function CoreAuthDecorator(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function CoreAuthProfileDeleteAccountForm(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function CoreAuthProfileForm(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function CoreAuthProfileUpdatePassForm(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare function CoreAuthUserMenu(): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- export * from './CoreAuthDecorator';
2
- export * from './CoreAuthProfileDeleteAccountForm';
3
- export * from './CoreAuthProfileForm';
4
- export * from './CoreAuthProfileUpdatePassForm';
5
- export * from './CoreAuthUserMenu';
@@ -1 +0,0 @@
1
- export * from '../../components/index';
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- export * from './layouts/index';
2
- export * from './ui/index';
@@ -1 +0,0 @@
1
- export * from './partials/index';
@@ -1,6 +0,0 @@
1
- import { BaseStyleProps } from '../../../../../types/ui/main';
2
- interface TabHeadProps extends BaseStyleProps {
3
- readonly title: string;
4
- }
5
- export declare function TabHead({ title, className }: TabHeadProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1 +0,0 @@
1
- export * from './TabHead';
@@ -1,15 +0,0 @@
1
- import { CoreProduct } from '../../../types/CoreProduct';
2
- import { BaseStyleProps } from '../../../../../types/ui/main';
3
- import { CoreProductCardActionsEvents } from './CoreProductCardActions';
4
- interface CoreProductCardProps extends BaseStyleProps, Omit<CoreProductCardActionsEvents, 'onAddToCart'>, CoreProductCardEvents {
5
- readonly product: CoreProduct;
6
- readonly renderActions?: React.ReactNode;
7
- readonly loadingAddToCart?: boolean;
8
- readonly renderAddons?: React.ReactNode;
9
- }
10
- interface CoreProductCardEvents {
11
- onClick: (product: CoreProduct) => void;
12
- onAddToCart: (product: CoreProduct, quantity: number) => void;
13
- }
14
- export declare function CoreProductCard({ product, className, renderAddons, renderActions, loadingAddToCart, onUpdateQuantity, onAddToCart, onClick }: CoreProductCardProps): import("react/jsx-runtime").JSX.Element;
15
- export {};
@@ -1,18 +0,0 @@
1
- import { BaseStyleProps, BaseVariantProps } from '../../../../../types/ui/main';
2
- export interface CoreProductCardActionsProps extends BaseStyleProps, CoreProductCardActionsEvents, BaseVariantProps {
3
- readonly disabledColor?: boolean;
4
- readonly productQuantity?: number;
5
- readonly minValue?: number;
6
- readonly maxValue?: number;
7
- readonly colorLoading?: string;
8
- readonly loading?: boolean;
9
- }
10
- export interface CoreProductCardActionsEvents {
11
- onUpdateQuantity?: (quantity: number) => void;
12
- onAddToCart?: (quantity: number) => void;
13
- onValidateUpdateQuantity?: () => boolean;
14
- onValidateAddToCart?: () => boolean;
15
- onErrorUpdateQuantity?: () => void;
16
- onErrorAddToCart?: () => void;
17
- }
18
- export declare function CoreProductCardActions({ disabledColor, variant, productQuantity, minValue, maxValue, colorLoading, loading, className, onUpdateQuantity, onAddToCart, onValidateUpdateQuantity, onValidateAddToCart, onErrorAddToCart, onErrorUpdateQuantity }: CoreProductCardActionsProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { CoreProduct } from '../../../types/CoreProduct';
2
- interface CoreProductCartItemAsideCardProps<T extends CoreProduct> {
3
- product: T;
4
- quantity: number;
5
- }
6
- export declare function CoreProductCartItemAsideCard<T extends CoreProduct>({ product, quantity }: CoreProductCartItemAsideCardProps<T>): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,8 +0,0 @@
1
- import { CoreProduct } from '../../../types/CoreProduct';
2
- interface CoreProductCartItemCardProps<T extends CoreProduct> {
3
- product: T;
4
- quantity: number;
5
- actions: React.ReactNode;
6
- }
7
- export declare function CoreProductCartItemCard<T extends CoreProduct>({ product, actions, quantity }: CoreProductCartItemCardProps<T>): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,7 +0,0 @@
1
- import { CoreProduct } from '../../../types/CoreProduct';
2
- import { BaseProps } from '../../../../../types/ui/main';
3
- interface CoreProductCartSummaryCardProps<T extends CoreProduct> extends BaseProps {
4
- product: T;
5
- }
6
- export declare function CoreProductCartSummaryCard<T extends CoreProduct>({ product, children, className }: CoreProductCartSummaryCardProps<T>): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,10 +0,0 @@
1
- export declare enum SUPPORTED_WARRANTY_VARIANTS_ENUM {
2
- primary = "primary",
3
- secondary = "secondary"
4
- }
5
- export type SUPPORTED_WARRANTY_VARIANTS = keyof typeof SUPPORTED_WARRANTY_VARIANTS_ENUM;
6
- export interface WarrantyLabelProps {
7
- readonly warrantyText?: string;
8
- readonly variant: SUPPORTED_WARRANTY_VARIANTS_ENUM;
9
- }
10
- export declare function WarrantyLabel({ warrantyText, variant }: WarrantyLabelProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from './WarrantyLabel';
@@ -1,7 +0,0 @@
1
- export * from './addons/index';
2
- export * from './skeletons/index';
3
- export * from './CoreProductCard';
4
- export * from './CoreProductCardActions';
5
- export * from './CoreProductCartItemAsideCard';
6
- export * from './CoreProductCartItemCard';
7
- export * from './CoreProductCartSummaryCard';
@@ -1,5 +0,0 @@
1
- import { BaseStyleProps } from '../../../../../../types/ui/main';
2
- interface CoreProductCardSkeletonProps extends BaseStyleProps {
3
- }
4
- export declare function CoreProductCardSkeleton({ className }: CoreProductCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
5
- export {};
@@ -1 +0,0 @@
1
- export declare function CoreProductCartItemCardSkeleton(): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './CoreProductCardSkeleton';
2
- export * from './CoreProductCartItemCardSkeleton';
@@ -1,8 +0,0 @@
1
- import { BaseProps } from '../../../../../types/ui/main';
2
- import { CoreImage } from '../../../../../types/CoreImage';
3
- interface CoreProductImageCarouselProps<T extends CoreImage> extends BaseProps {
4
- readonly renderAddons?: React.ReactNode;
5
- readonly images: T[];
6
- }
7
- export declare function CoreProductImageCarousel<T extends CoreImage>({ className, renderAddons, images }: CoreProductImageCarouselProps<T>): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1 +0,0 @@
1
- export * from './CoreProductImageCarousel';
@@ -1,19 +0,0 @@
1
- import { BaseStyleProps } from '../../../../../types/ui/main';
2
- import { BasePagination } from '../../../../../types/contracts/BasePagination';
3
- import { CoreProduct } from '../../../types/CoreProduct';
4
- interface CoreProductGridProps<T extends CoreProduct> extends BaseStyleProps, CoreProductGridEvents<T> {
5
- readonly products: BasePagination<T>;
6
- readonly component?: React.ComponentType<any>;
7
- readonly classNameItems?: string;
8
- readonly loading?: boolean;
9
- readonly skeleton?: React.ComponentType<any>;
10
- readonly skeletonItems?: number;
11
- readonly skeletonClassName?: string;
12
- [key: string]: any;
13
- }
14
- interface CoreProductGridEvents<T extends CoreProduct> {
15
- onItemClick?: (product: T) => void;
16
- onPageChange?: (page: number) => void;
17
- }
18
- export declare function CoreProductGrid<T extends CoreProduct>({ products, onPageChange, component: Component, className, classNameItems, loading, skeleton: Skeleton, skeletonItems, skeletonClassName, onItemClick, ...props }: CoreProductGridProps<T>): import("react/jsx-runtime").JSX.Element;
19
- export {};
@@ -1 +0,0 @@
1
- export * from './CoreProductGrid';
@@ -1,3 +0,0 @@
1
- export * from './cards/index';
2
- export * from './carousels/index';
3
- export * from './containers/index';
@@ -1 +0,0 @@
1
- export * from '../../components/index';
@@ -1,2 +0,0 @@
1
- export * from './layouts/index';
2
- export * from './ui/index';
@@ -1 +0,0 @@
1
- export * from './partials/index';
@@ -1,12 +0,0 @@
1
- import { BaseProps } from '../../../../../types/ui/main';
2
- interface CoreShopCartAsideProps extends CoreShopCartAsideEvents, BaseProps {
3
- title: string;
4
- containerClassName?: string;
5
- renderTriggerAction?: React.ReactNode;
6
- }
7
- interface CoreShopCartAsideEvents {
8
- onClose?: () => void;
9
- onGoToCart?: () => void;
10
- }
11
- export declare function CoreShopCartAside({ title, className, containerClassName, children, onClose, onGoToCart, renderTriggerAction }: CoreShopCartAsideProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
@@ -1,7 +0,0 @@
1
- import { BaseStyleProps } from '../../../../../types/ui/main';
2
- interface CoreShopCartIconProps extends BaseStyleProps {
3
- totalItems: number;
4
- totalPrice: string;
5
- }
6
- export declare function CoreShopCartIcon({ totalItems, totalPrice, className }: CoreShopCartIconProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,2 +0,0 @@
1
- export * from './CoreShopCartAside';
2
- export * from './CoreShopCartIcon';
@@ -1,9 +0,0 @@
1
- import { BaseProps } from '../../../../../types/ui/main';
2
- import { CoreCartItem } from '../../../types/CoreShopCart';
3
- interface CoreCartItemAsideCartProps<T extends CoreCartItem<K>, K> extends BaseProps {
4
- cartItem: T;
5
- onAddToCart: (product_id: string | number, quantity: number) => void;
6
- onRemoveFromCart: (product_id: string | number) => void;
7
- }
8
- export declare function CoreCartItemAsideCard<T extends CoreCartItem<K>, K>({ className, cartItem, children, onAddToCart, onRemoveFromCart }: CoreCartItemAsideCartProps<T, K>): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,2 +0,0 @@
1
- export * from './skeletons/index';
2
- export * from './CoreCartItemAsideCard';
@@ -1,4 +0,0 @@
1
- interface CoreCartItemAsideCardSkeletonProps extends React.PropsWithChildren {
2
- }
3
- export declare function CoreCartItemAsideCardSkeleton({ children }: CoreCartItemAsideCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
4
- export {};
@@ -1 +0,0 @@
1
- export * from './CoreCartItemAsideCardSkeleton';
@@ -1 +0,0 @@
1
- export declare function EmptyCartItems(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from './EmptyCartItems';
@@ -1,3 +0,0 @@
1
- export * from './cards/index';
2
- export * from './empty/index';
3
- export * from './texts/index';
@@ -1,8 +0,0 @@
1
- import { BaseStyleProps } from '../../../../../types/ui/main';
2
- interface CoreCartHintTitleProps extends BaseStyleProps {
3
- num: string;
4
- title: string;
5
- description?: string;
6
- }
7
- export declare function CoreCartHintTitle({ num, title, description, className }: CoreCartHintTitleProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,7 +0,0 @@
1
- import { BaseStyleProps } from '../../../../../types/ui/main';
2
- interface CoreCartSubtotalTextProps extends BaseStyleProps {
3
- property: string;
4
- value: string;
5
- }
6
- export declare function CoreCartSubtotalText({ property, value, className }: CoreCartSubtotalTextProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,6 +0,0 @@
1
- import { BaseStyleProps } from '../../../../../types/ui/main';
2
- interface CoreCartSummaryHeadProps extends BaseStyleProps {
3
- title: string;
4
- }
5
- export declare function CoreCartSummaryHead({ title, className }: CoreCartSummaryHeadProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,7 +0,0 @@
1
- import { BaseStyleProps } from '../../../../../types/ui/main';
2
- interface CoreCartSummaryTextProps extends BaseStyleProps {
3
- property: string;
4
- value: string;
5
- }
6
- export declare function CoreCartSummaryText({ property, value, className }: CoreCartSummaryTextProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,4 +0,0 @@
1
- export * from './CoreCartHintTitle';
2
- export * from './CoreCartSubtotalText';
3
- export * from './CoreCartSummaryHead';
4
- export * from './CoreCartSummaryText';
@@ -1 +0,0 @@
1
- export * from '../../components/index';
@@ -1,3 +0,0 @@
1
- export * from '../../CoreAuth/registry/ui/index';
2
- export * from '../../CoreProduct/registry/ui/index';
3
- export * from '../../CoreShopCart/registry/ui/index';