@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EntityTagsPage.d.ts","sourceRoot":"","sources":["../../../../src/features/moderate-entity-tags/components/EntityTagsPage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,WAAW,mBAAmB;IAElC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAGxC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IAGrB,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACnC,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,gBAAgB,EAAE,MAAM,CAAC;QACzB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IAGF,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACxC,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,wBAAgB,cAAc,CAAC,EAC7B,WAAW,EACX,KAAK,EACL,MAAM,EACN,cAAc,EACd,QAAQ,EACR,WAAW,EACX,KAAK,EACL,eAAe,EACf,WAAW,EACX,YAAY,EAAE,CAAC,EACf,aAAa,EACb,OAAO,GACR,EAAE,mBAAmB,2CAoGrB"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import type { StateUnit } from '@semiont/sdk';
|
|
3
|
-
import type { ShellStateUnit } from '../../../state/shell-state-unit';
|
|
4
|
-
import type { SemiontClient } from '@semiont/sdk';
|
|
5
|
-
export interface EntityTagsStateUnit extends StateUnit {
|
|
6
|
-
browse: ShellStateUnit;
|
|
7
|
-
entityTypes$: Observable<string[]>;
|
|
8
|
-
isLoading$: Observable<boolean>;
|
|
9
|
-
newTag$: Observable<string>;
|
|
10
|
-
error$: Observable<string>;
|
|
11
|
-
isAdding$: Observable<boolean>;
|
|
12
|
-
setNewTag(value: string): void;
|
|
13
|
-
addTag(): Promise<void>;
|
|
14
|
-
}
|
|
15
|
-
export declare function createEntityTagsStateUnit(client: SemiontClient, browse: ShellStateUnit): EntityTagsStateUnit;
|
|
16
|
-
//# sourceMappingURL=entity-tags-state-unit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity-tags-state-unit.d.ts","sourceRoot":"","sources":["../../../../src/features/moderate-entity-tags/state/entity-tags-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAO,MAAM,MAAM,CAAC;AAE7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,MAAM,EAAE,cAAc,CAAC;IACvB,YAAY,EAAE,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;IACnC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAChC,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC5B,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC3B,SAAS,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC/B,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACzB;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,cAAc,GACrB,mBAAmB,CA2CrB"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* RecentDocumentsPage Component
|
|
3
|
-
*
|
|
4
|
-
* Pure React component for viewing recent documents.
|
|
5
|
-
* All dependencies passed as props - no Next.js hooks!
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
export interface RecentDocumentsPageProps {
|
|
9
|
-
hasDocuments: boolean;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
theme: 'light' | 'dark' | 'system';
|
|
12
|
-
showLineNumbers: boolean;
|
|
13
|
-
activePanel: string | null;
|
|
14
|
-
translations: {
|
|
15
|
-
pageTitle: string;
|
|
16
|
-
pageDescription: string;
|
|
17
|
-
sectionTitle: string;
|
|
18
|
-
sectionDescription: string;
|
|
19
|
-
noDocuments: string;
|
|
20
|
-
activityWillAppear: string;
|
|
21
|
-
loading: string;
|
|
22
|
-
};
|
|
23
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
24
|
-
Toolbar: React.ComponentType<any>;
|
|
25
|
-
}
|
|
26
|
-
export declare function RecentDocumentsPage({ isLoading, theme, showLineNumbers, activePanel, translations: t, ToolbarPanels, Toolbar, }: RecentDocumentsPageProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
//# sourceMappingURL=RecentDocumentsPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecentDocumentsPage.d.ts","sourceRoot":"","sources":["../../../../src/features/moderate-recent/components/RecentDocumentsPage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,wBAAwB;IAEvC,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IAGnB,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACnC,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,CAAC;QACrB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,WAAW,EAAE,MAAM,CAAC;QACpB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IAGF,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACxC,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,KAAK,EACL,eAAe,EACf,WAAW,EACX,YAAY,EAAE,CAAC,EACf,aAAa,EACb,OAAO,GACR,EAAE,wBAAwB,2CA+D1B"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TagSchemasPage Component
|
|
3
|
-
*
|
|
4
|
-
* Pure React component for viewing tag schemas.
|
|
5
|
-
* All dependencies passed as props - no Next.js hooks!
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import type { TagSchema } from '@semiont/sdk';
|
|
9
|
-
export interface TagSchemasPageProps {
|
|
10
|
-
schemas: TagSchema[];
|
|
11
|
-
isLoading: boolean;
|
|
12
|
-
theme: 'light' | 'dark' | 'system';
|
|
13
|
-
showLineNumbers: boolean;
|
|
14
|
-
activePanel: string | null;
|
|
15
|
-
translations: {
|
|
16
|
-
pageTitle: string;
|
|
17
|
-
pageDescription: string;
|
|
18
|
-
categories: string;
|
|
19
|
-
loading: string;
|
|
20
|
-
};
|
|
21
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
22
|
-
Toolbar: React.ComponentType<any>;
|
|
23
|
-
}
|
|
24
|
-
export declare function TagSchemasPage({ schemas, isLoading, theme, showLineNumbers, activePanel, translations: t, ToolbarPanels, Toolbar, }: TagSchemasPageProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
//# sourceMappingURL=TagSchemasPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TagSchemasPage.d.ts","sourceRoot":"","sources":["../../../../src/features/moderate-tag-schemas/components/TagSchemasPage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,mBAAmB;IAElC,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IAGnB,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACnC,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,eAAe,EAAE,MAAM,CAAC;QACxB,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IAGF,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACxC,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;CACnC;AAcD,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,SAAS,EACT,KAAK,EACL,eAAe,EACf,WAAW,EACX,YAAY,EAAE,CAAC,EACf,aAAa,EACb,OAAO,GACR,EAAE,mBAAmB,2CAwGrB"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LinkedDataPage — JSON-LD Export/Import moderation page
|
|
3
|
-
*
|
|
4
|
-
* Pure React component. All state and handlers passed as props.
|
|
5
|
-
* Reuses ExportCard, ImportCard, and ImportProgress from admin-exchange.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { type ExportCardTranslations } from '../../admin-exchange/components/ExportCard';
|
|
9
|
-
import { type ImportCardProps, type ImportCardTranslations } from '../../admin-exchange/components/ImportCard';
|
|
10
|
-
import { type ImportProgressTranslations } from '../../admin-exchange/components/ImportProgress';
|
|
11
|
-
export interface LinkedDataPageTranslations {
|
|
12
|
-
title: string;
|
|
13
|
-
subtitle: string;
|
|
14
|
-
export: ExportCardTranslations;
|
|
15
|
-
import: ImportCardTranslations;
|
|
16
|
-
progress: ImportProgressTranslations;
|
|
17
|
-
}
|
|
18
|
-
export interface LinkedDataPageProps {
|
|
19
|
-
onExport: () => void;
|
|
20
|
-
isExporting: boolean;
|
|
21
|
-
onFileSelected: (file: File) => void;
|
|
22
|
-
onImport: () => void;
|
|
23
|
-
onCancelImport: () => void;
|
|
24
|
-
selectedFile: File | null;
|
|
25
|
-
preview: ImportCardProps['preview'];
|
|
26
|
-
isImporting: boolean;
|
|
27
|
-
importPhase: string | null;
|
|
28
|
-
importMessage?: string | undefined;
|
|
29
|
-
importResult?: Record<string, unknown> | undefined;
|
|
30
|
-
theme: 'light' | 'dark' | 'system';
|
|
31
|
-
showLineNumbers: boolean;
|
|
32
|
-
activePanel: string | null;
|
|
33
|
-
translations: LinkedDataPageTranslations;
|
|
34
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
35
|
-
Toolbar: React.ComponentType<any>;
|
|
36
|
-
}
|
|
37
|
-
export declare function LinkedDataPage({ onExport, isExporting, onFileSelected, onImport, onCancelImport, selectedFile, preview, isImporting, importPhase, importMessage, importResult, theme, showLineNumbers, activePanel, translations: t, ToolbarPanels, Toolbar, }: LinkedDataPageProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
//# sourceMappingURL=LinkedDataPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LinkedDataPage.d.ts","sourceRoot":"","sources":["../../../../src/features/moderation-linked-data/components/LinkedDataPage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACrG,OAAO,EAAc,KAAK,eAAe,EAAE,KAAK,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ACX,aAAa,EACb,YAAY,EACZ,KAAK,EACL,eAAe,EACf,WAAW,EACX,YAAY,EAAE,CAAC,EACf,aAAa,EACb,OAAO,GACR,EAAE,mBAAmB,2CAkDrB"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ResourceComposePage Component
|
|
3
|
-
*
|
|
4
|
-
* Pure React component for creating and editing resources.
|
|
5
|
-
* Supports three modes: new resource, clone, and reference completion.
|
|
6
|
-
* All dependencies passed as props - no Next.js hooks!
|
|
7
|
-
*/
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import type { GatheredContext } from '@semiont/core';
|
|
10
|
-
import type { UploadProgress } from '@semiont/sdk';
|
|
11
|
-
import { type CloneData, type ReferenceData } from '../state/compose-page-state-unit';
|
|
12
|
-
export interface ResourceComposePageProps {
|
|
13
|
-
mode: 'new' | 'clone' | 'reference';
|
|
14
|
-
cloneData?: CloneData | null;
|
|
15
|
-
referenceData?: ReferenceData | null;
|
|
16
|
-
gatheredContext?: GatheredContext | null;
|
|
17
|
-
availableEntityTypes: string[];
|
|
18
|
-
initialLocale: string;
|
|
19
|
-
theme: 'light' | 'dark';
|
|
20
|
-
showLineNumbers: boolean;
|
|
21
|
-
hoverDelayMs: number;
|
|
22
|
-
activePanel: string | null;
|
|
23
|
-
onSaveResource: (params: SaveResourceParams) => Promise<void>;
|
|
24
|
-
onCancel: () => void;
|
|
25
|
-
/**
|
|
26
|
-
* Live upload-progress for the in-flight save. Resolved by the route
|
|
27
|
-
* shell from `composeVM.uploadProgress$`. `null` between saves and
|
|
28
|
-
* after completion. When non-null, the form disables Save and the
|
|
29
|
-
* inline `<UploadProgressBar />` below the action buttons renders.
|
|
30
|
-
*/
|
|
31
|
-
uploadProgress?: UploadProgress | null;
|
|
32
|
-
translations: {
|
|
33
|
-
title: string;
|
|
34
|
-
titleEditClone: string;
|
|
35
|
-
titleCompleteReference: string;
|
|
36
|
-
subtitleClone: string;
|
|
37
|
-
subtitleReference: string;
|
|
38
|
-
linkedNoticePrefix: string;
|
|
39
|
-
resourceName: string;
|
|
40
|
-
resourceNamePlaceholder: string;
|
|
41
|
-
entityTypes: string;
|
|
42
|
-
language: string;
|
|
43
|
-
contentSource: string;
|
|
44
|
-
uploadFile: string;
|
|
45
|
-
uploadFileDescription: string;
|
|
46
|
-
writeContent: string;
|
|
47
|
-
writeContentDescription: string;
|
|
48
|
-
dropFileOrClick: string;
|
|
49
|
-
supportedFormats: string;
|
|
50
|
-
mediaType: string;
|
|
51
|
-
autoDetected: string;
|
|
52
|
-
format: string;
|
|
53
|
-
content: string;
|
|
54
|
-
resourceContent: string;
|
|
55
|
-
encoding: string;
|
|
56
|
-
archiveOriginal: string;
|
|
57
|
-
cancel: string;
|
|
58
|
-
saving: string;
|
|
59
|
-
creating: string;
|
|
60
|
-
creatingAndLinking: string;
|
|
61
|
-
saveClonedResource: string;
|
|
62
|
-
createAndLinkResource: string;
|
|
63
|
-
createResource: string;
|
|
64
|
-
};
|
|
65
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
66
|
-
Toolbar: React.ComponentType<any>;
|
|
67
|
-
}
|
|
68
|
-
export interface SaveResourceParams {
|
|
69
|
-
mode: 'new' | 'clone' | 'reference';
|
|
70
|
-
name: string;
|
|
71
|
-
storageUri: string;
|
|
72
|
-
content?: string;
|
|
73
|
-
file?: File;
|
|
74
|
-
format?: string;
|
|
75
|
-
charset?: string;
|
|
76
|
-
entityTypes?: string[];
|
|
77
|
-
language: string;
|
|
78
|
-
archiveOriginal?: boolean;
|
|
79
|
-
annotationUri?: string;
|
|
80
|
-
sourceDocumentId?: string;
|
|
81
|
-
}
|
|
82
|
-
export declare function ResourceComposePage({ mode, cloneData, referenceData, gatheredContext, availableEntityTypes, initialLocale, theme, showLineNumbers, hoverDelayMs, activePanel, onSaveResource, onCancel, uploadProgress, translations: t, ToolbarPanels, Toolbar, }: ResourceComposePageProps): import("react/jsx-runtime").JSX.Element;
|
|
83
|
-
//# sourceMappingURL=ResourceComposePage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceComposePage.d.ts","sourceRoot":"","sources":["../../../../src/features/resource-compose/components/ResourceComposePage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAOtF,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,KAAK,GAAG,OAAO,GAAG,WAAW,CAAC;IACpC,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAGzC,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAG/B,aAAa,EAAE,MAAM,CAAC;IAGtB,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAG3B,cAAc,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAGvC,YAAY,EAAE;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,cAAc,EAAE,MAAM,CAAC;QACvB,sBAAsB,EAAE,MAAM,CAAC;QAC/B,aAAa,EAAE,MAAM,CAAC;QACtB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,kBAAkB,EAAE,MAAM,CAAC;QAC3B,YAA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,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,SAAS,EACT,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,KAAK,EACL,eAAe,EACf,YAAY,EACZ,WAAW,EACX,cAAc,EACd,QAAQ,EACR,cAAqB,EACrB,YAAY,EAAE,CAAC,EACf,aAAa,EACb,OAAO,GACR,EAAE,wBAAwB,2CA2kB1B"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Inline upload-progress affordance for the compose page.
|
|
3
|
-
*
|
|
4
|
-
* Subscribes (via prop) to a `UploadProgress | null` value derived from
|
|
5
|
-
* `composeVM.uploadProgress$`. Renders nothing when null; renders an
|
|
6
|
-
* indeterminate state on `started`; renders a labeled bar with byte
|
|
7
|
-
* counts on `progress`; renders a brief "Uploaded" success state on
|
|
8
|
-
* `finished` (cleared by the state unit's `null` push on complete).
|
|
9
|
-
*
|
|
10
|
-
* Designed to live below the Save button in the compose form so the
|
|
11
|
-
* visual association with the action that triggered the upload is
|
|
12
|
-
* direct. Uses the existing `.semiont-progress` styles in
|
|
13
|
-
* `packages/react-ui/src/styles/core/progress.css`.
|
|
14
|
-
*/
|
|
15
|
-
import React from 'react';
|
|
16
|
-
import type { UploadProgress } from '@semiont/sdk';
|
|
17
|
-
export interface UploadProgressBarProps {
|
|
18
|
-
progress: UploadProgress | null;
|
|
19
|
-
/** Optional label for the "starting" / "uploaded" lines. Defaults to "Upload". */
|
|
20
|
-
label?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function UploadProgressBar({ progress, label }: UploadProgressBarProps): React.ReactElement | null;
|
|
23
|
-
//# sourceMappingURL=UploadProgressBar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UploadProgressBar.d.ts","sourceRoot":"","sources":["../../../../src/features/resource-compose/components/UploadProgressBar.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IAChC,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,KAAgB,EAAE,EAAE,sBAAsB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CA4DnH"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import type { GatheredContext, AccessToken, ResourceDescriptor } from '@semiont/core';
|
|
3
|
-
import type { StateUnit } from '@semiont/sdk';
|
|
4
|
-
import type { ShellStateUnit } from '../../../state/shell-state-unit';
|
|
5
|
-
import type { SemiontClient } from '@semiont/sdk';
|
|
6
|
-
import type { UploadProgress } from '@semiont/sdk';
|
|
7
|
-
export type ComposeMode = 'new' | 'clone' | 'reference';
|
|
8
|
-
export interface ComposeParams {
|
|
9
|
-
mode?: string | undefined;
|
|
10
|
-
token?: string | undefined;
|
|
11
|
-
annotationUri?: string | undefined;
|
|
12
|
-
sourceDocumentId?: string | undefined;
|
|
13
|
-
name?: string | undefined;
|
|
14
|
-
entityTypes?: string | undefined;
|
|
15
|
-
storedContext?: string | undefined;
|
|
16
|
-
}
|
|
17
|
-
export interface CloneData {
|
|
18
|
-
sourceResource: ResourceDescriptor;
|
|
19
|
-
sourceContent: string;
|
|
20
|
-
}
|
|
21
|
-
export interface ReferenceData {
|
|
22
|
-
annotationUri: string;
|
|
23
|
-
sourceDocumentId: string;
|
|
24
|
-
name: string;
|
|
25
|
-
entityTypes: string[];
|
|
26
|
-
}
|
|
27
|
-
export interface SaveResourceParams {
|
|
28
|
-
mode: ComposeMode;
|
|
29
|
-
name: string;
|
|
30
|
-
storageUri: string;
|
|
31
|
-
content?: string;
|
|
32
|
-
file?: File;
|
|
33
|
-
format?: string;
|
|
34
|
-
charset?: string;
|
|
35
|
-
entityTypes?: string[];
|
|
36
|
-
language: string;
|
|
37
|
-
archiveOriginal?: boolean;
|
|
38
|
-
annotationUri?: string;
|
|
39
|
-
sourceDocumentId?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface ComposePageStateUnit extends StateUnit {
|
|
42
|
-
browse: ShellStateUnit;
|
|
43
|
-
mode$: Observable<ComposeMode>;
|
|
44
|
-
loading$: Observable<boolean>;
|
|
45
|
-
cloneData$: Observable<CloneData | null>;
|
|
46
|
-
referenceData$: Observable<ReferenceData | null>;
|
|
47
|
-
gatheredContext$: Observable<GatheredContext | null>;
|
|
48
|
-
entityTypes$: Observable<string[]>;
|
|
49
|
-
/**
|
|
50
|
-
* Live upload-progress for the in-flight `save(...)` call. Emits the
|
|
51
|
-
* full `UploadProgress` lifecycle (started → finished) while a save is
|
|
52
|
-
* underway; resets to `null` between saves and after completion. UI
|
|
53
|
-
* components can subscribe to render an upload-in-progress indicator.
|
|
54
|
-
*/
|
|
55
|
-
uploadProgress$: Observable<UploadProgress | null>;
|
|
56
|
-
save(params: SaveResourceParams): Promise<string>;
|
|
57
|
-
}
|
|
58
|
-
export declare function createComposePageStateUnit(client: SemiontClient, browse: ShellStateUnit, params: ComposeParams, auth?: AccessToken): ComposePageStateUnit;
|
|
59
|
-
//# sourceMappingURL=compose-page-state-unit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"compose-page-state-unit.d.ts","sourceRoot":"","sources":["../../../../src/features/resource-compose/state/compose-page-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAO,MAAM,MAAM,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAA+B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C,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAC/B,QAAQ,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC9B,UAAU,EAAE,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC,CAAC;IACzC,cAAc,EAAE,UAAU,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IACjD,gBAAgB,EAAE,UAAU,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IACrD,YAAY,EAAE,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;IACnC;;;;;OAKG;IACH,eAAe,EAAE,UAAU,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACnD,IAAI,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACnD;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,cAAc,EACtB,MAAM,EAAE,aAAa,EACrB,IAAI,CAAC,EAAE,WAAW,GACjB,oBAAoB,CAuItB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ResourceCard Component
|
|
3
|
-
*
|
|
4
|
-
* Pure component for displaying a single resource in the discovery grid.
|
|
5
|
-
* Handles keyboard navigation and accessibility.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import type { ResourceDescriptor } from '@semiont/core';
|
|
9
|
-
export interface ResourceCardProps {
|
|
10
|
-
resource: ResourceDescriptor;
|
|
11
|
-
onOpen: (resource: ResourceDescriptor) => void;
|
|
12
|
-
tabIndex?: number;
|
|
13
|
-
archivedLabel: string;
|
|
14
|
-
createdLabel: string;
|
|
15
|
-
}
|
|
16
|
-
export declare const ResourceCard: React.MemoExoticComponent<({ resource, onOpen, tabIndex, archivedLabel, createdLabel }: ResourceCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
17
|
-
//# sourceMappingURL=ResourceCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceCard.d.ts","sourceRoot":"","sources":["../../../../src/features/resource-discovery/components/ResourceCard.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,MAAM,EAAE,CAAC,QAAQ,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,0FAMtB,iBAAiB,6CA+ClB,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ResourceDiscoveryPage Component
|
|
3
|
-
*
|
|
4
|
-
* Pure React component for resource discovery and search.
|
|
5
|
-
* All dependencies passed as props - no Next.js hooks!
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import type { ResourceDescriptor } from '@semiont/core';
|
|
9
|
-
export interface ResourceDiscoveryPageProps {
|
|
10
|
-
recentDocuments: ResourceDescriptor[];
|
|
11
|
-
searchDocuments: ResourceDescriptor[];
|
|
12
|
-
entityTypes: string[];
|
|
13
|
-
isLoadingRecent: boolean;
|
|
14
|
-
isSearching: boolean;
|
|
15
|
-
searchQuery: string;
|
|
16
|
-
onSearchQueryChange: (query: string) => void;
|
|
17
|
-
theme: 'light' | 'dark';
|
|
18
|
-
showLineNumbers: boolean;
|
|
19
|
-
activePanel: string | null;
|
|
20
|
-
onNavigateToResource: (resourceId: string) => void;
|
|
21
|
-
onNavigateToCompose: () => void;
|
|
22
|
-
translations: {
|
|
23
|
-
title: string;
|
|
24
|
-
subtitle: string;
|
|
25
|
-
searchPlaceholder: string;
|
|
26
|
-
searchButton: string;
|
|
27
|
-
searching: string;
|
|
28
|
-
filterByEntityType: string;
|
|
29
|
-
all: string;
|
|
30
|
-
recentResources: string;
|
|
31
|
-
searchResults: (count: number) => string;
|
|
32
|
-
documentsTaggedWith: (entityType: string) => string;
|
|
33
|
-
noResultsFound: (query: string) => string;
|
|
34
|
-
noResourcesAvailable: string;
|
|
35
|
-
composeFirstResource: string;
|
|
36
|
-
archived: string;
|
|
37
|
-
created: string;
|
|
38
|
-
loadingKnowledgeBase: string;
|
|
39
|
-
};
|
|
40
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
41
|
-
}
|
|
42
|
-
export declare function ResourceDiscoveryPage({ recentDocuments, searchDocuments, entityTypes, isLoadingRecent, isSearching, searchQuery, onSearchQueryChange, theme, showLineNumbers, activePanel, onNavigateToResource, onNavigateToCompose, translations: t, ToolbarPanels, }: ResourceDiscoveryPageProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
//# sourceMappingURL=ResourceDiscoveryPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceDiscoveryPage.d.ts","sourceRoot":"","sources":["../../../../src/features/resource-discovery/components/ResourceDiscoveryPage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAwC,MAAM,OAAO,CAAC;AAO7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,MAAM,WAAW,0BAA0B;IAEzC,eAAe,EAAE,kBAAkB,EAAE,CAAC;IACtC,eAAe,EAAE,kBAAkB,EAAE,CAAC;IACtC,WAAW,EAAE,M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B,EACpB,mBAAmB,EACnB,YAAY,EAAE,CAAC,EACf,aAAa,GACd,EAAE,0BAA0B,2CAqM5B"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import type { ResourceDescriptor } from '@semiont/core';
|
|
3
|
-
import type { StateUnit } from '@semiont/sdk';
|
|
4
|
-
import type { ShellStateUnit } from '../../../state/shell-state-unit';
|
|
5
|
-
import { type SearchPipeline } from '@semiont/sdk';
|
|
6
|
-
import type { SemiontClient } from '@semiont/sdk';
|
|
7
|
-
export interface DiscoverStateUnit extends StateUnit {
|
|
8
|
-
browse: ShellStateUnit;
|
|
9
|
-
search: SearchPipeline<ResourceDescriptor>;
|
|
10
|
-
recentResources$: Observable<ResourceDescriptor[]>;
|
|
11
|
-
entityTypes$: Observable<string[]>;
|
|
12
|
-
isLoadingRecent$: Observable<boolean>;
|
|
13
|
-
}
|
|
14
|
-
export declare function createDiscoverStateUnit(client: SemiontClient, browse: ShellStateUnit): DiscoverStateUnit;
|
|
15
|
-
//# sourceMappingURL=discover-state-unit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"discover-state-unit.d.ts","sourceRoot":"","sources":["../../../../src/features/resource-discovery/state/discover-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAKlD,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,MAAM,EAAE,cAAc,CAAC;IACvB,MAAM,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAC;IAC3C,gBAAgB,EAAE,UAAU,CAAC,kBAAkB,EAAE,CAAC,CAAC;IACnD,YAAY,EAAE,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;IACnC,gBAAgB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CACvC;AAED,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,cAAc,GACrB,iBAAiB,CA+BnB"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ResourceViewerPage - Self-contained resource viewer component
|
|
3
|
-
*
|
|
4
|
-
* Handles all data loading, event subscriptions, and side effects internally.
|
|
5
|
-
* Only requires minimal props from the framework layer (routing, modals).
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import type { ResourceDescriptor, ResourceId } from '@semiont/core';
|
|
9
|
-
import type { ConnectionState } from '@semiont/core';
|
|
10
|
-
type SemiontResource = ResourceDescriptor;
|
|
11
|
-
export interface ResourceViewerPageProps {
|
|
12
|
-
/**
|
|
13
|
-
* The resource to display
|
|
14
|
-
*/
|
|
15
|
-
resource: SemiontResource;
|
|
16
|
-
/**
|
|
17
|
-
* Resource URI
|
|
18
|
-
*/
|
|
19
|
-
rUri: ResourceId;
|
|
20
|
-
/**
|
|
21
|
-
* Current locale
|
|
22
|
-
*/
|
|
23
|
-
locale: string;
|
|
24
|
-
/**
|
|
25
|
-
* Link component for routing
|
|
26
|
-
*/
|
|
27
|
-
Link: React.ComponentType<any>;
|
|
28
|
-
/**
|
|
29
|
-
* Routes configuration
|
|
30
|
-
*/
|
|
31
|
-
routes: any;
|
|
32
|
-
/**
|
|
33
|
-
* Component dependencies - passed from framework layer
|
|
34
|
-
*/
|
|
35
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
36
|
-
/**
|
|
37
|
-
* Callback to refetch document from parent
|
|
38
|
-
*/
|
|
39
|
-
refetchDocument: () => Promise<unknown>;
|
|
40
|
-
/**
|
|
41
|
-
* Bus connection state for the active workspace. Six-valued state
|
|
42
|
-
* machine from `actor.state$`; CollaborationPanel maps it to the
|
|
43
|
-
* "Live" / "Disconnected" visual.
|
|
44
|
-
*/
|
|
45
|
-
streamStatus: ConnectionState;
|
|
46
|
-
/**
|
|
47
|
-
* Name of the active knowledge base (for display in panels)
|
|
48
|
-
*/
|
|
49
|
-
knowledgeBaseName?: string | undefined;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* ResourceViewerPage - Main component
|
|
53
|
-
*
|
|
54
|
-
* Uses hooks directly (NO containers, NO render props, NO ResourceViewerPageContent wrapper)
|
|
55
|
-
*
|
|
56
|
-
* @emits nav:push - Navigate to a resource or filtered view
|
|
57
|
-
* @emits beckon:sparkle - Trigger sparkle animation on an annotation
|
|
58
|
-
* @emits bind:update-body - Update annotation body content
|
|
59
|
-
* @subscribes mark:archive - Archive the current resource
|
|
60
|
-
* @subscribes mark:unarchive - Unarchive the current resource
|
|
61
|
-
* @subscribes yield:clone - Clone the current resource
|
|
62
|
-
* @subscribes beckon:sparkle - Trigger sparkle animation
|
|
63
|
-
* @subscribes mark:added - Annotation was created
|
|
64
|
-
* @subscribes mark:removed - Annotation was deleted
|
|
65
|
-
* @subscribes mark:create-failed - Annotation creation failed
|
|
66
|
-
* @subscribes mark:delete-failed - Annotation deletion failed
|
|
67
|
-
* @subscribes mark:body-updated - Annotation body was updated
|
|
68
|
-
* @subscribes annotate:body-update-failed - Annotation body update failed
|
|
69
|
-
* @subscribes settings:theme-changed - UI theme changed
|
|
70
|
-
* @subscribes settings:line-numbers-toggled - Line numbers display toggled
|
|
71
|
-
* @subscribes detection:complete - Detection completed
|
|
72
|
-
* @subscribes detection:failed - Detection failed
|
|
73
|
-
* @subscribes generation:complete - Generation completed
|
|
74
|
-
* @subscribes generation:failed - Generation failed
|
|
75
|
-
* @subscribes browse:reference-navigate - Navigate to a referenced document
|
|
76
|
-
* @subscribes browse:entity-type-clicked - Navigate filtered by entity type
|
|
77
|
-
*/
|
|
78
|
-
export declare function ResourceViewerPage({ resource, rUri, locale, Link, routes, ToolbarPanels, refetchDocument, streamStatus, knowledgeBaseName, }: ResourceViewerPageProps): import("react/jsx-runtime").JSX.Element;
|
|
79
|
-
export {};
|
|
80
|
-
//# sourceMappingURL=ResourceViewerPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceViewerPage.d.ts","sourceRoot":"","sources":["../../../../src/features/resource-viewer/components/ResourceViewerPage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAc,kBAAkB,EAAE,UAAU,EAA6B,MAAM,eAAe,CAAC;AAC3G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AA+BrD,KAAK,eAAe,GAAG,kBAAkB,CAAC;AAE1C,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,QAAQ,EAAE,eAAe,CAAC;IAE1B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAE/B;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC;IAEZ;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAExC;;OAEG;IACH,eAAe,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAExC;;;;OAIG;IACH,YAAY,EAAE,eAAe,CAAC;IAE9B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,MAAM,EACN,aAAa,EACb,eAAe,EACf,YAAY,EACZ,iBAAiB,GAClB,EAAE,uBAAuB,2CAsgBzB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import type { ResourceDescriptor, ResourceId } from '@semiont/core';
|
|
3
|
-
import type { StateUnit } from '@semiont/sdk';
|
|
4
|
-
import type { SemiontClient } from '@semiont/sdk';
|
|
5
|
-
export interface ResourceLoaderStateUnit extends StateUnit {
|
|
6
|
-
resource$: Observable<ResourceDescriptor | undefined>;
|
|
7
|
-
isLoading$: Observable<boolean>;
|
|
8
|
-
invalidate(): void;
|
|
9
|
-
}
|
|
10
|
-
export declare function createResourceLoaderStateUnit(client: SemiontClient, resourceId: ResourceId): ResourceLoaderStateUnit;
|
|
11
|
-
//# sourceMappingURL=resource-loader-state-unit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource-loader-state-unit.d.ts","sourceRoot":"","sources":["../../../../src/features/resource-viewer/state/resource-loader-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAO,MAAM,MAAM,CAAC;AAC5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,SAAS,EAAE,UAAU,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACtD,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAChC,UAAU,IAAI,IAAI,CAAC;CACpB;AAED,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,aAAa,EACrB,UAAU,EAAE,UAAU,GACrB,uBAAuB,CAWzB"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import type { ResourceId, components } from '@semiont/core';
|
|
3
|
-
import type { StateUnit } from '@semiont/sdk';
|
|
4
|
-
import type { ShellStateUnit } from '../../../state/shell-state-unit';
|
|
5
|
-
import { type BeckonStateUnit } from '@semiont/sdk';
|
|
6
|
-
import { type MarkStateUnit } from '@semiont/sdk';
|
|
7
|
-
import { type GatherStateUnit } from '@semiont/sdk';
|
|
8
|
-
import { type YieldStateUnit } from '@semiont/sdk';
|
|
9
|
-
import type { SemiontClient } from '@semiont/sdk';
|
|
10
|
-
import type { ReferencedByEntry } from '@semiont/sdk';
|
|
11
|
-
import type { Annotation } from '@semiont/core';
|
|
12
|
-
export interface AnnotationGroups {
|
|
13
|
-
highlights: Annotation[];
|
|
14
|
-
comments: Annotation[];
|
|
15
|
-
assessments: Annotation[];
|
|
16
|
-
references: Annotation[];
|
|
17
|
-
tags: Annotation[];
|
|
18
|
-
}
|
|
19
|
-
type StoredEventResponse = components['schemas']['StoredEventResponse'];
|
|
20
|
-
export interface WizardState {
|
|
21
|
-
open: boolean;
|
|
22
|
-
annotationId: string | null;
|
|
23
|
-
resourceId: string | null;
|
|
24
|
-
defaultTitle: string;
|
|
25
|
-
entityTypes: string[];
|
|
26
|
-
}
|
|
27
|
-
export interface ResourceViewerPageStateUnit extends StateUnit {
|
|
28
|
-
beckon: BeckonStateUnit;
|
|
29
|
-
browse: ShellStateUnit;
|
|
30
|
-
mark: MarkStateUnit;
|
|
31
|
-
gather: GatherStateUnit;
|
|
32
|
-
yield: YieldStateUnit;
|
|
33
|
-
annotations$: Observable<Annotation[]>;
|
|
34
|
-
annotationGroups$: Observable<AnnotationGroups>;
|
|
35
|
-
entityTypes$: Observable<string[]>;
|
|
36
|
-
events$: Observable<StoredEventResponse[]>;
|
|
37
|
-
referencedBy$: Observable<ReferencedByEntry[]>;
|
|
38
|
-
content$: Observable<string>;
|
|
39
|
-
contentLoading$: Observable<boolean>;
|
|
40
|
-
mediaToken$: Observable<string | null>;
|
|
41
|
-
wizard$: Observable<WizardState>;
|
|
42
|
-
closeWizard(): void;
|
|
43
|
-
}
|
|
44
|
-
export declare function createResourceViewerPageStateUnit(client: SemiontClient, resourceId: ResourceId, locale: string, browse: ShellStateUnit, options?: {
|
|
45
|
-
mediaType?: string;
|
|
46
|
-
}): ResourceViewerPageStateUnit;
|
|
47
|
-
export {};
|
|
48
|
-
//# sourceMappingURL=resource-viewer-page-state-unit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource-viewer-page-state-unit.d.ts","sourceRoot":"","sources":["../../../../src/features/resource-viewer/state/resource-viewer-page-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAO,MAAM,MAAM,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,UAAU,EAAE,UAAU,EAAE,CAAC;IACz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2BAA2B,CAmH7B"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a debounced version of a callback function
|
|
3
|
-
*
|
|
4
|
-
* @param callback - The function to debounce
|
|
5
|
-
* @param delay - Debounce delay in milliseconds
|
|
6
|
-
* @returns Debounced function
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* const debouncedSearch = useDebouncedCallback(
|
|
10
|
-
* (query) => performSearch(query),
|
|
11
|
-
* 500
|
|
12
|
-
* );
|
|
13
|
-
*/
|
|
14
|
-
export declare function useDebouncedCallback<T extends (...args: any[]) => any>(callback: T, delay: number): (...args: Parameters<T>) => void;
|
|
15
|
-
/**
|
|
16
|
-
* useDebounce Hook
|
|
17
|
-
*
|
|
18
|
-
* Custom hook for debouncing values (e.g., search input).
|
|
19
|
-
* Returns a debounced value that updates after the specified delay.
|
|
20
|
-
*
|
|
21
|
-
* @param value - The value to debounce
|
|
22
|
-
* @param delay - Debounce delay in milliseconds
|
|
23
|
-
* @returns Debounced value
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* const debouncedQuery = useDebounce(searchQuery, 500);
|
|
27
|
-
*/
|
|
28
|
-
export declare function useDebounce<T>(value: T, delay: number): T;
|
|
29
|
-
//# sourceMappingURL=useDebounce.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../src/hooks/useDebounce.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EACpE,QAAQ,EAAE,CAAC,EACX,KAAK,EAAE,MAAM,GACZ,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KAAK,IAAI,CAgClC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,CAczD"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook for announcing drag and drop operations to screen readers
|
|
3
|
-
*/
|
|
4
|
-
export declare function useDragAnnouncements(): {
|
|
5
|
-
announceReorder: (message: string) => void;
|
|
6
|
-
announcePickup: (resourceName: string, position: number, total: number) => void;
|
|
7
|
-
announceDrop: (resourceName: string, newPosition: number, total: number) => void;
|
|
8
|
-
announceMove: (resourceName: string, direction: "up" | "down", newPosition: number, total: number) => void;
|
|
9
|
-
announceKeyboardReorder: (resourceName: string, direction: "up" | "down", newPosition: number, total: number) => void;
|
|
10
|
-
announceCannotMove: (direction: "up" | "down") => void;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=useDragAnnouncements.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDragAnnouncements.d.ts","sourceRoot":"","sources":["../../src/hooks/useDragAnnouncements.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,wBAAgB,oBAAoB;+BAGY,MAAM;mCAIF,MAAM,YAAY,MAAM,SAAS,MAAM;iCAOzC,MAAM,eAAe,MAAM,SAAS,MAAM;iCAO1C,MAAM,aAAa,IAAI,GAAG,MAAM,eAAe,MAAM,SAAS,MAAM;4CAOzD,MAAM,aAAa,IAAI,GAAG,MAAM,eAAe,MAAM,SAAS,MAAM;oCAO5E,IAAI,GAAG,MAAM;EAejE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHoverDelay.d.ts","sourceRoot":"","sources":["../../src/hooks/useHoverDelay.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,wBAAgB,aAAa;;+BASmB,MAAM;EAQrD"}
|