nmrium 2.8.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/SVGContent1D.js +3 -3
- package/lib/component/1d/SVGContent1D.js.map +1 -1
- package/lib/component/1d/SimilarityTree.js +2 -2
- package/lib/component/1d/SimilarityTree.js.map +1 -1
- package/lib/component/1d/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.d.ts +1 -1
- package/lib/component/1d/inset/DraggableInset.d.ts.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 +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/inset/SpectraInsets.d.ts +0 -23
- package/lib/component/1d/inset/SpectraInsets.d.ts.map +1 -1
- package/lib/component/1d/inset/SpectraInsets.js +1 -1
- package/lib/component/1d/inset/SpectraInsets.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 +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/peaks/PeaksShapes.d.ts +1 -2
- package/lib/component/1d/peaks/PeaksShapes.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeaksShapes.js +31 -17
- package/lib/component/1d/peaks/PeaksShapes.js.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.d.ts +1 -2
- package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js +2 -3
- package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
- package/lib/component/1d/plugin_chart_brush_tracker.js +1 -1
- package/lib/component/1d/plugin_chart_brush_tracker.js.map +1 -1
- package/lib/component/1d/plugin_svg_chart.d.ts +1 -1
- package/lib/component/1d/plugin_svg_chart.d.ts.map +1 -1
- package/lib/component/1d/plugin_svg_chart.js +16 -11
- package/lib/component/1d/plugin_svg_chart.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 +21 -6
- 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.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +10 -10
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.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 +4 -4
- 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 +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 +3 -2
- package/lib/component/context/processings_mutations_context.api.d.ts.map +1 -1
- package/lib/component/context/processings_mutations_context.api.js +86 -16
- 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 +36 -12
- 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 +8 -3
- package/lib/component/elements/EditableColumn.d.ts.map +1 -1
- package/lib/component/elements/EditableColumn.js +40 -28
- 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/ResizerWithScale.js +1 -1
- package/lib/component/elements/ResizerWithScale.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 +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 +11 -9
- 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 +4 -4
- 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 +3 -3
- 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 +1 -4
- 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/useSaveSettings.js +1 -1
- package/lib/component/hooks/useSaveSettings.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_axis_unit.d.ts +3 -3
- 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 +6 -6
- 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.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +7 -5
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/NMRiumViewer.d.ts +1 -1
- package/lib/component/main/NMRiumViewer.d.ts.map +1 -1
- package/lib/component/main/NMRiumViewer.js +2 -1
- package/lib/component/main/NMRiumViewer.js.map +1 -1
- package/lib/component/main/NMRiumViewerWrapper.d.ts +1 -1
- package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
- package/lib/component/main/types.d.ts +2 -2
- package/lib/component/main/types.d.ts.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/ImportPublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/ImportPublicationStringModal.js +5 -0
- package/lib/component/modal/ImportPublicationStringModal.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/changeSum/SelectMolecule.js +2 -2
- package/lib/component/modal/changeSum/SelectMolecule.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.d.ts +81 -81
- 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 +81 -81
- 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_body.d.ts +81 -81
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +56 -55
- 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/general_settings_dialog_header.d.ts +54 -54
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +9 -9
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +54 -54
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +54 -54
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +54 -54
- 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.d.ts +54 -54
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +2 -2
- 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 +54 -54
- 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/general_tab.d.ts +54 -54
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +54 -54
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +54 -54
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +54 -54
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +54 -54
- 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.d.ts +54 -54
- 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.d.ts +54 -54
- 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/tabs/tools_tab.d.ts +54 -54
- 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/auto_processing_tab_validation.d.ts +28 -28
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +13 -11
- 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/general_tab_validation.d.ts +6 -6
- package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/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/validation.d.ts +27 -27
- 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/AutomaticAssignment/useAutoAssignments.js +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.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/hooks/useExtractAtomAssignmentLabel.d.ts +1 -0
- package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.js +30 -6
- package/lib/component/panels/MoleculesPanel/hooks/useExtractAtomAssignmentLabel.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 +33 -2
- 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/SpectrumListPanel.js +1 -1
- package/lib/component/panels/SpectraPanel/SpectrumListPanel.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.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +3 -3
- 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 +2 -2
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +2 -4
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts +2 -2
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js +4 -7
- 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/filtersPanel/processings/processing_item.js +1 -1
- package/lib/component/panels/filtersPanel/processings/processing_item.js.map +1 -1
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts +2 -6
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/processings/use_live_edit.js +9 -9
- package/lib/component/panels/filtersPanel/processings/use_live_edit.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 +6 -7
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +3 -1
- 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.d.ts +1 -2
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +5 -6
- 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 +1 -0
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +36 -12
- 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 -0
- package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -1
- package/lib/component/reducer/actions/processings_actions.js +10 -8
- 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/helper/ZoomHistoryManager.d.ts +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js +1 -1
- package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.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/core_slots/core_operator_chart_mouse_icon.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.js +14 -0
- package/lib/component/utility/core_slots/core_operator_chart_mouse_icon.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_expanded.d.ts +1 -1
- package/lib/component/utility/core_slots/core_operator_expanded.d.ts.map +1 -1
- package/lib/component/utility/core_slots/core_slot.d.ts +1 -1
- package/lib/component/utility/core_slots/core_slot.d.ts.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/component/utility/filterDatabaseInfoEntry.js +1 -1
- package/lib/component/utility/filterDatabaseInfoEntry.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/initiateDatum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +2 -0
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +1 -0
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.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 +6 -5
- 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/data2d/Spectrum2D/get2DColor.js +5 -5
- package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +2 -0
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.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/utils/clipboard/clipboardComponents.js.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +51 -51
- 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/SVGContent1D.tsx +3 -3
- 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 +6 -5
- package/src/component/1d/inset/InsetProvider.tsx +5 -8
- package/src/component/1d/inset/InsetViewerRoot.tsx +4 -4
- package/src/component/1d/inset/SpectraInsets.tsx +1 -32
- 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/peaks/PeaksShapes.tsx +62 -40
- package/src/component/1d/peaks/usePeakShapesPath.ts +2 -4
- package/src/component/1d/plugin_chart_brush_tracker.tsx +1 -1
- package/src/component/1d/plugin_svg_chart.tsx +26 -15
- 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 +36 -16
- 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 +15 -18
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +1 -1
- 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 +5 -5
- package/src/component/context/PreferencesContext.tsx +6 -5
- package/src/component/context/ScaleContext.tsx +5 -6
- 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 +122 -21
- 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 +43 -14
- 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 +13 -14
- package/src/component/elements/EditableColumn.tsx +99 -70
- 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/ResizerWithScale.tsx +1 -1
- 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 +6 -10
- 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 +21 -11
- 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 +6 -5
- package/src/component/highlight/index.tsx +24 -16
- package/src/component/hooks/reduce2DSpectrum.ts +3 -3
- package/src/component/hooks/useCombinedRefs.ts +3 -6
- package/src/component/hooks/useDialogToggle.ts +1 -1
- package/src/component/hooks/useExport.tsx +4 -6
- package/src/component/hooks/useSaveSettings.tsx +1 -1
- 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 +6 -6
- package/src/component/main/NMRium.tsx +12 -8
- package/src/component/main/NMRiumRefAPI.ts +3 -3
- package/src/component/main/NMRiumStateProvider.tsx +10 -8
- package/src/component/main/NMRiumViewer.tsx +4 -2
- package/src/component/main/NMRiumViewerWrapper.tsx +1 -1
- package/src/component/main/types.ts +3 -3
- package/src/component/modal/AboutPredictionModal.tsx +1 -3
- package/src/component/modal/AboutSpectrumSimulationModal.tsx +1 -3
- package/src/component/modal/ImportPublicationStringModal.tsx +7 -0
- 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/changeSum/SelectMolecule.tsx +2 -2
- 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/AutomaticAssignment/useAutoAssignments.ts +1 -1
- 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/hooks/useExtractAtomAssignmentLabel.ts +40 -8
- 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 +53 -7
- 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/SpectrumListPanel.tsx +1 -1
- 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 +3 -3
- 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 +2 -4
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +5 -8
- package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +4 -6
- package/src/component/panels/filtersPanel/processings/processing_item.tsx +1 -1
- package/src/component/panels/filtersPanel/processings/use_live_edit.ts +9 -17
- 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 +10 -5
- 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 +8 -10
- 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 +81 -21
- 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 +11 -8
- package/src/component/reducer/helper/Zoom1DManager.ts +2 -2
- package/src/component/reducer/helper/ZoomHistoryManager.ts +1 -1
- package/src/component/reducer/helper/removeSpectrumRelatedObjectsById.ts +1 -1
- 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/core_slots/core_operator_chart_mouse_icon.tsx +32 -0
- package/src/component/utility/export.ts +17 -20
- package/src/component/utility/filterDatabaseInfoEntry.ts +1 -1
- 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/initiateDatum1D.ts +3 -0
- 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 +22 -22
- 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/data2d/Spectrum2D/get2DColor.ts +5 -5
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +4 -0
- 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/utils/clipboard/clipboardComponents.tsx +5 -5
- 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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ChangeEvent } from 'react';
|
|
1
2
|
import { BsHexagon, BsHexagonFill } from 'react-icons/bs';
|
|
2
3
|
import { FaICursor, FaRegTrashAlt } from 'react-icons/fa';
|
|
3
4
|
import { IoSearchOutline } from 'react-icons/io5';
|
|
@@ -75,9 +76,7 @@ export function DatabaseSearchOptions(props: DatabaseSearchOptionsProps) {
|
|
|
75
76
|
onKeywordsChange({ solvent: String(value) });
|
|
76
77
|
}
|
|
77
78
|
|
|
78
|
-
function handleKeywordsInputChange(
|
|
79
|
-
event: React.ChangeEvent<HTMLInputElement>,
|
|
80
|
-
) {
|
|
79
|
+
function handleKeywordsInputChange(event: ChangeEvent<HTMLInputElement>) {
|
|
81
80
|
onKeywordsChange({ searchKeywords: event.target.value });
|
|
82
81
|
}
|
|
83
82
|
|
|
@@ -96,7 +95,7 @@ export function DatabaseSearchOptions(props: DatabaseSearchOptionsProps) {
|
|
|
96
95
|
<PanelHeader
|
|
97
96
|
onClickSettings={onSettingClick}
|
|
98
97
|
current={result.data.length}
|
|
99
|
-
total={total
|
|
98
|
+
total={total}
|
|
100
99
|
>
|
|
101
100
|
<div
|
|
102
101
|
style={{
|
|
@@ -74,7 +74,7 @@ function databaseTableColumns(
|
|
|
74
74
|
header: 'From - To',
|
|
75
75
|
accessorFn: (row) => {
|
|
76
76
|
const rangeFormat = databasePreferences.range.format;
|
|
77
|
-
return row?.from && row
|
|
77
|
+
return row?.from && row.to
|
|
78
78
|
? `${formatNumber(row.from, rangeFormat)} - ${formatNumber(
|
|
79
79
|
row.to,
|
|
80
80
|
rangeFormat,
|
|
@@ -161,7 +161,7 @@ function FilterElements(props: FilterElementsProps) {
|
|
|
161
161
|
style={{ margin: 0, marginLeft: '5px' }}
|
|
162
162
|
innerLabelChecked="On"
|
|
163
163
|
innerLabel="Off"
|
|
164
|
-
checked={enabled
|
|
164
|
+
checked={enabled}
|
|
165
165
|
onChange={(event) => {
|
|
166
166
|
if (!id) return;
|
|
167
167
|
handleFilterCheck(id, event);
|
|
@@ -188,7 +188,7 @@ function FiltersInner(props: FiltersInnerProps) {
|
|
|
188
188
|
|
|
189
189
|
const dispatch = useDispatch();
|
|
190
190
|
const toaster = useToaster();
|
|
191
|
-
const selectedFilterIndex = useRef<number | null>();
|
|
191
|
+
const selectedFilterIndex = useRef<number | null>(null);
|
|
192
192
|
const activeSpectrum = useActiveSpectrum();
|
|
193
193
|
|
|
194
194
|
function filterSnapShotHandler(filter: FilterEntry, index: number) {
|
|
@@ -317,7 +317,7 @@ function FiltersInner(props: FiltersInnerProps) {
|
|
|
317
317
|
onFilterRestore={() => {
|
|
318
318
|
filterSnapShotHandler(filter, index);
|
|
319
319
|
}}
|
|
320
|
-
|
|
320
|
+
// Hide filter restore button when the filter is new.
|
|
321
321
|
hideFilterRestoreButton={value === null}
|
|
322
322
|
/>
|
|
323
323
|
}
|
|
@@ -136,14 +136,13 @@ export function BaseApodizationOptions(
|
|
|
136
136
|
);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
interface
|
|
139
|
+
interface SectionProps {
|
|
140
140
|
onChange: () => void;
|
|
141
|
-
setFocus?: boolean;
|
|
142
141
|
}
|
|
143
142
|
|
|
144
|
-
function ExponentialSectionOptionsSection(
|
|
143
|
+
function ExponentialSectionOptionsSection(props: SectionProps) {
|
|
144
|
+
const { onChange } = props;
|
|
145
145
|
const { control } = useFormContext();
|
|
146
|
-
const { onChange } = options;
|
|
147
146
|
const basedPath = getBaseKeyPath('exponential');
|
|
148
147
|
|
|
149
148
|
return (
|
|
@@ -173,9 +172,10 @@ function ExponentialSectionOptionsSection(options: SectionOptions) {
|
|
|
173
172
|
</OptionsSection>
|
|
174
173
|
);
|
|
175
174
|
}
|
|
176
|
-
|
|
175
|
+
|
|
176
|
+
function GaussianOptionSection(props: SectionProps) {
|
|
177
|
+
const { onChange } = props;
|
|
177
178
|
const { control } = useFormContext();
|
|
178
|
-
const { onChange } = options;
|
|
179
179
|
const basedPath = getBaseKeyPath('gaussian');
|
|
180
180
|
|
|
181
181
|
return (
|
|
@@ -223,9 +223,9 @@ function GaussianOptionSection(options: SectionOptions) {
|
|
|
223
223
|
</OptionsSection>
|
|
224
224
|
);
|
|
225
225
|
}
|
|
226
|
-
function SineBellOptionSection(
|
|
226
|
+
function SineBellOptionSection(props: SectionProps) {
|
|
227
|
+
const { onChange } = props;
|
|
227
228
|
const { control } = useFormContext();
|
|
228
|
-
const { onChange } = options;
|
|
229
229
|
const basedPath = getBaseKeyPath('sineBell');
|
|
230
230
|
|
|
231
231
|
return (
|
|
@@ -249,9 +249,9 @@ function SineBellOptionSection(options: SectionOptions) {
|
|
|
249
249
|
</OptionsSection>
|
|
250
250
|
);
|
|
251
251
|
}
|
|
252
|
-
function SineSquareOptionSection(
|
|
252
|
+
function SineSquareOptionSection(props: SectionProps) {
|
|
253
|
+
const { onChange } = props;
|
|
253
254
|
const { control } = useFormContext();
|
|
254
|
-
const { onChange } = options;
|
|
255
255
|
const basedPath = getBaseKeyPath('sineSquare');
|
|
256
256
|
|
|
257
257
|
return (
|
|
@@ -275,9 +275,9 @@ function SineSquareOptionSection(options: SectionOptions) {
|
|
|
275
275
|
</OptionsSection>
|
|
276
276
|
);
|
|
277
277
|
}
|
|
278
|
-
function TrafOptionSection(
|
|
278
|
+
function TrafOptionSection(props: SectionProps) {
|
|
279
|
+
const { onChange } = props;
|
|
279
280
|
const { control } = useFormContext();
|
|
280
|
-
const { onChange } = options;
|
|
281
281
|
const basedPath = getBaseKeyPath('traf');
|
|
282
282
|
|
|
283
283
|
return (
|
|
@@ -303,21 +303,21 @@ function TrafOptionSection(options: SectionOptions) {
|
|
|
303
303
|
);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
interface OptionsSectionProps extends
|
|
306
|
+
interface OptionsSectionProps extends SectionProps {
|
|
307
307
|
algorithm: keyof Apodization1DOptions;
|
|
308
308
|
algorithmTitle: string;
|
|
309
309
|
children: ReactNode;
|
|
310
310
|
autoFocus?: boolean;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
function OptionsSection(
|
|
313
|
+
function OptionsSection(props: OptionsSectionProps) {
|
|
314
314
|
const {
|
|
315
315
|
onChange,
|
|
316
316
|
algorithm,
|
|
317
317
|
algorithmTitle,
|
|
318
318
|
children,
|
|
319
319
|
autoFocus = false,
|
|
320
|
-
} =
|
|
320
|
+
} = props;
|
|
321
321
|
|
|
322
322
|
const { setValue, watch } = useFormContext();
|
|
323
323
|
const isApplyChecked = watch(`options.${algorithm}.apply`) || false;
|
|
@@ -175,9 +175,7 @@ export const useApodization = (
|
|
|
175
175
|
|
|
176
176
|
if (triggerSource === 'onChange') {
|
|
177
177
|
onChange(values);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
if (triggerSource === 'apply') {
|
|
178
|
+
} else if (triggerSource === 'apply') {
|
|
181
179
|
dispatchApply(values);
|
|
182
180
|
clearSyncFilterOptions();
|
|
183
181
|
}
|
|
@@ -202,7 +200,6 @@ export const useApodization = (
|
|
|
202
200
|
}, [handleSubmit, syncFilterOptions, handleApplyFilter]);
|
|
203
201
|
|
|
204
202
|
useEffect(() => {
|
|
205
|
-
// eslint-disable-next-line react-you-might-not-need-an-effect/no-event-handler
|
|
206
203
|
if (applyFilterOnload) {
|
|
207
204
|
void handleSubmit((values) => onChange(values))();
|
|
208
205
|
}
|
|
@@ -47,8 +47,8 @@ export function usePhaseCorrection(
|
|
|
47
47
|
const [value, setValue] = useState({ ph0: 0, ph1: 0 });
|
|
48
48
|
const valueRef = useRef({ ph0: 0, ph1: 0 });
|
|
49
49
|
|
|
50
|
-
const ph0Ref = useRef<any>();
|
|
51
|
-
const ph1Ref = useRef<any>();
|
|
50
|
+
const ph0Ref = useRef<any>(undefined);
|
|
51
|
+
const ph1Ref = useRef<any>(undefined);
|
|
52
52
|
const { value: phaseCorrectionTypeItem, ...defaultSelectProps } =
|
|
53
53
|
useSelect<AlgorithmItem>({
|
|
54
54
|
defaultSelectedItem: defaultPhasingTypeItem,
|
|
@@ -56,11 +56,9 @@ export function usePhaseCorrection(
|
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
useEffect(() => {
|
|
59
|
-
// eslint-disable-next-line react-you-might-not-need-an-effect/no-event-handler
|
|
60
59
|
if (filter && phaseCorrectionTypeItem?.value === 'manual') {
|
|
61
60
|
const { ph0 = 0, ph1 = 0 } = filter?.value || {};
|
|
62
61
|
valueRef.current = { ph0, ph1 };
|
|
63
|
-
// eslint-disable-next-line react-you-might-not-need-an-effect/no-adjust-state-on-prop-change
|
|
64
62
|
setValue(valueRef.current);
|
|
65
63
|
}
|
|
66
64
|
|
|
@@ -46,8 +46,8 @@ export function usePhaseCorrectionTwoDimensions(filter: Filter2DEntry | null) {
|
|
|
46
46
|
const [value, setValue] = useState<PhaseOptions>(defaultPhaseOptions);
|
|
47
47
|
const valueRef = useRef<PhaseOptions>(defaultPhaseOptions);
|
|
48
48
|
|
|
49
|
-
const ph0Ref = useRef<any>();
|
|
50
|
-
const ph1Ref = useRef<any>();
|
|
49
|
+
const ph0Ref = useRef<any>(undefined);
|
|
50
|
+
const ph1Ref = useRef<any>(undefined);
|
|
51
51
|
|
|
52
52
|
const { data } = useSpectrum(emptyData) as Spectrum2D;
|
|
53
53
|
const debounceCalculation = useRef(
|
|
@@ -68,17 +68,14 @@ export function usePhaseCorrectionTwoDimensions(filter: Filter2DEntry | null) {
|
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
useEffect(() => {
|
|
71
|
-
// eslint-disable-next-line react-you-might-not-need-an-effect/no-event-handler
|
|
72
71
|
if (filter && phaseCorrectionSelectItem?.value === 'manual') {
|
|
73
|
-
const { value } = filter;
|
|
74
72
|
const phaseOptions: PhaseOptions = defaultPhaseOptions;
|
|
75
73
|
|
|
76
|
-
for (const direction of Object.
|
|
77
|
-
const { ph0, ph1 } =
|
|
78
|
-
|
|
74
|
+
for (const [direction, value] of Object.entries(filter.value)) {
|
|
75
|
+
const { ph0, ph1 } = value;
|
|
76
|
+
phaseOptions[direction as TraceDirection] = { ph0, ph1 };
|
|
79
77
|
}
|
|
80
78
|
|
|
81
|
-
// eslint-disable-next-line react-you-might-not-need-an-effect/no-adjust-state-on-prop-change
|
|
82
79
|
setValue(phaseOptions);
|
|
83
80
|
valueRef.current = phaseOptions;
|
|
84
81
|
}
|
|
@@ -35,13 +35,13 @@ function useZeroFillingDefaultSize(): number {
|
|
|
35
35
|
|
|
36
36
|
if (isSpectrum1D(spectrum)) {
|
|
37
37
|
return getZeroFillingSize(spectrum.data.x.length);
|
|
38
|
-
}
|
|
38
|
+
}
|
|
39
|
+
if (isSpectrum2D(spectrum)) {
|
|
39
40
|
const data = (spectrum.data as NmrData2DFid).re;
|
|
40
41
|
const nbPoints = getZeroFillingSize(data.z[0].length);
|
|
41
42
|
return Math.min(4096, nbPoints);
|
|
42
|
-
} else {
|
|
43
|
-
return 0;
|
|
44
43
|
}
|
|
44
|
+
return 0;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export type ZeroFillingEntry =
|
|
@@ -165,9 +165,7 @@ export const useZeroFilling = (
|
|
|
165
165
|
if (triggerSource === 'onChange') {
|
|
166
166
|
onChange(values);
|
|
167
167
|
syncFilterOptions(values);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
if (triggerSource === 'apply') {
|
|
168
|
+
} else if (triggerSource === 'apply') {
|
|
171
169
|
dispatchApply(values);
|
|
172
170
|
clearSyncFilterOptions();
|
|
173
171
|
}
|
|
@@ -50,7 +50,7 @@ export function ProcessingItem(props: ProcessingItemProps) {
|
|
|
50
50
|
const isEditable = operatorUI?.isEditable;
|
|
51
51
|
const isLiveEditable = operatorUI?.isLiveEditable;
|
|
52
52
|
|
|
53
|
-
const liveEdit = useLiveEdit(operation);
|
|
53
|
+
const liveEdit = useLiveEdit(operation?.uid);
|
|
54
54
|
const [liveOperation, setLiveOperation] = useLiveOperation();
|
|
55
55
|
|
|
56
56
|
function onReorder(sourceIndex: number, targetIndex: number) {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { SpectrumProcessingOperation } from '@zakodium/nmr-types';
|
|
2
1
|
import { assertDefined } from '@zakodium/utils';
|
|
3
2
|
|
|
4
3
|
import { useChartData } from '../../../context/ChartContext.tsx';
|
|
@@ -7,9 +6,7 @@ import { useProcessingsMutations } from '../../../context/processings_mutations_
|
|
|
7
6
|
|
|
8
7
|
export type UseLiveEdit = ReturnType<typeof useLiveEdit>;
|
|
9
8
|
|
|
10
|
-
export function useLiveEdit(
|
|
11
|
-
operation: SpectrumProcessingOperation<unknown, unknown> | undefined,
|
|
12
|
-
) {
|
|
9
|
+
export function useLiveEdit(operationUid: string | undefined) {
|
|
13
10
|
const {
|
|
14
11
|
processingOperators: { liveEdit: value, liveOperation },
|
|
15
12
|
} = useChartData();
|
|
@@ -18,18 +15,13 @@ export function useLiveEdit(
|
|
|
18
15
|
|
|
19
16
|
function setLiveEditCheck(newValue: boolean) {
|
|
20
17
|
if (!value) return;
|
|
18
|
+
if (!liveOperation) return;
|
|
21
19
|
|
|
22
20
|
dispatch({ type: 'SET_LIVE_EDIT_CHECKED', payload: newValue });
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
assertDefined(operation);
|
|
28
|
-
void processingsMutations.prepareLiveChange(
|
|
29
|
-
operation.uid,
|
|
30
|
-
value.shouldProcessNext,
|
|
31
|
-
);
|
|
32
|
-
}
|
|
22
|
+
const liveEdit = { ...value, checked: newValue };
|
|
23
|
+
assertDefined(operationUid);
|
|
24
|
+
void processingsMutations.handleLiveChange(liveEdit, operationUid);
|
|
33
25
|
}
|
|
34
26
|
|
|
35
27
|
function setShouldProcessNext(newValue: boolean) {
|
|
@@ -37,10 +29,10 @@ export function useLiveEdit(
|
|
|
37
29
|
if (!liveOperation) return;
|
|
38
30
|
|
|
39
31
|
dispatch({ type: 'SET_LIVE_EDIT_SHOULD_PROCESS_NEXT', payload: newValue });
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
);
|
|
32
|
+
|
|
33
|
+
const liveEdit = { ...value, shouldProcessNext: newValue };
|
|
34
|
+
assertDefined(operationUid);
|
|
35
|
+
void processingsMutations.handleLiveChange(liveEdit, operationUid);
|
|
44
36
|
}
|
|
45
37
|
|
|
46
38
|
return { value, setLiveEditCheck, setShouldProcessNext };
|
|
@@ -109,10 +109,11 @@ function DefaultPanelHeader(props: DefaultPanelHeaderProps) {
|
|
|
109
109
|
function mapToolbarButtons(buttons: ToolbarItemProps[]) {
|
|
110
110
|
return buttons.map((props, index) =>
|
|
111
111
|
isCustomToolbarItem(props) ? (
|
|
112
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
113
|
-
<Fragment key={
|
|
112
|
+
// eslint-disable-next-line @eslint-react/no-array-index-key
|
|
113
|
+
<Fragment key={index}>{props.component}</Fragment>
|
|
114
114
|
) : (
|
|
115
|
-
|
|
115
|
+
// eslint-disable-next-line @eslint-react/no-array-index-key
|
|
116
|
+
<Toolbar.Item key={props?.id || index} {...props} />
|
|
116
117
|
),
|
|
117
118
|
);
|
|
118
119
|
}
|
|
@@ -11,12 +11,6 @@ export function useGetPanelOptions(): (
|
|
|
11
11
|
|
|
12
12
|
return useCallback(
|
|
13
13
|
(item: AccordionItem) => {
|
|
14
|
-
const defaultValue: PanelPreferencesType = {
|
|
15
|
-
display: false,
|
|
16
|
-
visible: false,
|
|
17
|
-
open: false,
|
|
18
|
-
};
|
|
19
|
-
|
|
20
14
|
if (item?.isExperimental && !item.id) {
|
|
21
15
|
return {
|
|
22
16
|
display: true,
|
|
@@ -25,6 +19,12 @@ export function useGetPanelOptions(): (
|
|
|
25
19
|
};
|
|
26
20
|
}
|
|
27
21
|
|
|
22
|
+
const defaultValue: PanelPreferencesType = {
|
|
23
|
+
display: false,
|
|
24
|
+
visible: false,
|
|
25
|
+
open: false,
|
|
26
|
+
};
|
|
27
|
+
|
|
28
28
|
// TODO: make sure preferences are not a lie and remove the optional chaining.
|
|
29
29
|
return preferences?.current?.display?.panels?.[item.id] ?? defaultValue;
|
|
30
30
|
},
|
|
@@ -94,14 +94,19 @@ function getPlotDataAsString(
|
|
|
94
94
|
plotOptions,
|
|
95
95
|
);
|
|
96
96
|
|
|
97
|
-
const columnsLabels: string[] = [
|
|
97
|
+
const columnsLabels: string[] = [
|
|
98
|
+
xPath === '' ? 'serial' : xPath,
|
|
99
|
+
yPath === '' ? 'serial' : xPath,
|
|
100
|
+
];
|
|
98
101
|
let headerIndex = 0;
|
|
99
102
|
// listed the spectra panel columns
|
|
100
103
|
for (const col of spectraPanelPreferences.columns) {
|
|
101
|
-
if (col.visible && 'jpath' in col) {
|
|
102
|
-
|
|
103
|
-
headerIndex++;
|
|
104
|
+
if (!(col.visible && 'jpath' in col)) {
|
|
105
|
+
continue;
|
|
104
106
|
}
|
|
107
|
+
|
|
108
|
+
columnsLabels.splice(headerIndex, 0, col.label);
|
|
109
|
+
headerIndex++;
|
|
105
110
|
}
|
|
106
111
|
|
|
107
112
|
let result = `${columnsLabels.join('\t')}\n`;
|
|
@@ -112,11 +117,13 @@ function getPlotDataAsString(
|
|
|
112
117
|
|
|
113
118
|
// listed the spectra cell values
|
|
114
119
|
for (const col of spectraPanelPreferences.columns) {
|
|
115
|
-
if (col.visible && 'jpath' in col) {
|
|
116
|
-
|
|
117
|
-
const value = jpath ? dlv(spectrum, jpath, 'null') : 'null';
|
|
118
|
-
cellsValues.push(value);
|
|
120
|
+
if (!(col.visible && 'jpath' in col)) {
|
|
121
|
+
continue;
|
|
119
122
|
}
|
|
123
|
+
|
|
124
|
+
const jpath = (col as JpathTableColumn)?.jpath;
|
|
125
|
+
const value = jpath ? dlv(spectrum, jpath, 'null') : 'null';
|
|
126
|
+
cellsValues.push(value);
|
|
120
127
|
}
|
|
121
128
|
|
|
122
129
|
const x = xData
|
|
@@ -163,7 +170,7 @@ function preparePlotData(
|
|
|
163
170
|
return { xPathKeys, yPathKeys, xData, yData };
|
|
164
171
|
}
|
|
165
172
|
|
|
166
|
-
function
|
|
173
|
+
function getPlotData(
|
|
167
174
|
analysisData: SpectraAnalysisData,
|
|
168
175
|
options: { plotOption: PlotOptions; spectra: Spectrum[] },
|
|
169
176
|
) {
|
|
@@ -208,14 +215,12 @@ function getAnalysisColumnsPaths(spectraAnalysisData: SpectraAnalysisData) {
|
|
|
208
215
|
|
|
209
216
|
export default function AnalysisChart(props: PlotChartPros) {
|
|
210
217
|
const { spectraAnalysisData } = props;
|
|
211
|
-
const {
|
|
212
|
-
data,
|
|
213
|
-
view: {
|
|
214
|
-
spectra: { activeTab },
|
|
215
|
-
},
|
|
216
|
-
} = useChartData();
|
|
218
|
+
const { data, view } = useChartData();
|
|
217
219
|
const toaster = useToaster();
|
|
218
|
-
const spectraPreferences = usePanelPreferences(
|
|
220
|
+
const spectraPreferences = usePanelPreferences(
|
|
221
|
+
'spectra',
|
|
222
|
+
view.spectra.activeTab,
|
|
223
|
+
);
|
|
219
224
|
const { sort } = useSortSpectra();
|
|
220
225
|
const spectra = useSpectraByActiveNucleus();
|
|
221
226
|
|
|
@@ -265,7 +270,7 @@ export default function AnalysisChart(props: PlotChartPros) {
|
|
|
265
270
|
}
|
|
266
271
|
}
|
|
267
272
|
|
|
268
|
-
const plotData =
|
|
273
|
+
const plotData = getPlotData(spectraAnalysisData, {
|
|
269
274
|
plotOption: { ...plotOptions, paths },
|
|
270
275
|
spectra,
|
|
271
276
|
});
|
|
@@ -314,25 +319,23 @@ export default function AnalysisChart(props: PlotChartPros) {
|
|
|
314
319
|
if (axis === 'x') {
|
|
315
320
|
if (analysisData.xData) {
|
|
316
321
|
path = 'value';
|
|
317
|
-
sortByReferences = Object.
|
|
318
|
-
(spectrumKey) => ({
|
|
322
|
+
sortByReferences = Object.entries(analysisData.xData).map(
|
|
323
|
+
([spectrumKey, value]) => ({
|
|
319
324
|
id: spectrumKey,
|
|
320
|
-
value
|
|
325
|
+
value,
|
|
321
326
|
}),
|
|
322
327
|
);
|
|
323
328
|
} else {
|
|
324
329
|
path = plotOptions.xPath;
|
|
325
330
|
}
|
|
326
331
|
activeSort = plotOptions.xPath;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
if (axis === 'y') {
|
|
332
|
+
} else if (axis === 'y') {
|
|
330
333
|
if (analysisData.yData) {
|
|
331
334
|
path = 'value';
|
|
332
|
-
sortByReferences = Object.
|
|
333
|
-
(spectrumKey) => ({
|
|
335
|
+
sortByReferences = Object.entries(analysisData.yData).map(
|
|
336
|
+
([spectrumKey, value]) => ({
|
|
334
337
|
id: spectrumKey,
|
|
335
|
-
value
|
|
338
|
+
value,
|
|
336
339
|
}),
|
|
337
340
|
);
|
|
338
341
|
} else {
|
|
@@ -196,7 +196,7 @@ function MultipleSpectraAnalysisTable(
|
|
|
196
196
|
width: '100%',
|
|
197
197
|
padding: '10px',
|
|
198
198
|
}}
|
|
199
|
-
// eslint-disable-next-line react/no-
|
|
199
|
+
// eslint-disable-next-line @eslint-react/dom-no-dangerously-set-innerhtml
|
|
200
200
|
dangerouslySetInnerHTML={{ __html: codeEvaluation as string }}
|
|
201
201
|
/>
|
|
202
202
|
</Fragment>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
2
2
|
import type { MultipleSpectraAnalysisPreferences as MultipleSpectraAnalysisPreferencesInterface } from '@zakodium/nmrium-core';
|
|
3
3
|
import { ANALYSIS_COLUMN_TYPES } from '@zakodium/nmrium-core';
|
|
4
|
-
import {
|
|
4
|
+
import type { Ref } from 'react';
|
|
5
5
|
import { FormProvider, useForm } from 'react-hook-form';
|
|
6
6
|
import * as Yup from 'yup';
|
|
7
7
|
|
|
@@ -14,6 +14,7 @@ import useCheckExperimentalFeature from '../../../hooks/useCheckExperimentalFeat
|
|
|
14
14
|
import { usePanelPreferences } from '../../../hooks/usePanelPreferences.js';
|
|
15
15
|
import { checkUniqueByKey } from '../../../utility/checkUniqueByKey.js';
|
|
16
16
|
import { PreferencesContainer } from '../../extra/preferences/PreferencesContainer.js';
|
|
17
|
+
import type { SettingsRef } from '../../extra/utilities/settingImperativeHandle.js';
|
|
17
18
|
import { useSettingImperativeHandle } from '../../extra/utilities/settingImperativeHandle.js';
|
|
18
19
|
|
|
19
20
|
import { AnalysisTablePreferences } from './AnalysisTablePreferences.js';
|
|
@@ -23,10 +24,12 @@ import MultipleAnalysisCodeEditor from './MultipleAnalysisCodeEditor.js';
|
|
|
23
24
|
function getMultipleSpectraAnalysisData(
|
|
24
25
|
preferences: MultipleSpectraAnalysisPreferencesInterface,
|
|
25
26
|
) {
|
|
26
|
-
return Object.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
return Object.entries(preferences.analysisOptions.columns).map(
|
|
28
|
+
([key, column]) => ({
|
|
29
|
+
...column,
|
|
30
|
+
tempKey: key,
|
|
31
|
+
}),
|
|
32
|
+
);
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
const preferencesSchema = Yup.object({
|
|
@@ -57,12 +60,13 @@ interface MultipleSpectraAnalysisPreferencesProps {
|
|
|
57
60
|
data: SpectraAnalysisData;
|
|
58
61
|
activeTab: string;
|
|
59
62
|
onAfterSave: (flag: boolean) => void;
|
|
63
|
+
ref?: Ref<SettingsRef | null>;
|
|
60
64
|
}
|
|
61
65
|
|
|
62
|
-
function MultipleSpectraAnalysisPreferences(
|
|
63
|
-
|
|
64
|
-
ref: any,
|
|
66
|
+
export default function MultipleSpectraAnalysisPreferences(
|
|
67
|
+
props: MultipleSpectraAnalysisPreferencesProps,
|
|
65
68
|
) {
|
|
69
|
+
const { data, activeTab, onAfterSave, ref } = props;
|
|
66
70
|
const panelPreferences = usePanelPreferences(
|
|
67
71
|
'multipleSpectraAnalysis',
|
|
68
72
|
activeTab,
|
|
@@ -178,5 +182,3 @@ function columnSchema(columns: any) {
|
|
|
178
182
|
index: Yup.number().required(),
|
|
179
183
|
});
|
|
180
184
|
}
|
|
181
|
-
|
|
182
|
-
export default forwardRef(MultipleSpectraAnalysisPreferences);
|