nmrium 2.4.0 → 2.6.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.
- package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +158 -173
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +6 -6
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -1
- package/lib/component/1d/HorizontalAxis1D.js +4 -1
- package/lib/component/1d/HorizontalAxis1D.js.map +1 -1
- package/lib/component/1d/PredictionErrorsNotations.js +1 -1
- package/lib/component/1d/PredictionErrorsNotations.js.map +1 -1
- package/lib/component/1d/SVGContent1D.d.ts.map +1 -1
- package/lib/component/1d/SVGContent1D.js +2 -1
- package/lib/component/1d/SVGContent1D.js.map +1 -1
- package/lib/component/1d/SimilarityTree.js +2 -2
- package/lib/component/1d/SimilarityTree.js.map +1 -1
- package/lib/component/1d/Viewer1D.d.ts.map +1 -1
- package/lib/component/1d/Viewer1D.js +2 -1
- package/lib/component/1d/Viewer1D.js.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.d.ts.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.js +47 -22
- package/lib/component/1d/baseline/BaselinePreview.js.map +1 -1
- package/lib/component/1d/baseline/getMedianY.d.ts +5 -1
- package/lib/component/1d/baseline/getMedianY.d.ts.map +1 -1
- package/lib/component/1d/baseline/getMedianY.js +19 -5
- package/lib/component/1d/baseline/getMedianY.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js +1 -1
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.d.ts.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.js +4 -4
- package/lib/component/1d/integral/IntegralResizable.js.map +1 -1
- package/lib/component/1d/matrix/useMatrix.d.ts.map +1 -1
- package/lib/component/1d/matrix/useMatrix.js +2 -2
- package/lib/component/1d/matrix/useMatrix.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +3 -3
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.js +2 -3
- package/lib/component/1d/ranges/FloatingRanges.js.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts.map +1 -1
- package/lib/component/1d/ranges/Range.js +6 -5
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +1 -1
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/ranges/Signals.d.ts +2 -0
- package/lib/component/1d/ranges/Signals.d.ts.map +1 -0
- package/lib/component/1d/ranges/Signals.js +16 -0
- package/lib/component/1d/ranges/Signals.js.map +1 -0
- package/lib/component/1d-2d/FieldEdition.d.ts +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js +35 -31
- package/lib/component/1d-2d/FieldEdition.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
- package/lib/component/1d-2d/components/RangeIndicator.d.ts +13 -0
- package/lib/component/1d-2d/components/RangeIndicator.d.ts.map +1 -0
- package/lib/component/1d-2d/components/RangeIndicator.js +52 -0
- package/lib/component/1d-2d/components/RangeIndicator.js.map +1 -0
- package/lib/component/1d-2d/components/Signals1D.d.ts +19 -0
- package/lib/component/1d-2d/components/Signals1D.d.ts.map +1 -0
- package/lib/component/1d-2d/components/Signals1D.js +157 -0
- package/lib/component/1d-2d/components/Signals1D.js.map +1 -0
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.js +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.js.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.js +40 -28
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +16 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js +51 -36
- package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
- package/lib/component/1d-2d/tools/CursorToolIcon.d.ts +9 -0
- package/lib/component/1d-2d/tools/CursorToolIcon.d.ts.map +1 -0
- package/lib/component/1d-2d/tools/CursorToolIcon.js +58 -0
- package/lib/component/1d-2d/tools/CursorToolIcon.js.map +1 -0
- package/lib/component/1d-2d/tools/DistanceLine.d.ts +29 -0
- package/lib/component/1d-2d/tools/DistanceLine.d.ts.map +1 -0
- package/lib/component/1d-2d/tools/DistanceLine.js +132 -0
- package/lib/component/1d-2d/tools/DistanceLine.js.map +1 -0
- package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js +5 -3
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Ranges1D.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Ranges1D.js +4 -60
- package/lib/component/2d/1d-tracer/Ranges1D.js.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.js +5 -3
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js +20 -10
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/DirectAxis2D.d.ts.map +1 -1
- package/lib/component/2d/DirectAxis2D.js +4 -1
- package/lib/component/2d/DirectAxis2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.js +2 -2
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -1
- package/lib/component/2d/IndirectAxis2D.js +5 -2
- package/lib/component/2d/IndirectAxis2D.js.map +1 -1
- package/lib/component/2d/SignalDeltaLine.js +1 -1
- package/lib/component/2d/SignalDeltaLine.js.map +1 -1
- package/lib/component/2d/Viewer2D.d.ts.map +1 -1
- package/lib/component/2d/Viewer2D.js +3 -1
- package/lib/component/2d/Viewer2D.js.map +1 -1
- package/lib/component/2d/fid/FidCanvas.js +2 -2
- package/lib/component/2d/fid/FidCanvas.js.map +1 -1
- package/lib/component/2d/fid/FidContainer.js +3 -3
- package/lib/component/2d/fid/FidContainer.js.map +1 -1
- package/lib/component/2d/ft/Contours.d.ts.map +1 -1
- package/lib/component/2d/ft/Contours.js +37 -1
- package/lib/component/2d/ft/Contours.js.map +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
- package/lib/component/2d/ft/FTContainer.js +2 -3
- package/lib/component/2d/ft/FTContainer.js.map +1 -1
- package/lib/component/2d/useTracesSpectra.d.ts.map +1 -1
- package/lib/component/2d/useTracesSpectra.js +5 -3
- package/lib/component/2d/useTracesSpectra.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +2 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js +26 -25
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +1 -1
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +15 -18
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/AnchorSVG.d.ts +6 -7
- package/lib/component/AnchorSVG.d.ts.map +1 -1
- package/lib/component/AnchorSVG.js +11 -7
- package/lib/component/AnchorSVG.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +15 -5
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +5 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts +3 -0
- package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js +15 -0
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js +1 -1
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/DispatchContext.d.ts +2 -1
- package/lib/component/context/DispatchContext.d.ts.map +1 -1
- package/lib/component/context/DispatchContext.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js +13 -13
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/KeyModifierContext.d.ts +5 -12
- package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
- package/lib/component/context/KeyModifierContext.js +25 -27
- package/lib/component/context/KeyModifierContext.js.map +1 -1
- package/lib/component/context/processings_mutations_context.api.d.ts +14 -0
- package/lib/component/context/processings_mutations_context.api.d.ts.map +1 -0
- package/lib/component/context/processings_mutations_context.api.js +275 -0
- package/lib/component/context/processings_mutations_context.api.js.map +1 -0
- package/lib/component/context/processings_mutations_context.d.ts +5 -0
- package/lib/component/context/processings_mutations_context.d.ts.map +1 -0
- package/lib/component/context/processings_mutations_context.js +16 -0
- package/lib/component/context/processings_mutations_context.js.map +1 -0
- package/lib/component/elements/D3Axis.d.ts.map +1 -1
- package/lib/component/elements/D3Axis.js +4 -3
- package/lib/component/elements/D3Axis.js.map +1 -1
- package/lib/component/elements/NumberInput2Controller.d.ts +1 -0
- package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2Controller.js +14 -3
- package/lib/component/elements/NumberInput2Controller.js.map +1 -1
- package/lib/component/elements/Sections.d.ts.map +1 -1
- package/lib/component/elements/Sections.js +1 -1
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/TableHeaderLabel.d.ts +9 -0
- package/lib/component/elements/TableHeaderLabel.d.ts.map +1 -0
- package/lib/component/elements/TableHeaderLabel.js +30 -0
- package/lib/component/elements/TableHeaderLabel.js.map +1 -0
- package/lib/component/elements/print/PrintContent.d.ts +1 -0
- package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
- package/lib/component/elements/print/PrintContent.js +77 -72
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.js +59 -31
- package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Header.d.ts.map +1 -1
- package/lib/component/header/Header.js +59 -5
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.js +34 -19
- package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +10 -36
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/use2DReducer.d.ts.map +1 -1
- package/lib/component/hooks/use2DReducer.js +2 -2
- package/lib/component/hooks/use2DReducer.js.map +1 -1
- package/lib/component/hooks/useAddMultipletSignal.d.ts +7 -0
- package/lib/component/hooks/useAddMultipletSignal.d.ts.map +1 -0
- package/lib/component/hooks/useAddMultipletSignal.js +28 -0
- package/lib/component/hooks/useAddMultipletSignal.js.map +1 -0
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts.map +1 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +3 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.js +6 -1
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useFilter.d.ts.map +1 -1
- package/lib/component/hooks/useFilter.js.map +1 -1
- package/lib/component/hooks/useSpectraBottomMargin.js +1 -1
- package/lib/component/hooks/useSpectraBottomMargin.js.map +1 -1
- package/lib/component/hooks/useSpectrum.d.ts +7 -1
- package/lib/component/hooks/useSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useSpectrum.js +10 -2
- package/lib/component/hooks/useSpectrum.js.map +1 -1
- package/lib/component/hooks/useSpectrumWithDataSource.d.ts +1 -1
- package/lib/component/hooks/useSpectrumWithDataSource.d.ts.map +1 -1
- package/lib/component/hooks/useSpectrumWithDataSource.js.map +1 -1
- package/lib/component/hooks/useTempSpectrum.d.ts +1 -1
- package/lib/component/hooks/useTempSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useTextMetrics.d.ts +2 -4
- package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
- package/lib/component/hooks/useTextMetrics.js +3 -2
- package/lib/component/hooks/useTextMetrics.js.map +1 -1
- package/lib/component/hooks/use_axis_unit.d.ts +3 -3
- package/lib/component/hooks/use_axis_unit.d.ts.map +1 -1
- package/lib/component/hooks/use_axis_unit.js +2 -8
- package/lib/component/hooks/use_axis_unit.js.map +1 -1
- package/lib/component/hooks/use_publication_strings.d.ts.map +1 -1
- package/lib/component/hooks/use_publication_strings.js +2 -3
- package/lib/component/hooks/use_publication_strings.js.map +1 -1
- package/lib/component/hooks/use_ticks_config.d.ts +1 -4
- package/lib/component/hooks/use_ticks_config.d.ts.map +1 -1
- package/lib/component/hooks/use_ticks_config.js +1 -6
- package/lib/component/hooks/use_ticks_config.js.map +1 -1
- package/lib/component/hooks/use_view_spectra.d.ts +6 -0
- package/lib/component/hooks/use_view_spectra.d.ts.map +1 -0
- package/lib/component/hooks/use_view_spectra.js +13 -0
- package/lib/component/hooks/use_view_spectra.js.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts.map +1 -1
- package/lib/component/hooks/use_visible_spectra_1d.js +4 -2
- package/lib/component/hooks/use_visible_spectra_1d.js.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.js +6 -5
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRium.d.ts +2 -2
- package/lib/component/main/NMRium.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +2 -1
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/types.d.ts +1 -1
- package/lib/component/main/types.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.js +102 -60
- package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +22 -21
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +4 -4
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -3
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.js +12 -20
- package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaLabel.d.ts +6 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.d.ts.map +1 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.js +12 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.js.map +1 -0
- package/lib/component/modal/editRange/forms/components/SignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalTab.js +2 -16
- package/lib/component/modal/editRange/forms/components/SignalTab.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.js +32 -7
- package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +18 -3
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +211 -85
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +2 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +211 -85
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +211 -85
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +24 -7
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js +12 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +2 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +4 -2
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +5 -4
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +2 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +3 -4
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +3 -4
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +28 -28
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts +22 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js +15 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js +4 -3
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +6 -6
- package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts +4 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js +3 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +66 -43
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +25 -9
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +2 -3
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +15 -3
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js +49 -27
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js +1 -3
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +12 -11
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +8 -15
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js +6 -3
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +8 -6
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +12 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +14 -13
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +18 -15
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js +7 -5
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js +4 -4
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js.map +1 -1
- package/lib/component/panels/SummaryPanel/Overview.d.ts +3 -7
- package/lib/component/panels/SummaryPanel/Overview.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/Overview.js +2 -5
- package/lib/component/panels/SummaryPanel/Overview.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +17 -18
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +7 -7
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +34 -31
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +122 -101
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +3 -0
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +14 -16
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js +3 -3
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js +2 -2
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +10 -26
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +3 -4
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +4 -19
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +4 -7
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts +11 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js +34 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.d.ts +16 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.js +88 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.d.ts +12 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.js +17 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts +11 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.js +31 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.d.ts +3 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.js +15 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings_sections_panel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/processings_sections_panel.js +38 -117
- package/lib/component/panels/filtersPanel/processings_sections_panel.js.map +1 -1
- package/lib/component/panels/informationPanel/InformationPanel.js +1 -1
- package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts +18 -2
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +27 -6
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.js +1 -2
- package/lib/component/reducer/actions/AssignmentsActions.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.d.ts +4 -4
- package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +11 -12
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +25 -9
- package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +25 -15
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +2 -0
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +37 -60
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +1 -1
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js +2 -1
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +3 -3
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +2 -6
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +1 -2
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts +5 -2
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +18 -3
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +5 -3
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +12 -3
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +57 -36
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +5 -5
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +3 -8
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.d.ts +9 -2
- package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.js +27 -12
- package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
- package/lib/component/reducer/actions/processings_actions.d.ts +30 -0
- package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -0
- package/lib/component/reducer/actions/processings_actions.js +50 -0
- package/lib/component/reducer/actions/processings_actions.js.map +1 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +1 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js +10 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js +4 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.d.ts +2 -2
- package/lib/component/reducer/preferences/actions/setPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.js +8 -5
- package/lib/component/reducer/preferences/actions/setPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +2 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +3 -3
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -4
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js +2 -9
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -1
- package/lib/component/toolbar/ToolTypes.d.ts +21 -1
- package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
- package/lib/component/toolbar/ToolTypes.js +55 -0
- package/lib/component/toolbar/ToolTypes.js.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.js +54 -53
- package/lib/component/toolbar/nmr_toolbar.js.map +1 -1
- package/lib/component/utility/core_slots/core_operator_expanded.d.ts +10 -0
- package/lib/component/utility/core_slots/core_operator_expanded.d.ts.map +1 -0
- package/lib/component/utility/{CoreSlot.js → core_slots/core_operator_expanded.js} +2 -21
- package/lib/component/utility/core_slots/core_operator_expanded.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_name.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_name.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_name.js +10 -0
- package/lib/component/utility/core_slots/core_operator_name.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.js +15 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_tool.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.js +15 -0
- package/lib/component/utility/core_slots/core_operator_tool.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_topbar.d.ts +8 -0
- package/lib/component/utility/core_slots/core_operator_topbar.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_topbar.js +36 -0
- package/lib/component/utility/core_slots/core_operator_topbar.js.map +1 -0
- package/lib/component/utility/core_slots/core_slot.d.ts +17 -0
- package/lib/component/utility/core_slots/core_slot.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_slot.js +14 -0
- package/lib/component/utility/core_slots/core_slot.js.map +1 -0
- package/lib/component/utility/formatNumber.d.ts +2 -0
- package/lib/component/utility/formatNumber.d.ts.map +1 -1
- package/lib/component/utility/formatNumber.js +9 -2
- package/lib/component/utility/formatNumber.js.map +1 -1
- package/lib/component/utility/toolbar_item_error.d.ts +3 -0
- package/lib/component/utility/toolbar_item_error.d.ts.map +1 -0
- package/lib/component/utility/toolbar_item_error.js +14 -0
- package/lib/component/utility/toolbar_item_error.js.map +1 -0
- package/lib/component/workspaces/assignment.d.ts.map +1 -1
- package/lib/component/workspaces/assignment.js +1 -0
- package/lib/component/workspaces/assignment.js.map +1 -1
- package/lib/component/workspaces/basic.d.ts.map +1 -1
- package/lib/component/workspaces/basic.js +1 -0
- package/lib/component/workspaces/basic.js.map +1 -1
- package/lib/component/workspaces/exercise.d.ts.map +1 -1
- package/lib/component/workspaces/exercise.js +1 -0
- package/lib/component/workspaces/exercise.js.map +1 -1
- package/lib/component/workspaces/prediction.d.ts.map +1 -1
- package/lib/component/workspaces/prediction.js +1 -0
- package/lib/component/workspaces/prediction.js.map +1 -1
- package/lib/component/workspaces/process1D.d.ts.map +1 -1
- package/lib/component/workspaces/process1D.js +1 -0
- package/lib/component/workspaces/process1D.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +20 -2
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +2 -3
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/SumManager.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/SumManager.js +2 -1
- package/lib/data/data1d/Spectrum1D/SumManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts +0 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.js +0 -1
- package/lib/data/data1d/Spectrum1D/index.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +17 -6
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.d.ts +7 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.d.ts.map +1 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.js +14 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.js.map +1 -0
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +2 -2
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +1 -2
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +2 -2
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.js +3 -3
- package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/index.d.ts +0 -1
- package/lib/data/data2d/Spectrum2D/index.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/index.js +0 -1
- package/lib/data/data2d/Spectrum2D/index.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +12 -4
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/get_view_spectra.d.ts +11 -0
- package/lib/data/get_view_spectra.d.ts.map +1 -0
- package/lib/data/get_view_spectra.js +10 -0
- package/lib/data/get_view_spectra.js.map +1 -0
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/data/utilities/FindUtilities.js +1 -2
- package/lib/data/utilities/FindUtilities.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts +1 -6
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js +12 -27
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/getPeakAbsoluteArea.d.ts +3 -0
- package/lib/data/utilities/getPeakAbsoluteArea.d.ts.map +1 -0
- package/lib/data/utilities/getPeakAbsoluteArea.js +6 -0
- package/lib/data/utilities/getPeakAbsoluteArea.js.map +1 -0
- package/lib/versionInfo.js +1 -1
- package/package.json +42 -44
- package/src/component/1d/BrushTracker1D.tsx +170 -185
- package/src/component/1d/FloatPublicationString.tsx +6 -6
- package/src/component/1d/HorizontalAxis1D.tsx +12 -2
- package/src/component/1d/PredictionErrorsNotations.tsx +1 -1
- package/src/component/1d/SVGContent1D.tsx +2 -0
- package/src/component/1d/SimilarityTree.tsx +2 -2
- package/src/component/1d/Viewer1D.tsx +2 -0
- package/src/component/1d/baseline/BaselinePreview.tsx +43 -13
- package/src/component/1d/baseline/getMedianY.ts +23 -5
- package/src/component/1d/inset/DraggableInset.tsx +1 -1
- package/src/component/1d/integral/IntegralResizable.tsx +6 -6
- package/src/component/1d/matrix/useMatrix.ts +2 -2
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +4 -3
- package/src/component/1d/peaks/PeakAnnotations.tsx +1 -1
- package/src/component/1d/ranges/AssignmentLabel.tsx +1 -0
- package/src/component/1d/ranges/FloatingRanges.tsx +3 -4
- package/src/component/1d/ranges/Range.tsx +9 -11
- package/src/component/1d/ranges/Ranges.tsx +1 -1
- package/src/component/1d/ranges/Signals.tsx +28 -0
- package/src/component/1d-2d/FieldEdition.tsx +56 -63
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
- package/src/component/1d-2d/components/RangeIndicator.tsx +106 -0
- package/src/component/1d-2d/components/Signals1D.tsx +310 -0
- package/src/component/1d-2d/components/axis_unit_picker.tsx +1 -1
- package/src/component/1d-2d/tools/BrushXY.tsx +45 -28
- package/src/component/1d-2d/tools/CrossLinePointer.tsx +109 -54
- package/src/component/1d-2d/tools/CursorToolIcon.tsx +110 -0
- package/src/component/1d-2d/tools/DistanceLine.tsx +253 -0
- package/src/component/2d/1d-tracer/Left1DChart.tsx +7 -5
- package/src/component/2d/1d-tracer/Ranges1D.tsx +4 -100
- package/src/component/2d/1d-tracer/Top1DChart.tsx +8 -6
- package/src/component/2d/BrushTracker2D.tsx +25 -13
- package/src/component/2d/DirectAxis2D.tsx +12 -3
- package/src/component/2d/FooterBanner.tsx +2 -5
- package/src/component/2d/IndirectAxis2D.tsx +9 -5
- package/src/component/2d/SignalDeltaLine.tsx +1 -1
- package/src/component/2d/Viewer2D.tsx +7 -2
- package/src/component/2d/fid/FidCanvas.tsx +2 -2
- package/src/component/2d/fid/FidContainer.tsx +4 -4
- package/src/component/2d/ft/Contours.tsx +93 -24
- package/src/component/2d/ft/FTContainer.tsx +3 -4
- package/src/component/2d/useTracesSpectra.ts +5 -3
- package/src/component/2d/utilities/extractSpectrumSignals.ts +34 -26
- package/src/component/2d/utilities/scale.ts +1 -1
- package/src/component/2d/zones/SignalsGuideLines.tsx +18 -25
- package/src/component/AnchorSVG.tsx +33 -34
- package/src/component/EventsTrackers/BrushTracker.tsx +22 -8
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +6 -1
- package/src/component/EventsTrackers/MouseTracker.tsx +21 -0
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/DispatchContext.tsx +3 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +15 -15
- package/src/component/context/KeyModifierContext.tsx +48 -38
- package/src/component/context/processings_mutations_context.api.ts +371 -0
- package/src/component/context/processings_mutations_context.tsx +28 -0
- package/src/component/elements/D3Axis.tsx +31 -9
- package/src/component/elements/NumberInput2Controller.tsx +20 -1
- package/src/component/elements/Sections.tsx +1 -1
- package/src/component/elements/TableHeaderLabel.tsx +50 -0
- package/src/component/elements/print/PrintContent.tsx +130 -122
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +179 -102
- package/src/component/header/Header.tsx +99 -8
- package/src/component/header/RangesPickingOptionPanel.tsx +72 -59
- package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +1 -3
- package/src/component/header/base/BaseSimpleZeroFillingOptionsPanel.tsx +7 -4
- package/src/component/highlight/index.tsx +11 -37
- package/src/component/hooks/use2DReducer.tsx +2 -2
- package/src/component/hooks/useAddMultipletSignal.tsx +32 -0
- package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +4 -2
- package/src/component/hooks/useCheckToolsVisibility.ts +11 -1
- package/src/component/hooks/useFilter.ts +2 -1
- package/src/component/hooks/useSpectraBottomMargin.ts +1 -1
- package/src/component/hooks/useSpectrum.ts +19 -2
- package/src/component/hooks/useSpectrumWithDataSource.ts +16 -8
- package/src/component/hooks/useTextMetrics.ts +10 -9
- package/src/component/hooks/use_axis_unit.ts +2 -8
- package/src/component/hooks/use_publication_strings.ts +2 -4
- package/src/component/hooks/use_ticks_config.ts +1 -7
- package/src/component/hooks/use_view_spectra.ts +16 -0
- package/src/component/hooks/use_visible_spectra_1d.ts +5 -2
- package/src/component/main/InnerNMRium.tsx +50 -47
- package/src/component/main/NMRium.tsx +2 -2
- package/src/component/main/NMRiumStateProvider.tsx +4 -1
- package/src/component/main/types.ts +1 -1
- package/src/component/modal/EditPeakShapeModal.tsx +179 -118
- package/src/component/modal/LoadJCAMPModal.tsx +58 -57
- package/src/component/modal/PublicationStringModal.tsx +4 -5
- package/src/component/modal/aboutUs/AboutUsModal.tsx +1 -1
- package/src/component/modal/editRange/EditRangeModal.tsx +1 -1
- package/src/component/modal/editRange/forms/components/DeltaInput.tsx +17 -31
- package/src/component/modal/editRange/forms/components/DeltaLabel.tsx +19 -0
- package/src/component/modal/editRange/forms/components/SignalTab.tsx +5 -21
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +40 -6
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +1 -1
- package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +75 -52
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +3 -3
- package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +2 -1
- package/src/component/modal/setting/tanstack_general_settings/tabs/axis_tab.tsx +76 -12
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +10 -5
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +8 -4
- package/src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx +3 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +3 -4
- package/src/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.ts +16 -2
- package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +4 -3
- package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts +3 -2
- package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +1 -0
- package/src/component/panels/AutomaticAssignment/AutomaticAssignment.tsx +1 -1
- package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +29 -12
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +1 -1
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +2 -3
- package/src/component/panels/MoleculesPanel/utilities/getAssignIds.ts +1 -2
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +15 -3
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +92 -29
- package/src/component/panels/RangesPanel/RangesPanel.tsx +1 -3
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +13 -11
- package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.tsx +2 -2
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +1 -1
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +10 -18
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.tsx +6 -3
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +45 -44
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +23 -21
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +1 -1
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +33 -28
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx +14 -11
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx +12 -10
- package/src/component/panels/SummaryPanel/Overview.tsx +4 -12
- package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +2 -2
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +32 -33
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +60 -58
- package/src/component/panels/SummaryPanel/utilities/useInView.ts +1 -1
- package/src/component/panels/databasePanel/DatabasePanel.tsx +173 -121
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +41 -16
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +3 -8
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +2 -4
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +6 -8
- package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +9 -13
- package/src/component/panels/filtersPanel/processings/operator_edit_banner.tsx +73 -0
- package/src/component/panels/filtersPanel/processings/processing_item.tsx +211 -0
- package/src/component/panels/filtersPanel/processings/processing_item_extra.tsx +63 -0
- package/src/component/panels/filtersPanel/processings/use_live_edit.ts +47 -0
- package/src/component/panels/filtersPanel/processings/use_live_operation.ts +22 -0
- package/src/component/panels/filtersPanel/processings_sections_panel.tsx +92 -276
- package/src/component/panels/informationPanel/InformationPanel.tsx +1 -1
- package/src/component/reducer/Reducer.ts +51 -8
- package/src/component/reducer/actions/AssignmentsActions.ts +1 -2
- package/src/component/reducer/actions/CorrelationsActions.ts +22 -20
- package/src/component/reducer/actions/DatabaseActions.ts +29 -15
- package/src/component/reducer/actions/DomainActions.ts +35 -24
- package/src/component/reducer/actions/FiltersActions.ts +57 -78
- package/src/component/reducer/actions/InsetActions.ts +1 -1
- package/src/component/reducer/actions/IntegralsActions.ts +1 -1
- package/src/component/reducer/actions/LoadAction.ts +8 -5
- package/src/component/reducer/actions/MoleculeActions.ts +1 -2
- package/src/component/reducer/actions/PeaksActions.ts +29 -2
- package/src/component/reducer/actions/PreferencesActions.ts +7 -4
- package/src/component/reducer/actions/RangesActions.ts +85 -41
- package/src/component/reducer/actions/SpectraActions.ts +7 -5
- package/src/component/reducer/actions/ToolsActions.ts +4 -10
- package/src/component/reducer/actions/ZonesActions.ts +44 -14
- package/src/component/reducer/actions/processings_actions.ts +130 -0
- package/src/component/reducer/helper/ZoomHistoryManager.ts +17 -0
- package/src/component/reducer/preferences/actions/initPreferences.ts +4 -1
- package/src/component/reducer/preferences/actions/setPreferences.ts +18 -10
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +2 -0
- package/src/component/reducer/preferences/preferencesReducer.ts +4 -4
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +9 -21
- package/src/component/toolbar/ToolTypes.ts +107 -1
- package/src/component/toolbar/nmr_toolbar.tsx +56 -73
- package/src/component/utility/{CoreSlot.tsx → core_slots/core_operator_expanded.tsx} +5 -57
- package/src/component/utility/core_slots/core_operator_name.tsx +21 -0
- package/src/component/utility/core_slots/core_operator_panel_tool.tsx +41 -0
- package/src/component/utility/core_slots/core_operator_tool.tsx +41 -0
- package/src/component/utility/core_slots/core_operator_topbar.tsx +65 -0
- package/src/component/utility/core_slots/core_slot.tsx +39 -0
- package/src/component/utility/formatNumber.ts +24 -2
- package/src/component/utility/toolbar_item_error.tsx +29 -0
- package/src/component/workspaces/assignment.ts +1 -0
- package/src/component/workspaces/basic.ts +1 -0
- package/src/component/workspaces/exercise.ts +1 -0
- package/src/component/workspaces/prediction.ts +1 -0
- package/src/component/workspaces/process1D.ts +1 -0
- package/src/component/workspaces/workspaceDefaultProperties.ts +20 -2
- package/src/data/SpectraManager.ts +2 -3
- package/src/data/data1d/Spectrum1D/SumManager.ts +1 -1
- package/src/data/data1d/Spectrum1D/index.ts +0 -1
- package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +17 -9
- package/src/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.ts +26 -0
- package/src/data/data1d/multipleSpectraAnalysis.ts +2 -1
- package/src/data/data2d/Spectrum2D/contours.ts +3 -5
- package/src/data/data2d/Spectrum2D/getSlice.ts +3 -4
- package/src/data/data2d/Spectrum2D/index.ts +0 -1
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +12 -4
- package/src/data/get_view_spectra.ts +21 -0
- package/src/data/utilities/FindUtilities.ts +1 -3
- package/src/data/utilities/RangeUtilities.ts +14 -35
- package/src/data/utilities/getPeakAbsoluteArea.ts +7 -0
- package/src/versionInfo.ts +1 -1
- package/lib/component/1d/integral/IntegralIndicator.d.ts +0 -9
- package/lib/component/1d/integral/IntegralIndicator.d.ts.map +0 -1
- package/lib/component/1d/integral/IntegralIndicator.js +0 -22
- package/lib/component/1d/integral/IntegralIndicator.js.map +0 -1
- package/lib/component/2d/1d-tracer/Signals1D.d.ts +0 -11
- package/lib/component/2d/1d-tracer/Signals1D.d.ts.map +0 -1
- package/lib/component/2d/1d-tracer/Signals1D.js +0 -90
- package/lib/component/2d/1d-tracer/Signals1D.js.map +0 -1
- package/lib/component/utility/CoreSlot.d.ts +0 -27
- package/lib/component/utility/CoreSlot.d.ts.map +0 -1
- package/lib/component/utility/CoreSlot.js.map +0 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +0 -5
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +0 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js +0 -10
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js.map +0 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +0 -14
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +0 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +0 -22
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +0 -1
- package/src/component/1d/integral/IntegralIndicator.tsx +0 -43
- package/src/component/2d/1d-tracer/Signals1D.tsx +0 -145
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +0 -19
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +0 -36
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { SvgNmrAlignBottom, SvgNmrAlignCenter, SvgNmrApodization, SvgNmrBaselineCorrection, SvgNmrFourierTransform, SvgNmrIntegrate, SvgNmrMultipleAnalysis, SvgNmrOverlay3, SvgNmrOverlay3Aligned, SvgNmrPeakPicking, SvgNmrPhaseCorrection, SvgNmrRangePicking, SvgNmrRealImag, SvgNmrZeroFilling, } from 'cheminfo-font';
|
|
1
2
|
import { Filters1D, Filters2D } from 'nmr-processing';
|
|
3
|
+
import { FaDiceFour, FaExpand, FaFileExport, FaFileImport, FaICursor, } from 'react-icons/fa';
|
|
4
|
+
import { GrShift } from 'react-icons/gr';
|
|
5
|
+
import { PiKnifeBold, PiSelectionPlusDuotone } from 'react-icons/pi';
|
|
6
|
+
import { TbZoom } from 'react-icons/tb';
|
|
2
7
|
export const options = {
|
|
3
8
|
zoom: {
|
|
4
9
|
id: 'zoom',
|
|
5
10
|
label: 'Zoom in / out',
|
|
11
|
+
icon: TbZoom,
|
|
6
12
|
hasOptionPanel: false,
|
|
7
13
|
isFilter: false,
|
|
8
14
|
isToggle: true,
|
|
@@ -10,6 +16,7 @@ export const options = {
|
|
|
10
16
|
peakPicking: {
|
|
11
17
|
id: 'peakPicking',
|
|
12
18
|
label: 'Peaks picking',
|
|
19
|
+
icon: SvgNmrPeakPicking,
|
|
13
20
|
hasOptionPanel: true,
|
|
14
21
|
isFilter: false,
|
|
15
22
|
mode: '1D',
|
|
@@ -25,6 +32,7 @@ export const options = {
|
|
|
25
32
|
integral: {
|
|
26
33
|
id: 'integral',
|
|
27
34
|
label: 'Integral Tool',
|
|
35
|
+
icon: SvgNmrIntegrate,
|
|
28
36
|
hasOptionPanel: false,
|
|
29
37
|
isFilter: false,
|
|
30
38
|
mode: '1D',
|
|
@@ -38,6 +46,7 @@ export const options = {
|
|
|
38
46
|
inset: {
|
|
39
47
|
id: 'inset',
|
|
40
48
|
label: 'Inset Tool',
|
|
49
|
+
icon: PiSelectionPlusDuotone,
|
|
41
50
|
hasOptionPanel: false,
|
|
42
51
|
isFilter: false,
|
|
43
52
|
mode: '1D',
|
|
@@ -51,6 +60,7 @@ export const options = {
|
|
|
51
60
|
zonePicking: {
|
|
52
61
|
id: 'zonePicking',
|
|
53
62
|
label: 'Zone tool',
|
|
63
|
+
icon: FaDiceFour,
|
|
54
64
|
hasOptionPanel: true,
|
|
55
65
|
isFilter: false,
|
|
56
66
|
mode: '2D',
|
|
@@ -64,6 +74,7 @@ export const options = {
|
|
|
64
74
|
slicing: {
|
|
65
75
|
id: 'slicing',
|
|
66
76
|
label: 'Slicing tool',
|
|
77
|
+
icon: PiKnifeBold,
|
|
67
78
|
hasOptionPanel: false,
|
|
68
79
|
isFilter: false,
|
|
69
80
|
mode: '2D',
|
|
@@ -77,6 +88,7 @@ export const options = {
|
|
|
77
88
|
rangePicking: {
|
|
78
89
|
id: 'rangePicking',
|
|
79
90
|
label: 'Range picking and multiplet analysis',
|
|
91
|
+
icon: SvgNmrRangePicking,
|
|
80
92
|
hasOptionPanel: true,
|
|
81
93
|
isFilter: false,
|
|
82
94
|
mode: '1D',
|
|
@@ -90,6 +102,7 @@ export const options = {
|
|
|
90
102
|
apodization: {
|
|
91
103
|
id: Filters1D.apodization.name,
|
|
92
104
|
label: Filters1D.apodization.label,
|
|
105
|
+
icon: SvgNmrApodization,
|
|
93
106
|
hasOptionPanel: true,
|
|
94
107
|
isFilter: true,
|
|
95
108
|
mode: '1D',
|
|
@@ -106,6 +119,7 @@ export const options = {
|
|
|
106
119
|
zeroFilling: {
|
|
107
120
|
id: Filters1D.zeroFilling.name,
|
|
108
121
|
label: Filters1D.zeroFilling.label,
|
|
122
|
+
icon: SvgNmrZeroFilling,
|
|
109
123
|
hasOptionPanel: true,
|
|
110
124
|
isFilter: true,
|
|
111
125
|
mode: '1D',
|
|
@@ -122,6 +136,7 @@ export const options = {
|
|
|
122
136
|
zeroFillingDimension1: {
|
|
123
137
|
id: Filters2D.zeroFillingDimension1.name,
|
|
124
138
|
label: Filters2D.zeroFillingDimension1.label,
|
|
139
|
+
icon: SvgNmrZeroFilling,
|
|
125
140
|
hasOptionPanel: true,
|
|
126
141
|
isFilter: true,
|
|
127
142
|
mode: '2D',
|
|
@@ -138,6 +153,7 @@ export const options = {
|
|
|
138
153
|
zeroFillingDimension2: {
|
|
139
154
|
id: Filters2D.zeroFillingDimension2.name,
|
|
140
155
|
label: Filters2D.zeroFillingDimension2.label,
|
|
156
|
+
icon: SvgNmrZeroFilling,
|
|
141
157
|
hasOptionPanel: true,
|
|
142
158
|
isFilter: true,
|
|
143
159
|
mode: '2D',
|
|
@@ -155,6 +171,7 @@ export const options = {
|
|
|
155
171
|
phaseCorrection: {
|
|
156
172
|
id: Filters1D.phaseCorrection.name,
|
|
157
173
|
label: Filters1D.phaseCorrection.label,
|
|
174
|
+
icon: SvgNmrPhaseCorrection,
|
|
158
175
|
hasOptionPanel: true,
|
|
159
176
|
isFilter: true,
|
|
160
177
|
mode: '1D',
|
|
@@ -171,6 +188,7 @@ export const options = {
|
|
|
171
188
|
baselineCorrection: {
|
|
172
189
|
id: Filters1D.baselineCorrection.name,
|
|
173
190
|
label: Filters1D.baselineCorrection.label,
|
|
191
|
+
icon: SvgNmrBaselineCorrection,
|
|
174
192
|
hasOptionPanel: true,
|
|
175
193
|
isFilter: true,
|
|
176
194
|
mode: '1D',
|
|
@@ -184,6 +202,7 @@ export const options = {
|
|
|
184
202
|
multipleSpectraAnalysis: {
|
|
185
203
|
id: 'multipleSpectraAnalysis',
|
|
186
204
|
label: 'Multiple spectra integration',
|
|
205
|
+
icon: SvgNmrMultipleAnalysis,
|
|
187
206
|
hasOptionPanel: false,
|
|
188
207
|
isFilter: false,
|
|
189
208
|
mode: '1D',
|
|
@@ -198,6 +217,7 @@ export const options = {
|
|
|
198
217
|
exclusionZones: {
|
|
199
218
|
id: 'exclusionZones',
|
|
200
219
|
label: 'Exclusion zones',
|
|
220
|
+
icon: SvgNmrMultipleAnalysis,
|
|
201
221
|
hasOptionPanel: false,
|
|
202
222
|
isFilter: true,
|
|
203
223
|
mode: '1D',
|
|
@@ -222,6 +242,7 @@ export const options = {
|
|
|
222
242
|
],
|
|
223
243
|
selectedSpectra: { min: 0 },
|
|
224
244
|
isToggle: true,
|
|
245
|
+
icon: SvgNmrMultipleAnalysis,
|
|
225
246
|
},
|
|
226
247
|
databaseRangesSelection: {
|
|
227
248
|
id: 'databaseRangesSelection',
|
|
@@ -235,10 +256,12 @@ export const options = {
|
|
|
235
256
|
},
|
|
236
257
|
],
|
|
237
258
|
isToggle: true,
|
|
259
|
+
icon: FaICursor,
|
|
238
260
|
},
|
|
239
261
|
exportAs: {
|
|
240
262
|
id: 'exportAs',
|
|
241
263
|
label: 'Export as',
|
|
264
|
+
icon: FaFileExport,
|
|
242
265
|
hasOptionPanel: false,
|
|
243
266
|
isFilter: false,
|
|
244
267
|
isToggle: false,
|
|
@@ -246,6 +269,7 @@ export const options = {
|
|
|
246
269
|
fft: {
|
|
247
270
|
id: 'fft',
|
|
248
271
|
label: 'Fourier transform',
|
|
272
|
+
icon: SvgNmrFourierTransform,
|
|
249
273
|
hasOptionPanel: false,
|
|
250
274
|
isFilter: true,
|
|
251
275
|
mode: '1D',
|
|
@@ -262,6 +286,7 @@ export const options = {
|
|
|
262
286
|
fftDimension1: {
|
|
263
287
|
id: 'fftDimension1',
|
|
264
288
|
label: 'Fourier transform dimension 1',
|
|
289
|
+
icon: SvgNmrFourierTransform,
|
|
265
290
|
hasOptionPanel: false,
|
|
266
291
|
isFilter: true,
|
|
267
292
|
mode: '2D',
|
|
@@ -278,6 +303,7 @@ export const options = {
|
|
|
278
303
|
fftDimension2: {
|
|
279
304
|
id: 'fftDimension2',
|
|
280
305
|
label: 'Fourier transform dimension 2',
|
|
306
|
+
icon: SvgNmrFourierTransform,
|
|
281
307
|
hasOptionPanel: false,
|
|
282
308
|
isFilter: true,
|
|
283
309
|
mode: '2D',
|
|
@@ -295,6 +321,7 @@ export const options = {
|
|
|
295
321
|
phaseCorrectionTwoDimensions: {
|
|
296
322
|
id: 'phaseCorrectionTwoDimensions',
|
|
297
323
|
label: 'Phase correction two dimension',
|
|
324
|
+
icon: SvgNmrPhaseCorrection,
|
|
298
325
|
hasOptionPanel: true,
|
|
299
326
|
isFilter: true,
|
|
300
327
|
mode: '2D',
|
|
@@ -308,6 +335,7 @@ export const options = {
|
|
|
308
335
|
import: {
|
|
309
336
|
id: 'import',
|
|
310
337
|
label: 'Import',
|
|
338
|
+
icon: FaFileImport,
|
|
311
339
|
hasOptionPanel: false,
|
|
312
340
|
isFilter: false,
|
|
313
341
|
isToggle: false,
|
|
@@ -315,6 +343,7 @@ export const options = {
|
|
|
315
343
|
realImaginary: {
|
|
316
344
|
id: 'realImaginary',
|
|
317
345
|
label: 'Real / Imaginary',
|
|
346
|
+
icon: SvgNmrRealImag,
|
|
318
347
|
hasOptionPanel: false,
|
|
319
348
|
isFilter: false,
|
|
320
349
|
mode: '1D',
|
|
@@ -328,6 +357,8 @@ export const options = {
|
|
|
328
357
|
spectraCenterAlignments: {
|
|
329
358
|
id: 'spectraCenterAlignments',
|
|
330
359
|
label: 'Align spectrum',
|
|
360
|
+
// depends on current vertical alignment state
|
|
361
|
+
getIcon: (idc) => idc.verticalAlign === 'bottom' ? SvgNmrAlignCenter : SvgNmrAlignBottom,
|
|
331
362
|
hasOptionPanel: false,
|
|
332
363
|
isFilter: false,
|
|
333
364
|
mode: '1D',
|
|
@@ -336,6 +367,8 @@ export const options = {
|
|
|
336
367
|
spectraStackAlignments: {
|
|
337
368
|
id: 'spectraStackAlignments',
|
|
338
369
|
label: 'Stack spectra',
|
|
370
|
+
// depends on current vertical alignment state
|
|
371
|
+
getIcon: (idc) => idc.verticalAlign === 'stack' ? SvgNmrOverlay3Aligned : SvgNmrOverlay3,
|
|
339
372
|
hasOptionPanel: false,
|
|
340
373
|
isFilter: false,
|
|
341
374
|
mode: '1D',
|
|
@@ -350,6 +383,7 @@ export const options = {
|
|
|
350
383
|
zoomOut: {
|
|
351
384
|
id: 'zoomOut',
|
|
352
385
|
label: 'Zoom out',
|
|
386
|
+
icon: FaExpand,
|
|
353
387
|
hasOptionPanel: false,
|
|
354
388
|
isFilter: false,
|
|
355
389
|
isToggle: false,
|
|
@@ -360,10 +394,12 @@ export const options = {
|
|
|
360
394
|
hasOptionPanel: false,
|
|
361
395
|
isFilter: false,
|
|
362
396
|
isToggle: false,
|
|
397
|
+
icon: SvgNmrRangePicking,
|
|
363
398
|
},
|
|
364
399
|
apodizationDimension1: {
|
|
365
400
|
id: Filters2D.apodizationDimension1.name,
|
|
366
401
|
label: Filters2D.apodizationDimension1.label,
|
|
402
|
+
icon: SvgNmrApodization,
|
|
367
403
|
hasOptionPanel: true,
|
|
368
404
|
isFilter: true,
|
|
369
405
|
mode: '2D',
|
|
@@ -377,6 +413,7 @@ export const options = {
|
|
|
377
413
|
apodizationDimension2: {
|
|
378
414
|
id: Filters2D.apodizationDimension2.name,
|
|
379
415
|
label: Filters2D.apodizationDimension2.label,
|
|
416
|
+
icon: SvgNmrApodization,
|
|
380
417
|
hasOptionPanel: true,
|
|
381
418
|
isFilter: true,
|
|
382
419
|
mode: '2D',
|
|
@@ -391,5 +428,23 @@ export const options = {
|
|
|
391
428
|
],
|
|
392
429
|
isToggle: true,
|
|
393
430
|
},
|
|
431
|
+
alignTwoDimensionsSpectra: {
|
|
432
|
+
id: 'alignTwoDimensionsSpectra',
|
|
433
|
+
label: 'Align Two Dimensions Spectra',
|
|
434
|
+
icon: GrShift,
|
|
435
|
+
hasOptionPanel: false,
|
|
436
|
+
isFilter: false,
|
|
437
|
+
mode: '2D',
|
|
438
|
+
spectraFilter: [
|
|
439
|
+
{
|
|
440
|
+
info: [{ key: 'isFt', value: true }],
|
|
441
|
+
},
|
|
442
|
+
],
|
|
443
|
+
isToggle: true,
|
|
444
|
+
},
|
|
394
445
|
};
|
|
446
|
+
export function getToolIcon(id, idc = {}) {
|
|
447
|
+
const option = options[id];
|
|
448
|
+
return 'getIcon' in option ? option.getIcon?.(idc) : option.icon;
|
|
449
|
+
}
|
|
395
450
|
//# sourceMappingURL=ToolTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolTypes.js","sourceRoot":"","sources":["../../../src/component/toolbar/ToolTypes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ToolTypes.js","sourceRoot":"","sources":["../../../src/component/toolbar/ToolTypes.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EACL,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,SAAS,GACV,MAAM,gBAAgB,CAAC;AACxB,O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/component/toolbar/nmr_toolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nmr_toolbar.d.ts","sourceRoot":"","sources":["../../../src/component/toolbar/nmr_toolbar.tsx"],"names":[],"mappings":"AA2EA,MAAM,CAAC,OAAO,UAAU,UAAU,gCA0djC"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { jsx as _jsx,
|
|
2
|
-
import {
|
|
3
|
-
import { useCallback } from 'react';
|
|
4
|
-
import {
|
|
5
|
-
import { PiKnifeBold, PiSelectionPlusDuotone } from 'react-icons/pi';
|
|
6
|
-
import { TbZoom } from 'react-icons/tb';
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { isSpectrum2DQuadrants } from '@zakodium/nmrium-core';
|
|
3
|
+
import { useCallback, useMemo } from 'react';
|
|
4
|
+
import { FaDownload } from 'react-icons/fa';
|
|
7
5
|
import { Toolbar, TooltipHelpContent } from 'react-science/ui';
|
|
8
|
-
import { isQuadrants2DSpectrum } from '../../data/data2d/Spectrum2D/isSpectrum2D.js';
|
|
9
6
|
import { useChartData } from '../context/ChartContext.js';
|
|
7
|
+
import { useCore } from "../context/CoreContext.js";
|
|
10
8
|
import { useDispatch } from '../context/DispatchContext.js';
|
|
11
9
|
import { useIsPrimaryKeyActivated } from "../context/KeyModifierContext.js";
|
|
12
10
|
import { useLoader } from '../context/LoaderContext.js';
|
|
13
11
|
import { usePreferences } from '../context/PreferencesContext.js';
|
|
12
|
+
import { useProcessingsMutations } from "../context/processings_mutations_context.js";
|
|
14
13
|
import { ToolbarPopoverItem } from '../elements/ToolbarPopoverItem.js';
|
|
15
14
|
import { useExportManagerAPI } from '../elements/export/ExportManager.js';
|
|
16
15
|
import { useActiveSpectrum } from '../hooks/useActiveSpectrum.js';
|
|
@@ -19,7 +18,7 @@ import { useCheckToolsVisibility } from '../hooks/useCheckToolsVisibility.js';
|
|
|
19
18
|
import useDatumWithSpectraStatistics from '../hooks/useDatumWithSpectraStatistics.js';
|
|
20
19
|
import { useDialogToggle } from '../hooks/useDialogToggle.js';
|
|
21
20
|
import { useExport } from '../hooks/useExport.js';
|
|
22
|
-
import useSpectrum from '../hooks/useSpectrum.js';
|
|
21
|
+
import useSpectrum, { useStableSpectrum } from '../hooks/useSpectrum.js';
|
|
23
22
|
import useToolsFunctions from '../hooks/useToolsFunctions.js';
|
|
24
23
|
import { useVerticalAlign } from '../hooks/useVerticalAlign.js';
|
|
25
24
|
import ExportAsJcampModal from '../modal/ExportAsJcampModal.js';
|
|
@@ -27,7 +26,8 @@ import { ImportPublicationStringModal } from '../modal/ImportPublicationStringMo
|
|
|
27
26
|
import { LoadJCAMPModal } from '../modal/LoadJCAMPModal.js';
|
|
28
27
|
import SaveAsModal from '../modal/SaveAsModal.js';
|
|
29
28
|
import { MetaImportationModal } from '../modal/metaImportation/MetaImportationModal.js';
|
|
30
|
-
import {
|
|
29
|
+
import { CoreOperatorTool } from "../utility/core_slots/core_operator_tool.js";
|
|
30
|
+
import { getToolIcon, options } from './ToolTypes.js';
|
|
31
31
|
import { EXPORT_MENU, IMPORT_MENU } from './toolbarMenu.js';
|
|
32
32
|
function isPopoverToolItem(item) {
|
|
33
33
|
return !!item?.menuItems;
|
|
@@ -48,10 +48,13 @@ function useExportList() {
|
|
|
48
48
|
return exportMenu;
|
|
49
49
|
}
|
|
50
50
|
export default function NMRToolbar() {
|
|
51
|
-
const
|
|
51
|
+
const core = useCore();
|
|
52
|
+
const { toolOptions: { selectedTool }, processingOperators: { selected: activeOperatorId }, } = useChartData();
|
|
53
|
+
const processingsMutations = useProcessingsMutations();
|
|
52
54
|
const isButtonVisible = useCheckToolsVisibility();
|
|
53
55
|
const dispatch = useDispatch();
|
|
54
56
|
const spectrum = useSpectrum();
|
|
57
|
+
const stableSpectrum = useStableSpectrum();
|
|
55
58
|
const isPrimaryKeyActivated = useIsPrimaryKeyActivated();
|
|
56
59
|
const { isRealSpectrumShown, changeSpectrumViewHandler, changeDisplayViewModeHandler, alignSpectraVerticallyHandler, handleChangeOption, handleFullZoomOut, } = useToolsFunctions();
|
|
57
60
|
const handleChange = useCallback((selectedOption) => {
|
|
@@ -147,7 +150,9 @@ export default function NMRToolbar() {
|
|
|
147
150
|
],
|
|
148
151
|
style: { minWidth: '300px' },
|
|
149
152
|
},
|
|
150
|
-
|
|
153
|
+
iconProps: {
|
|
154
|
+
strokeWidth: 3,
|
|
155
|
+
},
|
|
151
156
|
},
|
|
152
157
|
{
|
|
153
158
|
id: 'zoomOut',
|
|
@@ -161,7 +166,6 @@ export default function NMRToolbar() {
|
|
|
161
166
|
link: 'https://docs.nmrium.org/help/zoom-and-scale',
|
|
162
167
|
},
|
|
163
168
|
onClick: handleFullZoomOut,
|
|
164
|
-
icon: _jsx(FaExpand, {}),
|
|
165
169
|
},
|
|
166
170
|
{
|
|
167
171
|
id: 'peakPicking',
|
|
@@ -171,7 +175,6 @@ export default function NMRToolbar() {
|
|
|
171
175
|
description: 'Detect peaks manually or automatically in the spectrum.',
|
|
172
176
|
link: 'https://docs.nmrium.org/help/peaks',
|
|
173
177
|
},
|
|
174
|
-
icon: _jsx(SvgNmrPeakPicking, {}),
|
|
175
178
|
},
|
|
176
179
|
{
|
|
177
180
|
id: 'integral',
|
|
@@ -181,7 +184,6 @@ export default function NMRToolbar() {
|
|
|
181
184
|
description: `Manually integrate the spectrum. Click, drag, and release ${!invert ? 'while holding SHIFT' : ''} to draw the integral. Resize the integrals by moving the edges. Cut an integral with ${!invert ? 'SHIFT +' : ''} click.`,
|
|
182
185
|
link: 'https://docs.nmrium.org/help/integrations',
|
|
183
186
|
},
|
|
184
|
-
icon: _jsx(SvgNmrIntegrate, {}),
|
|
185
187
|
},
|
|
186
188
|
{
|
|
187
189
|
id: 'zonePicking',
|
|
@@ -191,7 +193,6 @@ export default function NMRToolbar() {
|
|
|
191
193
|
description: `Draw 2D zones by clicking, dragging, and releasing${!invert ? 'while holding SHIFT' : ''}. Alternatively, detect zones automatically.`,
|
|
192
194
|
link: 'https://docs.nmrium.org/30_2d-spectra/zones',
|
|
193
195
|
},
|
|
194
|
-
icon: _jsx(FaDiceFour, {}),
|
|
195
196
|
},
|
|
196
197
|
{
|
|
197
198
|
id: 'slicing',
|
|
@@ -200,7 +201,6 @@ export default function NMRToolbar() {
|
|
|
200
201
|
description: 'Display the horizontal and vertical slices of the selected 2D spectrum at the level of the pointer.',
|
|
201
202
|
link: 'https://docs.nmrium.org/30_2d-spectra/slicing',
|
|
202
203
|
},
|
|
203
|
-
icon: _jsx(PiKnifeBold, {}),
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
206
|
id: 'rangePicking',
|
|
@@ -210,7 +210,6 @@ export default function NMRToolbar() {
|
|
|
210
210
|
description: `Define ranges and analyse multiplet automatically or manually. Click, drag, and release ${!invert ? 'while holding SHIFT' : ''} to draw the range. Ranges can be resized by moving the edges.`,
|
|
211
211
|
link: 'https://docs.nmrium.org/help/ranges',
|
|
212
212
|
},
|
|
213
|
-
icon: _jsx(SvgNmrRangePicking, {}),
|
|
214
213
|
},
|
|
215
214
|
{
|
|
216
215
|
id: 'multipleSpectraAnalysis',
|
|
@@ -219,7 +218,6 @@ export default function NMRToolbar() {
|
|
|
219
218
|
shortcuts: ['m'],
|
|
220
219
|
description: 'Integrate multiple spectra at once and adjust integration zones by dragging their edges.',
|
|
221
220
|
},
|
|
222
|
-
icon: _jsx(SvgNmrMultipleAnalysis, {}),
|
|
223
221
|
isVisible: ftCounter > 0,
|
|
224
222
|
},
|
|
225
223
|
{
|
|
@@ -230,21 +228,18 @@ export default function NMRToolbar() {
|
|
|
230
228
|
description: 'Apply mathematical function that the FID is multiplied by before Fourier Transform.',
|
|
231
229
|
link: 'https://docs.nmrium.org/help/apodization',
|
|
232
230
|
},
|
|
233
|
-
icon: _jsx(SvgNmrApodization, {}),
|
|
234
231
|
},
|
|
235
232
|
{
|
|
236
233
|
id: 'apodizationDimension1',
|
|
237
234
|
tooltip: {
|
|
238
235
|
title: options.apodizationDimension1.label,
|
|
239
236
|
},
|
|
240
|
-
icon: _jsx(SvgNmrApodization, {}),
|
|
241
237
|
},
|
|
242
238
|
{
|
|
243
239
|
id: 'apodizationDimension2',
|
|
244
240
|
tooltip: {
|
|
245
241
|
title: options.apodizationDimension2.label,
|
|
246
242
|
},
|
|
247
|
-
icon: _jsx(SvgNmrApodization, {}),
|
|
248
243
|
},
|
|
249
244
|
{
|
|
250
245
|
id: 'zeroFilling',
|
|
@@ -254,7 +249,6 @@ export default function NMRToolbar() {
|
|
|
254
249
|
description: 'Improve spectrum quality by increasing the number of points. By default, the number of points is twice as many as in the original FID.',
|
|
255
250
|
link: 'https://docs.nmrium.org/help/zero-filling',
|
|
256
251
|
},
|
|
257
|
-
icon: _jsx(SvgNmrZeroFilling, {}),
|
|
258
252
|
},
|
|
259
253
|
{
|
|
260
254
|
id: 'zeroFillingDimension1',
|
|
@@ -262,7 +256,6 @@ export default function NMRToolbar() {
|
|
|
262
256
|
title: options.zeroFilling.label,
|
|
263
257
|
description: 'Improve spectrum quality by increasing the number of points',
|
|
264
258
|
},
|
|
265
|
-
icon: _jsx(SvgNmrZeroFilling, {}),
|
|
266
259
|
},
|
|
267
260
|
{
|
|
268
261
|
id: 'zeroFillingDimension2',
|
|
@@ -270,7 +263,6 @@ export default function NMRToolbar() {
|
|
|
270
263
|
title: options.zeroFilling.label,
|
|
271
264
|
description: 'Improve spectrum quality by increasing the number of points.',
|
|
272
265
|
},
|
|
273
|
-
icon: _jsx(SvgNmrZeroFilling, {}),
|
|
274
266
|
},
|
|
275
267
|
{
|
|
276
268
|
id: 'phaseCorrection',
|
|
@@ -280,7 +272,6 @@ export default function NMRToolbar() {
|
|
|
280
272
|
description: `Correct the spectrum phase manually or automatically. For manual phase correction, define the pivot${!invert ? ' using SHIFT +' : ''} click, then press the PH0 and PH1 button, and move the mouse horizontally.`,
|
|
281
273
|
link: 'https://docs.nmrium.org/help/phase',
|
|
282
274
|
},
|
|
283
|
-
icon: _jsx(SvgNmrPhaseCorrection, {}),
|
|
284
275
|
},
|
|
285
276
|
{
|
|
286
277
|
id: 'phaseCorrectionTwoDimensions',
|
|
@@ -289,8 +280,7 @@ export default function NMRToolbar() {
|
|
|
289
280
|
shortcuts: ['a'],
|
|
290
281
|
description: 'To phase the spectrum after the FFT.',
|
|
291
282
|
},
|
|
292
|
-
|
|
293
|
-
isVisible: isQuadrants2DSpectrum(spectrum),
|
|
283
|
+
isVisible: isSpectrum2DQuadrants(spectrum),
|
|
294
284
|
},
|
|
295
285
|
{
|
|
296
286
|
id: 'baselineCorrection',
|
|
@@ -300,7 +290,6 @@ export default function NMRToolbar() {
|
|
|
300
290
|
description: `Correct the baseline of the spectrum. You should draw zones corresponding to the noise using click, drag, release${!invert ? 'while holding SHIFT' : ''}.`,
|
|
301
291
|
link: 'https://docs.nmrium.org/help/baseline',
|
|
302
292
|
},
|
|
303
|
-
icon: _jsx(SvgNmrBaselineCorrection, {}),
|
|
304
293
|
},
|
|
305
294
|
{
|
|
306
295
|
id: 'exclusionZones',
|
|
@@ -309,7 +298,6 @@ export default function NMRToolbar() {
|
|
|
309
298
|
shortcuts: ['e'],
|
|
310
299
|
description: `Define exclusion zones by clicking, dragging, releasing${!invert ? ' while holding SHIFT' : ''}. This option is practical for excluding large peaks like solvents.`,
|
|
311
300
|
},
|
|
312
|
-
icon: _jsx(SvgNmrMultipleAnalysis, {}),
|
|
313
301
|
isVisible: ftCounter > 0,
|
|
314
302
|
},
|
|
315
303
|
{
|
|
@@ -321,31 +309,26 @@ export default function NMRToolbar() {
|
|
|
321
309
|
link: 'https://docs.nmrium.org/help/ft',
|
|
322
310
|
},
|
|
323
311
|
onClick: handleOnFFTFilter,
|
|
324
|
-
icon: _jsx(SvgNmrFourierTransform, {}),
|
|
325
312
|
},
|
|
326
313
|
{
|
|
327
314
|
id: 'fftDimension1',
|
|
328
315
|
tooltip: options.fftDimension1.label,
|
|
329
316
|
onClick: handleFFtDimension1Filter,
|
|
330
|
-
icon: _jsx(SvgNmrFourierTransform, {}),
|
|
331
317
|
},
|
|
332
318
|
{
|
|
333
319
|
id: 'fftDimension2',
|
|
334
320
|
tooltip: options.fftDimension2.label,
|
|
335
321
|
onClick: handleFFtDimension2Filter,
|
|
336
|
-
icon: _jsx(SvgNmrFourierTransform, {}),
|
|
337
322
|
},
|
|
338
323
|
{
|
|
339
324
|
id: 'import',
|
|
340
325
|
tooltip: options.import.label,
|
|
341
|
-
icon: _jsx(FaFileImport, {}),
|
|
342
326
|
menuItems: importMenu,
|
|
343
327
|
onClick: importHandler,
|
|
344
328
|
},
|
|
345
329
|
{
|
|
346
330
|
id: 'exportAs',
|
|
347
331
|
tooltip: options.exportAs.label,
|
|
348
|
-
icon: _jsx(FaFileExport, {}),
|
|
349
332
|
menuItems: exportMenu,
|
|
350
333
|
onClick: exportHandler,
|
|
351
334
|
},
|
|
@@ -356,7 +339,6 @@ export default function NMRToolbar() {
|
|
|
356
339
|
shortcuts: ['s'],
|
|
357
340
|
description: 'Toggle between stack mode and all the spectra aligned at the bottom.',
|
|
358
341
|
},
|
|
359
|
-
icon: verticalAlign === 'stack' ? (_jsx(SvgNmrOverlay3Aligned, {})) : (_jsx(SvgNmrOverlay3, {})),
|
|
360
342
|
isVisible: ftCounter > 1,
|
|
361
343
|
onClick: changeDisplayViewModeHandler,
|
|
362
344
|
},
|
|
@@ -366,7 +348,6 @@ export default function NMRToolbar() {
|
|
|
366
348
|
title: `Display ${isRealSpectrumShown ? 'real' : 'imaginary'}`,
|
|
367
349
|
description: 'Toggle between the imaginary and real parts of the spectrum.',
|
|
368
350
|
},
|
|
369
|
-
icon: _jsx(SvgNmrRealImag, {}),
|
|
370
351
|
onClick: changeSpectrumViewHandler,
|
|
371
352
|
},
|
|
372
353
|
{
|
|
@@ -376,7 +357,6 @@ export default function NMRToolbar() {
|
|
|
376
357
|
shortcuts: ['c'],
|
|
377
358
|
description: 'Toggle between alignment of the spectra in the center or at the bottom of the display.',
|
|
378
359
|
},
|
|
379
|
-
icon: verticalAlign === 'bottom' ? (_jsx(SvgNmrAlignCenter, {})) : (_jsx(SvgNmrAlignBottom, {})),
|
|
380
360
|
isVisible: ftCounter > 0 || fidCounter > 0,
|
|
381
361
|
onClick: alignSpectraVerticallyHandler,
|
|
382
362
|
},
|
|
@@ -387,24 +367,45 @@ export default function NMRToolbar() {
|
|
|
387
367
|
shortcuts: ['n'],
|
|
388
368
|
description: 'Drag a rectangle over the spectrum region to create an inset.',
|
|
389
369
|
},
|
|
390
|
-
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
id: 'alignTwoDimensionsSpectra',
|
|
373
|
+
tooltip: {
|
|
374
|
+
title: options.alignTwoDimensionsSpectra.label,
|
|
375
|
+
description: `To align two-dimensional spectra, ${!invert ? 'SHIFT +' : ''} click and drag. The spectrum moves freely on both axes to follow your cursor. Hold Alt while dragging to lock the movement to just one axis — F2 (horizontal) or F1 (vertical) — whichever matches your drag direction most closely. Release the mouse to apply the alignment.`,
|
|
376
|
+
shortcuts: ['m'],
|
|
377
|
+
subTitles: [
|
|
378
|
+
{
|
|
379
|
+
title: 'Lock to one axis (F1 or F2)',
|
|
380
|
+
shortcuts: !invert ? ['⇧', 'Alt'] : ['Alt'],
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
},
|
|
391
384
|
},
|
|
392
385
|
];
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
const {
|
|
400
|
-
|
|
386
|
+
const pluginTools = useMemo(() => {
|
|
387
|
+
return core.slotOperators();
|
|
388
|
+
}, [core]);
|
|
389
|
+
const isExperimental = useCheckExperimentalFeature();
|
|
390
|
+
return (_jsxs(_Fragment, { children: [_jsx(LoadJCAMPModal, { isOpen: dialog.loadJCAMP, onCloseDialog: closeDialog }), _jsx(ImportPublicationStringModal, { isOpen: dialog.importPublicationString, onClose: closeDialog }), _jsx(MetaImportationModal, { isOpen: dialog.metaImportation, onCloseDialog: closeDialog }), dialog.exportAsJcamp && (_jsx(ExportAsJcampModal, { exportActiveSpectrum: true, closeDialog: closeDialog })), _jsx(SaveAsModal, { isOpen: dialog.saveAs, onCloseDialog: closeDialog }), _jsxs(Toolbar, { vertical: true, children: [toolItems.map((item) => {
|
|
391
|
+
const { id, tooltip, disabled, isVisible, iconProps } = item;
|
|
392
|
+
const Icon = getToolIcon(id, { verticalAlign, isRealSpectrumShown });
|
|
393
|
+
const isToolVisible = isButtonVisible(id) && (isVisible === undefined || isVisible);
|
|
394
|
+
if (!isToolVisible)
|
|
395
|
+
return null;
|
|
396
|
+
if (isPopoverToolItem(item)) {
|
|
397
|
+
const { menuItems, onClick } = item;
|
|
398
|
+
return (_jsx(ToolbarPopoverItem, { options: menuItems, tooltip: typeof tooltip === 'string' ? (tooltip) : (_jsx(TooltipHelpContent, { ...tooltip })), tooltipProps: {
|
|
399
|
+
minimal: true,
|
|
400
|
+
}, id: id, active: selectedTool === id, icon: Icon && _jsx(Icon, { ...iconProps }), onClick: onClick, disabled: disabled }, id));
|
|
401
|
+
}
|
|
402
|
+
const { onClick } = item;
|
|
403
|
+
return (_jsx(Toolbar.Item, { onClick: onClick || (() => handleChange(id)), tooltip: typeof tooltip === 'string' ? (tooltip) : (_jsx(TooltipHelpContent, { ...tooltip })), tooltipProps: {
|
|
401
404
|
minimal: true,
|
|
402
|
-
}, id: id, active: selectedTool === id, icon:
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
}, id: id, active: selectedTool === id, icon: icon, disabled: disabled }, id));
|
|
408
|
-
}) })] }));
|
|
405
|
+
}, id: id, active: selectedTool === id, icon: Icon && _jsx(Icon, { ...iconProps }), disabled: disabled }, id));
|
|
406
|
+
}), isExperimental &&
|
|
407
|
+
pluginTools.map((operatorUI) => (_jsx(CoreOperatorTool, { operator: operatorUI, spectrum: stableSpectrum, activeOperatorId: activeOperatorId, onTriggerOperation: (operation) => {
|
|
408
|
+
void processingsMutations.triggerOperation(operation);
|
|
409
|
+
} }, operatorUI.id)))] })] }));
|
|
409
410
|
}
|
|
410
411
|
//# sourceMappingURL=nmr_toolbar.js.map
|