@insforge/dashboard 0.0.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/README.md +14 -0
  2. package/dist/app/DashboardAppShell.d.ts +7 -0
  3. package/dist/app/DashboardProviders.d.ts +9 -0
  4. package/dist/app/InsforgeDashboard.d.ts +2 -0
  5. package/dist/app/createDashboardQueryClient.d.ts +2 -0
  6. package/dist/components/CodeEditor.d.ts +12 -0
  7. package/dist/components/ConnectCTA.d.ts +6 -0
  8. package/dist/components/DataGridEmptyState.d.ts +9 -0
  9. package/dist/components/DeleteActionButton.d.ts +8 -0
  10. package/dist/components/EmptyState.d.ts +14 -0
  11. package/dist/components/ErrorState.d.ts +8 -0
  12. package/dist/components/FeatureSidebar.d.ts +47 -0
  13. package/dist/components/JsonHighlight.d.ts +7 -0
  14. package/dist/components/LoadingState.d.ts +6 -0
  15. package/dist/components/PaginationControls.d.ts +11 -0
  16. package/dist/components/PromptDialog.d.ts +10 -0
  17. package/dist/components/SelectionClearButton.d.ts +7 -0
  18. package/dist/components/Stepper.d.ts +22 -0
  19. package/dist/components/TableHeader.d.ts +20 -0
  20. package/dist/components/ThemeSelect.d.ts +1 -0
  21. package/dist/components/TypeBadge.d.ts +6 -0
  22. package/dist/components/ZoomedVideo.d.ts +7 -0
  23. package/dist/components/datagrid/DataGrid.d.ts +51 -0
  24. package/dist/components/datagrid/DefaultCellRenderer.d.ts +12 -0
  25. package/dist/components/datagrid/IdCell.d.ts +4 -0
  26. package/dist/components/datagrid/SortableHeader.d.ts +9 -0
  27. package/dist/components/datagrid/cell-editors/BooleanCellEditor.d.ts +2 -0
  28. package/dist/components/datagrid/cell-editors/DateCellEditor.d.ts +2 -0
  29. package/dist/components/datagrid/cell-editors/JsonCellEditor.d.ts +2 -0
  30. package/dist/components/datagrid/cell-editors/TextCellEditor.d.ts +2 -0
  31. package/dist/components/datagrid/cell-editors/index.d.ts +5 -0
  32. package/dist/components/datagrid/cell-editors/types.d.ts +39 -0
  33. package/dist/components/datagrid/datagridTypes.d.ts +61 -0
  34. package/dist/components/datagrid/index.d.ts +8 -0
  35. package/dist/components/index.d.ts +20 -0
  36. package/dist/components/layout/AppHeader.d.ts +1 -0
  37. package/dist/components/layout/AppSidebar.d.ts +6 -0
  38. package/dist/components/layout/Layout.d.ts +6 -0
  39. package/dist/components/layout/index.d.ts +3 -0
  40. package/dist/components/radix/Alert.d.ts +8 -0
  41. package/dist/components/radix/Avatar.d.ts +6 -0
  42. package/dist/components/radix/Card.d.ts +8 -0
  43. package/dist/components/radix/Form.d.ts +23 -0
  44. package/dist/components/radix/Label.d.ts +5 -0
  45. package/dist/components/radix/Popover.d.ts +6 -0
  46. package/dist/components/radix/ScrollArea.d.ts +5 -0
  47. package/dist/components/radix/Separator.d.ts +4 -0
  48. package/dist/components/radix/Skeleton.d.ts +2 -0
  49. package/dist/components/radix/Textarea.d.ts +3 -0
  50. package/dist/components/radix/index.d.ts +10 -0
  51. package/dist/features/ai/components/AILayout.d.ts +1 -0
  52. package/dist/features/ai/components/GatewayConfigDialog.d.ts +6 -0
  53. package/dist/features/ai/components/ModelRow.d.ts +9 -0
  54. package/dist/features/ai/components/index.d.ts +2 -0
  55. package/dist/features/ai/helpers.d.ts +36 -0
  56. package/dist/features/ai/hooks/useAIConfigs.d.ts +43 -0
  57. package/dist/features/ai/hooks/useAIGatewayConfig.d.ts +15 -0
  58. package/dist/features/ai/hooks/useAIUsage.d.ts +63 -0
  59. package/dist/features/ai/pages/AIPage.d.ts +1 -0
  60. package/dist/features/ai/services/ai.service.d.ts +44 -0
  61. package/dist/features/auth/components/AuthSettingsMenuDialog.d.ts +6 -0
  62. package/dist/features/auth/components/AuthenticationLayout.d.ts +1 -0
  63. package/dist/features/auth/components/AuthenticationSidebar.d.ts +1 -0
  64. package/dist/features/auth/components/CustomOAuthConfigDialog.d.ts +9 -0
  65. package/dist/features/auth/components/OAuthConfigDialog.d.ts +9 -0
  66. package/dist/features/auth/components/OAuthEmptyState.d.ts +1 -0
  67. package/dist/features/auth/components/SecretInput.d.ts +8 -0
  68. package/dist/features/auth/components/UserFormDialog.d.ts +13 -0
  69. package/dist/features/auth/components/UsersDataGrid.d.ts +9 -0
  70. package/dist/features/auth/components/index.d.ts +6 -0
  71. package/dist/features/auth/helpers.d.ts +15 -0
  72. package/dist/features/auth/hooks/useAnonToken.d.ts +14 -0
  73. package/dist/features/auth/hooks/useAuthConfig.d.ts +57 -0
  74. package/dist/features/auth/hooks/useCustomOAuthConfig.d.ts +72 -0
  75. package/dist/features/auth/hooks/useOAuthConfig.d.ts +94 -0
  76. package/dist/features/auth/hooks/useUsers.d.ts +92 -0
  77. package/dist/features/auth/index.d.ts +5 -0
  78. package/dist/features/auth/pages/AuthMethodsPage.d.ts +1 -0
  79. package/dist/features/auth/pages/UsersPage.d.ts +1 -0
  80. package/dist/features/auth/services/anonToken.service.d.ts +7 -0
  81. package/dist/features/auth/services/config.service.d.ts +6 -0
  82. package/dist/features/auth/services/custom-oauth-config.service.d.ts +14 -0
  83. package/dist/features/auth/services/oauth-config.service.d.ts +14 -0
  84. package/dist/features/auth/services/user.service.d.ts +21 -0
  85. package/dist/features/dashboard/components/ConnectionSuccessBanner.d.ts +1 -0
  86. package/dist/features/dashboard/components/DashboardLayout.d.ts +1 -0
  87. package/dist/features/dashboard/components/ProjectSettingsMenuDialog.d.ts +1 -0
  88. package/dist/features/dashboard/components/PromptCard.d.ts +6 -0
  89. package/dist/features/dashboard/components/PromptDialog.d.ts +8 -0
  90. package/dist/features/dashboard/components/StatsCard.d.ts +11 -0
  91. package/dist/features/dashboard/components/connect/APIKeysSection.d.ts +9 -0
  92. package/dist/features/dashboard/components/connect/CLISection.d.ts +5 -0
  93. package/dist/features/dashboard/components/connect/ConnectDialog.d.ts +1 -0
  94. package/dist/features/dashboard/components/connect/ConnectionStringSection.d.ts +5 -0
  95. package/dist/features/dashboard/components/connect/MCPSection.d.ts +10 -0
  96. package/dist/features/dashboard/components/connect/ShowPasswordButton.d.ts +7 -0
  97. package/dist/features/dashboard/components/connect/VideoDemoModal.d.ts +5 -0
  98. package/dist/features/dashboard/components/connect/constants.d.ts +2 -0
  99. package/dist/features/dashboard/components/connect/index.d.ts +8 -0
  100. package/dist/features/dashboard/components/connect/mcp/CursorDeeplinkGenerator.d.ts +7 -0
  101. package/dist/features/dashboard/components/connect/mcp/QoderDeeplinkGenerator.d.ts +7 -0
  102. package/dist/features/dashboard/components/connect/mcp/helpers.d.ts +32 -0
  103. package/dist/features/dashboard/components/connect/mcp/index.d.ts +4 -0
  104. package/dist/features/dashboard/components/index.d.ts +5 -0
  105. package/dist/features/dashboard/pages/DashboardPage.d.ts +2 -0
  106. package/dist/features/dashboard/prompts/ai-chatbot.d.ts +6 -0
  107. package/dist/features/dashboard/prompts/crm-system.d.ts +6 -0
  108. package/dist/features/dashboard/prompts/ecommerce-platform.d.ts +6 -0
  109. package/dist/features/dashboard/prompts/index.d.ts +14 -0
  110. package/dist/features/dashboard/prompts/instagram-clone.d.ts +6 -0
  111. package/dist/features/dashboard/prompts/notion-clone.d.ts +6 -0
  112. package/dist/features/dashboard/prompts/reddit-clone.d.ts +6 -0
  113. package/dist/features/database/components/ColumnTypeSelect.d.ts +10 -0
  114. package/dist/features/database/components/DatabaseDataGrid.d.ts +12 -0
  115. package/dist/features/database/components/DatabaseLayout.d.ts +1 -0
  116. package/dist/features/database/components/DatabaseSidebar.d.ts +16 -0
  117. package/dist/features/database/components/ForeignKeyCell.d.ts +10 -0
  118. package/dist/features/database/components/ForeignKeyPopover.d.ts +13 -0
  119. package/dist/features/database/components/LinkRecordDialog.d.ts +10 -0
  120. package/dist/features/database/components/RecordFormDialog.d.ts +10 -0
  121. package/dist/features/database/components/RecordFormField.d.ts +10 -0
  122. package/dist/features/database/components/SQLEditorLayout.d.ts +1 -0
  123. package/dist/features/database/components/SQLModal.d.ts +13 -0
  124. package/dist/features/database/components/TableForm.d.ts +11 -0
  125. package/dist/features/database/components/TableFormColumn.d.ts +13 -0
  126. package/dist/features/database/components/TablesEmptyState.d.ts +8 -0
  127. package/dist/features/database/components/TemplateCard.d.ts +8 -0
  128. package/dist/features/database/components/TemplatePreview.d.ts +7 -0
  129. package/dist/features/database/constants.d.ts +15 -0
  130. package/dist/features/database/contexts/SQLEditorContext.d.ts +22 -0
  131. package/dist/features/database/helpers.d.ts +9 -0
  132. package/dist/features/database/hooks/useCSVImport.d.ts +19 -0
  133. package/dist/features/database/hooks/useDatabase.d.ts +90 -0
  134. package/dist/features/database/hooks/useRawSQL.d.ts +43 -0
  135. package/dist/features/database/hooks/useRecords.d.ts +39 -0
  136. package/dist/features/database/hooks/useTableColumnWidthsPreference.d.ts +5 -0
  137. package/dist/features/database/hooks/useTables.d.ts +72 -0
  138. package/dist/features/database/index.d.ts +2 -0
  139. package/dist/features/database/pages/FunctionsPage.d.ts +1 -0
  140. package/dist/features/database/pages/IndexesPage.d.ts +1 -0
  141. package/dist/features/database/pages/PoliciesPage.d.ts +1 -0
  142. package/dist/features/database/pages/SQLEditorPage.d.ts +1 -0
  143. package/dist/features/database/pages/TablesPage.d.ts +1 -0
  144. package/dist/features/database/pages/TemplatesPage.d.ts +1 -0
  145. package/dist/features/database/pages/TriggersPage.d.ts +1 -0
  146. package/dist/features/database/schema.d.ts +185 -0
  147. package/dist/features/database/services/advance.service.d.ts +13 -0
  148. package/dist/features/database/services/database.service.d.ts +24 -0
  149. package/dist/features/database/services/record.service.d.ts +57 -0
  150. package/dist/features/database/services/table.service.d.ts +9 -0
  151. package/dist/features/database/templates/ai-chatbot.d.ts +2 -0
  152. package/dist/features/database/templates/crm-system.d.ts +2 -0
  153. package/dist/features/database/templates/ecommerce-platform.d.ts +2 -0
  154. package/dist/features/database/templates/index.d.ts +17 -0
  155. package/dist/features/database/templates/instagram-clone.d.ts +2 -0
  156. package/dist/features/database/templates/notion-clone.d.ts +2 -0
  157. package/dist/features/database/templates/reddit-clone.d.ts +2 -0
  158. package/dist/features/deployments/components/DeploymentMetaDataDialog.d.ts +7 -0
  159. package/dist/features/deployments/components/DeploymentsEmptyState.d.ts +1 -0
  160. package/dist/features/deployments/components/DeploymentsLayout.d.ts +1 -0
  161. package/dist/features/deployments/components/DeploymentsSidebar.d.ts +1 -0
  162. package/dist/features/deployments/components/EnvVarDialog.d.ts +14 -0
  163. package/dist/features/deployments/components/EnvVarRow.d.ts +9 -0
  164. package/dist/features/deployments/components/EnvVarsEmptyState.d.ts +1 -0
  165. package/dist/features/deployments/helpers.d.ts +14 -0
  166. package/dist/features/deployments/hooks/useCustomDomains.d.ts +68 -0
  167. package/dist/features/deployments/hooks/useDeploymentEnvVars.d.ts +32 -0
  168. package/dist/features/deployments/hooks/useDeploymentMetadata.d.ts +13 -0
  169. package/dist/features/deployments/hooks/useDeploymentSlug.d.ts +9 -0
  170. package/dist/features/deployments/hooks/useDeployments.d.ts +85 -0
  171. package/dist/features/deployments/pages/DeploymentDomainsPage.d.ts +6 -0
  172. package/dist/features/deployments/pages/DeploymentEnvVarsPage.d.ts +1 -0
  173. package/dist/features/deployments/pages/DeploymentLogsPage.d.ts +1 -0
  174. package/dist/features/deployments/pages/DeploymentOverviewPage.d.ts +1 -0
  175. package/dist/features/deployments/services/deployments.service.d.ts +36 -0
  176. package/dist/features/functions/components/FunctionEmptyState.d.ts +1 -0
  177. package/dist/features/functions/components/FunctionRow.d.ts +9 -0
  178. package/dist/features/functions/components/FunctionsLayout.d.ts +1 -0
  179. package/dist/features/functions/components/FunctionsSidebar.d.ts +1 -0
  180. package/dist/features/functions/components/ScheduleEmptyState.d.ts +1 -0
  181. package/dist/features/functions/components/ScheduleFormDialog.d.ts +11 -0
  182. package/dist/features/functions/components/ScheduleLogs.d.ts +5 -0
  183. package/dist/features/functions/components/ScheduleRow.d.ts +12 -0
  184. package/dist/features/functions/components/SecretEmptyState.d.ts +5 -0
  185. package/dist/features/functions/components/SecretRow.d.ts +8 -0
  186. package/dist/features/functions/helpers.d.ts +5 -0
  187. package/dist/features/functions/hooks/useFunctions.d.ts +75 -0
  188. package/dist/features/functions/hooks/useSchedules.d.ts +90 -0
  189. package/dist/features/functions/hooks/useSecrets.d.ts +62 -0
  190. package/dist/features/functions/pages/FunctionsPage.d.ts +1 -0
  191. package/dist/features/functions/pages/SchedulesPage.d.ts +1 -0
  192. package/dist/features/functions/pages/SecretsPage.d.ts +1 -0
  193. package/dist/features/functions/services/function.service.d.ts +8 -0
  194. package/dist/features/functions/services/schedule.service.d.ts +10 -0
  195. package/dist/features/functions/services/secret.service.d.ts +8 -0
  196. package/dist/features/functions/types.d.ts +2 -0
  197. package/dist/features/login/pages/CloudLoginPage.d.ts +1 -0
  198. package/dist/features/login/pages/LoginPage.d.ts +1 -0
  199. package/dist/features/login/services/login.service.d.ts +16 -0
  200. package/dist/features/login/services/partnership.service.d.ts +18 -0
  201. package/dist/features/logs/components/BuildLogsView.d.ts +5 -0
  202. package/dist/features/logs/components/FunctionLogsTabs.d.ts +12 -0
  203. package/dist/features/logs/components/LogDetailPanel.d.ts +7 -0
  204. package/dist/features/logs/components/LogsDataGrid.d.ts +21 -0
  205. package/dist/features/logs/components/LogsLayout.d.ts +1 -0
  206. package/dist/features/logs/components/LogsSidebar.d.ts +1 -0
  207. package/dist/features/logs/components/SeverityBadge.d.ts +6 -0
  208. package/dist/features/logs/components/SeverityFilterDropdown.d.ts +6 -0
  209. package/dist/features/logs/components/index.d.ts +7 -0
  210. package/dist/features/logs/helpers.d.ts +38 -0
  211. package/dist/features/logs/hooks/useAuditLogs.d.ts +38 -0
  212. package/dist/features/logs/hooks/useLogSources.d.ts +41 -0
  213. package/dist/features/logs/hooks/useLogs.d.ts +51 -0
  214. package/dist/features/logs/hooks/useMcpUsage.d.ts +35 -0
  215. package/dist/features/logs/pages/AuditsPage.d.ts +1 -0
  216. package/dist/features/logs/pages/FunctionLogsPage.d.ts +1 -0
  217. package/dist/features/logs/pages/LogsPage.d.ts +1 -0
  218. package/dist/features/logs/pages/MCPLogsPage.d.ts +1 -0
  219. package/dist/features/logs/services/audit.service.d.ts +7 -0
  220. package/dist/features/logs/services/log.service.d.ts +22 -0
  221. package/dist/features/logs/services/usage.service.d.ts +16 -0
  222. package/dist/features/realtime/components/ChannelFormDialog.d.ts +13 -0
  223. package/dist/features/realtime/components/ChannelRow.d.ts +12 -0
  224. package/dist/features/realtime/components/MessageRow.d.ts +7 -0
  225. package/dist/features/realtime/components/RealtimeEmptyState.d.ts +6 -0
  226. package/dist/features/realtime/components/RealtimeLayout.d.ts +1 -0
  227. package/dist/features/realtime/components/RealtimeSettingsMenuDialog.d.ts +6 -0
  228. package/dist/features/realtime/components/RealtimeSidebar.d.ts +1 -0
  229. package/dist/features/realtime/hooks/useRealtimeChannels.d.ts +66 -0
  230. package/dist/features/realtime/hooks/useRealtimeConfig.d.ts +14 -0
  231. package/dist/features/realtime/hooks/useRealtimeMessages.d.ts +64 -0
  232. package/dist/features/realtime/hooks/useRealtimePermissions.d.ts +48 -0
  233. package/dist/features/realtime/pages/RealtimeChannelsPage.d.ts +1 -0
  234. package/dist/features/realtime/pages/RealtimeMessagesPage.d.ts +1 -0
  235. package/dist/features/realtime/pages/RealtimePermissionsPage.d.ts +1 -0
  236. package/dist/features/realtime/services/realtime.service.d.ts +15 -0
  237. package/dist/features/storage/components/BucketFormDialog.d.ts +10 -0
  238. package/dist/features/storage/components/FilePreviewDialog.d.ts +9 -0
  239. package/dist/features/storage/components/StorageDataGrid.d.ts +14 -0
  240. package/dist/features/storage/components/StorageLayout.d.ts +1 -0
  241. package/dist/features/storage/components/StorageSettingsMenuDialog.d.ts +8 -0
  242. package/dist/features/storage/components/StorageSidebar.d.ts +13 -0
  243. package/dist/features/storage/components/UploadToast.d.ts +9 -0
  244. package/dist/features/storage/hooks/useStorage.d.ts +77 -0
  245. package/dist/features/storage/hooks/useStorageConfig.d.ts +29 -0
  246. package/dist/features/storage/pages/BucketsPage.d.ts +1 -0
  247. package/dist/features/storage/services/storage-config.service.d.ts +9 -0
  248. package/dist/features/storage/services/storage.service.d.ts +26 -0
  249. package/dist/features/visualizer/components/AuthNode.d.ts +11 -0
  250. package/dist/features/visualizer/components/BucketNode.d.ts +8 -0
  251. package/dist/features/visualizer/components/SchemaVisualizer.d.ts +18 -0
  252. package/dist/features/visualizer/components/TableNode.d.ts +10 -0
  253. package/dist/features/visualizer/components/VisualizerLayout.d.ts +1 -0
  254. package/dist/features/visualizer/components/VisualizerSkeleton.d.ts +1 -0
  255. package/dist/features/visualizer/components/index.d.ts +5 -0
  256. package/dist/features/visualizer/pages/VisualizerPage.d.ts +2 -0
  257. package/dist/index.d.ts +19 -0
  258. package/dist/index.js +83413 -0
  259. package/dist/layout/DashboardFrame.d.ts +15 -0
  260. package/dist/layout/DashboardOutletLayout.d.ts +1 -0
  261. package/dist/layout/DashboardSectionLayout.d.ts +7 -0
  262. package/dist/lib/analytics/posthog.d.ts +5 -0
  263. package/dist/lib/api/client.d.ts +20 -0
  264. package/dist/lib/config/DashboardHostContext.d.ts +3 -0
  265. package/dist/lib/config/runtime.d.ts +3 -0
  266. package/dist/lib/contexts/AuthContext.d.ts +18 -0
  267. package/dist/lib/contexts/ModalContext.d.ts +2 -0
  268. package/dist/lib/contexts/SocketContext.d.ts +42 -0
  269. package/dist/lib/contexts/ThemeContext.d.ts +17 -0
  270. package/dist/lib/hooks/useCloudProjectInfo.d.ts +19 -0
  271. package/dist/lib/hooks/useConfirm.d.ts +21 -0
  272. package/dist/lib/hooks/useHealth.d.ts +13 -0
  273. package/dist/lib/hooks/useInterval.d.ts +1 -0
  274. package/dist/lib/hooks/useMediaQuery.d.ts +6 -0
  275. package/dist/lib/hooks/useMetadata.d.ts +239 -0
  276. package/dist/lib/hooks/useModal.d.ts +1 -0
  277. package/dist/lib/hooks/usePageSize.d.ts +5 -0
  278. package/dist/lib/hooks/useTimeout.d.ts +1 -0
  279. package/dist/lib/hooks/useToast.d.ts +20 -0
  280. package/dist/lib/routing/AppRoutes.d.ts +1 -0
  281. package/dist/lib/routing/RequireAuth.d.ts +6 -0
  282. package/dist/lib/services/health.service.d.ts +8 -0
  283. package/dist/lib/services/metadata.service.d.ts +16 -0
  284. package/dist/lib/utils/__tests__/utils.test.d.ts +1 -0
  285. package/dist/lib/utils/cloudMessaging.d.ts +13 -0
  286. package/dist/lib/utils/constants.d.ts +17 -0
  287. package/dist/lib/utils/local-storage.d.ts +5 -0
  288. package/dist/lib/utils/menuItems.d.ts +22 -0
  289. package/dist/lib/utils/schemaValidations.d.ts +21 -0
  290. package/dist/lib/utils/utils.d.ts +46 -0
  291. package/dist/modals/DashboardModalContext.d.ts +16 -0
  292. package/dist/navigation/menuItems.d.ts +13 -0
  293. package/dist/router/DashboardHostRoutes.d.ts +7 -0
  294. package/dist/router/DashboardProtectedBoundary.d.ts +9 -0
  295. package/dist/router/DashboardRouter.d.ts +1 -0
  296. package/dist/router/index.d.ts +3 -0
  297. package/dist/router/paths.d.ts +5 -0
  298. package/dist/styles.css +1 -0
  299. package/dist/types/index.d.ts +80 -0
  300. package/package.json +78 -0
