@mandolop97/constructor-nexora 1.0.0

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 (101) hide show
  1. package/README.md +73 -0
  2. package/dist/App.d.ts +2 -0
  3. package/dist/NexoraBuilderApp.d.ts +58 -0
  4. package/dist/components/NavLink.d.ts +8 -0
  5. package/dist/components/builder/BlocksPalette.d.ts +1 -0
  6. package/dist/components/builder/BuilderCanvas.d.ts +9 -0
  7. package/dist/components/builder/BuilderEditorShell.d.ts +14 -0
  8. package/dist/components/builder/Inspector.d.ts +9 -0
  9. package/dist/components/builder/LayersPanel.d.ts +8 -0
  10. package/dist/components/builder/PageManager.d.ts +7 -0
  11. package/dist/components/builder/PublishDialog.d.ts +9 -0
  12. package/dist/components/builder/TopBar.d.ts +18 -0
  13. package/dist/components/schema/EditableDropZone.d.ts +8 -0
  14. package/dist/components/schema/NodeRegistry.d.ts +10 -0
  15. package/dist/components/schema/PageRenderer.d.ts +9 -0
  16. package/dist/components/schema/SortableNodeWrapper.d.ts +10 -0
  17. package/dist/components/schema/nodes/CommerceNodes.d.ts +9 -0
  18. package/dist/components/schema/nodes/ContentNodes.d.ts +12 -0
  19. package/dist/components/schema/nodes/LayoutNodes.d.ts +12 -0
  20. package/dist/components/schema/nodes/SiteNodes.d.ts +10 -0
  21. package/dist/components/schema/nodes/TemplateNodes.d.ts +13 -0
  22. package/dist/components/schema/nodes/UINodes.d.ts +11 -0
  23. package/dist/components/ui/accordion.d.ts +7 -0
  24. package/dist/components/ui/alert-dialog.d.ts +20 -0
  25. package/dist/components/ui/alert.d.ts +8 -0
  26. package/dist/components/ui/aspect-ratio.d.ts +3 -0
  27. package/dist/components/ui/avatar.d.ts +6 -0
  28. package/dist/components/ui/badge.d.ts +9 -0
  29. package/dist/components/ui/breadcrumb.d.ts +19 -0
  30. package/dist/components/ui/button.d.ts +11 -0
  31. package/dist/components/ui/calendar.d.ts +8 -0
  32. package/dist/components/ui/card.d.ts +8 -0
  33. package/dist/components/ui/carousel.d.ts +18 -0
  34. package/dist/components/ui/chart.d.ts +62 -0
  35. package/dist/components/ui/checkbox.d.ts +4 -0
  36. package/dist/components/ui/collapsible.d.ts +5 -0
  37. package/dist/components/ui/command.d.ts +82 -0
  38. package/dist/components/ui/context-menu.d.ts +27 -0
  39. package/dist/components/ui/dialog.d.ts +19 -0
  40. package/dist/components/ui/drawer.d.ts +22 -0
  41. package/dist/components/ui/dropdown-menu.d.ts +27 -0
  42. package/dist/components/ui/form.d.ts +23 -0
  43. package/dist/components/ui/hover-card.d.ts +6 -0
  44. package/dist/components/ui/input-otp.d.ts +34 -0
  45. package/dist/components/ui/input.d.ts +3 -0
  46. package/dist/components/ui/label.d.ts +5 -0
  47. package/dist/components/ui/menubar.d.ts +33 -0
  48. package/dist/components/ui/navigation-menu.d.ts +12 -0
  49. package/dist/components/ui/pagination.d.ts +28 -0
  50. package/dist/components/ui/popover.d.ts +6 -0
  51. package/dist/components/ui/progress.d.ts +4 -0
  52. package/dist/components/ui/radio-group.d.ts +5 -0
  53. package/dist/components/ui/resizable.d.ts +23 -0
  54. package/dist/components/ui/scroll-area.d.ts +5 -0
  55. package/dist/components/ui/select.d.ts +13 -0
  56. package/dist/components/ui/separator.d.ts +4 -0
  57. package/dist/components/ui/sheet.d.ts +25 -0
  58. package/dist/components/ui/sidebar.d.ts +66 -0
  59. package/dist/components/ui/skeleton.d.ts +2 -0
  60. package/dist/components/ui/slider.d.ts +4 -0
  61. package/dist/components/ui/sonner.d.ts +4 -0
  62. package/dist/components/ui/switch.d.ts +4 -0
  63. package/dist/components/ui/table.d.ts +10 -0
  64. package/dist/components/ui/tabs.d.ts +7 -0
  65. package/dist/components/ui/textarea.d.ts +5 -0
  66. package/dist/components/ui/toast.d.ts +15 -0
  67. package/dist/components/ui/toaster.d.ts +1 -0
  68. package/dist/components/ui/toggle-group.d.ts +12 -0
  69. package/dist/components/ui/toggle.d.ts +12 -0
  70. package/dist/components/ui/tooltip.d.ts +7 -0
  71. package/dist/components/ui/use-toast.d.ts +2 -0
  72. package/dist/favicon.ico +0 -0
  73. package/dist/hooks/use-mobile.d.ts +1 -0
  74. package/dist/hooks/use-schema-history.d.ts +9 -0
  75. package/dist/hooks/use-toast.d.ts +44 -0
  76. package/dist/index.css +1 -0
  77. package/dist/index.d.ts +16 -0
  78. package/dist/index.js +13163 -0
  79. package/dist/integrations/supabase/client.d.ts +35 -0
  80. package/dist/integrations/supabase/types.d.ts +103 -0
  81. package/dist/lib/block-registry.d.ts +15 -0
  82. package/dist/lib/default-schema.d.ts +5 -0
  83. package/dist/lib/default-schemas.d.ts +16 -0
  84. package/dist/lib/node-factory.d.ts +3 -0
  85. package/dist/lib/schema-store.d.ts +14 -0
  86. package/dist/lib/schema-validator.d.ts +14 -0
  87. package/dist/lib/utils.d.ts +2 -0
  88. package/dist/lib/version.d.ts +1 -0
  89. package/dist/main.d.ts +1 -0
  90. package/dist/pages/Builder.d.ts +1 -0
  91. package/dist/pages/ExportSchema.d.ts +2 -0
  92. package/dist/pages/Index.d.ts +2 -0
  93. package/dist/pages/LicenseBlocked.d.ts +2 -0
  94. package/dist/pages/NotFound.d.ts +2 -0
  95. package/dist/pages/Preview.d.ts +2 -0
  96. package/dist/placeholder.svg +1 -0
  97. package/dist/robots.txt +14 -0
  98. package/dist/test/example.test.d.ts +1 -0
  99. package/dist/test/setup.d.ts +1 -0
  100. package/dist/types/schema.d.ts +125 -0
  101. package/package.json +109 -0
