@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.
- package/README.md +59 -55
- package/dist/{PdfAnnotationCanvas.client-CN3C3S55.js → PdfAnnotationCanvas.client-NIMALXNZ.js} +7 -27
- package/dist/PdfAnnotationCanvas.client-NIMALXNZ.js.map +1 -0
- package/dist/index.css +6 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +3704 -149
- package/dist/index.js +539 -405
- package/dist/index.js.map +1 -1
- package/dist/test-utils.d.ts +34 -16
- package/package.json +19 -13
- package/src/components/Button/__tests__/Button.test.tsx +0 -2
- package/src/components/CodeMirrorRenderer.tsx +2 -0
- package/src/components/ErrorBoundary.tsx +0 -9
- package/src/components/ProtectedErrorBoundary.tsx +6 -2
- package/src/components/__tests__/AnnotateReferencesProgressWidget.test.tsx +0 -1
- package/src/components/__tests__/ErrorBoundary.test.tsx +20 -13
- package/src/components/__tests__/LiveRegion.hooks.test.tsx +1 -1
- package/src/components/__tests__/ProtectedErrorBoundary.test.tsx +2 -1
- package/src/components/__tests__/ResizeHandle.test.tsx +0 -1
- package/src/components/__tests__/SessionExpiryBanner.test.tsx +0 -1
- package/src/components/__tests__/StatusDisplay.test.tsx +0 -1
- package/src/components/__tests__/Toast.test.tsx +2 -3
- package/src/components/__tests__/Toolbar.test.tsx +0 -1
- package/src/components/annotation/annotations.css +14 -0
- package/src/components/annotation-popups/__tests__/JsonLdView.test.tsx +3 -5
- package/src/components/annotation-popups/__tests__/SharedPopupElements.test.tsx +0 -1
- package/src/components/branding/__tests__/SemiontBranding.test.tsx +1 -2
- package/src/components/layout/__tests__/LeftSidebar.test.tsx +5 -6
- package/src/components/layout/__tests__/PageLayout.test.tsx +1 -3
- package/src/components/layout/__tests__/SkipLinks.a11y.test.tsx +8 -8
- package/src/components/layout/__tests__/UnifiedHeader.test.tsx +12 -1
- package/src/components/modals/__tests__/KeyboardShortcutsHelpModal.test.tsx +0 -1
- package/src/components/modals/__tests__/PermissionDeniedModal.test.tsx +3 -4
- package/src/components/modals/__tests__/ResourceSearchModal.test.tsx +0 -1
- package/src/components/modals/__tests__/SearchModal.basic.test.tsx +1 -1
- package/src/components/modals/__tests__/SearchModal.keyboard.test.tsx +0 -5
- package/src/components/modals/__tests__/SearchModal.search-wiring.test.tsx +0 -1
- package/src/components/modals/__tests__/SearchModal.visual.test.tsx +2 -2
- package/src/components/modals/__tests__/SessionExpiredModal.test.tsx +0 -1
- package/src/components/navigation/NavigationMenu.tsx +1 -1
- package/src/components/navigation/__tests__/Footer.a11y.test.tsx +4 -0
- package/src/components/navigation/__tests__/Footer.test.tsx +3 -6
- package/src/components/navigation/__tests__/NavigationMenu.a11y.test.tsx +1 -1
- package/src/components/navigation/__tests__/NavigationMenu.test.tsx +7 -9
- package/src/components/navigation/__tests__/ObservableLink.test.tsx +0 -1
- package/src/components/navigation/__tests__/SimpleNavigation.test.tsx +1 -2
- package/src/components/navigation/__tests__/SortableResourceTab.test.tsx +0 -1
- package/src/components/pdf-annotation/PdfAnnotationCanvas.tsx +6 -4
- package/src/components/pdf-annotation/__tests__/PdfAnnotationCanvas.test.tsx +10 -19
- package/src/components/resource/__tests__/BrowseView.test.tsx +8 -6
- package/src/components/resource/__tests__/HistoryEvent.test.tsx +0 -4
- package/src/components/resource/__tests__/ResourceViewer.mode-switch.test.tsx +4 -6
- package/src/components/resource/panels/ReferencesPanel.tsx +1 -1
- package/src/components/resource/panels/__tests__/AssessmentEntry.test.tsx +3 -4
- package/src/components/resource/panels/__tests__/AssessmentPanel.test.tsx +7 -6
- package/src/components/resource/panels/__tests__/AssistSection.test.tsx +14 -10
- package/src/components/resource/panels/__tests__/CollaborationPanel.test.tsx +0 -1
- package/src/components/resource/panels/__tests__/CommentEntry.test.tsx +30 -17
- package/src/components/resource/panels/__tests__/CommentsPanel.test.tsx +6 -5
- package/src/components/resource/panels/__tests__/HighlightEntry.test.tsx +4 -5
- package/src/components/resource/panels/__tests__/HighlightPanel.annotationProgress.test.tsx +19 -13
- package/src/components/resource/panels/__tests__/JsonLdPanel.test.tsx +1 -3
- package/src/components/resource/panels/__tests__/PanelHeader.test.tsx +0 -1
- package/src/components/resource/panels/__tests__/ReferenceEntry.test.tsx +5 -5
- package/src/components/resource/panels/__tests__/ReferencesPanel.test.tsx +40 -7
- package/src/components/resource/panels/__tests__/ResourceInfoPanel.test.tsx +3 -3
- package/src/components/resource/panels/__tests__/StatisticsPanel.test.tsx +30 -32
- package/src/components/resource/panels/__tests__/TagEntry.test.tsx +5 -5
- package/src/components/resource/panels/__tests__/TaggingPanel.test.tsx +6 -5
- package/src/components/settings/__tests__/SettingsPanel.test.tsx +0 -1
- package/src/components/viewers/__tests__/ImageViewer.test.tsx +0 -1
- package/src/features/auth/__tests__/SignInForm.a11y.test.tsx +2 -0
- package/src/features/auth/__tests__/SignUpForm.a11y.test.tsx +11 -12
- package/src/features/auth/__tests__/SignUpForm.test.tsx +3 -3
- package/src/features/moderate-tag-schemas/components/TagSchemasPage.tsx +1 -0
- package/src/features/resource-compose/__tests__/ResourceComposePage.test.tsx +2 -1
- package/src/features/resource-discovery/__tests__/ResourceCard.test.tsx +0 -1
- package/src/features/resource-discovery/__tests__/ResourceDiscoveryPage.test.tsx +33 -35
- package/src/features/resource-discovery/components/ResourceDiscoveryPage.tsx +12 -11
- package/src/features/resource-discovery/state/__tests__/discover-state-unit.test.ts +204 -11
- package/src/features/resource-discovery/state/discover-state-unit.ts +70 -11
- package/src/features/resource-viewer/__tests__/ResourceViewerPage.test.tsx +2 -2
- package/src/features/resource-viewer/components/ResourceViewerPage.tsx +3 -2
- package/src/features/resource-viewer/state/__tests__/resource-viewer-page-state-unit.test.ts +0 -1
- package/src/features/resource-viewer/state/resource-viewer-page-state-unit.ts +5 -2
- package/src/integrations/__tests__/css-modules-helper.test.tsx +2 -3
- package/src/integrations/__tests__/styled-components-theme.test.ts +1 -3
- package/dist/PdfAnnotationCanvas.client-CN3C3S55.js.map +0 -1
- package/dist/assets/favicons/SemiontFavicon.d.ts +0 -9
- package/dist/assets/favicons/SemiontFavicon.d.ts.map +0 -1
- package/dist/assets/favicons/index.d.ts +0 -12
- package/dist/assets/favicons/index.d.ts.map +0 -1
- package/dist/components/AnnotateReferencesProgressWidget.d.ts +0 -15
- package/dist/components/AnnotateReferencesProgressWidget.d.ts.map +0 -1
- package/dist/components/Button/Button.d.ts +0 -69
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/CodeMirrorRenderer.d.ts +0 -25
- package/dist/components/CodeMirrorRenderer.d.ts.map +0 -1
- package/dist/components/ErrorBoundary.d.ts +0 -30
- package/dist/components/ErrorBoundary.d.ts.map +0 -1
- package/dist/components/LiveRegion.d.ts +0 -41
- package/dist/components/LiveRegion.d.ts.map +0 -1
- package/dist/components/ProtectedErrorBoundary.d.ts +0 -27
- package/dist/components/ProtectedErrorBoundary.d.ts.map +0 -1
- package/dist/components/ResizeHandle.d.ts +0 -39
- package/dist/components/ResizeHandle.d.ts.map +0 -1
- package/dist/components/ResourceTagsInline.d.ts +0 -10
- package/dist/components/ResourceTagsInline.d.ts.map +0 -1
- package/dist/components/SessionExpiryBanner.d.ts +0 -2
- package/dist/components/SessionExpiryBanner.d.ts.map +0 -1
- package/dist/components/SessionTimer.d.ts +0 -2
- package/dist/components/SessionTimer.d.ts.map +0 -1
- package/dist/components/StatusDisplay.d.ts +0 -9
- package/dist/components/StatusDisplay.d.ts.map +0 -1
- package/dist/components/Toast.d.ts +0 -27
- package/dist/components/Toast.d.ts.map +0 -1
- package/dist/components/Toolbar.d.ts +0 -15
- package/dist/components/Toolbar.d.ts.map +0 -1
- package/dist/components/UserMenuSkeleton.d.ts +0 -2
- package/dist/components/UserMenuSkeleton.d.ts.map +0 -1
- package/dist/components/annotation/AnnotateToolbar.d.ts +0 -29
- package/dist/components/annotation/AnnotateToolbar.d.ts.map +0 -1
- package/dist/components/annotation-popups/JsonLdView.d.ts +0 -8
- package/dist/components/annotation-popups/JsonLdView.d.ts.map +0 -1
- package/dist/components/annotation-popups/SharedPopupElements.d.ts +0 -28
- package/dist/components/annotation-popups/SharedPopupElements.d.ts.map +0 -1
- package/dist/components/branding/SemiontBranding.d.ts +0 -13
- package/dist/components/branding/SemiontBranding.d.ts.map +0 -1
- package/dist/components/error-states/ResourceErrorState.d.ts +0 -11
- package/dist/components/error-states/ResourceErrorState.d.ts.map +0 -1
- package/dist/components/image-annotation/AnnotationOverlay.d.ts +0 -22
- package/dist/components/image-annotation/AnnotationOverlay.d.ts.map +0 -1
- package/dist/components/image-annotation/SvgDrawingCanvas.d.ts +0 -23
- package/dist/components/image-annotation/SvgDrawingCanvas.d.ts.map +0 -1
- package/dist/components/layout/LeftSidebar.d.ts +0 -24
- package/dist/components/layout/LeftSidebar.d.ts.map +0 -1
- package/dist/components/layout/PageLayout.d.ts +0 -21
- package/dist/components/layout/PageLayout.d.ts.map +0 -1
- package/dist/components/layout/SkipLinks.d.ts +0 -8
- package/dist/components/layout/SkipLinks.d.ts.map +0 -1
- package/dist/components/layout/UnifiedHeader.d.ts +0 -21
- package/dist/components/layout/UnifiedHeader.d.ts.map +0 -1
- package/dist/components/loading-states/ComposeLoadingState.d.ts +0 -10
- package/dist/components/loading-states/ComposeLoadingState.d.ts.map +0 -1
- package/dist/components/loading-states/ResourceLoadingState.d.ts +0 -7
- package/dist/components/loading-states/ResourceLoadingState.d.ts.map +0 -1
- package/dist/components/modals/ConfigureGenerationStep.d.ts +0 -36
- package/dist/components/modals/ConfigureGenerationStep.d.ts.map +0 -1
- package/dist/components/modals/ConfigureSearchStep.d.ts +0 -21
- package/dist/components/modals/ConfigureSearchStep.d.ts.map +0 -1
- package/dist/components/modals/ContextSummary.d.ts +0 -14
- package/dist/components/modals/ContextSummary.d.ts.map +0 -1
- package/dist/components/modals/GatherContextStep.d.ts +0 -23
- package/dist/components/modals/GatherContextStep.d.ts.map +0 -1
- package/dist/components/modals/KeyboardShortcutsHelpModal.d.ts +0 -8
- package/dist/components/modals/KeyboardShortcutsHelpModal.d.ts.map +0 -1
- package/dist/components/modals/PermissionDeniedModal.d.ts +0 -12
- package/dist/components/modals/PermissionDeniedModal.d.ts.map +0 -1
- package/dist/components/modals/ReferenceWizardModal.d.ts +0 -64
- package/dist/components/modals/ReferenceWizardModal.d.ts.map +0 -1
- package/dist/components/modals/ResourceSearchModal.d.ts +0 -16
- package/dist/components/modals/ResourceSearchModal.d.ts.map +0 -1
- package/dist/components/modals/SearchModal.d.ts +0 -20
- package/dist/components/modals/SearchModal.d.ts.map +0 -1
- package/dist/components/modals/SearchResultsStep.d.ts +0 -22
- package/dist/components/modals/SearchResultsStep.d.ts.map +0 -1
- package/dist/components/modals/SessionExpiredModal.d.ts +0 -12
- package/dist/components/modals/SessionExpiredModal.d.ts.map +0 -1
- package/dist/components/navigation/CollapsibleResourceNavigation.d.ts +0 -13
- package/dist/components/navigation/CollapsibleResourceNavigation.d.ts.map +0 -1
- package/dist/components/navigation/Footer.d.ts +0 -20
- package/dist/components/navigation/Footer.d.ts.map +0 -1
- package/dist/components/navigation/NavigationMenu.d.ts +0 -18
- package/dist/components/navigation/NavigationMenu.d.ts.map +0 -1
- package/dist/components/navigation/ObservableLink.d.ts +0 -52
- package/dist/components/navigation/ObservableLink.d.ts.map +0 -1
- package/dist/components/navigation/SimpleNavigation.d.ts +0 -35
- package/dist/components/navigation/SimpleNavigation.d.ts.map +0 -1
- package/dist/components/navigation/SortableResourceTab.d.ts +0 -7
- package/dist/components/navigation/SortableResourceTab.d.ts.map +0 -1
- package/dist/components/pdf-annotation/PdfAnnotationCanvas.client.d.ts +0 -8
- package/dist/components/pdf-annotation/PdfAnnotationCanvas.client.d.ts.map +0 -1
- package/dist/components/pdf-annotation/PdfAnnotationCanvas.d.ts +0 -25
- package/dist/components/pdf-annotation/PdfAnnotationCanvas.d.ts.map +0 -1
- package/dist/components/resource/AnnotateView.d.ts +0 -29
- package/dist/components/resource/AnnotateView.d.ts.map +0 -1
- package/dist/components/resource/AnnotationHistory.d.ts +0 -14
- package/dist/components/resource/AnnotationHistory.d.ts.map +0 -1
- package/dist/components/resource/BrowseView.d.ts +0 -28
- package/dist/components/resource/BrowseView.d.ts.map +0 -1
- package/dist/components/resource/HistoryEvent.d.ts +0 -19
- package/dist/components/resource/HistoryEvent.d.ts.map +0 -1
- package/dist/components/resource/ResourceViewer.d.ts +0 -46
- package/dist/components/resource/ResourceViewer.d.ts.map +0 -1
- package/dist/components/resource/event-formatting.d.ts +0 -61
- package/dist/components/resource/event-formatting.d.ts.map +0 -1
- package/dist/components/resource/panels/AssessmentEntry.d.ts +0 -11
- package/dist/components/resource/panels/AssessmentEntry.d.ts.map +0 -1
- package/dist/components/resource/panels/AssessmentPanel.d.ts +0 -32
- package/dist/components/resource/panels/AssessmentPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/AssistSection.d.ts +0 -27
- package/dist/components/resource/panels/AssistSection.d.ts.map +0 -1
- package/dist/components/resource/panels/CollaborationPanel.d.ts +0 -28
- package/dist/components/resource/panels/CollaborationPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/CommentEntry.d.ts +0 -12
- package/dist/components/resource/panels/CommentEntry.d.ts.map +0 -1
- package/dist/components/resource/panels/CommentsPanel.d.ts +0 -32
- package/dist/components/resource/panels/CommentsPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/HighlightEntry.d.ts +0 -11
- package/dist/components/resource/panels/HighlightEntry.d.ts.map +0 -1
- package/dist/components/resource/panels/HighlightPanel.d.ts +0 -30
- package/dist/components/resource/panels/HighlightPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/JsonLdPanel.d.ts +0 -9
- package/dist/components/resource/panels/JsonLdPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/PanelHeader.d.ts +0 -13
- package/dist/components/resource/panels/PanelHeader.d.ts.map +0 -1
- package/dist/components/resource/panels/ReferenceEntry.d.ts +0 -15
- package/dist/components/resource/panels/ReferenceEntry.d.ts.map +0 -1
- package/dist/components/resource/panels/ReferencesPanel.d.ts +0 -43
- package/dist/components/resource/panels/ReferencesPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/ResourceInfoPanel.d.ts +0 -27
- package/dist/components/resource/panels/ResourceInfoPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/StatisticsPanel.d.ts +0 -12
- package/dist/components/resource/panels/StatisticsPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/TagEntry.d.ts +0 -11
- package/dist/components/resource/panels/TagEntry.d.ts.map +0 -1
- package/dist/components/resource/panels/TaggingPanel.d.ts +0 -34
- package/dist/components/resource/panels/TaggingPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/UnifiedAnnotationsPanel.d.ts +0 -52
- package/dist/components/resource/panels/UnifiedAnnotationsPanel.d.ts.map +0 -1
- package/dist/components/resource/panels/agent-label.d.ts +0 -11
- package/dist/components/resource/panels/agent-label.d.ts.map +0 -1
- package/dist/components/settings/SettingsPanel.d.ts +0 -19
- package/dist/components/settings/SettingsPanel.d.ts.map +0 -1
- package/dist/components/viewers/ImageViewer.d.ts +0 -8
- package/dist/components/viewers/ImageViewer.d.ts.map +0 -1
- package/dist/components/viewers/index.d.ts +0 -2
- package/dist/components/viewers/index.d.ts.map +0 -1
- package/dist/contexts/AnnotationContext.d.ts +0 -46
- package/dist/contexts/AnnotationContext.d.ts.map +0 -1
- package/dist/contexts/ResourceAnnotationsContext.d.ts +0 -14
- package/dist/contexts/ResourceAnnotationsContext.d.ts.map +0 -1
- package/dist/contexts/RoutingContext.d.ts +0 -59
- package/dist/contexts/RoutingContext.d.ts.map +0 -1
- package/dist/contexts/ThemeContext.d.ts +0 -15
- package/dist/contexts/ThemeContext.d.ts.map +0 -1
- package/dist/contexts/TranslationContext.d.ts +0 -51
- package/dist/contexts/TranslationContext.d.ts.map +0 -1
- package/dist/contexts/useEventSubscription.d.ts +0 -41
- package/dist/contexts/useEventSubscription.d.ts.map +0 -1
- package/dist/design-tokens/index.d.ts +0 -178
- package/dist/design-tokens/index.d.ts.map +0 -1
- package/dist/features/admin-devops/components/AdminDevOpsPage.d.ts +0 -33
- package/dist/features/admin-devops/components/AdminDevOpsPage.d.ts.map +0 -1
- package/dist/features/admin-exchange/components/AdminExchangePage.d.ts +0 -37
- package/dist/features/admin-exchange/components/AdminExchangePage.d.ts.map +0 -1
- package/dist/features/admin-exchange/components/ExportCard.d.ts +0 -18
- package/dist/features/admin-exchange/components/ExportCard.d.ts.map +0 -1
- package/dist/features/admin-exchange/components/ImportCard.d.ts +0 -32
- package/dist/features/admin-exchange/components/ImportCard.d.ts.map +0 -1
- package/dist/features/admin-exchange/components/ImportProgress.d.ts +0 -26
- package/dist/features/admin-exchange/components/ImportProgress.d.ts.map +0 -1
- package/dist/features/admin-exchange/state/exchange-state-unit.d.ts +0 -31
- package/dist/features/admin-exchange/state/exchange-state-unit.d.ts.map +0 -1
- package/dist/features/admin-security/components/AdminSecurityPage.d.ts +0 -42
- package/dist/features/admin-security/components/AdminSecurityPage.d.ts.map +0 -1
- package/dist/features/admin-security/state/admin-security-state-unit.d.ts +0 -12
- package/dist/features/admin-security/state/admin-security-state-unit.d.ts.map +0 -1
- package/dist/features/admin-users/components/AdminUsersPage.d.ts +0 -88
- package/dist/features/admin-users/components/AdminUsersPage.d.ts.map +0 -1
- package/dist/features/admin-users/state/admin-users-state-unit.d.ts +0 -17
- package/dist/features/admin-users/state/admin-users-state-unit.d.ts.map +0 -1
- package/dist/features/auth/components/AuthErrorDisplay.d.ts +0 -34
- package/dist/features/auth/components/AuthErrorDisplay.d.ts.map +0 -1
- package/dist/features/auth/components/SignInForm.d.ts +0 -80
- package/dist/features/auth/components/SignInForm.d.ts.map +0 -1
- package/dist/features/auth/components/SignUpForm.d.ts +0 -39
- package/dist/features/auth/components/SignUpForm.d.ts.map +0 -1
- package/dist/features/auth-welcome/components/WelcomePage.d.ts +0 -62
- package/dist/features/auth-welcome/components/WelcomePage.d.ts.map +0 -1
- package/dist/features/auth-welcome/state/welcome-state-unit.d.ts +0 -12
- package/dist/features/auth-welcome/state/welcome-state-unit.d.ts.map +0 -1
- package/dist/features/moderate-entity-tags/components/EntityTagsPage.d.ts +0 -32
- package/dist/features/moderate-entity-tags/components/EntityTagsPage.d.ts.map +0 -1
- package/dist/features/moderate-entity-tags/state/entity-tags-state-unit.d.ts +0 -16
- package/dist/features/moderate-entity-tags/state/entity-tags-state-unit.d.ts.map +0 -1
- package/dist/features/moderate-recent/components/RecentDocumentsPage.d.ts +0 -27
- package/dist/features/moderate-recent/components/RecentDocumentsPage.d.ts.map +0 -1
- package/dist/features/moderate-tag-schemas/components/TagSchemasPage.d.ts +0 -25
- package/dist/features/moderate-tag-schemas/components/TagSchemasPage.d.ts.map +0 -1
- package/dist/features/moderation-linked-data/components/LinkedDataPage.d.ts +0 -38
- package/dist/features/moderation-linked-data/components/LinkedDataPage.d.ts.map +0 -1
- package/dist/features/resource-compose/components/ResourceComposePage.d.ts +0 -83
- package/dist/features/resource-compose/components/ResourceComposePage.d.ts.map +0 -1
- package/dist/features/resource-compose/components/UploadProgressBar.d.ts +0 -23
- package/dist/features/resource-compose/components/UploadProgressBar.d.ts.map +0 -1
- package/dist/features/resource-compose/state/compose-page-state-unit.d.ts +0 -59
- package/dist/features/resource-compose/state/compose-page-state-unit.d.ts.map +0 -1
- package/dist/features/resource-discovery/components/ResourceCard.d.ts +0 -17
- package/dist/features/resource-discovery/components/ResourceCard.d.ts.map +0 -1
- package/dist/features/resource-discovery/components/ResourceDiscoveryPage.d.ts +0 -43
- package/dist/features/resource-discovery/components/ResourceDiscoveryPage.d.ts.map +0 -1
- package/dist/features/resource-discovery/state/discover-state-unit.d.ts +0 -15
- package/dist/features/resource-discovery/state/discover-state-unit.d.ts.map +0 -1
- package/dist/features/resource-viewer/components/ResourceViewerPage.d.ts +0 -80
- package/dist/features/resource-viewer/components/ResourceViewerPage.d.ts.map +0 -1
- package/dist/features/resource-viewer/state/resource-loader-state-unit.d.ts +0 -11
- package/dist/features/resource-viewer/state/resource-loader-state-unit.d.ts.map +0 -1
- package/dist/features/resource-viewer/state/resource-viewer-page-state-unit.d.ts +0 -48
- package/dist/features/resource-viewer/state/resource-viewer-page-state-unit.d.ts.map +0 -1
- package/dist/hooks/useDebounce.d.ts +0 -29
- package/dist/hooks/useDebounce.d.ts.map +0 -1
- package/dist/hooks/useDragAnnouncements.d.ts +0 -12
- package/dist/hooks/useDragAnnouncements.d.ts.map +0 -1
- package/dist/hooks/useHoverDelay.d.ts +0 -8
- package/dist/hooks/useHoverDelay.d.ts.map +0 -1
- package/dist/hooks/useHoverEmitter.d.ts +0 -8
- package/dist/hooks/useHoverEmitter.d.ts.map +0 -1
- package/dist/hooks/useKeyboardShortcuts.d.ts +0 -29
- package/dist/hooks/useKeyboardShortcuts.d.ts.map +0 -1
- package/dist/hooks/useLineNumbers.d.ts +0 -8
- package/dist/hooks/useLineNumbers.d.ts.map +0 -1
- package/dist/hooks/useMediaToken.d.ts +0 -7
- package/dist/hooks/useMediaToken.d.ts.map +0 -1
- package/dist/hooks/useObservable.d.ts +0 -23
- package/dist/hooks/useObservable.d.ts.map +0 -1
- package/dist/hooks/useObservableBrowse.d.ts +0 -70
- package/dist/hooks/useObservableBrowse.d.ts.map +0 -1
- package/dist/hooks/usePanelWidth.d.ts +0 -37
- package/dist/hooks/usePanelWidth.d.ts.map +0 -1
- package/dist/hooks/useResourceContent.d.ts +0 -7
- package/dist/hooks/useResourceContent.d.ts.map +0 -1
- package/dist/hooks/useRovingTabIndex.d.ts +0 -13
- package/dist/hooks/useRovingTabIndex.d.ts.map +0 -1
- package/dist/hooks/useSearchAnnouncements.d.ts +0 -10
- package/dist/hooks/useSearchAnnouncements.d.ts.map +0 -1
- package/dist/hooks/useSessionExpiry.d.ts +0 -10
- package/dist/hooks/useSessionExpiry.d.ts.map +0 -1
- package/dist/hooks/useShellStateUnit.d.ts +0 -9
- package/dist/hooks/useShellStateUnit.d.ts.map +0 -1
- package/dist/hooks/useStateUnit.d.ts +0 -3
- package/dist/hooks/useStateUnit.d.ts.map +0 -1
- package/dist/hooks/useUI.d.ts +0 -24
- package/dist/hooks/useUI.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/integrations/css-modules-helper.d.ts +0 -114
- package/dist/integrations/css-modules-helper.d.ts.map +0 -1
- package/dist/integrations/styled-components-theme.d.ts +0 -95
- package/dist/integrations/styled-components-theme.d.ts.map +0 -1
- package/dist/integrations/tailwind-plugin.d.cts +0 -3
- package/dist/integrations/tailwind-plugin.d.cts.map +0 -1
- package/dist/lib/annotation-overlay.d.ts +0 -71
- package/dist/lib/annotation-overlay.d.ts.map +0 -1
- package/dist/lib/annotation-registry.d.ts +0 -62
- package/dist/lib/annotation-registry.d.ts.map +0 -1
- package/dist/lib/browser-pdfjs.d.ts +0 -93
- package/dist/lib/browser-pdfjs.d.ts.map +0 -1
- package/dist/lib/button-styles.d.ts +0 -27
- package/dist/lib/button-styles.d.ts.map +0 -1
- package/dist/lib/codemirror-handlers.d.ts +0 -52
- package/dist/lib/codemirror-handlers.d.ts.map +0 -1
- package/dist/lib/codemirror-json-theme.d.ts +0 -8
- package/dist/lib/codemirror-json-theme.d.ts.map +0 -1
- package/dist/lib/codemirror-logic.d.ts +0 -66
- package/dist/lib/codemirror-logic.d.ts.map +0 -1
- package/dist/lib/codemirror-widgets.d.ts +0 -39
- package/dist/lib/codemirror-widgets.d.ts.map +0 -1
- package/dist/lib/formatTime.d.ts +0 -2
- package/dist/lib/formatTime.d.ts.map +0 -1
- package/dist/lib/media-shapes.d.ts +0 -51
- package/dist/lib/media-shapes.d.ts.map +0 -1
- package/dist/lib/pdf-coordinates.d.ts +0 -69
- package/dist/lib/pdf-coordinates.d.ts.map +0 -1
- package/dist/lib/resource-utils.d.ts +0 -22
- package/dist/lib/resource-utils.d.ts.map +0 -1
- package/dist/lib/scroll-utils.d.ts +0 -20
- package/dist/lib/scroll-utils.d.ts.map +0 -1
- package/dist/lib/text-segmentation.d.ts +0 -25
- package/dist/lib/text-segmentation.d.ts.map +0 -1
- package/dist/lib/text-selection-handler.d.ts +0 -46
- package/dist/lib/text-selection-handler.d.ts.map +0 -1
- package/dist/lib/validation.d.ts +0 -47
- package/dist/lib/validation.d.ts.map +0 -1
- package/dist/session/SemiontProvider.d.ts +0 -28
- package/dist/session/SemiontProvider.d.ts.map +0 -1
- package/dist/session/web-browser-storage.d.ts +0 -19
- package/dist/session/web-browser-storage.d.ts.map +0 -1
- package/dist/state/session-state-unit.d.ts +0 -9
- package/dist/state/session-state-unit.d.ts.map +0 -1
- package/dist/state/shell-state-unit.d.ts +0 -33
- package/dist/state/shell-state-unit.d.ts.map +0 -1
- package/dist/test-utils.d.ts.map +0 -1
- package/dist/types/AnnotationManager.d.ts +0 -53
- package/dist/types/AnnotationManager.d.ts.map +0 -1
- package/dist/types/TranslationManager.d.ts +0 -15
- package/dist/types/TranslationManager.d.ts.map +0 -1
- package/dist/types/annotation-props.d.ts +0 -108
- package/dist/types/annotation-props.d.ts.map +0 -1
- package/dist/types/collapsible-navigation.d.ts +0 -69
- package/dist/types/collapsible-navigation.d.ts.map +0 -1
- package/dist/types/modals.d.ts +0 -77
- package/dist/types/modals.d.ts.map +0 -1
- package/dist/types/navigation.d.ts +0 -35
- package/dist/types/navigation.d.ts.map +0 -1
- package/dist/types/resource-viewer.d.ts +0 -19
- package/dist/types/resource-viewer.d.ts.map +0 -1
- package/dist/types/simple-navigation.d.ts +0 -15
- package/dist/types/simple-navigation.d.ts.map +0 -1
- package/dist/types/translation.d.ts +0 -5
- package/dist/types/translation.d.ts.map +0 -1
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CSS-Agnostic Button Component
|
|
3
|
-
*
|
|
4
|
-
* This button uses data attributes instead of hardcoded Tailwind classes,
|
|
5
|
-
* allowing users to style it with any CSS solution.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
9
|
-
/**
|
|
10
|
-
* Ref forwarded to the underlying button element
|
|
11
|
-
*/
|
|
12
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
13
|
-
/**
|
|
14
|
-
* The visual variant of the button
|
|
15
|
-
*/
|
|
16
|
-
variant?: 'primary' | 'secondary' | 'tertiary' | 'danger' | 'warning' | 'ghost';
|
|
17
|
-
/**
|
|
18
|
-
* The size of the button
|
|
19
|
-
*/
|
|
20
|
-
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
21
|
-
/**
|
|
22
|
-
* Whether the button should take full width of its container
|
|
23
|
-
*/
|
|
24
|
-
fullWidth?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the button is in a loading state
|
|
27
|
-
*/
|
|
28
|
-
loading?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Icon to display before the button text
|
|
31
|
-
*/
|
|
32
|
-
leftIcon?: React.ReactNode;
|
|
33
|
-
/**
|
|
34
|
-
* Icon to display after the button text
|
|
35
|
-
*/
|
|
36
|
-
rightIcon?: React.ReactNode;
|
|
37
|
-
/**
|
|
38
|
-
* Whether the button should only show an icon (no text padding)
|
|
39
|
-
*/
|
|
40
|
-
iconOnly?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Whether to show the button in an active/pressed state
|
|
43
|
-
*/
|
|
44
|
-
active?: boolean;
|
|
45
|
-
}
|
|
46
|
-
export declare function Button({ variant, size, fullWidth, loading, leftIcon, rightIcon, iconOnly, active, className, disabled, children, type, ref, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
/**
|
|
48
|
-
* Button Group Component
|
|
49
|
-
*
|
|
50
|
-
* Groups multiple buttons together
|
|
51
|
-
*/
|
|
52
|
-
export interface ButtonGroupProps {
|
|
53
|
-
children: React.ReactNode;
|
|
54
|
-
/**
|
|
55
|
-
* How to arrange the buttons
|
|
56
|
-
*/
|
|
57
|
-
orientation?: 'horizontal' | 'vertical';
|
|
58
|
-
/**
|
|
59
|
-
* Whether buttons should be connected (no gap between them)
|
|
60
|
-
*/
|
|
61
|
-
attached?: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Size of the gap between buttons (when not attached)
|
|
64
|
-
*/
|
|
65
|
-
spacing?: 'xs' | 'sm' | 'md' | 'lg';
|
|
66
|
-
className?: string;
|
|
67
|
-
}
|
|
68
|
-
export declare const ButtonGroup: React.FC<ButtonGroupProps>;
|
|
69
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAChF;;OAEG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IAEhF;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAExC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE5B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,MAAM,CAAC,EACrB,OAAmB,EACnB,IAAW,EACX,SAAiB,EACjB,OAAe,EACf,QAAQ,EACR,SAAS,EACT,QAAgB,EAChB,MAAc,EACd,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,IAAe,EACf,GAAG,EACH,GAAG,KAAK,EACT,EAAE,WAAW,2CA4Eb;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAkBlD,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type SemiontSession } from '@semiont/sdk';
|
|
2
|
-
import type { TextSegment } from '../lib/codemirror-logic';
|
|
3
|
-
export type { TextSegment } from '../lib/codemirror-logic';
|
|
4
|
-
interface Props {
|
|
5
|
-
content: string;
|
|
6
|
-
segments?: TextSegment[];
|
|
7
|
-
onTextSelect?: (exact: string, position: {
|
|
8
|
-
start: number;
|
|
9
|
-
end: number;
|
|
10
|
-
}) => void;
|
|
11
|
-
onChange?: (content: string) => void;
|
|
12
|
-
editable?: boolean;
|
|
13
|
-
newAnnotationIds?: Set<string>;
|
|
14
|
-
hoveredAnnotationId?: string | null;
|
|
15
|
-
scrollToAnnotationId?: string | null;
|
|
16
|
-
sourceView?: boolean;
|
|
17
|
-
showLineNumbers?: boolean;
|
|
18
|
-
enableWidgets?: boolean;
|
|
19
|
-
session?: SemiontSession | null | undefined;
|
|
20
|
-
getTargetResourceName?: (resourceId: string) => string | undefined;
|
|
21
|
-
generatingReferenceId?: string | null;
|
|
22
|
-
hoverDelayMs: number;
|
|
23
|
-
}
|
|
24
|
-
export declare function CodeMirrorRenderer({ content, segments, onChange, editable, newAnnotationIds, hoveredAnnotationId, scrollToAnnotationId, sourceView, showLineNumbers, enableWidgets, session, getTargetResourceName, generatingReferenceId, hoverDelayMs }: Props): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
//# sourceMappingURL=CodeMirrorRenderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CodeMirrorRenderer.d.ts","sourceRoot":"","sources":["../../src/components/CodeMirrorRenderer.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAMxE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAU3D,YAAY,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAO3D,UAAU,KAAK;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACjF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,OAAO,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,qBAAqB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IACnE,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,YAAY,EAAE,MAAM,CAAC;CACtB;AAyHD,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,QAAa,EACb,QAAQ,EACR,QAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,UAAkB,EAClB,eAAuB,EACvB,aAAqB,EACrB,OAAO,EACP,qBAAqB,EACrB,qBAAqB,EACrB,YAAY,EACb,EAAE,KAAK,2CA8SP"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Component, ErrorInfo, ReactNode } from 'react';
|
|
2
|
-
interface Props {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
fallback?: (error: Error, reset: () => void) => ReactNode;
|
|
5
|
-
onError?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
6
|
-
}
|
|
7
|
-
interface State {
|
|
8
|
-
hasError: boolean;
|
|
9
|
-
error: Error | null;
|
|
10
|
-
errorInfo: ErrorInfo | null;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Generic Error Boundary component that catches JavaScript errors
|
|
14
|
-
* in child components and displays a fallback UI.
|
|
15
|
-
*/
|
|
16
|
-
export declare class ErrorBoundary extends Component<Props, State> {
|
|
17
|
-
constructor(props: Props);
|
|
18
|
-
static getDerivedStateFromError(error: Error): State;
|
|
19
|
-
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
20
|
-
handleReset: () => void;
|
|
21
|
-
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Specialized error boundary for async components
|
|
25
|
-
*/
|
|
26
|
-
export declare function AsyncErrorBoundary({ children }: {
|
|
27
|
-
children: ReactNode;
|
|
28
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export {};
|
|
30
|
-
//# sourceMappingURL=ErrorBoundary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../src/components/ErrorBoundary.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAExD,UAAU,KAAK;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,IAAI,KAAK,SAAS,CAAC;IAC1D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;CACxD;AAED,UAAU,KAAK;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;CAC7B;AAED;;;GAGG;AACH,qBAAa,aAAc,SAAQ,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;gBAC5C,KAAK,EAAE,KAAK;IASxB,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK;IAS3C,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAoB7D,WAAW,aAMT;IAEO,MAAM;CAahB;AAuDD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAgCvE"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Annotator } from '../lib/annotation-registry';
|
|
3
|
-
import type { Annotation } from '@semiont/core';
|
|
4
|
-
interface LiveRegionContextType {
|
|
5
|
-
announce: (message: string, priority?: 'polite' | 'assertive') => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function useLiveRegion(): LiveRegionContextType;
|
|
8
|
-
interface LiveRegionProviderProps {
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare function LiveRegionProvider({ children }: LiveRegionProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare function useSearchAnnouncements(): {
|
|
13
|
-
announceSearchResults: (count: number, query: string) => void;
|
|
14
|
-
announceSearching: () => void;
|
|
15
|
-
};
|
|
16
|
-
export declare function useDocumentAnnouncements(annotators?: Record<string, Annotator>): {
|
|
17
|
-
announceDocumentSaved: () => void;
|
|
18
|
-
announceDocumentDeleted: () => void;
|
|
19
|
-
announceAnnotationCreated: (annotation: Annotation) => void;
|
|
20
|
-
announceAnnotationDeleted: () => void;
|
|
21
|
-
announceAnnotationUpdated: (annotation: Annotation) => void;
|
|
22
|
-
announceError: (message: string) => void;
|
|
23
|
-
};
|
|
24
|
-
export declare function useResourceLoadingAnnouncements(): {
|
|
25
|
-
announceResourceLoading: (resourceName?: string) => void;
|
|
26
|
-
announceResourceLoaded: (resourceName: string) => void;
|
|
27
|
-
announceResourceLoadError: (resourceName?: string) => void;
|
|
28
|
-
announceResourceUpdating: (resourceName: string) => void;
|
|
29
|
-
};
|
|
30
|
-
export declare function useFormAnnouncements(): {
|
|
31
|
-
announceFormSubmitting: () => void;
|
|
32
|
-
announceFormSuccess: (message?: string) => void;
|
|
33
|
-
announceFormError: (message?: string) => void;
|
|
34
|
-
announceFormValidationError: (fieldCount: number) => void;
|
|
35
|
-
};
|
|
36
|
-
export declare function useLanguageChangeAnnouncements(): {
|
|
37
|
-
announceLanguageChanging: (newLanguage: string) => void;
|
|
38
|
-
announceLanguageChanged: (newLanguage: string) => void;
|
|
39
|
-
};
|
|
40
|
-
export {};
|
|
41
|
-
//# sourceMappingURL=LiveRegion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LiveRegion.d.ts","sourceRoot":"","sources":["../../src/components/LiveRegion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,WAAW,KAAK,IAAI,CAAC;CACxE;AAID,wBAAgB,aAAa,0BAO5B;AAED,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE,uBAAuB,2CAuCvE;AAGD,wBAAgB,sBAAsB;mCAGc,MAAM,SAAS,MAAM;;EAgBxE;AAED,wBAAgB,wBAAwB,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC;;;4CAWlB,UAAU;;4CAUV,UAAU;6BAMzB,MAAM;EAYnD;AAGD,wBAAgB,+BAA+B;6CAGe,MAAM;2CAOR,MAAM;+CAIF,MAAM;6CAOR,MAAM;EAUnE;AAGD,wBAAgB,oBAAoB;;oCAOiB,MAAM;kCAIR,MAAM;8CAIM,MAAM;EAapE;AAGD,wBAAgB,8BAA8B;4CAGe,MAAM;2CAIP,MAAM;EAQjE"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ProtectedErrorBoundaryProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
/**
|
|
5
|
-
* Values that, when any change, reset the boundary back to its non-error
|
|
6
|
-
* state. Apps typically pass `[location.pathname]` so navigating away from
|
|
7
|
-
* a crashed page automatically recovers.
|
|
8
|
-
*/
|
|
9
|
-
resetKeys?: unknown[];
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Error boundary for protected (authenticated) routes.
|
|
13
|
-
*
|
|
14
|
-
* Catches unexpected render-time crashes inside the protected tree and
|
|
15
|
-
* shows a generic "something went wrong" fallback with a refresh option.
|
|
16
|
-
*
|
|
17
|
-
* NOT auth-specific. Auth state changes (sign-in, sign-out, expiry) flow
|
|
18
|
-
* through the KnowledgeBaseSession context, not exceptions — so this
|
|
19
|
-
* boundary will never catch an "auth error" in normal operation. Its job
|
|
20
|
-
* is purely to keep a render bug from blanking the screen.
|
|
21
|
-
*
|
|
22
|
-
* The optional `resetKeys` prop lets callers wire automatic recovery on
|
|
23
|
-
* navigation (e.g. `resetKeys={[location.pathname]}`).
|
|
24
|
-
*/
|
|
25
|
-
export declare function ProtectedErrorBoundary({ children, resetKeys, }: ProtectedErrorBoundaryProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=ProtectedErrorBoundary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProtectedErrorBoundary.d.ts","sourceRoot":"","sources":["../../src/components/ProtectedErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,2BAA2B;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;CACvB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,SAAS,GACV,EAAE,2BAA2B,2CAc7B"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import './layout/ResizeHandle.css';
|
|
2
|
-
interface ResizeHandleProps {
|
|
3
|
-
/** Callback fired when resize occurs */
|
|
4
|
-
onResize: (newWidth: number) => void;
|
|
5
|
-
/** Minimum allowed width in pixels */
|
|
6
|
-
minWidth: number;
|
|
7
|
-
/** Maximum allowed width in pixels */
|
|
8
|
-
maxWidth: number;
|
|
9
|
-
/** Position of handle - left or right edge */
|
|
10
|
-
position?: 'left' | 'right';
|
|
11
|
-
/** Aria label for accessibility */
|
|
12
|
-
ariaLabel?: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Draggable resize handle for panels and sidebars
|
|
16
|
-
*
|
|
17
|
-
* Features:
|
|
18
|
-
* - Mouse drag to resize
|
|
19
|
-
* - Keyboard navigation (Arrow keys: ±10px, Shift+Arrow: ±50px)
|
|
20
|
-
* - Enforces min/max constraints
|
|
21
|
-
* - Visual feedback on hover and drag
|
|
22
|
-
* - Accessible (WCAG compliant)
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```tsx
|
|
26
|
-
* <div className="panel" style={{ width: `${width}px` }}>
|
|
27
|
-
* <ResizeHandle
|
|
28
|
-
* onResize={setWidth}
|
|
29
|
-
* minWidth={256}
|
|
30
|
-
* maxWidth={800}
|
|
31
|
-
* position="left"
|
|
32
|
-
* />
|
|
33
|
-
* <div>Panel content</div>
|
|
34
|
-
* </div>
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare function ResizeHandle({ onResize, minWidth, maxWidth, position, ariaLabel }: ResizeHandleProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
export {};
|
|
39
|
-
//# sourceMappingURL=ResizeHandle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResizeHandle.d.ts","sourceRoot":"","sources":["../../src/components/ResizeHandle.tsx"],"names":[],"mappings":"AAGA,OAAO,2BAA2B,CAAC;AAEnC,UAAU,iBAAiB;IACzB,wCAAwC;IACxC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,sCAAsC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAiB,EACjB,SAA0B,EAC3B,EAAE,iBAAiB,2CA6GnB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface ResourceTagsInlineProps {
|
|
2
|
-
resourceId: string;
|
|
3
|
-
tags: string[];
|
|
4
|
-
isEditing: boolean;
|
|
5
|
-
onUpdate: (tags: string[]) => Promise<void>;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function ResourceTagsInline({ tags }: ResourceTagsInlineProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=ResourceTagsInline.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceTagsInline.d.ts","sourceRoot":"","sources":["../../src/components/ResourceTagsInline.tsx"],"names":[],"mappings":"AAEA,UAAU,uBAAuB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,IAAI,EACL,EAAE,uBAAuB,kDAqBzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SessionExpiryBanner.d.ts","sourceRoot":"","sources":["../../src/components/SessionExpiryBanner.tsx"],"names":[],"mappings":"AAKA,wBAAgB,mBAAmB,mDA2ClC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SessionTimer.d.ts","sourceRoot":"","sources":["../../src/components/SessionTimer.tsx"],"names":[],"mappings":"AAKA,wBAAgB,YAAY,mDAW3B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import './StatusDisplay.css';
|
|
2
|
-
interface StatusDisplayProps {
|
|
3
|
-
isFullyAuthenticated?: boolean;
|
|
4
|
-
isAuthenticated?: boolean;
|
|
5
|
-
hasValidBackendToken?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function StatusDisplay({ isFullyAuthenticated, isAuthenticated, hasValidBackendToken }: StatusDisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=StatusDisplay.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StatusDisplay.d.ts","sourceRoot":"","sources":["../../src/components/StatusDisplay.tsx"],"names":[],"mappings":"AAKA,OAAO,qBAAqB,CAAC;AAE7B,UAAU,kBAAkB;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAOD,wBAAgB,aAAa,CAAC,EAC5B,oBAA4B,EAC5B,eAAuB,EACvB,oBAA4B,EAC7B,EAAE,kBAAkB,2CAmGpB"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './Toast.css';
|
|
3
|
-
export type ToastType = 'success' | 'error' | 'info' | 'warning';
|
|
4
|
-
export interface ToastMessage {
|
|
5
|
-
id: string;
|
|
6
|
-
message: string;
|
|
7
|
-
type: ToastType;
|
|
8
|
-
duration?: number;
|
|
9
|
-
}
|
|
10
|
-
interface ToastContainerProps {
|
|
11
|
-
toasts: ToastMessage[];
|
|
12
|
-
onClose: (id: string) => void;
|
|
13
|
-
}
|
|
14
|
-
export declare function ToastContainer({ toasts, onClose }: ToastContainerProps): React.ReactPortal | null;
|
|
15
|
-
interface ToastContextType {
|
|
16
|
-
showToast: (message: string, type?: ToastType, duration?: number) => void;
|
|
17
|
-
showSuccess: (message: string, duration?: number) => void;
|
|
18
|
-
showError: (message: string, duration?: number) => void;
|
|
19
|
-
showWarning: (message: string, duration?: number) => void;
|
|
20
|
-
showInfo: (message: string, duration?: number) => void;
|
|
21
|
-
}
|
|
22
|
-
export declare function ToastProvider({ children }: {
|
|
23
|
-
children: React.ReactNode;
|
|
24
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export declare function useToast(): ToastContextType;
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/components/Toast.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,aAAa,CAAC;AAErB,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAEjE,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AA4DD,UAAU,mBAAmB;IAC3B,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B;AAED,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,mBAAmB,4BAkBtE;AAGD,UAAU,gBAAgB;IACxB,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACxD;AAID,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CA+BxE;AAED,wBAAgB,QAAQ,qBAMvB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import './toolbar/Toolbar.css';
|
|
2
|
-
type ToolbarContext = 'document' | 'simple';
|
|
3
|
-
interface Props<T extends string = string> {
|
|
4
|
-
context: ToolbarContext;
|
|
5
|
-
activePanel: T | null;
|
|
6
|
-
isArchived?: boolean;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Toolbar component for panel navigation
|
|
10
|
-
*
|
|
11
|
-
* @emits panel:toggle - Toggle panel visibility. Payload: { panel: string }
|
|
12
|
-
*/
|
|
13
|
-
export declare function Toolbar<T extends string = string>({ context, activePanel, isArchived }: Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=Toolbar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../src/components/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,uBAAuB,CAAC;AAE/B,KAAK,cAAc,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE5C,UAAU,KAAK,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACvC,OAAO,EAAE,cAAc,CAAC;IACxB,WAAW,EAAE,CAAC,GAAG,IAAI,CAAC;IAGtB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,EACjD,OAAO,EACP,WAAW,EACX,UAAkB,EACnB,EAAE,KAAK,CAAC,CAAC,CAAC,2CA4HV"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserMenuSkeleton.d.ts","sourceRoot":"","sources":["../../src/components/UserMenuSkeleton.tsx"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,4CAU/B"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { Annotator } from '../../lib/annotation-registry';
|
|
2
|
-
import './annotations.css';
|
|
3
|
-
import './annotation-entries.css';
|
|
4
|
-
import './references.css';
|
|
5
|
-
export type SelectionMotivation = 'linking' | 'highlighting' | 'assessing' | 'commenting' | 'tagging';
|
|
6
|
-
export type ClickAction = 'detail' | 'follow' | 'jsonld' | 'deleting';
|
|
7
|
-
export type ShapeType = 'rectangle' | 'circle' | 'polygon';
|
|
8
|
-
interface AnnotateToolbarProps {
|
|
9
|
-
selectedMotivation: SelectionMotivation | null;
|
|
10
|
-
selectedClick: ClickAction;
|
|
11
|
-
showSelectionGroup?: boolean;
|
|
12
|
-
showDeleteButton?: boolean;
|
|
13
|
-
showShapeGroup?: boolean;
|
|
14
|
-
selectedShape?: ShapeType;
|
|
15
|
-
mediaType?: string | null;
|
|
16
|
-
annotateMode: boolean;
|
|
17
|
-
annotators: Record<string, Annotator>;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Toolbar for annotation controls with mode, selection, click, and shape options
|
|
21
|
-
*
|
|
22
|
-
* @emits mark:selection-changed - Selection motivation changed. Payload: { motivation: SelectionMotivation | null }
|
|
23
|
-
* @emits mark:click-changed - Click action mode changed. Payload: { action: ClickAction }
|
|
24
|
-
* @emits mark:shape-changed - Drawing shape changed. Payload: { shape: ShapeType }
|
|
25
|
-
* @emits mark:mode-toggled - View mode toggled between browse and annotate. Payload: undefined
|
|
26
|
-
*/
|
|
27
|
-
export declare function AnnotateToolbar({ selectedMotivation, selectedClick, showSelectionGroup, showDeleteButton, showShapeGroup, selectedShape, mediaType, annotateMode, annotators }: AnnotateToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export {};
|
|
29
|
-
//# sourceMappingURL=AnnotateToolbar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotateToolbar.d.ts","sourceRoot":"","sources":["../../../src/components/annotation/AnnotateToolbar.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,mBAAmB,CAAC;AAC3B,OAAO,0BAA0B,CAAC;AAClC,OAAO,kBAAkB,CAAC;AAE1B,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,cAAc,GAAG,WAAW,GAAG,YAAY,GAAG,SAAS,CAAC;AACtG,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,CAAC;AACtE,MAAM,MAAM,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE3D,UAAU,oBAAoB;IAC5B,kBAAkB,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC/C,aAAa,EAAE,WAAW,CAAC;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG1B,YAAY,EAAE,OAAO,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACvC;AAwED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,EAC9B,kBAAkB,EAClB,aAAa,EACb,kBAAyB,EACzB,gBAAuB,EACvB,cAAsB,EACtB,aAA2B,EAC3B,SAAS,EACT,YAAoB,EACpB,UAAU,EACX,EAAE,oBAAoB,2CAqTtB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Annotation } from '@semiont/core';
|
|
2
|
-
interface JsonLdViewProps {
|
|
3
|
-
annotation: Annotation;
|
|
4
|
-
onBack: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare function JsonLdView({ annotation, onBack }: JsonLdViewProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=JsonLdView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"JsonLdView.d.ts","sourceRoot":"","sources":["../../../src/components/annotation-popups/JsonLdView.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,UAAU,eAAe;IACvB,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,eAAe,2CA2GjE"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface SelectedTextDisplayProps {
|
|
3
|
-
exact: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function SelectedTextDisplay({ exact }: SelectedTextDisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
interface EntityTypeBadgesProps {
|
|
7
|
-
entityTypes: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function EntityTypeBadges({ entityTypes }: EntityTypeBadgesProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
-
interface PopupHeaderProps {
|
|
11
|
-
title: string;
|
|
12
|
-
selectedText?: string;
|
|
13
|
-
onClose: () => void;
|
|
14
|
-
}
|
|
15
|
-
export declare function PopupHeader({ title, selectedText, onClose }: PopupHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
interface PopupContainerProps {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
position: {
|
|
19
|
-
x: number;
|
|
20
|
-
y: number;
|
|
21
|
-
};
|
|
22
|
-
onClose: () => void;
|
|
23
|
-
isOpen: boolean;
|
|
24
|
-
wide?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export declare function PopupContainer({ children, position, onClose, isOpen, wide }: PopupContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=SharedPopupElements.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SharedPopupElements.d.ts","sourceRoot":"","sources":["../../../src/components/annotation-popups/SharedPopupElements.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,wBAAwB;IAChC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,EAAE,wBAAwB,2CAStE;AAED,UAAU,qBAAqB;IAC7B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,WAAW,EAAE,EAAE,qBAAqB,kDAetE;AAED,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAmB7E;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACnC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,IAAY,EAAE,EAAE,mBAAmB,2CAgDxG"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import './Branding.css';
|
|
2
|
-
type TranslateFn = (key: string) => string;
|
|
3
|
-
interface SemiontBrandingProps {
|
|
4
|
-
t: TranslateFn;
|
|
5
|
-
className?: string;
|
|
6
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
7
|
-
showTagline?: boolean;
|
|
8
|
-
animated?: boolean;
|
|
9
|
-
compactTagline?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare function SemiontBranding({ t, className, size, showTagline, animated, compactTagline }: SemiontBrandingProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=SemiontBranding.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SemiontBranding.d.ts","sourceRoot":"","sources":["../../../src/components/branding/SemiontBranding.tsx"],"names":[],"mappings":"AAEA,OAAO,gBAAgB,CAAC;AAExB,KAAK,WAAW,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;AAE3C,UAAU,oBAAoB;IAC5B,CAAC,EAAE,WAAW,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,eAAe,CAAC,EAC9B,CAAC,EACD,SAAc,EACd,IAAW,EACX,WAAkB,EAClB,QAAe,EACf,cAAsB,EACvB,EAAE,oBAAoB,2CAuBtB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ResourceErrorState - Error state component for resource viewer
|
|
3
|
-
*
|
|
4
|
-
* Pure React component - no Next.js dependencies.
|
|
5
|
-
*/
|
|
6
|
-
export interface ResourceErrorStateProps {
|
|
7
|
-
error: unknown;
|
|
8
|
-
onRetry: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare function ResourceErrorState({ error, onRetry }: ResourceErrorStateProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
//# sourceMappingURL=ResourceErrorState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceErrorState.d.ts","sourceRoot":"","sources":["../../../src/components/error-states/ResourceErrorState.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,uBAAuB,2CAe7E"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Annotation } from '@semiont/core';
|
|
2
|
-
import type { SemiontSession } from '@semiont/sdk';
|
|
3
|
-
interface AnnotationOverlayProps {
|
|
4
|
-
annotations: Annotation[];
|
|
5
|
-
imageWidth: number;
|
|
6
|
-
imageHeight: number;
|
|
7
|
-
displayWidth: number;
|
|
8
|
-
displayHeight: number;
|
|
9
|
-
session?: SemiontSession | null | undefined;
|
|
10
|
-
hoveredAnnotationId?: string | null;
|
|
11
|
-
selectedAnnotationId?: string | null;
|
|
12
|
-
hoverDelayMs: number;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Render annotation overlay - displays existing annotations as SVG shapes
|
|
16
|
-
*
|
|
17
|
-
* @emits beckon:hover - Annotation hovered or unhovered. Payload: { annotationId: string | null }
|
|
18
|
-
* @emits browse:click - Annotation clicked. Payload: { annotationId: string, motivation: Motivation }
|
|
19
|
-
*/
|
|
20
|
-
export declare function AnnotationOverlay({ annotations, imageWidth, imageHeight, displayWidth, displayHeight, session, hoveredAnnotationId, selectedAnnotationId, hoverDelayMs }: AnnotationOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export {};
|
|
22
|
-
//# sourceMappingURL=AnnotationOverlay.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnnotationOverlay.d.ts","sourceRoot":"","sources":["../../../src/components/image-annotation/AnnotationOverlay.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,UAAU,sBAAsB;IAC9B,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,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,EAAE,MAAM,CAAC;CACtB;AAyCD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,WAAW,EACX,UAAU,EACV,WAAW,EACX,YAAY,EACZ,aAAa,EACb,OAAO,EACP,mBAAmB,EACnB,oBAAoB,EACpB,YAAY,EACb,EAAE,sBAAsB,2CAiMxB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Annotation } from '@semiont/core';
|
|
2
|
-
import type { SelectionMotivation } from '../annotation/AnnotateToolbar';
|
|
3
|
-
import type { SemiontSession } from '@semiont/sdk';
|
|
4
|
-
export type DrawingMode = 'rectangle' | 'polygon' | 'circle' | 'freeform' | null;
|
|
5
|
-
interface SvgDrawingCanvasProps {
|
|
6
|
-
imageUrl: string;
|
|
7
|
-
existingAnnotations?: Annotation[];
|
|
8
|
-
drawingMode: DrawingMode;
|
|
9
|
-
selectedMotivation?: SelectionMotivation | null;
|
|
10
|
-
session?: SemiontSession | null | undefined;
|
|
11
|
-
hoveredAnnotationId?: string | null;
|
|
12
|
-
selectedAnnotationId?: string | null;
|
|
13
|
-
hoverDelayMs?: number;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* SVG-based drawing canvas for creating image annotations with shapes
|
|
17
|
-
*
|
|
18
|
-
* @emits browse:click - Annotation clicked on canvas. Payload: { annotationId: string, motivation: Motivation }
|
|
19
|
-
* @emits mark:requested - New annotation drawn on canvas. Payload: { selector: SvgSelector, motivation: SelectionMotivation }
|
|
20
|
-
*/
|
|
21
|
-
export declare function SvgDrawingCanvas({ imageUrl, existingAnnotations, drawingMode, selectedMotivation, session, hoveredAnnotationId, selectedAnnotationId }: SvgDrawingCanvasProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export {};
|
|
23
|
-
//# sourceMappingURL=SvgDrawingCanvas.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SvgDrawingCanvas.d.ts","sourceRoot":"","sources":["../../../src/components/image-annotation/SvgDrawingCanvas.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAGnD,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,IAAI,CAAC;AAyBjF,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,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;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,mBAAwB,EACxB,WAAW,EACX,kBAAkB,EAClB,OAAO,EACP,mBAAmB,EACnB,oBAAoB,EACrB,EAAE,qBAAqB,2CAgWvB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { LinkComponentProps, RouteBuilder } from '../../contexts/RoutingContext';
|
|
3
|
-
import type { TranslateFn } from '../../types/translation';
|
|
4
|
-
import './LeftSidebar.css';
|
|
5
|
-
export interface NavigationMenuHelper {
|
|
6
|
-
(onClose: () => void): React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
interface LeftSidebarProps {
|
|
9
|
-
Link: React.ComponentType<LinkComponentProps>;
|
|
10
|
-
routes: RouteBuilder;
|
|
11
|
-
t: TranslateFn;
|
|
12
|
-
tHome: TranslateFn;
|
|
13
|
-
children: React.ReactNode | ((isCollapsed: boolean, toggleCollapsed: () => void, navigationMenu: NavigationMenuHelper) => React.ReactNode);
|
|
14
|
-
brandingLink?: string;
|
|
15
|
-
collapsible?: boolean;
|
|
16
|
-
storageKey?: string;
|
|
17
|
-
isAuthenticated?: boolean;
|
|
18
|
-
isAdmin?: boolean;
|
|
19
|
-
isModerator?: boolean;
|
|
20
|
-
currentPath?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function LeftSidebar({ Link, routes, t, tHome, children, brandingLink, collapsible, storageKey, isAdmin, isModerator, currentPath }: LeftSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export {};
|
|
24
|
-
//# sourceMappingURL=LeftSidebar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LeftSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/layout/LeftSidebar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,mBAAmB,CAAC;AAE3B,MAAM,WAAW,oBAAoB;IACnC,CAAC,OAAO,EAAE,MAAM,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC;CACxC;AAED,UAAU,gBAAgB;IACxB,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,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAC3B,WAAW,EAAE,OAAO,EACpB,eAAe,EAAE,MAAM,IAAI,EAC3B,cAAc,EAAE,oBAAoB,KACjC,KAAK,CAAC,SAAS,CAAC,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,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,WAAW,CAAC,EAC1B,IAAI,EACJ,MAAM,EACN,CAAC,EACD,KAAK,EACL,QAAQ,EACR,YAAkB,EAClB,WAAmB,EACnB,UAAmC,EACnC,OAAe,EACf,WAAmB,EACnB,WAAW,EACZ,EAAE,gBAAgB,2CAsGlB"}
|
|
@@ -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
|
-
interface PageLayoutProps {
|
|
5
|
-
Link: React.ComponentType<LinkComponentProps>;
|
|
6
|
-
routes: RouteBuilder;
|
|
7
|
-
t: TranslateFn;
|
|
8
|
-
tNav: TranslateFn;
|
|
9
|
-
tHome: TranslateFn;
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
className?: string;
|
|
12
|
-
showAuthLinks?: boolean;
|
|
13
|
-
CookiePreferences?: React.ComponentType<{
|
|
14
|
-
isOpen: boolean;
|
|
15
|
-
onClose: () => void;
|
|
16
|
-
}>;
|
|
17
|
-
onOpenKeyboardHelp?: () => void;
|
|
18
|
-
}
|
|
19
|
-
export declare function PageLayout({ Link, routes, t, tNav, tHome, children, className, showAuthLinks, CookiePreferences, onOpenKeyboardHelp }: PageLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=PageLayout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../../src/components/layout/PageLayout.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;AAE3D,UAAU,eAAe;IACvB,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IAC9C,MAAM,EAAE,YAAY,CAAC;IACrB,CAAC,EAAE,WAAW,CAAC;IACf,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,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;CACjC;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,MAAM,EACN,CAAC,EACD,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,SAAc,EACd,aAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EACnB,EAAE,eAAe,2CAqCjB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import './SkipLinks.css';
|
|
2
|
-
/**
|
|
3
|
-
* Skip links for keyboard navigation accessibility
|
|
4
|
-
* These links are visually hidden but become visible when focused
|
|
5
|
-
* They allow keyboard users to quickly jump to main content areas
|
|
6
|
-
*/
|
|
7
|
-
export declare function SkipLinks(): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
//# sourceMappingURL=SkipLinks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SkipLinks.d.ts","sourceRoot":"","sources":["../../../src/components/layout/SkipLinks.tsx"],"names":[],"mappings":"AAEA,OAAO,iBAAiB,CAAC;AAEzB;;;;GAIG;AACH,wBAAgB,SAAS,4CAyBxB"}
|