visual-forge-hub-test-env 0.1.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 (198) hide show
  1. package/README.md +73 -0
  2. package/dist/App.d.ts +2 -0
  3. package/dist/components/admin/AdminLayout.d.ts +6 -0
  4. package/dist/components/admin/CreateLayoutDialog.d.ts +7 -0
  5. package/dist/components/admin/CreatePageDialog.d.ts +6 -0
  6. package/dist/components/admin/CreateTemplateDialog.d.ts +7 -0
  7. package/dist/components/admin/CreateWidgetDialog.d.ts +7 -0
  8. package/dist/components/admin/LayoutList.d.ts +8 -0
  9. package/dist/components/admin/PageList.d.ts +5 -0
  10. package/dist/components/admin/TemplateList.d.ts +8 -0
  11. package/dist/components/admin/WidgetList.d.ts +8 -0
  12. package/dist/components/api/ApiAuthEditor.d.ts +15 -0
  13. package/dist/components/api/ApiRequestEditor.d.ts +20 -0
  14. package/dist/components/api/ApiRequestTree.d.ts +25 -0
  15. package/dist/components/api/ApiResponseViewer.d.ts +13 -0
  16. package/dist/components/api/CodeGeneratorDialog.d.ts +23 -0
  17. package/dist/components/api/CreateCollectionDialog.d.ts +3 -0
  18. package/dist/components/api/EnvironmentSelector.d.ts +16 -0
  19. package/dist/components/api/ExportCollectionButton.d.ts +6 -0
  20. package/dist/components/api/ImportCollectionDialog.d.ts +5 -0
  21. package/dist/components/api/KeyValueEditor.d.ts +15 -0
  22. package/dist/components/api/RequestHistoryPanel.d.ts +16 -0
  23. package/dist/components/editor/AccordionComponentEditor.d.ts +13 -0
  24. package/dist/components/editor/ButtonComponentEditor.d.ts +7 -0
  25. package/dist/components/editor/CardComponentEditor.d.ts +15 -0
  26. package/dist/components/editor/ChartComponentEditor.d.ts +8 -0
  27. package/dist/components/editor/CodeComponentEditor.d.ts +7 -0
  28. package/dist/components/editor/ColumnDivider.d.ts +6 -0
  29. package/dist/components/editor/ComponentContextMenu.d.ts +15 -0
  30. package/dist/components/editor/ComponentStylePanel.d.ts +25 -0
  31. package/dist/components/editor/ComponentsSidebar.d.ts +7 -0
  32. package/dist/components/editor/DeviceFrame.d.ts +7 -0
  33. package/dist/components/editor/DividerComponentEditor.d.ts +1 -0
  34. package/dist/components/editor/DraggableComponent.d.ts +13 -0
  35. package/dist/components/editor/DroppableColumn.d.ts +15 -0
  36. package/dist/components/editor/EntityDetailComponentEditor.d.ts +6 -0
  37. package/dist/components/editor/EntityListComponentEditor.d.ts +6 -0
  38. package/dist/components/editor/FormCheckboxComponentEditor.d.ts +12 -0
  39. package/dist/components/editor/FormInputComponentEditor.d.ts +13 -0
  40. package/dist/components/editor/FormSelectComponentEditor.d.ts +12 -0
  41. package/dist/components/editor/FormSubmitComponentEditor.d.ts +14 -0
  42. package/dist/components/editor/FormTextareaComponentEditor.d.ts +13 -0
  43. package/dist/components/editor/GridCanvas.d.ts +27 -0
  44. package/dist/components/editor/HeadingComponentEditor.d.ts +7 -0
  45. package/dist/components/editor/ImageComponentEditor.d.ts +7 -0
  46. package/dist/components/editor/InsertWidgetDialog.d.ts +7 -0
  47. package/dist/components/editor/LayoutPreviewModal.d.ts +10 -0
  48. package/dist/components/editor/LinkComponentEditor.d.ts +7 -0
  49. package/dist/components/editor/ListComponentEditor.d.ts +7 -0
  50. package/dist/components/editor/OutlinePanel.d.ts +14 -0
  51. package/dist/components/editor/OutlineTreeItem.d.ts +18 -0
  52. package/dist/components/editor/PageActionsDropdown.d.ts +9 -0
  53. package/dist/components/editor/PageContentComponentEditor.d.ts +1 -0
  54. package/dist/components/editor/PagePreviewModal.d.ts +17 -0
  55. package/dist/components/editor/PageVersionDiffView.d.ts +28 -0
  56. package/dist/components/editor/PageVersionsDialog.d.ts +9 -0
  57. package/dist/components/editor/PreviewModal.d.ts +7 -0
  58. package/dist/components/editor/QueryComponentEditor.d.ts +6 -0
  59. package/dist/components/editor/QuoteComponentEditor.d.ts +7 -0
  60. package/dist/components/editor/ResponsiveControls.d.ts +7 -0
  61. package/dist/components/editor/RowContextMenu.d.ts +12 -0
  62. package/dist/components/editor/RowPropertiesPanel.d.ts +37 -0
  63. package/dist/components/editor/SectionTemplatesDialog.d.ts +5 -0
  64. package/dist/components/editor/SidebarToggle.d.ts +17 -0
  65. package/dist/components/editor/SortableRow.d.ts +23 -0
  66. package/dist/components/editor/SpacerComponentEditor.d.ts +7 -0
  67. package/dist/components/editor/TabsComponentEditor.d.ts +13 -0
  68. package/dist/components/editor/TextComponentEditor.d.ts +7 -0
  69. package/dist/components/editor/VideoComponentEditor.d.ts +7 -0
  70. package/dist/components/editor/WidgetPreviewModal.d.ts +10 -0
  71. package/dist/components/entities/AddFieldPopover.d.ts +11 -0
  72. package/dist/components/entities/CardLayoutEditor.d.ts +24 -0
  73. package/dist/components/entities/CreateEntityDialog.d.ts +7 -0
  74. package/dist/components/entities/EntityActionsDropdown.d.ts +8 -0
  75. package/dist/components/entities/EntityRecordDialog.d.ts +24 -0
  76. package/dist/components/entities/EntityVersionDiffView.d.ts +9 -0
  77. package/dist/components/entities/EntityVersionsDialog.d.ts +8 -0
  78. package/dist/components/entities/FieldEditor.d.ts +16 -0
  79. package/dist/components/entities/ViewOptionsPanel.d.ts +82 -0
  80. package/dist/components/entities/ViewSelector.d.ts +22 -0
  81. package/dist/components/entities/views/CalendarView.d.ts +27 -0
  82. package/dist/components/entities/views/CardView.d.ts +32 -0
  83. package/dist/components/entities/views/GalleryView.d.ts +28 -0
  84. package/dist/components/entities/views/GanttView.d.ts +33 -0
  85. package/dist/components/entities/views/KanbanView.d.ts +35 -0
  86. package/dist/components/entities/views/ListView.d.ts +31 -0
  87. package/dist/components/entities/views/TimelineView.d.ts +28 -0
  88. package/dist/components/forms/ConditionalLogicEditor.d.ts +20 -0
  89. package/dist/components/forms/CreateFormDialog.d.ts +6 -0
  90. package/dist/components/forms/FieldLibrary.d.ts +5 -0
  91. package/dist/components/forms/FieldPropertiesPanel.d.ts +11 -0
  92. package/dist/components/forms/FormCanvas.d.ts +11 -0
  93. package/dist/components/forms/FormPreviewModal.d.ts +9 -0
  94. package/dist/components/forms/FormPropertiesPanel.d.ts +6 -0
  95. package/dist/components/forms/FormSubmissionDialog.d.ts +6 -0
  96. package/dist/components/forms/FormTemplateDialog.d.ts +15 -0
  97. package/dist/components/forms/OptionsEditor.d.ts +10 -0
  98. package/dist/components/forms/SectionPropertiesPanel.d.ts +11 -0
  99. package/dist/components/forms/SectionRenderer.d.ts +15 -0
  100. package/dist/components/forms/ValidationRulesEditor.d.ts +7 -0
  101. package/dist/components/public/ChartRenderer.d.ts +12 -0
  102. package/dist/components/public/ComponentRenderer.d.ts +7 -0
  103. package/dist/components/queries/CreateQueryDialog.d.ts +6 -0
  104. package/dist/components/queries/QueryConditionBuilder.d.ts +5 -0
  105. package/dist/components/queries/QueryConditionTree.d.ts +5 -0
  106. package/dist/components/queries/QueryFieldSelector.d.ts +7 -0
  107. package/dist/components/queries/QueryJoinBuilder.d.ts +5 -0
  108. package/dist/components/queries/QueryJoinTree.d.ts +5 -0
  109. package/dist/components/queries/QuerySettingsPanel.d.ts +6 -0
  110. package/dist/components/ui/accordion.d.ts +7 -0
  111. package/dist/components/ui/alert-dialog.d.ts +20 -0
  112. package/dist/components/ui/alert.d.ts +8 -0
  113. package/dist/components/ui/aspect-ratio.d.ts +3 -0
  114. package/dist/components/ui/avatar.d.ts +6 -0
  115. package/dist/components/ui/badge.d.ts +9 -0
  116. package/dist/components/ui/breadcrumb.d.ts +19 -0
  117. package/dist/components/ui/button.d.ts +11 -0
  118. package/dist/components/ui/calendar.d.ts +8 -0
  119. package/dist/components/ui/card.d.ts +8 -0
  120. package/dist/components/ui/carousel.d.ts +18 -0
  121. package/dist/components/ui/chart.d.ts +62 -0
  122. package/dist/components/ui/checkbox.d.ts +4 -0
  123. package/dist/components/ui/collapsible.d.ts +5 -0
  124. package/dist/components/ui/command.d.ts +82 -0
  125. package/dist/components/ui/context-menu.d.ts +27 -0
  126. package/dist/components/ui/dialog.d.ts +21 -0
  127. package/dist/components/ui/drawer.d.ts +22 -0
  128. package/dist/components/ui/dropdown-menu.d.ts +27 -0
  129. package/dist/components/ui/form.d.ts +23 -0
  130. package/dist/components/ui/hover-card.d.ts +6 -0
  131. package/dist/components/ui/input-otp.d.ts +34 -0
  132. package/dist/components/ui/input.d.ts +3 -0
  133. package/dist/components/ui/label.d.ts +5 -0
  134. package/dist/components/ui/menubar.d.ts +33 -0
  135. package/dist/components/ui/navigation-menu.d.ts +12 -0
  136. package/dist/components/ui/pagination.d.ts +28 -0
  137. package/dist/components/ui/popover.d.ts +6 -0
  138. package/dist/components/ui/progress.d.ts +4 -0
  139. package/dist/components/ui/radio-group.d.ts +5 -0
  140. package/dist/components/ui/resizable.d.ts +23 -0
  141. package/dist/components/ui/scroll-area.d.ts +5 -0
  142. package/dist/components/ui/select.d.ts +13 -0
  143. package/dist/components/ui/separator.d.ts +4 -0
  144. package/dist/components/ui/sheet.d.ts +25 -0
  145. package/dist/components/ui/sidebar.d.ts +66 -0
  146. package/dist/components/ui/skeleton.d.ts +2 -0
  147. package/dist/components/ui/slider.d.ts +4 -0
  148. package/dist/components/ui/sonner.d.ts +4 -0
  149. package/dist/components/ui/switch.d.ts +4 -0
  150. package/dist/components/ui/table.d.ts +10 -0
  151. package/dist/components/ui/tabs.d.ts +7 -0
  152. package/dist/components/ui/textarea.d.ts +5 -0
  153. package/dist/components/ui/toast.d.ts +15 -0
  154. package/dist/components/ui/toaster.d.ts +1 -0
  155. package/dist/components/ui/toggle-group.d.ts +12 -0
  156. package/dist/components/ui/toggle.d.ts +12 -0
  157. package/dist/components/ui/tooltip.d.ts +7 -0
  158. package/dist/components/ui/use-toast.d.ts +2 -0
  159. package/dist/contexts/ClipboardContext.d.ts +12 -0
  160. package/dist/favicon.ico +0 -0
  161. package/dist/hooks/use-mobile.d.ts +1 -0
  162. package/dist/hooks/use-toast.d.ts +44 -0
  163. package/dist/hooks/useHistory.d.ts +14 -0
  164. package/dist/hooks/useKeyboardShortcuts.d.ts +11 -0
  165. package/dist/index.d.ts +2 -0
  166. package/dist/index.es.js +31293 -0
  167. package/dist/index.umd.js +175 -0
  168. package/dist/integrations/supabase/client.d.ts +1450 -0
  169. package/dist/integrations/supabase/types.d.ts +1581 -0
  170. package/dist/lib/utils.d.ts +2 -0
  171. package/dist/main.d.ts +0 -0
  172. package/dist/pages/Admin.d.ts +2 -0
  173. package/dist/pages/ApiCollectionEditor.d.ts +2 -0
  174. package/dist/pages/ApiCollections.d.ts +2 -0
  175. package/dist/pages/Auth.d.ts +2 -0
  176. package/dist/pages/Entities.d.ts +2 -0
  177. package/dist/pages/EntityEditor.d.ts +2 -0
  178. package/dist/pages/EntityRecords.d.ts +2 -0
  179. package/dist/pages/FormBuilder.d.ts +1 -0
  180. package/dist/pages/FormSettings.d.ts +1 -0
  181. package/dist/pages/FormSubmissions.d.ts +1 -0
  182. package/dist/pages/Forms.d.ts +1 -0
  183. package/dist/pages/LayoutEditor.d.ts +2 -0
  184. package/dist/pages/Layouts.d.ts +2 -0
  185. package/dist/pages/NotFound.d.ts +2 -0
  186. package/dist/pages/PageEditor.d.ts +2 -0
  187. package/dist/pages/PublicPage.d.ts +5 -0
  188. package/dist/pages/Queries.d.ts +1 -0
  189. package/dist/pages/QueryEditor.d.ts +1 -0
  190. package/dist/pages/QueryResults.d.ts +1 -0
  191. package/dist/pages/TemplateEditor.d.ts +2 -0
  192. package/dist/pages/Templates.d.ts +2 -0
  193. package/dist/pages/WidgetEditor.d.ts +2 -0
  194. package/dist/pages/Widgets.d.ts +2 -0
  195. package/dist/placeholder.svg +1 -0
  196. package/dist/robots.txt +14 -0
  197. package/dist/types/entity.d.ts +43 -0
  198. package/package.json +100 -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/d8f465d3-b552-433a-a1fe-1162f398d48a
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/d8f465d3-b552-433a-a1fe-1162f398d48a) 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/d8f465d3-b552-433a-a1fe-1162f398d48a) 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,6 @@
1
+ import { ReactNode } from 'react';
2
+ interface AdminLayoutProps {
3
+ children: ReactNode;
4
+ }
5
+ export declare function AdminLayout({ children }: AdminLayoutProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ interface CreateLayoutDialogProps {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ onSubmit: (title: string) => void;
5
+ }
6
+ export declare function CreateLayoutDialog({ open, onOpenChange, onSubmit }: CreateLayoutDialogProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ interface CreatePageDialogProps {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ }
5
+ export declare const CreatePageDialog: ({ open, onOpenChange }: CreatePageDialogProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ interface CreateTemplateDialogProps {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ onSubmit: (name: string, category: string, description?: string) => void;
5
+ }
6
+ export declare function CreateTemplateDialog({ open, onOpenChange, onSubmit }: CreateTemplateDialogProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ interface CreateWidgetDialogProps {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ onSubmit: (title: string, category?: string) => void;
5
+ }
6
+ export declare function CreateWidgetDialog({ open, onOpenChange, onSubmit }: CreateWidgetDialogProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ type Layout = Tables<"layouts">;
3
+ interface LayoutListProps {
4
+ layouts: Layout[];
5
+ onDelete: (id: string) => void;
6
+ }
7
+ export declare function LayoutList({ layouts, onDelete }: LayoutListProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,5 @@
1
+ interface PageListProps {
2
+ onCreatePage: () => void;
3
+ }
4
+ export declare const PageList: ({ onCreatePage }: PageListProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ type SectionTemplate = Tables<"section_templates">;
3
+ interface TemplateListProps {
4
+ templates: SectionTemplate[];
5
+ onDelete: (id: string) => void;
6
+ }
7
+ export declare function TemplateList({ templates, onDelete }: TemplateListProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ type Widget = Tables<"widgets">;
3
+ interface WidgetListProps {
4
+ widgets: Widget[];
5
+ onDelete: (id: string) => void;
6
+ }
7
+ export declare function WidgetList({ widgets, onDelete }: WidgetListProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,15 @@
1
+ interface AuthConfig {
2
+ token?: string;
3
+ username?: string;
4
+ password?: string;
5
+ key?: string;
6
+ value?: string;
7
+ }
8
+ interface ApiAuthEditorProps {
9
+ authType: string;
10
+ authConfig: AuthConfig;
11
+ onAuthTypeChange: (type: string) => void;
12
+ onAuthConfigChange: (config: AuthConfig) => void;
13
+ }
14
+ export declare const ApiAuthEditor: ({ authType, authConfig, onAuthTypeChange, onAuthConfigChange, }: ApiAuthEditorProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,20 @@
1
+ interface ApiRequestEditorProps {
2
+ request: {
3
+ id: string;
4
+ name: string;
5
+ description?: string | null;
6
+ method: string;
7
+ url: string;
8
+ headers: any[];
9
+ query_params: any[];
10
+ body_type: string;
11
+ body_content: string;
12
+ auth_type: string;
13
+ auth_config: any;
14
+ };
15
+ onUpdate: (updates: Partial<any>) => void;
16
+ onSend: () => void;
17
+ sending: boolean;
18
+ }
19
+ export declare const ApiRequestEditor: ({ request, onUpdate, onSend, sending }: ApiRequestEditorProps) => import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -0,0 +1,25 @@
1
+ interface Request {
2
+ id: string;
3
+ name: string;
4
+ method: string;
5
+ folder_id: string | null;
6
+ description?: string | null;
7
+ }
8
+ interface ApiFolder {
9
+ id: string;
10
+ name: string;
11
+ parent_folder_id: string | null;
12
+ }
13
+ interface ApiRequestTreeProps {
14
+ folders: ApiFolder[];
15
+ requests: Request[];
16
+ selectedRequestId: string | null;
17
+ onSelectRequest: (id: string) => void;
18
+ onCreateFolder: () => void;
19
+ onCreateRequest: (folderId?: string) => void;
20
+ onDeleteFolder: (id: string) => void;
21
+ onDeleteRequest: (id: string) => void;
22
+ onDuplicateRequest: (id: string) => void;
23
+ }
24
+ export declare const ApiRequestTree: ({ folders, requests, selectedRequestId, onSelectRequest, onCreateFolder, onCreateRequest, onDeleteFolder, onDeleteRequest, onDuplicateRequest, }: ApiRequestTreeProps) => import("react/jsx-runtime").JSX.Element;
25
+ export {};
@@ -0,0 +1,13 @@
1
+ interface ApiResponseViewerProps {
2
+ response: {
3
+ statusCode: number;
4
+ statusText: string;
5
+ headers: Record<string, string>;
6
+ body: any;
7
+ responseTime: number;
8
+ } | null;
9
+ requestId?: string;
10
+ onHistoryView?: (historyResponse: any) => void;
11
+ }
12
+ export declare const ApiResponseViewer: ({ response, requestId, onHistoryView }: ApiResponseViewerProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,23 @@
1
+ interface CodeGeneratorDialogProps {
2
+ request: {
3
+ name: string;
4
+ method: string;
5
+ url: string;
6
+ headers: {
7
+ key: string;
8
+ value: string;
9
+ enabled?: boolean;
10
+ }[];
11
+ query_params: {
12
+ key: string;
13
+ value: string;
14
+ enabled?: boolean;
15
+ }[];
16
+ body_type: string;
17
+ body_content: string;
18
+ auth_type: string;
19
+ auth_config: any;
20
+ };
21
+ }
22
+ export declare const CodeGeneratorDialog: ({ request }: CodeGeneratorDialogProps) => import("react/jsx-runtime").JSX.Element;
23
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const CreateCollectionDialog: ({ onCreated }: {
2
+ onCreated?: () => void;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ interface Environment {
2
+ id: string;
3
+ name: string;
4
+ variables: {
5
+ key: string;
6
+ value: string;
7
+ enabled: boolean;
8
+ }[];
9
+ is_active: boolean;
10
+ }
11
+ interface EnvironmentSelectorProps {
12
+ collectionId: string;
13
+ onEnvironmentChange: (env: Environment | null) => void;
14
+ }
15
+ export declare const EnvironmentSelector: ({ collectionId, onEnvironmentChange }: EnvironmentSelectorProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,6 @@
1
+ interface ExportCollectionButtonProps {
2
+ collectionId: string;
3
+ collectionName: string;
4
+ }
5
+ export declare const ExportCollectionButton: ({ collectionId, collectionName }: ExportCollectionButtonProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,5 @@
1
+ interface ImportCollectionDialogProps {
2
+ onImported: () => void;
3
+ }
4
+ export declare const ImportCollectionDialog: ({ onImported }: ImportCollectionDialogProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,15 @@
1
+ interface KeyValuePair {
2
+ key: string;
3
+ value: string;
4
+ enabled: boolean;
5
+ }
6
+ interface KeyValueEditorProps {
7
+ pairs: KeyValuePair[];
8
+ onChange: (pairs: KeyValuePair[]) => void;
9
+ placeholder?: {
10
+ key: string;
11
+ value: string;
12
+ };
13
+ }
14
+ export declare const KeyValueEditor: ({ pairs, onChange, placeholder }: KeyValueEditorProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,16 @@
1
+ interface HistoryEntry {
2
+ id: string;
3
+ request_id: string;
4
+ status_code: number | null;
5
+ response_time_ms: number | null;
6
+ response_headers: Record<string, string> | null;
7
+ response_body: string | null;
8
+ error_message: string | null;
9
+ executed_at: string;
10
+ }
11
+ interface RequestHistoryPanelProps {
12
+ requestId: string;
13
+ onViewResponse: (entry: HistoryEntry) => void;
14
+ }
15
+ export declare const RequestHistoryPanel: ({ requestId, onViewResponse }: RequestHistoryPanelProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -0,0 +1,13 @@
1
+ interface AccordionItem {
2
+ id: string;
3
+ title: string;
4
+ content: string;
5
+ }
6
+ interface AccordionComponentEditorProps {
7
+ content: {
8
+ items?: AccordionItem[];
9
+ };
10
+ onUpdate: (content: any) => void;
11
+ }
12
+ export declare const AccordionComponentEditor: ({ content, onUpdate }: AccordionComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ interface ButtonComponentEditorProps {
3
+ component: Tables<"page_components">;
4
+ onUpdate: (content: any) => void;
5
+ }
6
+ export declare const ButtonComponentEditor: ({ component, onUpdate, }: ButtonComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,15 @@
1
+ interface CardComponentEditorProps {
2
+ content: {
3
+ layout?: "image-top" | "image-left" | "pricing";
4
+ title?: string;
5
+ description?: string;
6
+ imageUrl?: string;
7
+ price?: string;
8
+ features?: string;
9
+ buttonText?: string;
10
+ buttonLink?: string;
11
+ };
12
+ onUpdate: (content: any) => void;
13
+ }
14
+ export declare const CardComponentEditor: ({ content, onUpdate }: CardComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ChartComponentEditorProps {
2
+ component: {
3
+ content: any;
4
+ };
5
+ onUpdate: (newContent: any) => void;
6
+ }
7
+ export declare const ChartComponentEditor: ({ component, onUpdate }: ChartComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ interface CodeComponentEditorProps {
3
+ component: Tables<"page_components">;
4
+ onUpdate: (content: any) => void;
5
+ }
6
+ export declare const CodeComponentEditor: ({ component, onUpdate, }: CodeComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ interface ColumnDividerProps {
2
+ onDrag: (deltaX: number) => void;
3
+ showGuides?: boolean;
4
+ }
5
+ export declare function ColumnDivider({ onDrag, showGuides }: ColumnDividerProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+ interface ComponentContextMenuProps {
3
+ children: ReactNode;
4
+ componentId: string;
5
+ component: any;
6
+ totalComponents: number;
7
+ currentPosition: number;
8
+ onEdit: () => void;
9
+ onDuplicate: () => void;
10
+ onDelete: () => void;
11
+ onMoveToTop: () => void;
12
+ onMoveToBottom: () => void;
13
+ }
14
+ export declare const ComponentContextMenu: ({ children, componentId, component, totalComponents, currentPosition, onEdit, onDuplicate, onDelete, onMoveToTop, onMoveToBottom, }: ComponentContextMenuProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,25 @@
1
+ interface ComponentStyles {
2
+ marginTop?: string;
3
+ marginBottom?: string;
4
+ marginLeft?: string;
5
+ marginRight?: string;
6
+ paddingTop?: string;
7
+ paddingBottom?: string;
8
+ paddingLeft?: string;
9
+ paddingRight?: string;
10
+ color?: string;
11
+ backgroundColor?: string;
12
+ fontSize?: string;
13
+ fontWeight?: string;
14
+ textAlign?: string;
15
+ borderRadius?: string;
16
+ boxShadow?: string;
17
+ border?: string;
18
+ }
19
+ interface ComponentStylePanelProps {
20
+ componentId: string;
21
+ styles: ComponentStyles;
22
+ onUpdate: (styles: ComponentStyles) => void;
23
+ }
24
+ export declare const ComponentStylePanel: ({ styles, onUpdate, }: ComponentStylePanelProps) => import("react/jsx-runtime").JSX.Element;
25
+ export {};
@@ -0,0 +1,7 @@
1
+ export type ComponentType = "heading" | "paragraph" | "image" | "button" | "link" | "video" | "divider" | "spacer" | "quote" | "list" | "code" | "page-content" | "entity-list" | "entity-detail" | "query" | "chart" | "tabs" | "accordion" | "card" | "form-input" | "form-textarea" | "form-select" | "form-checkbox" | "form-submit";
2
+ interface ComponentsSidebarProps {
3
+ isLayoutEditor?: boolean;
4
+ renderHeader?: () => React.ReactNode;
5
+ }
6
+ export declare function ComponentsSidebar({ isLayoutEditor, renderHeader }: ComponentsSidebarProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Breakpoint } from './ResponsiveControls';
2
+ interface DeviceFrameProps {
3
+ breakpoint: Breakpoint;
4
+ children: React.ReactNode;
5
+ }
6
+ export declare const DeviceFrame: ({ breakpoint, children }: DeviceFrameProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export declare const DividerComponentEditor: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ type Component = Tables<"page_components"> | Tables<"widget_components"> | Tables<"layout_components">;
3
+ interface DraggableComponentProps {
4
+ component: Component;
5
+ onUpdate: (id: string, content: any) => void;
6
+ onUpdateStyles: (id: string, styles: any) => void;
7
+ onDelete: (id: string) => void;
8
+ onDuplicate: (id: string) => void;
9
+ totalComponents: number;
10
+ onMoveToPosition: (id: string, position: number) => void;
11
+ }
12
+ export declare const DraggableComponent: ({ component, onUpdate, onUpdateStyles, onDelete, onDuplicate, totalComponents, onMoveToPosition, }: DraggableComponentProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,15 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ type Component = Tables<"page_components"> | Tables<"widget_components"> | Tables<"layout_components">;
3
+ interface DroppableColumnProps {
4
+ rowId: string;
5
+ columnIndex: number;
6
+ components: Component[];
7
+ onUpdate: (id: string, content: any) => void;
8
+ onUpdateStyles: (id: string, styles: any) => void;
9
+ onDelete: (id: string) => void;
10
+ onDuplicate: (id: string) => void;
11
+ onPaste: (rowId: string, columnIndex: number) => void;
12
+ onMoveToPosition: (id: string, position: number) => void;
13
+ }
14
+ export declare const DroppableColumn: ({ rowId, columnIndex, components, onUpdate, onUpdateStyles, onDelete, onDuplicate, onPaste, onMoveToPosition, }: DroppableColumnProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,6 @@
1
+ interface EntityDetailComponentEditorProps {
2
+ component: any;
3
+ onUpdate: (content: any) => void;
4
+ }
5
+ export declare const EntityDetailComponentEditor: ({ component, onUpdate }: EntityDetailComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ interface EntityListComponentEditorProps {
2
+ component: any;
3
+ onUpdate: (content: any) => void;
4
+ }
5
+ export declare const EntityListComponentEditor: ({ component, onUpdate }: EntityListComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,12 @@
1
+ interface FormCheckboxComponentEditorProps {
2
+ content: {
3
+ fieldName?: string;
4
+ label?: string;
5
+ options?: string;
6
+ type?: "checkbox" | "radio";
7
+ required?: boolean;
8
+ };
9
+ onUpdate: (content: any) => void;
10
+ }
11
+ export declare const FormCheckboxComponentEditor: ({ content, onUpdate }: FormCheckboxComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,13 @@
1
+ interface FormInputComponentEditorProps {
2
+ content: {
3
+ fieldName?: string;
4
+ label?: string;
5
+ placeholder?: string;
6
+ inputType?: string;
7
+ required?: boolean;
8
+ validation?: string;
9
+ };
10
+ onUpdate: (content: any) => void;
11
+ }
12
+ export declare const FormInputComponentEditor: ({ content, onUpdate }: FormInputComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,12 @@
1
+ interface FormSelectComponentEditorProps {
2
+ content: {
3
+ fieldName?: string;
4
+ label?: string;
5
+ placeholder?: string;
6
+ options?: string;
7
+ required?: boolean;
8
+ };
9
+ onUpdate: (content: any) => void;
10
+ }
11
+ export declare const FormSelectComponentEditor: ({ content, onUpdate }: FormSelectComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,14 @@
1
+ interface FormSubmitComponentEditorProps {
2
+ content: {
3
+ buttonText?: string;
4
+ buttonVariant?: string;
5
+ successMessage?: string;
6
+ submitAction?: "entity" | "custom" | "email";
7
+ entityId?: string;
8
+ customEndpoint?: string;
9
+ emailTo?: string;
10
+ };
11
+ onUpdate: (content: any) => void;
12
+ }
13
+ export declare const FormSubmitComponentEditor: ({ content, onUpdate }: FormSubmitComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1,13 @@
1
+ interface FormTextareaComponentEditorProps {
2
+ content: {
3
+ fieldName?: string;
4
+ label?: string;
5
+ placeholder?: string;
6
+ rows?: number;
7
+ required?: boolean;
8
+ maxLength?: number;
9
+ };
10
+ onUpdate: (content: any) => void;
11
+ }
12
+ export declare const FormTextareaComponentEditor: ({ content, onUpdate }: FormTextareaComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,27 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ type Row = Tables<"page_rows"> | Tables<"widget_rows"> | Tables<"layout_rows">;
3
+ type Component = Tables<"page_components"> | Tables<"widget_components"> | Tables<"layout_components">;
4
+ interface GridCanvasProps {
5
+ rows: Row[];
6
+ components: Component[];
7
+ onUpdateComponent: (id: string, content: any) => void;
8
+ onUpdateComponentStyles: (id: string, styles: any) => void;
9
+ onDeleteComponent: (id: string) => void;
10
+ onAddRow: () => void;
11
+ onDeleteRow: (rowId: string) => void;
12
+ onUpdateRowColumns: (rowId: string, columns: number) => void;
13
+ onUpdateRowStyles: (rowId: string, styles: any) => void;
14
+ onUpdateRowColumnWidths?: (rowId: string, widths: number[]) => void;
15
+ onUpdateRowResponsiveConfig?: (rowId: string, config: any) => void;
16
+ onReorderRows: (rows: any[]) => void;
17
+ activeComponentType: string | null;
18
+ onDuplicateComponent: (id: string) => void;
19
+ onPasteComponent: (rowId: string, columnIndex: number) => void;
20
+ onInsertTemplate?: (templateData: any) => void;
21
+ onMoveComponentToPosition: (id: string, position: number) => void;
22
+ onAddRowAbove?: (rowId: string) => void;
23
+ onAddRowBelow?: (rowId: string) => void;
24
+ onDuplicateRow?: (rowId: string) => void;
25
+ }
26
+ export declare const GridCanvas: ({ rows, components, onUpdateComponent, onUpdateComponentStyles, onDeleteComponent, onAddRow, onDeleteRow, onUpdateRowColumns, onUpdateRowStyles, onUpdateRowColumnWidths, onUpdateRowResponsiveConfig, onReorderRows, activeComponentType, onDuplicateComponent, onPasteComponent, onInsertTemplate, onMoveComponentToPosition, onAddRowAbove, onAddRowBelow, onDuplicateRow, }: GridCanvasProps) => import("react/jsx-runtime").JSX.Element;
27
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ interface HeadingComponentEditorProps {
3
+ component: Tables<"page_components">;
4
+ onUpdate: (content: any) => void;
5
+ }
6
+ export declare const HeadingComponentEditor: ({ component, onUpdate, }: HeadingComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Tables } from '../../integrations/supabase/types';
2
+ interface ImageComponentEditorProps {
3
+ component: Tables<"page_components">;
4
+ onUpdate: (content: any) => void;
5
+ }
6
+ export declare const ImageComponentEditor: ({ component, onUpdate, }: ImageComponentEditorProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ interface InsertWidgetDialogProps {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ onSelectWidget: (widgetId: string) => void;
5
+ }
6
+ export declare function InsertWidgetDialog({ open, onOpenChange, onSelectWidget }: InsertWidgetDialogProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};