nmrium 2.3.0 → 2.5.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 (372) hide show
  1. package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -1
  2. package/lib/component/1d/HorizontalAxis1D.js +4 -1
  3. package/lib/component/1d/HorizontalAxis1D.js.map +1 -1
  4. package/lib/component/1d/SVGContent1D.d.ts.map +1 -1
  5. package/lib/component/1d/SVGContent1D.js +2 -1
  6. package/lib/component/1d/SVGContent1D.js.map +1 -1
  7. package/lib/component/1d/Viewer1D.d.ts.map +1 -1
  8. package/lib/component/1d/Viewer1D.js +2 -1
  9. package/lib/component/1d/Viewer1D.js.map +1 -1
  10. package/lib/component/1d/integral/IntegralResizable.d.ts.map +1 -1
  11. package/lib/component/1d/integral/IntegralResizable.js +4 -4
  12. package/lib/component/1d/integral/IntegralResizable.js.map +1 -1
  13. package/lib/component/1d/peaks/PeakEditionManager.d.ts +1 -1
  14. package/lib/component/1d/ranges/Range.d.ts.map +1 -1
  15. package/lib/component/1d/ranges/Range.js +3 -3
  16. package/lib/component/1d/ranges/Range.js.map +1 -1
  17. package/lib/component/1d/ranges/Signals.d.ts +2 -0
  18. package/lib/component/1d/ranges/Signals.d.ts.map +1 -0
  19. package/lib/component/1d/ranges/Signals.js +16 -0
  20. package/lib/component/1d/ranges/Signals.js.map +1 -0
  21. package/lib/component/1d-2d/components/RangeIndicator.d.ts +13 -0
  22. package/lib/component/1d-2d/components/RangeIndicator.d.ts.map +1 -0
  23. package/lib/component/1d-2d/components/RangeIndicator.js +52 -0
  24. package/lib/component/1d-2d/components/RangeIndicator.js.map +1 -0
  25. package/lib/component/1d-2d/components/Signals1D.d.ts +19 -0
  26. package/lib/component/1d-2d/components/Signals1D.d.ts.map +1 -0
  27. package/lib/component/1d-2d/components/Signals1D.js +155 -0
  28. package/lib/component/1d-2d/components/Signals1D.js.map +1 -0
  29. package/lib/component/1d-2d/tools/BrushXY.js +6 -6
  30. package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
  31. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +16 -1
  32. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
  33. package/lib/component/1d-2d/tools/CrossLinePointer.js +25 -15
  34. package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
  35. package/lib/component/1d-2d/tools/CursorToolIcon.d.ts +9 -0
  36. package/lib/component/1d-2d/tools/CursorToolIcon.d.ts.map +1 -0
  37. package/lib/component/1d-2d/tools/CursorToolIcon.js +58 -0
  38. package/lib/component/1d-2d/tools/CursorToolIcon.js.map +1 -0
  39. package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
  40. package/lib/component/2d/1d-tracer/Left1DChart.js +7 -2
  41. package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
  42. package/lib/component/2d/1d-tracer/Ranges1D.d.ts +9 -0
  43. package/lib/component/2d/1d-tracer/Ranges1D.d.ts.map +1 -0
  44. package/lib/component/2d/1d-tracer/Ranges1D.js +20 -0
  45. package/lib/component/2d/1d-tracer/Ranges1D.js.map +1 -0
  46. package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
  47. package/lib/component/2d/1d-tracer/Top1DChart.js +7 -2
  48. package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
  49. package/lib/component/2d/DirectAxis2D.d.ts.map +1 -1
  50. package/lib/component/2d/DirectAxis2D.js +4 -1
  51. package/lib/component/2d/DirectAxis2D.js.map +1 -1
  52. package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -1
  53. package/lib/component/2d/IndirectAxis2D.js +5 -2
  54. package/lib/component/2d/IndirectAxis2D.js.map +1 -1
  55. package/lib/component/2d/Viewer2D.d.ts.map +1 -1
  56. package/lib/component/2d/Viewer2D.js +2 -1
  57. package/lib/component/2d/Viewer2D.js.map +1 -1
  58. package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
  59. package/lib/component/2d/ft/FTContainer.js.map +1 -1
  60. package/lib/component/AnchorSVG.d.ts +36 -0
  61. package/lib/component/AnchorSVG.d.ts.map +1 -0
  62. package/lib/component/AnchorSVG.js +140 -0
  63. package/lib/component/AnchorSVG.js.map +1 -0
  64. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  65. package/lib/component/EventsTrackers/BrushTracker.js +16 -2
  66. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
  67. package/lib/component/EventsTrackers/MouseTracker.d.ts +3 -0
  68. package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
  69. package/lib/component/EventsTrackers/MouseTracker.js +15 -0
  70. package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
  71. package/lib/component/context/KeyModifierContext.d.ts +2 -0
  72. package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
  73. package/lib/component/context/KeyModifierContext.js +26 -6
  74. package/lib/component/context/KeyModifierContext.js.map +1 -1
  75. package/lib/component/elements/D3Axis.d.ts.map +1 -1
  76. package/lib/component/elements/D3Axis.js +4 -3
  77. package/lib/component/elements/D3Axis.js.map +1 -1
  78. package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
  79. package/lib/component/elements/DraggableDialog.js +1 -2
  80. package/lib/component/elements/DraggableDialog.js.map +1 -1
  81. package/lib/component/elements/Sections.d.ts +3 -3
  82. package/lib/component/elements/Sections.d.ts.map +1 -1
  83. package/lib/component/elements/Sections.js +1 -1
  84. package/lib/component/elements/Sections.js.map +1 -1
  85. package/lib/component/elements/export/ExportOptionsModal.js +2 -5
  86. package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
  87. package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
  88. package/lib/component/header/AutoPeakPickingOptionPanel.js +59 -31
  89. package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
  90. package/lib/component/header/Header.d.ts.map +1 -1
  91. package/lib/component/header/Header.js +2 -4
  92. package/lib/component/header/Header.js.map +1 -1
  93. package/lib/component/header/RangesPickingOptionPanel.d.ts.map +1 -1
  94. package/lib/component/header/RangesPickingOptionPanel.js +34 -19
  95. package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
  96. package/lib/component/hooks/useAddMultipletSignal.d.ts +7 -0
  97. package/lib/component/hooks/useAddMultipletSignal.d.ts.map +1 -0
  98. package/lib/component/hooks/useAddMultipletSignal.js +28 -0
  99. package/lib/component/hooks/useAddMultipletSignal.js.map +1 -0
  100. package/lib/component/hooks/useFilter.d.ts.map +1 -1
  101. package/lib/component/hooks/useFilter.js.map +1 -1
  102. package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
  103. package/lib/component/hooks/useSaveSettings.js +3 -6
  104. package/lib/component/hooks/useSaveSettings.js.map +1 -1
  105. package/lib/component/hooks/useSpectrum.d.ts +3 -1
  106. package/lib/component/hooks/useSpectrum.d.ts.map +1 -1
  107. package/lib/component/hooks/useSpectrum.js +1 -1
  108. package/lib/component/hooks/useSpectrum.js.map +1 -1
  109. package/lib/component/hooks/useSpectrumWithDataSource.d.ts +1 -1
  110. package/lib/component/hooks/useSpectrumWithDataSource.d.ts.map +1 -1
  111. package/lib/component/hooks/useSpectrumWithDataSource.js.map +1 -1
  112. package/lib/component/hooks/useTempSpectrum.d.ts +1 -1
  113. package/lib/component/hooks/useTempSpectrum.d.ts.map +1 -1
  114. package/lib/component/hooks/use_ticks_config.d.ts +1 -4
  115. package/lib/component/hooks/use_ticks_config.d.ts.map +1 -1
  116. package/lib/component/hooks/use_ticks_config.js +1 -6
  117. package/lib/component/hooks/use_ticks_config.js.map +1 -1
  118. package/lib/component/modal/PublicationStringModal.d.ts +1 -1
  119. package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
  120. package/lib/component/modal/PublicationStringModal.js +4 -8
  121. package/lib/component/modal/PublicationStringModal.js.map +1 -1
  122. package/lib/component/modal/SaveAsModal.js +3 -6
  123. package/lib/component/modal/SaveAsModal.js.map +1 -1
  124. package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
  125. package/lib/component/modal/aboutUs/AboutUsModal.js +2 -4
  126. package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
  127. package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
  128. package/lib/component/modal/editRange/forms/components/NewSignalTab.js +38 -36
  129. package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
  130. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +142 -24
  131. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -1
  132. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +142 -24
  133. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
  134. package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -1
  135. package/lib/component/modal/setting/tanstack_general_settings/general_settings.js +9 -12
  136. package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -1
  137. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +142 -24
  138. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
  139. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +120 -24
  140. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
  141. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +120 -24
  142. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
  143. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +20 -4
  144. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
  145. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +120 -24
  146. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
  147. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +120 -24
  148. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -1
  149. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js +12 -1
  150. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js.map +1 -1
  151. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +120 -24
  152. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
  153. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +120 -24
  154. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
  155. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +120 -24
  156. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
  157. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +120 -24
  158. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
  159. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +120 -24
  160. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
  161. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +120 -24
  162. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
  163. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +120 -24
  164. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
  165. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +120 -24
  166. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
  167. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +120 -24
  168. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts.map +1 -1
  169. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +120 -24
  170. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
  171. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +120 -24
  172. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
  173. package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts +22 -0
  174. package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts.map +1 -1
  175. package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js +15 -2
  176. package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js.map +1 -1
  177. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +22 -0
  178. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
  179. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +1 -1
  180. package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
  181. package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts.map +1 -1
  182. package/lib/component/panels/PeaksPanel/PeaksPanel.js +1 -9
  183. package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
  184. package/lib/component/panels/PeaksPanel/PeaksPreferences.js +1 -1
  185. package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
  186. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
  187. package/lib/component/panels/PeaksPanel/PeaksTable.js +9 -9
  188. package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
  189. package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
  190. package/lib/component/panels/RangesPanel/RangesPanel.js +1 -3
  191. package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
  192. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
  193. package/lib/component/panels/RangesPanel/RangesTableRow.js +10 -12
  194. package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
  195. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
  196. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
  197. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js +1 -1
  198. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
  199. package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
  200. package/lib/component/panels/SummaryPanel/SummaryPanel.js +7 -0
  201. package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
  202. package/lib/component/panels/filtersPanel/FilterPanel.d.ts.map +1 -1
  203. package/lib/component/panels/filtersPanel/FilterPanel.js +5 -2
  204. package/lib/component/panels/filtersPanel/FilterPanel.js.map +1 -1
  205. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +1 -1
  206. package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
  207. package/lib/component/panels/filtersPanel/processings_sections_panel.d.ts +2 -0
  208. package/lib/component/panels/filtersPanel/processings_sections_panel.d.ts.map +1 -0
  209. package/lib/component/panels/filtersPanel/processings_sections_panel.js +134 -0
  210. package/lib/component/panels/filtersPanel/processings_sections_panel.js.map +1 -0
  211. package/lib/component/panels/hooks/use_processings_mutation.d.ts +10 -0
  212. package/lib/component/panels/hooks/use_processings_mutation.d.ts.map +1 -0
  213. package/lib/component/panels/hooks/use_processings_mutation.js +130 -0
  214. package/lib/component/panels/hooks/use_processings_mutation.js.map +1 -0
  215. package/lib/component/panels/informationPanel/InformationPanel.js +1 -1
  216. package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
  217. package/lib/component/reducer/Reducer.d.ts.map +1 -1
  218. package/lib/component/reducer/Reducer.js +4 -0
  219. package/lib/component/reducer/Reducer.js.map +1 -1
  220. package/lib/component/reducer/actions/CorrelationsActions.js +2 -2
  221. package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
  222. package/lib/component/reducer/actions/FiltersActions.d.ts +2 -0
  223. package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
  224. package/lib/component/reducer/actions/FiltersActions.js +1 -1
  225. package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
  226. package/lib/component/reducer/actions/MoleculeActions.d.ts +9 -0
  227. package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
  228. package/lib/component/reducer/actions/RangesActions.d.ts +11 -2
  229. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  230. package/lib/component/reducer/actions/RangesActions.js +36 -29
  231. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  232. package/lib/component/reducer/actions/SpectraActions.d.ts +8 -2
  233. package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
  234. package/lib/component/reducer/actions/SpectraActions.js +6 -1
  235. package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
  236. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  237. package/lib/component/reducer/actions/ToolsActions.js +5 -17
  238. package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
  239. package/lib/component/reducer/helper/getTraceSpectrumID.d.ts +5 -0
  240. package/lib/component/reducer/helper/getTraceSpectrumID.d.ts.map +1 -0
  241. package/lib/component/reducer/helper/getTraceSpectrumID.js +14 -0
  242. package/lib/component/reducer/helper/getTraceSpectrumID.js.map +1 -0
  243. package/lib/component/reducer/preferences/actions/setPreferences.d.ts +2 -2
  244. package/lib/component/reducer/preferences/actions/setPreferences.d.ts.map +1 -1
  245. package/lib/component/reducer/preferences/actions/setPreferences.js +8 -5
  246. package/lib/component/reducer/preferences/actions/setPreferences.js.map +1 -1
  247. package/lib/component/reducer/preferences/preferencesReducer.d.ts +1 -1
  248. package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
  249. package/lib/component/toolbar/ToolTypes.d.ts +21 -1
  250. package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
  251. package/lib/component/toolbar/ToolTypes.js +40 -0
  252. package/lib/component/toolbar/ToolTypes.js.map +1 -1
  253. package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -1
  254. package/lib/component/toolbar/nmr_toolbar.js +12 -36
  255. package/lib/component/toolbar/nmr_toolbar.js.map +1 -1
  256. package/lib/component/utility/CoreSlot.d.ts +27 -0
  257. package/lib/component/utility/CoreSlot.d.ts.map +1 -0
  258. package/lib/component/utility/CoreSlot.js +56 -0
  259. package/lib/component/utility/CoreSlot.js.map +1 -0
  260. package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
  261. package/lib/component/workspaces/workspaceDefaultProperties.js +19 -2
  262. package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
  263. package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
  264. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +13 -5
  265. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
  266. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
  267. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +1 -0
  268. package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
  269. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -1
  270. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js +35 -30
  271. package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
  272. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -1
  273. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js +1 -0
  274. package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
  275. package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
  276. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +12 -4
  277. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
  278. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +1 -1
  279. package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
  280. package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +1 -1
  281. package/lib/data/utilities/RangeUtilities.d.ts +1 -6
  282. package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
  283. package/lib/data/utilities/RangeUtilities.js +10 -27
  284. package/lib/data/utilities/RangeUtilities.js.map +1 -1
  285. package/lib/versionInfo.js +1 -1
  286. package/package.json +29 -27
  287. package/src/component/1d/HorizontalAxis1D.tsx +12 -2
  288. package/src/component/1d/SVGContent1D.tsx +2 -0
  289. package/src/component/1d/Viewer1D.tsx +2 -0
  290. package/src/component/1d/integral/IntegralResizable.tsx +6 -6
  291. package/src/component/1d/ranges/Range.tsx +6 -6
  292. package/src/component/1d/ranges/Signals.tsx +28 -0
  293. package/src/component/1d-2d/components/RangeIndicator.tsx +106 -0
  294. package/src/component/1d-2d/components/Signals1D.tsx +306 -0
  295. package/src/component/1d-2d/tools/BrushXY.tsx +8 -8
  296. package/src/component/1d-2d/tools/CrossLinePointer.tsx +75 -32
  297. package/src/component/1d-2d/tools/CursorToolIcon.tsx +110 -0
  298. package/src/component/2d/1d-tracer/Left1DChart.tsx +26 -1
  299. package/src/component/2d/1d-tracer/Ranges1D.tsx +38 -0
  300. package/src/component/2d/1d-tracer/Top1DChart.tsx +31 -2
  301. package/src/component/2d/DirectAxis2D.tsx +12 -3
  302. package/src/component/2d/IndirectAxis2D.tsx +9 -5
  303. package/src/component/2d/Viewer2D.tsx +5 -2
  304. package/src/component/2d/ft/FTContainer.tsx +1 -0
  305. package/src/component/AnchorSVG.tsx +369 -0
  306. package/src/component/EventsTrackers/BrushTracker.tsx +25 -5
  307. package/src/component/EventsTrackers/MouseTracker.tsx +21 -0
  308. package/src/component/context/KeyModifierContext.tsx +32 -8
  309. package/src/component/elements/D3Axis.tsx +31 -9
  310. package/src/component/elements/DraggableDialog.tsx +1 -2
  311. package/src/component/elements/Sections.tsx +4 -4
  312. package/src/component/elements/export/ExportOptionsModal.tsx +22 -31
  313. package/src/component/header/AutoPeakPickingOptionPanel.tsx +173 -102
  314. package/src/component/header/Header.tsx +2 -4
  315. package/src/component/header/RangesPickingOptionPanel.tsx +72 -59
  316. package/src/component/hooks/useAddMultipletSignal.tsx +32 -0
  317. package/src/component/hooks/useFilter.ts +2 -1
  318. package/src/component/hooks/useSaveSettings.tsx +4 -15
  319. package/src/component/hooks/useSpectrum.ts +7 -1
  320. package/src/component/hooks/useSpectrumWithDataSource.ts +16 -8
  321. package/src/component/hooks/use_ticks_config.ts +1 -7
  322. package/src/component/modal/PublicationStringModal.tsx +8 -14
  323. package/src/component/modal/SaveAsModal.tsx +41 -50
  324. package/src/component/modal/aboutUs/AboutUsModal.tsx +5 -4
  325. package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +57 -57
  326. package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +23 -29
  327. package/src/component/modal/setting/tanstack_general_settings/tabs/axis_tab.tsx +76 -12
  328. package/src/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.ts +16 -2
  329. package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +1 -1
  330. package/src/component/panels/PeaksPanel/PeaksPanel.tsx +1 -8
  331. package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +1 -1
  332. package/src/component/panels/PeaksPanel/PeaksTable.tsx +11 -9
  333. package/src/component/panels/RangesPanel/RangesPanel.tsx +1 -3
  334. package/src/component/panels/RangesPanel/RangesTableRow.tsx +10 -12
  335. package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.tsx +2 -2
  336. package/src/component/panels/SummaryPanel/SummaryPanel.tsx +13 -11
  337. package/src/component/panels/filtersPanel/FilterPanel.tsx +10 -0
  338. package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +1 -0
  339. package/src/component/panels/filtersPanel/processings_sections_panel.tsx +307 -0
  340. package/src/component/panels/hooks/use_processings_mutation.ts +171 -0
  341. package/src/component/panels/informationPanel/InformationPanel.tsx +1 -1
  342. package/src/component/reducer/Reducer.ts +4 -0
  343. package/src/component/reducer/actions/CorrelationsActions.ts +2 -2
  344. package/src/component/reducer/actions/FiltersActions.ts +1 -1
  345. package/src/component/reducer/actions/RangesActions.ts +53 -30
  346. package/src/component/reducer/actions/SpectraActions.ts +20 -1
  347. package/src/component/reducer/actions/ToolsActions.ts +5 -21
  348. package/src/component/reducer/helper/getTraceSpectrumID.tsx +25 -0
  349. package/src/component/reducer/preferences/actions/setPreferences.ts +18 -10
  350. package/src/component/reducer/preferences/preferencesReducer.ts +1 -1
  351. package/src/component/toolbar/ToolTypes.ts +92 -1
  352. package/src/component/toolbar/nmr_toolbar.tsx +15 -71
  353. package/src/component/utility/CoreSlot.tsx +126 -0
  354. package/src/component/workspaces/workspaceDefaultProperties.ts +19 -2
  355. package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +14 -8
  356. package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +1 -0
  357. package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +35 -30
  358. package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +1 -0
  359. package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +12 -4
  360. package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +1 -1
  361. package/src/data/utilities/RangeUtilities.ts +12 -36
  362. package/src/versionInfo.ts +1 -1
  363. package/lib/component/1d/integral/IntegralIndicator.d.ts +0 -9
  364. package/lib/component/1d/integral/IntegralIndicator.d.ts.map +0 -1
  365. package/lib/component/1d/integral/IntegralIndicator.js +0 -22
  366. package/lib/component/1d/integral/IntegralIndicator.js.map +0 -1
  367. package/lib/component/utility/renderCoreSlot.d.ts +0 -11
  368. package/lib/component/utility/renderCoreSlot.d.ts.map +0 -1
  369. package/lib/component/utility/renderCoreSlot.js +0 -13
  370. package/lib/component/utility/renderCoreSlot.js.map +0 -1
  371. package/src/component/1d/integral/IntegralIndicator.tsx +0 -43
  372. package/src/component/utility/renderCoreSlot.tsx +0 -21
