nmrium 0.62.1 → 0.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/ApodizationLine.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 +146 -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 +6 -3
- 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/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 +284 -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 +12 -9
- 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 +1 -1
- 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,5 +1,5 @@
|
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
1
2
|
import { xFindClosestIndex } from 'ml-spectra-processing';
|
|
2
|
-
import type { Spectrum1D } from 'nmr-load-save';
|
|
3
3
|
import type { Peak1D } from 'nmr-processing';
|
|
4
4
|
import { mapPeaks, xyPeaksOptimization } from 'nmr-processing';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
1
2
|
import type { Logger } from 'cheminfo-types';
|
|
2
3
|
import { xyIntegration } from 'ml-spectra-processing';
|
|
3
|
-
import type { Spectrum1D } from 'nmr-load-save';
|
|
4
4
|
import type { Range, Signal1D } from 'nmr-processing';
|
|
5
5
|
import { mapRanges } from 'nmr-processing';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
1
2
|
import { xyIntegration, xyMaxYPoint, xyMinYPoint } from 'ml-spectra-processing';
|
|
2
|
-
import type { Spectrum1D } from 'nmr-load-save';
|
|
3
3
|
import { getShiftX } from 'nmr-processing';
|
|
4
4
|
|
|
5
5
|
import type { RangeDetectionResult } from '../../../types/data1d/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
1
2
|
import type { Logger } from 'cheminfo-types';
|
|
2
3
|
import { xyIntegration } from 'ml-spectra-processing';
|
|
3
|
-
import type { Spectrum1D } from 'nmr-load-save';
|
|
4
4
|
import type { Range, Signal1D } from 'nmr-processing';
|
|
5
5
|
import { mapRanges } from 'nmr-processing';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DatabaseNMREntry, Jcoupling } from 'nmr-processing';
|
|
2
2
|
import { carbonImpurities, protonImpurities } from 'nmr-processing';
|
|
3
|
-
import OCL from 'openchemlib
|
|
3
|
+
import * as OCL from 'openchemlib';
|
|
4
4
|
import { MoleculesDB } from 'openchemlib-utils';
|
|
5
5
|
import { filter } from 'smart-array-filter';
|
|
6
6
|
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
ANALYSIS_COLUMN_TYPES,
|
|
3
|
+
ANALYSIS_COLUMN_VALUES_KEYS,
|
|
4
|
+
} from '@zakodium/nmrium-core';
|
|
2
5
|
import type {
|
|
3
6
|
AnalysisColumnsValuesKeys,
|
|
4
7
|
AnalysisOptions,
|
|
@@ -10,11 +13,8 @@ import type {
|
|
|
10
13
|
Spectrum,
|
|
11
14
|
Spectrum1D,
|
|
12
15
|
WorkSpacePanelPreferences,
|
|
13
|
-
} from '
|
|
14
|
-
import
|
|
15
|
-
ANALYSIS_COLUMN_TYPES,
|
|
16
|
-
ANALYSIS_COLUMN_VALUES_KEYS,
|
|
17
|
-
} from 'nmr-load-save';
|
|
16
|
+
} from '@zakodium/nmrium-core';
|
|
17
|
+
import dlv from 'dlv';
|
|
18
18
|
|
|
19
19
|
import type { RangeDetectionResult } from '../types/data1d/index.js';
|
|
20
20
|
import { convertSpectraArrayToObject } from '../utilities/convertSpectraListToObject.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { Spectrum2D } from '@zakodium/nmrium-core';
|
|
1
2
|
import type { NmrData2DFt } from 'cheminfo-types';
|
|
2
3
|
import { Conrec } from 'ml-conrec';
|
|
3
4
|
import { xMaxAbsoluteValue } from 'ml-spectra-processing';
|
|
4
|
-
import type { Spectrum2D } from 'nmr-load-save';
|
|
5
5
|
|
|
6
6
|
import { calculateSanPlot } from '../../utilities/calculateSanPlot.js';
|
|
7
7
|
|
|
@@ -19,8 +19,12 @@ interface ContourOptions {
|
|
|
19
19
|
positive: ContourItem;
|
|
20
20
|
negative: ContourItem;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
|
|
23
|
+
interface BaseWheelOptions {
|
|
23
24
|
altKey: boolean;
|
|
25
|
+
invertScroll?: boolean;
|
|
26
|
+
}
|
|
27
|
+
interface WheelOptions extends BaseWheelOptions {
|
|
24
28
|
contourOptions: ContourOptions;
|
|
25
29
|
}
|
|
26
30
|
|
|
@@ -38,7 +42,7 @@ type LevelSign = keyof Level;
|
|
|
38
42
|
|
|
39
43
|
const LEVEL_SIGNS: Readonly<[LevelSign, LevelSign]> = ['positive', 'negative'];
|
|
40
44
|
interface ReturnContoursManager {
|
|
41
|
-
wheel: (value: number,
|
|
45
|
+
wheel: (value: number, options: BaseWheelOptions) => Level;
|
|
42
46
|
getLevel: () => Level;
|
|
43
47
|
checkLevel: () => Level;
|
|
44
48
|
}
|
|
@@ -76,17 +80,18 @@ function getDefaultContoursLevel(spectrum: Spectrum2D, quadrant = 'rr') {
|
|
|
76
80
|
function contoursManager(spectrum: Spectrum2D): ReturnContoursManager {
|
|
77
81
|
const contourOptions = { ...spectrum.display.contourOptions };
|
|
78
82
|
|
|
79
|
-
const wheel = (value,
|
|
80
|
-
prepareWheel(value, {
|
|
83
|
+
const wheel = (value, options) =>
|
|
84
|
+
prepareWheel(value, { ...options, contourOptions });
|
|
81
85
|
const getLevel = () => contourOptions;
|
|
82
86
|
const checkLevel = () => prepareCheckLevel(contourOptions);
|
|
83
87
|
return { wheel, getLevel, checkLevel };
|
|
84
88
|
}
|
|
85
89
|
|
|
86
90
|
function prepareWheel(value: number, options: WheelOptions) {
|
|
87
|
-
const { altKey, contourOptions } = options;
|
|
91
|
+
const { altKey, contourOptions, invertScroll = false } = options;
|
|
88
92
|
|
|
89
93
|
const sign = Math.sign(value);
|
|
94
|
+
const direction = invertScroll ? -sign : sign;
|
|
90
95
|
|
|
91
96
|
const { positive, negative } = contourOptions;
|
|
92
97
|
const {
|
|
@@ -98,28 +103,28 @@ function prepareWheel(value: number, options: WheelOptions) {
|
|
|
98
103
|
|
|
99
104
|
if (altKey) {
|
|
100
105
|
if (
|
|
101
|
-
(minPositiveLevel === 0 &&
|
|
106
|
+
(minPositiveLevel === 0 && direction === -1) ||
|
|
102
107
|
(minPositiveLevel >= maxPositiveLevel - positive.numberOfLayers &&
|
|
103
|
-
|
|
108
|
+
direction === 1)
|
|
104
109
|
) {
|
|
105
110
|
return contourOptions;
|
|
106
111
|
}
|
|
107
|
-
contourOptions.positive.contourLevels[0] +=
|
|
112
|
+
contourOptions.positive.contourLevels[0] += direction * 2;
|
|
108
113
|
} else {
|
|
109
114
|
if (
|
|
110
|
-
(minPositiveLevel > 0 &&
|
|
115
|
+
(minPositiveLevel > 0 && direction === -1) ||
|
|
111
116
|
(minPositiveLevel <= maxPositiveLevel - positive.numberOfLayers &&
|
|
112
|
-
|
|
117
|
+
direction === 1)
|
|
113
118
|
) {
|
|
114
|
-
contourOptions.positive.contourLevels[0] +=
|
|
119
|
+
contourOptions.positive.contourLevels[0] += direction * 2;
|
|
115
120
|
}
|
|
116
121
|
|
|
117
122
|
if (
|
|
118
|
-
(minNegativeLevel > 0 &&
|
|
123
|
+
(minNegativeLevel > 0 && direction === -1) ||
|
|
119
124
|
(minNegativeLevel <= maxNegativeLevel - negative.numberOfLayers &&
|
|
120
|
-
|
|
125
|
+
direction === 1)
|
|
121
126
|
) {
|
|
122
|
-
contourOptions.negative.contourLevels[0] +=
|
|
127
|
+
contourOptions.negative.contourLevels[0] += direction * 2;
|
|
123
128
|
}
|
|
124
129
|
}
|
|
125
130
|
return contourOptions;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
Color2D,
|
|
3
|
+
SpectrumTwoDimensionsColor,
|
|
4
|
+
} from '@zakodium/nmrium-core';
|
|
2
5
|
|
|
3
6
|
import type { UsedColors } from '../../../types/UsedColors.js';
|
|
4
7
|
import { adjustAlpha, generateColor } from '../../utilities/generateColor.js';
|
|
@@ -37,7 +40,8 @@ export function get2DColor(
|
|
|
37
40
|
) {
|
|
38
41
|
const isRandom = isRandomColorGeneration(options) && options.random;
|
|
39
42
|
const customColor =
|
|
40
|
-
getCustomColor(spectrum, colors) ||
|
|
43
|
+
getCustomColor(spectrum, colors) ||
|
|
44
|
+
((color2D?.[spectrum.info.experiment] as Color2D | undefined) ?? null);
|
|
41
45
|
|
|
42
46
|
if (customColor && !isRandom) {
|
|
43
47
|
color = customColor;
|
|
@@ -57,7 +61,10 @@ export function get2DColor(
|
|
|
57
61
|
usedColors['2d'].push(color.positiveColor);
|
|
58
62
|
}
|
|
59
63
|
|
|
60
|
-
return
|
|
64
|
+
return {
|
|
65
|
+
positiveColor: color.positiveColor ?? '',
|
|
66
|
+
negativeColor: color.negativeColor ?? '',
|
|
67
|
+
};
|
|
61
68
|
}
|
|
62
69
|
|
|
63
70
|
type ExperimentType = 'cosy' | 'roesy' | 'noesy' | 'tocsy' | 'hsqc' | 'hmbc';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Spectrum1D, Spectrum2D } from '@zakodium/nmrium-core';
|
|
1
2
|
import type { NmrData1D, NmrData2D } from 'cheminfo-types';
|
|
2
3
|
import { xSequentialFillFromTo } from 'ml-spectra-processing';
|
|
3
|
-
import type { Spectrum1D, Spectrum2D } from 'nmr-load-save';
|
|
4
4
|
|
|
5
5
|
import type { TraceDirection } from '../../../component/reducer/Reducer.js';
|
|
6
6
|
import { initiateDatum1D } from '../../data1d/Spectrum1D/index.js';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
Spectrum2D,
|
|
3
|
+
SpectrumTwoDimensionsColor,
|
|
4
|
+
} from '@zakodium/nmrium-core';
|
|
2
5
|
import { Filters2DManager } from 'nmr-processing';
|
|
3
6
|
|
|
4
7
|
import type { UsedColors } from '../../../types/UsedColors.js';
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import type { Spectrum, Spectrum2D } from '@zakodium/nmrium-core';
|
|
1
2
|
import type { NmrData2D, NmrData2DFid, NmrData2DFt } from 'cheminfo-types';
|
|
2
|
-
import type { Spectrum, Spectrum2D } from 'nmr-load-save';
|
|
3
3
|
|
|
4
4
|
export function isSpectrum2D(spectrum: Spectrum): spectrum is Spectrum2D {
|
|
5
5
|
return spectrum && spectrum.info.dimension === 2;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
function isQuadrantsData(data: NmrData2D): data is NmrData2DFt {
|
|
9
|
+
return 'rr' in data && 'ri' in data && 'ir' in data && 'ii' in data;
|
|
10
|
+
}
|
|
8
11
|
function isFt2DData(data: NmrData2D): data is NmrData2DFt {
|
|
9
12
|
return 'rr' in data;
|
|
10
13
|
}
|
|
@@ -24,3 +27,8 @@ export function isFt2DSpectrum(
|
|
|
24
27
|
): spectrum is Spectrum2D & { data: NmrData2DFt } {
|
|
25
28
|
return isSpectrum2D(spectrum) && isFt2DData(spectrum.data);
|
|
26
29
|
}
|
|
30
|
+
export function isQuadrants2DSpectrum(
|
|
31
|
+
spectrum: Spectrum,
|
|
32
|
+
): spectrum is Spectrum2D & { data: NmrData2DFt } {
|
|
33
|
+
return isSpectrum2D(spectrum) && isQuadrantsData(spectrum.data);
|
|
34
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Molecule
|
|
1
|
+
import { Molecule } from 'openchemlib';
|
|
2
2
|
|
|
3
3
|
import getAtomsFromMF from '../utilities/getAtomsFromMF.js';
|
|
4
4
|
|
|
@@ -54,7 +54,7 @@ export function initMolecule(
|
|
|
54
54
|
const label = options.label || 'p#';
|
|
55
55
|
const molfile = options.molfile || '';
|
|
56
56
|
|
|
57
|
-
const mol =
|
|
57
|
+
const mol = Molecule.fromMolfile(molfile);
|
|
58
58
|
const mfInfo = mol.getMolecularFormula();
|
|
59
59
|
|
|
60
60
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { readSDF, readSMILES } from '
|
|
2
|
-
import { Molecule
|
|
1
|
+
import { readSDF, readSMILES } from '@zakodium/nmrium-core-plugins';
|
|
2
|
+
import { Molecule } from 'openchemlib';
|
|
3
3
|
|
|
4
4
|
import type { StateMolecule, StateMoleculeExtended } from './Molecule.js';
|
|
5
5
|
import { initMolecule } from './Molecule.js';
|
|
@@ -12,7 +12,7 @@ export function fromJSON(
|
|
|
12
12
|
|
|
13
13
|
const molecules: StateMoleculeExtended[] = [];
|
|
14
14
|
for (const mol of mols) {
|
|
15
|
-
const molecule =
|
|
15
|
+
const molecule = Molecule.fromMolfile(mol.molfile);
|
|
16
16
|
molecules.push(
|
|
17
17
|
initMolecule({
|
|
18
18
|
molfile: molecule.toMolfileV3(),
|
|
@@ -28,16 +28,18 @@ export function fromJSON(
|
|
|
28
28
|
export function addMolfile(
|
|
29
29
|
molecules: StateMoleculeExtended[],
|
|
30
30
|
molfile: string,
|
|
31
|
+
id?: string,
|
|
31
32
|
) {
|
|
32
33
|
const reservedNumbers = extractLabelsNumbers(molecules);
|
|
33
34
|
|
|
34
35
|
// try to parse molfile
|
|
35
36
|
// this will throw if the molecule can not be parsed !
|
|
36
|
-
const molecule =
|
|
37
|
+
const molecule = Molecule.fromMolfile(molfile);
|
|
37
38
|
molecules.push(
|
|
38
39
|
initMolecule({
|
|
39
40
|
molfile: molecule.toMolfileV3(),
|
|
40
41
|
label: `P${getLabelNumber(reservedNumbers)}`,
|
|
42
|
+
id,
|
|
41
43
|
}),
|
|
42
44
|
);
|
|
43
45
|
}
|
|
@@ -49,7 +51,7 @@ export function setMolfile(
|
|
|
49
51
|
const { molfile, id, label } = currentMolecule;
|
|
50
52
|
// try to parse molfile
|
|
51
53
|
// this will throw if the molecule can not be parsed !
|
|
52
|
-
const molecule =
|
|
54
|
+
const molecule = Molecule.fromMolfile(molfile);
|
|
53
55
|
const _mol = initMolecule({
|
|
54
56
|
molfile: molecule.toMolfileV3(),
|
|
55
57
|
id,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import dlv from 'dlv';
|
|
2
1
|
import type {
|
|
3
2
|
Color2D,
|
|
4
3
|
Spectrum1D,
|
|
5
4
|
Spectrum2D,
|
|
6
5
|
SpectrumOneDimensionColor,
|
|
7
6
|
SpectrumTwoDimensionsColor,
|
|
8
|
-
} from '
|
|
7
|
+
} from '@zakodium/nmrium-core';
|
|
8
|
+
import dlv from 'dlv';
|
|
9
9
|
|
|
10
10
|
type ReturnColor<ColorType> = ColorType extends SpectrumOneDimensionColor
|
|
11
11
|
? string
|
package/src/versionInfo.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default { version: 'v0.
|
|
1
|
+
export default { version: 'v0.63.0' };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface IndicationLinesProps {
|
|
2
|
-
show: boolean;
|
|
3
|
-
axis: 'X' | 'Y';
|
|
4
|
-
}
|
|
5
|
-
declare function IndicationLines({ axis, show }: IndicationLinesProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
-
export default IndicationLines;
|
|
7
|
-
//# sourceMappingURL=IndicationLines.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IndicationLines.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/IndicationLines.tsx"],"names":[],"mappings":"AAcA,UAAU,oBAAoB;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;CACjB;AAED,iBAAS,eAAe,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,oBAAoB,kDAwE5D;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import styled from '@emotion/styled';
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
4
|
-
import { SIGNAL_INCLUDED_KINDS } from '../../../data/constants/signalsKinds.js';
|
|
5
|
-
import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.js';
|
|
6
|
-
import { useChartData } from '../../context/ChartContext.js';
|
|
7
|
-
import { useScale2DX, useScale2DY } from '../utilities/scale.js';
|
|
8
|
-
const IndicatorLine = styled.line `
|
|
9
|
-
stroke: lightgrey;
|
|
10
|
-
opacity: 0.7;
|
|
11
|
-
`;
|
|
12
|
-
function IndicationLines({ axis, show }) {
|
|
13
|
-
const { data, view: { spectra: { activeTab }, }, xDomain, yDomain, displayerMode, } = useChartData();
|
|
14
|
-
const [deltas1D, setDeltas1D] = useState([]);
|
|
15
|
-
const scaleX = useScale2DX();
|
|
16
|
-
const scaleY = useScale2DY();
|
|
17
|
-
useEffect(() => {
|
|
18
|
-
const split = activeTab.split(',');
|
|
19
|
-
const nucleus = axis === 'X' ? split[0] : axis === 'Y' ? split[1] : null;
|
|
20
|
-
if (nucleus !== null) {
|
|
21
|
-
const ranges = data
|
|
22
|
-
.filter((_datum) => _datum.display.isVisible && _datum.info.nucleus === nucleus)
|
|
23
|
-
.filter((element) => isSpectrum1D(element))
|
|
24
|
-
.flatMap((_datum) => _datum.ranges.values);
|
|
25
|
-
const deltas = ranges.flatMap((_range) => _range.signals
|
|
26
|
-
.filter((_signal) => SIGNAL_INCLUDED_KINDS.includes(_signal.kind))
|
|
27
|
-
.map((_signal) => _signal.delta));
|
|
28
|
-
setDeltas1D(deltas);
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
setDeltas1D([]);
|
|
32
|
-
}
|
|
33
|
-
}, [activeTab, axis, data, displayerMode]);
|
|
34
|
-
if (!show || !deltas1D?.length)
|
|
35
|
-
return null;
|
|
36
|
-
return (_jsx("g", { children: deltas1D.map((_delta, i) => {
|
|
37
|
-
if (axis === 'X') {
|
|
38
|
-
return (_jsx(IndicatorLine
|
|
39
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
40
|
-
, { x1: scaleX(_delta), x2: scaleX(_delta), y1: scaleY(yDomain[0]), y2: scaleY(yDomain[1]) }, `indicationLine${axis}${i}`));
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
return (_jsx(IndicatorLine
|
|
44
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
45
|
-
, { x1: scaleX(xDomain[0]), x2: scaleX(xDomain[1]), y1: scaleY(_delta), y2: scaleY(_delta) }, `indicationLine${axis}${i}`));
|
|
46
|
-
}
|
|
47
|
-
}) }));
|
|
48
|
-
}
|
|
49
|
-
export default IndicationLines;
|
|
50
|
-
//# sourceMappingURL=IndicationLines.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IndicationLines.js","sourceRoot":"","sources":["../../../../src/component/2d/zones/IndicationLines.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAA;;;CAGhC,CAAC;AAOF,SAAS,eAAe,CAAC,EAAE,IAAI,EAAE,IAAI,EAAwB;IAC3D,MAAM,EACJ,IAAI,EACJ,IAAI,EAAE,EACJ,OAAO,EAAE,EAAE,SAAS,EAAE,GACvB,EACD,OAAO,EACP,OAAO,EACP,aAAa,GACd,GAAG,YAAY,EAAE,CAAC;IACnB,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAC;IAEvD,MAAM,MAAM,GAAG,WAAW,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAG,WAAW,EAAE,CAAC;IAE7B,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAEnC,MAAM,OAAO,GAAG,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACzE,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;YACrB,MAAM,MAAM,GAAG,IAAI;iBAChB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,CAAC,OAAO,CAAC,SAAS,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,OAAO,CAC9D;iBACA,MAAM,CAAC,CAAC,OAAO,EAAyB,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;iBACjE,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAE7C,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CACvC,MAAM,CAAC,OAAO;iBACX,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAClB,qBAAqB,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAc,CAAC,CACvD;iBACA,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CACnC,CAAC;YACF,WAAW,CAAC,MAAM,CAAC,CAAC;QACtB,CAAC;aAAM,CAAC;YACN,WAAW,CAAC,EAAE,CAAC,CAAC;QAClB,CAAC;IACH,CAAC,EAAE,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC;IAE3C,IAAI,CAAC,IAAI,IAAI,CAAC,QAAQ,EAAE,MAAM;QAAE,OAAO,IAAI,CAAC;IAE5C,OAAO,CACL,sBACG,QAAQ,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC1B,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;gBACjB,OAAO,CACL,KAAC,aAAa;gBACZ,oDAAoD;oBAEpD,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,EAClB,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,EAClB,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EACtB,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAJjB,iBAAiB,IAAI,GAAG,CAAC,EAAE,CAKhC,CACH,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,OAAO,CACL,KAAC,aAAa;gBACZ,oDAAoD;oBAEpD,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EACtB,EAAE,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EACtB,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,EAClB,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAJb,iBAAiB,IAAI,GAAG,CAAC,EAAE,CAKhC,CACH,CAAC;YACJ,CAAC;QACH,CAAC,CAAC,GACA,CACL,CAAC;AACJ,CAAC;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterForIDsWithAssignment.d.ts","sourceRoot":"","sources":["../../../../src/component/assignment/utilities/filterForIDsWithAssignment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,wBAAgB,0BAA0B,CACxC,cAAc,EAAE,iBAAiB,EACjC,GAAG,EAAE,MAAM,EAAE,YAKd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filterForIDsWithAssignment.js","sourceRoot":"","sources":["../../../../src/component/assignment/utilities/filterForIDsWithAssignment.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,0BAA0B,CACxC,cAAiC,EACjC,GAAa;IAEb,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,CACvB,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,CAC7D,CAAC;AACJ,CAAC"}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import styled from '@emotion/styled';
|
|
2
|
-
import type { Spectrum1D } from 'nmr-load-save';
|
|
3
|
-
import { useEffect, useState } from 'react';
|
|
4
|
-
|
|
5
|
-
import { SIGNAL_INCLUDED_KINDS } from '../../../data/constants/signalsKinds.js';
|
|
6
|
-
import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.js';
|
|
7
|
-
import { useChartData } from '../../context/ChartContext.js';
|
|
8
|
-
import { useScale2DX, useScale2DY } from '../utilities/scale.js';
|
|
9
|
-
|
|
10
|
-
const IndicatorLine = styled.line`
|
|
11
|
-
stroke: lightgrey;
|
|
12
|
-
opacity: 0.7;
|
|
13
|
-
`;
|
|
14
|
-
|
|
15
|
-
interface IndicationLinesProps {
|
|
16
|
-
show: boolean;
|
|
17
|
-
axis: 'X' | 'Y';
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function IndicationLines({ axis, show }: IndicationLinesProps) {
|
|
21
|
-
const {
|
|
22
|
-
data,
|
|
23
|
-
view: {
|
|
24
|
-
spectra: { activeTab },
|
|
25
|
-
},
|
|
26
|
-
xDomain,
|
|
27
|
-
yDomain,
|
|
28
|
-
displayerMode,
|
|
29
|
-
} = useChartData();
|
|
30
|
-
const [deltas1D, setDeltas1D] = useState<number[]>([]);
|
|
31
|
-
|
|
32
|
-
const scaleX = useScale2DX();
|
|
33
|
-
const scaleY = useScale2DY();
|
|
34
|
-
|
|
35
|
-
useEffect(() => {
|
|
36
|
-
const split = activeTab.split(',');
|
|
37
|
-
|
|
38
|
-
const nucleus = axis === 'X' ? split[0] : axis === 'Y' ? split[1] : null;
|
|
39
|
-
if (nucleus !== null) {
|
|
40
|
-
const ranges = data
|
|
41
|
-
.filter(
|
|
42
|
-
(_datum) =>
|
|
43
|
-
_datum.display.isVisible && _datum.info.nucleus === nucleus,
|
|
44
|
-
)
|
|
45
|
-
.filter((element): element is Spectrum1D => isSpectrum1D(element))
|
|
46
|
-
.flatMap((_datum) => _datum.ranges.values);
|
|
47
|
-
|
|
48
|
-
const deltas = ranges.flatMap((_range) =>
|
|
49
|
-
_range.signals
|
|
50
|
-
.filter((_signal) =>
|
|
51
|
-
SIGNAL_INCLUDED_KINDS.includes(_signal.kind as string),
|
|
52
|
-
)
|
|
53
|
-
.map((_signal) => _signal.delta),
|
|
54
|
-
);
|
|
55
|
-
setDeltas1D(deltas);
|
|
56
|
-
} else {
|
|
57
|
-
setDeltas1D([]);
|
|
58
|
-
}
|
|
59
|
-
}, [activeTab, axis, data, displayerMode]);
|
|
60
|
-
|
|
61
|
-
if (!show || !deltas1D?.length) return null;
|
|
62
|
-
|
|
63
|
-
return (
|
|
64
|
-
<g>
|
|
65
|
-
{deltas1D.map((_delta, i) => {
|
|
66
|
-
if (axis === 'X') {
|
|
67
|
-
return (
|
|
68
|
-
<IndicatorLine
|
|
69
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
70
|
-
key={`indicationLine${axis}${i}`}
|
|
71
|
-
x1={scaleX(_delta)}
|
|
72
|
-
x2={scaleX(_delta)}
|
|
73
|
-
y1={scaleY(yDomain[0])}
|
|
74
|
-
y2={scaleY(yDomain[1])}
|
|
75
|
-
/>
|
|
76
|
-
);
|
|
77
|
-
} else {
|
|
78
|
-
return (
|
|
79
|
-
<IndicatorLine
|
|
80
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
81
|
-
key={`indicationLine${axis}${i}`}
|
|
82
|
-
x1={scaleX(xDomain[0])}
|
|
83
|
-
x2={scaleX(xDomain[1])}
|
|
84
|
-
y1={scaleY(_delta)}
|
|
85
|
-
y2={scaleY(_delta)}
|
|
86
|
-
/>
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
})}
|
|
90
|
-
</g>
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export default IndicationLines;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { AssignmentContext } from '../AssignmentsContext.js';
|
|
2
|
-
|
|
3
|
-
export function filterForIDsWithAssignment(
|
|
4
|
-
assignmentData: AssignmentContext,
|
|
5
|
-
ids: string[],
|
|
6
|
-
) {
|
|
7
|
-
return ids.filter((id) =>
|
|
8
|
-
Object.keys(assignmentData.data).filter((_id) => _id === id),
|
|
9
|
-
);
|
|
10
|
-
}
|