package/README.md ADDED
@@ -0,0 +1,14 @@
1
+ # @insforge/dashboard
2
+
3
+ Scaffold for the shared InsForge dashboard package.
4
+
5
+ This package is intended to become the single source of truth for the project dashboard used by:
6
+
7
+ - the self-hosting dashboard app inside `frontend/` in this repo
8
+ - the `insforge-cloud` repo
9
+
10
+ It is wired into the root workspace and is the shared source of truth for dashboard code used by
11
+ the self-hosting app in this repo.
12
+
13
+ See [../../docs/dashboard-package-rfc.md](../../docs/dashboard-package-rfc.md) for the current API
14
+ and migration plan.
@@ -0,0 +1,7 @@
1
+ import { type PropsWithChildren } from 'react';
2
+ import type { QueryClient } from '@tanstack/react-query';
3
+ import type { DashboardProps } from '../types';
4
+ export type DashboardAppShellProps = PropsWithChildren<DashboardProps> & {
5
+ queryClient?: QueryClient;
6
+ };
7
+ export declare function DashboardAppShell({ children, queryClient, ...host }: DashboardAppShellProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import { type QueryClient } from '@tanstack/react-query';
3
+ import type { DashboardProps } from '../types';
4
+ interface DashboardProvidersProps extends PropsWithChildren {
5
+ queryClient: QueryClient;
6
+ host: DashboardProps;
7
+ }
8
+ export declare function DashboardProviders({ children, queryClient, host }: DashboardProvidersProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { DashboardProps } from '../types';
2
+ export declare function InsForgeDashboard(props: DashboardProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { QueryClient } from '@tanstack/react-query';
2
+ export declare function createDashboardQueryClient(): QueryClient;
@@ -0,0 +1,12 @@
1
+ interface CodeEditorProps {
2
+ code?: string;
3
+ value?: string;
4
+ onChange?: (value: string) => void;
5
+ onKeyDown?: (e: React.KeyboardEvent) => void;
6
+ placeholder?: string;
7
+ editable?: boolean;
8
+ language?: 'sql' | 'javascript';
9
+ className?: string;
10
+ }
11
+ export declare function CodeEditor({ code, value, onChange, placeholder, editable, language, className, }: CodeEditorProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,6 @@
1
+ interface ConnectCTAProps {
2
+ className?: string;
3
+ fallback?: string;
4
+ }
5
+ export declare function ConnectCTA({ className, fallback }: ConnectCTAProps): string | import("react/jsx-runtime").JSX.Element | undefined;
6
+ export {};
@@ -0,0 +1,9 @@
1
+ interface DataGridEmptyStateProps {
2
+ message: string;
3
+ action?: {
4
+ label: string;
5
+ onClick: () => void;
6
+ };
7
+ }
8
+ export declare function DataGridEmptyState({ message, action }: DataGridEmptyStateProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ interface DeleteActionButtonProps {
2
+ selectedCount: number;
3
+ itemType: string;
4
+ onDelete: () => void;
5
+ className?: string;
6
+ }
7
+ export declare function DeleteActionButton({ selectedCount, itemType, onDelete, className, }: DeleteActionButtonProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,14 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ interface EmptyStateProps {
3
+ icon?: LucideIcon;
4
+ image?: string;
5
+ title: string;
6
+ description?: string;
7
+ action?: {
8
+ label: string;
9
+ onClick: () => void;
10
+ };
11
+ className?: string;
12
+ }
13
+ export declare function EmptyState({ icon: Icon, image, title, description, action, className, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1,8 @@
1
+ interface ErrorStateProps {
2
+ error: Error | string;
3
+ title?: string;
4
+ onRetry?: () => void;
5
+ className?: string;
6
+ }
7
+ export declare function ErrorState({ error, title, onRetry, className, }: ErrorStateProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,47 @@
1
+ import { type ReactNode } from 'react';
2
+ import { LucideIcon } from 'lucide-react';
3
+ interface FeatureSidebarProps {
4
+ title: string;
5
+ items: FeatureSidebarListItem[];
6
+ loading?: boolean;
7
+ headerButtons?: FeatureSidebarHeaderButton[];
8
+ actionButtons?: FeatureSidebarActionButton[];
9
+ emptyState?: ReactNode;
10
+ activeItemId?: string | null;
11
+ showSearch?: boolean;
12
+ searchPlaceholder?: string;
13
+ onSearchChange?: (value: string) => void;
14
+ showItemMenuButton?: boolean;
15
+ onItemMenuClick?: (item: FeatureSidebarListItem) => void;
16
+ itemActions?: (item: FeatureSidebarListItem) => FeatureSidebarItemAction[];
17
+ }
18
+ export interface FeatureSidebarHeaderButton {
19
+ id: string;
20
+ label: string;
21
+ icon: LucideIcon;
22
+ onClick: () => void;
23
+ disabled?: boolean;
24
+ }
25
+ export interface FeatureSidebarActionButton {
26
+ id: string;
27
+ label: string;
28
+ icon?: LucideIcon;
29
+ onClick: () => void;
30
+ disabled?: boolean;
31
+ }
32
+ export interface FeatureSidebarItemAction {
33
+ id: string;
34
+ label: string;
35
+ icon?: LucideIcon;
36
+ destructive?: boolean;
37
+ onClick: (item: FeatureSidebarListItem) => void;
38
+ }
39
+ export interface FeatureSidebarListItem {
40
+ id: string;
41
+ label: string;
42
+ href?: string;
43
+ sectionEnd?: boolean;
44
+ onClick?: () => void;
45
+ }
46
+ export declare function FeatureSidebar({ title, items, loading, headerButtons, actionButtons, emptyState, activeItemId, showSearch, searchPlaceholder, onSearchChange, showItemMenuButton, onItemMenuClick, itemActions, }: FeatureSidebarProps): import("react/jsx-runtime").JSX.Element;
47
+ export {};
@@ -0,0 +1,7 @@
1
+ interface JsonHighlightProps {
2
+ json: string;
3
+ textColor?: string;
4
+ className?: string;
5
+ }
6
+ export declare function JsonHighlight({ json, textColor, className }: JsonHighlightProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ interface LoadingStateProps {
2
+ message?: string;
3
+ className?: string;
4
+ }
5
+ export declare function LoadingState({ message, className }: LoadingStateProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,11 @@
1
+ export interface PaginationControlsProps {
2
+ currentPage?: number;
3
+ totalPages?: number;
4
+ onPageChange?: (page: number) => void;
5
+ totalRecords?: number;
6
+ pageSize?: number;
7
+ pageSizeOptions?: number[];
8
+ recordLabel?: string;
9
+ onPageSizeChange?: (pageSize: number) => void;
10
+ }
11
+ export declare function PaginationControls({ currentPage, totalPages, onPageChange, totalRecords, pageSize, pageSizeOptions, recordLabel, onPageSizeChange, }: PaginationControlsProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ interface PromptDialogProps {
2
+ open: boolean;
3
+ onOpenChange: (open: boolean) => void;
4
+ title?: string;
5
+ subtitle?: string;
6
+ prompt: string;
7
+ additionalAction?: React.ReactNode;
8
+ }
9
+ export declare function PromptDialog({ open, onOpenChange, title, subtitle, prompt, additionalAction, }: PromptDialogProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,7 @@
1
+ interface SelectionClearButtonProps {
2
+ selectedCount: number;
3
+ itemType: string;
4
+ onClear: () => void;
5
+ }
6
+ export declare function SelectionClearButton({ selectedCount, itemType, onClear, }: SelectionClearButtonProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,22 @@
1
+ interface CircularStepperProps {
2
+ isActive: boolean;
3
+ currentStep: number;
4
+ totalSteps: number;
5
+ size?: number;
6
+ }
7
+ export declare function CircularStepper({ isActive, currentStep, totalSteps, size, }: CircularStepperProps): import("react/jsx-runtime").JSX.Element;
8
+ interface LinearStepperProps {
9
+ currentStep: number;
10
+ totalSteps: number;
11
+ stepLabels: readonly string[];
12
+ className?: string;
13
+ isCompleted: boolean;
14
+ }
15
+ export declare function LinearStepper({ currentStep, totalSteps, stepLabels, className, isCompleted, }: LinearStepperProps): import("react/jsx-runtime").JSX.Element;
16
+ interface VerticalStepperProps {
17
+ currentStep: number;
18
+ stepLabels: readonly string[];
19
+ className?: string;
20
+ }
21
+ export declare function VerticalStepper({ currentStep, stepLabels, className }: VerticalStepperProps): import("react/jsx-runtime").JSX.Element;
22
+ export {};
@@ -0,0 +1,20 @@
1
+ interface TableHeaderProps {
2
+ title?: React.ReactNode;
3
+ className?: string;
4
+ leftClassName?: string;
5
+ rightClassName?: string;
6
+ titleClassName?: string;
7
+ leftContent?: React.ReactNode;
8
+ showDividerAfterTitle?: boolean;
9
+ titleButtons?: React.ReactNode;
10
+ leftSlot?: React.ReactNode;
11
+ rightActions?: React.ReactNode;
12
+ showSearch?: boolean;
13
+ searchValue?: string;
14
+ onSearchChange?: (value: string) => void;
15
+ searchPlaceholder?: string;
16
+ searchInputClassName?: string;
17
+ searchDebounceTime?: number;
18
+ }
19
+ export declare function TableHeader({ title, className, leftClassName, rightClassName, titleClassName, leftContent, showDividerAfterTitle, titleButtons, leftSlot, rightActions, showSearch, searchValue, onSearchChange, searchPlaceholder, searchInputClassName, searchDebounceTime, }: TableHeaderProps): import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -0,0 +1 @@
1
+ export declare function ThemeSelect(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ interface TypeBadgeProps {
2
+ type: string;
3
+ className?: string;
4
+ }
5
+ export declare function TypeBadge({ type, className }: TypeBadgeProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ interface ZoomedVideoProps {
2
+ src: string;
3
+ className?: string;
4
+ 'aria-label'?: string;
5
+ }
6
+ export declare function ZoomedVideo({ src, className, 'aria-label': ariaLabel }: ZoomedVideoProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,51 @@
1
+ import { type SortColumn, type CellClickArgs, type CellMouseEvent } from 'react-data-grid';
2
+ import type { DataGridColumn, DataGridRow, DataGridRowType } from './datagridTypes';
3
+ export interface SelectionCellProps<TRow extends DataGridRowType = DataGridRow> {
4
+ row: TRow;
5
+ isSelected: boolean;
6
+ onToggle: (checked: boolean) => void;
7
+ tabIndex: number;
8
+ }
9
+ export interface DataGridProps<TRow extends DataGridRowType = DataGridRow> {
10
+ data: TRow[];
11
+ columns: DataGridColumn<TRow>[];
12
+ loading?: boolean;
13
+ isSorting?: boolean;
14
+ isRefreshing?: boolean;
15
+ selectedRows?: Set<string>;
16
+ onSelectedRowsChange?: (selectedRows: Set<string>) => void;
17
+ sortColumns?: SortColumn[];
18
+ onSortColumnsChange?: (sortColumns: SortColumn[]) => void;
19
+ onCellClick?: (args: CellClickArgs<TRow>, event: CellMouseEvent) => void;
20
+ currentPage?: number;
21
+ totalPages?: number;
22
+ pageSize?: number;
23
+ pageSizeOptions?: number[];
24
+ totalRecords?: number;
25
+ onPageChange?: (page: number) => void;
26
+ onPageSizeChange?: (pageSize: number) => void;
27
+ emptyState?: React.ReactNode;
28
+ rowKeyGetter?: (row: TRow) => string;
29
+ className?: string;
30
+ showSelection?: boolean;
31
+ selectionHeaderLabel?: string;
32
+ showPagination?: boolean;
33
+ paginationRecordLabel?: string;
34
+ showTypeBadge?: boolean;
35
+ noPadding?: boolean;
36
+ selectionColumnWidth?: number;
37
+ renderSelectionCell?: (props: SelectionCellProps<TRow>) => React.ReactNode;
38
+ renderSelectionHeaderCell?: (props: {
39
+ isAllSelected: boolean;
40
+ isPartiallySelected: boolean;
41
+ onToggle: (checked: boolean | 'indeterminate') => void;
42
+ }) => React.ReactNode;
43
+ headerRowHeight?: number;
44
+ rowHeight?: number;
45
+ gridClassName?: string;
46
+ gridContainerClassName?: string;
47
+ rowClass?: (row: TRow) => string | undefined;
48
+ rightPanel?: React.ReactNode;
49
+ onColumnResize?: (columnKey: string, width: number) => void;
50
+ }
51
+ export default function DataGrid<TRow extends DataGridRowType = DataGridRow>({ data, columns, loading, isSorting, isRefreshing, selectedRows, onSelectedRowsChange, sortColumns, onSortColumnsChange, onCellClick, currentPage, totalPages, pageSize, pageSizeOptions, totalRecords, onPageChange, onPageSizeChange, emptyState, rowKeyGetter, className, showSelection, selectionHeaderLabel, showPagination, paginationRecordLabel, showTypeBadge, noPadding, selectionColumnWidth, renderSelectionCell, renderSelectionHeaderCell, headerRowHeight, rowHeight, gridClassName, gridContainerClassName, rowClass, rightPanel, onColumnResize, }: DataGridProps<TRow>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import type { DataGridRowType } from './datagridTypes';
2
+ import { RenderCellProps } from 'react-data-grid';
3
+ declare function createDefaultCellRenderer<TRow extends DataGridRowType>(): {
4
+ text: ({ row, column }: RenderCellProps<TRow>) => import("react/jsx-runtime").JSX.Element;
5
+ boolean: ({ row, column }: RenderCellProps<TRow>) => import("react/jsx-runtime").JSX.Element;
6
+ datetime: ({ row, column }: RenderCellProps<TRow>) => import("react/jsx-runtime").JSX.Element;
7
+ date: ({ row, column }: RenderCellProps<TRow>) => import("react/jsx-runtime").JSX.Element;
8
+ json: ({ row, column }: RenderCellProps<TRow>) => import("react/jsx-runtime").JSX.Element;
9
+ id: ({ row, column }: RenderCellProps<TRow>) => import("react/jsx-runtime").JSX.Element;
10
+ email: ({ row, column }: RenderCellProps<TRow>) => import("react/jsx-runtime").JSX.Element;
11
+ };
12
+ export { createDefaultCellRenderer };
@@ -0,0 +1,4 @@
1
+ declare function IdCell({ value }: {
2
+ value: string;
3
+ }): import("react/jsx-runtime").JSX.Element;
4
+ export default IdCell;
@@ -0,0 +1,9 @@
1
+ import type { DataGridColumn, DataGridRowType } from './datagridTypes';
2
+ declare function SortableHeaderRenderer<TRow extends DataGridRowType>({ column, sortDirection, columnType, showTypeBadge, mutedHeader, }: {
3
+ column: DataGridColumn<TRow>;
4
+ sortDirection?: 'ASC' | 'DESC';
5
+ columnType?: string;
6
+ showTypeBadge?: boolean;
7
+ mutedHeader?: boolean;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ export default SortableHeaderRenderer;
@@ -0,0 +1,2 @@
1
+ import type { BooleanCellEditorProps } from './types';
2
+ export declare function BooleanCellEditor({ value, nullable, onValueChange, onCancel, autoOpen, className, }: BooleanCellEditorProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { DateCellEditorProps } from './types';
2
+ export declare function DateCellEditor({ value, type, nullable, onValueChange, onCancel, className, }: DateCellEditorProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { JsonCellEditorProps } from './types';
2
+ export declare function JsonCellEditor({ value, nullable, onValueChange, onCancel, className, }: JsonCellEditorProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { TextCellEditorProps } from './types';
2
+ export declare function TextCellEditor({ value, onValueChange, onCancel, className }: TextCellEditorProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export type { BaseCellEditorProps, BooleanCellEditorProps, DateCellEditorProps, JsonCellEditorProps, TextCellEditorProps, } from './types';
2
+ export { BooleanCellEditor } from './BooleanCellEditor';
3
+ export { DateCellEditor } from './DateCellEditor';
4
+ export { JsonCellEditor } from './JsonCellEditor';
5
+ export { TextCellEditor } from './TextCellEditor';
@@ -0,0 +1,39 @@
1
+ import { ColumnType } from '@insforge/shared-schemas';
2
+ /**
3
+ * Base props for all cell editors
4
+ */
5
+ export interface BaseCellEditorProps {
6
+ nullable: boolean;
7
+ onCancel: () => void;
8
+ className?: string;
9
+ }
10
+ /**
11
+ * Boolean cell editor specific props
12
+ */
13
+ export interface BooleanCellEditorProps extends BaseCellEditorProps {
14
+ value: boolean | null;
15
+ onValueChange: (newValue: string) => void;
16
+ autoOpen?: boolean;
17
+ }
18
+ /**
19
+ * Date cell editor specific props
20
+ */
21
+ export interface DateCellEditorProps extends BaseCellEditorProps {
22
+ value: string | null;
23
+ type: ColumnType.DATE | ColumnType.DATETIME;
24
+ onValueChange: (newValue: string | null) => void;
25
+ }
26
+ /**
27
+ * JSON cell editor specific props
28
+ */
29
+ export interface JsonCellEditorProps extends BaseCellEditorProps {
30
+ value: string | null;
31
+ onValueChange: (newValue: string) => void;
32
+ }
33
+ /**
34
+ * Text cell editor specific props
35
+ */
36
+ export interface TextCellEditorProps extends BaseCellEditorProps {
37
+ value: string;
38
+ onValueChange: (newValue: string) => void;
39
+ }
@@ -0,0 +1,61 @@
1
+ import { ColumnType } from '@insforge/shared-schemas';
2
+ import type { Column, RenderCellProps, RenderEditCellProps, RenderHeaderCellProps } from 'react-data-grid';
3
+ /**
4
+ * Raw database values - these are the actual data types stored in the database
5
+ * and received from the backend API.
6
+ */
7
+ export type ConvertedValue = string | number | boolean | null | Record<string, unknown> | string[];
8
+ /**
9
+ * User input values - these are the types of values users enter in forms and cell editors
10
+ * All user inputs need to be converted to ConvertedValue
11
+ */
12
+ export type UserInputValue = string | number | boolean | null;
13
+ /**
14
+ * Display values - these are always strings formatted for UI display
15
+ * Used by cell renderers and form display components
16
+ */
17
+ export type DisplayValue = string;
18
+ /**
19
+ * Database record type - represents a row in the database
20
+ */
21
+ export interface DatabaseRecord {
22
+ [columnName: string]: ConvertedValue | {
23
+ [key: string]: string;
24
+ }[];
25
+ }
26
+ /**
27
+ * DataGrid row data - extends DatabaseRecord with required id
28
+ */
29
+ export interface DataGridRow extends DatabaseRecord {
30
+ id: string;
31
+ }
32
+ /**
33
+ * Generic row type that can be either a DatabaseRecord or a specific schema
34
+ * This allows us to support both AI-generated tables and predefined schemas
35
+ * The id field is optional as react-data-grid can generate it automatically
36
+ */
37
+ export type DataGridRowType = DatabaseRecord & {
38
+ id?: string;
39
+ };
40
+ /**
41
+ * DataGrid column definition - generic version that extends react-data-grid's Column
42
+ * TRow must extend DataGridRowType to ensure it has both id and index signature
43
+ */
44
+ export interface DataGridColumn<TRow extends DataGridRowType = DataGridRow> extends Column<TRow> {
45
+ type?: ColumnType;
46
+ isPrimaryKey?: boolean;
47
+ isNullable?: boolean;
48
+ renderCell?: (props: RenderCellProps<TRow>) => React.ReactNode;
49
+ renderEditCell?: (props: RenderEditCellProps<TRow>) => React.ReactNode;
50
+ renderHeaderCell?: (props: RenderHeaderCellProps<TRow>) => React.ReactNode;
51
+ }
52
+ /**
53
+ * Value conversion result for user input validation
54
+ */
55
+ export type ValueConversionResult = {
56
+ success: true;
57
+ value: ConvertedValue;
58
+ } | {
59
+ success: false;
60
+ error: string;
61
+ };
@@ -0,0 +1,8 @@
1
+ export * from './cell-editors';
2
+ export type * from './datagridTypes';
3
+ export type { DataGridProps, SelectionCellProps } from './DataGrid';
4
+ export type { Column, SortColumn, RenderCellProps, RenderEditCellProps, RenderHeaderCellProps, CellClickArgs, CellMouseEvent, } from 'react-data-grid';
5
+ export { default as DataGrid } from './DataGrid';
6
+ export { createDefaultCellRenderer } from './DefaultCellRenderer';
7
+ export { default as IdCell } from './IdCell';
8
+ export { default as SortableHeaderRenderer } from './SortableHeader';
@@ -0,0 +1,20 @@
1
+ export * from './datagrid';
2
+ export { FeatureSidebar, type FeatureSidebarActionButton, type FeatureSidebarHeaderButton, type FeatureSidebarItemAction, type FeatureSidebarListItem, } from './FeatureSidebar';
3
+ export * from './layout';
4
+ export * from './radix';
5
+ export { CodeEditor } from './CodeEditor';
6
+ export { ConnectCTA } from './ConnectCTA';
7
+ export { DataGridEmptyState } from './DataGridEmptyState';
8
+ export { DeleteActionButton } from './DeleteActionButton';
9
+ export { EmptyState } from './EmptyState';
10
+ export { ErrorState } from './ErrorState';
11
+ export { JsonHighlight } from './JsonHighlight';
12
+ export { LoadingState } from './LoadingState';
13
+ export { PaginationControls, type PaginationControlsProps } from './PaginationControls';
14
+ export { PromptDialog } from './PromptDialog';
15
+ export { SelectionClearButton } from './SelectionClearButton';
16
+ export { CircularStepper, LinearStepper, VerticalStepper } from './Stepper';
17
+ export { TableHeader } from './TableHeader';
18
+ export { ThemeSelect } from './ThemeSelect';
19
+ export { TypeBadge } from './TypeBadge';
20
+ export { ZoomedVideo } from './ZoomedVideo';
@@ -0,0 +1 @@
1
+ export default function AppHeader(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ interface AppSidebarProps extends React.HTMLAttributes<HTMLElement> {
2
+ isCollapsed: boolean;
3
+ onToggleCollapse: () => void;
4
+ }
5
+ export default function AppSidebar({ isCollapsed, onToggleCollapse }: AppSidebarProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface LayoutProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export default function Layout({ children }: LayoutProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,3 @@
1
+ export { default as AppHeader } from './AppHeader';
2
+ export { default as AppSidebar } from './AppSidebar';
3
+ export { default as Layout } from './Layout';
@@ -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" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => 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,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,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<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
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,23 @@
1
+ import * as React from 'react';
2
+ import * as LabelPrimitive from '@radix-ui/react-label';
3
+ import { type ControllerProps, type FieldPath, type FieldValues } from 'react-hook-form';
4
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
5
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
6
+ declare const useFormField: () => {
7
+ invalid: boolean;
8
+ isDirty: boolean;
9
+ isTouched: boolean;
10
+ isValidating: boolean;
11
+ error?: import("react-hook-form").FieldError;
12
+ id: string;
13
+ name: string;
14
+ formItemId: string;
15
+ formDescriptionId: string;
16
+ formMessageId: string;
17
+ };
18
+ declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
19
+ declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
20
+ declare const FormControl: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-slot").SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
21
+ declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
22
+ declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
23
+ export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import * as LabelPrimitive from '@radix-ui/react-label';
3
+ import { type VariantProps } from 'class-variance-authority';
4
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
+ export { Label };
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
3
+ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ export { Popover, PopoverTrigger, PopoverContent };
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
3
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ export { ScrollArea, ScrollBar };
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
3
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ export { Separator };
@@ -0,0 +1,2 @@
1
+ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
2
+ export { Skeleton };
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
3
+ export { Textarea };