@@ -220,6 +220,12 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
220
220
  } | undefined;
221
221
  };
222
222
  axis?: {
223
+ labelStyle: {
224
+ fill?: string | undefined;
225
+ fontSize?: string | undefined;
226
+ fontStyle?: "normal" | "italic" | undefined;
227
+ fontWeight?: "bold" | "normal" | undefined;
228
+ };
223
229
  primaryTicks: {
224
230
  textStyle: {
225
231
  fill?: string | undefined;
@@ -227,9 +233,19 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
227
233
  fontStyle?: "normal" | "italic" | undefined;
228
234
  fontWeight?: "bold" | "normal" | undefined;
229
235
  };
236
+ tickStyle: {
237
+ stroke?: string | undefined;
238
+ strokeWidth?: string | undefined;
239
+ strokeOpacity?: string | undefined;
240
+ };
230
241
  };
231
242
  secondaryTicks: {
232
243
  enabled: boolean;
244
+ tickStyle: {
245
+ stroke?: string | undefined;
246
+ strokeWidth?: string | undefined;
247
+ strokeOpacity?: string | undefined;
248
+ };
233
249
  };
234
250
  gridlines1D: {
235
251
  primary: {
@@ -238,7 +254,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
238
254
  stroke?: string | undefined;
239
255
  strokeOpacity?: string | undefined;
240
256
  strokeWidth?: string | undefined;
241
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
257
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
242
258
  };
243
259
  };
244
260
  secondary: {
@@ -247,7 +263,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
247
263
  stroke?: string | undefined;
248
264
  strokeOpacity?: string | undefined;
249
265
  strokeWidth?: string | undefined;
250
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
266
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
251
267
  };
252
268
  };
