@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,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AdminExchangePage — Backup/Restore admin page
|
|
3
|
-
*
|
|
4
|
-
* Pure React component. All state and handlers passed as props.
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import { type ExportCardTranslations } from './ExportCard';
|
|
8
|
-
import { type ImportCardProps, type ImportCardTranslations } from './ImportCard';
|
|
9
|
-
import { type ImportProgressTranslations } from './ImportProgress';
|
|
10
|
-
export interface AdminExchangePageTranslations {
|
|
11
|
-
title: string;
|
|
12
|
-
subtitle: string;
|
|
13
|
-
export: ExportCardTranslations;
|
|
14
|
-
import: ImportCardTranslations;
|
|
15
|
-
progress: ImportProgressTranslations;
|
|
16
|
-
}
|
|
17
|
-
export interface AdminExchangePageProps {
|
|
18
|
-
onExport: () => void;
|
|
19
|
-
isExporting: boolean;
|
|
20
|
-
onFileSelected: (file: File) => void;
|
|
21
|
-
onImport: () => void;
|
|
22
|
-
onCancelImport: () => void;
|
|
23
|
-
selectedFile: File | null;
|
|
24
|
-
preview: ImportCardProps['preview'];
|
|
25
|
-
isImporting: boolean;
|
|
26
|
-
importPhase: string | null;
|
|
27
|
-
importMessage?: string | undefined;
|
|
28
|
-
importResult?: Record<string, unknown> | undefined;
|
|
29
|
-
theme: 'light' | 'dark' | 'system';
|
|
30
|
-
showLineNumbers: boolean;
|
|
31
|
-
activePanel: string | null;
|
|
32
|
-
translations: AdminExchangePageTranslations;
|
|
33
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
34
|
-
Toolbar: React.ComponentType<any>;
|
|
35
|
-
}
|
|
36
|
-
export declare function AdminExchangePage({ onExport, isExporting, onFileSelected, onImport, onCancelImport, selectedFile, preview, isImporting, importPhase, importMessage, importResult, theme, showLineNumbers, activePanel, translations: t, ToolbarPanels, Toolbar, }: AdminExchangePageProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
//# sourceMappingURL=AdminExchangePage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AdminExchangePage.d.ts","sourceRoot":"","sources":["../../../../src/features/admin-exchange/components/AdminExchangePage.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAc,KAAK,eAAe,EAAE,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AAW,EACX,aAAa,EACb,YAAY,EACZ,KAAK,EACL,eAAe,EACf,WAAW,EACX,YAAY,EAAE,CAAC,EACf,aAAa,EACb,OAAO,GACR,EAAE,sBAAsB,2CAkDxB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ExportCard — Backup trigger
|
|
3
|
-
*
|
|
4
|
-
* Pure React component. All state and handlers passed as props.
|
|
5
|
-
*/
|
|
6
|
-
export interface ExportCardTranslations {
|
|
7
|
-
title: string;
|
|
8
|
-
description: string;
|
|
9
|
-
exportButton: string;
|
|
10
|
-
exporting: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ExportCardProps {
|
|
13
|
-
onExport: () => void;
|
|
14
|
-
isExporting: boolean;
|
|
15
|
-
translations: ExportCardTranslations;
|
|
16
|
-
}
|
|
17
|
-
export declare function ExportCard({ onExport, isExporting, translations: t }: ExportCardProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
//# sourceMappingURL=ExportCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExportCard.d.ts","sourceRoot":"","sources":["../../../../src/features/admin-exchange/components/ExportCard.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,sBAAsB,CAAC;CACtC;AAED,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE,eAAe,2CAerF"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ImportCard — File drop zone, preview, and import trigger
|
|
3
|
-
*
|
|
4
|
-
* Pure React component. All state and handlers passed as props.
|
|
5
|
-
*/
|
|
6
|
-
import type { ImportPreview } from '../state/exchange-state-unit';
|
|
7
|
-
export type { ImportPreview };
|
|
8
|
-
export interface ImportCardTranslations {
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
dropzoneLabel: string;
|
|
12
|
-
dropzoneActive: string;
|
|
13
|
-
detectedFormat: string;
|
|
14
|
-
statsPreview: string;
|
|
15
|
-
importButton: string;
|
|
16
|
-
importing: string;
|
|
17
|
-
importConfirmTitle: string;
|
|
18
|
-
importConfirmMessage: string;
|
|
19
|
-
confirmImport: string;
|
|
20
|
-
cancelImport: string;
|
|
21
|
-
}
|
|
22
|
-
export interface ImportCardProps {
|
|
23
|
-
onFileSelected: (file: File) => void;
|
|
24
|
-
onImport: () => void;
|
|
25
|
-
onCancel: () => void;
|
|
26
|
-
selectedFile: File | null;
|
|
27
|
-
preview: ImportPreview | null;
|
|
28
|
-
isImporting: boolean;
|
|
29
|
-
translations: ImportCardTranslations;
|
|
30
|
-
}
|
|
31
|
-
export declare function ImportCard({ onFileSelected, onImport, onCancel, selectedFile, preview, isImporting, translations: t, }: ImportCardProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
//# sourceMappingURL=ImportCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImportCard.d.ts","sourceRoot":"","sources":["../../../../src/features/admin-exchange/components/ImportCard.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,sBAAsB,CAAC;CACtC;AAED,wBAAgB,UAAU,CAAC,EACzB,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,WAAW,EACX,YAAY,EAAE,CAAC,GAChB,EAAE,eAAe,2CA2IjB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ImportProgress — Shows SSE-driven progress during restore
|
|
3
|
-
*
|
|
4
|
-
* Pure React component. All state passed as props.
|
|
5
|
-
*/
|
|
6
|
-
export interface ImportProgressTranslations {
|
|
7
|
-
phaseStarted: string;
|
|
8
|
-
phaseEntityTypes: string;
|
|
9
|
-
phaseResources: string;
|
|
10
|
-
phaseAnnotations: string;
|
|
11
|
-
phaseComplete: string;
|
|
12
|
-
phaseError: string;
|
|
13
|
-
hashChainValid: string;
|
|
14
|
-
hashChainInvalid: string;
|
|
15
|
-
streams: string;
|
|
16
|
-
events: string;
|
|
17
|
-
blobs: string;
|
|
18
|
-
}
|
|
19
|
-
export interface ImportProgressProps {
|
|
20
|
-
phase: string;
|
|
21
|
-
message?: string;
|
|
22
|
-
result?: Record<string, unknown>;
|
|
23
|
-
translations: ImportProgressTranslations;
|
|
24
|
-
}
|
|
25
|
-
export declare function ImportProgress({ phase, message, result, translations: t }: ImportProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
//# sourceMappingURL=ImportProgress.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImportProgress.d.ts","sourceRoot":"","sources":["../../../../src/features/admin-exchange/components/ImportProgress.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,YAAY,EAAE,0BAA0B,CAAC;CAC1C;AAWD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE,mBAAmB,2CAiD9F"}
|
|
@@ -1,31 +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 { BackendDownload, ProgressEvent } from '@semiont/core';
|
|
5
|
-
export interface ImportPreview {
|
|
6
|
-
format: string;
|
|
7
|
-
version: number;
|
|
8
|
-
sourceUrl: string;
|
|
9
|
-
stats: Record<string, number>;
|
|
10
|
-
}
|
|
11
|
-
export interface ExchangeStateUnit extends StateUnit {
|
|
12
|
-
browse: ShellStateUnit;
|
|
13
|
-
selectedFile$: Observable<File | null>;
|
|
14
|
-
preview$: Observable<ImportPreview | null>;
|
|
15
|
-
importPhase$: Observable<string | null>;
|
|
16
|
-
importMessage$: Observable<string | undefined>;
|
|
17
|
-
importResult$: Observable<Record<string, unknown> | undefined>;
|
|
18
|
-
isExporting$: Observable<boolean>;
|
|
19
|
-
isImporting$: Observable<boolean>;
|
|
20
|
-
selectFile(file: File): void;
|
|
21
|
-
cancelImport(): void;
|
|
22
|
-
doExport(): Promise<{
|
|
23
|
-
blob: Blob;
|
|
24
|
-
filename: string;
|
|
25
|
-
}>;
|
|
26
|
-
doImport(): Promise<void>;
|
|
27
|
-
}
|
|
28
|
-
export declare function createExchangeStateUnit(browse: ShellStateUnit, exportFn: (params?: {
|
|
29
|
-
includeArchived?: boolean;
|
|
30
|
-
}) => Promise<BackendDownload>, importFn: (file: File) => Observable<ProgressEvent>): ExchangeStateUnit;
|
|
31
|
-
//# sourceMappingURL=exchange-state-unit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exchange-state-unit.d.ts","sourceRoot":"","sources":["../../../../src/features/admin-exchange/state/exchange-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAGvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,MAAM,EAAE,cAAc,CAAC;IACvB,aAAa,EAAE,UAAU,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;IACvC,QAAQ,EAAE,UAAU,CAAC,aAAa,GAAG,IAAI,CAAC,CAAC;IAC3C,YAAY,EAAE,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACxC,cAAc,EAAE,UAAU,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C,aAAa,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,CAAC;IAC/D,YAAY,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAClC,YAAY,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAClC,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,YAAY,IAAI,IAAI,CAAC;IACrB,QAAQ,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACtD,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B;AAED,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE;IAAE,eAAe,CAAC,EAAE,OAAO,CAAA;CAAE,KAAK,OAAO,CAAC,eAAe,CAAC,EAC9E,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,UAAU,CAAC,aAAa,CAAC,GAClD,iBAAiB,CAiGnB"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AdminSecurityPage Component
|
|
3
|
-
*
|
|
4
|
-
* Pure React component for the admin security configuration page.
|
|
5
|
-
* All dependencies passed as props - no Next.js hooks!
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
export interface OAuthProvider {
|
|
9
|
-
name: string;
|
|
10
|
-
clientId?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface AdminSecurityPageProps {
|
|
13
|
-
providers: OAuthProvider[];
|
|
14
|
-
allowedDomains: string[];
|
|
15
|
-
isLoading: boolean;
|
|
16
|
-
theme: 'light' | 'dark' | 'system';
|
|
17
|
-
showLineNumbers: boolean;
|
|
18
|
-
activePanel: string | null;
|
|
19
|
-
translations: {
|
|
20
|
-
title: string;
|
|
21
|
-
subtitle: string;
|
|
22
|
-
oauthProviders: string;
|
|
23
|
-
oauthProvidersDescription: string;
|
|
24
|
-
clientId: string;
|
|
25
|
-
configured: string;
|
|
26
|
-
noProvidersConfigured: string;
|
|
27
|
-
allowedDomains: string;
|
|
28
|
-
allowedDomainsDescription: string;
|
|
29
|
-
noDomainsConfigured: string;
|
|
30
|
-
configManagementTitle: string;
|
|
31
|
-
configManagementDescription: string;
|
|
32
|
-
configLocalDev: string;
|
|
33
|
-
configCloudDeploy: string;
|
|
34
|
-
configCloudDeployCommand: string;
|
|
35
|
-
configCloudDeployEnd: string;
|
|
36
|
-
configAWS: string;
|
|
37
|
-
};
|
|
38
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
39
|
-
Toolbar: React.ComponentType<any>;
|
|
40
|
-
}
|
|
41
|
-
export declare function AdminSecurityPage({ providers, allowedDomains, isLoading, theme, showLineNumbers, activePanel, translations: t, ToolbarPanels, Toolbar, }: AdminSecurityPageProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
//# sourceMappingURL=AdminSecurityPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AdminSecurityPage.d.ts","sourceRoot":"","sources":["../../../../src/features/admin-security/components/AdminSecurityPage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,WAAW,aAAa;IAC5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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 AdminSecurityStateUnit extends StateUnit {
|
|
6
|
-
browse: ShellStateUnit;
|
|
7
|
-
providers$: Observable<unknown[]>;
|
|
8
|
-
allowedDomains$: Observable<string[]>;
|
|
9
|
-
isLoading$: Observable<boolean>;
|
|
10
|
-
}
|
|
11
|
-
export declare function createAdminSecurityStateUnit(client: SemiontClient, browse: ShellStateUnit): AdminSecurityStateUnit;
|
|
12
|
-
//# sourceMappingURL=admin-security-state-unit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"admin-security-state-unit.d.ts","sourceRoot":"","sources":["../../../../src/features/admin-security/state/admin-security-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAExD,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,sBAAuB,SAAQ,SAAS;IACvD,MAAM,EAAE,cAAc,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;IAClC,eAAe,EAAE,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CACjC;AAED,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,cAAc,GACrB,sBAAsB,CA6BxB"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AdminUsersPage Component
|
|
3
|
-
*
|
|
4
|
-
* Pure React component for the admin users management page.
|
|
5
|
-
* All dependencies passed as props - no Next.js hooks!
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
export interface AdminUser {
|
|
9
|
-
id: string;
|
|
10
|
-
email: string;
|
|
11
|
-
name?: string | null;
|
|
12
|
-
domain: string;
|
|
13
|
-
isAdmin: boolean;
|
|
14
|
-
isActive: boolean;
|
|
15
|
-
lastLogin?: string | null;
|
|
16
|
-
created: string;
|
|
17
|
-
}
|
|
18
|
-
export interface AdminUserStats {
|
|
19
|
-
totalUsers: number;
|
|
20
|
-
activeUsers: number;
|
|
21
|
-
adminUsers: number;
|
|
22
|
-
recentSignups: string[];
|
|
23
|
-
}
|
|
24
|
-
export interface AdminUsersPageProps {
|
|
25
|
-
users: AdminUser[];
|
|
26
|
-
userStats: AdminUserStats | null;
|
|
27
|
-
isLoadingUsers: boolean;
|
|
28
|
-
isLoadingStats: boolean;
|
|
29
|
-
onUpdateUser: (id: string, data: {
|
|
30
|
-
isAdmin?: boolean;
|
|
31
|
-
isActive?: boolean;
|
|
32
|
-
}) => void;
|
|
33
|
-
onDeleteUser: (id: string) => void;
|
|
34
|
-
onAddUser: () => void;
|
|
35
|
-
onExportUsers: () => void;
|
|
36
|
-
theme: 'light' | 'dark' | 'system';
|
|
37
|
-
showLineNumbers: boolean;
|
|
38
|
-
activePanel: string | null;
|
|
39
|
-
translations: {
|
|
40
|
-
title: string;
|
|
41
|
-
subtitle: string;
|
|
42
|
-
addUser: string;
|
|
43
|
-
totalUsers: string;
|
|
44
|
-
activeUsers: string;
|
|
45
|
-
administrators: string;
|
|
46
|
-
recentUsers: string;
|
|
47
|
-
searchUsers: string;
|
|
48
|
-
searchPlaceholder: string;
|
|
49
|
-
role: string;
|
|
50
|
-
allRoles: string;
|
|
51
|
-
admin: string;
|
|
52
|
-
user: string;
|
|
53
|
-
status: string;
|
|
54
|
-
allStatus: string;
|
|
55
|
-
active: string;
|
|
56
|
-
inactive: string;
|
|
57
|
-
exportUsers: string;
|
|
58
|
-
loadingUsers: string;
|
|
59
|
-
userColumn: string;
|
|
60
|
-
domainColumn: string;
|
|
61
|
-
roleColumn: string;
|
|
62
|
-
statusColumn: string;
|
|
63
|
-
lastLoginColumn: string;
|
|
64
|
-
joinedColumn: string;
|
|
65
|
-
actionsColumn: string;
|
|
66
|
-
noUsersFound: string;
|
|
67
|
-
noUsersFoundDescription: string;
|
|
68
|
-
noName: string;
|
|
69
|
-
never: string;
|
|
70
|
-
removeAdmin: string;
|
|
71
|
-
makeAdmin: string;
|
|
72
|
-
deactivateUser: string;
|
|
73
|
-
activateUser: string;
|
|
74
|
-
deleteUser: string;
|
|
75
|
-
};
|
|
76
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
77
|
-
Toolbar: React.ComponentType<any>;
|
|
78
|
-
buttonStyles: {
|
|
79
|
-
primary: {
|
|
80
|
-
base: string;
|
|
81
|
-
};
|
|
82
|
-
secondary: {
|
|
83
|
-
base: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
export declare function AdminUsersPage({ users, userStats, isLoadingUsers, isLoadingStats, onUpdateUser, onDeleteUser, onAddUser, onExportUsers, theme, showLineNumbers, activePanel, translations: t, ToolbarPanels, Toolbar, buttonStyles, }: AdminUsersPageProps): import("react/jsx-runtime").JSX.Element;
|
|
88
|
-
//# sourceMappingURL=AdminUsersPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AdminUsersPage.d.ts","sourceRoot":"","sources":["../../../../src/features/admin-users/components/AdminUsersPage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;I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-1,17 +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 AdminUsersStateUnit extends StateUnit {
|
|
6
|
-
browse: ShellStateUnit;
|
|
7
|
-
users$: Observable<unknown[]>;
|
|
8
|
-
stats$: Observable<unknown | null>;
|
|
9
|
-
usersLoading$: Observable<boolean>;
|
|
10
|
-
statsLoading$: Observable<boolean>;
|
|
11
|
-
updateUser(id: string, data: {
|
|
12
|
-
isAdmin?: boolean;
|
|
13
|
-
isActive?: boolean;
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
}
|
|
16
|
-
export declare function createAdminUsersStateUnit(client: SemiontClient, browse: ShellStateUnit): AdminUsersStateUnit;
|
|
17
|
-
//# sourceMappingURL=admin-users-state-unit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"admin-users-state-unit.d.ts","sourceRoot":"","sources":["../../../../src/features/admin-users/state/admin-users-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAGxD,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,MAAM,EAAE,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;IAC9B,MAAM,EAAE,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACnC,aAAa,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACnC,aAAa,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACnC,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;QAAE,OAAO,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxF;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,cAAc,GACrB,mBAAmB,CAqDrB"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AuthErrorDisplay - Pure React component for displaying authentication errors
|
|
3
|
-
*
|
|
4
|
-
* No Next.js dependencies - receives error type and translations via props.
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
export interface AuthErrorDisplayProps {
|
|
8
|
-
/**
|
|
9
|
-
* Link component for routing - passed from parent
|
|
10
|
-
*/
|
|
11
|
-
Link: React.ComponentType<any>;
|
|
12
|
-
/**
|
|
13
|
-
* Error type from URL parameter
|
|
14
|
-
*/
|
|
15
|
-
errorType: string | null;
|
|
16
|
-
/**
|
|
17
|
-
* Translation strings
|
|
18
|
-
*/
|
|
19
|
-
translations: {
|
|
20
|
-
pageTitle: string;
|
|
21
|
-
tryAgain: string;
|
|
22
|
-
errorConfiguration: string;
|
|
23
|
-
errorAccessDenied: string;
|
|
24
|
-
errorVerification: string;
|
|
25
|
-
errorGeneric: string;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* AuthErrorDisplay component
|
|
30
|
-
*
|
|
31
|
-
* Displays authentication error messages with a link to try again.
|
|
32
|
-
*/
|
|
33
|
-
export declare function AuthErrorDisplay({ errorType, Link, translations: t }: AuthErrorDisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
//# sourceMappingURL=AuthErrorDisplay.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthErrorDisplay.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/components/AuthErrorDisplay.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAE/B;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;QACjB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAkBD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE,qBAAqB,2CA2B3F"}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SignInForm - Pure React component for authentication
|
|
3
|
-
*
|
|
4
|
-
* Supports both Google OAuth and email/password credentials.
|
|
5
|
-
* No Next.js dependencies - all data via props.
|
|
6
|
-
*
|
|
7
|
-
* When backendUrl is provided it is shown as a locked read-only field.
|
|
8
|
-
* When backendUrl is omitted the user must enter a backend URL to connect to.
|
|
9
|
-
*/
|
|
10
|
-
import React from 'react';
|
|
11
|
-
import '../auth.css';
|
|
12
|
-
export interface SignInFormProps {
|
|
13
|
-
/**
|
|
14
|
-
* Callback when user clicks Google sign-in.
|
|
15
|
-
* Receives the backend URL (either the locked one or what the user typed).
|
|
16
|
-
*/
|
|
17
|
-
onGoogleSignIn: (backendUrl: string) => Promise<void>;
|
|
18
|
-
/**
|
|
19
|
-
* Callback when user submits email/password credentials.
|
|
20
|
-
* Receives the backend URL along with email and password.
|
|
21
|
-
*/
|
|
22
|
-
onCredentialsSignIn?: ((backendUrl: string, email: string, password: string) => Promise<void>) | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* Pre-filled backend URL. When provided the field is read-only (re-auth to known workspace).
|
|
25
|
-
* When omitted the user enters the URL themselves (new connection).
|
|
26
|
-
*/
|
|
27
|
-
backendUrl?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Error message to display (if any)
|
|
30
|
-
*/
|
|
31
|
-
error?: string | null;
|
|
32
|
-
/**
|
|
33
|
-
* Whether to show email/password auth form
|
|
34
|
-
*/
|
|
35
|
-
showCredentialsAuth?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Whether the auth providers are still loading
|
|
38
|
-
*/
|
|
39
|
-
isLoading?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Link component for routing - passed from parent
|
|
42
|
-
*/
|
|
43
|
-
Link: React.ComponentType<any>;
|
|
44
|
-
/**
|
|
45
|
-
* Translation strings
|
|
46
|
-
*/
|
|
47
|
-
translations: {
|
|
48
|
-
pageTitle: string;
|
|
49
|
-
welcomeBack: string;
|
|
50
|
-
signInPrompt: string;
|
|
51
|
-
continueWithGoogle: string;
|
|
52
|
-
backendUrlLabel: string;
|
|
53
|
-
backendUrlPlaceholder: string;
|
|
54
|
-
emailLabel: string;
|
|
55
|
-
emailPlaceholder: string;
|
|
56
|
-
passwordLabel: string;
|
|
57
|
-
passwordPlaceholder: string;
|
|
58
|
-
signInWithCredentials: string;
|
|
59
|
-
or: string;
|
|
60
|
-
credentialsAuthEnabled: string;
|
|
61
|
-
approvedDomainsOnly: string;
|
|
62
|
-
backToHome: string;
|
|
63
|
-
learnMore: string;
|
|
64
|
-
signUpInstead: string;
|
|
65
|
-
errorBackendUrlRequired: string;
|
|
66
|
-
errorBackendUrlInvalid: string;
|
|
67
|
-
errorBackendUrlUnreachable: string;
|
|
68
|
-
errorEmailRequired: string;
|
|
69
|
-
errorPasswordRequired: string;
|
|
70
|
-
tagline: string;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* SignInForm - Main sign-in / connect component.
|
|
75
|
-
*
|
|
76
|
-
* When backendUrl is provided (re-auth to known workspace) the URL field is locked.
|
|
77
|
-
* When backendUrl is omitted (new connection) the user enters the URL themselves.
|
|
78
|
-
*/
|
|
79
|
-
export declare function SignInForm({ onGoogleSignIn, onCredentialsSignIn, backendUrl, error, showCredentialsAuth, isLoading, translations: t, }: SignInFormProps): import("react/jsx-runtime").JSX.Element;
|
|
80
|
-
//# sourceMappingURL=SignInForm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SignInForm.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/components/SignInForm.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,aAAa,CAAC;AAErB,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,SAAS,CAAC;IAE3G;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAE/B;;OAEG;IACH,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,eAAe,EAAE,MAAM,CAAC;QACxB,qBAAqB,EAAE,MAAM,CAAC;QAC9B,UAAU,EAAE,MAAM,CAAC;QACnB,gBAAgB,EAAE,MAAM,CAAC;QACzB,aAAa,EAAE,MAAM,CAAC;QACtB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,qBAAqB,EAAE,MAAM,CAAC;QAC9B,EAAE,EAAE,MAAM,CAAC;QACX,sBAAsB,EAAE,MAAM,CAAC;QAC/B,mBAAmB,EAAE,MAAM,CAAC;QAC5B,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC;QACtB,uBAAuB,EAAE,MAAM,CAAC;QAChC,sBAAsB,EAAE,MAAM,CAAC;QAC/B,0BAA0B,EAAE,MAAM,CAAC;QACnC,kBAAkB,EAAE,MAAM,CAAC;QAC3B,qBAAqB,EAAE,MAAM,CAAC;QAC9B,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAqND;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,cAAc,EACd,mBAAmB,EACnB,UAAU,EACV,KAAK,EACL,mBAA2B,EAC3B,SAAiB,EACjB,YAAY,EAAE,CAAC,GAChB,EAAE,eAAe,2CAuEjB"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SignUpForm - Pure React component for Google OAuth sign-up
|
|
3
|
-
*
|
|
4
|
-
* This component is extracted from the page to enable easy testing.
|
|
5
|
-
* It has no Next.js dependencies and receives all data via props.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
export interface SignUpFormProps {
|
|
9
|
-
/**
|
|
10
|
-
* Link component for routing - passed from parent
|
|
11
|
-
*/
|
|
12
|
-
Link: React.ComponentType<any>;
|
|
13
|
-
/**
|
|
14
|
-
* Callback when user clicks the Google sign-up button
|
|
15
|
-
*/
|
|
16
|
-
onSignUp: () => Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Translation strings for the form
|
|
19
|
-
*/
|
|
20
|
-
translations: {
|
|
21
|
-
pageTitle: string;
|
|
22
|
-
signUpPrompt: string;
|
|
23
|
-
signUpWithGoogle: string;
|
|
24
|
-
creatingAccount: string;
|
|
25
|
-
approvedDomainsInfo: string;
|
|
26
|
-
termsAgreement: string;
|
|
27
|
-
alreadyHaveAccount: string;
|
|
28
|
-
tagline: string;
|
|
29
|
-
backToHome: string;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* SignUpForm component
|
|
34
|
-
*
|
|
35
|
-
* Renders the sign-up form with Google OAuth button.
|
|
36
|
-
* Manages loading state internally.
|
|
37
|
-
*/
|
|
38
|
-
export declare function SignUpForm({ onSignUp, Link, translations: t }: SignUpFormProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
//# sourceMappingURL=SignUpForm.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SignUpForm.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/components/SignUpForm.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAE/B;;OAEG;IACH,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B;;OAEG;IACH,YAAY,EAAE;QACZ,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,gBAAgB,EAAE,MAAM,CAAC;QACzB,eAAe,EAAE,MAAM,CAAC;QACxB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,cAAc,EAAE,MAAM,CAAC;QACvB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,OAAO,EAAE,MAAM,CAAC;QAChB,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AA4BD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,EAAE,eAAe,2CAkE9E"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WelcomePage Component
|
|
3
|
-
*
|
|
4
|
-
* Pure React component for the welcome/terms acceptance page.
|
|
5
|
-
* All dependencies passed as props - no Next.js hooks!
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
export interface WelcomePageProps {
|
|
9
|
-
userName?: string;
|
|
10
|
-
termsAcceptedAt?: string | null;
|
|
11
|
-
isNewUser?: boolean;
|
|
12
|
-
status: 'loading' | 'accepted' | 'form';
|
|
13
|
-
isProcessing: boolean;
|
|
14
|
-
onAccept: () => void;
|
|
15
|
-
onDecline: () => void;
|
|
16
|
-
translations: {
|
|
17
|
-
loading: string;
|
|
18
|
-
welcomeTitle: string;
|
|
19
|
-
thanksForAccepting: string;
|
|
20
|
-
welcomeUser: string;
|
|
21
|
-
reviewTermsPrompt: string;
|
|
22
|
-
termsSummaryTitle: string;
|
|
23
|
-
termsSummaryIntro: string;
|
|
24
|
-
acceptableUseTitle: string;
|
|
25
|
-
acceptableUseResponsible: string;
|
|
26
|
-
acceptableUseRespect: string;
|
|
27
|
-
acceptableUseConduct: string;
|
|
28
|
-
prohibitedContentTitle: string;
|
|
29
|
-
prohibitedContentIntro: string;
|
|
30
|
-
prohibitedIllegal: string;
|
|
31
|
-
prohibitedAdult: string;
|
|
32
|
-
prohibitedHate: string;
|
|
33
|
-
prohibitedViolence: string;
|
|
34
|
-
prohibitedMisinformation: string;
|
|
35
|
-
prohibitedPrivacy: string;
|
|
36
|
-
prohibitedCopyright: string;
|
|
37
|
-
prohibitedMalware: string;
|
|
38
|
-
prohibitedSpam: string;
|
|
39
|
-
conductTitle: string;
|
|
40
|
-
conductDescription: string;
|
|
41
|
-
conductLink: string;
|
|
42
|
-
conductPromotion: string;
|
|
43
|
-
responsibilitiesTitle: string;
|
|
44
|
-
responsibilitiesSecure: string;
|
|
45
|
-
responsibilitiesReport: string;
|
|
46
|
-
responsibilitiesAccurate: string;
|
|
47
|
-
responsibilitiesComply: string;
|
|
48
|
-
violationsWarning: string;
|
|
49
|
-
readFullTerms: string;
|
|
50
|
-
termsOfService: string;
|
|
51
|
-
and: string;
|
|
52
|
-
privacyPolicy: string;
|
|
53
|
-
declineAndSignOut: string;
|
|
54
|
-
acceptAndContinue: string;
|
|
55
|
-
processing: string;
|
|
56
|
-
legallyBound: string;
|
|
57
|
-
};
|
|
58
|
-
PageLayout: React.ComponentType<any>;
|
|
59
|
-
Link: React.ComponentType<any>;
|
|
60
|
-
}
|
|
61
|
-
export declare function WelcomePage({ userName, status, isProcessing, onAccept, onDecline, translations: t, PageLayout, Link, }: WelcomePageProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
//# sourceMappingURL=WelcomePage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WelcomePage.d.ts","sourceRoot":"","sources":["../../../../src/features/auth-welcome/components/WelcomePage.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,gBAAgB;IAE/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IAGpB,MAAM,EAAE,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;IACxC,YAAY,EAAE,OAAO,CAAC;IAGtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IAGtB,YAAY,EAAE;QACZ,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,EAAE,MAAM,CAAC;QACrB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,WAAW,EAAE,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C,GAAG,CAAC,CAAC;IACrC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;CAChC;AAED,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,YAAY,EAAE,CAAC,EACf,UAAU,EACV,IAAI,GACL,EAAE,gBAAgB,2CA4JlB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type Observable } from 'rxjs';
|
|
2
|
-
import type { StateUnit } from '@semiont/sdk';
|
|
3
|
-
import type { SemiontClient } from '@semiont/sdk';
|
|
4
|
-
export interface WelcomeStateUnit extends StateUnit {
|
|
5
|
-
userData$: Observable<{
|
|
6
|
-
termsAcceptedAt?: string;
|
|
7
|
-
} | null>;
|
|
8
|
-
isProcessing$: Observable<boolean>;
|
|
9
|
-
acceptTerms(): Promise<void>;
|
|
10
|
-
}
|
|
11
|
-
export declare function createWelcomeStateUnit(client: SemiontClient): WelcomeStateUnit;
|
|
12
|
-
//# sourceMappingURL=welcome-state-unit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"welcome-state-unit.d.ts","sourceRoot":"","sources":["../../../../src/features/auth-welcome/state/welcome-state-unit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAExD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,SAAS,EAAE,UAAU,CAAC;QAAE,eAAe,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC,CAAC;IAC3D,aAAa,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACnC,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,aAAa,GACpB,gBAAgB,CA8BlB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EntityTagsPage Component
|
|
3
|
-
*
|
|
4
|
-
* Pure React component for managing entity tags.
|
|
5
|
-
* All dependencies passed as props - no Next.js hooks!
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
export interface EntityTagsPageProps {
|
|
9
|
-
entityTypes: string[];
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
error: string;
|
|
12
|
-
newTag: string;
|
|
13
|
-
onNewTagChange: (value: string) => void;
|
|
14
|
-
onAddTag: () => void;
|
|
15
|
-
isAddingTag: boolean;
|
|
16
|
-
theme: 'light' | 'dark' | 'system';
|
|
17
|
-
showLineNumbers: boolean;
|
|
18
|
-
activePanel: string | null;
|
|
19
|
-
translations: {
|
|
20
|
-
pageTitle: string;
|
|
21
|
-
pageDescription: string;
|
|
22
|
-
sectionTitle: string;
|
|
23
|
-
sectionDescription: string;
|
|
24
|
-
inputPlaceholder: string;
|
|
25
|
-
addTag: string;
|
|
26
|
-
adding: string;
|
|
27
|
-
};
|
|
28
|
-
ToolbarPanels: React.ComponentType<any>;
|
|
29
|
-
Toolbar: React.ComponentType<any>;
|
|
30
|
-
}
|
|
31
|
-
export declare function EntityTagsPage({ entityTypes, error, newTag, onNewTagChange, onAddTag, isAddingTag, theme, showLineNumbers, activePanel, translations: t, ToolbarPanels, Toolbar, }: EntityTagsPageProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
//# sourceMappingURL=EntityTagsPage.d.ts.map
|