@semiont/react-ui 0.5.26 → 0.5.28

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.
Files changed (242) hide show
  1. package/README.md +28 -4
  2. package/dist/{PdfAnnotationCanvas.client-6ZSF6ZTJ.js → PdfAnnotationCanvas.client-C2IGG4SW.js} +33 -6
  3. package/dist/{PdfAnnotationCanvas.client-JCJMXWWJ.css → PdfAnnotationCanvas.client-TGDPPGXJ.css} +6 -1
  4. package/dist/{ar-YTUUGK2O.js → ar-FABPTJVB.js} +88 -26
  5. package/dist/{bn-ASGNGPMD.js → bn-LKP6BDMH.js} +88 -26
  6. package/dist/{chunk-L3WKRWP3.js → chunk-2GOHTTHW.js} +88 -26
  7. package/dist/{chunk-OBQOZCJE.js → chunk-2YHEE63S.js} +31 -31
  8. package/dist/{cs-WMYVAOZY.js → cs-YQYNWHRG.js} +88 -26
  9. package/dist/{da-FSHHN4D6.js → da-QHZOYKRY.js} +88 -26
  10. package/dist/{de-FJFO3TPT.js → de-GKA7RD7J.js} +88 -26
  11. package/dist/{el-XOH4QIAG.js → el-45T257AL.js} +88 -26
  12. package/dist/{en-3FCBW3YD.js → en-RVW5EQ66.js} +4 -2
  13. package/dist/{es-HDX4QI7E.js → es-AVER7RU4.js} +88 -26
  14. package/dist/{fa-DJ6WTFTJ.js → fa-K3VPK3O2.js} +88 -26
  15. package/dist/{fi-4S7H7W7U.js → fi-5NEKF7EB.js} +88 -26
  16. package/dist/{fr-6UJSYHXC.js → fr-FUMNDLBZ.js} +88 -26
  17. package/dist/{he-ZZJOHJX2.js → he-3JGNA3PR.js} +88 -26
  18. package/dist/{hi-HZJTAW7U.js → hi-IJY375DF.js} +88 -26
  19. package/dist/{id-E3I6ILEM.js → id-LWHKJ7ZD.js} +88 -26
  20. package/dist/index.css +380 -524
  21. package/dist/index.d.ts +318 -192
  22. package/dist/index.js +2960 -2421
  23. package/dist/integrations/css-modules-helper.js +1 -3
  24. package/dist/{it-ULAPAD7U.js → it-EBVOV4RW.js} +88 -26
  25. package/dist/{ja-SAHZQ4CZ.js → ja-KWRIX2NF.js} +88 -26
  26. package/dist/{ko-DFU2ADQ4.js → ko-L5CJMFDS.js} +88 -26
  27. package/dist/{ms-NWL76XNT.js → ms-LSNMJDR2.js} +88 -26
  28. package/dist/{nl-ATCM76WN.js → nl-ZB32MB7U.js} +88 -26
  29. package/dist/{no-UIAQ5RJF.js → no-4GTNY7M5.js} +88 -26
  30. package/dist/{pl-NOECQDXD.js → pl-LUHBLTHB.js} +88 -26
  31. package/dist/{pt-SVWIIUPC.js → pt-C4H3UNQ6.js} +88 -26
  32. package/dist/{ro-NR2DRTZG.js → ro-GGITS5V4.js} +88 -26
  33. package/dist/{sv-STVJ37JP.js → sv-T56RTLBP.js} +88 -26
  34. package/dist/test-utils.css +1 -1
  35. package/dist/test-utils.d.ts +1 -1
  36. package/dist/test-utils.js +2 -2
  37. package/dist/{th-UWQR4K54.js → th-22X2IWCB.js} +88 -26
  38. package/dist/{tr-WNXZSD27.js → tr-77TFG62H.js} +88 -26
  39. package/dist/{uk-SJRMB47Y.js → uk-MIIL6NXT.js} +88 -26
  40. package/dist/{vi-TMRQFES2.js → vi-7JYOIGNV.js} +88 -26
  41. package/dist/{zh-QOL3LYEM.js → zh-ID6DRYU4.js} +88 -26
  42. package/package.json +11 -10
  43. package/src/components/AssistProgress.tsx +178 -134
  44. package/src/components/CodeMirrorRenderer.tsx +8 -8
  45. package/src/components/{EntityFoundLog.tsx → ItemFoundLog.tsx} +12 -7
  46. package/src/components/ProtectedErrorBoundary.css +3 -1
  47. package/src/components/StatusDisplay.css +1 -1
  48. package/src/components/Toast.css +3 -1
  49. package/src/components/__tests__/AssistProgress.test.tsx +268 -141
  50. package/src/components/annotation/annotation-entries.css +0 -4
  51. package/src/components/annotation/references.css +0 -4
  52. package/src/components/image-annotation/AnnotationOverlay.tsx +6 -6
  53. package/src/components/image-annotation/SvgDrawingCanvas.tsx +1 -1
  54. package/src/components/image-annotation/__tests__/AnnotationOverlay.click.test.tsx +7 -9
  55. package/src/components/image-annotation/__tests__/SvgDrawingCanvas.click.test.tsx +1 -2
  56. package/src/components/layout/Header.css +0 -4
  57. package/src/components/layout/LeftSidebar.css +0 -4
  58. package/src/components/modals/ComposeStep.tsx +218 -0
  59. package/src/components/modals/ConfigureGatherStep.tsx +10 -18
  60. package/src/components/modals/ConfigureGenerationStep.tsx +131 -54
  61. package/src/components/modals/ConfigureSearchStep.tsx +42 -40
  62. package/src/components/modals/ContextSummary.tsx +185 -72
  63. package/src/components/modals/CorpusPane.tsx +75 -0
  64. package/src/components/modals/DiscardPrompt.tsx +38 -0
  65. package/src/components/modals/GatherContextStep.tsx +237 -107
  66. package/src/components/modals/ReferenceWizardModal.tsx +287 -60
  67. package/src/components/modals/ResourceGenerateModal.tsx +233 -109
  68. package/src/components/modals/SearchModal.css +335 -111
  69. package/src/components/modals/SearchModal.tsx +1 -1
  70. package/src/components/modals/SearchResultsStep.tsx +63 -88
  71. package/src/components/modals/WizardFooter.tsx +69 -0
  72. package/src/components/modals/__tests__/ComposeStep.test.tsx +152 -0
  73. package/src/components/modals/__tests__/ConfigureGatherStep.test.tsx +14 -26
  74. package/src/components/modals/__tests__/ConfigureGenerationStep.test.tsx +290 -0
  75. package/src/components/modals/__tests__/ConfigureSearchStep.test.tsx +95 -0
  76. package/src/components/modals/__tests__/GatherContextStep.resource.test.tsx +463 -25
  77. package/src/components/modals/__tests__/ReferenceWizardModal.test.tsx +635 -0
  78. package/src/components/modals/__tests__/ResourceGenerateModal.test.tsx +277 -85
  79. package/src/components/modals/__tests__/SearchModal.search-wiring.test.tsx +6 -2
  80. package/src/components/modals/__tests__/SearchResultsStep.test.tsx +61 -0
  81. package/src/components/modals/__tests__/WizardFooter.test.tsx +344 -0
  82. package/src/components/modals/modals.css +16 -42
  83. package/src/components/navigation/NavigationTabs.css +0 -20
  84. package/src/components/pdf-annotation/PdfAnnotationCanvas.css +21 -2
  85. package/src/components/pdf-annotation/PdfAnnotationCanvas.tsx +36 -3
  86. package/src/components/pdf-annotation/__tests__/PdfAnnotationCanvas.test.tsx +41 -6
  87. package/src/components/resource/AnnotateView.tsx +19 -8
  88. package/src/components/resource/AnnotationHistory.tsx +2 -0
  89. package/src/components/resource/BrowseView.tsx +20 -9
  90. package/src/components/resource/ResourceViewer.tsx +27 -28
  91. package/src/components/resource/__tests__/AnnotateView.embeddable.test.tsx +1 -1
  92. package/src/components/resource/__tests__/AnnotateView.focus.test.tsx +50 -0
  93. package/src/components/resource/__tests__/AnnotationHistory.test.tsx +2 -0
  94. package/src/components/resource/__tests__/BrowseView.embeddable.test.tsx +1 -1
  95. package/src/components/resource/__tests__/BrowseView.test.tsx +38 -12
  96. package/src/components/resource/__tests__/ResourceViewer.embeddable.test.tsx +47 -3
  97. package/src/components/resource/annotate-renderers.tsx +3 -3
  98. package/src/components/resource/event-formatting.ts +0 -3
  99. package/src/components/resource/panels/AssessmentEntry.tsx +1 -1
  100. package/src/components/resource/panels/AssessmentPanel.css +5 -6
  101. package/src/components/resource/panels/AssistSection.css +95 -263
  102. package/src/components/resource/panels/AssistSection.tsx +4 -4
  103. package/src/components/resource/panels/AssistShell.tsx +12 -4
  104. package/src/components/resource/panels/CollaborationPanel.css +47 -22
  105. package/src/components/resource/panels/CollaborationPanel.tsx +93 -2
  106. package/src/components/resource/panels/CommentEntry.tsx +1 -1
  107. package/src/components/resource/panels/CommentsPanel.css +0 -16
  108. package/src/components/resource/panels/HighlightEntry.tsx +1 -1
  109. package/src/components/resource/panels/HighlightPanel.css +0 -7
  110. package/src/components/resource/panels/JsonLdPanel.css +0 -4
  111. package/src/components/resource/panels/ReferenceEntry.tsx +10 -3
  112. package/src/components/resource/panels/ReferencesPanel.css +0 -12
  113. package/src/components/resource/panels/ReferencesPanel.tsx +16 -20
  114. package/src/components/resource/panels/ResourceInfoPanel.css +0 -32
  115. package/src/components/resource/panels/ResourceInfoPanel.tsx +89 -20
  116. package/src/components/resource/panels/StatisticsPanel.css +0 -20
  117. package/src/components/resource/panels/TagEntry.tsx +1 -1
  118. package/src/components/resource/panels/TaggingPanel.css +0 -4
  119. package/src/components/resource/panels/TaggingPanel.tsx +2 -10
  120. package/src/components/resource/panels/UnifiedAnnotationsPanel.css +0 -4
  121. package/src/components/resource/panels/UnifiedAnnotationsPanel.tsx +7 -2
  122. package/src/components/resource/panels/__tests__/AssessmentEntry.test.tsx +0 -1
  123. package/src/components/resource/panels/__tests__/AssistSection.test.tsx +48 -50
  124. package/src/components/resource/panels/__tests__/AssistShell.test.tsx +11 -6
  125. package/src/components/resource/panels/__tests__/CollaborationPanel.test.tsx +89 -0
  126. package/src/components/resource/panels/__tests__/CommentEntry.test.tsx +1 -2
  127. package/src/components/resource/panels/__tests__/HighlightEntry.test.tsx +0 -1
  128. package/src/components/resource/panels/__tests__/HighlightPanel.annotationProgress.test.tsx +44 -36
  129. package/src/components/resource/panels/__tests__/ReferenceEntry.test.tsx +41 -1
  130. package/src/components/resource/panels/__tests__/ReferencesPanel.headless.test.tsx +1 -1
  131. package/src/components/resource/panels/__tests__/ReferencesPanel.test.tsx +67 -54
  132. package/src/components/resource/panels/__tests__/ResourceInfoPanel.test.tsx +185 -7
  133. package/src/components/resource/panels/__tests__/TagEntry.test.tsx +0 -1
  134. package/src/components/settings/SettingsPanel.css +0 -4
  135. package/src/features/auth/auth.css +2 -26
  136. package/src/features/resource-compose/__tests__/ResourceComposePage.test.tsx +0 -65
  137. package/src/features/resource-compose/components/ResourceComposePage.tsx +17 -130
  138. package/src/features/resource-compose/state/__tests__/compose-page-state-unit.test.ts +1 -76
  139. package/src/features/resource-compose/state/compose-page-state-unit.ts +5 -48
  140. package/src/features/resource-discovery/__tests__/ResourceDiscoveryPage.test.tsx +55 -0
  141. package/src/features/resource-discovery/components/ResourceDiscoveryPage.tsx +29 -0
  142. package/src/features/resource-discovery/state/__tests__/discover-state-unit.test.ts +53 -3
  143. package/src/features/resource-discovery/state/discover-state-unit.ts +29 -8
  144. package/src/features/resource-viewer/__tests__/ResourceViewerPage.test.tsx +71 -15
  145. package/src/features/resource-viewer/components/ResourceViewerPage.tsx +166 -71
  146. package/src/features/resource-viewer/hooks/__tests__/useResourceViewedReport.test.tsx +63 -0
  147. package/src/features/resource-viewer/hooks/useResourceViewedReport.ts +33 -0
  148. package/src/features/resource-viewer/state/__tests__/resource-viewer-page-state-unit.test.ts +2 -2
  149. package/src/features/resource-viewer/state/resource-viewer-page-state-unit.ts +1 -1
  150. package/src/styles/core/buttons.css +3 -1
  151. package/src/styles/core/forms.css +35 -29
  152. package/src/styles/core/indicators.css +0 -4
  153. package/src/styles/core/inputs.css +0 -4
  154. package/src/styles/core/progress.css +2 -34
  155. package/src/styles/core/sliders.css +0 -4
  156. package/src/styles/core/toggles.css +0 -4
  157. package/src/styles/features/resource-discovery.css +13 -0
  158. package/src/styles/features/resource-viewer.css +0 -42
  159. package/src/styles/features/resource.css +0 -4
  160. package/src/styles/motivations/motivation-assessment.css +2 -2
  161. package/src/styles/panels/history-panel.css +0 -40
  162. package/src/styles/panels/user-panel.css +0 -3
  163. package/src/styles/patterns/panel-helpers.css +0 -27
  164. package/src/styles/patterns/panel-sections.css +0 -59
  165. package/src/styles/patterns/panels-base.css +0 -32
  166. package/translations/ar.json +84 -24
  167. package/translations/bn.json +84 -24
  168. package/translations/cs.json +84 -24
  169. package/translations/da.json +84 -24
  170. package/translations/de.json +84 -24
  171. package/translations/el.json +84 -24
  172. package/translations/en.json +84 -24
  173. package/translations/es.json +84 -24
  174. package/translations/fa.json +84 -24
  175. package/translations/fi.json +84 -24
  176. package/translations/fr.json +84 -24
  177. package/translations/he.json +84 -24
  178. package/translations/hi.json +84 -24
  179. package/translations/id.json +84 -24
  180. package/translations/it.json +84 -24
  181. package/translations/ja.json +84 -24
  182. package/translations/ko.json +84 -24
  183. package/translations/ms.json +84 -24
  184. package/translations/nl.json +84 -24
  185. package/translations/no.json +84 -24
  186. package/translations/pl.json +84 -24
  187. package/translations/pt.json +84 -24
  188. package/translations/ro.json +84 -24
  189. package/translations/sv.json +84 -24
  190. package/translations/th.json +84 -24
  191. package/translations/tr.json +84 -24
  192. package/translations/uk.json +84 -24
  193. package/translations/vi.json +84 -24
  194. package/translations/zh.json +84 -24
  195. package/dist/PdfAnnotationCanvas.client-6ZSF6ZTJ.js.map +0 -1
  196. package/dist/PdfAnnotationCanvas.client-JCJMXWWJ.css.map +0 -1
  197. package/dist/ar-YTUUGK2O.js.map +0 -1
  198. package/dist/bn-ASGNGPMD.js.map +0 -1
  199. package/dist/chunk-BTUG3VJJ.js.map +0 -1
  200. package/dist/chunk-L3WKRWP3.js.map +0 -1
  201. package/dist/chunk-O23TLLXW.js.map +0 -1
  202. package/dist/chunk-OBQOZCJE.js.map +0 -1
  203. package/dist/chunk-QT7LYM72.js.map +0 -1
  204. package/dist/chunk-VXASXU4K.js.map +0 -1
  205. package/dist/chunk-XUDKYAVC.js +0 -21
  206. package/dist/chunk-XUDKYAVC.js.map +0 -1
  207. package/dist/cs-WMYVAOZY.js.map +0 -1
  208. package/dist/da-FSHHN4D6.js.map +0 -1
  209. package/dist/de-FJFO3TPT.js.map +0 -1
  210. package/dist/el-XOH4QIAG.js.map +0 -1
  211. package/dist/en-3FCBW3YD.js.map +0 -1
  212. package/dist/es-HDX4QI7E.js.map +0 -1
  213. package/dist/fa-DJ6WTFTJ.js.map +0 -1
  214. package/dist/fi-4S7H7W7U.js.map +0 -1
  215. package/dist/fr-6UJSYHXC.js.map +0 -1
  216. package/dist/he-ZZJOHJX2.js.map +0 -1
  217. package/dist/hi-HZJTAW7U.js.map +0 -1
  218. package/dist/id-E3I6ILEM.js.map +0 -1
  219. package/dist/index.css.map +0 -1
  220. package/dist/index.js.map +0 -1
  221. package/dist/integrations/css-modules-helper.js.map +0 -1
  222. package/dist/integrations/styled-components-theme.js.map +0 -1
  223. package/dist/it-ULAPAD7U.js.map +0 -1
  224. package/dist/ja-SAHZQ4CZ.js.map +0 -1
  225. package/dist/ko-DFU2ADQ4.js.map +0 -1
  226. package/dist/ms-NWL76XNT.js.map +0 -1
  227. package/dist/nl-ATCM76WN.js.map +0 -1
  228. package/dist/no-UIAQ5RJF.js.map +0 -1
  229. package/dist/pl-NOECQDXD.js.map +0 -1
  230. package/dist/pt-SVWIIUPC.js.map +0 -1
  231. package/dist/ro-NR2DRTZG.js.map +0 -1
  232. package/dist/sv-STVJ37JP.js.map +0 -1
  233. package/dist/test-utils.css.map +0 -1
  234. package/dist/test-utils.js.map +0 -1
  235. package/dist/th-UWQR4K54.js.map +0 -1
  236. package/dist/tr-WNXZSD27.js.map +0 -1
  237. package/dist/uk-SJRMB47Y.js.map +0 -1
  238. package/dist/vi-TMRQFES2.js.map +0 -1
  239. package/dist/zh-QOL3LYEM.js.map +0 -1
  240. package/src/components/modals/ResourceSearchModal.tsx +0 -224
  241. package/src/components/modals/__tests__/ResourceSearchModal.test.tsx +0 -159
  242. package/src/integrations/tailwind-plugin.cjs +0 -224