253
269
  };
@@ -258,7 +274,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
258
274
  stroke?: string | undefined;
259
275
  strokeOpacity?: string | undefined;
260
276
  strokeWidth?: string | undefined;
261
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
277
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
262
278
  };
263
279
  };
264
280
  secondary: {
@@ -267,7 +283,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
267
283
  stroke?: string | undefined;
268
284
  strokeOpacity?: string | undefined;
269
285
  strokeWidth?: string | undefined;
270
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
286
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
271
287
  };
272
288
  };
273
289
  };
@@ -493,6 +509,12 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
493
509
  } | undefined;
494
510
  };
495
511
  axis?: {
512
+ labelStyle: {
513
+ fill?: string | undefined;
514
+ fontSize?: string | undefined;
515
+ fontStyle?: "normal" | "italic" | undefined;
516
+ fontWeight?: "bold" | "normal" | undefined;
517
+ };
496
518
  primaryTicks: {
497
519
  textStyle: {
498
520
  fill?: string | undefined;
@@ -500,9 +522,19 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
500
522
  fontStyle?: "normal" | "italic" | undefined;
501
523
  fontWeight?: "bold" | "normal" | undefined;
502
524
  };
525
+ tickStyle: {
526
+ stroke?: string | undefined;
527
+ strokeWidth?: string | undefined;
528
+ strokeOpacity?: string | undefined;
529
+ };
503
530
  };
504
531
  secondaryTicks: {
505
532
  enabled: boolean;
533
+ tickStyle: {
534
+ stroke?: string | undefined;
535
+ strokeWidth?: string | undefined;
536
+ strokeOpacity?: string | undefined;
537
+ };
506
538
  };
507
539
  gridlines1D: {
508
540
  primary: {
@@ -511,7 +543,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
511
543
  stroke?: string | undefined;
512
544
  strokeOpacity?: string | undefined;
513
545
  strokeWidth?: string | undefined;
514
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
546
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
515
547
  };
516
548
  };
517
549
  secondary: {
@@ -520,7 +552,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
520
552
  stroke?: string | undefined;
521
553
  strokeOpacity?: string | undefined;
522
554
  strokeWidth?: string | undefined;
523
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
555
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
524
556
  };
525
557
  };
