camox 0.7.0 → 0.7.2

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 (275) hide show
  1. package/dist/components/AuthGate.js +3 -1
  2. package/dist/core/components/AddBlockControlBar.js +4 -2
  3. package/dist/core/components/lexical/InlineContentEditable.js +4 -2
  4. package/dist/core/components/lexical/InlineLexicalEditor.js +3 -1
  5. package/dist/core/components/lexical/InlineParagraphNode.js +3 -1
  6. package/dist/core/components/lexical/SelectionBroadcaster.js +3 -1
  7. package/dist/core/components/lexical/SidebarLexicalEditor.js +3 -1
  8. package/dist/core/components/lexical/editorConfig.js +3 -1
  9. package/dist/core/createApp.d.ts +760 -691
  10. package/dist/core/createApp.js +2 -1
  11. package/dist/core/createBlock.d.ts +1027 -1001
  12. package/dist/core/createBlock.js +6 -4
  13. package/dist/core/createLayout.d.ts +111 -105
  14. package/dist/core/createLayout.js +3 -1
  15. package/dist/core/hooks/useFieldSelection.js +3 -1
  16. package/dist/core/hooks/useIsEditable.js +3 -1
  17. package/dist/core/hooks/useOverlayMessage.js +3 -1
  18. package/dist/core/lib/contentType.d.ts +141 -138
  19. package/dist/core/lib/contentType.js +4 -2
  20. package/dist/core/lib/fieldTypes.js +4 -2
  21. package/dist/core/lib/lexicalReact.js +3 -1
  22. package/dist/core/lib/lexicalState.js +3 -1
  23. package/dist/core/lib/modifierFormats.js +4 -3
  24. package/dist/core/lib/modifiers.js +5 -3
  25. package/dist/features/content/CamoxContent.d.ts +6 -2
  26. package/dist/features/content/CamoxContent.js +4 -2
  27. package/dist/features/content/components/AssetCard.js +4 -2
  28. package/dist/features/content/components/AssetCardSkeleton.js +4 -2
  29. package/dist/features/content/components/ContentSidebar.js +4 -2
  30. package/dist/features/content/components/UploadDropZone.js +3 -1
  31. package/dist/features/content/components/UploadProgressDrawer.js +3 -1
  32. package/dist/features/metadata/sitemap.d.ts +7 -5
  33. package/dist/features/metadata/sitemap.js +3 -1
  34. package/dist/features/preview/CamoxPreview.d.ts +35 -29
  35. package/dist/features/preview/CamoxPreview.js +7 -5
  36. package/dist/features/preview/components/AddBlockSheet.js +5 -3
  37. package/dist/features/preview/components/AgentChatSheet.js +4 -2
  38. package/dist/features/preview/components/AssetFieldEditor.js +5 -3
  39. package/dist/features/preview/components/AssetLightbox.js +4 -2
  40. package/dist/features/preview/components/AssetPickerGrid.js +4 -2
  41. package/dist/features/preview/components/BlockActionsPopover.js +4 -2
  42. package/dist/features/preview/components/CreatePageSheet.js +4 -2
  43. package/dist/features/preview/components/DebouncedFieldEditor.js +4 -2
  44. package/dist/features/preview/components/EditPageSheet.js +8 -6
  45. package/dist/features/preview/components/FieldOverlayStyles.js +6 -4
  46. package/dist/features/preview/components/Frame.js +5 -3
  47. package/dist/features/preview/components/ItemFieldsEditor.js +6 -4
  48. package/dist/features/preview/components/LinkFieldEditor.js +5 -3
  49. package/dist/features/preview/components/MultipleAssetFieldEditor.js +5 -3
  50. package/dist/features/preview/components/OverlayTracker.js +4 -2
  51. package/dist/features/preview/components/Overlays.js +4 -2
  52. package/dist/features/preview/components/PageContentSheet.js +7 -5
  53. package/dist/features/preview/components/PageLocationFieldset.js +5 -3
  54. package/dist/features/preview/components/PagePicker.js +5 -3
  55. package/dist/features/preview/components/PageTree.js +13 -11
  56. package/dist/features/preview/components/PeekedBlock.js +4 -2
  57. package/dist/features/preview/components/PreviewPanel.js +6 -4
  58. package/dist/features/preview/components/PreviewSideSheet.js +4 -2
  59. package/dist/features/preview/components/PreviewToolbar.js +4 -2
  60. package/dist/features/preview/components/RepeatableItemsList.js +5 -3
  61. package/dist/features/preview/components/ShikiMarkdown.js +5 -3
  62. package/dist/features/preview/components/TextFormatToolbar.js +5 -3
  63. package/dist/features/preview/components/UnlinkAssetButton.js +4 -2
  64. package/dist/features/preview/components/useUpdateBlockPosition.js +4 -2
  65. package/dist/features/preview/overlayMessages.js +2 -1
  66. package/dist/features/preview/previewStore.js +4 -2
  67. package/dist/features/provider/CamoxProvider.d.ts +20 -10
  68. package/dist/features/provider/CamoxProvider.js +5 -3
  69. package/dist/features/provider/actionsStore.js +4 -2
  70. package/dist/features/provider/components/CamoxAppContext.js +5 -3
  71. package/dist/features/provider/components/CommandPalette.js +3 -1
  72. package/dist/features/provider/useAdminShortcuts.js +3 -1
  73. package/dist/features/routes/ogRoute.d.ts +11 -6
  74. package/dist/features/routes/ogRoute.js +2 -1
  75. package/dist/features/routes/pageRoute.d.ts +56 -46
  76. package/dist/features/routes/pageRoute.js +6 -4
  77. package/dist/features/studio/CamoxStudio.d.ts +10 -5
  78. package/dist/features/studio/CamoxStudio.js +4 -2
  79. package/dist/features/studio/components/EnvironmentMenu.js +4 -2
  80. package/dist/features/studio/components/Navbar.js +5 -3
  81. package/dist/features/studio/components/ProjectMenu.js +5 -3
  82. package/dist/features/studio/components/UserButton.js +4 -2
  83. package/dist/features/studio/studioStore.js +4 -2
  84. package/dist/features/studio/useTheme.js +3 -1
  85. package/dist/features/vite/appGeneration.js +4 -2
  86. package/dist/features/vite/blockBoilerplate.js +4 -2
  87. package/dist/features/vite/definitionsSync.js +5 -3
  88. package/dist/features/vite/routeGeneration.js +4 -2
  89. package/dist/features/vite/skillGeneration.js +5 -3
  90. package/dist/features/vite/utils.js +3 -1
  91. package/dist/features/vite/vite.d.ts +20 -21
  92. package/dist/features/vite/vite.js +26 -16
  93. package/dist/hooks/use-file-upload.js +4 -1
  94. package/dist/hooks/use-marquee-selection.js +4 -2
  95. package/dist/lib/analytics-client.js +5 -3
  96. package/dist/lib/analytics.js +4 -3
  97. package/dist/lib/api-client-server.js +3 -1
  98. package/dist/lib/api-client.d.ts +7 -1198
  99. package/dist/lib/api-client.js +7 -5
  100. package/dist/lib/auth.js +4 -2
  101. package/dist/lib/normalized-data.js +7 -5
  102. package/dist/lib/queries.d.ts +9 -791
  103. package/dist/lib/queries.js +13 -11
  104. package/dist/lib/use-project-room.js +4 -2
  105. package/dist/lib/utils.js +3 -1
  106. package/package.json +10 -11
  107. package/dist/components/AuthGate.d.ts +0 -7
  108. package/dist/components/AuthGate.d.ts.map +0 -1
  109. package/dist/core/components/AddBlockControlBar.d.ts +0 -9
  110. package/dist/core/components/AddBlockControlBar.d.ts.map +0 -1
  111. package/dist/core/components/lexical/InlineContentEditable.d.ts +0 -7
  112. package/dist/core/components/lexical/InlineContentEditable.d.ts.map +0 -1
  113. package/dist/core/components/lexical/InlineLexicalEditor.d.ts +0 -10
  114. package/dist/core/components/lexical/InlineLexicalEditor.d.ts.map +0 -1
  115. package/dist/core/components/lexical/InlineParagraphNode.d.ts +0 -10
  116. package/dist/core/components/lexical/InlineParagraphNode.d.ts.map +0 -1
  117. package/dist/core/components/lexical/SelectionBroadcaster.d.ts +0 -6
  118. package/dist/core/components/lexical/SelectionBroadcaster.d.ts.map +0 -1
  119. package/dist/core/components/lexical/SidebarLexicalEditor.d.ts +0 -9
  120. package/dist/core/components/lexical/SidebarLexicalEditor.d.ts.map +0 -1
  121. package/dist/core/components/lexical/editorConfig.d.ts +0 -4
  122. package/dist/core/components/lexical/editorConfig.d.ts.map +0 -1
  123. package/dist/core/createApp.d.ts.map +0 -1
  124. package/dist/core/createBlock.d.ts.map +0 -1
  125. package/dist/core/createLayout.d.ts.map +0 -1
  126. package/dist/core/hooks/useFieldSelection.d.ts +0 -8
  127. package/dist/core/hooks/useFieldSelection.d.ts.map +0 -1
  128. package/dist/core/hooks/useIsEditable.d.ts +0 -2
  129. package/dist/core/hooks/useIsEditable.d.ts.map +0 -1
  130. package/dist/core/hooks/useOverlayMessage.d.ts +0 -10
  131. package/dist/core/hooks/useOverlayMessage.d.ts.map +0 -1
  132. package/dist/core/lib/contentType.d.ts.map +0 -1
  133. package/dist/core/lib/fieldTypes.d.ts +0 -92
  134. package/dist/core/lib/fieldTypes.d.ts.map +0 -1
  135. package/dist/core/lib/lexicalReact.d.ts +0 -7
  136. package/dist/core/lib/lexicalReact.d.ts.map +0 -1
  137. package/dist/core/lib/lexicalState.d.ts +0 -10
  138. package/dist/core/lib/lexicalState.d.ts.map +0 -1
  139. package/dist/core/lib/modifierFormats.d.ts +0 -9
  140. package/dist/core/lib/modifierFormats.d.ts.map +0 -1
  141. package/dist/core/lib/modifiers.d.ts +0 -12
  142. package/dist/core/lib/modifiers.d.ts.map +0 -1
  143. package/dist/features/content/CamoxContent.d.ts.map +0 -1
  144. package/dist/features/content/components/AssetCard.d.ts +0 -10
  145. package/dist/features/content/components/AssetCard.d.ts.map +0 -1
  146. package/dist/features/content/components/AssetCardSkeleton.d.ts +0 -2
  147. package/dist/features/content/components/AssetCardSkeleton.d.ts.map +0 -1
  148. package/dist/features/content/components/ContentSidebar.d.ts +0 -2
  149. package/dist/features/content/components/ContentSidebar.d.ts.map +0 -1
  150. package/dist/features/content/components/UploadDropZone.d.ts +0 -9
  151. package/dist/features/content/components/UploadDropZone.d.ts.map +0 -1
  152. package/dist/features/content/components/UploadProgressDrawer.d.ts +0 -11
  153. package/dist/features/content/components/UploadProgressDrawer.d.ts.map +0 -1
  154. package/dist/features/metadata/sitemap.d.ts.map +0 -1
  155. package/dist/features/preview/CamoxPreview.d.ts.map +0 -1
  156. package/dist/features/preview/components/AddBlockSheet.d.ts +0 -3
  157. package/dist/features/preview/components/AddBlockSheet.d.ts.map +0 -1
  158. package/dist/features/preview/components/AgentChatSheet.d.ts +0 -3
  159. package/dist/features/preview/components/AgentChatSheet.d.ts.map +0 -1
  160. package/dist/features/preview/components/AssetFieldEditor.d.ts +0 -18
  161. package/dist/features/preview/components/AssetFieldEditor.d.ts.map +0 -1
  162. package/dist/features/preview/components/AssetLightbox.d.ts +0 -8
  163. package/dist/features/preview/components/AssetLightbox.d.ts.map +0 -1
  164. package/dist/features/preview/components/AssetPickerGrid.d.ts +0 -11
  165. package/dist/features/preview/components/AssetPickerGrid.d.ts.map +0 -1
  166. package/dist/features/preview/components/BlockActionsPopover.d.ts +0 -15
  167. package/dist/features/preview/components/BlockActionsPopover.d.ts.map +0 -1
  168. package/dist/features/preview/components/CreatePageSheet.d.ts +0 -3
  169. package/dist/features/preview/components/CreatePageSheet.d.ts.map +0 -1
  170. package/dist/features/preview/components/DebouncedFieldEditor.d.ts +0 -10
  171. package/dist/features/preview/components/DebouncedFieldEditor.d.ts.map +0 -1
  172. package/dist/features/preview/components/EditPageSheet.d.ts +0 -3
  173. package/dist/features/preview/components/EditPageSheet.d.ts.map +0 -1
  174. package/dist/features/preview/components/FieldOverlayStyles.d.ts +0 -2
  175. package/dist/features/preview/components/FieldOverlayStyles.d.ts.map +0 -1
  176. package/dist/features/preview/components/Frame.d.ts +0 -20
  177. package/dist/features/preview/components/Frame.d.ts.map +0 -1
  178. package/dist/features/preview/components/ItemFieldsEditor.d.ts +0 -28
  179. package/dist/features/preview/components/ItemFieldsEditor.d.ts.map +0 -1
  180. package/dist/features/preview/components/LinkFieldEditor.d.ts +0 -8
  181. package/dist/features/preview/components/LinkFieldEditor.d.ts.map +0 -1
  182. package/dist/features/preview/components/MultipleAssetFieldEditor.d.ts +0 -9
  183. package/dist/features/preview/components/MultipleAssetFieldEditor.d.ts.map +0 -1
  184. package/dist/features/preview/components/OverlayTracker.d.ts +0 -6
  185. package/dist/features/preview/components/OverlayTracker.d.ts.map +0 -1
  186. package/dist/features/preview/components/Overlays.d.ts +0 -6
  187. package/dist/features/preview/components/Overlays.d.ts.map +0 -1
  188. package/dist/features/preview/components/PageContentSheet.d.ts +0 -3
  189. package/dist/features/preview/components/PageContentSheet.d.ts.map +0 -1
  190. package/dist/features/preview/components/PageLocationFieldset.d.ts +0 -14
  191. package/dist/features/preview/components/PageLocationFieldset.d.ts.map +0 -1
  192. package/dist/features/preview/components/PagePicker.d.ts +0 -3
  193. package/dist/features/preview/components/PagePicker.d.ts.map +0 -1
  194. package/dist/features/preview/components/PageTree.d.ts +0 -3
  195. package/dist/features/preview/components/PageTree.d.ts.map +0 -1
  196. package/dist/features/preview/components/PeekedBlock.d.ts +0 -6
  197. package/dist/features/preview/components/PeekedBlock.d.ts.map +0 -1
  198. package/dist/features/preview/components/PreviewPanel.d.ts +0 -12
  199. package/dist/features/preview/components/PreviewPanel.d.ts.map +0 -1
  200. package/dist/features/preview/components/PreviewSideSheet.d.ts +0 -13
  201. package/dist/features/preview/components/PreviewSideSheet.d.ts.map +0 -1
  202. package/dist/features/preview/components/PreviewToolbar.d.ts +0 -2
  203. package/dist/features/preview/components/PreviewToolbar.d.ts.map +0 -1
  204. package/dist/features/preview/components/RepeatableItemsList.d.ts +0 -17
  205. package/dist/features/preview/components/RepeatableItemsList.d.ts.map +0 -1
  206. package/dist/features/preview/components/ShikiMarkdown.d.ts +0 -4
  207. package/dist/features/preview/components/ShikiMarkdown.d.ts.map +0 -1
  208. package/dist/features/preview/components/TextFormatToolbar.d.ts +0 -2
  209. package/dist/features/preview/components/TextFormatToolbar.d.ts.map +0 -1
  210. package/dist/features/preview/components/UnlinkAssetButton.d.ts +0 -8
  211. package/dist/features/preview/components/UnlinkAssetButton.d.ts.map +0 -1
  212. package/dist/features/preview/components/useUpdateBlockPosition.d.ts +0 -67
  213. package/dist/features/preview/components/useUpdateBlockPosition.d.ts.map +0 -1
  214. package/dist/features/preview/overlayMessages.d.ts +0 -62
  215. package/dist/features/preview/overlayMessages.d.ts.map +0 -1
  216. package/dist/features/preview/previewConstants.d.ts +0 -2
  217. package/dist/features/preview/previewConstants.d.ts.map +0 -1
  218. package/dist/features/preview/previewStore.d.ts +0 -123
  219. package/dist/features/preview/previewStore.d.ts.map +0 -1
  220. package/dist/features/preview/studio-overlays.css?inline.js +0 -4
  221. package/dist/features/provider/CamoxProvider.d.ts.map +0 -1
  222. package/dist/features/provider/actionsStore.d.ts +0 -35
  223. package/dist/features/provider/actionsStore.d.ts.map +0 -1
  224. package/dist/features/provider/components/CamoxAppContext.d.ts +0 -771
  225. package/dist/features/provider/components/CamoxAppContext.d.ts.map +0 -1
  226. package/dist/features/provider/components/CommandPalette.d.ts +0 -3
  227. package/dist/features/provider/components/CommandPalette.d.ts.map +0 -1
  228. package/dist/features/provider/useAdminShortcuts.d.ts +0 -5
  229. package/dist/features/provider/useAdminShortcuts.d.ts.map +0 -1
  230. package/dist/features/routes/ogRoute.d.ts.map +0 -1
  231. package/dist/features/routes/pageRoute.d.ts.map +0 -1
  232. package/dist/features/studio/CamoxStudio.d.ts.map +0 -1
  233. package/dist/features/studio/components/EnvironmentMenu.d.ts +0 -2
  234. package/dist/features/studio/components/EnvironmentMenu.d.ts.map +0 -1
  235. package/dist/features/studio/components/Navbar.d.ts +0 -4
  236. package/dist/features/studio/components/Navbar.d.ts.map +0 -1
  237. package/dist/features/studio/components/ProjectMenu.d.ts +0 -2
  238. package/dist/features/studio/components/ProjectMenu.d.ts.map +0 -1
  239. package/dist/features/studio/components/UserButton.d.ts +0 -2
  240. package/dist/features/studio/components/UserButton.d.ts.map +0 -1
  241. package/dist/features/studio/studioStore.d.ts +0 -17
  242. package/dist/features/studio/studioStore.d.ts.map +0 -1
  243. package/dist/features/studio/useTheme.d.ts +0 -9
  244. package/dist/features/studio/useTheme.d.ts.map +0 -1
  245. package/dist/features/vite/appGeneration.d.ts +0 -4
  246. package/dist/features/vite/appGeneration.d.ts.map +0 -1
  247. package/dist/features/vite/blockBoilerplate.d.ts +0 -3
  248. package/dist/features/vite/blockBoilerplate.d.ts.map +0 -1
  249. package/dist/features/vite/definitionsSync.d.ts +0 -19
  250. package/dist/features/vite/definitionsSync.d.ts.map +0 -1
  251. package/dist/features/vite/routeGeneration.d.ts +0 -14
  252. package/dist/features/vite/routeGeneration.d.ts.map +0 -1
  253. package/dist/features/vite/skillGeneration.d.ts +0 -4
  254. package/dist/features/vite/skillGeneration.d.ts.map +0 -1
  255. package/dist/features/vite/utils.d.ts +0 -2
  256. package/dist/features/vite/utils.d.ts.map +0 -1
  257. package/dist/features/vite/vite.d.ts.map +0 -1
  258. package/dist/hooks/use-file-upload.d.ts +0 -23
  259. package/dist/hooks/use-file-upload.d.ts.map +0 -1
  260. package/dist/hooks/use-marquee-selection.d.ts +0 -17
  261. package/dist/hooks/use-marquee-selection.d.ts.map +0 -1
  262. package/dist/lib/analytics-client.d.ts +0 -3
  263. package/dist/lib/analytics-client.d.ts.map +0 -1
  264. package/dist/lib/analytics.d.ts +0 -3
  265. package/dist/lib/analytics.d.ts.map +0 -1
  266. package/dist/lib/api-client-server.d.ts +0 -5
  267. package/dist/lib/api-client-server.d.ts.map +0 -1
  268. package/dist/lib/api-client.d.ts.map +0 -1
  269. package/dist/lib/normalized-data.d.ts +0 -96
  270. package/dist/lib/normalized-data.d.ts.map +0 -1
  271. package/dist/lib/queries.d.ts.map +0 -1
  272. package/dist/lib/use-project-room.d.ts +0 -2
  273. package/dist/lib/use-project-room.d.ts.map +0 -1
  274. package/dist/lib/utils.d.ts +0 -40
  275. package/dist/lib/utils.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"CamoxAppContext.d.ts","sourceRoot":"","sources":["../../../../src/features/provider/components/CamoxAppContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAIxD,eAAO,MAAM,gBAAgB,GAAI,oBAG9B;IACD,GAAG,EAAE,QAAQ,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,4CAEA,CAAC;AAEF,wBAAgB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ1B"}
