nmrium 2.1.0 → 2.2.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/ApodizationLine.d.ts +1 -1
- package/lib/component/1d/ApodizationLine.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.d.ts +1 -1
- package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +12 -7
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/ExclusionZoneAnnotation.d.ts +1 -1
- package/lib/component/1d/ExclusionZoneAnnotation.d.ts.map +1 -1
- package/lib/component/1d/ExclusionZonesAnnotations.d.ts +1 -1
- package/lib/component/1d/ExclusionZonesAnnotations.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatingRanges.d.ts +1 -1
- package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/FooterBanner.d.ts +1 -1
- package/lib/component/1d/FooterBanner.d.ts.map +1 -1
- package/lib/component/1d/FooterBanner.js +12 -2
- package/lib/component/1d/FooterBanner.js.map +1 -1
- package/lib/component/1d/HorizontalAxis1D.d.ts +1 -1
- package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -1
- package/lib/component/1d/Line.d.ts +1 -1
- package/lib/component/1d/Line.d.ts.map +1 -1
- package/lib/component/1d/LinesSeries.d.ts +1 -1
- package/lib/component/1d/LinesSeries.d.ts.map +1 -1
- package/lib/component/1d/LinesSeries.js +2 -1
- package/lib/component/1d/LinesSeries.js.map +1 -1
- package/lib/component/1d/PredictionErrorsNotations.d.ts +1 -1
- package/lib/component/1d/PredictionErrorsNotations.d.ts.map +1 -1
- package/lib/component/1d/SVGContent1D.d.ts +1 -1
- package/lib/component/1d/SVGContent1D.d.ts.map +1 -1
- package/lib/component/1d/SimilarityTree.d.ts +1 -1
- package/lib/component/1d/SimilarityTree.d.ts.map +1 -1
- package/lib/component/1d/SpectraLegends.d.ts +1 -1
- package/lib/component/1d/SpectraLegends.d.ts.map +1 -1
- package/lib/component/1d/SpectraLegends.js +9 -1
- package/lib/component/1d/SpectraLegends.js.map +1 -1
- package/lib/component/1d/SpectrumLabel.d.ts +6 -0
- package/lib/component/1d/SpectrumLabel.d.ts.map +1 -0
- package/lib/component/1d/SpectrumLabel.js +31 -0
- package/lib/component/1d/SpectrumLabel.js.map +1 -0
- package/lib/component/1d/Viewer1D.d.ts +1 -1
- package/lib/component/1d/Viewer1D.d.ts.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.d.ts +1 -1
- package/lib/component/1d/baseline/BaselinePreview.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseElements.d.ts +1 -1
- package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.d.ts +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts.map +1 -1
- package/lib/component/1d/inset/DraggableInset.d.ts +1 -1
- package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
- package/lib/component/1d/inset/InsetProvider.d.ts +1 -1
- package/lib/component/1d/inset/InsetProvider.d.ts.map +1 -1
- package/lib/component/1d/inset/InsetViewerRoot.d.ts +1 -1
- package/lib/component/1d/inset/InsetViewerRoot.d.ts.map +1 -1
- package/lib/component/1d/inset/SpectraInsets.d.ts +1 -1
- package/lib/component/1d/inset/SpectraInsets.d.ts.map +1 -1
- package/lib/component/1d/integral/IntegralIndicator.d.ts +1 -1
- package/lib/component/1d/integral/IntegralIndicator.d.ts.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.d.ts +1 -1
- package/lib/component/1d/integral/IntegralResizable.d.ts.map +1 -1
- package/lib/component/1d/integral/IntegralsSeries.d.ts +1 -1
- package/lib/component/1d/integral/IntegralsSeries.d.ts.map +1 -1
- package/lib/component/1d/integral/Integration.d.ts +1 -1
- package/lib/component/1d/integral/Integration.d.ts.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraph.d.ts +1 -1
- package/lib/component/1d/jCouplingGraph/JGraph.d.ts.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts.map +1 -1
- package/lib/component/1d/jCouplingGraph/JsCoupling.d.ts +1 -1
- package/lib/component/1d/jCouplingGraph/JsCoupling.d.ts.map +1 -1
- package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts +1 -1
- package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts.map +1 -1
- package/lib/component/1d/jCouplingGraph/JsCouplings.d.ts +1 -1
- package/lib/component/1d/jCouplingGraph/JsCouplings.d.ts.map +1 -1
- package/lib/component/1d/matrix/Boxplot.d.ts +1 -1
- package/lib/component/1d/matrix/Boxplot.d.ts.map +1 -1
- package/lib/component/1d/matrix/Stocsy.d.ts +1 -1
- package/lib/component/1d/matrix/Stocsy.d.ts.map +1 -1
- package/lib/component/1d/multiAnalysis/AnalysisRange.d.ts +1 -1
- package/lib/component/1d/multiAnalysis/AnalysisRange.d.ts.map +1 -1
- package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.d.ts +1 -1
- package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.d.ts.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.d.ts.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTrees.d.ts +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTrees.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.d.ts +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.d.ts +2 -2
- package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
- package/lib/component/1d/peaks/Peaks.d.ts +1 -1
- package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeaksShapes.d.ts +1 -1
- package/lib/component/1d/peaks/PeaksShapes.d.ts.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.d.ts.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js +2 -2
- package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.d.ts +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
- package/lib/component/1d/ranges/Atoms.d.ts +1 -1
- package/lib/component/1d/ranges/Atoms.d.ts.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts +1 -1
- package/lib/component/1d/ranges/Range.d.ts.map +1 -1
- package/lib/component/1d/ranges/Ranges.d.ts +1 -1
- package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
- package/lib/component/1d/ranges/RangesIntegrals.d.ts +1 -1
- package/lib/component/1d/ranges/RangesIntegrals.d.ts.map +1 -1
- package/lib/component/1d/tool/BaseLine.d.ts +1 -1
- package/lib/component/1d/tool/BaseLine.d.ts.map +1 -1
- package/lib/component/1d/tool/PeakPointer.d.ts +1 -1
- package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
- package/lib/component/1d/tool/PivotIndicator1D.d.ts +1 -1
- package/lib/component/1d/tool/PivotIndicator1D.d.ts.map +1 -1
- package/lib/component/1d/tool/XLabelPointer.d.ts +1 -1
- package/lib/component/1d/tool/XLabelPointer.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/components/ClipPathContainer.d.ts +1 -1
- package/lib/component/1d-2d/components/ClipPathContainer.d.ts.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SVGRootContainer.d.ts +1 -1
- package/lib/component/1d-2d/components/SVGRootContainer.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js +2 -4
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.d.ts +1 -1
- package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts +1 -1
- package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.d.ts +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.d.ts +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraceWithMouse.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/PhaseTraces.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts +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/SpectrumPhaseTrace.d.ts +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/DirectAxis2D.d.ts +1 -1
- package/lib/component/2d/DirectAxis2D.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts +1 -1
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/IndirectAxis2D.d.ts +1 -1
- package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -1
- package/lib/component/2d/SVGContent2D.d.ts +1 -1
- package/lib/component/2d/SVGContent2D.d.ts.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/SlicingView.d.ts +1 -1
- package/lib/component/2d/SlicingView.d.ts.map +1 -1
- package/lib/component/2d/Viewer2D.d.ts +1 -1
- package/lib/component/2d/Viewer2D.d.ts.map +1 -1
- package/lib/component/2d/fid/FidCanvas.d.ts +1 -1
- package/lib/component/2d/fid/FidCanvas.d.ts.map +1 -1
- package/lib/component/2d/fid/FidContainer.d.ts +1 -1
- package/lib/component/2d/fid/FidContainer.d.ts.map +1 -1
- package/lib/component/2d/ft/Contours.d.ts +1 -1
- package/lib/component/2d/ft/Contours.d.ts.map +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
- package/lib/component/2d/tools/PivotIndicator.d.ts +1 -1
- package/lib/component/2d/tools/PivotIndicator.d.ts.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.d.ts +1 -1
- package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -1
- package/lib/component/2d/zones/Signal.d.ts +1 -1
- package/lib/component/2d/zones/Signal.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.d.ts +1 -1
- package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
- package/lib/component/2d/zones/Zone.d.ts +1 -1
- package/lib/component/2d/zones/Zone.d.ts.map +1 -1
- package/lib/component/2d/zones/Zones.d.ts +1 -1
- package/lib/component/2d/zones/Zones.d.ts.map +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
- package/lib/component/SVGTable.d.ts +1 -1
- package/lib/component/SVGTable.d.ts.map +1 -1
- package/lib/component/assignment/AssignmentProvider.d.ts +1 -1
- package/lib/component/assignment/AssignmentProvider.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/KeyModifierContext.d.ts +1 -1
- package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
- package/lib/component/context/LoggerContext.d.ts +1 -1
- package/lib/component/context/LoggerContext.d.ts.map +1 -1
- package/lib/component/context/ScaleContext.d.ts +1 -1
- package/lib/component/context/ScaleContext.d.ts.map +1 -1
- package/lib/component/context/ShareDataContext.d.ts +1 -1
- package/lib/component/context/ShareDataContext.d.ts.map +1 -1
- package/lib/component/context/SortSpectraContext.d.ts +1 -1
- package/lib/component/context/SortSpectraContext.d.ts.map +1 -1
- package/lib/component/context/ToasterContext.d.ts +1 -1
- package/lib/component/context/ToasterContext.d.ts.map +1 -1
- package/lib/component/context/TopicMoleculeContext.d.ts +1 -1
- package/lib/component/context/TopicMoleculeContext.d.ts.map +1 -1
- package/lib/component/elements/ActionButtons.d.ts +1 -1
- package/lib/component/elements/ActionButtons.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
- package/lib/component/elements/Alert.d.ts +1 -1
- package/lib/component/elements/Alert.d.ts.map +1 -1
- package/lib/component/elements/Anchor.d.ts +1 -1
- package/lib/component/elements/Anchor.d.ts.map +1 -1
- package/lib/component/elements/AssignmentsCell.d.ts +1 -1
- package/lib/component/elements/AssignmentsCell.d.ts.map +1 -1
- package/lib/component/elements/Button.js +2 -2
- package/lib/component/elements/CheckController.d.ts +1 -1
- package/lib/component/elements/CheckController.d.ts.map +1 -1
- package/lib/component/elements/CloseButton.d.ts +1 -1
- package/lib/component/elements/CloseButton.d.ts.map +1 -1
- package/lib/component/elements/CloseButton.js +2 -2
- package/lib/component/elements/CloseButton.js.map +1 -1
- package/lib/component/elements/ColorDot.d.ts +4 -0
- package/lib/component/elements/ColorDot.d.ts.map +1 -0
- package/lib/component/elements/ColorDot.js +32 -0
- package/lib/component/elements/ColorDot.js.map +1 -0
- package/lib/component/elements/ColorPickerDropdownController.d.ts +1 -1
- package/lib/component/elements/ColorPickerDropdownController.d.ts.map +1 -1
- package/lib/component/elements/ColumnWrapper.d.ts +1 -1
- package/lib/component/elements/ColumnWrapper.d.ts.map +1 -1
- package/lib/component/elements/ContextMenuBluePrint.d.ts +1 -1
- package/lib/component/elements/ContextMenuBluePrint.d.ts.map +1 -1
- package/lib/component/elements/DialogManager.d.ts +2 -2
- package/lib/component/elements/DialogManager.d.ts.map +1 -1
- package/lib/component/elements/DraggableDialog.d.ts +1 -1
- package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
- package/lib/component/elements/EmptyText.d.ts +1 -1
- package/lib/component/elements/EmptyText.d.ts.map +1 -1
- package/lib/component/elements/Footer.d.ts +1 -1
- package/lib/component/elements/Footer.d.ts.map +1 -1
- package/lib/component/elements/Footer.js +1 -0
- package/lib/component/elements/Footer.js.map +1 -1
- package/lib/component/elements/FormatField.d.ts +1 -1
- package/lib/component/elements/FormatField.d.ts.map +1 -1
- package/lib/component/elements/GroupPane.d.ts +1 -1
- package/lib/component/elements/GroupPane.d.ts.map +1 -1
- package/lib/component/elements/HeaderContainer.d.ts +1 -1
- package/lib/component/elements/HeaderContainer.d.ts.map +1 -1
- package/lib/component/elements/Input2Controller.d.ts +1 -1
- package/lib/component/elements/Input2Controller.d.ts.map +1 -1
- package/lib/component/elements/IsotopesViewer.d.ts +1 -1
- package/lib/component/elements/IsotopesViewer.d.ts.map +1 -1
- package/lib/component/elements/Label.d.ts +1 -1
- package/lib/component/elements/Label.d.ts.map +1 -1
- package/lib/component/elements/Logo.d.ts +1 -1
- package/lib/component/elements/Logo.d.ts.map +1 -1
- package/lib/component/elements/MoleculeSelection.d.ts +1 -1
- package/lib/component/elements/MoleculeSelection.d.ts.map +1 -1
- package/lib/component/elements/NextPrev.d.ts +1 -1
- package/lib/component/elements/NextPrev.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2Controller.d.ts +1 -1
- package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
- package/lib/component/elements/NumberInputField.d.ts +1 -1
- package/lib/component/elements/NumberInputField.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts.map +1 -1
- package/lib/component/elements/ReadOnly.d.ts +1 -1
- package/lib/component/elements/ReadOnly.d.ts.map +1 -1
- package/lib/component/elements/ResizerWithScale.d.ts +1 -1
- package/lib/component/elements/ResizerWithScale.d.ts.map +1 -1
- package/lib/component/elements/SVGButton.d.ts +1 -1
- package/lib/component/elements/SVGButton.d.ts.map +1 -1
- package/lib/component/elements/SVGGroup.d.ts +1 -1
- package/lib/component/elements/SVGGroup.d.ts.map +1 -1
- package/lib/component/elements/SVGText.d.ts +1 -1
- package/lib/component/elements/SVGText.d.ts.map +1 -1
- package/lib/component/elements/SaveButton.d.ts +1 -1
- package/lib/component/elements/SaveButton.d.ts.map +1 -1
- package/lib/component/elements/SaveButton.js +2 -2
- package/lib/component/elements/SaveButton.js.map +1 -1
- package/lib/component/elements/Scroller.d.ts +2 -2
- package/lib/component/elements/Scroller.d.ts.map +1 -1
- package/lib/component/elements/Sections.d.ts +4 -4
- package/lib/component/elements/Sections.d.ts.map +1 -1
- package/lib/component/elements/Sections.js +1 -1
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/Select2.d.ts +1 -1
- package/lib/component/elements/Select2.d.ts.map +1 -1
- package/lib/component/elements/Select2Controller.d.ts +1 -1
- package/lib/component/elements/Select2Controller.d.ts.map +1 -1
- package/lib/component/elements/StandardDialog.d.ts +1 -1
- package/lib/component/elements/StandardDialog.d.ts.map +1 -1
- package/lib/component/elements/Tab/DeleteButton.d.ts +1 -1
- package/lib/component/elements/Tab/DeleteButton.d.ts.map +1 -1
- package/lib/component/elements/TabTitle.d.ts +1 -1
- package/lib/component/elements/TabTitle.d.ts.map +1 -1
- package/lib/component/elements/TabsProvider.d.ts +1 -1
- package/lib/component/elements/TabsProvider.d.ts.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.d.ts +1 -1
- package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.js +7 -3
- package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.d.ts +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.d.ts.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownList.d.ts +1 -1
- package/lib/component/elements/dropDownButton/DropDownList.d.ts.map +1 -1
- package/lib/component/elements/export/ExportContent.d.ts +1 -1
- package/lib/component/elements/export/ExportContent.d.ts.map +1 -1
- package/lib/component/elements/export/ExportManager.d.ts +2 -2
- 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/ExportOptionsModal.d.ts +1 -1
- package/lib/component/elements/export/ExportOptionsModal.d.ts.map +1 -1
- package/lib/component/elements/export/ExportSettingsProvider.d.ts +1 -1
- package/lib/component/elements/export/ExportSettingsProvider.d.ts.map +1 -1
- package/lib/component/elements/export/RenderDetector.d.ts +1 -1
- package/lib/component/elements/export/RenderDetector.d.ts.map +1 -1
- package/lib/component/elements/export/utilities/exportOptionValidationSchema.d.ts.map +1 -1
- package/lib/component/elements/export/utilities/exportOptionValidationSchema.js +4 -10
- package/lib/component/elements/export/utilities/exportOptionValidationSchema.js.map +1 -1
- package/lib/component/elements/print/PrintContent.d.ts +1 -1
- package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
- package/lib/component/elements/print/PrintProvider.d.ts +1 -1
- package/lib/component/elements/print/PrintProvider.d.ts.map +1 -1
- package/lib/component/elements/resizer/SVGResizer.d.ts +1 -1
- package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -1
- package/lib/component/elements/toolbar_button.d.ts +3 -0
- package/lib/component/elements/toolbar_button.d.ts.map +1 -0
- package/lib/component/elements/{ToolBarButton.js → toolbar_button.js} +2 -2
- package/lib/component/elements/toolbar_button.js.map +1 -0
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.js +23 -8
- package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Header.d.ts +1 -1
- package/lib/component/header/Header.d.ts.map +1 -1
- package/lib/component/header/HeaderWrapper.d.ts +1 -1
- package/lib/component/header/HeaderWrapper.d.ts.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.d.ts +1 -1
- package/lib/component/header/RangesPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.js +2 -2
- package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
- package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts +1 -1
- package/lib/component/header/SimpleApodizationDimensionOneOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts +1 -1
- package/lib/component/header/SimpleApodizationDimensionTwoOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleApodizationOptionsPanel.d.ts +1 -1
- package/lib/component/header/SimpleApodizationOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts +1 -1
- package/lib/component/header/SimplePhaseCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts +1 -1
- package/lib/component/header/SimplePhaseCorrectionTwoDimensionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts +1 -1
- package/lib/component/header/SimpleZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts +1 -1
- package/lib/component/header/SimpleZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts +1 -1
- package/lib/component/header/SimpleZeroFillingOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/Zones2DOptionPanel.d.ts +1 -1
- package/lib/component/header/Zones2DOptionPanel.d.ts.map +1 -1
- package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts +1 -1
- package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
- package/lib/component/highlight/index.d.ts +1 -1
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/hooks/use2DReducer.d.ts.map +1 -1
- package/lib/component/hooks/use2DReducer.js +5 -1
- package/lib/component/hooks/use2DReducer.js.map +1 -1
- package/lib/component/hooks/useActiveSpectra.d.ts.map +1 -1
- package/lib/component/hooks/useActiveSpectra.js +3 -2
- package/lib/component/hooks/useActiveSpectra.js.map +1 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts +2 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts.map +1 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +26 -9
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts +1 -9
- package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.js +52 -43
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useExport.d.ts +1 -1
- package/lib/component/hooks/useExport.js +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts +1 -1
- package/lib/component/hooks/useSelectedSpectra.d.ts +3 -0
- package/lib/component/hooks/useSelectedSpectra.d.ts.map +1 -0
- package/lib/component/hooks/useSelectedSpectra.js +20 -0
- package/lib/component/hooks/useSelectedSpectra.js.map +1 -0
- package/lib/component/hooks/useWorkspaceAction.js +4 -4
- package/lib/component/loader/DefaultSpinnerComponent.d.ts +1 -1
- package/lib/component/loader/DefaultSpinnerComponent.d.ts.map +1 -1
- package/lib/component/loader/DropZone.d.ts +1 -1
- package/lib/component/loader/DropZone.d.ts.map +1 -1
- package/lib/component/loader/NoData.d.ts +1 -1
- package/lib/component/loader/NoData.d.ts.map +1 -1
- package/lib/component/loader/Spinner.d.ts +1 -1
- package/lib/component/loader/Spinner.d.ts.map +1 -1
- package/lib/component/loader/SpinnerContext.d.ts +1 -1
- package/lib/component/loader/SpinnerContext.d.ts.map +1 -1
- package/lib/component/main/ErrorOverlay.d.ts +1 -1
- package/lib/component/main/ErrorOverlay.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts +1 -1
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRiumContents.d.ts +1 -1
- package/lib/component/main/InnerNMRiumContents.d.ts.map +1 -1
- package/lib/component/main/InnerNMRiumContents.js +2 -2
- package/lib/component/main/InnerNMRiumContents.js.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumViewer.d.ts +1 -1
- package/lib/component/main/NMRiumViewer.d.ts.map +1 -1
- package/lib/component/main/NMRiumViewer.js +2 -2
- package/lib/component/main/NMRiumViewer.js.map +1 -1
- package/lib/component/main/NMRiumViewerWrapper.d.ts +1 -1
- package/lib/component/main/NMRiumViewerWrapper.d.ts.map +1 -1
- package/lib/component/modal/AboutPredictionModal.d.ts +1 -1
- package/lib/component/modal/AboutPredictionModal.d.ts.map +1 -1
- package/lib/component/modal/AboutPredictionModal.js +1 -1
- package/lib/component/modal/AboutPredictionModal.js.map +1 -1
- package/lib/component/modal/AboutSpectrumSimulationModal.d.ts +1 -1
- package/lib/component/modal/AboutSpectrumSimulationModal.d.ts.map +1 -1
- package/lib/component/modal/AboutSpectrumSimulationModal.js +1 -1
- package/lib/component/modal/AboutSpectrumSimulationModal.js.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.d.ts +7 -1
- package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.js +21 -13
- package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
- package/lib/component/modal/ExportAsJcampModal.d.ts +1 -1
- package/lib/component/modal/ExportAsJcampModal.d.ts.map +1 -1
- package/lib/component/modal/ImportPublicationStringModal.d.ts +1 -1
- package/lib/component/modal/ImportPublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.d.ts +1 -1
- package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +1 -1
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/LogsHistoryModal.d.ts +1 -1
- package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
- package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts +1 -1
- package/lib/component/modal/MoleculeAutoLabelsDatabaseModal.d.ts.map +1 -1
- package/lib/component/modal/MoleculeStructureEditorModal.d.ts +1 -1
- package/lib/component/modal/MultipletAnalysisModal.d.ts +1 -3
- package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.js +58 -65
- package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
- package/lib/component/modal/PredictSpectraModal.d.ts +1 -1
- package/lib/component/modal/PredictSpectraModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/SaveAsModal.d.ts +1 -1
- package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.d.ts +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts +1 -1
- package/lib/component/modal/aboutUs/AboutUsZakodium.d.ts.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModal.d.ts +1 -1
- package/lib/component/modal/changeSum/ChangeSumModal.d.ts.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts +1 -1
- package/lib/component/modal/changeSum/ChangeSumModalContents.d.ts.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.d.ts +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.d.ts.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.d.ts +1 -1
- package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts +1 -1
- package/lib/component/modal/editRange/forms/components/InfoBlock.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts +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 -3
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalTab.d.ts +1 -1
- package/lib/component/modal/editRange/forms/components/SignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts +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/SignalPeaksTable.d.ts +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +6 -7
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
- package/lib/component/modal/editZone/EditZoneModal.d.ts +1 -1
- package/lib/component/modal/editZone/EditZoneModal.d.ts.map +1 -1
- package/lib/component/modal/editZone/EditZoneModal.js +3 -1
- package/lib/component/modal/editZone/EditZoneModal.js.map +1 -1
- package/lib/component/modal/editZone/SignalsForm.d.ts +1 -1
- package/lib/component/modal/editZone/SignalsForm.d.ts.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.d.ts +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.d.ts.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js +2 -2
- package/lib/component/modal/setting/WorkspaceItem.d.ts +1 -1
- package/lib/component/modal/setting/WorkspaceItem.d.ts.map +1 -1
- package/lib/component/modal/setting/WorkspaceItem.js +2 -2
- package/lib/component/modal/setting/general_settings.d.ts +1 -1
- package/lib/component/modal/setting/general_settings.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +158 -24
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +158 -24
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +158 -24
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +2 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +20 -3
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +25 -7
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +1654 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js +105 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +120 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts +2 -2
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts +24 -12
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js +4 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.d.ts +39 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.js +16 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +38 -6
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.js +4 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +2 -2
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralPanel.js +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts +1 -1
- package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts +1 -1
- package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js +1 -5
- package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts.map +1 -1
- package/lib/component/panels/PanelNoData.d.ts +1 -1
- package/lib/component/panels/PanelNoData.d.ts.map +1 -1
- package/lib/component/panels/Panels.d.ts +1 -1
- package/lib/component/panels/Panels.d.ts.map +1 -1
- package/lib/component/panels/PanelsBar.d.ts +1 -1
- package/lib/component/panels/PanelsBar.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPanel.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPanel.js +44 -27
- package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +22 -3
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +9 -3
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js +10 -8
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts +4 -0
- package/lib/component/panels/PeaksPanel/peaksToTSV.d.ts.map +1 -0
- package/lib/component/panels/PeaksPanel/peaksToTSV.js +32 -0
- package/lib/component/panels/PeaksPanel/peaksToTSV.js.map +1 -0
- package/lib/component/panels/RangesPanel/RangesHeader.d.ts +1 -1
- package/lib/component/panels/RangesPanel/RangesHeader.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesHeader.js +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.d.ts +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +143 -4
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.js +1 -0
- package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js +5 -19
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/SpectrumListPanel.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/ColorIndicator.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js +9 -0
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectrumName.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts +2 -0
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts.map +1 -0
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js +66 -0
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js.map +1 -0
- package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/PlotChart.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js +4 -0
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +12 -10
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js +4 -0
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +7 -2
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js +8 -2
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/Overview.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/Overview.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +3 -7
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPanel.js +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTable.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTable.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts +2 -2
- 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/databasePanel/DatabaseInfo.d.ts +1 -1
- package/lib/component/panels/databasePanel/DatabaseInfo.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts +2 -2
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +3 -3
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +2 -2
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts +1 -1
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
- package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts +1 -1
- package/lib/component/panels/extra/placeholder/NoDataForFid.d.ts.map +1 -1
- package/lib/component/panels/extra/preferences/NucleusGroup.d.ts +1 -1
- package/lib/component/panels/extra/preferences/NucleusGroup.d.ts.map +1 -1
- package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts +1 -1
- package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts.map +1 -1
- package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts +1 -1
- package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts.map +1 -1
- package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts +1 -1
- package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/FilterPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/FilterPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/FilterPanel.js +1 -1
- package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionOneOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/ApodizationDimensionTwoOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/ApodizationOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/FilterActionButtons.d.ts.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/PhaseCorrectionOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionOneOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/ZeroFillingDimensionTwoOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/ZeroFillingOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js +1 -0
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +1 -0
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.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 +2 -0
- 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 +2 -0
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
- package/lib/component/panels/header/DefaultPanelHeader.d.ts +3 -3
- package/lib/component/panels/header/DefaultPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/header/DefaultPanelHeader.js +2 -2
- package/lib/component/panels/header/PreferencesHeader.d.ts +1 -1
- package/lib/component/panels/header/PreferencesHeader.d.ts.map +1 -1
- package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts +1 -1
- package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.d.ts +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.js +222 -33
- package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
- package/lib/component/panels/informationPanel/InformationPanel.d.ts +1 -1
- package/lib/component/panels/informationPanel/InformationPanel.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationPanel.js +8 -8
- package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
- package/lib/component/panels/informationPanel/MixedValuesBadge.d.ts +6 -0
- package/lib/component/panels/informationPanel/MixedValuesBadge.d.ts.map +1 -0
- package/lib/component/panels/informationPanel/MixedValuesBadge.js +47 -0
- package/lib/component/panels/informationPanel/MixedValuesBadge.js.map +1 -0
- package/lib/component/panels/informationPanel/SpectraPicker.d.ts +6 -0
- package/lib/component/panels/informationPanel/SpectraPicker.d.ts.map +1 -0
- package/lib/component/panels/informationPanel/SpectraPicker.js +148 -0
- package/lib/component/panels/informationPanel/SpectraPicker.js.map +1 -0
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js +9 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts +2 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +25 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +5 -9
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPanel.d.ts +1 -1
- package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts +1 -1
- package/lib/component/panels/predictionPanel/PredictionSimpleOptions.d.ts.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulation.d.ts.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulationSimpleOptions.d.ts.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts +1 -1
- package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +3 -3
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +4 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +5 -1
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts +10 -5
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +39 -31
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +4 -1
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +3 -3
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +29 -21
- 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 +5 -3
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/helper/getActiveSpectra.d.ts +2 -2
- package/lib/component/reducer/helper/getActiveSpectra.d.ts.map +1 -1
- package/lib/component/reducer/helper/getActiveSpectra.js +2 -2
- package/lib/component/reducer/helper/getActiveSpectra.js.map +1 -1
- package/lib/component/reducer/helper/getActiveSpectraAsObject.d.ts.map +1 -1
- package/lib/component/reducer/helper/getActiveSpectraAsObject.js +2 -1
- package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -1
- package/lib/component/reducer/preferences/actions/toggleSpectraLabel.d.ts +4 -0
- package/lib/component/reducer/preferences/actions/toggleSpectraLabel.d.ts.map +1 -0
- package/lib/component/reducer/preferences/actions/toggleSpectraLabel.js +10 -0
- package/lib/component/reducer/preferences/actions/toggleSpectraLabel.js.map +1 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +6 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +4 -1
- 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/toolbar/ToolTypes.d.ts +14 -4
- package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
- package/lib/component/toolbar/ToolTypes.js +31 -60
- package/lib/component/toolbar/ToolTypes.js.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.d.ts +2 -0
- package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -0
- package/lib/component/toolbar/{ToolBar.js → nmr_toolbar.js} +4 -7
- package/lib/component/toolbar/nmr_toolbar.js.map +1 -0
- package/lib/component/useWatchForm.d.ts.map +1 -1
- package/lib/component/useWatchForm.js +1 -0
- package/lib/component/useWatchForm.js.map +1 -1
- package/lib/component/utility/getValueByPath.d.ts +2 -0
- package/lib/component/utility/getValueByPath.d.ts.map +1 -0
- package/lib/component/utility/getValueByPath.js +21 -0
- package/lib/component/utility/getValueByPath.js.map +1 -0
- package/lib/component/utility/pathToString.d.ts +2 -0
- package/lib/component/utility/pathToString.d.ts.map +1 -0
- package/lib/component/utility/pathToString.js +4 -0
- package/lib/component/utility/pathToString.js.map +1 -0
- package/lib/component/workspaces/prediction.d.ts.map +1 -1
- package/lib/component/workspaces/prediction.js +20 -0
- package/lib/component/workspaces/prediction.js.map +1 -1
- package/lib/component/workspaces/simulation.d.ts.map +1 -1
- package/lib/component/workspaces/simulation.js +3 -0
- package/lib/component/workspaces/simulation.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +8 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +4 -7
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/constants/defaultPeakShape.d.ts +6 -0
- package/lib/data/constants/defaultPeakShape.d.ts.map +1 -0
- package/lib/data/constants/defaultPeakShape.js +6 -0
- package/lib/data/constants/defaultPeakShape.js.map +1 -0
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts +3 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +3 -2
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js +108 -3
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +3 -3
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts +3 -3
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
- package/lib/data/data1d/database.d.ts +5 -5
- package/lib/data/data1d/database.js +2 -2
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js +3 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
- package/lib/data/molecules/MoleculeManager.d.ts +5 -1
- package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
- package/lib/data/molecules/MoleculeManager.js +5 -3
- package/lib/data/molecules/MoleculeManager.js.map +1 -1
- package/lib/utils/clipboard/clipboardComponents.d.ts +1 -1
- package/lib/utils/clipboard/clipboardComponents.d.ts.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +36 -36
- package/src/component/1d/BrushTracker1D.tsx +12 -8
- package/src/component/1d/FooterBanner.tsx +19 -3
- package/src/component/1d/LinesSeries.tsx +2 -0
- package/src/component/1d/SpectraLegends.tsx +7 -2
- package/src/component/1d/SpectrumLabel.tsx +59 -0
- package/src/component/1d/peaks/usePeakShapesPath.ts +4 -2
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +2 -4
- package/src/component/elements/Button.tsx +2 -2
- package/src/component/elements/CloseButton.tsx +2 -2
- package/src/component/elements/ColorDot.tsx +38 -0
- package/src/component/elements/Footer.tsx +1 -0
- package/src/component/elements/SaveButton.tsx +2 -2
- package/src/component/elements/Sections.tsx +1 -1
- package/src/component/elements/ToolbarPopoverItem.tsx +17 -10
- package/src/component/elements/export/ExportManager.tsx +2 -2
- package/src/component/elements/export/utilities/exportOptionValidationSchema.ts +4 -8
- package/src/component/elements/{ToolBarButton.tsx → toolbar_button.tsx} +1 -1
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +32 -10
- package/src/component/header/RangesPickingOptionPanel.tsx +2 -2
- package/src/component/hooks/use2DReducer.tsx +6 -3
- package/src/component/hooks/useActiveSpectra.ts +6 -2
- package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +41 -13
- package/src/component/hooks/useCheckToolsVisibility.ts +69 -74
- package/src/component/hooks/useExport.tsx +1 -1
- package/src/component/hooks/useSelectedSpectra.ts +25 -0
- package/src/component/hooks/useWorkspaceAction.ts +5 -5
- package/src/component/main/InnerNMRiumContents.tsx +2 -2
- package/src/component/main/NMRiumViewer.tsx +2 -2
- package/src/component/modal/AboutPredictionModal.tsx +5 -5
- package/src/component/modal/AboutSpectrumSimulationModal.tsx +1 -1
- package/src/component/modal/EditPeakShapeModal.tsx +42 -26
- package/src/component/modal/LoadJCAMPModal.tsx +1 -1
- package/src/component/modal/MultipletAnalysisModal.tsx +81 -82
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +2 -3
- package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +6 -7
- package/src/component/modal/editZone/EditZoneModal.tsx +3 -1
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +2 -2
- package/src/component/modal/setting/WorkspaceItem.tsx +2 -2
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +7 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +34 -7
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.tsx +201 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.ts +4 -2
- package/src/component/modal/setting/tanstack_general_settings/validation/spectra_label_tab_validation.ts +24 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +1 -1
- package/src/component/modal/setting/tanstack_general_settings/validation.ts +4 -2
- package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +2 -2
- package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +2 -2
- package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +1 -14
- package/src/component/panels/PeaksPanel/PeaksPanel.tsx +90 -58
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +73 -9
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +25 -27
- package/src/component/panels/PeaksPanel/peaksToTSV.ts +45 -0
- package/src/component/panels/RangesPanel/RangesHeader.tsx +2 -2
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +206 -3
- package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +1 -0
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +5 -26
- package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +17 -0
- package/src/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.tsx +112 -0
- package/src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx +5 -0
- package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +33 -25
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx +5 -0
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +19 -11
- package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +10 -2
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +3 -7
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +1 -1
- package/src/component/panels/ZonesPanel/ZonesPanel.tsx +2 -2
- package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +2 -2
- package/src/component/panels/databasePanel/DatabasePanel.tsx +2 -2
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +5 -5
- package/src/component/panels/filtersPanel/FilterPanel.tsx +1 -1
- package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -0
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +2 -0
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +2 -0
- package/src/component/panels/header/DefaultPanelHeader.tsx +6 -6
- package/src/component/panels/informationPanel/InformationEditionModal.tsx +324 -44
- package/src/component/panels/informationPanel/InformationPanel.tsx +13 -12
- package/src/component/panels/informationPanel/MixedValuesBadge.tsx +77 -0
- package/src/component/panels/informationPanel/SpectraPicker.tsx +260 -0
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +12 -1
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +38 -1
- package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +10 -9
- package/src/component/reducer/actions/CorrelationsActions.ts +4 -4
- package/src/component/reducer/actions/DomainActions.ts +8 -3
- package/src/component/reducer/actions/IntegralsActions.ts +1 -1
- package/src/component/reducer/actions/MoleculeActions.ts +11 -5
- package/src/component/reducer/actions/PeaksActions.ts +71 -42
- package/src/component/reducer/actions/RangesActions.ts +4 -1
- package/src/component/reducer/actions/SpectraActions.ts +38 -24
- package/src/component/reducer/actions/ToolsActions.ts +7 -6
- package/src/component/reducer/helper/getActiveSpectra.ts +5 -4
- package/src/component/reducer/helper/getActiveSpectraAsObject.ts +4 -1
- package/src/component/reducer/preferences/actions/toggleSpectraLabel.ts +19 -0
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +8 -2
- package/src/component/reducer/preferences/preferencesReducer.ts +8 -1
- package/src/component/toolbar/ToolTypes.ts +47 -67
- package/src/component/toolbar/{ToolBar.tsx → nmr_toolbar.tsx} +3 -8
- package/src/component/useWatchForm.tsx +1 -0
- package/src/component/utility/getValueByPath.ts +26 -0
- package/src/component/utility/pathToString.ts +3 -0
- package/src/component/workspaces/prediction.ts +20 -0
- package/src/component/workspaces/simulation.ts +3 -0
- package/src/component/workspaces/workspaceDefaultProperties.ts +8 -0
- package/src/data/SpectraManager.ts +4 -8
- package/src/data/constants/defaultPeakShape.ts +5 -0
- package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +6 -1
- package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +109 -3
- package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +6 -3
- package/src/data/data1d/database.ts +7 -7
- package/src/data/data2d/Spectrum2D/get2DColor.ts +3 -1
- package/src/data/molecules/MoleculeManager.ts +4 -3
- package/src/versionInfo.ts +1 -1
- package/lib/component/elements/ToolBarButton.d.ts +0 -3
- package/lib/component/elements/ToolBarButton.d.ts.map +0 -1
- package/lib/component/elements/ToolBarButton.js.map +0 -1
- package/lib/component/toolbar/ToolBar.d.ts +0 -2
- package/lib/component/toolbar/ToolBar.d.ts.map +0 -1
- package/lib/component/toolbar/ToolBar.js.map +0 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Icon, Switch, Tag, Tooltip } from '@blueprintjs/core';
|
|
3
|
+
import styled from '@emotion/styled';
|
|
4
|
+
import { Controller, useFormContext, useWatch } from 'react-hook-form';
|
|
5
|
+
import { useSelectedSpectra } from "../../../../hooks/useSelectedSpectra.js";
|
|
6
|
+
const Container = styled.div `
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
gap: 5px;
|
|
11
|
+
padding: 5px 10px;
|
|
12
|
+
background: ${({ isActive }) => isActive ? 'rgba(232, 98, 26, 0.07)' : 'rgba(0,0,0,0.03)'};
|
|
13
|
+
opacity: ${({ isDisabled }) => (isDisabled ? 0.4 : 1)};
|
|
14
|
+
pointer-events: ${({ isDisabled }) => (isDisabled ? 'none' : 'auto')};
|
|
15
|
+
cursor: ${({ isDisabled }) => (isDisabled ? 'not-allowed' : 'default')};
|
|
16
|
+
user-select: none;
|
|
17
|
+
`;
|
|
18
|
+
const LabelGroup = styled.div `
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 5px;
|
|
22
|
+
flex: 1;
|
|
23
|
+
min-width: 0;
|
|
24
|
+
`;
|
|
25
|
+
const LabelIcon = styled(Icon) `
|
|
26
|
+
color: ${({ isActive }) => (isActive ? '#E8621A' : '#888')};
|
|
27
|
+
flex-shrink: 0;
|
|
28
|
+
`;
|
|
29
|
+
const LabelText = styled.span `
|
|
30
|
+
font-size: 13px;
|
|
31
|
+
color: ${({ isActive }) => (isActive ? '#C05215' : '#555')};
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
`;
|
|
34
|
+
const StyledSwitch = styled(Switch) `
|
|
35
|
+
margin: 0;
|
|
36
|
+
`;
|
|
37
|
+
const CountTag = styled(Tag) `
|
|
38
|
+
color: ${({ isActive }) => (isActive ? '#E8621A' : '#666')} !important;
|
|
39
|
+
`;
|
|
40
|
+
export function ApplyToAllSelected() {
|
|
41
|
+
const spectra = useSelectedSpectra();
|
|
42
|
+
const { control, setValue } = useFormContext();
|
|
43
|
+
const applyToAllSelected = useWatch({ control, name: 'applyToAll' });
|
|
44
|
+
const selectedCount = spectra?.length || 0;
|
|
45
|
+
const isDisabled = selectedCount < 2;
|
|
46
|
+
const label = selectedCount === 0
|
|
47
|
+
? '0 selected'
|
|
48
|
+
: selectedCount === 1
|
|
49
|
+
? '1 spectrum'
|
|
50
|
+
: `${selectedCount} spectra`;
|
|
51
|
+
const tooltipContent = isDisabled
|
|
52
|
+
? 'Select at least 2 spectra to apply color to all'
|
|
53
|
+
: applyToAllSelected
|
|
54
|
+
? `Color will be applied to all ${selectedCount} selected spectra`
|
|
55
|
+
: 'Enable to apply the chosen color to all selected spectra';
|
|
56
|
+
return (_jsx(Tooltip, { content: tooltipContent, placement: "top", children: _jsxs(Container, { isActive: applyToAllSelected && !isDisabled, isDisabled: isDisabled, onClick: () => !isDisabled && setValue('applyToAll', !applyToAllSelected), children: [_jsxs(LabelGroup, { children: [_jsx(LabelIcon, { icon: "tint", size: 14, isActive: applyToAllSelected && !isDisabled }), _jsx(LabelText, { isActive: applyToAllSelected && !isDisabled, children: "Apply to all selected" }), _jsx(CountTag, { minimal: true, round: true, isActive: applyToAllSelected && !isDisabled, children: label })] }), _jsx(Controller, { name: "applyToAll", control: control, render: ({ field }) => {
|
|
57
|
+
const { value, onChange } = field;
|
|
58
|
+
return (_jsx(StyledSwitch, { defaultChecked: value, checked: value, disabled: isDisabled, onClick: (e) => {
|
|
59
|
+
e.stopPropagation();
|
|
60
|
+
}, onChange: (e) => {
|
|
61
|
+
onChange(!e.currentTarget.checked);
|
|
62
|
+
e.stopPropagation();
|
|
63
|
+
} }));
|
|
64
|
+
} })] }) }));
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=ApplyToAllSelected.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplyToAllSelected.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.tsx"],"names":[],"mappings":"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"}
|
|
@@ -13,6 +13,6 @@ interface PlotChartPros {
|
|
|
13
13
|
yLogBase: number;
|
|
14
14
|
hideHeading?: boolean;
|
|
15
15
|
}
|
|
16
|
-
export default function PlotChart({ data, sign, color, yLogBase, hideHeading, }: PlotChartPros): import("react
|
|
16
|
+
export default function PlotChart({ data, sign, color, yLogBase, hideHeading, }: PlotChartPros): import("react").JSX.Element;
|
|
17
17
|
export {};
|
|
18
18
|
//# sourceMappingURL=PlotChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlotChart.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/PlotChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C,UAAU,QAAQ;IAChB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB;AACD,UAAU,aAAa;IACrB,IAAI,EAAE;QAAE,OAAO,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,QAAQ,CAAA;KAAE,CAAC;IAC7C,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,WAAmB,GACpB,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"PlotChart.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/PlotChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAG9C,UAAU,QAAQ;IAChB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB;AACD,UAAU,aAAa;IACrB,IAAI,EAAE;QAAE,OAAO,EAAE,QAAQ,CAAC;QAAC,KAAK,EAAE,QAAQ,CAAA;KAAE,CAAC;IAC7C,IAAI,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,WAAmB,GACpB,EAAE,aAAa,+BAkDf"}
|
|
@@ -2,7 +2,7 @@ interface Spectrum1DHistogramProps {
|
|
|
2
2
|
color?: string;
|
|
3
3
|
data: any;
|
|
4
4
|
}
|
|
5
|
-
declare function Spectrum1DHistogram({ color, data, }: Spectrum1DHistogramProps): import("react
|
|
5
|
+
declare function Spectrum1DHistogram({ color, data, }: Spectrum1DHistogramProps): import("react").JSX.Element | null;
|
|
6
6
|
declare const _default: import("react").MemoExoticComponent<typeof Spectrum1DHistogram>;
|
|
7
7
|
export default _default;
|
|
8
8
|
//# sourceMappingURL=Spectrum1DHistogram.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spectrum1DHistogram.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spectrum1DHistogram.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx"],"names":[],"mappings":"AAOA,UAAU,wBAAwB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;CACX;AAED,iBAAS,mBAAmB,CAAC,EAC3B,KAAa,EACb,IAAI,GACL,EAAE,wBAAwB,sCAqC1B;;AAED,wBAAyC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { memo, useMemo } from 'react';
|
|
3
|
+
import { useWatch } from 'react-hook-form';
|
|
3
4
|
import PlotChart from './PlotChart.js';
|
|
4
5
|
import { processSnapPlot } from './processSnapPlot.js';
|
|
5
6
|
const yLogBase = 2;
|
|
@@ -7,6 +8,9 @@ function Spectrum1DHistogram({ color = 'red', data, }) {
|
|
|
7
8
|
const processedData = useMemo(() => {
|
|
8
9
|
return processSnapPlot('1D', data, yLogBase);
|
|
9
10
|
}, [data]);
|
|
11
|
+
const isApplyToAllSelected = useWatch({ name: 'applyToAll' });
|
|
12
|
+
if (isApplyToAllSelected)
|
|
13
|
+
return null;
|
|
10
14
|
return (_jsxs("div", { style: {
|
|
11
15
|
display: 'flex',
|
|
12
16
|
flexDirection: 'column',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spectrum1DHistogram.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Spectrum1DHistogram.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum1DHistogram.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,QAAQ,GAAG,CAAC,CAAC;AAMnB,SAAS,mBAAmB,CAAC,EAC3B,KAAK,GAAG,KAAK,EACb,IAAI,GACqB;IACzB,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,EAAE;QACjC,OAAO,eAAe,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC/C,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAEX,MAAM,oBAAoB,GAAG,QAAQ,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IAE9D,IAAI,oBAAoB;QAAE,OAAO,IAAI,CAAC;IAEtC,OAAO,CACL,eACE,KAAK,EAAE;YACL,OAAO,EAAE,MAAM;YACf,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;SACzB,aAED,cAAK,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,YAC9B,KAAC,SAAS,IACR,IAAI,EAAE,aAAa,EACnB,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GAClB,GACE,EACN,cAAK,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,YACvD,KAAC,SAAS,IACR,IAAI,EAAE,aAAa,EACnB,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,WAAW,SACX,GACE,IACF,CACP,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -2,6 +2,6 @@ interface Spectrum1DSettingProps {
|
|
|
2
2
|
data: any;
|
|
3
3
|
onSubmit: (values: any) => void;
|
|
4
4
|
}
|
|
5
|
-
export declare function Spectrum1DSetting({ data, onSubmit }: Spectrum1DSettingProps): import("react
|
|
5
|
+
export declare function Spectrum1DSetting({ data, onSubmit }: Spectrum1DSettingProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=Spectrum1DSetting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spectrum1DSetting.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spectrum1DSetting.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx"],"names":[],"mappings":"AASA,UAAU,sBAAsB;IAC9B,IAAI,EAAE,GAAG,CAAC;IACV,QAAQ,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;CACjC;AAED,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,sBAAsB,+BAsC3E"}
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Controller, useForm } from 'react-hook-form';
|
|
2
|
+
import { Controller, FormProvider, useForm } from 'react-hook-form';
|
|
3
3
|
import { ColorPicker } from 'react-science/ui';
|
|
4
4
|
import { COLORS } from '../../../../../data/utilities/generateColor.js';
|
|
5
5
|
import { colorToHexWithAlpha } from '../../../../utility/colorToHexWithAlpha.js';
|
|
6
|
+
import { ApplyToAllSelected } from "./ApplyToAllSelected.js";
|
|
6
7
|
import Spectrum1DHistogram from './Spectrum1DHistogram.js';
|
|
7
8
|
export function Spectrum1DSetting({ data, onSubmit }) {
|
|
8
9
|
const { display, data: spectrumData } = data;
|
|
9
|
-
const
|
|
10
|
-
defaultValues: { display },
|
|
10
|
+
const methods = useForm({
|
|
11
|
+
defaultValues: { display, applyToAll: false },
|
|
11
12
|
});
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
const { control, handleSubmit } = methods;
|
|
14
|
+
return (_jsx(FormProvider, { ...methods, children: _jsxs("div", { style: { display: 'flex', flexDirection: 'column' }, children: [_jsx(ApplyToAllSelected, {}), _jsx("div", { style: { display: 'block', position: 'relative', margin: '0 auto' }, children: _jsx(Controller, { name: "display.color", control: control, render: ({ field }) => {
|
|
15
|
+
const { value, onChange } = field;
|
|
16
|
+
return (_jsx(ColorPicker, { onChangeComplete: (color) => {
|
|
17
|
+
onChange(colorToHexWithAlpha(color));
|
|
18
|
+
void handleSubmit(onSubmit)();
|
|
19
|
+
}, color: { hex: value || '#000' }, presetColors: COLORS, style: { boxShadow: 'none', width: 250 } }));
|
|
20
|
+
} }) }), _jsx(Spectrum1DHistogram, { color: "red", data: spectrumData })] }) }));
|
|
19
21
|
}
|
|
20
22
|
//# sourceMappingURL=Spectrum1DSetting.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spectrum1DSetting.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Spectrum1DSetting.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,gDAAgD,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAEjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAA0B,CAAC;AAC9D,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;AAO3D,MAAM,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAA0B;IAC1E,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAC7C,MAAM,OAAO,GAAG,OAAO,CAAC;QACtB,aAAa,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE;KAC9C,CAAC,CAAC;IACH,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC;IAE1C,OAAO,CACL,KAAC,YAAY,OAAK,OAAO,YACvB,eAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,aACtD,KAAC,kBAAkB,KAAG,EAEtB,cACE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,YAEnE,KAAC,UAAU,IACT,IAAI,EAAC,eAAe,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;4BACpB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;4BAClC,OAAO,CACL,KAAC,WAAW,IACV,gBAAgB,EAAE,CAAC,KAAK,EAAE,EAAE;oCAC1B,QAAQ,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC;oCACrC,KAAK,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC;gCAChC,CAAC,EACD,KAAK,EAAE,EAAE,GAAG,EAAE,KAAK,IAAI,MAAM,EAAE,EAC/B,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GACxC,CACH,CAAC;wBACJ,CAAC,GACD,GACE,EACN,KAAC,mBAAmB,IAAC,KAAK,EAAC,KAAK,EAAC,IAAI,EAAE,YAAY,GAAI,IACnD,GACO,CAChB,CAAC;AACJ,CAAC"}
|
|
@@ -2,7 +2,7 @@ interface Spectrum2DHistogramProps {
|
|
|
2
2
|
color?: string;
|
|
3
3
|
data: any;
|
|
4
4
|
}
|
|
5
|
-
declare function Spectrum2DHistogram({ color, data, }: Spectrum2DHistogramProps): import("react
|
|
5
|
+
declare function Spectrum2DHistogram({ color, data, }: Spectrum2DHistogramProps): import("react").JSX.Element | null;
|
|
6
6
|
declare const _default: import("react").MemoExoticComponent<typeof Spectrum2DHistogram>;
|
|
7
7
|
export default _default;
|
|
8
8
|
//# sourceMappingURL=Spectrum2DHistogram.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spectrum2DHistogram.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spectrum2DHistogram.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx"],"names":[],"mappings":"AAMA,UAAU,wBAAwB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;CACX;AAID,iBAAS,mBAAmB,CAAC,EAC3B,KAAa,EACb,IAAI,GACL,EAAE,wBAAwB,sCAwC1B;;AAED,wBAAyC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { memo, useMemo } from 'react';
|
|
3
|
+
import { useWatch } from 'react-hook-form';
|
|
3
4
|
import PlotChart from './PlotChart.js';
|
|
4
5
|
import { processSnapPlot } from './processSnapPlot.js';
|
|
5
6
|
const yLogBase = 2;
|
|
@@ -7,6 +8,9 @@ function Spectrum2DHistogram({ color = 'red', data, }) {
|
|
|
7
8
|
const processedData = useMemo(() => {
|
|
8
9
|
return processSnapPlot('2D', data.rr, yLogBase);
|
|
9
10
|
}, [data]);
|
|
11
|
+
const isApplyToAllSelected = useWatch({ name: 'applyToAll' });
|
|
12
|
+
if (isApplyToAllSelected)
|
|
13
|
+
return null;
|
|
10
14
|
return (_jsxs("div", { children: [_jsx("div", { style: { textAlign: 'center', paddingBottom: 5, paddingTop: 5 }, children: "SAN plot" }), _jsxs("div", { style: {
|
|
11
15
|
borderTop: '1px solid #ededed',
|
|
12
16
|
marginTop: '10px',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spectrum2DHistogram.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Spectrum2DHistogram.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAOvD,MAAM,QAAQ,GAAG,CAAC,CAAC;AAEnB,SAAS,mBAAmB,CAAC,EAC3B,KAAK,GAAG,KAAK,EACb,IAAI,GACqB;IACzB,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,EAAE;QACjC,OAAO,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;IAClD,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAEX,MAAM,oBAAoB,GAAG,QAAQ,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;IAE9D,IAAI,oBAAoB;QAAE,OAAO,IAAI,CAAC;IAEtC,OAAO,CACL,0BACE,cAAK,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,yBAE9D,EAEN,eACE,KAAK,EAAE;oBACL,SAAS,EAAE,mBAAmB;oBAC9B,SAAS,EAAE,MAAM;oBACjB,UAAU,EAAE,MAAM;oBAClB,OAAO,EAAE,MAAM;oBACf,aAAa,EAAE,KAAK;iBACrB,aAED,KAAC,SAAS,IACR,IAAI,EAAE,aAAa,EACnB,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GAClB,EACF,KAAC,SAAS,IACR,IAAI,EAAE,aAAa,EACnB,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,WAAW,SACX,IACE,IACF,CACP,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -3,6 +3,6 @@ interface Spectrum2DSettingProps {
|
|
|
3
3
|
data: Spectrum2D;
|
|
4
4
|
onSubmit: (values: any) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare function Spectrum2DSetting({ data, onSubmit }: Spectrum2DSettingProps): import("react
|
|
6
|
+
export declare function Spectrum2DSetting({ data, onSubmit }: Spectrum2DSettingProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=Spectrum2DSetting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spectrum2DSetting.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Spectrum2DSetting.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAuCxD,UAAU,sBAAsB;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;CACjC;AASD,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,sBAAsB,+BAgC3E"}
|
|
@@ -10,6 +10,7 @@ import { useChartData } from "../../../../context/ChartContext.js";
|
|
|
10
10
|
import { NumberInput2 } from '../../../../elements/NumberInput2.js';
|
|
11
11
|
import { useFormValidateField } from '../../../../elements/useFormValidateField.js';
|
|
12
12
|
import { colorToHexWithAlpha } from '../../../../utility/colorToHexWithAlpha.js';
|
|
13
|
+
import { ApplyToAllSelected } from "./ApplyToAllSelected.js";
|
|
13
14
|
import Spectrum2DHistogram from './Spectrum2DHistogram.js';
|
|
14
15
|
const StyledRangeSlider = styled(RangeSlider) `
|
|
15
16
|
width: 90%;
|
|
@@ -32,10 +33,14 @@ export function Spectrum2DSetting({ data, onSubmit }) {
|
|
|
32
33
|
const { id, display, data: spectrumData } = data;
|
|
33
34
|
const { view: { spectraContourLevels }, } = useChartData();
|
|
34
35
|
const methods = useForm({
|
|
35
|
-
defaultValues: {
|
|
36
|
+
defaultValues: {
|
|
37
|
+
contourOptions: spectraContourLevels[id],
|
|
38
|
+
display,
|
|
39
|
+
applyToAll: false,
|
|
40
|
+
},
|
|
36
41
|
});
|
|
37
42
|
const { positiveColor, negativeColor } = display;
|
|
38
|
-
return (_jsx(FormProvider, { ...methods, children: _jsxs("div", { children: [_jsxs(Container, { color: positiveColor, children: [_jsx("span", { style: { padding: '0 10px' }, children: "Positive" }), _jsx(Settings, { sign: "positive", onSubmit: onSubmit })] }), _jsxs(Container, { color: negativeColor, children: [_jsx("span", { style: { padding: '0 10px' }, children: "Negative" }), _jsx(Settings, { sign: "negative", onSubmit: onSubmit })] }), _jsx(Spectrum2DHistogram, { data: spectrumData })] }) }));
|
|
43
|
+
return (_jsx(FormProvider, { ...methods, children: _jsxs("div", { style: { display: 'flex', flexDirection: 'column' }, children: [_jsx(ApplyToAllSelected, {}), _jsxs("div", { children: [_jsxs(Container, { color: positiveColor, children: [_jsx("span", { style: { padding: '0 10px' }, children: "Positive" }), _jsx(Settings, { sign: "positive", onSubmit: onSubmit })] }), _jsxs(Container, { color: negativeColor, children: [_jsx("span", { style: { padding: '0 10px' }, children: "Negative" }), _jsx(Settings, { sign: "negative", onSubmit: onSubmit })] }), _jsx(Spectrum2DHistogram, { data: spectrumData })] })] }) }));
|
|
39
44
|
}
|
|
40
45
|
function Settings(props) {
|
|
41
46
|
const { sign, onSubmit } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spectrum2DSetting.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EACL,UAAU,EACV,YAAY,EACZ,OAAO,EACP,cAAc,EACd,QAAQ,GACT,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,MAAM,EAAE,MAAM,gDAAgD,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAsC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAEjF,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;AAE3D,MAAM,iBAAiB,GAAG,MAAM,CAAC,WAAW,CAAC,CAE3C;;;;wBAIsB,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa;;CAErD,CAAC;AAKF,SAAS,mBAAmB,CAAC,KAA+B;IAC1D,OAAO,KAAC,iBAAiB,OAAK,KAAK,GAAI,CAAC;AAC1C,CAAC;AAOD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAA6C;;;;wBAIjD,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK;;CAE7C,CAAC;AACF,MAAM,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAA0B;IAC1E,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACjD,MAAM,EACJ,IAAI,EAAE,EAAE,oBAAoB,EAAE,GAC/B,GAAG,YAAY,EAAE,CAAC;IACnB,MAAM,OAAO,GAAG,OAAO,CAAC;QACtB,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"Spectrum2DSetting.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx"],"names":[],"mappings":"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"}
|
|
@@ -4,6 +4,6 @@ interface SpectrumSettingProps {
|
|
|
4
4
|
display: Display1D | Display2D;
|
|
5
5
|
dimension: number;
|
|
6
6
|
}
|
|
7
|
-
export declare function SpectrumSetting({ data, display, dimension, }: SpectrumSettingProps): import("react
|
|
7
|
+
export declare function SpectrumSetting({ data, display, dimension, }: SpectrumSettingProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=SpectrumSetting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpectrumSetting.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"SpectrumSetting.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAalE,UAAU,oBAAoB;IAC5B,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,EAAE,SAAS,GAAG,SAAS,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,OAAO,EACP,SAAS,GACV,EAAE,oBAAoB,+BAgDtB"}
|
|
@@ -2,20 +2,26 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Popover } from '@blueprintjs/core';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { useDispatch } from '../../../../context/DispatchContext.js';
|
|
5
|
+
import { useActiveSpectra } from "../../../../hooks/useActiveSpectra.js";
|
|
5
6
|
import { ColorIndicator } from '../ColorIndicator.js';
|
|
6
7
|
import { Spectrum1DSetting } from './Spectrum1DSetting.js';
|
|
7
8
|
import { Spectrum2DSetting } from './Spectrum2DSetting.js';
|
|
8
9
|
const SpectrumSettingContent = styled.div `
|
|
9
|
-
max-height:
|
|
10
|
+
max-height: 390px;
|
|
10
11
|
overflow-y: auto;
|
|
11
12
|
`;
|
|
12
13
|
export function SpectrumSetting({ data, display, dimension, }) {
|
|
13
14
|
const dispatch = useDispatch();
|
|
14
15
|
const { id, info } = data;
|
|
16
|
+
const activeSpectra = useActiveSpectra();
|
|
15
17
|
function submitHandler(values) {
|
|
18
|
+
const { applyToAll, ...other } = values;
|
|
19
|
+
const ids = activeSpectra && activeSpectra.length >= 2 && applyToAll
|
|
20
|
+
? activeSpectra.map((s) => s.id)
|
|
21
|
+
: [id];
|
|
16
22
|
dispatch({
|
|
17
23
|
type: 'CHANGE_SPECTRUM_SETTING',
|
|
18
|
-
payload: {
|
|
24
|
+
payload: { ids, ...other },
|
|
19
25
|
});
|
|
20
26
|
}
|
|
21
27
|
return (_jsx(Popover, { interactionKind: "click", placement: "left-start", canEscapeKeyClose: true, content: _jsx(SpectrumSettingContent, { onClick: (event) => event.stopPropagation(), onContextMenu: (e) => e.stopPropagation(), children: info.dimension === 2 ? (_jsx(Spectrum2DSetting, { onSubmit: submitHandler, data: data })) : (_jsx(Spectrum1DSetting, { onSubmit: submitHandler, data: data })) }), renderTarget: ({ isOpen, onClick, ...targetProps }) => (_jsx("div", { ...targetProps, onClick: (event) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpectrumSetting.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,sBAAsB,GAAG,MAAM,CAAC,GAAG,CAAA;;;CAGxC,CAAC;AAOF,MAAM,UAAU,eAAe,CAAC,EAC9B,IAAI,EACJ,OAAO,EACP,SAAS,GACY;IACrB,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"SpectrumSetting.js","sourceRoot":"","sources":["../../../../../../src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,sBAAsB,GAAG,MAAM,CAAC,GAAG,CAAA;;;CAGxC,CAAC;AAOF,MAAM,UAAU,eAAe,CAAC,EAC9B,IAAI,EACJ,OAAO,EACP,SAAS,GACY;IACrB,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAC1B,MAAM,aAAa,GAAG,gBAAgB,EAAE,CAAC;IAEzC,SAAS,aAAa,CAAC,MAAW;QAChC,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,GAAG,MAAM,CAAC;QACxC,MAAM,GAAG,GACP,aAAa,IAAI,aAAa,CAAC,MAAM,IAAI,CAAC,IAAI,UAAU;YACtD,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAChC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAEX,QAAQ,CAAC;YACP,IAAI,EAAE,yBAAyB;YAC/B,OAAO,EAAE,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE;SAC3B,CAAC,CAAC;IACL,CAAC;IAED,OAAO,CACL,KAAC,OAAO,IACN,eAAe,EAAC,OAAO,EACvB,SAAS,EAAC,YAAY,EACtB,iBAAiB,QACjB,OAAO,EACL,KAAC,sBAAsB,IACrB,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,eAAe,EAAE,EAC3C,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,EAAE,YAExC,IAAI,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,CACtB,KAAC,iBAAiB,IAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAI,CAC3D,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,IAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,GAAI,CAC3D,GACsB,EAE3B,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,WAAW,EAAE,EAAE,EAAE,CAAC,CACrD,iBACM,WAAW,EACf,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;gBACjB,KAAK,CAAC,eAAe,EAAE,CAAC;gBACxB,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;YACnB,CAAC,YAED,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,GAAI,GACtD,CACP,GACD,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -5,6 +5,6 @@ interface AdditionalColumnFieldProps {
|
|
|
5
5
|
spectraData: any;
|
|
6
6
|
onEdit: any;
|
|
7
7
|
}
|
|
8
|
-
declare function AdditionalColumnField(props: AdditionalColumnFieldProps): import("react
|
|
8
|
+
declare function AdditionalColumnField(props: AdditionalColumnFieldProps): import("react").JSX.Element;
|
|
9
9
|
export default AdditionalColumnField;
|
|
10
10
|
//# sourceMappingURL=AdditionalColumnField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalColumnField.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx"],"names":[],"mappings":"AAgCA,UAAU,0BAA0B;IAClC,cAAc,EAAE,GAAG,CAAC;IACpB,iBAAiB,EAAE,GAAG,CAAC;IACvB,WAAW,EAAE,GAAG,CAAC;IACjB,WAAW,EAAE,GAAG,CAAC;IACjB,MAAM,EAAE,GAAG,CAAC;CACb;AAED,iBAAS,qBAAqB,CAAC,KAAK,EAAE,0BAA0B
|
|
1
|
+
{"version":3,"file":"AdditionalColumnField.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx"],"names":[],"mappings":"AAgCA,UAAU,0BAA0B;IAClC,cAAc,EAAE,GAAG,CAAC;IACpB,iBAAiB,EAAE,GAAG,CAAC;IACvB,WAAW,EAAE,GAAG,CAAC;IACjB,WAAW,EAAE,GAAG,CAAC;IACjB,MAAM,EAAE,GAAG,CAAC;CACb;AAED,iBAAS,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,+BAqM/D;AAgBD,eAAe,qBAAqB,CAAC"}
|
|
@@ -6,6 +6,6 @@ export interface AdditionalColumnHeaderProps {
|
|
|
6
6
|
correlation: Correlation;
|
|
7
7
|
onEdit: (editedCorrelations: Correlation[], action: string, link?: Link, options?: CorrelationOptions) => void;
|
|
8
8
|
}
|
|
9
|
-
declare function AdditionalColumnHeader(props: AdditionalColumnHeaderProps): import("react
|
|
9
|
+
declare function AdditionalColumnHeader(props: AdditionalColumnHeaderProps): import("react").JSX.Element;
|
|
10
10
|
export default AdditionalColumnHeader;
|
|
11
11
|
//# sourceMappingURL=AdditionalColumnHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdditionalColumnHeader.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EACf,IAAI,EACJ,OAAO,IAAI,kBAAkB,EAC9B,MAAM,iBAAiB,CAAC;AAkBzB,MAAM,WAAW,2BAA2B;IAC1C,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,gBAAgB,EAAE,eAAe,CAAC;IAClC,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,CACN,kBAAkB,EAAE,WAAW,EAAE,EACjC,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,IAAI,EACX,OAAO,CAAC,EAAE,kBAAkB,KACzB,IAAI,CAAC;CACX;AAED,iBAAS,sBAAsB,CAAC,KAAK,EAAE,2BAA2B
|
|
1
|
+
{"version":3,"file":"AdditionalColumnHeader.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EACV,WAAW,EACX,eAAe,EACf,IAAI,EACJ,OAAO,IAAI,kBAAkB,EAC9B,MAAM,iBAAiB,CAAC;AAkBzB,MAAM,WAAW,2BAA2B;IAC1C,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,gBAAgB,EAAE,eAAe,CAAC;IAClC,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,CACN,kBAAkB,EAAE,WAAW,EAAE,EACjC,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,IAAI,EACX,OAAO,CAAC,EAAE,kBAAkB,KACzB,IAAI,CAAC;CACX;AAED,iBAAS,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,+BAyLjE;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -12,6 +12,6 @@ interface CorrelationTableProps {
|
|
|
12
12
|
showProtonsAsRows: boolean;
|
|
13
13
|
spectraData: Spectrum[];
|
|
14
14
|
}
|
|
15
|
-
export default function CorrelationTable(props: CorrelationTableProps): import("react
|
|
15
|
+
export default function CorrelationTable(props: CorrelationTableProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=CorrelationTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorrelationTable.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE/E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAsDzE,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,eAAe,CAAC;IAClC,wBAAwB,EAAE,eAAe,CAAC;IAC1C,oBAAoB,EAAE,WAAW,EAAE,CAAC;IACpC,2BAA2B,EAAE,wBAAwB,CAAC,wBAAwB,CAAC,CAAC;IAChF,uBAAuB,EAAE,wBAAwB,CAAC,yBAAyB,CAAC,CAAC;IAC7E,iCAAiC,EAAE,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IACzE,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,QAAQ,EAAE,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,qBAAqB
|
|
1
|
+
{"version":3,"file":"CorrelationTable.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAKpE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAE/E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAsDzE,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,eAAe,CAAC;IAClC,wBAAwB,EAAE,eAAe,CAAC;IAC1C,oBAAoB,EAAE,WAAW,EAAE,CAAC;IACpC,2BAA2B,EAAE,wBAAwB,CAAC,wBAAwB,CAAC,CAAC;IAChF,uBAAuB,EAAE,wBAAwB,CAAC,yBAAyB,CAAC,CAAC;IAC7E,iCAAiC,EAAE,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IACzE,iBAAiB,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,QAAQ,EAAE,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,+BAwFpE"}
|
|
@@ -16,5 +16,5 @@ export interface CorrelationTableRowProps {
|
|
|
16
16
|
onEditCorrelationTableCellHandler: AdditionalColumnHeaderProps['onEdit'];
|
|
17
17
|
spectraData: Spectrum[];
|
|
18
18
|
}
|
|
19
|
-
export default function CorrelationTableRow(props: CorrelationTableRowProps): import("react
|
|
19
|
+
export default function CorrelationTableRow(props: CorrelationTableRowProps): import("react").JSX.Element;
|
|
20
20
|
//# sourceMappingURL=CorrelationTableRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorrelationTableRow.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAQ,MAAM,iBAAiB,CAAC;AAO1E,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,OAAO,CAAC;AAevD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAIhF,MAAM,WAAW,wBAAwB;IACvC,oBAAoB,EAAE,WAAW,EAAE,CAAC;IACpC,YAAY,EAAE,eAAe,CAAC;IAC9B,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,aAAa,CAAC;IAC1B,sBAAsB,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,uBAAuB,EAAE,CAAC,MAAM,EAAE;QAChC,WAAW,EAAE,WAAW,CAAC;QACzB,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,GAAG,EAAE,eAAe,GAAG,cAAc,CAAC;KACvC,KAAK,IAAI,CAAC;IACX,iCAAiC,EAAE,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IACzE,WAAW,EAAE,QAAQ,EAAE,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB
|
|
1
|
+
{"version":3,"file":"CorrelationTableRow.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAQ,MAAM,iBAAiB,CAAC;AAO1E,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,OAAO,CAAC;AAevD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAIhF,MAAM,WAAW,wBAAwB;IACvC,oBAAoB,EAAE,WAAW,EAAE,CAAC;IACpC,YAAY,EAAE,eAAe,CAAC;IAC9B,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,aAAa,CAAC;IAC1B,sBAAsB,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,uBAAuB,EAAE,CAAC,MAAM,EAAE;QAChC,WAAW,EAAE,WAAW,CAAC;QACzB,MAAM,EAAE,MAAM,EAAE,CAAC;QACjB,GAAG,EAAE,eAAe,GAAG,cAAc,CAAC;KACvC,KAAK,IAAI,CAAC;IACX,iCAAiC,EAAE,2BAA2B,CAAC,QAAQ,CAAC,CAAC;IACzE,WAAW,EAAE,QAAQ,EAAE,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,+BAwT1E"}
|
|
@@ -2,6 +2,6 @@ interface EditLinkConfirmationProps {
|
|
|
2
2
|
description: string;
|
|
3
3
|
onConfirm: () => void;
|
|
4
4
|
}
|
|
5
|
-
declare function EditLinkConfirmation({ description, onConfirm, }: EditLinkConfirmationProps): import("react
|
|
5
|
+
declare function EditLinkConfirmation({ description, onConfirm, }: EditLinkConfirmationProps): import("react").JSX.Element;
|
|
6
6
|
export default EditLinkConfirmation;
|
|
7
7
|
//# sourceMappingURL=Confirmation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Confirmation.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.tsx"],"names":[],"mappings":"AA+BA,UAAU,yBAAyB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,iBAAS,oBAAoB,CAAC,EAC5B,WAAW,EACX,SAAS,GACV,EAAE,yBAAyB
|
|
1
|
+
{"version":3,"file":"Confirmation.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.tsx"],"names":[],"mappings":"AA+BA,UAAU,yBAAyB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,iBAAS,oBAAoB,CAAC,EAC5B,WAAW,EACX,SAAS,GACV,EAAE,yBAAyB,+BAmB3B;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -9,6 +9,6 @@ export interface EditLinkDialogData {
|
|
|
9
9
|
interface EditLinkModalProps extends DialogProps<EditLinkDialogData> {
|
|
10
10
|
onEdit: OnEditCorrelationCallback;
|
|
11
11
|
}
|
|
12
|
-
export declare function EditLinkModal(props: EditLinkModalProps): import("react
|
|
12
|
+
export declare function EditLinkModal(props: EditLinkModalProps): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
14
14
|
//# sourceMappingURL=EditLinkModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditLinkModal.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAIzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAOvE,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,WAAW,CAAC;IAC7B,eAAe,EAAE,WAAW,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;CACZ;AACD,UAAU,kBAAmB,SAAQ,WAAW,CAAC,kBAAkB,CAAC;IAClE,MAAM,EAAE,yBAAyB,CAAC;CACnC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"EditLinkModal.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAIzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAOvE,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,WAAW,CAAC;IAC7B,eAAe,EAAE,WAAW,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;CACZ;AACD,UAAU,kBAAmB,SAAQ,WAAW,CAAC,kBAAkB,CAAC;IAClE,MAAM,EAAE,yBAAyB,CAAC;CACnC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BA0HtD"}
|
|
@@ -4,6 +4,6 @@ interface InputProps {
|
|
|
4
4
|
experimentType: string;
|
|
5
5
|
onEdit: (editedSignal: Signal2D) => void;
|
|
6
6
|
}
|
|
7
|
-
declare function EditPathLength({ signal, experimentType, onEdit }: InputProps): import("react
|
|
7
|
+
declare function EditPathLength({ signal, experimentType, onEdit }: InputProps): import("react").JSX.Element;
|
|
8
8
|
export default EditPathLength;
|
|
9
9
|
//# sourceMappingURL=EditPathLength.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditPathLength.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AA4CpD,UAAU,UAAU;IAClB,MAAM,EAAE,QAAQ,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,CAAC,YAAY,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC1C;AAED,iBAAS,cAAc,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,UAAU
|
|
1
|
+
{"version":3,"file":"EditPathLength.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/EditPathLength.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AA4CpD,UAAU,UAAU;IAClB,MAAM,EAAE,QAAQ,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,CAAC,YAAY,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC1C;AAED,iBAAS,cAAc,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,UAAU,+BAmFrE;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -6,6 +6,6 @@ interface MoveLinkProps {
|
|
|
6
6
|
correlations: Correlation[];
|
|
7
7
|
onEdit: (correlationIdDim1: string, correlationIdDim2: string | undefined) => void;
|
|
8
8
|
}
|
|
9
|
-
declare function MoveLink({ correlationDim1, correlationDim2, link, correlations, onEdit, }: MoveLinkProps): import("react
|
|
9
|
+
declare function MoveLink({ correlationDim1, correlationDim2, link, correlations, onEdit, }: MoveLinkProps): import("react").JSX.Element;
|
|
10
10
|
export default MoveLink;
|
|
11
11
|
//# sourceMappingURL=MoveLink.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoveLink.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAqCzD,UAAU,aAAa;IACrB,eAAe,EAAE,WAAW,CAAC;IAC7B,eAAe,EAAE,WAAW,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,GAAG,SAAS,KAClC,IAAI,CAAC;CACX;AAOD,iBAAS,QAAQ,CAAC,EAChB,eAAe,EACf,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,MAAM,GACP,EAAE,aAAa
|
|
1
|
+
{"version":3,"file":"MoveLink.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAqCzD,UAAU,aAAa;IACrB,eAAe,EAAE,WAAW,CAAC;IAC7B,eAAe,EAAE,WAAW,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,GAAG,SAAS,KAClC,IAAI,CAAC;CACX;AAOD,iBAAS,QAAQ,CAAC,EAChB,eAAe,EACf,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,MAAM,GACP,EAAE,aAAa,+BA6Ef;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -6,7 +6,7 @@ interface OverviewProps {
|
|
|
6
6
|
state: any;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
declare function Overview({ correlationsData }: OverviewProps): import("react
|
|
9
|
+
declare function Overview({ correlationsData }: OverviewProps): import("react").JSX.Element | null;
|
|
10
10
|
declare const _default: import("react").MemoExoticComponent<typeof Overview>;
|
|
11
11
|
export default _default;
|
|
12
12
|
//# sourceMappingURL=Overview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/Overview.tsx"],"names":[],"mappings":"AAkBA,UAAU,aAAa;IACrB,gBAAgB,CAAC,EAAE;QACjB,OAAO,EAAE;YACP,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;QACF,KAAK,EAAE,GAAG,CAAC;KACZ,CAAC;CACH;AAED,iBAAS,QAAQ,CAAC,EAAE,gBAAgB,EAAE,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/Overview.tsx"],"names":[],"mappings":"AAkBA,UAAU,aAAa;IACrB,gBAAgB,CAAC,EAAE;QACjB,OAAO,EAAE;YACP,EAAE,EAAE,MAAM,CAAC;SACZ,CAAC;QACF,KAAK,EAAE,GAAG,CAAC;KACZ,CAAC;CACH;AAED,iBAAS,QAAQ,CAAC,EAAE,gBAAgB,EAAE,EAAE,aAAa,sCA4CpD;;AAED,wBAA8B"}
|
|
@@ -4,6 +4,6 @@ interface InnerMolecularFormulaModalProps {
|
|
|
4
4
|
interface MolecularFormulaModalProps extends InnerMolecularFormulaModalProps {
|
|
5
5
|
isOpen: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare function SetMolecularFormulaModal(props: MolecularFormulaModalProps): import("react
|
|
7
|
+
export declare function SetMolecularFormulaModal(props: MolecularFormulaModalProps): import("react").JSX.Element | undefined;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=SetMolecularFormulaModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetMolecularFormulaModal.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx"],"names":[],"mappings":"AAkDA,UAAU,+BAA+B;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AACD,UAAU,0BAA2B,SAAQ,+BAA+B;IAC1E,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"SetMolecularFormulaModal.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx"],"names":[],"mappings":"AAkDA,UAAU,+BAA+B;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AACD,UAAU,0BAA2B,SAAQ,+BAA+B;IAC1E,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,0BAA0B,2CAQzE"}
|
|
@@ -4,6 +4,6 @@ interface SetShiftToleranceModalProps extends InnerSetShiftToleranceModalProps {
|
|
|
4
4
|
interface InnerSetShiftToleranceModalProps {
|
|
5
5
|
onClose: () => void;
|
|
6
6
|
}
|
|
7
|
-
export declare function SetShiftToleranceModal(props: SetShiftToleranceModalProps): import("react
|
|
7
|
+
export declare function SetShiftToleranceModal(props: SetShiftToleranceModalProps): import("react").JSX.Element | undefined;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=SetShiftTolerancesModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetShiftTolerancesModal.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx"],"names":[],"mappings":"AAqBA,UAAU,2BAA4B,SAAQ,gCAAgC;IAC5E,MAAM,EAAE,OAAO,CAAC;CACjB;AACD,UAAU,gCAAgC;IACxC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAgBD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,
|
|
1
|
+
{"version":3,"file":"SetShiftTolerancesModal.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx"],"names":[],"mappings":"AAqBA,UAAU,2BAA4B,SAAQ,gCAAgC;IAC5E,MAAM,EAAE,OAAO,CAAC;CACjB;AACD,UAAU,gCAAgC;IACxC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAgBD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CAQxE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Correlation, Link, Options as CorrelationOptions } from 'nmr-correlation';
|
|
2
2
|
type EditCorrelationAction = 'add' | 'move' | 'remove' | 'unmove' | 'setPathLength';
|
|
3
3
|
export type OnEditCorrelationCallback = (editedCorrelations: Correlation[], action: EditCorrelationAction, link?: Link, options?: CorrelationOptions) => void;
|
|
4
|
-
declare function SummaryPanel(): import("react
|
|
4
|
+
declare function SummaryPanel(): import("react").JSX.Element;
|
|
5
5
|
declare const _default: import("react").MemoExoticComponent<typeof SummaryPanel>;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=SummaryPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SummaryPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SummaryPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,WAAW,EACX,IAAI,EACJ,OAAO,IAAI,kBAAkB,EAE9B,MAAM,iBAAiB,CAAC;AA8BzB,KAAK,qBAAqB,GACtB,KAAK,GACL,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,eAAe,CAAC;AAEpB,MAAM,MAAM,yBAAyB,GAAG,CACtC,kBAAkB,EAAE,WAAW,EAAE,EACjC,MAAM,EAAE,qBAAqB,EAC7B,IAAI,CAAC,EAAE,IAAI,EACX,OAAO,CAAC,EAAE,kBAAkB,KACzB,IAAI,CAAC;AAqCV,iBAAS,YAAY,
|
|
1
|
+
{"version":3,"file":"SummaryPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/SummaryPanel/SummaryPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,WAAW,EACX,IAAI,EACJ,OAAO,IAAI,kBAAkB,EAE9B,MAAM,iBAAiB,CAAC;AA8BzB,KAAK,qBAAqB,GACtB,KAAK,GACL,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,eAAe,CAAC;AAEpB,MAAM,MAAM,yBAAyB,GAAG,CACtC,kBAAkB,EAAE,WAAW,EAAE,EACjC,MAAM,EAAE,qBAAqB,EAC7B,IAAI,CAAC,EAAE,IAAI,EACX,OAAO,CAAC,EAAE,kBAAkB,KACzB,IAAI,CAAC;AAqCV,iBAAS,YAAY,gCAmcpB;;AAED,wBAAkC"}
|
|
@@ -147,7 +147,7 @@ function SummaryPanel() {
|
|
|
147
147
|
});
|
|
148
148
|
}, [correlationsData]);
|
|
149
149
|
const additionalColumnData = useMemo(() => {
|
|
150
|
-
const _selectedAdditionalColumnsAtomType = selectedAdditionalColumnsAtomType.split('-')[0];
|
|
150
|
+
const _selectedAdditionalColumnsAtomType = selectedAdditionalColumnsAtomType.split('-', 1)[0];
|
|
151
151
|
if (!filteredCorrelationsData) {
|
|
152
152
|
return [];
|
|
153
153
|
}
|
|
@@ -259,11 +259,7 @@ function SummaryPanel() {
|
|
|
259
259
|
}
|
|
260
260
|
}, [dispatch, spectraData]);
|
|
261
261
|
const editCorrelationTableCellHandler = useCallback((editedCorrelations, action, link, options) => {
|
|
262
|
-
if (
|
|
263
|
-
action === 'move' ||
|
|
264
|
-
action === 'remove' ||
|
|
265
|
-
action === 'unmove' ||
|
|
266
|
-
action === 'setPathLength') {
|
|
262
|
+
if (['add', 'move', 'remove', 'unmove', 'setPathLength'].includes(action)) {
|
|
267
263
|
if (link && !link.pseudo) {
|
|
268
264
|
if (action === 'remove') {
|
|
269
265
|
deleteSignalHandler(link);
|
|
@@ -287,7 +283,7 @@ function SummaryPanel() {
|
|
|
287
283
|
setFilterIsActive(!filterIsActive);
|
|
288
284
|
}, [filterIsActive]);
|
|
289
285
|
const total = correlationsData ? correlationsData.values.length : 0;
|
|
290
|
-
return (_jsxs(Container, { children: [_jsx(EditLinkDialog, { onEdit: editCorrelationTableCellHandler }), _jsx(SetMolecularFormulaModal, { isOpen: dialog.molecularFormula, onClose: closeDialog }), _jsx(SetShiftToleranceModal, { isOpen: dialog.shiftToleranceModal, onClose: closeDialog }), _jsx(DefaultPanelHeader, { total: total, counter: filteredCorrelationsData?.values.length, onFilter: handleOnFilter,
|
|
286
|
+
return (_jsxs(Container, { children: [_jsx(EditLinkDialog, { onEdit: editCorrelationTableCellHandler }), _jsx(SetMolecularFormulaModal, { isOpen: dialog.molecularFormula, onClose: closeDialog }), _jsx(SetShiftToleranceModal, { isOpen: dialog.shiftToleranceModal, onClose: closeDialog }), _jsx(DefaultPanelHeader, { total: total, counter: filteredCorrelationsData?.values.length, onFilter: handleOnFilter, filterTooltip: filterIsActive
|
|
291
287
|
? 'Show all correlations'
|
|
292
288
|
: 'Hide correlations out of view', leftButtons: [
|
|
293
289
|
{
|