nmrium 1.11.0 → 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 (508) hide show
  1. package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
  2. package/lib/component/1d/FloatPublicationString.js +170 -109
  3. package/lib/component/1d/FloatPublicationString.js.map +1 -1
  4. package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
  5. package/lib/component/1d/FloatingRanges.js +2 -2
  6. package/lib/component/1d/FloatingRanges.js.map +1 -1
  7. package/lib/component/1d/SVGContent1D.js +1 -1
  8. package/lib/component/1d/SVGContent1D.js.map +1 -1
  9. package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
  10. package/lib/component/1d/inset/DraggableInset.js +3 -3
  11. package/lib/component/1d/inset/DraggableInset.js.map +1 -1
  12. package/lib/component/1d/matrix/Boxplot.js +1 -1
  13. package/lib/component/1d/matrix/Stocsy.js +1 -1
  14. package/lib/component/1d/multiplicityTree/MultiplicityTree.js +2 -2
  15. package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
  16. package/lib/component/1d/peaks/PeakAnnotations.js +2 -2
  17. package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
  18. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +1 -1
  19. package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
  20. package/lib/component/1d/peaks/Peaks.js +2 -2
  21. package/lib/component/1d/peaks/Peaks.js.map +1 -1
  22. package/lib/component/1d/ranges/Range.d.ts +1 -1
  23. package/lib/component/1d/ranges/Range.js +3 -3
  24. package/lib/component/1d/ranges/Range.js.map +1 -1
  25. package/lib/component/1d/ranges/Ranges.js +2 -2
  26. package/lib/component/1d/ranges/Ranges.js.map +1 -1
  27. package/lib/component/1d/ranges/RangesIntegrals.js +1 -1
  28. package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.d.ts +1 -1
  29. package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.d.ts.map +1 -1
  30. package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.js +4 -4
  31. package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.js.map +1 -1
  32. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
  33. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +4 -4
  34. package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
  35. package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
  36. package/lib/component/1d-2d/components/SpectrumInfoBlock.js +2 -2
  37. package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
  38. package/lib/component/2d/FooterBanner.d.ts +1 -1
  39. package/lib/component/2d/SVGContent2D.d.ts +1 -1
  40. package/lib/component/2d/YAxis.js +3 -3
  41. package/lib/component/2d/YAxis.js.map +1 -1
  42. package/lib/component/2d/ft/FTContainer.d.ts +1 -1
  43. package/lib/component/2d/tools/XYLabelPointer.d.ts +1 -1
  44. package/lib/component/2d/useTracesSpectra.js +1 -1
  45. package/lib/component/2d/zones/SignalsGuideLines.js +5 -5
  46. package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
  47. package/lib/component/2d/zones/Zone.js +1 -1
  48. package/lib/component/2d/zones/Zone.js.map +1 -1
  49. package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -1
  50. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  51. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
  52. package/lib/component/EventsTrackers/KeysListenerTracker.js +6 -0
  53. package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
  54. package/lib/component/context/LoggerContext.d.ts +1 -0
  55. package/lib/component/context/LoggerContext.d.ts.map +1 -1
  56. package/lib/component/context/LoggerContext.js.map +1 -1
  57. package/lib/component/context/PreferencesContext.d.ts +1 -1
  58. package/lib/component/context/PreferencesContext.d.ts.map +1 -1
  59. package/lib/component/elements/ActionsButtonsPopover.d.ts +9 -5
  60. package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
  61. package/lib/component/elements/ActionsButtonsPopover.js +42 -10
  62. package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
  63. package/lib/component/elements/Alert.d.ts.map +1 -1
  64. package/lib/component/elements/Alert.js +3 -2
  65. package/lib/component/elements/Alert.js.map +1 -1
  66. package/lib/component/elements/DraggableDialog.d.ts +1 -1
  67. package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
  68. package/lib/component/elements/StandardDialog.d.ts +3 -0
  69. package/lib/component/elements/StandardDialog.d.ts.map +1 -0
  70. package/lib/component/elements/StandardDialog.js +7 -0
  71. package/lib/component/elements/StandardDialog.js.map +1 -0
  72. package/lib/component/elements/ToolbarPopoverItem.d.ts +7 -2
  73. package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
  74. package/lib/component/elements/ToolbarPopoverItem.js +6 -2
  75. package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
  76. package/lib/component/elements/export/ExportManager.js +1 -1
  77. package/lib/component/elements/export/ExportManager.js.map +1 -1
  78. package/lib/component/elements/export/ExportOptionsModal.js +3 -2
  79. package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
  80. package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
  81. package/lib/component/elements/print/PrintContent.js +3 -2
  82. package/lib/component/elements/print/PrintContent.js.map +1 -1
  83. package/lib/component/header/Header.js +1 -1
  84. package/lib/component/header/Header.js.map +1 -1
  85. package/lib/component/hooks/useActiveNucleusTab.js +1 -1
  86. package/lib/component/hooks/useActiveNucleusTab.js.map +1 -1
  87. package/lib/component/hooks/useActiveSpectrumRangesViewState.js +1 -1
  88. package/lib/component/hooks/useDatumWithSpectraStatistics.js +1 -1
  89. package/lib/component/hooks/useDatumWithSpectraStatistics.js.map +1 -1
  90. package/lib/component/hooks/useExport.js +1 -1
  91. package/lib/component/hooks/useSVGUnitConverter.d.ts.map +1 -1
  92. package/lib/component/hooks/useSVGUnitConverter.js +12 -9
  93. package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
  94. package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
  95. package/lib/component/hooks/useSaveSettings.js +3 -2
  96. package/lib/component/hooks/useSaveSettings.js.map +1 -1
  97. package/lib/component/hooks/useSetActiveSpectrumAction.js +1 -1
  98. package/lib/component/hooks/useSetActiveSpectrumAction.js.map +1 -1
  99. package/lib/component/hooks/useTextMetrics.d.ts +16 -1
  100. package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
  101. package/lib/component/hooks/useTextMetrics.js +43 -15
  102. package/lib/component/hooks/useTextMetrics.js.map +1 -1
  103. package/lib/component/hooks/useToggleSpectraVisibility.js +1 -1
  104. package/lib/component/hooks/use_acs_settings.d.ts +4 -0
  105. package/lib/component/hooks/use_acs_settings.d.ts.map +1 -0
  106. package/lib/component/hooks/use_acs_settings.js +21 -0
  107. package/lib/component/hooks/use_acs_settings.js.map +1 -0
  108. package/lib/component/hooks/use_publication_strings.d.ts +9 -0
  109. package/lib/component/hooks/use_publication_strings.d.ts.map +1 -0
  110. package/lib/component/hooks/use_publication_strings.js +42 -0
  111. package/lib/component/hooks/use_publication_strings.js.map +1 -0
  112. package/lib/component/main/NMRiumViewer.js +1 -1
  113. package/lib/component/main/NMRiumViewer.js.map +1 -1
  114. package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
  115. package/lib/component/main/NMRiumViewerWrapper.js +3 -5
  116. package/lib/component/main/NMRiumViewerWrapper.js.map +1 -1
  117. package/lib/component/modal/AboutPredictionModal.js +2 -2
  118. package/lib/component/modal/AboutPredictionModal.js.map +1 -1
  119. package/lib/component/modal/AboutSpectrumSimulationModal.js +2 -2
  120. package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
  121. package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
  122. package/lib/component/modal/EditPeakShapeModal.js +4 -3
  123. package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
  124. package/lib/component/modal/ExportAsJcampModal.d.ts.map +1 -1
  125. package/lib/component/modal/ExportAsJcampModal.js +3 -2
  126. package/lib/component/modal/ExportAsJcampModal.js.map +1 -1
  127. package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
  128. package/lib/component/modal/ImportPublicationStringModal.js +3 -2
  129. package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
  130. package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
  131. package/lib/component/modal/LoadJCAMPModal.js +3 -2
  132. package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
  133. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  134. package/lib/component/modal/LogsHistoryModal.js +3 -2
  135. package/lib/component/modal/LogsHistoryModal.js.map +1 -1
  136. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts.map +1 -1
  137. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js +4 -3
  138. package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js.map +1 -1
  139. package/lib/component/modal/MoleculeStructureEditorModal.d.ts.map +1 -1
  140. package/lib/component/modal/MoleculeStructureEditorModal.js +4 -3
  141. package/lib/component/modal/MoleculeStructureEditorModal.js.map +1 -1
  142. package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
  143. package/lib/component/modal/MultipletAnalysisModal.js +2 -2
  144. package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
  145. package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -1
  146. package/lib/component/modal/PredictSpectraModal.js +3 -2
  147. package/lib/component/modal/PredictSpectraModal.js.map +1 -1
  148. package/lib/component/modal/PublicationStringModal.d.ts +10 -1
  149. package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
  150. package/lib/component/modal/PublicationStringModal.js +89 -77
  151. package/lib/component/modal/PublicationStringModal.js.map +1 -1
  152. package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
  153. package/lib/component/modal/SaveAsModal.js +3 -2
  154. package/lib/component/modal/SaveAsModal.js.map +1 -1
  155. package/lib/component/modal/aboutUs/AboutUsModal.js +2 -2
  156. package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
  157. package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -1
  158. package/lib/component/modal/changeSum/ChangeSumModal.js +2 -2
  159. package/lib/component/modal/changeSum/ChangeSumModal.js.map +1 -1
  160. package/lib/component/modal/editRange/EditRangeModal.js +1 -1
  161. package/lib/component/modal/editRange/forms/components/NewSignalTab.js +1 -1
  162. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
  163. package/lib/component/modal/metaImportation/MetaImportationModal.js +3 -2
  164. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  165. package/lib/component/modal/setting/{GeneralSettings.d.ts → general_settings.d.ts} +1 -1
  166. package/lib/component/modal/setting/general_settings.d.ts.map +1 -0
  167. package/lib/component/modal/setting/{GeneralSettings.js → general_settings.js} +11 -5
  168. package/lib/component/modal/setting/general_settings.js.map +1 -0
  169. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +1 -1
  170. package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +1 -1
  171. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +1 -1
  172. package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -1
  173. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +1 -1
  174. package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +1 -1
  175. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +1 -1
  176. package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +1 -1
  177. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +1 -1
  178. package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -1
  179. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +1 -1
  180. package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +1 -1
  181. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +1 -1
  182. package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -1
  183. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +1 -1
  184. package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +1 -1
  185. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts +8 -0
  186. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -0
  187. package/lib/component/modal/setting/tanstack_general_settings/general_settings.js +65 -0
  188. package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -0
  189. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +624 -0
  190. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -0
  191. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +42 -0
  192. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -0
  193. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +624 -0
  194. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -0
  195. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js +22 -0
  196. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -0
  197. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +7 -0
  198. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -0
  199. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js +50 -0
  200. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -0
  201. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts +7 -0
  202. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts.map +1 -0
  203. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js +105 -0
  204. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js.map +1 -0
  205. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +622 -0
  206. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -0
  207. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +55 -0
  208. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -0
  209. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +123 -0
  210. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -0
  211. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.js +11 -0
  212. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.js.map +1 -0
  213. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +622 -0
  214. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -0
  215. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js +34 -0
  216. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js.map +1 -0
  217. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +622 -0
  218. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -0
  219. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.js +26 -0
  220. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.js.map +1 -0
  221. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +622 -0
  222. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -0
  223. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js +123 -0
  224. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js.map +1 -0
  225. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +622 -0
  226. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -0
  227. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js +40 -0
  228. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js.map +1 -0
  229. package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.d.ts +10 -0
  230. package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.d.ts.map +1 -0
  231. package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.js +40 -0
  232. package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.js.map +1 -0
  233. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +166 -0
  234. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts.map +1 -0
  235. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js +58 -0
  236. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js.map +1 -0
  237. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +40 -0
  238. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts.map +1 -0
  239. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js +37 -0
  240. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js.map +1 -0
  241. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +37 -0
  242. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts.map +1 -0
  243. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.js +26 -0
  244. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.js.map +1 -0
  245. package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts +9 -0
  246. package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts.map +1 -0
  247. package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js +18 -0
  248. package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js.map +1 -0
  249. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts +167 -0
  250. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts.map +1 -0
  251. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js +69 -0
  252. package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js.map +1 -0
  253. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +342 -0
  254. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -0
  255. package/lib/component/modal/setting/tanstack_general_settings/validation.js +51 -0
  256. package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -0
  257. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.js +2 -2
  258. package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.js.map +1 -1
  259. package/lib/component/panels/MoleculesPanel/MoleculePanel.js +2 -2
  260. package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
  261. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
  262. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +7 -7
  263. package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
  264. package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts +1 -1
  265. package/lib/component/panels/MoleculesPanel/MoleculeStructure.js +4 -4
  266. package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
  267. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +17 -17
  268. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
  269. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js +1 -1
  270. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js.map +1 -1
  271. package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.d.ts +1 -1
  272. package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js +1 -1
  273. package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.d.ts +1 -1
  274. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts +1 -1
  275. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts.map +1 -1
  276. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js +1 -1
  277. package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js.map +1 -1
  278. package/lib/component/panels/MoleculesPanel/utilities/getUniqueDiaIDs.d.ts +1 -1
  279. package/lib/component/panels/Panels.d.ts.map +1 -1
  280. package/lib/component/panels/Panels.js +12 -25
  281. package/lib/component/panels/Panels.js.map +1 -1
  282. package/lib/component/panels/RangesPanel/RangesHeader.d.ts.map +1 -1
  283. package/lib/component/panels/RangesPanel/RangesHeader.js +23 -15
  284. package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
  285. package/lib/component/panels/RangesPanel/RangesTableRow.js +1 -1
  286. package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
  287. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +1 -1
  288. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
  289. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +2 -2
  290. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
  291. package/lib/component/panels/SpectraPanel/SpectraTable.js +1 -1
  292. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts.map +1 -1
  293. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js +3 -2
  294. package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
  295. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
  296. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +3 -2
  297. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
  298. package/lib/component/panels/databasePanel/DatabaseInfo.js +1 -1
  299. package/lib/component/panels/databasePanel/DatabasePanel.js +1 -1
  300. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js +2 -2
  301. package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js.map +1 -1
  302. package/lib/component/panels/databasePanel/DatabaseTable.js +1 -1
  303. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
  304. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
  305. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
  306. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +1 -1
  307. package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
  308. package/lib/component/panels/header/DefaultPanelHeader.js +2 -1
  309. package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
  310. package/lib/component/panels/hooks/useMoleculeAnnotationCore.js +1 -1
  311. package/lib/component/panels/hooks/useMoleculeAnnotationCore.js.map +1 -1
  312. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
  313. package/lib/component/panels/informationPanel/InformationEditionModal.js +3 -2
  314. package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
  315. package/lib/component/panels/informationPanel/InformationPanel.d.ts.map +1 -1
  316. package/lib/component/panels/informationPanel/InformationPanel.js +38 -3
  317. package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
  318. package/lib/component/reducer/actions/AssignmentsActions.js +3 -3
  319. package/lib/component/reducer/actions/CorrelationsActions.js +2 -2
  320. package/lib/component/reducer/actions/DatabaseActions.js +1 -1
  321. package/lib/component/reducer/actions/DomainActions.js +1 -1
  322. package/lib/component/reducer/actions/InsetActions.js +2 -2
  323. package/lib/component/reducer/actions/LoadAction.js +4 -4
  324. package/lib/component/reducer/actions/LoadAction.js.map +1 -1
  325. package/lib/component/reducer/actions/MoleculeActions.js +3 -3
  326. package/lib/component/reducer/actions/PreferencesActions.js +1 -1
  327. package/lib/component/reducer/actions/RangesActions.d.ts +1 -1
  328. package/lib/component/reducer/actions/RangesActions.js +1 -1
  329. package/lib/component/reducer/actions/SpectraActions.js +1 -1
  330. package/lib/component/reducer/actions/ToolsActions.js +2 -2
  331. package/lib/component/reducer/actions/ZonesActions.d.ts +1 -1
  332. package/lib/component/reducer/actions/ZonesActions.js +2 -2
  333. package/lib/component/reducer/helper/get2DRange.d.ts +1 -1
  334. package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.d.ts +1 -1
  335. package/lib/component/reducer/preferences/actions/toggleOpenSplitPanel.js +1 -1
  336. package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -1
  337. package/lib/component/reducer/preferences/preferencesReducer.js +3 -3
  338. package/lib/component/toolbar/ToolBar.d.ts.map +1 -1
  339. package/lib/component/toolbar/ToolBar.js +5 -1
  340. package/lib/component/toolbar/ToolBar.js.map +1 -1
  341. package/lib/component/utility/export.js +1 -1
  342. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
  343. package/lib/component/workspaces/workspaceDefaultProperties.js +3 -0
  344. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
  345. package/lib/data/PredictionManager.js +1 -1
  346. package/lib/data/SpectraManager.d.ts +1 -1
  347. package/lib/data/SpectraManager.d.ts.map +1 -1
  348. package/lib/data/SpectraManager.js +1 -1
  349. package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.js +1 -1
  350. package/lib/data/data1d/Spectrum1D/ranges/detectRanges.js +1 -1
  351. package/lib/data/utilities/FindUtilities.js +2 -2
  352. package/lib/utils/clipboard/clipboardComponents.js +2 -2
  353. package/lib/utils/clipboard/clipboardComponents.js.map +1 -1
  354. package/lib/versionInfo.js +1 -1
  355. package/package.json +29 -29
  356. package/src/component/1d/FloatPublicationString.tsx +275 -176
  357. package/src/component/1d/FloatingRanges.tsx +1 -2
  358. package/src/component/1d/SVGContent1D.tsx +1 -1
  359. package/src/component/1d/inset/DraggableInset.tsx +2 -3
  360. package/src/component/1d/integral/IntegralResizable.tsx +1 -1
  361. package/src/component/1d/matrix/Boxplot.tsx +1 -1
  362. package/src/component/1d/matrix/Stocsy.tsx +1 -1
  363. package/src/component/1d/multiAnalysis/AnalysisRange.tsx +1 -1
  364. package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -2
  365. package/src/component/1d/peaks/PeakAnnotations.tsx +2 -2
  366. package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +2 -2
  367. package/src/component/1d/peaks/Peaks.tsx +2 -2
  368. package/src/component/1d/ranges/Range.tsx +5 -5
  369. package/src/component/1d/ranges/Ranges.tsx +2 -2
  370. package/src/component/1d/ranges/RangesIntegrals.tsx +1 -1
  371. package/src/component/1d/ranges/useAssignmentsPopoverActionsButtons.tsx +5 -5
  372. package/src/component/1d/tool/BaseLineZones.tsx +1 -1
  373. package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +3 -4
  374. package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +1 -2
  375. package/src/component/2d/FooterBanner.tsx +1 -1
  376. package/src/component/2d/SVGContent2D.tsx +1 -1
  377. package/src/component/2d/YAxis.tsx +3 -3
  378. package/src/component/2d/ft/FTContainer.tsx +1 -1
  379. package/src/component/2d/tools/XYLabelPointer.tsx +1 -1
  380. package/src/component/2d/useTracesSpectra.ts +1 -1
  381. package/src/component/2d/zones/SignalsGuideLines.tsx +5 -5
  382. package/src/component/2d/zones/Zone.tsx +1 -1
  383. package/src/component/EventsTrackers/BrushTracker.tsx +1 -1
  384. package/src/component/EventsTrackers/KeysListenerTracker.tsx +6 -0
  385. package/src/component/context/LoggerContext.tsx +9 -0
  386. package/src/component/context/PreferencesContext.tsx +1 -1
  387. package/src/component/elements/ActionsButtonsPopover.tsx +80 -24
  388. package/src/component/elements/Alert.tsx +4 -2
  389. package/src/component/elements/DraggableDialog.tsx +2 -2
  390. package/src/component/elements/StandardDialog.tsx +11 -0
  391. package/src/component/elements/ToolbarPopoverItem.tsx +16 -3
  392. package/src/component/elements/export/ExportManager.tsx +1 -1
  393. package/src/component/elements/export/ExportOptionsModal.tsx +3 -3
  394. package/src/component/elements/print/PrintContent.tsx +4 -9
  395. package/src/component/header/Header.tsx +1 -1
  396. package/src/component/hooks/useActiveNucleusTab.ts +1 -1
  397. package/src/component/hooks/useActiveSpectrumRangesViewState.ts +1 -1
  398. package/src/component/hooks/useDatumWithSpectraStatistics.ts +1 -1
  399. package/src/component/hooks/useExport.tsx +1 -1
  400. package/src/component/hooks/useSVGUnitConverter.ts +13 -9
  401. package/src/component/hooks/useSaveSettings.tsx +4 -3
  402. package/src/component/hooks/useSetActiveSpectrumAction.ts +1 -1
  403. package/src/component/hooks/useTextMetrics.ts +66 -18
  404. package/src/component/hooks/useToggleSpectraVisibility.tsx +1 -1
  405. package/src/component/hooks/use_acs_settings.ts +27 -0
  406. package/src/component/hooks/use_publication_strings.ts +67 -0
  407. package/src/component/main/NMRiumViewer.tsx +1 -1
  408. package/src/component/main/NMRiumViewerWrapper.tsx +3 -5
  409. package/src/component/modal/AboutPredictionModal.tsx +3 -3
  410. package/src/component/modal/AboutSpectrumSimulationModal.tsx +3 -3
  411. package/src/component/modal/EditPeakShapeModal.tsx +5 -4
  412. package/src/component/modal/ExportAsJcampModal.tsx +4 -3
  413. package/src/component/modal/ImportPublicationStringModal.tsx +4 -3
  414. package/src/component/modal/LoadJCAMPModal.tsx +4 -3
  415. package/src/component/modal/LogsHistoryModal.tsx +4 -3
  416. package/src/component/modal/MoleculeAutoLabelsDatabaseModal.tsx +5 -4
  417. package/src/component/modal/MoleculeStructureEditorModal.tsx +9 -4
  418. package/src/component/modal/MultipletAnalysisModal.tsx +3 -3
  419. package/src/component/modal/PredictSpectraModal.tsx +4 -3
  420. package/src/component/modal/PublicationStringModal.tsx +234 -134
  421. package/src/component/modal/SaveAsModal.tsx +4 -9
  422. package/src/component/modal/aboutUs/AboutUsModal.tsx +3 -3
  423. package/src/component/modal/changeSum/ChangeSumModal.tsx +4 -3
  424. package/src/component/modal/editRange/EditRangeModal.tsx +1 -1
  425. package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +1 -1
  426. package/src/component/modal/metaImportation/MetaImportationModal.tsx +4 -3
  427. package/src/component/modal/setting/{GeneralSettings.tsx → general_settings.tsx} +34 -4
  428. package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +1 -1
  429. package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +1 -1
  430. package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +1 -1
  431. package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +1 -1
  432. package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +1 -1
  433. package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +1 -1
  434. package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +1 -1
  435. package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +1 -1
  436. package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +106 -0
  437. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +69 -0
  438. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +39 -0
  439. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +98 -0
  440. package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.tsx +218 -0
  441. package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +231 -0
  442. package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.tsx +24 -0
  443. package/src/component/modal/setting/tanstack_general_settings/tabs/general_tab.tsx +94 -0
  444. package/src/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.tsx +72 -0
  445. package/src/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.tsx +261 -0
  446. package/src/component/modal/setting/tanstack_general_settings/tabs/panels_tab.tsx +150 -0
  447. package/src/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.ts +55 -0
  448. package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +63 -0
  449. package/src/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.ts +42 -0
  450. package/src/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.ts +26 -0
  451. package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts +21 -0
  452. package/src/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.ts +80 -0
  453. package/src/component/modal/setting/tanstack_general_settings/validation.ts +66 -0
  454. package/src/component/panels/MoleculesPanel/MoleculeOptionsPanel.tsx +2 -2
  455. package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +2 -2
  456. package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +14 -8
  457. package/src/component/panels/MoleculesPanel/MoleculeStructure.tsx +5 -5
  458. package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +21 -21
  459. package/src/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.ts +1 -1
  460. package/src/component/panels/MoleculesPanel/utilities/extractFromAtom.ts +1 -1
  461. package/src/component/panels/MoleculesPanel/utilities/getAssignIds.ts +1 -1
  462. package/src/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.ts +1 -1
  463. package/src/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.ts +2 -2
  464. package/src/component/panels/MoleculesPanel/utilities/getUniqueDiaIDs.ts +1 -1
  465. package/src/component/panels/Panels.tsx +4 -40
  466. package/src/component/panels/RangesPanel/RangesHeader.tsx +34 -29
  467. package/src/component/panels/RangesPanel/RangesTableRow.tsx +1 -1
  468. package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +3 -3
  469. package/src/component/panels/SpectraPanel/SpectraTable.tsx +1 -1
  470. package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +4 -3
  471. package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +4 -3
  472. package/src/component/panels/databasePanel/DatabaseInfo.tsx +1 -1
  473. package/src/component/panels/databasePanel/DatabasePanel.tsx +1 -1
  474. package/src/component/panels/databasePanel/DatabaseStructureSearchModal.tsx +3 -3
  475. package/src/component/panels/databasePanel/DatabaseTable.tsx +1 -1
  476. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +1 -1
  477. package/src/component/panels/header/DefaultPanelHeader.tsx +2 -1
  478. package/src/component/panels/hooks/useMoleculeAnnotationCore.ts +1 -1
  479. package/src/component/panels/informationPanel/InformationEditionModal.tsx +4 -3
  480. package/src/component/panels/informationPanel/InformationPanel.tsx +83 -2
  481. package/src/component/reducer/actions/AssignmentsActions.ts +3 -3
  482. package/src/component/reducer/actions/CorrelationsActions.ts +2 -2
  483. package/src/component/reducer/actions/DatabaseActions.ts +1 -1
  484. package/src/component/reducer/actions/DomainActions.ts +1 -1
  485. package/src/component/reducer/actions/InsetActions.ts +2 -2
  486. package/src/component/reducer/actions/LoadAction.ts +4 -4
  487. package/src/component/reducer/actions/MoleculeActions.ts +3 -3
  488. package/src/component/reducer/actions/PreferencesActions.ts +1 -1
  489. package/src/component/reducer/actions/RangesActions.ts +3 -3
  490. package/src/component/reducer/actions/SpectraActions.ts +1 -1
  491. package/src/component/reducer/actions/ToolsActions.ts +2 -2
  492. package/src/component/reducer/actions/ZonesActions.ts +3 -3
  493. package/src/component/reducer/helper/get2DRange.ts +1 -1
  494. package/src/component/reducer/preferences/actions/toggleOpenSplitPanel.ts +2 -2
  495. package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +1 -1
  496. package/src/component/reducer/preferences/preferencesReducer.ts +3 -3
  497. package/src/component/toolbar/ToolBar.tsx +6 -1
  498. package/src/component/utility/export.ts +1 -1
  499. package/src/component/workspaces/workspaceDefaultProperties.ts +5 -1
  500. package/src/data/PredictionManager.ts +1 -1
  501. package/src/data/SpectraManager.ts +2 -2
  502. package/src/data/data1d/Spectrum1D/ranges/autoRangesDetection.ts +1 -1
  503. package/src/data/data1d/Spectrum1D/ranges/detectRanges.ts +1 -1
  504. package/src/data/utilities/FindUtilities.ts +2 -2
  505. package/src/utils/clipboard/clipboardComponents.tsx +3 -3
  506. package/src/versionInfo.ts +1 -1
  507. package/lib/component/modal/setting/GeneralSettings.d.ts.map +0 -1
  508. package/lib/component/modal/setting/GeneralSettings.js.map +0 -1