526
558
  };
@@ -531,7 +563,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
531
563
  stroke?: string | undefined;
532
564
  strokeOpacity?: string | undefined;
533
565
  strokeWidth?: string | undefined;
534
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
566
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
535
567
  };
536
568
  };
537
569
  secondary: {
@@ -540,7 +572,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
540
572
  stroke?: string | undefined;
541
573
  strokeOpacity?: string | undefined;
542
574
  strokeWidth?: string | undefined;
543
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
575
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
544
576
  };
545
577
  };
546
578
  };
@@ -766,6 +798,12 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
766
798
  } | undefined;
767
799
  };
768
800
  axis?: {
801
+ labelStyle: {
802
+ fill?: string | undefined;
803
+ fontSize?: string | undefined;
804
+ fontStyle?: "normal" | "italic" | undefined;
805
+ fontWeight?: "bold" | "normal" | undefined;
806
+ };
769
807
  primaryTicks: {
770
808
  textStyle: {
771
809
  fill?: string | undefined;
@@ -773,9 +811,19 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
773
811
  fontStyle?: "normal" | "italic" | undefined;
774
812
  fontWeight?: "bold" | "normal" | undefined;
775
813
  };
814
+ tickStyle: {
815
+ stroke?: string | undefined;
816
+ strokeWidth?: string | undefined;
817
+ strokeOpacity?: string | undefined;
818
+ };
776
819
  };
777
820
  secondaryTicks: {
778
821
  enabled: boolean;
822
+ tickStyle: {
823
+ stroke?: string | undefined;
824
+ strokeWidth?: string | undefined;
825
+ strokeOpacity?: string | undefined;
826
+ };
779
827
  };
780
828
  gridlines1D: {
781
829
  primary: {
@@ -784,7 +832,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
784
832
  stroke?: string | undefined;
785
833
  strokeOpacity?: string | undefined;
786
834
  strokeWidth?: string | undefined;
787
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
835
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
788
836
  };
789
837
  };
790
838
  secondary: {
@@ -793,7 +841,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
793
841
  stroke?: string | undefined;
794
842
  strokeOpacity?: string | undefined;
795
843
  strokeWidth?: string | undefined;
796
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
844
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
797
845
  };
798
846
  };