@@ -3,8 +3,32 @@
3
3
  // translations/en.json
4
4
  var AssistProgress = {
5
5
  close: "Close",
6
- paramsTitle: "Request Parameters:",
7
- processing: "Current: {{label}}"
6
+ codeLoading: "Loading\u2026",
7
+ codeAnalyzing: "Marking\u2026",
8
+ codeAnalyzingTags: "Marking tags\u2026",
9
+ codeDetectingEntities: "Marking\u2026",
10
+ codeCreatingAnnotations: "Creating {{count}} annotations\u2026",
11
+ codeCreatingTagAnnotations: "Creating {{count}} tags\u2026",
12
+ codeCompleteCreated: "Created {{count}} {{kind}}",
13
+ codeGeneratingResource: "Generating\u2026",
14
+ codeCreatingResource: "Creating the resource\u2026",
15
+ codeCompleteGenerated: "Created the resource",
16
+ codeCompleteGeneratedTruncated: "Created the resource \u2014 cut off at the length limit",
17
+ kindHighlight: "highlights",
18
+ kindComment: "comments",
19
+ kindAssessment: "assessments",
20
+ kindReference: "references",
21
+ kindTag: "tags",
22
+ subject: "{{kind}}: {{label}}",
23
+ subjectWithPosition: "{{kind}}: {{label}} ({{done}} of {{total}})",
24
+ paramEntityTypes: "Entity Types",
25
+ paramInstructions: "Instructions",
26
+ paramTone: "Tone",
27
+ paramDensity: "Density",
28
+ subjectKindEntityType: "Entity type",
29
+ subjectKindCategory: "Category",
30
+ cancel: "Cancel",
31
+ inProgress: "Annotating..."
8
32
  };