package/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # Welcome to your Lovable project
2
+
3
+ ## Project info
4
+
5
+ **URL**: https://lovable.dev/projects/REPLACE_WITH_PROJECT_ID
6
+
7
+ ## How can I edit this code?
8
+
9
+ There are several ways of editing your application.
10
+
11
+ **Use Lovable**
12
+
13
+ Simply visit the [Lovable Project](https://lovable.dev/projects/REPLACE_WITH_PROJECT_ID) and start prompting.
14
+
15
+ Changes made via Lovable will be committed automatically to this repo.
16
+
17
+ **Use your preferred IDE**
18
+
19
+ If you want to work locally using your own IDE, you can clone this repo and push changes. Pushed changes will also be reflected in Lovable.
20
+
21
+ The only requirement is having Node.js & npm installed - [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating)
22
+
23
+ Follow these steps:
24
+
25
+ ```sh
26
+ # Step 1: Clone the repository using the project's Git URL.
27
+ git clone <YOUR_GIT_URL>
28
+
29
+ # Step 2: Navigate to the project directory.
30
+ cd <YOUR_PROJECT_NAME>
31
+
32
+ # Step 3: Install the necessary dependencies.
33
+ npm i
34
+
35
+ # Step 4: Start the development server with auto-reloading and an instant preview.
36
+ npm run dev
37
+ ```
38
+
39
+ **Edit a file directly in GitHub**
40
+
41
+ - Navigate to the desired file(s).
42
+ - Click the "Edit" button (pencil icon) at the top right of the file view.
43
+ - Make your changes and commit the changes.
44
+
45
+ **Use GitHub Codespaces**
46
+
47
+ - Navigate to the main page of your repository.
48
+ - Click on the "Code" button (green button) near the top right.
49
+ - Select the "Codespaces" tab.
50
+ - Click on "New codespace" to launch a new Codespace environment.
51
+ - Edit files directly within the Codespace and commit and push your changes once you're done.
52
+
53
+ ## What technologies are used for this project?
54
+
55
+ This project is built with:
56
+
57
+ - Vite
58
+ - TypeScript
59
+ - React
60
+ - shadcn-ui
61
+ - Tailwind CSS
62
+
63
+ ## How can I deploy this project?
64
+
65
+ Simply open [Lovable](https://lovable.dev/projects/REPLACE_WITH_PROJECT_ID) and click on Share -> Publish.
66
+
67
+ ## Can I connect a custom domain to my Lovable project?
68
+
69
+ Yes, you can!
70
+
71
+ To connect a domain, navigate to Project > Settings > Domains and click Connect Domain.
72
+
73
+ Read more here: [Setting up a custom domain](https://docs.lovable.dev/features/custom-domain#custom-domain)
package/dist/App.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const App: () => import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1,58 @@
1
+ import { Schema, PageDefinition } from '@/types/schema';
2
+ export interface NexoraBuilderAppProps {
3
+ /**
4
+ * Initial schema to load in the editor.
5
+ * Takes priority over any schema resolved from `pages`.
6
+ * If omitted, the editor falls back to the active page's schema or a built-in default.
7
+ */
8
+ initialSchema?: Schema;
9
+ /**
10
+ * Optional domain context string passed through to callbacks.
11
+ * Useful for multi-tenant hosts that manage schemas per domain.
12
+ */
13
+ domain?: string;
14
+ /**
15
+ * Optional page slug context. Informational — does not affect editor behavior directly.
16
+ */
17
+ pageSlug?: string;
18
+ /**
19
+ * Called when the user clicks **Save**. Receives the current schema.
20
+ */
21
+ onSave?: (schema: Schema) => void;
22
+ /**
23
+ * Called when the user clicks **Publish**. Receives the current schema.
24
+ * If omitted, the built-in publish dialog is shown instead.
25
+ */
26
+ onPublish?: (schema: Schema) => void;
27
+ /**
28
+ * Called when the user clicks **Preview**. Receives the current schema.
29
+ */
30
+ onPreview?: (schema: Schema) => void;
31
+ /**
32
+ * Called when the user clicks **Export**. Receives the current schema.
33
+ */
34
+ onExport?: (schema: Schema) => void;
35
+ /** CSS class name applied to the root container. */
36
+ className?: string;
37
+ /**
38
+ * List of pages available for editing.
39
+ * When provided, a **Pages** tab appears in the left sidebar.
40
+ * If `activePage` is not set, the editor shows the PageManager as a full-screen page selector.
41
+ */
42
+ pages?: PageDefinition[];
43
+ /**
44
+ * Slug of the currently active page (must match a slug in `pages[]`).
45
+ * When set together with `pages`, the editor loads that page's schema.
46
+ */
47
+ activePage?: string;
48
+ /**
49
+ * Called when the user selects a different page from the Pages tab or clicks the back button.
50
+ * The host is responsible for updating `activePage` accordingly.
51
+ */
52
+ onPageChange?: (slug: string) => void;
53
+ /**
54
+ * Called on save alongside `onSave`, providing the active page slug for routing-aware persistence.
55
+ */
56
+ onSaveWithSlug?: (slug: string, schema: Schema) => void;
57
+ }
58
+ export declare function NexoraBuilderApp({ initialSchema, domain, pageSlug, onSave, onPublish, onPreview, onExport, className, pages, activePage, onPageChange, onSaveWithSlug, }: NexoraBuilderAppProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { NavLinkProps } from "react-router-dom";
2
+ interface NavLinkCompatProps extends Omit<NavLinkProps, "className"> {
3
+ className?: string;
4
+ activeClassName?: string;
5
+ pendingClassName?: string;
6
+ }
7
+ declare const NavLink: import("react").ForwardRefExoticComponent<NavLinkCompatProps & import("react").RefAttributes<HTMLAnchorElement>>;
8
+ export { NavLink };
@@ -0,0 +1 @@
1
+ export declare function BlocksPalette(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Schema } from '@/types/schema';
2
+ interface BuilderCanvasProps {
3
+ schema: Schema;
4
+ device: 'desktop' | 'tablet' | 'mobile';
5
+ selectedNodeId: string | null;
6
+ onSelectNode: (id: string) => void;
7
+ }
8
+ export declare function BuilderCanvas({ schema, device, selectedNodeId, onSelectNode }: BuilderCanvasProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,14 @@
1
+ import { Schema, PageDefinition } from '@/types/schema';
2
+ export interface BuilderEditorShellProps {
3
+ initialSchema: Schema;
4
+ onSave: (schema: Schema) => void;
5
+ onPublish?: (schema: Schema) => void;
6
+ onPreview?: (schema: Schema) => void;
7
+ onExport?: (schema: Schema) => void;
8
+ className?: string;
9
+ pages?: PageDefinition[];
10
+ activePage?: string;
11
+ onPageChange?: (slug: string) => void;
12
+ pageTitle?: string;
13
+ }
14
+ export declare function BuilderEditorShell({ initialSchema, onSave: onSaveExternal, onPublish, onPreview, onExport, className, pages, activePage, onPageChange, pageTitle, }: BuilderEditorShellProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { SchemaNode, NodeProps, NodeStyle } from '@/types/schema';
2
+ interface InspectorProps {
3
+ node: SchemaNode;
4
+ onUpdateProps: (props: Partial<NodeProps>) => void;
5
+ onUpdateStyle: (style: Partial<NodeStyle>) => void;
6
+ onDelete: () => void;
7
+ }
8
+ export declare function Inspector({ node, onUpdateProps, onUpdateStyle, onDelete }: InspectorProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Schema } from '@/types/schema';
2
+ interface LayersPanelProps {
3
+ schema: Schema;
4
+ selectedNodeId: string | null;
5
+ onSelectNode: (id: string) => void;
6
+ }
7
+ export declare function LayersPanel({ schema, selectedNodeId, onSelectNode }: LayersPanelProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import { PageDefinition } from '@/types/schema';
2
+ export interface PageManagerProps {
3
+ pages: PageDefinition[];
4
+ activePage?: string;
5
+ onSelectPage: (slug: string) => void;
6
+ }
7
+ export declare function PageManager({ pages, activePage, onSelectPage }: PageManagerProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { Schema } from '@/types/schema';
2
+ interface PublishDialogProps {
3
+ open: boolean;
4
+ onOpenChange: (open: boolean) => void;
5
+ schema: Schema;
6
+ mode: 'draft' | 'published';
7
+ }
8
+ export declare function PublishDialog({ open, onOpenChange, schema, mode }: PublishDialogProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,18 @@
1
+ interface TopBarProps {
2
+ onSave: () => void;
3
+ onUndo: () => void;
4
+ onRedo: () => void;
5
+ canUndo: boolean;
6
+ canRedo: boolean;
7
+ onPreview: () => void;
8
+ onExport: () => void;
9
+ onPublish: () => void;
10
+ onSaveDraft: () => void;
11
+ device: 'desktop' | 'tablet' | 'mobile';
12
+ onDeviceChange: (d: 'desktop' | 'tablet' | 'mobile') => void;
13
+ dirty: boolean;
14
+ pageTitle?: string;
15
+ onBackToPages?: () => void;
16
+ }
17
+ export declare function TopBar({ onSave, onUndo, onRedo, canUndo, canRedo, onPreview, onExport, onPublish, onSaveDraft, device, onDeviceChange, dirty, pageTitle, onBackToPages }: TopBarProps): import("react/jsx-runtime").JSX.Element;
18
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface EditableDropZoneProps {
3
+ nodeId: string;
4
+ children: React.ReactNode;
5
+ isEmpty: boolean;
6
+ }
7
+ export declare function EditableDropZone({ nodeId, children, isEmpty }: EditableDropZoneProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { SchemaNode, NodeType, RenderMode } from '@/types/schema';
3
+ export interface NodeComponentProps {
4
+ node: SchemaNode;
5
+ mode: RenderMode;
6
+ renderChildren: (childIds: string[]) => React.ReactNode;
7
+ }
8
+ type NodeComponent = React.FC<NodeComponentProps>;
9
+ export declare function getNodeComponent(type: NodeType): NodeComponent | undefined;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import { Schema, RenderMode } from '@/types/schema';
2
+ interface PageRendererProps {
3
+ schema: Schema;
4
+ mode: RenderMode;
5
+ selectedNodeId?: string | null;
6
+ onSelectNode?: (nodeId: string) => void;
7
+ }
8
+ export declare function PageRenderer({ schema, mode, selectedNodeId, onSelectNode }: PageRendererProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface SortableNodeWrapperProps {
3
+ nodeId: string;
4
+ children: React.ReactNode;
5
+ isSelected: boolean;
6
+ nodeType: string;
7
+ onSelect: (id: string) => void;
8
+ }
9
+ export declare function SortableNodeWrapper({ nodeId, children, isSelected, nodeType, onSelect }: SortableNodeWrapperProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { SchemaNode, RenderMode } from '@/types/schema';
3
+ interface NodeComponentProps {
4
+ node: SchemaNode;
5
+ mode: RenderMode;
6
+ renderChildren: (childIds: string[]) => React.ReactNode;
7
+ }
8
+ export declare function ProductCardNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { SchemaNode, RenderMode } from '@/types/schema';
3
+ interface NodeComponentProps {
4
+ node: SchemaNode;
5
+ mode: RenderMode;
6
+ renderChildren: (childIds: string[]) => React.ReactNode;
7
+ }
8
+ export declare function TextNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ImageNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function DividerNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function BadgeNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { SchemaNode, RenderMode } from '@/types/schema';
3
+ interface NodeComponentProps {
4
+ node: SchemaNode;
5
+ mode: RenderMode;
6
+ renderChildren: (childIds: string[]) => React.ReactNode;
7
+ }
8
+ export declare function SectionNode({ node, mode, renderChildren }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function ContainerNode({ node, mode, renderChildren }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function GridNode({ node, mode, renderChildren }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function StackNode({ node, mode, renderChildren }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { SchemaNode, RenderMode } from '@/types/schema';
3
+ interface NodeComponentProps {
4
+ node: SchemaNode;
5
+ mode: RenderMode;
6
+ renderChildren: (childIds: string[]) => React.ReactNode;
7
+ }
8
+ export declare function NavbarNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function FooterNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { SchemaNode, RenderMode } from '@/types/schema';
3
+ interface NodeComponentProps {
4
+ node: SchemaNode;
5
+ mode: RenderMode;
6
+ renderChildren: (childIds: string[]) => React.ReactNode;
7
+ }
8
+ export declare function AnnouncementBarNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function FeatureBarNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function TestimonialCardNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function NewsletterSectionNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function HeroSectionNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { SchemaNode, RenderMode } from '@/types/schema';
3
+ interface NodeComponentProps {
4
+ node: SchemaNode;
5
+ mode: RenderMode;
6
+ renderChildren: (childIds: string[]) => React.ReactNode;
7
+ }
8
+ export declare function ButtonNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function CardNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function InputNode({ node }: NodeComponentProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
3
+ declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
4
+ declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
@@ -0,0 +1,20 @@
1
+ import * as React from "react";
2
+ import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
3
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
4
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const AlertDialogHeader: {
9
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
12
+ declare const AlertDialogFooter: {
13
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ };
16
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
17
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
18
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
19
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
20
+ export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: {
4
+ variant?: "default" | "destructive";
5
+ } & import("class-variance-authority/types").ClassProp) => string> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
7
+ declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
8
+ export { Alert, AlertTitle, AlertDescription };
@@ -0,0 +1,3 @@
1
+ import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
2
+ declare const AspectRatio: import("react").ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ export { AspectRatio };
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
+ declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
+ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
5
+ declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
+ export { Avatar, AvatarImage, AvatarFallback };
@@ -0,0 +1,9 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const badgeVariants: (props?: {
4
+ variant?: "default" | "destructive" | "outline" | "secondary";
5
+ } & import("class-variance-authority/types").ClassProp) => string;
6
+ export interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
7
+ }
8
+ declare function Badge({ className, variant, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
9
+ export { Badge, badgeVariants };
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
3
+ separator?: React.ReactNode;
4
+ } & React.RefAttributes<HTMLElement>>;
5
+ declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
6
+ declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
7
+ declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
8
+ asChild?: boolean;
9
+ } & React.RefAttributes<HTMLAnchorElement>>;
10
+ declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
11
+ declare const BreadcrumbSeparator: {
12
+ ({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
13
+ displayName: string;
14
+ };
15
+ declare const BreadcrumbEllipsis: {
16
+ ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
17
+ displayName: string;
18
+ };
19
+ export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const buttonVariants: (props?: {
4
+ variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost";
5
+ size?: "default" | "sm" | "lg" | "icon";
6
+ } & import("class-variance-authority/types").ClassProp) => string;
7
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
+ asChild?: boolean;
9
+ }
10
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
11
+ export { Button, buttonVariants };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ import { DayPicker } from "react-day-picker";
3
+ export type CalendarProps = React.ComponentProps<typeof DayPicker>;
4
+ declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace Calendar {
6
+ var displayName: string;
7
+ }
8
+ export { Calendar };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
5
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
6
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
@@ -0,0 +1,18 @@
1
+ import * as React from "react";
2
+ import useEmblaCarousel, { type UseEmblaCarouselType } from "embla-carousel-react";
3
+ type CarouselApi = UseEmblaCarouselType[1];
4
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
5
+ type CarouselOptions = UseCarouselParameters[0];
6
+ type CarouselPlugin = UseCarouselParameters[1];
7
+ type CarouselProps = {
8
+ opts?: CarouselOptions;
9
+ plugins?: CarouselPlugin;
10
+ orientation?: "horizontal" | "vertical";
11
+ setApi?: (api: CarouselApi) => void;
12
+ };
13
+ declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
14
+ declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
+ declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
+ declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<import("@/components/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
17
+ declare const CarouselNext: React.ForwardRefExoticComponent<Omit<import("@/components/ui/button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
18
+ export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext };
@@ -0,0 +1,62 @@
1
+ import * as React from "react";
2
+ import * as RechartsPrimitive from "recharts";
3
+ declare const THEMES: {
4
+ readonly light: "";
5
+ readonly dark: ".dark";
6
+ };
7
+ export type ChartConfig = {
8
+ [k in string]: {
9
+ label?: React.ReactNode;
10
+ icon?: React.ComponentType;
11
+ } & ({
12
+ color?: string;
13
+ theme?: never;
14
+ } | {
15
+ color?: never;
16
+ theme: Record<keyof typeof THEMES, string>;
17
+ });
18
+ };
19
+ declare const ChartContainer: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
20
+ config: ChartConfig;
21
+ children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
22
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
+ declare const ChartStyle: ({ id, config }: {
24
+ id: string;
25
+ config: ChartConfig;
26
+ }) => import("react/jsx-runtime").JSX.Element;
27
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
28
+ declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<RechartsPrimitive.DefaultTooltipContentProps<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType> & {
29
+ accessibilityLayer?: boolean;
30
+ active?: boolean | undefined;
31
+ includeHidden?: boolean | undefined;
32
+ allowEscapeViewBox?: import("recharts/types/util/types").AllowInDimension;
33
+ animationDuration?: import("recharts/types/util/types").AnimationDuration;
34
+ animationEasing?: import("recharts/types/util/types").AnimationTiming;
35
+ content?: import("recharts/types/component/Tooltip").ContentType<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType>;
36
+ coordinate?: Partial<import("recharts/types/util/types").Coordinate>;
37
+ cursor?: boolean | React.ReactElement | React.SVGProps<SVGElement>;
38
+ filterNull?: boolean;
39
+ defaultIndex?: number;
40
+ isAnimationActive?: boolean;
41
+ offset?: number;
42
+ payloadUniqBy?: import("recharts/types/util/payload/getUniqPayload").UniqueOption<import("recharts/types/component/DefaultTooltipContent").Payload<import("recharts/types/component/DefaultTooltipContent").ValueType, import("recharts/types/component/DefaultTooltipContent").NameType>>;
43
+ position?: Partial<import("recharts/types/util/types").Coordinate>;
44
+ reverseDirection?: import("recharts/types/util/types").AllowInDimension;
45
+ shared?: boolean;
46
+ trigger?: "hover" | "click";
47
+ useTranslate3d?: boolean;
48
+ viewBox?: import("recharts/types/util/types").CartesianViewBox;
49
+ wrapperStyle?: React.CSSProperties;
50
+ } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
51
+ hideLabel?: boolean;
52
+ hideIndicator?: boolean;
53
+ indicator?: "line" | "dot" | "dashed";
54
+ nameKey?: string;
55
+ labelKey?: string;
56
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
57
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
58
+ declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
59
+ hideIcon?: boolean;
60
+ nameKey?: string;
61
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
62
+ export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export { Checkbox };
@@ -0,0 +1,5 @@
1
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
2
+ declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
4
+ declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };