nmrium 2.5.0 → 2.7.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/ApodizationLine.js +2 -2
- package/lib/component/1d/ApodizationLine.js.map +1 -1
- 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/Line.js +2 -2
- package/lib/component/1d/Line.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 +4 -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/baseline/BaselinePreview.d.ts.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.js +49 -24
- 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/database/DatabaseSpectrum.js +2 -2
- package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js +2 -2
- package/lib/component/1d/database/ResurrectedDatabaseRanges.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/matrix/Boxplot.js +5 -5
- package/lib/component/1d/matrix/Boxplot.js.map +1 -1
- package/lib/component/1d/matrix/Stocsy.js +2 -2
- package/lib/component/1d/matrix/Stocsy.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/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +12 -3
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js +2 -2
- package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
- package/lib/component/1d/plugin_svg_chart.d.ts +2 -0
- package/lib/component/1d/plugin_svg_chart.d.ts.map +1 -0
- package/lib/component/1d/plugin_svg_chart.js +43 -0
- package/lib/component/1d/plugin_svg_chart.js.map +1 -0
- 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 +3 -2
- 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-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.map +1 -1
- package/lib/component/1d-2d/components/RangeIndicator.js +1 -7
- package/lib/component/1d-2d/components/RangeIndicator.js.map +1 -1
- package/lib/component/1d-2d/components/Signals1D.d.ts.map +1 -1
- package/lib/component/1d-2d/components/Signals1D.js +10 -8
- package/lib/component/1d-2d/components/Signals1D.js.map +1 -1
- 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.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js +27 -22
- package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
- 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/HorizontalSliceChart.js +2 -2
- package/lib/component/2d/1d-tracer/HorizontalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js +5 -4
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.js +5 -4
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js +2 -2
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.js +3 -3
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.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/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.js +1 -1
- 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 +2 -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 +39 -3
- 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 +1 -1
- package/lib/component/AnchorSVG.d.ts.map +1 -1
- package/lib/component/AnchorSVG.js +3 -2
- package/lib/component/AnchorSVG.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +1 -1
- 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/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 +4 -12
- package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
- package/lib/component/context/KeyModifierContext.js +17 -35
- package/lib/component/context/KeyModifierContext.js.map +1 -1
- package/lib/component/context/ScaleContext.d.ts +1 -1
- package/lib/component/context/ScaleContext.d.ts.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 +15 -32
- 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/export/ExportContent.d.ts.map +1 -1
- package/lib/component/elements/export/ExportContent.js +2 -2
- package/lib/component/elements/export/ExportContent.js.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.d.ts.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js +9 -3
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts +1 -0
- package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.js +5 -0
- package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
- 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 +79 -93
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/elements/utilities/transferStyles.d.ts +2 -0
- package/lib/component/elements/utilities/transferStyles.d.ts.map +1 -0
- package/lib/component/elements/utilities/transferStyles.js +29 -0
- package/lib/component/elements/utilities/transferStyles.js.map +1 -0
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.js +4 -4
- 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.js +2 -2
- 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/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/useIntegralPath.js +2 -2
- package/lib/component/hooks/useIntegralPath.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 +4 -0
- package/lib/component/hooks/useSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useSpectrum.js +9 -1
- package/lib/component/hooks/useSpectrum.js.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_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.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +3 -3
- 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 +196 -187
- 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 +196 -187
- 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 +196 -187
- 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 +140 -132
- 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 +140 -132
- 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 +23 -22
- 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 +140 -132
- 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 +140 -132
- 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/database_tab.d.ts +140 -132
- 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 +140 -132
- 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 +16 -12
- 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 +37 -44
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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/export_tab_validation.d.ts +82 -38
- 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 +80 -28
- 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 +56 -55
- 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 +1 -2
- 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/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +3 -0
- package/lib/component/panels/RangesPanel/RangesTableRow.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 +35 -104
- package/lib/component/panels/filtersPanel/processings_sections_panel.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts +3 -3
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js +69 -56
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.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 +26 -7
- 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 +10 -11
- 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.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +36 -59
- 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 +45 -13
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +2 -8
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +6 -11
- 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/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 +2 -2
- 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.map +1 -1
- package/lib/component/toolbar/ToolTypes.js +15 -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 +49 -22
- package/lib/component/toolbar/nmr_toolbar.js.map +1 -1
- package/lib/component/utility/core_slots/core_operator_chart_svg.d.ts +8 -0
- package/lib/component/utility/core_slots/core_operator_chart_svg.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_chart_svg.js +23 -0
- package/lib/component/utility/core_slots/core_operator_chart_svg.js.map +1 -0
- 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 +3 -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 +17 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.commons.d.ts +11 -0
- package/lib/component/utility/core_slots/core_operator_tool.commons.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.commons.js +30 -0
- package/lib/component/utility/core_slots/core_operator_tool.commons.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.d.ts +3 -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 +17 -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/export.d.ts +5 -0
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +22 -0
- package/lib/component/utility/export.js.map +1 -1
- 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 +1 -0
- 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 +5 -2
- 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 +25 -12
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.d.ts +13 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.d.ts.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js +40 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.d.ts +27 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.d.ts.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js +230 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.d.ts +227 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.d.ts.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js +67 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.d.ts +4 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.d.ts.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js +42 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js.map +1 -0
- 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/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 -1
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js +3 -1
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/calculateSanPlot.d.ts +3 -1
- package/lib/data/utilities/calculateSanPlot.d.ts.map +1 -1
- package/lib/data/utilities/calculateSanPlot.js +2 -2
- package/lib/data/utilities/calculateSanPlot.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 +39 -42
- package/src/component/1d/ApodizationLine.tsx +2 -2
- package/src/component/1d/BrushTracker1D.tsx +170 -185
- package/src/component/1d/FloatPublicationString.tsx +6 -6
- package/src/component/1d/Line.tsx +2 -2
- package/src/component/1d/PredictionErrorsNotations.tsx +1 -1
- package/src/component/1d/SVGContent1D.tsx +6 -0
- package/src/component/1d/SimilarityTree.tsx +2 -2
- package/src/component/1d/baseline/BaselinePreview.tsx +45 -15
- package/src/component/1d/baseline/getMedianY.ts +23 -5
- package/src/component/1d/database/DatabaseSpectrum.tsx +2 -2
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +2 -2
- package/src/component/1d/inset/DraggableInset.tsx +1 -1
- package/src/component/1d/matrix/Boxplot.tsx +5 -5
- package/src/component/1d/matrix/Stocsy.tsx +2 -2
- 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/peaks/PeakAnnotationsSpreadMode.tsx +17 -3
- package/src/component/1d/peaks/usePeakShapesPath.ts +2 -2
- package/src/component/1d/plugin_svg_chart.tsx +60 -0
- 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 +3 -5
- package/src/component/1d/ranges/Ranges.tsx +1 -1
- 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 +8 -9
- package/src/component/1d-2d/components/Signals1D.tsx +12 -8
- 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 +34 -22
- package/src/component/1d-2d/tools/DistanceLine.tsx +253 -0
- package/src/component/2d/1d-tracer/HorizontalSliceChart.tsx +2 -2
- package/src/component/2d/1d-tracer/Left1DChart.tsx +5 -5
- package/src/component/2d/1d-tracer/Top1DChart.tsx +6 -6
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +2 -2
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +3 -3
- package/src/component/2d/BrushTracker2D.tsx +25 -13
- package/src/component/2d/FooterBanner.tsx +2 -5
- package/src/component/2d/IndirectAxis2D.tsx +1 -1
- package/src/component/2d/SignalDeltaLine.tsx +1 -1
- package/src/component/2d/Viewer2D.tsx +2 -0
- 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 +95 -26
- 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 +7 -7
- package/src/component/EventsTrackers/BrushTracker.tsx +1 -1
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +6 -1
- 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 +36 -45
- package/src/component/context/ScaleContext.tsx +1 -1
- 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 +49 -67
- 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/export/ExportContent.tsx +3 -2
- package/src/component/elements/export/ExportOptionsModal.tsx +32 -1
- package/src/component/elements/export/useExportConfigurer.tsx +6 -0
- package/src/component/elements/print/PrintContent.tsx +132 -145
- package/src/component/elements/utilities/transferStyles.ts +32 -0
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +10 -4
- package/src/component/header/Header.tsx +99 -8
- package/src/component/header/RangesPickingOptionPanel.tsx +2 -2
- 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/useCheckPointsNumberInWindowArea.ts +4 -2
- package/src/component/hooks/useCheckToolsVisibility.ts +11 -1
- package/src/component/hooks/useIntegralPath.ts +2 -2
- package/src/component/hooks/useSpectraBottomMargin.ts +1 -1
- package/src/component/hooks/useSpectrum.ts +12 -1
- 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_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 +2 -3
- 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/database_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +57 -62
- 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/export_tab_validation.ts +101 -28
- 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 +1 -2
- 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/RangesTableRow.tsx +4 -0
- 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 +87 -254
- package/src/component/panels/multipleAnalysisPanel/AlignSpectra.tsx +128 -98
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +1 -1
- package/src/component/reducer/Reducer.ts +50 -9
- package/src/component/reducer/actions/AssignmentsActions.ts +1 -2
- package/src/component/reducer/actions/CorrelationsActions.ts +21 -19
- 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 +56 -77
- 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 +72 -17
- package/src/component/reducer/actions/SpectraActions.ts +8 -25
- 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/panelsPreferencesDefaultValues.ts +2 -0
- package/src/component/reducer/preferences/preferencesReducer.ts +3 -3
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +9 -21
- package/src/component/toolbar/ToolTypes.ts +15 -0
- package/src/component/toolbar/nmr_toolbar.tsx +44 -4
- package/src/component/utility/core_slots/core_operator_chart_svg.tsx +61 -0
- 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 +23 -0
- package/src/component/utility/core_slots/core_operator_tool.commons.ts +63 -0
- package/src/component/utility/core_slots/core_operator_tool.tsx +23 -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/export.ts +34 -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 +1 -0
- 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 +4 -2
- 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 +42 -18
- package/src/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.ts +67 -0
- package/src/data/data2d/Spectrum2D/findBestMinContour/evaluation.ts +432 -0
- package/src/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.ts +431 -0
- package/src/data/data2d/Spectrum2D/findBestMinContour/math.ts +59 -0
- package/src/data/data2d/Spectrum2D/getSlice.ts +3 -4
- package/src/data/data2d/Spectrum2D/index.ts +0 -1
- package/src/data/get_view_spectra.ts +21 -0
- package/src/data/utilities/FindUtilities.ts +1 -3
- package/src/data/utilities/RangeUtilities.ts +5 -2
- package/src/data/utilities/calculateSanPlot.ts +2 -1
- package/src/data/utilities/getPeakAbsoluteArea.ts +7 -0
- package/src/versionInfo.ts +1 -1
- package/lib/component/elements/export/utilities/transferDocumentStyles.d.ts +0 -2
- package/lib/component/elements/export/utilities/transferDocumentStyles.d.ts.map +0 -1
- package/lib/component/elements/export/utilities/transferDocumentStyles.js +0 -21
- package/lib/component/elements/export/utilities/transferDocumentStyles.js.map +0 -1
- package/lib/component/panels/hooks/use_processings_mutation.d.ts +0 -10
- package/lib/component/panels/hooks/use_processings_mutation.d.ts.map +0 -1
- package/lib/component/panels/hooks/use_processings_mutation.js +0 -130
- package/lib/component/panels/hooks/use_processings_mutation.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/component/utility/PathBuilder.d.ts +0 -10
- package/lib/component/utility/PathBuilder.d.ts.map +0 -1
- package/lib/component/utility/PathBuilder.js +0 -38
- package/lib/component/utility/PathBuilder.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/elements/export/utilities/transferDocumentStyles.ts +0 -21
- package/src/component/panels/hooks/use_processings_mutation.ts +0 -171
- package/src/component/utility/PathBuilder.ts +0 -41
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +0 -19
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +0 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalColumnField.js","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AdditionalColumnField.js","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAE,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EACL,2BAA2B,EAC3B,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAGlD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,SAAS,WAAW,CAAC,IAAqB;IACxC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAChC,MAAM,EAAE,CA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,CAAC,CACH;KACF,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Spectrum } from '@zakodium/nmrium-core';
|
|
2
|
-
import type { Correlation,
|
|
2
|
+
import type { Correlation, CorrelationBuildOptions, CorrelationData, CorrelationLink } from 'nmr-processing';
|
|
3
3
|
export interface AdditionalColumnHeaderProps {
|
|
4
4
|
spectraData: Spectrum[];
|
|
5
5
|
correlationsData: CorrelationData;
|
|
6
6
|
correlation: Correlation;
|
|
7
|
-
onEdit: (editedCorrelations: Correlation[], action: string, link?:
|
|
7
|
+
onEdit: (editedCorrelations: Correlation[], action: string, link?: CorrelationLink, options?: CorrelationBuildOptions) => void;
|
|
8
8
|
}
|
|
9
9
|
declare function AdditionalColumnHeader(props: AdditionalColumnHeaderProps): import("react").JSX.Element;
|
|
10
10
|
export default AdditionalColumnHeader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalColumnHeader.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AdditionalColumnHeader.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EACV,WAAW,EACX,uBAAuB,EACvB,eAAe,EACf,eAAe,EAChB,MAAM,gBAAgB,CAAC;AAkBxB,MAAM,WAAW,2BAA2B;IAC1C,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,gBAAgB,EAAE,eAAe,CAAC;IAClC,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,CACN,kBAAkB,EAAE,WAAW,EAAE,EACjC,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,eAAe,EACtB,OAAO,CAAC,EAAE,uBAAuB,KAC9B,IAAI,CAAC;CACX;AAED,iBAAS,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,+BA0LjE;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { correlationApi } from 'nmr-processing';
|
|
3
3
|
import { useCallback, useMemo } from 'react';
|
|
4
4
|
import { buildID } from '../../../../data/utilities/Concatenation.js';
|
|
5
5
|
import { findRangeOrZoneID } from '../../../../data/utilities/FindUtilities.js';
|
|
@@ -15,12 +15,12 @@ function AdditionalColumnHeader(props) {
|
|
|
15
15
|
const alert = useAlert();
|
|
16
16
|
const { openDialog } = useDialog();
|
|
17
17
|
const highlightIDsAdditionalColumn = useMemo(() => {
|
|
18
|
-
if (correlation.pseudo
|
|
18
|
+
if (correlation.pseudo) {
|
|
19
19
|
return [];
|
|
20
20
|
}
|
|
21
21
|
return correlation.link.flatMap((link) => {
|
|
22
22
|
const ids = [];
|
|
23
|
-
if (link.pseudo
|
|
23
|
+
if (!link.pseudo) {
|
|
24
24
|
ids.push(link.signal.id, buildID(link.signal.id, 'Crosshair_X'));
|
|
25
25
|
const _id = findRangeOrZoneID(spectraData, link.experimentID, link.signal.id, true);
|
|
26
26
|
if (_id) {
|
|
@@ -42,12 +42,12 @@ function AdditionalColumnHeader(props) {
|
|
|
42
42
|
const isInView = useInView({ correlation });
|
|
43
43
|
const tableHeaderProps = useMemo(() => {
|
|
44
44
|
const correlationLinks = correlation.link.map((link) => {
|
|
45
|
-
if (link.pseudo
|
|
45
|
+
if (!link.pseudo) {
|
|
46
46
|
return link.experimentType.toUpperCase();
|
|
47
47
|
}
|
|
48
|
-
return undefined;
|
|
48
|
+
return 'undefined';
|
|
49
49
|
});
|
|
50
|
-
correlationLinks.sort();
|
|
50
|
+
correlationLinks.sort((l1, l2) => l1.localeCompare(l2));
|
|
51
51
|
const title = Array.from(new Set(correlationLinks)).join('/');
|
|
52
52
|
return {
|
|
53
53
|
style: {
|
|
@@ -58,7 +58,7 @@ function AdditionalColumnHeader(props) {
|
|
|
58
58
|
? '#f5f5dc'
|
|
59
59
|
: 'inherit',
|
|
60
60
|
},
|
|
61
|
-
title: correlation.pseudo
|
|
61
|
+
title: !correlation.pseudo && title,
|
|
62
62
|
onMouseEnter: mouseEnterHandler,
|
|
63
63
|
onMouseLeave: mouseLeaveHandler,
|
|
64
64
|
};
|
|
@@ -82,7 +82,7 @@ function AdditionalColumnHeader(props) {
|
|
|
82
82
|
};
|
|
83
83
|
}, [correlation]);
|
|
84
84
|
const contextMenu = useMemo(() => {
|
|
85
|
-
if (correlation.pseudo
|
|
85
|
+
if (correlation.pseudo) {
|
|
86
86
|
return [];
|
|
87
87
|
}
|
|
88
88
|
const contextMenus = [
|
|
@@ -93,10 +93,11 @@ function AdditionalColumnHeader(props) {
|
|
|
93
93
|
},
|
|
94
94
|
];
|
|
95
95
|
for (const link of correlation.link) {
|
|
96
|
-
const isValidLink = getLinkDim(link) === 1 && link.pseudo
|
|
96
|
+
const isValidLink = correlationApi.getLinkDim(link) === 1 && !link.pseudo;
|
|
97
97
|
if (isValidLink) {
|
|
98
|
+
const signalDelta = link.signal.delta;
|
|
98
99
|
const contextMenu = {
|
|
99
|
-
text: `Edit 1D (${
|
|
100
|
+
text: `Edit 1D (${signalDelta.toFixed(3)}${link.edited?.moved ? '[MOVED]' : ''})`,
|
|
100
101
|
icon: 'edit',
|
|
101
102
|
data: {
|
|
102
103
|
action: 'edit',
|
|
@@ -114,7 +115,7 @@ function AdditionalColumnHeader(props) {
|
|
|
114
115
|
}, [correlation]);
|
|
115
116
|
function removeAllLinks() {
|
|
116
117
|
alert.showAlert({
|
|
117
|
-
message: `All signals of ${correlation.label.origin} (${getCorrelationDelta(correlation).toFixed(2)}) will be deleted. Are you sure?`,
|
|
118
|
+
message: `All signals of ${correlation.label.origin} (${correlationApi.getCorrelationDelta(correlation).toFixed(2)}) will be deleted. Are you sure?`,
|
|
118
119
|
buttons: [
|
|
119
120
|
{
|
|
120
121
|
text: 'Yes',
|
|
@@ -145,8 +146,8 @@ function AdditionalColumnHeader(props) {
|
|
|
145
146
|
}
|
|
146
147
|
}
|
|
147
148
|
const { title, ...thProps } = tableHeaderProps;
|
|
148
|
-
return (_jsxs(ContextMenu, { onSelect: (selected) => contextMenuHandler(selected), options: contextMenu, as: "th", ...thProps, title: title === false ? undefined : title, children: [_jsx("p", { children: correlation.label.origin }), _jsx("p", { children: getCorrelationDelta(correlation)
|
|
149
|
-
? getCorrelationDelta(correlation)?.toFixed(2)
|
|
149
|
+
return (_jsxs(ContextMenu, { onSelect: (selected) => contextMenuHandler(selected), options: contextMenu, as: "th", ...thProps, title: title === false ? undefined : title, children: [_jsx("p", { children: correlation.label.origin }), _jsx("p", { children: correlationApi.getCorrelationDelta(correlation)
|
|
150
|
+
? correlationApi.getCorrelationDelta(correlation)?.toFixed(2)
|
|
150
151
|
: '' }), _jsx("p", { style: equivalenceTextStyle, children: Number.isInteger(correlation.equivalence)
|
|
151
152
|
? correlation.equivalence
|
|
152
153
|
: correlation.equivalence.toFixed(2) })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalColumnHeader.js","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AdditionalColumnHeader.js","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAE,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6C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'nmr-
|
|
2
|
+
import type { Correlation, CorrelationData } from 'nmr-processing';
|
|
3
3
|
import type { AdditionalColumnHeaderProps } from './AdditionalColumnHeader.js';
|
|
4
4
|
import type { CorrelationTableRowProps } from './CorrelationTableRow.js';
|
|
5
5
|
interface CorrelationTableProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorrelationTable.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CorrelationTable.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAKnE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE/E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAsDzE,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,eAAe,CAAC;IAClC,wBAAwB,EAAE,eAAe,CAAC;IAC1C,oBAAoB,EAAE,WAAW,EAAE,CAAC;IACpC,2BAA2B,EAAE,wBAAwB,CAAC,wBAAwB,CAAC,CAAC;IAChF,uBAAuB,EAAE,wBAAwB,CAAC,yBAAyB,CAAC,CAAC;IAC7E,iCAAiC,EAAE,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IACzE,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,QAAQ,EAAE,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,+BAwFpE"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Spectrum } from '@zakodium/nmrium-core';
|
|
2
|
-
import type { Correlation,
|
|
2
|
+
import type { Correlation, CorrelationValues } from 'nmr-processing';
|
|
3
3
|
import type { CSSProperties } from 'react';
|
|
4
4
|
import type { AdditionalColumnHeaderProps } from './AdditionalColumnHeader.tsx';
|
|
5
5
|
export interface CorrelationTableRowProps {
|
|
6
6
|
additionalColumnData: Correlation[];
|
|
7
|
-
correlations:
|
|
7
|
+
correlations: CorrelationValues;
|
|
8
8
|
correlation: Correlation;
|
|
9
9
|
styleLabel: CSSProperties;
|
|
10
10
|
onSaveEditEquivalences: (correlation: Correlation, value: number) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorrelationTableRow.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CorrelationTableRow.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EACV,WAAW,EAEX,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,OAAO,CAAC;AAevD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAIhF,MAAM,WAAW,wBAAwB;IACvC,oBAAoB,EAAE,WAAW,EAAE,CAAC;IACpC,YAAY,EAAE,iBAAiB,CAAC;IAChC,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,aAAa,CAAC;IAC1B,sBAAsB,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,uBAAuB,EAAE,CAAC,MAAM,EAAE;QAChC,WAAW,EAAE,WAAW,CAAC;QACzB,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,GAAG,EAAE,eAAe,GAAG,cAAc,CAAC;KACvC,KAAK,IAAI,CAAC;IACX,iCAAiC,EAAE,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IACzE,WAAW,EAAE,QAAQ,EAAE,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,+BA6T1E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { correlationApi } from 'nmr-processing';
|
|
3
3
|
import { useCallback, useMemo } from 'react';
|
|
4
4
|
import { buildID } from '../../../../data/utilities/Concatenation.js';
|
|
5
5
|
import { findRangeOrZoneID } from '../../../../data/utilities/FindUtilities.js';
|
|
@@ -17,12 +17,12 @@ export default function CorrelationTableRow(props) {
|
|
|
17
17
|
const { openDialog } = useDialog();
|
|
18
18
|
const alert = useAlert();
|
|
19
19
|
const highlightIDsRow = useMemo(() => {
|
|
20
|
-
if (correlation.pseudo
|
|
20
|
+
if (correlation.pseudo) {
|
|
21
21
|
return [];
|
|
22
22
|
}
|
|
23
23
|
return correlation.link.flatMap((link) => {
|
|
24
24
|
const ids = [];
|
|
25
|
-
if (link.pseudo
|
|
25
|
+
if (!link.pseudo) {
|
|
26
26
|
ids.push(link.signal.id, buildID(link.signal.id, 'Crosshair_Y'));
|
|
27
27
|
const _id = findRangeOrZoneID(spectraData, link.experimentID, link.signal.id, true);
|
|
28
28
|
if (_id) {
|
|
@@ -53,10 +53,12 @@ export default function CorrelationTableRow(props) {
|
|
|
53
53
|
link.signal.id === _link.signal.id &&
|
|
54
54
|
!commonLinks.some((_commonLink) => _commonLink.signal.id === link.signal.id)) {
|
|
55
55
|
let experimentLabel = link.experimentType;
|
|
56
|
-
if (link.signal &&
|
|
56
|
+
if (link.signal &&
|
|
57
|
+
'sign' in link.signal &&
|
|
58
|
+
link.signal.sign !== 0) {
|
|
57
59
|
experimentLabel += link.signal.sign === 1 ? ' (+)' : ' (-)';
|
|
58
60
|
}
|
|
59
|
-
commonLinks.push(buildLink({
|
|
61
|
+
commonLinks.push(correlationApi.buildLink({
|
|
60
62
|
...link,
|
|
61
63
|
experimentLabel,
|
|
62
64
|
axis: undefined,
|
|
@@ -91,12 +93,12 @@ export default function CorrelationTableRow(props) {
|
|
|
91
93
|
const isInView = useInView({ correlation });
|
|
92
94
|
const tableDataProps = useMemo(() => {
|
|
93
95
|
const correlationLinks = correlation.link.map((link) => {
|
|
94
|
-
if (link.pseudo
|
|
96
|
+
if (!link.pseudo) {
|
|
95
97
|
return link.experimentType.toUpperCase();
|
|
96
98
|
}
|
|
97
|
-
return undefined;
|
|
99
|
+
return 'undefined';
|
|
98
100
|
});
|
|
99
|
-
correlationLinks.sort();
|
|
101
|
+
correlationLinks.sort((l1, l2) => l1.localeCompare(l2));
|
|
100
102
|
const title = Array.from(new Set(correlationLinks)).join('/');
|
|
101
103
|
return {
|
|
102
104
|
style: {
|
|
@@ -106,7 +108,7 @@ export default function CorrelationTableRow(props) {
|
|
|
106
108
|
? '#f5f5dc'
|
|
107
109
|
: 'inherit',
|
|
108
110
|
},
|
|
109
|
-
title: correlation.pseudo
|
|
111
|
+
title: !correlation.pseudo && title,
|
|
110
112
|
onMouseEnter: mouseEnterHandler,
|
|
111
113
|
onMouseLeave: mouseLeaveHandler,
|
|
112
114
|
};
|
|
@@ -119,7 +121,7 @@ export default function CorrelationTableRow(props) {
|
|
|
119
121
|
mouseLeaveHandler,
|
|
120
122
|
]);
|
|
121
123
|
const deleteCorrelationLink = useCallback(() => {
|
|
122
|
-
const message = `All signals of ${correlation.label.origin} (${getCorrelationDelta(correlation).toFixed(2)}) will be deleted. Are you sure?`;
|
|
124
|
+
const message = `All signals of ${correlation.label.origin} (${correlationApi.getCorrelationDelta(correlation).toFixed(2)}) will be deleted. Are you sure?`;
|
|
123
125
|
alert.showAlert({
|
|
124
126
|
message,
|
|
125
127
|
buttons: [
|
|
@@ -136,7 +138,7 @@ export default function CorrelationTableRow(props) {
|
|
|
136
138
|
highlightRow.hide();
|
|
137
139
|
}, [alert, correlation, highlightRow, onEditCorrelationTableCellHandler]);
|
|
138
140
|
const contextMenus = useMemo(() => {
|
|
139
|
-
if (correlation.pseudo
|
|
141
|
+
if (correlation.pseudo) {
|
|
140
142
|
return [];
|
|
141
143
|
}
|
|
142
144
|
const contextMenus = [
|
|
@@ -147,10 +149,11 @@ export default function CorrelationTableRow(props) {
|
|
|
147
149
|
},
|
|
148
150
|
];
|
|
149
151
|
for (const link of correlation?.link || []) {
|
|
150
|
-
const isValidLink = getLinkDim(link) === 1 && link.pseudo
|
|
152
|
+
const isValidLink = correlationApi.getLinkDim(link) === 1 && !link.pseudo;
|
|
153
|
+
const signalDelta = link.signal.delta;
|
|
151
154
|
if (isValidLink) {
|
|
152
155
|
const contextMenu = {
|
|
153
|
-
text: `Edit 1D (${
|
|
156
|
+
text: `Edit 1D (${signalDelta.toFixed(3)})${link.edited?.moved ? '[MOVED]' : ''}`,
|
|
154
157
|
icon: 'edit',
|
|
155
158
|
data: {
|
|
156
159
|
action: 'edit',
|
|
@@ -185,8 +188,8 @@ export default function CorrelationTableRow(props) {
|
|
|
185
188
|
const { title, ...otherTableDataProps } = tableDataProps;
|
|
186
189
|
const t = title || '';
|
|
187
190
|
return (_jsxs("tr", { style: { backgroundColor: 'mintcream' }, children: [_jsx(ContextMenu, { as: "td", options: contextMenus, title: t, ...otherTableDataProps,
|
|
188
|
-
style: { ...tableDataProps.style, styleLabel }, onSelect: contextMenuHandler, children: getLabel(correlations, correlation) }), _jsx("td", { title: t, ...otherTableDataProps, children: getCorrelationDelta(correlation)
|
|
189
|
-
? getCorrelationDelta(correlation)?.toFixed(2)
|
|
191
|
+
style: { ...tableDataProps.style, styleLabel }, onSelect: contextMenuHandler, children: correlationApi.getLabel(correlations, correlation) }), _jsx("td", { title: t, ...otherTableDataProps, children: correlationApi.getCorrelationDelta(correlation)
|
|
192
|
+
? correlationApi.getCorrelationDelta(correlation)?.toFixed(2)
|
|
190
193
|
: '' }), _jsx("td", { title: t, ...otherTableDataProps, children: correlation.atomType !== 'H' ? (_jsx(EditableColumn, { type: "number", value: correlation.equivalence, style: equivalenceCellStyle, onSave: onSaveEquivalencesHandler, validate: (val) => val !== '' })) : (_jsx("span", { style: equivalenceCellStyle, children: correlation.equivalence })) }), _jsx("td", { title: t, ...otherTableDataProps, children: correlation.atomType !== 'H' ? (_jsx(EditableColumn, { type: "text", value: correlation.protonsCount.join(','), style: correlation.edited.protonsCount ? { color: 'blue' } : {}, onSave: (value) => onSaveEditNumericValuesHandler(value, 'protonsCount'), validate: (val) => val !== '' })) : ('') }), _jsx("td", { title: t, ...otherTableDataProps,
|
|
191
194
|
style: { ...tableDataProps.style, borderRight: '1px solid' }, children: correlation.atomType !== 'H' ? (_jsx(EditableColumn, { type: "text", value: correlation.hybridization
|
|
192
195
|
.map((hybrid) => `sp${hybrid}`)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorrelationTableRow.js","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CorrelationTableRow.js","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,OAAO,EAAE,MAAM,6CAA6C,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,OAAO,EAAE,WAAW,E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,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,EAC/D,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAChB,8BAA8B,CAAC,KAAK,EAAE,cAAc,CAAC,EAEvD,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,EAAE,GAC7B,CACH,CAAC,CAAC,CAAC,CACF,EAAE,CACH,GACE,EACL,aACE,KAAK,EAAE,CAAC,EAEN,GAAG,mBAAmB;gBACtB,KAAK,EAAE,EAAE,GAAG,cAAc,CAAC,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,YAG7D,WAAW,CAAC,QAAQ,KAAK,GAAG,CAAC,CAAC,CAAC,CAC9B,KAAC,cAAc,IACb,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,WAAW,CAAC,aAAa;yBAC7B,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,KAAK,MAAM,EAAE,CAAC;yBAC9B,IAAI,CAAC,GAAG,CAAC,EACZ,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,EAChE,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAChB,8BAA8B,CAAC,KAAK,EAAE,eAAe,CAAC,EAExD,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,EAAE,GAC7B,CACH,CAAC,CAAC,CAAC,CACF,EAAE,CACH,GACE,EACJ,sBAAsB,IACpB,CACN,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { Correlation,
|
|
1
|
+
import type { Correlation, CorrelationLink } from 'nmr-processing';
|
|
2
2
|
import type { DialogProps } from '../../../../elements/DialogManager.js';
|
|
3
3
|
import type { OnEditCorrelationCallback } from '../../SummaryPanel.js';
|
|
4
4
|
export interface EditLinkDialogData {
|
|
5
5
|
correlationDim1: Correlation;
|
|
6
6
|
correlationDim2: Correlation;
|
|
7
|
-
link:
|
|
7
|
+
link: CorrelationLink;
|
|
8
8
|
}
|
|
9
9
|
interface EditLinkModalProps extends DialogProps<EditLinkDialogData> {
|
|
10
10
|
onEdit: OnEditCorrelationCallback;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditLinkModal.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditLinkModal.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAInE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAOvE,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,WAAW,CAAC;IAC7B,eAAe,EAAE,WAAW,CAAC;IAC7B,IAAI,EAAE,eAAe,CAAC;CACvB;AACD,UAAU,kBAAmB,SAAQ,WAAW,CAAC,kBAAkB,CAAC;IAClE,MAAM,EAAE,yBAAyB,CAAC;CACnC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BA4HtD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { DialogBody, Tab, Tabs } from '@blueprintjs/core';
|
|
3
|
-
import {
|
|
3
|
+
import { correlationApi } from 'nmr-processing';
|
|
4
4
|
import { useChartData } from '../../../../context/ChartContext.js';
|
|
5
5
|
import { DraggableDialog } from '../../../../elements/DraggableDialog.js';
|
|
6
6
|
import { getEditedCorrelations } from '../../utilities/Utilities.js';
|
|
@@ -13,12 +13,14 @@ export function EditLinkModal(props) {
|
|
|
13
13
|
const correlations = correlationData?.values || [];
|
|
14
14
|
const { correlationDim1, correlationDim2, link } = dialogData;
|
|
15
15
|
function getLinkLabel() {
|
|
16
|
-
const linkDim = getLinkDim(link);
|
|
16
|
+
const linkDim = correlationApi.getLinkDim(link);
|
|
17
17
|
if (linkDim === 1) {
|
|
18
|
-
|
|
18
|
+
const linkSignal = link.signal;
|
|
19
|
+
return ` 1D (${linkSignal.delta.toFixed(3)})`;
|
|
19
20
|
}
|
|
20
21
|
else if (linkDim === 2) {
|
|
21
|
-
|
|
22
|
+
const linkSignal = link.signal;
|
|
23
|
+
return `${linkSignal.x ? linkSignal.x.delta.toFixed(2) : '?'} (${correlationDim1.label.origin}), ${linkSignal.y ? linkSignal.y.delta.toFixed(2) : '?'} (${correlationDim2.label.origin})`;
|
|
22
24
|
}
|
|
23
25
|
return '';
|
|
24
26
|
}
|
|
@@ -37,7 +39,7 @@ export function EditLinkModal(props) {
|
|
|
37
39
|
}
|
|
38
40
|
return (_jsx(DraggableDialog, { hasBackdrop: false, canOutsideClickClose: false, style: { width: 500 }, title: `${link.experimentType.toUpperCase()} signal at ${getLinkLabel()}`, isOpen: true, onClose: onCloseDialog, placement: "center-right", children: _jsx(DialogBody, { children: _jsxs(Tabs, { defaultSelectedTabId: "move", children: [_jsx(Tab, { title: "Move", id: "move", panel: _jsx(MoveLink, { correlationDim1: correlationDim1, correlationDim2: correlationDim2, link: link, correlations: correlations, onEdit: (correlationIdDim1, correlationIdDim2) => handleOnEdit('move', correlationIdDim1, correlationIdDim2) }) }), _jsx(Tab, { title: "Unmove", id: "unmove", panel: _jsx(EditLinkConfirmation, { description: "Movement of signal to its original place.", onConfirm: () => handleOnEdit('unmove', correlationDim1.id, correlationDim2.id) }) }), _jsx(Tab, { title: "Remove", id: "remove", panel: _jsx(EditLinkConfirmation, { description: "Deletion of signal.", onConfirm: () => handleOnEdit('remove', undefined, undefined) }) }), _jsx(Tab, { title: "J Coupling", id: "setPathLength", panel: _jsx(EditPathLength, { signal: link.signal, experimentType: link.experimentType, onEdit: (editedSignal) => {
|
|
39
41
|
const editedLink = { ...link, signal: editedSignal };
|
|
40
|
-
handleOnEdit('setPathLength', correlationDim1, correlationDim2, editedLink);
|
|
42
|
+
handleOnEdit('setPathLength', correlationDim1.id, correlationDim2.id, editedLink);
|
|
41
43
|
} }) })] }) }) }));
|
|
42
44
|
}
|
|
43
45
|
//# sourceMappingURL=EditLinkModal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditLinkModal.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"EditLinkModal.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAE1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,oBAAoB,MAAM,mBAAmB,CAAC;AACrD,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,QAAQ,MAAM,eAAe,CAAC;AAWrC,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACpD,MAAM,EAAE,YAAY,EAAE,eAAe,EAAE,GAAG,YAAY,EAAE,CAAC;IACzD,MAA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AAe,EAClB,KAAK,EACH,KAAC,cAAc,IACb,MAAM,EAAE,IAAI,CAAC,MAAkB,EAC/B,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,MAAM,EAAE,CAAC,YAAY,EAAE,EAAE;gCACvB,MAAM,UAAU,GAAG,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC;gCACrD,YAAY,CACV,eAAe,EACf,eAAe,CAAC,EAAE,EAClB,eAAe,CAAC,EAAE,EAClB,UAAU,CACX,CAAC;4BACJ,CAAC,GACD,GAEJ,IACG,GACI,GACG,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Correlation,
|
|
1
|
+
import type { Correlation, CorrelationLink } from 'nmr-processing';
|
|
2
2
|
interface MoveLinkProps {
|
|
3
3
|
correlationDim1: Correlation;
|
|
4
4
|
correlationDim2: Correlation;
|
|
5
|
-
link:
|
|
5
|
+
link: CorrelationLink;
|
|
6
6
|
correlations: Correlation[];
|
|
7
7
|
onEdit: (correlationIdDim1: string, correlationIdDim2: string | undefined) => void;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoveLink.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"MoveLink.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAqCnE,UAAU,aAAa;IACrB,eAAe,EAAE,WAAW,CAAC;IAC7B,eAAe,EAAE,WAAW,CAAC;IAC7B,IAAI,EAAE,eAAe,CAAC;IACtB,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,GAAG,SAAS,KAClC,IAAI,CAAC;CACX;AAOD,iBAAS,QAAQ,CAAC,EAChB,eAAe,EACf,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,MAAM,GACP,EAAE,aAAa,+BA+Ef;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import {
|
|
3
|
+
import { correlationApi } from 'nmr-processing';
|
|
4
4
|
import { useCallback, useState } from 'react';
|
|
5
5
|
import Select from '../../../../elements/Select.js';
|
|
6
6
|
const Container = styled.div `
|
|
@@ -34,7 +34,7 @@ const Container = styled.div `
|
|
|
34
34
|
}
|
|
35
35
|
`;
|
|
36
36
|
function getCorrelationLabel(correlation) {
|
|
37
|
-
const delta = getCorrelationDelta(correlation);
|
|
37
|
+
const delta = correlationApi.getCorrelationDelta(correlation);
|
|
38
38
|
return delta ? delta.toFixed(2) : '?';
|
|
39
39
|
}
|
|
40
40
|
function MoveLink({ correlationDim1, correlationDim2, link, correlations, onEdit, }) {
|
|
@@ -55,8 +55,8 @@ function MoveLink({ correlationDim1, correlationDim2, link, correlations, onEdit
|
|
|
55
55
|
key: 'new',
|
|
56
56
|
value: 'new',
|
|
57
57
|
label: `new -> ${(dim === 0
|
|
58
|
-
? getCorrelationDelta(correlationDim1)
|
|
59
|
-
: getCorrelationDelta(correlationDim2)).toFixed(2)}`,
|
|
58
|
+
? correlationApi.getCorrelationDelta(correlationDim1)
|
|
59
|
+
: correlationApi.getCorrelationDelta(correlationDim2)).toFixed(2)}`,
|
|
60
60
|
});
|
|
61
61
|
return (_jsx(Select, { onChange: (selection) => {
|
|
62
62
|
if (dim === 0) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoveLink.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"MoveLink.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,MAAM,MAAM,gCAAgC,CAAC;AAEpD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B3B,CAAC;AAaF,SAAS,mBAAmB,CAAC,WAAwB;IACnD,MAAM,KAAK,GAAG,cAAc,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;IAC9D,OAAO,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AACxC,CAAC;AAED,SAAS,QAAQ,CAAC,EAChB,eAAe,EACf,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,MAAM,GACQ;IACd,MAAM,CAAC,yBAAyB,EAAE,4BAA4B,CAAC,GAAG,QAAQ,CACxE,eAAe,CAAC,EAAE,CACnB,CAAC;IACF,MAAM,CAAC,yBAAyB,EAAE,4BAA4B,CAAC,GAAG,QAAQ,CACxE,eAAe,EAAE,EAAE,IAAI,SAAS,CACjC,CAAC;IAEF,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,WAAwB,EAAE,GAAU,EAAE,EAAE;QACvC,MAAM,aAAa,GAId,EAAE,CAAC;QACR,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;YACvC,IACE,CAAC,WAAW,CAAC,MAAM;gBACnB,WAAW,C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,CAAC,EAChC,eAAe,IAAI,YAAY,CAAC,eAAe,EAAE,CAAC,CAAC,IAChD,EACN,iBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE,CACZ,MAAM,CAAC,yBAAyB,EAAE,yBAAyB,CAAC,qBAIvD,IACC,CACb,CAAC;AACJ,CAAC;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
+
import type { CorrelationData } from 'nmr-processing';
|
|
1
2
|
interface OverviewProps {
|
|
2
|
-
correlationsData
|
|
3
|
-
options: {
|
|
4
|
-
mf: string;
|
|
5
|
-
};
|
|
6
|
-
state: any;
|
|
7
|
-
};
|
|
3
|
+
correlationsData: CorrelationData;
|
|
8
4
|
}
|
|
9
|
-
declare function Overview({ correlationsData }: OverviewProps): import("react").JSX.Element
|
|
5
|
+
declare function Overview({ correlationsData }: OverviewProps): import("react").JSX.Element;
|
|
10
6
|
declare const _default: import("react").MemoExoticComponent<typeof Overview>;
|
|
11
7
|
export default _default;
|
|
12
8
|
//# sourceMappingURL=Overview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/Overview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/Overview.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAkBtD,UAAU,aAAa;IACrB,gBAAgB,EAAE,eAAe,CAAC;CACnC;AAED,iBAAS,QAAQ,CAAC,EAAE,gBAAgB,EAAE,EAAE,aAAa,+BAwCpD;;AAED,wBAA8B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
-
import {
|
|
3
|
+
import { correlationApi } from 'nmr-processing';
|
|
4
4
|
import { memo } from 'react';
|
|
5
5
|
import { ErrorColors, Errors } from './CorrelationTable/Constants.js';
|
|
6
6
|
const Container = styled.div `
|
|
@@ -15,10 +15,7 @@ const Container = styled.div `
|
|
|
15
15
|
}
|
|
16
16
|
`;
|
|
17
17
|
function Overview({ correlationsData }) {
|
|
18
|
-
|
|
19
|
-
return null;
|
|
20
|
-
}
|
|
21
|
-
const atoms = getAtomCounts(correlationsData.options.mf);
|
|
18
|
+
const atoms = correlationApi.getAtomCounts(correlationsData.options.mf || '');
|
|
22
19
|
const elements = Object.keys(atoms).length > 0 ? (Object.keys(atoms).map((atomType, i) => {
|
|
23
20
|
const stateAtomType = correlationsData.state[atomType];
|
|
24
21
|
const error = stateAtomType ? stateAtomType.error : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overview.js","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/Overview.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Overview.js","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/Overview.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;CAU3B,CAAC;AAMF,SAAS,QAAQ,CAAC,EAAE,gBAAgB,EAAiB;IACnD,MAAM,KAAK,GAAG,cAAc,CAAC,aAAa,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC;IAE9E,MAAM,QAAQ,GACZ,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MA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AI,EAAE,CAAC,IAA8B,EAAE,EAAE;gBACvC,OAAO,CACL,KAAC,sBAAsB,IACrB,IAAI,EAAE,cAAc,IAAI,CAAC,GAAG,CAAC,KAAK,QAAQ,EAC1C,OAAO,EAAE,OAAO,EAChB,IAAI,SACJ,CACH,CAAC;YACJ,CAAC;SACF;KACF,EACD,CAAC,OAAO,CAAC,CACV,CAAC;IAEF,OAAO,CACL,MAAC,cAAc,IACb,MAAM,QACN,KAAK,EAAC,kBAAkB,EACxB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,aAErB,KAAC,UAAU,cACT,KAAC,UAAU,IACT,IAAI,EAAE,cAAc,EACpB,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAC,UAAU,GAC3B,GACS,EACb,KAAC,YAAY,cACX,KAAC,MAAM,CAAC,IAAI,IACV,OAAO,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,aAAa,CAAC,EAAE,EAC5C,QAAQ,EAAE,CAAC,OAAO,qCAGN,GACD,IACA,CAClB,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Correlation,
|
|
1
|
+
import type { Correlation, CorrelationBuildOptions, CorrelationLink } from 'nmr-processing';
|
|
2
2
|
type EditCorrelationAction = 'add' | 'move' | 'remove' | 'unmove' | 'setPathLength';
|
|
3
|
-
export type OnEditCorrelationCallback = (editedCorrelations: Correlation[], action: EditCorrelationAction, link?:
|
|
3
|
+
export type OnEditCorrelationCallback = (editedCorrelations: Correlation[], action: EditCorrelationAction, link?: CorrelationLink, options?: CorrelationBuildOptions) => void;
|
|
4
4
|
declare function SummaryPanel(): import("react").JSX.Element;
|
|
5
5
|
declare const _default: import("react").MemoExoticComponent<typeof SummaryPanel>;
|
|
6
6
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SummaryPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SummaryPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SummaryPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SummaryPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,WAAW,EACX,uBAAuB,EACvB,eAAe,EAEhB,MAAM,gBAAgB,CAAC;AA8BxB,KAAK,qBAAqB,GACxB,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,eAAe,CAAC;AAEzD,MAAM,MAAM,yBAAyB,GAAG,CACtC,kBAAkB,EAAE,WAAW,EAAE,EACjC,MAAM,EAAE,qBAAqB,EAC7B,IAAI,CAAC,EAAE,eAAe,EACtB,OAAO,CAAC,EAAE,uBAAuB,KAC9B,IAAI,CAAC;AAqCV,iBAAS,YAAY,gCAkcpB;;AAED,wBAAkC"}
|