ingeniuscliq-core 0.0.13 → 0.1.1

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 (83) hide show
  1. package/core/commands/common/constants.js +10 -0
  2. package/core/commands/create-core-module.js +288 -0
  3. package/core/commands/create-module.js +288 -0
  4. package/core/commands/helpers/index.js +15 -0
  5. package/core/commands/helpers/strings.js +4 -0
  6. package/core/commands/rollback-core-module.js +195 -0
  7. package/core/commands/rollback-module.js +208 -0
  8. package/core/commands/templates/locale.js +14 -0
  9. package/core/commands/templates/service.js +12 -0
  10. package/core/commands/templates/type.js +10 -0
  11. package/dist/classes/index.d.ts +1 -0
  12. package/dist/components/customs/carousel/CustomCarousel.d.ts +1 -1
  13. package/dist/components/customs/carousel/CustomCarouselSection.d.ts +1 -1
  14. package/dist/components/customs/form/CustomFormField.d.ts +1 -1
  15. package/dist/components/customs/form/FormInput.d.ts +2 -2
  16. package/dist/components/customs/form/FormTextArea.d.ts +2 -2
  17. package/dist/components/customs/form/FormWrapper.d.ts +1 -1
  18. package/dist/components/customs/form/index.d.ts +4 -0
  19. package/dist/components/customs/index.d.ts +5 -0
  20. package/dist/components/customs/logo/Logo.d.ts +2 -2
  21. package/dist/components/customs/pagination/CustomPagination.d.ts +1 -1
  22. package/dist/components/customs/select/CustomSelect.d.ts +2 -2
  23. package/dist/components/customs/spinner/Spinner.d.ts +2 -2
  24. package/dist/components/index.d.ts +3 -0
  25. package/dist/components/layouts/CoreBaseLayout.d.ts +1 -1
  26. package/dist/components/templates/CoreHomeLayout.d.ts +1 -1
  27. package/dist/components/templates/partials/CoreFooter.d.ts +1 -1
  28. package/dist/components/templates/partials/CoreMainSearch.d.ts +1 -1
  29. package/dist/components/templates/partials/CoreNavbar.d.ts +2 -2
  30. package/dist/components/templates/partials/CoreSubMenu.d.ts +2 -2
  31. package/dist/components/templates/partials/CoreSubMenuHeader.d.ts +1 -1
  32. package/dist/components/templates/partials/DynamicHeader.d.ts +1 -1
  33. package/dist/components/templates/partials/DynamicMain.d.ts +1 -1
  34. package/dist/components/ui/index.d.ts +34 -0
  35. package/dist/constants/index.d.ts +1 -0
  36. package/dist/helpers/index.d.ts +4 -0
  37. package/dist/helpers/template.d.ts +0 -1
  38. package/dist/hooks/index.d.ts +3 -0
  39. package/dist/hooks/useI18n.d.ts +2 -1
  40. package/dist/hooks/useNotification.d.ts +1 -1
  41. package/dist/i18n/config.d.ts +1 -1
  42. package/dist/i18n/index.d.ts +1 -0
  43. package/dist/index.css +1 -0
  44. package/dist/index.d.ts +9 -3
  45. package/dist/index.js +18854 -1490
  46. package/dist/modules/CoreAuth/components/layouts/partials/AuthDecorator.d.ts +1 -1
  47. package/dist/modules/CoreAuth/components/layouts/partials/AuthProfileDeleteAccountForm.d.ts +1 -1
  48. package/dist/modules/CoreAuth/components/layouts/partials/AuthProfileForm.d.ts +1 -1
  49. package/dist/modules/CoreAuth/components/layouts/partials/AuthProfileUpdatePassForm.d.ts +1 -1
  50. package/dist/modules/CoreAuth/components/layouts/partials/AuthUserMenu.d.ts +1 -1
  51. package/dist/modules/CorePayForm/classes/CorePayFormBuilder.d.ts +2 -2
  52. package/dist/modules/CoreProduct/classes/CoreProductBuilder.d.ts +2 -2
  53. package/dist/modules/CoreProduct/components/layouts/partials/TabHead.d.ts +2 -2
  54. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCard.d.ts +2 -2
  55. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCardActions.d.ts +2 -2
  56. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartItemAsideCard.d.ts +1 -1
  57. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartItemCard.d.ts +1 -1
  58. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartSummaryCard.d.ts +2 -2
  59. package/dist/modules/CoreProduct/components/ui/cards/addons/WarrantyLabel.d.ts +1 -1
  60. package/dist/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCardSkeleton.d.ts +2 -2
  61. package/dist/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCartItemCardSkeleton.d.ts +1 -1
  62. package/dist/modules/CoreProduct/components/ui/cards/skeletons/index.d.ts +2 -0
  63. package/dist/modules/CoreProduct/components/ui/carousels/CoreProductImageCarousel.d.ts +2 -2
  64. package/dist/modules/CoreProduct/components/ui/containers/CoreProductGrid.d.ts +2 -2
  65. package/dist/modules/CoreShopCart/components/layouts/partials/CoreShopCartAside.d.ts +2 -2
  66. package/dist/modules/CoreShopCart/components/layouts/partials/CoreShopCartIcon.d.ts +2 -2
  67. package/dist/modules/CoreShopCart/components/ui/cards/CoreCartItemAsideCard.d.ts +2 -2
  68. package/dist/modules/CoreShopCart/components/ui/cards/skeletons/CoreCartItemAsideCardSkeleton.d.ts +1 -1
  69. package/dist/modules/CoreShopCart/components/ui/empty/EmptyCartItems.d.ts +1 -1
  70. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartHintTitle.d.ts +2 -2
  71. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSubtotalText.d.ts +2 -2
  72. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSummaryHead.d.ts +2 -2
  73. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSummaryText.d.ts +2 -2
  74. package/dist/services/index.d.ts +1 -0
  75. package/dist/stores/customizationStore.d.ts +4 -4
  76. package/dist/stores/index.d.ts +1 -0
  77. package/dist/types/contracts/index.d.ts +2 -0
  78. package/dist/types/index.d.ts +7 -0
  79. package/dist/types/interfaces/index.d.ts +3 -0
  80. package/dist/types/ui/index.d.ts +3 -8
  81. package/dist/types/ui/main.d.ts +8 -0
  82. package/package.json +12 -3
  83. package/dist/components/config.d.ts +0 -22