799
847
  };
@@ -804,7 +852,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
804
852
  stroke?: string | undefined;
805
853
  strokeOpacity?: string | undefined;
806
854
  strokeWidth?: string | undefined;
807
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
855
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
808
856
  };
809
857
  };
810
858
  secondary: {
@@ -813,7 +861,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
813
861
  stroke?: string | undefined;
814
862
  strokeOpacity?: string | undefined;
815
863
  strokeWidth?: string | undefined;
816
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
864
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
817
865
  };
818
866
  };
819
867
  };
@@ -1039,6 +1087,12 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1039
1087
  } | undefined;
1040
1088
  };
1041
1089
  axis?: {
1090
+ labelStyle: {
1091
+ fill?: string | undefined;
1092
+ fontSize?: string | undefined;
1093
+ fontStyle?: "normal" | "italic" | undefined;
1094
+ fontWeight?: "bold" | "normal" | undefined;
1095
+ };
1042
1096
  primaryTicks: {
1043
1097
  textStyle: {
1044
1098
  fill?: string | undefined;
@@ -1046,9 +1100,19 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1046
1100
  fontStyle?: "normal" | "italic" | undefined;
1047
1101
  fontWeight?: "bold" | "normal" | undefined;
1048
1102
  };
1103
+ tickStyle: {
1104
+ stroke?: string | undefined;
1105
+ strokeWidth?: string | undefined;
1106
+ strokeOpacity?: string | undefined;
1107
+ };
1049
1108
  };
1050
1109
  secondaryTicks: {
1051
1110
  enabled: boolean;
1111
+ tickStyle: {
1112
+ stroke?: string | undefined;
1113
+ strokeWidth?: string | undefined;
1114
+ strokeOpacity?: string | undefined;
1115
+ };
1052
1116
  };
1053
1117
  gridlines1D: {
1054
1118
  primary: {
@@ -1057,7 +1121,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1057
1121
  stroke?: string | undefined;
1058
1122
  strokeOpacity?: string | undefined;
1059
1123
  strokeWidth?: string | undefined;
1060
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
1124
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
1061
1125
  };
1062
1126
  };
1063
1127
  secondary: {
@@ -1066,7 +1130,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1066
1130
  stroke?: string | undefined;
1067
1131
  strokeOpacity?: string | undefined;
1068
1132
  strokeWidth?: string | undefined;
1069
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
1133
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
1070
1134
  };
1071
1135
  };
