nmrium 2.7.0 → 3.0.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 (489) hide show
  1. package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
  2. package/lib/component/1d/BrushTracker1D.js +15 -14
  3. package/lib/component/1d/BrushTracker1D.js.map +1 -1
  4. package/lib/component/1d/SVGContent1D.js +3 -3
  5. package/lib/component/1d/SVGContent1D.js.map +1 -1
  6. package/lib/component/1d/Viewer1D.d.ts.map +1 -1
  7. package/lib/component/1d/Viewer1D.js +2 -1
  8. package/lib/component/1d/Viewer1D.js.map +1 -1
  9. package/lib/component/1d/inset/DraggableInset.d.ts +1 -1
  10. package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
  11. package/lib/component/1d/inset/DraggableInset.js.map +1 -1
  12. package/lib/component/1d/inset/InsetProvider.d.ts +1 -1
  13. package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
  14. package/lib/component/1d/inset/InsetProvider.js.map +1 -1
  15. package/lib/component/1d/inset/SpectraInsets.d.ts +0 -23
  16. package/lib/component/1d/inset/SpectraInsets.d.ts.map +1 -1
  17. package/lib/component/1d/inset/SpectraInsets.js +1 -1
  18. package/lib/component/1d/inset/SpectraInsets.js.map +1 -1
  19. package/lib/component/1d/peaks/PeakEditionManager.d.ts +1 -1
  20. package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
  21. package/lib/component/1d/peaks/PeaksShapes.d.ts +1 -2
  22. package/lib/component/1d/peaks/PeaksShapes.d.ts.map +1 -1
  23. package/lib/component/1d/peaks/PeaksShapes.js +31 -17
  24. package/lib/component/1d/peaks/PeaksShapes.js.map +1 -1
  25. package/lib/component/1d/peaks/usePeakShapesPath.d.ts +1 -2
  26. package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
  27. package/lib/component/1d/peaks/usePeakShapesPath.js +2 -3
  28. package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
  29. package/lib/component/1d/plugin_chart_brush_tracker.d.ts +2 -0
  30. package/lib/component/1d/plugin_chart_brush_tracker.d.ts.map +1 -0
  31. package/lib/component/1d/plugin_chart_brush_tracker.js +41 -0
  32. package/lib/component/1d/plugin_chart_brush_tracker.js.map +1 -0
  33. package/lib/component/1d/plugin_svg_chart.d.ts +1 -1
  34. package/lib/component/1d/plugin_svg_chart.d.ts.map +1 -1
  35. package/lib/component/1d/plugin_svg_chart.js +16 -11
  36. package/lib/component/1d/plugin_svg_chart.js.map +1 -1
  37. package/lib/component/1d-2d/tools/BrushXY.d.ts +1 -1
  38. package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
  39. package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
  40. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +1 -1
  41. package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
  42. package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
  43. package/lib/component/1d-2d/tools/CursorToolIcon.d.ts.map +1 -1
  44. package/lib/component/1d-2d/tools/CursorToolIcon.js +23 -6
  45. package/lib/component/1d-2d/tools/CursorToolIcon.js.map +1 -1
  46. package/lib/component/2d/BrushTracker2D.js.map +1 -1
  47. package/lib/component/2d/utilities/DimensionLayout.d.ts +1 -1
  48. package/lib/component/2d/utilities/DimensionLayout.d.ts.map +1 -1
  49. package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -84
  50. package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
  51. package/lib/component/EventsTrackers/BrushTracker.js +70 -3
  52. package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
  53. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts +1 -1
  54. package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
  55. package/lib/component/EventsTrackers/brush_tracker.types.d.ts +93 -0
  56. package/lib/component/EventsTrackers/brush_tracker.types.d.ts.map +1 -0
  57. package/lib/component/EventsTrackers/brush_tracker.types.js +2 -0
  58. package/lib/component/EventsTrackers/brush_tracker.types.js.map +1 -0
  59. package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts +7 -0
  60. package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts.map +1 -0
  61. package/lib/component/EventsTrackers/brush_tracker_events_listeners.js +15 -0
  62. package/lib/component/EventsTrackers/brush_tracker_events_listeners.js.map +1 -0
  63. package/lib/component/context/LoggerContext.js +1 -1
  64. package/lib/component/context/LoggerContext.js.map +1 -1
  65. package/lib/component/context/ScaleContext.d.ts +1 -1
  66. package/lib/component/context/ScaleContext.d.ts.map +1 -1
  67. package/lib/component/context/ScaleContext.js.map +1 -1
  68. package/lib/component/context/processings_mutations_context.api.d.ts +3 -2
  69. package/lib/component/context/processings_mutations_context.api.d.ts.map +1 -1
  70. package/lib/component/context/processings_mutations_context.api.js +82 -10
  71. package/lib/component/context/processings_mutations_context.api.js.map +1 -1
  72. package/lib/component/elements/Anchor.d.ts +1 -1
  73. package/lib/component/elements/Anchor.d.ts.map +1 -1
  74. package/lib/component/elements/DraggableDialog.js.map +1 -1
  75. package/lib/component/elements/EditableColumn.d.ts +6 -2
  76. package/lib/component/elements/EditableColumn.d.ts.map +1 -1
  77. package/lib/component/elements/EditableColumn.js +35 -25
  78. package/lib/component/elements/EditableColumn.js.map +1 -1
  79. package/lib/component/elements/ResizerWithScale.js +1 -1
  80. package/lib/component/elements/ResizerWithScale.js.map +1 -1
  81. package/lib/component/elements/export/ExportManager.d.ts +1 -1
  82. package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
  83. package/lib/component/elements/export/ExportManager.js.map +1 -1
  84. package/lib/component/elements/tanstack_table/create_action_column.d.ts +11 -0
  85. package/lib/component/elements/tanstack_table/create_action_column.d.ts.map +1 -0
  86. package/lib/component/elements/tanstack_table/create_action_column.js +24 -0
  87. package/lib/component/elements/tanstack_table/create_action_column.js.map +1 -0
  88. package/lib/component/elements/tanstack_table/create_column_helper.d.ts +5 -0
  89. package/lib/component/elements/tanstack_table/create_column_helper.d.ts.map +1 -0
  90. package/lib/component/elements/tanstack_table/create_column_helper.js +5 -0
  91. package/lib/component/elements/tanstack_table/create_column_helper.js.map +1 -0
  92. package/lib/component/elements/{ReactTable/BaseReactTable.d.ts → tanstack_table/elements/base_react_table.d.ts} +1 -1
  93. package/lib/component/elements/tanstack_table/elements/base_react_table.d.ts.map +1 -0
  94. package/lib/component/elements/{ReactTable/BaseReactTable.js → tanstack_table/elements/base_react_table.js} +1 -1
  95. package/lib/component/elements/tanstack_table/elements/base_react_table.js.map +1 -0
  96. package/lib/component/elements/{ReactTable/Elements/EmptyDataRow.d.ts → tanstack_table/elements/empty_data_row.d.ts} +1 -1
  97. package/lib/component/elements/tanstack_table/elements/empty_data_row.d.ts.map +1 -0
  98. package/lib/component/elements/{ReactTable/Elements/EmptyDataRow.js → tanstack_table/elements/empty_data_row.js} +1 -1
  99. package/lib/component/elements/tanstack_table/elements/empty_data_row.js.map +1 -0
  100. package/lib/component/elements/tanstack_table/elements/table_context.d.ts +4 -0
  101. package/lib/component/elements/tanstack_table/elements/table_context.d.ts.map +1 -0
  102. package/lib/component/elements/tanstack_table/elements/table_context.js +11 -0
  103. package/lib/component/elements/tanstack_table/elements/table_context.js.map +1 -0
  104. package/lib/component/elements/tanstack_table/elements/table_header.d.ts +12 -0
  105. package/lib/component/elements/tanstack_table/elements/table_header.d.ts.map +1 -0
  106. package/lib/component/elements/tanstack_table/elements/table_header.js +42 -0
  107. package/lib/component/elements/tanstack_table/elements/table_header.js.map +1 -0
  108. package/lib/component/elements/tanstack_table/elements/table_row.d.ts +12 -0
  109. package/lib/component/elements/tanstack_table/elements/table_row.d.ts.map +1 -0
  110. package/lib/component/elements/{ReactTable/Elements/ReactTableRow.js → tanstack_table/elements/table_row.js} +18 -17
  111. package/lib/component/elements/tanstack_table/elements/table_row.js.map +1 -0
  112. package/lib/component/elements/tanstack_table/features.d.ts +21 -0
  113. package/lib/component/elements/tanstack_table/features.d.ts.map +1 -0
  114. package/lib/component/elements/tanstack_table/features.js +14 -0
  115. package/lib/component/elements/tanstack_table/features.js.map +1 -0
  116. package/lib/component/elements/tanstack_table/index.d.ts +6 -0
  117. package/lib/component/elements/tanstack_table/index.d.ts.map +1 -0
  118. package/lib/component/elements/tanstack_table/index.js +6 -0
  119. package/lib/component/elements/tanstack_table/index.js.map +1 -0
  120. package/lib/component/elements/tanstack_table/table.d.ts +26 -0
  121. package/lib/component/elements/tanstack_table/table.d.ts.map +1 -0
  122. package/lib/component/elements/{ReactTable/ReactTable.js → tanstack_table/table.js} +30 -38
  123. package/lib/component/elements/tanstack_table/table.js.map +1 -0
  124. package/lib/component/elements/tanstack_table/types.d.ts +47 -0
  125. package/lib/component/elements/tanstack_table/types.d.ts.map +1 -0
  126. package/lib/component/elements/tanstack_table/types.js +2 -0
  127. package/lib/component/elements/tanstack_table/types.js.map +1 -0
  128. package/lib/component/header/AutoPeakPickingOptionPanel.js +1 -1
  129. package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
  130. package/lib/component/header/Header.js +1 -1
  131. package/lib/component/header/Header.js.map +1 -1
  132. package/lib/component/hooks/reduce2DSpectrum.js +1 -1
  133. package/lib/component/hooks/useCombinedRefs.d.ts +2 -2
  134. package/lib/component/hooks/useCombinedRefs.d.ts.map +1 -1
  135. package/lib/component/hooks/useCombinedRefs.js +1 -1
  136. package/lib/component/hooks/useCombinedRefs.js.map +1 -1
  137. package/lib/component/hooks/useSaveSettings.js +1 -1
  138. package/lib/component/hooks/useSaveSettings.js.map +1 -1
  139. package/lib/component/hooks/use_axis_unit.d.ts +3 -3
  140. package/lib/component/main/InnerNMRiumContents.d.ts +4 -4
  141. package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
  142. package/lib/component/main/NMRium.d.ts +1 -1
  143. package/lib/component/main/NMRium.d.ts.map +1 -1
  144. package/lib/component/main/NMRiumRefAPI.d.ts +1 -1
  145. package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
  146. package/lib/component/main/NMRiumRefAPI.js.map +1 -1
  147. package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
  148. package/lib/component/main/NMRiumStateProvider.js +4 -2
  149. package/lib/component/main/NMRiumStateProvider.js.map +1 -1
  150. package/lib/component/main/NMRiumViewer.d.ts +1 -1
  151. package/lib/component/main/NMRiumViewer.d.ts.map +1 -1
  152. package/lib/component/main/NMRiumViewerWrapper.d.ts +1 -1
  153. package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
  154. package/lib/component/main/types.d.ts +2 -2
  155. package/lib/component/main/types.d.ts.map +1 -1
  156. package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
  157. package/lib/component/modal/ImportPublicationStringModal.js +96 -73
  158. package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
  159. package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
  160. package/lib/component/modal/LogsHistoryModal.js +44 -40
  161. package/lib/component/modal/LogsHistoryModal.js.map +1 -1
  162. package/lib/component/modal/changeSum/SelectMolecule.js +2 -2
  163. package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
  164. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
  165. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +48 -44
  166. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
  167. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
  168. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js +36 -32
  169. package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
  170. package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
  171. package/lib/component/modal/metaImportation/MetaImportationModal.js +15 -14
  172. package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
  173. package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +81 -81
  174. package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +81 -81
  175. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +81 -81
  176. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +54 -54
  177. package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +54 -54
  178. package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +9 -9
  179. package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +54 -54
  180. package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +54 -54
  181. package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +54 -54
  182. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +54 -54
  183. package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +2 -2
  184. package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +54 -54
  185. package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +54 -54
  186. package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +54 -54
  187. package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +54 -54
  188. package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +54 -54
  189. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +54 -54
  190. package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +54 -54
  191. package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +54 -54
  192. package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +54 -54
  193. package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +28 -28
  194. package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +10 -10
  195. package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +6 -6
  196. package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +1 -1
  197. package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +27 -27
  198. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts +1 -1
  199. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
  200. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +29 -26
  201. package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.map +1 -1
  202. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +1 -1
  203. package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
  204. package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
  205. package/lib/component/panels/IntegralsPanel/IntegralTable.js +70 -76
  206. package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
  207. package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts +1 -1
  208. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
  209. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js +33 -29
  210. package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js.map +1 -1
  211. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.d.ts +1 -0
  212. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.d.ts.map +1 -1
  213. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js +30 -6
  214. package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js.map +1 -1
  215. package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +1 -1
  216. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +8 -6
  217. package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
  218. package/lib/component/panels/PeaksPanel/PeaksTable.js +116 -126
  219. package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
  220. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts +2 -2
  221. package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts.map +1 -1
  222. package/lib/component/panels/PeaksPanel/peaksToTSV.js +9 -11
  223. package/lib/component/panels/PeaksPanel/peaksToTSV.js.map +1 -1
  224. package/lib/component/panels/RangesPanel/RangesTable.d.ts +3 -2
  225. package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
  226. package/lib/component/panels/RangesPanel/RangesTable.js.map +1 -1
  227. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +2 -2
  228. package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
  229. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
  230. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +33 -2
  231. package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
  232. package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +1 -1
  233. package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
  234. package/lib/component/panels/SpectraPanel/SpectraTable.js +37 -26
  235. package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
  236. package/lib/component/panels/SpectraPanel/SpectrumListPanel.js +1 -1
  237. package/lib/component/panels/SpectraPanel/SpectrumListPanel.js.map +1 -1
  238. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts +1 -1
  239. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
  240. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js +56 -52
  241. package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
  242. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
  243. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +23 -20
  244. package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
  245. package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +1 -1
  246. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +2 -2
  247. package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
  248. package/lib/component/panels/databasePanel/DatabaseTable.d.ts +1 -1
  249. package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
  250. package/lib/component/panels/databasePanel/DatabaseTable.js +171 -153
  251. package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
  252. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
  253. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js +27 -24
  254. package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -1
  255. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
  256. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +1 -1
  257. package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
  258. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts +2 -2
  259. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +2 -2
  260. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
  261. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts +2 -2
  262. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +2 -2
  263. package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
  264. package/lib/component/panels/filtersPanel/processings/processing_item.js +1 -1
  265. package/lib/component/panels/filtersPanel/processings/processing_item.js.map +1 -1
  266. package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts +2 -6
  267. package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts.map +1 -1
  268. package/lib/component/panels/filtersPanel/processings/use_live_edit.js +9 -9
  269. package/lib/component/panels/filtersPanel/processings/use_live_edit.js.map +1 -1
  270. package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
  271. package/lib/component/panels/informationPanel/InformationEditionModal.js +69 -64
  272. package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
  273. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
  274. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +17 -20
  275. package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
  276. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
  277. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js +25 -20
  278. package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js.map +1 -1
  279. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
  280. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js +41 -36
  281. package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js.map +1 -1
  282. package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
  283. package/lib/component/panels/spectrumSimulation/SpinSystemTable.js +14 -15
  284. package/lib/component/panels/spectrumSimulation/SpinSystemTable.js.map +1 -1
  285. package/lib/component/reducer/Reducer.d.ts +5 -6
  286. package/lib/component/reducer/Reducer.d.ts.map +1 -1
  287. package/lib/component/reducer/Reducer.js +1 -1
  288. package/lib/component/reducer/Reducer.js.map +1 -1
  289. package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
  290. package/lib/component/reducer/actions/DatabaseActions.js +3 -2
  291. package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
  292. package/lib/component/reducer/actions/InsetActions.d.ts +2 -3
  293. package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
  294. package/lib/component/reducer/actions/InsetActions.js +4 -5
  295. package/lib/component/reducer/actions/InsetActions.js.map +1 -1
  296. package/lib/component/reducer/actions/RangesActions.d.ts +1 -0
  297. package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
  298. package/lib/component/reducer/actions/RangesActions.js +33 -11
  299. package/lib/component/reducer/actions/RangesActions.js.map +1 -1
  300. package/lib/component/reducer/actions/ToolsActions.d.ts +1 -1
  301. package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
  302. package/lib/component/reducer/actions/processings_actions.d.ts +1 -0
  303. package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -1
  304. package/lib/component/reducer/actions/processings_actions.js +4 -2
  305. package/lib/component/reducer/actions/processings_actions.js.map +1 -1
  306. package/lib/component/reducer/helper/Zoom1DManager.d.ts +1 -1
  307. package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
  308. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +2 -2
  309. package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
  310. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js +1 -1
  311. package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js.map +1 -1
  312. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
  313. package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
  314. package/lib/component/utility/Events.d.ts +1 -1
  315. package/lib/component/utility/Events.d.ts.map +1 -1
  316. package/lib/component/utility/core_slots/core_operator_brush.commons.d.ts +9 -0
  317. package/lib/component/utility/core_slots/core_operator_brush.commons.d.ts.map +1 -0
  318. package/lib/component/utility/core_slots/core_operator_brush.commons.js +15 -0
  319. package/lib/component/utility/core_slots/core_operator_brush.commons.js.map +1 -0
  320. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.d.ts +7 -0
  321. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.d.ts.map +1 -0
  322. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.js +82 -0
  323. package/lib/component/utility/core_slots/core_operator_chart_brush.commons.js.map +1 -0
  324. package/lib/component/utility/core_slots/core_operator_chart_brush_tracker.d.ts +8 -0
  325. package/lib/component/utility/core_slots/core_operator_chart_brush_tracker.d.ts.map +1 -0
  326. package/lib/component/utility/core_slots/core_operator_chart_brush_tracker.js +11 -0
  327. package/lib/component/utility/core_slots/core_operator_chart_brush_tracker.js.map +1 -0
  328. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.d.ts +9 -0
  329. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.d.ts.map +1 -0
  330. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.js +14 -0
  331. package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.js.map +1 -0
  332. package/lib/component/utility/core_slots/core_operator_chart_svg.js +1 -13
  333. package/lib/component/utility/core_slots/core_operator_chart_svg.js.map +1 -1
  334. package/lib/component/utility/core_slots/core_operator_expanded.d.ts +1 -1
  335. package/lib/component/utility/core_slots/core_operator_expanded.d.ts.map +1 -1
  336. package/lib/component/utility/core_slots/core_slot.d.ts +1 -1
  337. package/lib/component/utility/core_slots/core_slot.d.ts.map +1 -1
  338. package/lib/component/utility/filterDatabaseInfoEntry.js +1 -1
  339. package/lib/component/utility/filterDatabaseInfoEntry.js.map +1 -1
  340. package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
  341. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +2 -0
  342. package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
  343. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +1 -0
  344. package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.map +1 -1
  345. package/lib/data/data2d/Spectrum2D/contours.js +2 -2
  346. package/lib/data/data2d/Spectrum2D/get2DColor.js +5 -5
  347. package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
  348. package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
  349. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +2 -0
  350. package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
  351. package/lib/utils/clipboard/clipboardComponents.js.map +1 -1
  352. package/lib/versionInfo.js +1 -1
  353. package/package.json +34 -36
  354. package/src/component/1d/BrushTracker1D.tsx +19 -21
  355. package/src/component/1d/SVGContent1D.tsx +3 -3
  356. package/src/component/1d/Viewer1D.tsx +2 -0
  357. package/src/component/1d/inset/DraggableInset.tsx +2 -1
  358. package/src/component/1d/inset/InsetProvider.tsx +1 -2
  359. package/src/component/1d/inset/SpectraInsets.tsx +1 -32
  360. package/src/component/1d/peaks/PeaksShapes.tsx +62 -40
  361. package/src/component/1d/peaks/usePeakShapesPath.ts +2 -4
  362. package/src/component/1d/plugin_chart_brush_tracker.tsx +63 -0
  363. package/src/component/1d/plugin_svg_chart.tsx +26 -15
  364. package/src/component/1d-2d/tools/BrushXY.tsx +1 -1
  365. package/src/component/1d-2d/tools/CrossLinePointer.tsx +1 -1
  366. package/src/component/1d-2d/tools/CursorToolIcon.tsx +38 -16
  367. package/src/component/2d/BrushTracker2D.tsx +5 -5
  368. package/src/component/2d/utilities/DimensionLayout.ts +1 -1
  369. package/src/component/EventsTrackers/BrushTracker.tsx +119 -119
  370. package/src/component/EventsTrackers/KeysListenerTracker.tsx +1 -1
  371. package/src/component/EventsTrackers/brush_tracker.types.ts +111 -0
  372. package/src/component/EventsTrackers/brush_tracker_events_listeners.ts +32 -0
  373. package/src/component/context/LoggerContext.tsx +1 -1
  374. package/src/component/context/ScaleContext.tsx +2 -1
  375. package/src/component/context/processings_mutations_context.api.ts +115 -17
  376. package/src/component/elements/Anchor.tsx +1 -1
  377. package/src/component/elements/DraggableDialog.tsx +2 -2
  378. package/src/component/elements/EditableColumn.tsx +93 -63
  379. package/src/component/elements/ResizerWithScale.tsx +1 -1
  380. package/src/component/elements/export/ExportManager.tsx +1 -1
  381. package/src/component/elements/tanstack_table/create_action_column.tsx +43 -0
  382. package/src/component/elements/tanstack_table/create_column_helper.ts +11 -0
  383. package/src/component/elements/tanstack_table/elements/table_context.ts +15 -0
  384. package/src/component/elements/tanstack_table/elements/table_header.tsx +111 -0
  385. package/src/component/elements/{ReactTable/Elements/ReactTableRow.tsx → tanstack_table/elements/table_row.tsx} +51 -50
  386. package/src/component/elements/tanstack_table/features.ts +33 -0
  387. package/src/component/elements/tanstack_table/index.ts +5 -0
  388. package/src/component/elements/{ReactTable/ReactTable.tsx → tanstack_table/table.tsx} +79 -158
  389. package/src/component/elements/tanstack_table/types.ts +86 -0
  390. package/src/component/header/AutoPeakPickingOptionPanel.tsx +1 -1
  391. package/src/component/header/Header.tsx +1 -1
  392. package/src/component/hooks/reduce2DSpectrum.ts +1 -1
  393. package/src/component/hooks/useCombinedRefs.ts +3 -3
  394. package/src/component/hooks/useSaveSettings.tsx +1 -1
  395. package/src/component/main/InnerNMRiumContents.tsx +4 -4
  396. package/src/component/main/NMRiumRefAPI.ts +1 -1
  397. package/src/component/main/NMRiumStateProvider.tsx +4 -2
  398. package/src/component/main/NMRiumViewer.tsx +1 -1
  399. package/src/component/main/NMRiumViewerWrapper.tsx +1 -1
  400. package/src/component/main/types.ts +3 -3
  401. package/src/component/modal/ImportPublicationStringModal.tsx +167 -136
  402. package/src/component/modal/LogsHistoryModal.tsx +32 -25
  403. package/src/component/modal/changeSum/SelectMolecule.tsx +2 -2
  404. package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +28 -24
  405. package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +27 -25
  406. package/src/component/modal/metaImportation/MetaImportationModal.tsx +19 -15
  407. package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +27 -25
  408. package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
  409. package/src/component/panels/IntegralsPanel/IntegralTable.tsx +75 -89
  410. package/src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx +68 -60
  411. package/src/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.ts +40 -8
  412. package/src/component/panels/PeaksPanel/PeaksTable.tsx +126 -124
  413. package/src/component/panels/PeaksPanel/peaksToTSV.ts +14 -15
  414. package/src/component/panels/RangesPanel/RangesTable.tsx +3 -2
  415. package/src/component/panels/RangesPanel/RangesTableRow.tsx +2 -2
  416. package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +52 -2
  417. package/src/component/panels/SpectraPanel/SpectraTable.tsx +58 -36
  418. package/src/component/panels/SpectraPanel/SpectrumListPanel.tsx +1 -1
  419. package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +31 -35
  420. package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +25 -20
  421. package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +2 -2
  422. package/src/component/panels/databasePanel/DatabasePanel.tsx +1 -1
  423. package/src/component/panels/databasePanel/DatabaseTable.tsx +189 -183
  424. package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +20 -20
  425. package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +1 -1
  426. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +2 -2
  427. package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +2 -2
  428. package/src/component/panels/filtersPanel/processings/processing_item.tsx +1 -1
  429. package/src/component/panels/filtersPanel/processings/use_live_edit.ts +9 -17
  430. package/src/component/panels/informationPanel/InformationEditionModal.tsx +40 -37
  431. package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +23 -24
  432. package/src/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.tsx +33 -24
  433. package/src/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.tsx +34 -31
  434. package/src/component/panels/spectrumSimulation/SpinSystemTable.tsx +19 -18
  435. package/src/component/reducer/Reducer.ts +7 -4
  436. package/src/component/reducer/actions/DatabaseActions.ts +4 -3
  437. package/src/component/reducer/actions/InsetActions.ts +8 -10
  438. package/src/component/reducer/actions/RangesActions.ts +78 -20
  439. package/src/component/reducer/actions/ToolsActions.ts +1 -1
  440. package/src/component/reducer/actions/processings_actions.ts +5 -2
  441. package/src/component/reducer/helper/Zoom1DManager.ts +1 -1
  442. package/src/component/reducer/helper/ZoomHistoryManager.ts +2 -2
  443. package/src/component/reducer/helper/removeSpectrumRelatedObjectsById.ts +1 -1
  444. package/src/component/reducer/preferences/actions/matrixGeneration.ts +1 -1
  445. package/src/component/utility/Events.tsx +1 -1
  446. package/src/component/utility/core_slots/core_operator_brush.commons.ts +18 -0
  447. package/src/component/utility/core_slots/core_operator_chart_brush.commons.ts +138 -0
  448. package/src/component/utility/core_slots/core_operator_chart_brush_tracker.tsx +27 -0
  449. package/src/component/utility/core_slots/core_operator_chart_mouse_icon.tsx +32 -0
  450. package/src/component/utility/core_slots/core_operator_chart_svg.tsx +2 -17
  451. package/src/component/utility/filterDatabaseInfoEntry.ts +1 -1
  452. package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +3 -0
  453. package/src/data/data2d/Spectrum2D/contours.ts +2 -2
  454. package/src/data/data2d/Spectrum2D/get2DColor.ts +5 -5
  455. package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +4 -0
  456. package/src/utils/clipboard/clipboardComponents.tsx +5 -5
  457. package/src/versionInfo.ts +1 -1
  458. package/lib/component/elements/ReactTable/BaseReactTable.d.ts.map +0 -1
  459. package/lib/component/elements/ReactTable/BaseReactTable.js.map +0 -1
  460. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +0 -1
  461. package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +0 -1
  462. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts +0 -10
  463. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts.map +0 -1
  464. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js +0 -27
  465. package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js.map +0 -1
  466. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +0 -16
  467. package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +0 -1
  468. package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +0 -1
  469. package/lib/component/elements/ReactTable/ReactTable.d.ts +0 -64
  470. package/lib/component/elements/ReactTable/ReactTable.d.ts.map +0 -1
  471. package/lib/component/elements/ReactTable/ReactTable.js.map +0 -1
  472. package/lib/component/elements/ReactTable/utility/ReactTableContext.d.ts +0 -4
  473. package/lib/component/elements/ReactTable/utility/ReactTableContext.d.ts.map +0 -1
  474. package/lib/component/elements/ReactTable/utility/ReactTableContext.js +0 -11
  475. package/lib/component/elements/ReactTable/utility/ReactTableContext.js.map +0 -1
  476. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts +0 -19
  477. package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +0 -1
  478. package/lib/component/elements/ReactTable/utility/addCustomColumn.js +0 -36
  479. package/lib/component/elements/ReactTable/utility/addCustomColumn.js.map +0 -1
  480. package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts +0 -9
  481. package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts.map +0 -1
  482. package/lib/component/elements/ReactTable/utility/useRowSpan.js +0 -40
  483. package/lib/component/elements/ReactTable/utility/useRowSpan.js.map +0 -1
  484. package/src/component/elements/ReactTable/Elements/ReactTableHeader.tsx +0 -81
  485. package/src/component/elements/ReactTable/utility/ReactTableContext.ts +0 -14
  486. package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +0 -75
  487. package/src/component/elements/ReactTable/utility/useRowSpan.ts +0 -61
  488. /package/src/component/elements/{ReactTable/BaseReactTable.tsx → tanstack_table/elements/base_react_table.tsx} +0 -0
  489. /package/src/component/elements/{ReactTable/Elements/EmptyDataRow.tsx → tanstack_table/elements/empty_data_row.tsx} +0 -0
