nmrium 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/ApodizationLine.js +1 -1
- 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.map +1 -1
- package/lib/component/1d/FooterBanner.js.map +1 -1
- package/lib/component/1d/LinesSeries.js +2 -2
- package/lib/component/1d/LinesSeries.js.map +1 -1
- package/lib/component/1d/SVGContent1D.d.ts.map +1 -1
- package/lib/component/1d/SVGContent1D.js +2 -1
- package/lib/component/1d/SVGContent1D.js.map +1 -1
- package/lib/component/1d/SimilarityTree.d.ts.map +1 -1
- package/lib/component/1d/SimilarityTree.js.map +1 -1
- package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
- package/lib/component/1d/inset/InsetProvider.js.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.d.ts.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.js.map +1 -1
- package/lib/component/1d/matrix/Boxplot.js.map +1 -1
- package/lib/component/1d/multiAnalysis/AnalysisRange.d.ts.map +1 -1
- package/lib/component/1d/multiAnalysis/AnalysisRange.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +13 -20
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/multiplicityTree/generateTreeNodes.d.ts +1 -0
- package/lib/component/1d/multiplicityTree/generateTreeNodes.d.ts.map +1 -1
- package/lib/component/1d/multiplicityTree/generateTreeNodes.js +2 -1
- package/lib/component/1d/multiplicityTree/generateTreeNodes.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js +2 -2
- package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
- package/lib/component/1d/peaks/Peaks.d.ts +4 -1
- package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
- package/lib/component/1d/peaks/Peaks.js.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.d.ts +2 -1
- 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/Atoms.js +2 -2
- package/lib/component/1d/ranges/Atoms.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 +28 -56
- 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 +19 -13
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.d.ts +14 -0
- package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.d.ts.map +1 -0
- package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.js +67 -0
- package/lib/component/1d/ranges/useAssignmentsPopoverActionsButtons.js.map +1 -0
- package/lib/component/1d/tool/BaseLineZones.d.ts.map +1 -1
- package/lib/component/1d/tool/BaseLineZones.js.map +1 -1
- package/lib/component/1d/utilities/intersectionResolver.d.ts.map +1 -1
- package/lib/component/1d/utilities/intersectionResolver.js.map +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.js +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.js +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js +41 -46
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts +2 -2
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.js +63 -97
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/SVGContent2D.d.ts +2 -2
- package/lib/component/2d/SVGContent2D.d.ts.map +1 -1
- package/lib/component/2d/SVGContent2D.js.map +1 -1
- package/lib/component/2d/SlicingView.js +1 -1
- package/lib/component/2d/SlicingView.js.map +1 -1
- package/lib/component/2d/Viewer2D.js +1 -1
- package/lib/component/2d/Viewer2D.js.map +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts +2 -2
- package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
- package/lib/component/2d/ft/FTContainer.js +1 -1
- package/lib/component/2d/ft/FTContainer.js.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.d.ts +2 -2
- package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.js +10 -9
- package/lib/component/2d/tools/XYLabelPointer.js.map +1 -1
- package/lib/component/2d/useTracesSpectra.d.ts +3 -2
- package/lib/component/2d/useTracesSpectra.d.ts.map +1 -1
- package/lib/component/2d/useTracesSpectra.js +16 -10
- package/lib/component/2d/useTracesSpectra.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js +2 -2
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/zones/Signal.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +15 -13
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.js +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts +5 -6
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +2 -0
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js +1 -2
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/KeyModifierContext.d.ts +3 -2
- package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
- package/lib/component/context/KeyModifierContext.js +7 -4
- package/lib/component/context/KeyModifierContext.js.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js +17 -3
- package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
- package/lib/component/elements/AssignmentsCell.d.ts.map +1 -1
- package/lib/component/elements/AssignmentsCell.js.map +1 -1
- package/lib/component/elements/Button.d.ts.map +1 -1
- package/lib/component/elements/Button.js.map +1 -1
- package/lib/component/elements/CheckController.d.ts.map +1 -1
- package/lib/component/elements/CheckController.js.map +1 -1
- package/lib/component/elements/ContextMenuBluePrint.d.ts.map +1 -1
- package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
- package/lib/component/elements/D3Axis.d.ts.map +1 -1
- package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
- package/lib/component/elements/DraggableDialog.js.map +1 -1
- package/lib/component/elements/Input.d.ts.map +1 -1
- package/lib/component/elements/Input.js.map +1 -1
- package/lib/component/elements/Input2.d.ts.map +1 -1
- package/lib/component/elements/Input2.js.map +1 -1
- package/lib/component/elements/Input2Controller.d.ts.map +1 -1
- package/lib/component/elements/Input2Controller.js.map +1 -1
- package/lib/component/elements/Label.d.ts.map +1 -1
- package/lib/component/elements/Label.js.map +1 -1
- package/lib/component/elements/NumberInput2.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2.js.map +1 -1
- package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2Controller.js.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.js.map +1 -1
- package/lib/component/elements/ReadOnly.d.ts.map +1 -1
- package/lib/component/elements/ReadOnly.js.map +1 -1
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/Select.d.ts.map +1 -1
- package/lib/component/elements/Select.js.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
- package/lib/component/elements/export/ExportContent.d.ts.map +1 -1
- package/lib/component/elements/export/ExportContent.js.map +1 -1
- package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/hooks/useActiveSpectrumIntegralsViewState.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrumIntegralsViewState.js +2 -4
- package/lib/component/hooks/useActiveSpectrumIntegralsViewState.js.map +1 -1
- package/lib/component/hooks/useActiveSpectrumPeaksViewState.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrumPeaksViewState.js +2 -4
- package/lib/component/hooks/useActiveSpectrumPeaksViewState.js.map +1 -1
- package/lib/component/hooks/useActiveSpectrumRangesViewState.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrumRangesViewState.js +2 -4
- package/lib/component/hooks/useActiveSpectrumRangesViewState.js.map +1 -1
- package/lib/component/hooks/useActiveSpectrumStyleOptions.js +2 -2
- package/lib/component/hooks/useActiveSpectrumStyleOptions.js.map +1 -1
- package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrumZonesViewState.js +2 -4
- package/lib/component/hooks/useActiveSpectrumZonesViewState.js.map +1 -1
- package/lib/component/hooks/useExport.js +1 -1
- package/lib/component/hooks/useExport.js.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.js +28 -47
- package/lib/component/hooks/useSaveSettings.js.map +1 -1
- package/lib/component/hooks/useSetActiveSpectrumAction.d.ts +2 -1
- package/lib/component/hooks/useSetActiveSpectrumAction.d.ts.map +1 -1
- package/lib/component/hooks/useSetActiveSpectrumAction.js +2 -2
- package/lib/component/hooks/useSetActiveSpectrumAction.js.map +1 -1
- package/lib/component/hooks/useSpectrumWithDataSource.js +1 -1
- package/lib/component/hooks/useSpectrumWithDataSource.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 +3 -0
- package/lib/component/hooks/useWorkspaceAction.js.map +1 -1
- package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModal.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.js +5 -1
- package/lib/component/modal/setting/GeneralSettings.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +14 -10
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +27 -18
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js +0 -3
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.js +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +5 -20
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +9 -0
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -0
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +19 -0
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -0
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +2 -2
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +6 -6
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +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/extra/preferences/NucleusPreferences.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPanel.js +13 -9
- package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -1
- package/lib/component/reducer/Reducer.js +7 -7
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.js +9 -9
- package/lib/component/reducer/actions/AssignmentsActions.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +21 -21
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +10 -18
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +28 -44
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +9 -18
- 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 +43 -48
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +2 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +64 -10
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +110 -121
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +2 -1
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +18 -18
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +148 -171
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +29 -31
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +10 -11
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.d.ts +8 -9
- package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.js +123 -151
- package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
- package/lib/component/reducer/helper/get2DRange.d.ts +3 -1
- package/lib/component/reducer/helper/get2DRange.d.ts.map +1 -1
- package/lib/component/reducer/helper/get2DRange.js.map +1 -1
- package/lib/component/reducer/helper/getSpectrum.js +1 -1
- package/lib/component/reducer/helper/getSpectrum.js.map +1 -1
- package/lib/component/reducer/helper/setIntegralsViewProperty.js +1 -1
- package/lib/component/reducer/helper/setIntegralsViewProperty.js.map +1 -1
- package/lib/component/reducer/helper/setRangesViewProperty.js +1 -1
- package/lib/component/reducer/helper/setRangesViewProperty.js.map +1 -1
- package/lib/component/useWatchForm.d.ts.map +1 -1
- package/lib/component/useWatchForm.js.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.d.ts +1 -1
- package/lib/component/utility/stackOverlappingLabels.d.ts.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.js.map +1 -1
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.js +0 -3
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.d.ts +8 -1
- package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.js +1 -2
- package/lib/data/data1d/Spectrum1D/ranges/autoRangesDetection.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.d.ts +2 -2
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeSignal.js +3 -3
- package/lib/data/data1d/Spectrum1D/ranges/detectRanges.d.ts +4 -14
- package/lib/data/data1d/Spectrum1D/ranges/detectRanges.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectRanges.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectRanges.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.d.ts +3 -5
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js +3 -5
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZones.d.ts +2 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZones.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZones.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts +7 -63
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js +9 -14
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.d.ts +2 -10
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js +23 -43
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts +1 -54
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.js +1 -1
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.js.map +1 -1
- package/lib/data/molecules/Molecule.d.ts.map +1 -1
- package/lib/data/molecules/Molecule.js.map +1 -1
- package/lib/data/types/data1d/RangeDetectionResult.d.ts.map +1 -1
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/data/utilities/FindUtilities.js +11 -11
- package/lib/data/utilities/FindUtilities.js.map +1 -1
- package/lib/utils/clipboard/clipboardComponents.d.ts.map +1 -1
- package/lib/utils/clipboard/clipboardComponents.js.map +1 -1
- package/lib/utils/clipboard/clipboardHooks.d.ts +2 -2
- package/lib/utils/clipboard/clipboardHooks.d.ts.map +1 -1
- package/lib/utils/clipboard/clipboardHooks.js +10 -4
- package/lib/utils/clipboard/clipboardHooks.js.map +1 -1
- package/lib/versionInfo.d.ts.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/lib/versionInfo.js.map +1 -1
- package/package.json +24 -22
- package/src/component/1d/ApodizationLine.tsx +1 -1
- package/src/component/1d/BrushTracker1D.tsx +10 -10
- package/src/component/1d/FooterBanner.tsx +2 -2
- package/src/component/1d/LinesSeries.tsx +2 -2
- package/src/component/1d/SVGContent1D.tsx +6 -2
- package/src/component/1d/SimilarityTree.tsx +3 -2
- package/src/component/1d/inset/InsetProvider.tsx +4 -2
- package/src/component/1d/integral/IntegralResizable.tsx +2 -1
- package/src/component/1d/matrix/Boxplot.tsx +3 -3
- package/src/component/1d/multiAnalysis/AnalysisRange.tsx +2 -1
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +24 -23
- package/src/component/1d/multiplicityTree/generateTreeNodes.ts +10 -1
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +4 -2
- package/src/component/1d/peaks/PeakEditionManager.tsx +8 -3
- package/src/component/1d/peaks/Peaks.tsx +5 -1
- package/src/component/1d/ranges/AssignmentLabel.tsx +8 -5
- package/src/component/1d/ranges/Atoms.tsx +2 -2
- package/src/component/1d/ranges/Range.tsx +42 -74
- package/src/component/1d/ranges/Ranges.tsx +33 -28
- package/src/component/1d/ranges/useAssignmentsPopoverActionsButtons.tsx +93 -0
- package/src/component/1d/tool/BaseLineZones.tsx +2 -1
- package/src/component/1d/utilities/intersectionResolver.ts +3 -4
- package/src/component/1d-2d/FieldEdition.tsx +2 -2
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +2 -2
- package/src/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.tsx +1 -1
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +1 -1
- package/src/component/2d/BrushTracker2D.tsx +50 -55
- package/src/component/2d/FooterBanner.tsx +80 -105
- package/src/component/2d/SVGContent2D.tsx +2 -3
- package/src/component/2d/SlicingView.tsx +1 -1
- package/src/component/2d/Viewer2D.tsx +2 -2
- package/src/component/2d/ft/FTContainer.tsx +4 -5
- package/src/component/2d/tools/XYLabelPointer.tsx +12 -11
- package/src/component/2d/useTracesSpectra.ts +25 -14
- package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -2
- package/src/component/2d/zones/Signal.tsx +1 -1
- package/src/component/2d/zones/SignalsGuideLines.tsx +21 -19
- package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +4 -4
- package/src/component/EventsTrackers/BrushTracker.tsx +24 -17
- package/src/component/assignment/utilities/getAssignments.ts +1 -2
- package/src/component/context/KeyModifierContext.tsx +13 -5
- package/src/component/elements/ActionsButtonsPopover.tsx +25 -8
- package/src/component/elements/AssignmentsCell.tsx +1 -2
- package/src/component/elements/Button.tsx +3 -2
- package/src/component/elements/CheckController.tsx +2 -1
- package/src/component/elements/ContextMenuBluePrint.tsx +2 -1
- package/src/component/elements/D3Axis.tsx +3 -3
- package/src/component/elements/DraggableDialog.tsx +2 -1
- package/src/component/elements/Input.tsx +4 -2
- package/src/component/elements/Input2.tsx +1 -2
- package/src/component/elements/Input2Controller.tsx +2 -1
- package/src/component/elements/Label.tsx +2 -1
- package/src/component/elements/NumberInput2.tsx +4 -2
- package/src/component/elements/NumberInput2Controller.tsx +3 -1
- package/src/component/elements/ReactTable/ReactTable.tsx +1 -3
- package/src/component/elements/ReadOnly.tsx +4 -2
- package/src/component/elements/Sections.tsx +5 -4
- package/src/component/elements/Select.tsx +4 -2
- package/src/component/elements/ToolbarPopoverItem.tsx +3 -3
- package/src/component/elements/export/ExportContent.tsx +1 -2
- package/src/component/elements/print/PrintContent.tsx +1 -2
- package/src/component/hooks/useActiveSpectrumIntegralsViewState.ts +2 -6
- package/src/component/hooks/useActiveSpectrumPeaksViewState.ts +2 -6
- package/src/component/hooks/useActiveSpectrumRangesViewState.ts +2 -6
- package/src/component/hooks/useActiveSpectrumStyleOptions.ts +2 -2
- package/src/component/hooks/useActiveSpectrumZonesViewState.ts +2 -6
- package/src/component/hooks/useExport.tsx +1 -1
- package/src/component/hooks/useSaveSettings.tsx +68 -81
- package/src/component/hooks/useSetActiveSpectrumAction.ts +3 -2
- package/src/component/hooks/useSpectrumWithDataSource.ts +1 -1
- package/src/component/hooks/useWorkspaceAction.ts +5 -0
- package/src/component/modal/ImportPublicationStringModal.tsx +1 -2
- package/src/component/modal/changeSum/ChangeSumModal.tsx +4 -2
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +1 -2
- package/src/component/modal/setting/GeneralSettings.tsx +7 -2
- package/src/component/panels/IntegralsPanel/IntegralTable.tsx +4 -2
- package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +17 -13
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +32 -16
- package/src/component/panels/MoleculesPanel/utilities/getAssignIds.ts +0 -4
- package/src/component/panels/RangesPanel/RangesPanel.tsx +1 -1
- package/src/component/panels/RangesPanel/RangesTable.tsx +3 -8
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +14 -47
- package/src/component/panels/RangesPanel/TableColumns/ActionsColumn.tsx +1 -2
- package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +40 -0
- package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.tsx +1 -2
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +2 -2
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +6 -6
- package/src/component/panels/accordionItems.tsx +4 -2
- package/src/component/panels/extra/preferences/NucleusPreferences.tsx +2 -2
- package/src/component/panels/informationPanel/InformationEditionModal.tsx +4 -2
- package/src/component/panels/predictionPanel/PredictionPanel.tsx +17 -9
- package/src/component/reducer/Reducer.ts +8 -8
- package/src/component/reducer/actions/AssignmentsActions.ts +8 -13
- package/src/component/reducer/actions/CorrelationsActions.ts +21 -22
- package/src/component/reducer/actions/DatabaseActions.ts +1 -1
- package/src/component/reducer/actions/DomainActions.ts +16 -22
- package/src/component/reducer/actions/FiltersActions.ts +34 -58
- package/src/component/reducer/actions/InsetActions.ts +9 -19
- package/src/component/reducer/actions/IntegralsActions.ts +48 -59
- package/src/component/reducer/actions/MoleculeActions.ts +94 -14
- package/src/component/reducer/actions/PeaksActions.ts +112 -136
- package/src/component/reducer/actions/PreferencesActions.ts +4 -3
- package/src/component/reducer/actions/RangesActions.ts +196 -244
- package/src/component/reducer/actions/SpectraActions.ts +40 -45
- package/src/component/reducer/actions/ToolsActions.ts +9 -13
- package/src/component/reducer/actions/ZonesActions.ts +158 -218
- package/src/component/reducer/helper/get2DRange.ts +4 -1
- package/src/component/reducer/helper/getSpectrum.ts +1 -1
- package/src/component/reducer/helper/setIntegralsViewProperty.ts +1 -1
- package/src/component/reducer/helper/setRangesViewProperty.ts +1 -1
- package/src/component/useWatchForm.tsx +2 -1
- package/src/component/utility/stackOverlappingLabels.ts +4 -1
- package/src/data/SpectraManager.ts +0 -2
- package/src/data/data1d/Spectrum1D/isRangeAssigned.ts +0 -4
- package/src/data/data1d/Spectrum1D/ranges/autoRangesDetection.ts +15 -5
- package/src/data/data1d/Spectrum1D/ranges/changeRangeSignal.ts +5 -5
- package/src/data/data1d/Spectrum1D/ranges/detectRanges.ts +5 -14
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +2 -2
- package/src/data/data2d/Spectrum2D/zones/changeZoneSignal.ts +3 -5
- package/src/data/data2d/Spectrum2D/zones/detectZones.ts +3 -2
- package/src/data/data2d/Spectrum2D/zones/detectZonesManual.ts +19 -16
- package/src/data/data2d/Spectrum2D/zones/getDetectionZones.ts +35 -56
- package/src/data/data2d/Spectrum2D/zones/initiateZones.ts +1 -1
- package/src/data/molecules/Molecule.ts +2 -1
- package/src/data/types/data1d/RangeDetectionResult.ts +4 -2
- package/src/data/utilities/FindUtilities.ts +9 -8
- package/src/utils/clipboard/clipboardComponents.tsx +2 -1
- package/src/utils/clipboard/clipboardHooks.ts +14 -8
- package/src/versionInfo.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.d.ts +0 -8
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.d.ts.map +0 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.js +0 -17
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.js.map +0 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.d.ts +0 -17
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.d.ts.map +0 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +0 -40
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js.map +0 -1
- package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.tsx +0 -36
- package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.tsx +0 -89
|
@@ -11,25 +11,50 @@ import { getSpectrum } from '../helper/getSpectrum.js';
|
|
|
11
11
|
//action
|
|
12
12
|
function handleAddPeak(draft, action) {
|
|
13
13
|
const { x: mouseXPosition } = action.payload;
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const shiftX = getShiftX(
|
|
27
|
-
|
|
28
|
-
|
|
14
|
+
const spectrum = getSpectrum(draft);
|
|
15
|
+
if (!isSpectrum1D(spectrum))
|
|
16
|
+
return;
|
|
17
|
+
const xShift = 10;
|
|
18
|
+
const startX = mouseXPosition - xShift;
|
|
19
|
+
const endX = mouseXPosition + xShift;
|
|
20
|
+
const [from, to] = getRange(draft, { startX, endX });
|
|
21
|
+
const candidatePeak = getClosePeak(original(spectrum), {
|
|
22
|
+
from,
|
|
23
|
+
to,
|
|
24
|
+
});
|
|
25
|
+
if (candidatePeak) {
|
|
26
|
+
const shiftX = getShiftX(spectrum);
|
|
27
|
+
const peak = {
|
|
28
|
+
id: crypto.randomUUID(),
|
|
29
|
+
originalX: candidatePeak.x - shiftX,
|
|
30
|
+
x: candidatePeak.x,
|
|
31
|
+
y: candidatePeak.y,
|
|
32
|
+
width: 1,
|
|
33
|
+
shape: {
|
|
34
|
+
kind: 'generalizedLorentzian',
|
|
35
|
+
fwhm: 1,
|
|
36
|
+
gamma: 0.5,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
spectrum.peaks.values.push(...mapPeaks([peak], spectrum));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
//action
|
|
43
|
+
function handleAddPeaks(draft, action) {
|
|
44
|
+
const { startX, endX } = action.payload;
|
|
45
|
+
const spectrum = getSpectrum(draft);
|
|
46
|
+
if (!isSpectrum1D(spectrum))
|
|
47
|
+
return;
|
|
48
|
+
const [from, to] = getRange(draft, { startX, endX });
|
|
49
|
+
if (from !== to) {
|
|
50
|
+
const peak = getClosePeak(original(spectrum), { from, to });
|
|
51
|
+
if (peak && !spectrum.peaks.values.some((p) => p.x === peak.x)) {
|
|
52
|
+
const shiftX = getShiftX(spectrum);
|
|
53
|
+
const newPeak = {
|
|
29
54
|
id: crypto.randomUUID(),
|
|
30
|
-
originalX:
|
|
31
|
-
x:
|
|
32
|
-
y:
|
|
55
|
+
originalX: peak.x - shiftX,
|
|
56
|
+
x: peak.x,
|
|
57
|
+
y: peak.y,
|
|
33
58
|
width: 1,
|
|
34
59
|
shape: {
|
|
35
60
|
kind: 'generalizedLorentzian',
|
|
@@ -37,37 +62,7 @@ function handleAddPeak(draft, action) {
|
|
|
37
62
|
gamma: 0.5,
|
|
38
63
|
},
|
|
39
64
|
};
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
//action
|
|
45
|
-
function handleAddPeaks(draft, action) {
|
|
46
|
-
const state = original(draft);
|
|
47
|
-
const activeSpectrum = getActiveSpectrum(draft);
|
|
48
|
-
if (activeSpectrum) {
|
|
49
|
-
const { index } = activeSpectrum;
|
|
50
|
-
const datumOriginal = state.data[index];
|
|
51
|
-
const { startX, endX } = action.payload;
|
|
52
|
-
const [from, to] = getRange(draft, { startX, endX });
|
|
53
|
-
if (from !== to) {
|
|
54
|
-
const peak = getClosePeak(datumOriginal, { from, to });
|
|
55
|
-
const shiftX = getShiftX(draft.data[index]);
|
|
56
|
-
if (peak && !datumOriginal.peaks.values.some((p) => p.x === peak.x)) {
|
|
57
|
-
const newPeak = {
|
|
58
|
-
id: crypto.randomUUID(),
|
|
59
|
-
originalX: peak.x - shiftX,
|
|
60
|
-
x: peak.x,
|
|
61
|
-
y: peak.y,
|
|
62
|
-
width: 1,
|
|
63
|
-
shape: {
|
|
64
|
-
kind: 'generalizedLorentzian',
|
|
65
|
-
fwhm: 1,
|
|
66
|
-
gamma: 0.5,
|
|
67
|
-
},
|
|
68
|
-
};
|
|
69
|
-
draft.data[index].peaks.values.push(newPeak);
|
|
70
|
-
}
|
|
65
|
+
spectrum.peaks.values.push(newPeak);
|
|
71
66
|
}
|
|
72
67
|
}
|
|
73
68
|
}
|
|
@@ -88,53 +83,47 @@ function handleDeletePeak(draft, action) {
|
|
|
88
83
|
//action
|
|
89
84
|
function handleOptimizePeaks(draft, action) {
|
|
90
85
|
const { peaks } = action.payload;
|
|
91
|
-
const
|
|
92
|
-
if (
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
datum.peaks.values = newPeaks;
|
|
102
|
-
}
|
|
86
|
+
const spectrum = getSpectrum(draft);
|
|
87
|
+
if (!isSpectrum1D(spectrum))
|
|
88
|
+
return;
|
|
89
|
+
const [from, to] = draft.xDomain;
|
|
90
|
+
const newPeaks = optimizePeaks(spectrum, {
|
|
91
|
+
from,
|
|
92
|
+
to,
|
|
93
|
+
peaks,
|
|
94
|
+
});
|
|
95
|
+
spectrum.peaks.values = newPeaks;
|
|
103
96
|
}
|
|
104
97
|
//action
|
|
105
98
|
function handleAutoPeakPicking(draft, action) {
|
|
106
99
|
const { maxNumberOfPeaks, minMaxRatio, noiseFactor, direction } = action.payload;
|
|
107
|
-
const
|
|
108
|
-
if (
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
datum.peaks.values = datum.peaks.values.concat(peaks);
|
|
125
|
-
}
|
|
100
|
+
const spectrum = getSpectrum(draft);
|
|
101
|
+
if (!isSpectrum1D(spectrum))
|
|
102
|
+
return;
|
|
103
|
+
draft.toolOptions.selectedTool = 'zoom';
|
|
104
|
+
draft.toolOptions.selectedOptionPanel = null;
|
|
105
|
+
const [from, to] = draft.xDomain;
|
|
106
|
+
const windowFromIndex = xFindClosestIndex(spectrum.data.x, from);
|
|
107
|
+
const windowToIndex = xFindClosestIndex(spectrum.data.x, to);
|
|
108
|
+
const peaks = autoPeakPicking(spectrum, {
|
|
109
|
+
maxNumberOfPeaks,
|
|
110
|
+
minMaxRatio,
|
|
111
|
+
noiseFactor,
|
|
112
|
+
direction,
|
|
113
|
+
windowFromIndex,
|
|
114
|
+
windowToIndex,
|
|
115
|
+
});
|
|
116
|
+
spectrum.peaks.values = spectrum.peaks.values.concat(peaks);
|
|
126
117
|
}
|
|
127
118
|
//action
|
|
128
119
|
function handleChangePeakShape(draft, action) {
|
|
129
120
|
const { shape, id } = action.payload;
|
|
130
|
-
const
|
|
131
|
-
if (
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
datum.peaks.values[peakIndex].shape = shape;
|
|
137
|
-
}
|
|
121
|
+
const spectrum = getSpectrum(draft);
|
|
122
|
+
if (!isSpectrum1D(spectrum))
|
|
123
|
+
return;
|
|
124
|
+
const peakIndex = spectrum.peaks.values.findIndex((peak) => peak.id === id);
|
|
125
|
+
if (peakIndex !== -1) {
|
|
126
|
+
spectrum.peaks.values[peakIndex].shape = shape;
|
|
138
127
|
}
|
|
139
128
|
}
|
|
140
129
|
//action
|
|
@@ -144,45 +133,45 @@ function handleTogglePeaksViewProperty(draft, action) {
|
|
|
144
133
|
}
|
|
145
134
|
function togglePeaksViewProperty(draft, key) {
|
|
146
135
|
const activeSpectrum = getActiveSpectrum(draft);
|
|
147
|
-
if (activeSpectrum
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
136
|
+
if (!activeSpectrum)
|
|
137
|
+
return;
|
|
138
|
+
const peaksView = draft.view.peaks;
|
|
139
|
+
if (peaksView[activeSpectrum.id]) {
|
|
140
|
+
peaksView[activeSpectrum.id][key] = !peaksView[activeSpectrum.id][key];
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
const defaultPeaksView = { ...defaultPeaksViewState };
|
|
144
|
+
defaultPeaksView[key] = !defaultPeaksView[key];
|
|
145
|
+
peaksView[activeSpectrum.id] = defaultPeaksView;
|
|
157
146
|
}
|
|
158
147
|
}
|
|
159
148
|
function toggleDisplayingPeaks(draft, key) {
|
|
160
149
|
const { view: { spectra: { activeTab: nucleus }, }, } = draft;
|
|
161
150
|
const activeSpectrum = getActiveSpectrum(draft);
|
|
162
|
-
if (activeSpectrum
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
defaultsViewOptions.displayingMode =
|
|
183
|
-
defaultsViewOptions.displayingMode === 'single' ? 'spread' : 'single';
|
|
184
|
-
viewOptions[activeSpectrum.id] = defaultsViewOptions;
|
|
151
|
+
if (!activeSpectrum)
|
|
152
|
+
return;
|
|
153
|
+
const viewOptions = draft.view[key];
|
|
154
|
+
if (viewOptions[activeSpectrum.id]) {
|
|
155
|
+
viewOptions[activeSpectrum.id].displayingMode =
|
|
156
|
+
viewOptions[activeSpectrum.id].displayingMode === 'single'
|
|
157
|
+
? 'spread'
|
|
158
|
+
: 'single';
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
let defaultsViewOptions;
|
|
162
|
+
switch (key) {
|
|
163
|
+
case 'peaks':
|
|
164
|
+
defaultsViewOptions = { ...defaultPeaksViewState };
|
|
165
|
+
break;
|
|
166
|
+
case 'ranges':
|
|
167
|
+
defaultsViewOptions = getDefaultRangesViewState(nucleus);
|
|
168
|
+
break;
|
|
169
|
+
default:
|
|
170
|
+
throw new Error(`Unknown view key: ${String(key)}`);
|
|
185
171
|
}
|
|
172
|
+
defaultsViewOptions.displayingMode =
|
|
173
|
+
defaultsViewOptions.displayingMode === 'single' ? 'spread' : 'single';
|
|
174
|
+
viewOptions[activeSpectrum.id] = defaultsViewOptions;
|
|
186
175
|
}
|
|
187
176
|
}
|
|
188
177
|
function handleChangePeaksDisplayingMode(draft) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeaksActions.js","sourceRoot":"","sources":["../../../../src/component/reducer/actions/PeaksActions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EACL,eAAe,EACf,SAAS,EACT,YAAY,EACZ,aAAa,GACd,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;AAE5F,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AA2CvD,QAAQ;AACR,SAAS,aAAa,CAAC,KAAmB,EAAE,MAAqB;IAC/D,MA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AC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC;QACxE,WAAW,CAAC,cAAc,CAAC,EAAE,CAAC,GAAG,mBAAmB,CAAC;IACvD,CAAC;AACH,CAAC;AAED,SAAS,+BAA+B,CAAC,KAAmB;IAC1D,qBAAqB,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACxC,CAAC;AAED,OAAO,EACL,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,+BAA+B,EAC/B,gBAAgB,EAChB,mBAAmB,EACnB,6BAA6B,EAC7B,qBAAqB,GACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreferencesActions.d.ts","sourceRoot":"","sources":["../../../../src/component/reducer/actions/PreferencesActions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PreferencesActions.d.ts","sourceRoot":"","sources":["../../../../src/component/reducer/actions/PreferencesActions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAKnC,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIzD,KAAK,oBAAoB,GAAG,UAAU,CACpC,qBAAqB,GAAG,uBAAuB,EAC/C;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AAEtD,UAAU,gBAAgB;IACxB,aAAa,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,+BAA+B,CACtC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,EACnB,OAAO,EAAE,gBAAgB,QA2C1B;AAED,iBAAS,uBAAuB,CAC9B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,EACnB,MAAM,EAAE,oBAAoB,QA0C7B;AAYD,iBAAS,yBAAyB,CAChC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,EACnB,MAAM,EAAE,oBAAoB,QAuB7B;AAED,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,uBAAuB,GACxB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isSpectrum1D } from "../../../data/data1d/Spectrum1D/index.js";
|
|
1
2
|
import groupByInfoKey from '../../utility/groupByInfoKey.js';
|
|
2
3
|
import nucleusToString from '../../utility/nucleusToString.js';
|
|
3
4
|
import { getActiveSpectrum } from '../helper/getActiveSpectrum.js';
|
|
@@ -8,7 +9,7 @@ function changeSpectrumVerticalAlignment(draft, options) {
|
|
|
8
9
|
if (draft.data && draft.data.length > 0) {
|
|
9
10
|
let dataPerNucleus = [];
|
|
10
11
|
if (['auto-check', 'stack'].includes(options.verticalAlign || '')) {
|
|
11
|
-
dataPerNucleus = draft.data.filter((datum) => datum.info.nucleus === nucleus && datum
|
|
12
|
+
dataPerNucleus = draft.data.filter((datum) => datum.info.nucleus === nucleus && isSpectrum1D(datum));
|
|
12
13
|
}
|
|
13
14
|
if (nucleus) {
|
|
14
15
|
if (verticalAlign === 'auto-check') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreferencesActions.js","sourceRoot":"","sources":["../../../../src/component/reducer/actions/PreferencesActions.ts"],"names":[],"mappings":"AAGA,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,eAAe,MAAM,kCAAkC,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAGnE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAc/C,SAAS,+BAA+B,CACtC,KAAmB,EACnB,OAAyB;IAEzB,MAAM,EAAE,aAAa,GAAG,QAAQ,EAAE,SAA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CAChC,KAAmB,EACnB,MAA4B;IAE5B,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC;IACnC,MAAM,WAAW,GAAG,KAAK,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IACnD,IAAI,WAAW,EAAE,CAAC;QAChB,4BAA4B,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;QACjD,KAAK,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC;QAC9B,KAAK,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;QAEhD,KAAK,CAAC,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC;QAElC,SAAS,CAAC,KAAK,CAAC,CAAC;QAEjB,KAAK,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC;QACpC,KAAK,CAAC,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC;QACpC,KAAK,CAAC,YAAY,GAAG,WAAW,CAAC,YAAY,CAAC;QAC9C,KAAK,CAAC,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QAEtC,IAAI,KAAK,CAAC,aAAa,KAAK,IAAI,EAAE,CAAC;YACjC,KAAK,CAAC,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC;QAChC,CAAC;IACH,CAAC;AACH,CAAC;AAED,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,uBAAuB,GACxB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Range, Signal1D, SignalKind } from '@zakodium/nmr-types';
|
|
2
|
-
import type { BoundingBox, RangesViewState
|
|
2
|
+
import type { BoundingBox, RangesViewState } from '@zakodium/nmrium-core';
|
|
3
3
|
import type { Draft } from 'immer';
|
|
4
4
|
import type { SetSumOptions } from '../../../data/data1d/Spectrum1D/SumManager.js';
|
|
5
5
|
import type { ChangeRangeRelativeValueProps } from '../../../data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js';
|
|
@@ -25,21 +25,21 @@ type SaveEditedRangeAction = ActionType<'SAVE_EDITED_RANGE', {
|
|
|
25
25
|
range: RangeData;
|
|
26
26
|
}>;
|
|
27
27
|
interface DeleteSignalProps {
|
|
28
|
-
|
|
28
|
+
spectrumId: string;
|
|
29
29
|
range: Range;
|
|
30
|
-
|
|
30
|
+
signalId: string;
|
|
31
31
|
}
|
|
32
32
|
type DeleteSignalAction = ActionType<'DELETE_1D_SIGNAL', DeleteSignalProps>;
|
|
33
|
-
interface
|
|
33
|
+
interface UnAssign1DSignalOptions {
|
|
34
34
|
rangeKey?: string;
|
|
35
35
|
spectrumId?: string;
|
|
36
36
|
signalIndex?: number;
|
|
37
37
|
}
|
|
38
|
-
type
|
|
39
|
-
type
|
|
38
|
+
type UnAssign1DSignalAction = ActionType<'UNASSIGN_1D_SIGNAL', UnAssign1DSignalOptions>;
|
|
39
|
+
type Assign1DSignalAction = ActionType<'ASSIGN_1D_SIGNAL', {
|
|
40
40
|
keys: TargetAssignKeys;
|
|
41
41
|
spectrumId?: string;
|
|
42
|
-
} & Required<Pick<
|
|
42
|
+
} & Required<Pick<Signal1D, 'diaIDs' | 'nbAtoms' | 'assignment'>>>;
|
|
43
43
|
type ChangeRangesAssignmentsLabelsByDiaIdsAction = ActionType<'CHANGE_ASSIGNMENT_LABEL_BY_DIAIDS', {
|
|
44
44
|
diaIDs: string[];
|
|
45
45
|
assignment?: string;
|
|
@@ -57,8 +57,8 @@ type AddRangeAction = ActionType<'ADD_RANGE', {
|
|
|
57
57
|
}>;
|
|
58
58
|
type ChangeRangeRelativeValueAction = ActionType<'CHANGE_RANGE_RELATIVE', ChangeRangeRelativeValueProps>;
|
|
59
59
|
type ChangeRangeSignalValueAction = ActionType<'CHANGE_RANGE_SIGNAL_VALUE', {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
rangeId: string;
|
|
61
|
+
signalId: string;
|
|
62
62
|
value: number;
|
|
63
63
|
}>;
|
|
64
64
|
type UpdateRangAction = ActionType<'UPDATE_RANGE', {
|
|
@@ -76,8 +76,9 @@ type DeleteRangePeakAction = ActionType<'DELETE_RANGE_PEAK', {
|
|
|
76
76
|
id: string;
|
|
77
77
|
spectrumKey: string;
|
|
78
78
|
}>;
|
|
79
|
-
type
|
|
79
|
+
type Change1DSignalAssignmentLabelAction = ActionType<'CHANGE_1D_SIGNAL_ASSIGNMENT_LABEL', {
|
|
80
80
|
rangeId: string;
|
|
81
|
+
signalId?: string;
|
|
81
82
|
value: string;
|
|
82
83
|
spectrumId?: string;
|
|
83
84
|
}>;
|
|
@@ -86,7 +87,7 @@ type ChangeRangesViewFloatingBoxBoundingAction = ActionType<'CHANGE_RANGES_VIEW_
|
|
|
86
87
|
bounding: Partial<BoundingBox>;
|
|
87
88
|
target: Extract<keyof RangesViewState, 'publicationStringBounding' | 'rangesBounding'>;
|
|
88
89
|
}>;
|
|
89
|
-
export type RangesActions = AutoRangesDetectionAction | DeleteRangeAction | ChangeRangeSignalKindAction | SaveEditedRangeAction | DeleteSignalAction |
|
|
90
|
+
export type RangesActions = AutoRangesDetectionAction | DeleteRangeAction | ChangeRangeSignalKindAction | SaveEditedRangeAction | DeleteSignalAction | UnAssign1DSignalAction | Assign1DSignalAction | ResizeRangeAction | ChangeRangeSumAction | AddRangeAction | ChangeRangeRelativeValueAction | ChangeRangeSignalValueAction | UpdateRangAction | CutRangAction | ToggleRangesViewAction | DeleteRangePeakAction | Change1DSignalAssignmentLabelAction | ChangeRangesViewFloatingBoxBoundingAction | ChangeRangesAssignmentsLabelsByDiaIdsAction | ActionType<'AUTO_RANGES_SPECTRA_PICKING' | 'CHANGE_RANGES_SUM_FLAG' | 'TOGGLE_RANGES_PEAKS_DISPLAYING_MODE'>;
|
|
90
91
|
declare function handleAutoRangesDetection(draft: Draft<State>, action: AutoRangesDetectionAction): void;
|
|
91
92
|
declare function handleAutoSpectraRangesDetection(draft: Draft<State>): void;
|
|
92
93
|
declare function handleDeleteRange(draft: Draft<State>, action: DeleteRangeAction): void;
|
|
@@ -94,22 +95,21 @@ declare function handleChangeRangeSignalKind(draft: Draft<State>, action: Change
|
|
|
94
95
|
declare function handleSaveEditedRange(draft: Draft<State>, action: SaveEditedRangeAction): void;
|
|
95
96
|
declare function deleteSignal1D(draft: Draft<State>, props: DeleteSignalProps): void;
|
|
96
97
|
declare function handleDeleteSignal(draft: Draft<State>, action: DeleteSignalAction): void;
|
|
97
|
-
declare function
|
|
98
|
-
declare function
|
|
99
|
-
declare function handleAssignRange(draft: Draft<State>, action: AssignRangeAction): void;
|
|
98
|
+
declare function handleUnAssign1DSignal(draft: Draft<State>, action: UnAssign1DSignalAction): void;
|
|
99
|
+
declare function handleAssign1DSignal(draft: Draft<State>, action: Assign1DSignalAction): void;
|
|
100
100
|
declare function handleChangeRangesAssignmentLabelsByDiaIds(draft: Draft<State>, action: ChangeRangesAssignmentsLabelsByDiaIdsAction): void;
|
|
101
101
|
declare function handleResizeRange(draft: Draft<State>, action: ResizeRangeAction): void;
|
|
102
102
|
declare function handleChangeRangeSum(draft: Draft<State>, action: ChangeRangeSumAction): void;
|
|
103
103
|
declare function handleAddRange(draft: Draft<State>, action: AddRangeAction): void;
|
|
104
|
-
declare function handleChangeRangeRelativeValue(draft:
|
|
105
|
-
declare function handleChangeRangeSignalValue(draft:
|
|
104
|
+
declare function handleChangeRangeRelativeValue(draft: Draft<State>, action: ChangeRangeRelativeValueAction): void;
|
|
105
|
+
declare function handleChangeRangeSignalValue(draft: Draft<State>, action: ChangeRangeSignalValueAction): void;
|
|
106
106
|
declare function handleChangeRangesSumFlag(draft: Draft<State>): void;
|
|
107
107
|
declare function handleUpdateRange(draft: Draft<State>, action: UpdateRangAction): void;
|
|
108
108
|
declare function handleToggleRangesViewProperty(draft: Draft<State>, action: ToggleRangesViewAction): void;
|
|
109
109
|
declare function handleCutRange(draft: Draft<State>, action: CutRangAction): void;
|
|
110
110
|
declare function handleChangePeaksDisplayingMode(draft: Draft<State>): void;
|
|
111
111
|
declare function handleDeleteRangePeak(draft: Draft<State>, action: DeleteRangePeakAction): void;
|
|
112
|
-
declare function
|
|
112
|
+
declare function handleChange1DSignalAssignmentLabel(draft: Draft<State>, action: Change1DSignalAssignmentLabelAction): void;
|
|
113
113
|
declare function handleChangeRangesViewFloatingBoxBounding(draft: Draft<State>, action: ChangeRangesViewFloatingBoxBoundingAction): void;
|
|
114
|
-
export { deleteSignal1D, handleAddRange,
|
|
114
|
+
export { deleteSignal1D, handleAddRange, handleAssign1DSignal, handleAutoRangesDetection, handleAutoSpectraRangesDetection, handleChange1DSignalAssignmentLabel, handleChangePeaksDisplayingMode, handleChangeRangeRelativeValue, handleChangeRangeSignalKind, handleChangeRangeSignalValue, handleChangeRangeSum, handleChangeRangesAssignmentLabelsByDiaIds, handleChangeRangesSumFlag, handleChangeRangesViewFloatingBoxBounding, handleCutRange, handleDeleteRange, handleDeleteRangePeak, handleDeleteSignal, handleResizeRange, handleSaveEditedRange, handleToggleRangesViewProperty, handleUnAssign1DSignal, handleUpdateRange, };
|
|
115
115
|
//# sourceMappingURL=RangesActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesActions.d.ts","sourceRoot":"","sources":["../../../../src/component/reducer/actions/RangesActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EACV,WAAW,EACX,eAAe,
|
|
1
|
+
{"version":3,"file":"RangesActions.d.ts","sourceRoot":"","sources":["../../../../src/component/reducer/actions/RangesActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EAEhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;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