nmrium 1.2.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/BrushTracker1D.d.ts +2 -3
- package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +2 -3
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/ExclusionZoneAnnotation.js +3 -3
- package/lib/component/1d/ExclusionZoneAnnotation.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +6 -8
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/FloatingRanges.js +4 -7
- package/lib/component/1d/FloatingRanges.js.map +1 -1
- package/lib/component/1d/FooterBanner.js.map +1 -1
- package/lib/component/1d/Line.js +2 -2
- package/lib/component/1d/Line.js.map +1 -1
- package/lib/component/1d/PredictionErrorsNotations.js +2 -2
- package/lib/component/1d/PredictionErrorsNotations.js.map +1 -1
- package/lib/component/1d/SimilarityTree.js +1 -1
- package/lib/component/1d/SimilarityTree.js.map +1 -1
- package/lib/component/1d/XAxis1D.js +3 -3
- package/lib/component/1d/XAxis1D.js.map +1 -1
- package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseElements.js +2 -2
- package/lib/component/1d/database/DatabaseElements.js.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.js +3 -3
- package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js +3 -3
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js +117 -68
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/inset/InsetViewerRoot.d.ts +2 -3
- package/lib/component/1d/inset/InsetViewerRoot.d.ts.map +1 -1
- package/lib/component/1d/inset/InsetViewerRoot.js.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.js +2 -2
- package/lib/component/1d/integral/IntegralResizable.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraph.js +1 -1
- package/lib/component/1d/jCouplingGraph/JGraph.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts.map +1 -1
- package/lib/component/1d/matrix/Boxplot.d.ts.map +1 -1
- package/lib/component/1d/matrix/Boxplot.js +3 -2
- package/lib/component/1d/matrix/Boxplot.js.map +1 -1
- package/lib/component/1d/matrix/Stocsy.d.ts.map +1 -1
- package/lib/component/1d/matrix/Stocsy.js +5 -3
- package/lib/component/1d/matrix/Stocsy.js.map +1 -1
- package/lib/component/1d/multiAnalysis/AnalysisRange.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +2 -2
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +1 -5
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.d.ts +2 -4
- package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js +3 -0
- package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
- package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
- package/lib/component/1d/peaks/Peaks.js +4 -4
- package/lib/component/1d/peaks/Peaks.js.map +1 -1
- package/lib/component/1d/ranges/Atoms.d.ts.map +1 -1
- package/lib/component/1d/ranges/Atoms.js +5 -1
- package/lib/component/1d/ranges/Atoms.js.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts.map +1 -1
- package/lib/component/1d/ranges/Range.js +3 -3
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +3 -4
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/tool/BaseLineZones.js.map +1 -1
- package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
- package/lib/component/1d/tool/PeakPointer.js +8 -7
- package/lib/component/1d/tool/PeakPointer.js.map +1 -1
- package/lib/component/1d/utilities/intersectionResolver.d.ts +4 -4
- package/lib/component/1d/utilities/intersectionResolver.d.ts.map +1 -1
- package/lib/component/1d/utilities/intersectionResolver.js.map +1 -1
- package/lib/component/1d/utilities/scale.js +1 -1
- package/lib/component/1d/utilities/scale.js.map +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js +2 -10
- package/lib/component/1d-2d/FieldEdition.js.map +1 -1
- package/lib/component/1d-2d/components/ClipPathContainer.d.ts +2 -3
- package/lib/component/1d-2d/components/ClipPathContainer.d.ts.map +1 -1
- package/lib/component/1d-2d/components/ClipPathContainer.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +24 -11
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js +4 -6
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js +0 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js +2 -2
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.js +2 -2
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js +2 -2
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts +2 -3
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts +8 -5
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.js +3 -3
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/SignalDeltaLine.d.ts +1 -1
- package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -1
- package/lib/component/2d/SignalDeltaLine.js +5 -2
- package/lib/component/2d/SignalDeltaLine.js.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.d.ts +8 -5
- package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.js +4 -4
- package/lib/component/2d/tools/XYLabelPointer.js.map +1 -1
- package/lib/component/2d/utilities/DimensionLayout.d.ts +8 -7
- package/lib/component/2d/utilities/DimensionLayout.d.ts.map +1 -1
- package/lib/component/2d/utilities/DimensionLayout.js +4 -4
- package/lib/component/2d/utilities/DimensionLayout.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +2 -0
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +5 -3
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/Signal.d.ts.map +1 -1
- package/lib/component/2d/zones/Signal.js +7 -8
- package/lib/component/2d/zones/Signal.js.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.d.ts +2 -2
- package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.js +1 -2
- package/lib/component/2d/zones/SignalCrosshair.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +24 -14
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/2d/zones/Zone.d.ts.map +1 -1
- package/lib/component/2d/zones/Zone.js +12 -11
- package/lib/component/2d/zones/Zone.js.map +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.js +3 -2
- package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +5 -3
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +11 -11
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/SVGTable.js.map +1 -1
- package/lib/component/assignment/AssignmentsContext.d.ts +1 -0
- package/lib/component/assignment/AssignmentsContext.d.ts.map +1 -1
- package/lib/component/assignment/AssignmentsContext.js +1 -0
- package/lib/component/assignment/AssignmentsContext.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/LoggerContext.d.ts.map +1 -1
- package/lib/component/context/LoggerContext.js.map +1 -1
- package/lib/component/context/PreferencesContext.d.ts +5 -1
- package/lib/component/context/PreferencesContext.d.ts.map +1 -1
- package/lib/component/context/PreferencesContext.js +3 -3
- package/lib/component/context/PreferencesContext.js.map +1 -1
- package/lib/component/context/ScaleContext.d.ts +3 -4
- package/lib/component/context/ScaleContext.d.ts.map +1 -1
- package/lib/component/context/ScaleContext.js.map +1 -1
- package/lib/component/context/SortSpectraContext.js +1 -1
- package/lib/component/context/SortSpectraContext.js.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts +8 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js +29 -2
- package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
- package/lib/component/elements/Alert.js.map +1 -1
- package/lib/component/elements/Button.js.map +1 -1
- package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
- package/lib/component/elements/D3Axis.js.map +1 -1
- package/lib/component/elements/DialogManager.d.ts +3 -4
- package/lib/component/elements/DialogManager.d.ts.map +1 -1
- package/lib/component/elements/DialogManager.js.map +1 -1
- package/lib/component/elements/EditableColumn.js.map +1 -1
- package/lib/component/elements/Input.js.map +1 -1
- package/lib/component/elements/Input2.d.ts +2 -1
- package/lib/component/elements/Input2.d.ts.map +1 -1
- package/lib/component/elements/Input2.js.map +1 -1
- package/lib/component/elements/InputRange.js.map +1 -1
- package/lib/component/elements/MoleculeSelection.js.map +1 -1
- package/lib/component/elements/NextPrev.d.ts +0 -1
- package/lib/component/elements/NextPrev.d.ts.map +1 -1
- package/lib/component/elements/NextPrev.js +5 -21
- package/lib/component/elements/NextPrev.js.map +1 -1
- package/lib/component/elements/NumberInput2.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +2 -2
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.d.ts +4 -4
- package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.js +2 -1
- package/lib/component/elements/ReactTable/ReactTable.js.map +1 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.js +2 -2
- package/lib/component/elements/ReactTable/utility/addCustomColumn.js.map +1 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts +2 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.js +5 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.js.map +1 -1
- package/lib/component/elements/ReadOnly.js.map +1 -1
- package/lib/component/elements/SVGButton.d.ts +2 -2
- package/lib/component/elements/SVGButton.d.ts.map +1 -1
- package/lib/component/elements/SVGButton.js +2 -1
- package/lib/component/elements/SVGButton.js.map +1 -1
- package/lib/component/elements/Sections.d.ts.map +1 -1
- package/lib/component/elements/Sections.js +1 -2
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/Select.d.ts +6 -6
- package/lib/component/elements/Select.d.ts.map +1 -1
- package/lib/component/elements/Select.js +5 -4
- package/lib/component/elements/Select.js.map +1 -1
- package/lib/component/elements/Select2.d.ts.map +1 -1
- package/lib/component/elements/Select2.js.map +1 -1
- package/lib/component/elements/Tab/Tab.js.map +1 -1
- package/lib/component/elements/Tab/Tabs.d.ts +2 -5
- package/lib/component/elements/Tab/Tabs.d.ts.map +1 -1
- package/lib/component/elements/Tab/Tabs.js +2 -7
- package/lib/component/elements/Tab/Tabs.js.map +1 -1
- package/lib/component/elements/TabTitle.js.map +1 -1
- package/lib/component/elements/TabsProvider.js.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.d.ts +4 -3
- package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.js +13 -5
- package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
- package/lib/component/elements/draggable/useDraggable.d.ts +2 -1
- package/lib/component/elements/draggable/useDraggable.d.ts.map +1 -1
- package/lib/component/elements/draggable/useDraggable.js +2 -2
- package/lib/component/elements/draggable/useDraggable.js.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.d.ts +2 -6
- package/lib/component/elements/dropDownButton/DropDownButton.d.ts.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.js +4 -4
- package/lib/component/elements/dropDownButton/DropDownButton.js.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownList.d.ts +3 -3
- package/lib/component/elements/dropDownButton/DropDownList.d.ts.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownList.js +3 -3
- package/lib/component/elements/dropDownButton/DropDownList.js.map +1 -1
- package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
- package/lib/component/elements/export/ExportManager.js +2 -2
- package/lib/component/elements/export/ExportManager.js.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/elements/export/units.d.ts.map +1 -1
- package/lib/component/elements/export/units.js.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts +2 -2
- package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
- package/lib/component/elements/pdnd.cjs +3 -1
- package/lib/component/elements/pdnd.cjs.map +1 -1
- package/lib/component/elements/pdnd.d.cts.map +1 -1
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.js +2 -2
- package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Zones2DOptionPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts +2 -18
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +1 -18
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/useActiveNucleusTab.d.ts +2 -0
- package/lib/component/hooks/useActiveNucleusTab.d.ts.map +1 -0
- package/lib/component/hooks/useActiveNucleusTab.js +6 -0
- package/lib/component/hooks/useActiveNucleusTab.js.map +1 -0
- package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts +2 -2
- package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.js +2 -1
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useDialogToggle.d.ts +1 -1
- package/lib/component/hooks/useDialogToggle.d.ts.map +1 -1
- package/lib/component/hooks/useDialogToggle.js +2 -7
- package/lib/component/hooks/useDialogToggle.js.map +1 -1
- package/lib/component/hooks/useFormatNumberByNucleus.d.ts.map +1 -1
- package/lib/component/hooks/useFormatNumberByNucleus.js +1 -1
- package/lib/component/hooks/useFormatNumberByNucleus.js.map +1 -1
- package/lib/component/hooks/useResizerStatus.d.ts +2 -2
- package/lib/component/hooks/useResizerStatus.d.ts.map +1 -1
- package/lib/component/hooks/useResizerStatus.js.map +1 -1
- package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.js +1 -9
- package/lib/component/hooks/useSaveSettings.js.map +1 -1
- package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
- package/lib/component/hooks/useTableSortBy.js +10 -16
- package/lib/component/hooks/useTableSortBy.js.map +1 -1
- package/lib/component/hooks/useToggleSpectraVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useToggleSpectraVisibility.js +2 -2
- package/lib/component/hooks/useToggleSpectraVisibility.js.map +1 -1
- package/lib/component/hooks/useToolsFunctions.d.ts +2 -1
- package/lib/component/hooks/useToolsFunctions.d.ts.map +1 -1
- package/lib/component/hooks/useToolsFunctions.js.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.js.map +1 -1
- package/lib/component/hooks/useXScale.d.ts +1 -1
- package/lib/component/hooks/useXScale.d.ts.map +1 -1
- package/lib/component/hooks/useXYReduce.d.ts +2 -6
- package/lib/component/hooks/useXYReduce.d.ts.map +1 -1
- package/lib/component/hooks/useXYReduce.js +1 -6
- package/lib/component/hooks/useXYReduce.js.map +1 -1
- package/lib/component/main/NMRiumViewer.js.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.js +2 -2
- package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
- package/lib/component/modal/ExportAsJcampModal.js.map +1 -1
- package/lib/component/modal/ImportPublicationStringModal.js +1 -1
- package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
- package/lib/component/modal/LogsHistoryModal.js +1 -1
- package/lib/component/modal/LogsHistoryModal.js.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
- package/lib/component/modal/PredictSpectraModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +58 -23
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/SaveAsModal.js +3 -4
- package/lib/component/modal/SaveAsModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +8 -10
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModalContents.js.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +2 -2
- package/lib/component/modal/editRange/EditRangeModal.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +2 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js +2 -2
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
- package/lib/component/modal/editZone/EditZoneModal.d.ts +5 -0
- package/lib/component/modal/editZone/EditZoneModal.d.ts.map +1 -1
- package/lib/component/modal/editZone/EditZoneModal.js.map +1 -1
- package/lib/component/modal/editZone/SignalsForm.d.ts.map +1 -1
- package/lib/component/modal/editZone/SignalsForm.js +6 -2
- package/lib/component/modal/editZone/SignalsForm.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js +1 -0
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.js +15 -6
- package/lib/component/modal/setting/GeneralSettings.js.map +1 -1
- package/lib/component/modal/setting/WorkspaceItem.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +19 -10
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +3 -3
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +5 -5
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +1 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralPanel.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.js +4 -3
- package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +4 -2
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +34 -7
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/Utilities.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/Utilities.js +8 -2
- package/lib/component/panels/MoleculesPanel/Utilities.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js +4 -6
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/Panels.d.ts +2 -3
- package/lib/component/panels/Panels.d.ts.map +1 -1
- package/lib/component/panels/Panels.js +1 -1
- package/lib/component/panels/Panels.js.map +1 -1
- package/lib/component/panels/PanelsBar.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPanel.js +4 -4
- package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js +2 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesHeader.js +2 -2
- package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +4 -4
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.js +3 -3
- package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js +16 -17
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.js +1 -3
- package/lib/component/panels/SpectraPanel/SpectraTabs.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/processSnapPlot.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +3 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +2 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +9 -6
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +10 -11
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +18 -10
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +3 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +10 -11
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +2 -2
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPanel.js +4 -5
- package/lib/component/panels/ZonesPanel/ZonesPanel.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTable.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
- package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
- package/lib/component/panels/accordionItems.d.ts.map +1 -1
- package/lib/component/panels/accordionItems.js +1 -2
- package/lib/component/panels/accordionItems.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +4 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js +6 -4
- package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +3 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +6 -6
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +4 -3
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/index.d.ts +2 -26
- package/lib/component/panels/filtersPanel/Filters/index.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/index.js +1 -0
- package/lib/component/panels/filtersPanel/Filters/index.js.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js +3 -2
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +9 -6
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +3 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionSimpleOptions.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulation.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpinSystemTable.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +11 -10
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts +7 -6
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +19 -19
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +12 -11
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +6 -5
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js +3 -3
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadActions.js +3 -0
- package/lib/component/reducer/actions/LoadActions.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +2 -1
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +2 -2
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +2 -2
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +20 -12
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +13 -24
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts +1 -1
- package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts.map +1 -1
- package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.js.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.d.ts +2 -8
- package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js +0 -6
- package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/helper/get2DRange.d.ts.map +1 -1
- package/lib/component/reducer/helper/get2DRange.js.map +1 -1
- package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -1
- package/lib/component/reducer/helper/getRange.d.ts.map +1 -1
- package/lib/component/reducer/helper/getRange.js.map +1 -1
- package/lib/component/reducer/helper/getSpectrum.d.ts +6 -3
- package/lib/component/reducer/helper/getSpectrum.d.ts.map +1 -1
- package/lib/component/reducer/helper/getSpectrum.js +1 -0
- package/lib/component/reducer/helper/getSpectrum.js.map +1 -1
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.d.ts +4 -0
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.d.ts.map +1 -0
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.js +10 -0
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.js.map +1 -0
- package/lib/component/reducer/preferences/actions/initPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts +2 -2
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/actions/togglePanel.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/togglePanel.js +6 -6
- package/lib/component/reducer/preferences/actions/togglePanel.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +11 -8
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js +3 -0
- package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts +2 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -2
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -1
- package/lib/component/toolbar/ToolBar.js +9 -9
- package/lib/component/toolbar/ToolBar.js.map +1 -1
- package/lib/component/toolbar/ToolTypes.d.ts +7 -2
- package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
- package/lib/component/toolbar/ToolTypes.js +2 -43
- package/lib/component/toolbar/ToolTypes.js.map +1 -1
- package/lib/component/toolbar/toolbarMenu.d.ts.map +1 -1
- package/lib/component/toolbar/toolbarMenu.js +25 -17
- package/lib/component/toolbar/toolbarMenu.js.map +1 -1
- package/lib/component/utility/Events.d.ts.map +1 -1
- package/lib/component/utility/Events.js.map +1 -1
- package/lib/component/utility/LocalStorage.d.ts.map +1 -1
- package/lib/component/utility/LocalStorage.js.map +1 -1
- package/lib/component/utility/export.d.ts +1 -1
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +8 -8
- package/lib/component/utility/export.js.map +1 -1
- package/lib/component/utility/extractChemicalElement.js +1 -1
- package/lib/component/utility/extractChemicalElement.js.map +1 -1
- package/lib/component/utility/formatNumber.d.ts +1 -1
- package/lib/component/utility/formatNumber.d.ts.map +1 -1
- package/lib/component/utility/forwardRef.d.ts +3 -0
- package/lib/component/utility/forwardRef.d.ts.map +1 -0
- package/lib/component/utility/forwardRef.js +6 -0
- package/lib/component/utility/forwardRef.js.map +1 -0
- package/lib/component/utility/getSpectraObjectPaths.d.ts +1 -1
- package/lib/component/utility/getSpectraObjectPaths.js.map +1 -1
- package/lib/component/utility/getUniqueNuclei.js.map +1 -1
- package/lib/component/utility/groupByInfoKey.d.ts +4 -0
- package/lib/component/utility/groupByInfoKey.d.ts.map +1 -0
- package/lib/component/utility/{GroupByInfoKey.js → groupByInfoKey.js} +8 -6
- package/lib/component/utility/groupByInfoKey.js.map +1 -0
- package/lib/component/utility/nucleusToString.d.ts.map +1 -1
- package/lib/component/utility/nucleusToString.js.map +1 -1
- package/lib/component/utility/renderCoreSlot.d.ts +8 -1
- package/lib/component/utility/renderCoreSlot.d.ts.map +1 -1
- package/lib/component/utility/renderCoreSlot.js +10 -2
- package/lib/component/utility/renderCoreSlot.js.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +16 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/PredictionManager.d.ts +1 -1
- package/lib/data/PredictionManager.d.ts.map +1 -1
- package/lib/data/PredictionManager.js +3 -2
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/SpectraManager.d.ts +2 -7
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +11 -11
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/constants/References.d.ts +4 -1
- package/lib/data/constants/References.d.ts.map +1 -1
- package/lib/data/constants/References.js +24 -22
- package/lib/data/constants/References.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/generateJGraphData.js +2 -1
- package/lib/data/data1d/Spectrum1D/generateJGraphData.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.js +2 -2
- package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js +3 -3
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts +4 -0
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.js +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +3 -3
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/createRange.js +1 -0
- package/lib/data/data1d/Spectrum1D/ranges/createRange.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +2 -0
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
- package/lib/data/data1d/database.js.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts +9 -15
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +30 -19
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +2 -0
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js +2 -2
- package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZones.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZones.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts.map +1 -1
- package/lib/data/getFilterLabel.js +8 -2
- package/lib/data/getFilterLabel.js.map +1 -1
- package/lib/data/initiateFilters.d.ts +1 -2
- package/lib/data/initiateFilters.d.ts.map +1 -1
- package/lib/data/initiateFilters.js.map +1 -1
- package/lib/data/matrixGeneration.js.map +1 -1
- package/lib/data/molecules/MoleculeManager.d.ts +6 -0
- package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
- package/lib/data/molecules/MoleculeManager.js +11 -0
- package/lib/data/molecules/MoleculeManager.js.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
- package/lib/data/parseMeta/mapErrors.d.ts +1 -1
- package/lib/data/parseMeta/mapErrors.d.ts.map +1 -1
- package/lib/data/parseMeta/mapErrors.js.map +1 -1
- package/lib/data/types/data1d/index.js +1 -1
- package/lib/data/types/data1d/index.js.map +1 -1
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/data/utilities/FindUtilities.js +5 -0
- package/lib/data/utilities/FindUtilities.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/ZoneUtilities.d.ts +1 -1
- package/lib/data/utilities/ZoneUtilities.d.ts.map +1 -1
- package/lib/data/utilities/ZoneUtilities.js.map +1 -1
- package/lib/data/utilities/convertSpectraListToObject.d.ts.map +1 -1
- package/lib/data/utilities/convertSpectraListToObject.js.map +1 -1
- package/lib/data/utilities/getAtom.js +1 -1
- package/lib/data/utilities/getAtom.js.map +1 -1
- package/lib/data/utilities/getAtomsFromMF.js.map +1 -1
- package/lib/data/utilities/removeByPaths.js.map +1 -1
- package/lib/utils/clipboard/clipboardHooks.d.ts.map +1 -1
- package/lib/utils/clipboard/clipboardHooks.js +2 -0
- package/lib/utils/clipboard/clipboardHooks.js.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +62 -53
- package/src/component/1d/BrushTracker1D.tsx +8 -8
- package/src/component/1d/ExclusionZoneAnnotation.tsx +3 -3
- package/src/component/1d/FloatPublicationString.tsx +14 -13
- package/src/component/1d/FloatingRanges.tsx +5 -11
- package/src/component/1d/FooterBanner.tsx +2 -2
- package/src/component/1d/Line.tsx +2 -2
- package/src/component/1d/PredictionErrorsNotations.tsx +2 -2
- package/src/component/1d/SimilarityTree.tsx +2 -2
- package/src/component/1d/XAxis1D.tsx +3 -3
- package/src/component/1d/database/DatabaseElements.tsx +2 -5
- package/src/component/1d/database/DatabaseSpectrum.tsx +3 -6
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +3 -6
- package/src/component/1d/inset/DraggableInset.tsx +156 -73
- package/src/component/1d/inset/InsetViewerRoot.tsx +2 -1
- package/src/component/1d/integral/IntegralResizable.tsx +3 -3
- package/src/component/1d/jCouplingGraph/JGraph.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphContext.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +1 -1
- package/src/component/1d/matrix/Boxplot.tsx +10 -9
- package/src/component/1d/matrix/Stocsy.tsx +11 -8
- package/src/component/1d/multiAnalysis/AnalysisRange.tsx +1 -1
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -2
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +4 -7
- package/src/component/1d/peaks/PeakEditionManager.tsx +12 -6
- package/src/component/1d/peaks/Peaks.tsx +7 -7
- package/src/component/1d/ranges/Atoms.tsx +5 -1
- package/src/component/1d/ranges/Range.tsx +4 -3
- package/src/component/1d/ranges/Ranges.tsx +11 -12
- package/src/component/1d/tool/BaseLineZones.tsx +1 -1
- package/src/component/1d/tool/PeakPointer.tsx +8 -7
- package/src/component/1d/utilities/intersectionResolver.ts +11 -11
- package/src/component/1d/utilities/scale.ts +1 -1
- package/src/component/1d-2d/FieldEdition.tsx +7 -11
- package/src/component/1d-2d/components/ClipPathContainer.tsx +3 -1
- package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +38 -20
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +5 -6
- package/src/component/1d-2d/tools/CrossLinePointer.tsx +0 -1
- package/src/component/2d/1d-tracer/Left1DChart.tsx +2 -2
- package/src/component/2d/1d-tracer/Top1DChart.tsx +2 -2
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx +2 -5
- package/src/component/2d/BrushTracker2D.tsx +3 -2
- package/src/component/2d/FooterBanner.tsx +12 -6
- package/src/component/2d/SignalDeltaLine.tsx +5 -4
- package/src/component/2d/tools/XYLabelPointer.tsx +11 -5
- package/src/component/2d/utilities/DimensionLayout.ts +14 -14
- package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -0
- package/src/component/2d/utilities/scale.ts +8 -4
- package/src/component/2d/zones/Signal.tsx +16 -21
- package/src/component/2d/zones/SignalCrosshair.tsx +1 -3
- package/src/component/2d/zones/SignalsGuideLines.tsx +64 -23
- package/src/component/2d/zones/Zone.tsx +23 -18
- package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +5 -6
- package/src/component/EventsTrackers/BrushTracker.tsx +6 -6
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +15 -15
- package/src/component/EventsTrackers/MouseTracker.tsx +2 -2
- package/src/component/SVGTable.tsx +3 -3
- package/src/component/assignment/AssignmentsContext.ts +2 -0
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +2 -2
- package/src/component/context/LoggerContext.tsx +2 -2
- package/src/component/context/PreferencesContext.tsx +9 -4
- package/src/component/context/ScaleContext.tsx +3 -2
- package/src/component/context/SortSpectraContext.tsx +2 -2
- package/src/component/elements/ActionsButtonsPopover.tsx +64 -4
- package/src/component/elements/Alert.tsx +1 -1
- package/src/component/elements/Button.tsx +1 -1
- package/src/component/elements/ContextMenuBluePrint.tsx +2 -2
- package/src/component/elements/D3Axis.tsx +1 -1
- package/src/component/elements/DialogManager.tsx +3 -2
- package/src/component/elements/EditableColumn.tsx +1 -1
- package/src/component/elements/Input.tsx +2 -2
- package/src/component/elements/Input2.tsx +8 -14
- package/src/component/elements/InputRange.tsx +3 -3
- package/src/component/elements/MoleculeSelection.tsx +1 -1
- package/src/component/elements/NextPrev.tsx +5 -29
- package/src/component/elements/NumberInput2.tsx +2 -2
- package/src/component/elements/ReactTable/Elements/EmptyDataRow.tsx +1 -1
- package/src/component/elements/ReactTable/Elements/ReactTableHeader.tsx +2 -2
- package/src/component/elements/ReactTable/Elements/ReactTableRow.tsx +4 -6
- package/src/component/elements/ReactTable/ReactTable.tsx +11 -11
- package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +4 -3
- package/src/component/elements/ReactTable/utility/useRowSpan.ts +15 -9
- package/src/component/elements/ReadOnly.tsx +1 -1
- package/src/component/elements/SVGButton.tsx +11 -9
- package/src/component/elements/Sections.tsx +2 -4
- package/src/component/elements/Select.tsx +17 -18
- package/src/component/elements/Select2.tsx +1 -1
- package/src/component/elements/Tab/Tab.tsx +3 -3
- package/src/component/elements/Tab/Tabs.tsx +5 -8
- package/src/component/elements/TabTitle.tsx +1 -1
- package/src/component/elements/TabsProvider.tsx +1 -1
- package/src/component/elements/ToolbarPopoverItem.tsx +44 -9
- package/src/component/elements/draggable/useDraggable.ts +9 -9
- package/src/component/elements/dropDownButton/DropDownButton.tsx +6 -16
- package/src/component/elements/dropDownButton/DropDownList.tsx +5 -15
- package/src/component/elements/export/ExportManager.tsx +6 -3
- package/src/component/elements/export/ExportOptionsModal.tsx +2 -2
- package/src/component/elements/export/units.ts +1 -1
- package/src/component/elements/export/useExportConfigurer.tsx +3 -3
- package/src/component/elements/pdnd.cts +3 -1
- package/src/component/elements/print/PrintContent.tsx +1 -1
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +3 -2
- package/src/component/header/Header.tsx +1 -1
- package/src/component/header/RangesPickingOptionPanel.tsx +1 -1
- package/src/component/header/Zones2DOptionPanel.tsx +2 -2
- package/src/component/highlight/index.tsx +18 -22
- package/src/component/hooks/useActiveNucleusTab.ts +10 -0
- package/src/component/hooks/useActiveSpectrumZonesViewState.ts +1 -1
- package/src/component/hooks/useCheckToolsVisibility.ts +7 -4
- package/src/component/hooks/useDialogToggle.ts +10 -8
- package/src/component/hooks/useFormatNumberByNucleus.ts +4 -3
- package/src/component/hooks/useIntegralPath.ts +1 -1
- package/src/component/hooks/useResizerStatus.ts +2 -3
- package/src/component/hooks/useSVGUnitConverter.ts +1 -1
- package/src/component/hooks/useSaveSettings.tsx +3 -11
- package/src/component/hooks/useTableSortBy.tsx +15 -22
- package/src/component/hooks/useToggleSpectraVisibility.tsx +3 -7
- package/src/component/hooks/useToolsFunctions.ts +2 -2
- package/src/component/hooks/useTriggerNewAssignmentLabel.ts +1 -1
- package/src/component/hooks/useXScale.ts +1 -1
- package/src/component/hooks/useXYReduce.ts +3 -9
- package/src/component/main/NMRiumViewer.tsx +1 -1
- package/src/component/modal/EditPeakShapeModal.tsx +4 -8
- package/src/component/modal/ExportAsJcampModal.tsx +1 -1
- package/src/component/modal/ImportPublicationStringModal.tsx +10 -6
- package/src/component/modal/LoadJCAMPModal.tsx +1 -1
- package/src/component/modal/LogsHistoryModal.tsx +6 -5
- package/src/component/modal/MultipletAnalysisModal.tsx +1 -1
- package/src/component/modal/PredictSpectraModal.tsx +1 -1
- package/src/component/modal/PublicationStringModal.tsx +82 -42
- package/src/component/modal/SaveAsModal.tsx +8 -8
- package/src/component/modal/aboutUs/AboutUsModal.tsx +59 -54
- package/src/component/modal/changeSum/ChangeSumModalContents.tsx +2 -2
- package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
- package/src/component/modal/editRange/EditRangeModal.tsx +5 -8
- package/src/component/modal/editRange/forms/components/DeltaInput.tsx +3 -2
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +4 -9
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +5 -4
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +17 -14
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +17 -14
- package/src/component/modal/editZone/EditZoneModal.tsx +3 -3
- package/src/component/modal/editZone/SignalsForm.tsx +26 -9
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +8 -7
- package/src/component/modal/setting/GeneralSettings.tsx +51 -33
- package/src/component/modal/setting/WorkspaceItem.tsx +3 -3
- package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +19 -9
- package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +25 -17
- package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +18 -9
- package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +3 -2
- package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +21 -10
- package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +20 -13
- package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +13 -3
- package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +21 -12
- package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +7 -8
- package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +4 -3
- package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
- package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +2 -2
- package/src/component/panels/IntegralsPanel/IntegralTable.tsx +17 -13
- package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +2 -2
- package/src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx +8 -7
- package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +7 -7
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.tsx +17 -4
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +11 -2
- package/src/component/panels/MoleculesPanel/MoleculeHeader.tsx +2 -2
- package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +3 -2
- package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +46 -21
- package/src/component/panels/MoleculesPanel/Utilities.ts +10 -5
- package/src/component/panels/MoleculesPanel/useAtomAssignment.tsx +6 -12
- package/src/component/panels/Panels.tsx +5 -2
- package/src/component/panels/PanelsBar.tsx +3 -3
- package/src/component/panels/PeaksPanel/PeaksPanel.tsx +14 -14
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +2 -2
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +15 -13
- package/src/component/panels/RangesPanel/RangesHeader.tsx +3 -3
- package/src/component/panels/RangesPanel/RangesPanel.tsx +2 -2
- package/src/component/panels/RangesPanel/RangesPreferences.tsx +2 -2
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +6 -10
- package/src/component/panels/RangesPanel/TableColumns/CouplingColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.tsx +1 -2
- package/src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/hooks/useEditRangeModal.tsx +3 -3
- package/src/component/panels/RangesPanel/hooks/useMapRanges.ts +1 -1
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +2 -2
- package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +12 -11
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +27 -26
- package/src/component/panels/SpectraPanel/SpectraTabs.tsx +4 -5
- package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/ShowHideSpectrumButton.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +6 -5
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/processSnapPlot.ts +2 -2
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +26 -16
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +35 -23
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +32 -13
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +41 -31
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.tsx +1 -1
- package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +5 -5
- package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +4 -3
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +7 -5
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +17 -9
- package/src/component/panels/ZonesPanel/TableColumns/ActionsColumn.tsx +1 -1
- package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +1 -2
- package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +2 -2
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +1 -1
- package/src/component/panels/ZonesPanel/ZonesPanel.tsx +30 -22
- package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +2 -2
- package/src/component/panels/ZonesPanel/ZonesTable.tsx +1 -1
- package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +1 -1
- package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +2 -1
- package/src/component/panels/accordionItems.tsx +1 -2
- package/src/component/panels/databasePanel/DatabasePanel.tsx +17 -9
- package/src/component/panels/databasePanel/DatabasePreferences.tsx +2 -2
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +2 -2
- package/src/component/panels/databasePanel/DatabaseTable.tsx +16 -10
- package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +2 -2
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +9 -8
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +15 -10
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +4 -4
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -1
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +4 -4
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +5 -5
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +8 -8
- package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +7 -9
- package/src/component/panels/filtersPanel/Filters/index.tsx +3 -1
- package/src/component/panels/informationPanel/InformationEditionModal.tsx +12 -9
- package/src/component/panels/multipleAnalysisPanel/AlignSpectra.tsx +6 -6
- package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +7 -6
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +2 -2
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +19 -12
- package/src/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.tsx +9 -8
- package/src/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.tsx +10 -7
- package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +6 -4
- package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +1 -1
- package/src/component/panels/predictionPanel/PredictionPreferences.tsx +2 -2
- package/src/component/panels/predictionPanel/PredictionSimpleOptions.tsx +1 -1
- package/src/component/panels/spectrumSimulation/SpectrumSimulation.tsx +2 -2
- package/src/component/panels/spectrumSimulation/SpectrumSimulationPreferences.tsx +1 -1
- package/src/component/panels/spectrumSimulation/SpinSystemTable.tsx +6 -3
- package/src/component/reducer/Reducer.ts +13 -12
- package/src/component/reducer/actions/DomainActions.ts +45 -37
- package/src/component/reducer/actions/FiltersActions.ts +30 -23
- package/src/component/reducer/actions/InsetActions.ts +7 -10
- package/src/component/reducer/actions/IntegralsActions.ts +6 -5
- package/src/component/reducer/actions/LoadActions.ts +5 -2
- package/src/component/reducer/actions/MoleculeActions.ts +3 -1
- package/src/component/reducer/actions/PeaksActions.ts +5 -2
- package/src/component/reducer/actions/PreferencesActions.ts +2 -2
- package/src/component/reducer/actions/RangesActions.ts +15 -9
- package/src/component/reducer/actions/SpectraActions.ts +23 -18
- package/src/component/reducer/actions/ToolsActions.ts +30 -39
- package/src/component/reducer/actions/utilities/deepReplaceDiaIDs.ts +1 -1
- package/src/component/reducer/helper/Zoom1DManager.ts +3 -10
- package/src/component/reducer/helper/ZoomHistoryManager.ts +5 -5
- package/src/component/reducer/helper/get2DRange.ts +1 -1
- package/src/component/reducer/helper/getActiveSpectraAsObject.ts +1 -1
- package/src/component/reducer/helper/getRange.ts +1 -1
- package/src/component/reducer/helper/getSpectrum.ts +17 -4
- package/src/component/reducer/preferences/actions/changeExportAcsSettings.ts +19 -0
- package/src/component/reducer/preferences/actions/initPreferences.ts +3 -3
- package/src/component/reducer/preferences/actions/matrixGeneration.ts +7 -4
- package/src/component/reducer/preferences/actions/setPanelsPreferences.ts +9 -3
- package/src/component/reducer/preferences/actions/setPreferences.ts +1 -1
- package/src/component/reducer/preferences/actions/setWorkspace.ts +1 -1
- package/src/component/reducer/preferences/actions/togglePanel.ts +10 -7
- package/src/component/reducer/preferences/preferencesReducer.ts +24 -14
- package/src/component/reducer/preferences/utilities/initWorkspace.ts +2 -1
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +6 -2
- package/src/component/toolbar/ToolBar.tsx +14 -14
- package/src/component/toolbar/ToolTypes.ts +11 -52
- package/src/component/toolbar/toolbarMenu.tsx +25 -17
- package/src/component/utility/Events.tsx +6 -6
- package/src/component/utility/LocalStorage.ts +5 -5
- package/src/component/utility/export.ts +14 -13
- package/src/component/utility/extractChemicalElement.ts +1 -1
- package/src/component/utility/forwardRef.ts +10 -0
- package/src/component/utility/getSpectraObjectPaths.ts +1 -1
- package/src/component/utility/getUniqueNuclei.ts +1 -1
- package/src/component/utility/groupByInfoKey.ts +34 -0
- package/src/component/utility/nucleusToString.ts +1 -1
- package/src/component/utility/renderCoreSlot.tsx +12 -2
- package/src/component/utility/stackOverlappingLabels.ts +1 -1
- package/src/component/workspaces/workspaceDefaultProperties.ts +16 -0
- package/src/data/PredictionManager.ts +16 -14
- package/src/data/SpectraManager.ts +20 -15
- package/src/data/constants/References.ts +26 -25
- package/src/data/data1d/Spectrum1D/generateJGraphData.ts +2 -3
- package/src/data/data1d/Spectrum1D/get1DColor.ts +7 -3
- package/src/data/data1d/Spectrum1D/getReferenceShift.ts +8 -4
- package/src/data/data1d/Spectrum1D/isRangeAssigned.ts +2 -2
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +10 -4
- package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +1 -1
- package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/createRange.ts +1 -0
- package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +2 -0
- package/src/data/data1d/database.ts +2 -2
- package/src/data/data1d/multipleSpectraAnalysis.ts +57 -29
- package/src/data/data2d/Spectrum2D/contours.ts +3 -1
- package/src/data/data2d/Spectrum2D/get2DColor.ts +8 -4
- package/src/data/data2d/Spectrum2D/getMissingProjection.ts +1 -1
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -1
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +4 -2
- package/src/data/data2d/Spectrum2D/zones/detectZones.ts +4 -1
- package/src/data/data2d/Spectrum2D/zones/detectZonesManual.ts +4 -2
- package/src/data/data2d/Spectrum2D/zones/getDetectionZones.ts +2 -2
- package/src/data/getFilterLabel.ts +10 -2
- package/src/data/initiateFilters.ts +1 -5
- package/src/data/matrixGeneration.ts +1 -1
- package/src/data/molecules/MoleculeManager.ts +14 -0
- package/src/data/parseMeta/linkMetaWithSpectra.ts +3 -3
- package/src/data/parseMeta/mapErrors.ts +1 -1
- package/src/data/utilities/FindUtilities.ts +5 -0
- package/src/data/utilities/RangeUtilities.ts +1 -1
- package/src/data/utilities/ZoneUtilities.ts +5 -5
- package/src/data/utilities/convertSpectraListToObject.ts +2 -2
- package/src/data/utilities/getAtom.ts +1 -1
- package/src/data/utilities/getAtomsFromMF.ts +1 -1
- package/src/data/utilities/removeByPaths.ts +2 -2
- package/src/utils/clipboard/clipboardHooks.ts +5 -3
- package/src/versionInfo.ts +1 -1
- package/lib/component/utility/GroupByInfoKey.d.ts +0 -2
- package/lib/component/utility/GroupByInfoKey.d.ts.map +0 -1
- package/lib/component/utility/GroupByInfoKey.js.map +0 -1
- package/lib/component/utility/assert.d.ts +0 -2
- package/lib/component/utility/assert.d.ts.map +0 -1
- package/lib/component/utility/assert.js +0 -6
- package/lib/component/utility/assert.js.map +0 -1
- package/src/component/utility/GroupByInfoKey.ts +0 -29
- package/src/component/utility/assert.ts +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XYLabelPointer.js","sourceRoot":"","sources":["../../../../src/component/2d/tools/XYLabelPointer.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"XYLabelPointer.js","sourceRoot":"","sources":["../../../../src/component/2d/tools/XYLabelPointer.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AAEnF,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE9E,MAAM,KAAK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KAAK,EAAE;YACL,GAAG,KAAK;YACR,SAAS,EAAE,aAAa,QAAQ,CAAC,CAAC,OAAO,QAAQ,CAAC,CAAC,4BAA4B;SAChF,aAED,yBAAO,OAAO,CAAC,SAAS,EAAE,CAAC,GAAQ,EACnC,eAAM,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAG,GAAG,GAAQ,EAC5C,eAAM,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,YAAG,OAAO,CAAC,SAAS,EAAE,CAAC,GAAQ,IACxD,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import type { BrushCoordination } from '../../EventsTrackers/BrushTracker.js';
|
|
2
|
-
declare const LAYOUT: {
|
|
2
|
+
export declare const LAYOUT: {
|
|
3
3
|
readonly main: "MAIN";
|
|
4
4
|
readonly top: "TOP";
|
|
5
5
|
readonly left: "LEFT";
|
|
6
6
|
};
|
|
7
|
-
type Layout = (typeof LAYOUT)[keyof typeof LAYOUT];
|
|
7
|
+
export type Layout = (typeof LAYOUT)[keyof typeof LAYOUT];
|
|
8
8
|
interface MarginProps {
|
|
9
9
|
top: number;
|
|
10
10
|
left: number;
|
|
11
11
|
right: number;
|
|
12
12
|
bottom: number;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
interface Get2DDimensionLayoutParams {
|
|
15
15
|
width: number;
|
|
16
16
|
height: number;
|
|
17
17
|
margin: MarginProps;
|
|
18
|
-
}
|
|
18
|
+
}
|
|
19
|
+
export type Get2DDimensionLayoutReturn = Record<Layout, BrushCoordination>;
|
|
20
|
+
export declare function get2DDimensionLayout(params: Get2DDimensionLayoutParams): Get2DDimensionLayoutReturn;
|
|
19
21
|
interface StartEndProps {
|
|
20
22
|
startX: number;
|
|
21
23
|
endX?: number;
|
|
@@ -23,7 +25,6 @@ interface StartEndProps {
|
|
|
23
25
|
endY?: number;
|
|
24
26
|
}
|
|
25
27
|
type DimensionType = Record<Layout, Required<StartEndProps>>;
|
|
26
|
-
declare function getLayoutID(dimension: DimensionType, brushData: StartEndProps): Layout | null;
|
|
27
|
-
export {
|
|
28
|
-
export type { Layout };
|
|
28
|
+
export declare function getLayoutID(dimension: DimensionType, brushData: StartEndProps): Layout | null;
|
|
29
|
+
export {};
|
|
29
30
|
//# sourceMappingURL=DimensionLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DimensionLayout.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/utilities/DimensionLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,
|
|
1
|
+
{"version":3,"file":"DimensionLayout.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/utilities/DimensionLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,eAAO,MAAM,MAAM;;;;CAIT,CAAC;AAEX,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAE1D,UAAU,WAAW;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,0BAA0B;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAE3E,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,0BAA0B,GACjC,0BAA0B,CAsB5B;AAED,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,KAAK,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;AAE7D,wBAAgB,WAAW,CACzB,SAAS,EAAE,aAAa,EACxB,SAAS,EAAE,aAAa,GACvB,MAAM,GAAG,IAAI,CAYf"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
const LAYOUT = {
|
|
1
|
+
export const LAYOUT = {
|
|
2
2
|
main: 'MAIN',
|
|
3
3
|
top: 'TOP',
|
|
4
4
|
left: 'LEFT',
|
|
5
5
|
};
|
|
6
|
-
function get2DDimensionLayout(
|
|
6
|
+
export function get2DDimensionLayout(params) {
|
|
7
|
+
const { width, height, margin } = params;
|
|
7
8
|
return {
|
|
8
9
|
MAIN: {
|
|
9
10
|
startX: margin.left,
|
|
@@ -25,7 +26,7 @@ function get2DDimensionLayout({ width, height, margin, }) {
|
|
|
25
26
|
},
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
|
-
function getLayoutID(dimension, brushData) {
|
|
29
|
+
export function getLayoutID(dimension, brushData) {
|
|
29
30
|
for (const key of Object.keys(dimension)) {
|
|
30
31
|
if (brushData.startX >= dimension[key].startX &&
|
|
31
32
|
brushData.startX <= dimension[key].endX &&
|
|
@@ -36,5 +37,4 @@ function getLayoutID(dimension, brushData) {
|
|
|
36
37
|
}
|
|
37
38
|
return null;
|
|
38
39
|
}
|
|
39
|
-
export { LAYOUT, get2DDimensionLayout, getLayoutID };
|
|
40
40
|
//# sourceMappingURL=DimensionLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DimensionLayout.js","sourceRoot":"","sources":["../../../../src/component/2d/utilities/DimensionLayout.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG;
|
|
1
|
+
{"version":3,"file":"DimensionLayout.js","sourceRoot":"","sources":["../../../../src/component/2d/utilities/DimensionLayout.ts"],"names":[],"mappings":"AAEA,MAAM,CA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C;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractSpectrumSignals.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/utilities/extractSpectrumSignals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAIxD,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,UAAU,GAAG,CAAC,CAAC;AAEhD,UAAU,6BAA6B,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC;CAC/B;AACD,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAC9D,QAAQ,EAAE,UAAU,EACpB,OAAO,GAAE,6BAA6B,CAAC,CAAC,CAAM,wBA0C/C"}
|
|
1
|
+
{"version":3,"file":"extractSpectrumSignals.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/utilities/extractSpectrumSignals.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAIxD,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI,UAAU,GAAG,CAAC,CAAC;AAEhD,UAAU,6BAA6B,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC;CAC/B;AACD,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAC9D,QAAQ,EAAE,UAAU,EACpB,OAAO,GAAE,6BAA6B,CAAC,CAAC,CAAM,wBA0C/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractSpectrumSignals.js","sourceRoot":"","sources":["../../../../src/component/2d/utilities/extractSpectrumSignals.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"extractSpectrumSignals.js","sourceRoot":"","sources":["../../../../src/component/2d/utilities/extractSpectrumSignals.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAiBhF,MAAM,UAAU,sBAAsB,CACpC,QAAoB,EACpB,UAA4C,EAAE;IAE9C,MAAM,MAAM,GAA8B,EAAE,CAAC;IAC7C,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IAEtC,MAAM,MAAM,GAAG,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC;IACxC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,MAAM,EAAE,MAAM,KAAK,CAAC,EAAE,CAAC;QACnD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC;QAC7B,MAAM,OAAO,GAAG,KAAK,CAAC,EAAE,CAAC;QACzB,IAAI,SAAS,GAAG,IAAI,CAAC;QAErB,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE,CAAC;YACvD,SAAS,GAAG,SAAS,IAAI,EAAE,IAAI,OAAO,IAAI,IAAI,CAAC;QACjD,CAAC;aAAM,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE,CAAC;YAClC,SAAS,GAAG,OAAO,IAAI,EAAE,CAAC;QAC5B,CAAC;aAAM,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;YACpC,SAAS,GAAG,SAAS,IAAI,IAAI,CAAC;QAChC,CAAC;QAED,IAAI,CAAC,SAAS;YAAE,SAAS;QAEzB,MAAM,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;QAC3C,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC;YACnC,IAAI,qBAAqB,CAAC,QAAQ,CAAC,IAAc,CAAC,EAAE,CAAC;gBACnD,MAAM,CAAC,IAAI,CAAC;oBACV,UAAU,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE;oBACzC,KAAK;oBACL,EAAE;oBACF,GAAG,OAAO,EAAE,CAAC,KAAK,CAAC;iBACE,CAAC,CAAC;gBACzB,KAAK,EAAE,CAAC;YACV,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scale.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/utilities/scale.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"scale.d.ts","sourceRo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EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,WAAW,GACZ,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { scaleLinear } from 'd3';
|
|
1
|
+
import { scaleLinear } from 'd3-scale';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
|
+
import { assert } from 'react-science/ui';
|
|
3
4
|
import { useChartData } from '../../context/ChartContext.js';
|
|
4
5
|
function get2DXScale(options, reverse) {
|
|
5
6
|
const { width, margin, xDomain, mode } = options;
|
|
@@ -32,13 +33,14 @@ function use1DTraceYScale(SpectrumId, height, leftMargin) {
|
|
|
32
33
|
}
|
|
33
34
|
function getMax(data) {
|
|
34
35
|
let max;
|
|
35
|
-
for (const
|
|
36
|
-
const { minZ, maxZ } = data[key];
|
|
36
|
+
for (const { minZ, maxZ } of Object.values(data)) {
|
|
37
37
|
const innerMax = Math.max(Math.abs(minZ), Math.max(maxZ));
|
|
38
38
|
if (max === undefined || max > innerMax) {
|
|
39
39
|
max = innerMax;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
+
// This must be true because 2D data has at least one mandatory property.
|
|
43
|
+
assert(typeof max === 'number');
|
|
42
44
|
return max;
|
|
43
45
|
}
|
|
44
46
|
function getSliceYScale(data, size, mode, options = {}) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scale.js","sourceRoot":"","sources":["../../../../src/component/2d/utilities/scale.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"scale.js","sourceRoot":"","sources":["../../../../src/component/2d/utilities/scale.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MA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B,IAAe,EACf,IAAY,EACZ,IAAsB,EACtB,UAA8B,EAAE;IAEhC,MAAM,EAAE,MAAM,GAAG,EAAE,EAAE,UAAU,GAAG,CAAC,EAAE,GAAG,OAAO,CAAC;IAChD,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IACzB,IAAI,GAAG,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC;IACxC,OAAO,WAAW,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,UAAU,CAAa,EAAE;QACpD,IAAI,GAAG,MAAM;QACb,MAAM;KACP,CAAC,CAAC;AACL,CAAC;AAED,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,WAAW,GACZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Signal.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/Signal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Signal.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/Signal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AASpD,UAAU,WAAW;IACnB,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,iBAAS,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,WAAW,kDAsEtC;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -5,7 +5,6 @@ import { useAssignment } from '../../assignment/AssignmentsContext.js';
|
|
|
5
5
|
import { useHighlight, useHighlightData } from '../../highlight/index.js';
|
|
6
6
|
import { useActiveSpectrumZonesViewState } from '../../hooks/useActiveSpectrumZonesViewState.js';
|
|
7
7
|
import { useScale2DX, useScale2DY } from '../utilities/scale.js';
|
|
8
|
-
import SignalCrosshair from './SignalCrosshair.js';
|
|
9
8
|
function Signal({ signal }) {
|
|
10
9
|
const scaleX = useScale2DX();
|
|
11
10
|
const scaleY = useScale2DY();
|
|
@@ -34,13 +33,13 @@ function Signal({ signal }) {
|
|
|
34
33
|
]);
|
|
35
34
|
if (!signal)
|
|
36
35
|
return null;
|
|
37
|
-
return (_jsxs("g", { className: "zone-signal", children: [showSignals && (
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
return (_jsxs("g", { className: "zone-signal", children: [showSignals && (_jsx("circle", { onMouseEnter: () => {
|
|
37
|
+
assignment?.highlight();
|
|
38
|
+
highlight.show();
|
|
39
|
+
}, onMouseLeave: () => {
|
|
40
|
+
assignment?.clearHighlight();
|
|
41
|
+
highlight.hide();
|
|
42
|
+
}, cx: scaleX(signal.x.delta || 0), cy: scaleY(signal.y.delta || 0), r: isHighlighted ? 6 : 4, fill: isHighlighted ? 'green' : 'darkgreen' }, signal.id)), _jsx("g", { className: "zone-signal-peak", style: { pointerEvents: 'none' }, children: showPeaks &&
|
|
44
43
|
signal?.peaks?.map((peak, i) => (_jsx("circle", { cx: scaleX(peak.x), cy: scaleY(peak.y), r: 2, fill: "black" }, signal.id + i))) })] }));
|
|
45
44
|
}
|
|
46
45
|
export default Signal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Signal.js","sourceRoot":"","sources":["../../../../src/component/2d/zones/Signal.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,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,kBAAkB,EAAC,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,YAC7D,SAAS;oBACR,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC9B,iBAGE,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAClB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAClB,CAAC,EAAE,CAAC,EACJ,IAAI,EAAC,OAAO,IAJP,MAAM,CAAC,EAAE,GAAG,CAAC,CAKlB,CACH,CAAC,GACF,IACF,CACL,CAAC;AACJ,CAAC;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -2,6 +2,6 @@ import type { Signal2D } from '@zakodium/nmr-types';
|
|
|
2
2
|
interface SignalCrosshairProps {
|
|
3
3
|
signal: Signal2D;
|
|
4
4
|
}
|
|
5
|
-
declare function SignalCrosshair({ signal }: SignalCrosshairProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
-
export
|
|
5
|
+
export declare function SignalCrosshair({ signal }: SignalCrosshairProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
export {};
|
|
7
7
|
//# sourceMappingURL=SignalCrosshair.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalCrosshair.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/SignalCrosshair.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAOpD,UAAU,oBAAoB;IAC5B,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,
|
|
1
|
+
{"version":3,"file":"SignalCrosshair.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/SignalCrosshair.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAOpD,UAAU,oBAAoB;IAC5B,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,kDA6B/D"}
|
|
@@ -3,7 +3,7 @@ import { useMemo } from 'react';
|
|
|
3
3
|
import { buildID } from '../../../data/utilities/Concatenation.js';
|
|
4
4
|
import { useHighlight } from '../../highlight/index.js';
|
|
5
5
|
import SignalDeltaLine from '../SignalDeltaLine.js';
|
|
6
|
-
function SignalCrosshair({ signal }) {
|
|
6
|
+
export function SignalCrosshair({ signal }) {
|
|
7
7
|
const highlightIDsX = useMemo(() => {
|
|
8
8
|
return [buildID(signal.id, 'Crosshair'), buildID(signal.id, 'Crosshair_X')];
|
|
9
9
|
}, [signal.id]);
|
|
@@ -17,5 +17,4 @@ function SignalCrosshair({ signal }) {
|
|
|
17
17
|
return null;
|
|
18
18
|
return (_jsxs("g", { children: [_jsx(SignalDeltaLine, { delta: signal.x.delta, axis: "X", show: highlightX.isActive || highlight.isActive }), _jsx(SignalDeltaLine, { delta: signal.y.delta, axis: "Y", show: highlightY.isActive || highlight.isActive })] }));
|
|
19
19
|
}
|
|
20
|
-
export default SignalCrosshair;
|
|
21
20
|
//# sourceMappingURL=SignalCrosshair.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalCrosshair.js","sourceRoot":"","sources":["../../../../src/component/2d/zones/SignalCrosshair.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,eAAe,MAAM,uBAAuB,CAAC;AAMpD,
|
|
1
|
+
{"version":3,"file":"SignalCrosshair.js","sourceRoot":"","sources":["../../../../src/component/2d/zones/SignalCrosshair.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,OAAO,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AAE,UAAU,CAAC,QAAQ,IAAI,SAAS,CAAC,QAAQ,GAC/C,IACA,CACL,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalsGuideLines.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/SignalsGuideLines.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignalsGuideLines.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/SignalsGuideLines.tsx"],"names":[],"mappings":"AAiZA,wBAAgB,iBAAiB,mDAehC"}
|
|
@@ -3,6 +3,7 @@ import styled from '@emotion/styled';
|
|
|
3
3
|
import { useRef } from 'react';
|
|
4
4
|
import { LuLink, LuUnlink } from 'react-icons/lu';
|
|
5
5
|
import { PiTextTBold, PiTextTSlashBold } from 'react-icons/pi';
|
|
6
|
+
import { isAssigned } from "../../../data/data1d/Spectrum1D/isRangeAssigned.js";
|
|
6
7
|
import { FieldEdition } from '../../1d-2d/FieldEdition.js';
|
|
7
8
|
import { useAssignment, useAssignmentContext, } from '../../assignment/AssignmentsContext.js';
|
|
8
9
|
import { filterAssignedIDs } from '../../assignment/utilities/filterAssignedIDs.js';
|
|
@@ -10,8 +11,9 @@ import { useChartData } from '../../context/ChartContext.js';
|
|
|
10
11
|
import { useDispatch } from '../../context/DispatchContext.js';
|
|
11
12
|
import { ShareDataProvider, useShareData, } from '../../context/ShareDataContext.js';
|
|
12
13
|
import { ActionsButtonsPopover } from '../../elements/ActionsButtonsPopover.js';
|
|
13
|
-
import {
|
|
14
|
+
import { useHighlight } from '../../highlight/index.js';
|
|
14
15
|
import { useCanvasContext } from '../../hooks/useCanvasContext.js';
|
|
16
|
+
import { useHighlightColor } from "../../hooks/useHighlightColor.js";
|
|
15
17
|
import { useTriggerNewAssignmentLabel } from '../../hooks/useTriggerNewAssignmentLabel.js';
|
|
16
18
|
import { stackOverlappingLabelsArray } from '../../utility/stackOverlappingLabels.js';
|
|
17
19
|
import { useTracesSpectra } from '../useTracesSpectra.js';
|
|
@@ -38,8 +40,7 @@ function useSignalsOverlap(axis, spectrum) {
|
|
|
38
40
|
if (!signals || !context)
|
|
39
41
|
return null;
|
|
40
42
|
const isOverXAxis = axis === 'x';
|
|
41
|
-
const processedSignals = signals
|
|
42
|
-
.map((signal) => {
|
|
43
|
+
const processedSignals = signals.map((signal) => {
|
|
43
44
|
const { delta } = signal;
|
|
44
45
|
const text = signal.assignment ?? '';
|
|
45
46
|
const { width: labelWidth } = context.measureText(text);
|
|
@@ -48,8 +49,8 @@ function useSignalsOverlap(axis, spectrum) {
|
|
|
48
49
|
labelWidth,
|
|
49
50
|
deltaInPixel: isOverXAxis ? scaleX(delta) : scaleY(delta),
|
|
50
51
|
};
|
|
51
|
-
})
|
|
52
|
-
|
|
52
|
+
});
|
|
53
|
+
processedSignals.sort((a, b) => isOverXAxis ? b.delta - a.delta : a.delta - b.delta);
|
|
53
54
|
return stackOverlappingLabelsArray(processedSignals, {
|
|
54
55
|
startPositionKey: 'deltaInPixel',
|
|
55
56
|
labelWidthKey: 'labelWidth',
|
|
@@ -61,8 +62,8 @@ function IndicationLines(props) {
|
|
|
61
62
|
const normalizedSignals = useSignalsOverlap(axis, spectrum);
|
|
62
63
|
if (!normalizedSignals)
|
|
63
64
|
return null;
|
|
64
|
-
return (_jsx("g", { children: normalizedSignals.map(({ deltaInPixel, stackIndex, assignment, id, range }) => {
|
|
65
|
-
return (_jsx(IndicationLine, { deltaInPixel, stackIndex, assignment, id, axis: axis, spectrumId: spectrum.id, range: range }, `${axis}[${id}]`));
|
|
65
|
+
return (_jsx("g", { children: normalizedSignals.map(({ deltaInPixel, stackIndex, assignment, id, diaIDs, nbAtoms, range, }) => {
|
|
66
|
+
return (_jsx(IndicationLine, { deltaInPixel, stackIndex, assignment, diaIDs, nbAtoms, id, axis: axis, spectrumId: spectrum.id, range: range }, `${axis}[${id}]`));
|
|
66
67
|
}) }));
|
|
67
68
|
}
|
|
68
69
|
function getAxisRangeId(options) {
|
|
@@ -77,15 +78,24 @@ function useRangeAssignment(options) {
|
|
|
77
78
|
.concat(assignmentContext.assignedDiaIds?.x || [])
|
|
78
79
|
.concat(filterAssignedIDs(assignmentData.data, signalsIds));
|
|
79
80
|
const highlightContext = useHighlight(highlightId, {
|
|
80
|
-
type:
|
|
81
|
+
type: 'RANGE',
|
|
81
82
|
extra: { id: rangeId, spectrumID: spectrumId },
|
|
82
83
|
});
|
|
83
84
|
return { highlightContext, assignmentContext };
|
|
84
85
|
}
|
|
86
|
+
function isSignalAssigned(options) {
|
|
87
|
+
const { range, ...otherProps } = options;
|
|
88
|
+
if (isAssigned(range)) {
|
|
89
|
+
return true;
|
|
90
|
+
}
|
|
91
|
+
return isAssigned(otherProps);
|
|
92
|
+
}
|
|
85
93
|
function IndicationLine(props) {
|
|
86
94
|
const isAssignBtnTrigged = useRef(false);
|
|
87
|
-
const { deltaInPixel, stackIndex, assignment, axis, spectrumId, range } = props;
|
|
88
|
-
const { id: rangeId, diaIDs = [], signals } = range;
|
|
95
|
+
const { deltaInPixel, stackIndex, assignment, axis, spectrumId, range, diaIDs, nbAtoms, } = props;
|
|
96
|
+
const { id: rangeId, diaIDs: rangeDiaIDs = [], signals } = range;
|
|
97
|
+
const highlightColor = useHighlightColor();
|
|
98
|
+
const isAssigned = isSignalAssigned({ range, diaIDs, nbAtoms });
|
|
89
99
|
const signalsIds = signals.map(({ id }) => id);
|
|
90
100
|
const { margin, width, height } = useChartData();
|
|
91
101
|
const { setData: addNewAssignmentLabel } = useShareData();
|
|
@@ -95,7 +105,7 @@ function IndicationLine(props) {
|
|
|
95
105
|
spectrumId,
|
|
96
106
|
signalsIds,
|
|
97
107
|
});
|
|
98
|
-
const hasDiaIDs =
|
|
108
|
+
const hasDiaIDs = rangeDiaIDs.length > 0;
|
|
99
109
|
const isAssignmentActive = assignmentContext.isActive;
|
|
100
110
|
const isHighlighted = highlightContext.isActive || isAssignmentActive;
|
|
101
111
|
const innerWidth = width - margin.left - margin.right;
|
|
@@ -122,7 +132,7 @@ function IndicationLine(props) {
|
|
|
122
132
|
});
|
|
123
133
|
}
|
|
124
134
|
function mouseEnterHandler() {
|
|
125
|
-
assignmentContext.highlight(
|
|
135
|
+
assignmentContext.highlight(axis);
|
|
126
136
|
highlightContext.show();
|
|
127
137
|
}
|
|
128
138
|
function mouseLeaveHandler() {
|
|
@@ -131,7 +141,7 @@ function IndicationLine(props) {
|
|
|
131
141
|
}
|
|
132
142
|
function assignHandler() {
|
|
133
143
|
isAssignBtnTrigged.current = true;
|
|
134
|
-
assignmentContext.activate(
|
|
144
|
+
assignmentContext.activate(axis);
|
|
135
145
|
}
|
|
136
146
|
function unAssignHandler() {
|
|
137
147
|
dispatch({
|
|
@@ -174,7 +184,7 @@ function IndicationLine(props) {
|
|
|
174
184
|
const isOpen = isAssignBtnTrigged.current ? isAssignmentActive : undefined;
|
|
175
185
|
return (_jsx(ActionsButtonsPopover, { isOpen: isOpen, targetTagName: "g", buttons: actionsButtons, space: 2, position: isOverXAxis ? 'right-top' : 'top-left', onClosed: () => {
|
|
176
186
|
isAssignBtnTrigged.current = false;
|
|
177
|
-
}, children: _jsxs("g", { transform: `translate(${x},${y})`, onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler, children: [_jsx("line", { stroke:
|
|
187
|
+
}, children: _jsxs("g", { transform: `translate(${x},${y})`, onMouseEnter: mouseEnterHandler, onMouseLeave: mouseLeaveHandler, children: [_jsx("line", { stroke: isAssigned ? highlightColor : 'lightgrey', x1: 0, x2: x2, y1: 0, y2: y2 }), _jsx(Rect, { x: -rectXOffset, y: -rectYOffset, width: rectWidth, height: rectHeight, "data-no-export": "true", isActive: isHighlighted }), _jsx(AssignmentLabel, { x: labelX, y: labelY, assignment: assignment, axis: axis, rangeId: rangeId, spectrumId: spectrumId })] }) }));
|
|
178
188
|
}
|
|
179
189
|
function AssignmentLabel(props) {
|
|
180
190
|
const { axis, assignment, x, y, rangeId, spectrumId } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalsGuideLines.js","sourceRoot":"","sources":["../../../../src/component/2d/zones/SignalsGuideLines.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EACL,aAAa,EACb,oBAAoB,GACrB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EACL,iBAAiB,EACjB,YAAY,GACb,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SignalsGuideLines.js","sourceRoot":"","sources":["../../../../src/component/2d/zones/SignalsGuideLines.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,OAAO,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EACL,aAAa,EACb,oBAAoB,GACrB,MAAM,wCAAwC,CAAC;AAChD,OA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AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB;IAC/B,MAAM,YAAY,GAAG,gBAAgB,EAAE,CAAC;IAExC,IAAI,CAAC,YAAY;QAAE,OAAO,IAAI,CAAC;IAE/B,OAAO,CACL,MAAC,iBAAiB,eACf,YAAY,CAAC,CAAC,CAAC,IAAI,CAClB,KAAC,eAAe,IAAC,IAAI,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,GAAI,CACxD,EACA,YAAY,CAAC,CAAC,CAAC,IAAI,CAClB,KAAC,eAAe,IAAC,IAAI,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,GAAI,CACxD,IACiB,CACrB,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Zone.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/Zone.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Zone.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/Zone.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAgB5D,UAAU,SAAS;IACjB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,iBAAS,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE,SAAS,2CA6EpC;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -5,17 +5,18 @@ import { checkZoneKind } from '../../../data/utilities/ZoneUtilities.js';
|
|
|
5
5
|
import { useAssignment } from '../../assignment/AssignmentsContext.js';
|
|
6
6
|
import { useShareData } from '../../context/ShareDataContext.js';
|
|
7
7
|
import { ActionsButtonsPopover } from '../../elements/ActionsButtonsPopover.js';
|
|
8
|
-
import {
|
|
8
|
+
import { useHighlight } from '../../highlight/index.js';
|
|
9
9
|
import { useActiveSpectrumZonesViewState } from '../../hooks/useActiveSpectrumZonesViewState.js';
|
|
10
10
|
import { useScale2DX, useScale2DY } from '../utilities/scale.js';
|
|
11
11
|
import Signal from './Signal.js';
|
|
12
|
+
import { SignalCrosshair } from "./SignalCrosshair.js";
|
|
12
13
|
function Zone({ zoneData }) {
|
|
13
14
|
const { x, y, id, signals, assignment } = zoneData;
|
|
14
15
|
const { setData } = useShareData();
|
|
15
16
|
const assignmentZone = useAssignment(id);
|
|
16
17
|
const { showZones } = useActiveSpectrumZonesViewState();
|
|
17
18
|
const highlightZone = useHighlight([id], {
|
|
18
|
-
type:
|
|
19
|
+
type: 'ZONE',
|
|
19
20
|
extra: { id },
|
|
20
21
|
});
|
|
21
22
|
const scaleX = useScale2DX();
|
|
@@ -38,15 +39,15 @@ function Zone({ zoneData }) {
|
|
|
38
39
|
visible: !assignment,
|
|
39
40
|
},
|
|
40
41
|
];
|
|
41
|
-
return (
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
return (_jsxs("g", { onMouseEnter: () => {
|
|
43
|
+
assignmentZone.highlight();
|
|
44
|
+
highlightZone.show();
|
|
45
|
+
}, onMouseLeave: () => {
|
|
46
|
+
assignmentZone.clearHighlight();
|
|
47
|
+
highlightZone.hide();
|
|
48
|
+
}, children: [signals.map((signal) => (_jsx(SignalCrosshair, { signal: signal }, signal.id))), _jsxs(ActionsButtonsPopover, { buttons: actionButtons, targetTagName: "g", ...(assignment && { isOpen: false }), children: [showZones && (_jsx("g", { transform: `translate(${scaleX(x2)},${scaleY(y1)})`, children: _jsx("rect", { x: "0", width: zoneWidth, height: zoneHeight, className: "integral-area", fill: isActive ? '#ff6f0057' : '#0000000f', stroke: reduceOpacity ? '#343a40' : 'darkgreen', strokeWidth: reduceOpacity ? '0' : '1' }) })), signals.map((_signal, i) => (
|
|
49
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
50
|
+
_jsx(Signal, { signal: _signal }, id + i)))] })] }, id));
|
|
50
51
|
}
|
|
51
52
|
export default Zone;
|
|
52
53
|
//# sourceMappingURL=Zone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Zone.js","sourceRoot":"","sources":["../../../../src/component/2d/zones/Zone.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Zone.js","sourceRoot":"","sources":["../../../../src/component/2d/zones/Zone.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,MAAM,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAuB,CAAC;AA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O,EAAE,CAAC,EAAE,EAAE,CAAC;oBAC3B,oDAAoD;oBACpD,KAAC,MAAM,IAAc,MAAM,EAAE,OAAO,IAAvB,EAAE,GAAG,CAAC,CAAqB,CACzC,CAAC,IACoB,KApCnB,EAAE,CAqCL,CACL,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZonesAssignmentsLabels.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/ZonesAssignmentsLabels.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ZonesAssignmentsLabels.d.ts","sourceRoot":"","sources":["../../../../src/component/2d/zones/ZonesAssignmentsLabels.tsx"],"names":[],"mappings":"AA8fA,MAAM,CAAC,OAAO,UAAU,sBAAsB,mDAY7C"}
|
|
@@ -183,7 +183,8 @@ function getAssignmentLabel(spectrum, options) {
|
|
|
183
183
|
if (!spectrum)
|
|
184
184
|
return null;
|
|
185
185
|
const { center, from, to } = options;
|
|
186
|
-
const signalList = extractSpectrumSignals(spectrum, { from, to })
|
|
186
|
+
const signalList = extractSpectrumSignals(spectrum, { from, to });
|
|
187
|
+
signalList.sort((a, b) => a.delta - b.delta);
|
|
187
188
|
return findClosestAssignment(signalList, center);
|
|
188
189
|
}
|
|
189
190
|
function getDefaultAssignmentLabel(options) {
|
|
@@ -343,6 +344,6 @@ export default function ZonesAssignmentsLabels() {
|
|
|
343
344
|
!NewAssignmentLabelState) {
|
|
344
345
|
return null;
|
|
345
346
|
}
|
|
346
|
-
return _jsx(ZonesAssignmentsLabelsInner, { zones });
|
|
347
|
+
return _jsx(ZonesAssignmentsLabelsInner, { zones: zones });
|
|
347
348
|
}
|
|
348
349
|
//# sourceMappingURL=ZonesAssignmentsLabels.js.map
|