1072
1136
  };
@@ -1077,7 +1141,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1077
1141
  stroke?: string | undefined;
1078
1142
  strokeOpacity?: string | undefined;
1079
1143
  strokeWidth?: string | undefined;
1080
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
1144
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
1081
1145
  };
1082
1146
  };
1083
1147
  secondary: {
@@ -1086,7 +1150,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1086
1150
  stroke?: string | undefined;
1087
1151
  strokeOpacity?: string | undefined;
1088
1152
  strokeWidth?: string | undefined;
1089
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
1153
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
1090
1154
  };
1091
1155
  };
1092
1156
  };
@@ -1635,6 +1699,18 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1635
1699
  marginTop: import("zod").ZodCoercedNumber<unknown>;
1636
1700
  }, import("zod/v4/core").$strip>;
1637
1701
  axis: import("zod").ZodOptional<import("zod").ZodObject<{
1702
+ labelStyle: import("zod").ZodObject<{
1703
+ fill: import("zod").ZodOptional<import("zod").ZodString>;
1704
+ fontSize: import("zod").ZodCodec<import("zod").ZodOptional<import("zod").ZodString>, import("zod").ZodOptional<import("zod").ZodInt>>;
1705
+ fontStyle: import("zod").ZodOptional<import("zod").ZodEnum<{
1706
+ italic: "italic";
1707
+ normal: "normal";
1708
+ }>>;
1709
+ fontWeight: import("zod").ZodOptional<import("zod").ZodEnum<{
1710
+ bold: "bold";
1711
+ normal: "normal";
1712
+ }>>;
1713
+ }, import("zod/v4/core").$strip>;
1638
1714
  primaryTicks: import("zod").ZodObject<{
1639
1715
  textStyle: import("zod").ZodObject<{
1640
1716
  fill: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1648,9 +1724,19 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1648
1724
  normal: "normal";
1649
1725
  }>>;
1650
1726
  }, import("zod/v4/core").$strip>;
1727
+ tickStyle: import("zod").ZodObject<{
1728
+ stroke: import("zod").ZodOptional<import("zod").ZodString>;
1729
+ strokeWidth: import("zod").ZodCodec<import("zod").ZodOptional<import("zod").ZodString>, import("zod").ZodOptional<import("zod").ZodNumber>>;
1730
+ strokeOpacity: import("zod").ZodCodec<import("zod").ZodOptional<import("zod").ZodString>, import("zod").ZodOptional<import("zod").ZodNumber>>;
1731
+ }, import("zod/v4/core").$strip>;
1651
1732
  }, import("zod/v4/core").$strip>;
1652
1733
  secondaryTicks: import("zod").ZodObject<{
1653
1734
  enabled: import("zod").ZodBoolean;
1735
+ tickStyle: import("zod").ZodObject<{
1736
+ stroke: import("zod").ZodOptional<import("zod").ZodString>;
1737
+ strokeWidth: import("zod").ZodCodec<import("zod").ZodOptional<import("zod").ZodString>, import("zod").ZodOptional<import("zod").ZodNumber>>;
1738
+ strokeOpacity: import("zod").ZodCodec<import("zod").ZodOptional<import("zod").ZodString>, import("zod").ZodOptional<import("zod").ZodNumber>>;
1739
+ }, import("zod/v4/core").$strip>;
1654
1740
  }, import("zod/v4/core").$strip>;
1655
1741
  gridlines1D: import("zod").ZodObject<{
1656
1742
  primary: import("zod").ZodObject<{
@@ -1960,6 +2046,12 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1960
2046
  } | undefined;
1961
2047
  };
