nmrium 1.3.0 → 1.5.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 +9 -16
- 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 +3 -6
- 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 +116 -67
- 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/PeakAnnotations.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js +99 -3
- package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +4 -8
- 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 +4 -2
- package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
- package/lib/component/1d/peaks/Peaks.js +26 -22
- 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 +7 -8
- 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 +1 -5
- 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 +32 -18
- 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/DraggableDialog.js +0 -2
- package/lib/component/elements/DraggableDialog.js.map +1 -1
- package/lib/component/elements/EditableColumn.d.ts.map +1 -1
- package/lib/component/elements/EditableColumn.js +2 -0
- 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 -3
- 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 +3 -5
- 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 +3 -8
- 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/useActiveSpectrumRangesViewState.d.ts +1 -1
- package/lib/component/hooks/useActiveSpectrumRangesViewState.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectrumRangesViewState.js +20 -16
- package/lib/component/hooks/useActiveSpectrumRangesViewState.js.map +1 -1
- 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/useCombinedRefs.js +1 -1
- package/lib/component/hooks/useCombinedRefs.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/useTextMetrics.d.ts +4 -0
- package/lib/component/hooks/useTextMetrics.d.ts.map +1 -0
- package/lib/component/hooks/useTextMetrics.js +21 -0
- package/lib/component/hooks/useTextMetrics.js.map +1 -0
- 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 +2 -0
- 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 +5 -11
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModalContents.js +2 -0
- package/lib/component/modal/changeSum/ChangeSumModalContents.js.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.d.ts.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.js +2 -0
- 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 +2 -0
- 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 +3 -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 +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/CorrelationTable/editLink/EditPathLength.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.js +2 -5
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.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 +8 -9
- 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 +10 -10
- 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 +7 -5
- 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/MultipleAnalysisCodeEditor.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.js +2 -0
- package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.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 +12 -11
- 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 +5 -4
- 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 +13 -6
- 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/helper/setRangesViewProperty.d.ts.map +1 -1
- package/lib/component/reducer/helper/setRangesViewProperty.js +5 -5
- package/lib/component/reducer/helper/setRangesViewProperty.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 +2 -2
- 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 +0 -42
- 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/isHomoNuclear.d.ts +2 -0
- package/lib/component/utility/isHomoNuclear.d.ts.map +1 -0
- package/lib/component/utility/isHomoNuclear.js +11 -0
- package/lib/component/utility/isHomoNuclear.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/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 +6 -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/clipboardComponents.d.ts.map +1 -1
- package/lib/utils/clipboard/clipboardComponents.js +12 -4
- package/lib/utils/clipboard/clipboardComponents.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 -18
- package/src/component/1d/FloatingRanges.tsx +4 -10
- 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 +155 -72
- 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/PeakAnnotations.tsx +147 -22
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +7 -10
- package/src/component/1d/peaks/PeakEditionManager.tsx +12 -6
- package/src/component/1d/peaks/Peaks.tsx +42 -36
- 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 +13 -14
- 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 +2 -5
- 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 +72 -26
- 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/DraggableDialog.tsx +0 -2
- package/src/component/elements/EditableColumn.tsx +3 -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 -7
- package/src/component/elements/ReactTable/ReactTable.tsx +11 -14
- 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 +6 -9
- 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/useActiveSpectrumRangesViewState.ts +24 -16
- package/src/component/hooks/useActiveSpectrumZonesViewState.ts +1 -1
- package/src/component/hooks/useCheckToolsVisibility.ts +7 -4
- package/src/component/hooks/useCombinedRefs.ts +1 -1
- 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/useTextMetrics.ts +27 -0
- 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 +3 -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 +8 -21
- package/src/component/modal/changeSum/ChangeSumModalContents.tsx +4 -2
- package/src/component/modal/changeSum/SelectMolecule.tsx +3 -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 +4 -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 +5 -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 +3 -3
- 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/CorrelationTable/editLink/EditPathLength.tsx +3 -6
- 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 +16 -20
- 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 +17 -17
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +17 -15
- 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/MultipleAnalysisCodeEditor.tsx +2 -0
- 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 +13 -16
- 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 +12 -4
- 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 +16 -12
- 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/helper/setRangesViewProperty.ts +8 -5
- 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 +7 -7
- package/src/component/toolbar/ToolTypes.ts +9 -51
- 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/isHomoNuclear.ts +11 -0
- package/src/component/utility/nucleusToString.ts +1 -1
- 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 +6 -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/clipboardComponents.tsx +15 -5
- package/src/utils/clipboard/clipboardHooks.ts +5 -3
- package/src/versionInfo.ts +1 -1
- package/lib/component/hooks/useCanvasContext.d.ts +0 -2
- package/lib/component/hooks/useCanvasContext.d.ts.map +0 -1
- package/lib/component/hooks/useCanvasContext.js +0 -13
- package/lib/component/hooks/useCanvasContext.js.map +0 -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/hooks/useCanvasContext.ts +0 -15
- package/src/component/utility/GroupByInfoKey.ts +0 -29
- package/src/component/utility/assert.ts +0 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { extent } from 'd3';
|
|
2
|
+
import { extent } from 'd3-array';
|
|
3
3
|
import { rangesToXY } from 'nmr-processing';
|
|
4
4
|
import { useChartData } from '../../context/ChartContext.js';
|
|
5
5
|
import { useScaleChecked } from '../../context/ScaleContext.js';
|
|
6
|
-
import {
|
|
6
|
+
import { useHighlightData } from '../../highlight/index.js';
|
|
7
7
|
import { usePanelPreferences } from '../../hooks/usePanelPreferences.js';
|
|
8
8
|
import useSpectrum from '../../hooks/useSpectrum.js';
|
|
9
9
|
import { useVerticalAlign } from '../../hooks/useVerticalAlign.js';
|
|
@@ -17,7 +17,7 @@ function ResurrectedDatabaseRanges() {
|
|
|
17
17
|
const { highlight } = useHighlightData();
|
|
18
18
|
const { scaleX, spectraBottomMargin } = useScaleChecked();
|
|
19
19
|
const { color, marginBottom } = usePanelPreferences('database');
|
|
20
|
-
if (highlight.sourceData?.type !==
|
|
20
|
+
if (highlight.sourceData?.type !== 'DATABASE') {
|
|
21
21
|
return null;
|
|
22
22
|
}
|
|
23
23
|
const fullHeight = height - margin.bottom;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResurrectedDatabaseRanges.js","sourceRoot":"","sources":["../../../../src/component/1d/database/ResurrectedDatabaseRanges.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|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,CAAC,KAAK,YAC1C,eACE,CAAC,EAAC,GAAG,EACL,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,CAAC,EAC9C,MAAM,EAAC,MAAM,EACb,IAAI,EAAC,WAAW,GAChB,GACA,EACJ,eACE,SAAS,EAAE,eAAe,UAAU,GAAG,EACvC,MAAM,EAAE,KAAK,EACb,IAAI,EAAC,MAAM,EACX,CAAC,EAAE,IAAI,GACP,KAdI,GAAG,KAAK,EAAE,CAed,CACL,CAAC,GACA,CACL,CAAC;AACJ,CAAC;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraggableInset.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/inset/DraggableInset.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DraggableInset.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/inset/DraggableInset.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,KAAK,EAAa,MAAM,oBAAoB,CAAC;AAsB3D,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,kDAsL1C"}
|
|
@@ -6,11 +6,13 @@ import { BsArrowsMove } from 'react-icons/bs';
|
|
|
6
6
|
import { FaSitemap, FaTimes } from 'react-icons/fa';
|
|
7
7
|
import { LuMessageSquareText } from 'react-icons/lu';
|
|
8
8
|
import { Rnd } from 'react-rnd';
|
|
9
|
+
import { isSpectrum1D } from "../../../data/data1d/Spectrum1D/isSpectrum1D.js";
|
|
9
10
|
import { SVGRootContainer } from '../../1d-2d/components/SVGRootContainer.js';
|
|
10
11
|
import { useDispatch } from '../../context/DispatchContext.js';
|
|
11
12
|
import { useGlobal } from '../../context/GlobalContext.js';
|
|
12
13
|
import { ActionsButtonsPopover } from '../../elements/ActionsButtonsPopover.js';
|
|
13
14
|
import { useSVGUnitConverter } from '../../hooks/useSVGUnitConverter.js';
|
|
15
|
+
import useSpectrum from "../../hooks/useSpectrum.js";
|
|
14
16
|
import { useCheckExportStatus } from '../../hooks/useViewportSize.js';
|
|
15
17
|
import { booleanToString } from '../../utility/booleanToString.js';
|
|
16
18
|
import { Viewer1D } from '../Viewer1D.js';
|
|
@@ -116,63 +118,14 @@ export function DraggableInset(props) {
|
|
|
116
118
|
}, onDragStop: (e, { x, y }) => {
|
|
117
119
|
handleChangeInsetBounding({ x, y });
|
|
118
120
|
setIsMoveActive(false);
|
|
119
|
-
}, resizeHandleWrapperStyle: { backgroundColor: 'white' }, children: _jsx(ActionsButtonsPopover, { buttons: actionButtons, fill: true, positioningStrategy: "fixed", position: "top-left", direction: "row", targetProps: { style: { width: '100%', height: '100%' } }, space: 2, ...(isMoveActive && { isOpen: true }),
|
|
120
|
-
offset: {
|
|
121
|
-
data: { x, y },
|
|
122
|
-
},
|
|
123
|
-
}, children: _jsx(InsetViewerRoot, { children: _jsx(InsetProvider, { id: id, width: width, height: height, xDomain: xDomain, yDomain: yDomain, spectrumKey: spectrumKey, view: view, children: _jsx(Viewer1D, {}) }) }) }) }));
|
|
121
|
+
}, resizeHandleWrapperStyle: { backgroundColor: 'white' }, children: _jsx(ActionsButtonsPopover, { buttons: actionButtons, 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(InsetViewerRoot, { children: _jsx(InsetProvider, { id: id, width: width, height: height, xDomain: xDomain, yDomain: yDomain, spectrumKey: spectrumKey, view: view, children: _jsx(Viewer1D, {}) }) }) }) }));
|
|
124
122
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
127
|
-
function handleRemove() {
|
|
128
|
-
dispatch({
|
|
129
|
-
type: 'DELETE_INSET',
|
|
130
|
-
payload: { insetKey },
|
|
131
|
-
});
|
|
132
|
-
}
|
|
133
|
-
function handleTogglePeaksViewProperty(key) {
|
|
134
|
-
dispatch({
|
|
135
|
-
type: 'TOGGLE_INSET_PEAKS_VIEW_PROPERTY',
|
|
136
|
-
payload: { insetKey, key },
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
function handleToggleRangesViewProperty(key) {
|
|
140
|
-
dispatch({
|
|
141
|
-
type: 'TOGGLE_INSET_RANGES_VIEW_PROPERTY',
|
|
142
|
-
payload: { insetKey, key },
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
function handleToggleIntegralsViewProperty(key) {
|
|
146
|
-
dispatch({
|
|
147
|
-
type: 'TOGGLE_INSET_INTEGRALS_VIEW_PROPERTY',
|
|
148
|
-
payload: { insetKey, key },
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
function handleToggleInsetsDisplayingPeaksMode(target) {
|
|
152
|
-
dispatch({
|
|
153
|
-
type: 'TOGGLE_INSET_PEAKS_DISPLAYING_MODE',
|
|
154
|
-
payload: { insetKey, target },
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
const actionsButtons = [
|
|
158
|
-
{
|
|
159
|
-
icon: _jsx(BsArrowsMove, {}),
|
|
160
|
-
intent: 'none',
|
|
161
|
-
title: 'Move inset',
|
|
162
|
-
style: { cursor: 'move' },
|
|
163
|
-
className: 'handle',
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
icon: _jsx(FaTimes, {}),
|
|
167
|
-
intent: 'danger',
|
|
168
|
-
title: 'Remove inset',
|
|
169
|
-
onClick: handleRemove,
|
|
170
|
-
},
|
|
171
|
-
{ elementType: 'separator' },
|
|
123
|
+
function createPeaksActionsButtons(view, onClick) {
|
|
124
|
+
return [
|
|
172
125
|
{
|
|
173
126
|
icon: _jsx(SvgNmrPeaks, {}),
|
|
174
127
|
title: `${booleanToString(!view.peaks.showPeaks)} peaks`,
|
|
175
|
-
onClick: () =>
|
|
128
|
+
onClick: () => onClick('peaks/showPeaks'),
|
|
176
129
|
active: view.peaks.showPeaks,
|
|
177
130
|
},
|
|
178
131
|
{
|
|
@@ -180,33 +133,46 @@ function useActionButtons(insetKey, view) {
|
|
|
180
133
|
title: view.peaks.displayingMode === 'spread'
|
|
181
134
|
? 'Top of the peak'
|
|
182
135
|
: 'Top of the spectrum',
|
|
183
|
-
onClick: () =>
|
|
136
|
+
onClick: () => onClick('peaks/displayingMode'),
|
|
184
137
|
active: view.peaks.displayingMode === 'spread',
|
|
185
138
|
},
|
|
186
|
-
|
|
139
|
+
];
|
|
140
|
+
}
|
|
141
|
+
function createIntegralsActionsButtons(view, onClick) {
|
|
142
|
+
return [
|
|
143
|
+
{
|
|
144
|
+
icon: _jsx(SvgNmrIntegrate, {}),
|
|
145
|
+
title: `${booleanToString(!view.integrals.showIntegralsValues)} integrals values`,
|
|
146
|
+
onClick: () => onClick('integrals/showIntegrals'),
|
|
147
|
+
active: view.integrals.showIntegralsValues,
|
|
148
|
+
},
|
|
149
|
+
];
|
|
150
|
+
}
|
|
151
|
+
function createRangesActionsButtons(view, onClick) {
|
|
152
|
+
return [
|
|
187
153
|
{
|
|
188
154
|
icon: _jsx(FaSitemap, {}),
|
|
189
155
|
title: `${booleanToString(!view.ranges.showMultiplicityTrees)} multiplicity trees in spectrum`,
|
|
190
|
-
onClick: () =>
|
|
156
|
+
onClick: () => onClick('ranges/showMultiplicityTrees'),
|
|
191
157
|
active: view.ranges.showMultiplicityTrees,
|
|
192
158
|
},
|
|
193
159
|
{
|
|
194
160
|
icon: _jsx(SvgNmrIntegrate, {}),
|
|
195
161
|
title: `${booleanToString(!view.ranges.showIntegrals)} integrals`,
|
|
196
|
-
onClick: () =>
|
|
162
|
+
onClick: () => onClick('ranges/showIntegrals'),
|
|
197
163
|
active: view.ranges.showIntegrals,
|
|
198
164
|
},
|
|
199
165
|
{
|
|
200
166
|
icon: _jsx(SvgNmrIntegrate, {}),
|
|
201
167
|
title: `${booleanToString(!view.ranges.showIntegralsValues)} integrals values`,
|
|
202
|
-
onClick: () =>
|
|
168
|
+
onClick: () => onClick('ranges/showIntegralsValues'),
|
|
203
169
|
active: view.ranges.showIntegralsValues,
|
|
204
170
|
},
|
|
205
171
|
{
|
|
206
|
-
id: 'ranges
|
|
172
|
+
id: 'ranges/showPeaks',
|
|
207
173
|
icon: _jsx(SvgNmrPeaks, {}),
|
|
208
174
|
title: `${booleanToString(!view.ranges.showPeaks)} peaks`,
|
|
209
|
-
onClick: () =>
|
|
175
|
+
onClick: () => onClick('ranges/showPeaks'),
|
|
210
176
|
active: view.ranges.showPeaks,
|
|
211
177
|
},
|
|
212
178
|
{
|
|
@@ -214,23 +180,106 @@ function useActionButtons(insetKey, view) {
|
|
|
214
180
|
title: view.ranges.displayingMode === 'spread'
|
|
215
181
|
? 'Top of the peak'
|
|
216
182
|
: 'Top of the spectrum',
|
|
217
|
-
onClick: () =>
|
|
183
|
+
onClick: () => onClick('ranges/displayingMode'),
|
|
218
184
|
active: view.ranges.displayingMode === 'spread',
|
|
219
185
|
},
|
|
220
186
|
{
|
|
221
187
|
icon: _jsx(LuMessageSquareText, {}),
|
|
222
188
|
title: `${booleanToString(!view.ranges.showAssignmentsLabels)} assignments labels`,
|
|
223
|
-
onClick: () =>
|
|
189
|
+
onClick: () => onClick('ranges/showAssignmentsLabels'),
|
|
224
190
|
active: view.ranges.showAssignmentsLabels,
|
|
225
191
|
},
|
|
226
|
-
|
|
192
|
+
];
|
|
193
|
+
}
|
|
194
|
+
function useActionButtons(insetKey, view) {
|
|
195
|
+
const dispatch = useDispatch();
|
|
196
|
+
const spectrum = useSpectrum();
|
|
197
|
+
function handleRemove() {
|
|
198
|
+
dispatch({
|
|
199
|
+
type: 'DELETE_INSET',
|
|
200
|
+
payload: { insetKey },
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
function handleTogglePeaksViewProperty(key) {
|
|
204
|
+
dispatch({
|
|
205
|
+
type: 'TOGGLE_INSET_PEAKS_VIEW_PROPERTY',
|
|
206
|
+
payload: { insetKey, key },
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
function handleToggleRangesViewProperty(key) {
|
|
210
|
+
dispatch({
|
|
211
|
+
type: 'TOGGLE_INSET_RANGES_VIEW_PROPERTY',
|
|
212
|
+
payload: { insetKey, key },
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
function handleToggleIntegralsViewProperty(key) {
|
|
216
|
+
dispatch({
|
|
217
|
+
type: 'TOGGLE_INSET_INTEGRALS_VIEW_PROPERTY',
|
|
218
|
+
payload: { insetKey, key },
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
function handleToggleInsetsDisplayingPeaksMode(target) {
|
|
222
|
+
dispatch({
|
|
223
|
+
type: 'TOGGLE_INSET_PEAKS_DISPLAYING_MODE',
|
|
224
|
+
payload: { insetKey, target },
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
let actionsButtons = [
|
|
227
228
|
{
|
|
228
|
-
icon: _jsx(
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
icon: _jsx(BsArrowsMove, {}),
|
|
230
|
+
intent: 'none',
|
|
231
|
+
title: 'Move inset',
|
|
232
|
+
style: { cursor: 'move' },
|
|
233
|
+
className: 'handle',
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
icon: _jsx(FaTimes, {}),
|
|
237
|
+
intent: 'danger',
|
|
238
|
+
title: 'Remove inset',
|
|
239
|
+
onClick: handleRemove,
|
|
232
240
|
},
|
|
233
241
|
];
|
|
242
|
+
if (!isSpectrum1D(spectrum)) {
|
|
243
|
+
return actionsButtons;
|
|
244
|
+
}
|
|
245
|
+
const hasRanges = spectrum.ranges.values.length > 0;
|
|
246
|
+
const hasIntegrals = spectrum.integrals.values.length > 0;
|
|
247
|
+
const hasPeaks = spectrum.peaks.values.length > 0;
|
|
248
|
+
const handlers = {
|
|
249
|
+
'peaks/showPeaks': () => handleTogglePeaksViewProperty('showPeaks'),
|
|
250
|
+
'peaks/displayingMode': () => handleToggleInsetsDisplayingPeaksMode('peaks'),
|
|
251
|
+
'ranges/showMultiplicityTrees': () => handleToggleRangesViewProperty('showMultiplicityTrees'),
|
|
252
|
+
'ranges/showIntegrals': () => handleToggleRangesViewProperty('showIntegrals'),
|
|
253
|
+
'ranges/showIntegralsValues': () => handleToggleRangesViewProperty('showIntegralsValues'),
|
|
254
|
+
'ranges/showPeaks': () => handleToggleRangesViewProperty('showPeaks'),
|
|
255
|
+
'ranges/displayingMode': () => handleToggleInsetsDisplayingPeaksMode('ranges'),
|
|
256
|
+
'ranges/showAssignmentsLabels': () => handleToggleRangesViewProperty('showAssignmentsLabels'),
|
|
257
|
+
'integrals/showIntegrals': () => handleToggleIntegralsViewProperty('showIntegralsValues'),
|
|
258
|
+
};
|
|
259
|
+
function handleClick(id) {
|
|
260
|
+
handlers[id]?.();
|
|
261
|
+
}
|
|
262
|
+
if (hasPeaks) {
|
|
263
|
+
actionsButtons = [
|
|
264
|
+
...actionsButtons,
|
|
265
|
+
{ elementType: 'separator' },
|
|
266
|
+
...createPeaksActionsButtons(view, handleClick),
|
|
267
|
+
];
|
|
268
|
+
}
|
|
269
|
+
if (hasRanges) {
|
|
270
|
+
actionsButtons = [
|
|
271
|
+
...actionsButtons,
|
|
272
|
+
{ elementType: 'separator' },
|
|
273
|
+
...createRangesActionsButtons(view, handleClick),
|
|
274
|
+
];
|
|
275
|
+
}
|
|
276
|
+
if (hasIntegrals) {
|
|
277
|
+
actionsButtons = [
|
|
278
|
+
...actionsButtons,
|
|
279
|
+
{ elementType: 'separator' },
|
|
280
|
+
...createIntegralsActionsButtons(view, handleClick),
|
|
281
|
+
];
|
|
282
|
+
}
|
|
234
283
|
return actionsButtons;
|
|
235
284
|
}
|
|
236
285
|
//# sourceMappingURL=DraggableInset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DraggableInset.js","sourceRoot":"","sources":["../../../../src/component/1d/inset/DraggableInset.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAMrC,OAAO,EACL,e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E,WAAW,CAAC;SAChD,CAAC;IACJ,CAAC;IAED,IAAI,SAAS,EAAE,CAAC;QACd,cAAc,GAAG;YACf,GAAG,cAAc;YACjB,EAAE,WAAW,EAAE,WAAW,EAAE;YAC5B,GAAG,0BAA0B,CAAC,IAAI,EAAE,WAAW,CAAC;SACjD,CAAC;IACJ,CAAC;IAED,IAAI,YAAY,EAAE,CAAC;QACjB,cAAc,GAAG;YACf,GAAG,cAAc;YACjB,EAAE,WAAW,EAAE,WAAW,EAAE;YAC5B,GAAG,6BAA6B,CAAC,IAAI,EAAE,WAAW,CAAC;SACpD,CAAC;IACJ,CAAC;IAED,OAAO,cAAc,CAAC;AACxB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
1
2
|
export declare function useInsetViewerRootRef(): HTMLDivElement | null;
|
|
2
|
-
export declare function InsetViewerRoot({ children }:
|
|
3
|
-
children: any;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function InsetViewerRoot({ children }: Required<PropsWithChildren>): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
//# sourceMappingURL=InsetViewerRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsetViewerRoot.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/inset/InsetViewerRoot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InsetViewerRoot.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/inset/InsetViewerRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/C,wBAAgB,qBAAqB,0BAEpC;AAED,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,QAAQ,CAAC,iBAAiB,CAAC,2CAUxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsetViewerRoot.js","sourceRoot":"","sources":["../../../../src/component/1d/inset/InsetViewerRoot.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"InsetViewerRoot.js","sourceRoot":"","sources":["../../../../src/component/1d/inset/InsetViewerRoot.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1D,MAAM,mBAAmB,GAAG,aAAa,CAAwB,IAAI,CAAC,CAAC;AAEvE,MAAM,UAAU,qBAAqB;IACnC,OAAO,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,EAAE,QAAQ,EAA+B;IACvE,MAAM,YAAY,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IAEzD,OAAO,CACL,KAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,CAAC,OAAO,YACvD,cAAK,GAAG,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,YAC7D,QAAQ,GACL,GACuB,CAChC,CAAC;AACJ,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { useChartData } from '../../context/ChartContext.js';
|
|
|
4
4
|
import { useDispatch } from '../../context/DispatchContext.js';
|
|
5
5
|
import { useScaleChecked } from '../../context/ScaleContext.js';
|
|
6
6
|
import { ResizerWithScale } from '../../elements/ResizerWithScale.js';
|
|
7
|
-
import {
|
|
7
|
+
import { useHighlight } from '../../highlight/index.js';
|
|
8
8
|
import { useResizerStatus } from '../../hooks/useResizerStatus.js';
|
|
9
9
|
import useSpectrum from '../../hooks/useSpectrum.js';
|
|
10
10
|
import { IntegralIndicator } from './IntegralIndicator.js';
|
|
@@ -24,7 +24,7 @@ function IntegralResizable({ integralData, integralFormat, }) {
|
|
|
24
24
|
const dispatch = useDispatch();
|
|
25
25
|
const { id, integral, to, from } = integralData;
|
|
26
26
|
const highlight = useHighlight([id], {
|
|
27
|
-
type:
|
|
27
|
+
type: 'INTEGRAL',
|
|
28
28
|
extra: { id, spectrumID: spectrum.id },
|
|
29
29
|
});
|
|
30
30
|
function handleOnStopResizing(position) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntegralResizable.js","sourceRoot":"","sources":["../../../../src/component/1d/integral/IntegralResizable.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"IntegralResizable.js","sourceRoot":"","sources":["../../../../src/component/1d/integral/IntegralResizable.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,WAAW,MAAM,4BAA4B,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAuB;;YAEjC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC;;;;kBAInD,CAAC,KAAK,EAA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,CAAC,IAAI,EAAE,YAEpC,KAAC,gBAAgB,IACf,IAAI,EAAE,IAAI,EACV,EAAE,EAAE,EAAE,EACN,KAAK,EAAE,oBAAoB,EAC3B,QAAQ,EAAE,CAAC,gBAAgB,YAE1B,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE;gBACxB,MAAM,KAAK,GAAG,EAAE,GAAG,EAAE,CAAC;gBAEtB,OAAO,CACL,MAAC,KAAK,IAAC,QAAQ,EAAE,SAAS,CAAC,QAAQ,IAAI,QAAQ,aAC7C,eAAM,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAiB,MAAM,GAAG,EAC5D,KAAC,iBAAiB,IAChB,KAAK,EAAE,QAAQ,EACf,MAAM,EAAE,cAAc,EACtB,KAAK,EAAE,KAAK,GACZ,IACI,CACT,CAAC;YACJ,CAAC,GACgB,GACjB,CACL,CAAC;AACJ,CAAC;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { scaleLinear } from 'd3';
|
|
2
|
+
import { scaleLinear } from 'd3-scale';
|
|
3
3
|
import { memo, useMemo } from 'react';
|
|
4
4
|
import generateJGraphData from '../../../data/data1d/Spectrum1D/generateJGraphData.js';
|
|
5
5
|
import { useChartData } from '../../context/ChartContext.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JGraph.js","sourceRoot":"","sources":["../../../../src/component/1d/jCouplingGraph/JGraph.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"JGraph.js","sourceRoot":"","sources":["../../../../src/component/1d/jCouplingGraph/JGraph.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,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1 @@
|
|
|
1
|
-
{"version":3,"file":"JGraphContext.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/jCouplingGraph/JGraphContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"JGraphContext.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/jCouplingGraph/JGraphContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,UAAU,WAAW;IACnB,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAQD,eAAO,MAAM,qBAAqB,uCAAyB,CAAC;AAE5D,wBAAgB,SAAS,gBAOxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Boxplot.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/matrix/Boxplot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Boxplot.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/matrix/Boxplot.tsx"],"names":[],"mappings":"AAiIA,wBAAgB,OAAO,+DAUtB"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { extent } from 'd3';
|
|
2
|
+
import { extent } from 'd3-array';
|
|
3
3
|
import { xFindClosestIndex } from 'ml-spectra-processing';
|
|
4
4
|
import { matrixToBoxPlot } from 'nmr-processing';
|
|
5
5
|
import { useMemo } from 'react';
|
|
6
6
|
import { useChartData } from '../../context/ChartContext.js';
|
|
7
7
|
import { useScaleChecked } from '../../context/ScaleContext.js';
|
|
8
|
+
import { useActiveNucleusTab } from "../../hooks/useActiveNucleusTab.js";
|
|
8
9
|
import { usePanelPreferences } from '../../hooks/usePanelPreferences.js';
|
|
9
10
|
import { PathBuilder } from '../../utility/PathBuilder.js';
|
|
10
11
|
import { getYScaleWithRation } from '../utilities/scale.js';
|
|
@@ -69,7 +70,7 @@ function useBoxPlot() {
|
|
|
69
70
|
}, [from, matrix, to]);
|
|
70
71
|
}
|
|
71
72
|
export function Boxplot() {
|
|
72
|
-
const
|
|
73
|
+
const activeTab = useActiveNucleusTab();
|
|
73
74
|
const options = usePanelPreferences('matrixGeneration', activeTab);
|
|
74
75
|
if (!options)
|
|
75
76
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Boxplot.js","sourceRoot":"","sources":["../../../../src/component/1d/matrix/Boxplot.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Boxplot.js","sourceRoot":"","sources":["../../../../src/component/1d/matrix/Boxplot.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AA+BhE,SAAS,SAAS,CAAC,UAAkB,EAAE,OAAY;IACjD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE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EAAE,GAAG,KAAK,CAAC;IACnD,MAAM,QAAQ,GAAG,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAExD,OAAO,eAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAC,aAAa,EAAC,MAAM,EAAE,KAAK,GAAI,CAAC;AACjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stocsy.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/matrix/Stocsy.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Stocsy.d.ts","sourceRoot":"","sources":["../../../../src/component/1d/matrix/Stocsy.tsx"],"names":[],"mappings":"AA4EA,wBAAgB,MAAM,+DAUrB"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { extent } from 'd3';
|
|
2
|
+
import { extent } from 'd3-array';
|
|
3
3
|
import { xFindClosestIndex } from 'ml-spectra-processing';
|
|
4
4
|
import { matrixToStocsy } from 'nmr-processing';
|
|
5
5
|
import { useMemo } from 'react';
|
|
6
6
|
import { useChartData } from '../../context/ChartContext.js';
|
|
7
7
|
import { useScaleChecked } from '../../context/ScaleContext.js';
|
|
8
|
+
import { useActiveNucleusTab } from "../../hooks/useActiveNucleusTab.js";
|
|
8
9
|
import { usePanelPreferences } from '../../hooks/usePanelPreferences.js';
|
|
9
10
|
import { PathBuilder } from '../../utility/PathBuilder.js';
|
|
10
11
|
import { getYScaleWithRation } from '../utilities/scale.js';
|
|
@@ -42,7 +43,7 @@ function useSliceStocsyData(options) {
|
|
|
42
43
|
}, [from, options, to]);
|
|
43
44
|
}
|
|
44
45
|
export function Stocsy() {
|
|
45
|
-
const
|
|
46
|
+
const activeTab = useActiveNucleusTab();
|
|
46
47
|
const options = usePanelPreferences('matrixGeneration', activeTab);
|
|
47
48
|
if (!options)
|
|
48
49
|
return;
|
|
@@ -51,7 +52,8 @@ export function Stocsy() {
|
|
|
51
52
|
return null;
|
|
52
53
|
return _jsx(InnerStocsy, { scaleRatio: scaleRatio, chemicalShift: chemicalShift });
|
|
53
54
|
}
|
|
54
|
-
function InnerStocsy(
|
|
55
|
+
function InnerStocsy(props) {
|
|
56
|
+
const { scaleRatio, chemicalShift } = props;
|
|
55
57
|
const stocsyData = useStocsy(chemicalShift);
|
|
56
58
|
const data = useSliceStocsyData(stocsyData);
|
|
57
59
|
if (!data || !stocsyData)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stocsy.js","sourceRoot":"","sources":["../../../../src/component/1d/matrix/Stocsy.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Stocsy.js","sourceRoot":"","sources":["../../../../src/component/1d/matrix/Stocsy.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,GACV,MAAM,gBAAgB,CAAC;AAqBxB,SAAS,SAAS,CAAC,aAA4B;IAC7C,MAAM,MAAM,GAAG,S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AAE,SAAS,EAAE;SACvD,CAAC,CAAC;IACL,CAAC,EACD,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC,CACzC,CAAC;IAEF,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,SAAS,CAAC;IAC/B,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,yBAAyB,CAAC,CAAC;IACrE,OAAO,CACL,eAAO,SAAS,CAAC,OAAO,KAAM,SAAS,CAAC,OAAO,YAC7C,KAAC,gBAAgB,IACf,KAAK,EAAE,gBAAgB,EACvB,IAAI,EAAE,IAAI,EACV,EAAE,EAAE,EAAE,EACN,QAAQ,EAAE,CAAC,gBAAgB,YAE1B,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,CAAC,CACzB,aAAG,SAAS,EAAE,iBAAiB,aAC7B,KAAC,IAAI,IACH,QAAQ,EAAE,SAAS,CAAC,QAAQ,IAAI,QAAQ,EACxC,CAAC,EAAC,GAAG,EACL,KAAK,EAAE,EAAE,GAAG,EAAE,EACd,MAAM,EAAC,GAAG,EACV,IAAI,EAAC,OAAO,GACZ,EACF,eACE,UAAU,EAAC,QAAQ,EACnB,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAChB,CAAC,EAAC,IAAI,EACN,QAAQ,EAAC,IAAI,EACb,IAAI,EAAC,KAAK,EACV,UAAU,EAAC,QAAQ,EACnB,WAAW,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,YAExC,SAAS,GACL,IACL,CACL,GACgB,GACjB,CACL,CAAC;AACJ,CAAC;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -9,7 +9,7 @@ import { useChartData } from '../../context/ChartContext.js';
|
|
|
9
9
|
import { useDispatch } from '../../context/DispatchContext.js';
|
|
10
10
|
import { useScaleChecked } from '../../context/ScaleContext.js';
|
|
11
11
|
import { ActionsButtonsPopover } from '../../elements/ActionsButtonsPopover.js';
|
|
12
|
-
import {
|
|
12
|
+
import { useHighlight } from '../../highlight/index.js';
|
|
13
13
|
import useSpectrum from '../../hooks/useSpectrum.js';
|
|
14
14
|
import { useIsInset } from '../inset/InsetProvider.js';
|
|
15
15
|
import { generateTreeNodes } from './generateTreeNodes.js';
|
|
@@ -49,7 +49,7 @@ function Tree(props) {
|
|
|
49
49
|
const isAssignBtnTrigged = useRef(false);
|
|
50
50
|
const assignment = useAssignment(signalKey);
|
|
51
51
|
const highlight = useHighlight(extractID(signalKey, assignment), {
|
|
52
|
-
type:
|
|
52
|
+
type: 'SIGNAL',
|
|
53
53
|
});
|
|
54
54
|
let widthRatio;
|
|
55
55
|
let treeWidth;
|