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.
- package/core/commands/common/constants.js +10 -0
- package/core/commands/create-core-module.js +288 -0
- package/core/commands/create-module.js +288 -0
- package/core/commands/helpers/index.js +15 -0
- package/core/commands/helpers/strings.js +4 -0
- package/core/commands/rollback-core-module.js +195 -0
- package/core/commands/rollback-module.js +208 -0
- package/core/commands/templates/locale.js +14 -0
- package/core/commands/templates/service.js +12 -0
- package/core/commands/templates/type.js +10 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/components/customs/carousel/CustomCarousel.d.ts +1 -1
- package/dist/components/customs/carousel/CustomCarouselSection.d.ts +1 -1
- package/dist/components/customs/form/CustomFormField.d.ts +1 -1
- package/dist/components/customs/form/FormInput.d.ts +2 -2
- package/dist/components/customs/form/FormTextArea.d.ts +2 -2
- package/dist/components/customs/form/FormWrapper.d.ts +1 -1
- package/dist/components/customs/form/index.d.ts +4 -0
- package/dist/components/customs/index.d.ts +5 -0
- package/dist/components/customs/logo/Logo.d.ts +2 -2
- package/dist/components/customs/pagination/CustomPagination.d.ts +1 -1
- package/dist/components/customs/select/CustomSelect.d.ts +2 -2
- package/dist/components/customs/spinner/Spinner.d.ts +2 -2
- package/dist/components/index.d.ts +3 -0
- package/dist/components/layouts/CoreBaseLayout.d.ts +1 -1
- package/dist/components/templates/CoreHomeLayout.d.ts +1 -1
- package/dist/components/templates/partials/CoreFooter.d.ts +1 -1
- package/dist/components/templates/partials/CoreMainSearch.d.ts +1 -1
- package/dist/components/templates/partials/CoreNavbar.d.ts +2 -2
- package/dist/components/templates/partials/CoreSubMenu.d.ts +2 -2
- package/dist/components/templates/partials/CoreSubMenuHeader.d.ts +1 -1
- package/dist/components/templates/partials/DynamicHeader.d.ts +1 -1
- package/dist/components/templates/partials/DynamicMain.d.ts +1 -1
- package/dist/components/ui/index.d.ts +34 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/helpers/index.d.ts +4 -0
- package/dist/helpers/template.d.ts +0 -1
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/useI18n.d.ts +2 -1
- package/dist/hooks/useNotification.d.ts +1 -1
- package/dist/i18n/config.d.ts +1 -1
- package/dist/i18n/index.d.ts +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +9 -3
- package/dist/index.js +18854 -1490
- package/dist/modules/CoreAuth/components/layouts/partials/AuthDecorator.d.ts +1 -1
- package/dist/modules/CoreAuth/components/layouts/partials/AuthProfileDeleteAccountForm.d.ts +1 -1
- package/dist/modules/CoreAuth/components/layouts/partials/AuthProfileForm.d.ts +1 -1
- package/dist/modules/CoreAuth/components/layouts/partials/AuthProfileUpdatePassForm.d.ts +1 -1
- package/dist/modules/CoreAuth/components/layouts/partials/AuthUserMenu.d.ts +1 -1
- package/dist/modules/CorePayForm/classes/CorePayFormBuilder.d.ts +2 -2
- package/dist/modules/CoreProduct/classes/CoreProductBuilder.d.ts +2 -2
- package/dist/modules/CoreProduct/components/layouts/partials/TabHead.d.ts +2 -2
- package/dist/modules/CoreProduct/components/ui/cards/CoreProductCard.d.ts +2 -2
- package/dist/modules/CoreProduct/components/ui/cards/CoreProductCardActions.d.ts +2 -2
- package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartItemAsideCard.d.ts +1 -1
- package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartItemCard.d.ts +1 -1
- package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartSummaryCard.d.ts +2 -2
- package/dist/modules/CoreProduct/components/ui/cards/addons/WarrantyLabel.d.ts +1 -1
- package/dist/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCardSkeleton.d.ts +2 -2
- package/dist/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCartItemCardSkeleton.d.ts +1 -1
- package/dist/modules/CoreProduct/components/ui/cards/skeletons/index.d.ts +2 -0
- package/dist/modules/CoreProduct/components/ui/carousels/CoreProductImageCarousel.d.ts +2 -2
- package/dist/modules/CoreProduct/components/ui/containers/CoreProductGrid.d.ts +2 -2
- package/dist/modules/CoreShopCart/components/layouts/partials/CoreShopCartAside.d.ts +2 -2
- package/dist/modules/CoreShopCart/components/layouts/partials/CoreShopCartIcon.d.ts +2 -2
- package/dist/modules/CoreShopCart/components/ui/cards/CoreCartItemAsideCard.d.ts +2 -2
- package/dist/modules/CoreShopCart/components/ui/cards/skeletons/CoreCartItemAsideCardSkeleton.d.ts +1 -1
- package/dist/modules/CoreShopCart/components/ui/empty/EmptyCartItems.d.ts +1 -1
- package/dist/modules/CoreShopCart/components/ui/texts/CoreCartHintTitle.d.ts +2 -2
- package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSubtotalText.d.ts +2 -2
- package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSummaryHead.d.ts +2 -2
- package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSummaryText.d.ts +2 -2
- package/dist/services/index.d.ts +1 -0
- package/dist/stores/customizationStore.d.ts +4 -4
- package/dist/stores/index.d.ts +1 -0
- package/dist/types/contracts/index.d.ts +2 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/interfaces/index.d.ts +3 -0
- package/dist/types/ui/index.d.ts +3 -8
- package/dist/types/ui/main.d.ts +8 -0
- package/package.json +12 -3
- package/dist/components/config.d.ts +0 -22
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function AuthDecorator(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function AuthProfileDeleteAccountForm(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function AuthProfileForm(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function AuthProfileUpdatePassForm(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
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('
|
|
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('
|
|
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('
|
|
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('
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
4
|
+
export declare function CoreProductCardSkeleton({ className }: CoreProductCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export {};
|
package/dist/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCartItemCardSkeleton.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function CoreProductCartItemCardSkeleton(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 {};
|
package/dist/modules/CoreShopCart/components/ui/cards/skeletons/CoreCartItemAsideCardSkeleton.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
interface CoreCartItemAsideCardSkeletonProps extends React.PropsWithChildren {
|
|
2
2
|
}
|
|
3
|
-
export
|
|
3
|
+
export declare function CoreCartItemAsideCardSkeleton({ children }: CoreCartItemAsideCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
7
|
-
settings: import('../types/ui
|
|
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
|
|
18
|
-
settings: import('../types/ui
|
|
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';
|
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
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';
|
package/package.json
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ingeniuscliq-core",
|
|
3
|
-
"version": "0.
|
|
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
|
-
};
|