@@ -1,8 +1,8 @@
1
- import { Dialog } from '@blueprintjs/core';
2
1
  import { useState } from 'react';
3
2
  import type { CanvasEditorOnChangeMolecule } from 'react-ocl';
4
3
  import { CanvasMoleculeEditor } from 'react-ocl';
5
4
 
5
+ import { StandardDialog } from '../../elements/StandardDialog.tsx';
6
6
  import { StyledDialogBody } from '../../elements/StyledDialogBody.js';
7
7
 
8
8
  interface DatabaseStructureSearchModalProps {
@@ -18,7 +18,7 @@ export function DatabaseStructureSearchModal({
18
18
  }: DatabaseStructureSearchModalProps) {
19
19
  const [idCode] = useState(initialIdCode);
20
20
  return (
21
- <Dialog
21
+ <StandardDialog
22
22
  isOpen
23
23
  onClose={() => {
24
24
  onClose?.();
@@ -38,6 +38,6 @@ export function DatabaseStructureSearchModal({
38
38
  height={450}
39
39
  />
40
40
  </StyledDialogBody>
41
- </Dialog>
41
+ </StandardDialog>
42
42
  );
43
43
  }
@@ -19,7 +19,7 @@ import { usePanelPreferences } from '../../hooks/usePanelPreferences.js';
19
19
  import useSpectraByActiveNucleus from '../../hooks/useSpectraPerNucleus.js';
20
20
  import { formatNumber } from '../../utility/formatNumber.js';
21
21
 
22
- import { DatabaseInfo } from './DatabaseInfo.tsx';
22
+ import { DatabaseInfo } from './DatabaseInfo.js';
23
23
 
24
24
  interface ToggleEvent {
25
25
  onAdd: (row: any) => void;
@@ -16,7 +16,7 @@ import type { AlertButton } from '../../../elements/Alert.js';
16
16
  import { useAlert } from '../../../elements/Alert.js';
17
17
  import { EmptyText } from '../../../elements/EmptyText.js';
18
18
  import { Sections } from '../../../elements/Sections.js';
19
- import { useActiveSpectrum } from '../../../hooks/useActiveSpectrum.ts';
19
+ import { useActiveSpectrum } from '../../../hooks/useActiveSpectrum.js';
20
20
  import useSpectraByActiveNucleus from '../../../hooks/useSpectraPerNucleus.js';
21
21
  import useSpectrum from '../../../hooks/useSpectrum.js';
22
22
  import { getDefaultFilterOptions } from '../../../utility/getDefaultFilterOptions.js';
@@ -9,6 +9,7 @@ const styles: Record<'leftContainer', CSSProperties> = {
9
9
  display: 'flex',
10
10
  flexDirection: 'row',
11
11
  flex: 1,
12
+ width: '100%',
12
13
  },
13
14
  };
14
15
 
@@ -74,7 +75,7 @@ function DefaultPanelHeader(props: DefaultPanelHeaderProps) {
74
75
  total={hideCounter ? undefined : total}
75
76
  >
76
77
  <div style={styles.leftContainer}>
77
- <Toolbar>
78
+ <Toolbar overflow="collapse">
78
79
  {onDelete && (
79
80
  <Toolbar.Item
80
81
  id="delete-button"
@@ -1,6 +1,6 @@
1
1
  import type { MoleculeView } from '@zakodium/nmrium-core';
2
2
 
3
- import { useDispatch } from '../../context/DispatchContext.tsx';
3
+ import { useDispatch } from '../../context/DispatchContext.js';
4
4
 
5
5
  type Annotation = MoleculeView['atomAnnotation'];
6
6
 
@@ -1,4 +1,4 @@
1
- import { Classes, Dialog, DialogFooter } from '@blueprintjs/core';
1
+ import { Classes, DialogFooter } from '@blueprintjs/core';
2
2
  import styled from '@emotion/styled';
3
3
  import { yupResolver } from '@hookform/resolvers/yup';
4
4
  import { useCallback, useMemo } from 'react';
@@ -12,6 +12,7 @@ import { useDispatch } from '../../context/DispatchContext.js';
12
12
  import { Input2Controller } from '../../elements/Input2Controller.js';
13
13
  import type { Column } from '../../elements/ReactTable/ReactTable.js';
14
14
  import ReactTable from '../../elements/ReactTable/ReactTable.js';
15
+ import { StandardDialog } from '../../elements/StandardDialog.tsx';
15
16
  import { StyledDialogBody } from '../../elements/StyledDialogBody.js';
16
17
  import useSpectrum from '../../hooks/useSpectrum.js';
17
18
  import { checkUniqueByKey } from '../../utility/checkUniqueByKey.js';
@@ -69,7 +70,7 @@ export function InformationEditionModal(props: InformationEditionModalProps) {
69
70
  }));
70
71
 
71
72
  return (
72
- <Dialog
73
+ <StandardDialog
73
74
  isOpen
74
75
  title="Edit spectrum meta information"
75
76
  onClose={onCloseDialog}
@@ -79,7 +80,7 @@ export function InformationEditionModal(props: InformationEditionModalProps) {
79
80
  metaInfo={metaInfo}
80
81
  onCloseDialog={onCloseDialog}
81
82
  />
82
- </Dialog>
83
+ </StandardDialog>
83
84
  );
84
85
  }
85
86
 
@@ -1,13 +1,48 @@
1
+ import type { TooltipProps } from '@blueprintjs/core';
1
2
  import { useMemo } from 'react';
3
+ import { FaRegEdit } from 'react-icons/fa';
4
+ import { TbTableShortcut } from 'react-icons/tb';
2
5
  import type { InfoPanelData } from 'react-science/ui';
3
- import { InfoPanel } from 'react-science/ui';
6
+ import { InfoPanel, Toolbar } from 'react-science/ui';
4
7
 
8
+ import { usePreferences } from '../../context/PreferencesContext.js';
9
+ import { useActiveSpectrum } from '../../hooks/useActiveSpectrum.js';
10
+ import { useDialogToggle } from '../../hooks/useDialogToggle.js';
5
11
  import useSpectrum from '../../hooks/useSpectrum.js';
12
+ import { booleanToString } from '../../utility/booleanToString.js';
13
+
14
+ import { InformationEditionModal } from './InformationEditionModal.js';
6
15
 
7
16
  const emptyData = { info: {}, meta: {} };
8
17
 
18
+ function getToggleInformationBlock(
19
+ isVisible: boolean,
20
+ isSpectrumSelected: boolean,
21
+ ) {
22
+ if (!isSpectrumSelected) {
23
+ return 'Select a spectrum to display the information block';
24
+ }
25
+
26
+ return `${booleanToString(!isVisible, { trueLabel: 'Display' })} information block}`;
27
+ }
28
+
29
+ function getEditTooltip(isSpectrumSelected: boolean) {
30
+ if (!isSpectrumSelected) {
31
+ return 'Select a spectrum to edit its meta information';
32
+ }
33
+ return 'Edit spectrum meta information';
34
+ }
35
+
9
36
  export function InformationPanel() {
10
37
  const { info, meta, customInfo } = useSpectrum(emptyData);
38
+ const activeSpectrum = useActiveSpectrum();
39
+ const {
40
+ dispatch,
41
+ current: { infoBlock },
42
+ } = usePreferences();
43
+ const { dialog, openDialog, closeDialog } = useDialogToggle({
44
+ informationModal: false,
45
+ });
11
46
  const data: InfoPanelData[] = useMemo(
12
47
  () => [
13
48
  { description: 'Custom information', data: customInfo || {} },
@@ -17,5 +52,51 @@ export function InformationPanel() {
17
52
  [customInfo, info, meta],
18
53
  );
19
54
 
20
- return <InfoPanel data={data} title="" />;
55
+ const toolTipProps: Omit<TooltipProps, 'content'> = {
56
+ intent: !activeSpectrum ? 'danger' : 'none',
57
+ };
58
+
59
+ function handleToggleInformationBlock() {
60
+ dispatch({
61
+ type: 'TOGGLE_INFORMATION_BLOCK',
62
+ payload: {},
63
+ });
64
+ }
65
+
66
+ return (
67
+ <>
68
+ <InformationEditionModal
69
+ isOpen={dialog.informationModal}
70
+ onCloseDialog={closeDialog}
71
+ />
72
+ <InfoPanel
73
+ leftElement={
74
+ <Toolbar>
75
+ <Toolbar.Item
76
+ disabled={!activeSpectrum}
77
+ tooltipProps={toolTipProps}
78
+ icon={<TbTableShortcut />}
79
+ onClick={handleToggleInformationBlock}
80
+ active={infoBlock.visible}
81
+ tooltip={getToggleInformationBlock(
82
+ infoBlock.visible,
83
+ !!activeSpectrum,
84
+ )}
85
+ />
86
+ <Toolbar.Item
87
+ disabled={!activeSpectrum}
88
+ tooltipProps={toolTipProps}
89
+ icon={<FaRegEdit />}
90
+ onClick={() => {
91
+ openDialog('informationModal');
92
+ }}
93
+ tooltip={getEditTooltip(!!activeSpectrum)}
94
+ />
95
+ </Toolbar>
96
+ }
97
+ data={data}
98
+ title=""
99
+ />
100
+ </>
101
+ );
21
102
  }
@@ -2,10 +2,10 @@ import type { Range, Zone } from '@zakodium/nmr-types';
2
2
  import type { Draft } from 'immer';
3
3
  import type { SpectraData1D, SpectraData2D } from 'nmr-processing';
4
4
 
5
- import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.ts';
6
- import { isSpectrum2D } from '../../../data/data2d/Spectrum2D/index.ts';
5
+ import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.js';
6
+ import { isSpectrum2D } from '../../../data/data2d/Spectrum2D/index.js';
7
7
  import type { State } from '../Reducer.js';
8
- import { getSpectrum } from '../helper/getSpectrum.ts';
8
+ import { getSpectrum } from '../helper/getSpectrum.js';
9
9
  import type { ActionType } from '../types/ActionType.js';
10
10
 
11
11
  type SetAutomaticAssignmentsAction = ActionType<
@@ -10,8 +10,8 @@ import type {
10
10
  } from 'nmr-correlation';
11
11
  import { buildCorrelationData, setCorrelation } from 'nmr-correlation';
12
12
 
13
- import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.ts';
14
- import { isSpectrum2D } from '../../../data/data2d/Spectrum2D/index.ts';
13
+ import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.js';
14
+ import { isSpectrum2D } from '../../../data/data2d/Spectrum2D/index.js';
15
15
  import {
16
16
  findRange,
17
17
  findSignal1D,
@@ -12,7 +12,7 @@ import {
12
12
  resurrectSpectrumFromRanges,
13
13
  resurrectSpectrumFromSignals,
14
14
  } from '../../../data/data1d/Spectrum1D/ranges/resurrectSpectrum.js';
15
- import { filterDatabaseInfoEntry } from '../../utility/filterDatabaseInfoEntry.ts';
15
+ import { filterDatabaseInfoEntry } from '../../utility/filterDatabaseInfoEntry.js';
16
16
  import type { State } from '../Reducer.js';
17
17
  import { setZoom } from '../helper/Zoom1DManager.js';
18
18
  import zoomHistoryManager from '../helper/ZoomHistoryManager.js';
@@ -26,7 +26,7 @@ import type { State } from '../Reducer.js';
26
26
  import { rescaleToSameTop } from '../helper/Zoom1DManager.js';
27
27
  import { addToBrushHistory } from '../helper/ZoomHistoryManager.js';
28
28
  import { getActiveSpectra } from '../helper/getActiveSpectra.js';
29
- import { getSpectrum } from '../helper/getSpectrum.ts';
29
+ import { getSpectrum } from '../helper/getSpectrum.js';
30
30
  import type { ActionType } from '../types/ActionType.js';
31
31
 
32
32
  type NumberExtent = [number, number];
@@ -7,7 +7,7 @@ import { scaleLinear } from 'd3-scale';
7
7
  import { zoomIdentity } from 'd3-zoom';
8
8
  import type { Draft } from 'immer';
9
9
 
10
- import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.ts';
10
+ import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.js';
11
11
  import { insetMargin } from '../../1d/inset/InsetProvider.js';
12
12
  import type {
13
13
  Inset,
@@ -29,7 +29,7 @@ import type { ZoomType } from '../helper/Zoom1DManager.js';
29
29
  import { toScaleRatio, wheelZoom } from '../helper/Zoom1DManager.js';
30
30
  import { preparePop } from '../helper/ZoomHistoryManager.js';
31
31
  import getRange from '../helper/getRange.js';
32
- import { getSpectrum } from '../helper/getSpectrum.ts';
32
+ import { getSpectrum } from '../helper/getSpectrum.js';
33
33
  import type { ActionType } from '../types/ActionType.js';
34
34
 
35
35
  import type { MoveOptions } from './DomainActions.js';
@@ -25,7 +25,7 @@ import type { State } from '../Reducer.js';
25
25
  import { getDefaultViewState, getInitialState } from '../Reducer.js';
26
26
  import type { ActionType } from '../types/ActionType.js';
27
27
 
28
- import { initMoleculeViewProperties } from './MoleculeActions.ts';
28
+ import { initMoleculeViewProperties } from './MoleculeActions.js';
29
29
  import { changeSpectrumVerticalAlignment } from './PreferencesActions.js';
30
30
  import { setSpectraMetaInfo } from './SpectraActions.js';
31
31
  import { setActiveTab } from './ToolsActions.js';
@@ -131,9 +131,9 @@ function setData(draft: Draft<State>, input: InputProps | InitiateProps) {
131
131
  const defaultViewState = getDefaultViewState();
132
132
  // TODO: Refactor to find the spectrum index in each call rather than saving it in state.
133
133
  // For now, we will clear the activeSpectra and selectReferences
134
- view.spectra.activeSpectra = {};
135
- view.spectra.selectReferences = {};
136
- draft.view = lodashMerge(defaultViewState, view);
134
+ draft.view = lodashMerge(defaultViewState, view, {
135
+ spectra: { activeSpectra: {}, selectReferences: {} },
136
+ });
137
137
  }
138
138
 
139
139
  if (sources && sources.length > 0) {
@@ -13,14 +13,14 @@ import type {
13
13
  } from '../../../data/PredictionManager.js';
14
14
  import { generateSpectra } from '../../../data/PredictionManager.js';
15
15
  import { changeSpectraRelativeSum } from '../../../data/data1d/Spectrum1D/SumManager.js';
16
- import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/isSpectrum1D.ts';
16
+ import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/isSpectrum1D.js';
17
17
  import type { MoleculeBoundingRect } from '../../../data/molecules/Molecule.js';
18
18
  import { DRAGGABLE_STRUCTURE_INITIAL_BOUNDING_REACT } from '../../../data/molecules/Molecule.js';
19
19
  import * as MoleculeManager from '../../../data/molecules/MoleculeManager.js';
20
20
  import { generateColor } from '../../../data/utilities/generateColor.js';
21
21
  import { convertPixelToPercent } from '../../hooks/useSVGUnitConverter.js';
22
- import { extractFromAtom } from '../../panels/MoleculesPanel/utilities/extractFromAtom.ts';
23
- import nucleusToString from '../../utility/nucleusToString.ts';
22
+ import { extractFromAtom } from '../../panels/MoleculesPanel/utilities/extractFromAtom.js';
23
+ import nucleusToString from '../../utility/nucleusToString.js';
24
24
  import type { State } from '../Reducer.js';
25
25
  import { MARGIN } from '../core/Constants.js';
26
26
  import type { ActionType } from '../types/ActionType.js';
@@ -1,7 +1,7 @@
1
1
  import type { Spectrum1D } from '@zakodium/nmrium-core';
2
2
  import type { Draft } from 'immer';
3
3
 
4
- import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.ts';
4
+ import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.js';
5
5
  import groupByInfoKey from '../../utility/groupByInfoKey.js';
6
6
  import nucleusToString from '../../utility/nucleusToString.js';
7
7
  import type { State, VerticalAlignment } from '../Reducer.js';
@@ -25,10 +25,10 @@ import {
25
25
  updateRangesRelativeValues,
26
26
  } from '../../../data/data1d/Spectrum1D/index.js';
27
27
  import type { ChangeRangeRelativeValueProps } from '../../../data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js';
28
- import type { DetectRangesOptions } from '../../../data/data1d/Spectrum1D/ranges/detectRanges.ts';
28
+ import type { DetectRangesOptions } from '../../../data/data1d/Spectrum1D/ranges/detectRanges.js';
29
29
  import { unlink } from '../../../data/utilities/RangeUtilities.js';
30
- import { isProton } from '../../../data/utilities/isProton.ts';
31
- import type { TargetAssignKeys } from '../../panels/MoleculesPanel/utilities/getAssignIds.ts';
30
+ import { isProton } from '../../../data/utilities/isProton.js';
31
+ import type { TargetAssignKeys } from '../../panels/MoleculesPanel/utilities/getAssignIds.js';
32
32
  import type { RangeData } from '../../panels/RangesPanel/hooks/useMapRanges.js';
33
33
  import type { FilterType } from '../../utility/filterType.js';
34
34
  import type { State } from '../Reducer.js';
@@ -40,7 +40,7 @@ import type { State } from '../Reducer.js';
40
40
  import { setZoom } from '../helper/Zoom1DManager.js';
41
41
  import { getActiveSpectra } from '../helper/getActiveSpectra.js';
42
42
  import { getActiveSpectraAsObject } from '../helper/getActiveSpectraAsObject.js';
43
- import { getSpectrum } from '../helper/getSpectrum.ts';
43
+ import { getSpectrum } from '../helper/getSpectrum.js';
44
44
  import { removeSpectrumRelatedObjectsById } from '../helper/removeSpectrumRelatedObjectsById.js';
45
45
  import type { ActionType } from '../types/ActionType.js';
46
46
 
@@ -3,7 +3,7 @@ import type { Spectrum1D, Spectrum2D, Spectrum } from '@zakodium/nmrium-core';
3
3
  import { zoomIdentity } from 'd3-zoom';
4
4
  import type { Draft } from 'immer';
5
5
 
6
- import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.ts';
6
+ import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.js';
7
7
  import { contoursManager } from '../../../data/data2d/Spectrum2D/contours.js';
8
8
  import { getXScale } from '../../1d/utilities/scale.js';
9
9
  import type { Layout } from '../../2d/utilities/DimensionLayout.js';
@@ -25,7 +25,7 @@ import zoomHistoryManager, {
25
25
  addToBrushHistory,
26
26
  } from '../helper/ZoomHistoryManager.js';
27
27
  import { getActiveSpectra } from '../helper/getActiveSpectra.js';
28
- import { getSpectrum } from '../helper/getSpectrum.ts';
28
+ import { getSpectrum } from '../helper/getSpectrum.js';
29
29
  import { getTwoDimensionPhaseCorrectionOptions } from '../helper/getTwoDimensionPhaseCorrectionOptions.js';
30
30
  import { getVerticalAlign } from '../helper/getVerticalAlign.js';
31
31
  import { setIntegralsViewProperty } from '../helper/setIntegralsViewProperty.js';
@@ -15,19 +15,19 @@ import {
15
15
  import { unlink } from '../../../data/utilities/ZoneUtilities.js';
16
16
  import type { Axis } from '../../assignment/AssignmentsContext.js';
17
17
  import { defaultZonesViewState } from '../../hooks/useActiveSpectrumZonesViewState.js';
18
- import type { TargetAssignKeys } from '../../panels/MoleculesPanel/utilities/getAssignIds.ts';
18
+ import type { TargetAssignKeys } from '../../panels/MoleculesPanel/utilities/getAssignIds.js';
19
19
  import type { ZoneData } from '../../panels/ZonesPanel/hooks/useMapZones.js';
20
20
  import type { FilterType } from '../../utility/filterType.js';
21
21
  import type { State } from '../Reducer.js';
22
22
  import type { ZoneBoundary } from '../helper/get2DRange.js';
23
23
  import get2DRange from '../helper/get2DRange.js';
24
24
  import { getActiveSpectrum } from '../helper/getActiveSpectrum.js';
25
- import { getSpectrum } from '../helper/getSpectrum.ts';
25
+ import { getSpectrum } from '../helper/getSpectrum.js';
26
26
  import type { ActionType } from '../types/ActionType.js';
27
27
 
28
28
  import { handleUpdateCorrelations } from './CorrelationsActions.js';
29
29
  import { setDomain } from './DomainActions.js';
30
- import { rollbackSpectrumByFilter } from './FiltersActions.ts';
30
+ import { rollbackSpectrumByFilter } from './FiltersActions.js';
31
31
 
32
32
  interface DeleteSignal2DProps {
33
33
  spectrumId: string;
@@ -1,7 +1,7 @@
1
1
  import type { Draft } from 'immer';
2
2
 
3
3
  import { get2DXScale, get2DYScale } from '../../2d/utilities/scale.js';
4
- import type { State } from '../Reducer.ts';
4
+ import type { State } from '../Reducer.js';
5
5
 
6
6
  export interface ZoneBoundary {
7
7
  startX: number;
@@ -3,8 +3,8 @@ import type { Draft } from 'immer';
3
3
  import type {
4
4
  PreferencesState,
5
5
  ToggleSplitPanelAction,
6
- } from '../preferencesReducer.ts';
7
- import { getActiveWorkspace } from '../utilities/getActiveWorkspace.ts';
6
+ } from '../preferencesReducer.js';
7
+ import { getActiveWorkspace } from '../utilities/getActiveWorkspace.js';
8
8
 
9
9
  export function toggleOpenSplitPanel(
10
10
  draft: Draft<PreferencesState>,
@@ -9,7 +9,7 @@ import type {
9
9
  Zones2DNucleusPreferences,
10
10
  } from '@zakodium/nmrium-core';
11
11
 
12
- import { isProton } from '../../../data/utilities/isProton.ts';
12
+ import { isProton } from '../../../data/utilities/isProton.js';
13
13
  import { is2DNucleus } from '../../utility/nucleusToString.js';
14
14
 
15
15
  function getPreferences<T>(data: T, nucleus?: string) {
@@ -32,8 +32,8 @@ import {
32
32
  setSpectraAnalysisPanelsPreferences,
33
33
  } from './actions/analyzeSpectra.js';
34
34
  import { applyGeneralPreferences } from './actions/applyGeneralPreferences.js';
35
- import { changeDefaultMoleculeSettings } from './actions/changeDefaultMoleculeSettings.ts';
36
- import { changeExportAcsSettings } from './actions/changeExportAcsSettings.ts';
35
+ import { changeDefaultMoleculeSettings } from './actions/changeDefaultMoleculeSettings.js';
36
+ import { changeExportAcsSettings } from './actions/changeExportAcsSettings.js';
37
37
  import { changeExportSettings } from './actions/changeExportSettings.js';
38
38
  import { changeInformationBlockPosition } from './actions/changeInformationBlockPosition.js';
39
39
  import { changePeaksLabelPosition } from './actions/changePeaksLabelPosition.js';
@@ -55,7 +55,7 @@ import { setPreferences } from './actions/setPreferences.js';
55
55
  import { setVerticalSplitterPosition } from './actions/setVerticalSplitterPosition.js';
56
56
  import { setWorkspace } from './actions/setWorkspace.js';
57
57
  import { toggleInformationBlock } from './actions/toggleInformationBlock.js';
58
- import { toggleOpenSplitPanel } from './actions/toggleOpenSplitPanel.ts';
58
+ import { toggleOpenSplitPanel } from './actions/toggleOpenSplitPanel.js';
59
59
  import { togglePanel } from './actions/togglePanel.js';
60
60
  import { mapWorkspaces } from './utilities/mapWorkspaces.js';
61
61
 
@@ -484,7 +484,12 @@ export default function ToolBar() {
484
484
  },
485
485
  {
486
486
  id: 'inset',
487
- tooltip: options.inset.label,
487
+ tooltip: {
488
+ title: options.inset.label,
489
+ shortcuts: ['n'],
490
+ description:
491
+ 'Drag a rectangle over the spectrum region to create an inset.',
492
+ },
488
493
  icon: <PiSelectionPlusDuotone />,
489
494
  },
490
495
  ];
@@ -7,7 +7,7 @@ import type {
7
7
  import { BlobWriter, TextReader, ZipWriter } from '@zip.js/zip.js';
8
8
  import dlv from 'dlv';
9
9
 
10
- import { saveAs } from './save_as.ts';
10
+ import { saveAs } from './save_as.js';
11
11
 
12
12
  export const browserNotSupportedErrorToast: ToastProps = {
13
13
  message:
@@ -1,8 +1,10 @@
1
- import type { WorkspacePreferences } from '@zakodium/nmrium-core';
1
+ import type { TextStyle, WorkspacePreferences } from '@zakodium/nmrium-core';
2
2
  import { Filters1D } from 'nmr-processing';
3
3
 
4
4
  import { color2D } from '../../data/data2d/Spectrum2D/get2DColor.js';
5
5
 
6
+ const defaultTextStyle: TextStyle = {};
7
+
6
8
  export const workspaceDefaultProperties: Required<WorkspacePreferences> = {
7
9
  display: {
8
10
  general: {
@@ -267,6 +269,7 @@ export const workspaceDefaultProperties: Required<WorkspacePreferences> = {
267
269
  format: 'D',
268
270
  couplingFormat: '0.0',
269
271
  deltaFormat: '0.0',
272
+ textStyle: { ...defaultTextStyle },
270
273
  },
271
274
  '1H': {
272
275
  signalKind: 'signal',
@@ -274,6 +277,7 @@ export const workspaceDefaultProperties: Required<WorkspacePreferences> = {
274
277
  format: 'IMJA',
275
278
  couplingFormat: '0.00',
276
279
  deltaFormat: '0.00',
280
+ textStyle: { ...defaultTextStyle },
277
281
  },
278
282
  },
279
283
  defaultMoleculeSettings: {
@@ -28,7 +28,7 @@ import {
28
28
  } from './data1d/Spectrum1D/index.js';
29
29
  import { initiateDatum2D } from './data2d/Spectrum2D/index.js';
30
30
  import { adjustAlpha } from './utilities/generateColor.js';
31
- import { isProton } from './utilities/isProton.ts';
31
+ import { isProton } from './utilities/isProton.js';
32
32
 
33
33
  export type Experiment = 'proton' | 'carbon' | 'cosy' | 'hsqc' | 'hmbc';
34
34
  type SpectraPredictionOptions = Record<Experiment, boolean>;
@@ -17,7 +17,7 @@ import * as OCL from 'openchemlib';
17
17
  import { assert } from 'react-science/ui';
18
18
 
19
19
  import type { State } from '../component/reducer/Reducer.js';
20
- import { saveAs } from '../component/utility/save_as.ts';
20
+ import { saveAs } from '../component/utility/save_as.js';
21
21
 
22
22
  import { initiateDatum1D, isSpectrum1D } from './data1d/Spectrum1D/index.js';
23
23
  import { initiateDatum2D } from './data2d/Spectrum2D/index.js';
@@ -69,7 +69,7 @@ export type DataExportOptions =
69
69
 
70
70
  type ExportTarget = 'nmrium' | 'onChange';
71
71
 
72
- export interface ExportOptions {
72
+ interface ExportOptions {
73
73
  dataType?: DataExportOptions;
74
74
  view?: boolean;
75
75
  settings?: boolean;
@@ -3,7 +3,7 @@ import type { Spectrum1D } from '@zakodium/nmrium-core';
3
3
  import type { OptionsXYAutoRangesPicking } from 'nmr-processing';
4
4
  import { xyAutoRangesPicking } from 'nmr-processing';
5
5
 
6
- import { isProton } from '../../../utilities/isProton.ts';
6
+ import { isProton } from '../../../utilities/isProton.js';
7
7
 
8
8
  const defaultPeakPickingOptions: Omit<
9
9
  OptionsXYAutoRangesPicking['peakPicking'],
@@ -1,7 +1,7 @@
1
1
  import type { Spectrum1D } from '@zakodium/nmrium-core';
2
2
  import { mapRanges, updateRangesRelativeValues } from 'nmr-processing';
3
3
 
4
- import { isProton } from '../../../utilities/isProton.ts';
4
+ import { isProton } from '../../../utilities/isProton.js';
5
5
  import type { SumParams } from '../SumManager.js';
6
6
  import { initSumOptions } from '../SumManager.js';
7
7
 
@@ -1,8 +1,8 @@
1
1
  import type { Range, Signal1D, Signal2D, Zone } from '@zakodium/nmr-types';
2
2
  import type { Spectrum1D, Spectrum2D, Spectrum } from '@zakodium/nmrium-core';
3
3
 
4
- import { isSpectrum1D } from '../data1d/Spectrum1D/index.ts';
5
- import { isSpectrum2D } from '../data2d/Spectrum2D/index.ts';
4
+ import { isSpectrum1D } from '../data1d/Spectrum1D/index.js';
5
+ import { isSpectrum2D } from '../data2d/Spectrum2D/index.js';
6
6
 
7
7
  function findSpectrum(
8
8
  spectraData: Spectrum[],
@@ -1,9 +1,9 @@
1
- import { Dialog } from '@blueprintjs/core';
2
1
  import styled from '@emotion/styled';
3
2
  import type { FormEvent } from 'react';
4
3
  import { useCallback, useEffect, useMemo, useRef } from 'react';
5
4
 
6
5
  import Button from '../../component/elements/Button.js';
6
+ import { StandardDialog } from '../../component/elements/StandardDialog.tsx';
7
7
  import { StyledDialogBody } from '../../component/elements/StyledDialogBody.js';
8
8
 
9
9
  import type { ClipboardMode } from './types.js';
@@ -126,11 +126,11 @@ export function ClipboardFallbackModal(props: ClipboardFallbackProps) {
126
126
  };
127
127
 
128
128
  return (
129
- <Dialog isOpen onClose={props.onDismiss} title={titles[props.mode]}>
129
+ <StandardDialog isOpen onClose={props.onDismiss} title={titles[props.mode]}>
130
130
  <StyledDialogBody padding="0px">
131
131
  <ClipboardFallback {...props} />
132
132
  </StyledDialogBody>
133
- </Dialog>
133
+ </StandardDialog>
134
134
  );
135
135
  }
136
136
 
@@ -1 +1 @@
1
- export default { version: 'v1.11.0' };
1
+ export default { version: 'v1.12.0' };
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeneralSettings.d.ts","sourceRoot":"","sources":["../../../../src/component/modal/setting/GeneralSettings.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,UA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