@semiont/react-ui 0.5.3 → 0.5.4
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/dist/{PdfAnnotationCanvas.client-5QESNO5H.mjs → PdfAnnotationCanvas.client-CN3C3S55.js} +2 -2
- package/dist/{ar-UUMMNQKF.mjs → ar-U2EXWUMQ.js} +2 -5
- package/dist/ar-U2EXWUMQ.js.map +1 -0
- package/dist/assets/favicons/SemiontFavicon.d.ts +9 -0
- package/dist/assets/favicons/SemiontFavicon.d.ts.map +1 -0
- package/dist/assets/favicons/index.d.ts +12 -0
- package/dist/assets/favicons/index.d.ts.map +1 -0
- package/dist/{bn-AL5BJSR3.mjs → bn-DRJGV772.js} +2 -5
- package/dist/bn-DRJGV772.js.map +1 -0
- package/dist/{chunk-EBBL3VJI.mjs → chunk-3Q3TUKWP.js} +32 -32
- package/dist/{chunk-OJSRLEER.mjs → chunk-GERSK2DY.js} +2 -5
- package/dist/chunk-GERSK2DY.js.map +1 -0
- package/dist/{chunk-D4GAAQMM.mjs → chunk-K6BJDL2I.js} +1 -1
- package/dist/components/AnnotateReferencesProgressWidget.d.ts +15 -0
- package/dist/components/AnnotateReferencesProgressWidget.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +69 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/CodeMirrorRenderer.d.ts +25 -0
- package/dist/components/CodeMirrorRenderer.d.ts.map +1 -0
- package/dist/components/ErrorBoundary.d.ts +30 -0
- package/dist/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/components/LiveRegion.d.ts +41 -0
- package/dist/components/LiveRegion.d.ts.map +1 -0
- package/dist/components/ProtectedErrorBoundary.d.ts +27 -0
- package/dist/components/ProtectedErrorBoundary.d.ts.map +1 -0
- package/dist/components/ResizeHandle.d.ts +39 -0
- package/dist/components/ResizeHandle.d.ts.map +1 -0
- package/dist/components/ResourceTagsInline.d.ts +10 -0
- package/dist/components/ResourceTagsInline.d.ts.map +1 -0
- package/dist/components/SessionExpiryBanner.d.ts +2 -0
- package/dist/components/SessionExpiryBanner.d.ts.map +1 -0
- package/dist/components/SessionTimer.d.ts +2 -0
- package/dist/components/SessionTimer.d.ts.map +1 -0
- package/dist/components/StatusDisplay.d.ts +9 -0
- package/dist/components/StatusDisplay.d.ts.map +1 -0
- package/dist/components/Toast.d.ts +27 -0
- package/dist/components/Toast.d.ts.map +1 -0
- package/dist/components/Toolbar.d.ts +15 -0
- package/dist/components/Toolbar.d.ts.map +1 -0
- package/dist/components/UserMenuSkeleton.d.ts +2 -0
- package/dist/components/UserMenuSkeleton.d.ts.map +1 -0
- package/dist/components/annotation/AnnotateToolbar.d.ts +29 -0
- package/dist/components/annotation/AnnotateToolbar.d.ts.map +1 -0
- package/dist/components/annotation-popups/JsonLdView.d.ts +8 -0
- package/dist/components/annotation-popups/JsonLdView.d.ts.map +1 -0
- package/dist/components/annotation-popups/SharedPopupElements.d.ts +28 -0
- package/dist/components/annotation-popups/SharedPopupElements.d.ts.map +1 -0
- package/dist/components/branding/SemiontBranding.d.ts +13 -0
- package/dist/components/branding/SemiontBranding.d.ts.map +1 -0
- package/dist/components/error-states/ResourceErrorState.d.ts +11 -0
- package/dist/components/error-states/ResourceErrorState.d.ts.map +1 -0
- package/dist/components/image-annotation/AnnotationOverlay.d.ts +22 -0
- package/dist/components/image-annotation/AnnotationOverlay.d.ts.map +1 -0
- package/dist/components/image-annotation/SvgDrawingCanvas.d.ts +23 -0
- package/dist/components/image-annotation/SvgDrawingCanvas.d.ts.map +1 -0
- package/dist/components/layout/LeftSidebar.d.ts +24 -0
- package/dist/components/layout/LeftSidebar.d.ts.map +1 -0
- package/dist/components/layout/PageLayout.d.ts +21 -0
- package/dist/components/layout/PageLayout.d.ts.map +1 -0
- package/dist/components/layout/SkipLinks.d.ts +8 -0
- package/dist/components/layout/SkipLinks.d.ts.map +1 -0
- package/dist/components/layout/UnifiedHeader.d.ts +21 -0
- package/dist/components/layout/UnifiedHeader.d.ts.map +1 -0
- package/dist/components/loading-states/ComposeLoadingState.d.ts +10 -0
- package/dist/components/loading-states/ComposeLoadingState.d.ts.map +1 -0
- package/dist/components/loading-states/ResourceLoadingState.d.ts +7 -0
- package/dist/components/loading-states/ResourceLoadingState.d.ts.map +1 -0
- package/dist/components/modals/ConfigureGenerationStep.d.ts +36 -0
- package/dist/components/modals/ConfigureGenerationStep.d.ts.map +1 -0
- package/dist/components/modals/ConfigureSearchStep.d.ts +21 -0
- package/dist/components/modals/ConfigureSearchStep.d.ts.map +1 -0
- package/dist/components/modals/ContextSummary.d.ts +14 -0
- package/dist/components/modals/ContextSummary.d.ts.map +1 -0
- package/dist/components/modals/GatherContextStep.d.ts +23 -0
- package/dist/components/modals/GatherContextStep.d.ts.map +1 -0
- package/dist/components/modals/KeyboardShortcutsHelpModal.d.ts +8 -0
- package/dist/components/modals/KeyboardShortcutsHelpModal.d.ts.map +1 -0
- package/dist/components/modals/PermissionDeniedModal.d.ts +12 -0
- package/dist/components/modals/PermissionDeniedModal.d.ts.map +1 -0
- package/dist/components/modals/ReferenceWizardModal.d.ts +64 -0
- package/dist/components/modals/ReferenceWizardModal.d.ts.map +1 -0
- package/dist/components/modals/ResourceSearchModal.d.ts +16 -0
- package/dist/components/modals/ResourceSearchModal.d.ts.map +1 -0
- package/dist/components/modals/SearchModal.d.ts +20 -0
- package/dist/components/modals/SearchModal.d.ts.map +1 -0
- package/dist/components/modals/SearchResultsStep.d.ts +22 -0
- package/dist/components/modals/SearchResultsStep.d.ts.map +1 -0
- package/dist/components/modals/SessionExpiredModal.d.ts +12 -0
- package/dist/components/modals/SessionExpiredModal.d.ts.map +1 -0
- package/dist/components/navigation/CollapsibleResourceNavigation.d.ts +13 -0
- package/dist/components/navigation/CollapsibleResourceNavigation.d.ts.map +1 -0
- package/dist/components/navigation/Footer.d.ts +20 -0
- package/dist/components/navigation/Footer.d.ts.map +1 -0
- package/dist/components/navigation/NavigationMenu.d.ts +18 -0
- package/dist/components/navigation/NavigationMenu.d.ts.map +1 -0
- package/dist/components/navigation/ObservableLink.d.ts +52 -0
- package/dist/components/navigation/ObservableLink.d.ts.map +1 -0
- package/dist/components/navigation/SimpleNavigation.d.ts +35 -0
- package/dist/components/navigation/SimpleNavigation.d.ts.map +1 -0
- package/dist/components/navigation/SortableResourceTab.d.ts +7 -0
- package/dist/components/navigation/SortableResourceTab.d.ts.map +1 -0
- package/dist/components/pdf-annotation/PdfAnnotationCanvas.client.d.ts +8 -0
- package/dist/components/pdf-annotation/PdfAnnotationCanvas.client.d.ts.map +1 -0
- package/dist/components/pdf-annotation/PdfAnnotationCanvas.d.ts +25 -0
- package/dist/components/pdf-annotation/PdfAnnotationCanvas.d.ts.map +1 -0
- package/dist/components/resource/AnnotateView.d.ts +29 -0
- package/dist/components/resource/AnnotateView.d.ts.map +1 -0
- package/dist/components/resource/AnnotationHistory.d.ts +14 -0
- package/dist/components/resource/AnnotationHistory.d.ts.map +1 -0
- package/dist/components/resource/BrowseView.d.ts +28 -0
- package/dist/components/resource/BrowseView.d.ts.map +1 -0
- package/dist/components/resource/HistoryEvent.d.ts +19 -0
- package/dist/components/resource/HistoryEvent.d.ts.map +1 -0
- package/dist/components/resource/ResourceViewer.d.ts +46 -0
- package/dist/components/resource/ResourceViewer.d.ts.map +1 -0
- package/dist/components/resource/event-formatting.d.ts +61 -0
- package/dist/components/resource/event-formatting.d.ts.map +1 -0
- package/dist/components/resource/panels/AssessmentEntry.d.ts +11 -0
- package/dist/components/resource/panels/AssessmentEntry.d.ts.map +1 -0
- package/dist/components/resource/panels/AssessmentPanel.d.ts +32 -0
- package/dist/components/resource/panels/AssessmentPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/AssistSection.d.ts +27 -0
- package/dist/components/resource/panels/AssistSection.d.ts.map +1 -0
- package/dist/components/resource/panels/CollaborationPanel.d.ts +28 -0
- package/dist/components/resource/panels/CollaborationPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/CommentEntry.d.ts +12 -0
- package/dist/components/resource/panels/CommentEntry.d.ts.map +1 -0
- package/dist/components/resource/panels/CommentsPanel.d.ts +32 -0
- package/dist/components/resource/panels/CommentsPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/HighlightEntry.d.ts +11 -0
- package/dist/components/resource/panels/HighlightEntry.d.ts.map +1 -0
- package/dist/components/resource/panels/HighlightPanel.d.ts +30 -0
- package/dist/components/resource/panels/HighlightPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/JsonLdPanel.d.ts +9 -0
- package/dist/components/resource/panels/JsonLdPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/PanelHeader.d.ts +13 -0
- package/dist/components/resource/panels/PanelHeader.d.ts.map +1 -0
- package/dist/components/resource/panels/ReferenceEntry.d.ts +15 -0
- package/dist/components/resource/panels/ReferenceEntry.d.ts.map +1 -0
- package/dist/components/resource/panels/ReferencesPanel.d.ts +43 -0
- package/dist/components/resource/panels/ReferencesPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/ResourceInfoPanel.d.ts +27 -0
- package/dist/components/resource/panels/ResourceInfoPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/StatisticsPanel.d.ts +12 -0
- package/dist/components/resource/panels/StatisticsPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/TagEntry.d.ts +11 -0
- package/dist/components/resource/panels/TagEntry.d.ts.map +1 -0
- package/dist/components/resource/panels/TaggingPanel.d.ts +34 -0
- package/dist/components/resource/panels/TaggingPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/UnifiedAnnotationsPanel.d.ts +52 -0
- package/dist/components/resource/panels/UnifiedAnnotationsPanel.d.ts.map +1 -0
- package/dist/components/resource/panels/agent-label.d.ts +11 -0
- package/dist/components/resource/panels/agent-label.d.ts.map +1 -0
- package/dist/components/settings/SettingsPanel.d.ts +19 -0
- package/dist/components/settings/SettingsPanel.d.ts.map +1 -0
- package/dist/components/viewers/ImageViewer.d.ts +8 -0
- package/dist/components/viewers/ImageViewer.d.ts.map +1 -0
- package/dist/components/viewers/index.d.ts +2 -0
- package/dist/components/viewers/index.d.ts.map +1 -0
- package/dist/contexts/AnnotationContext.d.ts +46 -0
- package/dist/contexts/AnnotationContext.d.ts.map +1 -0
- package/dist/contexts/ResourceAnnotationsContext.d.ts +14 -0
- package/dist/contexts/ResourceAnnotationsContext.d.ts.map +1 -0
- package/dist/contexts/RoutingContext.d.ts +59 -0
- package/dist/contexts/RoutingContext.d.ts.map +1 -0
- package/dist/contexts/ThemeContext.d.ts +15 -0
- package/dist/contexts/ThemeContext.d.ts.map +1 -0
- package/dist/contexts/TranslationContext.d.ts +51 -0
- package/dist/contexts/TranslationContext.d.ts.map +1 -0
- package/dist/contexts/useEventSubscription.d.ts +41 -0
- package/dist/contexts/useEventSubscription.d.ts.map +1 -0
- package/dist/{cs-UMINALSU.mjs → cs-PTWDM23V.js} +2 -5
- package/dist/{cs-UMINALSU.mjs.map → cs-PTWDM23V.js.map} +1 -1
- package/dist/{da-FKUX6CDL.mjs → da-KSNIKYSS.js} +2 -5
- package/dist/da-KSNIKYSS.js.map +1 -0
- package/dist/{de-XSJ3E25S.mjs → de-F2XBEWFY.js} +2 -5
- package/dist/de-F2XBEWFY.js.map +1 -0
- package/dist/design-tokens/index.d.ts +178 -0
- package/dist/design-tokens/index.d.ts.map +1 -0
- package/dist/{el-UJXNRCBP.mjs → el-DLD2GWAP.js} +2 -5
- package/dist/el-DLD2GWAP.js.map +1 -0
- package/dist/{en-J5DHKLQ5.mjs → en-L45VK7BS.js} +3 -3
- package/dist/{es-VURP62BU.mjs → es-WLPYWGB5.js} +2 -5
- package/dist/es-WLPYWGB5.js.map +1 -0
- package/dist/{fa-TIT5ZPZY.mjs → fa-BAXHSDZG.js} +2 -5
- package/dist/fa-BAXHSDZG.js.map +1 -0
- package/dist/features/admin-devops/components/AdminDevOpsPage.d.ts +33 -0
- package/dist/features/admin-devops/components/AdminDevOpsPage.d.ts.map +1 -0
- package/dist/features/admin-exchange/components/AdminExchangePage.d.ts +37 -0
- package/dist/features/admin-exchange/components/AdminExchangePage.d.ts.map +1 -0
- package/dist/features/admin-exchange/components/ExportCard.d.ts +18 -0
- package/dist/features/admin-exchange/components/ExportCard.d.ts.map +1 -0
- package/dist/features/admin-exchange/components/ImportCard.d.ts +32 -0
- package/dist/features/admin-exchange/components/ImportCard.d.ts.map +1 -0
- package/dist/features/admin-exchange/components/ImportProgress.d.ts +26 -0
- package/dist/features/admin-exchange/components/ImportProgress.d.ts.map +1 -0
- package/dist/features/admin-exchange/state/exchange-state-unit.d.ts +31 -0
- package/dist/features/admin-exchange/state/exchange-state-unit.d.ts.map +1 -0
- package/dist/features/admin-security/components/AdminSecurityPage.d.ts +42 -0
- package/dist/features/admin-security/components/AdminSecurityPage.d.ts.map +1 -0
- package/dist/features/admin-security/state/admin-security-state-unit.d.ts +12 -0
- package/dist/features/admin-security/state/admin-security-state-unit.d.ts.map +1 -0
- package/dist/features/admin-users/components/AdminUsersPage.d.ts +88 -0
- package/dist/features/admin-users/components/AdminUsersPage.d.ts.map +1 -0
- package/dist/features/admin-users/state/admin-users-state-unit.d.ts +17 -0
- package/dist/features/admin-users/state/admin-users-state-unit.d.ts.map +1 -0
- package/dist/features/auth/components/AuthErrorDisplay.d.ts +34 -0
- package/dist/features/auth/components/AuthErrorDisplay.d.ts.map +1 -0
- package/dist/features/auth/components/SignInForm.d.ts +80 -0
- package/dist/features/auth/components/SignInForm.d.ts.map +1 -0
- package/dist/features/auth/components/SignUpForm.d.ts +39 -0
- package/dist/features/auth/components/SignUpForm.d.ts.map +1 -0
- package/dist/features/auth-welcome/components/WelcomePage.d.ts +62 -0
- package/dist/features/auth-welcome/components/WelcomePage.d.ts.map +1 -0
- package/dist/features/auth-welcome/state/welcome-state-unit.d.ts +12 -0
- package/dist/features/auth-welcome/state/welcome-state-unit.d.ts.map +1 -0
- package/dist/features/moderate-entity-tags/components/EntityTagsPage.d.ts +32 -0
- package/dist/features/moderate-entity-tags/components/EntityTagsPage.d.ts.map +1 -0
- package/dist/features/moderate-entity-tags/state/entity-tags-state-unit.d.ts +16 -0
- package/dist/features/moderate-entity-tags/state/entity-tags-state-unit.d.ts.map +1 -0
- package/dist/features/moderate-recent/components/RecentDocumentsPage.d.ts +27 -0
- package/dist/features/moderate-recent/components/RecentDocumentsPage.d.ts.map +1 -0
- package/dist/features/moderate-tag-schemas/components/TagSchemasPage.d.ts +25 -0
- package/dist/features/moderate-tag-schemas/components/TagSchemasPage.d.ts.map +1 -0
- package/dist/features/moderation-linked-data/components/LinkedDataPage.d.ts +38 -0
- package/dist/features/moderation-linked-data/components/LinkedDataPage.d.ts.map +1 -0
- package/dist/features/resource-compose/components/ResourceComposePage.d.ts +83 -0
- package/dist/features/resource-compose/components/ResourceComposePage.d.ts.map +1 -0
- package/dist/features/resource-compose/components/UploadProgressBar.d.ts +23 -0
- package/dist/features/resource-compose/components/UploadProgressBar.d.ts.map +1 -0
- package/dist/features/resource-compose/state/compose-page-state-unit.d.ts +59 -0
- package/dist/features/resource-compose/state/compose-page-state-unit.d.ts.map +1 -0
- package/dist/features/resource-discovery/components/ResourceCard.d.ts +17 -0
- package/dist/features/resource-discovery/components/ResourceCard.d.ts.map +1 -0
- package/dist/features/resource-discovery/components/ResourceDiscoveryPage.d.ts +43 -0
- package/dist/features/resource-discovery/components/ResourceDiscoveryPage.d.ts.map +1 -0
- package/dist/features/resource-discovery/state/discover-state-unit.d.ts +15 -0
- package/dist/features/resource-discovery/state/discover-state-unit.d.ts.map +1 -0
- package/dist/features/resource-viewer/components/ResourceViewerPage.d.ts +80 -0
- package/dist/features/resource-viewer/components/ResourceViewerPage.d.ts.map +1 -0
- package/dist/features/resource-viewer/state/resource-loader-state-unit.d.ts +11 -0
- package/dist/features/resource-viewer/state/resource-loader-state-unit.d.ts.map +1 -0
- package/dist/features/resource-viewer/state/resource-viewer-page-state-unit.d.ts +48 -0
- package/dist/features/resource-viewer/state/resource-viewer-page-state-unit.d.ts.map +1 -0
- package/dist/{fi-F7VTGT4H.mjs → fi-FCHSYVOT.js} +2 -5
- package/dist/fi-FCHSYVOT.js.map +1 -0
- package/dist/{fr-2ZR26VF7.mjs → fr-3UERBSL6.js} +2 -5
- package/dist/fr-3UERBSL6.js.map +1 -0
- package/dist/{he-BXP2KYVZ.mjs → he-F6F3FV2K.js} +2 -5
- package/dist/he-F6F3FV2K.js.map +1 -0
- package/dist/{hi-PSWTP3NC.mjs → hi-4BK6IK7Q.js} +2 -5
- package/dist/hi-4BK6IK7Q.js.map +1 -0
- package/dist/hooks/useDebounce.d.ts +29 -0
- package/dist/hooks/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useDragAnnouncements.d.ts +12 -0
- package/dist/hooks/useDragAnnouncements.d.ts.map +1 -0
- package/dist/hooks/useHoverDelay.d.ts +8 -0
- package/dist/hooks/useHoverDelay.d.ts.map +1 -0
- package/dist/hooks/useHoverEmitter.d.ts +8 -0
- package/dist/hooks/useHoverEmitter.d.ts.map +1 -0
- package/dist/hooks/useKeyboardShortcuts.d.ts +29 -0
- package/dist/hooks/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/hooks/useLineNumbers.d.ts +8 -0
- package/dist/hooks/useLineNumbers.d.ts.map +1 -0
- package/dist/hooks/useMediaToken.d.ts +7 -0
- package/dist/hooks/useMediaToken.d.ts.map +1 -0
- package/dist/hooks/useObservable.d.ts +23 -0
- package/dist/hooks/useObservable.d.ts.map +1 -0
- package/dist/hooks/useObservableBrowse.d.ts +70 -0
- package/dist/hooks/useObservableBrowse.d.ts.map +1 -0
- package/dist/hooks/usePanelWidth.d.ts +37 -0
- package/dist/hooks/usePanelWidth.d.ts.map +1 -0
- package/dist/hooks/useResourceContent.d.ts +7 -0
- package/dist/hooks/useResourceContent.d.ts.map +1 -0
- package/dist/hooks/useRovingTabIndex.d.ts +13 -0
- package/dist/hooks/useRovingTabIndex.d.ts.map +1 -0
- package/dist/hooks/useSearchAnnouncements.d.ts +10 -0
- package/dist/hooks/useSearchAnnouncements.d.ts.map +1 -0
- package/dist/hooks/useSessionExpiry.d.ts +10 -0
- package/dist/hooks/useSessionExpiry.d.ts.map +1 -0
- package/dist/hooks/useShellStateUnit.d.ts +9 -0
- package/dist/hooks/useShellStateUnit.d.ts.map +1 -0
- package/dist/hooks/useStateUnit.d.ts +3 -0
- package/dist/hooks/useStateUnit.d.ts.map +1 -0
- package/dist/hooks/useUI.d.ts +24 -0
- package/dist/hooks/useUI.d.ts.map +1 -0
- package/dist/{id-HO6TXGTO.mjs → id-7ECCWP3J.js} +2 -5
- package/dist/id-7ECCWP3J.js.map +1 -0
- package/dist/index.d.ts +150 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/{index.mjs → index.js} +43 -46
- package/dist/index.js.map +1 -0
- package/dist/integrations/css-modules-helper.d.ts +114 -0
- package/dist/integrations/css-modules-helper.d.ts.map +1 -0
- package/dist/integrations/styled-components-theme.d.ts +95 -0
- package/dist/integrations/styled-components-theme.d.ts.map +1 -0
- package/dist/integrations/tailwind-plugin.d.cts +3 -0
- package/dist/integrations/tailwind-plugin.d.cts.map +1 -0
- package/dist/{it-AGTDMBL3.mjs → it-234Z6XK6.js} +2 -5
- package/dist/it-234Z6XK6.js.map +1 -0
- package/dist/{ja-TTGOVF5K.mjs → ja-PJWQI4OQ.js} +2 -5
- package/dist/ja-PJWQI4OQ.js.map +1 -0
- package/dist/{ko-FF77IQ7N.mjs → ko-APUEW2RS.js} +2 -5
- package/dist/ko-APUEW2RS.js.map +1 -0
- package/dist/lib/annotation-overlay.d.ts +71 -0
- package/dist/lib/annotation-overlay.d.ts.map +1 -0
- package/dist/lib/annotation-registry.d.ts +62 -0
- package/dist/lib/annotation-registry.d.ts.map +1 -0
- package/dist/lib/browser-pdfjs.d.ts +93 -0
- package/dist/lib/browser-pdfjs.d.ts.map +1 -0
- package/dist/lib/button-styles.d.ts +27 -0
- package/dist/lib/button-styles.d.ts.map +1 -0
- package/dist/lib/codemirror-handlers.d.ts +52 -0
- package/dist/lib/codemirror-handlers.d.ts.map +1 -0
- package/dist/lib/codemirror-json-theme.d.ts +8 -0
- package/dist/lib/codemirror-json-theme.d.ts.map +1 -0
- package/dist/lib/codemirror-logic.d.ts +66 -0
- package/dist/lib/codemirror-logic.d.ts.map +1 -0
- package/dist/lib/codemirror-widgets.d.ts +39 -0
- package/dist/lib/codemirror-widgets.d.ts.map +1 -0
- package/dist/lib/formatTime.d.ts +2 -0
- package/dist/lib/formatTime.d.ts.map +1 -0
- package/dist/lib/media-shapes.d.ts +51 -0
- package/dist/lib/media-shapes.d.ts.map +1 -0
- package/dist/lib/pdf-coordinates.d.ts +69 -0
- package/dist/lib/pdf-coordinates.d.ts.map +1 -0
- package/dist/lib/resource-utils.d.ts +22 -0
- package/dist/lib/resource-utils.d.ts.map +1 -0
- package/dist/lib/scroll-utils.d.ts +20 -0
- package/dist/lib/scroll-utils.d.ts.map +1 -0
- package/dist/lib/text-segmentation.d.ts +25 -0
- package/dist/lib/text-segmentation.d.ts.map +1 -0
- package/dist/lib/text-selection-handler.d.ts +46 -0
- package/dist/lib/text-selection-handler.d.ts.map +1 -0
- package/dist/lib/validation.d.ts +47 -0
- package/dist/lib/validation.d.ts.map +1 -0
- package/dist/{ms-UPQWWIL4.mjs → ms-PJBZWZWD.js} +2 -5
- package/dist/ms-PJBZWZWD.js.map +1 -0
- package/dist/{nl-W75HEPFL.mjs → nl-L4C3ZBCU.js} +2 -5
- package/dist/nl-L4C3ZBCU.js.map +1 -0
- package/dist/{no-R4W7W7ZU.mjs → no-QE5N5KNG.js} +2 -5
- package/dist/no-QE5N5KNG.js.map +1 -0
- package/dist/{pl-GQC2ELWO.mjs → pl-5Q2D23PD.js} +2 -5
- package/dist/pl-5Q2D23PD.js.map +1 -0
- package/dist/{pt-YGVT62RU.mjs → pt-AIGUOIOC.js} +2 -5
- package/dist/pt-AIGUOIOC.js.map +1 -0
- package/dist/{ro-TST6XS6X.mjs → ro-T56CSHTY.js} +2 -5
- package/dist/ro-T56CSHTY.js.map +1 -0
- package/dist/session/SemiontProvider.d.ts +28 -0
- package/dist/session/SemiontProvider.d.ts.map +1 -0
- package/dist/session/web-browser-storage.d.ts +19 -0
- package/dist/session/web-browser-storage.d.ts.map +1 -0
- package/dist/state/session-state-unit.d.ts +9 -0
- package/dist/state/session-state-unit.d.ts.map +1 -0
- package/dist/state/shell-state-unit.d.ts +33 -0
- package/dist/state/shell-state-unit.d.ts.map +1 -0
- package/dist/{sv-TQLF6HV7.mjs → sv-L4TJQ2UH.js} +2 -5
- package/dist/sv-L4TJQ2UH.js.map +1 -0
- package/dist/{test-utils.d.mts → test-utils.d.ts} +18 -21
- package/dist/test-utils.d.ts.map +1 -0
- package/dist/{test-utils.mjs → test-utils.js} +5 -5
- package/dist/{th-HJUIETVR.mjs → th-6O7Y6O2Q.js} +2 -5
- package/dist/th-6O7Y6O2Q.js.map +1 -0
- package/dist/{tr-CW3C46TW.mjs → tr-D4CQCSNO.js} +2 -5
- package/dist/tr-D4CQCSNO.js.map +1 -0
- package/dist/types/AnnotationManager.d.ts +53 -0
- package/dist/types/AnnotationManager.d.ts.map +1 -0
- package/dist/{TranslationManager-9Xj3MIWQ.d.mts → types/TranslationManager.d.ts} +2 -3
- package/dist/types/TranslationManager.d.ts.map +1 -0
- package/dist/types/annotation-props.d.ts +108 -0
- package/dist/types/annotation-props.d.ts.map +1 -0
- package/dist/types/collapsible-navigation.d.ts +69 -0
- package/dist/types/collapsible-navigation.d.ts.map +1 -0
- package/dist/types/modals.d.ts +77 -0
- package/dist/types/modals.d.ts.map +1 -0
- package/dist/types/navigation.d.ts +35 -0
- package/dist/types/navigation.d.ts.map +1 -0
- package/dist/types/resource-viewer.d.ts +19 -0
- package/dist/types/resource-viewer.d.ts.map +1 -0
- package/dist/types/simple-navigation.d.ts +15 -0
- package/dist/types/simple-navigation.d.ts.map +1 -0
- package/dist/types/translation.d.ts +5 -0
- package/dist/types/translation.d.ts.map +1 -0
- package/dist/{uk-WTHZQB2U.mjs → uk-2HMQG6ND.js} +2 -5
- package/dist/uk-2HMQG6ND.js.map +1 -0
- package/dist/{vi-PHWHJLKP.mjs → vi-XVJ4RUEJ.js} +2 -5
- package/dist/{vi-PHWHJLKP.mjs.map → vi-XVJ4RUEJ.js.map} +1 -1
- package/dist/{zh-MO3FCUD6.mjs → zh-K2KDPGHK.js} +2 -5
- package/dist/zh-K2KDPGHK.js.map +1 -0
- package/package.json +19 -18
- package/src/components/resource/HistoryEvent.tsx +0 -3
- package/src/components/resource/__tests__/HistoryEvent.test.tsx +1 -4
- package/src/components/resource/__tests__/event-formatting.test.ts +2 -14
- package/src/components/resource/event-formatting.ts +3 -4
- package/src/components/resource/panels/AssessmentEntry.tsx +4 -1
- package/src/components/resource/panels/CommentEntry.tsx +4 -1
- package/src/components/resource/panels/HighlightEntry.tsx +4 -1
- package/src/components/resource/panels/ReferenceEntry.tsx +4 -1
- package/src/components/resource/panels/ResourceInfoPanel.tsx +11 -23
- package/src/components/resource/panels/TagEntry.tsx +4 -1
- package/src/components/resource/panels/__tests__/CommentEntry.test.tsx +2 -2
- package/src/components/resource/panels/__tests__/ResourceInfoPanel.test.tsx +12 -16
- package/src/components/resource/panels/__tests__/agent-label.test.ts +93 -0
- package/src/components/resource/panels/agent-label.ts +20 -0
- package/src/features/resource-compose/state/compose-page-state-unit.ts +0 -1
- package/src/features/resource-viewer/components/ResourceViewerPage.tsx +0 -1
- package/translations/ar.json +0 -3
- package/translations/bn.json +0 -3
- package/translations/cs.json +0 -3
- package/translations/da.json +0 -3
- package/translations/de.json +0 -3
- package/translations/el.json +0 -3
- package/translations/en.json +2 -5
- package/translations/es.json +0 -3
- package/translations/fa.json +0 -3
- package/translations/fi.json +0 -3
- package/translations/fr.json +0 -3
- package/translations/he.json +0 -3
- package/translations/hi.json +0 -3
- package/translations/id.json +0 -3
- package/translations/it.json +0 -3
- package/translations/ja.json +0 -3
- package/translations/ko.json +0 -3
- package/translations/ms.json +0 -3
- package/translations/nl.json +0 -3
- package/translations/no.json +0 -3
- package/translations/pl.json +0 -3
- package/translations/pt.json +0 -3
- package/translations/ro.json +0 -3
- package/translations/sv.json +0 -3
- package/translations/th.json +0 -3
- package/translations/tr.json +0 -3
- package/translations/uk.json +0 -3
- package/translations/vi.json +0 -3
- package/translations/zh.json +0 -3
- package/dist/ar-UUMMNQKF.mjs.map +0 -1
- package/dist/bn-AL5BJSR3.mjs.map +0 -1
- package/dist/chunk-OJSRLEER.mjs.map +0 -1
- package/dist/da-FKUX6CDL.mjs.map +0 -1
- package/dist/de-XSJ3E25S.mjs.map +0 -1
- package/dist/el-UJXNRCBP.mjs.map +0 -1
- package/dist/es-VURP62BU.mjs.map +0 -1
- package/dist/fa-TIT5ZPZY.mjs.map +0 -1
- package/dist/fi-F7VTGT4H.mjs.map +0 -1
- package/dist/fr-2ZR26VF7.mjs.map +0 -1
- package/dist/he-BXP2KYVZ.mjs.map +0 -1
- package/dist/hi-PSWTP3NC.mjs.map +0 -1
- package/dist/id-HO6TXGTO.mjs.map +0 -1
- package/dist/index.d.mts +0 -3546
- package/dist/index.mjs.map +0 -1
- package/dist/it-AGTDMBL3.mjs.map +0 -1
- package/dist/ja-TTGOVF5K.mjs.map +0 -1
- package/dist/ko-FF77IQ7N.mjs.map +0 -1
- package/dist/ms-UPQWWIL4.mjs.map +0 -1
- package/dist/nl-W75HEPFL.mjs.map +0 -1
- package/dist/no-R4W7W7ZU.mjs.map +0 -1
- package/dist/pl-GQC2ELWO.mjs.map +0 -1
- package/dist/pt-YGVT62RU.mjs.map +0 -1
- package/dist/ro-TST6XS6X.mjs.map +0 -1
- package/dist/sv-TQLF6HV7.mjs.map +0 -1
- package/dist/th-HJUIETVR.mjs.map +0 -1
- package/dist/tr-CW3C46TW.mjs.map +0 -1
- package/dist/uk-WTHZQB2U.mjs.map +0 -1
- package/dist/zh-MO3FCUD6.mjs.map +0 -1
- /package/dist/{PdfAnnotationCanvas.client-5QESNO5H.mjs.map → PdfAnnotationCanvas.client-CN3C3S55.js.map} +0 -0
- /package/dist/{chunk-EBBL3VJI.mjs.map → chunk-3Q3TUKWP.js.map} +0 -0
- /package/dist/{chunk-D4GAAQMM.mjs.map → chunk-K6BJDL2I.js.map} +0 -0
- /package/dist/{en-J5DHKLQ5.mjs.map → en-L45VK7BS.js.map} +0 -0
- /package/dist/{test-utils.mjs.map → test-utils.js.map} +0 -0
- /package/src/integrations/{tailwind-plugin.js → tailwind-plugin.cjs} +0 -0
|
@@ -124,13 +124,13 @@ import {
|
|
|
124
124
|
useSemiont,
|
|
125
125
|
useToast,
|
|
126
126
|
useTranslations
|
|
127
|
-
} from "./chunk-
|
|
128
|
-
import "./chunk-
|
|
127
|
+
} from "./chunk-3Q3TUKWP.js";
|
|
128
|
+
import "./chunk-GERSK2DY.js";
|
|
129
129
|
import {
|
|
130
130
|
__commonJS,
|
|
131
131
|
__export,
|
|
132
132
|
__toESM
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-K6BJDL2I.js";
|
|
134
134
|
|
|
135
135
|
// ../../node_modules/inline-style-parser/cjs/index.js
|
|
136
136
|
var require_cjs2 = __commonJS({
|
|
@@ -30392,7 +30392,7 @@ function fallbackTextPosition(content4, selectedText) {
|
|
|
30392
30392
|
|
|
30393
30393
|
// src/components/resource/AnnotateView.tsx
|
|
30394
30394
|
import { jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
30395
|
-
var PdfAnnotationCanvas = lazy(() => import("./PdfAnnotationCanvas.client-
|
|
30395
|
+
var PdfAnnotationCanvas = lazy(() => import("./PdfAnnotationCanvas.client-CN3C3S55.js").then((mod) => ({ default: mod.PdfAnnotationCanvas })));
|
|
30396
30396
|
function AnnotateView({
|
|
30397
30397
|
content: content4,
|
|
30398
30398
|
mimeType = "text/plain",
|
|
@@ -30821,7 +30821,6 @@ function getResourceCreationDetails(event) {
|
|
|
30821
30821
|
if (eventData.type === "yield:created") {
|
|
30822
30822
|
return {
|
|
30823
30823
|
type: "created",
|
|
30824
|
-
method: payload.creationMethod || "unknown",
|
|
30825
30824
|
userId: eventData.userId,
|
|
30826
30825
|
metadata: void 0
|
|
30827
30826
|
};
|
|
@@ -30829,7 +30828,6 @@ function getResourceCreationDetails(event) {
|
|
|
30829
30828
|
if (eventData.type === "yield:cloned") {
|
|
30830
30829
|
return {
|
|
30831
30830
|
type: "cloned",
|
|
30832
|
-
method: payload.creationMethod || "clone",
|
|
30833
30831
|
userId: eventData.userId,
|
|
30834
30832
|
sourceDocId: payload.parentResourceId,
|
|
30835
30833
|
parentResourceId: payload.parentResourceId,
|
|
@@ -30935,11 +30933,6 @@ function HistoryEvent({
|
|
|
30935
30933
|
": ",
|
|
30936
30934
|
/* @__PURE__ */ jsx23("span", { className: "semiont-history-event__detail-value", children: creationDetails.userId ? formatUserId(creationDetails.userId) : "" })
|
|
30937
30935
|
] }),
|
|
30938
|
-
/* @__PURE__ */ jsxs16("span", { className: "semiont-history-event__detail", children: [
|
|
30939
|
-
t12("method"),
|
|
30940
|
-
": ",
|
|
30941
|
-
/* @__PURE__ */ jsx23("span", { className: "semiont-history-event__detail-value semiont-history-event__detail-value--uppercase", children: creationDetails.method })
|
|
30942
|
-
] }),
|
|
30943
30936
|
creationDetails.type === "cloned" && creationDetails.sourceDocId && /* @__PURE__ */ jsx23(
|
|
30944
30937
|
Link,
|
|
30945
30938
|
{
|
|
@@ -45573,7 +45566,7 @@ function ImageViewer({ imageUrl, alt = "Resource image" }) {
|
|
|
45573
45566
|
|
|
45574
45567
|
// src/components/resource/BrowseView.tsx
|
|
45575
45568
|
import { jsx as jsx27, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
45576
|
-
var PdfAnnotationCanvas2 = lazy2(() => import("./PdfAnnotationCanvas.client-
|
|
45569
|
+
var PdfAnnotationCanvas2 = lazy2(() => import("./PdfAnnotationCanvas.client-CN3C3S55.js").then((mod) => ({ default: mod.PdfAnnotationCanvas })));
|
|
45577
45570
|
var MemoizedMarkdown = memo(function MemoizedMarkdown2({
|
|
45578
45571
|
content: content4
|
|
45579
45572
|
}) {
|
|
@@ -46080,6 +46073,20 @@ function ResourceViewer({
|
|
|
46080
46073
|
|
|
46081
46074
|
// src/components/resource/panels/AssessmentEntry.tsx
|
|
46082
46075
|
import { getAnnotationExactText } from "@semiont/core";
|
|
46076
|
+
|
|
46077
|
+
// src/components/resource/panels/agent-label.ts
|
|
46078
|
+
function renderAgentLabel(agent) {
|
|
46079
|
+
if (agent["@type"] === "Software") {
|
|
46080
|
+
const provider = agent.provider;
|
|
46081
|
+
const model = agent.model;
|
|
46082
|
+
if (provider && model) return `${provider} ${model}`;
|
|
46083
|
+
if (model) return model;
|
|
46084
|
+
if (provider) return provider;
|
|
46085
|
+
}
|
|
46086
|
+
return agent.name || agent["@id"] || "unknown";
|
|
46087
|
+
}
|
|
46088
|
+
|
|
46089
|
+
// src/components/resource/panels/AssessmentEntry.tsx
|
|
46083
46090
|
import { jsx as jsx29, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
46084
46091
|
function formatRelativeTime2(isoString) {
|
|
46085
46092
|
const date = new Date(isoString);
|
|
@@ -46146,7 +46153,7 @@ function AssessmentEntry({
|
|
|
46146
46153
|
] }),
|
|
46147
46154
|
assessment.generator && /* @__PURE__ */ jsxs21("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
46148
46155
|
"Via ",
|
|
46149
|
-
|
|
46156
|
+
Array.isArray(assessment.generator) ? assessment.generator.map(renderAgentLabel).join(", ") : renderAgentLabel(assessment.generator)
|
|
46150
46157
|
] })
|
|
46151
46158
|
]
|
|
46152
46159
|
}
|
|
@@ -46763,7 +46770,7 @@ function CommentEntry({
|
|
|
46763
46770
|
] }),
|
|
46764
46771
|
comment2.generator && /* @__PURE__ */ jsxs26("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
46765
46772
|
"Via ",
|
|
46766
|
-
|
|
46773
|
+
Array.isArray(comment2.generator) ? comment2.generator.map(renderAgentLabel).join(", ") : renderAgentLabel(comment2.generator)
|
|
46767
46774
|
] }),
|
|
46768
46775
|
annotateMode && /* @__PURE__ */ jsx34("div", { className: "semiont-annotation-entry__actions", onClick: (e6) => e6.stopPropagation(), children: /* @__PURE__ */ jsx34(
|
|
46769
46776
|
"button",
|
|
@@ -47022,7 +47029,7 @@ function HighlightEntry({
|
|
|
47022
47029
|
] }),
|
|
47023
47030
|
highlight.generator && /* @__PURE__ */ jsxs28("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
47024
47031
|
"Via ",
|
|
47025
|
-
|
|
47032
|
+
Array.isArray(highlight.generator) ? highlight.generator.map(renderAgentLabel).join(", ") : renderAgentLabel(highlight.generator)
|
|
47026
47033
|
] })
|
|
47027
47034
|
]
|
|
47028
47035
|
}
|
|
@@ -47379,7 +47386,7 @@ function ReferenceEntry({
|
|
|
47379
47386
|
)) }),
|
|
47380
47387
|
reference.generator && /* @__PURE__ */ jsxs31("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
47381
47388
|
"Via ",
|
|
47382
|
-
|
|
47389
|
+
Array.isArray(reference.generator) ? reference.generator.map(renderAgentLabel).join(", ") : renderAgentLabel(reference.generator)
|
|
47383
47390
|
] })
|
|
47384
47391
|
]
|
|
47385
47392
|
}
|
|
@@ -47755,13 +47762,13 @@ function ResourceInfoPanel({
|
|
|
47755
47762
|
isArchived = false,
|
|
47756
47763
|
dateCreated,
|
|
47757
47764
|
dateModified,
|
|
47758
|
-
creationMethod,
|
|
47759
47765
|
wasAttributedTo,
|
|
47760
47766
|
wasDerivedFrom,
|
|
47761
47767
|
generator
|
|
47762
47768
|
}) {
|
|
47763
47769
|
const t12 = useTranslations("ResourceInfoPanel");
|
|
47764
47770
|
const session = useObservable(useSemiont().activeSession$);
|
|
47771
|
+
const attribution = wasAttributedTo ? Array.isArray(wasAttributedTo) ? wasAttributedTo : [wasAttributedTo] : generator ? Array.isArray(generator) ? generator : [generator] : [];
|
|
47765
47772
|
return /* @__PURE__ */ jsxs33("div", { className: "semiont-resource-info-panel", children: [
|
|
47766
47773
|
/* @__PURE__ */ jsx40("h3", { className: "semiont-resource-info-panel__title", children: t12("title") }),
|
|
47767
47774
|
/* @__PURE__ */ jsxs33("div", { className: "semiont-resource-info-panel__section", children: [
|
|
@@ -47788,7 +47795,7 @@ function ResourceInfoPanel({
|
|
|
47788
47795
|
] })
|
|
47789
47796
|
] })
|
|
47790
47797
|
] }),
|
|
47791
|
-
(dateCreated || dateModified ||
|
|
47798
|
+
(dateCreated || dateModified || attribution.length > 0 || wasDerivedFrom) && /* @__PURE__ */ jsxs33("div", { className: "semiont-resource-info-panel__section", children: [
|
|
47792
47799
|
/* @__PURE__ */ jsx40("h3", { className: "semiont-resource-info-panel__heading", children: t12("provenance") }),
|
|
47793
47800
|
/* @__PURE__ */ jsxs33("div", { className: "semiont-resource-info-panel__field-group", children: [
|
|
47794
47801
|
dateCreated && /* @__PURE__ */ jsxs33("div", { children: [
|
|
@@ -47799,13 +47806,9 @@ function ResourceInfoPanel({
|
|
|
47799
47806
|
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__label", children: t12("modifiedAt") }),
|
|
47800
47807
|
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__value", children: new Date(dateModified).toLocaleString() })
|
|
47801
47808
|
] }),
|
|
47802
|
-
|
|
47803
|
-
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__label", children: t12("creationMethod") }),
|
|
47804
|
-
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__value", children: creationMethod })
|
|
47805
|
-
] }),
|
|
47806
|
-
wasAttributedTo && /* @__PURE__ */ jsxs33("div", { children: [
|
|
47809
|
+
attribution.length > 0 && /* @__PURE__ */ jsxs33("div", { children: [
|
|
47807
47810
|
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__label", children: t12("attributedTo") }),
|
|
47808
|
-
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__value", children:
|
|
47811
|
+
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__value", children: attribution.map(renderAgentLabel).join(", ") })
|
|
47809
47812
|
] }),
|
|
47810
47813
|
wasDerivedFrom && /* @__PURE__ */ jsxs33("div", { children: [
|
|
47811
47814
|
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__label", children: t12("derivedFrom") }),
|
|
@@ -47821,10 +47824,6 @@ function ResourceInfoPanel({
|
|
|
47821
47824
|
},
|
|
47822
47825
|
id2
|
|
47823
47826
|
)) })
|
|
47824
|
-
] }),
|
|
47825
|
-
generator && /* @__PURE__ */ jsxs33("div", { children: [
|
|
47826
|
-
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__label", children: t12("generatedBy") }),
|
|
47827
|
-
/* @__PURE__ */ jsx40("span", { className: "semiont-resource-info-panel__value", children: (Array.isArray(generator) ? generator : [generator]).map((a15) => a15.name).join(", ") })
|
|
47828
47827
|
] })
|
|
47829
47828
|
] })
|
|
47830
47829
|
] }),
|
|
@@ -48001,7 +48000,7 @@ function TagEntry({
|
|
|
48001
48000
|
] }),
|
|
48002
48001
|
tag.generator && /* @__PURE__ */ jsxs35("div", { className: "semiont-annotation-entry__metadata", children: [
|
|
48003
48002
|
"Via ",
|
|
48004
|
-
|
|
48003
|
+
Array.isArray(tag.generator) ? tag.generator.map(renderAgentLabel).join(", ") : renderAgentLabel(tag.generator)
|
|
48005
48004
|
] })
|
|
48006
48005
|
]
|
|
48007
48006
|
}
|
|
@@ -53945,7 +53944,7 @@ function ReferenceWizardModal({
|
|
|
53945
53944
|
|
|
53946
53945
|
// src/components/modals/SearchModal.tsx
|
|
53947
53946
|
import { useState as useState37, useEffect as useEffect44, useRef as useRef33 } from "react";
|
|
53948
|
-
var import_operators = __toESM(require_operators());
|
|
53947
|
+
var import_operators = __toESM(require_operators(), 1);
|
|
53949
53948
|
import { getResourceId } from "@semiont/core";
|
|
53950
53949
|
import { createSearchPipeline } from "@semiont/sdk";
|
|
53951
53950
|
|
|
@@ -54156,7 +54155,7 @@ function SearchModal({
|
|
|
54156
54155
|
|
|
54157
54156
|
// src/components/modals/ResourceSearchModal.tsx
|
|
54158
54157
|
import { useState as useState38, useEffect as useEffect45, useRef as useRef34 } from "react";
|
|
54159
|
-
var import_operators2 = __toESM(require_operators());
|
|
54158
|
+
var import_operators2 = __toESM(require_operators(), 1);
|
|
54160
54159
|
import { getResourceId as getResourceId2, getPrimaryRepresentation } from "@semiont/core";
|
|
54161
54160
|
import { createSearchPipeline as createSearchPipeline2 } from "@semiont/sdk";
|
|
54162
54161
|
import { jsx as jsx58, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
@@ -55729,7 +55728,7 @@ var ForwardRef17 = /* @__PURE__ */ React42.forwardRef(UserCircleIcon);
|
|
|
55729
55728
|
var UserCircleIcon_default = ForwardRef17;
|
|
55730
55729
|
|
|
55731
55730
|
// src/state/shell-state-unit.ts
|
|
55732
|
-
var import_rxjs = __toESM(require_cjs());
|
|
55731
|
+
var import_rxjs = __toESM(require_cjs(), 1);
|
|
55733
55732
|
var COMMON_PANELS = ["knowledge-base", "user", "settings"];
|
|
55734
55733
|
var RESOURCE_PANELS = ["history", "info", "annotations", "collaboration", "jsonld"];
|
|
55735
55734
|
var MOTIVATION_TO_TAB = {
|
|
@@ -58074,7 +58073,7 @@ function useMediaToken(id2) {
|
|
|
58074
58073
|
}
|
|
58075
58074
|
|
|
58076
58075
|
// src/features/resource-viewer/state/resource-viewer-page-state-unit.ts
|
|
58077
|
-
var import_rxjs2 = __toESM(require_cjs());
|
|
58076
|
+
var import_rxjs2 = __toESM(require_cjs(), 1);
|
|
58078
58077
|
import { createDisposer } from "@semiont/sdk";
|
|
58079
58078
|
import { createBeckonStateUnit } from "@semiont/sdk";
|
|
58080
58079
|
import { createMarkStateUnit } from "@semiont/sdk";
|
|
@@ -58539,7 +58538,6 @@ function ResourceViewerPage({
|
|
|
58539
58538
|
isArchived: resource.archived ?? false,
|
|
58540
58539
|
dateCreated: resource.dateCreated,
|
|
58541
58540
|
dateModified: resource.dateModified,
|
|
58542
|
-
creationMethod: resource.creationMethod,
|
|
58543
58541
|
wasAttributedTo: resource.wasAttributedTo,
|
|
58544
58542
|
wasDerivedFrom: resource.wasDerivedFrom,
|
|
58545
58543
|
generator: resource.generator
|
|
@@ -58633,7 +58631,7 @@ import { createGatherStateUnit as createGatherStateUnit2 } from "@semiont/sdk";
|
|
|
58633
58631
|
import { createMatchStateUnit as createMatchStateUnit2 } from "@semiont/sdk";
|
|
58634
58632
|
|
|
58635
58633
|
// src/state/session-state-unit.ts
|
|
58636
|
-
var import_rxjs3 = __toESM(require_cjs());
|
|
58634
|
+
var import_rxjs3 = __toESM(require_cjs(), 1);
|
|
58637
58635
|
function createSessionStateUnit(client) {
|
|
58638
58636
|
const isLoggingOut$ = new import_rxjs3.BehaviorSubject(false);
|
|
58639
58637
|
const logout = async () => {
|
|
@@ -58655,7 +58653,7 @@ function createSessionStateUnit(client) {
|
|
|
58655
58653
|
}
|
|
58656
58654
|
|
|
58657
58655
|
// src/features/resource-compose/state/compose-page-state-unit.ts
|
|
58658
|
-
var import_rxjs4 = __toESM(require_cjs());
|
|
58656
|
+
var import_rxjs4 = __toESM(require_cjs(), 1);
|
|
58659
58657
|
import { resourceId as makeResourceId2, annotationId as makeAnnotationId } from "@semiont/core";
|
|
58660
58658
|
import { createDisposer as createDisposer2 } from "@semiont/sdk";
|
|
58661
58659
|
import { getPrimaryMediaType as getPrimaryMediaType3, decodeWithCharset as decodeWithCharset3 } from "@semiont/core";
|
|
@@ -58738,7 +58736,6 @@ function createComposePageStateUnit(client, browse, params, auth) {
|
|
|
58738
58736
|
format,
|
|
58739
58737
|
entityTypes: saveParams.entityTypes || [],
|
|
58740
58738
|
language: saveParams.language,
|
|
58741
|
-
creationMethod: "ui",
|
|
58742
58739
|
storageUri: saveParams.storageUri
|
|
58743
58740
|
}).subscribe({
|
|
58744
58741
|
next: (event) => {
|
|
@@ -58783,7 +58780,7 @@ function createComposePageStateUnit(client, browse, params, auth) {
|
|
|
58783
58780
|
}
|
|
58784
58781
|
|
|
58785
58782
|
// src/features/resource-viewer/state/resource-loader-state-unit.ts
|
|
58786
|
-
var import_rxjs5 = __toESM(require_cjs());
|
|
58783
|
+
var import_rxjs5 = __toESM(require_cjs(), 1);
|
|
58787
58784
|
function createResourceLoaderStateUnit(client, resourceId2) {
|
|
58788
58785
|
const raw$ = client.browse.resource(resourceId2);
|
|
58789
58786
|
const resource$ = raw$;
|
|
@@ -58798,7 +58795,7 @@ function createResourceLoaderStateUnit(client, resourceId2) {
|
|
|
58798
58795
|
}
|
|
58799
58796
|
|
|
58800
58797
|
// src/features/admin-users/state/admin-users-state-unit.ts
|
|
58801
|
-
var import_rxjs6 = __toESM(require_cjs());
|
|
58798
|
+
var import_rxjs6 = __toESM(require_cjs(), 1);
|
|
58802
58799
|
import { userDID } from "@semiont/core";
|
|
58803
58800
|
import { createDisposer as createDisposer3 } from "@semiont/sdk";
|
|
58804
58801
|
function createAdminUsersStateUnit(client, browse) {
|
|
@@ -58847,7 +58844,7 @@ function createAdminUsersStateUnit(client, browse) {
|
|
|
58847
58844
|
}
|
|
58848
58845
|
|
|
58849
58846
|
// src/features/admin-security/state/admin-security-state-unit.ts
|
|
58850
|
-
var import_rxjs7 = __toESM(require_cjs());
|
|
58847
|
+
var import_rxjs7 = __toESM(require_cjs(), 1);
|
|
58851
58848
|
import { createDisposer as createDisposer4 } from "@semiont/sdk";
|
|
58852
58849
|
function createAdminSecurityStateUnit(client, browse) {
|
|
58853
58850
|
const disposer = createDisposer4();
|
|
@@ -58876,8 +58873,8 @@ function createAdminSecurityStateUnit(client, browse) {
|
|
|
58876
58873
|
}
|
|
58877
58874
|
|
|
58878
58875
|
// src/features/admin-exchange/state/exchange-state-unit.ts
|
|
58879
|
-
var import_rxjs8 = __toESM(require_cjs());
|
|
58880
|
-
var import_operators3 = __toESM(require_operators());
|
|
58876
|
+
var import_rxjs8 = __toESM(require_cjs(), 1);
|
|
58877
|
+
var import_operators3 = __toESM(require_operators(), 1);
|
|
58881
58878
|
import { createDisposer as createDisposer5 } from "@semiont/sdk";
|
|
58882
58879
|
function createExchangeStateUnit(browse, exportFn, importFn) {
|
|
58883
58880
|
const disposer = createDisposer5();
|
|
@@ -58967,7 +58964,7 @@ function createExchangeStateUnit(browse, exportFn, importFn) {
|
|
|
58967
58964
|
}
|
|
58968
58965
|
|
|
58969
58966
|
// src/features/auth-welcome/state/welcome-state-unit.ts
|
|
58970
|
-
var import_rxjs9 = __toESM(require_cjs());
|
|
58967
|
+
var import_rxjs9 = __toESM(require_cjs(), 1);
|
|
58971
58968
|
import { createDisposer as createDisposer6 } from "@semiont/sdk";
|
|
58972
58969
|
function createWelcomeStateUnit(client) {
|
|
58973
58970
|
const disposer = createDisposer6();
|
|
@@ -58997,7 +58994,7 @@ function createWelcomeStateUnit(client) {
|
|
|
58997
58994
|
}
|
|
58998
58995
|
|
|
58999
58996
|
// src/features/resource-discovery/state/discover-state-unit.ts
|
|
59000
|
-
var import_rxjs10 = __toESM(require_cjs());
|
|
58997
|
+
var import_rxjs10 = __toESM(require_cjs(), 1);
|
|
59001
58998
|
import { createDisposer as createDisposer7 } from "@semiont/sdk";
|
|
59002
58999
|
import { createSearchPipeline as createSearchPipeline3 } from "@semiont/sdk";
|
|
59003
59000
|
var RECENT_LIMIT = 10;
|
|
@@ -59030,7 +59027,7 @@ function createDiscoverStateUnit(client, browse) {
|
|
|
59030
59027
|
}
|
|
59031
59028
|
|
|
59032
59029
|
// src/features/moderate-entity-tags/state/entity-tags-state-unit.ts
|
|
59033
|
-
var import_rxjs11 = __toESM(require_cjs());
|
|
59030
|
+
var import_rxjs11 = __toESM(require_cjs(), 1);
|
|
59034
59031
|
import { createDisposer as createDisposer8 } from "@semiont/sdk";
|
|
59035
59032
|
function createEntityTagsStateUnit(client, browse) {
|
|
59036
59033
|
const disposer = createDisposer8();
|
|
@@ -59256,4 +59253,4 @@ export {
|
|
|
59256
59253
|
useToast,
|
|
59257
59254
|
useTranslations
|
|
59258
59255
|
};
|
|
59259
|
-
//# sourceMappingURL=index.
|
|
59256
|
+
//# sourceMappingURL=index.js.map
|