nmrium 1.10.1 → 1.12.0

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 (582) hide show
  1. package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
  2. package/lib/component/1d/BrushTracker1D.js +7 -0
  3. package/lib/component/1d/BrushTracker1D.js.map +1 -1
  4. package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
  5. package/lib/component/1d/FloatPublicationString.js +170 -109
  6. package/lib/component/1d/FloatPublicationString.js.map +1 -1
  7. package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
  8. package/lib/component/1d/FloatingRanges.js +3 -3
  9. package/lib/component/1d/FloatingRanges.js.map +1 -1
  10. package/lib/component/1d/SVGContent1D.js +1 -1
  11. package/lib/component/1d/SVGContent1D.js.map +1 -1
  12. package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
  13. package/lib/component/1d/inset/DraggableInset.js +4 -4
  14. package/lib/component/1d/inset/DraggableInset.js.map +1 -1
  15. package/lib/component/1d/matrix/Boxplot.js +1 -1
  16. package/lib/component/1d/matrix/Stocsy.js +1 -1
  17. package/lib/component/1d/multiplicityTree/MultiplicityTree.js +2 -2
  18. package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
  19. package/lib/component/1d/peaks/PeakAnnotations.js +2 -2
  20. package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
  21. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +1 -1
  22. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
  23. package/lib/component/1d/peaks/Peaks.js +2 -2
  24. package/lib/component/1d/peaks/Peaks.js.map +1 -1
  25. package/lib/component/1d/ranges/Range.d.ts +1 -1
  26. package/lib/component/1d/ranges/Range.js +3 -3
  27. package/lib/component/1d/ranges/Range.js.map +1 -1
  28. package/lib/component/1d/ranges/Ranges.js +2 -2
  29. package/lib/component/1d/ranges/Ranges.js.map +1 -1
  30. package/lib/component/1d/ranges/RangesIntegrals.js +1 -1
  31. package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.d.ts +1 -1
  32. package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.d.ts.map +1 -1
  33. package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.js +4 -4
  34. package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.js.map +1 -1
  35. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
  36. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +14 -5
  37. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
  38. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
  39. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +2 -2
  40. package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
  41. package/lib/component/2d/FooterBanner.d.ts +1 -1
  42. package/lib/component/2d/SVGContent2D.d.ts +1 -1
  43. package/lib/component/2d/YAxis.js +3 -3
  44. package/lib/component/2d/YAxis.js.map +1 -1
  45. package/lib/component/2d/ft/FTContainer.d.ts +1 -1
  46. package/lib/component/2d/tools/XYLabelPointer.d.ts +1 -1
  47. package/lib/component/2d/useTracesSpectra.js +1 -1
  48. package/lib/component/2d/zones/SignalsGuideLines.js +5 -5
  49. package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
  50. package/lib/component/2d/zones/Zone.js +1 -1
  51. package/lib/component/2d/zones/Zone.js.map +1 -1
  52. package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -1
  53. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  54. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
  55. package/lib/component/EventsTrackers/KeysListenerTracker.js +9 -3
  56. package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
  57. package/lib/component/context/LoggerContext.d.ts +1 -0
  58. package/lib/component/context/LoggerContext.d.ts.map +1 -1
  59. package/lib/component/context/LoggerContext.js.map +1 -1
  60. package/lib/component/context/PreferencesContext.d.ts +1 -1
  61. package/lib/component/context/PreferencesContext.d.ts.map +1 -1
  62. package/lib/component/elements/ActionsButtonsPopover.d.ts +9 -5
  63. package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
  64. package/lib/component/elements/ActionsButtonsPopover.js +42 -10
  65. package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
  66. package/lib/component/elements/Alert.d.ts.map +1 -1
  67. package/lib/component/elements/Alert.js +3 -2
  68. package/lib/component/elements/Alert.js.map +1 -1
  69. package/lib/component/elements/DraggableDialog.d.ts +1 -1
  70. package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
  71. package/lib/component/elements/NextPrev.d.ts.map +1 -1
  72. package/lib/component/elements/NextPrev.js +23 -4
  73. package/lib/component/elements/NextPrev.js.map +1 -1
  74. package/lib/component/elements/StandardDialog.d.ts +3 -0
  75. package/lib/component/elements/StandardDialog.d.ts.map +1 -0
  76. package/lib/component/elements/StandardDialog.js +7 -0
  77. package/lib/component/elements/StandardDialog.js.map +1 -0
  78. package/lib/component/elements/ToolbarPopoverItem.d.ts +7 -2
  79. package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
  80. package/lib/component/elements/ToolbarPopoverItem.js +6 -2
  81. package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
  82. package/lib/component/elements/export/ExportManager.js +1 -1
  83. package/lib/component/elements/export/ExportManager.js.map +1 -1
  84. package/lib/component/elements/export/ExportOptionsModal.js +3 -2
  85. package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
  86. package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts +1 -1
  87. package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
  88. package/lib/component/elements/print/PrintContent.js +3 -2
  89. package/lib/component/elements/print/PrintContent.js.map +1 -1
  90. package/lib/component/header/Header.js +1 -1
  91. package/lib/component/header/Header.js.map +1 -1
  92. package/lib/component/hooks/useActiveNucleusTab.js +1 -1
  93. package/lib/component/hooks/useActiveNucleusTab.js.map +1 -1
  94. package/lib/component/hooks/useActiveSpectrumRangesViewState.js +1 -1
  95. package/lib/component/hooks/useDatumWithSpectraStatistics.js +1 -1
  96. package/lib/component/hooks/useDatumWithSpectraStatistics.js.map +1 -1
  97. package/lib/component/hooks/useExport.d.ts +7 -7
  98. package/lib/component/hooks/useExport.d.ts.map +1 -1
  99. package/lib/component/hooks/useExport.js +23 -43
  100. package/lib/component/hooks/useExport.js.map +1 -1
  101. package/lib/component/hooks/useSVGUnitConverter.d.ts.map +1 -1
  102. package/lib/component/hooks/useSVGUnitConverter.js +12 -9
  103. package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
  104. package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
  105. package/lib/component/hooks/useSaveSettings.js +3 -2
  106. package/lib/component/hooks/useSaveSettings.js.map +1 -1
  107. package/lib/component/hooks/useSetActiveSpectrumAction.d.ts.map +1 -1
  108. package/lib/component/hooks/useSetActiveSpectrumAction.js +3 -1
  109. package/lib/component/hooks/useSetActiveSpectrumAction.js.map +1 -1
  110. package/lib/component/hooks/useTextMetrics.d.ts +16 -1
  111. package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
  112. package/lib/component/hooks/useTextMetrics.js +43 -15
  113. package/lib/component/hooks/useTextMetrics.js.map +1 -1
  114. package/lib/component/hooks/useToggleSpectraVisibility.js +1 -1
  115. package/lib/component/hooks/use_acs_settings.d.ts +4 -0
  116. package/lib/component/hooks/use_acs_settings.d.ts.map +1 -0
  117. package/lib/component/hooks/use_acs_settings.js +21 -0
  118. package/lib/component/hooks/use_acs_settings.js.map +1 -0
  119. package/lib/component/hooks/use_publication_strings.d.ts +9 -0
  120. package/lib/component/hooks/use_publication_strings.d.ts.map +1 -0
  121. package/lib/component/hooks/use_publication_strings.js +42 -0
  122. package/lib/component/hooks/use_publication_strings.js.map +1 -0
  123. package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
  124. package/lib/component/loader/useLoadFiles.js +81 -86
  125. package/lib/component/loader/useLoadFiles.js.map +1 -1
  126. package/lib/component/main/ErrorOverlay.d.ts.map +1 -1
  127. package/lib/component/main/ErrorOverlay.js +6 -1
  128. package/lib/component/main/ErrorOverlay.js.map +1 -1
  129. package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
  130. package/lib/component/main/InnerNMRiumContents.js +1 -2
  131. package/lib/component/main/InnerNMRiumContents.js.map +1 -1
  132. package/lib/component/main/NMRiumViewer.js +2 -2
  133. package/lib/component/main/NMRiumViewer.js.map +1 -1
  134. package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
  135. package/lib/component/main/NMRiumViewerWrapper.js +9 -3
  136. package/lib/component/main/NMRiumViewerWrapper.js.map +1 -1
  137. package/lib/component/modal/AboutPredictionModal.js +2 -2
  138. package/lib/component/modal/AboutPredictionModal.js.map +1 -1
  139. package/lib/component/modal/AboutSpectrumSimulationModal.js +2 -2
  140. package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
  141. package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
  142. package/lib/component/modal/EditPeakShapeModal.js +4 -3
  143. package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
  144. package/lib/component/modal/ExportAsJcampModal.d.ts.map +1 -1
  145. package/lib/component/modal/ExportAsJcampModal.js +3 -2
  146. package/lib/component/modal/ExportAsJcampModal.js.map +1 -1
  147. package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
  148. package/lib/component/modal/ImportPublicationStringModal.js +3 -2
  149. package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
  150. package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
  151. package/lib/component/modal/LoadJCAMPModal.js +3 -2
  152. package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
  153. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  154. package/lib/component/modal/LogsHistoryModal.js +3 -2
  155. package/lib/component/modal/LogsHistoryModal.js.map +1 -1
  156. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts +6 -0
  157. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts.map +1 -0
  158. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js +128 -0
  159. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js.map +1 -0
  160. package/lib/component/modal/MoleculeStructureEditorModal.d.ts.map +1 -1
  161. package/lib/component/modal/MoleculeStructureEditorModal.js +4 -3
  162. package/lib/component/modal/MoleculeStructureEditorModal.js.map +1 -1
  163. package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
  164. package/lib/component/modal/MultipletAnalysisModal.js +2 -2
  165. package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
  166. package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -1
  167. package/lib/component/modal/PredictSpectraModal.js +3 -2
  168. package/lib/component/modal/PredictSpectraModal.js.map +1 -1
  169. package/lib/component/modal/PublicationStringModal.d.ts +10 -1
  170. package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
  171. package/lib/component/modal/PublicationStringModal.js +89 -77
  172. package/lib/component/modal/PublicationStringModal.js.map +1 -1
  173. package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
  174. package/lib/component/modal/SaveAsModal.js +6 -9
  175. package/lib/component/modal/SaveAsModal.js.map +1 -1
  176. package/lib/component/modal/aboutUs/AboutUsModal.js +2 -2
  177. package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
  178. package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -1
  179. package/lib/component/modal/changeSum/ChangeSumModal.js +2 -2
  180. package/lib/component/modal/changeSum/ChangeSumModal.js.map +1 -1
  181. package/lib/component/modal/changeSum/SelectMolecule.js +4 -1
  182. package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
  183. package/lib/component/modal/editRange/EditRangeModal.js +1 -1
  184. package/lib/component/modal/editRange/forms/components/NewSignalTab.js +1 -1
  185. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
  186. package/lib/component/modal/metaImportation/MetaImportationModal.js +3 -2
  187. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  188. package/lib/component/modal/setting/{GeneralSettings.d.ts → general_settings.d.ts} +1 -1
  189. package/lib/component/modal/setting/general_settings.d.ts.map +1 -0
  190. package/lib/component/modal/setting/{GeneralSettings.js → general_settings.js} +11 -5
  191. package/lib/component/modal/setting/general_settings.js.map +1 -0
  192. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +1 -1
  193. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +1 -1
  194. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +1 -1
  195. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -1
  196. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +1 -1
  197. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +1 -1
  198. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +1 -1
  199. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +1 -1
  200. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +1 -1
  201. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -1
  202. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +1 -1
  203. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +1 -1
  204. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +1 -1
  205. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -1
  206. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +1 -1
  207. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +1 -1
  208. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts +8 -0
  209. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -0
  210. package/lib/component/modal/setting/tanstack_general_settings/general_settings.js +65 -0
  211. package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -0
  212. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +624 -0
  213. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -0
  214. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +42 -0
  215. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -0
  216. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +624 -0
  217. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -0
  218. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js +22 -0
  219. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -0
  220. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +7 -0
  221. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -0
  222. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js +50 -0
  223. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -0
  224. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts +7 -0
  225. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts.map +1 -0
  226. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js +105 -0
  227. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js.map +1 -0
  228. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +622 -0
  229. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -0
  230. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +55 -0
  231. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -0
  232. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +123 -0
  233. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -0
  234. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.js +11 -0
  235. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.js.map +1 -0
  236. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +622 -0
  237. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -0
  238. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js +34 -0
  239. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js.map +1 -0
  240. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +622 -0
  241. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -0
  242. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.js +26 -0
  243. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.js.map +1 -0
  244. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +622 -0
  245. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -0
  246. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js +123 -0
  247. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js.map +1 -0
  248. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +622 -0
  249. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -0
  250. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js +40 -0
  251. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js.map +1 -0
  252. package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.d.ts +10 -0
  253. package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.d.ts.map +1 -0
  254. package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.js +40 -0
  255. package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.js.map +1 -0
  256. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +166 -0
  257. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts.map +1 -0
  258. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js +58 -0
  259. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js.map +1 -0
  260. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +40 -0
  261. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts.map +1 -0
  262. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js +37 -0
  263. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js.map +1 -0
  264. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +37 -0
  265. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts.map +1 -0
  266. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.js +26 -0
  267. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.js.map +1 -0
  268. package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts +9 -0
  269. package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts.map +1 -0
  270. package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js +18 -0
  271. package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js.map +1 -0
  272. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts +167 -0
  273. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts.map +1 -0
  274. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js +69 -0
  275. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js.map +1 -0
  276. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +342 -0
  277. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -0
  278. package/lib/component/modal/setting/tanstack_general_settings/validation.js +51 -0
  279. package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -0
  280. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.js +2 -2
  281. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.js.map +1 -1
  282. package/lib/component/panels/MoleculesPanel/MoleculePanel.js +2 -2
  283. package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
  284. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
  285. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +75 -20
  286. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
  287. package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts +1 -1
  288. package/lib/component/panels/MoleculesPanel/MoleculeStructure.js +4 -4
  289. package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
  290. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +17 -17
  291. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
  292. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js +1 -1
  293. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js.map +1 -1
  294. package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.d.ts +1 -1
  295. package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js +1 -1
  296. package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.d.ts +1 -1
  297. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts +1 -1
  298. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts.map +1 -1
  299. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js +1 -1
  300. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js.map +1 -1
  301. package/lib/component/panels/MoleculesPanel/utilities/getUniqueDiaIDs.d.ts +1 -1
  302. package/lib/component/panels/Panels.d.ts +0 -9
  303. package/lib/component/panels/Panels.d.ts.map +1 -1
  304. package/lib/component/panels/Panels.js +13 -54
  305. package/lib/component/panels/Panels.js.map +1 -1
  306. package/lib/component/panels/RangesPanel/RangesHeader.d.ts.map +1 -1
  307. package/lib/component/panels/RangesPanel/RangesHeader.js +23 -15
  308. package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
  309. package/lib/component/panels/RangesPanel/RangesTableRow.js +1 -1
  310. package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
  311. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +1 -1
  312. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
  313. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +2 -2
  314. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
  315. package/lib/component/panels/SpectraPanel/SpectraTable.js +1 -1
  316. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts.map +1 -1
  317. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js +3 -2
  318. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
  319. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
  320. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +3 -2
  321. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
  322. package/lib/component/panels/databasePanel/DatabaseInfo.js +1 -1
  323. package/lib/component/panels/databasePanel/DatabasePanel.js +1 -1
  324. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js +2 -2
  325. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js.map +1 -1
  326. package/lib/component/panels/databasePanel/DatabaseTable.js +1 -1
  327. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
  328. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
  329. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
  330. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +1 -1
  331. package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
  332. package/lib/component/panels/header/DefaultPanelHeader.js +2 -1
  333. package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
  334. package/lib/component/panels/hooks/useMoleculeAnnotationCore.js +1 -1
  335. package/lib/component/panels/hooks/useMoleculeAnnotationCore.js.map +1 -1
  336. package/lib/component/panels/hooks/useTogglePanel.d.ts.map +1 -1
  337. package/lib/component/panels/hooks/useTogglePanel.js +4 -3
  338. package/lib/component/panels/hooks/useTogglePanel.js.map +1 -1
  339. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
  340. package/lib/component/panels/informationPanel/InformationEditionModal.js +3 -2
  341. package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
  342. package/lib/component/panels/informationPanel/InformationPanel.d.ts.map +1 -1
  343. package/lib/component/panels/informationPanel/InformationPanel.js +38 -3
  344. package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
  345. package/lib/component/reducer/actions/AssignmentsActions.js +3 -3
  346. package/lib/component/reducer/actions/CorrelationsActions.js +2 -2
  347. package/lib/component/reducer/actions/DatabaseActions.js +1 -1
  348. package/lib/component/reducer/actions/DomainActions.js +1 -1
  349. package/lib/component/reducer/actions/InsetActions.js +2 -2
  350. package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
  351. package/lib/component/reducer/actions/LoadAction.js +8 -2
  352. package/lib/component/reducer/actions/LoadAction.js.map +1 -1
  353. package/lib/component/reducer/actions/MoleculeActions.d.ts +23 -1
  354. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  355. package/lib/component/reducer/actions/MoleculeActions.js +5 -5
  356. package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
  357. package/lib/component/reducer/actions/PreferencesActions.js +1 -1
  358. package/lib/component/reducer/actions/RangesActions.d.ts +1 -1
  359. package/lib/component/reducer/actions/RangesActions.js +2 -2
  360. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  361. package/lib/component/reducer/actions/SpectraActions.d.ts +2 -1
  362. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  363. package/lib/component/reducer/actions/SpectraActions.js +3 -3
  364. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  365. package/lib/component/reducer/actions/ToolsActions.js +2 -2
  366. package/lib/component/reducer/actions/ZonesActions.d.ts +1 -1
  367. package/lib/component/reducer/actions/ZonesActions.js +2 -2
  368. package/lib/component/reducer/helper/get2DRange.d.ts +1 -1
  369. package/lib/component/reducer/preferences/actions/analyzeSpectra.d.ts +2 -1
  370. package/lib/component/reducer/preferences/actions/analyzeSpectra.d.ts.map +1 -1
  371. package/lib/component/reducer/preferences/actions/analyzeSpectra.js +10 -0
  372. package/lib/component/reducer/preferences/actions/analyzeSpectra.js.map +1 -1
  373. package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.d.ts +4 -0
  374. package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.d.ts.map +1 -0
  375. package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.js +9 -0
  376. package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.js.map +1 -0
  377. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -1
  378. package/lib/component/reducer/preferences/preferencesReducer.d.ts +8 -1
  379. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
  380. package/lib/component/reducer/preferences/preferencesReducer.js +8 -3
  381. package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
  382. package/lib/component/toolbar/ToolBar.d.ts.map +1 -1
  383. package/lib/component/toolbar/ToolBar.js +11 -8
  384. package/lib/component/toolbar/ToolBar.js.map +1 -1
  385. package/lib/component/toolbar/toolbarMenu.d.ts +5 -1
  386. package/lib/component/toolbar/toolbarMenu.d.ts.map +1 -1
  387. package/lib/component/toolbar/toolbarMenu.js +1 -1
  388. package/lib/component/toolbar/toolbarMenu.js.map +1 -1
  389. package/lib/component/utility/export.d.ts +2 -1
  390. package/lib/component/utility/export.d.ts.map +1 -1
  391. package/lib/component/utility/export.js +6 -2
  392. package/lib/component/utility/export.js.map +1 -1
  393. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
  394. package/lib/component/workspaces/workspaceDefaultProperties.js +3 -0
  395. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
  396. package/lib/data/PredictionManager.js +1 -1
  397. package/lib/data/SpectraManager.d.ts +1 -1
  398. package/lib/data/SpectraManager.d.ts.map +1 -1
  399. package/lib/data/SpectraManager.js +1 -1
  400. package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.js +1 -1
  401. package/lib/data/data1d/Spectrum1D/ranges/detectRanges.js +1 -1
  402. package/lib/data/data1d/multipleSpectraAnalysis.d.ts +1 -0
  403. package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
  404. package/lib/data/data1d/multipleSpectraAnalysis.js +14 -0
  405. package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
  406. package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
  407. package/lib/data/data2d/Spectrum2D/contours.js +13 -6
  408. package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
  409. package/lib/data/molecules/MoleculeManager.d.ts +6 -1
  410. package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
  411. package/lib/data/molecules/MoleculeManager.js +3 -2
  412. package/lib/data/molecules/MoleculeManager.js.map +1 -1
  413. package/lib/data/utilities/FindUtilities.js +2 -2
  414. package/lib/utils/clipboard/clipboardComponents.js +2 -2
  415. package/lib/utils/clipboard/clipboardComponents.js.map +1 -1
  416. package/lib/versionInfo.js +1 -1
  417. package/package.json +45 -45
  418. package/src/component/1d/BrushTracker1D.tsx +8 -0
  419. package/src/component/1d/FloatPublicationString.tsx +275 -177
  420. package/src/component/1d/FloatingRanges.tsx +1 -3
  421. package/src/component/1d/SVGContent1D.tsx +1 -1
  422. package/src/component/1d/inset/DraggableInset.tsx +2 -4
  423. package/src/component/1d/integral/IntegralResizable.tsx +1 -1
  424. package/src/component/1d/matrix/Boxplot.tsx +1 -1
  425. package/src/component/1d/matrix/Stocsy.tsx +1 -1
  426. package/src/component/1d/multiAnalysis/AnalysisRange.tsx +1 -1
  427. package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -2
  428. package/src/component/1d/peaks/PeakAnnotations.tsx +2 -2
  429. package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +2 -2
  430. package/src/component/1d/peaks/Peaks.tsx +2 -2
  431. package/src/component/1d/ranges/Range.tsx +5 -5
  432. package/src/component/1d/ranges/Ranges.tsx +2 -2
  433. package/src/component/1d/ranges/RangesIntegrals.tsx +1 -1
  434. package/src/component/1d/ranges/useAssignmentsPopoverActionsButtons.tsx +5 -5
  435. package/src/component/1d/tool/BaseLineZones.tsx +1 -1
  436. package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +14 -6
  437. package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +1 -2
  438. package/src/component/2d/FooterBanner.tsx +1 -1
  439. package/src/component/2d/SVGContent2D.tsx +1 -1
  440. package/src/component/2d/YAxis.tsx +3 -3
  441. package/src/component/2d/ft/FTContainer.tsx +1 -1
  442. package/src/component/2d/tools/XYLabelPointer.tsx +1 -1
  443. package/src/component/2d/useTracesSpectra.ts +1 -1
  444. package/src/component/2d/zones/SignalsGuideLines.tsx +5 -5
  445. package/src/component/2d/zones/Zone.tsx +1 -1
  446. package/src/component/EventsTrackers/BrushTracker.tsx +1 -1
  447. package/src/component/EventsTrackers/KeysListenerTracker.tsx +9 -3
  448. package/src/component/context/LoggerContext.tsx +9 -0
  449. package/src/component/context/PreferencesContext.tsx +1 -1
  450. package/src/component/elements/ActionsButtonsPopover.tsx +80 -24
  451. package/src/component/elements/Alert.tsx +4 -2
  452. package/src/component/elements/DraggableDialog.tsx +2 -2
  453. package/src/component/elements/NextPrev.tsx +28 -4
  454. package/src/component/elements/StandardDialog.tsx +11 -0
  455. package/src/component/elements/ToolbarPopoverItem.tsx +16 -3
  456. package/src/component/elements/export/ExportManager.tsx +1 -1
  457. package/src/component/elements/export/ExportOptionsModal.tsx +3 -3
  458. package/src/component/elements/print/PrintContent.tsx +4 -9
  459. package/src/component/header/Header.tsx +1 -1
  460. package/src/component/hooks/useActiveNucleusTab.ts +1 -1
  461. package/src/component/hooks/useActiveSpectrumRangesViewState.ts +1 -1
  462. package/src/component/hooks/useDatumWithSpectraStatistics.ts +1 -1
  463. package/src/component/hooks/useExport.tsx +36 -66
  464. package/src/component/hooks/useSVGUnitConverter.ts +13 -9
  465. package/src/component/hooks/useSaveSettings.tsx +4 -3
  466. package/src/component/hooks/useSetActiveSpectrumAction.ts +3 -2
  467. package/src/component/hooks/useTextMetrics.ts +66 -18
  468. package/src/component/hooks/useToggleSpectraVisibility.tsx +1 -1
  469. package/src/component/hooks/use_acs_settings.ts +27 -0
  470. package/src/component/hooks/use_publication_strings.ts +67 -0
  471. package/src/component/loader/useLoadFiles.ts +134 -111
  472. package/src/component/main/ErrorOverlay.tsx +11 -2
  473. package/src/component/main/InnerNMRiumContents.tsx +6 -9
  474. package/src/component/main/NMRiumViewer.tsx +3 -3
  475. package/src/component/main/NMRiumViewerWrapper.tsx +12 -6
  476. package/src/component/modal/AboutPredictionModal.tsx +3 -3
  477. package/src/component/modal/AboutSpectrumSimulationModal.tsx +3 -3
  478. package/src/component/modal/EditPeakShapeModal.tsx +5 -4
  479. package/src/component/modal/ExportAsJcampModal.tsx +4 -3
  480. package/src/component/modal/ImportPublicationStringModal.tsx +4 -3
  481. package/src/component/modal/LoadJCAMPModal.tsx +4 -3
  482. package/src/component/modal/LogsHistoryModal.tsx +4 -3
  483. package/src/component/modal/MoleculeAutoLabelsDatabaseModal.tsx +220 -0
  484. package/src/component/modal/MoleculeStructureEditorModal.tsx +9 -4
  485. package/src/component/modal/MultipletAnalysisModal.tsx +3 -3
  486. package/src/component/modal/PredictSpectraModal.tsx +4 -3
  487. package/src/component/modal/PublicationStringModal.tsx +234 -134
  488. package/src/component/modal/SaveAsModal.tsx +18 -50
  489. package/src/component/modal/aboutUs/AboutUsModal.tsx +3 -3
  490. package/src/component/modal/changeSum/ChangeSumModal.tsx +5 -4
  491. package/src/component/modal/changeSum/SelectMolecule.tsx +23 -23
  492. package/src/component/modal/editRange/EditRangeModal.tsx +1 -1
  493. package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +1 -1
  494. package/src/component/modal/metaImportation/MetaImportationModal.tsx +4 -3
  495. package/src/component/modal/setting/{GeneralSettings.tsx → general_settings.tsx} +34 -4
  496. package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +1 -1
  497. package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +1 -1
  498. package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +1 -1
  499. package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +1 -1
  500. package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +1 -1
  501. package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +1 -1
  502. package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +1 -1
  503. package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +1 -1
  504. package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +106 -0
  505. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +69 -0
  506. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +39 -0
  507. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +98 -0
  508. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.tsx +218 -0
  509. package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +231 -0
  510. package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.tsx +24 -0
  511. package/src/component/modal/setting/tanstack_general_settings/tabs/general_tab.tsx +94 -0
  512. package/src/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.tsx +72 -0
  513. package/src/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.tsx +261 -0
  514. package/src/component/modal/setting/tanstack_general_settings/tabs/panels_tab.tsx +150 -0
  515. package/src/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.ts +55 -0
  516. package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +63 -0
  517. package/src/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.ts +42 -0
  518. package/src/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.ts +26 -0
  519. package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts +21 -0
  520. package/src/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.ts +80 -0
  521. package/src/component/modal/setting/tanstack_general_settings/validation.ts +66 -0
  522. package/src/component/panels/MoleculesPanel/MoleculeOptionsPanel.tsx +2 -2
  523. package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +2 -2
  524. package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +106 -21
  525. package/src/component/panels/MoleculesPanel/MoleculeStructure.tsx +5 -5
  526. package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +21 -21
  527. package/src/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.ts +1 -1
  528. package/src/component/panels/MoleculesPanel/utilities/extractFromAtom.ts +1 -1
  529. package/src/component/panels/MoleculesPanel/utilities/getAssignIds.ts +1 -1
  530. package/src/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.ts +1 -1
  531. package/src/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.ts +2 -2
  532. package/src/component/panels/MoleculesPanel/utilities/getUniqueDiaIDs.ts +1 -1
  533. package/src/component/panels/Panels.tsx +5 -93
  534. package/src/component/panels/RangesPanel/RangesHeader.tsx +34 -29
  535. package/src/component/panels/RangesPanel/RangesTableRow.tsx +1 -1
  536. package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +3 -3
  537. package/src/component/panels/SpectraPanel/SpectraTable.tsx +1 -1
  538. package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +4 -3
  539. package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +4 -3
  540. package/src/component/panels/databasePanel/DatabaseInfo.tsx +1 -1
  541. package/src/component/panels/databasePanel/DatabasePanel.tsx +1 -1
  542. package/src/component/panels/databasePanel/DatabaseStructureSearchModal.tsx +3 -3
  543. package/src/component/panels/databasePanel/DatabaseTable.tsx +1 -1
  544. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +1 -1
  545. package/src/component/panels/header/DefaultPanelHeader.tsx +2 -1
  546. package/src/component/panels/hooks/useMoleculeAnnotationCore.ts +1 -1
  547. package/src/component/panels/hooks/useTogglePanel.ts +4 -3
  548. package/src/component/panels/informationPanel/InformationEditionModal.tsx +4 -3
  549. package/src/component/panels/informationPanel/InformationPanel.tsx +83 -2
  550. package/src/component/reducer/actions/AssignmentsActions.ts +3 -3
  551. package/src/component/reducer/actions/CorrelationsActions.ts +2 -2
  552. package/src/component/reducer/actions/DatabaseActions.ts +1 -1
  553. package/src/component/reducer/actions/DomainActions.ts +1 -1
  554. package/src/component/reducer/actions/InsetActions.ts +2 -2
  555. package/src/component/reducer/actions/LoadAction.ts +17 -3
  556. package/src/component/reducer/actions/MoleculeActions.ts +7 -5
  557. package/src/component/reducer/actions/PreferencesActions.ts +1 -1
  558. package/src/component/reducer/actions/RangesActions.ts +4 -4
  559. package/src/component/reducer/actions/SpectraActions.ts +7 -3
  560. package/src/component/reducer/actions/ToolsActions.ts +2 -2
  561. package/src/component/reducer/actions/ZonesActions.ts +3 -3
  562. package/src/component/reducer/helper/get2DRange.ts +1 -1
  563. package/src/component/reducer/preferences/actions/analyzeSpectra.ts +16 -0
  564. package/src/component/reducer/preferences/actions/toggleOpenSplitPanel.ts +18 -0
  565. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +1 -1
  566. package/src/component/reducer/preferences/preferencesReducer.ts +24 -3
  567. package/src/component/toolbar/ToolBar.tsx +15 -10
  568. package/src/component/toolbar/toolbarMenu.tsx +13 -2
  569. package/src/component/utility/export.ts +7 -1
  570. package/src/component/workspaces/workspaceDefaultProperties.ts +5 -1
  571. package/src/data/PredictionManager.ts +1 -1
  572. package/src/data/SpectraManager.ts +2 -2
  573. package/src/data/data1d/Spectrum1D/ranges/autoRangesDetection.ts +1 -1
  574. package/src/data/data1d/Spectrum1D/ranges/detectRanges.ts +1 -1
  575. package/src/data/data1d/multipleSpectraAnalysis.ts +20 -0
  576. package/src/data/data2d/Spectrum2D/contours.ts +16 -6
  577. package/src/data/molecules/MoleculeManager.ts +7 -2
  578. package/src/data/utilities/FindUtilities.ts +2 -2
  579. package/src/utils/clipboard/clipboardComponents.tsx +3 -3
  580. package/src/versionInfo.ts +1 -1
  581. package/lib/component/modal/setting/GeneralSettings.d.ts.map +0 -1
  582. package/lib/component/modal/setting/GeneralSettings.js.map +0 -1
