@semiont/react-ui 0.5.4 → 0.5.6

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 (410) hide show
  1. package/README.md +59 -55
  2. package/dist/{PdfAnnotationCanvas.client-CN3C3S55.js → PdfAnnotationCanvas.client-NIMALXNZ.js} +7 -27
  3. package/dist/PdfAnnotationCanvas.client-NIMALXNZ.js.map +1 -0
  4. package/dist/index.css +6 -0
  5. package/dist/index.css.map +1 -1
  6. package/dist/index.d.ts +3704 -149
  7. package/dist/index.js +539 -405
  8. package/dist/index.js.map +1 -1
  9. package/dist/test-utils.d.ts +34 -16
  10. package/package.json +19 -13
  11. package/src/components/Button/__tests__/Button.test.tsx +0 -2
  12. package/src/components/CodeMirrorRenderer.tsx +2 -0
  13. package/src/components/ErrorBoundary.tsx +0 -9
  14. package/src/components/ProtectedErrorBoundary.tsx +6 -2
  15. package/src/components/__tests__/AnnotateReferencesProgressWidget.test.tsx +0 -1
  16. package/src/components/__tests__/ErrorBoundary.test.tsx +20 -13
  17. package/src/components/__tests__/LiveRegion.hooks.test.tsx +1 -1
  18. package/src/components/__tests__/ProtectedErrorBoundary.test.tsx +2 -1
  19. package/src/components/__tests__/ResizeHandle.test.tsx +0 -1
  20. package/src/components/__tests__/SessionExpiryBanner.test.tsx +0 -1
  21. package/src/components/__tests__/StatusDisplay.test.tsx +0 -1
  22. package/src/components/__tests__/Toast.test.tsx +2 -3
  23. package/src/components/__tests__/Toolbar.test.tsx +0 -1
  24. package/src/components/annotation/annotations.css +14 -0
  25. package/src/components/annotation-popups/__tests__/JsonLdView.test.tsx +3 -5
  26. package/src/components/annotation-popups/__tests__/SharedPopupElements.test.tsx +0 -1
  27. package/src/components/branding/__tests__/SemiontBranding.test.tsx +1 -2
  28. package/src/components/layout/__tests__/LeftSidebar.test.tsx +5 -6
  29. package/src/components/layout/__tests__/PageLayout.test.tsx +1 -3
  30. package/src/components/layout/__tests__/SkipLinks.a11y.test.tsx +8 -8
  31. package/src/components/layout/__tests__/UnifiedHeader.test.tsx +12 -1
  32. package/src/components/modals/__tests__/KeyboardShortcutsHelpModal.test.tsx +0 -1
  33. package/src/components/modals/__tests__/PermissionDeniedModal.test.tsx +3 -4
  34. package/src/components/modals/__tests__/ResourceSearchModal.test.tsx +0 -1
  35. package/src/components/modals/__tests__/SearchModal.basic.test.tsx +1 -1
  36. package/src/components/modals/__tests__/SearchModal.keyboard.test.tsx +0 -5
  37. package/src/components/modals/__tests__/SearchModal.search-wiring.test.tsx +0 -1
  38. package/src/components/modals/__tests__/SearchModal.visual.test.tsx +2 -2
  39. package/src/components/modals/__tests__/SessionExpiredModal.test.tsx +0 -1
  40. package/src/components/navigation/NavigationMenu.tsx +1 -1
  41. package/src/components/navigation/__tests__/Footer.a11y.test.tsx +4 -0
  42. package/src/components/navigation/__tests__/Footer.test.tsx +3 -6
  43. package/src/components/navigation/__tests__/NavigationMenu.a11y.test.tsx +1 -1
  44. package/src/components/navigation/__tests__/NavigationMenu.test.tsx +7 -9
  45. package/src/components/navigation/__tests__/ObservableLink.test.tsx +0 -1
  46. package/src/components/navigation/__tests__/SimpleNavigation.test.tsx +1 -2
  47. package/src/components/navigation/__tests__/SortableResourceTab.test.tsx +0 -1
  48. package/src/components/pdf-annotation/PdfAnnotationCanvas.tsx +6 -4
  49. package/src/components/pdf-annotation/__tests__/PdfAnnotationCanvas.test.tsx +10 -19
  50. package/src/components/resource/__tests__/BrowseView.test.tsx +8 -6
  51. package/src/components/resource/__tests__/HistoryEvent.test.tsx +0 -4
  52. package/src/components/resource/__tests__/ResourceViewer.mode-switch.test.tsx +4 -6
  53. package/src/components/resource/panels/ReferencesPanel.tsx +1 -1
  54. package/src/components/resource/panels/__tests__/AssessmentEntry.test.tsx +3 -4
  55. package/src/components/resource/panels/__tests__/AssessmentPanel.test.tsx +7 -6
  56. package/src/components/resource/panels/__tests__/AssistSection.test.tsx +14 -10
  57. package/src/components/resource/panels/__tests__/CollaborationPanel.test.tsx +0 -1
  58. package/src/components/resource/panels/__tests__/CommentEntry.test.tsx +30 -17
  59. package/src/components/resource/panels/__tests__/CommentsPanel.test.tsx +6 -5
  60. package/src/components/resource/panels/__tests__/HighlightEntry.test.tsx +4 -5
  61. package/src/components/resource/panels/__tests__/HighlightPanel.annotationProgress.test.tsx +19 -13
  62. package/src/components/resource/panels/__tests__/JsonLdPanel.test.tsx +1 -3
  63. package/src/components/resource/panels/__tests__/PanelHeader.test.tsx +0 -1
  64. package/src/components/resource/panels/__tests__/ReferenceEntry.test.tsx +5 -5
  65. package/src/components/resource/panels/__tests__/ReferencesPanel.test.tsx +40 -7
  66. package/src/components/resource/panels/__tests__/ResourceInfoPanel.test.tsx +3 -3
  67. package/src/components/resource/panels/__tests__/StatisticsPanel.test.tsx +30 -32
  68. package/src/components/resource/panels/__tests__/TagEntry.test.tsx +5 -5
  69. package/src/components/resource/panels/__tests__/TaggingPanel.test.tsx +6 -5
  70. package/src/components/settings/__tests__/SettingsPanel.test.tsx +0 -1
  71. package/src/components/viewers/__tests__/ImageViewer.test.tsx +0 -1
  72. package/src/features/auth/__tests__/SignInForm.a11y.test.tsx +2 -0
  73. package/src/features/auth/__tests__/SignUpForm.a11y.test.tsx +11 -12
  74. package/src/features/auth/__tests__/SignUpForm.test.tsx +3 -3
  75. package/src/features/moderate-tag-schemas/components/TagSchemasPage.tsx +1 -0
  76. package/src/features/resource-compose/__tests__/ResourceComposePage.test.tsx +2 -1
  77. package/src/features/resource-discovery/__tests__/ResourceCard.test.tsx +0 -1
  78. package/src/features/resource-discovery/__tests__/ResourceDiscoveryPage.test.tsx +33 -35
  79. package/src/features/resource-discovery/components/ResourceDiscoveryPage.tsx +12 -11
  80. package/src/features/resource-discovery/state/__tests__/discover-state-unit.test.ts +204 -11
  81. package/src/features/resource-discovery/state/discover-state-unit.ts +70 -11
  82. package/src/features/resource-viewer/__tests__/ResourceViewerPage.test.tsx +2 -2
  83. package/src/features/resource-viewer/components/ResourceViewerPage.tsx +3 -2
  84. package/src/features/resource-viewer/state/__tests__/resource-viewer-page-state-unit.test.ts +0 -1
  85. package/src/features/resource-viewer/state/resource-viewer-page-state-unit.ts +5 -2
  86. package/src/integrations/__tests__/css-modules-helper.test.tsx +2 -3
  87. package/src/integrations/__tests__/styled-components-theme.test.ts +1 -3
  88. package/dist/PdfAnnotationCanvas.client-CN3C3S55.js.map +0 -1
  89. package/dist/assets/favicons/SemiontFavicon.d.ts +0 -9
  90. package/dist/assets/favicons/SemiontFavicon.d.ts.map +0 -1
  91. package/dist/assets/favicons/index.d.ts +0 -12
  92. package/dist/assets/favicons/index.d.ts.map +0 -1
  93. package/dist/components/AnnotateReferencesProgressWidget.d.ts +0 -15
  94. package/dist/components/AnnotateReferencesProgressWidget.d.ts.map +0 -1
  95. package/dist/components/Button/Button.d.ts +0 -69
  96. package/dist/components/Button/Button.d.ts.map +0 -1
  97. package/dist/components/CodeMirrorRenderer.d.ts +0 -25
  98. package/dist/components/CodeMirrorRenderer.d.ts.map +0 -1
  99. package/dist/components/ErrorBoundary.d.ts +0 -30
  100. package/dist/components/ErrorBoundary.d.ts.map +0 -1
  101. package/dist/components/LiveRegion.d.ts +0 -41
  102. package/dist/components/LiveRegion.d.ts.map +0 -1
  103. package/dist/components/ProtectedErrorBoundary.d.ts +0 -27
  104. package/dist/components/ProtectedErrorBoundary.d.ts.map +0 -1
  105. package/dist/components/ResizeHandle.d.ts +0 -39
  106. package/dist/components/ResizeHandle.d.ts.map +0 -1
  107. package/dist/components/ResourceTagsInline.d.ts +0 -10
  108. package/dist/components/ResourceTagsInline.d.ts.map +0 -1
  109. package/dist/components/SessionExpiryBanner.d.ts +0 -2
  110. package/dist/components/SessionExpiryBanner.d.ts.map +0 -1
  111. package/dist/components/SessionTimer.d.ts +0 -2
  112. package/dist/components/SessionTimer.d.ts.map +0 -1
  113. package/dist/components/StatusDisplay.d.ts +0 -9
  114. package/dist/components/StatusDisplay.d.ts.map +0 -1
  115. package/dist/components/Toast.d.ts +0 -27
  116. package/dist/components/Toast.d.ts.map +0 -1
  117. package/dist/components/Toolbar.d.ts +0 -15
  118. package/dist/components/Toolbar.d.ts.map +0 -1
  119. package/dist/components/UserMenuSkeleton.d.ts +0 -2
  120. package/dist/components/UserMenuSkeleton.d.ts.map +0 -1
  121. package/dist/components/annotation/AnnotateToolbar.d.ts +0 -29
  122. package/dist/components/annotation/AnnotateToolbar.d.ts.map +0 -1
  123. package/dist/components/annotation-popups/JsonLdView.d.ts +0 -8
  124. package/dist/components/annotation-popups/JsonLdView.d.ts.map +0 -1
  125. package/dist/components/annotation-popups/SharedPopupElements.d.ts +0 -28
  126. package/dist/components/annotation-popups/SharedPopupElements.d.ts.map +0 -1
  127. package/dist/components/branding/SemiontBranding.d.ts +0 -13
  128. package/dist/components/branding/SemiontBranding.d.ts.map +0 -1
  129. package/dist/components/error-states/ResourceErrorState.d.ts +0 -11
  130. package/dist/components/error-states/ResourceErrorState.d.ts.map +0 -1
  131. package/dist/components/image-annotation/AnnotationOverlay.d.ts +0 -22
  132. package/dist/components/image-annotation/AnnotationOverlay.d.ts.map +0 -1
  133. package/dist/components/image-annotation/SvgDrawingCanvas.d.ts +0 -23
  134. package/dist/components/image-annotation/SvgDrawingCanvas.d.ts.map +0 -1
  135. package/dist/components/layout/LeftSidebar.d.ts +0 -24
  136. package/dist/components/layout/LeftSidebar.d.ts.map +0 -1
  137. package/dist/components/layout/PageLayout.d.ts +0 -21
  138. package/dist/components/layout/PageLayout.d.ts.map +0 -1
  139. package/dist/components/layout/SkipLinks.d.ts +0 -8
  140. package/dist/components/layout/SkipLinks.d.ts.map +0 -1
  141. package/dist/components/layout/UnifiedHeader.d.ts +0 -21
  142. package/dist/components/layout/UnifiedHeader.d.ts.map +0 -1
  143. package/dist/components/loading-states/ComposeLoadingState.d.ts +0 -10
  144. package/dist/components/loading-states/ComposeLoadingState.d.ts.map +0 -1
  145. package/dist/components/loading-states/ResourceLoadingState.d.ts +0 -7
  146. package/dist/components/loading-states/ResourceLoadingState.d.ts.map +0 -1
  147. package/dist/components/modals/ConfigureGenerationStep.d.ts +0 -36
  148. package/dist/components/modals/ConfigureGenerationStep.d.ts.map +0 -1
  149. package/dist/components/modals/ConfigureSearchStep.d.ts +0 -21
  150. package/dist/components/modals/ConfigureSearchStep.d.ts.map +0 -1
  151. package/dist/components/modals/ContextSummary.d.ts +0 -14
  152. package/dist/components/modals/ContextSummary.d.ts.map +0 -1
  153. package/dist/components/modals/GatherContextStep.d.ts +0 -23
  154. package/dist/components/modals/GatherContextStep.d.ts.map +0 -1
  155. package/dist/components/modals/KeyboardShortcutsHelpModal.d.ts +0 -8
  156. package/dist/components/modals/KeyboardShortcutsHelpModal.d.ts.map +0 -1
  157. package/dist/components/modals/PermissionDeniedModal.d.ts +0 -12
  158. package/dist/components/modals/PermissionDeniedModal.d.ts.map +0 -1
  159. package/dist/components/modals/ReferenceWizardModal.d.ts +0 -64
  160. package/dist/components/modals/ReferenceWizardModal.d.ts.map +0 -1
  161. package/dist/components/modals/ResourceSearchModal.d.ts +0 -16
  162. package/dist/components/modals/ResourceSearchModal.d.ts.map +0 -1
  163. package/dist/components/modals/SearchModal.d.ts +0 -20
  164. package/dist/components/modals/SearchModal.d.ts.map +0 -1
  165. package/dist/components/modals/SearchResultsStep.d.ts +0 -22
  166. package/dist/components/modals/SearchResultsStep.d.ts.map +0 -1
  167. package/dist/components/modals/SessionExpiredModal.d.ts +0 -12
  168. package/dist/components/modals/SessionExpiredModal.d.ts.map +0 -1
  169. package/dist/components/navigation/CollapsibleResourceNavigation.d.ts +0 -13
  170. package/dist/components/navigation/CollapsibleResourceNavigation.d.ts.map +0 -1
  171. package/dist/components/navigation/Footer.d.ts +0 -20
  172. package/dist/components/navigation/Footer.d.ts.map +0 -1
  173. package/dist/components/navigation/NavigationMenu.d.ts +0 -18
  174. package/dist/components/navigation/NavigationMenu.d.ts.map +0 -1
  175. package/dist/components/navigation/ObservableLink.d.ts +0 -52
  176. package/dist/components/navigation/ObservableLink.d.ts.map +0 -1
  177. package/dist/components/navigation/SimpleNavigation.d.ts +0 -35
  178. package/dist/components/navigation/SimpleNavigation.d.ts.map +0 -1
  179. package/dist/components/navigation/SortableResourceTab.d.ts +0 -7
  180. package/dist/components/navigation/SortableResourceTab.d.ts.map +0 -1
  181. package/dist/components/pdf-annotation/PdfAnnotationCanvas.client.d.ts +0 -8
  182. package/dist/components/pdf-annotation/PdfAnnotationCanvas.client.d.ts.map +0 -1
  183. package/dist/components/pdf-annotation/PdfAnnotationCanvas.d.ts +0 -25
  184. package/dist/components/pdf-annotation/PdfAnnotationCanvas.d.ts.map +0 -1
  185. package/dist/components/resource/AnnotateView.d.ts +0 -29
  186. package/dist/components/resource/AnnotateView.d.ts.map +0 -1
  187. package/dist/components/resource/AnnotationHistory.d.ts +0 -14
  188. package/dist/components/resource/AnnotationHistory.d.ts.map +0 -1
  189. package/dist/components/resource/BrowseView.d.ts +0 -28
  190. package/dist/components/resource/BrowseView.d.ts.map +0 -1
  191. package/dist/components/resource/HistoryEvent.d.ts +0 -19
  192. package/dist/components/resource/HistoryEvent.d.ts.map +0 -1
  193. package/dist/components/resource/ResourceViewer.d.ts +0 -46
  194. package/dist/components/resource/ResourceViewer.d.ts.map +0 -1
  195. package/dist/components/resource/event-formatting.d.ts +0 -61
  196. package/dist/components/resource/event-formatting.d.ts.map +0 -1
  197. package/dist/components/resource/panels/AssessmentEntry.d.ts +0 -11
  198. package/dist/components/resource/panels/AssessmentEntry.d.ts.map +0 -1
  199. package/dist/components/resource/panels/AssessmentPanel.d.ts +0 -32
  200. package/dist/components/resource/panels/AssessmentPanel.d.ts.map +0 -1
  201. package/dist/components/resource/panels/AssistSection.d.ts +0 -27
  202. package/dist/components/resource/panels/AssistSection.d.ts.map +0 -1
  203. package/dist/components/resource/panels/CollaborationPanel.d.ts +0 -28
  204. package/dist/components/resource/panels/CollaborationPanel.d.ts.map +0 -1
  205. package/dist/components/resource/panels/CommentEntry.d.ts +0 -12
  206. package/dist/components/resource/panels/CommentEntry.d.ts.map +0 -1
  207. package/dist/components/resource/panels/CommentsPanel.d.ts +0 -32
  208. package/dist/components/resource/panels/CommentsPanel.d.ts.map +0 -1
  209. package/dist/components/resource/panels/HighlightEntry.d.ts +0 -11
  210. package/dist/components/resource/panels/HighlightEntry.d.ts.map +0 -1
  211. package/dist/components/resource/panels/HighlightPanel.d.ts +0 -30
  212. package/dist/components/resource/panels/HighlightPanel.d.ts.map +0 -1
  213. package/dist/components/resource/panels/JsonLdPanel.d.ts +0 -9
  214. package/dist/components/resource/panels/JsonLdPanel.d.ts.map +0 -1
  215. package/dist/components/resource/panels/PanelHeader.d.ts +0 -13
  216. package/dist/components/resource/panels/PanelHeader.d.ts.map +0 -1
  217. package/dist/components/resource/panels/ReferenceEntry.d.ts +0 -15
  218. package/dist/components/resource/panels/ReferenceEntry.d.ts.map +0 -1
  219. package/dist/components/resource/panels/ReferencesPanel.d.ts +0 -43
  220. package/dist/components/resource/panels/ReferencesPanel.d.ts.map +0 -1
  221. package/dist/components/resource/panels/ResourceInfoPanel.d.ts +0 -27
  222. package/dist/components/resource/panels/ResourceInfoPanel.d.ts.map +0 -1
  223. package/dist/components/resource/panels/StatisticsPanel.d.ts +0 -12
  224. package/dist/components/resource/panels/StatisticsPanel.d.ts.map +0 -1
  225. package/dist/components/resource/panels/TagEntry.d.ts +0 -11
  226. package/dist/components/resource/panels/TagEntry.d.ts.map +0 -1
  227. package/dist/components/resource/panels/TaggingPanel.d.ts +0 -34
  228. package/dist/components/resource/panels/TaggingPanel.d.ts.map +0 -1
  229. package/dist/components/resource/panels/UnifiedAnnotationsPanel.d.ts +0 -52
  230. package/dist/components/resource/panels/UnifiedAnnotationsPanel.d.ts.map +0 -1
  231. package/dist/components/resource/panels/agent-label.d.ts +0 -11
  232. package/dist/components/resource/panels/agent-label.d.ts.map +0 -1
  233. package/dist/components/settings/SettingsPanel.d.ts +0 -19
  234. package/dist/components/settings/SettingsPanel.d.ts.map +0 -1
  235. package/dist/components/viewers/ImageViewer.d.ts +0 -8
  236. package/dist/components/viewers/ImageViewer.d.ts.map +0 -1
  237. package/dist/components/viewers/index.d.ts +0 -2
  238. package/dist/components/viewers/index.d.ts.map +0 -1
  239. package/dist/contexts/AnnotationContext.d.ts +0 -46
  240. package/dist/contexts/AnnotationContext.d.ts.map +0 -1
  241. package/dist/contexts/ResourceAnnotationsContext.d.ts +0 -14
  242. package/dist/contexts/ResourceAnnotationsContext.d.ts.map +0 -1
  243. package/dist/contexts/RoutingContext.d.ts +0 -59
  244. package/dist/contexts/RoutingContext.d.ts.map +0 -1
  245. package/dist/contexts/ThemeContext.d.ts +0 -15
  246. package/dist/contexts/ThemeContext.d.ts.map +0 -1
  247. package/dist/contexts/TranslationContext.d.ts +0 -51
  248. package/dist/contexts/TranslationContext.d.ts.map +0 -1
  249. package/dist/contexts/useEventSubscription.d.ts +0 -41
  250. package/dist/contexts/useEventSubscription.d.ts.map +0 -1
  251. package/dist/design-tokens/index.d.ts +0 -178
  252. package/dist/design-tokens/index.d.ts.map +0 -1
  253. package/dist/features/admin-devops/components/AdminDevOpsPage.d.ts +0 -33
  254. package/dist/features/admin-devops/components/AdminDevOpsPage.d.ts.map +0 -1
  255. package/dist/features/admin-exchange/components/AdminExchangePage.d.ts +0 -37
  256. package/dist/features/admin-exchange/components/AdminExchangePage.d.ts.map +0 -1
  257. package/dist/features/admin-exchange/components/ExportCard.d.ts +0 -18
  258. package/dist/features/admin-exchange/components/ExportCard.d.ts.map +0 -1
  259. package/dist/features/admin-exchange/components/ImportCard.d.ts +0 -32
  260. package/dist/features/admin-exchange/components/ImportCard.d.ts.map +0 -1
  261. package/dist/features/admin-exchange/components/ImportProgress.d.ts +0 -26
  262. package/dist/features/admin-exchange/components/ImportProgress.d.ts.map +0 -1
  263. package/dist/features/admin-exchange/state/exchange-state-unit.d.ts +0 -31
  264. package/dist/features/admin-exchange/state/exchange-state-unit.d.ts.map +0 -1
  265. package/dist/features/admin-security/components/AdminSecurityPage.d.ts +0 -42
  266. package/dist/features/admin-security/components/AdminSecurityPage.d.ts.map +0 -1
  267. package/dist/features/admin-security/state/admin-security-state-unit.d.ts +0 -12
  268. package/dist/features/admin-security/state/admin-security-state-unit.d.ts.map +0 -1
  269. package/dist/features/admin-users/components/AdminUsersPage.d.ts +0 -88
  270. package/dist/features/admin-users/components/AdminUsersPage.d.ts.map +0 -1
  271. package/dist/features/admin-users/state/admin-users-state-unit.d.ts +0 -17
  272. package/dist/features/admin-users/state/admin-users-state-unit.d.ts.map +0 -1
  273. package/dist/features/auth/components/AuthErrorDisplay.d.ts +0 -34
  274. package/dist/features/auth/components/AuthErrorDisplay.d.ts.map +0 -1
  275. package/dist/features/auth/components/SignInForm.d.ts +0 -80
  276. package/dist/features/auth/components/SignInForm.d.ts.map +0 -1
  277. package/dist/features/auth/components/SignUpForm.d.ts +0 -39
  278. package/dist/features/auth/components/SignUpForm.d.ts.map +0 -1
  279. package/dist/features/auth-welcome/components/WelcomePage.d.ts +0 -62
  280. package/dist/features/auth-welcome/components/WelcomePage.d.ts.map +0 -1
  281. package/dist/features/auth-welcome/state/welcome-state-unit.d.ts +0 -12
  282. package/dist/features/auth-welcome/state/welcome-state-unit.d.ts.map +0 -1
  283. package/dist/features/moderate-entity-tags/components/EntityTagsPage.d.ts +0 -32
  284. package/dist/features/moderate-entity-tags/components/EntityTagsPage.d.ts.map +0 -1
  285. package/dist/features/moderate-entity-tags/state/entity-tags-state-unit.d.ts +0 -16
  286. package/dist/features/moderate-entity-tags/state/entity-tags-state-unit.d.ts.map +0 -1
  287. package/dist/features/moderate-recent/components/RecentDocumentsPage.d.ts +0 -27
  288. package/dist/features/moderate-recent/components/RecentDocumentsPage.d.ts.map +0 -1
  289. package/dist/features/moderate-tag-schemas/components/TagSchemasPage.d.ts +0 -25
  290. package/dist/features/moderate-tag-schemas/components/TagSchemasPage.d.ts.map +0 -1
  291. package/dist/features/moderation-linked-data/components/LinkedDataPage.d.ts +0 -38
  292. package/dist/features/moderation-linked-data/components/LinkedDataPage.d.ts.map +0 -1
  293. package/dist/features/resource-compose/components/ResourceComposePage.d.ts +0 -83
  294. package/dist/features/resource-compose/components/ResourceComposePage.d.ts.map +0 -1
  295. package/dist/features/resource-compose/components/UploadProgressBar.d.ts +0 -23
  296. package/dist/features/resource-compose/components/UploadProgressBar.d.ts.map +0 -1
  297. package/dist/features/resource-compose/state/compose-page-state-unit.d.ts +0 -59
  298. package/dist/features/resource-compose/state/compose-page-state-unit.d.ts.map +0 -1
  299. package/dist/features/resource-discovery/components/ResourceCard.d.ts +0 -17
  300. package/dist/features/resource-discovery/components/ResourceCard.d.ts.map +0 -1
  301. package/dist/features/resource-discovery/components/ResourceDiscoveryPage.d.ts +0 -43
  302. package/dist/features/resource-discovery/components/ResourceDiscoveryPage.d.ts.map +0 -1
  303. package/dist/features/resource-discovery/state/discover-state-unit.d.ts +0 -15
  304. package/dist/features/resource-discovery/state/discover-state-unit.d.ts.map +0 -1
  305. package/dist/features/resource-viewer/components/ResourceViewerPage.d.ts +0 -80
  306. package/dist/features/resource-viewer/components/ResourceViewerPage.d.ts.map +0 -1
  307. package/dist/features/resource-viewer/state/resource-loader-state-unit.d.ts +0 -11
  308. package/dist/features/resource-viewer/state/resource-loader-state-unit.d.ts.map +0 -1
  309. package/dist/features/resource-viewer/state/resource-viewer-page-state-unit.d.ts +0 -48
  310. package/dist/features/resource-viewer/state/resource-viewer-page-state-unit.d.ts.map +0 -1
  311. package/dist/hooks/useDebounce.d.ts +0 -29
  312. package/dist/hooks/useDebounce.d.ts.map +0 -1
  313. package/dist/hooks/useDragAnnouncements.d.ts +0 -12
  314. package/dist/hooks/useDragAnnouncements.d.ts.map +0 -1
  315. package/dist/hooks/useHoverDelay.d.ts +0 -8
  316. package/dist/hooks/useHoverDelay.d.ts.map +0 -1
  317. package/dist/hooks/useHoverEmitter.d.ts +0 -8
  318. package/dist/hooks/useHoverEmitter.d.ts.map +0 -1
  319. package/dist/hooks/useKeyboardShortcuts.d.ts +0 -29
  320. package/dist/hooks/useKeyboardShortcuts.d.ts.map +0 -1
  321. package/dist/hooks/useLineNumbers.d.ts +0 -8
  322. package/dist/hooks/useLineNumbers.d.ts.map +0 -1
  323. package/dist/hooks/useMediaToken.d.ts +0 -7
  324. package/dist/hooks/useMediaToken.d.ts.map +0 -1
  325. package/dist/hooks/useObservable.d.ts +0 -23
  326. package/dist/hooks/useObservable.d.ts.map +0 -1
  327. package/dist/hooks/useObservableBrowse.d.ts +0 -70
  328. package/dist/hooks/useObservableBrowse.d.ts.map +0 -1
  329. package/dist/hooks/usePanelWidth.d.ts +0 -37
  330. package/dist/hooks/usePanelWidth.d.ts.map +0 -1
  331. package/dist/hooks/useResourceContent.d.ts +0 -7
  332. package/dist/hooks/useResourceContent.d.ts.map +0 -1
  333. package/dist/hooks/useRovingTabIndex.d.ts +0 -13
  334. package/dist/hooks/useRovingTabIndex.d.ts.map +0 -1
  335. package/dist/hooks/useSearchAnnouncements.d.ts +0 -10
  336. package/dist/hooks/useSearchAnnouncements.d.ts.map +0 -1
  337. package/dist/hooks/useSessionExpiry.d.ts +0 -10
  338. package/dist/hooks/useSessionExpiry.d.ts.map +0 -1
  339. package/dist/hooks/useShellStateUnit.d.ts +0 -9
  340. package/dist/hooks/useShellStateUnit.d.ts.map +0 -1
  341. package/dist/hooks/useStateUnit.d.ts +0 -3
  342. package/dist/hooks/useStateUnit.d.ts.map +0 -1
  343. package/dist/hooks/useUI.d.ts +0 -24
  344. package/dist/hooks/useUI.d.ts.map +0 -1
  345. package/dist/index.d.ts.map +0 -1
  346. package/dist/integrations/css-modules-helper.d.ts +0 -114
  347. package/dist/integrations/css-modules-helper.d.ts.map +0 -1
  348. package/dist/integrations/styled-components-theme.d.ts +0 -95
  349. package/dist/integrations/styled-components-theme.d.ts.map +0 -1
  350. package/dist/integrations/tailwind-plugin.d.cts +0 -3
  351. package/dist/integrations/tailwind-plugin.d.cts.map +0 -1
  352. package/dist/lib/annotation-overlay.d.ts +0 -71
  353. package/dist/lib/annotation-overlay.d.ts.map +0 -1
  354. package/dist/lib/annotation-registry.d.ts +0 -62
  355. package/dist/lib/annotation-registry.d.ts.map +0 -1
  356. package/dist/lib/browser-pdfjs.d.ts +0 -93
  357. package/dist/lib/browser-pdfjs.d.ts.map +0 -1
  358. package/dist/lib/button-styles.d.ts +0 -27
  359. package/dist/lib/button-styles.d.ts.map +0 -1
  360. package/dist/lib/codemirror-handlers.d.ts +0 -52
  361. package/dist/lib/codemirror-handlers.d.ts.map +0 -1
  362. package/dist/lib/codemirror-json-theme.d.ts +0 -8
  363. package/dist/lib/codemirror-json-theme.d.ts.map +0 -1
  364. package/dist/lib/codemirror-logic.d.ts +0 -66
  365. package/dist/lib/codemirror-logic.d.ts.map +0 -1
  366. package/dist/lib/codemirror-widgets.d.ts +0 -39
  367. package/dist/lib/codemirror-widgets.d.ts.map +0 -1
  368. package/dist/lib/formatTime.d.ts +0 -2
  369. package/dist/lib/formatTime.d.ts.map +0 -1
  370. package/dist/lib/media-shapes.d.ts +0 -51
  371. package/dist/lib/media-shapes.d.ts.map +0 -1
  372. package/dist/lib/pdf-coordinates.d.ts +0 -69
  373. package/dist/lib/pdf-coordinates.d.ts.map +0 -1
  374. package/dist/lib/resource-utils.d.ts +0 -22
  375. package/dist/lib/resource-utils.d.ts.map +0 -1
  376. package/dist/lib/scroll-utils.d.ts +0 -20
  377. package/dist/lib/scroll-utils.d.ts.map +0 -1
  378. package/dist/lib/text-segmentation.d.ts +0 -25
  379. package/dist/lib/text-segmentation.d.ts.map +0 -1
  380. package/dist/lib/text-selection-handler.d.ts +0 -46
  381. package/dist/lib/text-selection-handler.d.ts.map +0 -1
  382. package/dist/lib/validation.d.ts +0 -47
  383. package/dist/lib/validation.d.ts.map +0 -1
  384. package/dist/session/SemiontProvider.d.ts +0 -28
  385. package/dist/session/SemiontProvider.d.ts.map +0 -1
  386. package/dist/session/web-browser-storage.d.ts +0 -19
  387. package/dist/session/web-browser-storage.d.ts.map +0 -1
  388. package/dist/state/session-state-unit.d.ts +0 -9
  389. package/dist/state/session-state-unit.d.ts.map +0 -1
  390. package/dist/state/shell-state-unit.d.ts +0 -33
  391. package/dist/state/shell-state-unit.d.ts.map +0 -1
  392. package/dist/test-utils.d.ts.map +0 -1
  393. package/dist/types/AnnotationManager.d.ts +0 -53
  394. package/dist/types/AnnotationManager.d.ts.map +0 -1
  395. package/dist/types/TranslationManager.d.ts +0 -15
  396. package/dist/types/TranslationManager.d.ts.map +0 -1
  397. package/dist/types/annotation-props.d.ts +0 -108
  398. package/dist/types/annotation-props.d.ts.map +0 -1
  399. package/dist/types/collapsible-navigation.d.ts +0 -69
  400. package/dist/types/collapsible-navigation.d.ts.map +0 -1
  401. package/dist/types/modals.d.ts +0 -77
  402. package/dist/types/modals.d.ts.map +0 -1
  403. package/dist/types/navigation.d.ts +0 -35
  404. package/dist/types/navigation.d.ts.map +0 -1
  405. package/dist/types/resource-viewer.d.ts +0 -19
  406. package/dist/types/resource-viewer.d.ts.map +0 -1
  407. package/dist/types/simple-navigation.d.ts +0 -15
  408. package/dist/types/simple-navigation.d.ts.map +0 -1
  409. package/dist/types/translation.d.ts +0 -5
  410. package/dist/types/translation.d.ts.map +0 -1
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import type { LinkComponentProps, RouteBuilder } from '../../contexts/RoutingContext';
3
- import type { TranslateFn } from '../../types/translation';
4
- import './Header.css';
5
- interface UnifiedHeaderProps {
6
- Link: React.ComponentType<LinkComponentProps>;
7
- routes: RouteBuilder;
8
- t: TranslateFn;
9
- tHome: TranslateFn;
10
- showBranding?: boolean;
11
- showAuthLinks?: boolean;
12
- brandingLink?: string;
13
- variant?: 'standalone' | 'embedded' | 'floating';
14
- isAuthenticated?: boolean;
15
- isAdmin?: boolean;
16
- isModerator?: boolean;
17
- currentPath?: string;
18
- }
19
- export declare function UnifiedHeader({ Link, routes, t, tHome, showBranding, brandingLink, variant, isAuthenticated, isAdmin, isModerator, currentPath }: UnifiedHeaderProps): import("react/jsx-runtime").JSX.Element;
20
- export {};
21
- //# sourceMappingURL=UnifiedHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UnifiedHeader.d.ts","sourceRoot":"","sources":["../../../src/components/layout/UnifiedHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,cAAc,CAAC;AAEtB,UAAU,kBAAkB;IAC1B,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC9C,MAAM,EAAE,YAAY,CAAC;IACrB,CAAC,EAAE,WAAW,CAAC;IACf,KAAK,EAAE,WAAW,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,UAAU,CAAC;IACjD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,MAAM,EACN,CAAC,EACD,KAAK,EACL,YAAmB,EACnB,YAAkB,EAClB,OAAsB,EACtB,eAAuB,EACvB,OAAe,EACf,WAAmB,EACnB,WAAW,EACZ,EAAE,kBAAkB,2CA+HpB"}
@@ -1,10 +0,0 @@
1
- /**
2
- * ComposeLoadingState Component
3
- *
4
- * Simple loading state display for the compose page.
5
- */
6
- export interface ComposeLoadingStateProps {
7
- message: string;
8
- }
9
- export declare function ComposeLoadingState({ message }: ComposeLoadingStateProps): import("react/jsx-runtime").JSX.Element;
10
- //# sourceMappingURL=ComposeLoadingState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ComposeLoadingState.d.ts","sourceRoot":"","sources":["../../../src/components/loading-states/ComposeLoadingState.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,wBAAwB,2CAQxE"}
@@ -1,7 +0,0 @@
1
- /**
2
- * ResourceLoadingState - Loading state component for resource viewer
3
- *
4
- * Pure React component - no Next.js dependencies.
5
- */
6
- export declare function ResourceLoadingState(): import("react/jsx-runtime").JSX.Element;
7
- //# sourceMappingURL=ResourceLoadingState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceLoadingState.d.ts","sourceRoot":"","sources":["../../../src/components/loading-states/ResourceLoadingState.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,wBAAgB,oBAAoB,4CAMnC"}
@@ -1,36 +0,0 @@
1
- import type { GatheredContext } from '@semiont/core';
2
- export interface GenerationConfig {
3
- title: string;
4
- storagePath: string;
5
- prompt?: string;
6
- language: string;
7
- temperature: number;
8
- maxTokens: number;
9
- context: GatheredContext;
10
- }
11
- export interface ConfigureGenerationStepProps {
12
- defaultTitle: string;
13
- locale: string;
14
- context: GatheredContext;
15
- onBack: () => void;
16
- onCancel: () => void;
17
- onGenerate: (config: GenerationConfig) => void;
18
- translations: {
19
- resourceTitle: string;
20
- resourceTitlePlaceholder: string;
21
- additionalInstructions: string;
22
- additionalInstructionsPlaceholder: string;
23
- language: string;
24
- languageHelp: string;
25
- creativity: string;
26
- creativityFocused: string;
27
- creativityCreative: string;
28
- maxLength: string;
29
- maxLengthHelp: string;
30
- cancel: string;
31
- back: string;
32
- generate: string;
33
- };
34
- }
35
- export declare function ConfigureGenerationStep({ defaultTitle, locale, context, onBack, onCancel, onGenerate, translations: t, }: ConfigureGenerationStepProps): import("react/jsx-runtime").JSX.Element;
36
- //# sourceMappingURL=ConfigureGenerationStep.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfigureGenerationStep.d.ts","sourceRoot":"","sources":["../../../src/components/modals/ConfigureGenerationStep.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,eAAe,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA4B;IAC3C,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,eAAe,CAAC;IACzB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC/C,YAAY,EAAE;QACZ,aAAa,EAAE,MAAM,CAAC;QACtB,wBAAwB,EAAE,MAAM,CAAC;QACjC,sBAAsB,EAAE,MAAM,CAAC;QAC/B,iCAAiC,EAAE,MAAM,CAAC;QAC1C,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAED,wBAAgB,uBAAuB,CAAC,EACtC,YAAY,EACZ,MAAM,EACN,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,YAAY,EAAE,CAAC,GAChB,EAAE,4BAA4B,2CA4J9B"}
@@ -1,21 +0,0 @@
1
- export interface SearchConfig {
2
- limit: number;
3
- useSemanticScoring: boolean;
4
- }
5
- export interface ConfigureSearchStepProps {
6
- isSearching?: boolean;
7
- onBack: () => void;
8
- onCancel: () => void;
9
- onSearch: (config: SearchConfig) => void;
10
- translations: {
11
- maxResults: string;
12
- semanticScoring: string;
13
- semanticScoringHelp: string;
14
- cancel: string;
15
- back: string;
16
- search: string;
17
- searching: string;
18
- };
19
- }
20
- export declare function ConfigureSearchStep({ isSearching, onBack, onCancel, onSearch, translations: t, }: ConfigureSearchStepProps): import("react/jsx-runtime").JSX.Element;
21
- //# sourceMappingURL=ConfigureSearchStep.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfigureSearchStep.d.ts","sourceRoot":"","sources":["../../../src/components/modals/ConfigureSearchStep.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,wBAAwB;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE;QACZ,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,EAAE,MAAM,CAAC;QACxB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,wBAAgB,mBAAmB,CAAC,EAClC,WAAmB,EACnB,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,YAAY,EAAE,CAAC,GAChB,EAAE,wBAAwB,2CAyE1B"}
@@ -1,14 +0,0 @@
1
- import type { GatheredContext } from '@semiont/core';
2
- export interface ContextSummaryTranslations {
3
- sourceContextLabel: string;
4
- connectionsLabel: string;
5
- citedByLabel: string;
6
- userHintLabel: string;
7
- userHintPlaceholder: string;
8
- }
9
- export interface ContextSummaryProps {
10
- context: GatheredContext;
11
- translations: ContextSummaryTranslations;
12
- }
13
- export declare function ContextSummary({ context, translations: t }: ContextSummaryProps): import("react/jsx-runtime").JSX.Element;
14
- //# sourceMappingURL=ContextSummary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContextSummary.d.ts","sourceRoot":"","sources":["../../../src/components/modals/ContextSummary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,0BAA0B;IACzC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,eAAe,CAAC;IACzB,YAAY,EAAE,0BAA0B,CAAC;CAC1C;AAED,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE,mBAAmB,2CA2E/E"}
@@ -1,23 +0,0 @@
1
- import type { GatheredContext } from '@semiont/core';
2
- import type { ContextSummaryTranslations } from './ContextSummary';
3
- export interface GatherContextStepProps {
4
- context: GatheredContext | null;
5
- contextLoading: boolean;
6
- contextError: Error | null;
7
- userHint: string;
8
- onUserHintChange: (value: string) => void;
9
- onBind: () => void;
10
- onGenerate: () => void;
11
- onCompose: () => void;
12
- translations: {
13
- title: string;
14
- loadingContext: string;
15
- failedContext: string;
16
- search: string;
17
- generate: string;
18
- compose: string;
19
- resolutionStrategyLabel: string;
20
- } & ContextSummaryTranslations;
21
- }
22
- export declare function GatherContextStep({ context, contextLoading, contextError, userHint, onUserHintChange, onBind, onGenerate, onCompose, translations: t, }: GatherContextStepProps): import("react/jsx-runtime").JSX.Element;
23
- //# sourceMappingURL=GatherContextStep.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GatherContextStep.d.ts","sourceRoot":"","sources":["../../../src/components/modals/GatherContextStep.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAEnE,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,EAAE,MAAM,CAAC;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,uBAAuB,EAAE,MAAM,CAAC;KACjC,GAAG,0BAA0B,CAAC;CAChC;AAED,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,gBAAgB,EAChB,MAAM,EACN,UAAU,EACV,SAAS,EACT,YAAY,EAAE,CAAC,GAChB,EAAE,sBAAsB,2CAyIxB"}
@@ -1,8 +0,0 @@
1
- import './modals.css';
2
- interface KeyboardShortcutsHelpModalProps {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- }
6
- export declare function KeyboardShortcutsHelpModal({ isOpen, onClose }: KeyboardShortcutsHelpModalProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=KeyboardShortcutsHelpModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyboardShortcutsHelpModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/KeyboardShortcutsHelpModal.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAC;AAEtB,UAAU,+BAA+B;IACvC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AA8ED,wBAAgB,0BAA0B,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,+BAA+B,2CA+H9F"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Modal that surfaces when a 403 forbidden error is reported via
3
- * the active session's `signals.notifyPermissionDenied(...)`.
4
- *
5
- * Reads `permissionDeniedAt$` and `permissionDeniedMessage$` from the
6
- * active `SessionSignals`. The signals instance clears the
7
- * flag when the user dismisses the modal. Modal state lives on
8
- * signals (not the session itself) so headless sessions
9
- * (workers/CLIs) don't carry dead observables.
10
- */
11
- export declare function PermissionDeniedModal(): import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=PermissionDeniedModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PermissionDeniedModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/PermissionDeniedModal.tsx"],"names":[],"mappings":"AAMA;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,4CA2HpC"}
@@ -1,64 +0,0 @@
1
- import type { GatheredContext } from '@semiont/core';
2
- import type { GenerationConfig } from './ConfigureGenerationStep';
3
- export interface ReferenceWizardModalProps {
4
- isOpen: boolean;
5
- onClose: () => void;
6
- /** The annotation being resolved */
7
- annotationId: string | null;
8
- /** The resource containing the annotation */
9
- resourceId: string | null;
10
- /** Default title (selected text) */
11
- defaultTitle: string;
12
- /** Entity types from the annotation */
13
- entityTypes: string[];
14
- /** Current locale for generation defaults */
15
- locale: string;
16
- /** Gathered context state */
17
- context: GatheredContext | null;
18
- contextLoading: boolean;
19
- contextError: Error | null;
20
- /** Callbacks */
21
- onGenerateSubmit: (referenceId: string, config: GenerationConfig) => void;
22
- onLinkResource: (referenceId: string, targetResourceId: string) => void;
23
- onComposeNavigate: (context: GatheredContext, annotationId: string, resourceId: string, title: string, entityTypes: string[]) => void;
24
- /** Translation strings */
25
- translations: {
26
- gatherTitle: string;
27
- configureGenerationTitle: string;
28
- configureSearchTitle: string;
29
- searchResultsTitle: string;
30
- sourceContextLabel: string;
31
- connectionsLabel: string;
32
- citedByLabel: string;
33
- userHintLabel: string;
34
- userHintPlaceholder: string;
35
- loadingContext: string;
36
- failedContext: string;
37
- cancel: string;
38
- search: string;
39
- searching: string;
40
- generate: string;
41
- compose: string;
42
- resolutionStrategyLabel: string;
43
- back: string;
44
- link: string;
45
- score: string;
46
- noResults: string;
47
- resourceTitle: string;
48
- resourceTitlePlaceholder: string;
49
- additionalInstructions: string;
50
- additionalInstructionsPlaceholder: string;
51
- language: string;
52
- languageHelp: string;
53
- creativity: string;
54
- creativityFocused: string;
55
- creativityCreative: string;
56
- maxLength: string;
57
- maxLengthHelp: string;
58
- maxResults: string;
59
- semanticScoring: string;
60
- semanticScoringHelp: string;
61
- };
62
- }
63
- export declare function ReferenceWizardModal({ isOpen, onClose, annotationId, resourceId, defaultTitle, entityTypes, locale, context, contextLoading, contextError, onGenerateSubmit, onLinkResource, onComposeNavigate, translations: t, }: ReferenceWizardModalProps): import("react/jsx-runtime").JSX.Element;
64
- //# sourceMappingURL=ReferenceWizardModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ReferenceWizardModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/ReferenceWizardModal.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAMrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAYlE,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,oCAAoC;IACpC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,6CAA6C;IAC7C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oCAAoC;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,6CAA6C;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAC3B,gBAAgB;IAChB,gBAAgB,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC1E,cAAc,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,KAAK,IAAI,CAAC;IACxE,iBAAiB,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACtI,0BAA0B;IAC1B,YAAY,EAAE;QACZ,WAAW,EAAE,MAAM,CAAC;QACpB,wBAAwB,EAAE,MAAM,CAAC;QACjC,oBAAoB,EAAE,MAAM,CAAC;QAC7B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,gBAAgB,EAAE,MAAM,CAAC;QACzB,YAAY,EAAE,MAAM,CAAC;QACrB,aAAa,EAAE,MAAM,CAAC;QACtB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,cAAc,EAAE,MAAM,CAAC;QACvB,aAAa,EAAE,MAAM,CAAC;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,uBAAuB,EAAE,MAAM,CAAC;QAChC,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;QACtB,wBAAwB,EAAE,MAAM,CAAC;QACjC,sBAAsB,EAAE,MAAM,CAAC;QAC/B,iCAAiC,EAAE,MAAM,CAAC;QAC1C,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,eAAe,EAAE,MAAM,CAAC;QACxB,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,OAAO,EACP,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,MAAM,EACN,OAAO,EACP,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,YAAY,EAAE,CAAC,GAChB,EAAE,yBAAyB,2CA2N3B"}
@@ -1,16 +0,0 @@
1
- interface ResourceSearchModalProps {
2
- isOpen: boolean;
3
- onClose: () => void;
4
- onSelect: (resourceId: string) => void;
5
- searchTerm?: string;
6
- translations?: {
7
- title?: string;
8
- placeholder?: string;
9
- searching?: string;
10
- noResults?: string;
11
- close?: string;
12
- };
13
- }
14
- export declare function ResourceSearchModal({ isOpen, onClose, onSelect, searchTerm, translations }: ResourceSearchModalProps): import("react/jsx-runtime").JSX.Element;
15
- export {};
16
- //# sourceMappingURL=ResourceSearchModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/ResourceSearchModal.tsx"],"names":[],"mappings":"AAmCA,UAAU,wBAAwB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAED,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,OAAO,EACP,QAAQ,EACR,UAAe,EACf,YAAiB,EAClB,EAAE,wBAAwB,2CAsK1B"}
@@ -1,20 +0,0 @@
1
- import './SearchModal.css';
2
- interface SearchModalProps {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- onNavigate: (type: 'resource' | 'entity', id: string) => void;
6
- translations?: {
7
- placeholder?: string;
8
- searching?: string;
9
- noResults?: string;
10
- startTyping?: string;
11
- navigate?: string;
12
- select?: string;
13
- close?: string;
14
- enter?: string;
15
- esc?: string;
16
- };
17
- }
18
- export declare function SearchModal({ isOpen, onClose, onNavigate, translations }: SearchModalProps): import("react/jsx-runtime").JSX.Element;
19
- export {};
20
- //# sourceMappingURL=SearchModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/SearchModal.tsx"],"names":[],"mappings":"AAUA,OAAO,mBAAmB,CAAC;AAK3B,UAAU,gBAAgB;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,CAAC,IAAI,EAAE,UAAU,GAAG,QAAQ,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,YAAY,CAAC,EAAE;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAUD,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,OAAO,EACP,UAAU,EACV,YAAiB,EAClB,EAAE,gBAAgB,2CAkPlB"}
@@ -1,22 +0,0 @@
1
- import type { GatheredContext, ResourceDescriptor } from '@semiont/core';
2
- import type { ContextSummaryTranslations } from './ContextSummary';
3
- export type ScoredResult = ResourceDescriptor & {
4
- score?: number;
5
- matchReason?: string;
6
- };
7
- export interface SearchResultsStepProps {
8
- results: ScoredResult[];
9
- context: GatheredContext;
10
- onLink: (resourceId: string) => void;
11
- onBack: () => void;
12
- onCancel: () => void;
13
- translations: {
14
- noResults: string;
15
- link: string;
16
- back: string;
17
- cancel: string;
18
- score: string;
19
- } & ContextSummaryTranslations;
20
- }
21
- export declare function SearchResultsStep({ results, context, onLink, onBack, onCancel, translations: t, }: SearchResultsStepProps): import("react/jsx-runtime").JSX.Element;
22
- //# sourceMappingURL=SearchResultsStep.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchResultsStep.d.ts","sourceRoot":"","sources":["../../../src/components/modals/SearchResultsStep.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAEzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAEnE,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,OAAO,EAAE,eAAe,CAAC;IACzB,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,GAAG,0BAA0B,CAAC;CAChC;AAED,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,OAAO,EACP,MAAM,EACN,MAAM,EACN,QAAQ,EACR,YAAY,EAAE,CAAC,GAChB,EAAE,sBAAsB,2CA0FxB"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Modal that surfaces when the active KB's session expires (a 401
3
- * surfaced by the session's own JWT validation or by the host's
4
- * error-routing path).
5
- *
6
- * Reads `sessionExpiredAt$` from the active `SessionSignals`.
7
- * When the user dismisses the modal, the signals instance clears the
8
- * flag. Modal state lives on signals (not the session itself) so
9
- * headless sessions (workers/CLIs) don't carry dead observables.
10
- */
11
- export declare function SessionExpiredModal(): import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=SessionExpiredModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SessionExpiredModal.d.ts","sourceRoot":"","sources":["../../../src/components/modals/SessionExpiredModal.tsx"],"names":[],"mappings":"AAMA;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,4CAoFlC"}
@@ -1,13 +0,0 @@
1
- import type { CollapsibleResourceNavigationProps } from '../../types/collapsible-navigation';
2
- import './CollapsibleResourceNavigation.css';
3
- /**
4
- * A comprehensive collapsible navigation component with fixed items and dynamic resource tabs.
5
- * Supports drag and drop for resource reordering when expanded.
6
- * Platform-agnostic design for use across different React environments.
7
- *
8
- * @emits tabs:reorder - Resource tab reordered. Payload: { oldIndex: number, newIndex: number }
9
- * @emits tabs:close - Resource tab closed. Payload: { resourceId: string }
10
- * @emits shell:sidebar-toggle - Toggle sidebar collapsed/expanded state. Payload: undefined
11
- */
12
- export declare function CollapsibleResourceNavigation({ fixedItems, resources, isCollapsed, currentPath, LinkComponent, onNavigate, getResourceHref, className, translations, icons, navigationMenu }: CollapsibleResourceNavigationProps): import("react/jsx-runtime").JSX.Element;
13
- //# sourceMappingURL=CollapsibleResourceNavigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollapsibleResourceNavigation.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/CollapsibleResourceNavigation.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAC7F,OAAO,qCAAqC,CAAC;AAE7C;;;;;;;;GAQG;AACH,wBAAgB,6BAA6B,CAAC,EAC5C,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,aAAa,EACb,UAAU,EACV,eAAe,EACf,SAAc,EACd,YAAiB,EACjB,KAAK,EACL,cAAc,EACf,EAAE,kCAAkC,2CAgRpC"}
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import type { RouteBuilder, LinkComponentProps } from '../../contexts/RoutingContext';
3
- import '../layout/Footer.css';
4
- type TranslateFn = (key: string, params?: Record<string, any>) => string;
5
- interface FooterProps {
6
- Link: React.ComponentType<LinkComponentProps>;
7
- routes: RouteBuilder;
8
- t: TranslateFn;
9
- CookiePreferences?: React.ComponentType<{
10
- isOpen: boolean;
11
- onClose: () => void;
12
- }>;
13
- onOpenKeyboardHelp?: () => void;
14
- sourceCodeUrl?: string;
15
- /** Show About, Privacy Policy, Terms of Service, Cookie Preferences links. False for desktop apps. */
16
- showPolicyLinks?: boolean;
17
- }
18
- export declare function Footer({ Link, routes, t, CookiePreferences, onOpenKeyboardHelp, sourceCodeUrl, showPolicyLinks, }: FooterProps): import("react/jsx-runtime").JSX.Element;
19
- export {};
20
- //# sourceMappingURL=Footer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Footer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACtF,OAAO,sBAAsB,CAAC;AAE9B,KAAK,WAAW,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,CAAC;AAEzE,UAAU,WAAW;IACnB,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC9C,MAAM,EAAE,YAAY,CAAC;IACrB,CAAC,EAAE,WAAW,CAAC;IACf,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC,CAAC;IAClF,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sGAAsG;IACtG,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,MAAM,EACN,CAAC,EACD,iBAAiB,EACjB,kBAAkB,EAClB,aAA4D,EAC5D,eAAsB,GACvB,EAAE,WAAW,2CA2Eb"}
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import type { RouteBuilder, LinkComponentProps } from '../../contexts/RoutingContext';
3
- import './NavigationMenu.css';
4
- type TranslateFn = (key: string, params?: Record<string, any>) => string;
5
- interface NavigationMenuProps {
6
- Link: React.ComponentType<LinkComponentProps>;
7
- routes: RouteBuilder;
8
- t: TranslateFn;
9
- isAdmin?: boolean;
10
- isModerator?: boolean;
11
- brandingLink?: string;
12
- onItemClick?: () => void;
13
- className?: string;
14
- currentPath?: string;
15
- }
16
- export declare function NavigationMenu({ Link, routes, t, isAdmin, isModerator, onItemClick, className, currentPath }: NavigationMenuProps): import("react/jsx-runtime").JSX.Element;
17
- export {};
18
- //# sourceMappingURL=NavigationMenu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/NavigationMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACtF,OAAO,sBAAsB,CAAC;AAE9B,KAAK,WAAW,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,CAAC;AAEzE,UAAU,mBAAmB;IAC3B,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC9C,MAAM,EAAE,YAAY,CAAC;IACrB,CAAC,EAAE,WAAW,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,MAAM,EACN,CAAC,EACD,OAAe,EACf,WAAmB,EACnB,WAAW,EACX,SAAc,EACd,WAAW,EACZ,EAAE,mBAAmB,2CAkDrB"}
@@ -1,52 +0,0 @@
1
- import React from 'react';
2
- /**
3
- * Props for ObservableLink component
4
- *
5
- * Accepts any props that a standard anchor element accepts,
6
- * plus optional navigation metadata for event emission.
7
- */
8
- export interface ObservableLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
9
- /** The URL to navigate to */
10
- href: string;
11
- /** Optional label for the link (used in event metadata) */
12
- label?: string;
13
- /** Children to render inside the link */
14
- children: React.ReactNode;
15
- }
16
- /**
17
- * Link component that emits navigation events for observability
18
- *
19
- * Use this instead of Next.js <Link> when you want link clicks to be
20
- * observable through the NavigationEventBus. This is useful for:
21
- * - Analytics tracking
22
- * - State coordination before navigation
23
- * - Logging navigation flows
24
- *
25
- * The component emits 'nav:link-clicked' event before allowing
26
- * the browser to follow the link.
27
- *
28
- * @example
29
- * ```typescript
30
- * <ObservableLink
31
- * href="/know/discover"
32
- * label="Discover"
33
- * >
34
- * Discover Resources
35
- * </ObservableLink>
36
- * ```
37
- *
38
- * @example With Next.js Link integration
39
- * ```typescript
40
- * import Link from 'next/link';
41
- *
42
- * <Link href="/know/discover" legacyBehavior passHref>
43
- * <ObservableLink label="Discover">
44
- * Discover Resources
45
- * </ObservableLink>
46
- * </Link>
47
- * ```
48
- *
49
- * @emits nav:link-clicked - Link clicked by user. Payload: { href: string, label?: string }
50
- */
51
- export declare function ObservableLink({ href, label, onClick, children, ...anchorProps }: ObservableLinkProps): import("react/jsx-runtime").JSX.Element;
52
- //# sourceMappingURL=ObservableLink.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ObservableLink.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/ObservableLink.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAG9D;;;;;GAKG;AACH,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACxF,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,OAAO,EACP,QAAQ,EACR,GAAG,WAAW,EACf,EAAE,mBAAmB,2CA6BrB"}
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- export interface SimpleNavigationItem {
3
- name: string;
4
- href: string;
5
- icon: React.ComponentType<{
6
- className?: string;
7
- }>;
8
- description?: string;
9
- }
10
- export interface SimpleNavigationProps {
11
- title: string;
12
- items: SimpleNavigationItem[];
13
- currentPath: string;
14
- LinkComponent: React.ComponentType<any>;
15
- dropdownContent?: (onClose: () => void) => React.ReactNode;
16
- isCollapsed: boolean;
17
- icons: {
18
- chevronLeft: React.ComponentType<{
19
- className?: string;
20
- }>;
21
- bars: React.ComponentType<{
22
- className?: string;
23
- }>;
24
- };
25
- collapseSidebarLabel: string;
26
- expandSidebarLabel: string;
27
- }
28
- /**
29
- * Simple navigation component for Admin and Moderation modes.
30
- * Renders a section header with optional dropdown and static navigation tabs.
31
- *
32
- * @emits shell:sidebar-toggle - Toggle sidebar collapsed/expanded state. Payload: undefined
33
- */
34
- export declare function SimpleNavigation({ title, items, currentPath, LinkComponent, dropdownContent, isCollapsed, icons, collapseSidebarLabel, expandSidebarLabel }: SimpleNavigationProps): import("react/jsx-runtime").JSX.Element;
35
- //# sourceMappingURL=SimpleNavigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SimpleNavigation.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/SimpleNavigation.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACxC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,KAAK,CAAC,SAAS,CAAC;IAC3D,WAAW,EAAE,OAAO,CAAC;IACrB,KAAK,EAAE;QACL,WAAW,EAAE,KAAK,CAAC,aAAa,CAAC;YAAE,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACzD,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;YAAE,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KACnD,CAAC;IACF,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,KAAK,EACL,WAAW,EACX,aAAa,EACb,eAAe,EACf,WAAW,EACX,KAAK,EACL,oBAAoB,EACpB,kBAAkB,EACnB,EAAE,qBAAqB,2CAyGvB"}
@@ -1,7 +0,0 @@
1
- import type { SortableResourceTabProps } from '../../types/collapsible-navigation';
2
- /**
3
- * A sortable tab for an open resource in the navigation sidebar.
4
- * Supports drag and drop when expanded, and compact icon-only view when collapsed.
5
- */
6
- export declare function SortableResourceTab({ resource, isCollapsed, isActive, href, onClose, onReorder, index, totalCount, LinkComponent, translations, isDragging }: SortableResourceTabProps): import("react/jsx-runtime").JSX.Element;
7
- //# sourceMappingURL=SortableResourceTab.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SortableResourceTab.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/SortableResourceTab.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAEnF;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,SAAS,EACT,KAAK,EACL,UAAU,EACV,aAAa,EACb,YAAiB,EACjB,UAAkB,EACnB,EAAE,wBAAwB,2CAmF1B"}
@@ -1,8 +0,0 @@
1
- /**
2
- * Client-only wrapper for PdfAnnotationCanvas
3
- *
4
- * This wrapper ensures the PDF annotation component is only loaded on the client side,
5
- * preventing SSR issues with browser-based PDF.js loading.
6
- */
7
- export { PdfAnnotationCanvas } from './PdfAnnotationCanvas';
8
- //# sourceMappingURL=PdfAnnotationCanvas.client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PdfAnnotationCanvas.client.d.ts","sourceRoot":"","sources":["../../../src/components/pdf-annotation/PdfAnnotationCanvas.client.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1,25 +0,0 @@
1
- import type { Annotation } from '@semiont/core';
2
- import { type SemiontSession } from '@semiont/sdk';
3
- import type { SelectionMotivation } from '../annotation/AnnotateToolbar';
4
- import './PdfAnnotationCanvas.css';
5
- export type DrawingMode = 'rectangle' | 'circle' | 'polygon' | null;
6
- interface PdfAnnotationCanvasProps {
7
- pdfUrl: string;
8
- existingAnnotations?: Annotation[];
9
- drawingMode: DrawingMode;
10
- selectedMotivation?: SelectionMotivation | null;
11
- session?: SemiontSession | null | undefined;
12
- hoveredAnnotationId?: string | null;
13
- selectedAnnotationId?: string | null;
14
- hoverDelayMs?: number;
15
- }
16
- /**
17
- * PDF annotation canvas with page navigation and rectangle drawing
18
- *
19
- * @emits browse:click - Annotation clicked on PDF. Payload: { annotationId: string, motivation: Motivation }
20
- * @emits mark:requested - New annotation drawn on PDF. Payload: { selector: FragmentSelector, motivation: SelectionMotivation }
21
- * @emits beckon:hover - Annotation hovered or unhovered. Payload: { annotationId: string | null }
22
- */
23
- export declare function PdfAnnotationCanvas({ pdfUrl, existingAnnotations, drawingMode, selectedMotivation, session, hoveredAnnotationId, selectedAnnotationId, hoverDelayMs }: PdfAnnotationCanvasProps): import("react/jsx-runtime").JSX.Element;
24
- export {};
25
- //# sourceMappingURL=PdfAnnotationCanvas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PdfAnnotationCanvas.d.ts","sourceRoot":"","sources":["../../../src/components/pdf-annotation/PdfAnnotationCanvas.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAczE,OAAO,2BAA2B,CAAC;AAEnC,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC;AAwBpE,UAAU,wBAAwB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,UAAU,EAAE,CAAC;IACnC,WAAW,EAAE,WAAW,CAAC;IACzB,kBAAkB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAChD,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,mBAAwB,EACxB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,mBAAmB,EACnB,oBAAoB,EACpB,YAAkB,EACnB,EAAE,wBAAwB,2CA2b1B"}
@@ -1,29 +0,0 @@
1
- import { type SelectionMotivation, type ClickAction, type ShapeType } from '../annotation/AnnotateToolbar';
2
- import type { AnnotationsCollection, AnnotationUIState } from '../../types/annotation-props';
3
- export type { SelectionMotivation, ClickAction, ShapeType };
4
- interface Props {
5
- content: string;
6
- mimeType?: string;
7
- resourceUri?: string;
8
- annotations: AnnotationsCollection;
9
- uiState: AnnotationUIState;
10
- onUIStateChange?: (state: Partial<AnnotationUIState>) => void;
11
- editable?: boolean;
12
- enableWidgets?: boolean;
13
- getTargetResourceName?: (resourceId: string) => string | undefined;
14
- generatingReferenceId?: string | null;
15
- showLineNumbers?: boolean;
16
- hoverDelayMs?: number;
17
- annotateMode: boolean;
18
- }
19
- /**
20
- * View component for annotating resources with text selection and drawing
21
- *
22
- * @emits mark:requested - User requested to create annotation. Payload: { selector: Selector | Selector[], motivation: SelectionMotivation }
23
- * @subscribes mark:selection-changed - Toolbar selection changed. Payload: { motivation: string | null }
24
- * @subscribes mark:click-changed - Toolbar click action changed. Payload: { action: string }
25
- * @subscribes mark:shape-changed - Toolbar shape changed. Payload: { shape: string }
26
- * @subscribes beckon:hover - Annotation hovered. Payload: { annotationId: string | null }
27
- */
28
- export declare function AnnotateView({ content, mimeType, resourceUri, annotations, uiState, onUIStateChange, enableWidgets, getTargetResourceName, generatingReferenceId, showLineNumbers, hoverDelayMs, annotateMode }: Props): import("react/jsx-runtime").JSX.Element;
29
- //# sourceMappingURL=AnnotateView.d.ts.map