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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrushTracker1D.d.ts","sourceRoot":"","sources":["../../../src/component/1d/BrushTracker1D.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAmE3D,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,iBAAiB,CAAC,+
|
|
1
|
+
{"version":3,"file":"BrushTracker1D.d.ts","sourceRoot":"","sources":["../../../src/component/1d/BrushTracker1D.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAmE3D,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,iBAAiB,CAAC,+BAmevE"}
|
|
@@ -43,13 +43,14 @@ function usePixelToPPMConverter() {
|
|
|
43
43
|
}
|
|
44
44
|
export function BrushTracker1D({ children }) {
|
|
45
45
|
const state = useChartData();
|
|
46
|
-
const { toolOptions: { selectedTool }, view
|
|
46
|
+
const { toolOptions: { selectedTool }, view, width, height, } = state;
|
|
47
|
+
const activeTab = view.spectra.activeTab;
|
|
47
48
|
const isClickDebounced = clickDebounceTools.has(selectedTool);
|
|
48
49
|
const brushStartRef = useRef(null);
|
|
49
50
|
const spectrum = useSpectrum();
|
|
50
51
|
const align = useVerticalAlign();
|
|
51
52
|
const dispatch = useDispatch();
|
|
52
|
-
const { dispatch: dispatchPreferences, current:
|
|
53
|
+
const { dispatch: dispatchPreferences, current: currentPreferences } = usePreferences();
|
|
53
54
|
const { showBoxPlot, showStocsy } = usePanelPreferences('matrixGeneration', activeTab);
|
|
54
55
|
const { defaultPeakShape } = usePanelPreferences('peaks', activeTab);
|
|
55
56
|
const { logger } = useLogger();
|
|
@@ -62,30 +63,30 @@ export function BrushTracker1D({ children }) {
|
|
|
62
63
|
const [brushData, setBrushData] = useState(null);
|
|
63
64
|
function handleBrush(brushData) {
|
|
64
65
|
const { mouseButton } = brushData;
|
|
66
|
+
if (mouseButton !== 'secondary')
|
|
67
|
+
return;
|
|
65
68
|
const brushDataInPPM = convertToPPM(brushData);
|
|
66
|
-
if (
|
|
67
|
-
|
|
68
|
-
brushStartRef.current = brushDataInPPM.startX;
|
|
69
|
-
}
|
|
70
|
-
const shiftX = brushDataInPPM.endX - brushStartRef.current;
|
|
71
|
-
dispatch({ type: 'MOVE', payload: { shiftX, shiftY: 0 } });
|
|
69
|
+
if (!brushStartRef.current) {
|
|
70
|
+
brushStartRef.current = brushDataInPPM.startX;
|
|
72
71
|
}
|
|
72
|
+
const shiftX = brushDataInPPM.endX - brushStartRef.current;
|
|
73
|
+
dispatch({ type: 'MOVE', payload: { shiftX, shiftY: 0 } });
|
|
73
74
|
}
|
|
74
75
|
function handleInsetBrush(brushData) {
|
|
75
76
|
const { mouseButton } = brushData;
|
|
77
|
+
if (mouseButton !== 'secondary')
|
|
78
|
+
return;
|
|
76
79
|
const brushDataInPPM = convertToPPM(brushData);
|
|
77
|
-
if (
|
|
78
|
-
|
|
79
|
-
brushStartRef.current = brushDataInPPM.startX;
|
|
80
|
-
}
|
|
81
|
-
const shiftX = brushDataInPPM.endX - brushStartRef.current;
|
|
82
|
-
if (!inset)
|
|
83
|
-
return;
|
|
84
|
-
dispatch({
|
|
85
|
-
type: 'MOVE_INSET',
|
|
86
|
-
payload: { insetKey: inset.id, shiftX, shiftY: 0 },
|
|
87
|
-
});
|
|
80
|
+
if (!brushStartRef.current) {
|
|
81
|
+
brushStartRef.current = brushDataInPPM.startX;
|
|
88
82
|
}
|
|
83
|
+
if (!inset)
|
|
84
|
+
return;
|
|
85
|
+
const shiftX = brushDataInPPM.endX - brushStartRef.current;
|
|
86
|
+
dispatch({
|
|
87
|
+
type: 'MOVE_INSET',
|
|
88
|
+
payload: { insetKey: inset.id, shiftX, shiftY: 0 },
|
|
89
|
+
});
|
|
89
90
|
}
|
|
90
91
|
const handleBrushEnd = useCallback((brushData) => {
|
|
91
92
|
//reset the brush start
|
|
@@ -96,127 +97,128 @@ export function BrushTracker1D({ children }) {
|
|
|
96
97
|
const modifiers = getModifiersKey(brushData);
|
|
97
98
|
const isAltOnly = modifiers === 'shift[false]_ctrl[false]_alt[true]';
|
|
98
99
|
const isPrimary = isPrimaryKeyActivated(brushData);
|
|
99
|
-
if (brushData.mouseButton
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
default:
|
|
114
|
-
executeDefaultAction = true;
|
|
115
|
-
break;
|
|
100
|
+
if (brushData.mouseButton !== 'main')
|
|
101
|
+
return;
|
|
102
|
+
const propagateEvent = () => {
|
|
103
|
+
Events.emit('brushEnd', {
|
|
104
|
+
...brushData,
|
|
105
|
+
range: selectRange,
|
|
106
|
+
});
|
|
107
|
+
};
|
|
108
|
+
let shouldExecuteDefaultAction = false;
|
|
109
|
+
if (isAltOnly) {
|
|
110
|
+
switch (selectedTool) {
|
|
111
|
+
case options.rangePicking.id: {
|
|
112
|
+
openAnalysisModal();
|
|
113
|
+
break;
|
|
116
114
|
}
|
|
115
|
+
default:
|
|
116
|
+
shouldExecuteDefaultAction = true;
|
|
117
|
+
break;
|
|
117
118
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
const [from, to] = selectRange;
|
|
130
|
-
const range = createRange(spectrum, {
|
|
131
|
-
from,
|
|
132
|
-
to,
|
|
133
|
-
logger,
|
|
134
|
-
});
|
|
135
|
-
if (!range)
|
|
136
|
-
break;
|
|
137
|
-
dispatch({
|
|
138
|
-
type: 'ADD_RANGE',
|
|
139
|
-
payload: { range },
|
|
140
|
-
});
|
|
141
|
-
break;
|
|
142
|
-
}
|
|
143
|
-
case options.multipleSpectraAnalysis.id: {
|
|
144
|
-
dispatchPreferences({
|
|
145
|
-
type: 'ANALYZE_SPECTRA',
|
|
146
|
-
payload: {
|
|
147
|
-
start: brushDataInPPM.startX,
|
|
148
|
-
end: brushDataInPPM.endX,
|
|
149
|
-
nucleus: activeTab,
|
|
150
|
-
},
|
|
151
|
-
});
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
case options.peakPicking.id: {
|
|
155
|
-
const { startX, endX } = brushData;
|
|
156
|
-
dispatch({
|
|
157
|
-
type: 'ADD_PEAKS',
|
|
158
|
-
payload: { startX, endX, defaultPeakShape },
|
|
159
|
-
});
|
|
160
|
-
break;
|
|
161
|
-
}
|
|
162
|
-
case options.databaseRangesSelection.id:
|
|
163
|
-
propagateEvent();
|
|
164
|
-
break;
|
|
165
|
-
case options.exclusionZones.id:
|
|
166
|
-
dispatch({
|
|
167
|
-
type: 'ADD_EXCLUSION_ZONE',
|
|
168
|
-
payload: { startX: brushData.startX, endX: brushData.endX },
|
|
169
|
-
});
|
|
170
|
-
break;
|
|
171
|
-
case options.matrixGenerationExclusionZones.id: {
|
|
172
|
-
const [from, to] = selectRange;
|
|
173
|
-
dispatchPreferences({
|
|
174
|
-
type: 'ADD_MATRIX_GENERATION_EXCLUSION_ZONE',
|
|
175
|
-
payload: {
|
|
176
|
-
zone: { from, to },
|
|
177
|
-
nucleus: activeTab,
|
|
178
|
-
},
|
|
179
|
-
});
|
|
180
|
-
break;
|
|
181
|
-
}
|
|
182
|
-
case options.inset.id:
|
|
183
|
-
dispatch({
|
|
184
|
-
type: 'ADD_INSET',
|
|
185
|
-
payload: {
|
|
186
|
-
startX: brushData.startX,
|
|
187
|
-
endX: brushData.endX,
|
|
188
|
-
},
|
|
189
|
-
});
|
|
119
|
+
}
|
|
120
|
+
else if (isPrimary) {
|
|
121
|
+
switch (selectedTool) {
|
|
122
|
+
case options.integral.id:
|
|
123
|
+
dispatch({
|
|
124
|
+
type: 'ADD_INTEGRAL',
|
|
125
|
+
payload: brushData,
|
|
126
|
+
});
|
|
127
|
+
break;
|
|
128
|
+
case options.rangePicking.id: {
|
|
129
|
+
if (!isSpectrum1D(spectrum))
|
|
190
130
|
break;
|
|
191
|
-
|
|
192
|
-
|
|
131
|
+
const [from, to] = selectRange;
|
|
132
|
+
const range = createRange(spectrum, {
|
|
133
|
+
from,
|
|
134
|
+
to,
|
|
135
|
+
logger,
|
|
136
|
+
});
|
|
137
|
+
if (!range)
|
|
193
138
|
break;
|
|
139
|
+
dispatch({
|
|
140
|
+
type: 'ADD_RANGE',
|
|
141
|
+
payload: { range },
|
|
142
|
+
});
|
|
143
|
+
break;
|
|
194
144
|
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
145
|
+
case options.multipleSpectraAnalysis.id: {
|
|
146
|
+
dispatchPreferences({
|
|
147
|
+
type: 'ANALYZE_SPECTRA',
|
|
148
|
+
payload: {
|
|
149
|
+
start: brushDataInPPM.startX,
|
|
150
|
+
end: brushDataInPPM.endX,
|
|
151
|
+
nucleus: activeTab,
|
|
152
|
+
},
|
|
153
|
+
});
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
case options.peakPicking.id: {
|
|
157
|
+
const { startX, endX } = brushData;
|
|
158
|
+
dispatch({
|
|
159
|
+
type: 'ADD_PEAKS',
|
|
160
|
+
payload: { startX, endX, defaultPeakShape },
|
|
161
|
+
});
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
case options.databaseRangesSelection.id:
|
|
165
|
+
propagateEvent();
|
|
166
|
+
break;
|
|
167
|
+
case options.exclusionZones.id:
|
|
204
168
|
dispatch({
|
|
205
|
-
type: '
|
|
169
|
+
type: 'ADD_EXCLUSION_ZONE',
|
|
170
|
+
payload: { startX: brushData.startX, endX: brushData.endX },
|
|
171
|
+
});
|
|
172
|
+
break;
|
|
173
|
+
case options.matrixGenerationExclusionZones.id: {
|
|
174
|
+
const [from, to] = selectRange;
|
|
175
|
+
dispatchPreferences({
|
|
176
|
+
type: 'ADD_MATRIX_GENERATION_EXCLUSION_ZONE',
|
|
206
177
|
payload: {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
width,
|
|
210
|
-
height,
|
|
211
|
-
...brushDetectionOptions,
|
|
212
|
-
...(align === 'stack' && { thresholdSize: 0 }),
|
|
213
|
-
}).type,
|
|
178
|
+
zone: { from, to },
|
|
179
|
+
nucleus: activeTab,
|
|
214
180
|
},
|
|
215
181
|
});
|
|
182
|
+
break;
|
|
216
183
|
}
|
|
217
|
-
|
|
184
|
+
case options.inset.id:
|
|
185
|
+
dispatch({
|
|
186
|
+
type: 'ADD_INSET',
|
|
187
|
+
payload: {
|
|
188
|
+
startX: brushData.startX,
|
|
189
|
+
endX: brushData.endX,
|
|
190
|
+
},
|
|
191
|
+
});
|
|
192
|
+
break;
|
|
193
|
+
default:
|
|
194
|
+
shouldExecuteDefaultAction = true;
|
|
195
|
+
break;
|
|
218
196
|
}
|
|
219
197
|
}
|
|
198
|
+
else {
|
|
199
|
+
shouldExecuteDefaultAction = true;
|
|
200
|
+
}
|
|
201
|
+
const tools = new Set(['zoom']);
|
|
202
|
+
const isDefaultBrushEnabled = !tools.has(selectedTool) ||
|
|
203
|
+
(tools.has(selectedTool) && !brushData.shiftKey);
|
|
204
|
+
if (!shouldExecuteDefaultAction || selectedTool == null) {
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
if (isDefaultBrushEnabled) {
|
|
208
|
+
dispatch({
|
|
209
|
+
type: 'BRUSH_END',
|
|
210
|
+
payload: {
|
|
211
|
+
...brushDataInPPM,
|
|
212
|
+
axis: detectBrushing(brushData, {
|
|
213
|
+
width,
|
|
214
|
+
height,
|
|
215
|
+
...brushDetectionOptions,
|
|
216
|
+
...(align === 'stack' && { thresholdSize: 0 }),
|
|
217
|
+
}).type,
|
|
218
|
+
},
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
propagateEvent();
|
|
220
222
|
}, [
|
|
221
223
|
convertToPPM,
|
|
222
224
|
isPrimaryKeyActivated,
|
|
@@ -260,9 +262,7 @@ export function BrushTracker1D({ children }) {
|
|
|
260
262
|
});
|
|
261
263
|
}, [dispatch, isClickDebounced, isPrimaryKeyActivated, selectedTool]);
|
|
262
264
|
const handleInsetOnDoubleClick = useCallback((event) => {
|
|
263
|
-
if (isPrimaryKeyActivated(event))
|
|
264
|
-
return;
|
|
265
|
-
if (!inset) {
|
|
265
|
+
if (isPrimaryKeyActivated(event) || !inset) {
|
|
266
266
|
return;
|
|
267
267
|
}
|
|
268
268
|
dispatch({
|
|
@@ -284,14 +284,19 @@ export function BrushTracker1D({ children }) {
|
|
|
284
284
|
else {
|
|
285
285
|
dispatch({
|
|
286
286
|
type: 'SET_ZOOM',
|
|
287
|
-
payload: {
|
|
287
|
+
payload: {
|
|
288
|
+
options: {
|
|
289
|
+
...options,
|
|
290
|
+
invertScroll: currentPreferences.general.invertScroll,
|
|
291
|
+
},
|
|
292
|
+
},
|
|
288
293
|
});
|
|
289
294
|
}
|
|
290
295
|
}, [
|
|
291
296
|
activeTab,
|
|
292
297
|
dispatch,
|
|
293
298
|
dispatchPreferences,
|
|
294
|
-
invertScroll,
|
|
299
|
+
currentPreferences.general.invertScroll,
|
|
295
300
|
selectedTool,
|
|
296
301
|
showBoxPlot,
|
|
297
302
|
showStocsy,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrushTracker1D.js","sourceRoot":"","sources":["../../../src/component/1d/BrushTracker1D.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EACL,YAAY,EACZ,cAAc,GACf,MAAM,mCAAmC,CAAC;AAQ3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AC;iBAC/C,EACD,KAAK,EAAE;oBACL,KAAK,EAAE,MAAM;oBACb,MAAM,EAAE,MAAM;oBACd,MAAM,EAAE,MAAM;oBACd,QAAQ,EAAE,UAAU;oBACpB,QAAQ,EAAE,QAAQ;iBACnB,YAEA,QAAQ,GACI,EACd,SAAS,IAAI,CACZ,KAAC,sBAAsB,IACrB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,EAAE,kBAAkB,KACvB,SAAS,GACb,CACH,IACA,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -20,7 +20,7 @@ function ExclusionZoneAnnotation({ zone, color, vAlign, spectrumID, filterId, })
|
|
|
20
20
|
extra: { zone, spectrumID },
|
|
21
21
|
});
|
|
22
22
|
const { opacity } = useActiveSpectrumStyleOptions(spectrumID);
|
|
23
|
-
return (_jsx("g", { transform: `translate(${scaleX()(zone.to)},0)`, children: _jsx(Rect, { x: "0", transform: `translate(0,${scaleY()(0) - (vAlign + 5)})`, width:
|
|
23
|
+
return (_jsx("g", { transform: `translate(${scaleX()(zone.to)},0)`, children: _jsx(Rect, { x: "0", transform: `translate(0,${scaleY()(0) - (vAlign + 5)})`, width: scaleX()(zone.from) - scaleX()(zone.to), height: "10px", style: {
|
|
24
24
|
fill: filterId === Filters1D.signalProcessing.name ? 'gray' : color,
|
|
25
25
|
opacity,
|
|
26
26
|
}, ...highlight.onHover }) }, zone.id));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExclusionZoneAnnotation.js","sourceRoot":"","sources":["../../../src/component/1d/ExclusionZoneAnnotation.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAG7B,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;A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;AACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatPublicationString.d.ts","sourceRoot":"","sources":["../../../src/component/1d/FloatPublicationString.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FloatPublicationString.d.ts","sourceRoot":"","sources":["../../../src/component/1d/FloatPublicationString.tsx"],"names":[],"mappings":"AAqbA,wBAAgB,sBAAsB,2CA2CrC"}
|
|
@@ -38,7 +38,7 @@ const ReactRnd = styled(Rnd) `
|
|
|
38
38
|
`;
|
|
39
39
|
function useWrapSVGText(params) {
|
|
40
40
|
const { text, width, style } = params;
|
|
41
|
-
const
|
|
41
|
+
const isDebuggingCanvas = false;
|
|
42
42
|
const fontSize = style.fontSize ?? 12;
|
|
43
43
|
// ctx used only for debug canvas purpose.
|
|
44
44
|
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
@@ -46,7 +46,7 @@ function useWrapSVGText(params) {
|
|
|
46
46
|
fontSize,
|
|
47
47
|
fontStyle: style.fontStyle,
|
|
48
48
|
fontWeight: style.fontWeight,
|
|
49
|
-
debugCanvasWidth:
|
|
49
|
+
debugCanvasWidth: isDebuggingCanvas ? width : undefined,
|
|
50
50
|
});
|
|
51
51
|
const formattedText = text
|
|
52
52
|
.replaceAll(/<sup>(?<n>.*?)<\/sup>/g, ' ++$1++ ')
|
|
@@ -75,10 +75,10 @@ function useWrapSVGText(params) {
|
|
|
75
75
|
}
|
|
76
76
|
if (line.length > 0)
|
|
77
77
|
lines.push(line);
|
|
78
|
+
// TODO: ctx should be in a ref.
|
|
79
|
+
// eslint-disable-next-line @eslint-react/immutability
|
|
78
80
|
useEffect(() => {
|
|
79
|
-
if (!
|
|
80
|
-
return;
|
|
81
|
-
if (!ctx)
|
|
81
|
+
if (!isDebuggingCanvas || !ctx)
|
|
82
82
|
return;
|
|
83
83
|
ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height);
|
|
84
84
|
let y = lineHeight;
|
|
@@ -100,17 +100,18 @@ function useWrapSVGText(params) {
|
|
|
100
100
|
}
|
|
101
101
|
y += lineHeight;
|
|
102
102
|
}
|
|
103
|
+
// eslint-disable-next-line @eslint-react/immutability
|
|
103
104
|
ctx.fillStyle = 'black';
|
|
104
105
|
});
|
|
105
106
|
return { lines, lineHeight };
|
|
106
107
|
}
|
|
107
108
|
function PublicationText(props) {
|
|
108
|
-
const { text, textStyle
|
|
109
|
+
const { text, textStyle, width } = props;
|
|
109
110
|
const padding = 10;
|
|
110
111
|
const boxWidth = width - padding * 2;
|
|
111
112
|
const textStyleWithSize = {
|
|
112
113
|
...textStyle,
|
|
113
|
-
fontSize: textStyle
|
|
114
|
+
fontSize: textStyle?.fontSize ?? 12,
|
|
114
115
|
};
|
|
115
116
|
const { lineHeight, lines } = useWrapSVGText({
|
|
116
117
|
width: boxWidth,
|
|
@@ -118,7 +119,7 @@ function PublicationText(props) {
|
|
|
118
119
|
text,
|
|
119
120
|
});
|
|
120
121
|
return (_jsx("g", { transform: `translate(${padding} ${padding})`, children: lines.map((line, lineIndex) => (_jsx(SVGStyledText
|
|
121
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
122
|
+
// eslint-disable-next-line @eslint-react/no-array-index-key
|
|
122
123
|
, { ...textStyleWithSize, fontFamily: "Arial", y: lineIndex * lineHeight, dominantBaseline: "hanging", children: line.map((word, wordIndex) => {
|
|
123
124
|
const marker = getMarker(word);
|
|
124
125
|
if (marker) {
|
|
@@ -129,10 +130,10 @@ function PublicationText(props) {
|
|
|
129
130
|
: undefined;
|
|
130
131
|
return (_jsx("tspan", { fontSize: fontSize, ...props, children: word.replaceAll(marker, '') }, wordIndex));
|
|
131
132
|
}
|
|
132
|
-
const
|
|
133
|
+
const shouldAddSpace = !line[wordIndex + 1]?.startsWith('--') ||
|
|
133
134
|
/\s$/.test(word) ||
|
|
134
135
|
/[^a-zA-Z0-9]$/.test(word);
|
|
135
|
-
return (_jsx("tspan", { children:
|
|
136
|
+
return (_jsx("tspan", { children: shouldAddSpace ? `${word} ` : word }, wordIndex));
|
|
136
137
|
}) }, lineIndex))) }));
|
|
137
138
|
}
|
|
138
139
|
function useBoundingBox(externalBoundingPercent) {
|
|
@@ -226,6 +227,12 @@ function DraggablePublicationString(props) {
|
|
|
226
227
|
payload: { key: 'showPublicationString', spectrumKey },
|
|
227
228
|
});
|
|
228
229
|
}
|
|
230
|
+
if (!viewerRef || !value)
|
|
231
|
+
return null;
|
|
232
|
+
const { width, height = 'auto', x = 0, y = 0 } = bounding;
|
|
233
|
+
if (isExportProcessStart) {
|
|
234
|
+
return (_jsx("g", { transform: `translate(${x} ${y})`, children: _jsx(PublicationText, { text: value, width: width, textStyle: acsOptions.textStyle }) }));
|
|
235
|
+
}
|
|
229
236
|
const actionButtons = [
|
|
230
237
|
{
|
|
231
238
|
icon: _jsx(BsArrowsMove, {}),
|
|
@@ -249,13 +256,7 @@ function DraggablePublicationString(props) {
|
|
|
249
256
|
onClick: handleRemove,
|
|
250
257
|
},
|
|
251
258
|
];
|
|
252
|
-
|
|
253
|
-
return null;
|
|
254
|
-
const { width, height, x = 0, y = 0 } = bounding;
|
|
255
|
-
if (isExportProcessStart) {
|
|
256
|
-
return (_jsx("g", { transform: `translate(${x} ${y})`, children: _jsx(PublicationText, { text: value, width: width, textStyle: acsOptions.textStyle }) }));
|
|
257
|
-
}
|
|
258
|
-
return (_jsxs(_Fragment, { children: [_jsx(ReactRnd, { position: { x, y }, size: { width: width || 'auto', height: height || 'auto' }, minWidth: 100, minHeight: 50, dragHandleClassName: "handle", enableUserSelectHack: false, bounds: `#${viewerRef.id}`, onResize: (e, dir, eRef, size, position) => {
|
|
259
|
+
return (_jsxs(_Fragment, { children: [_jsx(ReactRnd, { position: { x, y }, size: { width: width || 'auto', height }, minWidth: 100, minHeight: 50, dragHandleClassName: "handle", enableUserSelectHack: false, bounds: `#${viewerRef.id}`, onResize: (e, dir, eRef, size, position) => {
|
|
259
260
|
handleResize({
|
|
260
261
|
...position,
|
|
261
262
|
height: eRef.clientHeight,
|
|
@@ -272,7 +273,7 @@ function DraggablePublicationString(props) {
|
|
|
272
273
|
}, onDragStop: (e, data) => {
|
|
273
274
|
handleChangeInsetBounding({ x: data.x, y: data.y });
|
|
274
275
|
setIsMoveActive(false);
|
|
275
|
-
}, resizeHandleWrapperStyle: { backgroundColor: 'white' }, children: _jsx(ActionsButtonsPopover, { buttons: actionButtons, fill: true, positioningStrategy: "fixed", direction: "row", targetProps: { style: { width: '100%', height: '100%' } }, space: 2, ...(isMoveActive && { isOpen: true }), x: x, y: y, children: _jsx("svg", { width: width || 'auto', height: height
|
|
276
|
+
}, resizeHandleWrapperStyle: { backgroundColor: 'white' }, children: _jsx(ActionsButtonsPopover, { buttons: actionButtons, fill: true, positioningStrategy: "fixed", direction: "row", targetProps: { style: { width: '100%', height: '100%' } }, space: 2, ...(isMoveActive && { isOpen: true }), x: x, y: y, children: _jsx("svg", { width: width || 'auto', height: height, xmlns: "http://www.w3.org/2000/svg", children: _jsx(PublicationText, { text: value, width: width, textStyle: acsOptions.textStyle }) }) }) }), _jsx(PublicationStringModal, { isOpen: isDialogOpen, onClose: () => setIsDialogOpen(false), acsExportOptions: acsOptions, spectrum: spectrum, allowTextStyle: true })] }));
|
|
276
277
|
}
|
|
277
278
|
export function FloatPublicationString() {
|
|
278
279
|
const publicationString = usePublicationStrings();
|
|
@@ -293,9 +294,7 @@ export function FloatPublicationString() {
|
|
|
293
294
|
return options.map((options) => {
|
|
294
295
|
const { viewOptions, spectrum } = options;
|
|
295
296
|
const { showPublicationString, publicationStringBounding } = viewOptions;
|
|
296
|
-
if (!showPublicationString)
|
|
297
|
-
return null;
|
|
298
|
-
if (!isSpectrum1D(spectrum))
|
|
297
|
+
if (!showPublicationString || !isSpectrum1D(spectrum))
|
|
299
298
|
return null;
|
|
300
299
|
const { id, info: { nucleus }, } = spectrum;
|
|
301
300
|
return (_jsx(DraggablePublicationString, { spectrum: spectrum, nucleus: nucleus, bounding: publicationStringBounding, value: publicationString[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CAAC,CAAC;YACjE,QAAQ,EAAE,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;YACrC,WAAW;SACZ,CAAC,CAAC,CAAC;IACN,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;IAEzB,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;QAC7B,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;QAE1C,MAAM,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,GAAG,WAAW,CAAC;QACzE,IAAI,CAAC,qBAAqB,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;YAAE,OAAO,IAAI,CAAC;QAEnE,MAAM,EACJ,EAAE,EACF,IAAI,EAAE,EAAE,OAAO,EAAE,GAClB,GAAG,QAAQ,CAAC;QAEb,OAAO,CACL,KAAC,0BAA0B,IAEzB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,yBAAyB,EACnC,KAAK,EAAE,iBAAiB,CAAC,EAAE,CAAC,IAJvB,EAAE,CAKP,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -68,8 +68,8 @@ function FooterBannerInner({ margin, width, height, activeSpectrum, spectrum, ac
|
|
|
68
68
|
const isBrushing = step === 'brushing' && mouseButton === 'main';
|
|
69
69
|
const intensity = getYValue(position.x);
|
|
70
70
|
const ratio = (Math.abs(intensity) / maxIntensityAbsValue) * 100;
|
|
71
|
-
return (_jsxs(FooterContainer, { children: [_jsx(BsCursor, {}), _jsxs(InfoBlock, { children: [_jsx(InfoItem.Label, { children: " \uD835\uDEC5: " }), _jsx(InfoItem.Value, { children: format(scaleX().invert(position.x)) }), _jsx(InfoItem.Unit, { children: "ppm" }), activeSpectrum && spectrum?.info?.originFrequency
|
|
72
|
-
spectrum?.info?.originFrequency).toPrecision(5) })] })), isBrushing && (_jsxs(InfoBlock, { children: [_jsx(InfoItem.Label, { children: " ratio :" }), _jsxs(InfoItem.Value, { children: [((getYValue(startX) / (getYValue(endX) || Number.MIN_VALUE)) *
|
|
71
|
+
return (_jsxs(FooterContainer, { children: [_jsx(BsCursor, {}), _jsxs(InfoBlock, { children: [_jsx(InfoItem.Label, { children: " \uD835\uDEC5: " }), _jsx(InfoItem.Value, { children: format(scaleX().invert(position.x)) }), _jsx(InfoItem.Unit, { children: "ppm" }), activeSpectrum && spectrum?.info?.originFrequency ? (_jsxs(_Fragment, { children: [_jsxs(InfoItem.Value, { children: ["\u00A0(", format(scaleX().invert(position.x) * spectrum?.info?.originFrequency, 'hz')] }), _jsx(InfoItem.Unit, { children: "Hz" }), _jsx(InfoItem.Value, { children: ") " }), _jsxs(InfoItem, { children: [_jsx("span", { children: "," }), _jsx(InfoItem.Label, { children: " Index: " }), _jsx(InfoItem.Value, { children: getXIndex(position.x) })] })] })) : null] }), isBrushing && (_jsxs(FlexInfoItem, { autoHide: true, display: "flex", children: [_jsx(InfoItem.Label, { children: " \u0394ppm: " }), _jsx(InfoItem.Value, { children: (scaleX().invert(startX) - scaleX().invert(endX)).toPrecision(6) })] })), activeSpectrum && (_jsxs(FlexInfoItem, { autoHide: true, display: "flex", hideThreshold: 750, children: [spectrum?.info?.originFrequency && isBrushing ? (_jsxs(InfoBlock, { children: [_jsx(InfoItem.Label, { children: " \u0394Hz: " }), _jsx(InfoItem.Value, { children: ((scaleX().invert(startX) - scaleX().invert(endX)) *
|
|
72
|
+
spectrum?.info?.originFrequency).toPrecision(5) })] })) : null, isBrushing && (_jsxs(InfoBlock, { children: [_jsx(InfoItem.Label, { children: " ratio :" }), _jsxs(InfoItem.Value, { children: [((getYValue(startX) / (getYValue(endX) || Number.MIN_VALUE)) *
|
|
73
73
|
100).toFixed(2), "%"] })] }))] })), activeSpectrum && (_jsxs(FlexInfoItem, { display: "flex", autoHide: true, hideThreshold: 550, children: [_jsx(Separator, {}), _jsx(IoPulseSharp, {}), _jsxs(InfoBlock, { children: [_jsx(InfoItem.Label, { children: "Intensity: " }), _jsx(InfoItem.Value, { style: { minWidth: 80 }, children: format(intensity) })] }), _jsx(Separator, {}), _jsx(InfoBlock, { children: _jsxs(InfoItem.Value, { style: { minWidth: 80 }, children: [ratio.toFixed(2), " %"] }) })] }))] }));
|
|
74
74
|
}
|
|
75
75
|
const MemoizedFooterBanner = memo(FooterBannerInner);
|