@semiont/react-ui 0.5.23 → 0.5.25
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-V7Q3BEEQ.js → PdfAnnotationCanvas.client-EHQWF6BR.js} +45 -10
- package/dist/PdfAnnotationCanvas.client-EHQWF6BR.js.map +1 -0
- package/dist/{ar-JRTKCMTF.js → ar-CULRHLNG.js} +20 -6
- package/dist/ar-CULRHLNG.js.map +1 -0
- package/dist/{bn-LO6EDSCC.js → bn-HYR7CEL2.js} +20 -6
- package/dist/bn-HYR7CEL2.js.map +1 -0
- package/dist/{chunk-5Y5JDCKC.js → chunk-NH6L2GIL.js} +20 -6
- package/dist/chunk-NH6L2GIL.js.map +1 -0
- package/dist/{chunk-RO5CRVIA.js → chunk-TG2XQEC4.js} +92 -60
- package/dist/chunk-TG2XQEC4.js.map +1 -0
- package/dist/{cs-LCHHOR4O.js → cs-YBRWY7NH.js} +20 -6
- package/dist/cs-YBRWY7NH.js.map +1 -0
- package/dist/{da-TARGPMJR.js → da-PHDEOBV3.js} +20 -6
- package/dist/da-PHDEOBV3.js.map +1 -0
- package/dist/{de-SBH4QBPJ.js → de-O4UCCVLJ.js} +20 -6
- package/dist/de-O4UCCVLJ.js.map +1 -0
- package/dist/{el-2D2OLGWB.js → el-MVGO6WZV.js} +20 -6
- package/dist/el-MVGO6WZV.js.map +1 -0
- package/dist/{en-QFIEG3CA.js → en-2KQILFKQ.js} +4 -2
- package/dist/{es-U6YK2LX6.js → es-USSLXQY7.js} +20 -6
- package/dist/es-USSLXQY7.js.map +1 -0
- package/dist/{fa-S7SZE37M.js → fa-WMAREFWY.js} +20 -6
- package/dist/fa-WMAREFWY.js.map +1 -0
- package/dist/{fi-CBL3NIXN.js → fi-B3NBNOTS.js} +20 -6
- package/dist/fi-B3NBNOTS.js.map +1 -0
- package/dist/{fr-EABUHV6S.js → fr-TXYK5T5W.js} +20 -6
- package/dist/fr-TXYK5T5W.js.map +1 -0
- package/dist/{he-THWD244Y.js → he-JCJACW5D.js} +20 -6
- package/dist/he-JCJACW5D.js.map +1 -0
- package/dist/{hi-GHGFZJ44.js → hi-VOQLZNJU.js} +20 -6
- package/dist/hi-VOQLZNJU.js.map +1 -0
- package/dist/{id-POZOUMDW.js → id-BFN5RZNZ.js} +20 -6
- package/dist/id-BFN5RZNZ.js.map +1 -0
- package/dist/index.css +0 -36
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +102 -53
- package/dist/index.js +2132 -2097
- package/dist/index.js.map +1 -1
- package/dist/{it-KDYJADSH.js → it-TWWDHKKM.js} +20 -6
- package/dist/it-TWWDHKKM.js.map +1 -0
- package/dist/{ja-Z5Z6ZF3P.js → ja-YRQLEBFM.js} +20 -6
- package/dist/ja-YRQLEBFM.js.map +1 -0
- package/dist/{ko-7X3XUXRN.js → ko-PG6B3CRB.js} +20 -6
- package/dist/ko-PG6B3CRB.js.map +1 -0
- package/dist/{ms-BTWEIW43.js → ms-7EZECVKM.js} +20 -6
- package/dist/ms-7EZECVKM.js.map +1 -0
- package/dist/{nl-IS2CGF5I.js → nl-HP753YAP.js} +20 -6
- package/dist/nl-HP753YAP.js.map +1 -0
- package/dist/{no-AAMEVA26.js → no-JUD5WX3N.js} +20 -6
- package/dist/no-JUD5WX3N.js.map +1 -0
- package/dist/{pl-PVXUQYFT.js → pl-RVUL4CBM.js} +20 -6
- package/dist/pl-RVUL4CBM.js.map +1 -0
- package/dist/{pt-3ITQ76TL.js → pt-RPOVD4QM.js} +20 -6
- package/dist/pt-RPOVD4QM.js.map +1 -0
- package/dist/{ro-FRB4IIVS.js → ro-DMYWQTRD.js} +20 -6
- package/dist/ro-DMYWQTRD.js.map +1 -0
- package/dist/{sv-DS3RO24M.js → sv-DMZ4FGXD.js} +20 -6
- package/dist/sv-DMZ4FGXD.js.map +1 -0
- package/dist/test-utils.js +4 -3
- package/dist/test-utils.js.map +1 -1
- package/dist/{th-AX66MWWB.js → th-4HVBJBQ2.js} +20 -6
- package/dist/th-4HVBJBQ2.js.map +1 -0
- package/dist/{tr-7KTB67TT.js → tr-6BDPU5ML.js} +20 -6
- package/dist/tr-6BDPU5ML.js.map +1 -0
- package/dist/{uk-SMQS2MAQ.js → uk-TBZBT2TL.js} +20 -6
- package/dist/uk-TBZBT2TL.js.map +1 -0
- package/dist/{vi-D3JXL2EZ.js → vi-UMKZKZL3.js} +20 -6
- package/dist/vi-UMKZKZL3.js.map +1 -0
- package/dist/{zh-S754AWFS.js → zh-YBJWJJYB.js} +20 -6
- package/dist/zh-YBJWJJYB.js.map +1 -0
- package/package.json +8 -8
- package/src/components/AssistProgress.tsx +42 -30
- package/src/components/EntityFoundLog.tsx +38 -0
- package/src/components/__tests__/AssistProgress.test.tsx +86 -28
- package/src/components/annotation-popups/JsonLdView.tsx +1 -1
- package/src/components/annotation-popups/__tests__/JsonLdView.test.tsx +8 -2
- package/src/components/modals/ReferenceWizardModal.tsx +2 -1
- package/src/components/pdf-annotation/PdfAnnotationCanvas.tsx +112 -12
- package/src/components/pdf-annotation/__tests__/PdfAnnotationCanvas.test.tsx +247 -1
- package/src/components/resource/AnnotateView.tsx +14 -7
- package/src/components/resource/BrowseView.tsx +2 -7
- package/src/components/resource/DownloadFileLink.tsx +49 -0
- package/src/components/resource/__tests__/AnnotateView.focus.test.tsx +58 -0
- package/src/components/resource/__tests__/download-link.test.tsx +129 -0
- package/src/components/resource/panels/AssistSection.css +0 -43
- package/src/components/resource/panels/AssistSection.tsx +11 -2
- package/src/components/resource/panels/AssistShell.tsx +5 -1
- package/src/components/resource/panels/JsonLdPanel.tsx +1 -1
- package/src/components/resource/panels/ReferencesPanel.tsx +12 -13
- package/src/components/resource/panels/TaggingPanel.tsx +21 -1
- package/src/components/resource/panels/__tests__/AssistSection.test.tsx +2 -2
- package/src/components/resource/panels/__tests__/AssistShell.test.tsx +9 -4
- package/src/components/resource/panels/__tests__/HighlightPanel.annotationProgress.test.tsx +1 -1
- package/src/components/resource/panels/__tests__/JsonLdPanel.test.tsx +8 -2
- package/src/components/resource/panels/__tests__/ReferencesPanel.test.tsx +26 -0
- package/src/components/settings/SettingsPanel.tsx +6 -2
- package/src/components/settings/__tests__/SettingsPanel.test.tsx +28 -3
- package/src/features/admin-devops/__tests__/AdminDevOpsPage.test.tsx +3 -11
- package/src/features/admin-devops/components/AdminDevOpsPage.tsx +0 -3
- package/src/features/admin-exchange/__tests__/AdminExchangePage.test.tsx +0 -1
- package/src/features/admin-exchange/components/AdminExchangePage.tsx +0 -3
- package/src/features/admin-exchange/state/__tests__/exchange-state-unit.test.ts +1 -1
- package/src/features/admin-security/__tests__/AdminSecurityPage.test.tsx +0 -8
- package/src/features/admin-security/components/AdminSecurityPage.tsx +0 -3
- package/src/features/admin-security/state/__tests__/admin-security-state-unit.test.ts +1 -1
- package/src/features/admin-users/__tests__/AdminUsersPage.test.tsx +0 -1
- package/src/features/admin-users/components/AdminUsersPage.tsx +0 -3
- package/src/features/admin-users/state/__tests__/admin-users-state-unit.test.ts +1 -1
- package/src/features/auth-welcome/state/__tests__/welcome-state-unit.test.ts +1 -1
- package/src/features/moderate-entity-tags/__tests__/EntityTagsPage.test.tsx +0 -2
- package/src/features/moderate-entity-tags/components/EntityTagsPage.tsx +0 -3
- package/src/features/moderate-entity-tags/state/__tests__/entity-tags-state-unit.test.ts +1 -1
- package/src/features/moderate-recent/__tests__/RecentDocumentsPage.test.tsx +3 -5
- package/src/features/moderate-recent/components/RecentDocumentsPage.tsx +0 -3
- package/src/features/moderate-tag-schemas/__tests__/TagSchemasPage.test.tsx +3 -5
- package/src/features/moderate-tag-schemas/components/TagSchemasPage.tsx +0 -3
- package/src/features/moderation-linked-data/__tests__/LinkedDataPage.test.tsx +0 -1
- package/src/features/moderation-linked-data/components/LinkedDataPage.tsx +0 -3
- package/src/features/resource-compose/__tests__/ResourceComposePage.test.tsx +17 -7
- package/src/features/resource-compose/components/ResourceComposePage.tsx +5 -3
- package/src/features/resource-compose/state/__tests__/compose-page-state-unit.test.ts +1 -1
- package/src/features/resource-discovery/__tests__/ResourceDiscoveryPage.test.tsx +0 -1
- package/src/features/resource-discovery/components/ResourceDiscoveryPage.tsx +0 -3
- package/src/features/resource-discovery/state/__tests__/discover-state-unit.test.ts +1 -1
- package/src/features/resource-viewer/__tests__/ResourceViewerPage.test.tsx +40 -8
- package/src/features/resource-viewer/components/ResourceViewerPage.tsx +20 -16
- package/src/features/resource-viewer/state/__tests__/resource-loader-state-unit.test.ts +1 -1
- package/src/features/resource-viewer/state/__tests__/resource-viewer-page-state-unit.test.ts +1 -1
- package/src/features/resource-viewer/state/resource-viewer-page-state-unit.ts +2 -2
- package/translations/ar.json +17 -5
- package/translations/bn.json +17 -5
- package/translations/cs.json +17 -5
- package/translations/da.json +17 -5
- package/translations/de.json +17 -5
- package/translations/el.json +17 -5
- package/translations/en.json +17 -5
- package/translations/es.json +17 -5
- package/translations/fa.json +17 -5
- package/translations/fi.json +17 -5
- package/translations/fr.json +17 -5
- package/translations/he.json +17 -5
- package/translations/hi.json +17 -5
- package/translations/id.json +17 -5
- package/translations/it.json +17 -5
- package/translations/ja.json +17 -5
- package/translations/ko.json +17 -5
- package/translations/ms.json +17 -5
- package/translations/nl.json +17 -5
- package/translations/no.json +17 -5
- package/translations/pl.json +17 -5
- package/translations/pt.json +17 -5
- package/translations/ro.json +17 -5
- package/translations/sv.json +17 -5
- package/translations/th.json +17 -5
- package/translations/tr.json +17 -5
- package/translations/uk.json +17 -5
- package/translations/vi.json +17 -5
- package/translations/zh.json +17 -5
- package/dist/PdfAnnotationCanvas.client-V7Q3BEEQ.js.map +0 -1
- package/dist/ar-JRTKCMTF.js.map +0 -1
- package/dist/bn-LO6EDSCC.js.map +0 -1
- package/dist/chunk-5Y5JDCKC.js.map +0 -1
- package/dist/chunk-RO5CRVIA.js.map +0 -1
- package/dist/cs-LCHHOR4O.js.map +0 -1
- package/dist/da-TARGPMJR.js.map +0 -1
- package/dist/de-SBH4QBPJ.js.map +0 -1
- package/dist/el-2D2OLGWB.js.map +0 -1
- package/dist/es-U6YK2LX6.js.map +0 -1
- package/dist/fa-S7SZE37M.js.map +0 -1
- package/dist/fi-CBL3NIXN.js.map +0 -1
- package/dist/fr-EABUHV6S.js.map +0 -1
- package/dist/he-THWD244Y.js.map +0 -1
- package/dist/hi-GHGFZJ44.js.map +0 -1
- package/dist/id-POZOUMDW.js.map +0 -1
- package/dist/it-KDYJADSH.js.map +0 -1
- package/dist/ja-Z5Z6ZF3P.js.map +0 -1
- package/dist/ko-7X3XUXRN.js.map +0 -1
- package/dist/ms-BTWEIW43.js.map +0 -1
- package/dist/nl-IS2CGF5I.js.map +0 -1
- package/dist/no-AAMEVA26.js.map +0 -1
- package/dist/pl-PVXUQYFT.js.map +0 -1
- package/dist/pt-3ITQ76TL.js.map +0 -1
- package/dist/ro-FRB4IIVS.js.map +0 -1
- package/dist/sv-DS3RO24M.js.map +0 -1
- package/dist/th-AX66MWWB.js.map +0 -1
- package/dist/tr-7KTB67TT.js.map +0 -1
- package/dist/uk-SMQS2MAQ.js.map +0 -1
- package/dist/vi-D3JXL2EZ.js.map +0 -1
- package/dist/zh-S754AWFS.js.map +0 -1
- /package/dist/{en-QFIEG3CA.js.map → en-2KQILFKQ.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import React__default, { ComponentType, ReactNode, KeyboardEvent as KeyboardEven
|
|
|
7
7
|
import * as _codemirror_state from '@codemirror/state';
|
|
8
8
|
import { HighlightStyle } from '@codemirror/language';
|
|
9
9
|
import { WidgetType } from '@codemirror/view';
|
|
10
|
-
import {
|
|
10
|
+
import { SemiontClient, SemiontSession, DiscoveryTransport, DiscoveryState, SemiontBrowser, SessionStorage, SessionFactory, OpenResource, TagSchema, UploadProgress, BeckonStateUnit, MarkStateUnit, GatherStateUnit, YieldStateUnit, ReferencedByEntry } from '@semiont/sdk';
|
|
11
11
|
export { BeckonStateUnit, GatherStateUnit, GenerateDocumentOptions, HOVER_DELAY_MS, HoverHandlers, MarkStateUnit, MatchStateUnit, PendingAnnotation, SearchPipeline, SearchPipelineOptions, SearchState, TagSchema, YieldStateUnit, createBeckonStateUnit, createGatherStateUnit, createHoverHandlers, createMarkStateUnit, createMatchStateUnit, createSearchPipeline, createYieldStateUnit } from '@semiont/sdk';
|
|
12
12
|
import { Observable } from 'rxjs';
|
|
13
13
|
|
|
@@ -599,6 +599,27 @@ declare function getSelectedShapeForSelectorType(selectorType: SelectorType): Sh
|
|
|
599
599
|
*/
|
|
600
600
|
declare function saveSelectedShapeForSelectorType(selectorType: SelectorType, shape: ShapeType): void;
|
|
601
601
|
|
|
602
|
+
/**
|
|
603
|
+
* The URL for a resource's raw bytes — the one shape `GET /api/resources/:id`
|
|
604
|
+
* accepts from a browser. Pair with `useMediaToken`, which mints (and keeps
|
|
605
|
+
* refreshing) the token.
|
|
606
|
+
*
|
|
607
|
+
* Two things a hand-written `/api/resources/${id}` gets wrong, both of them
|
|
608
|
+
* silent until the byte never arrives:
|
|
609
|
+
*
|
|
610
|
+
* - **It must carry `?token=`.** That route is the browser-facing alias of the
|
|
611
|
+
* pipe, and exists only as the auth affordance for `<img>`, PDF.js and
|
|
612
|
+
* `<a download>` — none of which can attach an Authorization header. Auth is
|
|
613
|
+
* bearer + `?token=` only, no cookie, so a bare URL 401s.
|
|
614
|
+
* - **It must be absolute.** react-ui embeds into a host app with its own
|
|
615
|
+
* origin, so a relative path resolves against the HOST, not the backend.
|
|
616
|
+
*
|
|
617
|
+
* Returns `undefined` when either input is missing — no client, or a token
|
|
618
|
+
* that has not landed yet. There is no partially-correct URL worth rendering;
|
|
619
|
+
* callers show a not-yet-ready affordance instead of a known-bad link.
|
|
620
|
+
*/
|
|
621
|
+
declare function mediaUrl(client: SemiontClient | null | undefined, id: ResourceId, token: string | undefined): string | undefined;
|
|
622
|
+
|
|
602
623
|
/**
|
|
603
624
|
* Annotation overlay: decouples annotation highlighting from markdown rendering.
|
|
604
625
|
*
|
|
@@ -857,13 +878,14 @@ declare function getShortcutDisplay(shortcut: KeyboardShortcut): string;
|
|
|
857
878
|
*/
|
|
858
879
|
declare function useIsTyping(): boolean;
|
|
859
880
|
|
|
860
|
-
|
|
861
|
-
* Hook to manage line numbers display setting with localStorage persistence
|
|
862
|
-
*/
|
|
863
|
-
declare function useLineNumbers(): {
|
|
881
|
+
interface LineNumbersContextValue {
|
|
864
882
|
showLineNumbers: boolean;
|
|
865
883
|
toggleLineNumbers: () => void;
|
|
866
|
-
}
|
|
884
|
+
}
|
|
885
|
+
declare function LineNumbersProvider({ children }: {
|
|
886
|
+
children: ReactNode;
|
|
887
|
+
}): React$1.JSX.Element;
|
|
888
|
+
declare function useLineNumbers(): LineNumbersContextValue;
|
|
867
889
|
|
|
868
890
|
/**
|
|
869
891
|
* Hook to manage hover delay setting with localStorage persistence
|
|
@@ -1444,7 +1466,7 @@ interface TextSegment {
|
|
|
1444
1466
|
confidence?: AnchorConfidence;
|
|
1445
1467
|
}
|
|
1446
1468
|
|
|
1447
|
-
interface Props$
|
|
1469
|
+
interface Props$c {
|
|
1448
1470
|
content: string;
|
|
1449
1471
|
segments?: TextSegment[];
|
|
1450
1472
|
onTextSelect?: (exact: string, position: {
|
|
@@ -1464,26 +1486,37 @@ interface Props$b {
|
|
|
1464
1486
|
generatingReferenceId?: string | null;
|
|
1465
1487
|
hoverDelayMs: number;
|
|
1466
1488
|
}
|
|
1467
|
-
declare function CodeMirrorRenderer({ content, segments, onChange, editable, newAnnotationIds, hoveredAnnotationId, scrollToAnnotationId, sourceView, showLineNumbers, enableWidgets, session, getTargetResourceName, generatingReferenceId, hoverDelayMs }: Props$
|
|
1489
|
+
declare function CodeMirrorRenderer({ content, segments, onChange, editable, newAnnotationIds, hoveredAnnotationId, scrollToAnnotationId, sourceView, showLineNumbers, enableWidgets, session, getTargetResourceName, generatingReferenceId, hoverDelayMs }: Props$c): React$1.JSX.Element;
|
|
1468
1490
|
|
|
1469
1491
|
type JobProgress$8 = components['schemas']['JobProgress'];
|
|
1492
|
+
/**
|
|
1493
|
+
* Every string this component renders. Required by default and with NO
|
|
1494
|
+
* English fallbacks (ASSIST-SURFACE-WARTS Lane A): a `tr.x || 'X'` default
|
|
1495
|
+
* turns a forgotten key into English text in a Japanese UI, silently and
|
|
1496
|
+
* only at runtime. Required keys make the same mistake a type error at the
|
|
1497
|
+
* call site. Only genuinely conditional copy is optional.
|
|
1498
|
+
*/
|
|
1470
1499
|
interface AssistProgressTranslations {
|
|
1471
1500
|
/** Header title (e.g. "Annotating Entity References" / "Generating Resource"). Omit for the headerless inline style. */
|
|
1472
1501
|
title?: string;
|
|
1473
1502
|
/** Cancel-button title attribute. */
|
|
1474
|
-
cancel
|
|
1503
|
+
cancel: string;
|
|
1475
1504
|
/** Default in-progress status message (used when the job sends no `message`). */
|
|
1476
|
-
inProgress
|
|
1505
|
+
inProgress: string;
|
|
1477
1506
|
/** Status copy for the terminal 'complete' stage. */
|
|
1478
|
-
complete
|
|
1507
|
+
complete: string;
|
|
1479
1508
|
/** Fallback status copy for the terminal 'error' stage. */
|
|
1480
|
-
failed
|
|
1481
|
-
/**
|
|
1509
|
+
failed: string;
|
|
1510
|
+
/** Request-parameters block heading. */
|
|
1511
|
+
paramsTitle: string;
|
|
1512
|
+
/** Current-work detail line — the generic form, used by every flow. */
|
|
1513
|
+
processing: (label: string) => string;
|
|
1514
|
+
/** Completed entity-type log line (reference flow only). */
|
|
1482
1515
|
found?: (count: number) => string;
|
|
1483
|
-
/** Current-work detail line
|
|
1516
|
+
/** Current-work detail line, reference-flow wording; falls back to `processing`. */
|
|
1484
1517
|
current?: (label: string) => string;
|
|
1485
1518
|
/** Dismiss-button label. */
|
|
1486
|
-
close
|
|
1519
|
+
close: string;
|
|
1487
1520
|
}
|
|
1488
1521
|
interface AssistProgressProps {
|
|
1489
1522
|
progress: JobProgress$8;
|
|
@@ -1499,7 +1532,7 @@ interface AssistProgressProps {
|
|
|
1499
1532
|
onDismiss?: () => void;
|
|
1500
1533
|
/** Render the percentage bar (tag flow's visual; percentage itself comes from `progress`). */
|
|
1501
1534
|
showPercentBar?: boolean;
|
|
1502
|
-
translations
|
|
1535
|
+
translations: AssistProgressTranslations;
|
|
1503
1536
|
}
|
|
1504
1537
|
/**
|
|
1505
1538
|
* The one job-progress renderer (#7) — unifies the three previous shapes
|
|
@@ -1526,8 +1559,12 @@ interface AssistShellProps {
|
|
|
1526
1559
|
* Pass-through config for the progress renderer (cancel/dismiss wiring,
|
|
1527
1560
|
* translations, percent bar). Dismiss policy lives HERE: the shell forwards
|
|
1528
1561
|
* `onDismiss` only once the assist is no longer running.
|
|
1562
|
+
*
|
|
1563
|
+
* Required because `translations` is: the shell renders the progress display
|
|
1564
|
+
* itself, so a caller that omitted this would render untranslated chrome —
|
|
1565
|
+
* the failure Lane A exists to make impossible.
|
|
1529
1566
|
*/
|
|
1530
|
-
progressProps
|
|
1567
|
+
progressProps: Omit<AssistProgressProps, 'progress' | 'dataType'>;
|
|
1531
1568
|
}
|
|
1532
1569
|
/**
|
|
1533
1570
|
* The one assist-section chrome (#7): collapsible header with persisted expand
|
|
@@ -1538,7 +1575,7 @@ interface AssistShellProps {
|
|
|
1538
1575
|
*/
|
|
1539
1576
|
declare function AssistShell({ assistType, title, isAssisting, progress, form, progressProps }: AssistShellProps): React$1.JSX.Element;
|
|
1540
1577
|
|
|
1541
|
-
interface Props$
|
|
1578
|
+
interface Props$b {
|
|
1542
1579
|
children: ReactNode;
|
|
1543
1580
|
fallback?: (error: Error, reset: () => void) => ReactNode;
|
|
1544
1581
|
onError?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
@@ -1551,8 +1588,8 @@ interface State {
|
|
|
1551
1588
|
* Generic Error Boundary component that catches JavaScript errors
|
|
1552
1589
|
* in child components and displays a fallback UI.
|
|
1553
1590
|
*/
|
|
1554
|
-
declare class ErrorBoundary extends Component<Props$
|
|
1555
|
-
constructor(props: Props$
|
|
1591
|
+
declare class ErrorBoundary extends Component<Props$b, State> {
|
|
1592
|
+
constructor(props: Props$b);
|
|
1556
1593
|
static getDerivedStateFromError(error: Error): State;
|
|
1557
1594
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
1558
1595
|
handleReset: () => void;
|
|
@@ -1711,7 +1748,7 @@ declare function ToastProvider({ children }: {
|
|
|
1711
1748
|
declare function useToast(): ToastContextType;
|
|
1712
1749
|
|
|
1713
1750
|
type ToolbarContext = 'document' | 'simple';
|
|
1714
|
-
interface Props$
|
|
1751
|
+
interface Props$a<T extends string = string> {
|
|
1715
1752
|
context: ToolbarContext;
|
|
1716
1753
|
activePanel: T | null;
|
|
1717
1754
|
isArchived?: boolean;
|
|
@@ -1721,10 +1758,9 @@ interface Props$9<T extends string = string> {
|
|
|
1721
1758
|
*
|
|
1722
1759
|
* @emits panel:toggle - Toggle panel visibility. Payload: { panel: string }
|
|
1723
1760
|
*/
|
|
1724
|
-
declare function Toolbar<T extends string = string>({ context, activePanel, isArchived }: Props$
|
|
1761
|
+
declare function Toolbar<T extends string = string>({ context, activePanel, isArchived }: Props$a<T>): React$1.JSX.Element;
|
|
1725
1762
|
|
|
1726
1763
|
interface SettingsPanelProps {
|
|
1727
|
-
showLineNumbers: boolean;
|
|
1728
1764
|
theme: 'light' | 'dark' | 'system';
|
|
1729
1765
|
locale: string;
|
|
1730
1766
|
isPendingLocaleChange?: boolean;
|
|
@@ -1738,7 +1774,7 @@ interface SettingsPanelProps {
|
|
|
1738
1774
|
* @emits settings:theme-changed - Theme changed by user. Payload: { theme: 'light' | 'dark' | 'system' }
|
|
1739
1775
|
* @emits settings:hover-delay-changed - Hover delay changed by user. Payload: { hoverDelayMs: number }
|
|
1740
1776
|
*/
|
|
1741
|
-
declare function SettingsPanel({
|
|
1777
|
+
declare function SettingsPanel({ theme, locale, isPendingLocaleChange, hoverDelayMs }: SettingsPanelProps): React__default.JSX.Element;
|
|
1742
1778
|
|
|
1743
1779
|
interface JsonLdViewProps {
|
|
1744
1780
|
annotation: Annotation;
|
|
@@ -1885,7 +1921,7 @@ declare function PdfAnnotateRenderer({ content, resourceUri, annotations, sessio
|
|
|
1885
1921
|
*/
|
|
1886
1922
|
declare const defaultAnnotateRenderers: Record<'text' | 'image' | 'pdf', ComponentType<AnnotateMediaRendererProps>>;
|
|
1887
1923
|
|
|
1888
|
-
interface Props$
|
|
1924
|
+
interface Props$9 {
|
|
1889
1925
|
content: string;
|
|
1890
1926
|
mimeType?: string;
|
|
1891
1927
|
/** The '@id' of the shown resource — stamped as `source` on mark:requested (multi-viewer routing). */
|
|
@@ -1916,10 +1952,11 @@ interface Props$8 {
|
|
|
1916
1952
|
*
|
|
1917
1953
|
* @emits mark:requested - User requested to create annotation. Payload: { selector: Selector | Selector[], motivation: SelectionMotivation }
|
|
1918
1954
|
* @subscribes beckon:hover - Annotation hovered. Payload: { annotationId: string | null }
|
|
1955
|
+
* @subscribes beckon:focus - Scroll to and highlight annotation. Payload: { annotationId: string }
|
|
1919
1956
|
*/
|
|
1920
|
-
declare function AnnotateView({ content, mimeType, resourceUri, annotations, uiState, onUIStateChange, enableWidgets, getTargetResourceName, generatingReferenceId, showLineNumbers, hoverDelayMs, annotateMode, session, newAnnotationIds, onModeChange, showToolbar, renderers, }: Props$
|
|
1957
|
+
declare function AnnotateView({ content, mimeType, resourceUri, annotations, uiState, onUIStateChange, enableWidgets, getTargetResourceName, generatingReferenceId, showLineNumbers, hoverDelayMs, annotateMode, session, newAnnotationIds, onModeChange, showToolbar, renderers, }: Props$9): React$1.JSX.Element;
|
|
1921
1958
|
|
|
1922
|
-
interface Props$
|
|
1959
|
+
interface Props$8 {
|
|
1923
1960
|
/**
|
|
1924
1961
|
* The resource's stored events, and how their load is going. Supplied by the
|
|
1925
1962
|
* owner (which already holds them on its state unit) rather than fetched
|
|
@@ -1940,7 +1977,7 @@ interface Props$7 {
|
|
|
1940
1977
|
Link: React__default.ComponentType<LinkComponentProps>;
|
|
1941
1978
|
routes: RouteBuilder;
|
|
1942
1979
|
}
|
|
1943
|
-
declare function AnnotationHistory({ events: eventsData, eventsLoading, eventsError, onRetryEvents, annotations, hoveredAnnotationId, onEventHover, onEventClick, Link, routes, }: Props$
|
|
1980
|
+
declare function AnnotationHistory({ events: eventsData, eventsLoading, eventsError, onRetryEvents, annotations, hoveredAnnotationId, onEventHover, onEventClick, Link, routes, }: Props$8): React__default.JSX.Element | null;
|
|
1944
1981
|
|
|
1945
1982
|
/**
|
|
1946
1983
|
* Common props for a read-only ("browse") media renderer. `content` is decoded
|
|
@@ -1972,7 +2009,7 @@ declare function PdfBrowseRenderer({ content, resourceUri, annotations, session
|
|
|
1972
2009
|
*/
|
|
1973
2010
|
declare const defaultBrowseRenderers: Record<'text' | 'image' | 'pdf', ComponentType<MediaRendererProps>>;
|
|
1974
2011
|
|
|
1975
|
-
interface Props$
|
|
2012
|
+
interface Props$7 {
|
|
1976
2013
|
content: string;
|
|
1977
2014
|
mimeType: string;
|
|
1978
2015
|
resourceUri: string;
|
|
@@ -2025,7 +2062,31 @@ interface ReferenceHover {
|
|
|
2025
2062
|
* @subscribes beckon:hover - Highlight annotation on hover. Payload: { annotationId: string | null }
|
|
2026
2063
|
* @subscribes beckon:focus - Scroll to and highlight annotation. Payload: { annotationId: string }
|
|
2027
2064
|
*/
|
|
2028
|
-
declare const BrowseView: React$1.MemoExoticComponent<({ content, mimeType, resourceUri, annotations, selectedClick, onModeChange, onClickActionChange, showToolbar, annotateMode, hoverDelayMs, session, newAnnotationIds, renderers, onLinkClick, onReferenceHover, inline, }: Props$
|
|
2065
|
+
declare const BrowseView: React$1.MemoExoticComponent<({ content, mimeType, resourceUri, annotations, selectedClick, onModeChange, onClickActionChange, showToolbar, annotateMode, hoverDelayMs, session, newAnnotationIds, renderers, onLinkClick, onReferenceHover, inline, }: Props$7) => React$1.JSX.Element>;
|
|
2066
|
+
|
|
2067
|
+
interface Props$6 {
|
|
2068
|
+
/** The '@id' of the resource whose bytes to offer. */
|
|
2069
|
+
resourceUri: string;
|
|
2070
|
+
/** Session for that resource — its client mints the media token and supplies the backend origin. */
|
|
2071
|
+
session: SemiontSession | null;
|
|
2072
|
+
}
|
|
2073
|
+
/**
|
|
2074
|
+
* The "Download File" affordance on the unsupported-media fallback, shared by
|
|
2075
|
+
* the browse and annotate views.
|
|
2076
|
+
*
|
|
2077
|
+
* Its own component rather than inline markup for two reasons. The token is a
|
|
2078
|
+
* hook, and this fallback is a branch — mounting the component only in that
|
|
2079
|
+
* branch keeps every text/image/PDF view from minting a media token it will
|
|
2080
|
+
* never use. And the URL rule (absolute + `?token=`) lives in `mediaUrl`,
|
|
2081
|
+
* where both views and the viewer page read the same one.
|
|
2082
|
+
*
|
|
2083
|
+
* Before the token lands the anchor renders as a disabled button: a tokenless
|
|
2084
|
+
* URL is a guaranteed 401, and a link that silently fails is worse than one
|
|
2085
|
+
* visibly not ready yet. A client with no `auth` namespace (a host on a bare
|
|
2086
|
+
* transport) stays in that state permanently, which is the honest answer —
|
|
2087
|
+
* it cannot mint tokens at all.
|
|
2088
|
+
*/
|
|
2089
|
+
declare function DownloadFileLink({ resourceUri, session }: Props$6): React$1.JSX.Element;
|
|
2029
2090
|
|
|
2030
2091
|
type TranslateFn$4 = (key: string, params?: Record<string, string | number>) => string;
|
|
2031
2092
|
interface Props$5 {
|
|
@@ -3384,7 +3445,6 @@ interface DevOpsFeature {
|
|
|
3384
3445
|
interface AdminDevOpsPageProps {
|
|
3385
3446
|
suggestedFeatures: DevOpsFeature[];
|
|
3386
3447
|
theme: 'light' | 'dark' | 'system';
|
|
3387
|
-
showLineNumbers: boolean;
|
|
3388
3448
|
activePanel: string | null;
|
|
3389
3449
|
translations: {
|
|
3390
3450
|
title: string;
|
|
@@ -3399,7 +3459,7 @@ interface AdminDevOpsPageProps {
|
|
|
3399
3459
|
ToolbarPanels: React__default.ComponentType<any>;
|
|
3400
3460
|
Toolbar: React__default.ComponentType<any>;
|
|
3401
3461
|
}
|
|
3402
|
-
declare function AdminDevOpsPage({ suggestedFeatures, theme,
|
|
3462
|
+
declare function AdminDevOpsPage({ suggestedFeatures, theme, activePanel, translations: t, StatusDisplay, ToolbarPanels, Toolbar, }: AdminDevOpsPageProps): React__default.JSX.Element;
|
|
3403
3463
|
|
|
3404
3464
|
/**
|
|
3405
3465
|
* ExportCard — Backup trigger
|
|
@@ -3556,13 +3616,12 @@ interface AdminExchangePageProps {
|
|
|
3556
3616
|
importMessage?: string | undefined;
|
|
3557
3617
|
importResult?: Record<string, unknown> | undefined;
|
|
3558
3618
|
theme: 'light' | 'dark' | 'system';
|
|
3559
|
-
showLineNumbers: boolean;
|
|
3560
3619
|
activePanel: string | null;
|
|
3561
3620
|
translations: AdminExchangePageTranslations;
|
|
3562
3621
|
ToolbarPanels: React__default.ComponentType<any>;
|
|
3563
3622
|
Toolbar: React__default.ComponentType<any>;
|
|
3564
3623
|
}
|
|
3565
|
-
declare function AdminExchangePage({ onExport, isExporting, onFileSelected, onImport, onCancelImport, selectedFile, preview, isImporting, importPhase, importMessage, importResult, theme,
|
|
3624
|
+
declare function AdminExchangePage({ onExport, isExporting, onFileSelected, onImport, onCancelImport, selectedFile, preview, isImporting, importPhase, importMessage, importResult, theme, activePanel, translations: t, ToolbarPanels, Toolbar, }: AdminExchangePageProps): React__default.JSX.Element;
|
|
3566
3625
|
|
|
3567
3626
|
/**
|
|
3568
3627
|
* AdminSecurityPage Component
|
|
@@ -3580,7 +3639,6 @@ interface AdminSecurityPageProps {
|
|
|
3580
3639
|
allowedDomains: string[];
|
|
3581
3640
|
isLoading: boolean;
|
|
3582
3641
|
theme: 'light' | 'dark' | 'system';
|
|
3583
|
-
showLineNumbers: boolean;
|
|
3584
3642
|
activePanel: string | null;
|
|
3585
3643
|
translations: {
|
|
3586
3644
|
title: string;
|
|
@@ -3604,7 +3662,7 @@ interface AdminSecurityPageProps {
|
|
|
3604
3662
|
ToolbarPanels: React__default.ComponentType<any>;
|
|
3605
3663
|
Toolbar: React__default.ComponentType<any>;
|
|
3606
3664
|
}
|
|
3607
|
-
declare function AdminSecurityPage({ providers, allowedDomains, isLoading, theme,
|
|
3665
|
+
declare function AdminSecurityPage({ providers, allowedDomains, isLoading, theme, activePanel, translations: t, ToolbarPanels, Toolbar, }: AdminSecurityPageProps): React__default.JSX.Element;
|
|
3608
3666
|
|
|
3609
3667
|
/**
|
|
3610
3668
|
* LinkedDataPage — JSON-LD Export/Import moderation page
|
|
@@ -3633,13 +3691,12 @@ interface LinkedDataPageProps {
|
|
|
3633
3691
|
importMessage?: string | undefined;
|
|
3634
3692
|
importResult?: Record<string, unknown> | undefined;
|
|
3635
3693
|
theme: 'light' | 'dark' | 'system';
|
|
3636
|
-
showLineNumbers: boolean;
|
|
3637
3694
|
activePanel: string | null;
|
|
3638
3695
|
translations: LinkedDataPageTranslations;
|
|
3639
3696
|
ToolbarPanels: React__default.ComponentType<any>;
|
|
3640
3697
|
Toolbar: React__default.ComponentType<any>;
|
|
3641
3698
|
}
|
|
3642
|
-
declare function LinkedDataPage({ onExport, isExporting, onFileSelected, onImport, onCancelImport, selectedFile, preview, isImporting, importPhase, importMessage, importResult, theme,
|
|
3699
|
+
declare function LinkedDataPage({ onExport, isExporting, onFileSelected, onImport, onCancelImport, selectedFile, preview, isImporting, importPhase, importMessage, importResult, theme, activePanel, translations: t, ToolbarPanels, Toolbar, }: LinkedDataPageProps): React__default.JSX.Element;
|
|
3643
3700
|
|
|
3644
3701
|
/**
|
|
3645
3702
|
* AdminUsersPage Component
|
|
@@ -3677,7 +3734,6 @@ interface AdminUsersPageProps {
|
|
|
3677
3734
|
onAddUser: () => void;
|
|
3678
3735
|
onExportUsers: () => void;
|
|
3679
3736
|
theme: 'light' | 'dark' | 'system';
|
|
3680
|
-
showLineNumbers: boolean;
|
|
3681
3737
|
activePanel: string | null;
|
|
3682
3738
|
translations: {
|
|
3683
3739
|
title: string;
|
|
@@ -3727,7 +3783,7 @@ interface AdminUsersPageProps {
|
|
|
3727
3783
|
};
|
|
3728
3784
|
};
|
|
3729
3785
|
}
|
|
3730
|
-
declare function AdminUsersPage({ users, userStats, isLoadingUsers, isLoadingStats, onUpdateUser, onDeleteUser, onAddUser, onExportUsers, theme,
|
|
3786
|
+
declare function AdminUsersPage({ users, userStats, isLoadingUsers, isLoadingStats, onUpdateUser, onDeleteUser, onAddUser, onExportUsers, theme, activePanel, translations: t, ToolbarPanels, Toolbar, buttonStyles, }: AdminUsersPageProps): React__default.JSX.Element;
|
|
3731
3787
|
|
|
3732
3788
|
/**
|
|
3733
3789
|
* SignInForm - Pure React component for authentication
|
|
@@ -3959,7 +4015,6 @@ interface EntityTagsPageProps {
|
|
|
3959
4015
|
onAddTag: () => void;
|
|
3960
4016
|
isAddingTag: boolean;
|
|
3961
4017
|
theme: 'light' | 'dark' | 'system';
|
|
3962
|
-
showLineNumbers: boolean;
|
|
3963
4018
|
activePanel: string | null;
|
|
3964
4019
|
translations: {
|
|
3965
4020
|
pageTitle: string;
|
|
@@ -3973,7 +4028,7 @@ interface EntityTagsPageProps {
|
|
|
3973
4028
|
ToolbarPanels: React__default.ComponentType<any>;
|
|
3974
4029
|
Toolbar: React__default.ComponentType<any>;
|
|
3975
4030
|
}
|
|
3976
|
-
declare function EntityTagsPage({ entityTypes, error, newTag, onNewTagChange, onAddTag, isAddingTag, theme,
|
|
4031
|
+
declare function EntityTagsPage({ entityTypes, error, newTag, onNewTagChange, onAddTag, isAddingTag, theme, activePanel, translations: t, ToolbarPanels, Toolbar, }: EntityTagsPageProps): React__default.JSX.Element;
|
|
3977
4032
|
|
|
3978
4033
|
/**
|
|
3979
4034
|
* RecentDocumentsPage Component
|
|
@@ -3986,7 +4041,6 @@ interface RecentDocumentsPageProps {
|
|
|
3986
4041
|
hasDocuments: boolean;
|
|
3987
4042
|
isLoading: boolean;
|
|
3988
4043
|
theme: 'light' | 'dark' | 'system';
|
|
3989
|
-
showLineNumbers: boolean;
|
|
3990
4044
|
activePanel: string | null;
|
|
3991
4045
|
translations: {
|
|
3992
4046
|
pageTitle: string;
|
|
@@ -4000,7 +4054,7 @@ interface RecentDocumentsPageProps {
|
|
|
4000
4054
|
ToolbarPanels: React__default.ComponentType<any>;
|
|
4001
4055
|
Toolbar: React__default.ComponentType<any>;
|
|
4002
4056
|
}
|
|
4003
|
-
declare function RecentDocumentsPage({ isLoading, theme,
|
|
4057
|
+
declare function RecentDocumentsPage({ isLoading, theme, activePanel, translations: t, ToolbarPanels, Toolbar, }: RecentDocumentsPageProps): React__default.JSX.Element;
|
|
4004
4058
|
|
|
4005
4059
|
/**
|
|
4006
4060
|
* TagSchemasPage Component
|
|
@@ -4013,7 +4067,6 @@ interface TagSchemasPageProps {
|
|
|
4013
4067
|
schemas: TagSchema[];
|
|
4014
4068
|
isLoading: boolean;
|
|
4015
4069
|
theme: 'light' | 'dark' | 'system';
|
|
4016
|
-
showLineNumbers: boolean;
|
|
4017
4070
|
activePanel: string | null;
|
|
4018
4071
|
translations: {
|
|
4019
4072
|
pageTitle: string;
|
|
@@ -4024,7 +4077,7 @@ interface TagSchemasPageProps {
|
|
|
4024
4077
|
ToolbarPanels: React__default.ComponentType<any>;
|
|
4025
4078
|
Toolbar: React__default.ComponentType<any>;
|
|
4026
4079
|
}
|
|
4027
|
-
declare function TagSchemasPage({ schemas, isLoading, theme,
|
|
4080
|
+
declare function TagSchemasPage({ schemas, isLoading, theme, activePanel, translations: t, ToolbarPanels, Toolbar, }: TagSchemasPageProps): React__default.JSX.Element;
|
|
4028
4081
|
|
|
4029
4082
|
/**
|
|
4030
4083
|
* A cache-backed list in its real states.
|
|
@@ -4132,7 +4185,6 @@ interface ResourceComposePageProps {
|
|
|
4132
4185
|
availableEntityTypes: string[];
|
|
4133
4186
|
initialLocale: string;
|
|
4134
4187
|
theme: 'light' | 'dark';
|
|
4135
|
-
showLineNumbers: boolean;
|
|
4136
4188
|
hoverDelayMs: number;
|
|
4137
4189
|
activePanel: string | null;
|
|
4138
4190
|
onSaveResource: (params: SaveResourceParams) => Promise<void>;
|
|
@@ -4194,7 +4246,7 @@ interface SaveResourceParams {
|
|
|
4194
4246
|
annotationUri?: string;
|
|
4195
4247
|
sourceDocumentId?: string;
|
|
4196
4248
|
}
|
|
4197
|
-
declare function ResourceComposePage({ mode, cloneData, referenceData, gatheredContext, availableEntityTypes, initialLocale, theme,
|
|
4249
|
+
declare function ResourceComposePage({ mode, cloneData, referenceData, gatheredContext, availableEntityTypes, initialLocale, theme, hoverDelayMs, activePanel, onSaveResource, onCancel, uploadProgress, translations: t, ToolbarPanels, Toolbar, }: ResourceComposePageProps): React__default.JSX.Element;
|
|
4198
4250
|
|
|
4199
4251
|
/**
|
|
4200
4252
|
* Inline upload-progress affordance for the compose page.
|
|
@@ -4243,7 +4295,6 @@ interface ResourceDiscoveryPageProps {
|
|
|
4243
4295
|
selectedEntityType: string;
|
|
4244
4296
|
onSelectedEntityTypeChange: (entityType: string) => void;
|
|
4245
4297
|
theme: 'light' | 'dark';
|
|
4246
|
-
showLineNumbers: boolean;
|
|
4247
4298
|
activePanel: string | null;
|
|
4248
4299
|
onNavigateToResource: (resourceId: string) => void;
|
|
4249
4300
|
onNavigateToCompose: () => void;
|
|
@@ -4269,7 +4320,7 @@ interface ResourceDiscoveryPageProps {
|
|
|
4269
4320
|
};
|
|
4270
4321
|
ToolbarPanels: React__default.ComponentType<any>;
|
|
4271
4322
|
}
|
|
4272
|
-
declare function ResourceDiscoveryPage({ recentDocuments, searchDocuments, entityTypes, isLoadingRecent, recentError, onRetryRecent, isSearching, searchQuery, onSearchQueryChange, selectedEntityType, onSelectedEntityTypeChange, theme,
|
|
4323
|
+
declare function ResourceDiscoveryPage({ recentDocuments, searchDocuments, entityTypes, isLoadingRecent, recentError, onRetryRecent, isSearching, searchQuery, onSearchQueryChange, selectedEntityType, onSelectedEntityTypeChange, theme, activePanel, onNavigateToResource, onNavigateToCompose, translations: t, ToolbarPanels, }: ResourceDiscoveryPageProps): React__default.JSX.Element;
|
|
4273
4324
|
|
|
4274
4325
|
/**
|
|
4275
4326
|
* ResourceCard Component
|
|
@@ -4355,8 +4406,6 @@ interface ResourceViewerPageProps {
|
|
|
4355
4406
|
* @subscribes yield:clone - Clone the current resource
|
|
4356
4407
|
* @subscribes beckon:sparkle - Trigger sparkle animation
|
|
4357
4408
|
* @subscribes mark:added - Annotation was created (sparkle)
|
|
4358
|
-
* @subscribes settings:theme-changed - UI theme changed
|
|
4359
|
-
* @subscribes settings:line-numbers-toggled - Line numbers display toggled
|
|
4360
4409
|
* @subscribes browse:reference-navigate - Navigate to a referenced document
|
|
4361
4410
|
* @subscribes browse:entity-type-clicked - Navigate filtered by entity type
|
|
4362
4411
|
*
|
|
@@ -4534,5 +4583,5 @@ declare function useShellStateUnit(): ShellStateUnit;
|
|
|
4534
4583
|
*/
|
|
4535
4584
|
declare function useObservable<T>(obs$: Observable<T> | null | undefined): T | undefined;
|
|
4536
4585
|
|
|
4537
|
-
export { ANNOTATORS, AVAILABLE_LOCALES, AdminDevOpsPage, AdminExchangePage, AdminSecurityPage, AdminUsersPage, AnnotateToolbar, AnnotateView, AnnotationHistory, AnnotationOverlay, AnnotationProvider, AssessmentEntry, AssessmentPanel, AssistProgress, AssistSection, AssistShell, AsyncErrorBoundary, AuthErrorDisplay, BrowseView, Button, ButtonGroup, COMMON_PANELS, CodeMirrorRenderer, CollaborationPanel, CollapsibleResourceNavigation, CommentEntry, CommentsPanel, ComposeLoadingState, EntityTagsPage, EntityTypeBadges, ErrorBoundary, ExportCard, Footer, HighlightEntry, HighlightPanel, HistoryEvent, ImageAnnotateRenderer, ImageBrowseRenderer, ImageURLSchema, ImageViewer, ImportCard, ImportProgress, JsonLdPanel, JsonLdView, KeyboardShortcutsHelpModal, LeftSidebar, LinkedDataPage, LiveRegionProvider, NavigationMenu, OAuthUserSchema, ObservableLink, PageLayout, PanelHeader, PdfAnnotateRenderer, PdfBrowseRenderer, PermissionDeniedModal, PopupContainer, PopupHeader, ProtectedErrorBoundary, RESOURCE_PANELS, RecentDocumentsPage, ReferenceEntry, ReferenceResolutionWidget, ReferenceWizardModal, ReferencesPanel, ResizeHandle, ResourceAnnotationsProvider, ResourceCard, ResourceComposePage, ResourceDiscoveryPage, ResourceErrorState, ResourceGenerateModal, ResourceInfoPanel, ResourceLoadingState, ResourceSearchModal, ResourceTagsInline, ResourceViewer, ResourceViewerPage, SearchModal, SelectedTextDisplay, SemiontBranding, SemiontFavicon, SemiontProvider, SessionExpiredModal, SessionExpiryBanner, SessionTimer, SettingsPanel, SignInForm, SignUpForm, SimpleNavigation, SkipLinks, SortableResourceTab, StatisticsPanel, StatusDisplay, SvgDrawingCanvas, TagEntry, TagSchemasPage, TaggingPanel, TextAnnotateRenderer, TextBrowseRenderer, ThemeProvider, ToastContainer, ToastProvider, Toolbar, TranslationProvider, UnifiedAnnotationsPanel, UnifiedHeader, UploadProgressBar, UserMenuSkeleton, WebBrowserStorage, WelcomePage, annotatorKeyForMotivation, applyHighlights, buildSourceToRenderedMap, buildTextNodeIndex, buttonStyles, clearHighlights, createAdminSecurityStateUnit, createAdminUsersStateUnit, createComposePageStateUnit, createDiscoverStateUnit, createEntityTagsStateUnit, createExchangeStateUnit, createResourceLoaderStateUnit, createResourceViewerPageStateUnit, createSessionStateUnit, createShellStateUnit, createWelcomeStateUnit, cssVariables, defaultAnnotateRenderers, defaultBrowseRenderers, faviconPaths, formatTime, generateCSSVariables, getResourceIcon, getSelectedShapeForSelectorType, getSelectorType, getShortcutDisplay, getSupportedShapes, hideWidgetPreview, isShapeSupported, jsonLightHighlightStyle, jsonLightTheme, resolveAnnotationRanges, sanitizeImageURL, saveSelectedShapeForSelectorType, setPdfWorkerSrc, showWidgetPreview, supportsDetection, toOverlayAnnotations, tokens, useAnnotationManager, useDebounce, useDebouncedCallback, useDocumentAnnouncements, useDoubleKeyPress, useDropdown, useEventSubscription, useEventSubscriptions, useFormAnnouncements, useHoverDelay, useHoverEmitter, useIsTyping, useKBDiscovery, useKeyboardShortcuts, useLanguageChangeAnnouncements, useLineNumbers, useLiveRegion, useLoadingState, useLocalStorage, useMediaToken, useObservable, useObservableExternalNavigation, useObservableRouter, usePanelWidth, usePendingCreation, usePreloadTranslations, useResourceAnnotations, useResourceContent, useResourceGather, useResourceLoader, useResourceLoadingAnnouncements, useRovingTabIndex, useSearchAnnouncements, useSemiont, useSessionEventSubscriptions, useSessionExpiry, useSessionStateUnit, useShellStateUnit, useStateUnit, useTheme, useToast, useToolbarPrefs, useTranslations };
|
|
4586
|
+
export { ANNOTATORS, AVAILABLE_LOCALES, AdminDevOpsPage, AdminExchangePage, AdminSecurityPage, AdminUsersPage, AnnotateToolbar, AnnotateView, AnnotationHistory, AnnotationOverlay, AnnotationProvider, AssessmentEntry, AssessmentPanel, AssistProgress, AssistSection, AssistShell, AsyncErrorBoundary, AuthErrorDisplay, BrowseView, Button, ButtonGroup, COMMON_PANELS, CodeMirrorRenderer, CollaborationPanel, CollapsibleResourceNavigation, CommentEntry, CommentsPanel, ComposeLoadingState, DownloadFileLink, EntityTagsPage, EntityTypeBadges, ErrorBoundary, ExportCard, Footer, HighlightEntry, HighlightPanel, HistoryEvent, ImageAnnotateRenderer, ImageBrowseRenderer, ImageURLSchema, ImageViewer, ImportCard, ImportProgress, JsonLdPanel, JsonLdView, KeyboardShortcutsHelpModal, LeftSidebar, LineNumbersProvider, LinkedDataPage, LiveRegionProvider, NavigationMenu, OAuthUserSchema, ObservableLink, PageLayout, PanelHeader, PdfAnnotateRenderer, PdfBrowseRenderer, PermissionDeniedModal, PopupContainer, PopupHeader, ProtectedErrorBoundary, RESOURCE_PANELS, RecentDocumentsPage, ReferenceEntry, ReferenceResolutionWidget, ReferenceWizardModal, ReferencesPanel, ResizeHandle, ResourceAnnotationsProvider, ResourceCard, ResourceComposePage, ResourceDiscoveryPage, ResourceErrorState, ResourceGenerateModal, ResourceInfoPanel, ResourceLoadingState, ResourceSearchModal, ResourceTagsInline, ResourceViewer, ResourceViewerPage, SearchModal, SelectedTextDisplay, SemiontBranding, SemiontFavicon, SemiontProvider, SessionExpiredModal, SessionExpiryBanner, SessionTimer, SettingsPanel, SignInForm, SignUpForm, SimpleNavigation, SkipLinks, SortableResourceTab, StatisticsPanel, StatusDisplay, SvgDrawingCanvas, TagEntry, TagSchemasPage, TaggingPanel, TextAnnotateRenderer, TextBrowseRenderer, ThemeProvider, ToastContainer, ToastProvider, Toolbar, TranslationProvider, UnifiedAnnotationsPanel, UnifiedHeader, UploadProgressBar, UserMenuSkeleton, WebBrowserStorage, WelcomePage, annotatorKeyForMotivation, applyHighlights, buildSourceToRenderedMap, buildTextNodeIndex, buttonStyles, clearHighlights, createAdminSecurityStateUnit, createAdminUsersStateUnit, createComposePageStateUnit, createDiscoverStateUnit, createEntityTagsStateUnit, createExchangeStateUnit, createResourceLoaderStateUnit, createResourceViewerPageStateUnit, createSessionStateUnit, createShellStateUnit, createWelcomeStateUnit, cssVariables, defaultAnnotateRenderers, defaultBrowseRenderers, faviconPaths, formatTime, generateCSSVariables, getResourceIcon, getSelectedShapeForSelectorType, getSelectorType, getShortcutDisplay, getSupportedShapes, hideWidgetPreview, isShapeSupported, jsonLightHighlightStyle, jsonLightTheme, mediaUrl, resolveAnnotationRanges, sanitizeImageURL, saveSelectedShapeForSelectorType, setPdfWorkerSrc, showWidgetPreview, supportsDetection, toOverlayAnnotations, tokens, useAnnotationManager, useDebounce, useDebouncedCallback, useDocumentAnnouncements, useDoubleKeyPress, useDropdown, useEventSubscription, useEventSubscriptions, useFormAnnouncements, useHoverDelay, useHoverEmitter, useIsTyping, useKBDiscovery, useKeyboardShortcuts, useLanguageChangeAnnouncements, useLineNumbers, useLiveRegion, useLoadingState, useLocalStorage, useMediaToken, useObservable, useObservableExternalNavigation, useObservableRouter, usePanelWidth, usePendingCreation, usePreloadTranslations, useResourceAnnotations, useResourceContent, useResourceGather, useResourceLoader, useResourceLoadingAnnouncements, useRovingTabIndex, useSearchAnnouncements, useSemiont, useSessionEventSubscriptions, useSessionExpiry, useSessionStateUnit, useShellStateUnit, useStateUnit, useTheme, useToast, useToolbarPrefs, useTranslations };
|
|
4538
4587
|
export type { AdminDevOpsPageProps, AdminExchangePageProps, AdminExchangePageTranslations, AdminSecurityPageProps, AdminSecurityStateUnit, AdminUser, AdminUserStats, AdminUsersPageProps, AdminUsersStateUnit, AnnotateMediaRendererProps, AnnotateMediaRenderers, AnnotationConfig, AnnotationCreationHandler, AnnotationGroups, AnnotationHandlers, AnnotationManager, AnnotationProviderProps, AnnotationUIState, AnnotationsCollection, Annotator, AnnotatorKey, AssistProgressProps, AssistProgressTranslations, AssistShellProps, AuthErrorDisplayProps, AvailableLocale, BorderRadiusToken, BrowseMediaRenderers, ButtonGroupProps, ButtonProps, ClickAction, CloneData, CollapsibleResourceNavigationProps, ColorToken, ComposeLoadingStateProps, ComposeMode, ComposePageStateUnit, ComposeParams, CreateAnnotationParams, CreateConfig, DeleteAnnotationParams, DetectionConfig, DevOpsFeature, DiscoverStateUnit, DrawingMode, EntityTagsPageProps, EntityTagsStateUnit, ExchangeStateUnit, ExportCardProps, ExportCardTranslations, HoverEmitterProps, ImportCardProps, ImportCardTranslations, ImportPreview, ImportProgressProps, ImportProgressTranslations, KBDiscoveryOptions, KBDiscoveryResult, KeyboardShortcut, LinkComponentProps, LinkedDataPageProps, LinkedDataPageTranslations, MediaRendererProps, Motivation$7 as Motivation, NavigationItem, NavigationMenuHelper, NavigationProps, OAuthProvider, OAuthUser, ObservableLinkProps, OverlayAnnotation, PendingCreation, RecentDocumentsPageProps, ReferenceData, ReferenceHover, ReferenceWizardModalProps, ResolvedTheme, ResourceCardProps, ResourceComposePageProps, ResourceDiscoveryPageProps, ResourceErrorStateProps, ResourceGatherOptions, ResourceGenerateModalProps, ResourceGenerateModalTranslations, ResourceLoaderStateUnit, ResourceSearchModalProps, ResourceViewerPageProps, ResourceViewerPageStateUnit, RouteBuilder, SaveResourceParams$1 as SaveResourceParams, SearchModalProps, SelectionMotivation, SelectorType, SemiontProviderProps, SemiontResource$1 as SemiontResource, SessionStateUnit, ShadowToken, ShapeType, ShellStateUnit, ShellStateUnitOptions, SignInFormProps, SignUpFormProps, SimpleNavigationItem, SimpleNavigationProps, SortableResourceTabProps, SpacingToken, TagSchemasPageProps, TextSegment, TextSelection, Theme, ToastMessage, ToastType, ToolbarPanelType, ToolbarPart, ToolbarPrefs, TransitionToken, TranslationManager, TranslationProviderProps, TypographyToken, UICreateAnnotationParams, UploadProgressBarProps, UseMediaTokenResult, UseResourceContentResult, UseResourceGatherResult, UseResourceLoaderResult, WelcomePageProps, WelcomeStateUnit, WizardState };
|