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,201 @@
|
|
|
1
|
+
import { Classes } from '@blueprintjs/core';
|
|
2
|
+
import styled from '@emotion/styled';
|
|
3
|
+
import { useField, useStore } from '@tanstack/react-form';
|
|
4
|
+
import { useCallback, useMemo, useState } from 'react';
|
|
5
|
+
import { FaRegTrashAlt } from 'react-icons/fa';
|
|
6
|
+
import {
|
|
7
|
+
Button,
|
|
8
|
+
FieldGroupSVGTextStyleFields,
|
|
9
|
+
TableDragRowHandler,
|
|
10
|
+
createTableColumnHelper,
|
|
11
|
+
withForm,
|
|
12
|
+
} from 'react-science/ui';
|
|
13
|
+
import type { z } from 'zod';
|
|
14
|
+
|
|
15
|
+
import { useChartData } from '../../../../context/ChartContext.js';
|
|
16
|
+
import { getSpectraObjectPaths } from '../../../../utility/getSpectraObjectPaths.js';
|
|
17
|
+
import { CellActions, CellActionsButton } from '../ui/cell_actions.tsx';
|
|
18
|
+
import { CellCheckbox } from '../ui/cell_checkbox.tsx';
|
|
19
|
+
import { CellInput } from '../ui/cell_input.tsx';
|
|
20
|
+
import { TableSettings } from '../ui/table.js';
|
|
21
|
+
import { TableSection } from '../ui/table_section.js';
|
|
22
|
+
import type { spectraLabelFieldTabValidationWithUUID } from '../validation/spectra_label_tab_validation.ts';
|
|
23
|
+
import { defaultGeneralSettingsFormValues } from '../validation.js';
|
|
24
|
+
|
|
25
|
+
export const SpectraLabelTab = withForm({
|
|
26
|
+
defaultValues: defaultGeneralSettingsFormValues,
|
|
27
|
+
render: ({ form }) => {
|
|
28
|
+
const { Section, AppField } = form;
|
|
29
|
+
|
|
30
|
+
return (
|
|
31
|
+
<>
|
|
32
|
+
<Section title="Visibility">
|
|
33
|
+
<AppField name="spectraLabel.visible">
|
|
34
|
+
{({ Checkbox }) => <Checkbox label="Display spectra labels" />}
|
|
35
|
+
</AppField>
|
|
36
|
+
</Section>
|
|
37
|
+
|
|
38
|
+
<TableFields form={form} />
|
|
39
|
+
|
|
40
|
+
<Section title="Styling">
|
|
41
|
+
<FieldGroupSVGTextStyleFields
|
|
42
|
+
form={form}
|
|
43
|
+
fields="spectraLabel.valueStyle"
|
|
44
|
+
label="Field value"
|
|
45
|
+
previewText="Placeholder"
|
|
46
|
+
/>
|
|
47
|
+
</Section>
|
|
48
|
+
</>
|
|
49
|
+
);
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
type Field = z.input<typeof spectraLabelFieldTabValidationWithUUID>;
|
|
54
|
+
function getEmptyField(): Field {
|
|
55
|
+
return {
|
|
56
|
+
format: '',
|
|
57
|
+
jpath: '',
|
|
58
|
+
visible: true,
|
|
59
|
+
uuid: crypto.randomUUID(),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
const TableFields = withForm({
|
|
63
|
+
defaultValues: defaultGeneralSettingsFormValues,
|
|
64
|
+
render: function Fields({ form }) {
|
|
65
|
+
const { Field } = form;
|
|
66
|
+
const fields = useField({
|
|
67
|
+
form,
|
|
68
|
+
name: 'spectraLabel.fields',
|
|
69
|
+
mode: 'array',
|
|
70
|
+
});
|
|
71
|
+
const { removeValue, setValue, pushValue, name, store } = fields;
|
|
72
|
+
|
|
73
|
+
const [autoFocus, setAutoFocus] = useState<string>('');
|
|
74
|
+
function onAddField() {
|
|
75
|
+
const value = getEmptyField();
|
|
76
|
+
pushValue(value, { dontRunListeners: true });
|
|
77
|
+
setAutoFocus(value.uuid);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const { data } = useChartData();
|
|
81
|
+
const { datalist } = useMemo(() => getSpectraObjectPaths(data), [data]);
|
|
82
|
+
|
|
83
|
+
const onDeleteAt = useCallback(
|
|
84
|
+
(index: number) => {
|
|
85
|
+
removeValue(index);
|
|
86
|
+
},
|
|
87
|
+
[removeValue],
|
|
88
|
+
);
|
|
89
|
+
|
|
90
|
+
const columns = useMemo(() => {
|
|
91
|
+
const columnHelper = createTableColumnHelper<Field>();
|
|
92
|
+
return [
|
|
93
|
+
columnHelper.display({
|
|
94
|
+
id: 'dnd',
|
|
95
|
+
header: '',
|
|
96
|
+
meta: {
|
|
97
|
+
tdStyle: { textAlign: 'center' },
|
|
98
|
+
},
|
|
99
|
+
cell: () => <TableDragRowHandlerStyled size="small" />,
|
|
100
|
+
}),
|
|
101
|
+
columnHelper.accessor('jpath', {
|
|
102
|
+
header: 'Field',
|
|
103
|
+
cell: ({ row: { index, original } }) => (
|
|
104
|
+
<Field name={`${name}[${index}].jpath`}>
|
|
105
|
+
{(field) => (
|
|
106
|
+
<CellInput
|
|
107
|
+
field={field}
|
|
108
|
+
autoFocus={original.uuid === autoFocus ? true : undefined}
|
|
109
|
+
filterItems={datalist}
|
|
110
|
+
onBlur={() => setAutoFocus('')}
|
|
111
|
+
/>
|
|
112
|
+
)}
|
|
113
|
+
</Field>
|
|
114
|
+
),
|
|
115
|
+
}),
|
|
116
|
+
columnHelper.accessor('format', {
|
|
117
|
+
header: 'Format',
|
|
118
|
+
cell: ({ row: { index } }) => (
|
|
119
|
+
<Field name={`${name}[${index}].format`}>
|
|
120
|
+
{(field) => <CellInput field={field} />}
|
|
121
|
+
</Field>
|
|
122
|
+
),
|
|
123
|
+
}),
|
|
124
|
+
columnHelper.accessor('visible', {
|
|
125
|
+
header: 'Visible',
|
|
126
|
+
meta: {
|
|
127
|
+
tdStyle: { textAlign: 'center' },
|
|
128
|
+
},
|
|
129
|
+
cell: ({ row: { index } }) => (
|
|
130
|
+
<Field name={`${name}[${index}].visible`}>
|
|
131
|
+
{(field) => <CellCheckbox field={field} />}
|
|
132
|
+
</Field>
|
|
133
|
+
),
|
|
134
|
+
}),
|
|
135
|
+
columnHelper.display({
|
|
136
|
+
id: 'actions',
|
|
137
|
+
header: '',
|
|
138
|
+
meta: {
|
|
139
|
+
thStyle: {
|
|
140
|
+
width: '60px',
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
cell: ({ row: { index } }) => {
|
|
144
|
+
return (
|
|
145
|
+
<CellActions>
|
|
146
|
+
<CellActionsButton
|
|
147
|
+
intent="danger"
|
|
148
|
+
onClick={() => onDeleteAt(index)}
|
|
149
|
+
>
|
|
150
|
+
<FaRegTrashAlt className={Classes.ICON} />
|
|
151
|
+
</CellActionsButton>
|
|
152
|
+
</CellActions>
|
|
153
|
+
);
|
|
154
|
+
},
|
|
155
|
+
}),
|
|
156
|
+
];
|
|
157
|
+
}, [Field, autoFocus, datalist, name, onDeleteAt]);
|
|
158
|
+
|
|
159
|
+
const onRowOrderChanged = useCallback(
|
|
160
|
+
(value: Field[]) => {
|
|
161
|
+
setValue(value);
|
|
162
|
+
},
|
|
163
|
+
[setValue],
|
|
164
|
+
);
|
|
165
|
+
|
|
166
|
+
const fieldsData = useStore(store, (s) => s.value);
|
|
167
|
+
|
|
168
|
+
return (
|
|
169
|
+
<TableSection
|
|
170
|
+
title="Fields"
|
|
171
|
+
actions={
|
|
172
|
+
<Button
|
|
173
|
+
size="small"
|
|
174
|
+
variant="outlined"
|
|
175
|
+
intent="primary"
|
|
176
|
+
icon="plus"
|
|
177
|
+
onClick={onAddField}
|
|
178
|
+
>
|
|
179
|
+
Add Field
|
|
180
|
+
</Button>
|
|
181
|
+
}
|
|
182
|
+
>
|
|
183
|
+
<TableSettings
|
|
184
|
+
data={fieldsData}
|
|
185
|
+
columns={columns}
|
|
186
|
+
onRowOrderChanged={onRowOrderChanged}
|
|
187
|
+
getRowId={getRowId}
|
|
188
|
+
emptyContent="No Fields"
|
|
189
|
+
/>
|
|
190
|
+
</TableSection>
|
|
191
|
+
);
|
|
192
|
+
},
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
function getRowId(row: Field) {
|
|
196
|
+
return row.uuid;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
const TableDragRowHandlerStyled = styled(TableDragRowHandler)`
|
|
200
|
+
margin: 0 2px;
|
|
201
|
+
`;
|
package/src/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.ts
CHANGED
|
@@ -5,8 +5,10 @@ import { withUUID } from './utils.ts';
|
|
|
5
5
|
|
|
6
6
|
const externalAPIValidation = z.object({
|
|
7
7
|
key: z.enum(EXTERNAL_API_KEYS.map(({ key }) => key)),
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
name: z.string().nonempty(),
|
|
9
|
+
description: z.string(),
|
|
10
|
+
apiUrl: z.url().nonempty(),
|
|
11
|
+
apiKey: z.string(),
|
|
10
12
|
});
|
|
11
13
|
export const externalAPIWithUUIDValidation = withUUID(externalAPIValidation);
|
|
12
14
|
export const externalAPIsValidation = z.array(externalAPIWithUUIDValidation);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { svgTextStyleFieldsSchema } from 'react-science/ui';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
import { jpathCodec, withUUID } from './utils.ts';
|
|
5
|
+
|
|
6
|
+
const spectraLabelFieldTabValidation = z.object({
|
|
7
|
+
format: z.string(),
|
|
8
|
+
jpath: jpathCodec,
|
|
9
|
+
visible: z.boolean(),
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export const spectraLabelFieldTabValidationWithUUID = withUUID(
|
|
13
|
+
spectraLabelFieldTabValidation,
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
const spectraLabelFieldsTabValidation = z.array(
|
|
17
|
+
spectraLabelFieldTabValidationWithUUID,
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
export const spectraLabelTabValidation = z.object({
|
|
21
|
+
visible: z.boolean(),
|
|
22
|
+
fields: spectraLabelFieldsTabValidation,
|
|
23
|
+
valueStyle: svgTextStyleFieldsSchema.optional(),
|
|
24
|
+
});
|
|
@@ -16,8 +16,9 @@ import { nmrLoadersValidation } from './validation/import_filters_tab_validation
|
|
|
16
16
|
import { nucleiValidation } from './validation/nuclei_tab_validation.js';
|
|
17
17
|
import { displayPanelsValidation } from './validation/panels_tab_validation.js';
|
|
18
18
|
import { spectraColorsTabValidation } from './validation/spectra_colors_tab_validation.ts';
|
|
19
|
+
import { spectraLabelTabValidation } from './validation/spectra_label_tab_validation.ts';
|
|
19
20
|
import { infoBlockTabValidation } from './validation/title_block_tab_validation.js';
|
|
20
|
-
import {
|
|
21
|
+
import { toolbarButtonsValidation } from './validation/tools_tab_validation.ts';
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* The type for the workspace preferences is `WorkspaceWithSource`
|
|
@@ -29,7 +30,7 @@ import { toolBarButtonsValidation } from './validation/tools_tab_validation.ts';
|
|
|
29
30
|
const displayValidation = z.object({
|
|
30
31
|
general: displayGeneralValidation,
|
|
31
32
|
panels: displayPanelsValidation,
|
|
32
|
-
toolBarButtons:
|
|
33
|
+
toolBarButtons: toolbarButtonsValidation,
|
|
33
34
|
});
|
|
34
35
|
|
|
35
36
|
export const workspaceValidation = z.object({
|
|
@@ -45,6 +46,7 @@ export const workspaceValidation = z.object({
|
|
|
45
46
|
export: exportPreferencesValidation,
|
|
46
47
|
peaksLabel: peaksLabelValidation,
|
|
47
48
|
axis: axisValidation,
|
|
49
|
+
spectraLabel: spectraLabelTabValidation,
|
|
48
50
|
});
|
|
49
51
|
|
|
50
52
|
export const defaultGeneralSettingsFormValues: z.input<
|
|
@@ -56,12 +56,12 @@ function ResetWorkspaceButton(props: WorkspacesProps) {
|
|
|
56
56
|
}, [current, currentName, formValues, originalWorkspaces]);
|
|
57
57
|
|
|
58
58
|
function handleReset() {
|
|
59
|
-
const
|
|
59
|
+
const workspaceDisplayPreferences = getPreferencesByWorkspace(
|
|
60
60
|
currentName,
|
|
61
61
|
originalWorkspaces,
|
|
62
62
|
);
|
|
63
63
|
|
|
64
|
-
reset(unsafeWorkspaceToForm(
|
|
64
|
+
reset(unsafeWorkspaceToForm(workspaceDisplayPreferences));
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
return (
|
|
@@ -123,9 +123,9 @@ function IntegralPanelInner(props: IntegralPanelInnerProps) {
|
|
|
123
123
|
total={total}
|
|
124
124
|
counter={filteredData?.length}
|
|
125
125
|
onDelete={handleDeleteAll}
|
|
126
|
-
|
|
126
|
+
deleteTooltip="Delete All Integrals"
|
|
127
127
|
onFilter={handleOnFilter}
|
|
128
|
-
|
|
128
|
+
filterTooltip={
|
|
129
129
|
filterIsActive ? 'Show all integrals' : 'Hide integrals out of view'
|
|
130
130
|
}
|
|
131
131
|
onSettingClick={settingsPanelHandler}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Button, Classes } from '@blueprintjs/core';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
2
|
import { useFormContext, useWatch } from 'react-hook-form';
|
|
4
3
|
import { FaPlus, FaRegTrashAlt } from 'react-icons/fa';
|
|
5
4
|
|
|
@@ -139,7 +138,7 @@ function FiltersPanelGroupHeader({ index }: { index: number }) {
|
|
|
139
138
|
|
|
140
139
|
function handleSelectFilter(value: any, index: number) {
|
|
141
140
|
const clonedFilters = filters.slice();
|
|
142
|
-
clonedFilters
|
|
141
|
+
clonedFilters[index] = value;
|
|
143
142
|
setValue('filters', clonedFilters);
|
|
144
143
|
}
|
|
145
144
|
|
|
@@ -214,18 +213,6 @@ function FiltersPanelGroupHeader({ index }: { index: number }) {
|
|
|
214
213
|
);
|
|
215
214
|
}
|
|
216
215
|
|
|
217
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
218
|
-
function FieldInfo(props: { children: ReactNode; description: string }) {
|
|
219
|
-
return (
|
|
220
|
-
<div style={{ display: 'flex', flexDirection: 'column' }}>
|
|
221
|
-
{props.children}
|
|
222
|
-
<span style={{ fontSize: '11px', color: 'gray' }}>
|
|
223
|
-
{props.description}
|
|
224
|
-
</span>
|
|
225
|
-
</div>
|
|
226
|
-
);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
216
|
function LevelLabel({ field, children }: any) {
|
|
230
217
|
const { name, level } = field;
|
|
231
218
|
|
|
@@ -2,18 +2,20 @@ import type { Info1D, Peak1D, Peaks } from '@zakodium/nmr-types';
|
|
|
2
2
|
import type { PeaksViewState, Spectrum1D } from '@zakodium/nmrium-core';
|
|
3
3
|
import { SvgNmrFt, SvgNmrPeaks, SvgNmrPeaksTopLabels } from 'cheminfo-font';
|
|
4
4
|
import { memo, useCallback, useMemo, useRef, useState } from 'react';
|
|
5
|
-
import { FaThinkPeaks } from 'react-icons/fa';
|
|
5
|
+
import { FaCopy, FaThinkPeaks } from 'react-icons/fa';
|
|
6
6
|
|
|
7
7
|
import isInRange from '../../../data/utilities/isInRange.js';
|
|
8
|
+
import { ClipboardFallbackModal } from '../../../utils/clipboard/clipboardComponents.tsx';
|
|
9
|
+
import { useClipboard } from '../../../utils/clipboard/clipboardHooks.ts';
|
|
8
10
|
import { useChartData } from '../../context/ChartContext.js';
|
|
9
11
|
import { useDispatch } from '../../context/DispatchContext.js';
|
|
10
12
|
import { usePreferences } from '../../context/PreferencesContext.js';
|
|
11
13
|
import { useToaster } from '../../context/ToasterContext.js';
|
|
12
14
|
import { useAlert } from '../../elements/Alert.js';
|
|
13
15
|
import { useActiveSpectrumPeaksViewState } from '../../hooks/useActiveSpectrumPeaksViewState.js';
|
|
14
|
-
import useCheckExperimentalFeature from '../../hooks/useCheckExperimentalFeature.js';
|
|
15
16
|
import { useFormatNumberByNucleus } from '../../hooks/useFormatNumberByNucleus.js';
|
|
16
17
|
import useSpectrum from '../../hooks/useSpectrum.js';
|
|
18
|
+
import { EditPeakShapeModal } from '../../modal/EditPeakShapeModal.tsx';
|
|
17
19
|
import { booleanToString } from '../../utility/booleanToString.js';
|
|
18
20
|
import type { FilterType } from '../../utility/filterType.js';
|
|
19
21
|
import { TablePanel } from '../extra/BasicPanelStyle.js';
|
|
@@ -23,7 +25,8 @@ import DefaultPanelHeader from '../header/DefaultPanelHeader.js';
|
|
|
23
25
|
import PreferencesHeader from '../header/PreferencesHeader.js';
|
|
24
26
|
|
|
25
27
|
import PeaksPreferences from './PeaksPreferences.js';
|
|
26
|
-
import PeaksTable from './PeaksTable.js';
|
|
28
|
+
import PeaksTable, { usePeaksTableColumns } from './PeaksTable.js';
|
|
29
|
+
import { exportPeaksToTSV } from './peaksToTSV.ts';
|
|
27
30
|
|
|
28
31
|
interface PeaksPanelInnerProps {
|
|
29
32
|
peaks: Peaks;
|
|
@@ -47,10 +50,11 @@ function PeaksPanelInner(props: PeaksPanelInnerProps) {
|
|
|
47
50
|
const dispatch = useDispatch();
|
|
48
51
|
const alert = useAlert();
|
|
49
52
|
const toaster = useToaster();
|
|
50
|
-
const isExperimental = useCheckExperimentalFeature();
|
|
51
53
|
|
|
52
54
|
const settingRef = useRef<SettingsRef | null>(null);
|
|
53
|
-
|
|
55
|
+
const { peak, tableColumns, setEditedPeak } = usePeaksTableColumns(activeTab);
|
|
56
|
+
const { rawWriteWithType, shouldFallback, cleanShouldFallback, text } =
|
|
57
|
+
useClipboard();
|
|
54
58
|
const yesHandler = useCallback(() => {
|
|
55
59
|
dispatch({ type: 'DELETE_PEAK', payload: {} });
|
|
56
60
|
}, [dispatch]);
|
|
@@ -107,11 +111,11 @@ function PeaksPanelInner(props: PeaksPanelInnerProps) {
|
|
|
107
111
|
const filterPeaks = peaks.values.filter((peak) =>
|
|
108
112
|
isInRange(peak.x, { from, to }),
|
|
109
113
|
);
|
|
110
|
-
if (filterPeaks.length <=
|
|
114
|
+
if (filterPeaks.length <= 15) {
|
|
111
115
|
dispatch({ type: 'OPTIMIZE_PEAKS', payload: { peaks: filterPeaks } });
|
|
112
116
|
} else {
|
|
113
117
|
toaster.show({
|
|
114
|
-
message: 'optimization can be done on no more than
|
|
118
|
+
message: 'optimization can be done on no more than 15 peaks',
|
|
115
119
|
intent: 'danger',
|
|
116
120
|
});
|
|
117
121
|
}
|
|
@@ -128,7 +132,36 @@ function PeaksPanelInner(props: PeaksPanelInnerProps) {
|
|
|
128
132
|
const { showPeaks, displayingMode, showPeaksShapes, showPeaksSum } =
|
|
129
133
|
peaksViewState;
|
|
130
134
|
|
|
135
|
+
function handleExportPeaksToTSV(): void {
|
|
136
|
+
const tsv = exportPeaksToTSV(filteredPeaks, tableColumns);
|
|
137
|
+
void rawWriteWithType(tsv, 'text/plain').then(() =>
|
|
138
|
+
toaster.show({
|
|
139
|
+
message: 'Peaks copied to clipboard',
|
|
140
|
+
intent: 'success',
|
|
141
|
+
}),
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
|
|
131
145
|
const leftButtons: ToolbarItemProps[] = [
|
|
146
|
+
{
|
|
147
|
+
disabled,
|
|
148
|
+
icon: <SvgNmrPeaks />,
|
|
149
|
+
tooltip: `${booleanToString(!showPeaksShapes)} peaks shapes`,
|
|
150
|
+
onClick: () => toggleViewProperty('showPeaksShapes'),
|
|
151
|
+
active: showPeaksShapes,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
disabled,
|
|
155
|
+
icon: <SvgNmrFt />,
|
|
156
|
+
tooltip: `${booleanToString(!showPeaksSum)} peaks sum`,
|
|
157
|
+
onClick: () => toggleViewProperty('showPeaksSum'),
|
|
158
|
+
active: showPeaksSum,
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
icon: <FaThinkPeaks />,
|
|
162
|
+
tooltip: 'Optimize peaks',
|
|
163
|
+
onClick: optimizePeaksHandler,
|
|
164
|
+
},
|
|
132
165
|
{
|
|
133
166
|
disabled,
|
|
134
167
|
icon: <SvgNmrPeaks />,
|
|
@@ -144,61 +177,60 @@ function PeaksPanelInner(props: PeaksPanelInnerProps) {
|
|
|
144
177
|
onClick: toggleDisplayingMode,
|
|
145
178
|
active: displayingMode === 'spread',
|
|
146
179
|
},
|
|
180
|
+
{
|
|
181
|
+
disabled,
|
|
182
|
+
icon: <FaCopy />,
|
|
183
|
+
tooltip: `Copy as TSV`,
|
|
184
|
+
onClick: handleExportPeaksToTSV,
|
|
185
|
+
},
|
|
147
186
|
];
|
|
148
187
|
|
|
149
|
-
if (isExperimental) {
|
|
150
|
-
leftButtons.unshift(
|
|
151
|
-
{
|
|
152
|
-
disabled,
|
|
153
|
-
icon: <SvgNmrPeaks />,
|
|
154
|
-
tooltip: `${booleanToString(!showPeaksShapes)} peaks shapes`,
|
|
155
|
-
onClick: () => toggleViewProperty('showPeaksShapes'),
|
|
156
|
-
active: showPeaksShapes,
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
disabled,
|
|
160
|
-
icon: <SvgNmrFt />,
|
|
161
|
-
tooltip: `${booleanToString(!showPeaksSum)} peaks sum`,
|
|
162
|
-
onClick: () => toggleViewProperty('showPeaksSum'),
|
|
163
|
-
active: showPeaksSum,
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
icon: <FaThinkPeaks />,
|
|
167
|
-
tooltip: 'Optimize peaks',
|
|
168
|
-
onClick: optimizePeaksHandler,
|
|
169
|
-
},
|
|
170
|
-
);
|
|
171
|
-
}
|
|
172
188
|
return (
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
189
|
+
<>
|
|
190
|
+
<ClipboardFallbackModal
|
|
191
|
+
mode={shouldFallback}
|
|
192
|
+
onDismiss={cleanShouldFallback}
|
|
193
|
+
text={text}
|
|
194
|
+
label="Peaks"
|
|
195
|
+
/>
|
|
196
|
+
<EditPeakShapeModal
|
|
197
|
+
peak={peak}
|
|
198
|
+
onCloseDialog={() => setEditedPeak(undefined)}
|
|
199
|
+
/>
|
|
200
|
+
<TablePanel isFlipped={isFlipped}>
|
|
201
|
+
{!isFlipped && (
|
|
202
|
+
<DefaultPanelHeader
|
|
203
|
+
total={total}
|
|
204
|
+
counter={filteredPeaks.length}
|
|
205
|
+
onDelete={handleDeleteAll}
|
|
206
|
+
deleteTooltip="Delete All Peaks"
|
|
207
|
+
onFilter={handleOnFilter}
|
|
208
|
+
filterTooltip={
|
|
209
|
+
filterIsActive ? 'Show all peaks' : 'Hide peaks out of view'
|
|
210
|
+
}
|
|
211
|
+
onSettingClick={settingsPanelHandler}
|
|
212
|
+
leftButtons={leftButtons}
|
|
213
|
+
/>
|
|
214
|
+
)}
|
|
215
|
+
{isFlipped && (
|
|
216
|
+
<PreferencesHeader
|
|
217
|
+
onSave={saveSettingHandler}
|
|
218
|
+
onClose={settingsPanelHandler}
|
|
219
|
+
/>
|
|
199
220
|
)}
|
|
200
|
-
|
|
201
|
-
|
|
221
|
+
<div className="inner-container">
|
|
222
|
+
{!isFlipped ? (
|
|
223
|
+
<PeaksTable
|
|
224
|
+
data={filteredPeaks}
|
|
225
|
+
info={info}
|
|
226
|
+
tableColumns={tableColumns}
|
|
227
|
+
/>
|
|
228
|
+
) : (
|
|
229
|
+
<PeaksPreferences ref={settingRef} />
|
|
230
|
+
)}
|
|
231
|
+
</div>
|
|
232
|
+
</TablePanel>
|
|
233
|
+
</>
|
|
202
234
|
);
|
|
203
235
|
}
|
|
204
236
|
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { forwardRef, memo, useCallback, useMemo } from 'react';
|
|
2
|
-
import { useForm } from 'react-hook-form';
|
|
2
|
+
import { useForm, useWatch } from 'react-hook-form';
|
|
3
3
|
|
|
4
4
|
import { usePreferences } from '../../context/PreferencesContext.js';
|
|
5
|
+
import { fieldLabelStyle } from '../../elements/FormatField.tsx';
|
|
6
|
+
import { GroupPane } from '../../elements/GroupPane.tsx';
|
|
7
|
+
import Label from '../../elements/Label.tsx';
|
|
8
|
+
import { NumberInput2Controller } from '../../elements/NumberInput2Controller.tsx';
|
|
9
|
+
import { Select2Controller } from '../../elements/Select2Controller.tsx';
|
|
5
10
|
import useNucleus from '../../hooks/useNucleus.js';
|
|
6
11
|
import { usePanelPreferencesByNuclei } from '../../hooks/usePanelPreferences.js';
|
|
12
|
+
import { PEAKS_SHAPES } from '../../modal/EditPeakShapeModal.tsx';
|
|
7
13
|
import { getUniqueNuclei } from '../../utility/getUniqueNuclei.js';
|
|
8
14
|
import type { NucleusPreferenceField } from '../extra/preferences/NucleusPreferences.js';
|
|
9
15
|
import { NucleusPreferences } from '../extra/preferences/NucleusPreferences.js';
|
|
@@ -101,17 +107,75 @@ export default memo(
|
|
|
101
107
|
});
|
|
102
108
|
|
|
103
109
|
useSettingImperativeHandle(ref, handleSubmit, saveHandler);
|
|
110
|
+
const currentPreferences = useWatch({ control, name: 'nuclei' });
|
|
104
111
|
|
|
105
112
|
return (
|
|
106
113
|
<PreferencesContainer>
|
|
107
|
-
{nuclei?.map((n) =>
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
{nuclei?.map((n) => {
|
|
115
|
+
const kind = currentPreferences?.[n].defaultPeakShape?.kind;
|
|
116
|
+
return (
|
|
117
|
+
<NucleusPreferences
|
|
118
|
+
control={control}
|
|
119
|
+
key={n}
|
|
120
|
+
nucleus={n}
|
|
121
|
+
fields={formatFields}
|
|
122
|
+
renderBottom={() => (
|
|
123
|
+
<GroupPane
|
|
124
|
+
text="Default peak shape"
|
|
125
|
+
style={{ header: { color: '#005d9e' } }}
|
|
126
|
+
>
|
|
127
|
+
<Label title="Kind:" style={fieldLabelStyle}>
|
|
128
|
+
<Select2Controller
|
|
129
|
+
items={PEAKS_SHAPES}
|
|
130
|
+
control={control}
|
|
131
|
+
name={`nuclei.${n}.defaultPeakShape.kind`}
|
|
132
|
+
/>
|
|
133
|
+
</Label>
|
|
134
|
+
|
|
135
|
+
<Label title="FWHM:" style={fieldLabelStyle}>
|
|
136
|
+
<NumberInput2Controller
|
|
137
|
+
min={0}
|
|
138
|
+
control={control}
|
|
139
|
+
name={`nuclei.${n}.defaultPeakShape.fwhm`}
|
|
140
|
+
controllerProps={{
|
|
141
|
+
rules: { required: true },
|
|
142
|
+
defaultValue: 1,
|
|
143
|
+
}}
|
|
144
|
+
/>
|
|
145
|
+
</Label>
|
|
146
|
+
|
|
147
|
+
{kind === 'pseudoVoigt' && (
|
|
148
|
+
<Label title="Mu:" style={fieldLabelStyle}>
|
|
149
|
+
<NumberInput2Controller
|
|
150
|
+
min={0}
|
|
151
|
+
control={control}
|
|
152
|
+
name={`nuclei.${n}.defaultPeakShape.mu`}
|
|
153
|
+
controllerProps={{
|
|
154
|
+
rules: { required: true },
|
|
155
|
+
defaultValue: 0.5,
|
|
156
|
+
}}
|
|
157
|
+
/>
|
|
158
|
+
</Label>
|
|
159
|
+
)}
|
|
160
|
+
{kind === 'generalizedLorentzian' && (
|
|
161
|
+
<Label title="Gamma:" style={fieldLabelStyle}>
|
|
162
|
+
<NumberInput2Controller
|
|
163
|
+
min={-1}
|
|
164
|
+
max={2}
|
|
165
|
+
control={control}
|
|
166
|
+
name={`nuclei.${n}.defaultPeakShape.gamma`}
|
|
167
|
+
controllerProps={{
|
|
168
|
+
rules: { required: true },
|
|
169
|
+
defaultValue: 0.5,
|
|
170
|
+
}}
|
|
171
|
+
/>
|
|
172
|
+
</Label>
|
|
173
|
+
)}
|
|
174
|
+
</GroupPane>
|
|
175
|
+
)}
|
|
176
|
+
/>
|
|
177
|
+
);
|
|
178
|
+
})}
|
|
115
179
|
</PreferencesContainer>
|
|
116
180
|
);
|
|
117
181
|
}),
|