9
33
  var PdfViewer = {
10
34
  loadFailed: "Failed to load PDF",
@@ -65,7 +89,10 @@ var CollaborationPanel = {
65
89
  realtimeActive: "Real-time updates are active",
66
90
  reconnecting: "Reconnecting to server...",
67
91
  sharing: "Sharing",
68
- collaborationComingSoon: "Collaboration features coming soon"
92
+ collaborationComingSoon: "Collaboration features coming soon",
93
+ collaborators: "Collaborators",
94
+ ceilings: "{{contextTokens}} in / {{maxOutputTokens}} out",
95
+ sharedWindow: "{{contextTokens}} window"
69
96
  };
70
97
  var AnnotationHistory = {
71
98
  history: "History",
@@ -221,6 +248,7 @@ var ReferencesPanel = {
221
248
  noIncomingReferences: "No incoming references",
222
249
  stub: "Stub reference (not linked)",
223
250
  resolved: "Resolved reference (linked)",
251
+ derived: "Derived",
224
252
  open: "Open",
225
253
  unlink: "Unlink",
226
254
  resolve: "Resolve Reference",
@@ -228,7 +256,6 @@ var ReferencesPanel = {
228
256
  createReference: "Create Reference",
229
257
  entityTypesOptional: "Entity Types (Optional)",
230
258
  fragmentSelected: "Fragment selected",
231
- imageRegionSelected: "Image region selected",
232
259
  annotateReferences: "Annotate References",
233
260
  selectEntityTypes: "Entity types:",
234
261
  select: "Select",
@@ -239,8 +266,6 @@ var ReferencesPanel = {
239
266
  annotating: "Annotating...",
240
267
  includeDescriptiveReferences: "Include descriptive references",
241
268
  descriptiveReferencesTooltip: "Also find phrases like 'the CEO', 'the tech giant', 'the physicist' (in addition to names)",
242
- annotationProgressTitle: "Annotating Entity References",
243
- cancelAnnotation: "Cancel annotation",
244
269
  found: "{{count}} found",
245
270
  complete: "Annotation complete!",
246
271
  failed: "Annotation failed",
@@ -355,19 +380,14 @@ var Settings = {
355
380
  };
356
381
  var AnnotateView = {};
357
382
  var ResourceGenerate = {
358
- gatherTitle: "Configure Gather",
359
- reviewTitle: "Review Context",
360
- configureTitle: "Configure Generation",
361
- next: "Next",
362
- back: "Back",
363
- cancel: "Cancel",
364
383
  gatherIntro: "Choose what to include in the gathered context.",
365
384
  includeContent: "Include resource content",
366
385
  includeSummary: "Include summary",
367
386
  gatherDepth: "Depth",
368
387
  gatherMaxResources: "Max resources",
369
388
  gatherButton: "Gather",
370
- excludeLabel: "Exclude from recall",
389
+ editGather: "Change gather settings",
390
+ recallLabel: "Included in recall \u2014 deselect to exclude",
371
391
  loadingContext: "Gathering context...",
372
392
  failedContext: "Failed to gather context",
373
393
  sourceContextLabel: "Resource",
@@ -385,17 +405,22 @@ var ResourceGenerate = {
385
405
  maxLength: "Max Length",
386
406
  maxLengthHelp: "Maximum number of tokens",
387
407
  generate: "Generate",
388
- progressTitle: "Generating Resource",
389
- progressCancel: "Cancel generation",
390
- progressInProgress: "Generating\u2026",
391
- progressComplete: "Generation complete!",
392
- progressFailed: "Generation failed"
408
+ maxLengthCeiling: "Limited to {{maxOutputTokens}} tokens by {{model}}.",
409
+ graphPaneTitle: "Neighborhood",
410
+ graphEmpty: "No links yet.",
411
+ resourceLinkLabel: "Resource link",
412
+ corpusPaneTitle: "Similar passages",
413
+ corpusEmpty: "No similar passages found.",
414
+ excludedReceipt: "{{types}} excluded from this recall",
415
+ machineRead: "OCR",
416
+ score: "Score",
417
+ saveLocation: "Save location",
418
+ discardDraftPrompt: "Discard this draft?",
419
+ discardDraft: "Discard",
420
+ keepEditing: "Keep editing",
421
+ title: "Generate from this Resource"
393
422
  };
394
423
  var ReferenceWizard = {
395
- gatherTitle: "Gathered Context",
396
- configureGenerationTitle: "Configure Generation",
397
- configureSearchTitle: "Configure Search",
398
- searchResultsTitle: "Search Results",
399
424
  sourceContextLabel: "Annotation context in resource",
400
425
  connectionsLabel: "Peer Annotations",
401
426
  citedByLabel: "Resource Cited By",
@@ -403,7 +428,6 @@ var ReferenceWizard = {
403
428
  userHintPlaceholder: "Describe what this annotation refers to...",
404
429
  loadingContext: "Gathering context...",
405
430
  failedContext: "Failed to gather context",
406
- cancel: "Cancel",
407
431
  generate: "Generate",
408
432
  compose: "Compose",
409
433
  resolutionStrategyLabel: "Resolution Strategy",
@@ -426,7 +450,43 @@ var ReferenceWizard = {
426
450
  semanticScoring: "Semantic Scoring",
427
451
  semanticScoringHelp: "Use AI to score results by semantic relevance",
428
452
  searching: "Searching...",
429
- search: "Search"
453
+ searchFailed: "Search failed",
454
+ search: "Search",
455
+ maxLengthCeiling: "Limited to {{maxOutputTokens}} tokens by {{model}}.",
456
+ graphPaneTitle: "Neighborhood",
457
+ graphEmpty: "No links yet \u2014 resolving this reference creates the first.",
458
+ resourceLinkLabel: "Resource link",
459
+ corpusPaneTitle: "Similar passages",
460
+ corpusEmpty: "No similar passages found \u2014 Search is unlikely to land.",
461
+ excludedReceipt: "{{types}} excluded from this recall",
462
+ machineRead: "OCR",
463
+ userHintEffect: "steers Search and Generate",
464
+ saveLocation: "Save location",
465
+ entityTypes: "Entity types",
466
+ contentLabel: "Content",
467
+ createAndLink: "Create & Link",
468
+ creatingAndLinking: "Creating & linking\u2026",
469
+ discardDraftPrompt: "Discard this draft?",
470
+ discardDraft: "Discard",
471
+ keepEditing: "Keep editing",
472
+ resolveTitle: "Resolve Reference"
473
+ };
474
+ var OutcomeToasts = {
475
+ createFailed: "Couldn\u2019t create the annotation: {{detail}}",
476
+ deleteFailed: "Couldn\u2019t delete the annotation: {{detail}}",
477
+ referenceUpdateFailed: "Couldn\u2019t update the reference: {{detail}}",
478
+ unknownError: "unknown error",
479
+ assistQuiet: "Still working \u2014 no update from the annotation job for a few minutes",
480
+ resourceCreatedNamed: "Created \u201C{{name}}\u201D",
481
+ resourceCreated: "Resource created",
482
+ annotationComplete: "Annotation complete",
483
+ annotationFailed: "Annotation failed",
484
+ generationFailed: "Generation failed: {{detail}}",
485
+ "decline_no-text-layer": "This PDF is a scan whose text couldn\u2019t be recognized, so there\u2019s nothing to annotate.",
486
+ decline_encrypted: "This PDF is password-protected, so its text can\u2019t be read.",
487
+ decline_corrupt: "This PDF couldn\u2019t be read \u2014 the file may be damaged.",
488
+ "decline_too-large": "This document is too large to extract text from.",
489
+ decline_empty: "This document has no text to annotate."
430
490
  };
431
491
  var en_default = {
432
492
  AssistProgress,
@@ -449,7 +509,8 @@ var en_default = {
449
509
  Settings,
450
510
  AnnotateView,
451
511
  ResourceGenerate,
452
- ReferenceWizard
512
+ ReferenceWizard,
513
+ OutcomeToasts
453
514
  };
454
515
 
455
516
  export {
@@ -474,6 +535,7 @@ export {
474
535
  AnnotateView,
475
536
  ResourceGenerate,
476
537
  ReferenceWizard,
538
+ OutcomeToasts,
477
539
  en_default
478
540
  };
479
- //# sourceMappingURL=chunk-L3WKRWP3.js.map
541
+ //# sourceMappingURL=chunk-2GOHTTHW.js.map
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  en_default
4
- } from "./chunk-L3WKRWP3.js";
4
+ } from "./chunk-2GOHTTHW.js";
5
5
  import {
6
6
  __glob
7
7
  } from "./chunk-O23TLLXW.js";
@@ -12,35 +12,35 @@ import { Fragment, jsx } from "react/jsx-runtime";
12
12
 
13
13
  // import("../../translations/**/*.json") in src/contexts/TranslationContext.tsx
14
14
  var globImport_translations_json = __glob({
15
- "../../translations/ar.json": () => import("./ar-YTUUGK2O.js"),
16
- "../../translations/bn.json": () => import("./bn-ASGNGPMD.js"),
17
- "../../translations/cs.json": () => import("./cs-WMYVAOZY.js"),
18
- "../../translations/da.json": () => import("./da-FSHHN4D6.js"),
19
- "../../translations/de.json": () => import("./de-FJFO3TPT.js"),
20
- "../../translations/el.json": () => import("./el-XOH4QIAG.js"),
21
- "../../translations/en.json": () => import("./en-3FCBW3YD.js"),
22
- "../../translations/es.json": () => import("./es-HDX4QI7E.js"),
23
- "../../translations/fa.json": () => import("./fa-DJ6WTFTJ.js"),
24
- "../../translations/fi.json": () => import("./fi-4S7H7W7U.js"),
25
- "../../translations/fr.json": () => import("./fr-6UJSYHXC.js"),
26
- "../../translations/he.json": () => import("./he-ZZJOHJX2.js"),
27
- "../../translations/hi.json": () => import("./hi-HZJTAW7U.js"),
28
- "../../translations/id.json": () => import("./id-E3I6ILEM.js"),
29
- "../../translations/it.json": () => import("./it-ULAPAD7U.js"),
30
- "../../translations/ja.json": () => import("./ja-SAHZQ4CZ.js"),
31
- "../../translations/ko.json": () => import("./ko-DFU2ADQ4.js"),
32
- "../../translations/ms.json": () => import("./ms-NWL76XNT.js"),
33
- "../../translations/nl.json": () => import("./nl-ATCM76WN.js"),
34
- "../../translations/no.json": () => import("./no-UIAQ5RJF.js"),
35
- "../../translations/pl.json": () => import("./pl-NOECQDXD.js"),
36
- "../../translations/pt.json": () => import("./pt-SVWIIUPC.js"),
37
- "../../translations/ro.json": () => import("./ro-NR2DRTZG.js"),
38
- "../../translations/sv.json": () => import("./sv-STVJ37JP.js"),
39
- "../../translations/th.json": () => import("./th-UWQR4K54.js"),
40
- "../../translations/tr.json": () => import("./tr-WNXZSD27.js"),
41
- "../../translations/uk.json": () => import("./uk-SJRMB47Y.js"),
42
- "../../translations/vi.json": () => import("./vi-TMRQFES2.js"),
43
- "../../translations/zh.json": () => import("./zh-QOL3LYEM.js")
15
+ "../../translations/ar.json": () => import("./ar-FABPTJVB.js"),
16
+ "../../translations/bn.json": () => import("./bn-LKP6BDMH.js"),
17
+ "../../translations/cs.json": () => import("./cs-YQYNWHRG.js"),
18
+ "../../translations/da.json": () => import("./da-QHZOYKRY.js"),
19
+ "../../translations/de.json": () => import("./de-GKA7RD7J.js"),
20
+ "../../translations/el.json": () => import("./el-45T257AL.js"),
21
+ "../../translations/en.json": () => import("./en-RVW5EQ66.js"),
22
+ "../../translations/es.json": () => import("./es-AVER7RU4.js"),
23
+ "../../translations/fa.json": () => import("./fa-K3VPK3O2.js"),
24
+ "../../translations/fi.json": () => import("./fi-5NEKF7EB.js"),
25
+ "../../translations/fr.json": () => import("./fr-FUMNDLBZ.js"),
26
+ "../../translations/he.json": () => import("./he-3JGNA3PR.js"),
27
+ "../../translations/hi.json": () => import("./hi-IJY375DF.js"),
28
+ "../../translations/id.json": () => import("./id-LWHKJ7ZD.js"),
29
+ "../../translations/it.json": () => import("./it-EBVOV4RW.js"),
30
+ "../../translations/ja.json": () => import("./ja-KWRIX2NF.js"),
31
+ "../../translations/ko.json": () => import("./ko-L5CJMFDS.js"),
32
+ "../../translations/ms.json": () => import("./ms-LSNMJDR2.js"),
33
+ "../../translations/nl.json": () => import("./nl-ZB32MB7U.js"),
34
+ "../../translations/no.json": () => import("./no-4GTNY7M5.js"),
35
+ "../../translations/pl.json": () => import("./pl-LUHBLTHB.js"),
36
+ "../../translations/pt.json": () => import("./pt-C4H3UNQ6.js"),
37
+ "../../translations/ro.json": () => import("./ro-GGITS5V4.js"),
38
+ "../../translations/sv.json": () => import("./sv-T56RTLBP.js"),
39
+ "../../translations/th.json": () => import("./th-22X2IWCB.js"),
40
+ "../../translations/tr.json": () => import("./tr-77TFG62H.js"),
41
+ "../../translations/uk.json": () => import("./uk-MIIL6NXT.js"),
42
+ "../../translations/vi.json": () => import("./vi-7JYOIGNV.js"),
43
+ "../../translations/zh.json": () => import("./zh-ID6DRYU4.js")
44
44
  });
45
45
 
46
46
  // src/contexts/TranslationContext.tsx
@@ -284,4 +284,4 @@ export {
284
284
  useTranslations,
285
285
  usePreloadTranslations
286
286
  };
287
- //# sourceMappingURL=chunk-OBQOZCJE.js.map
287
+ //# sourceMappingURL=chunk-2YHEE63S.js.map
@@ -4,8 +4,32 @@ import "./chunk-O23TLLXW.js";
4
4
  // translations/cs.json
5
5
  var AssistProgress = {
6
6
  close: "Zav\u0159\xEDt",
7
- paramsTitle: "Parametry po\u017Eadavku:",
8
- processing: "Aktu\xE1ln\xED: {{label}}"
7
+ codeLoading: "Na\u010D\xEDt\xE1n\xED\u2026",
8
+ codeAnalyzing: "Ozna\u010Dov\xE1n\xED\u2026",
9
+ codeAnalyzingTags: "Ozna\u010Dov\xE1n\xED \u0161t\xEDtk\u016F\u2026",
10
+ codeDetectingEntities: "Ozna\u010Dov\xE1n\xED\u2026",
11
+ codeCreatingAnnotations: "Vytv\xE1\u0159en\xED {{count}} anotac\xED\u2026",
12
+ codeCreatingTagAnnotations: "Vytv\xE1\u0159en\xED {{count}} \u0161t\xEDtk\u016F\u2026",
13
+ codeCompleteCreated: "Vytvo\u0159eno {{count}} {{kind}}",
14
+ codeGeneratingResource: "Generov\xE1n\xED\u2026",
15
+ codeCreatingResource: "Vytv\xE1\u0159en\xED zdroje\u2026",
16
+ codeCompleteGenerated: "Zdroj byl vytvo\u0159en",
17
+ codeCompleteGeneratedTruncated: "Zdroj byl vytvo\u0159en \u2014 o\u0159\xEDznut na limitu d\xE9lky",
18
+ kindHighlight: "zv\xFDrazn\u011Bn\xED",
19
+ kindComment: "koment\xE1\u0159\u016F",
20
+ kindAssessment: "hodnocen\xED",
21
+ kindReference: "odkaz\u016F",
22
+ kindTag: "\u0161t\xEDtk\u016F",
23
+ subject: "{{kind}}: {{label}}",
24
+ subjectWithPosition: "{{kind}}: {{label}} ({{done}} z {{total}})",
25
+ paramEntityTypes: "Typy entit",
26
+ paramInstructions: "Pokyny",
27
+ paramTone: "T\xF3n",
28
+ paramDensity: "Hustota",
29
+ subjectKindEntityType: "Typ entity",
30
+ subjectKindCategory: "Kategorie",
31
+ cancel: "Zru\u0161it",
32
+ inProgress: "Anotov\xE1n\xED..."
9
33
  };
10
34
  var PdfViewer = {
11
35
  loadFailed: "Nepoda\u0159ilo se na\u010D\xEDst PDF",
@@ -66,7 +90,10 @@ var CollaborationPanel = {
66
90
  realtimeActive: "Aktualizace v re\xE1ln\xE9m \u010Dase jsou aktivn\xED",
67
91
  reconnecting: "Op\u011Btovn\xE9 p\u0159ipojov\xE1n\xED k serveru...",
68
92
  sharing: "Sd\xEDlen\xED",
69
- collaborationComingSoon: "Funkce spolupr\xE1ce budou brzy k dispozici"
93
+ collaborationComingSoon: "Funkce spolupr\xE1ce budou brzy k dispozici",
94
+ collaborators: "Spolupracovn\xEDci",
95
+ ceilings: "{{contextTokens}} vstup / {{maxOutputTokens}} v\xFDstup",
96
+ sharedWindow: "Okno {{contextTokens}}"
70
97
  };
71
98
  var AnnotationHistory = {
72
99
  history: "Historie",
@@ -222,6 +249,7 @@ var ReferencesPanel = {
222
249
  noIncomingReferences: "\u017D\xE1dn\xE9 p\u0159\xEDchoz\xED reference",
223
250
  stub: "Ne\xFApln\xE1 reference (nepropojen\xE1)",
224
251
  resolved: "Vy\u0159e\u0161en\xE1 reference (propojen\xE1)",
252
+ derived: "Odvozeno",
225
253
  open: "Otev\u0159\xEDt",
226
254
  unlink: "Odpojit",
227
255
  resolve: "Vy\u0159e\u0161it referenci",
@@ -229,7 +257,6 @@ var ReferencesPanel = {
229
257
  createReference: "Vytvo\u0159it referenci",
230
258
  entityTypesOptional: "Typy entit (voliteln\xE9)",
231
259
  fragmentSelected: "Fragment vybr\xE1n",
232
- imageRegionSelected: "Oblast obr\xE1zku vybr\xE1na",
233
260
  annotateReferences: "Anotovat reference",
234
261
  selectEntityTypes: "Typy entit:",
235
262
  select: "Vybrat",
@@ -240,8 +267,6 @@ var ReferencesPanel = {
240
267
  annotating: "Anotov\xE1n\xED...",
241
268
  includeDescriptiveReferences: "Zahrnout popisn\xE9 reference",
242
269
  descriptiveReferencesTooltip: "Naj\xEDt tak\xE9 fr\xE1ze jako 'gener\xE1ln\xED \u0159editel', 'technologick\xFD gigant', 'fyzik' (krom\u011B jmen)",
243
- annotationProgressTitle: "Anotov\xE1n\xED referenc\xED entit",
244
- cancelAnnotation: "Zru\u0161it anotaci",
245
270
  found: "{{count}} nalezeno",
246
271
  complete: "Anotace dokon\u010Dena!",
247
272
  failed: "Anotace selhala",
@@ -356,19 +381,14 @@ var Settings = {
356
381
  };
357
382
  var AnnotateView = {};
358
383
  var ResourceGenerate = {
359
- gatherTitle: "Konfigurovat shrom\xE1\u017Ed\u011Bn\xED",
360
- reviewTitle: "Zkontrolovat kontext",
361
- configureTitle: "Konfigurovat generov\xE1n\xED",
362
- next: "Dal\u0161\xED",
363
- back: "Zp\u011Bt",
364
- cancel: "Zru\u0161it",
365
384
  gatherIntro: "Vyberte, co zahrnout do shrom\xE1\u017Ed\u011Bn\xE9ho kontextu.",
366
385
  includeContent: "Zahrnout obsah zdroje",
367
386
  includeSummary: "Zahrnout souhrn",
368
387
  gatherDepth: "Hloubka",
369
388
  gatherMaxResources: "Maxim\xE1ln\xED po\u010Det zdroj\u016F",
370
389
  gatherButton: "Shrom\xE1\u017Edit",
371
- excludeLabel: "Vylou\u010Dit z vyvol\xE1n\xED",
390
+ editGather: "Zm\u011Bnit nastaven\xED shroma\u017E\u010Fov\xE1n\xED",
391
+ recallLabel: "Zahrnuto ve vyvol\xE1n\xED \u2014 zru\u0161en\xEDm v\xFDb\u011Bru vylou\u010D\xEDte",
372
392
  loadingContext: "Shroma\u017E\u010Fov\xE1n\xED kontextu...",
373
393
  failedContext: "Nepoda\u0159ilo se shrom\xE1\u017Edit kontext",
374
394
  sourceContextLabel: "Zdroj",
@@ -386,17 +406,22 @@ var ResourceGenerate = {
386
406
  maxLength: "Maxim\xE1ln\xED d\xE9lka",
387
407
  maxLengthHelp: "Maxim\xE1ln\xED po\u010Det token\u016F",
388
408
  generate: "Generovat",
389
- progressTitle: "Generov\xE1n\xED zdroje",
390
- progressCancel: "Zru\u0161it generov\xE1n\xED",
391
- progressInProgress: "Generov\xE1n\xED\u2026",
392
- progressComplete: "Generov\xE1n\xED dokon\u010Deno!",
393
- progressFailed: "Generov\xE1n\xED selhalo"
409
+ maxLengthCeiling: "Omezeno na {{maxOutputTokens}} token\u016F modelem {{model}}.",
410
+ graphPaneTitle: "Okol\xED",
411
+ graphEmpty: "Zat\xEDm \u017E\xE1dn\xE9 odkazy.",
412
+ resourceLinkLabel: "Odkaz na zdroj",
413
+ corpusPaneTitle: "Podobn\xE9 pas\xE1\u017Ee",
414
+ corpusEmpty: "\u017D\xE1dn\xE9 podobn\xE9 pas\xE1\u017Ee nenalezeny.",
415
+ excludedReceipt: "{{types}} vylou\u010Deno z tohoto vyhled\xE1n\xED",
416
+ machineRead: "OCR",
417
+ score: "Sk\xF3re",
418
+ saveLocation: "Um\xEDst\u011Bn\xED ulo\u017Een\xED",
419
+ discardDraftPrompt: "Zahodit tento koncept?",
420
+ discardDraft: "Zahodit",
421
+ keepEditing: "Pokra\u010Dovat v \xFAprav\xE1ch",
422
+ title: "Generovat z tohoto zdroje"
394
423
  };
395
424
  var ReferenceWizard = {
396
- gatherTitle: "Shrom\xE1\u017Ed\u011Bn\xFD kontext",
397
- configureGenerationTitle: "Konfigurovat generov\xE1n\xED",
398
- configureSearchTitle: "Konfigurovat hled\xE1n\xED",
399
- searchResultsTitle: "V\xFDsledky hled\xE1n\xED",
400
425
  sourceContextLabel: "Kontext anotace v prost\u0159edku",
401
426
  connectionsLabel: "Partnersk\xE9 anotace",
402
427
  citedByLabel: "Prost\u0159edek citov\xE1n",
@@ -404,7 +429,6 @@ var ReferenceWizard = {
404
429
  userHintPlaceholder: "Popi\u0161te, na co se tato anotace vztahuje...",
405
430
  loadingContext: "Shroma\u017E\u010Fov\xE1n\xED kontextu...",
406
431
  failedContext: "Nepoda\u0159ilo se shrom\xE1\u017Edit kontext",
407
- cancel: "Zru\u0161it",
408
432
  generate: "Generovat",
409
433
  compose: "Sestavit",
410
434
  resolutionStrategyLabel: "Strategie \u0159e\u0161en\xED",
@@ -427,7 +451,43 @@ var ReferenceWizard = {
427
451
  semanticScoring: "S\xE9mantick\xE9 hodnocen\xED",
428
452
  semanticScoringHelp: "Pou\u017E\xEDt AI k hodnocen\xED v\xFDsledk\u016F podle s\xE9mantick\xE9 relevance",
429
453
  searching: "Vyhled\xE1v\xE1n\xED...",
430
- search: "Hledat"
454
+ searchFailed: "Vyhled\xE1v\xE1n\xED selhalo",
455
+ search: "Hledat",
456
+ maxLengthCeiling: "Omezeno na {{maxOutputTokens}} token\u016F modelem {{model}}.",
457
+ graphPaneTitle: "Okol\xED",
458
+ graphEmpty: "Zat\xEDm \u017E\xE1dn\xE9 odkazy \u2014 vy\u0159e\u0161en\xEDm t\xE9to reference vznikne prvn\xED.",
459
+ resourceLinkLabel: "Odkaz na zdroj",
460
+ corpusPaneTitle: "Podobn\xE9 pas\xE1\u017Ee",
461
+ corpusEmpty: "\u017D\xE1dn\xE9 podobn\xE9 pas\xE1\u017Ee nenalezeny \u2014 hled\xE1n\xED pravd\u011Bpodobn\u011B neusp\u011Bje.",
462
+ excludedReceipt: "{{types}} vylou\u010Deno z tohoto vyhled\xE1n\xED",
463
+ machineRead: "OCR",
464
+ userHintEffect: "\u0159\xEDd\xED hled\xE1n\xED i generov\xE1n\xED",
465
+ saveLocation: "Um\xEDst\u011Bn\xED ulo\u017Een\xED",
466
+ entityTypes: "Typy entit",
467
+ contentLabel: "Obsah",
468
+ createAndLink: "Vytvo\u0159it a propojit",
469
+ creatingAndLinking: "Vytv\xE1\u0159en\xED a propojov\xE1n\xED\u2026",
470
+ discardDraftPrompt: "Zahodit tento koncept?",
471
+ discardDraft: "Zahodit",
472
+ keepEditing: "Pokra\u010Dovat v \xFAprav\xE1ch",
473
+ resolveTitle: "Vy\u0159e\u0161it odkaz"
474
+ };
475
+ var OutcomeToasts = {
476
+ createFailed: "Anotaci se nepoda\u0159ilo vytvo\u0159it: {{detail}}",
477
+ deleteFailed: "Anotaci se nepoda\u0159ilo smazat: {{detail}}",
478
+ referenceUpdateFailed: "Odkaz se nepoda\u0159ilo aktualizovat: {{detail}}",
479
+ unknownError: "nezn\xE1m\xE1 chyba",
480
+ assistQuiet: "St\xE1le pracuje \u2014 n\u011Bkolik minut bez aktualizace",
481
+ resourceCreatedNamed: "Vytvo\u0159eno \u201E{{name}}\u201C",
482
+ resourceCreated: "Zdroj vytvo\u0159en",
483
+ annotationComplete: "Anotace dokon\u010Dena",
484
+ annotationFailed: "Anotace selhala",
485
+ generationFailed: "Generov\xE1n\xED selhalo: {{detail}}",
486
+ "decline_no-text-layer": "Toto PDF je sken, jeho\u017E text nebylo mo\u017En\xE9 rozpoznat.",
487
+ decline_encrypted: "Toto PDF je chr\xE1n\u011Bno heslem, jeho text nelze p\u0159e\u010D\xEDst.",
488
+ decline_corrupt: "Toto PDF nebylo mo\u017En\xE9 p\u0159e\u010D\xEDst \u2014 soubor m\u016F\u017Ee b\xFDt po\u0161kozen.",
489
+ "decline_too-large": "Tento dokument je p\u0159\xEDli\u0161 velk\xFD na extrakci textu.",
490
+ decline_empty: "Tento dokument neobsahuje text k anotaci."
431
491
  };
432
492
  var cs_default = {
433
493
  AssistProgress,
@@ -450,7 +510,8 @@ var cs_default = {
450
510
  Settings,
451
511
  AnnotateView,
452
512
  ResourceGenerate,
453
- ReferenceWizard
513
+ ReferenceWizard,
514
+ OutcomeToasts
454
515
  };
455
516
  export {
456
517
  AnnotateToolbar,
@@ -463,6 +524,7 @@ export {
463
524
  CommentsPanel,
464
525
  HighlightPanel,
465
526
  KeyboardShortcuts,
527
+ OutcomeToasts,
466
528
  PdfViewer,
467
529
  ReferenceWizard,
468
530
  ReferencesPanel,
@@ -476,4 +538,4 @@ export {
476
538
  UnifiedAnnotationsPanel,
477
539
  cs_default as default
478
540
  };
479
- //# sourceMappingURL=cs-WMYVAOZY.js.map
541
+ //# sourceMappingURL=cs-YQYNWHRG.js.map