@@ -220,20 +220,20 @@ export declare const workspaceValidation: z.ZodObject<{
220
220
  }>;
221
221
  popupLoggingLevel: z.ZodOptional<z.ZodEnum<{
222
222
  error: "error";
223
- fatal: "fatal";
224
- warn: "warn";
225
223
  info: "info";
226
- debug: "debug";
224
+ fatal: "fatal";
227
225
  trace: "trace";
226
+ debug: "debug";
227
+ warn: "warn";
228
228
  silent: "silent";
229
229
  }>>;
230
230
  loggingLevel: z.ZodOptional<z.ZodEnum<{
231
231
  error: "error";
232
- fatal: "fatal";
233
- warn: "warn";
234
232
  info: "info";
235
- debug: "debug";
233
+ fatal: "fatal";
236
234
  trace: "trace";
235
+ debug: "debug";
236
+ warn: "warn";
237
237
  silent: "silent";
238
238
  }>>;
239
239
  molecules: z.ZodObject<{
@@ -279,8 +279,8 @@ export declare const workspaceValidation: z.ZodObject<{
279
279
  general: z.ZodObject<{
280
280
  dataSelection: z.ZodOptional<z.ZodEnum<{
281
281
  both: "both";
282
- fid: "fid";
283
282
  ft: "ft";
283
+ fid: "fid";
284
284
  preferFT: "preferFT";
285
285
  preferFID: "preferFID";
286
286
  }>>;
@@ -339,35 +339,35 @@ export declare const workspaceValidation: z.ZodObject<{
339
339
  filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodObject<{
340
340
  name: z.ZodEnum<{
341
341
  trim: "trim";
342
+ digitalFilter: "digitalFilter";
342
343
  baselineCorrection: "baselineCorrection";
344
+ fft: "fft";
343
345
  zeroFilling: "zeroFilling";
344
- zeroFillingDimension1: "zeroFillingDimension1";
345
- zeroFillingDimension2: "zeroFillingDimension2";
346
- apodization: "apodization";
347
- apodizationDimension1: "apodizationDimension1";
348
- apodizationDimension2: "apodizationDimension2";
346
+ signalProcessing: "signalProcessing";
347
+ equallySpaced: "equallySpaced";
348
+ shiftX: "shiftX";
349
349
  phaseCorrection: "phaseCorrection";
350
- phaseCorrectionTwoDimensions: "phaseCorrectionTwoDimensions";
351
- fft: "fft";
352
- fftDimension1: "fftDimension1";
353
- fftDimension2: "fftDimension2";
350
+ forwardLinearPrediction: "forwardLinearPrediction";
354
351
  exclusionZones: "exclusionZones";
352
+ apodization: "apodization";
355
353
  backwardLinearPrediction: "backwardLinearPrediction";
356
- digitalFilter: "digitalFilter";
357
- equallySpaced: "equallySpaced";
358
- forwardLinearPrediction: "forwardLinearPrediction";
359
- shiftX: "shiftX";
360
- signalProcessing: "signalProcessing";
354
+ apodizationDimension1: "apodizationDimension1";
355
+ apodizationDimension2: "apodizationDimension2";
361
356
  baselineCorrectionTwoDimensions: "baselineCorrectionTwoDimensions";
362
357
  blpDimension1: "blpDimension1";
363
358
  blpDimension2: "blpDimension2";
364
359
  digitalFilter2D: "digitalFilter2D";
360
+ fftDimension1: "fftDimension1";
361
+ fftDimension2: "fftDimension2";
365
362
  nusDimension2: "nusDimension2";
366
363
  flpDimension1: "flpDimension1";
367
364
  flpDimension2: "flpDimension2";
365
+ phaseCorrectionTwoDimensions: "phaseCorrectionTwoDimensions";
368
366
  shift2DX: "shift2DX";
369
367
  shift2DY: "shift2DY";
370
368
  symmetrizeCosyLike: "symmetrizeCosyLike";
369
+ zeroFillingDimension1: "zeroFillingDimension1";
370
+ zeroFillingDimension2: "zeroFillingDimension2";
371
371
  }>;
372
372
  enabled: z.ZodOptional<z.ZodBoolean>;
373
373
  }, z.core.$strip>>>>>;
@@ -451,12 +451,12 @@ export declare const workspaceValidation: z.ZodObject<{
451
451
  height: z.ZodCodec<z.ZodString, z.ZodNumber>;
452
452
  unit: z.ZodEnum<{
453
453
  in: "in";
454
- px: "px";
455
454
  ft: "ft";
455
+ m: "m";
456
+ px: "px";
456
457
  yd: "yd";
457
458
  cm: "cm";
458
459
  mm: "mm";
459
- m: "m";
460
460
  pt: "pt";
461
461
  pc: "pc";
462
462
  }>;
@@ -490,12 +490,12 @@ export declare const workspaceValidation: z.ZodObject<{
490
490
  height: z.ZodCodec<z.ZodString, z.ZodNumber>;
491
491
  unit: z.ZodEnum<{
492
492
  in: "in";
493
- px: "px";
494
493
  ft: "ft";
494
+ m: "m";
495
+ px: "px";
495
496
  yd: "yd";
496
497
  cm: "cm";
497
498
  mm: "mm";
498
- m: "m";
499
499
  pt: "pt";
500
500
  pc: "pc";
501
501
  }>;
@@ -529,12 +529,12 @@ export declare const workspaceValidation: z.ZodObject<{
529
529
  height: z.ZodCodec<z.ZodString, z.ZodNumber>;
530
530
  unit: z.ZodEnum<{
531
531
  in: "in";
532
- px: "px";
533
532
  ft: "ft";
533
+ m: "m";
534
+ px: "px";
534
535
  yd: "yd";
535
536
  cm: "cm";
536
537
  mm: "mm";
537
- m: "m";
538
538
  pt: "pt";
539
539
  pc: "pc";
540
540
  }>;
@@ -2,7 +2,7 @@ import type { AutoAssignmentsData } from './useAutoAssignments.js';
2
2
  interface AutomaticAssignmentTableProps {
3
3
  data: AutoAssignmentsData[];
4
4
  }
5
- declare function AutomaticAssignmentTable({ data }: AutomaticAssignmentTableProps): import("react").JSX.Element;
5
+ declare function AutomaticAssignmentTable(props: AutomaticAssignmentTableProps): import("react").JSX.Element;
6
6
  declare const _default: import("react").MemoExoticComponent<typeof AutomaticAssignmentTable>;
7
7
  export default _default;
8
8
  //# sourceMappingURL=AutomaticAssignmentTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutomaticAssignmentTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,UAAU,6BAA6B;IACrC,IAAI,EAAE,mBAAmB,EAAE,CAAC;CAC7B;AAED,iBAAS,wBAAwB,CAAC,EAAE,IAAI,EAAE,EAAE,6BAA6B,+BA6DxE;;AAED,wBAA8C"}
1
+ {"version":3,"file":"AutomaticAssignmentTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,UAAU,6BAA6B;IACrC,IAAI,EAAE,mBAAmB,EAAE,CAAC;CAC7B;AAED,iBAAS,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,+BA6DrE;;AAED,wBAA8C"}
@@ -2,8 +2,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { SvgNmrAssignment } from 'cheminfo-font';
3
3
  import { memo, useCallback, useMemo } from 'react';
4
4
  import { useDispatch } from '../../context/DispatchContext.js';
5
- import ReactTable from '../../elements/ReactTable/ReactTable.js';
6
- function AutomaticAssignmentTable({ data }) {
5
+ import { TanStackTable, createTanStackColumnHelper, } from "../../elements/tanstack_table/index.js";
6
+ function AutomaticAssignmentTable(props) {
7
+ const { data } = props;
7
8
  const dispatch = useDispatch();
8
9
  const assignHandler = useCallback((event, row) => {
9
10
  event.preventDefault();
@@ -13,31 +14,33 @@ function AutomaticAssignmentTable({ data }) {
13
14
  payload: { assignments: row.original.assignment },
14
15
  });
15
16
  }, [dispatch]);
16
- const COLUMNS = useMemo(() => [
17
- {
18
- index: 1,
19
- Header: '#',
20
- accessor: (_, index) => index + 1,
21
- style: { width: '1%', maxWidth: '40px', minWidth: '40px' },
22
- },
23
- {
24
- index: 2,
25
- Header: 'Score',
26
- accessor: 'score',
27
- },
28
- {
29
- index: 3,
30
- Header: '',
31
- style: {
32
- width: '1%',
33
- maxWidth: '24px',
34
- minWidth: '24px',
17
+ const COLUMNS = useMemo(() => {
18
+ const columnHelper = createTanStackColumnHelper();
19
+ return columnHelper.columns([
20
+ {
21
+ header: '#',
22
+ accessorFn: (_, index) => index + 1,
23
+ meta: { style: { width: '1%', maxWidth: '40px', minWidth: '40px' } },
35
24
  },
36
- id: 'assign-button',
37
- Cell: ({ row }) => (_jsx("button", { type: "button", className: "assign-button", onClick: (e) => assignHandler(e, row), children: _jsx(SvgNmrAssignment, {}) })),
38
- },
39
- ], [assignHandler]);
40
- return (_jsx(ReactTable, { data: data, columns: COLUMNS, onClick: assignHandler, enableDefaultActiveRow: true, emptyDataRowText: "No Data" }));
25
+ {
26
+ header: 'Score',
27
+ accessorKey: 'score',
28
+ },
29
+ {
30
+ header: '',
31
+ meta: {
32
+ style: {
33
+ width: '1%',
34
+ maxWidth: '24px',
35
+ minWidth: '24px',
36
+ },
37
+ },
38
+ id: 'assign-button',
39
+ cell: ({ row }) => (_jsx("button", { type: "button", className: "assign-button", onClick: (e) => assignHandler(e, row), children: _jsx(SvgNmrAssignment, {}) })),
40
+ },
41
+ ]);
42
+ }, [assignHandler]);
43
+ return (_jsx(TanStackTable, { data: data, columns: COLUMNS, onClick: assignHandler, enableDefaultActiveRow: true, emptyDataRowText: "No Data" }));
41
44
  }
42
45
  export default memo(AutomaticAssignmentTable);
43
46
  //# sourceMappingURL=AutomaticAssignmentTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AutomaticAssignmentTable.js","sourceRoot":"","sources":["../../../../src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,UAAU,MAAM,yCAAyC,CAAC;AASjE,SAAS,wBAAwB,CAAC,EAAE,IAAI,EAAiC;IACvE,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,aAAa,GAAG,WAAW,CAC/B,CAAC,KAAiB,EAAE,GAAQ,EAAE,EAAE;QAC9B,KAAK,CAAC,cAAc,EAAE,CAAC;QACvB,KAAK,CAAC,eAAe,EAAE,CAAC;QAExB,QAAQ,CAAC;YACP,IAAI,EAAE,2BAA2B;YACjC,OAAO,EAA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wBACL,KAAK,EAAE,IAAI;wBACX,QAAQ,EAAE,MAAM;wBAChB,QAAQ,EAAE,MAAM;qBACjB;iBACF;gBACD,EAAE,EAAE,eAAe;gBACnB,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CACjB,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,GAAG,CAAC,YAErC,KAAC,gBAAgB,KAAG,GACb,CACV;aACF;SACF,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,OAAO,CACL,KAAC,aAAa,IACZ,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,aAAa,EACtB,sBAAsB,QACtB,gBAAgB,EAAC,SAAS,GAC1B,CACH,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC,wBAAwB,CAAC,CAAC"}
@@ -39,7 +39,7 @@ function mapSpectra(data) {
39
39
  export function useAutoAssignments() {
40
40
  const dispatch = useDispatch();
41
41
  const { data, molecules } = useChartData();
42
- const originData = useRef();
42
+ const originData = useRef(undefined);
43
43
  const toaster = useToaster();
44
44
  const [assignments, setAssignments] = useState([]);
45
45
  function restAssignments() {
@@ -1 +1 @@
1
- {"version":3,"file":"useAutoAssignments.js","sourceRoot":"","sources":["../../../../src/component/panels/AutomaticAssignment/useAutoAssignments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA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,EAAE,CAAC;QAChB,CAAC,CAAC,EAAE,CAAC;IACP,CAAC;IAED,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;AAC1D,CAAC"}
1
+ {"version":3,"file":"useAutoAssignments.js","sourceRoot":"","sources":["../../../../src/component/panels/AutomaticAssignment/useAutoAssignments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAO7D,SAAS,SAAS,CAAgC,MAAS;IACzD,MAAM,kBAAkB,GAAG,EAAE,GAAG,MAAM,EAAE,CAAC;IACzC,OAAO,kBAAkB,CAAC,KAAK,CAAC;IAChC,OAAO,kBAAkB,CAAC;AAC5B,CAAC;AAED,SAAS,UAAU,CAAC,IAAgB;IAClC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE;QAC3B,IAAI,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC3B,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC;YACtC,OAAO;gBACL,EAAE;gBACF,IAAI;gBACJ,MAAM,EAAE,MAAM,CAAC,MAAM;aACtB,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;YACrC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;YA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C/B,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,kBAAkB,CACrC;gBACE,OAAO;gBACP,QAAQ;aACT,EACD,EAAE,QAAQ,EAAE,CAAC,EAAE,CAChB,CAAC;YAEF,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC;gBAC1B,QAAQ,CAAC;oBACP,IAAI,EAAE,2BAA2B;oBACjC,OAAO,EAAE,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE;iBAC/C,CAAC,CAAC;YACL,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,IAAI,CAAC;oBACX,OAAO,EACL,mFAAmF;oBACrF,MAAM,EAAE,QAAQ;iBACjB,CAAC,CAAC;YACL,CAAC;YAED,cAAc,CAAC,MAAM,CAAC,CAAC;YACvB,WAAW,EAAE,CAAC;QAChB,CAAC,CAAC,EAAE,CAAC;IACP,CAAC;IAED,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;AAC1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IntegralTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/IntegralsPanel/IntegralTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAc,MAAM,qBAAqB,CAAC;AAqBxE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAIlE,UAAU,kBAAmB,SAAQ,IAAI,CACvC,uBAAuB,EACvB,WAAW,CACZ;IACC,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAiK/C;;AAED,wBAAmC"}
1
+ {"version":3,"file":"IntegralTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/IntegralsPanel/IntegralTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAc,MAAM,qBAAqB,CAAC;AAoBxE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAIlE,UAAU,kBAAmB,SAAQ,IAAI,CACvC,uBAAuB,EACvB,WAAW,CACZ;IACC,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAoJ/C;;AAED,wBAAmC"}
@@ -7,9 +7,8 @@ import { SIGNAL_KINDS } from '../../../data/constants/signalsKinds.js';
7
7
  import { useDispatch } from '../../context/DispatchContext.js';
8
8
  import { EditableColumn } from '../../elements/EditableColumn.js';
9
9
  import { EmptyText } from '../../elements/EmptyText.js';
10
- import ReactTable from '../../elements/ReactTable/ReactTable.js';
11
- import addCustomColumn, { createActionColumn, } from '../../elements/ReactTable/utility/addCustomColumn.js';
12
10
  import Select from '../../elements/Select.js';
11
+ import { TanStackTable, createActionColumn, createTanStackColumnHelper, } from "../../elements/tanstack_table/index.js";
13
12
  import { usePanelPreferences } from '../../hooks/usePanelPreferences.js';
14
13
  import { formatNumber } from '../../utility/formatNumber.js';
15
14
  import { NoDataForFid } from '../extra/placeholder/NoDataForFid.js';
@@ -17,8 +16,8 @@ const selectStyle = { width: '100%', border: 'none' };
17
16
  function IntegralTable(props) {
18
17
  const { activeTab, data, info } = props;
19
18
  const dispatch = useDispatch();
20
- const deleteIntegralHandler = useCallback((row) => {
21
- const { id } = row.original;
19
+ const deleteIntegralHandler = useCallback((integral) => {
20
+ const { id } = integral;
22
21
  dispatch({
23
22
  type: 'DELETE_INTEGRAL',
24
23
  payload: {
@@ -39,92 +38,87 @@ function IntegralTable(props) {
39
38
  });
40
39
  }, [dispatch]);
41
40
  const integralsPreferences = usePanelPreferences('integrals', activeTab);
42
- const COLUMNS = useMemo(() => [
43
- {
44
- showWhen: 'showSerialNumber',
45
- index: 1,
46
- Header: '#',
47
- accessor: (_, index) => index + 1,
48
- style: { width: '30px', maxWidth: '30px' },
49
- },
50
- {
51
- showWhen: 'from.show',
52
- index: 2,
53
- Header: 'From',
54
- sortType: 'basic',
55
- accessor: (row) => formatNumber(row.from, integralsPreferences.from.format),
56
- },
57
- {
58
- showWhen: 'to.show',
59
- index: 3,
60
- Header: 'To',
61
- sortType: 'basic',
62
- accessor: (row) => formatNumber(row.to, integralsPreferences.to.format),
63
- },
64
- {
65
- showWhen: 'absolute.show',
66
- index: 4,
67
- Header: 'Absolute',
68
- accessor: (row) => formatNumber(row.absolute, integralsPreferences.absolute.format),
69
- },
70
- {
71
- showWhen: 'relative.show',
72
- index: 5,
73
- id: 'relative',
74
- Header: () => {
75
- const n = activeTab?.replaceAll(/\d/g, '');
76
- return _jsx("span", { children: `Relative ${n}` });
77
- },
78
- accessor: 'integral',
79
- Cell: ({ row }) => {
80
- const value = formatNumber(row.original.integral || 0, integralsPreferences.relative.format);
81
- const flag = checkIntegralKind(row.original);
82
- const integral = flag ? value : `[ ${value} ]`;
83
- return (_jsx(EditableColumn, { value: integral, onSave: (value) => saveRelativeHandler(value, row.original), type: "number", validate: (val) => val !== '' }, integral));
84
- },
85
- },
86
- {
87
- index: 6,
88
- Header: 'Kind',
89
- sortType: 'basic',
90
- resizable: true,
91
- accessor: 'kind',
92
- showWhen: 'showKind',
93
- Cell: ({ row }) => (_jsx(Select, { onChange: (value) => changeIntegralDataHandler(value, row.original), items: SIGNAL_KINDS, style: selectStyle, defaultValue: row.original.kind })),
94
- },
95
- {
96
- showWhen: 'showDeleteAction',
97
- ...createActionColumn({
98
- index: 20,
41
+ const COLUMNS = useMemo(() => {
42
+ const columnHelper = createTanStackColumnHelper();
43
+ const columns = columnHelper.columns([]);
44
+ // TODO: Use column visibility feature instead.
45
+ if (dlv(integralsPreferences, 'showSerialNumber')) {
46
+ columns.push({
47
+ id: 'rowNumber',
48
+ header: '#',
49
+ accessorFn: (_, index) => index + 1,
50
+ meta: { style: { width: '30px', maxWidth: '30px' } },
51
+ });
52
+ }
53
+ if (dlv(integralsPreferences, 'from.show')) {
54
+ columns.push({
55
+ header: 'From',
56
+ sortFn: 'basic',
57
+ accessorKey: 'from',
58
+ cell: ({ getValue }) => formatNumber(getValue(), integralsPreferences.from.format),
59
+ });
60
+ }
61
+ if (dlv(integralsPreferences, 'to.show')) {
62
+ columns.push({
63
+ header: 'To',
64
+ sortFn: 'basic',
65
+ accessorKey: 'to',
66
+ cell: ({ getValue }) => formatNumber(getValue(), integralsPreferences.to.format),
67
+ });
68
+ }
69
+ if (dlv(integralsPreferences, 'absolute.show')) {
70
+ columns.push({
71
+ header: 'Absolute',
72
+ accessorKey: 'absolute',
73
+ cell: ({ getValue }) => formatNumber(getValue(), integralsPreferences.absolute.format),
74
+ });
75
+ }
76
+ if (dlv(integralsPreferences, 'relative.show')) {
77
+ columns.push({
78
+ id: 'relative',
79
+ header: () => {
80
+ const n = activeTab?.replaceAll(/\d/g, '');
81
+ return _jsx("span", { children: `Relative ${n}` });
82
+ },
83
+ accessorKey: 'integral',
84
+ cell: ({ getValue, row }) => {
85
+ const value = formatNumber(getValue() || 0, integralsPreferences.relative.format);
86
+ const flag = checkIntegralKind(row.original);
87
+ const integral = flag ? value : `[ ${value} ]`;
88
+ return (_jsx(EditableColumn, { value: integral, onSave: (value) => saveRelativeHandler(value, row.original), type: "number", validate: (val) => val !== '' }, integral));
89
+ },
90
+ });
91
+ }
92
+ if (dlv(integralsPreferences, 'showKind')) {
93
+ columns.push({
94
+ header: 'Kind',
95
+ sortFn: 'basic',
96
+ accessorKey: 'kind',
97
+ cell: ({ getValue, row }) => (_jsx(Select, { onChange: (value) => changeIntegralDataHandler(value, row.original), items: SIGNAL_KINDS, style: selectStyle, defaultValue: getValue() })),
98
+ });
99
+ }
100
+ if (dlv(integralsPreferences, 'showDeleteAction')) {
101
+ columns.push(createActionColumn({
102
+ id: 'delete-action',
99
103
  icon: _jsx(FaRegTrashAlt, {}),
100
104
  onClick: deleteIntegralHandler,
101
- }),
102
- },
103
- ], [
105
+ }));
106
+ }
107
+ return columns;
108
+ }, [
104
109
  activeTab,
105
110
  changeIntegralDataHandler,
106
111
  integralsPreferences,
107
112
  saveRelativeHandler,
108
113
  deleteIntegralHandler,
109
114
  ]);
110
- const tableColumns = useMemo(() => {
111
- const columns = [];
112
- for (const col of COLUMNS) {
113
- const { showWhen, ...colParams } = col;
114
- if (dlv(integralsPreferences, showWhen)) {
115
- addCustomColumn(columns, colParams);
116
- }
117
- }
118
- columns.sort((object1, object2) => object1.index - object2.index);
119
- return columns;
120
- }, [COLUMNS, integralsPreferences]);
121
115
  if (info.isFid) {
122
116
  return _jsx(NoDataForFid, {});
123
117
  }
124
118
  if (data.length === 0) {
125
119
  return _jsx(EmptyText, { text: "No data" });
126
120
  }
127
- return _jsx(ReactTable, { data: data, columns: tableColumns });
121
+ return _jsx(TanStackTable, { data: data, columns: COLUMNS });
128
122
  }
129
123
  export default memo(IntegralTable);
130
124
  //# sourceMappingURL=IntegralTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"IntegralTable.js","sourceRoot":"","sources":["../../../../src/component/panels/IntegralsPanel/IntegralTable.tsx"],"names":[],"mappings":";AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,UAAU,MAAM,yCAAyC,CAAC;AAEjE,OAAO,eAAe,EAAE,EACtB,kBAAkB,GACnB,MAA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,KAAC,aAAa,KAAG;gBACvB,OAAO,EAAE,qBAAqB;aAC/B,CAAC,CACH,CAAC;QACJ,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC,EAAE;QACD,SAAS;QACT,yBAAyB;QACzB,oBAAoB;QACpB,mBAAmB;QACnB,qBAAqB;KACtB,CAAC,CAAC;IAEH,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACf,OAAO,KAAC,YAAY,KAAG,CAAC;IAC1B,CAAC;IAED,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,KAAC,SAAS,IAAC,IAAI,EAAC,SAAS,GAAG,CAAC;IACtC,CAAC;IAED,OAAO,KAAC,aAAa,IAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC;AACzD,CAAC;AAED,eAAe,IAAI,CAAC,aAAa,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { SettingsRef } from '../extra/utilities/settingImperativeHandle.js';
2
- declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("react").RefAttributes<SettingsRef>>>;
2
+ declare const _default: import("react").NamedExoticComponent<import("react").RefAttributes<SettingsRef>>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=IntegralsPreferences.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExclusionsZonesTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx"],"names":[],"mappings":"AASA,wBAAgB,oBAAoB,uCAsEnC"}
1
+ {"version":3,"file":"ExclusionsZonesTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx"],"names":[],"mappings":"AAWA,wBAAgB,oBAAoB,uCA4EnC"}
@@ -1,41 +1,45 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Button, Classes } from '@blueprintjs/core';
3
+ import { useCallback, useMemo } from 'react';
3
4
  import { useFormContext, useWatch } from 'react-hook-form';
4
5
  import { FaRegTrashAlt } from 'react-icons/fa';
5
6
  import { NumberInput2Controller } from '../../elements/NumberInput2Controller.js';
6
- import ReactTable from '../../elements/ReactTable/ReactTable.js';
7
+ import { TanStackTable, createTanStackColumnHelper, } from "../../elements/tanstack_table/index.js";
7
8
  export function ExclusionsZonesTable() {
8
- const { setValue, control } = useFormContext();
9
+ const { setValue, control, getValues } = useFormContext();
9
10
  const exclusionsZones = useWatch({ name: 'exclusionsZones' });
11
+ const handleDelete = useCallback((index) => {
12
+ setValue('exclusionsZones', getValues('exclusionsZones').filter((_, i) => i !== index));
13
+ }, [getValues, setValue]);
14
+ const exclusionsZonesColumns = useMemo(() => {
15
+ const columnHelper = createTanStackColumnHelper();
16
+ return columnHelper.columns([
17
+ {
18
+ header: '#',
19
+ meta: { style: { width: '50px' } },
20
+ accessorFn: (_, index) => index + 1,
21
+ },
22
+ {
23
+ header: 'From',
24
+ cell: ({ row }) => (_jsx(NumberInput2Controller, { control: control, name: `exclusionsZones.${row.index}.from`, fill: true, noShadowBox: true, style: { backgroundColor: 'transparent' } })),
25
+ },
26
+ {
27
+ header: 'To',
28
+ cell: ({ row }) => (_jsx(NumberInput2Controller, { name: `exclusionsZones.${row.index}.to`, fill: true, noShadowBox: true, style: { backgroundColor: 'transparent' } })),
29
+ },
30
+ {
31
+ header: '',
32
+ meta: { style: { width: '70px' } },
33
+ id: 'actions',
34
+ cell: ({ row }) => {
35
+ return (_jsx(Button, { size: "small", variant: "outlined", intent: "danger", onClick: () => handleDelete(row.index), children: _jsx(FaRegTrashAlt, { className: Classes.ICON }) }));
36
+ },
37
+ },
38
+ ]);
39
+ }, [control, handleDelete]);
10
40
  if (!exclusionsZones || !Array.isArray(exclusionsZones)) {
11
41
  return null;
12
42
  }
13
- function handleDelete(index) {
14
- setValue('exclusionsZones', exclusionsZones.filter((_, i) => i !== index));
15
- }
16
- const exclusionsZonesColumns = [
17
- {
18
- Header: '#',
19
- style: { width: '50px' },
20
- accessor: (_, index) => index + 1,
21
- },
22
- {
23
- Header: 'from',
24
- Cell: ({ row }) => (_jsx(NumberInput2Controller, { control: control, name: `exclusionsZones.${row.index}.from`, fill: true, noShadowBox: true, style: { backgroundColor: 'transparent' } })),
25
- },
26
- {
27
- Header: 'To',
28
- Cell: ({ row }) => (_jsx(NumberInput2Controller, { name: `exclusionsZones.${row.index}.to`, fill: true, noShadowBox: true, style: { backgroundColor: 'transparent' } })),
29
- },
30
- {
31
- Header: '',
32
- style: { width: '70px' },
33
- id: 'actions',
34
- Cell: ({ row }) => {
35
- return (_jsx(Button, { size: "small", variant: "outlined", intent: "danger", onClick: () => handleDelete(row.index), children: _jsx(FaRegTrashAlt, { className: Classes.ICON }) }));
36
- },
37
- },
38
- ];
39
- return (_jsx(ReactTable, { columns: exclusionsZonesColumns, data: exclusionsZones, emptyDataRowText: "No Zones" }));
43
+ return (_jsx(TanStackTable, { columns: exclusionsZonesColumns, data: exclusionsZones, emptyDataRowText: "No Zones" }));
40
44
  }
41
45
  //# sourceMappingURL=ExclusionsZonesTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExclusionsZonesTable.js","sourceRoot":"","sources":["../../../../src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAElF,OAAO,UAAU,MAAM,yCAAyC,CAAC;AAEjE,MAAM,UAAU,oBAAoB;IAClC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,cAAc,EAAO,CAAC;IACpD,MAAM,eAAe,GAAG,QAAQ,CAAC,EAAE,IAAI,EAAE,iB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ACZ,OAAO,EAAC,UAAU,EAClB,MAAM,EAAC,QAAQ,EACf,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,YAEtC,KAAC,aAAa,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI,GAAI,GACnC,CACV,CAAC;YACJ,CAAC;SACF;KACF,CAAC;IAEF,OAAO,CACL,KAAC,UAAU,IACT,OAAO,EAAE,sBAAsB,EAC/B,IAAI,EAAE,eAAe,EACrB,gBAAgB,EAAC,UAAU,GAC3B,CACH,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ExclusionsZonesTable.js","sourceRoot":"","sources":["../../../../src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EACL,aAAa,EACb,0BAA0B,GAC3B,MAAM,wCAAwC,CAAC;AAEhD,MAAM,UAAU,oBAAoB;IAClC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,cAAc,EAAO,CAAC;IAC/D,MAAM,eAAe,GAAG,QAAQ,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,CAAC;IAE9D,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,KAAa,EAAE,EAAE;QAChB,QAAQ,CACN,iBAAiB,EACjB,SAAS,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAM,EAAE,CAAS,EAAE,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CACxE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AAC,GAAG,CAAC,KAAK,CAAC,YAEtC,KAAC,aAAa,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI,GAAI,GACnC,CACV,CAAC;gBACJ,CAAC;aACF;SACF,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC;IAE5B,IAAI,CAAC,eAAe,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC;QACxD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,KAAC,aAAa,IACZ,OAAO,EAAE,sBAAsB,EAC/B,IAAI,EAAE,eAAe,EACrB,gBAAgB,EAAC,UAAU,GAC3B,CACH,CAAC;AACJ,CAAC"}
@@ -4,6 +4,7 @@ export declare function useExtractAtomAssignmentLabel(): {
4
4
  assignment: string | undefined;
5
5
  previousAssignment: string | undefined;
6
6
  } | undefined;
7
+ getAssignmentLabelByDiaIDs: (diaIDs: string[]) => string | undefined;
7
8
  getAssignmentLabelById: (moleculeId: string, oclID: string, molfile?: string) => string | undefined;
8
9
  onAtomHover: (atom: DiaIDAndInfo | undefined) => void;
9
10
  getLastHoverAtom: () => DiaIDAndInfo | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useExtractAtomAssignmentLabel.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKtD,wBAAgB,6BAA6B;4CAmDI,MAAM,YAAY,MAAM;;;;yCAjBzD,MAAM,SACX,MAAM,YACH,MAAM;wBAPS,YAAY,GAAG,SAAS;;sCANV,MAAM,YAAY,MAAM;EA4ClE"}
1
+ {"version":3,"file":"useExtractAtomAssignmentLabel.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAwBtD,wBAAgB,6BAA6B;4CA+DI,MAAM,YAAY,MAAM;;;;yCAlB3B,MAAM,EAAE;yCAXtC,MAAM,SACX,MAAM,YACH,MAAM;wBAPS,YAAY,GAAG,SAAS;;sCANV,MAAM,YAAY,MAAM;EAyDlE"}