1962
2048
  axis?: {
2049
+ labelStyle: {
2050
+ fill?: string | undefined;
2051
+ fontSize?: string | undefined;
2052
+ fontStyle?: "normal" | "italic" | undefined;
2053
+ fontWeight?: "bold" | "normal" | undefined;
2054
+ };
1963
2055
  primaryTicks: {
1964
2056
  textStyle: {
1965
2057
  fill?: string | undefined;
@@ -1967,9 +2059,19 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1967
2059
  fontStyle?: "normal" | "italic" | undefined;
1968
2060
  fontWeight?: "bold" | "normal" | undefined;
1969
2061
  };
2062
+ tickStyle: {
2063
+ stroke?: string | undefined;
2064
+ strokeWidth?: string | undefined;
2065
+ strokeOpacity?: string | undefined;
2066
+ };
1970
2067
  };
1971
2068
  secondaryTicks: {
1972
2069
  enabled: boolean;
2070
+ tickStyle: {
2071
+ stroke?: string | undefined;
2072
+ strokeWidth?: string | undefined;
2073
+ strokeOpacity?: string | undefined;
2074
+ };
1973
2075
  };
1974
2076
  gridlines1D: {
1975
2077
  primary: {
@@ -1978,7 +2080,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1978
2080
  stroke?: string | undefined;
1979
2081
  strokeOpacity?: string | undefined;
1980
2082
  strokeWidth?: string | undefined;
1981
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
2083
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
1982
2084
  };
1983
2085
  };
1984
2086
  secondary: {
@@ -1987,7 +2089,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1987
2089
  stroke?: string | undefined;
1988
2090
  strokeOpacity?: string | undefined;
1989
2091
  strokeWidth?: string | undefined;
1990
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
2092
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
1991
2093
  };
1992
2094
  };
1993
2095
  };
@@ -1998,7 +2100,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
1998
2100
  stroke?: string | undefined;
1999
2101
  strokeOpacity?: string | undefined;
2000
2102
  strokeWidth?: string | undefined;
2001
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
2103
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
2002
2104
  };
2003
2105
  };
2004
2106
  secondary: {
@@ -2007,7 +2109,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
2007
2109
  stroke?: string | undefined;
2008
2110
  strokeOpacity?: string | undefined;
2009
2111
  strokeWidth?: string | undefined;
2010
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
2112
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
2011
2113
  };
2012
2114
  };
2013
2115
  };
@@ -2233,6 +2335,12 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
2233
2335
  } | undefined;
2234
2336
  };
2235
2337
  axis?: {
2338
+ labelStyle: {
2339
+ fill?: string | undefined;
2340
+ fontSize?: string | undefined;
2341
+ fontStyle?: "normal" | "italic" | undefined;
2342
+ fontWeight?: "bold" | "normal" | undefined;
2343
+ };
2236
2344
  primaryTicks: {
2237
2345
  textStyle: {
2238
2346
  fill?: string | undefined;
@@ -2240,9 +2348,19 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
2240
2348
  fontStyle?: "normal" | "italic" | undefined;
2241
2349
  fontWeight?: "bold" | "normal" | undefined;
2242
2350
  };
2351
+ tickStyle: {
2352
+ stroke?: string | undefined;
2353
+ strokeWidth?: string | undefined;
2354
+ strokeOpacity?: string | undefined;
2355
+ };
2243
2356
  };
2244
2357
  secondaryTicks: {
2245
2358
  enabled: boolean;
2359
+ tickStyle: {
2360
+ stroke?: string | undefined;
2361
+ strokeWidth?: string | undefined;
2362
+ strokeOpacity?: string | undefined;
2363
+ };
2246
2364
  };
2247
2365
  gridlines1D: {
2248
2366
  primary: {
@@ -2251,7 +2369,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
2251
2369
  stroke?: string | undefined;
2252
2370
  strokeOpacity?: string | undefined;
2253
2371
  strokeWidth?: string | undefined;
2254
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
2372
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
2255
2373
  };
2256
2374
  };
2257
2375
  secondary: {
@@ -2260,7 +2378,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
2260
2378
  stroke?: string | undefined;
2261
2379
  strokeOpacity?: string | undefined;
2262
2380
  strokeWidth?: string | undefined;
2263
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
2381
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
2264
2382
  };
2265
2383
  };
2266
2384
  };
@@ -2271,7 +2389,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
2271
2389
  stroke?: string | undefined;
2272
2390
  strokeOpacity?: string | undefined;
2273
2391
  strokeWidth?: string | undefined;
2274
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
2392
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
2275
2393
  };
2276
2394
  };
2277
2395
  secondary: {
@@ -2280,7 +2398,7 @@ export declare const GeneralSettingsErrorRenderer: import("react").FunctionCompo
2280
2398
  stroke?: string | undefined;
2281
2399
  strokeOpacity?: string | undefined;
2282
2400
  strokeWidth?: string | undefined;
2283
- strokeDasharray?: "dashed" | "dotted" | "solid" | "dashed-dot" | undefined;
2401
+ strokeDasharray?: "solid" | "dashed" | "dotted" | "dashed-dot" | undefined;
2284
2402
  };
2285
2403
  };
2286
2404
  };