@@ -0,0 +1,218 @@
1
+ import { Classes } from '@blueprintjs/core';
2
+ import styled from '@emotion/styled';
3
+ import type { Workspace } from '@zakodium/nmrium-core';
4
+ import dlv from 'dlv';
5
+ import { useCallback, useEffect, useRef } from 'react';
6
+ import { FaBolt, FaPaste, FaRegCopy } from 'react-icons/fa';
7
+ import { Button } from 'react-science/ui';
8
+
9
+ import { ClipboardFallbackModal } from '../../../../utils/clipboard/clipboardComponents.js';
10
+ import { useClipboard } from '../../../../utils/clipboard/clipboardHooks.js';
11
+ import { usePreferences } from '../../../context/PreferencesContext.js';
12
+ import { useToaster } from '../../../context/ToasterContext.js';
13
+ import { getPreferencesByWorkspace } from '../../../reducer/preferences/utilities/getPreferencesByWorkspace.js';
14
+ import PredefinedWorkspaces from '../../../workspaces/index.js';
15
+
16
+ interface GeneralSettingsDialogHeaderActionsButtonsProps<T> {
17
+ reset: (values: T) => void;
18
+ values: T;
19
+ }
20
+
21
+ export function GeneralSettingsDialogHeaderActionsButtons<T extends object>(
22
+ props: GeneralSettingsDialogHeaderActionsButtonsProps<T>,
23
+ ) {
24
+ const { reset, values } = props;
25
+
26
+ const { dispatch, workspaces, ...preferences } = usePreferences();
27
+ const pastRef = useRef<Record<string, Workspace> | null>(null);
28
+
29
+ const setWorkspaceSetting = useCallback(
30
+ (inputWorkspace: any) => {
31
+ const parseWorkspaceName = Object.keys(inputWorkspace)[0];
32
+
33
+ if (preferences.workspace.current === parseWorkspaceName) {
34
+ reset(inputWorkspace[parseWorkspaceName]);
35
+ } else if (workspaces[parseWorkspaceName]) {
36
+ pastRef.current = inputWorkspace as unknown as Record<
37
+ string,
38
+ Workspace
39
+ >;
40
+
41
+ dispatch({
42
+ type: 'SET_WORKSPACE',
43
+ payload: {
44
+ workspace: parseWorkspaceName,
45
+ workspaceSource: 'any',
46
+ },
47
+ });
48
+ }
49
+ },
50
+ [dispatch, preferences.workspace, reset, workspaces],
51
+ );
52
+
53
+ useEffect(() => {
54
+ if (pastRef.current) {
55
+ setWorkspaceSetting(pastRef.current);
56
+ pastRef.current = null;
57
+ }
58
+ }, [setWorkspaceSetting]);
59
+
60
+ return (
61
+ <WorkSpaceActionsButtons<T>
62
+ reset={reset}
63
+ values={values}
64
+ onPast={setWorkspaceSetting}
65
+ />
66
+ );
67
+ }
68
+
69
+ interface WorkSpaceActionsButtonsProps<T> {
70
+ onPast: (value: string) => void;
71
+ reset: (values: T) => void;
72
+ values: T;
73
+ }
74
+
75
+ function WorkSpaceActionsButtons<T extends object>(
76
+ props: WorkSpaceActionsButtonsProps<T>,
77
+ ) {
78
+ const { reset, values } = props;
79
+
80
+ const {
81
+ readText,
82
+ rawWriteWithType,
83
+ shouldFallback,
84
+ cleanShouldFallback,
85
+ text,
86
+ } = useClipboard();
87
+
88
+ const toaster = useToaster();
89
+ const isExperimentalFeatures = dlv(
90
+ values,
91
+ 'display.general.experimentalFeatures.display',
92
+ false,
93
+ );
94
+
95
+ const {
96
+ originalWorkspaces,
97
+ workspace: { current: workspaceName },
98
+ } = usePreferences();
99
+
100
+ function handleReset() {
101
+ const workSpaceDisplayPreferences = getPreferencesByWorkspace(
102
+ workspaceName,
103
+ originalWorkspaces,
104
+ );
105
+
106
+ reset(workSpaceDisplayPreferences as T);
107
+ }
108
+
109
+ function handlePasteWorkspace(text: string | null) {
110
+ if (!text) return;
111
+
112
+ try {
113
+ const parseWorkspaces = JSON.parse(text);
114
+ props.onPast(parseWorkspaces);
115
+ } catch {
116
+ toaster.show({ message: 'object parse error', intent: 'danger' });
117
+ }
118
+
119
+ cleanShouldFallback();
120
+ }
121
+
122
+ function handlePastWorkspaceAction() {
123
+ void readText().then(handlePasteWorkspace);
124
+ }
125
+
126
+ function handleCopyWorkspace() {
127
+ const data = { [workspaceName]: values };
128
+ void rawWriteWithType(JSON.stringify(data)).then(() => {
129
+ toaster.show({
130
+ message: 'Workspace copied to clipboard',
131
+ intent: 'success',
132
+ });
133
+ });
134
+ }
135
+
136
+ return (
137
+ <div
138
+ style={{
139
+ display: 'flex',
140
+ justifyContent: 'flex-start',
141
+ padding: '0 3px',
142
+ }}
143
+ >
144
+ <Button
145
+ variant="outlined"
146
+ intent="primary"
147
+ onClick={handleReset}
148
+ tooltipProps={{ content: 'Reset workspace preferences', compact: true }}
149
+ disabled={isRestButtonDisable(
150
+ values,
151
+ workspaceName,
152
+ originalWorkspaces,
153
+ )}
154
+ >
155
+ <FaBolt className={Classes.ICON} />
156
+ </Button>
157
+ {isExperimentalFeatures && (
158
+ <>
159
+ <StyledButton
160
+ variant="outlined"
161
+ onClick={handleCopyWorkspace}
162
+ tooltipProps={{
163
+ content: 'Copy workspace preferences',
164
+ compact: true,
165
+ }}
166
+ marginHorizontal={5}
167
+ >
168
+ <FaRegCopy className={Classes.ICON} />
169
+ </StyledButton>
170
+ <Button
171
+ variant="outlined"
172
+ intent="success"
173
+ onClick={handlePastWorkspaceAction}
174
+ tooltipProps={{
175
+ content: 'Paste workspace preferences',
176
+ compact: true,
177
+ }}
178
+ >
179
+ <FaPaste className={Classes.ICON} />
180
+ </Button>
181
+ </>
182
+ )}
183
+ <ClipboardFallbackModal
184
+ mode={shouldFallback}
185
+ onDismiss={cleanShouldFallback}
186
+ onReadText={handlePasteWorkspace}
187
+ text={text}
188
+ label="Workspace"
189
+ />
190
+ </div>
191
+ );
192
+ }
193
+
194
+ const StyledButton = styled(Button, {
195
+ shouldForwardProp(propName) {
196
+ return propName !== 'marginHorizontal';
197
+ },
198
+ })<{ marginHorizontal: number }>`
199
+ margin: 0 ${(props) => props.marginHorizontal}px;
200
+ `;
201
+
202
+ function isRestButtonDisable(
203
+ currentWorkspaceSetting: any,
204
+ workspaceName: any,
205
+ customWorkspaces: any,
206
+ ) {
207
+ if (
208
+ !(workspaceName in PredefinedWorkspaces) &&
209
+ !(workspaceName in customWorkspaces)
210
+ ) {
211
+ return true;
212
+ } else {
213
+ return (
214
+ JSON.stringify(currentWorkspaceSetting) ===
215
+ JSON.stringify(getPreferencesByWorkspace(workspaceName, customWorkspaces))
216
+ );
217
+ }
218
+ }
@@ -0,0 +1,231 @@
1
+ import { Checkbox, Tag } from '@blueprintjs/core';
2
+ import { useStore } from '@tanstack/react-form';
3
+ import type { PageSizeName, Unit } from '@zakodium/nmrium-core';
4
+ import { units } from '@zakodium/nmrium-core';
5
+ import { memo, useMemo } from 'react';
6
+ import { FormGroup, assertUnreachable, withFieldGroup } from 'react-science/ui';
7
+ import type { z } from 'zod/v4';
8
+
9
+ import { convertToPixels } from '../../../../elements/export/units.js';
10
+ import { useExportConfigurer } from '../../../../elements/export/useExportConfigurer.js';
11
+ import {
12
+ getExportDefaultOptionsByMode,
13
+ getExportOptions,
14
+ } from '../../../../elements/export/utilities/getExportOptions.js';
15
+ import { pageSizes } from '../../../../elements/print/pageSize.js';
16
+ import { exportSettingsValidation } from '../validation/export_tab_validation.js';
17
+ import { defaultGeneralSettingsFormValues } from '../validation.js';
18
+
19
+ type Mode = 'basic' | 'advance';
20
+ type Layout = 'portrait' | 'landscape';
21
+
22
+ interface SelectItem<Value extends string> {
23
+ label: string;
24
+ value: Value;
25
+ }
26
+
27
+ const pageSizeItems: Record<Layout, Array<SelectItem<PageSizeName>>> = {
28
+ portrait: pageSizes.map((item) => ({
29
+ value: item.name,
30
+ label: `${item.name} (${item.portrait.width} cm x ${item.portrait.height} cm)`,
31
+ })),
32
+ landscape: pageSizes.map((item) => ({
33
+ value: item.name,
34
+ label: `${item.name} (${item.landscape.width} cm x ${item.landscape.height} cm)`,
35
+ })),
36
+ };
37
+ const modeItems: Array<SelectItem<Mode>> = [
38
+ { label: 'Basic', value: 'basic' },
39
+ { label: 'Advanced', value: 'advance' },
40
+ ];
41
+ const unitItems: Array<SelectItem<Unit>> = units.map((u) => ({
42
+ label: u.name,
43
+ value: u.unit,
44
+ }));
45
+ const layoutItems: Array<SelectItem<Layout>> = [
46
+ { value: 'portrait', label: 'Portrait' },
47
+ { value: 'landscape', label: 'Landscape' },
48
+ ];
49
+
50
+ export const ExportFields = withFieldGroup({
51
+ defaultValues: defaultGeneralSettingsFormValues.export.png,
52
+ render: function ExportFields({ group }) {
53
+ const inputValues = useStore(group.store, (s) => s.values);
54
+ const outputValues = useMemo(() => {
55
+ return exportSettingsValidation.decode(inputValues);
56
+ }, [inputValues]);
57
+ const advancedTransforms = useExportConfigurer(outputValues);
58
+
59
+ function onModeChange({ value }: { value: Mode }) {
60
+ const newOptions = getExportDefaultOptionsByMode(value);
61
+
62
+ for (const [key, value] of Object.entries(newOptions)) {
63
+ group.setFieldValue(key as keyof typeof newOptions, value, {
64
+ dontRunListeners: true,
65
+ });
66
+ }
67
+ }
68
+
69
+ function onChangeUnit({ value }: { value: Unit }) {
70
+ const { width, height } = advancedTransforms.changeUnit({ unit: value });
71
+ group.setFieldValue('width', String(width), {
72
+ dontRunListeners: true,
73
+ });
74
+ group.setFieldValue('height', String(height), {
75
+ dontRunListeners: true,
76
+ });
77
+ }
78
+ function onWidthChange({ value }: { value: string }) {
79
+ const height = advancedTransforms.changeSize(
80
+ Number(value),
81
+ 'height',
82
+ 'width',
83
+ );
84
+ if (!advancedTransforms.isAspectRatioEnabled) {
85
+ return;
86
+ }
87
+ group.setFieldValue('height', String(height), {
88
+ dontRunListeners: true,
89
+ });
90
+ }
91
+ function onHeightChange({ value }: { value: string }) {
92
+ const width = advancedTransforms.changeSize(
93
+ Number(value),
94
+ 'width',
95
+ 'height',
96
+ );
97
+ if (!advancedTransforms.isAspectRatioEnabled) {
98
+ return;
99
+ }
100
+ group.setFieldValue('width', String(width), {
101
+ dontRunListeners: true,
102
+ });
103
+ }
104
+
105
+ function onDPIChange({ value }: { value: string }) {
106
+ if (group.state.values.mode !== 'advance') return;
107
+ if (group.state.values.unit !== 'px') return;
108
+
109
+ const { width, height } = advancedTransforms.changeDPI(Number(value));
110
+ group.setFieldValue('width', String(width), {
111
+ dontRunListeners: true,
112
+ });
113
+ group.setFieldValue('height', String(height), {
114
+ dontRunListeners: true,
115
+ });
116
+ }
117
+
118
+ const { AppField, Subscribe } = group;
119
+ return (
120
+ <>
121
+ <AppField name="mode" listeners={{ onChange: onModeChange }}>
122
+ {({ RadioGroup }) => <RadioGroup label="Mode" options={modeItems} />}
123
+ </AppField>
124
+ <DescriptionPreview {...outputValues} />
125
+ <Subscribe
126
+ selector={(state) => {
127
+ const mode = state.values.mode;
128
+ switch (state.values.mode) {
129
+ case 'basic':
130
+ return { mode: state.values.mode, layout: state.values.layout };
131
+ case 'advance':
132
+ return { mode: state.values.mode, unit: state.values.unit };
133
+ default:
134
+ assertUnreachable(mode as never);
135
+ }
136
+ }}
137
+ >
138
+ {({ mode, layout, unit }) => {
139
+ switch (mode) {
140
+ case 'basic':
141
+ return (
142
+ <>
143
+ <AppField name="size">
144
+ {({ Select }) => (
145
+ <Select label="Size" items={pageSizeItems[layout]} />
146
+ )}
147
+ </AppField>
148
+ <AppField name="layout">
149
+ {({ RadioGroup }) => (
150
+ <RadioGroup label="Layout" options={layoutItems} />
151
+ )}
152
+ </AppField>
153
+ </>
154
+ );
155
+ case 'advance':
156
+ return (
157
+ <>
158
+ <AppField
159
+ name="unit"
160
+ listeners={{ onChange: onChangeUnit }}
161
+ >
162
+ {({ Select }) => (
163
+ <Select label="Unit" items={unitItems} />
164
+ )}
165
+ </AppField>
166
+ <Checkbox
167
+ label="Keep ratio"
168
+ checked={advancedTransforms.isAspectRatioEnabled}
169
+ onChange={(event) => {
170
+ advancedTransforms.enableAspectRatio(
171
+ event.currentTarget.checked,
172
+ );
173
+ }}
174
+ />
175
+ <AppField
176
+ name="width"
177
+ listeners={{ onChange: onWidthChange }}
178
+ >
179
+ {({ NumericInput }) => (
180
+ <NumericInput
181
+ label="Width"
182
+ rightElement={<Tag>{unit}</Tag>}
183
+ />
184
+ )}
185
+ </AppField>
186
+ <AppField
187
+ name="height"
188
+ listeners={{ onChange: onHeightChange }}
189
+ >
190
+ {({ NumericInput }) => (
191
+ <NumericInput
192
+ label="Height"
193
+ rightElement={<Tag>{unit}</Tag>}
194
+ />
195
+ )}
196
+ </AppField>
197
+ </>
198
+ );
199
+ default:
200
+ assertUnreachable(mode);
201
+ }
202
+ }}
203
+ </Subscribe>
204
+ <AppField name="dpi" listeners={{ onChange: onDPIChange }}>
205
+ {({ NumericInput }) => <NumericInput label="DPI" />}
206
+ </AppField>
207
+ <AppField name="useDefaultSettings">
208
+ {({ Checkbox }) => (
209
+ <Checkbox label="Don't show the options dialog during export and use current settings" />
210
+ )}
211
+ </AppField>
212
+ </>
213
+ );
214
+ },
215
+ });
216
+
217
+ type DescriptionPreviewProps = z.output<typeof exportSettingsValidation>;
218
+ const DescriptionPreview = memo(function DescriptionPreview(
219
+ props: DescriptionPreviewProps,
220
+ ) {
221
+ const { width, height, dpi, unit } = getExportOptions(props);
222
+ const convertOptions = { precision: 0 };
223
+ const widthInPixel = convertToPixels(width, unit, dpi, convertOptions);
224
+ const heightInPixel = convertToPixels(height, unit, dpi, convertOptions);
225
+
226
+ return (
227
+ <FormGroup label="Description">
228
+ <Tag>{`${widthInPixel} px x ${heightInPixel} px @ ${dpi}DPI`}</Tag>
229
+ </FormGroup>
230
+ );
231
+ });
@@ -0,0 +1,24 @@
1
+ import { withForm } from 'react-science/ui';
2
+
3
+ import { defaultGeneralSettingsFormValues } from '../validation.js';
4
+
5
+ import { ExportFields } from './export_tab.fields.js';
6
+
7
+ export const ExportTab = withForm({
8
+ defaultValues: defaultGeneralSettingsFormValues,
9
+ render: ({ form }) => {
10
+ return (
11
+ <>
12
+ <form.Section title="Export SVG to file options">
13
+ <ExportFields form={form} fields="export.svg" />
14
+ </form.Section>
15
+ <form.Section title="Export PNG to file options">
16
+ <ExportFields form={form} fields="export.png" />
17
+ </form.Section>
18
+ <form.Section title="Export PNG to clipboard options">
19
+ <ExportFields form={form} fields="export.clipboard" />
20
+ </form.Section>
21
+ </>
22
+ );
23
+ },
24
+ });
@@ -0,0 +1,94 @@
1
+ import { Tag } from '@blueprintjs/core';
2
+ import { withForm } from 'react-science/ui';
3
+
4
+ import { LOGGER_LEVELS } from '../../../../context/LoggerContext.js';
5
+ import type { SelectDefaultItem } from '../../../../elements/Select2.js';
6
+ import { defaultGeneralSettingsFormValues } from '../validation.js';
7
+
8
+ const SHAPE_RENDERING: SelectDefaultItem[] = [
9
+ {
10
+ label: 'Auto',
11
+ value: 'auto',
12
+ },
13
+ {
14
+ label: 'Optimize speed',
15
+ value: 'optimizeSpeed',
16
+ },
17
+ {
18
+ label: 'Crisp edges',
19
+ value: 'crispEdges',
20
+ },
21
+ {
22
+ label: 'Geometric precision',
23
+ value: 'geometricPrecision',
24
+ },
25
+ ];
26
+
27
+ const LOGS_LEVELS = Object.keys(LOGGER_LEVELS).map((level) => ({
28
+ label: level.replace(/^\w/, (c) => c.toUpperCase()),
29
+ value: level,
30
+ }));
31
+
32
+ export const GeneralTab = withForm({
33
+ defaultValues: defaultGeneralSettingsFormValues,
34
+ render: ({ form }) => {
35
+ return (
36
+ <>
37
+ <form.Section title="General">
38
+ <form.AppField name="general.dimmedSpectraOpacity">
39
+ {(field) => (
40
+ <field.NumericInput
41
+ label="Opacity of dimmed spectra"
42
+ helpText="Should be between [0 - 1]"
43
+ min={0}
44
+ max={1}
45
+ step={0.1}
46
+ />
47
+ )}
48
+ </form.AppField>
49
+ <form.AppField name="general.invert">
50
+ {(field) => <field.Switch label="Invert actions" />}
51
+ </form.AppField>
52
+ <form.AppField name="general.invertScroll">
53
+ {(field) => <field.Switch label="Invert scroll" />}
54
+ </form.AppField>
55
+ </form.Section>
56
+ <form.Section title="Experimental features">
57
+ <form.AppField name="display.general.experimentalFeatures.display">
58
+ {(field) => <field.Switch label="Enable experimental features" />}
59
+ </form.AppField>
60
+ </form.Section>
61
+ <form.Section title="Rendering">
62
+ <form.AppField name="general.spectraRendering">
63
+ {(field) => (
64
+ <field.Select label="Spectra rendering" items={SHAPE_RENDERING} />
65
+ )}
66
+ </form.AppField>
67
+ </form.Section>
68
+ <form.Section title="Logging settings">
69
+ <form.AppField name="general.loggingLevel">
70
+ {(field) => <field.Select label="Level" items={LOGS_LEVELS} />}
71
+ </form.AppField>
72
+ <form.AppField name="general.popupLoggingLevel">
73
+ {(field) => (
74
+ <field.Select label="Popup logging level" items={LOGS_LEVELS} />
75
+ )}
76
+ </form.AppField>
77
+ </form.Section>
78
+ <form.Section title="Peaks label">
79
+ <form.AppField name="peaksLabel.marginTop">
80
+ {(field) => (
81
+ <field.NumericInput
82
+ label="Margin top"
83
+ min={0}
84
+ max={1}
85
+ stepSize={0.1}
86
+ rightElement={<Tag>px</Tag>}
87
+ />
88
+ )}
89
+ </form.AppField>
90
+ </form.Section>
91
+ </>
92
+ );
93
+ },
94
+ });
@@ -0,0 +1,72 @@
1
+ import { withFieldGroup, withForm } from 'react-science/ui';
2
+
3
+ import { nmrLoadersGeneralDataSelection } from '../validation/import_filters_tab_validation.js';
4
+ import { defaultGeneralSettingsFormValues } from '../validation.js';
5
+
6
+ export const ImportFiltersTab = withForm({
7
+ defaultValues: defaultGeneralSettingsFormValues,
8
+ render: ({ form }) => {
9
+ const { Section } = form;
10
+
11
+ return (
12
+ <>
13
+ <Section title="General">
14
+ <General form={form} fields="nmrLoaders.general" />
15
+ </Section>
16
+ <Section title="Bruker">
17
+ <Bruker form={form} fields="nmrLoaders.bruker" />
18
+ </Section>
19
+ </>
20
+ );
21
+ },
22
+ });
23
+
24
+ const General = withFieldGroup({
25
+ defaultValues: defaultGeneralSettingsFormValues.nmrLoaders.general,
26
+ render: ({ group }) => {
27
+ const { AppField } = group;
28
+
29
+ return (
30
+ <>
31
+ <AppField name="keep1D">
32
+ {({ Checkbox }) => <Checkbox label="Keep 1D" />}
33
+ </AppField>
34
+ <AppField name="keep2D">
35
+ {({ Checkbox }) => <Checkbox label="Keep 2D" />}
36
+ </AppField>
37
+ <AppField name="onlyReal">
38
+ {({ Checkbox }) => <Checkbox label="Only real" />}
39
+ </AppField>
40
+ <AppField name="dataSelection">
41
+ {({ Select }) => (
42
+ <Select
43
+ label="Data selection"
44
+ items={nmrLoadersGeneralDataSelection}
45
+ />
46
+ )}
47
+ </AppField>
48
+ </>
49
+ );
50
+ },
51
+ });
52
+
53
+ const Bruker = withFieldGroup({
54
+ defaultValues: defaultGeneralSettingsFormValues.nmrLoaders.bruker,
55
+ render: ({ group }) => {
56
+ const { AppField } = group;
57
+
58
+ return (
59
+ <>
60
+ <AppField name="processingNumbers">
61
+ {({ Input }) => <Input label="Processing numbers" />}
62
+ </AppField>
63
+ <AppField name="experimentNumbers">
64
+ {({ Input }) => <Input label="Experiment numbers" />}
65
+ </AppField>
66
+ <AppField name="onlyFirstProcessedData">
67
+ {({ Checkbox }) => <Checkbox label="Only first processed data" />}
68
+ </AppField>
69
+ </>
70
+ );
71
+ },
72
+ });