@@ -1 +1 @@
1
- export default function AuthDecorator(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function AuthDecorator(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export default function AuthProfileDeleteAccountForm(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function AuthProfileDeleteAccountForm(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export default function AuthProfileForm(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function AuthProfileForm(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export default function AuthProfileUpdatePassForm(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function AuthProfileUpdatePassForm(): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- export default function AuthUserMenu(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function AuthUserMenu(): import("react/jsx-runtime").JSX.Element;
@@ -8,7 +8,7 @@ export declare class CorePayFormBuilder implements CoreBuilder {
8
8
  build(): import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<CorePayFormStore<CorePayForm>>, "persist"> & {
9
9
  persist: {
10
10
  setOptions: (options: Partial<import('zustand/middleware').PersistOptions<CorePayFormStore<CorePayForm>, {
11
- payForms: import('../../../types/contracts/BasePagination').BasePagination<CorePayForm> | null;
11
+ payForms: import('../../..').BasePagination<CorePayForm> | null;
12
12
  }>>) => void;
13
13
  clearStorage: () => void;
14
14
  rehydrate: () => Promise<void> | void;
@@ -16,7 +16,7 @@ export declare class CorePayFormBuilder implements CoreBuilder {
16
16
  onHydrate: (fn: (state: CorePayFormStore<CorePayForm>) => void) => () => void;
17
17
  onFinishHydration: (fn: (state: CorePayFormStore<CorePayForm>) => void) => () => void;
18
18
  getOptions: () => Partial<import('zustand/middleware').PersistOptions<CorePayFormStore<CorePayForm>, {
19
- payForms: import('../../../types/contracts/BasePagination').BasePagination<CorePayForm> | null;
19
+ payForms: import('../../..').BasePagination<CorePayForm> | null;
20
20
  }>>;
21
21
  };
22
22
  }>;
@@ -9,7 +9,7 @@ export declare class CoreProductBuilder implements CoreBuilder {
9
9
  persist: {
10
10
  setOptions: (options: Partial<import('zustand/middleware').PersistOptions<CoreProductStore<CoreProduct>, {
11
11
  productDetails: CoreProduct | null;
12
- products: import('../../../types/contracts/BasePagination').BasePagination<CoreProduct> | null;
12
+ products: import('../../..').BasePagination<CoreProduct> | null;
13
13
  }>>) => void;
14
14
  clearStorage: () => void;
15
15
  rehydrate: () => Promise<void> | void;
@@ -18,7 +18,7 @@ export declare class CoreProductBuilder implements CoreBuilder {
18
18
  onFinishHydration: (fn: (state: CoreProductStore<CoreProduct>) => void) => () => void;
19
19
  getOptions: () => Partial<import('zustand/middleware').PersistOptions<CoreProductStore<CoreProduct>, {
20
20
  productDetails: CoreProduct | null;
21
- products: import('../../../types/contracts/BasePagination').BasePagination<CoreProduct> | null;
21
+ products: import('../../..').BasePagination<CoreProduct> | null;
22
22
  }>>;
23
23
  };
24
24
  }>;
@@ -1,6 +1,6 @@
1
- import { BaseStyleProps } from '../../../../../types/ui';
1
+ import { BaseStyleProps } from '../../../../../types/ui/main';
2
2
  interface TabHeadProps extends BaseStyleProps {
3
3
  readonly title: string;
4
4
  }
5
- export default function TabHead({ title, className }: TabHeadProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function TabHead({ title, className }: TabHeadProps): import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -1,5 +1,5 @@
1
1
  import { CoreProduct } from '../../../types/CoreProduct';
2
- import { BaseStyleProps } from '../../../../../types/ui';
2
+ import { BaseStyleProps } from '../../../../../types/ui/main';
3
3
  import { CoreProductCardActionsEvents } from './CoreProductCardActions';
4
4
  interface CoreProductCardProps extends BaseStyleProps, Omit<CoreProductCardActionsEvents, 'onAddToCart'>, CoreProductCardEvents {
5
5
  readonly product: CoreProduct;
@@ -11,5 +11,5 @@ interface CoreProductCardEvents {
11
11
  onClick: (product: CoreProduct) => void;
12
12
  onAddToCart: (product: CoreProduct, quantity: number) => void;
13
13
  }
14
- export default function CoreProductCard({ product, className, renderAddons, renderActions, loadingAddToCart, onUpdateQuantity, onAddToCart, onClick }: CoreProductCardProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function CoreProductCard({ product, className, renderAddons, renderActions, loadingAddToCart, onUpdateQuantity, onAddToCart, onClick }: CoreProductCardProps): import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -1,4 +1,4 @@
1
- import { BaseStyleProps, BaseVariantProps } from '../../../../../types/ui';
1
+ import { BaseStyleProps, BaseVariantProps } from '../../../../../types/ui/main';
2
2
  export interface CoreProductCardActionsProps extends BaseStyleProps, CoreProductCardActionsEvents, BaseVariantProps {
3
3
  readonly disabledColor?: boolean;
4
4
  readonly productQuantity?: number;
@@ -15,4 +15,4 @@ export interface CoreProductCardActionsEvents {
15
15
  onErrorUpdateQuantity?: () => void;
16
16
  onErrorAddToCart?: () => void;
17
17
  }
18
- export default function CoreProductCardActions({ disabledColor, variant, productQuantity, minValue, maxValue, colorLoading, loading, className, onUpdateQuantity, onAddToCart, onValidateUpdateQuantity, onValidateAddToCart, onErrorAddToCart, onErrorUpdateQuantity }: CoreProductCardActionsProps): import("react/jsx-runtime").JSX.Element;
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;
@@ -3,5 +3,5 @@ interface CoreProductCartItemAsideCardProps<T extends CoreProduct> {
3
3
  product: T;
4
4
  quantity: number;
5
5
  }
6
- export default function CoreProductCartItemAsideCard<T extends CoreProduct>({ product, quantity }: CoreProductCartItemAsideCardProps<T>): import("react/jsx-runtime").JSX.Element;
6
+ export declare function CoreProductCartItemAsideCard<T extends CoreProduct>({ product, quantity }: CoreProductCartItemAsideCardProps<T>): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -4,5 +4,5 @@ interface CoreProductCartItemCardProps<T extends CoreProduct> {
4
4
  quantity: number;
5
5
  actions: React.ReactNode;
6
6
  }
7
- export default function CoreProductCartItemCard<T extends CoreProduct>({ product, actions, quantity }: CoreProductCartItemCardProps<T>): import("react/jsx-runtime").JSX.Element;
7
+ export declare function CoreProductCartItemCard<T extends CoreProduct>({ product, actions, quantity }: CoreProductCartItemCardProps<T>): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -1,7 +1,7 @@
1
1
  import { CoreProduct } from '../../../types/CoreProduct';
2
- import { BaseProps } from '../../../../../types/ui';
2
+ import { BaseProps } from '../../../../../types/ui/main';
3
3
  interface CoreProductCartSummaryCardProps<T extends CoreProduct> extends BaseProps {
4
4
  product: T;
5
5
  }
6
- export default function CoreProductCartSummaryCard<T extends CoreProduct>({ product, children, className }: CoreProductCartSummaryCardProps<T>): import("react/jsx-runtime").JSX.Element;
6
+ export declare function CoreProductCartSummaryCard<T extends CoreProduct>({ product, children, className }: CoreProductCartSummaryCardProps<T>): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -7,4 +7,4 @@ export interface WarrantyLabelProps {
7
7
  readonly warrantyText?: string;
8
8
  readonly variant: SUPPORTED_WARRANTY_VARIANTS_ENUM;
9
9
  }
10
- export default function WarrantyLabel({ warrantyText, variant }: WarrantyLabelProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function WarrantyLabel({ warrantyText, variant }: WarrantyLabelProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { BaseStyleProps } from '../../../../../../types/ui';
1
+ import { BaseStyleProps } from '../../../../../../types/ui/main';
2
2
  interface CoreProductCardSkeletonProps extends BaseStyleProps {
3
3
  }
4
- export default function CoreProductCardSkeleton({ className }: CoreProductCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function CoreProductCardSkeleton({ className }: CoreProductCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1 +1 @@
1
- export default function CoreProductCartItemCardSkeleton(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function CoreProductCartItemCardSkeleton(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './CoreProductCardSkeleton';
2
+ export * from './CoreProductCartItemCardSkeleton';
@@ -1,8 +1,8 @@
1
- import { BaseProps } from '../../../../../types/ui';
1
+ import { BaseProps } from '../../../../../types/ui/main';
2
2
  import { CoreImage } from '../../../../../types/CoreImage';
3
3
  interface CoreProductImageCarouselProps<T extends CoreImage> extends BaseProps {
4
4
  readonly renderAddons?: React.ReactNode;
5
5
  readonly images: T[];
6
6
  }
7
- export default function CoreProductImageCarousel<T extends CoreImage>({ className, renderAddons, images }: CoreProductImageCarouselProps<T>): import("react/jsx-runtime").JSX.Element;
7
+ export declare function CoreProductImageCarousel<T extends CoreImage>({ className, renderAddons, images }: CoreProductImageCarouselProps<T>): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -1,4 +1,4 @@
1
- import { BaseStyleProps } from '../../../../../types/ui';
1
+ import { BaseStyleProps } from '../../../../../types/ui/main';
2
2
  import { BasePagination } from '../../../../../types/contracts/BasePagination';
3
3
  import { CoreProduct } from '../../../types/CoreProduct';
4
4
  interface CoreProductGridProps<T extends CoreProduct> extends BaseStyleProps, CoreProductGridEvents<T> {
@@ -15,5 +15,5 @@ interface CoreProductGridEvents<T extends CoreProduct> {
15
15
  onItemClick?: (product: T) => void;
16
16
  onPageChange?: (page: number) => void;
17
17
  }
18
- export default 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;
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
19
  export {};
@@ -1,4 +1,4 @@
1
- import { BaseProps } from '../../../../../types/ui';
1
+ import { BaseProps } from '../../../../../types/ui/main';
2
2
  interface CoreShopCartAsideProps extends CoreShopCartAsideEvents, BaseProps {
3
3
  title: string;
4
4
  containerClassName?: string;
@@ -8,5 +8,5 @@ interface CoreShopCartAsideEvents {
8
8
  onClose?: () => void;
9
9
  onGoToCart?: () => void;
10
10
  }
11
- export default function CoreShopCartAside({ title, className, containerClassName, children, onClose, onGoToCart, renderTriggerAction }: CoreShopCartAsideProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function CoreShopCartAside({ title, className, containerClassName, children, onClose, onGoToCart, renderTriggerAction }: CoreShopCartAsideProps): import("react/jsx-runtime").JSX.Element;
12
12
  export {};
@@ -1,7 +1,7 @@
1
- import { BaseStyleProps } from '../../../../../types/ui';
1
+ import { BaseStyleProps } from '../../../../../types/ui/main';
2
2
  interface CoreShopCartIconProps extends BaseStyleProps {
3
3
  totalItems: number;
4
4
  totalPrice: string;
5
5
  }
6
- export default function CoreShopCartIcon({ totalItems, totalPrice, className }: CoreShopCartIconProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function CoreShopCartIcon({ totalItems, totalPrice, className }: CoreShopCartIconProps): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1,9 +1,9 @@
1
- import { BaseProps } from '../../../../../types/ui';
1
+ import { BaseProps } from '../../../../../types/ui/main';
2
2
  import { CoreCartItem } from '../../../types/CoreShopCart';
3
3
  interface CoreCartItemAsideCartProps<T extends CoreCartItem<K>, K> extends BaseProps {
4
4
  cartItem: T;
5
5
  onAddToCart: (product_id: string | number, quantity: number) => void;
6
6
  onRemoveFromCart: (product_id: string | number) => void;
7
7
  }
8
- export default function CoreCartItemAsideCard<T extends CoreCartItem<K>, K>({ className, cartItem, children, onAddToCart, onRemoveFromCart }: CoreCartItemAsideCartProps<T, K>): import("react/jsx-runtime").JSX.Element;
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
9
  export {};
@@ -1,4 +1,4 @@
1
1
  interface CoreCartItemAsideCardSkeletonProps extends React.PropsWithChildren {
2
2
  }
3
- export default function CoreCartItemAsideCardSkeleton({ children }: CoreCartItemAsideCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function CoreCartItemAsideCardSkeleton({ children }: CoreCartItemAsideCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
4
4
  export {};
@@ -1 +1 @@
1
- export default function EmptyCartItems(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function EmptyCartItems(): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
- import { BaseStyleProps } from '../../../../../types/ui';
1
+ import { BaseStyleProps } from '../../../../../types/ui/main';
2
2
  interface CoreCartHintTitleProps extends BaseStyleProps {
3
3
  num: string;
4
4
  title: string;
5
5
  description?: string;
6
6
  }
7
- export default function CoreCartHintTitle({ num, title, description, className }: CoreCartHintTitleProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function CoreCartHintTitle({ num, title, description, className }: CoreCartHintTitleProps): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -1,7 +1,7 @@
1
- import { BaseStyleProps } from '../../../../../types/ui';
1
+ import { BaseStyleProps } from '../../../../../types/ui/main';
2
2
  interface CoreCartSubtotalTextProps extends BaseStyleProps {
3
3
  property: string;
4
4
  value: string;
5
5
  }
6
- export default function CoreCartSubtotalText({ property, value, className }: CoreCartSubtotalTextProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function CoreCartSubtotalText({ property, value, className }: CoreCartSubtotalTextProps): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -1,6 +1,6 @@
1
- import { BaseStyleProps } from '../../../../../types/ui';
1
+ import { BaseStyleProps } from '../../../../../types/ui/main';
2
2
  interface CoreCartSummaryHeadProps extends BaseStyleProps {
3
3
  title: string;
4
4
  }
5
- export default function CoreCartSummaryHead({ title, className }: CoreCartSummaryHeadProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function CoreCartSummaryHead({ title, className }: CoreCartSummaryHeadProps): import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -1,7 +1,7 @@
1
- import { BaseStyleProps } from '../../../../../types/ui';
1
+ import { BaseStyleProps } from '../../../../../types/ui/main';
2
2
  interface CoreCartSummaryTextProps extends BaseStyleProps {
3
3
  property: string;
4
4
  value: string;
5
5
  }
6
- export default function CoreCartSummaryText({ property, value, className }: CoreCartSummaryTextProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function CoreCartSummaryText({ property, value, className }: CoreCartSummaryTextProps): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
@@ -0,0 +1 @@
1
+ export * from './base';
@@ -3,8 +3,8 @@ export declare const useCustomizationStore: import('zustand').UseBoundStore<Omit
3
3
  setOptions: (options: Partial<import('zustand/middleware').PersistOptions<import('../modules/CoreCustomization/types/CoreCustomization').CoreCustomizationStore, {
4
4
  template: string | null;
5
5
  components: string[] | null;
6
- styles: import('../types/ui/template').CoreDesignTemplateStyles[] | null;
7
- settings: import('../types/ui/template').CoreDesignTemplateSettings | null;
6
+ styles: import('../types/ui').CoreDesignTemplateStyles[] | null;
7
+ settings: import('../types/ui').CoreDesignTemplateSettings | null;
8
8
  }>>) => void;
9
9
  clearStorage: () => void;
10
10
  rehydrate: () => Promise<void> | void;
@@ -14,8 +14,8 @@ export declare const useCustomizationStore: import('zustand').UseBoundStore<Omit
14
14
  getOptions: () => Partial<import('zustand/middleware').PersistOptions<import('../modules/CoreCustomization/types/CoreCustomization').CoreCustomizationStore, {
15
15
  template: string | null;
16
16
  components: string[] | null;
17
- styles: import('../types/ui/template').CoreDesignTemplateStyles[] | null;
18
- settings: import('../types/ui/template').CoreDesignTemplateSettings | null;
17
+ styles: import('../types/ui').CoreDesignTemplateStyles[] | null;
18
+ settings: import('../types/ui').CoreDesignTemplateSettings | null;
19
19
  }>>;
20
20
  };
21
21
  }>;
@@ -0,0 +1 @@
1
+ export * from './customizationStore';
@@ -0,0 +1,2 @@
1
+ export * from './BaseApiResponse';
2
+ export * from './BasePagination';
@@ -0,0 +1,7 @@
1
+ export * from './contracts/index';
2
+ export * from './interfaces/index';
3
+ export * from './ui/main';
4
+ export * from './BaseStore';
5
+ export * from './BaseType';
6
+ export * from './CoreImage';
7
+ export * from './CoreMenu';
@@ -0,0 +1,3 @@
1
+ export * from './BaseImageType';
2
+ export * from './BaseSlugType';
3
+ export * from './BaseVisibleType';
@@ -1,8 +1,3 @@
1
- export interface BaseProps extends React.PropsWithChildren {
2
- className?: string;
3
- }
4
- export interface BaseStyleProps extends Pick<BaseProps, 'className'> {
5
- }
6
- export interface BaseVariantProps {
7
- variant?: 'primary' | 'secondary';
8
- }
1
+ export * from './main';
2
+ export * from './carousel';
3
+ export * from './template';
@@ -0,0 +1,8 @@
1
+ export interface BaseProps extends React.PropsWithChildren {
2
+ className?: string;
3
+ }
4
+ export interface BaseStyleProps extends Pick<BaseProps, 'className'> {
5
+ }
6
+ export interface BaseVariantProps {
7
+ variant?: 'primary' | 'secondary';
8
+ }
package/package.json CHANGED
@@ -1,13 +1,20 @@
1
1
  {
2
2
  "name": "ingeniuscliq-core",
3
- "version": "0.0.13",
3
+ "version": "0.1.1",
4
4
  "description": "IngeniusCliq Core UI y lógica compartida",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "files": [
9
- "dist"
9
+ "dist",
10
+ "core/commands"
10
11
  ],
12
+ "bin": {
13
+ "ingeniuscliq-create-module": "core/commands/create-module.js",
14
+ "ingeniuscliq-rollback-module": "core/commands/rollback-module.js",
15
+ "ingeniuscliq-create-core-module": "core/commands/create-core-module.js",
16
+ "ingeniuscliq-rollback-core-module": "core/commands/rollback-core-module.js"
17
+ },
11
18
  "scripts": {
12
19
  "build": "vite build",
13
20
  "create:module": "node core/commands/create-module.js",
@@ -40,7 +47,9 @@
40
47
  "lucide-react": "0.539.0",
41
48
  "tailwind-merge": "3.3.1",
42
49
  "vaul": "1.1.2",
43
- "zod": "4.0.17"
50
+ "zod": "4.0.17",
51
+ "chalk": "^5.3.0",
52
+ "enquirer": "^2.4.1"
44
53
  },
45
54
  "devDependencies": {
46
55
  "@radix-ui/react-accordion": "1.2.12",
@@ -1,22 +0,0 @@
1
- export declare const CoreComponentsConfig: {
2
- CoreNavbar: {
3
- name: string;
4
- type: string;
5
- };
6
- CoreSubmenu: {
7
- name: string;
8
- type: string;
9
- };
10
- CoreMain: {
11
- name: string;
12
- type: string;
13
- };
14
- CoreCard: {
15
- name: string;
16
- type: string;
17
- };
18
- CoreFooter: {
19
- name: string;
20
- type: string;
21
- };
22
- };