@@ -1 +1 @@
1
- {"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/errors/renderer.t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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCvC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"general_settings.d.ts","sourceRoot":"","sources":["../../../../../src/component/modal/setting/tanstack_general_settings/general_settings.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAkBvD,UAAU,0BAA0B;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAiBD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,+BAUtE"}
1
+ {"version":3,"file":"general_settings.d.ts","sourceRoot":"","sources":["../../../../../src/component/modal/setting/tanstack_general_settings/general_settings.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAmBvD,UAAU,0BAA0B;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAiBD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,+BAUtE"}
@@ -3,8 +3,9 @@ import { Dialog as BPDialog } from '@blueprintjs/core';
3
3
  import styled from '@emotion/styled';
4
4
  import { revalidateLogic } from '@tanstack/react-form';
5
5
  import { ErrorBoundary } from 'react-error-boundary';
6
- import { Form, assert, useForm } from 'react-science/ui';
6
+ import { AppForm, useForm } from 'react-science/ui';
7
7
  import { match } from 'ts-pattern';
8
+ import { z } from 'zod';
8
9
  import { usePreferences } from '../../../context/PreferencesContext.js';
9
10
  import ErrorOverlay from "../../../main/ErrorOverlay.js";
10
11
  import { GeneralSettingsErrorsOpenProvider } from "./errors/context.js";
@@ -31,6 +32,8 @@ export function GeneralSettingsDialog(props) {
31
32
  const { isOpen, close } = props;
32
33
  return (_jsx(Dialog, { isOpen: isOpen, onClose: close, title: "General settings", icon: "cog", children: _jsx(ErrorBoundary, { FallbackComponent: ErrorOverlay, children: _jsx(GeneralSettings, { ...props }) }) }));
33
34
  }
35
+ const metaSchema = z.enum(['apply', 'save']);
36
+ const onSubmitMeta = 'apply';
34
37
  function GeneralSettings(props) {
35
38
  const { close, height, onSave } = props;
36
39
  const { current: currentWorkspace, dispatch } = usePreferences();
@@ -41,10 +44,11 @@ function GeneralSettings(props) {
41
44
  },
42
45
  validationLogic: revalidateLogic({ mode: 'change' }),
43
46
  defaultValues,
44
- // We don't want onSubmitMeta to be inferred as sting.
45
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
46
- onSubmitMeta: 'apply',
47
+ onSubmitMeta,
47
48
  onSubmit: ({ value, meta }) => {
49
+ meta = metaSchema.parse(meta, {
50
+ error: () => 'Submit event must be attached to a submitter with "data-action" attribute with "apply" or "save" value',
51
+ });
48
52
  const mergedValues = formValueToWorkspace(value, currentWorkspace);
49
53
  match(meta)
50
54
  .with('apply', () => {
@@ -60,14 +64,7 @@ function GeneralSettings(props) {
60
64
  close();
61
65
  },
62
66
  });
63
- return (_jsx(form.AppForm, { children: _jsxs(Form, { layout: "inline", noValidate: true, onSubmit: (event) => {
64
- event.preventDefault();
65
- const nativeEvent = event.nativeEvent;
66
- const submitter = nativeEvent.submitter;
67
- assert(submitter, 'form event should have a submitter');
68
- const action = submitter.dataset.action;
69
- void form.handleSubmit(action);
70
- }, children: [_jsx(PreventImplicitSubmit, {}), _jsxs(GeneralSettingsErrorsOpenProvider, { form: form, children: [_jsx(GeneralSettingsDialogHeader, { form: form }), _jsx(GeneralSettingsDialogBody, { form: form, height: height }), _jsx(GeneralSettingsDialogFooter, { form: form, onCancel: close })] })] }) }));
67
+ return (_jsxs(AppForm, { form: form, layout: "inline", onSubmitMeta: (event) => event.nativeEvent.submitter?.dataset.action, children: [_jsx(PreventImplicitSubmit, {}), _jsxs(GeneralSettingsErrorsOpenProvider, { form: form, children: [_jsx(GeneralSettingsDialogHeader, { form: form }), _jsx(GeneralSettingsDialogBody, { form: form, height: height }), _jsx(GeneralSettingsDialogFooter, { form: form, onCancel: close })] })] }));
71
68
  }
72
69
  const InvisibleButton = styled.button `
73
70
  display: none;
@@ -1 +1 @@
1
- {"version":3,"file":"general_settings.js","sourceRoot":"","sources":["../../../../../src/component/modal/setting/tanstack_general_settings/general_settings.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,YAAY,MAAM,+BAAgC,CAAC;AAE1D,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAsB,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAClF,OAAO,EACL,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAStD,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAA;;;;;;;;;;;;;CAa9B,CAAC;AAEF,MAAM,UAAU,qBAAqB,CAAC,KAAiC;IACrE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAEhC,OAAO,CACL,KAAC,MAAM,IAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAC,kBAAkB,EAAC,IAAI,EAAC,KAAK,YACzE,KAAC,aAAa,IAAC,iBAAiB,EAAE,YAAY,YAC5C,KAAC,eAAe,OAAK,KAAK,GAAI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rD,MAAM,SAAS,GAAG,WAAW,CAAC,SAAqC,CAAC;gBACpE,MAAM,CAAC,SAAS,EAAE,oCAAoC,CAAC,CAAC;gBACxD,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC;gBAExC,KAAK,IAAI,CAAC,YAAY,CAAC,MAAkB,CAAC,CAAC;YAC7C,CAAC,aAED,KAAC,qBAAqB,KAAG,EAEzB,MAAC,iCAAiC,IAAC,IAAI,EAAE,IAAI,aAC3C,KAAC,2BAA2B,IAAC,IAAI,EAAE,IAAI,GAAI,EAC3C,KAAC,yBAAyB,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAI,EACzD,KAAC,2BAA2B,IAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,GAAI,IAC1B,IAC/B,GACM,CAChB,CAAC;AACJ,CAAC;AAED,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAA;;CAEpC,CAAC;AAEF;;;;;GAKG;AACH,SAAS,qBAAqB;IAC5B,OAAO,KAAC,eAAe,IAAC,IAAI,EAAC,QAAQ,iBAAa,MAAM,EAAC,QAAQ,SAAG,CAAC;AACvE,CAAC"}
1
+ {"version":3,"file":"general_settings.js","sourceRoot":"","sources":["../../../../../src/component/modal/setting/tanstack_general_settings/general_settings.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,cAAc,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