@@ -1,3 +0,0 @@
1
- export declare function CommandPalette(): import("react/jsx-runtime").JSX.Element;
2
- export declare function useCommandPaletteActions(): void;
3
- //# sourceMappingURL=CommandPalette.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CommandPalette.d.ts","sourceRoot":"","sources":["../../../../src/features/provider/components/CommandPalette.tsx"],"names":[],"mappings":"AAkBA,wBAAgB,cAAc,4CAuH7B;AAED,wBAAgB,wBAAwB,SAwBvC"}
@@ -1,5 +0,0 @@
1
- /**
2
- * Hook that listens for global keyboard shortcuts defined in the actionsStore
3
- */
4
- export declare function useAdminShortcuts(): void;
5
- //# sourceMappingURL=useAdminShortcuts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAdminShortcuts.d.ts","sourceRoot":"","sources":["../../../src/features/provider/useAdminShortcuts.tsx"],"names":[],"mappings":"AAQA;;GAEG;AACH,wBAAgB,iBAAiB,SAkHhC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ogRoute.d.ts","sourceRoot":"","sources":["../../../src/features/routes/ogRoute.ts"],"names":[],"mappings":"AAAA,OA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.ts","sourceRoot":"","sources":["../../../src/features/studio/CamoxStudio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,QAAA,MAAM,WAAW,GAAI,cAAc;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4CAqB/D,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const EnvironmentMenu: () => import("react/jsx-runtime").JSX.Element | null;
2
- //# sourceMappingURL=EnvironmentMenu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnvironmentMenu.d.ts","sourceRoot":"","sources":["../../../../src/features/studio/components/EnvironmentMenu.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,eAAe,sDAyC3B,CAAC"}
@@ -1,4 +0,0 @@
1
- declare const Navbar: () => import("react/jsx-runtime").JSX.Element;
2
- declare function useNavbarActions(): void;
3
- export { Navbar, useNavbarActions };
4
- //# sourceMappingURL=Navbar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../../src/features/studio/components/Navbar.tsx"],"names":[],"mappings":"AAmDA,QAAA,MAAM,MAAM,+CA8DX,CAAC;AAEF,iBAAS,gBAAgB,SAyBxB;AAED,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const ProjectMenu: () => import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=ProjectMenu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProjectMenu.d.ts","sourceRoot":"","sources":["../../../../src/features/studio/components/ProjectMenu.tsx"],"names":[],"mappings":"AAyEA,eAAO,MAAM,WAAW,+CAqFvB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const UserButton: () => import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=UserButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserButton.d.ts","sourceRoot":"","sources":["../../../../src/features/studio/components/UserButton.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,UAAU,+CAatB,CAAC"}
@@ -1,17 +0,0 @@
1
- interface StudioContext {
2
- isCommandPaletteOpen: boolean;
3
- commandPalettePages: string[];
4
- }
5
- export declare const studioStore: import('@xstate/store').Store<StudioContext, {
6
- openCommandPalette: unknown;
7
- closeCommandPalette: unknown;
8
- toggleCommandPalette: unknown;
9
- pushCommandPalettePage: {
10
- page: string;
11
- };
12
- popCommandPalettePage: unknown;
13
- }, {
14
- type: string;
15
- }>;
16
- export {};
17
- //# sourceMappingURL=studioStore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"studioStore.d.ts","sourceRoot":"","sources":["../../../src/features/studio/studioStore.ts"],"names":[],"mappings":"AAEA,UAAU,aAAa;IACrB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,mBAAmB,EAAE,MAAM,EAAE,CAAC;CAC/B;AAED,eAAO,MAAM,WAAW;;;;;cA0B6B,MAAM;;;;;EAazD,CAAC"}
@@ -1,9 +0,0 @@
1
- import * as React from "react";
2
- type Theme = "dark" | "light" | "system";
3
- export declare function useTheme(): {
4
- theme: Theme;
5
- setTheme: React.Dispatch<React.SetStateAction<Theme>>;
6
- };
7
- export declare function useThemeActions(): void;
8
- export {};
9
- //# sourceMappingURL=useTheme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../../src/features/studio/useTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,KAAK,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEzC,wBAAgB,QAAQ;;;EAiDvB;AAED,wBAAgB,eAAe,SAiD9B"}
@@ -1,4 +0,0 @@
1
- import { ViteDevServer } from 'vite';
2
- export declare function generateAppFile(appRoot: string): void;
3
- export declare function watchAppFile(server: ViteDevServer, appRoot: string): void;
4
- //# sourceMappingURL=appGeneration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"appGeneration.d.ts","sourceRoot":"","sources":["../../../src/features/vite/appGeneration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AA6C1C,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,QAI9C;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,QA6BlE"}
@@ -1,3 +0,0 @@
1
- import { ViteDevServer } from 'vite';
2
- export declare function watchNewBlockFiles(server: ViteDevServer): void;
3
- //# sourceMappingURL=blockBoilerplate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blockBoilerplate.d.ts","sourceRoot":"","sources":["../../../src/features/vite/blockBoilerplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAoD1C,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,QA4BvD"}
@@ -1,19 +0,0 @@
1
- import { Logger, ViteDevServer } from 'vite';
2
- import { CamoxApp } from '../../core/createApp';
3
- interface SyncDefinitionsOptions {
4
- projectSlug: string;
5
- syncSecret: string;
6
- apiUrl: string;
7
- environmentName: string;
8
- }
9
- export declare function syncDefinitionsToApi(options: {
10
- camoxApp: CamoxApp;
11
- projectSlug: string;
12
- apiUrl: string;
13
- syncSecret: string;
14
- environmentName?: string;
15
- logger: Logger;
16
- }): Promise<void>;
17
- export declare function syncDefinitions(server: ViteDevServer, options: SyncDefinitionsOptions): Promise<void>;
18
- export {};
19
- //# sourceMappingURL=definitionsSync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"definitionsSync.d.ts","sourceRoot":"","sources":["../../../src/features/vite/definitionsSync.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAA0C,MAAM,MAAM,CAAC;AAE/F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOjD,UAAU,sBAAsB;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;CACzB;AAgBD,wBAAsB,oBAAoB,CAAC,OAAO,EAAE;IAClD,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,IAAI,CAAC,CAwFhB;AAsCD,wBAAsB,eAAe,CACnC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,sBAAsB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAkLf"}
@@ -1,14 +0,0 @@
1
- import { ViteDevServer } from 'vite';
2
- type RouteFilesOptions = {
3
- routesDir: string;
4
- authenticationUrl: string;
5
- apiUrl: string;
6
- projectSlug: string;
7
- environmentName: string;
8
- };
9
- export declare function generateRouteFiles(options: RouteFilesOptions): void;
10
- export declare function watchRouteFiles(options: RouteFilesOptions & {
11
- server: ViteDevServer;
12
- }): void;
13
- export {};
14
- //# sourceMappingURL=routeGeneration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"routeGeneration.d.ts","sourceRoot":"","sources":["../../../src/features/vite/routeGeneration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAwK1C,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AA2BF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,iBAAiB,QAO5D;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,iBAAiB,GAAG;IAAE,MAAM,EAAE,aAAa,CAAA;CAAE,QA8BrF"}
@@ -1,4 +0,0 @@
1
- import { ViteDevServer } from 'vite';
2
- export declare function generateSkillFiles(appRoot: string): void;
3
- export declare function watchSkillFiles(server: ViteDevServer, appRoot: string): void;
4
- //# sourceMappingURL=skillGeneration.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"skillGeneration.d.ts","sourceRoot":"","sources":["../../../src/features/vite/skillGeneration.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AA8B1C,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,QAUjD;AA6BD,wBAAgB,eAAe,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,QA6BrE"}
@@ -1,2 +0,0 @@
1
- export declare function writeIfChanged(filePath: string, content: string): void;
2
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/features/vite/utils.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,QAM/D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"vite.d.ts","sourceRoot":"","sources":["../../../src/features/vite/vite.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,MAAM,EAAyD,MAAM,MAAM,CAAC;AA2C1F,MAAM,WAAW,kBAAkB;IACjC,0FAA0F;IAC1F,WAAW,EAAE,MAAM,CAAC;IACpB,wEAAwE;IACxE,UAAU,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,4FAA4F;IAC5F,SAAS,CAAC,EAAE;QACV,2DAA2D;QAC3D,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,0EAA0E;QAC1E,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,oDAAoD;QACpD,sBAAsB,CAAC,EAAE,OAAO,CAAC;QACjC,8FAA8F;QAC9F,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B,CAAC;CACH;AAED,wBAAgB,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM,CAmIzD"}
@@ -1,23 +0,0 @@
1
- export interface UploadItem {
2
- id: string;
3
- filename: string;
4
- progress: number;
5
- status: "uploading" | "complete" | "error";
6
- error?: string;
7
- }
8
- interface UseFileUploadOptions {
9
- projectId?: number;
10
- onFileCommitted?: (result: {
11
- fileId: string;
12
- url: string;
13
- filename: string;
14
- mimeType: string;
15
- }) => void;
16
- }
17
- export declare function useFileUpload(options?: UseFileUploadOptions): {
18
- uploads: UploadItem[];
19
- uploadFiles: (files: FileList) => void;
20
- clearAll: () => void;
21
- };
22
- export {};
23
- //# sourceMappingURL=use-file-upload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-file-upload.d.ts","sourceRoot":"","sources":["../../src/hooks/use-file-upload.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE;QACzB,MAAM,EAAE,MAAM,CAAC;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,KAAK,IAAI,CAAC;CACZ;AAED,wBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,oBAAoB;;yBA6EhD,QAAQ;;EAgCnB"}
@@ -1,17 +0,0 @@
1
- interface Rect {
2
- left: number;
3
- top: number;
4
- width: number;
5
- height: number;
6
- }
7
- export declare function useMarqueeSelection(containerRef: React.RefObject<HTMLElement | null>, onSelectionChange: (ids: Set<string>) => void): {
8
- selectionRect: Rect | null;
9
- didDragRef: import('react').RefObject<boolean>;
10
- handlers: {
11
- onPointerDown: (e: React.PointerEvent) => void;
12
- onPointerMove: (e: React.PointerEvent) => void;
13
- onPointerUp: (e: React.PointerEvent) => void;
14
- };
15
- };
16
- export {};
17
- //# sourceMappingURL=use-marquee-selection.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-marquee-selection.d.ts","sourceRoot":"","sources":["../../src/hooks/use-marquee-selection.ts"],"names":[],"mappings":"AAOA,UAAU,IAAI;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAID,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACjD,iBAAiB,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI;;;;2BA8DvC,KAAK,CAAC,YAAY;2BAiBlB,KAAK,CAAC,YAAY;yBAyBY,KAAK,CAAC,YAAY;;EAcvD"}
@@ -1,3 +0,0 @@
1
- /** Client-side tracking for CMS actions. Events route through t.camox.ai reverse proxy. */
2
- export declare function trackClientEvent(event: string, properties: Record<string, unknown>): void;
3
- //# sourceMappingURL=analytics-client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"analytics-client.d.ts","sourceRoot":"","sources":["../../src/lib/analytics-client.ts"],"names":[],"mappings":"AAiCA,2FAA2F;AAC3F,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,QAGlF"}
@@ -1,3 +0,0 @@
1
- /** Server-side tracking for page views (used in pageRoute.tsx) */
2
- export declare function trackEvent(event: string, properties: Record<string, unknown>): Promise<void>;
3
- //# sourceMappingURL=analytics.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../src/lib/analytics.ts"],"names":[],"mappings":"AAmBA,kEAAkE;AAClE,wBAAsB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,iBAKlF"}
@@ -1,5 +0,0 @@
1
- import { Router } from '@camox/api';
2
- import { RouterClient } from '@orpc/server';
3
- export type ServerApiClient = RouterClient<Router>;
4
- export declare function createServerApiClient(apiUrl: string, environmentName?: string): ServerApiClient;
5
- //# sourceMappingURL=api-client-server.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-client-server.d.ts","sourceRoot":"","sources":["../../src/lib/api-client-server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAEnD,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,eAAe,CAK/F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"api-client.d.ts","sourceRoot":"","sources":["../../src/lib/api-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAGzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAKjD,MAAM,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAO7C,wBAAgB,aAAa,CAAC,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAGtB;AAED,wBAAgB,SAAS,IAAI,MAAM,CAGlC;AAED,wBAAgB,kBAAkB,IAAI,MAAM,GAAG,IAAI,CAElD"}
@@ -1,96 +0,0 @@
1
- import { QueryClient } from '@tanstack/react-query';
2
- import { PageStructure, PageWithBlocks } from './queries';
3
- import * as React from "react";
4
- export type NormalizedFile = PageWithBlocks["files"][number];
5
- export type NormalizedItem = PageWithBlocks["repeatableItems"][number];
6
- export type NormalizedBlock = PageWithBlocks["blocks"][number];
7
- interface NormalizedDataContextValue {
8
- filesMap: Map<number, NormalizedFile>;
9
- itemsMap: Map<number, NormalizedItem>;
10
- }
11
- export declare const NormalizedDataProvider: ({ files, repeatableItems, children, }: {
12
- files: NormalizedFile[];
13
- repeatableItems: NormalizedItem[];
14
- children: React.ReactNode;
15
- }) => React.FunctionComponentElement<React.ProviderProps<NormalizedDataContextValue>>;
16
- export declare function useNormalizedData(): NormalizedDataContextValue;
17
- export declare function usePageBlocks(pageStructure: PageStructure): {
18
- pageBlocks: {
19
- content: {
20
- [x: string]: unknown;
21
- };
22
- id: number;
23
- pageId: number | null;
24
- layoutId: number | null;
25
- type: string;
26
- settings: unknown;
27
- placement: "before" | "after" | null;
28
- summary: string;
29
- position: string;
30
- createdAt: number;
31
- updatedAt: number;
32
- }[];
33
- beforeBlocks: {
34
- content: {
35
- [x: string]: unknown;
36
- };
37
- id: number;
38
- pageId: number | null;
39
- layoutId: number | null;
40
- type: string;
41
- settings: unknown;
42
- placement: "before" | "after" | null;
43
- summary: string;
44
- position: string;
45
- createdAt: number;
46
- updatedAt: number;
47
- }[];
48
- afterBlocks: {
49
- content: {
50
- [x: string]: unknown;
51
- };
52
- id: number;
53
- pageId: number | null;
54
- layoutId: number | null;
55
- type: string;
56
- settings: unknown;
57
- placement: "before" | "after" | null;
58
- summary: string;
59
- position: string;
60
- createdAt: number;
61
- updatedAt: number;
62
- }[];
63
- layoutFiles: any[];
64
- layoutItems: {
65
- id: number;
66
- blockId: number;
67
- parentItemId: number | null;
68
- fieldName: string;
69
- content: unknown;
70
- summary: string;
71
- position: string;
72
- createdAt: number;
73
- updatedAt: number;
74
- }[];
75
- };
76
- /** Check if a value is a { _fileId } marker */
77
- export declare function isFileMarker(value: unknown): value is {
78
- _fileId: number;
79
- };
80
- /** Check if a value is a { _itemId } marker */
81
- export declare function isItemMarker(value: unknown): value is {
82
- _itemId: number;
83
- };
84
- export declare function seedBlockCaches(queryClient: QueryClient, pageData: PageWithBlocks): void;
85
- /** Resolve a file marker to a full file object */
86
- export declare function resolveFileMarker(marker: {
87
- _fileId: number;
88
- }, filesMap: Map<number, NormalizedFile>): {
89
- url: string;
90
- alt: string;
91
- filename: string;
92
- mimeType: string;
93
- _fileId: number;
94
- };
95
- export {};
96
- //# sourceMappingURL=normalized-data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalized-data.d.ts","sourceRoot":"","sources":["../../src/lib/normalized-data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAe,aAAa,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAO5E,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAC7D,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQzB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOzB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function useProjectRoom(apiUrl: string, projectId: number | undefined): void;
2
- //# sourceMappingURL=use-project-room.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-project-room.d.ts","sourceRoot":"","sources":["../../src/lib/use-project-room.ts"],"names":[],"mappings":"AASA,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,SAAS,QAmC3E"}
@@ -1,40 +0,0 @@
1
- import { Action } from '../features/provider/actionsStore';
2
- export { cn, INPUT_BASE_STYLES, INPUT_FOCUS_STYLES } from '@camox/ui/utils';
3
- export declare function checkIfInputFocused(document?: Document): boolean;
4
- /**
5
- * Formats an action shortcut into a keyboard shortcut display component.
6
- * Automatically detects the platform and uses the appropriate modifier keys.
7
- *
8
- * @param shortcut - The shortcut configuration from an Action
9
- * @returns React element displaying the keyboard shortcut
10
- *
11
- * @example
12
- * ```tsx
13
- * formatShortcut({ key: "e", withMeta: true }) // Returns <KbdGroup><Kbd>⌘</Kbd><Kbd>E</Kbd></KbdGroup>
14
- * formatShortcut({ key: "l" }) // Returns <Kbd>L</Kbd>
15
- * ```
16
- */
17
- export declare function formatShortcut(shortcut: Action["shortcut"]): import("react/jsx-runtime").JSX.Element | null;
18
- /**
19
- * Gets an action's shortcut component by action ID from the actions array.
20
- *
21
- * @param actions - Array of actions from actionsStore
22
- * @param actionId - The ID of the action to get the shortcut for
23
- * @returns React element displaying the keyboard shortcut, or null if not found
24
- *
25
- * @example
26
- * ```tsx
27
- * const actions = useSelector(actionsStore, (state) => state.context.actions);
28
- * getActionShortcut(actions, "toggle-mobile-mode") // Returns formatted shortcut component
29
- * ```
30
- */
31
- export declare function getActionShortcut(actions: Action[], actionId: string): import("react/jsx-runtime").JSX.Element | null;
32
- /**
33
- * Converts a URL path segment into a human-readable title.
34
- * Replaces dashes and underscores with spaces and capitalizes each word.
35
- *
36
- * @example formatPathSegment("about-us") // "About Us"
37
- * @example formatPathSegment("studio_ui") // "Studio Ui"
38
- */
39
- export declare function formatPathSegment(segment: string): string;
40
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAEhE,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE5E,wBAAgB,mBAAmB,CAAC,QAAQ,GAAE,QAA0B,WAMvE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,kDA0B1D;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,MAAM,kDAGpE;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEzD"}