nmrium 0.62.1 → 0.63.1
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.d.ts.map +1 -1
- package/lib/component/1d/ApodizationLine.js +46 -30
- 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 +31 -10
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +8 -9
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/FloatingRanges.js +1 -1
- package/lib/component/1d/FloatingRanges.js.map +1 -1
- package/lib/component/1d/FooterBanner.js.map +1 -1
- package/lib/component/1d/SpectraLegends.js.map +1 -1
- package/lib/component/1d/Viewer1D.js +1 -1
- package/lib/component/1d/Viewer1D.js.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.js +3 -2
- package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/inset/SpectraInsets.d.ts +1 -1
- package/lib/component/1d/inset/SpectraInsets.d.ts.map +1 -1
- package/lib/component/1d/integral/IntegralsSeries.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraph.js.map +1 -1
- package/lib/component/1d/matrix/useMatrix.d.ts.map +1 -1
- package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.js +1 -1
- package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/multiplicityTree/generateTreeNodes.d.ts +1 -1
- package/lib/component/1d/multiplicityTree/generateTreeNodes.d.ts.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.d.ts +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.d.ts +1 -0
- package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.js +6 -4
- package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts +2 -1
- package/lib/component/1d/ranges/Range.d.ts.map +1 -1
- package/lib/component/1d/ranges/Range.js +14 -6
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +31 -8
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/ranges/RangesIntegrals.js.map +1 -1
- package/lib/component/1d/utilities/scale.js +1 -1
- package/lib/component/1d/utilities/scale.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts +0 -6
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +3 -4
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.js +7 -2
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.d.ts +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.d.ts +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js +21 -4
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/SVGContent2D.d.ts +1 -1
- package/lib/component/2d/SVGContent2D.d.ts.map +1 -1
- package/lib/component/2d/SVGContent2D.js +2 -2
- package/lib/component/2d/SVGContent2D.js.map +1 -1
- package/lib/component/2d/fid/FidCanvas.js.map +1 -1
- package/lib/component/2d/ft/Contours.js.map +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
- package/lib/component/2d/useTracesSpectra.d.ts +7 -1
- package/lib/component/2d/useTracesSpectra.d.ts.map +1 -1
- package/lib/component/2d/useTracesSpectra.js +18 -14
- package/lib/component/2d/useTracesSpectra.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +14 -0
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -0
- package/lib/component/2d/utilities/extractSpectrumSignals.js +41 -0
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -0
- package/lib/component/2d/zones/SignalsGuideLines.d.ts +2 -0
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -0
- package/lib/component/2d/zones/SignalsGuideLines.js +142 -0
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -0
- package/lib/component/2d/zones/Zone.d.ts.map +1 -1
- package/lib/component/2d/zones/Zone.js +17 -21
- package/lib/component/2d/zones/Zone.js.map +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.js +64 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts +38 -3
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +136 -38
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/assignment/utilities/filterAssignedIDs.d.ts +3 -0
- package/lib/component/assignment/utilities/filterAssignedIDs.d.ts.map +1 -0
- package/lib/component/assignment/utilities/filterAssignedIDs.js +4 -0
- package/lib/component/assignment/utilities/filterAssignedIDs.js.map +1 -0
- package/lib/component/assignment/utilities/getAssignments.d.ts +1 -1
- package/lib/component/assignment/utilities/getAssignments.d.ts.map +1 -1
- package/lib/component/context/CoreContext.d.ts +4 -0
- package/lib/component/context/CoreContext.d.ts.map +1 -0
- package/lib/component/context/CoreContext.js +11 -0
- package/lib/component/context/CoreContext.js.map +1 -0
- package/lib/component/context/SortSpectraContext.d.ts +1 -1
- package/lib/component/context/SortSpectraContext.d.ts.map +1 -1
- package/lib/component/context/SortSpectraContext.js.map +1 -1
- package/lib/component/context/TopicMoleculeContext.js +2 -2
- package/lib/component/context/TopicMoleculeContext.js.map +1 -1
- package/lib/component/elements/ContainerQueryWrapper.d.ts.map +1 -1
- package/lib/component/elements/Footer.d.ts.map +1 -1
- package/lib/component/elements/MoleculeSelection.js +1 -1
- package/lib/component/elements/MoleculeSelection.js.map +1 -1
- package/lib/component/elements/ReactTable/BaseReactTable.d.ts.map +1 -1
- package/lib/component/elements/TabsProvider.d.ts +14 -0
- package/lib/component/elements/TabsProvider.d.ts.map +1 -0
- package/lib/component/elements/TabsProvider.js +22 -0
- package/lib/component/elements/TabsProvider.js.map +1 -0
- package/lib/component/elements/export/ExportContent.d.ts +1 -1
- package/lib/component/elements/export/ExportContent.d.ts.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/elements/export/units.d.ts +1 -1
- package/lib/component/elements/export/units.d.ts.map +1 -1
- package/lib/component/elements/export/units.js +1 -1
- package/lib/component/elements/export/units.js.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
- package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts +2 -2
- package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts.map +1 -1
- package/lib/component/elements/export/utilities/exportOptionValidationSchema.js.map +1 -1
- package/lib/component/elements/export/utilities/getExportOptions.d.ts +1 -1
- package/lib/component/elements/export/utilities/getExportOptions.d.ts.map +1 -1
- package/lib/component/elements/export/utilities/getSizeInPixel.d.ts +1 -1
- package/lib/component/elements/export/utilities/getSizeInPixel.d.ts.map +1 -1
- package/lib/component/elements/print/PrintContent.d.ts +1 -1
- package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
- package/lib/component/elements/print/pageSize.d.ts +1 -1
- package/lib/component/elements/print/pageSize.d.ts.map +1 -1
- package/lib/component/header/Header.js +1 -1
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js +2 -3
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts +1 -1
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectra.d.ts +1 -1
- package/lib/component/hooks/useActiveSpectra.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrum.d.ts +1 -1
- package/lib/component/hooks/useActiveSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrumIntegralsViewState.d.ts +1 -1
- package/lib/component/hooks/useActiveSpectrumIntegralsViewState.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrumPeaksViewState.d.ts +1 -1
- package/lib/component/hooks/useActiveSpectrumPeaksViewState.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrumRangesViewState.d.ts +1 -1
- package/lib/component/hooks/useActiveSpectrumRangesViewState.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts +1 -1
- package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts.map +1 -1
- package/lib/component/hooks/useCanvasContext.d.ts +2 -0
- package/lib/component/hooks/useCanvasContext.d.ts.map +1 -0
- package/lib/component/hooks/useCanvasContext.js +13 -0
- package/lib/component/hooks/useCanvasContext.js.map +1 -0
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -1
- package/lib/component/hooks/useExport.d.ts.map +1 -1
- package/lib/component/hooks/useExport.js +6 -4
- package/lib/component/hooks/useExport.js.map +1 -1
- package/lib/component/hooks/usePanelPreferences.d.ts +1 -1
- package/lib/component/hooks/usePanelPreferences.d.ts.map +1 -1
- package/lib/component/hooks/usePanelPreferences.js.map +1 -1
- package/lib/component/hooks/usePeaksLabelSettings.d.ts +1 -1
- package/lib/component/hooks/usePeaksLabelSettings.d.ts.map +1 -1
- package/lib/component/hooks/useResizerStatus.d.ts +1 -1
- package/lib/component/hooks/useResizerStatus.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSpectraPerNucleus.d.ts +1 -1
- package/lib/component/hooks/useSpectraPerNucleus.d.ts.map +1 -1
- package/lib/component/hooks/useSpectrum.d.ts +1 -2
- package/lib/component/hooks/useSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useSpectrum.js +2 -17
- package/lib/component/hooks/useSpectrum.js.map +1 -1
- package/lib/component/hooks/useSpectrumWithDataSource.d.ts +3 -0
- package/lib/component/hooks/useSpectrumWithDataSource.d.ts.map +1 -0
- package/lib/component/hooks/useSpectrumWithDataSource.js +22 -0
- package/lib/component/hooks/useSpectrumWithDataSource.js.map +1 -0
- package/lib/component/hooks/useTempSpectrum.d.ts +1 -2
- package/lib/component/hooks/useTempSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useTempSpectrum.js +2 -11
- package/lib/component/hooks/useTempSpectrum.js.map +1 -1
- package/lib/component/hooks/useToolsFunctions.js.map +1 -1
- package/lib/component/hooks/useWorkspaceAction.d.ts +1 -1
- package/lib/component/hooks/useWorkspaceAction.d.ts.map +1 -1
- package/lib/component/hooks/useWorkspaceAction.js.map +1 -1
- package/lib/component/hooks/useWorkspaceExportSettings.d.ts +1 -1
- package/lib/component/hooks/useWorkspaceExportSettings.d.ts.map +1 -1
- package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
- package/lib/component/loader/useLoadFiles.js +4 -2
- package/lib/component/loader/useLoadFiles.js.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts +1 -1
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.js +15 -7
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRium.d.ts +2 -1
- package/lib/component/main/NMRium.d.ts.map +1 -1
- package/lib/component/main/NMRium.js.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +7 -4
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
- package/lib/component/main/NMRiumViewerWrapper.js +3 -2
- package/lib/component/main/NMRiumViewerWrapper.js.map +1 -1
- package/lib/component/main/index.d.ts +0 -1
- package/lib/component/main/index.d.ts.map +1 -1
- package/lib/component/main/index.js +0 -1
- package/lib/component/main/index.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/ExportAsJcampModal.d.ts +1 -1
- package/lib/component/modal/ExportAsJcampModal.d.ts.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +3 -2
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/MoleculeStructureEditorModal.d.ts.map +1 -1
- package/lib/component/modal/MoleculeStructureEditorModal.js +7 -5
- package/lib/component/modal/MoleculeStructureEditorModal.js.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.d.ts +1 -1
- package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts +1 -1
- package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +16 -20
- package/lib/component/modal/editRange/EditRangeModal.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.js +3 -2
- package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/InfoBlock.js +2 -2
- package/lib/component/modal/editRange/forms/components/InfoBlock.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js +4 -2
- package/lib/component/modal/editRange/forms/components/NewSignalTab.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 +7 -10
- package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +2 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js +3 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts +1 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +2 -2
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js +3 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +2 -2
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +2 -2
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +3 -2
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -1
- package/lib/component/modal/setting/settingsValidation.js +1 -1
- package/lib/component/modal/setting/settingsValidation.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +2 -2
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralPanel.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +12 -17
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +4 -12
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +4 -3
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/Utilities.d.ts +20 -7
- package/lib/component/panels/MoleculesPanel/Utilities.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/Utilities.js +35 -27
- package/lib/component/panels/MoleculesPanel/Utilities.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts +1 -10
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js +127 -137
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/Panels.d.ts +4 -1
- package/lib/component/panels/Panels.d.ts.map +1 -1
- package/lib/component/panels/Panels.js +35 -9
- package/lib/component/panels/Panels.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.d.ts +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +2 -2
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.js +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectrumName.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js +2 -2
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +6 -2
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/accordionItems.d.ts +1 -1
- package/lib/component/panels/accordionItems.d.ts.map +1 -1
- package/lib/component/panels/accordionItems.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +33 -15
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js +2 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts +2 -3
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js +6 -4
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js +3 -2
- package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
- package/lib/component/panels/extra/BasicPanelStyle.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js +2 -3
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +4 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/InnerFilterHeader.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +20 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts +3 -2
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js +10 -4
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +14 -2
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +0 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +8 -2
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
- package/lib/component/panels/hooks/useGetPanelOptions.d.ts +1 -1
- package/lib/component/panels/hooks/useGetPanelOptions.d.ts.map +1 -1
- package/lib/component/panels/hooks/useTogglePanel.d.ts +1 -1
- package/lib/component/panels/hooks/useTogglePanel.d.ts.map +1 -1
- package/lib/component/panels/hooks/useTogglePanel.js +4 -2
- package/lib/component/panels/hooks/useTogglePanel.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +5 -3
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPanel.js +8 -8
- package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionSimpleOptions.js +19 -17
- package/lib/component/panels/predictionPanel/PredictionSimpleOptions.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulation.js +8 -7
- package/lib/component/panels/spectrumSimulation/SpectrumSimulation.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts +1 -1
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +4 -4
- 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/CorrelationsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts +2 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +7 -1
- package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +27 -5
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +134 -68
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +10 -4
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadActions.d.ts +1 -1
- package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadActions.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +3 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +5 -5
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- 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/RangesActions.d.ts +10 -9
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +40 -34
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +1 -2
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts +1 -0
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +33 -19
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.d.ts +8 -8
- package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.js +21 -19
- package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.d.ts +5 -3
- package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js +9 -9
- package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js +24 -23
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/helper/getActiveSpectra.d.ts +1 -1
- package/lib/component/reducer/helper/getActiveSpectra.d.ts.map +1 -1
- package/lib/component/reducer/helper/getActiveSpectrum.d.ts +1 -1
- package/lib/component/reducer/helper/getActiveSpectrum.d.ts.map +1 -1
- package/lib/component/reducer/helper/setIntegralsViewProperty.d.ts +1 -1
- package/lib/component/reducer/helper/setIntegralsViewProperty.d.ts.map +1 -1
- package/lib/component/reducer/helper/setRangesViewProperty.d.ts +1 -1
- package/lib/component/reducer/helper/setRangesViewProperty.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js +2 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -1
- package/lib/component/reducer/preferences/actions/togglePanel.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +4 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/getActiveWorkspace.d.ts +1 -1
- package/lib/component/reducer/preferences/utilities/getActiveWorkspace.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts +1 -1
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts +1 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -1
- package/lib/component/toolbar/ToolBar.d.ts.map +1 -1
- package/lib/component/toolbar/ToolBar.js +16 -10
- package/lib/component/toolbar/ToolBar.js.map +1 -1
- package/lib/component/toolbar/ToolTypes.d.ts +1 -1
- package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
- package/lib/component/useWatchForm.d.ts +8 -0
- package/lib/component/useWatchForm.d.ts.map +1 -0
- package/lib/component/useWatchForm.js +24 -0
- package/lib/component/useWatchForm.js.map +1 -0
- package/lib/component/utility/export.d.ts +1 -1
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js.map +1 -1
- package/lib/component/utility/getClosePeak.d.ts +1 -1
- package/lib/component/utility/getClosePeak.d.ts.map +1 -1
- package/lib/component/utility/getSpectraByNucleus.d.ts +1 -1
- package/lib/component/utility/getSpectraByNucleus.d.ts.map +1 -1
- package/lib/component/utility/getSpectraObjectPaths.d.ts +1 -1
- package/lib/component/utility/getSpectraObjectPaths.d.ts.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.d.ts +17 -0
- package/lib/component/utility/stackOverlappingLabels.d.ts.map +1 -0
- package/lib/component/utility/stackOverlappingLabels.js +59 -0
- package/lib/component/utility/stackOverlappingLabels.js.map +1 -0
- package/lib/component/workspaces/assignment.d.ts +1 -1
- package/lib/component/workspaces/assignment.d.ts.map +1 -1
- package/lib/component/workspaces/basic.d.ts +1 -1
- package/lib/component/workspaces/basic.d.ts.map +1 -1
- package/lib/component/workspaces/embedded.d.ts +1 -1
- package/lib/component/workspaces/embedded.d.ts.map +1 -1
- package/lib/component/workspaces/exercise.d.ts +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/index.d.ts +7 -7
- package/lib/component/workspaces/prediction.d.ts +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 +1 -1
- package/lib/component/workspaces/process1D.d.ts.map +1 -1
- package/lib/component/workspaces/simulation.d.ts +1 -1
- package/lib/component/workspaces/simulation.d.ts.map +1 -1
- package/lib/component/workspaces/simulation.js +1 -0
- package/lib/component/workspaces/simulation.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts +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/PredictionManager.d.ts +1 -1
- package/lib/data/PredictionManager.d.ts.map +1 -1
- package/lib/data/PredictionManager.js +11 -2
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/SpectraManager.d.ts +5 -3
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +11 -8
- 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.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/integrals/initiateIntegrals.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/integrals/initiateIntegrals.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/integrals/initiateIntegrals.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/initiatePeaks.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/initiatePeaks.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/initiatePeaks.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts +2 -39
- package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/createRange.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectRange.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectRange.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectRange.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectRanges.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectRanges.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +1 -31
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.d.ts +2 -39
- package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/initiateRanges.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resizeRange.d.ts +2 -39
- package/lib/data/data1d/Spectrum1D/ranges/resizeRange.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resizeRange.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +21 -3
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
- package/lib/data/data1d/database.js +1 -1
- package/lib/data/data1d/database.js.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +6 -2
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +12 -11
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js +6 -2
- package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +4 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +6 -0
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.js.map +1 -1
- package/lib/data/molecules/Molecule.js +2 -2
- package/lib/data/molecules/Molecule.js.map +1 -1
- package/lib/data/molecules/MoleculeManager.d.ts +2 -2
- package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
- package/lib/data/molecules/MoleculeManager.js +7 -6
- package/lib/data/molecules/MoleculeManager.js.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
- package/lib/data/utilities/FindUtilities.d.ts +1 -1
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/data/utilities/convertSpectraListToObject.d.ts +1 -1
- package/lib/data/utilities/convertSpectraListToObject.d.ts.map +1 -1
- package/lib/data/utilities/getCustomColor.d.ts +1 -1
- package/lib/data/utilities/getCustomColor.d.ts.map +1 -1
- package/lib/data/utilities/getCustomColor.js.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +32 -34
- package/src/component/1d/ApodizationLine.tsx +57 -32
- package/src/component/1d/BrushTracker1D.tsx +43 -7
- package/src/component/1d/ExclusionZonesAnnotations.tsx +1 -1
- package/src/component/1d/FloatPublicationString.tsx +11 -12
- package/src/component/1d/FloatingRanges.tsx +3 -3
- package/src/component/1d/FooterBanner.tsx +1 -1
- package/src/component/1d/LinesSeries.tsx +1 -1
- package/src/component/1d/SpectraLegends.tsx +3 -3
- package/src/component/1d/Viewer1D.tsx +1 -1
- package/src/component/1d/database/DatabaseSpectrum.tsx +4 -3
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +1 -1
- package/src/component/1d/inset/DraggableInset.tsx +5 -5
- package/src/component/1d/inset/SpectraInsets.tsx +1 -1
- package/src/component/1d/integral/IntegralsSeries.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraph.tsx +1 -1
- package/src/component/1d/matrix/useMatrix.ts +1 -1
- package/src/component/1d/multiAnalysis/MultiAnalysisRanges.tsx +2 -2
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +1 -1
- package/src/component/1d/multiplicityTree/MultiplicityTrees.tsx +1 -1
- package/src/component/1d/multiplicityTree/generateTreeNodes.ts +1 -1
- package/src/component/1d/peaks/Peaks.tsx +1 -1
- package/src/component/1d/peaks/PeaksShapes.tsx +1 -1
- package/src/component/1d/peaks/usePeakShapesPath.ts +1 -1
- package/src/component/1d/ranges/AssignmentLabel.tsx +7 -4
- package/src/component/1d/ranges/Range.tsx +29 -11
- package/src/component/1d/ranges/Ranges.tsx +51 -13
- package/src/component/1d/ranges/RangesIntegrals.tsx +1 -1
- package/src/component/1d/tool/PeakPointer.tsx +1 -1
- package/src/component/1d/tool/XLabelPointer.tsx +1 -1
- package/src/component/1d/utilities/scale.ts +1 -1
- package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +2 -20
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +1 -1
- package/src/component/1d-2d/tools/BrushXY.tsx +7 -2
- package/src/component/2d/1d-tracer/HorizontalSliceChart.tsx +1 -1
- package/src/component/2d/1d-tracer/Left1DChart.tsx +1 -1
- package/src/component/2d/1d-tracer/Top1DChart.tsx +1 -1
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +1 -1
- package/src/component/2d/BrushTracker2D.tsx +27 -4
- package/src/component/2d/SVGContent2D.tsx +3 -4
- package/src/component/2d/SlicingView.tsx +1 -1
- package/src/component/2d/XAxis.tsx +1 -1
- package/src/component/2d/fid/FidCanvas.tsx +1 -1
- package/src/component/2d/fid/FidContainer.tsx +1 -1
- package/src/component/2d/ft/Contours.tsx +1 -1
- package/src/component/2d/ft/FTContainer.tsx +1 -1
- package/src/component/2d/useTracesSpectra.ts +35 -20
- package/src/component/2d/utilities/extractSpectrumSignals.ts +60 -0
- package/src/component/2d/zones/SignalsGuideLines.tsx +280 -0
- package/src/component/2d/zones/Zone.tsx +43 -63
- package/src/component/2d/zones/Zones.tsx +1 -1
- package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +89 -2
- package/src/component/EventsTrackers/BrushTracker.tsx +211 -64
- package/src/component/assignment/utilities/filterAssignedIDs.ts +8 -0
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/CoreContext.tsx +14 -0
- package/src/component/context/SortSpectraContext.tsx +1 -1
- package/src/component/context/TopicMoleculeContext.tsx +2 -2
- package/src/component/elements/MoleculeSelection.tsx +1 -1
- package/src/component/elements/TabsProvider.tsx +42 -0
- package/src/component/elements/export/ExportContent.tsx +1 -1
- package/src/component/elements/export/ExportManager.tsx +1 -1
- package/src/component/elements/export/ExportOptionsModal.tsx +2 -2
- package/src/component/elements/export/units.ts +2 -2
- package/src/component/elements/export/useExportConfigurer.tsx +1 -1
- package/src/component/elements/export/utilities/exportOptionValidationSchema.ts +6 -1
- package/src/component/elements/export/utilities/getExportOptions.ts +1 -1
- package/src/component/elements/export/utilities/getSizeInPixel.ts +1 -1
- package/src/component/elements/print/PrintContent.tsx +1 -1
- package/src/component/elements/print/pageSize.ts +1 -1
- package/src/component/header/Header.tsx +2 -2
- package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +20 -21
- package/src/component/highlight/index.tsx +1 -1
- package/src/component/hooks/useActiveSpectrumIntegralsViewState.ts +1 -1
- package/src/component/hooks/useActiveSpectrumPeaksViewState.ts +1 -1
- package/src/component/hooks/useActiveSpectrumRangesViewState.ts +1 -1
- package/src/component/hooks/useActiveSpectrumZonesViewState.ts +1 -1
- package/src/component/hooks/useCanvasContext.ts +15 -0
- package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +1 -1
- package/src/component/hooks/useExport.tsx +6 -4
- package/src/component/hooks/useFilter.ts +1 -1
- package/src/component/hooks/usePanelPreferences.ts +2 -2
- package/src/component/hooks/usePeaksLabelSettings.ts +1 -1
- package/src/component/hooks/useResizerStatus.ts +1 -1
- package/src/component/hooks/useSaveSettings.tsx +1 -1
- package/src/component/hooks/useSpectraPerNucleus.ts +1 -1
- package/src/component/hooks/useSpectrum.ts +2 -27
- package/src/component/hooks/useSpectrumWithDataSource.ts +36 -0
- package/src/component/hooks/useTempSpectrum.ts +2 -15
- package/src/component/hooks/useToolsFunctions.ts +1 -1
- package/src/component/hooks/useWorkspaceAction.ts +1 -1
- package/src/component/loader/useLoadFiles.ts +4 -2
- package/src/component/main/InnerNMRium.tsx +69 -56
- package/src/component/main/InnerNMRiumContents.tsx +1 -1
- package/src/component/main/NMRium.tsx +3 -1
- package/src/component/main/NMRiumStateProvider.tsx +8 -4
- package/src/component/main/NMRiumViewerWrapper.tsx +5 -1
- package/src/component/main/index.ts +0 -2
- package/src/component/main/types.ts +3 -3
- package/src/component/modal/ExportAsJcampModal.tsx +1 -1
- package/src/component/modal/LoadJCAMPModal.tsx +3 -2
- package/src/component/modal/MoleculeStructureEditorModal.tsx +13 -9
- package/src/component/modal/MultipletAnalysisModal.tsx +1 -1
- package/src/component/modal/changeSum/ChangeSumModalContents.tsx +1 -1
- package/src/component/modal/editRange/EditRangeModal.tsx +52 -58
- package/src/component/modal/editRange/forms/components/DeltaInput.tsx +3 -2
- package/src/component/modal/editRange/forms/components/InfoBlock.tsx +4 -2
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +4 -2
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +6 -15
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +3 -1
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +5 -2
- package/src/component/modal/setting/GeneralSettings.tsx +1 -1
- package/src/component/modal/setting/WorkspaceItem.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +3 -3
- package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +5 -11
- package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +2 -2
- package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +6 -3
- package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +3 -3
- package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +5 -4
- package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +1 -1
- package/src/component/modal/setting/settingsValidation.ts +2 -2
- package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +3 -3
- package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +1 -1
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.tsx +15 -23
- package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +2 -26
- package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +5 -5
- package/src/component/panels/MoleculesPanel/Utilities.ts +63 -29
- package/src/component/panels/MoleculesPanel/useAtomAssignment.tsx +193 -194
- package/src/component/panels/Panels.tsx +72 -34
- package/src/component/panels/PanelsBar.tsx +1 -1
- package/src/component/panels/PeaksPanel/PeaksPanel.tsx +1 -1
- package/src/component/panels/RangesPanel/RangesHeader.tsx +1 -1
- package/src/component/panels/RangesPanel/RangesPanel.tsx +4 -1
- package/src/component/panels/RangesPanel/RangesTable.tsx +1 -1
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +4 -4
- package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.tsx +1 -1
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +5 -1
- package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +1 -1
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +3 -3
- package/src/component/panels/SpectraPanel/SpectraTabs.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/ColorIndicator.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/ShowHideSpectrumButton.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/SpectrumName.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +1 -1
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +1 -1
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +5 -1
- package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.tsx +2 -0
- package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +1 -1
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +6 -0
- package/src/component/panels/ZonesPanel/ZonesPanel.tsx +1 -1
- package/src/component/panels/ZonesPanel/ZonesTable.tsx +1 -1
- package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +1 -1
- package/src/component/panels/accordionItems.tsx +1 -1
- package/src/component/panels/databasePanel/DatabasePanel.tsx +60 -22
- package/src/component/panels/databasePanel/DatabasePreferences.tsx +19 -0
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +2 -2
- package/src/component/panels/databasePanel/DatabaseStructureSearchModal.tsx +15 -10
- package/src/component/panels/databasePanel/DatabaseTable.tsx +4 -2
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +20 -21
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +4 -1
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +32 -1
- package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +13 -5
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +0 -1
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +1 -1
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +1 -1
- package/src/component/panels/hooks/useGetPanelOptions.ts +1 -1
- package/src/component/panels/hooks/useTogglePanel.ts +7 -4
- package/src/component/panels/multipleAnalysisPanel/AlignSpectra.tsx +1 -1
- package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +2 -2
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +1 -1
- package/src/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.tsx +1 -1
- package/src/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.tsx +1 -1
- package/src/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.tsx +1 -1
- package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +9 -7
- package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +1 -1
- package/src/component/panels/predictionPanel/PredictionPanel.tsx +16 -15
- package/src/component/panels/predictionPanel/PredictionSimpleOptions.tsx +55 -41
- package/src/component/panels/spectrumSimulation/SpectrumSimulation.tsx +8 -7
- package/src/component/reducer/Reducer.ts +5 -5
- package/src/component/reducer/actions/AssignmentsActions.ts +1 -1
- package/src/component/reducer/actions/CorrelationsActions.ts +1 -1
- package/src/component/reducer/actions/DatabaseActions.ts +11 -2
- package/src/component/reducer/actions/DomainActions.ts +5 -5
- package/src/component/reducer/actions/FiltersActions.ts +207 -85
- package/src/component/reducer/actions/InsetActions.ts +13 -7
- package/src/component/reducer/actions/IntegralsActions.ts +1 -1
- package/src/component/reducer/actions/LoadActions.ts +6 -6
- package/src/component/reducer/actions/MoleculeActions.ts +6 -4
- package/src/component/reducer/actions/PeaksActions.ts +4 -4
- package/src/component/reducer/actions/PreferencesActions.ts +1 -1
- package/src/component/reducer/actions/RangesActions.ts +56 -49
- package/src/component/reducer/actions/SpectraActions.ts +7 -7
- package/src/component/reducer/actions/ToolsActions.ts +41 -20
- package/src/component/reducer/actions/ZonesActions.ts +34 -25
- package/src/component/reducer/helper/Zoom1DManager.ts +11 -15
- package/src/component/reducer/helper/ZoomHistoryManager.ts +29 -23
- package/src/component/reducer/helper/setIntegralsViewProperty.ts +1 -1
- package/src/component/reducer/helper/setRangesViewProperty.ts +1 -1
- package/src/component/reducer/preferences/actions/matrixGeneration.ts +3 -3
- package/src/component/reducer/preferences/actions/togglePanel.ts +1 -1
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +5 -1
- package/src/component/reducer/preferences/preferencesReducer.ts +4 -4
- package/src/component/reducer/preferences/utilities/getActiveWorkspace.ts +1 -1
- package/src/component/reducer/preferences/utilities/getPreferencesByWorkspace.ts +4 -1
- package/src/component/reducer/preferences/utilities/initWorkspace.ts +1 -1
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +1 -1
- package/src/component/toolbar/ToolBar.tsx +18 -10
- package/src/component/toolbar/ToolTypes.ts +1 -1
- package/src/component/useWatchForm.tsx +37 -0
- package/src/component/utility/export.ts +4 -1
- package/src/component/utility/getClosePeak.ts +1 -1
- package/src/component/utility/getSpectraByNucleus.ts +1 -1
- package/src/component/utility/getSpectraObjectPaths.ts +1 -1
- package/src/component/utility/stackOverlappingLabels.ts +92 -0
- package/src/component/workspaces/assignment.ts +1 -1
- package/src/component/workspaces/basic.ts +1 -1
- package/src/component/workspaces/embedded.ts +1 -1
- package/src/component/workspaces/exercise.ts +2 -1
- package/src/component/workspaces/prediction.ts +2 -1
- package/src/component/workspaces/process1D.ts +1 -1
- package/src/component/workspaces/simulation.ts +2 -1
- package/src/component/workspaces/workspaceDefaultProperties.ts +2 -1
- package/src/data/PredictionManager.ts +15 -3
- package/src/data/SpectraManager.ts +20 -14
- package/src/data/data1d/Spectrum1D/SumManager.ts +1 -1
- package/src/data/data1d/Spectrum1D/get1DColor.ts +1 -1
- package/src/data/data1d/Spectrum1D/get1DDataXY.ts +1 -1
- package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +4 -1
- package/src/data/data1d/Spectrum1D/integrals/changeIntegralsRelative.ts +1 -1
- package/src/data/data1d/Spectrum1D/integrals/initiateIntegrals.ts +1 -1
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +1 -1
- package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +1 -1
- package/src/data/data1d/Spectrum1D/peaks/initiatePeaks.ts +1 -1
- package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/autoRangesDetection.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/changeRangeSignal.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/createRange.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/detectRange.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/detectRanges.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/initiateRanges.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/resizeRange.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +28 -4
- package/src/data/data1d/database.ts +1 -1
- package/src/data/data1d/multipleSpectraAnalysis.ts +6 -6
- package/src/data/data2d/Spectrum2D/contours.ts +20 -15
- package/src/data/data2d/Spectrum2D/get2DColor.ts +10 -3
- package/src/data/data2d/Spectrum2D/getSlice.ts +1 -1
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +4 -1
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +9 -1
- package/src/data/data2d/Spectrum2D/zones/changeZoneSignal.ts +1 -1
- package/src/data/data2d/Spectrum2D/zones/getDetectionZones.ts +1 -1
- package/src/data/data2d/Spectrum2D/zones/initiateZones.ts +1 -1
- package/src/data/molecules/Molecule.ts +2 -2
- package/src/data/molecules/MoleculeManager.ts +7 -5
- package/src/data/parseMeta/linkMetaWithSpectra.ts +1 -1
- package/src/data/utilities/FindUtilities.ts +1 -1
- package/src/data/utilities/convertSpectraListToObject.ts +1 -1
- package/src/data/utilities/getCustomColor.ts +2 -2
- package/src/versionInfo.ts +1 -1
- package/lib/component/2d/zones/IndicationLines.d.ts +0 -7
- package/lib/component/2d/zones/IndicationLines.d.ts.map +0 -1
- package/lib/component/2d/zones/IndicationLines.js +0 -50
- package/lib/component/2d/zones/IndicationLines.js.map +0 -1
- package/lib/component/assignment/utilities/filterForIDsWithAssignment.d.ts +0 -3
- package/lib/component/assignment/utilities/filterForIDsWithAssignment.d.ts.map +0 -1
- package/lib/component/assignment/utilities/filterForIDsWithAssignment.js +0 -4
- package/lib/component/assignment/utilities/filterForIDsWithAssignment.js.map +0 -1
- package/src/component/2d/zones/IndicationLines.tsx +0 -94
- package/src/component/assignment/utilities/filterForIDsWithAssignment.ts +0 -10
|
@@ -1,45 +1,8 @@
|
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
1
2
|
import type { Logger } from 'cheminfo-types';
|
|
2
|
-
import type { Spectrum1D } from 'nmr-load-save';
|
|
3
3
|
import type { Range } from 'nmr-processing';
|
|
4
4
|
export declare function cutRange(spectrum: Spectrum1D, x: number): Record<string, Range[]>;
|
|
5
5
|
export declare function createRange(spectrum: Spectrum1D, options: Pick<Range, 'from' | 'to'> & {
|
|
6
6
|
logger?: Logger;
|
|
7
|
-
}):
|
|
8
|
-
absolute: number;
|
|
9
|
-
signals: {
|
|
10
|
-
originalDelta: number | undefined;
|
|
11
|
-
delta: number;
|
|
12
|
-
multiplicity: string;
|
|
13
|
-
js: import("nmr-processing").Jcoupling[];
|
|
14
|
-
nbAtoms?: number | undefined;
|
|
15
|
-
atoms?: number[] | undefined;
|
|
16
|
-
assignment?: string | undefined;
|
|
17
|
-
diaIDs?: string[] | undefined;
|
|
18
|
-
integration?: number | undefined;
|
|
19
|
-
statistics?: import("nmr-processing").NMRSignalStatistics | undefined;
|
|
20
|
-
kind: string;
|
|
21
|
-
id: string;
|
|
22
|
-
peaks: {
|
|
23
|
-
originalX: number;
|
|
24
|
-
x: number;
|
|
25
|
-
id: string;
|
|
26
|
-
kind?: string;
|
|
27
|
-
shape?: import("ml-peak-shape-generator").Shape1D;
|
|
28
|
-
y: number;
|
|
29
|
-
width: number;
|
|
30
|
-
}[];
|
|
31
|
-
}[];
|
|
32
|
-
originalFrom: number | undefined;
|
|
33
|
-
originalTo: number | undefined;
|
|
34
|
-
from: number;
|
|
35
|
-
to: number;
|
|
36
|
-
id: string;
|
|
37
|
-
kind: string;
|
|
38
|
-
integration: number;
|
|
39
|
-
nbAtoms?: number;
|
|
40
|
-
multiplicity?: string | undefined;
|
|
41
|
-
assignment?: string | undefined;
|
|
42
|
-
diaIDs?: string[] | undefined;
|
|
43
|
-
pubIntegral?: number | undefined;
|
|
44
|
-
} | undefined;
|
|
7
|
+
}): Range | undefined;
|
|
45
8
|
//# sourceMappingURL=createRange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createRange.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/createRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"createRange.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/createRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,EAAE,KAAK,EAAY,MAAM,gBAAgB,CAAC;AAKtD,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,UAAU,EAAE,CAAC,EAAE,MAAM,2BAqBvD;AAED,wBAAgB,WAAW,CACzB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,qBAkC1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createRange.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/createRange.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createRange.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/createRange.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAE/C,MAAM,UAAU,QAAQ,CAAC,QAAoB,EAAE,CAAS;IACtD,MAAM,SAAS,GAA4B,EAAE,CAAC;IAE9C,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE,MAAM,EAAE,MAAM,IAAI,EAAE,EAAE,CAAC;QACnD,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;QAC/B,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC;YACvB,MAAM,SAAS,GAAG,WAAW,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;YACzD,MAAM,UAAU,GAAG,WAAW,CAAC,QAAQ,EAAE;gBACvC,IAAI,EAA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,MAAM,EAAE,KAAK,CAAC,sCAAsC,CAAC,CAAC;IACxD,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detectRange.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/detectRange.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"detectRange.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/detectRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAIxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,wBAAgB,WAAW,CACzB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,kBAAkB,GAC1B,oBAAoB,CAoBtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detectRange.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/detectRange.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"detectRange.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/detectRange.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAS3C,MAAM,UAAU,WAAW,CACzB,QAAoB,EACpB,OAA2B;IAE3B,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,OAAO,CAAC;IAC7B,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,QAAQ,CAAC,IAAI,CAAC;IAEnC,MAAM,QAAQ,GAAG,aAAa,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IACvD,MAAM,GAAG,GAAG,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IAClD,MAAM,GAAG,GAAG,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IAElD,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;IAEnC,OAAO;QACL,EAAE,EAAE,MAAM,CAAC,UAAU,EAAE;QACvB,YAAY,EAAE,IAAI,GAAG,MAAM;QAC3B,UAAU,EAAE,EAAE,GAAG,MAAM;QACvB,IAAI;QACJ,EAAE;QACF,QAAQ,EAAE,kBAAkB;QAC5B,GAAG;QACH,GAAG;KACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detectRanges.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/detectRanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"detectRanges.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/detectRanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAKlD,UAAU,mBAAmB;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE;QACZ,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,WAAW,EAAE;QACX,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;KAC9C,CAAC;IACF,UAAU,CAAC,EAAE;QACX,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,mBAAmB,GAAG,SAAS,QAazC"}
|
|
@@ -5,35 +5,5 @@ export default function detectSignals(data: DataXY<Float64Array>, options: {
|
|
|
5
5
|
logger?: Logger;
|
|
6
6
|
nucleus: string;
|
|
7
7
|
frequency: number;
|
|
8
|
-
}):
|
|
9
|
-
multiplicity: string;
|
|
10
|
-
kind: string;
|
|
11
|
-
delta: number;
|
|
12
|
-
js: never[];
|
|
13
|
-
peaks: import("ml-gsd").GSDPeakOptimized[];
|
|
14
|
-
diaIDs: never[];
|
|
15
|
-
}[] | {
|
|
16
|
-
multiplicity: string;
|
|
17
|
-
kind: string;
|
|
18
|
-
delta: any;
|
|
19
|
-
js: {
|
|
20
|
-
value: number;
|
|
21
|
-
multiplicity: "string";
|
|
22
|
-
}[];
|
|
23
|
-
peaks: import("nmr-processing").NMRPeak1DWithShapeID[];
|
|
24
|
-
diaIDs: never[];
|
|
25
|
-
}[] | {
|
|
26
|
-
delta: number;
|
|
27
|
-
id?: string;
|
|
28
|
-
js: import("nmr-processing").Jcoupling[];
|
|
29
|
-
atoms?: number[];
|
|
30
|
-
assignment?: string;
|
|
31
|
-
kind?: string;
|
|
32
|
-
multiplicity: string;
|
|
33
|
-
diaIDs?: string[];
|
|
34
|
-
nbAtoms?: number;
|
|
35
|
-
integration?: number;
|
|
36
|
-
peaks?: import("nmr-processing").NMRPeak1D[];
|
|
37
|
-
statistics?: import("nmr-processing").NMRSignalStatistics;
|
|
38
|
-
}[];
|
|
8
|
+
}): any[];
|
|
39
9
|
//# sourceMappingURL=detectSignals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detectSignals.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/detectSignals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAOrD,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,IAAI,EAAE,MAAM,CAAC,YAAY,CAAC,EAC1B,OAAO,EAAE;IACP,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB
|
|
1
|
+
{"version":3,"file":"detectSignals.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/detectSignals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAOrD,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,IAAI,EAAE,MAAM,CAAC,YAAY,CAAC,EAC1B,OAAO,EAAE;IACP,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB,SAyCF"}
|
|
@@ -1,46 +1,9 @@
|
|
|
1
|
-
import type { Spectrum1D } from '
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
2
2
|
import type { Ranges } from 'nmr-processing';
|
|
3
3
|
export declare function initiateRanges(inputSpectrum: Partial<Spectrum1D>, spectrum: Spectrum1D, options: Ranges['options']): {
|
|
4
4
|
values: never[];
|
|
5
5
|
options: import("nmr-processing").SumOptions;
|
|
6
6
|
} & {
|
|
7
|
-
values:
|
|
8
|
-
absolute: number;
|
|
9
|
-
signals: {
|
|
10
|
-
originalDelta: number | undefined;
|
|
11
|
-
delta: number;
|
|
12
|
-
multiplicity: string;
|
|
13
|
-
js: import("nmr-processing").Jcoupling[];
|
|
14
|
-
nbAtoms?: number | undefined;
|
|
15
|
-
atoms?: number[] | undefined;
|
|
16
|
-
assignment?: string | undefined;
|
|
17
|
-
diaIDs?: string[] | undefined;
|
|
18
|
-
integration?: number | undefined;
|
|
19
|
-
statistics?: import("nmr-processing").NMRSignalStatistics | undefined;
|
|
20
|
-
kind: string;
|
|
21
|
-
id: string;
|
|
22
|
-
peaks: {
|
|
23
|
-
originalX: number;
|
|
24
|
-
x: number;
|
|
25
|
-
id: string;
|
|
26
|
-
kind?: string;
|
|
27
|
-
shape?: import("ml-peak-shape-generator").Shape1D;
|
|
28
|
-
y: number;
|
|
29
|
-
width: number;
|
|
30
|
-
}[];
|
|
31
|
-
}[];
|
|
32
|
-
originalFrom: number | undefined;
|
|
33
|
-
originalTo: number | undefined;
|
|
34
|
-
from: number;
|
|
35
|
-
to: number;
|
|
36
|
-
id: string;
|
|
37
|
-
kind: string;
|
|
38
|
-
integration: number;
|
|
39
|
-
nbAtoms?: number;
|
|
40
|
-
multiplicity?: string | undefined;
|
|
41
|
-
assignment?: string | undefined;
|
|
42
|
-
diaIDs?: string[] | undefined;
|
|
43
|
-
pubIntegral?: number | undefined;
|
|
44
|
-
}[];
|
|
7
|
+
values: import("nmr-processing").Range[];
|
|
45
8
|
};
|
|
46
9
|
//# sourceMappingURL=initiateRanges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initiateRanges.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/initiateRanges.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initiateRanges.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/initiateRanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAG7C,wBAAgB,cAAc,CAC5B,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,EAClC,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,MAAM,CAAC,SAAS,CAAC;;;;;EAW3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initiateRanges.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/initiateRanges.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initiateRanges.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/initiateRanges.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,UAAU,cAAc,CAC5B,aAAkC,EAClC,QAAoB,EACpB,OAA0B;IAE1B,OAAO,KAAK,CACV;QACE,MAAM,EAAE,EAAE;QACV,OAAO;KACR,EACD;QACE,MAAM,EAAE,SAAS,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,IAAI,EAAE,EAAE,QAAQ,CAAC;KACjE,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,47 +1,10 @@
|
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
1
2
|
import type { Logger } from 'cheminfo-types';
|
|
2
|
-
import type { Spectrum1D } from 'nmr-load-save';
|
|
3
3
|
import type { Range } from 'nmr-processing';
|
|
4
4
|
export declare function resizeRange(spectrum: Spectrum1D, options: {
|
|
5
5
|
range: Range;
|
|
6
6
|
from: number;
|
|
7
7
|
to: number;
|
|
8
8
|
logger?: Logger;
|
|
9
|
-
}):
|
|
10
|
-
absolute: number;
|
|
11
|
-
signals: {
|
|
12
|
-
originalDelta: number | undefined;
|
|
13
|
-
delta: number;
|
|
14
|
-
multiplicity: string;
|
|
15
|
-
js: import("nmr-processing").Jcoupling[];
|
|
16
|
-
nbAtoms?: number | undefined;
|
|
17
|
-
atoms?: number[] | undefined;
|
|
18
|
-
assignment?: string | undefined;
|
|
19
|
-
diaIDs?: string[] | undefined;
|
|
20
|
-
integration?: number | undefined;
|
|
21
|
-
statistics?: import("nmr-processing").NMRSignalStatistics | undefined;
|
|
22
|
-
kind: string;
|
|
23
|
-
id: string;
|
|
24
|
-
peaks: {
|
|
25
|
-
originalX: number;
|
|
26
|
-
x: number;
|
|
27
|
-
id: string;
|
|
28
|
-
kind?: string;
|
|
29
|
-
shape?: import("ml-peak-shape-generator").Shape1D;
|
|
30
|
-
y: number;
|
|
31
|
-
width: number;
|
|
32
|
-
}[];
|
|
33
|
-
}[];
|
|
34
|
-
originalFrom: number | undefined;
|
|
35
|
-
originalTo: number | undefined;
|
|
36
|
-
from: number;
|
|
37
|
-
to: number;
|
|
38
|
-
id: string;
|
|
39
|
-
kind: string;
|
|
40
|
-
integration: number;
|
|
41
|
-
nbAtoms?: number;
|
|
42
|
-
multiplicity?: string | undefined;
|
|
43
|
-
assignment?: string | undefined;
|
|
44
|
-
diaIDs?: string[] | undefined;
|
|
45
|
-
pubIntegral?: number | undefined;
|
|
46
|
-
};
|
|
9
|
+
}): Range;
|
|
47
10
|
//# sourceMappingURL=resizeRange.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizeRange.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/resizeRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"resizeRange.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/resizeRange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,EAAE,KAAK,EAAY,MAAM,gBAAgB,CAAC;AAKtD,wBAAgB,WAAW,CACzB,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,SAmCrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizeRange.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/resizeRange.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resizeRange.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/resizeRange.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,aAAa,MAAM,oBAAoB,CAAC;AAE/C,MAAM,UAAU,WAAW,CACzB,QAAoB,EACpB,OAAoE;IAEpE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAC5C,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,QAAQ,CAAC,IAAI,CAAC;IACnC,MAAM,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC,IAAI,CAAC;IAE9D,MAAM,QAAQ,GAAG,aAAa,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAEvD,MAAM,OAAO,GAAG,aAAa,CAC3B,EAAE,CAAC,EAAE,CAAC,EAAE,EACR;QACE,IAAI;QACJ,EAAE;QACF,OAAO;QACP,SAAS;QACT,MAAM;KACP,CACY,CAAC;IAEhB,MAAM,CAAC,QAAQ,CAAC,GAAG,SAAS,CAC1B;QACE;YACE,GAAG,KAAK;YACR,YAAY,EAAE,IAAI;YAClB,UAAU,EAAE,EAAE;YACd,IAAI;YACJ,EAAE;YACF,QAAQ;YACR,OAAO;SACR;KACF,EACD,QAAQ,CACT,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Spectrum1D } from '
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
2
2
|
import type { Info1D, NMRRange, NMRSignal1D } from 'nmr-processing';
|
|
3
3
|
import type { UsedColors } from '../../../../types/UsedColors.js';
|
|
4
4
|
interface ResurrectSpectrumOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resurrectSpectrum.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"resurrectSpectrum.d.ts","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAGlE,UAAU,wBAAwB;IAChC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,iBAAS,2BAA2B,CAClC,MAAM,EAAE,QAAQ,EAAE,EAClB,OAAO,EAAE,wBAAwB,GAChC,UAAU,GAAG,SAAS,CA+CxB;AAED,iBAAS,4BAA4B,CACnC,OAAO,EAAE,WAAW,EAAE,EACtB,OAAO,EAAE,wBAAwB,GAChC,UAAU,GAAG,SAAS,CAsDxB;AAED,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { rangesToXY, signalsToXY } from 'nmr-processing';
|
|
1
|
+
import { rangesToXY, signalsJoin, signalsToRanges, signalsToXY, } from 'nmr-processing';
|
|
2
2
|
import { initiateDatum1D } from '../initiateDatum1D.js';
|
|
3
3
|
function resurrectSpectrumFromRanges(ranges, options) {
|
|
4
4
|
const { spectrumID, usedColors, from, to, info } = options;
|
|
@@ -24,7 +24,12 @@ function resurrectSpectrumFromRanges(ranges, options) {
|
|
|
24
24
|
isFt: true,
|
|
25
25
|
name,
|
|
26
26
|
},
|
|
27
|
-
ranges: {
|
|
27
|
+
ranges: {
|
|
28
|
+
values: ranges,
|
|
29
|
+
options: {
|
|
30
|
+
sum: 100,
|
|
31
|
+
},
|
|
32
|
+
},
|
|
28
33
|
}, { usedColors });
|
|
29
34
|
return datum;
|
|
30
35
|
}
|
|
@@ -42,6 +47,16 @@ function resurrectSpectrumFromSignals(signals, options) {
|
|
|
42
47
|
from,
|
|
43
48
|
to,
|
|
44
49
|
});
|
|
50
|
+
let totalIntegration = 0;
|
|
51
|
+
for (const signal of signals) {
|
|
52
|
+
const { nbAtoms, atoms } = signal;
|
|
53
|
+
if (nbAtoms !== undefined) {
|
|
54
|
+
totalIntegration += Number(nbAtoms);
|
|
55
|
+
}
|
|
56
|
+
else if (atoms !== undefined) {
|
|
57
|
+
totalIntegration += atoms.length;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
45
60
|
const datum = initiateDatum1D({
|
|
46
61
|
id: spectrumID,
|
|
47
62
|
data: { x, im: null, re: y },
|
|
@@ -54,7 +69,10 @@ function resurrectSpectrumFromSignals(signals, options) {
|
|
|
54
69
|
isFt: true,
|
|
55
70
|
name,
|
|
56
71
|
},
|
|
57
|
-
ranges: {
|
|
72
|
+
ranges: {
|
|
73
|
+
values: signalsToRanges(signalsJoin(signals)),
|
|
74
|
+
options: { sum: totalIntegration },
|
|
75
|
+
},
|
|
58
76
|
}, { usedColors });
|
|
59
77
|
return datum;
|
|
60
78
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resurrectSpectrum.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"resurrectSpectrum.js","sourceRoot":"","sources":["../../../../../src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,WAAW,EACX,eAAe,EACf,WAAW,GACZ,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAUxD,SAAS,2BAA2B,CAClC,MAAkB,EAClB,OAAiC;IAEjC,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;IAC3D,MAAM,EACJ,OAAO,EACP,OAAO,EACP,IAAI,GAAG,IAAI,EACX,aAAa,GAAG,GAAG,EACnB,eAAe,GAAG,GAAG,EACrB,cAAc,GAAG,CAAC,IAAI,EAAE,GACzB,GAAG,IAAI,CAAC;IAET,IAAI,CAAC;QACH,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,UAAU,CAAC,MAAM,EAAE;YAClC,OAAO;YACP,SAAS,EAAE,aAAa;YACxB,QAAQ,EAAE,cAAc;YACxB,IAAI;YACJ,EAAE;SACH,CAAC,CAAC;QACH,MAAM,KAAK,GAAG,eAAe,CAC3B;YACE,EAAE,EAAE,UAAU;YACd,IAAI,E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K,KAAK,SAAS,EAAE,CAAC;gBAC/B,gBAAgB,IAAI,KAAK,CAAC,MAAM,CAAC;YACnC,CAAC;QACH,CAAC;QAED,MAAM,KAAK,GAAG,eAAe,CAC3B;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE;YAC5B,IAAI,EAAE;gBACJ,OAAO;gBACP,eAAe;gBACf,aAAa;gBACb,aAAa,EAAE,EAAE;gBACjB,OAAO;gBACP,IAAI,EAAE,IAAI;gBACV,IAAI;aACL;YACD,MAAM,EAAE;gBACN,MAAM,EAAE,eAAe,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;gBAC7C,OAAO,EAAE,EAAE,GAAG,EAAE,gBAAgB,EAAE;aACnC;SACF,EACD,EAAE,UAAU,EAAE,CACf,CAAC;QAEF,OAAO,KAAK,CAAC;IACf,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,WAAW,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;AACH,CAAC;AAED,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { carbonImpurities, protonImpurities } from 'nmr-processing';
|
|
2
|
-
import OCL from 'openchemlib
|
|
2
|
+
import * as OCL from 'openchemlib';
|
|
3
3
|
import { MoleculesDB } from 'openchemlib-utils';
|
|
4
4
|
import { filter } from 'smart-array-filter';
|
|
5
5
|
export const DATA_BASES = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../../src/data/data1d/database.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../../src/data/data1d/database.ts"],"names":[],"mappings":"AACA,OAA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Q,EAAE,EAAE;YACZ,YAAY,EAAE,EAAE;SACjB,CAAC;QACF,KAAK,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,CAAC;YAC5C,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC/B,MAAM,CAAC,YAAY,IAAI,YAAY,IAAI,EAAE,CAAC;QAC5C,CAAC;QACD,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,MAAM,CAAC;QAC1C,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QACvE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACxD,CAAC;SAAM,CAAC;QACN,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC;IAC1B,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnalysisColumnsValuesKeys, AnalysisOptions, MultipleSpectraAnalysisPreferences, PanelsPreferences, SpectraAnalysisColumns, Spectrum1D, WorkSpacePanelPreferences } from '
|
|
1
|
+
import type { AnalysisColumnsValuesKeys, AnalysisOptions, MultipleSpectraAnalysisPreferences, PanelsPreferences, SpectraAnalysisColumns, Spectrum1D, WorkSpacePanelPreferences } from '@zakodium/nmrium-core';
|
|
2
2
|
import type { RangeDetectionResult } from '../types/data1d/index.js';
|
|
3
3
|
interface AnalysisRow extends RangeDetectionResult {
|
|
4
4
|
SID: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multipleSpectraAnalysis.d.ts","sourceRoot":"","sources":["../../../src/data/data1d/multipleSpectraAnalysis.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"multipleSpectraAnalysis.d.ts","sourceRoot":"","sources":["../../../src/data/data1d/multip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_COLUMN_TYPES, ANALYSIS_COLUMN_VALUES_KEYS, } from '@zakodium/nmrium-core';
|
|
1
2
|
import dlv from 'dlv';
|
|
2
|
-
import { ANALYSIS_COLUMN_TYPES, ANALYSIS_COLUMN_VALUES_KEYS, } from 'nmr-load-save';
|
|
3
3
|
import { convertSpectraArrayToObject } from '../utilities/convertSpectraListToObject.js';
|
|
4
4
|
import generateChar from '../utilities/generateChar.js';
|
|
5
5
|
import { detectRange, isSpectrum1D } from './Spectrum1D/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multipleSpectraAnalysis.js","sourceRoot":"","sources":["../../../src/data/data1d/multipleSpectraAnalysis.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"multipleSpectraAnalysis.js","sourceRoot":"","sources":["../../../src/data/data1d/multipleSpectraAnalysis.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAa/B,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,YAAY,MAAM,8BAA8B,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAalE,SAAS,YAAY,CACnB,eAA6D,EAC7D,OAAe,EACf,WAAkC,EAClC,SAAiB;IAEjB,MAAM,sBAAsB,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC;IACxE,MAAM,GAAG,GACP,SAAS,IAAI,YAAY,CAAC,sBAAsB,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,CAAC;IAC9E,sBAAsB,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC;IAClD,sBAAsB,CAAC,WAAW,EAAE,CAAC;IACrC,OAAO,GAAG,CAAC;AACb,CAAC;AAED,SAAS,kBAAkB,CACzB,OAAmB,EACnB,OA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: ContourItem;
|
|
@@ -12,10 +12,14 @@ interface ContourOptions {
|
|
|
12
12
|
positive: ContourItem;
|
|
13
13
|
negative: ContourItem;
|
|
14
14
|
}
|
|
15
|
+
interface BaseWheelOptions {
|
|
16
|
+
altKey: boolean;
|
|
17
|
+
invertScroll?: boolean;
|
|
18
|
+
}
|
|
15
19
|
declare const DEFAULT_CONTOURS_OPTIONS: ContourOptions;
|
|
16
20
|
type LevelSign = keyof Level;
|
|
17
21
|
interface ReturnContoursManager {
|
|
18
|
-
wheel: (value: number,
|
|
22
|
+
wheel: (value: number, options: BaseWheelOptions) => Level;
|
|
19
23
|
getLevel: () => Level;
|
|
20
24
|
checkLevel: () => Level;
|
|
21
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contours.d.ts","sourceRoot":"","sources":["../../../../src/data/data2d/Spectrum2D/contours.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contours.d.ts","sourceRoot":"","sources":["../../../../src/data/data2d/Spectrum2D/contours.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAOxD,UAAU,KAAK;IACb,QAAQ,EAAE,WAAW,CAAC;IACtB,QAAQ,EAAE,WAAW,CAAC;CACvB;AAED,KAAK,aAAa,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AACtC,UAAU,WAAW;IACnB,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;CACxB;AACD,UAAU,cAAc;IACtB,QAAQ,EAAE,WAAW,CAAC;IACtB,QAAQ,EAAE,WAAW,CAAC;CACvB;AAED,UAAU,gBAAgB;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAKD,QAAA,MAAM,wBAAwB,EAAE,cAS/B,CAAC;AACF,KAAK,SAAS,GAAG,MAAM,KAAK,CAAC;AAG7B,UAAU,qBAAqB;IAC7B,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,KAAK,KAAK,CAAC;IAC3D,QAAQ,EAAE,MAAM,KAAK,CAAC;IACtB,UAAU,EAAE,MAAM,KAAK,CAAC;CACzB;AAED,iBAAS,uBAAuB,CAAC,QAAQ,EAAE,UAAU,EAAE,QAAQ,SAAO,kBA4BrE;AAED,iBAAS,eAAe,CAAC,QAAQ,EAAE,UAAU,GAAG,qBAAqB,CAQpE;AA6FD,iBAAS,YAAY,CACnB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,UAAU,EACpB,QAAQ,UAAQ,EAChB,QAAQ,SAAO,kDAUhB;AA+DD,OAAO,EACL,YAAY,EACZ,eAAe,EACf,uBAAuB,EACvB,wBAAwB,GACzB,CAAC;AACF,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -35,35 +35,36 @@ function getDefaultContoursLevel(spectrum, quadrant = 'rr') {
|
|
|
35
35
|
}
|
|
36
36
|
function contoursManager(spectrum) {
|
|
37
37
|
const contourOptions = { ...spectrum.display.contourOptions };
|
|
38
|
-
const wheel = (value,
|
|
38
|
+
const wheel = (value, options) => prepareWheel(value, { ...options, contourOptions });
|
|
39
39
|
const getLevel = () => contourOptions;
|
|
40
40
|
const checkLevel = () => prepareCheckLevel(contourOptions);
|
|
41
41
|
return { wheel, getLevel, checkLevel };
|
|
42
42
|
}
|
|
43
43
|
function prepareWheel(value, options) {
|
|
44
|
-
const { altKey, contourOptions } = options;
|
|
44
|
+
const { altKey, contourOptions, invertScroll = false } = options;
|
|
45
45
|
const sign = Math.sign(value);
|
|
46
|
+
const direction = invertScroll ? -sign : sign;
|
|
46
47
|
const { positive, negative } = contourOptions;
|
|
47
48
|
const { contourLevels: [minPositiveLevel, maxPositiveLevel], } = positive;
|
|
48
49
|
const { contourLevels: [minNegativeLevel, maxNegativeLevel], } = negative;
|
|
49
50
|
if (altKey) {
|
|
50
|
-
if ((minPositiveLevel === 0 &&
|
|
51
|
+
if ((minPositiveLevel === 0 && direction === -1) ||
|
|
51
52
|
(minPositiveLevel >= maxPositiveLevel - positive.numberOfLayers &&
|
|
52
|
-
|
|
53
|
+
direction === 1)) {
|
|
53
54
|
return contourOptions;
|
|
54
55
|
}
|
|
55
|
-
contourOptions.positive.contourLevels[0] +=
|
|
56
|
+
contourOptions.positive.contourLevels[0] += direction * 2;
|
|
56
57
|
}
|
|
57
58
|
else {
|
|
58
|
-
if ((minPositiveLevel > 0 &&
|
|
59
|
+
if ((minPositiveLevel > 0 && direction === -1) ||
|
|
59
60
|
(minPositiveLevel <= maxPositiveLevel - positive.numberOfLayers &&
|
|
60
|
-
|
|
61
|
-
contourOptions.positive.contourLevels[0] +=
|
|
61
|
+
direction === 1)) {
|
|
62
|
+
contourOptions.positive.contourLevels[0] += direction * 2;
|
|
62
63
|
}
|
|
63
|
-
if ((minNegativeLevel > 0 &&
|
|
64
|
+
if ((minNegativeLevel > 0 && direction === -1) ||
|
|
64
65
|
(minNegativeLevel <= maxNegativeLevel - negative.numberOfLayers &&
|
|
65
|
-
|
|
66
|
-
contourOptions.negative.contourLevels[0] +=
|
|
66
|
+
direction === 1)) {
|
|
67
|
+
contourOptions.negative.contourLevels[0] += direction * 2;
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
return contourOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contours.js","sourceRoot":"","sources":["../../../../src/data/data2d/Spectrum2D/contours.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contours.js","sourceRoot":"","sources":["../../../../src/data/data2d/Spectrum2D/contours.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAyBvE,MAAM,wBAAwB,GAAmB;IAC/C,QAAQ,EA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,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;IACtE,CAAC;IAED,OAAO,CAAC,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;AACzD,CAAC;AAED,OAAO,EACL,YAAY,EACZ,eAAe,EACf,uBAAuB,EACvB,wBAAwB,GACzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Color2D, SpectrumTwoDimensionsColor } from '
|
|
1
|
+
import type { Color2D, SpectrumTwoDimensionsColor } from '@zakodium/nmrium-core';
|
|
2
2
|
import type { UsedColors } from '../../../types/UsedColors.js';
|
|
3
3
|
interface BaseColorOptions {
|
|
4
4
|
usedColors?: UsedColors;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get2DColor.d.ts","sourceRoot":"","sources":["../../../../src/data/data2d/Spectrum2D/get2DColor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"get2DColor.d.ts","sourceRoot":"","sources":["../../../../src/data/data2d/Spectrum2D/get2DColor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,0BAA0B,EAC3B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAI/D,UAAU,gBAAgB;IACxB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,MAAM,CAAC,EAAE,0BAA0B,EAAE,CAAC;CACvC;AAED,UAAU,YAAa,SAAQ,gBAAgB;IAC7C,UAAU,CAAC,EAAE,KAAK,CAAC;CACpB;AACD,UAAU,kBAAmB,SAAQ,gBAAgB;IACnD,UAAU,EAAE,IAAI,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAQD,wBAAgB,UAAU,CACxB,QAAQ,KAAA,EACR,OAAO,EAAE,YAAY,GAAG,kBAAkB,GACzC,OAAO,CAoCT;AAED,KAAK,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAE7E,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,cAAc,EAAE,OAAO,CAAC,CAO7D,CAAC"}
|
|
@@ -10,7 +10,8 @@ export function get2DColor(spectrum, options) {
|
|
|
10
10
|
spectrum?.display?.positiveColor === undefined ||
|
|
11
11
|
regenerate) {
|
|
12
12
|
const isRandom = isRandomColorGeneration(options) && options.random;
|
|
13
|
-
const customColor = getCustomColor(spectrum, colors) ||
|
|
13
|
+
const customColor = getCustomColor(spectrum, colors) ||
|
|
14
|
+
(color2D?.[spectrum.info.experiment] ?? null);
|
|
14
15
|
if (customColor && !isRandom) {
|
|
15
16
|
color = customColor;
|
|
16
17
|
}
|
|
@@ -29,7 +30,10 @@ export function get2DColor(spectrum, options) {
|
|
|
29
30
|
if (usedColors['2d']) {
|
|
30
31
|
usedColors['2d'].push(color.positiveColor);
|
|
31
32
|
}
|
|
32
|
-
return
|
|
33
|
+
return {
|
|
34
|
+
positiveColor: color.positiveColor ?? '',
|
|
35
|
+
negativeColor: color.negativeColor ?? '',
|
|
36
|
+
};
|
|
33
37
|
}
|
|
34
38
|
export const color2D = {
|
|
35
39
|
cosy: { positiveColor: 'darkblue', negativeColor: 'blue' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get2DColor.js","sourceRoot":"","sources":["../../../../src/data/data2d/Spectrum2D/get2DColor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get2DColor.js","sourceRoot":"","sources":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