nmrium 1.2.1 → 1.4.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 +2 -3
- package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +2 -3
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/ExclusionZoneAnnotation.js +3 -3
- package/lib/component/1d/ExclusionZoneAnnotation.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +6 -8
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/FloatingRanges.js +4 -7
- package/lib/component/1d/FloatingRanges.js.map +1 -1
- package/lib/component/1d/FooterBanner.js.map +1 -1
- package/lib/component/1d/Line.js +2 -2
- package/lib/component/1d/Line.js.map +1 -1
- package/lib/component/1d/PredictionErrorsNotations.js +2 -2
- package/lib/component/1d/PredictionErrorsNotations.js.map +1 -1
- package/lib/component/1d/SimilarityTree.js +1 -1
- package/lib/component/1d/SimilarityTree.js.map +1 -1
- package/lib/component/1d/XAxis1D.js +3 -3
- package/lib/component/1d/XAxis1D.js.map +1 -1
- package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseElements.js +2 -2
- package/lib/component/1d/database/DatabaseElements.js.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.d.ts.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.d.ts.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js +3 -3
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js +117 -68
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/inset/InsetViewerRoot.d.ts +2 -3
- package/lib/component/1d/inset/InsetViewerRoot.d.ts.map +1 -1
- package/lib/component/1d/inset/InsetViewerRoot.js.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.js +2 -2
- package/lib/component/1d/integral/IntegralResizable.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraph.js +1 -1
- 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/matrix/Boxplot.d.ts.map +1 -1
- package/lib/component/1d/matrix/Boxplot.js +3 -2
- package/lib/component/1d/matrix/Boxplot.js.map +1 -1
- package/lib/component/1d/matrix/Stocsy.d.ts.map +1 -1
- package/lib/component/1d/matrix/Stocsy.js +5 -3
- package/lib/component/1d/matrix/Stocsy.js.map +1 -1
- package/lib/component/1d/multiAnalysis/AnalysisRange.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +2 -2
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +1 -5
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.d.ts +2 -4
- package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js +3 -0
- 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 +4 -4
- package/lib/component/1d/peaks/Peaks.js.map +1 -1
- package/lib/component/1d/ranges/Atoms.d.ts.map +1 -1
- package/lib/component/1d/ranges/Atoms.js +5 -1
- package/lib/component/1d/ranges/Atoms.js.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts.map +1 -1
- package/lib/component/1d/ranges/Range.js +3 -3
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +3 -4
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/tool/BaseLineZones.js.map +1 -1
- package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
- package/lib/component/1d/tool/PeakPointer.js +8 -7
- package/lib/component/1d/tool/PeakPointer.js.map +1 -1
- package/lib/component/1d/utilities/intersectionResolver.d.ts +4 -4
- package/lib/component/1d/utilities/intersectionResolver.d.ts.map +1 -1
- package/lib/component/1d/utilities/intersectionResolver.js.map +1 -1
- package/lib/component/1d/utilities/scale.js +1 -1
- package/lib/component/1d/utilities/scale.js.map +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js +2 -10
- package/lib/component/1d-2d/FieldEdition.js.map +1 -1
- package/lib/component/1d-2d/components/ClipPathContainer.d.ts +2 -3
- package/lib/component/1d-2d/components/ClipPathContainer.d.ts.map +1 -1
- package/lib/component/1d-2d/components/ClipPathContainer.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +24 -11
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js +4 -6
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js +0 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js +2 -2
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.js +2 -2
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js +2 -2
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts +2 -3
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts +8 -5
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.js +3 -3
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/SignalDeltaLine.d.ts +1 -1
- package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -1
- package/lib/component/2d/SignalDeltaLine.js +5 -2
- package/lib/component/2d/SignalDeltaLine.js.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.d.ts +8 -5
- package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.js +4 -4
- package/lib/component/2d/tools/XYLabelPointer.js.map +1 -1
- package/lib/component/2d/utilities/DimensionLayout.d.ts +8 -7
- package/lib/component/2d/utilities/DimensionLayout.d.ts.map +1 -1
- package/lib/component/2d/utilities/DimensionLayout.js +4 -4
- package/lib/component/2d/utilities/DimensionLayout.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +2 -0
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +5 -3
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/Signal.d.ts.map +1 -1
- package/lib/component/2d/zones/Signal.js +7 -8
- package/lib/component/2d/zones/Signal.js.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.d.ts +2 -2
- package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.js +1 -2
- package/lib/component/2d/zones/SignalCrosshair.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +24 -14
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/2d/zones/Zone.d.ts.map +1 -1
- package/lib/component/2d/zones/Zone.js +12 -11
- 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 +3 -2
- 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 +5 -3
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +11 -11
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/SVGTable.js.map +1 -1
- package/lib/component/assignment/AssignmentsContext.d.ts +1 -0
- package/lib/component/assignment/AssignmentsContext.d.ts.map +1 -1
- package/lib/component/assignment/AssignmentsContext.js +1 -0
- package/lib/component/assignment/AssignmentsContext.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/LoggerContext.d.ts.map +1 -1
- package/lib/component/context/LoggerContext.js.map +1 -1
- package/lib/component/context/PreferencesContext.d.ts +5 -1
- package/lib/component/context/PreferencesContext.d.ts.map +1 -1
- package/lib/component/context/PreferencesContext.js +3 -3
- package/lib/component/context/PreferencesContext.js.map +1 -1
- package/lib/component/context/ScaleContext.d.ts +3 -4
- package/lib/component/context/ScaleContext.d.ts.map +1 -1
- package/lib/component/context/ScaleContext.js.map +1 -1
- package/lib/component/context/SortSpectraContext.js +1 -1
- package/lib/component/context/SortSpectraContext.js.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts +8 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js +29 -2
- package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
- package/lib/component/elements/Alert.js.map +1 -1
- package/lib/component/elements/Button.js.map +1 -1
- package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
- package/lib/component/elements/D3Axis.js.map +1 -1
- package/lib/component/elements/DialogManager.d.ts +3 -4
- package/lib/component/elements/DialogManager.d.ts.map +1 -1
- package/lib/component/elements/DialogManager.js.map +1 -1
- package/lib/component/elements/EditableColumn.js.map +1 -1
- package/lib/component/elements/Input.js.map +1 -1
- package/lib/component/elements/Input2.d.ts +2 -1
- package/lib/component/elements/Input2.d.ts.map +1 -1
- package/lib/component/elements/Input2.js.map +1 -1
- package/lib/component/elements/InputRange.js.map +1 -1
- package/lib/component/elements/MoleculeSelection.js.map +1 -1
- package/lib/component/elements/NextPrev.d.ts +0 -1
- package/lib/component/elements/NextPrev.d.ts.map +1 -1
- package/lib/component/elements/NextPrev.js +5 -21
- package/lib/component/elements/NextPrev.js.map +1 -1
- package/lib/component/elements/NumberInput2.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +2 -2
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.d.ts +4 -4
- package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.js +2 -1
- package/lib/component/elements/ReactTable/ReactTable.js.map +1 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.js +2 -2
- package/lib/component/elements/ReactTable/utility/addCustomColumn.js.map +1 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts +2 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.js +5 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.js.map +1 -1
- package/lib/component/elements/ReadOnly.js.map +1 -1
- package/lib/component/elements/SVGButton.d.ts +2 -2
- package/lib/component/elements/SVGButton.d.ts.map +1 -1
- package/lib/component/elements/SVGButton.js +2 -1
- package/lib/component/elements/SVGButton.js.map +1 -1
- package/lib/component/elements/Sections.d.ts.map +1 -1
- package/lib/component/elements/Sections.js +1 -2
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/Select.d.ts +6 -6
- package/lib/component/elements/Select.d.ts.map +1 -1
- package/lib/component/elements/Select.js +5 -4
- package/lib/component/elements/Select.js.map +1 -1
- package/lib/component/elements/Select2.d.ts.map +1 -1
- package/lib/component/elements/Select2.js.map +1 -1
- package/lib/component/elements/Tab/Tab.js.map +1 -1
- package/lib/component/elements/Tab/Tabs.d.ts +2 -5
- package/lib/component/elements/Tab/Tabs.d.ts.map +1 -1
- package/lib/component/elements/Tab/Tabs.js +2 -7
- package/lib/component/elements/Tab/Tabs.js.map +1 -1
- package/lib/component/elements/TabTitle.js.map +1 -1
- package/lib/component/elements/TabsProvider.js.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.d.ts +4 -3
- package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.js +13 -5
- package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
- package/lib/component/elements/draggable/useDraggable.d.ts +2 -1
- package/lib/component/elements/draggable/useDraggable.d.ts.map +1 -1
- package/lib/component/elements/draggable/useDraggable.js +2 -2
- package/lib/component/elements/draggable/useDraggable.js.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.d.ts +2 -6
- package/lib/component/elements/dropDownButton/DropDownButton.d.ts.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.js +4 -4
- package/lib/component/elements/dropDownButton/DropDownButton.js.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownList.d.ts +3 -3
- package/lib/component/elements/dropDownButton/DropDownList.d.ts.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownList.js +3 -3
- package/lib/component/elements/dropDownButton/DropDownList.js.map +1 -1
- package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
- package/lib/component/elements/export/ExportManager.js +2 -2
- package/lib/component/elements/export/ExportManager.js.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/elements/export/units.d.ts.map +1 -1
- package/lib/component/elements/export/units.js.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts +2 -2
- package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
- package/lib/component/elements/pdnd.cjs +3 -1
- package/lib/component/elements/pdnd.cjs.map +1 -1
- package/lib/component/elements/pdnd.d.cts.map +1 -1
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.js +2 -2
- package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Zones2DOptionPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts +2 -18
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +1 -18
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/useActiveNucleusTab.d.ts +2 -0
- package/lib/component/hooks/useActiveNucleusTab.d.ts.map +1 -0
- package/lib/component/hooks/useActiveNucleusTab.js +6 -0
- package/lib/component/hooks/useActiveNucleusTab.js.map +1 -0
- package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts +2 -2
- package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.js +2 -1
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useDialogToggle.d.ts +1 -1
- package/lib/component/hooks/useDialogToggle.d.ts.map +1 -1
- package/lib/component/hooks/useDialogToggle.js +2 -7
- package/lib/component/hooks/useDialogToggle.js.map +1 -1
- package/lib/component/hooks/useFormatNumberByNucleus.d.ts.map +1 -1
- package/lib/component/hooks/useFormatNumberByNucleus.js +1 -1
- package/lib/component/hooks/useFormatNumberByNucleus.js.map +1 -1
- package/lib/component/hooks/useResizerStatus.d.ts +2 -2
- package/lib/component/hooks/useResizerStatus.d.ts.map +1 -1
- package/lib/component/hooks/useResizerStatus.js.map +1 -1
- package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.js +1 -9
- package/lib/component/hooks/useSaveSettings.js.map +1 -1
- package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
- package/lib/component/hooks/useTableSortBy.js +10 -16
- package/lib/component/hooks/useTableSortBy.js.map +1 -1
- package/lib/component/hooks/useToggleSpectraVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useToggleSpectraVisibility.js +2 -2
- package/lib/component/hooks/useToggleSpectraVisibility.js.map +1 -1
- package/lib/component/hooks/useToolsFunctions.d.ts +2 -1
- package/lib/component/hooks/useToolsFunctions.d.ts.map +1 -1
- package/lib/component/hooks/useToolsFunctions.js.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.js.map +1 -1
- package/lib/component/hooks/useXScale.d.ts +1 -1
- package/lib/component/hooks/useXScale.d.ts.map +1 -1
- package/lib/component/hooks/useXYReduce.d.ts +2 -6
- package/lib/component/hooks/useXYReduce.d.ts.map +1 -1
- package/lib/component/hooks/useXYReduce.js +1 -6
- package/lib/component/hooks/useXYReduce.js.map +1 -1
- package/lib/component/main/NMRiumViewer.js.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.js +2 -2
- package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
- package/lib/component/modal/ExportAsJcampModal.js.map +1 -1
- package/lib/component/modal/ImportPublicationStringModal.js +1 -1
- package/lib/component/modal/ImportPublicationStringModal.js.map +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 +1 -1
- package/lib/component/modal/LogsHistoryModal.js.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
- package/lib/component/modal/PredictSpectraModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +58 -23
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/SaveAsModal.js +3 -4
- package/lib/component/modal/SaveAsModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +8 -10
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModalContents.js.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +2 -2
- package/lib/component/modal/editRange/EditRangeModal.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +2 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js +2 -2
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
- package/lib/component/modal/editZone/EditZoneModal.d.ts +5 -0
- package/lib/component/modal/editZone/EditZoneModal.d.ts.map +1 -1
- package/lib/component/modal/editZone/EditZoneModal.js.map +1 -1
- package/lib/component/modal/editZone/SignalsForm.d.ts.map +1 -1
- package/lib/component/modal/editZone/SignalsForm.js +6 -2
- package/lib/component/modal/editZone/SignalsForm.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js +1 -0
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.js +15 -6
- package/lib/component/modal/setting/GeneralSettings.js.map +1 -1
- package/lib/component/modal/setting/WorkspaceItem.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +19 -10
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +3 -3
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +5 -5
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +1 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.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.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.js +4 -3
- package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +4 -2
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +34 -7
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/Utilities.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/Utilities.js +8 -2
- package/lib/component/panels/MoleculesPanel/Utilities.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js +4 -6
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/Panels.d.ts +2 -3
- package/lib/component/panels/Panels.d.ts.map +1 -1
- package/lib/component/panels/Panels.js +1 -1
- package/lib/component/panels/Panels.js.map +1 -1
- package/lib/component/panels/PanelsBar.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPanel.js +4 -4
- package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js +2 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesHeader.js +2 -2
- package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- 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 +4 -4
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.js +3 -3
- 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 +16 -17
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.js +1 -3
- package/lib/component/panels/SpectraPanel/SpectraTabs.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/processSnapPlot.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +3 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +2 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +9 -6
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +10 -11
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +18 -10
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +3 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +10 -11
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.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.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js.map +1 -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 +4 -5
- package/lib/component/panels/ZonesPanel/ZonesPanel.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTable.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
- package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
- package/lib/component/panels/accordionItems.d.ts.map +1 -1
- package/lib/component/panels/accordionItems.js +1 -2
- package/lib/component/panels/accordionItems.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +4 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js +6 -4
- package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +3 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +6 -6
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +4 -3
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/index.d.ts +2 -26
- package/lib/component/panels/filtersPanel/Filters/index.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/index.js +1 -0
- package/lib/component/panels/filtersPanel/Filters/index.js.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js +3 -2
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +9 -6
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +3 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionSimpleOptions.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulation.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpinSystemTable.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +11 -10
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts +7 -6
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +19 -19
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +12 -11
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +6 -5
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js +3 -3
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadActions.js +3 -0
- package/lib/component/reducer/actions/LoadActions.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +2 -1
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +2 -2
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +2 -2
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +20 -12
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +13 -24
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts +1 -1
- package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts.map +1 -1
- package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.js.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.d.ts +2 -8
- package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js +0 -6
- package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/helper/get2DRange.d.ts.map +1 -1
- package/lib/component/reducer/helper/get2DRange.js.map +1 -1
- package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -1
- package/lib/component/reducer/helper/getRange.d.ts.map +1 -1
- package/lib/component/reducer/helper/getRange.js.map +1 -1
- package/lib/component/reducer/helper/getSpectrum.d.ts +6 -3
- package/lib/component/reducer/helper/getSpectrum.d.ts.map +1 -1
- package/lib/component/reducer/helper/getSpectrum.js +1 -0
- package/lib/component/reducer/helper/getSpectrum.js.map +1 -1
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.d.ts +4 -0
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.d.ts.map +1 -0
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.js +10 -0
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.js.map +1 -0
- package/lib/component/reducer/preferences/actions/initPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts +2 -2
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/actions/togglePanel.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/togglePanel.js +6 -6
- package/lib/component/reducer/preferences/actions/togglePanel.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +11 -8
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js +3 -0
- package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts +2 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -2
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -1
- package/lib/component/toolbar/ToolBar.js +9 -9
- package/lib/component/toolbar/ToolBar.js.map +1 -1
- package/lib/component/toolbar/ToolTypes.d.ts +7 -2
- package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
- package/lib/component/toolbar/ToolTypes.js +2 -43
- package/lib/component/toolbar/ToolTypes.js.map +1 -1
- package/lib/component/toolbar/toolbarMenu.d.ts.map +1 -1
- package/lib/component/toolbar/toolbarMenu.js +25 -17
- package/lib/component/toolbar/toolbarMenu.js.map +1 -1
- package/lib/component/utility/Events.d.ts.map +1 -1
- package/lib/component/utility/Events.js.map +1 -1
- package/lib/component/utility/LocalStorage.d.ts.map +1 -1
- package/lib/component/utility/LocalStorage.js.map +1 -1
- package/lib/component/utility/export.d.ts +1 -1
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +8 -8
- package/lib/component/utility/export.js.map +1 -1
- package/lib/component/utility/extractChemicalElement.js +1 -1
- package/lib/component/utility/extractChemicalElement.js.map +1 -1
- package/lib/component/utility/formatNumber.d.ts +1 -1
- package/lib/component/utility/formatNumber.d.ts.map +1 -1
- package/lib/component/utility/forwardRef.d.ts +3 -0
- package/lib/component/utility/forwardRef.d.ts.map +1 -0
- package/lib/component/utility/forwardRef.js +6 -0
- package/lib/component/utility/forwardRef.js.map +1 -0
- package/lib/component/utility/getSpectraObjectPaths.d.ts +1 -1
- package/lib/component/utility/getSpectraObjectPaths.js.map +1 -1
- package/lib/component/utility/getUniqueNuclei.js.map +1 -1
- package/lib/component/utility/groupByInfoKey.d.ts +4 -0
- package/lib/component/utility/groupByInfoKey.d.ts.map +1 -0
- package/lib/component/utility/{GroupByInfoKey.js → groupByInfoKey.js} +8 -6
- package/lib/component/utility/groupByInfoKey.js.map +1 -0
- package/lib/component/utility/nucleusToString.d.ts.map +1 -1
- package/lib/component/utility/nucleusToString.js.map +1 -1
- package/lib/component/utility/renderCoreSlot.d.ts +8 -1
- package/lib/component/utility/renderCoreSlot.d.ts.map +1 -1
- package/lib/component/utility/renderCoreSlot.js +10 -2
- package/lib/component/utility/renderCoreSlot.js.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +16 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/PredictionManager.d.ts +1 -1
- package/lib/data/PredictionManager.d.ts.map +1 -1
- package/lib/data/PredictionManager.js +3 -2
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/SpectraManager.d.ts +2 -7
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +11 -11
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/constants/References.d.ts +4 -1
- package/lib/data/constants/References.d.ts.map +1 -1
- package/lib/data/constants/References.js +24 -22
- package/lib/data/constants/References.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/generateJGraphData.js +2 -1
- package/lib/data/data1d/Spectrum1D/generateJGraphData.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.js +2 -2
- package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js +3 -3
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts +4 -0
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.js +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +3 -3
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/createRange.js +1 -0
- package/lib/data/data1d/Spectrum1D/ranges/createRange.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +2 -0
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
- package/lib/data/data1d/database.js.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts +9 -15
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +30 -19
- 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 +2 -0
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js +2 -2
- package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZones.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZones.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts.map +1 -1
- package/lib/data/getFilterLabel.js +8 -2
- package/lib/data/getFilterLabel.js.map +1 -1
- package/lib/data/initiateFilters.d.ts +1 -2
- package/lib/data/initiateFilters.d.ts.map +1 -1
- package/lib/data/initiateFilters.js.map +1 -1
- package/lib/data/matrixGeneration.js.map +1 -1
- package/lib/data/molecules/MoleculeManager.d.ts +6 -0
- package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
- package/lib/data/molecules/MoleculeManager.js +11 -0
- package/lib/data/molecules/MoleculeManager.js.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
- package/lib/data/parseMeta/mapErrors.d.ts +1 -1
- package/lib/data/parseMeta/mapErrors.d.ts.map +1 -1
- package/lib/data/parseMeta/mapErrors.js.map +1 -1
- package/lib/data/types/data1d/index.js +1 -1
- package/lib/data/types/data1d/index.js.map +1 -1
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/data/utilities/FindUtilities.js +5 -0
- package/lib/data/utilities/FindUtilities.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js.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.map +1 -1
- package/lib/data/utilities/convertSpectraListToObject.d.ts.map +1 -1
- package/lib/data/utilities/convertSpectraListToObject.js.map +1 -1
- package/lib/data/utilities/getAtom.js +1 -1
- package/lib/data/utilities/getAtom.js.map +1 -1
- package/lib/data/utilities/getAtomsFromMF.js.map +1 -1
- package/lib/data/utilities/removeByPaths.js.map +1 -1
- package/lib/utils/clipboard/clipboardHooks.d.ts.map +1 -1
- package/lib/utils/clipboard/clipboardHooks.js +2 -0
- package/lib/utils/clipboard/clipboardHooks.js.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +62 -53
- package/src/component/1d/BrushTracker1D.tsx +8 -8
- package/src/component/1d/ExclusionZoneAnnotation.tsx +3 -3
- package/src/component/1d/FloatPublicationString.tsx +14 -13
- package/src/component/1d/FloatingRanges.tsx +5 -11
- package/src/component/1d/FooterBanner.tsx +2 -2
- package/src/component/1d/Line.tsx +2 -2
- package/src/component/1d/PredictionErrorsNotations.tsx +2 -2
- package/src/component/1d/SimilarityTree.tsx +2 -2
- package/src/component/1d/XAxis1D.tsx +3 -3
- package/src/component/1d/database/DatabaseElements.tsx +2 -5
- package/src/component/1d/database/DatabaseSpectrum.tsx +3 -6
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +3 -6
- package/src/component/1d/inset/DraggableInset.tsx +156 -73
- package/src/component/1d/inset/InsetViewerRoot.tsx +2 -1
- package/src/component/1d/integral/IntegralResizable.tsx +3 -3
- package/src/component/1d/jCouplingGraph/JGraph.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphContext.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +1 -1
- package/src/component/1d/matrix/Boxplot.tsx +10 -9
- package/src/component/1d/matrix/Stocsy.tsx +11 -8
- package/src/component/1d/multiAnalysis/AnalysisRange.tsx +1 -1
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -2
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +4 -7
- package/src/component/1d/peaks/PeakEditionManager.tsx +12 -6
- package/src/component/1d/peaks/Peaks.tsx +7 -7
- package/src/component/1d/ranges/Atoms.tsx +5 -1
- package/src/component/1d/ranges/Range.tsx +4 -3
- package/src/component/1d/ranges/Ranges.tsx +11 -12
- package/src/component/1d/tool/BaseLineZones.tsx +1 -1
- package/src/component/1d/tool/PeakPointer.tsx +8 -7
- package/src/component/1d/utilities/intersectionResolver.ts +11 -11
- package/src/component/1d/utilities/scale.ts +1 -1
- package/src/component/1d-2d/FieldEdition.tsx +7 -11
- package/src/component/1d-2d/components/ClipPathContainer.tsx +3 -1
- package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +38 -20
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +5 -6
- package/src/component/1d-2d/tools/CrossLinePointer.tsx +0 -1
- package/src/component/2d/1d-tracer/Left1DChart.tsx +2 -2
- package/src/component/2d/1d-tracer/Top1DChart.tsx +2 -2
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx +2 -5
- package/src/component/2d/BrushTracker2D.tsx +3 -2
- package/src/component/2d/FooterBanner.tsx +12 -6
- package/src/component/2d/SignalDeltaLine.tsx +5 -4
- package/src/component/2d/tools/XYLabelPointer.tsx +11 -5
- package/src/component/2d/utilities/DimensionLayout.ts +14 -14
- package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -0
- package/src/component/2d/utilities/scale.ts +8 -4
- package/src/component/2d/zones/Signal.tsx +16 -21
- package/src/component/2d/zones/SignalCrosshair.tsx +1 -3
- package/src/component/2d/zones/SignalsGuideLines.tsx +64 -23
- package/src/component/2d/zones/Zone.tsx +23 -18
- package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +5 -6
- package/src/component/EventsTrackers/BrushTracker.tsx +6 -6
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +15 -15
- package/src/component/EventsTrackers/MouseTracker.tsx +2 -2
- package/src/component/SVGTable.tsx +3 -3
- package/src/component/assignment/AssignmentsContext.ts +2 -0
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +2 -2
- package/src/component/context/LoggerContext.tsx +2 -2
- package/src/component/context/PreferencesContext.tsx +9 -4
- package/src/component/context/ScaleContext.tsx +3 -2
- package/src/component/context/SortSpectraContext.tsx +2 -2
- package/src/component/elements/ActionsButtonsPopover.tsx +64 -4
- package/src/component/elements/Alert.tsx +1 -1
- package/src/component/elements/Button.tsx +1 -1
- package/src/component/elements/ContextMenuBluePrint.tsx +2 -2
- package/src/component/elements/D3Axis.tsx +1 -1
- package/src/component/elements/DialogManager.tsx +3 -2
- package/src/component/elements/EditableColumn.tsx +1 -1
- package/src/component/elements/Input.tsx +2 -2
- package/src/component/elements/Input2.tsx +8 -14
- package/src/component/elements/InputRange.tsx +3 -3
- package/src/component/elements/MoleculeSelection.tsx +1 -1
- package/src/component/elements/NextPrev.tsx +5 -29
- package/src/component/elements/NumberInput2.tsx +2 -2
- package/src/component/elements/ReactTable/Elements/EmptyDataRow.tsx +1 -1
- package/src/component/elements/ReactTable/Elements/ReactTableHeader.tsx +2 -2
- package/src/component/elements/ReactTable/Elements/ReactTableRow.tsx +4 -6
- package/src/component/elements/ReactTable/ReactTable.tsx +11 -11
- package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +4 -3
- package/src/component/elements/ReactTable/utility/useRowSpan.ts +15 -9
- package/src/component/elements/ReadOnly.tsx +1 -1
- package/src/component/elements/SVGButton.tsx +11 -9
- package/src/component/elements/Sections.tsx +2 -4
- package/src/component/elements/Select.tsx +17 -18
- package/src/component/elements/Select2.tsx +1 -1
- package/src/component/elements/Tab/Tab.tsx +3 -3
- package/src/component/elements/Tab/Tabs.tsx +5 -8
- package/src/component/elements/TabTitle.tsx +1 -1
- package/src/component/elements/TabsProvider.tsx +1 -1
- package/src/component/elements/ToolbarPopoverItem.tsx +44 -9
- package/src/component/elements/draggable/useDraggable.ts +9 -9
- package/src/component/elements/dropDownButton/DropDownButton.tsx +6 -16
- package/src/component/elements/dropDownButton/DropDownList.tsx +5 -15
- package/src/component/elements/export/ExportManager.tsx +6 -3
- package/src/component/elements/export/ExportOptionsModal.tsx +2 -2
- package/src/component/elements/export/units.ts +1 -1
- package/src/component/elements/export/useExportConfigurer.tsx +3 -3
- package/src/component/elements/pdnd.cts +3 -1
- package/src/component/elements/print/PrintContent.tsx +1 -1
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +3 -2
- package/src/component/header/Header.tsx +1 -1
- package/src/component/header/RangesPickingOptionPanel.tsx +1 -1
- package/src/component/header/Zones2DOptionPanel.tsx +2 -2
- package/src/component/highlight/index.tsx +18 -22
- package/src/component/hooks/useActiveNucleusTab.ts +10 -0
- package/src/component/hooks/useActiveSpectrumZonesViewState.ts +1 -1
- package/src/component/hooks/useCheckToolsVisibility.ts +7 -4
- package/src/component/hooks/useDialogToggle.ts +10 -8
- package/src/component/hooks/useFormatNumberByNucleus.ts +4 -3
- package/src/component/hooks/useIntegralPath.ts +1 -1
- package/src/component/hooks/useResizerStatus.ts +2 -3
- package/src/component/hooks/useSVGUnitConverter.ts +1 -1
- package/src/component/hooks/useSaveSettings.tsx +3 -11
- package/src/component/hooks/useTableSortBy.tsx +15 -22
- package/src/component/hooks/useToggleSpectraVisibility.tsx +3 -7
- package/src/component/hooks/useToolsFunctions.ts +2 -2
- package/src/component/hooks/useTriggerNewAssignmentLabel.ts +1 -1
- package/src/component/hooks/useXScale.ts +1 -1
- package/src/component/hooks/useXYReduce.ts +3 -9
- package/src/component/main/NMRiumViewer.tsx +1 -1
- package/src/component/modal/EditPeakShapeModal.tsx +4 -8
- package/src/component/modal/ExportAsJcampModal.tsx +1 -1
- package/src/component/modal/ImportPublicationStringModal.tsx +10 -6
- package/src/component/modal/LoadJCAMPModal.tsx +1 -1
- package/src/component/modal/LogsHistoryModal.tsx +6 -5
- package/src/component/modal/MultipletAnalysisModal.tsx +1 -1
- package/src/component/modal/PredictSpectraModal.tsx +1 -1
- package/src/component/modal/PublicationStringModal.tsx +82 -42
- package/src/component/modal/SaveAsModal.tsx +8 -8
- package/src/component/modal/aboutUs/AboutUsModal.tsx +59 -54
- package/src/component/modal/changeSum/ChangeSumModalContents.tsx +2 -2
- package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
- package/src/component/modal/editRange/EditRangeModal.tsx +5 -8
- package/src/component/modal/editRange/forms/components/DeltaInput.tsx +3 -2
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +4 -9
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +5 -4
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +17 -14
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +17 -14
- package/src/component/modal/editZone/EditZoneModal.tsx +3 -3
- package/src/component/modal/editZone/SignalsForm.tsx +26 -9
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +8 -7
- package/src/component/modal/setting/GeneralSettings.tsx +51 -33
- package/src/component/modal/setting/WorkspaceItem.tsx +3 -3
- package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +19 -9
- package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +25 -17
- package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +18 -9
- package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +3 -2
- package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +21 -10
- package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +20 -13
- package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +13 -3
- package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +21 -12
- package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +7 -8
- package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +4 -3
- package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
- package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +2 -2
- package/src/component/panels/IntegralsPanel/IntegralTable.tsx +17 -13
- package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +2 -2
- package/src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx +8 -7
- package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +7 -7
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.tsx +17 -4
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +11 -2
- package/src/component/panels/MoleculesPanel/MoleculeHeader.tsx +2 -2
- package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +3 -2
- package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +46 -21
- package/src/component/panels/MoleculesPanel/Utilities.ts +10 -5
- package/src/component/panels/MoleculesPanel/useAtomAssignment.tsx +6 -12
- package/src/component/panels/Panels.tsx +5 -2
- package/src/component/panels/PanelsBar.tsx +3 -3
- package/src/component/panels/PeaksPanel/PeaksPanel.tsx +14 -14
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +2 -2
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +15 -13
- package/src/component/panels/RangesPanel/RangesHeader.tsx +3 -3
- package/src/component/panels/RangesPanel/RangesPanel.tsx +2 -2
- package/src/component/panels/RangesPanel/RangesPreferences.tsx +2 -2
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +6 -10
- package/src/component/panels/RangesPanel/TableColumns/CouplingColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.tsx +1 -2
- package/src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/hooks/useEditRangeModal.tsx +3 -3
- package/src/component/panels/RangesPanel/hooks/useMapRanges.ts +1 -1
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +2 -2
- package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +12 -11
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +27 -26
- package/src/component/panels/SpectraPanel/SpectraTabs.tsx +4 -5
- package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/ShowHideSpectrumButton.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +6 -5
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/processSnapPlot.ts +2 -2
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +26 -16
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +35 -23
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +32 -13
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +41 -31
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.tsx +1 -1
- package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +5 -5
- package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +4 -3
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +7 -5
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +17 -9
- package/src/component/panels/ZonesPanel/TableColumns/ActionsColumn.tsx +1 -1
- package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +1 -2
- package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +2 -2
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +1 -1
- package/src/component/panels/ZonesPanel/ZonesPanel.tsx +30 -22
- package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +2 -2
- package/src/component/panels/ZonesPanel/ZonesTable.tsx +1 -1
- package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +1 -1
- package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +2 -1
- package/src/component/panels/accordionItems.tsx +1 -2
- package/src/component/panels/databasePanel/DatabasePanel.tsx +17 -9
- package/src/component/panels/databasePanel/DatabasePreferences.tsx +2 -2
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +2 -2
- package/src/component/panels/databasePanel/DatabaseTable.tsx +16 -10
- package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +2 -2
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +9 -8
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +15 -10
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +4 -4
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -1
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +4 -4
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +5 -5
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +8 -8
- package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +7 -9
- package/src/component/panels/filtersPanel/Filters/index.tsx +3 -1
- package/src/component/panels/informationPanel/InformationEditionModal.tsx +12 -9
- package/src/component/panels/multipleAnalysisPanel/AlignSpectra.tsx +6 -6
- package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +7 -6
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +2 -2
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +19 -12
- package/src/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.tsx +9 -8
- package/src/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.tsx +10 -7
- package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +6 -4
- package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +1 -1
- package/src/component/panels/predictionPanel/PredictionPreferences.tsx +2 -2
- package/src/component/panels/predictionPanel/PredictionSimpleOptions.tsx +1 -1
- package/src/component/panels/spectrumSimulation/SpectrumSimulation.tsx +2 -2
- package/src/component/panels/spectrumSimulation/SpectrumSimulationPreferences.tsx +1 -1
- package/src/component/panels/spectrumSimulation/SpinSystemTable.tsx +6 -3
- package/src/component/reducer/Reducer.ts +13 -12
- package/src/component/reducer/actions/DomainActions.ts +45 -37
- package/src/component/reducer/actions/FiltersActions.ts +30 -23
- package/src/component/reducer/actions/InsetActions.ts +7 -10
- package/src/component/reducer/actions/IntegralsActions.ts +6 -5
- package/src/component/reducer/actions/LoadActions.ts +5 -2
- package/src/component/reducer/actions/MoleculeActions.ts +3 -1
- package/src/component/reducer/actions/PeaksActions.ts +5 -2
- package/src/component/reducer/actions/PreferencesActions.ts +2 -2
- package/src/component/reducer/actions/RangesActions.ts +15 -9
- package/src/component/reducer/actions/SpectraActions.ts +23 -18
- package/src/component/reducer/actions/ToolsActions.ts +30 -39
- package/src/component/reducer/actions/utilities/deepReplaceDiaIDs.ts +1 -1
- package/src/component/reducer/helper/Zoom1DManager.ts +3 -10
- package/src/component/reducer/helper/ZoomHistoryManager.ts +5 -5
- package/src/component/reducer/helper/get2DRange.ts +1 -1
- package/src/component/reducer/helper/getActiveSpectraAsObject.ts +1 -1
- package/src/component/reducer/helper/getRange.ts +1 -1
- package/src/component/reducer/helper/getSpectrum.ts +17 -4
- package/src/component/reducer/preferences/actions/changeExportAcsSettings.ts +19 -0
- package/src/component/reducer/preferences/actions/initPreferences.ts +3 -3
- package/src/component/reducer/preferences/actions/matrixGeneration.ts +7 -4
- package/src/component/reducer/preferences/actions/setPanelsPreferences.ts +9 -3
- package/src/component/reducer/preferences/actions/setPreferences.ts +1 -1
- package/src/component/reducer/preferences/actions/setWorkspace.ts +1 -1
- package/src/component/reducer/preferences/actions/togglePanel.ts +10 -7
- package/src/component/reducer/preferences/preferencesReducer.ts +24 -14
- package/src/component/reducer/preferences/utilities/initWorkspace.ts +2 -1
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +6 -2
- package/src/component/toolbar/ToolBar.tsx +14 -14
- package/src/component/toolbar/ToolTypes.ts +11 -52
- package/src/component/toolbar/toolbarMenu.tsx +25 -17
- package/src/component/utility/Events.tsx +6 -6
- package/src/component/utility/LocalStorage.ts +5 -5
- package/src/component/utility/export.ts +14 -13
- package/src/component/utility/extractChemicalElement.ts +1 -1
- package/src/component/utility/forwardRef.ts +10 -0
- package/src/component/utility/getSpectraObjectPaths.ts +1 -1
- package/src/component/utility/getUniqueNuclei.ts +1 -1
- package/src/component/utility/groupByInfoKey.ts +34 -0
- package/src/component/utility/nucleusToString.ts +1 -1
- package/src/component/utility/renderCoreSlot.tsx +12 -2
- package/src/component/utility/stackOverlappingLabels.ts +1 -1
- package/src/component/workspaces/workspaceDefaultProperties.ts +16 -0
- package/src/data/PredictionManager.ts +16 -14
- package/src/data/SpectraManager.ts +20 -15
- package/src/data/constants/References.ts +26 -25
- package/src/data/data1d/Spectrum1D/generateJGraphData.ts +2 -3
- package/src/data/data1d/Spectrum1D/get1DColor.ts +7 -3
- package/src/data/data1d/Spectrum1D/getReferenceShift.ts +8 -4
- package/src/data/data1d/Spectrum1D/isRangeAssigned.ts +2 -2
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +10 -4
- package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +1 -1
- package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/createRange.ts +1 -0
- package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +2 -0
- package/src/data/data1d/database.ts +2 -2
- package/src/data/data1d/multipleSpectraAnalysis.ts +57 -29
- package/src/data/data2d/Spectrum2D/contours.ts +3 -1
- package/src/data/data2d/Spectrum2D/get2DColor.ts +8 -4
- package/src/data/data2d/Spectrum2D/getMissingProjection.ts +1 -1
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -1
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +4 -2
- package/src/data/data2d/Spectrum2D/zones/detectZones.ts +4 -1
- package/src/data/data2d/Spectrum2D/zones/detectZonesManual.ts +4 -2
- package/src/data/data2d/Spectrum2D/zones/getDetectionZones.ts +2 -2
- package/src/data/getFilterLabel.ts +10 -2
- package/src/data/initiateFilters.ts +1 -5
- package/src/data/matrixGeneration.ts +1 -1
- package/src/data/molecules/MoleculeManager.ts +14 -0
- package/src/data/parseMeta/linkMetaWithSpectra.ts +3 -3
- package/src/data/parseMeta/mapErrors.ts +1 -1
- package/src/data/utilities/FindUtilities.ts +5 -0
- package/src/data/utilities/RangeUtilities.ts +1 -1
- package/src/data/utilities/ZoneUtilities.ts +5 -5
- package/src/data/utilities/convertSpectraListToObject.ts +2 -2
- package/src/data/utilities/getAtom.ts +1 -1
- package/src/data/utilities/getAtomsFromMF.ts +1 -1
- package/src/data/utilities/removeByPaths.ts +2 -2
- package/src/utils/clipboard/clipboardHooks.ts +5 -3
- package/src/versionInfo.ts +1 -1
- package/lib/component/utility/GroupByInfoKey.d.ts +0 -2
- package/lib/component/utility/GroupByInfoKey.d.ts.map +0 -1
- package/lib/component/utility/GroupByInfoKey.js.map +0 -1
- package/lib/component/utility/assert.d.ts +0 -2
- package/lib/component/utility/assert.d.ts.map +0 -1
- package/lib/component/utility/assert.js +0 -6
- package/lib/component/utility/assert.js.map +0 -1
- package/src/component/utility/GroupByInfoKey.ts +0 -29
- package/src/component/utility/assert.ts +0 -5
|
@@ -4,6 +4,7 @@ import { useEffect, useState } from 'react';
|
|
|
4
4
|
import { ResponsiveChart } from 'react-d3-utils';
|
|
5
5
|
import { BsArrowsMove } from 'react-icons/bs';
|
|
6
6
|
import { FaTimes } from 'react-icons/fa';
|
|
7
|
+
import { MolfileSvgRenderer } from 'react-ocl';
|
|
7
8
|
import OCLnmr from 'react-ocl-nmr';
|
|
8
9
|
import { Rnd } from 'react-rnd';
|
|
9
10
|
import { useDispatch } from '../../../context/DispatchContext.js';
|
|
@@ -87,29 +88,41 @@ export function DraggableStructure(props) {
|
|
|
87
88
|
const x = percentToPixel(xInPercent, 'x');
|
|
88
89
|
const y = percentToPixel(yInPercent, 'y');
|
|
89
90
|
if (isExportProcessStart) {
|
|
90
|
-
return (_jsx("g", { transform: `translate(${x} ${y})`, children: _jsx(DraggableMolecule, { width, height, ...props }) }));
|
|
91
|
+
return (_jsx("g", { transform: `translate(${x} ${y})`, children: _jsx(DraggableMolecule, { renderAsSVG: true, width, height, ...props }) }));
|
|
91
92
|
}
|
|
92
|
-
return (_jsxs(ReactRnd, { default: { x, y, width, height }, position: { x, y }, minWidth: 90, minHeight: 100, dragHandleClassName: "handle", enableUserSelectHack: false, bounds: viewerRef
|
|
93
|
+
return (_jsxs(ReactRnd, { default: { x, y, width, height }, position: { x, y }, minWidth: 90, minHeight: 100, dragHandleClassName: "handle", enableUserSelectHack: false, bounds: `#${viewerRef.id}`, style: { zIndex: 1 }, className: "draggable-molecule", onDragStart: () => setIsMoveActive(true), onResizeStop: (e, dir, eRef, { width, height }) => dragFloatMoleculeHandler({ width, height }), onDrag: (e, { x, y }) => {
|
|
93
94
|
handleDrag({ x, y });
|
|
94
95
|
}, onDragStop: (e, { x, y }) => {
|
|
95
96
|
dragFloatMoleculeHandler(convertPositionToPercent({ x, y }));
|
|
96
97
|
setIsMoveActive(false);
|
|
97
|
-
}, resizeHandleWrapperStyle: { backgroundColor: 'white' }, children: [_jsx(ActionsButtonsPopover, { buttons: actionsButtons, fill: true, positioningStrategy: "fixed", position: "top-left", direction: "row", targetProps: { style: { width: '100%', height: '100%' } }, space: 2, ...(isMoveActive && { isOpen: true }),
|
|
98
|
-
offset: {
|
|
99
|
-
data: { x, y },
|
|
100
|
-
},
|
|
101
|
-
}, children: _jsx("div", { className: "content", onDoubleClick: () => openMoleculeEditor(molecule), children: _jsx(ResponsiveChart, { children: ({ width, height }) => {
|
|
98
|
+
}, resizeHandleWrapperStyle: { backgroundColor: 'white' }, children: [_jsx(ActionsButtonsPopover, { buttons: actionsButtons, fill: true, positioningStrategy: "fixed", position: "top-left", direction: "row", targetProps: { style: { width: '100%', height: '100%' } }, space: 2, ...(isMoveActive && { isOpen: true }), x: x, y: y, children: _jsx("div", { className: "content", onDoubleClick: () => openMoleculeEditor(molecule), children: _jsx(ResponsiveChart, { children: ({ width, height }) => {
|
|
102
99
|
return _jsx(DraggableMolecule, { width, height, ...props });
|
|
103
100
|
} }) }) }), modal] }));
|
|
104
101
|
}
|
|
105
102
|
function DraggableMolecule(props) {
|
|
106
|
-
const { molecule, index, moleculeView, width, height } = props;
|
|
103
|
+
const { molecule, index, moleculeView, width, height, renderAsSVG = false, } = props;
|
|
107
104
|
const { currentDiaIDsToHighlight, handleOnAtomHover, handleOnClickAtom, assignedDiaIDsMerged, } = useAtomAssignment();
|
|
108
105
|
const highlightColor = useHighlightColor();
|
|
109
106
|
const dispatch = useDispatch();
|
|
110
|
-
|
|
107
|
+
const atomHighlightColor = currentDiaIDsToHighlight?.length > 0 ? '#ff000080' : highlightColor;
|
|
108
|
+
const baseProps = {
|
|
109
|
+
id: `molSVG${index || ''}`,
|
|
110
|
+
height,
|
|
111
|
+
width,
|
|
112
|
+
label: molecule.label,
|
|
113
|
+
labelFontSize: 15,
|
|
114
|
+
labelColor: 'rgb(0,0,0)',
|
|
115
|
+
molfile: molecule.molfile,
|
|
116
|
+
atomHighlightColor,
|
|
117
|
+
atomHighlightOpacity: 1,
|
|
118
|
+
showAtomNumber: moleculeView.showAtomNumber,
|
|
119
|
+
};
|
|
120
|
+
if (renderAsSVG) {
|
|
121
|
+
return _jsx(MolfileSvgRenderer, { ...baseProps });
|
|
122
|
+
}
|
|
123
|
+
return (_jsx(OCLnmr, { ...baseProps, setSelectedAtom: handleOnClickAtom, highlights: currentDiaIDsToHighlight?.length > 0
|
|
111
124
|
? currentDiaIDsToHighlight
|
|
112
|
-
: assignedDiaIDsMerged, setHoverAtom: handleOnAtomHover, setMolfile: (molfile) => {
|
|
125
|
+
: assignedDiaIDsMerged, atomHighlightStrategy: "prefer-editor-props", setHoverAtom: handleOnAtomHover, setMolfile: (molfile) => {
|
|
113
126
|
dispatch({
|
|
114
127
|
type: 'SET_MOLECULE',
|
|
115
128
|
payload: {
|
|
@@ -118,6 +131,6 @@ function DraggableMolecule(props) {
|
|
|
118
131
|
label: molecule.label,
|
|
119
132
|
},
|
|
120
133
|
});
|
|
121
|
-
}
|
|
134
|
+
} }));
|
|
122
135
|
}
|
|
123
136
|
//# sourceMappingURL=DraggableStructure.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraggableStructure.js","sourceRoot":"","sources":["../../../../../src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DraggableStructure.js","sourceRoot":"","sources":["../../../../../src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAOhC,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AACnF,OAAO,i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C1B,MAAM;QACN,KAAK;QACL,KAAK,EAAE,QAAQ,CAAC,KAAK;QACrB,aAAa,EAAE,EAAE;QACjB,UAAU,EAAE,YAAY;QACxB,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,kBAAkB;QAClB,oBAAoB,EAAE,CAAC;QACvB,cAAc,EAAE,YAAY,CAAC,cAAc;KAC5C,CAAC;IAEF,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,KAAC,kBAAkB,OAAK,SAAS,GAAI,CAAC;IAC/C,CAAC;IAED,OAAO,CACL,KAAC,MAAM,OACD,SAAS,EACb,eAAe,EAAE,iBAAiB,EAClC,UAAU,EACR,wBAAwB,EAAE,MAAM,GAAG,CAAC;YAClC,CAAC,CAAC,wBAAwB;YAC1B,CAAC,CAAC,oBAAoB,EAE1B,qBAAqB,EAAC,qBAAqB,EAC3C,YAAY,EAAE,iBAAiB,EAC/B,UAAU,EAAE,CAAC,OAAO,EAAE,EAAE;YACtB,QAAQ,CAAC;gBACP,IAAI,EAAE,cAAc;gBACpB,OAAO,EAAE;oBACP,OAAO;oBACP,EAAE,EAAE,QAAQ,CAAC,EAAE;oBACf,KAAK,EAAE,QAAQ,CAAC,KAAK;iBACtB;aACF,CAAC,CAAC;QACL,CAAC,GACD,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
+
import { assert } from 'react-science/ui';
|
|
3
4
|
import { useChartData } from '../../../context/ChartContext.js';
|
|
4
5
|
import useSpectrum from '../../../hooks/useSpectrum.js';
|
|
5
|
-
import { assert } from '../../../utility/assert.js';
|
|
6
6
|
import { DraggableStructure } from './DraggableStructure.js';
|
|
7
7
|
function FloatMoleculesInner(props) {
|
|
8
8
|
const { zones, ranges, moleculesView, molecules, activeTab, displayerMode } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FloatMolecules.js","sourceRoot":"","sources":["../../../../../src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FloatMolecules.js","sourceRoot":"","sources":["../../../../../src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAO1C,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,WAAW,MAAM,+BAA+B,CAAC;AAGxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAW7D,SAAS,mBAAmB,CAAC,KAAmC;IAC9D,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,EAAE,aAAa,EAAE,GACzE,KAAK,CAAC;IAER,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,CAAe,aAAa,CAAC,CAAC;IAEtE,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAEhD,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,MAAM,CAC/C,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CACpC,CAAC;IAEF,OAAO,gBAAgB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,YAAY,CAAC,EAAE,KAAK,EAAE,EAAE;QACxD,MAAM,QAAQ,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QACpD,MAAM,CAAC,QAAQ,KAAK,SAAS,EAAE,4BAA4B,CAAC,CAAC;QAC7D,OAAO,CACL,KAAC,kBAAkB,IAGf,KAAK;YACL,MAAM;YACN,SAAS;YACT,aAAa;YACb,YAAY;YACZ,QAAQ;YACR,KAAK,IARF,EAAE,CAUP,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,sBAAsB,GAAG,IAAI,CAAC,mBAAmB,CAAC,CAAC;AACzD,MAAM,SAAS,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;AAE5C,MAAM,UAAU,cAAc;IAC5B,MAAM,EACJ,SAAS,EACT,aAAa,EACb,IAAI,EAAE,EACJ,SAAS,EAAE,aAAa,EACxB,OAAO,EAAE,EAAE,SAAS,EAAE,GACvB,GACF,GAAG,YAAY,EAAE,CAAC;IAEnB,MAAM,IAAI,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC;IACpC,MAAM,MAAM,GAAY,IAAmB,EAAE,MAAM,IAAI,EAAE,CAAC;IAC1D,MAAM,KAAK,GAAW,IAAmB,EAAE,KAAK,IAAI,EAAE,CAAC;IAEvD,OAAO,CACL,KAAC,sBAAsB,IAEnB,aAAa;QACb,SAAS;QACT,aAAa;QACb,SAAS;QACT,MAAM;QACN,KAAK,GAEP,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpectrumInfoBlock.d.ts","sourceRoot":"","sources":["../../../../src/component/1d-2d/components/SpectrumInfoBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpectrumInfoBlock.d.ts","sourceRoot":"","sources":["../../../../src/component/1d-2d/components/SpectrumInfoBlock.tsx"],"names":[],"mappings":"AAsEA,iBAAS,iBAAiB,mDAiKzB;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { useState } from 'react';
|
|
|
4
4
|
import { useResizeObserver } from 'react-d3-utils';
|
|
5
5
|
import { BsArrowsMove } from 'react-icons/bs';
|
|
6
6
|
import { FaTimes } from 'react-icons/fa';
|
|
7
|
+
import { useIsInset } from "../../1d/inset/InsetProvider.js";
|
|
7
8
|
import { useChartData } from '../../context/ChartContext.js';
|
|
8
9
|
import { useGlobal } from '../../context/GlobalContext.js';
|
|
9
10
|
import { usePreferences } from '../../context/PreferencesContext.js';
|
|
@@ -57,6 +58,7 @@ function SpectrumInfoBlock() {
|
|
|
57
58
|
const coordinate = useInfoPosition(margin);
|
|
58
59
|
const { dispatch } = usePreferences();
|
|
59
60
|
const [isMoveActive, setIsMoveActive] = useState(false);
|
|
61
|
+
const isInset = useIsInset();
|
|
60
62
|
const [currentPosition, setCurrentPosition] = useState(coordinate);
|
|
61
63
|
const { current: { infoBlock: { visible, fields }, }, } = usePreferences();
|
|
62
64
|
const infoFields = fields.filter((field) => field.visible);
|
|
@@ -102,7 +104,7 @@ function SpectrumInfoBlock() {
|
|
|
102
104
|
},
|
|
103
105
|
parentElement: viewerRef,
|
|
104
106
|
});
|
|
105
|
-
if (!visible || !spectrum)
|
|
107
|
+
if (!visible || !spectrum || isInset)
|
|
106
108
|
return null;
|
|
107
109
|
const bothSidePadding = boxPadding * 2;
|
|
108
110
|
const shift = dragShiftY / 2;
|
|
@@ -144,11 +146,7 @@ function SpectrumInfoBlock() {
|
|
|
144
146
|
title: 'Hide information block',
|
|
145
147
|
},
|
|
146
148
|
];
|
|
147
|
-
return (_jsx(ActionsButtonsPopover, { targetTagName: "g", buttons: actionsButtons, positioningStrategy: "fixed", position: "top-left", direction: "row", space: 2, ...(isMoveActive && { isOpen: true }),
|
|
148
|
-
offset: {
|
|
149
|
-
data: { x, y },
|
|
150
|
-
},
|
|
151
|
-
}, children: _jsxs("g", { className: "spectra-info-block", transform: `translate(${x} ${y})`, children: [_jsx("rect", { "data-no-export": "true", x: -boxPadding, y: -boxPadding + totalSpace, width: finalBoxWidth, height: finalBoxHeight, rx: "5", fill: isMoveActive ? 'white' : 'transparent', opacity: isMoveActive ? 0.9 : 0 }), _jsx("g", { ref: ref, children: infoFields.map((field, index) => {
|
|
149
|
+
return (_jsx(ActionsButtonsPopover, { targetTagName: "g", buttons: actionsButtons, positioningStrategy: "fixed", position: "top-left", direction: "row", space: 2, ...(isMoveActive && { isOpen: true }), x: x, y: y, children: _jsxs("g", { className: "spectra-info-block", transform: `translate(${x} ${y})`, children: [_jsx("rect", { "data-no-export": "true", x: -boxPadding, y: -boxPadding + totalSpace, width: finalBoxWidth, height: finalBoxHeight, rx: "5", fill: isMoveActive ? 'white' : 'transparent', opacity: isMoveActive ? 0.9 : 0 }), _jsx("g", { ref: ref, children: infoFields.map((field, index) => {
|
|
152
150
|
return (_jsxs(SVGGroup, { transform: `translate(0,${20 * (index + 1)})`, space: verticalSpace, children: [_jsxs("text", { alignmentBaseline: "middle", style: styles.label, children: [field.label, " :"] }), _jsx("text", { alignmentBaseline: "middle", style: styles.value, children: getInfoValue(spectrum, field) })] }, field.jpath + field.label));
|
|
153
151
|
}) })] }) }));
|
|
154
152
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpectrumInfoBlock.js","sourceRoot":"","sources":["../../../../src/component/1d-2d/components/SpectrumInfoBlock.tsx"],"names":[],"mappings":";AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAErE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,YAA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AC,KAAK,GAAG,KAAK,CAAC,KAAK,CAQrB,CACZ,CAAC;oBACJ,CAAC,CAAC,GACA,IACF,GACkB,CACzB,CAAC;AACJ,CAAC;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CrossLinePointer.d.ts","sourceRoot":"","sources":["../../../../src/component/1d-2d/tools/CrossLinePointer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CrossLinePointer.d.ts","sourceRoot":"","sources":["../../../../src/component/1d-2d/tools/CrossLinePointer.tsx"],"names":[],"mappings":"AAqCA,iBAAS,gBAAgB,mDA4DxB;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CrossLinePointer.js","sourceRoot":"","sources":["../../../../src/component/1d-2d/tools/CrossLinePointer.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,MAAM,MAAM,GAAkC;IAC5C,IAAI,EAAE;QACJ,MAAM,EAAE,OAAO;QACf,aAAa,EAAE,CAAC;QAChB,cAAc,EAAE,YAAY;QAC5B,WAAW,EAAE,GAAG;QAChB,UAAU,EAAE,WAAW;KACxB;CACF,CAAC;AAEF,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC;IACzB,OAAO,CAAC,IAAI,CAAC,EAAE;IACf,OAAO,CAAC,WAAW,CAAC,EAAE;IACtB,OAAO,CAAC,qBAAqB,CAAC,EAAE;IAChC,OAAO,CAAC,qBAAqB,CAAC,EAAE;IAChC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"CrossLinePointer.js","sourceRoot":"","sources":["../../../../src/component/1d-2d/tools/Cr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,WAAW,CAmCX,CACP,CAAC;AACJ,CAAC;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from 'react';
|
|
3
3
|
import { useChartData } from '../../context/ChartContext.js';
|
|
4
|
-
import useXYReduce
|
|
4
|
+
import useXYReduce from '../../hooks/useXYReduce.js';
|
|
5
5
|
import { PathBuilder } from '../../utility/PathBuilder.js';
|
|
6
6
|
import { use1DTraceYScale, useScale2DY } from '../utilities/scale.js';
|
|
7
7
|
function usePath(spectrum, options) {
|
|
8
8
|
const { width, horizontalMargin = 10 } = options;
|
|
9
9
|
const scaleX = useScale2DY();
|
|
10
10
|
const scaleY = use1DTraceYScale(spectrum.id, width, horizontalMargin);
|
|
11
|
-
const xyReduce = useXYReduce(
|
|
11
|
+
const xyReduce = useXYReduce('YAxis');
|
|
12
12
|
const { x, re: y } = spectrum.data;
|
|
13
13
|
const pathPoints = xyReduce({ x, y });
|
|
14
14
|
const pathBuilder = new PathBuilder();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Left1DChart.js","sourceRoot":"","sources":["../../../../src/component/2d/1d-tracer/Left1DChart.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,WAAW,
|
|
1
|
+
{"version":3,"file":"Left1DChart.js","sourceRoot":"","sources":["../../../../src/component/2d/1d-tracer/Left1DChart.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,gBA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,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CAAC;IAExD,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC;IAE1B,MAAM,IAAI,GAAG,OAAO,CAAC,QAAQ,EAAE,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,CAAC;IAE5D,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC;IAExD,IAAI,CAAC,WAAW,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IAExC,OAAO,CACL,eACE,OAAO,EAAE,OAAO,KAAK,IAAI,WAAW,GAAG,MAAM,CAAC,GAAG,EAAE,EACnD,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,WAAW,GAAG,MAAM,CAAC,GAAG,aAEhC,yBACE,mBAAU,EAAE,EAAE,GAAG,YAAY,WAAW,YACtC,eAAM,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,EAAC,GAAG,EAAC,CAAC,EAAE,MAAM,CAAC,GAAG,GAAI,GACvD,GACN,EACP,YAAG,QAAQ,EAAE,QAAQ,YAAY,YAAY,YAC3C,eACE,SAAS,EAAC,MAAM,EAChB,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,EAC9B,IAAI,EAAC,MAAM,EACX,CAAC,EAAE,IAAI,GACP,GACA,IACA,CACP,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from 'react';
|
|
3
3
|
import { useChartData } from '../../context/ChartContext.js';
|
|
4
|
-
import useXYReduce
|
|
4
|
+
import useXYReduce from '../../hooks/useXYReduce.js';
|
|
5
5
|
import { PathBuilder } from '../../utility/PathBuilder.js';
|
|
6
6
|
import { use1DTraceYScale, useScale2DX } from '../utilities/scale.js';
|
|
7
7
|
function usePath(spectrum, options) {
|
|
8
8
|
const { height, verticalMargin = 10 } = options;
|
|
9
9
|
const scaleX = useScale2DX();
|
|
10
10
|
const scaleY = use1DTraceYScale(spectrum.id, height, verticalMargin);
|
|
11
|
-
const xyReduce = useXYReduce(
|
|
11
|
+
const xyReduce = useXYReduce('XAxis');
|
|
12
12
|
const { x, re: y } = spectrum.data;
|
|
13
13
|
const pathPoints = xyReduce({ x, y });
|
|
14
14
|
const pathBuilder = new PathBuilder();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Top1DChart.js","sourceRoot":"","sources":["../../../../src/component/2d/1d-tracer/Top1DChart.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,WAAW,
|
|
1
|
+
{"version":3,"file":"Top1DChart.js","sourceRoot":"","sources":["../../../../src/component/2d/1d-tracer/Top1DChart.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAYtE,SAAS,OAAO,CAAC,QAAoB,EAAE,OAAuB;IAC5D,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;IAChD,MAAM,MAAM,GAAG,WAAW,EAAE,CAAC;IAC7B,MAAM,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,cAAc,CAAC,CAAC;IACrE,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IAEtC,MAAM,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E,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,aAClE,yBACE,mBAAU,EAAE,EAAE,GAAG,YAAY,UAAU,YACrC,eAAM,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC,EAAC,GAAG,GAAG,GACxD,GACN,EACP,YAAG,QAAQ,EAAE,QAAQ,YAAY,WAAW,YAC1C,eACE,SAAS,EAAC,MAAM,EAChB,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,EAC9B,IAAI,EAAC,MAAM,EACX,WAAW,EAAC,KAAK,EACjB,CAAC,EAAE,IAAI,GACP,GACA,IACA,CACP,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalSliceChart.js","sourceRoot":"","sources":["../../../../src/component/2d/1d-tracer/VerticalSliceChart.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAepE,SAAS,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"VerticalSliceChart.js","sourceRoot":"","sources":["../../../../src/component/2d/1d-tracer/VerticalSliceChart.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,WAAW,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAepE,SAAS,OAAO,CAAC,IAAS,EAAE,KAAqB;IAC/C,MAAM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AAM,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CAAC;IAExD,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC;IAE1B,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,CAAC,CAAC;IAEjE,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC;IAExD,OAAO,CACL,eAAK,OAAO,EAAE,OAAO,MAAM,IAAI,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,aACpE,yBACE,mBAAU,EAAE,EAAE,GAAG,YAAY,WAAW,YACtC,eAAM,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,EAAC,GAAG,EAAC,CAAC,EAAE,MAAM,CAAC,GAAG,GAAI,GACvD,GACN,EACP,YAAG,QAAQ,EAAE,QAAQ,YAAY,YAAY,YAC3C,eAAM,SAAS,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAE,IAAI,GAAI,GACzD,IACA,CACP,CAAC;AACJ,CAAC;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpectraPhaseTraces.d.ts","sourceRoot":"","sources":["../../../../../src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpectraPhaseTraces.d.ts","sourceRoot":"","sources":["../../../../../src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx"],"names":[],"mappings":"AAsBA,wBAAgB,kBAAkB,8CAajC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
3
|
import { useChartData } from '../../../context/ChartContext.js';
|
|
4
|
-
import {
|
|
4
|
+
import { useHighlight } from '../../../highlight/index.js';
|
|
5
5
|
import { SpectrumPhaseTrace } from './SpectrumPhaseTrace.js';
|
|
6
6
|
import { useActivePhaseTraces } from './useActivePhaseTraces.js';
|
|
7
7
|
const BOX_SIZE = 20;
|
|
@@ -22,7 +22,7 @@ function PhaseTrace(props) {
|
|
|
22
22
|
const { width, height, margin } = useChartData();
|
|
23
23
|
const { spectrum: { x, y, id }, direction, } = props;
|
|
24
24
|
const highlight = useHighlight([id], {
|
|
25
|
-
type:
|
|
25
|
+
type: 'PHASE_CORRECTION_TRACE',
|
|
26
26
|
extra: { id },
|
|
27
27
|
});
|
|
28
28
|
const innerHeight = height - margin.top - margin.bottom;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpectraPhaseTraces.js","sourceRoot":"","sources":["../../../../../src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,
|
|
1
|
+
{"version":3,"file":"SpectraPhaseTraces.js","sourceRoot":"","sources":["../../../../../src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAM3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAA;;;;;;CAMvB,CAAC;AAEF,MAAM,UAAU,kBAAkB;IACh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K,EAAE,GAAG,UAAU,IAAI,EACxB,MAAM,EAAE,GAAG,QAAQ,IAAI,GACvB,CACH,EACA,SAAS,KAAK,UAAU,IAAI,CAC3B,KAAC,IAAI,IACH,CAAC,EAAE,MAAM,CAAC,GAAG,EACb,CAAC,EAAE,UAAU,EACb,KAAK,EAAE,GAAG,QAAQ,IAAI,EACtB,MAAM,EAAE,WAAW,GACnB,CACH,IACkB,CACtB,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
|
+
export declare function BrushTracker2D({ children }: Required<PropsWithChildren>): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=BrushTracker2D.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrushTracker2D.d.ts","sourceRoot":"","sources":["../../../src/component/2d/BrushTracker2D.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BrushTracker2D.d.ts","sourceRoot":"","sources":["../../../src/component/2d/BrushTracker2D.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AA4D/C,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,iBAAiB,CAAC,2CAgNvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrushTracker2D.js","sourceRoot":"","sources":["../../../src/component/2d/BrushTracker2D.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"BrushTracker2D.js","sourceRoot":"","sources":["../../../src/component/2d/BrushTracker2D.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAW5C,OAAO,EACL,YAAY,EACZ,cAAc,GACf,MAAM,mCAAmC,CAAC;AAC3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AM,CAAC;YACN,QAAQ,YAAY,EAAE,CAAC;gBACrB,KAAK,8BAA8B;oBACjC,QAAQ,CAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;oBACpE,MAAM;gBACR;oBACE,MAAM;YACV,CAAC;QACH,CAAC;IACH,CAAC,EACD,CAAC,YAAY,EAAE,QAAQ,CAAC,CACzB,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,IACX,gBAAgB,EAAE,gBAAgB,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,EAC3D,OAAO,EAAE,WAAW,EACpB,UAAU,EAAE,cAAc,EAC1B,aAAa,EAAE,mBAAmB,EAClC,OAAO,EAAE,UAAU,EACnB,MAAM,EAAE,UAAU,EAClB,qBAAqB,EAAE,qBAAqB,EAC5C,KAAK,EAAE;YACL,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;YACd,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,QAAQ;SACnB,YAEA,QAAQ,GACI,CAChB,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
2
|
+
import type { Get2DDimensionLayoutReturn } from './utilities/DimensionLayout.js';
|
|
3
|
+
interface FooterBannerProps {
|
|
4
|
+
layout: Get2DDimensionLayoutReturn;
|
|
5
|
+
data1D: Spectrum1D[];
|
|
6
|
+
}
|
|
7
|
+
export default function FooterBanner(props: FooterBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
6
9
|
//# sourceMappingURL=FooterBanner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FooterBanner.d.ts","sourceRoot":"","sources":["../../../src/component/2d/FooterBanner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FooterBanner.d.ts","sourceRoot":"","sources":["../../../src/component/2d/FooterBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAkBxD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAIjF,UAAU,iBAAiB;IACzB,MAAM,EAAE,0BAA0B,CAAC;IACnC,MAAM,EAAE,UAAU,EAAE,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAoP5D"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { xFindClosestIndex } from 'ml-spectra-processing';
|
|
3
3
|
import { Fragment, useMemo } from 'react';
|
|
4
4
|
import { MF } from 'react-mf';
|
|
5
|
-
import { get1DDataXY } from '../../data/data1d/Spectrum1D/
|
|
5
|
+
import { get1DDataXY } from '../../data/data1d/Spectrum1D/index.js';
|
|
6
6
|
import { isFid2DData, isSpectrum2D, } from '../../data/data2d/Spectrum2D/isSpectrum2D.js';
|
|
7
7
|
import { useBrushTracker } from '../EventsTrackers/BrushTracker.js';
|
|
8
8
|
import { useMouseTracker } from '../EventsTrackers/MouseTracker.js';
|
|
@@ -13,7 +13,8 @@ import { useFormatNumberByNucleus } from '../hooks/useFormatNumberByNucleus.js';
|
|
|
13
13
|
import { options } from '../toolbar/ToolTypes.js';
|
|
14
14
|
import { LAYOUT, getLayoutID } from './utilities/DimensionLayout.js';
|
|
15
15
|
import { get1DYScale, get2DXScale, get2DYScale } from './utilities/scale.js';
|
|
16
|
-
function FooterBanner(
|
|
16
|
+
export default function FooterBanner(props) {
|
|
17
|
+
const { layout, data1D } = props;
|
|
17
18
|
const position = useMouseTracker();
|
|
18
19
|
const { startX, endX, startY, endY, step, mouseButton } = useBrushTracker();
|
|
19
20
|
const { margin, width, height, xDomain, yDomain, yDomains, view: { spectra: { activeTab }, }, data: spectra, toolOptions: { selectedTool }, mode, } = useChartData();
|
|
@@ -186,5 +187,4 @@ function FooterBanner({ layout, data1D }) {
|
|
|
186
187
|
const isBrushing = step === 'brushing' && mouseButton === 'main';
|
|
187
188
|
return (_jsxs(FooterContainer, { children: [_jsxs(InfoItem, { children: [_jsxs(InfoItem.Label, { children: [getLabel('F2', 'X', nuclei[0]), " :"] }), _jsx(InfoItem.Value, { children: formatX(getXValue()) }), _jsx(InfoItem.Unit, { children: "ppm" })] }), _jsxs(InfoItem, { children: [_jsxs(InfoItem.Label, { children: [getLabel('F1', 'Y', nuclei[1]), " :"] }), _jsx(InfoItem.Value, { children: formatY(getYValue()) }), _jsx(InfoItem.Unit, { children: "ppm" })] }), _jsxs(InfoItem, { autoHide: true, children: [_jsx(InfoItem.Label, { children: "Intensity :" }), _jsx(InfoItem.Value, { children: getZValue() })] }), isBrushing && (_jsxs(InfoItem, { autoHide: true, children: [_jsx(InfoItem.Label, { children: " \u0394ppm :" }), _jsx(InfoItem.Value, { children: getDeltaX() })] })), isBrushing && (_jsxs(InfoItem, { autoHide: true, children: [_jsx(InfoItem.Label, { children: " ratio :" }), _jsxs(InfoItem.Value, { children: [getRation(), "%"] })] }))] }));
|
|
188
189
|
}
|
|
189
|
-
export default FooterBanner;
|
|
190
190
|
//# sourceMappingURL=FooterBanner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FooterBanner.js","sourceRoot":"","sources":["../../../src/component/2d/FooterBanner.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"FooterBanner.js","sourceRoot":"","sources":["../../../src/component/2d/FooterBanner.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,EAAE,E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KAAC,QAAQ,CAAC,IAAI,sBAAoB,IACzB,EACX,MAAC,QAAQ,IAAC,QAAQ,mBAChB,KAAC,QAAQ,CAAC,KAAK,8BAA6B,EAC5C,KAAC,QAAQ,CAAC,KAAK,cAAE,SAAS,EAAE,GAAkB,IACrC,EACV,UAAU,IAAI,CACb,MAAC,QAAQ,IAAC,QAAQ,mBAChB,KAAC,QAAQ,CAAC,KAAK,+BAAyB,EACxC,KAAC,QAAQ,CAAC,KAAK,cAAE,SAAS,EAAE,GAAkB,IACrC,CACZ,EAEA,UAAU,IAAI,CACb,MAAC,QAAQ,IAAC,QAAQ,mBAChB,KAAC,QAAQ,CAAC,KAAK,2BAA0B,EACzC,MAAC,QAAQ,CAAC,KAAK,eAAE,SAAS,EAAE,SAAmB,IACtC,CACZ,IACe,CACnB,CAAC;AACJ,CAAC"}
|
|
@@ -3,6 +3,6 @@ interface SignalDeltaLineProps {
|
|
|
3
3
|
axis: 'X' | 'Y';
|
|
4
4
|
show: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare function SignalDeltaLine(
|
|
6
|
+
declare function SignalDeltaLine(props: SignalDeltaLineProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
7
|
export default SignalDeltaLine;
|
|
8
8
|
//# sourceMappingURL=SignalDeltaLine.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalDeltaLine.d.ts","sourceRoot":"","sources":["../../../src/component/2d/SignalDeltaLine.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignalDeltaLine.d.ts","sourceRoot":"","sources":["../../../src/component/2d/SignalDeltaLine.tsx"],"names":[],"mappings":"AAaA,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;CACf;AAED,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,kDA8BnD;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import styled from '@emotion/styled';
|
|
3
|
+
import { assert } from 'react-science/ui';
|
|
3
4
|
import { useChartData } from '../context/ChartContext.js';
|
|
4
5
|
import { useScale2DX, useScale2DY } from './utilities/scale.js';
|
|
5
6
|
const SignalLine = styled.line `
|
|
@@ -7,7 +8,8 @@ const SignalLine = styled.line `
|
|
|
7
8
|
stroke: green;
|
|
8
9
|
stroke-width: 2;
|
|
9
10
|
`;
|
|
10
|
-
function SignalDeltaLine(
|
|
11
|
+
function SignalDeltaLine(props) {
|
|
12
|
+
const { delta, axis, show } = props;
|
|
11
13
|
const { xDomain, yDomain } = useChartData();
|
|
12
14
|
const scaleX = useScale2DX();
|
|
13
15
|
const scaleY = useScale2DY();
|
|
@@ -16,7 +18,8 @@ function SignalDeltaLine({ delta, axis, show }) {
|
|
|
16
18
|
if (axis === 'X') {
|
|
17
19
|
return (_jsx(SignalLine, { x1: scaleX(delta), x2: scaleX(delta), y1: scaleY(yDomain[0]), y2: scaleY(yDomain[1]) }, `signalLine_${delta}_X`));
|
|
18
20
|
}
|
|
19
|
-
|
|
21
|
+
else {
|
|
22
|
+
assert(axis === 'Y');
|
|
20
23
|
return (_jsx(SignalLine, { x1: scaleX(xDomain[0]), x2: scaleX(xDomain[1]), y1: scaleY(delta), y2: scaleY(delta) }, `signalLine_${delta}_Y`));
|
|
21
24
|
}
|
|
22
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalDeltaLine.js","sourceRoot":"","sources":["../../../src/component/2d/SignalDeltaLine.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"SignalDeltaLine.js","sourceRoot":"","sources":["../../../src/component/2d/SignalDeltaLine.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,O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Ae,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import type { Spectrum1D } from '@zakodium/nmrium-core';
|
|
2
|
+
import type { Get2DDimensionLayoutReturn } from '../utilities/DimensionLayout.js';
|
|
3
|
+
interface XYLabelPointerProps {
|
|
4
|
+
layout: Get2DDimensionLayoutReturn;
|
|
5
|
+
data1D: Spectrum1D[];
|
|
6
|
+
}
|
|
7
|
+
export default function XYLabelPointer(props: XYLabelPointerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export {};
|
|
6
9
|
//# sourceMappingURL=XYLabelPointer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XYLabelPointer.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/tools/XYLabelPointer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"XYLabelPointer.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/tools/XYLabelPointer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AASxD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAelF,UAAU,mBAAmB;IAC3B,MAAM,EAAE,0BAA0B,CAAC;IACnC,MAAM,EAAE,UAAU,EAAE,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,mBAAmB,kDA+HhE"}
|
|
@@ -17,7 +17,8 @@ const style = {
|
|
|
17
17
|
userSelect: 'none',
|
|
18
18
|
zIndex: 10,
|
|
19
19
|
};
|
|
20
|
-
function XYLabelPointer(
|
|
20
|
+
export default function XYLabelPointer(props) {
|
|
21
|
+
const { layout, data1D } = props;
|
|
21
22
|
const position = useMouseTracker();
|
|
22
23
|
const { step } = useBrushTracker();
|
|
23
24
|
const { margin, width, height, yDomains, view: { spectra: { activeTab }, }, } = useChartData();
|
|
@@ -32,7 +33,7 @@ function XYLabelPointer({ layout, data1D }) {
|
|
|
32
33
|
const scale2DX = useScale2DX();
|
|
33
34
|
const scale2DY = useScale2DY();
|
|
34
35
|
const scaleX = useMemo(() => {
|
|
35
|
-
if (!activeSpectrum ||
|
|
36
|
+
if (!activeSpectrum || data1D.length === 0) {
|
|
36
37
|
return scale2DX;
|
|
37
38
|
}
|
|
38
39
|
switch (trackID) {
|
|
@@ -48,7 +49,7 @@ function XYLabelPointer({ layout, data1D }) {
|
|
|
48
49
|
}
|
|
49
50
|
}, [activeSpectrum, data1D, scale2DX, scale2DY, trackID]);
|
|
50
51
|
const scaleY = useMemo(() => {
|
|
51
|
-
if (!activeSpectrum ||
|
|
52
|
+
if (!activeSpectrum || data1D.length === 0) {
|
|
52
53
|
return scale2DY;
|
|
53
54
|
}
|
|
54
55
|
switch (trackID) {
|
|
@@ -116,5 +117,4 @@ function XYLabelPointer({ layout, data1D }) {
|
|
|
116
117
|
transform: `translate(${position.x}px, ${position.y}px) translate(-100%,-100%)`,
|
|
117
118
|
}, children: [_jsx("span", { children: formatY(getYValue()) }), _jsx("span", { style: { color: 'gray' }, children: ',' }), _jsx("span", { style: { color: 'red' }, children: formatX(getXValue()) })] }));
|
|
118
119
|
}
|
|
119
|
-
export default XYLabelPointer;
|
|
120
120
|
//# sourceMappingURL=XYLabelPointer.js.map
|