@semiont/react-ui 0.4.3 → 0.4.5
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/{ar-5REA6P4J.mjs → ar-RJLR7NDD.mjs} +13 -11
- package/dist/ar-RJLR7NDD.mjs.map +1 -0
- package/dist/{bn-YHRYHHPD.mjs → bn-4NU2UAZ7.mjs} +13 -11
- package/dist/bn-4NU2UAZ7.mjs.map +1 -0
- package/dist/{chunk-VVCCMJS7.mjs → chunk-2VWLGQIO.mjs} +13 -11
- package/dist/chunk-2VWLGQIO.mjs.map +1 -0
- package/dist/{chunk-F74ZQJMA.mjs → chunk-EKQMINCV.mjs} +31 -31
- package/dist/{cs-JTJXTX2T.mjs → cs-6UJZFF55.mjs} +13 -11
- package/dist/cs-6UJZFF55.mjs.map +1 -0
- package/dist/{da-MK37SJB6.mjs → da-CFFBBOH3.mjs} +13 -11
- package/dist/da-CFFBBOH3.mjs.map +1 -0
- package/dist/{de-LGBCWERA.mjs → de-2KAG6KMX.mjs} +13 -11
- package/dist/de-2KAG6KMX.mjs.map +1 -0
- package/dist/{el-FKJMFCWY.mjs → el-KVPQ7VNF.mjs} +13 -11
- package/dist/el-KVPQ7VNF.mjs.map +1 -0
- package/dist/{en-AOSMPC2M.mjs → en-ZW4UKTVX.mjs} +2 -2
- package/dist/{es-LVDPIXWU.mjs → es-ZU2ECPVG.mjs} +13 -11
- package/dist/es-ZU2ECPVG.mjs.map +1 -0
- package/dist/{fa-3VA2PIUD.mjs → fa-CBIVKDIQ.mjs} +13 -11
- package/dist/fa-CBIVKDIQ.mjs.map +1 -0
- package/dist/{fi-3WM75ZLR.mjs → fi-5HUVT7IK.mjs} +13 -11
- package/dist/fi-5HUVT7IK.mjs.map +1 -0
- package/dist/{fr-NK4A72WA.mjs → fr-O5WU2US2.mjs} +13 -11
- package/dist/fr-O5WU2US2.mjs.map +1 -0
- package/dist/{he-IACZDZMB.mjs → he-WP4C2SNJ.mjs} +13 -11
- package/dist/he-WP4C2SNJ.mjs.map +1 -0
- package/dist/{hi-JZ7MGMMS.mjs → hi-HLQXNRWI.mjs} +13 -11
- package/dist/hi-HLQXNRWI.mjs.map +1 -0
- package/dist/{id-P3KDQGNK.mjs → id-DTJT2ZA6.mjs} +13 -11
- package/dist/id-DTJT2ZA6.mjs.map +1 -0
- package/dist/index.css +213 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +23 -41
- package/dist/index.mjs +377 -350
- package/dist/index.mjs.map +1 -1
- package/dist/{it-LQS33SUY.mjs → it-2DK57IMT.mjs} +13 -11
- package/dist/it-2DK57IMT.mjs.map +1 -0
- package/dist/{ja-G4FKZPWD.mjs → ja-52ZNY72Y.mjs} +13 -11
- package/dist/ja-52ZNY72Y.mjs.map +1 -0
- package/dist/{ko-2XWKQ7BA.mjs → ko-4Z2IMYZO.mjs} +13 -11
- package/dist/ko-4Z2IMYZO.mjs.map +1 -0
- package/dist/{ms-2SNONIUD.mjs → ms-HKU73KEX.mjs} +13 -11
- package/dist/ms-HKU73KEX.mjs.map +1 -0
- package/dist/{nl-BMZUAJ7J.mjs → nl-HPHQMXPT.mjs} +13 -11
- package/dist/nl-HPHQMXPT.mjs.map +1 -0
- package/dist/{no-6J3WIZ6L.mjs → no-Q7G4PVFT.mjs} +13 -11
- package/dist/no-Q7G4PVFT.mjs.map +1 -0
- package/dist/{pl-QQ7DAUVK.mjs → pl-D43C2CE3.mjs} +13 -11
- package/dist/pl-D43C2CE3.mjs.map +1 -0
- package/dist/{pt-MU3GN7MW.mjs → pt-V3GFSY7B.mjs} +13 -11
- package/dist/pt-V3GFSY7B.mjs.map +1 -0
- package/dist/{ro-6GBE72QK.mjs → ro-3UIRV3OA.mjs} +13 -11
- package/dist/ro-3UIRV3OA.mjs.map +1 -0
- package/dist/{sv-NQIL7PEM.mjs → sv-BMW26A7M.mjs} +13 -11
- package/dist/sv-BMW26A7M.mjs.map +1 -0
- package/dist/test-utils.mjs +2 -2
- package/dist/{th-6OCNZQBE.mjs → th-CMND2QET.mjs} +13 -11
- package/dist/th-CMND2QET.mjs.map +1 -0
- package/dist/{tr-XWJ5P3SC.mjs → tr-P3AD7MYA.mjs} +13 -11
- package/dist/tr-P3AD7MYA.mjs.map +1 -0
- package/dist/{uk-AKSN6DGW.mjs → uk-QPONRQ5O.mjs} +13 -11
- package/dist/uk-QPONRQ5O.mjs.map +1 -0
- package/dist/{vi-23GHQ45M.mjs → vi-G2OMVMCI.mjs} +13 -11
- package/dist/vi-G2OMVMCI.mjs.map +1 -0
- package/dist/{zh-ITT4QBSN.mjs → zh-HTDN4LKE.mjs} +13 -11
- package/dist/zh-HTDN4LKE.mjs.map +1 -0
- package/package.json +1 -1
- package/src/components/CodeMirrorRenderer.tsx +9 -9
- package/src/components/ResourceTagsInline.tsx +1 -1
- package/src/components/__tests__/ResourceTagsInline.test.tsx +3 -3
- package/src/components/modals/ContextSummary.tsx +56 -165
- package/src/components/modals/GatherContextStep.tsx +124 -42
- package/src/components/modals/ReferenceWizardModal.tsx +8 -25
- package/src/components/modals/SearchModal.css +241 -0
- package/src/components/resource/AnnotateView.tsx +3 -3
- package/src/components/resource/ResourceViewer.tsx +4 -4
- package/src/components/resource/__tests__/annotation-interactions.test.tsx +1 -1
- package/src/components/resource/panels/AssessmentPanel.tsx +3 -0
- package/src/components/resource/panels/AssistSection.tsx +4 -1
- package/src/components/resource/panels/CommentsPanel.tsx +3 -0
- package/src/components/resource/panels/ResourceInfoPanel.tsx +82 -0
- package/src/components/resource/panels/UnifiedAnnotationsPanel.tsx +4 -0
- package/src/components/resource/panels/__tests__/ResourceInfoPanel.test.tsx +94 -0
- package/src/features/resource-viewer/components/ResourceViewerPage.tsx +12 -10
- package/translations/ar.json +12 -10
- package/translations/bn.json +12 -10
- package/translations/cs.json +12 -10
- package/translations/da.json +12 -10
- package/translations/de.json +12 -10
- package/translations/el.json +12 -10
- package/translations/en.json +13 -11
- package/translations/es.json +12 -10
- package/translations/fa.json +12 -10
- package/translations/fi.json +12 -10
- package/translations/fr.json +12 -10
- package/translations/he.json +12 -10
- package/translations/hi.json +12 -10
- package/translations/id.json +12 -10
- package/translations/it.json +12 -10
- package/translations/ja.json +12 -10
- package/translations/ko.json +12 -10
- package/translations/ms.json +12 -10
- package/translations/nl.json +12 -10
- package/translations/no.json +12 -10
- package/translations/pl.json +12 -10
- package/translations/pt.json +12 -10
- package/translations/ro.json +12 -10
- package/translations/sv.json +12 -10
- package/translations/th.json +12 -10
- package/translations/tr.json +12 -10
- package/translations/uk.json +12 -10
- package/translations/vi.json +12 -10
- package/translations/zh.json +12 -10
- package/dist/ar-5REA6P4J.mjs.map +0 -1
- package/dist/bn-YHRYHHPD.mjs.map +0 -1
- package/dist/chunk-VVCCMJS7.mjs.map +0 -1
- package/dist/cs-JTJXTX2T.mjs.map +0 -1
- package/dist/da-MK37SJB6.mjs.map +0 -1
- package/dist/de-LGBCWERA.mjs.map +0 -1
- package/dist/el-FKJMFCWY.mjs.map +0 -1
- package/dist/es-LVDPIXWU.mjs.map +0 -1
- package/dist/fa-3VA2PIUD.mjs.map +0 -1
- package/dist/fi-3WM75ZLR.mjs.map +0 -1
- package/dist/fr-NK4A72WA.mjs.map +0 -1
- package/dist/he-IACZDZMB.mjs.map +0 -1
- package/dist/hi-JZ7MGMMS.mjs.map +0 -1
- package/dist/id-P3KDQGNK.mjs.map +0 -1
- package/dist/it-LQS33SUY.mjs.map +0 -1
- package/dist/ja-G4FKZPWD.mjs.map +0 -1
- package/dist/ko-2XWKQ7BA.mjs.map +0 -1
- package/dist/ms-2SNONIUD.mjs.map +0 -1
- package/dist/nl-BMZUAJ7J.mjs.map +0 -1
- package/dist/no-6J3WIZ6L.mjs.map +0 -1
- package/dist/pl-QQ7DAUVK.mjs.map +0 -1
- package/dist/pt-MU3GN7MW.mjs.map +0 -1
- package/dist/ro-6GBE72QK.mjs.map +0 -1
- package/dist/sv-NQIL7PEM.mjs.map +0 -1
- package/dist/th-6OCNZQBE.mjs.map +0 -1
- package/dist/tr-XWJ5P3SC.mjs.map +0 -1
- package/dist/uk-AKSN6DGW.mjs.map +0 -1
- package/dist/vi-23GHQ45M.mjs.map +0 -1
- package/dist/zh-ITT4QBSN.mjs.map +0 -1
- /package/dist/{chunk-F74ZQJMA.mjs.map → chunk-EKQMINCV.mjs.map} +0 -0
- /package/dist/{en-AOSMPC2M.mjs.map → en-ZW4UKTVX.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -518,31 +518,6 @@ declare function useAnnotations(): {
|
|
|
518
518
|
data: Parameters<SemiontApiClient["bindAnnotation"]>[2];
|
|
519
519
|
}, unknown>;
|
|
520
520
|
};
|
|
521
|
-
llmContext: {
|
|
522
|
-
useQuery: (resourceId: ResourceId, annotationId: AnnotationId, options?: {
|
|
523
|
-
contextWindow?: number;
|
|
524
|
-
}) => _tanstack_react_query.UseQueryResult<{
|
|
525
|
-
annotation: _semiont_core.components["schemas"]["Annotation"];
|
|
526
|
-
sourceResource: _semiont_core.components["schemas"]["ResourceDescriptor"];
|
|
527
|
-
targetResource?: _semiont_core.components["schemas"]["ResourceDescriptor"] | null;
|
|
528
|
-
context?: _semiont_core.components["schemas"]["GatheredContext"];
|
|
529
|
-
sourceContext?: {
|
|
530
|
-
before: string;
|
|
531
|
-
selected: string;
|
|
532
|
-
after: string;
|
|
533
|
-
};
|
|
534
|
-
targetContext?: {
|
|
535
|
-
content: string;
|
|
536
|
-
summary?: string;
|
|
537
|
-
};
|
|
538
|
-
suggestedResolution?: {
|
|
539
|
-
resourceId: string;
|
|
540
|
-
resourceName: string;
|
|
541
|
-
confidence: number;
|
|
542
|
-
reasoning: string;
|
|
543
|
-
};
|
|
544
|
-
}, Error>;
|
|
545
|
-
};
|
|
546
521
|
};
|
|
547
522
|
/**
|
|
548
523
|
* Entity type operations
|
|
@@ -709,6 +684,7 @@ declare function useAuthApi(): {
|
|
|
709
684
|
termsAcceptedAt: string | null;
|
|
710
685
|
lastLogin: string | null;
|
|
711
686
|
created: string;
|
|
687
|
+
token: string;
|
|
712
688
|
}, Error>;
|
|
713
689
|
};
|
|
714
690
|
acceptTerms: {
|
|
@@ -966,7 +942,6 @@ declare const QUERY_KEYS: {
|
|
|
966
942
|
annotations: {
|
|
967
943
|
detail: (id: AnnotationId) => readonly ["annotations", AnnotationId];
|
|
968
944
|
history: (resourceId: ResourceId, annotationId: AnnotationId) => readonly ["annotations", ResourceId, AnnotationId, "history"];
|
|
969
|
-
llmContext: (resourceId: ResourceId, annotationId: AnnotationId) => readonly ["annotations", "llm-context", ResourceId, AnnotationId];
|
|
970
945
|
};
|
|
971
946
|
entityTypes: {
|
|
972
947
|
all: () => readonly ["entity-types"];
|
|
@@ -1814,11 +1789,11 @@ interface Props$b {
|
|
|
1814
1789
|
showLineNumbers?: boolean;
|
|
1815
1790
|
enableWidgets?: boolean;
|
|
1816
1791
|
eventBus?: EventBus;
|
|
1817
|
-
|
|
1792
|
+
getTargetResourceName?: (resourceId: string) => string | undefined;
|
|
1818
1793
|
generatingReferenceId?: string | null;
|
|
1819
1794
|
hoverDelayMs: number;
|
|
1820
1795
|
}
|
|
1821
|
-
declare function CodeMirrorRenderer({ content, segments, onChange, editable, newAnnotationIds, hoveredAnnotationId, scrollToAnnotationId, sourceView, showLineNumbers, enableWidgets, eventBus,
|
|
1796
|
+
declare function CodeMirrorRenderer({ content, segments, onChange, editable, newAnnotationIds, hoveredAnnotationId, scrollToAnnotationId, sourceView, showLineNumbers, enableWidgets, eventBus, getTargetResourceName, generatingReferenceId, hoverDelayMs }: Props$b): react_jsx_runtime.JSX.Element;
|
|
1822
1797
|
|
|
1823
1798
|
type Motivation$6 = components['schemas']['Motivation'];
|
|
1824
1799
|
interface AnnotateReferencesProgressWidgetProps {
|
|
@@ -1936,7 +1911,7 @@ interface ResizeHandleProps {
|
|
|
1936
1911
|
declare function ResizeHandle({ onResize, minWidth, maxWidth, position, ariaLabel }: ResizeHandleProps): react_jsx_runtime.JSX.Element;
|
|
1937
1912
|
|
|
1938
1913
|
interface ResourceTagsInlineProps {
|
|
1939
|
-
|
|
1914
|
+
resourceId: string;
|
|
1940
1915
|
tags: string[];
|
|
1941
1916
|
isEditing: boolean;
|
|
1942
1917
|
onUpdate: (tags: string[]) => Promise<void>;
|
|
@@ -2093,7 +2068,7 @@ interface Props$8 {
|
|
|
2093
2068
|
onUIStateChange?: (state: Partial<AnnotationUIState>) => void;
|
|
2094
2069
|
editable?: boolean;
|
|
2095
2070
|
enableWidgets?: boolean;
|
|
2096
|
-
|
|
2071
|
+
getTargetResourceName?: (resourceId: string) => string | undefined;
|
|
2097
2072
|
generatingReferenceId?: string | null;
|
|
2098
2073
|
showLineNumbers?: boolean;
|
|
2099
2074
|
hoverDelayMs?: number;
|
|
@@ -2108,7 +2083,7 @@ interface Props$8 {
|
|
|
2108
2083
|
* @subscribes mark:shape-changed - Toolbar shape changed. Payload: { shape: string }
|
|
2109
2084
|
* @subscribes beckon:hover - Annotation hovered. Payload: { annotationId: string | null }
|
|
2110
2085
|
*/
|
|
2111
|
-
declare function AnnotateView({ content, mimeType, resourceUri, annotations, uiState, onUIStateChange, enableWidgets,
|
|
2086
|
+
declare function AnnotateView({ content, mimeType, resourceUri, annotations, uiState, onUIStateChange, enableWidgets, getTargetResourceName, generatingReferenceId, showLineNumbers, hoverDelayMs, annotateMode }: Props$8): react_jsx_runtime.JSX.Element;
|
|
2112
2087
|
|
|
2113
2088
|
interface Props$7 {
|
|
2114
2089
|
rUri: ResourceId;
|
|
@@ -2228,6 +2203,7 @@ interface AssessmentPanelProps {
|
|
|
2228
2203
|
percentage?: number;
|
|
2229
2204
|
message?: string;
|
|
2230
2205
|
} | null;
|
|
2206
|
+
locale?: string;
|
|
2231
2207
|
annotateMode?: boolean;
|
|
2232
2208
|
scrollToAnnotationId?: string | null;
|
|
2233
2209
|
onScrollCompleted?: () => void;
|
|
@@ -2240,7 +2216,7 @@ interface AssessmentPanelProps {
|
|
|
2240
2216
|
* @emits mark:cancel-pending - Cancel pending assessment annotation. Payload: undefined
|
|
2241
2217
|
* @subscribes browse:click - Annotation clicked. Payload: { annotationId: string }
|
|
2242
2218
|
*/
|
|
2243
|
-
declare function AssessmentPanel({ annotations, pendingAnnotation, isAssisting, progress, annotateMode, scrollToAnnotationId, onScrollCompleted, hoveredAnnotationId, }: AssessmentPanelProps): react_jsx_runtime.JSX.Element;
|
|
2219
|
+
declare function AssessmentPanel({ annotations, pendingAnnotation, isAssisting, progress, locale, annotateMode, scrollToAnnotationId, onScrollCompleted, hoveredAnnotationId, }: AssessmentPanelProps): react_jsx_runtime.JSX.Element;
|
|
2244
2220
|
|
|
2245
2221
|
interface Props$3 {
|
|
2246
2222
|
isConnected: boolean;
|
|
@@ -2275,6 +2251,7 @@ interface CommentsPanelProps {
|
|
|
2275
2251
|
percentage?: number;
|
|
2276
2252
|
message?: string;
|
|
2277
2253
|
} | null;
|
|
2254
|
+
locale?: string;
|
|
2278
2255
|
scrollToAnnotationId?: string | null;
|
|
2279
2256
|
onScrollCompleted?: () => void;
|
|
2280
2257
|
hoveredAnnotationId?: string | null;
|
|
@@ -2286,11 +2263,12 @@ interface CommentsPanelProps {
|
|
|
2286
2263
|
* @emits mark:cancel-pending - Cancel pending comment annotation. Payload: undefined
|
|
2287
2264
|
* @subscribes browse:click - Annotation clicked. Payload: { annotationId: string }
|
|
2288
2265
|
*/
|
|
2289
|
-
declare function CommentsPanel({ annotations, pendingAnnotation, annotateMode, isAssisting, progress, scrollToAnnotationId, onScrollCompleted, hoveredAnnotationId, }: CommentsPanelProps): react_jsx_runtime.JSX.Element;
|
|
2266
|
+
declare function CommentsPanel({ annotations, pendingAnnotation, annotateMode, isAssisting, progress, locale, scrollToAnnotationId, onScrollCompleted, hoveredAnnotationId, }: CommentsPanelProps): react_jsx_runtime.JSX.Element;
|
|
2290
2267
|
|
|
2291
2268
|
interface AssistSectionProps {
|
|
2292
2269
|
annotationType: 'highlight' | 'assessment' | 'comment';
|
|
2293
2270
|
isAssisting: boolean;
|
|
2271
|
+
locale?: string;
|
|
2294
2272
|
progress?: {
|
|
2295
2273
|
status: string;
|
|
2296
2274
|
percentage?: number;
|
|
@@ -2313,7 +2291,7 @@ interface AssistSectionProps {
|
|
|
2313
2291
|
* @emits mark:assist-request - Start assist for annotation type. Payload: { motivation: Motivation, options: { instructions?: string, tone?: string, density?: number } }
|
|
2314
2292
|
* @emits mark:progress-dismiss - Dismiss the annotation progress display
|
|
2315
2293
|
*/
|
|
2316
|
-
declare function AssistSection({ annotationType, isAssisting, progress, }: AssistSectionProps): react_jsx_runtime.JSX.Element;
|
|
2294
|
+
declare function AssistSection({ annotationType, isAssisting, locale, progress, }: AssistSectionProps): react_jsx_runtime.JSX.Element;
|
|
2317
2295
|
|
|
2318
2296
|
type Annotation$7 = components['schemas']['Annotation'];
|
|
2319
2297
|
interface HighlightEntryProps {
|
|
@@ -2424,12 +2402,19 @@ interface Props$1 {
|
|
|
2424
2402
|
*/
|
|
2425
2403
|
declare function ReferencesPanel({ annotations, isAssisting, progress, annotateMode, Link, routes, allEntityTypes, generatingReferenceId, referencedBy, referencedByLoading, pendingAnnotation, scrollToAnnotationId, onScrollCompleted, hoveredAnnotationId, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
2426
2404
|
|
|
2405
|
+
type Agent = components['schemas']['Agent'];
|
|
2427
2406
|
interface Props {
|
|
2428
2407
|
documentEntityTypes: string[];
|
|
2429
2408
|
documentLocale?: string | undefined;
|
|
2430
2409
|
primaryMediaType?: string | undefined;
|
|
2431
2410
|
primaryByteSize?: number | undefined;
|
|
2432
2411
|
isArchived?: boolean;
|
|
2412
|
+
dateCreated?: string | undefined;
|
|
2413
|
+
dateModified?: string | undefined;
|
|
2414
|
+
creationMethod?: string | undefined;
|
|
2415
|
+
wasAttributedTo?: Agent | Agent[] | undefined;
|
|
2416
|
+
wasDerivedFrom?: string | string[] | undefined;
|
|
2417
|
+
generator?: Agent | Agent[] | undefined;
|
|
2433
2418
|
}
|
|
2434
2419
|
/**
|
|
2435
2420
|
* Panel for displaying resource metadata and management actions
|
|
@@ -2438,7 +2423,7 @@ interface Props {
|
|
|
2438
2423
|
* @emits mark:unarchive - Unarchive this resource. Payload: undefined
|
|
2439
2424
|
* @emits mark:archive - Archive this resource. Payload: undefined
|
|
2440
2425
|
*/
|
|
2441
|
-
declare function ResourceInfoPanel({ documentEntityTypes, documentLocale, primaryMediaType, primaryByteSize, isArchived, }: Props): react_jsx_runtime.JSX.Element;
|
|
2426
|
+
declare function ResourceInfoPanel({ documentEntityTypes, documentLocale, primaryMediaType, primaryByteSize, isArchived, dateCreated, dateModified, creationMethod, wasAttributedTo, wasDerivedFrom, generator, }: Props): react_jsx_runtime.JSX.Element;
|
|
2442
2427
|
|
|
2443
2428
|
type Annotation$3 = components['schemas']['Annotation'];
|
|
2444
2429
|
interface StatisticsPanelProps {
|
|
@@ -2529,6 +2514,7 @@ interface UnifiedAnnotationsPanelProps {
|
|
|
2529
2514
|
scrollToAnnotationId?: string | null;
|
|
2530
2515
|
onScrollCompleted?: () => void;
|
|
2531
2516
|
hoveredAnnotationId?: string | null;
|
|
2517
|
+
locale?: string;
|
|
2532
2518
|
Link: React__default.ComponentType<LinkComponentProps>;
|
|
2533
2519
|
routes: RouteBuilder;
|
|
2534
2520
|
}
|
|
@@ -2782,15 +2768,9 @@ interface ReferenceWizardModalProps {
|
|
|
2782
2768
|
configureGenerationTitle: string;
|
|
2783
2769
|
configureSearchTitle: string;
|
|
2784
2770
|
searchResultsTitle: string;
|
|
2785
|
-
annotationLabel: string;
|
|
2786
|
-
sourceResourceLabel: string;
|
|
2787
|
-
motivationLabel: string;
|
|
2788
2771
|
sourceContextLabel: string;
|
|
2789
|
-
entityTypesLabel: string;
|
|
2790
|
-
graphContextLabel: string;
|
|
2791
2772
|
connectionsLabel: string;
|
|
2792
2773
|
citedByLabel: string;
|
|
2793
|
-
siblingTypesLabel: string;
|
|
2794
2774
|
userHintLabel: string;
|
|
2795
2775
|
userHintPlaceholder: string;
|
|
2796
2776
|
loadingContext: string;
|
|
@@ -2800,6 +2780,7 @@ interface ReferenceWizardModalProps {
|
|
|
2800
2780
|
searching: string;
|
|
2801
2781
|
generate: string;
|
|
2802
2782
|
compose: string;
|
|
2783
|
+
resolutionStrategyLabel: string;
|
|
2803
2784
|
back: string;
|
|
2804
2785
|
link: string;
|
|
2805
2786
|
score: string;
|
|
@@ -4224,6 +4205,7 @@ declare function useContextGatherFlow(eventBus: EventBus, config: ContextGatherF
|
|
|
4224
4205
|
* the downstream API calls after the wizard emits bind:update-body.
|
|
4225
4206
|
*
|
|
4226
4207
|
* @subscribes bind:update-body - Update annotation body via API
|
|
4208
|
+
* @subscribes match:search-requested - Bridge to backend Matcher via SSE; results emit as match:search-results
|
|
4227
4209
|
* @emits bind:body-updated - Annotation body successfully updated
|
|
4228
4210
|
* @emits bind:body-update-failed - Annotation body update failed
|
|
4229
4211
|
*/
|