nmrium 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +138 -133
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/ExclusionZoneAnnotation.js +1 -1
- package/lib/component/1d/ExclusionZoneAnnotation.js.map +1 -1
- package/lib/component/1d/ExclusionZonesAnnotations.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +20 -21
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/FooterBanner.js +2 -2
- package/lib/component/1d/FooterBanner.js.map +1 -1
- package/lib/component/1d/Line.js +1 -1
- package/lib/component/1d/Line.js.map +1 -1
- package/lib/component/1d/SimilarityTree.js +2 -2
- package/lib/component/1d/SimilarityTree.js.map +1 -1
- package/lib/component/1d/SpectraLegends.d.ts +1 -2
- package/lib/component/1d/SpectraLegends.d.ts.map +1 -1
- package/lib/component/1d/SpectraLegends.js +3 -4
- package/lib/component/1d/SpectraLegends.js.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.js +4 -4
- package/lib/component/1d/baseline/BaselinePreview.js.map +1 -1
- package/lib/component/1d/database/DatabaseElements.d.ts +1 -2
- package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseElements.js +1 -2
- package/lib/component/1d/database/DatabaseElements.js.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.js +3 -3
- package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js +4 -4
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
- package/lib/component/1d/inset/InsetProvider.js +4 -4
- package/lib/component/1d/inset/InsetProvider.js.map +1 -1
- package/lib/component/1d/inset/InsetViewerRoot.js +3 -3
- package/lib/component/1d/inset/InsetViewerRoot.js.map +1 -1
- package/lib/component/1d/integral/IntegralsSeries.js +1 -1
- package/lib/component/1d/integral/IntegralsSeries.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraph.js +2 -2
- package/lib/component/1d/jCouplingGraph/JGraph.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphContext.js +3 -4
- package/lib/component/1d/jCouplingGraph/JGraphContext.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts.map +1 -1
- package/lib/component/1d/jCouplingGraph/JsCouplingLinks.js +1 -4
- package/lib/component/1d/jCouplingGraph/JsCouplingLinks.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JsCouplings.js +1 -1
- package/lib/component/1d/jCouplingGraph/JsCouplings.js.map +1 -1
- package/lib/component/1d/matrix/Stocsy.js +1 -2
- package/lib/component/1d/matrix/Stocsy.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js +6 -7
- package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
- package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
- package/lib/component/1d/peaks/Peaks.js +12 -15
- package/lib/component/1d/peaks/Peaks.js.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.js +4 -3
- package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -1
- package/lib/component/1d/ranges/Atoms.js +18 -17
- package/lib/component/1d/ranges/Atoms.js.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.js +12 -14
- package/lib/component/1d/ranges/FloatingRanges.js.map +1 -1
- package/lib/component/1d/ranges/RangesIntegrals.d.ts +1 -2
- package/lib/component/1d/ranges/RangesIntegrals.d.ts.map +1 -1
- package/lib/component/1d/ranges/RangesIntegrals.js +2 -3
- package/lib/component/1d/ranges/RangesIntegrals.js.map +1 -1
- package/lib/component/1d/tool/BaseLine.d.ts +1 -2
- package/lib/component/1d/tool/BaseLine.d.ts.map +1 -1
- package/lib/component/1d/tool/BaseLine.js +2 -3
- package/lib/component/1d/tool/BaseLine.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +3 -3
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
- package/lib/component/1d-2d/components/RangeIndicator.d.ts +2 -1
- package/lib/component/1d-2d/components/RangeIndicator.d.ts.map +1 -1
- package/lib/component/1d-2d/components/RangeIndicator.js +2 -2
- package/lib/component/1d-2d/components/RangeIndicator.js.map +1 -1
- package/lib/component/1d-2d/components/SVGRootContainer.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SVGRootContainer.js +2 -2
- package/lib/component/1d-2d/components/SVGRootContainer.js.map +1 -1
- package/lib/component/1d-2d/components/Signals1D.js.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts +1 -2
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js +17 -16
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.js +2 -2
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/1d-2d/tools/CursorToolIcon.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/CursorToolIcon.js +1 -3
- package/lib/component/1d-2d/tools/CursorToolIcon.js.map +1 -1
- package/lib/component/1d-2d/tools/DistanceLine.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/DistanceLine.js +2 -4
- package/lib/component/1d-2d/tools/DistanceLine.js.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Ranges1D.d.ts +0 -1
- package/lib/component/2d/1d-tracer/Ranges1D.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Ranges1D.js.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/Top1DChart.js +5 -5
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js +1 -1
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.js +1 -1
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/IndirectAxis2D.js +1 -1
- package/lib/component/2d/IndirectAxis2D.js.map +1 -1
- package/lib/component/2d/SlicingView.js +2 -2
- 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/tools/PivotIndicator.d.ts.map +1 -1
- package/lib/component/2d/tools/PivotIndicator.js +1 -1
- package/lib/component/2d/tools/PivotIndicator.js.map +1 -1
- package/lib/component/2d/utilities/scale.js +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +6 -6
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/2d/zones/Zone.js +4 -4
- 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 +21 -17
- package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +10 -10
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js +5 -6
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/EventsTrackers/brush_tracker.types.d.ts +12 -4
- package/lib/component/EventsTrackers/brush_tracker.types.d.ts.map +1 -1
- package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts +1 -1
- package/lib/component/EventsTrackers/brush_tracker_events_listeners.d.ts.map +1 -1
- package/lib/component/EventsTrackers/brush_tracker_events_listeners.js +3 -4
- package/lib/component/EventsTrackers/brush_tracker_events_listeners.js.map +1 -1
- package/lib/component/SVGTable.d.ts.map +1 -1
- package/lib/component/SVGTable.js +4 -4
- package/lib/component/SVGTable.js.map +1 -1
- package/lib/component/assignment/AssignmentProvider.d.ts.map +1 -1
- package/lib/component/assignment/AssignmentProvider.js +3 -5
- package/lib/component/assignment/AssignmentProvider.js.map +1 -1
- package/lib/component/assignment/AssignmentsContext.d.ts +3 -3
- package/lib/component/assignment/AssignmentsContext.d.ts.map +1 -1
- package/lib/component/assignment/AssignmentsContext.js +3 -3
- package/lib/component/assignment/AssignmentsContext.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js +4 -10
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/ChartContext.d.ts +1 -1
- package/lib/component/context/ChartContext.d.ts.map +1 -1
- package/lib/component/context/ChartContext.js +3 -4
- package/lib/component/context/ChartContext.js.map +1 -1
- package/lib/component/context/CoreContext.d.ts +1 -1
- package/lib/component/context/CoreContext.d.ts.map +1 -1
- package/lib/component/context/CoreContext.js +3 -4
- package/lib/component/context/CoreContext.js.map +1 -1
- package/lib/component/context/DispatchContext.d.ts +1 -1
- package/lib/component/context/DispatchContext.d.ts.map +1 -1
- package/lib/component/context/DispatchContext.js +3 -4
- package/lib/component/context/DispatchContext.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js +3 -3
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/GlobalContext.d.ts +1 -1
- package/lib/component/context/GlobalContext.d.ts.map +1 -1
- package/lib/component/context/GlobalContext.js +3 -4
- package/lib/component/context/GlobalContext.js.map +1 -1
- package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
- package/lib/component/context/KeyModifierContext.js +3 -3
- package/lib/component/context/KeyModifierContext.js.map +1 -1
- package/lib/component/context/LoaderContext.d.ts +1 -1
- package/lib/component/context/LoaderContext.d.ts.map +1 -1
- package/lib/component/context/LoaderContext.js +4 -7
- package/lib/component/context/LoaderContext.js.map +1 -1
- package/lib/component/context/LoggerContext.js +3 -3
- package/lib/component/context/LoggerContext.js.map +1 -1
- package/lib/component/context/PreferencesContext.d.ts +1 -1
- package/lib/component/context/PreferencesContext.d.ts.map +1 -1
- package/lib/component/context/PreferencesContext.js +4 -5
- package/lib/component/context/PreferencesContext.js.map +1 -1
- package/lib/component/context/ScaleContext.d.ts.map +1 -1
- package/lib/component/context/ScaleContext.js +3 -3
- package/lib/component/context/ScaleContext.js.map +1 -1
- package/lib/component/context/ShareDataContext.d.ts.map +1 -1
- package/lib/component/context/ShareDataContext.js +3 -3
- package/lib/component/context/ShareDataContext.js.map +1 -1
- package/lib/component/context/SortSpectraContext.d.ts.map +1 -1
- package/lib/component/context/SortSpectraContext.js +7 -8
- package/lib/component/context/SortSpectraContext.js.map +1 -1
- package/lib/component/context/ToasterContext.d.ts.map +1 -1
- package/lib/component/context/ToasterContext.js +3 -3
- package/lib/component/context/ToasterContext.js.map +1 -1
- package/lib/component/context/TopicMoleculeContext.js +3 -3
- package/lib/component/context/TopicMoleculeContext.js.map +1 -1
- package/lib/component/context/processings_mutations_context.api.d.ts +1 -1
- package/lib/component/context/processings_mutations_context.api.d.ts.map +1 -1
- package/lib/component/context/processings_mutations_context.api.js +9 -11
- package/lib/component/context/processings_mutations_context.api.js.map +1 -1
- package/lib/component/context/processings_mutations_context.js +3 -3
- package/lib/component/context/processings_mutations_context.js.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js +13 -13
- package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
- package/lib/component/elements/Alert.d.ts.map +1 -1
- package/lib/component/elements/Alert.js +6 -4
- package/lib/component/elements/Alert.js.map +1 -1
- package/lib/component/elements/Anchor.d.ts +35 -11
- package/lib/component/elements/Anchor.d.ts.map +1 -1
- package/lib/component/elements/Anchor.js.map +1 -1
- package/lib/component/elements/Button.js +1 -1
- package/lib/component/elements/Button.js.map +1 -1
- package/lib/component/elements/D3Axis.d.ts +3 -2
- package/lib/component/elements/D3Axis.d.ts.map +1 -1
- package/lib/component/elements/D3Axis.js +3 -4
- package/lib/component/elements/D3Axis.js.map +1 -1
- package/lib/component/elements/DialogManager.d.ts +3 -1
- package/lib/component/elements/DialogManager.d.ts.map +1 -1
- package/lib/component/elements/DialogManager.js +5 -5
- package/lib/component/elements/DialogManager.js.map +1 -1
- package/lib/component/elements/DraggableDialog.js +11 -11
- package/lib/component/elements/DraggableDialog.js.map +1 -1
- package/lib/component/elements/EditableColumn.d.ts +3 -2
- package/lib/component/elements/EditableColumn.d.ts.map +1 -1
- package/lib/component/elements/EditableColumn.js +12 -10
- package/lib/component/elements/EditableColumn.js.map +1 -1
- package/lib/component/elements/Footer.d.ts +9 -3
- package/lib/component/elements/Footer.d.ts.map +1 -1
- package/lib/component/elements/Footer.js.map +1 -1
- package/lib/component/elements/Input.d.ts +4 -3
- package/lib/component/elements/Input.d.ts.map +1 -1
- package/lib/component/elements/Input.js +9 -10
- package/lib/component/elements/Input.js.map +1 -1
- package/lib/component/elements/Input2.d.ts +4 -3
- package/lib/component/elements/Input2.d.ts.map +1 -1
- package/lib/component/elements/Input2.js +7 -9
- package/lib/component/elements/Input2.js.map +1 -1
- package/lib/component/elements/InputRange.d.ts +4 -3
- package/lib/component/elements/InputRange.d.ts.map +1 -1
- package/lib/component/elements/InputRange.js +10 -10
- package/lib/component/elements/InputRange.js.map +1 -1
- package/lib/component/elements/IsotopesViewer.js +1 -1
- package/lib/component/elements/IsotopesViewer.js.map +1 -1
- package/lib/component/elements/NumberInput2.d.ts +4 -3
- package/lib/component/elements/NumberInput2.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2.js +5 -7
- 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 +17 -9
- package/lib/component/elements/NumberInput2Controller.js.map +1 -1
- package/lib/component/elements/SVGGroup.d.ts.map +1 -1
- package/lib/component/elements/SVGGroup.js +16 -15
- package/lib/component/elements/SVGGroup.js.map +1 -1
- package/lib/component/elements/Scroller.d.ts.map +1 -1
- package/lib/component/elements/Scroller.js +3 -4
- package/lib/component/elements/Scroller.js.map +1 -1
- package/lib/component/elements/Sections.js +3 -3
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/Select.d.ts +4 -3
- package/lib/component/elements/Select.d.ts.map +1 -1
- package/lib/component/elements/Select.js +3 -5
- package/lib/component/elements/Select.js.map +1 -1
- package/lib/component/elements/Select2.d.ts +3 -5
- package/lib/component/elements/Select2.d.ts.map +1 -1
- package/lib/component/elements/Select2.js +3 -4
- package/lib/component/elements/Select2.js.map +1 -1
- package/lib/component/elements/Tab/Tab.d.ts.map +1 -1
- package/lib/component/elements/Tab/Tab.js +2 -2
- package/lib/component/elements/Tab/Tab.js.map +1 -1
- package/lib/component/elements/Tab/Tabs.d.ts.map +1 -1
- package/lib/component/elements/Tab/Tabs.js +0 -2
- package/lib/component/elements/Tab/Tabs.js.map +1 -1
- package/lib/component/elements/TabsProvider.d.ts.map +1 -1
- package/lib/component/elements/TabsProvider.js +3 -3
- package/lib/component/elements/TabsProvider.js.map +1 -1
- package/lib/component/elements/custom-color-picker.d.ts +3 -0
- package/lib/component/elements/custom-color-picker.d.ts.map +1 -0
- package/lib/component/elements/custom-color-picker.js +158 -0
- package/lib/component/elements/custom-color-picker.js.map +1 -0
- package/lib/component/elements/draggable/useDraggable.js +4 -4
- package/lib/component/elements/draggable/useDraggable.js.map +1 -1
- package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
- package/lib/component/elements/export/ExportManager.js +5 -5
- package/lib/component/elements/export/ExportManager.js.map +1 -1
- package/lib/component/elements/export/ExportSettingsProvider.d.ts.map +1 -1
- package/lib/component/elements/export/ExportSettingsProvider.js +3 -3
- package/lib/component/elements/export/ExportSettingsProvider.js.map +1 -1
- package/lib/component/elements/export/RenderDetector.d.ts.map +1 -1
- package/lib/component/elements/export/RenderDetector.js +1 -0
- package/lib/component/elements/export/RenderDetector.js.map +1 -1
- package/lib/component/elements/print/PrintContent.js +3 -2
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/elements/print/PrintProvider.d.ts.map +1 -1
- package/lib/component/elements/print/PrintProvider.js +6 -6
- package/lib/component/elements/print/PrintProvider.js.map +1 -1
- package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -1
- package/lib/component/elements/resizer/SVGResizer.js +0 -1
- package/lib/component/elements/resizer/SVGResizer.js.map +1 -1
- package/lib/component/elements/tanstack_table/elements/table_context.d.ts +1 -1
- package/lib/component/elements/tanstack_table/elements/table_context.d.ts.map +1 -1
- package/lib/component/elements/tanstack_table/elements/table_context.js +3 -4
- package/lib/component/elements/tanstack_table/elements/table_context.js.map +1 -1
- package/lib/component/elements/tanstack_table/elements/table_header.d.ts +1 -0
- package/lib/component/elements/tanstack_table/elements/table_header.d.ts.map +1 -1
- package/lib/component/elements/tanstack_table/elements/table_header.js +2 -2
- package/lib/component/elements/tanstack_table/elements/table_header.js.map +1 -1
- package/lib/component/elements/tanstack_table/elements/table_row.d.ts +2 -2
- package/lib/component/elements/tanstack_table/elements/table_row.d.ts.map +1 -1
- package/lib/component/elements/tanstack_table/elements/table_row.js +41 -21
- package/lib/component/elements/tanstack_table/elements/table_row.js.map +1 -1
- package/lib/component/elements/tanstack_table/elements/useRowReorder.d.ts +10 -0
- package/lib/component/elements/tanstack_table/elements/useRowReorder.d.ts.map +1 -0
- package/lib/component/elements/tanstack_table/elements/useRowReorder.js +87 -0
- package/lib/component/elements/tanstack_table/elements/useRowReorder.js.map +1 -0
- package/lib/component/elements/tanstack_table/table.d.ts +6 -5
- package/lib/component/elements/tanstack_table/table.d.ts.map +1 -1
- package/lib/component/elements/tanstack_table/table.js +10 -8
- package/lib/component/elements/tanstack_table/table.js.map +1 -1
- package/lib/component/elements/tanstack_table/types.d.ts +3 -0
- package/lib/component/elements/tanstack_table/types.d.ts.map +1 -1
- package/lib/component/elements/utilities/transferStyles.d.ts.map +1 -1
- package/lib/component/elements/utilities/transferStyles.js +1 -3
- package/lib/component/elements/utilities/transferStyles.js.map +1 -1
- package/lib/component/header/Header.d.ts.map +1 -1
- package/lib/component/header/Header.js +3 -3
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/highlight/index.d.ts +6 -3
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +12 -9
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/reduce2DSpectrum.js +2 -2
- package/lib/component/hooks/reduce2DSpectrum.js.map +1 -1
- package/lib/component/hooks/useCombinedRefs.d.ts +2 -2
- package/lib/component/hooks/useCombinedRefs.d.ts.map +1 -1
- package/lib/component/hooks/useCombinedRefs.js +0 -3
- package/lib/component/hooks/useCombinedRefs.js.map +1 -1
- package/lib/component/hooks/useDialogToggle.js +1 -1
- package/lib/component/hooks/useDialogToggle.js.map +1 -1
- package/lib/component/hooks/useExport.d.ts.map +1 -1
- package/lib/component/hooks/useExport.js +4 -6
- package/lib/component/hooks/useExport.js.map +1 -1
- package/lib/component/hooks/useSelectedSpectra.d.ts.map +1 -1
- package/lib/component/hooks/useSelectedSpectra.js +1 -1
- package/lib/component/hooks/useSelectedSpectra.js.map +1 -1
- package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
- package/lib/component/hooks/useTableSortBy.js +1 -1
- package/lib/component/hooks/useTableSortBy.js.map +1 -1
- package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
- package/lib/component/hooks/useTextMetrics.js +1 -0
- package/lib/component/hooks/useTextMetrics.js.map +1 -1
- package/lib/component/hooks/use_gridlines_config.d.ts.map +1 -1
- package/lib/component/hooks/use_gridlines_config.js +2 -4
- package/lib/component/hooks/use_gridlines_config.js.map +1 -1
- package/lib/component/loader/DropZone.js +2 -2
- package/lib/component/loader/DropZone.js.map +1 -1
- package/lib/component/loader/Spinner.js +3 -3
- package/lib/component/loader/Spinner.js.map +1 -1
- package/lib/component/loader/SpinnerContext.d.ts +1 -2
- package/lib/component/loader/SpinnerContext.d.ts.map +1 -1
- package/lib/component/loader/SpinnerContext.js +1 -2
- package/lib/component/loader/SpinnerContext.js.map +1 -1
- package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
- package/lib/component/loader/useLoadFiles.js +7 -9
- package/lib/component/loader/useLoadFiles.js.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts +2 -2
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.js +15 -11
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/InnerNMRiumContents.d.ts +2 -2
- package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
- package/lib/component/main/NMRium.d.ts +10 -2
- package/lib/component/main/NMRium.d.ts.map +1 -1
- package/lib/component/main/NMRium.js +4 -4
- package/lib/component/main/NMRium.js.map +1 -1
- package/lib/component/main/NMRiumRefAPI.d.ts +2 -2
- package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
- package/lib/component/main/NMRiumRefAPI.js.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +3 -3
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/NMRiumViewer.js +2 -1
- package/lib/component/main/NMRiumViewer.js.map +1 -1
- package/lib/component/modal/AboutPredictionModal.d.ts +1 -2
- package/lib/component/modal/AboutPredictionModal.d.ts.map +1 -1
- package/lib/component/modal/AboutPredictionModal.js +1 -2
- package/lib/component/modal/AboutPredictionModal.js.map +1 -1
- package/lib/component/modal/AboutSpectrumSimulationModal.d.ts +1 -2
- package/lib/component/modal/AboutSpectrumSimulationModal.d.ts.map +1 -1
- package/lib/component/modal/AboutSpectrumSimulationModal.js +1 -2
- package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +1 -1
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
- package/lib/component/modal/LogsHistoryModal.js +2 -2
- package/lib/component/modal/LogsHistoryModal.js.map +1 -1
- package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js +1 -1
- package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.d.ts +1 -2
- package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +1 -2
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +4 -7
- package/lib/component/modal/editRange/EditRangeModal.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 +4 -4
- package/lib/component/modal/editRange/forms/components/SignalsContent.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 +2 -6
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
- package/lib/component/modal/editZone/SignalsForm.js +2 -2
- package/lib/component/modal/editZone/SignalsForm.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js +2 -5
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +3 -3
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +2 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js +2 -3
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +5 -2
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +3 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +5 -2
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +2 -4
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js +2 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js +2 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +3 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js +9 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js +2 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +2 -2
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts +1 -2
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +1 -2
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralPanel.js +6 -6
- package/lib/component/panels/IntegralsPanel/IntegralPanel.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts +5 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +4 -3
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js +6 -6
- package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +0 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +1 -1
- 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 +11 -14
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.d.ts +2 -2
- package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts +2 -2
- package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js +2 -2
- package/lib/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +5 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +4 -3
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/peaksToTSV.js +1 -4
- package/lib/component/panels/PeaksPanel/peaksToTSV.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js +2 -2
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.d.ts +6 -2
- package/lib/component/panels/RangesPanel/RangesPreferences.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.js +4 -3
- package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +0 -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 +0 -3
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +7 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.js +6 -5
- package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js +19 -12
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.js +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.js.map +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/setting/Spectrum1DHistogram.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js +15 -7
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +10 -7
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js +12 -8
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +18 -19
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +9 -11
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +22 -19
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +6 -7
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +2 -2
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +10 -13
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +8 -10
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js +3 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPanel.js +8 -9
- package/lib/component/panels/ZonesPanel/ZonesPanel.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +5 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js +4 -3
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTable.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTable.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTable.js +3 -3
- package/lib/component/panels/ZonesPanel/ZonesTable.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +2 -2
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js +4 -5
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
- package/lib/component/panels/ZonesPanel/hooks/useMapZones.js +1 -1
- package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseInfo.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseInfo.js +2 -0
- package/lib/component/panels/databasePanel/DatabaseInfo.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +5 -4
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts +6 -2
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js +4 -3
- package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.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/DatabaseTable.js +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
- package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts +1 -1
- package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/settingImperativeHandle.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +2 -2
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +12 -12
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js +1 -2
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +0 -2
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +2 -5
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +3 -5
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
- package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/header/DefaultPanelHeader.js +1 -1
- package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
- package/lib/component/panels/hooks/useGetPanelOptions.js +5 -5
- package/lib/component/panels/hooks/useGetPanelOptions.js.map +1 -1
- package/lib/component/panels/informationPanel/SpectraPicker.js +1 -1
- package/lib/component/panels/informationPanel/SpectraPicker.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js +22 -17
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts +5 -2
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +4 -5
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts +4 -2
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js +4 -8
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPanel.js +5 -5
- package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts +6 -2
- package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.js +4 -3
- package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.d.ts +5 -2
- package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.d.ts.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js +2 -3
- package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js.map +1 -1
- package/lib/component/reducer/IgnoreActions.d.ts +1 -2
- package/lib/component/reducer/IgnoreActions.d.ts.map +1 -1
- package/lib/component/reducer/IgnoreActions.js +2 -5
- package/lib/component/reducer/IgnoreActions.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 +2 -0
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.d.ts +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +15 -34
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +4 -4
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +43 -43
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +48 -52
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +1 -1
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +37 -71
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +13 -13
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +14 -18
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts +11 -11
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +12 -14
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts +4 -4
- package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +4 -5
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +8 -6
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +20 -16
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +35 -30
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts +18 -18
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +18 -19
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.d.ts +4 -4
- package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.js +26 -26
- package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
- package/lib/component/reducer/actions/processings_actions.d.ts +1 -1
- package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -1
- package/lib/component/reducer/actions/processings_actions.js +9 -9
- package/lib/component/reducer/actions/processings_actions.js.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js +2 -2
- package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +3 -5
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/useWatchForm.d.ts.map +1 -1
- package/lib/component/useWatchForm.js +0 -1
- package/lib/component/useWatchForm.js.map +1 -1
- package/lib/component/utility/Events.d.ts +4 -4
- package/lib/component/utility/Events.d.ts.map +1 -1
- package/lib/component/utility/Events.js +0 -1
- package/lib/component/utility/Events.js.map +1 -1
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +15 -18
- package/lib/component/utility/export.js.map +1 -1
- package/lib/data/PredictionManager.js +7 -8
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/SpectraManager.d.ts +3 -1
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +1 -1
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js +7 -4
- package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/generateJGraphData.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/generateJGraphData.js +9 -9
- package/lib/data/data1d/Spectrum1D/generateJGraphData.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +2 -2
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
- package/lib/data/data1d/database.js +3 -3
- package/lib/data/data1d/database.js.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +7 -7
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +4 -3
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js +1 -1
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js +2 -2
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js +1 -2
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js +2 -2
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js.map +1 -1
- package/lib/data/matrixGeneration.d.ts.map +1 -1
- package/lib/data/matrixGeneration.js +3 -6
- package/lib/data/matrixGeneration.js.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/ZoneUtilities.d.ts +1 -1
- package/lib/data/utilities/ZoneUtilities.d.ts.map +1 -1
- package/lib/data/utilities/ZoneUtilities.js +7 -31
- package/lib/data/utilities/ZoneUtilities.js.map +1 -1
- package/lib/data/utilities/generateNumbersPowerOfX.js +1 -1
- package/lib/data/utilities/generateNumbersPowerOfX.js.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +40 -39
- package/src/component/1d/BrushTracker1D.tsx +153 -151
- package/src/component/1d/ExclusionZoneAnnotation.tsx +1 -1
- package/src/component/1d/ExclusionZonesAnnotations.tsx +2 -2
- package/src/component/1d/FloatPublicationString.tsx +34 -30
- package/src/component/1d/FooterBanner.tsx +4 -4
- package/src/component/1d/Line.tsx +1 -1
- package/src/component/1d/SimilarityTree.tsx +2 -2
- package/src/component/1d/SpectraLegends.tsx +6 -7
- package/src/component/1d/baseline/BaselinePreview.tsx +5 -5
- package/src/component/1d/database/DatabaseElements.tsx +1 -3
- package/src/component/1d/database/DatabaseSpectrum.tsx +3 -3
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +2 -2
- package/src/component/1d/inset/DraggableInset.tsx +4 -4
- package/src/component/1d/inset/InsetProvider.tsx +4 -6
- package/src/component/1d/inset/InsetViewerRoot.tsx +4 -4
- package/src/component/1d/integral/IntegralsSeries.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraph.tsx +3 -3
- package/src/component/1d/jCouplingGraph/JGraphContext.tsx +3 -5
- package/src/component/1d/jCouplingGraph/JsCouplingLinks.tsx +4 -5
- package/src/component/1d/jCouplingGraph/JsCouplings.tsx +1 -1
- package/src/component/1d/matrix/Stocsy.tsx +1 -2
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -1
- package/src/component/1d/peaks/PeakEditionManager.tsx +7 -14
- package/src/component/1d/peaks/Peaks.tsx +14 -32
- package/src/component/1d/ranges/AssignmentLabel.tsx +4 -3
- package/src/component/1d/ranges/Atoms.tsx +19 -19
- package/src/component/1d/ranges/FloatingRanges.tsx +12 -13
- package/src/component/1d/ranges/RangesIntegrals.tsx +7 -10
- package/src/component/1d/tool/BaseLine.tsx +4 -4
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +3 -10
- package/src/component/1d-2d/components/RangeIndicator.tsx +4 -3
- package/src/component/1d-2d/components/SVGRootContainer.tsx +2 -6
- package/src/component/1d-2d/components/Signals1D.tsx +3 -3
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +32 -24
- package/src/component/1d-2d/tools/BrushXY.tsx +2 -2
- package/src/component/1d-2d/tools/CursorToolIcon.tsx +1 -3
- package/src/component/1d-2d/tools/DistanceLine.tsx +2 -4
- package/src/component/2d/1d-tracer/Left1DChart.tsx +1 -5
- package/src/component/2d/1d-tracer/Ranges1D.tsx +0 -1
- package/src/component/2d/1d-tracer/Top1DChart.tsx +6 -9
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx +4 -2
- package/src/component/2d/BrushTracker2D.tsx +2 -1
- package/src/component/2d/FooterBanner.tsx +3 -2
- package/src/component/2d/IndirectAxis2D.tsx +1 -1
- package/src/component/2d/SlicingView.tsx +2 -2
- package/src/component/2d/Viewer2D.tsx +2 -2
- package/src/component/2d/tools/PivotIndicator.tsx +1 -3
- package/src/component/2d/utilities/scale.ts +1 -1
- package/src/component/2d/zones/SignalsGuideLines.tsx +6 -6
- package/src/component/2d/zones/Zone.tsx +4 -4
- package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +30 -19
- package/src/component/EventsTrackers/BrushTracker.tsx +14 -14
- package/src/component/EventsTrackers/MouseTracker.tsx +6 -7
- package/src/component/EventsTrackers/brush_tracker.types.ts +12 -4
- package/src/component/EventsTrackers/brush_tracker_events_listeners.ts +3 -6
- package/src/component/SVGTable.tsx +6 -5
- package/src/component/assignment/AssignmentProvider.tsx +5 -11
- package/src/component/assignment/AssignmentsContext.ts +7 -4
- package/src/component/assignment/utilities/getAssignments.ts +4 -9
- package/src/component/context/ChartContext.tsx +3 -4
- package/src/component/context/CoreContext.tsx +4 -4
- package/src/component/context/DispatchContext.tsx +3 -5
- package/src/component/context/FilterSyncOptionsContext.tsx +4 -4
- package/src/component/context/GlobalContext.tsx +3 -5
- package/src/component/context/KeyModifierContext.tsx +3 -7
- package/src/component/context/LoaderContext.tsx +4 -9
- package/src/component/context/LoggerContext.tsx +4 -4
- package/src/component/context/PreferencesContext.tsx +6 -5
- package/src/component/context/ScaleContext.tsx +3 -5
- package/src/component/context/ShareDataContext.tsx +3 -7
- package/src/component/context/SortSpectraContext.tsx +7 -20
- package/src/component/context/ToasterContext.tsx +3 -5
- package/src/component/context/TopicMoleculeContext.tsx +4 -4
- package/src/component/context/processings_mutations_context.api.ts +12 -9
- package/src/component/context/processings_mutations_context.tsx +4 -4
- package/src/component/elements/ActionsButtonsPopover.tsx +14 -13
- package/src/component/elements/Alert.tsx +4 -5
- package/src/component/elements/Anchor.tsx +42 -13
- package/src/component/elements/Button.tsx +1 -1
- package/src/component/elements/D3Axis.tsx +65 -66
- package/src/component/elements/DialogManager.tsx +10 -10
- package/src/component/elements/DraggableDialog.tsx +11 -12
- package/src/component/elements/EditableColumn.tsx +16 -17
- package/src/component/elements/Footer.tsx +9 -3
- package/src/component/elements/Input.tsx +101 -107
- package/src/component/elements/Input2.tsx +17 -21
- package/src/component/elements/InputRange.tsx +11 -11
- package/src/component/elements/IsotopesViewer.tsx +1 -1
- package/src/component/elements/NumberInput2.tsx +9 -18
- package/src/component/elements/NumberInput2Controller.tsx +23 -10
- package/src/component/elements/SVGGroup.tsx +18 -15
- package/src/component/elements/Scroller.tsx +3 -5
- package/src/component/elements/Sections.tsx +4 -4
- package/src/component/elements/Select.tsx +5 -10
- package/src/component/elements/Select2.tsx +5 -10
- package/src/component/elements/Tab/Tab.tsx +2 -2
- package/src/component/elements/Tab/Tabs.tsx +0 -2
- package/src/component/elements/TabsProvider.tsx +3 -5
- package/src/component/elements/custom-color-picker.tsx +230 -0
- package/src/component/elements/draggable/useDraggable.ts +4 -4
- package/src/component/elements/export/ExportManager.tsx +5 -9
- package/src/component/elements/export/ExportSettingsProvider.tsx +3 -5
- package/src/component/elements/export/RenderDetector.tsx +1 -0
- package/src/component/elements/print/PrintContent.tsx +3 -2
- package/src/component/elements/print/PrintProvider.tsx +6 -8
- package/src/component/elements/resizer/SVGResizer.tsx +0 -1
- package/src/component/elements/tanstack_table/elements/table_context.ts +4 -5
- package/src/component/elements/tanstack_table/elements/table_header.tsx +3 -1
- package/src/component/elements/tanstack_table/elements/table_row.tsx +44 -4
- package/src/component/elements/tanstack_table/elements/useRowReorder.ts +130 -0
- package/src/component/elements/tanstack_table/table.tsx +20 -10
- package/src/component/elements/tanstack_table/types.ts +9 -0
- package/src/component/elements/utilities/transferStyles.ts +1 -3
- package/src/component/header/Header.tsx +5 -4
- package/src/component/highlight/index.tsx +24 -16
- package/src/component/hooks/reduce2DSpectrum.ts +2 -2
- package/src/component/hooks/useCombinedRefs.ts +2 -5
- package/src/component/hooks/useDialogToggle.ts +1 -1
- package/src/component/hooks/useExport.tsx +4 -6
- package/src/component/hooks/useSelectedSpectra.ts +1 -2
- package/src/component/hooks/useTableSortBy.tsx +2 -1
- package/src/component/hooks/useTextMetrics.ts +1 -0
- package/src/component/hooks/use_gridlines_config.ts +2 -4
- package/src/component/loader/DropZone.tsx +3 -3
- package/src/component/loader/Spinner.tsx +3 -3
- package/src/component/loader/SpinnerContext.tsx +1 -3
- package/src/component/loader/useLoadFiles.ts +8 -9
- package/src/component/main/InnerNMRium.tsx +30 -25
- package/src/component/main/InnerNMRiumContents.tsx +2 -2
- package/src/component/main/NMRium.tsx +12 -8
- package/src/component/main/NMRiumRefAPI.ts +2 -2
- package/src/component/main/NMRiumStateProvider.tsx +6 -6
- package/src/component/main/NMRiumViewer.tsx +3 -1
- package/src/component/modal/AboutPredictionModal.tsx +1 -3
- package/src/component/modal/AboutSpectrumSimulationModal.tsx +1 -3
- package/src/component/modal/LoadJCAMPModal.tsx +1 -1
- package/src/component/modal/LogsHistoryModal.tsx +4 -2
- package/src/component/modal/MoleculeAutoLabelsDatabaseModal.tsx +1 -1
- package/src/component/modal/MultipletAnalysisModal.tsx +1 -1
- package/src/component/modal/PublicationStringModal.tsx +1 -1
- package/src/component/modal/aboutUs/AboutUsModal.tsx +1 -3
- package/src/component/modal/editRange/EditRangeModal.tsx +8 -7
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +4 -8
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +3 -13
- package/src/component/modal/editZone/SignalsForm.tsx +2 -2
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +3 -6
- package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +4 -4
- package/src/component/modal/setting/tanstack_general_settings/errors/renderer.tsx +1 -0
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +5 -2
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +3 -1
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +5 -2
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +2 -4
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/ui/table_section.tsx +2 -2
- package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +9 -4
- package/src/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.ts +2 -5
- package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +7 -9
- package/src/component/panels/AutomaticAssignment/AutomaticAssignment.tsx +1 -3
- package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +6 -6
- package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +67 -64
- package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +7 -7
- package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +0 -1
- package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +1 -1
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +15 -14
- package/src/component/panels/MoleculesPanel/utilities/getCurrentDiaIDsToHighlight.ts +4 -2
- package/src/component/panels/MoleculesPanel/utilities/getHighlightsOnHover.ts +4 -4
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +86 -82
- package/src/component/panels/PeaksPanel/peaksToTSV.ts +4 -4
- package/src/component/panels/RangesPanel/RangesPanel.tsx +2 -2
- package/src/component/panels/RangesPanel/RangesPreferences.tsx +52 -46
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +1 -6
- package/src/component/panels/RangesPanel/TableColumns/ActionsColumn.tsx +0 -1
- package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +1 -5
- package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +11 -11
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +22 -14
- package/src/component/panels/SpectraPanel/SpectraTabs.tsx +2 -2
- package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +3 -2
- package/src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx +46 -27
- package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +12 -10
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx +38 -29
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +54 -59
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +9 -11
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +24 -22
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +8 -12
- package/src/component/panels/SummaryPanel/Overview.tsx +1 -1
- package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +2 -2
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +5 -9
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +4 -8
- package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +1 -1
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +4 -1
- package/src/component/panels/ZonesPanel/ZonesPanel.tsx +7 -9
- package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +62 -58
- package/src/component/panels/ZonesPanel/ZonesTable.tsx +8 -16
- package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +5 -25
- package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +1 -1
- package/src/component/panels/databasePanel/DatabaseInfo.tsx +2 -0
- package/src/component/panels/databasePanel/DatabasePanel.tsx +9 -6
- package/src/component/panels/databasePanel/DatabasePreferences.tsx +118 -114
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +3 -4
- package/src/component/panels/databasePanel/DatabaseTable.tsx +1 -1
- package/src/component/panels/extra/utilities/settingImperativeHandle.ts +1 -1
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +15 -15
- package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -4
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +0 -2
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +3 -6
- package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +4 -6
- package/src/component/panels/header/DefaultPanelHeader.tsx +4 -3
- package/src/component/panels/hooks/useGetPanelOptions.ts +6 -6
- package/src/component/panels/informationPanel/SpectraPicker.tsx +1 -1
- package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +29 -26
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +1 -1
- package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +12 -10
- package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +113 -142
- package/src/component/panels/predictionPanel/PredictionPanel.tsx +5 -5
- package/src/component/panels/predictionPanel/PredictionPreferences.tsx +42 -36
- package/src/component/panels/spectrumSimulation/SpectrumSimulationPreferences.tsx +7 -6
- package/src/component/reducer/IgnoreActions.ts +2 -5
- package/src/component/reducer/Reducer.ts +3 -1
- package/src/component/reducer/actions/CorrelationsActions.ts +18 -34
- package/src/component/reducer/actions/DomainActions.ts +4 -4
- package/src/component/reducer/actions/FiltersActions.ts +75 -109
- package/src/component/reducer/actions/InsetActions.ts +1 -1
- package/src/component/reducer/actions/LoadAction.ts +50 -91
- package/src/component/reducer/actions/MoleculeActions.ts +24 -33
- package/src/component/reducer/actions/PeaksActions.ts +20 -26
- package/src/component/reducer/actions/PreferencesActions.ts +4 -10
- package/src/component/reducer/actions/RangesActions.ts +10 -8
- package/src/component/reducer/actions/SpectraActions.ts +52 -47
- package/src/component/reducer/actions/ToolsActions.ts +35 -38
- package/src/component/reducer/actions/ZonesActions.ts +36 -30
- package/src/component/reducer/actions/processings_actions.ts +10 -10
- package/src/component/reducer/helper/Zoom1DManager.ts +2 -2
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +5 -8
- package/src/component/useWatchForm.tsx +0 -1
- package/src/component/utility/Events.tsx +1 -3
- package/src/component/utility/export.ts +17 -20
- package/src/data/PredictionManager.ts +7 -12
- package/src/data/SpectraManager.ts +4 -2
- package/src/data/data1d/Spectrum1D/convertDataToFloat64Array.ts +7 -4
- package/src/data/data1d/Spectrum1D/generateJGraphData.ts +8 -9
- package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +2 -2
- package/src/data/data1d/database.ts +3 -3
- package/src/data/data1d/multipleSpectraAnalysis.ts +7 -7
- package/src/data/data2d/Spectrum2D/contours.ts +20 -20
- package/src/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.ts +1 -1
- package/src/data/data2d/Spectrum2D/findBestMinContour/evaluation.ts +3 -2
- package/src/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.ts +1 -2
- package/src/data/data2d/Spectrum2D/findBestMinContour/math.ts +2 -2
- package/src/data/matrixGeneration.ts +3 -6
- package/src/data/parseMeta/linkMetaWithSpectra.ts +1 -3
- package/src/data/utilities/RangeUtilities.ts +3 -3
- package/src/data/utilities/ZoneUtilities.ts +8 -34
- package/src/data/utilities/generateNumbersPowerOfX.ts +2 -2
- package/src/versionInfo.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +0 -9
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +0 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +0 -80
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.map +0 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +0 -7
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts.map +0 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js +0 -7
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js.map +0 -1
- package/lib/component/utility/colorToHexWithAlpha.d.ts +0 -10
- package/lib/component/utility/colorToHexWithAlpha.d.ts.map +0 -1
- package/lib/component/utility/colorToHexWithAlpha.js +0 -5
- package/lib/component/utility/colorToHexWithAlpha.js.map +0 -1
- package/lib/component/utility/forwardRef.d.ts +0 -3
- package/lib/component/utility/forwardRef.d.ts.map +0 -1
- package/lib/component/utility/forwardRef.js +0 -6
- package/lib/component/utility/forwardRef.js.map +0 -1
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +0 -130
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.tsx +0 -32
- package/src/component/utility/colorToHexWithAlpha.ts +0 -7
- package/src/component/utility/forwardRef.ts +0 -10
|
@@ -295,15 +295,12 @@ const DEFAULT_FILTER_DOMAIN_UPDATE_RULES: FilterDomainUpdateRules = {
|
|
|
295
295
|
updateYDomain: false,
|
|
296
296
|
};
|
|
297
297
|
|
|
298
|
-
function getFilterUpdateDomainRules(
|
|
299
|
-
filterName: string,
|
|
300
|
-
defaultRule: FilterDomainUpdateRules = DEFAULT_FILTER_DOMAIN_UPDATE_RULES,
|
|
301
|
-
) {
|
|
298
|
+
function getFilterUpdateDomainRules(filterName: string) {
|
|
302
299
|
const filterDomainUpdateRules =
|
|
303
300
|
Filters1D[filterName as keyof typeof Filters1D]?.domainUpdateRules ??
|
|
304
301
|
Filters2D[filterName as keyof typeof Filters2D]?.domainUpdateRules;
|
|
305
302
|
|
|
306
|
-
return filterDomainUpdateRules ||
|
|
303
|
+
return filterDomainUpdateRules || DEFAULT_FILTER_DOMAIN_UPDATE_RULES;
|
|
307
304
|
}
|
|
308
305
|
|
|
309
306
|
interface SpectrumByObjectOptions {
|
|
@@ -431,7 +428,7 @@ function executeFilter(
|
|
|
431
428
|
}
|
|
432
429
|
}
|
|
433
430
|
|
|
434
|
-
function rollbackSpectrumByFilter(
|
|
431
|
+
export function rollbackSpectrumByFilter(
|
|
435
432
|
draft: Draft<State>,
|
|
436
433
|
options?: RollbackSpectrumByFilterOptions,
|
|
437
434
|
) {
|
|
@@ -567,25 +564,25 @@ export interface RollbackSpectrumOptions {
|
|
|
567
564
|
tempRollback?: boolean;
|
|
568
565
|
}
|
|
569
566
|
|
|
570
|
-
function rollbackSpectrum(
|
|
567
|
+
export function rollbackSpectrum(
|
|
571
568
|
draft: Draft<State>,
|
|
572
569
|
options: RollbackSpectrumOptions,
|
|
573
570
|
) {
|
|
574
571
|
const { filterKey, reset = false, tempRollback = false } = options;
|
|
575
572
|
//return back the spectra data to point of time before applying a specific filter
|
|
576
|
-
const applyFilter =
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
573
|
+
const applyFilter =
|
|
574
|
+
!filterKey ||
|
|
575
|
+
[
|
|
576
|
+
phaseCorrection.name,
|
|
577
|
+
phaseCorrectionTwoDimensions.name,
|
|
578
|
+
fft.name,
|
|
579
|
+
shiftX.name,
|
|
580
|
+
shift2DX.name,
|
|
581
|
+
shift2DY.name,
|
|
582
|
+
signalProcessing.name,
|
|
583
|
+
digitalFilter.name,
|
|
584
|
+
digitalFilter2D.name,
|
|
585
|
+
].includes(filterKey as any);
|
|
589
586
|
|
|
590
587
|
beforeRollback(draft, filterKey);
|
|
591
588
|
|
|
@@ -783,7 +780,7 @@ function isOneDimensionShift(
|
|
|
783
780
|
}
|
|
784
781
|
|
|
785
782
|
//action
|
|
786
|
-
function handleShiftSpectrumAlongXAxis(
|
|
783
|
+
export function handleShiftSpectrumAlongXAxis(
|
|
787
784
|
draft: Draft<State>,
|
|
788
785
|
action: ShiftSpectrumAction,
|
|
789
786
|
) {
|
|
@@ -860,7 +857,7 @@ function handleShiftSpectrumAlongXAxis(
|
|
|
860
857
|
}
|
|
861
858
|
|
|
862
859
|
//action
|
|
863
|
-
function handleApplyZeroFillingFilter(
|
|
860
|
+
export function handleApplyZeroFillingFilter(
|
|
864
861
|
draft: Draft<State>,
|
|
865
862
|
action: ZeroFillingFilterAction,
|
|
866
863
|
) {
|
|
@@ -887,8 +884,9 @@ function handleApplyZeroFillingFilter(
|
|
|
887
884
|
draft.data[index] = draft.tempData[index];
|
|
888
885
|
updateView(draft, zeroFilling.domainUpdateRules);
|
|
889
886
|
}
|
|
887
|
+
|
|
890
888
|
//action
|
|
891
|
-
function handleApplyZeroFillingDimensionOneFilter(
|
|
889
|
+
export function handleApplyZeroFillingDimensionOneFilter(
|
|
892
890
|
draft: Draft<State>,
|
|
893
891
|
action: ZeroFillingDimensionOneFilterAction,
|
|
894
892
|
) {
|
|
@@ -915,8 +913,9 @@ function handleApplyZeroFillingDimensionOneFilter(
|
|
|
915
913
|
|
|
916
914
|
updateView(draft, zeroFillingDimension1.domainUpdateRules);
|
|
917
915
|
}
|
|
916
|
+
|
|
918
917
|
//action
|
|
919
|
-
function handleApplyZeroFillingDimensionTwoFilter(
|
|
918
|
+
export function handleApplyZeroFillingDimensionTwoFilter(
|
|
920
919
|
draft: Draft<State>,
|
|
921
920
|
action: ZeroFillingDimensionTwoFilterAction,
|
|
922
921
|
) {
|
|
@@ -945,7 +944,7 @@ function handleApplyZeroFillingDimensionTwoFilter(
|
|
|
945
944
|
}
|
|
946
945
|
|
|
947
946
|
//action
|
|
948
|
-
function handleCalculateZeroFillingFilter(
|
|
947
|
+
export function handleCalculateZeroFillingFilter(
|
|
949
948
|
draft: Draft<State>,
|
|
950
949
|
action: ZeroFillingFilterLiveAction,
|
|
951
950
|
) {
|
|
@@ -981,8 +980,9 @@ function handleCalculateZeroFillingFilter(
|
|
|
981
980
|
disableLivePreview(draft, zeroFilling.name);
|
|
982
981
|
}
|
|
983
982
|
}
|
|
983
|
+
|
|
984
984
|
//action
|
|
985
|
-
function handleCalculateZeroFillingDimensionOneFilter(
|
|
985
|
+
export function handleCalculateZeroFillingDimensionOneFilter(
|
|
986
986
|
draft: Draft<State>,
|
|
987
987
|
action: ZeroFillingDimensionOneFilterLiveAction,
|
|
988
988
|
) {
|
|
@@ -1016,8 +1016,9 @@ function handleCalculateZeroFillingDimensionOneFilter(
|
|
|
1016
1016
|
disableLivePreview(draft, zeroFillingDimension1.name);
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
|
+
|
|
1019
1020
|
//action
|
|
1020
|
-
function handleCalculateZeroFillingDimensionTwoFilter(
|
|
1021
|
+
export function handleCalculateZeroFillingDimensionTwoFilter(
|
|
1021
1022
|
draft: Draft<State>,
|
|
1022
1023
|
action: ZeroFillingDimensionTwoFilterLiveAction,
|
|
1023
1024
|
) {
|
|
@@ -1056,7 +1057,7 @@ function handleCalculateZeroFillingDimensionTwoFilter(
|
|
|
1056
1057
|
}
|
|
1057
1058
|
|
|
1058
1059
|
//action
|
|
1059
|
-
function handleCalculateApodizationFilter(
|
|
1060
|
+
export function handleCalculateApodizationFilter(
|
|
1060
1061
|
draft: Draft<State>,
|
|
1061
1062
|
action: ApodizationFilterLiveAction,
|
|
1062
1063
|
) {
|
|
@@ -1108,8 +1109,9 @@ function handleCalculateApodizationFilter(
|
|
|
1108
1109
|
disableLivePreview(draft, apodization.name);
|
|
1109
1110
|
}
|
|
1110
1111
|
}
|
|
1112
|
+
|
|
1111
1113
|
//action
|
|
1112
|
-
function handleCalculateApodizationDimensionOneFilter(
|
|
1114
|
+
export function handleCalculateApodizationDimensionOneFilter(
|
|
1113
1115
|
draft: Draft<State>,
|
|
1114
1116
|
action: ApodizationDimensionOneFilterLiveAction,
|
|
1115
1117
|
) {
|
|
@@ -1137,7 +1139,7 @@ function handleCalculateApodizationDimensionOneFilter(
|
|
|
1137
1139
|
}
|
|
1138
1140
|
}
|
|
1139
1141
|
//action
|
|
1140
|
-
function handleCalculateApodizationDimensionTwoFilter(
|
|
1142
|
+
export function handleCalculateApodizationDimensionTwoFilter(
|
|
1141
1143
|
draft: Draft<State>,
|
|
1142
1144
|
action: ApodizationDimensionTwoFilterLiveAction,
|
|
1143
1145
|
) {
|
|
@@ -1166,7 +1168,7 @@ function handleCalculateApodizationDimensionTwoFilter(
|
|
|
1166
1168
|
}
|
|
1167
1169
|
|
|
1168
1170
|
//action
|
|
1169
|
-
function handleApplyApodizationFilter(
|
|
1171
|
+
export function handleApplyApodizationFilter(
|
|
1170
1172
|
draft: Draft<State>,
|
|
1171
1173
|
action: ApodizationFilterAction,
|
|
1172
1174
|
) {
|
|
@@ -1193,8 +1195,9 @@ function handleApplyApodizationFilter(
|
|
|
1193
1195
|
|
|
1194
1196
|
updateView(draft, apodization.domainUpdateRules);
|
|
1195
1197
|
}
|
|
1198
|
+
|
|
1196
1199
|
//action
|
|
1197
|
-
function handleApplyApodizationDimensionOneFilter(
|
|
1200
|
+
export function handleApplyApodizationDimensionOneFilter(
|
|
1198
1201
|
draft: Draft<State>,
|
|
1199
1202
|
action: ApodizationDimensionOneFilterAction,
|
|
1200
1203
|
) {
|
|
@@ -1221,8 +1224,9 @@ function handleApplyApodizationDimensionOneFilter(
|
|
|
1221
1224
|
|
|
1222
1225
|
updateView(draft, apodization.domainUpdateRules);
|
|
1223
1226
|
}
|
|
1227
|
+
|
|
1224
1228
|
//action
|
|
1225
|
-
function handleApplyApodizationDimensionTwoFilter(
|
|
1229
|
+
export function handleApplyApodizationDimensionTwoFilter(
|
|
1226
1230
|
draft: Draft<State>,
|
|
1227
1231
|
action: ApodizationDimensionTwoFilterAction,
|
|
1228
1232
|
) {
|
|
@@ -1251,7 +1255,7 @@ function handleApplyApodizationDimensionTwoFilter(
|
|
|
1251
1255
|
}
|
|
1252
1256
|
|
|
1253
1257
|
//action
|
|
1254
|
-
function handleApplyFFTFilter(draft: Draft<State>) {
|
|
1258
|
+
export function handleApplyFFTFilter(draft: Draft<State>) {
|
|
1255
1259
|
const activeFilterIndex = getActiveFilterIndex(draft);
|
|
1256
1260
|
const activeSpectrum = getActiveSpectrum(draft);
|
|
1257
1261
|
|
|
@@ -1327,14 +1331,14 @@ function applyFFTTwoDimensionFilter(
|
|
|
1327
1331
|
initializeContoursLevels(spectrum);
|
|
1328
1332
|
}
|
|
1329
1333
|
|
|
1330
|
-
function handleApplyFFtDimension1Filter(draft: Draft<State>) {
|
|
1334
|
+
export function handleApplyFFtDimension1Filter(draft: Draft<State>) {
|
|
1331
1335
|
applyFFTTwoDimensionFilter(draft, {
|
|
1332
1336
|
filterName: 'fftDimension1',
|
|
1333
1337
|
domainUpdateRules: fftDimension1.domainUpdateRules,
|
|
1334
1338
|
});
|
|
1335
1339
|
}
|
|
1336
1340
|
|
|
1337
|
-
function handleApplyFFtDimension2Filter(draft: Draft<State>) {
|
|
1341
|
+
export function handleApplyFFtDimension2Filter(draft: Draft<State>) {
|
|
1338
1342
|
applyFFTTwoDimensionFilter(draft, {
|
|
1339
1343
|
filterName: 'fftDimension2',
|
|
1340
1344
|
domainUpdateRules: fftDimension2.domainUpdateRules,
|
|
@@ -1342,7 +1346,7 @@ function handleApplyFFtDimension2Filter(draft: Draft<State>) {
|
|
|
1342
1346
|
}
|
|
1343
1347
|
|
|
1344
1348
|
//action
|
|
1345
|
-
function handleApplyManualPhaseCorrectionFilter(
|
|
1349
|
+
export function handleApplyManualPhaseCorrectionFilter(
|
|
1346
1350
|
draft: Draft<State>,
|
|
1347
1351
|
action: ManualPhaseCorrectionFilterAction,
|
|
1348
1352
|
) {
|
|
@@ -1373,7 +1377,7 @@ function handleApplyManualPhaseCorrectionFilter(
|
|
|
1373
1377
|
}
|
|
1374
1378
|
|
|
1375
1379
|
//action
|
|
1376
|
-
function handleAddPhaseCorrectionTrace(
|
|
1380
|
+
export function handleAddPhaseCorrectionTrace(
|
|
1377
1381
|
draft: Draft<State>,
|
|
1378
1382
|
action: AddPhaseCorrectionTraceAction,
|
|
1379
1383
|
) {
|
|
@@ -1423,13 +1427,13 @@ function handleAddPhaseCorrectionTrace(
|
|
|
1423
1427
|
}
|
|
1424
1428
|
}
|
|
1425
1429
|
//action
|
|
1426
|
-
function handleToggleAddTracesToBothDirections(draft: Draft<State>) {
|
|
1430
|
+
export function handleToggleAddTracesToBothDirections(draft: Draft<State>) {
|
|
1427
1431
|
const options = draft.toolOptions.data.twoDimensionPhaseCorrection;
|
|
1428
1432
|
options.addTracesToBothDirections = !options.addTracesToBothDirections;
|
|
1429
1433
|
}
|
|
1430
1434
|
|
|
1431
1435
|
//action
|
|
1432
|
-
function handleChangePhaseCorrectionDirection(
|
|
1436
|
+
export function handleChangePhaseCorrectionDirection(
|
|
1433
1437
|
draft: Draft<State>,
|
|
1434
1438
|
action: ChangePhaseCorrectionDirectionAction,
|
|
1435
1439
|
) {
|
|
@@ -1442,7 +1446,7 @@ function handleChangePhaseCorrectionDirection(
|
|
|
1442
1446
|
}
|
|
1443
1447
|
|
|
1444
1448
|
//action
|
|
1445
|
-
function handleDeletePhaseCorrectionTrace(
|
|
1449
|
+
export function handleDeletePhaseCorrectionTrace(
|
|
1446
1450
|
draft: Draft<State>,
|
|
1447
1451
|
action: DeletePhaseCorrectionTrace,
|
|
1448
1452
|
) {
|
|
@@ -1463,7 +1467,7 @@ function handleDeletePhaseCorrectionTrace(
|
|
|
1463
1467
|
}
|
|
1464
1468
|
|
|
1465
1469
|
//action
|
|
1466
|
-
function handleCalculateManualPhaseCorrection(
|
|
1470
|
+
export function handleCalculateManualPhaseCorrection(
|
|
1467
1471
|
draft: Draft<State>,
|
|
1468
1472
|
action: ManualPhaseCorrectionFilterAction,
|
|
1469
1473
|
) {
|
|
@@ -1495,7 +1499,7 @@ function handleCalculateManualPhaseCorrection(
|
|
|
1495
1499
|
}
|
|
1496
1500
|
|
|
1497
1501
|
//action
|
|
1498
|
-
function handleApplyAbsoluteFilter(draft: Draft<State>) {
|
|
1502
|
+
export function handleApplyAbsoluteFilter(draft: Draft<State>) {
|
|
1499
1503
|
const activeSpectrum = getActiveSpectrum(draft);
|
|
1500
1504
|
|
|
1501
1505
|
if (!activeSpectrum || !draft.tempData) {
|
|
@@ -1521,7 +1525,7 @@ function handleApplyAbsoluteFilter(draft: Draft<State>) {
|
|
|
1521
1525
|
}
|
|
1522
1526
|
|
|
1523
1527
|
//action
|
|
1524
|
-
function handleApplyAutoPhaseCorrectionFilter(draft: Draft<State>) {
|
|
1528
|
+
export function handleApplyAutoPhaseCorrectionFilter(draft: Draft<State>) {
|
|
1525
1529
|
const activeSpectrum = getActiveSpectrum(draft);
|
|
1526
1530
|
|
|
1527
1531
|
if (!activeSpectrum || !draft.tempData) {
|
|
@@ -1547,7 +1551,7 @@ function handleApplyAutoPhaseCorrectionFilter(draft: Draft<State>) {
|
|
|
1547
1551
|
}
|
|
1548
1552
|
|
|
1549
1553
|
//action
|
|
1550
|
-
function handleBaseLineCorrectionFilter(
|
|
1554
|
+
export function handleBaseLineCorrectionFilter(
|
|
1551
1555
|
draft: Draft<State>,
|
|
1552
1556
|
action: BaselineCorrectionFilterAction,
|
|
1553
1557
|
) {
|
|
@@ -1587,8 +1591,9 @@ function handleBaseLineCorrectionFilter(
|
|
|
1587
1591
|
|
|
1588
1592
|
updateView(draft, baselineCorrection.domainUpdateRules);
|
|
1589
1593
|
}
|
|
1594
|
+
|
|
1590
1595
|
//action
|
|
1591
|
-
function handleCalculateBaseLineCorrection(
|
|
1596
|
+
export function handleCalculateBaseLineCorrection(
|
|
1592
1597
|
draft: Draft<State>,
|
|
1593
1598
|
action: BaselineCorrectionFilterLiveAction,
|
|
1594
1599
|
) {
|
|
@@ -1613,7 +1618,7 @@ function handleCalculateBaseLineCorrection(
|
|
|
1613
1618
|
// save the baseline options temporary
|
|
1614
1619
|
draft.toolOptions.data.baselineCorrection = {
|
|
1615
1620
|
...draft.toolOptions.data.baselineCorrection,
|
|
1616
|
-
...
|
|
1621
|
+
...baseLineOptions,
|
|
1617
1622
|
};
|
|
1618
1623
|
const { options, livePreview } =
|
|
1619
1624
|
current(draft).toolOptions.data.baselineCorrection;
|
|
@@ -1640,7 +1645,10 @@ function handleCalculateBaseLineCorrection(
|
|
|
1640
1645
|
}
|
|
1641
1646
|
|
|
1642
1647
|
//action
|
|
1643
|
-
function handleEnableFilter(
|
|
1648
|
+
export function handleEnableFilter(
|
|
1649
|
+
draft: Draft<State>,
|
|
1650
|
+
action: EnableFilterAction,
|
|
1651
|
+
) {
|
|
1644
1652
|
const activeSpectrum = getActiveSpectrum(draft);
|
|
1645
1653
|
|
|
1646
1654
|
if (!activeSpectrum) {
|
|
@@ -1694,7 +1702,10 @@ function deleteFilter(datum: Spectrum, id?: string) {
|
|
|
1694
1702
|
}
|
|
1695
1703
|
|
|
1696
1704
|
//action
|
|
1697
|
-
function handleDeleteFilter(
|
|
1705
|
+
export function handleDeleteFilter(
|
|
1706
|
+
draft: Draft<State>,
|
|
1707
|
+
action: DeleteFilterAction,
|
|
1708
|
+
) {
|
|
1698
1709
|
const activeSpectrum = getActiveSpectrum(draft);
|
|
1699
1710
|
|
|
1700
1711
|
if (!activeSpectrum) {
|
|
@@ -1712,7 +1723,7 @@ function handleDeleteFilter(draft: Draft<State>, action: DeleteFilterAction) {
|
|
|
1712
1723
|
}
|
|
1713
1724
|
|
|
1714
1725
|
//action
|
|
1715
|
-
function handleDeleteSpectraFilter(
|
|
1726
|
+
export function handleDeleteSpectraFilter(
|
|
1716
1727
|
draft: Draft<State>,
|
|
1717
1728
|
action: DeleteSpectraFilterAction,
|
|
1718
1729
|
) {
|
|
@@ -1745,7 +1756,7 @@ function handleDeleteSpectraFilter(
|
|
|
1745
1756
|
}
|
|
1746
1757
|
|
|
1747
1758
|
//action
|
|
1748
|
-
function handleSetFilterSnapshotHandler(
|
|
1759
|
+
export function handleSetFilterSnapshotHandler(
|
|
1749
1760
|
draft: Draft<State>,
|
|
1750
1761
|
action: SetFilterSnapshotAction,
|
|
1751
1762
|
) {
|
|
@@ -1770,7 +1781,7 @@ function handleSetFilterSnapshotHandler(
|
|
|
1770
1781
|
}
|
|
1771
1782
|
|
|
1772
1783
|
//action
|
|
1773
|
-
function handleSignalProcessingFilter(
|
|
1784
|
+
export function handleSignalProcessingFilter(
|
|
1774
1785
|
draft: Draft<State>,
|
|
1775
1786
|
action: ApplySignalProcessingAction,
|
|
1776
1787
|
) {
|
|
@@ -1800,7 +1811,7 @@ function handleSignalProcessingFilter(
|
|
|
1800
1811
|
}
|
|
1801
1812
|
|
|
1802
1813
|
//action
|
|
1803
|
-
function handleApplyExclusionZone(
|
|
1814
|
+
export function handleApplyExclusionZone(
|
|
1804
1815
|
draft: Draft<State>,
|
|
1805
1816
|
action: ExclusionZoneFilterAction,
|
|
1806
1817
|
) {
|
|
@@ -1826,8 +1837,9 @@ function handleApplyExclusionZone(
|
|
|
1826
1837
|
|
|
1827
1838
|
setDomain(draft, { updateXDomain, updateYDomain });
|
|
1828
1839
|
}
|
|
1840
|
+
|
|
1829
1841
|
//action
|
|
1830
|
-
function handleAddExclusionZone(
|
|
1842
|
+
export function handleAddExclusionZone(
|
|
1831
1843
|
draft: Draft<State>,
|
|
1832
1844
|
action: AddExclusionZoneAction,
|
|
1833
1845
|
) {
|
|
@@ -1868,7 +1880,7 @@ function handleAddExclusionZone(
|
|
|
1868
1880
|
}
|
|
1869
1881
|
|
|
1870
1882
|
//action
|
|
1871
|
-
function handleDeleteExclusionZone(
|
|
1883
|
+
export function handleDeleteExclusionZone(
|
|
1872
1884
|
draft: Draft<State>,
|
|
1873
1885
|
action: DeleteExclusionZoneAction,
|
|
1874
1886
|
) {
|
|
@@ -1906,7 +1918,7 @@ function handleDeleteExclusionZone(
|
|
|
1906
1918
|
}
|
|
1907
1919
|
}
|
|
1908
1920
|
|
|
1909
|
-
function handleSetOneDimensionPhaseCorrectionPivotPoint(
|
|
1921
|
+
export function handleSetOneDimensionPhaseCorrectionPivotPoint(
|
|
1910
1922
|
draft: Draft<State>,
|
|
1911
1923
|
action: SetOneDimensionPhaseCorrectionPivotPoint,
|
|
1912
1924
|
) {
|
|
@@ -1920,7 +1932,8 @@ function handleSetOneDimensionPhaseCorrectionPivotPoint(
|
|
|
1920
1932
|
const index = xFindClosestIndex(spectrum.data.x, value);
|
|
1921
1933
|
draft.toolOptions.data.pivot = { value, index };
|
|
1922
1934
|
}
|
|
1923
|
-
|
|
1935
|
+
|
|
1936
|
+
export function handleSetTwoDimensionPhaseCorrectionPivotPoint(
|
|
1924
1937
|
draft: Draft<State>,
|
|
1925
1938
|
action: SetTwoDimensionPhaseCorrectionPivotPoint,
|
|
1926
1939
|
) {
|
|
@@ -1970,7 +1983,7 @@ function handleSetTwoDimensionPhaseCorrectionPivotPoint(
|
|
|
1970
1983
|
}
|
|
1971
1984
|
|
|
1972
1985
|
//action
|
|
1973
|
-
function handleCalculateManualTwoDimensionPhaseCorrection(
|
|
1986
|
+
export function handleCalculateManualTwoDimensionPhaseCorrection(
|
|
1974
1987
|
draft: Draft<State>,
|
|
1975
1988
|
action: ManualTwoDimensionsPhaseCorrectionFilterAction,
|
|
1976
1989
|
) {
|
|
@@ -2023,7 +2036,7 @@ function getTwoDimensionsPhaseCorrectionOptions(draft: Draft<State>) {
|
|
|
2023
2036
|
}
|
|
2024
2037
|
|
|
2025
2038
|
//action
|
|
2026
|
-
function handleApplyManualTowDimensionsPhaseCorrectionFilter(
|
|
2039
|
+
export function handleApplyManualTowDimensionsPhaseCorrectionFilter(
|
|
2027
2040
|
draft: Draft<State>,
|
|
2028
2041
|
) {
|
|
2029
2042
|
const activeSpectrum = getActiveSpectrum(draft);
|
|
@@ -2053,7 +2066,7 @@ function handleApplyManualTowDimensionsPhaseCorrectionFilter(
|
|
|
2053
2066
|
}
|
|
2054
2067
|
|
|
2055
2068
|
//action
|
|
2056
|
-
function handleApplyAutoPhaseCorrectionTwoDimensionsFilter(
|
|
2069
|
+
export function handleApplyAutoPhaseCorrectionTwoDimensionsFilter(
|
|
2057
2070
|
draft: Draft<State>,
|
|
2058
2071
|
) {
|
|
2059
2072
|
const activeSpectrum = getActiveSpectrum(draft);
|
|
@@ -2081,21 +2094,19 @@ function handleApplyAutoPhaseCorrectionTwoDimensionsFilter(
|
|
|
2081
2094
|
updateView(draft, phaseCorrectionTwoDimensions.domainUpdateRules);
|
|
2082
2095
|
}
|
|
2083
2096
|
|
|
2084
|
-
function handleReorderFilters(
|
|
2097
|
+
export function handleReorderFilters(
|
|
2085
2098
|
draft: Draft<State>,
|
|
2086
2099
|
action: ReorderFiltersAction,
|
|
2087
2100
|
) {
|
|
2088
2101
|
const { sourceIndex, targetIndex } = action.payload;
|
|
2089
2102
|
const spectrum = getSpectrum(draft);
|
|
2090
2103
|
|
|
2091
|
-
if (!spectrum) {
|
|
2104
|
+
if (!spectrum || sourceIndex === -1 || targetIndex === -1) {
|
|
2092
2105
|
return;
|
|
2093
2106
|
}
|
|
2094
2107
|
|
|
2095
2108
|
const filters = spectrum.filters;
|
|
2096
2109
|
|
|
2097
|
-
if (sourceIndex === -1 || targetIndex === -1) return;
|
|
2098
|
-
|
|
2099
2110
|
const sourceFilter = filters[sourceIndex];
|
|
2100
2111
|
filters.splice(sourceIndex, 1);
|
|
2101
2112
|
filters.splice(targetIndex, 0, sourceFilter as any);
|
|
@@ -2105,48 +2116,3 @@ function handleReorderFilters(
|
|
|
2105
2116
|
Filters2DManager.reapplyFilters(spectrum);
|
|
2106
2117
|
}
|
|
2107
2118
|
}
|
|
2108
|
-
|
|
2109
|
-
export {
|
|
2110
|
-
handleAddExclusionZone,
|
|
2111
|
-
handleAddPhaseCorrectionTrace,
|
|
2112
|
-
handleApplyAbsoluteFilter,
|
|
2113
|
-
handleApplyApodizationDimensionOneFilter,
|
|
2114
|
-
handleApplyApodizationDimensionTwoFilter,
|
|
2115
|
-
handleApplyApodizationFilter,
|
|
2116
|
-
handleApplyAutoPhaseCorrectionFilter,
|
|
2117
|
-
handleApplyAutoPhaseCorrectionTwoDimensionsFilter,
|
|
2118
|
-
handleApplyExclusionZone,
|
|
2119
|
-
handleApplyFFTFilter,
|
|
2120
|
-
handleApplyFFtDimension1Filter,
|
|
2121
|
-
handleApplyFFtDimension2Filter,
|
|
2122
|
-
handleApplyManualPhaseCorrectionFilter,
|
|
2123
|
-
handleApplyManualTowDimensionsPhaseCorrectionFilter,
|
|
2124
|
-
handleApplyZeroFillingDimensionOneFilter,
|
|
2125
|
-
handleApplyZeroFillingDimensionTwoFilter,
|
|
2126
|
-
handleApplyZeroFillingFilter,
|
|
2127
|
-
handleBaseLineCorrectionFilter,
|
|
2128
|
-
handleCalculateApodizationDimensionOneFilter,
|
|
2129
|
-
handleCalculateApodizationDimensionTwoFilter,
|
|
2130
|
-
handleCalculateApodizationFilter,
|
|
2131
|
-
handleCalculateBaseLineCorrection,
|
|
2132
|
-
handleCalculateManualPhaseCorrection,
|
|
2133
|
-
handleCalculateManualTwoDimensionPhaseCorrection,
|
|
2134
|
-
handleCalculateZeroFillingDimensionOneFilter,
|
|
2135
|
-
handleCalculateZeroFillingDimensionTwoFilter,
|
|
2136
|
-
handleCalculateZeroFillingFilter,
|
|
2137
|
-
handleChangePhaseCorrectionDirection,
|
|
2138
|
-
handleDeleteExclusionZone,
|
|
2139
|
-
handleDeleteFilter,
|
|
2140
|
-
handleDeletePhaseCorrectionTrace,
|
|
2141
|
-
handleDeleteSpectraFilter,
|
|
2142
|
-
handleEnableFilter,
|
|
2143
|
-
handleReorderFilters,
|
|
2144
|
-
handleSetFilterSnapshotHandler,
|
|
2145
|
-
handleSetOneDimensionPhaseCorrectionPivotPoint,
|
|
2146
|
-
handleSetTwoDimensionPhaseCorrectionPivotPoint,
|
|
2147
|
-
handleShiftSpectrumAlongXAxis,
|
|
2148
|
-
handleSignalProcessingFilter,
|
|
2149
|
-
handleToggleAddTracesToBothDirections,
|
|
2150
|
-
rollbackSpectrum,
|
|
2151
|
-
rollbackSpectrumByFilter,
|
|
2152
|
-
};
|
|
@@ -378,7 +378,7 @@ function toggleViewProperty<T extends keyof InsetView>(
|
|
|
378
378
|
|
|
379
379
|
if (!inset) return;
|
|
380
380
|
|
|
381
|
-
const [baseKey, toggleProperty] = key.split('.');
|
|
381
|
+
const [baseKey, toggleProperty] = key.split('.', 2);
|
|
382
382
|
const target = (inset.view as any)[baseKey];
|
|
383
383
|
if (typeof value === 'boolean') {
|
|
384
384
|
target[toggleProperty] = value;
|