nmrium 2.0.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 +29 -17
- 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/FloatPublicationString.js +39 -27
- package/lib/component/1d/FloatPublicationString.js.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 +2 -0
- package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -0
- package/lib/component/1d/HorizontalAxis1D.js +30 -0
- package/lib/component/1d/HorizontalAxis1D.js.map +1 -0
- package/lib/component/1d/Line.d.ts +1 -1
- package/lib/component/1d/Line.d.ts.map +1 -1
- package/lib/component/1d/Line.js +1 -1
- package/lib/component/1d/Line.js.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 +4 -11
- 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/SVGContent1D.js +2 -3
- package/lib/component/1d/SVGContent1D.js.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/Viewer1D.js +2 -1
- package/lib/component/1d/Viewer1D.js.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.d.ts +2 -0
- package/lib/component/1d/baseline/BaselinePreview.d.ts.map +1 -0
- package/lib/component/1d/baseline/BaselinePreview.js +146 -0
- package/lib/component/1d/baseline/BaselinePreview.js.map +1 -0
- package/lib/component/1d/baseline/getMedianWindow.d.ts +3 -0
- package/lib/component/1d/baseline/getMedianWindow.d.ts.map +1 -0
- package/lib/component/1d/baseline/getMedianWindow.js +5 -0
- package/lib/component/1d/baseline/getMedianWindow.js.map +1 -0
- package/lib/component/1d/baseline/getMedianY.d.ts +3 -0
- package/lib/component/1d/baseline/getMedianY.d.ts.map +1 -0
- package/lib/component/1d/baseline/getMedianY.js +13 -0
- package/lib/component/1d/baseline/getMedianY.js.map +1 -0
- 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/DatabaseElements.js +4 -4
- package/lib/component/1d/database/DatabaseElements.js.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/DatabaseSpectrum.js +5 -2
- package/lib/component/1d/database/DatabaseSpectrum.js.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/database/ResurrectedDatabaseRanges.js +4 -5
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js.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/IntegralsSeries.js.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/JGraphVerticalAxis.js +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js.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/MultiplicityTree.js +6 -5
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.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/PeakAnnotations.js +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js.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/PeakAnnotationsSpreadMode.js +2 -2
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.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/PeakEditionManager.js +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js.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 +3 -3
- 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/Range.js +3 -3
- package/lib/component/1d/ranges/Range.js.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/Ranges.js +2 -2
- package/lib/component/1d/ranges/Ranges.js.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/BaseLine.js +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/PeakPointer.js +2 -1
- package/lib/component/1d/tool/PeakPointer.js.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/utilities/scale.d.ts +5 -4
- package/lib/component/1d/utilities/scale.d.ts.map +1 -1
- package/lib/component/1d/utilities/scale.js +13 -6
- package/lib/component/1d/utilities/scale.js.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/FieldEdition.js.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 +11 -0
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -0
- package/lib/component/1d-2d/components/axis_unit_picker.js +26 -0
- package/lib/component/1d-2d/components/axis_unit_picker.js.map +1 -0
- 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/BrushXY.js +6 -6
- package/lib/component/1d-2d/tools/BrushXY.js.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/VerticalSliceChart.js +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js.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 +3 -3
- 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/{XAxis.d.ts → DirectAxis2D.d.ts} +4 -4
- package/lib/component/2d/DirectAxis2D.d.ts.map +1 -0
- package/lib/component/2d/DirectAxis2D.js +42 -0
- package/lib/component/2d/DirectAxis2D.js.map +1 -0
- package/lib/component/2d/FooterBanner.d.ts +1 -1
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/{YAxis.d.ts → IndirectAxis2D.d.ts} +4 -4
- package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -0
- package/lib/component/2d/IndirectAxis2D.js +52 -0
- package/lib/component/2d/IndirectAxis2D.js.map +1 -0
- package/lib/component/2d/SVGContent2D.d.ts +1 -1
- package/lib/component/2d/SVGContent2D.d.ts.map +1 -1
- package/lib/component/2d/SVGContent2D.js +3 -3
- package/lib/component/2d/SVGContent2D.js.map +1 -1
- package/lib/component/2d/SignalDeltaLine.d.ts +1 -1
- package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -1
- package/lib/component/2d/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/FidCanvas.js.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/utilities/extractSpectrumSignals.js +2 -2
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts +10 -2
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +6 -4
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/Signal.d.ts +2 -2
- package/lib/component/2d/zones/Signal.d.ts.map +1 -1
- package/lib/component/2d/zones/Signal.js +7 -9
- package/lib/component/2d/zones/Signal.js.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/SignalCrosshair.js +3 -2
- package/lib/component/2d/zones/SignalCrosshair.js.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/SignalsGuideLines.js +2 -2
- package/lib/component/2d/zones/SignalsGuideLines.js.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/Zone.js +3 -4
- package/lib/component/2d/zones/Zone.js.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/BrushTracker.js +6 -6
- package/lib/component/EventsTrackers/BrushTracker.js.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/KeysListenerTracker.js +109 -123
- package/lib/component/EventsTrackers/KeysListenerTracker.js.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/EventsTrackers/MouseTracker.js +9 -8
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/SVGTable.d.ts +4 -3
- package/lib/component/SVGTable.d.ts.map +1 -1
- package/lib/component/SVGTable.js +2 -4
- package/lib/component/SVGTable.js.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/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/DispatchContext.d.ts +2 -1
- package/lib/component/context/DispatchContext.d.ts.map +1 -1
- package/lib/component/context/DispatchContext.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts +5 -4
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js +34 -8
- package/lib/component/context/FilterSyncOptionsContext.js.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 +6 -2
- package/lib/component/context/ScaleContext.d.ts.map +1 -1
- package/lib/component/context/ScaleContext.js +5 -4
- package/lib/component/context/ScaleContext.js.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/SortSpectraContext.js +1 -1
- package/lib/component/context/SortSpectraContext.js.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/ActionsButtonsPopover.js +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js.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/Alert.js.map +1 -1
- package/lib/component/elements/Anchor.d.ts +43 -0
- package/lib/component/elements/Anchor.d.ts.map +1 -0
- package/lib/component/elements/Anchor.js +151 -0
- package/lib/component/elements/Anchor.js.map +1 -0
- package/lib/component/elements/AssignmentsCell.d.ts +1 -1
- package/lib/component/elements/AssignmentsCell.d.ts.map +1 -1
- package/lib/component/elements/Button.d.ts.map +1 -1
- package/lib/component/elements/Button.js +2 -2
- package/lib/component/elements/Button.js.map +1 -1
- 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 +3 -2
- package/lib/component/elements/ColumnWrapper.d.ts.map +1 -1
- package/lib/component/elements/ColumnWrapper.js.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/ContextMenuBluePrint.js +2 -2
- package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
- package/lib/component/elements/D3Axis.d.ts +5 -2
- package/lib/component/elements/D3Axis.d.ts.map +1 -1
- package/lib/component/elements/D3Axis.js +61 -18
- package/lib/component/elements/D3Axis.js.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/DialogManager.js.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/DraggableDialog.js.map +1 -1
- package/lib/component/elements/EditableColumn.d.ts +9 -5
- package/lib/component/elements/EditableColumn.d.ts.map +1 -1
- package/lib/component/elements/EditableColumn.js +7 -7
- package/lib/component/elements/EditableColumn.js.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/Input.d.ts +2 -2
- package/lib/component/elements/Input.d.ts.map +1 -1
- package/lib/component/elements/Input.js.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/InputRange.d.ts.map +1 -1
- package/lib/component/elements/InputRange.js.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 +2 -3
- 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/MoleculeSelection.js.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/NumberInput2.d.ts +2 -1
- package/lib/component/elements/NumberInput2.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2Controller.d.ts +2 -3
- package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
- package/lib/component/elements/NumberInputField.d.ts +9 -0
- package/lib/component/elements/NumberInputField.d.ts.map +1 -0
- package/lib/component/elements/NumberInputField.js +8 -0
- package/lib/component/elements/NumberInputField.js.map +1 -0
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts +6 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js +2 -2
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.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/ReactTable/Elements/ReactTableRow.d.ts +5 -5
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +5 -5
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.d.ts +15 -9
- package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.js +8 -4
- package/lib/component/elements/ReactTable/ReactTable.js.map +1 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts +2 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +1 -1
- package/lib/component/elements/ReadOnly.d.ts +3 -3
- package/lib/component/elements/ReadOnly.d.ts.map +1 -1
- package/lib/component/elements/ReadOnly.js.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 +2 -2
- 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 +3 -3
- 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/TabTitle.js.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/DropDownButton.js.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/ExportContent.js +13 -27
- package/lib/component/elements/export/ExportContent.js.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/ExportOptionsModal.js.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/units.d.ts +1 -1
- package/lib/component/elements/export/units.d.ts.map +1 -1
- package/lib/component/elements/export/units.js.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
- package/lib/component/elements/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 +3 -2
- 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/Header.js +2 -2
- package/lib/component/header/Header.js.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/SimpleBaseLineCorrectionOptionsPanel.js +43 -24
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.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 +59 -19
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +6 -4
- package/lib/component/highlight/index.js.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/useCombinedRefs.d.ts.map +1 -1
- package/lib/component/hooks/useCombinedRefs.js +1 -0
- package/lib/component/hooks/useCombinedRefs.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/useFilter.d.ts.map +1 -1
- package/lib/component/hooks/useFilter.js.map +1 -1
- package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.js +3 -3
- package/lib/component/hooks/useSaveSettings.js.map +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/useTableSortBy.d.ts +5 -4
- package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
- package/lib/component/hooks/useTableSortBy.js +3 -3
- package/lib/component/hooks/useTableSortBy.js.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.js.map +1 -1
- package/lib/component/hooks/useWorkspaceAction.js +4 -4
- package/lib/component/hooks/use_axis_unit.d.ts +24 -0
- package/lib/component/hooks/use_axis_unit.d.ts.map +1 -0
- package/lib/component/hooks/use_axis_unit.js +255 -0
- package/lib/component/hooks/use_axis_unit.js.map +1 -0
- package/lib/component/hooks/use_gridlines_config.d.ts +3 -0
- package/lib/component/hooks/use_gridlines_config.d.ts.map +1 -0
- package/lib/component/hooks/use_gridlines_config.js +15 -0
- package/lib/component/hooks/use_gridlines_config.js.map +1 -0
- package/lib/component/hooks/use_ticks_config.d.ts +5 -0
- package/lib/component/hooks/use_ticks_config.d.ts.map +1 -0
- package/lib/component/hooks/use_ticks_config.js +13 -0
- package/lib/component/hooks/use_ticks_config.js.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts +3 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.js +12 -0
- package/lib/component/hooks/use_visible_spectra_1d.js.map +1 -0
- 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/loader/useLoadFiles.d.ts +2 -1
- package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
- package/lib/component/loader/useLoadFiles.js +15 -10
- package/lib/component/loader/useLoadFiles.js.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/InnerNMRium.js +3 -3
- package/lib/component/main/InnerNMRium.js.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/NMRiumRefAPI.d.ts +2 -0
- package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
- package/lib/component/main/NMRiumRefAPI.js +1 -0
- package/lib/component/main/NMRiumRefAPI.js.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts +2 -1
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +11 -4
- package/lib/component/main/NMRiumStateProvider.js.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 +3 -5
- package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.js +58 -67
- 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/PublicationStringModal.js +4 -0
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/SaveAsModal.d.ts +1 -3
- package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
- package/lib/component/modal/SaveAsModal.js +1 -1
- package/lib/component/modal/SaveAsModal.js.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/changeSum/SelectMolecule.js.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 +3 -2
- 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/SignalsContent.js.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/SignalJCouplingsTable.js.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/components/signal-tabs/SignalPeaksTable.js.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/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts +4 -1
- package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts.map +1 -1
- package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.js.map +1 -1
- 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 +8 -8
- package/lib/component/modal/setting/WorkspaceItem.js.map +1 -1
- package/lib/component/modal/setting/general_settings.d.ts +2 -8
- package/lib/component/modal/setting/general_settings.d.ts.map +1 -1
- package/lib/component/modal/setting/general_settings.js +5 -228
- package/lib/component/modal/setting/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +2313 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +52 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +2302 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js +29 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js.map +1 -0
- 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.js +24 -22
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +1165 -217
- 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 +6 -2
- 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 +516 -216
- 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_footer.js +2 -8
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +516 -216
- 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/general_settings_dialog_header.js +23 -45
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +70 -243
- 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/hooks/use_safe_workspace.js +2 -8
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +516 -216
- 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/auto_processing_tab.js +21 -17
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +1654 -0
- package/lib/component/modal/setting/tanstack_general_settings/{general_settings_dialog_header_actions_buttons.d.ts.map → tabs/axis_tab.d.ts.map} +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js +43 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +516 -216
- 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/database_tab.js +10 -9
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +516 -216
- 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 +516 -216
- 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 +30 -14
- 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 +516 -216
- 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/general_tab.js +2 -2
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +516 -216
- 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 +516 -216
- 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/nuclei_tab.js +10 -8
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +516 -216
- 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 +516 -216
- 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_colors_tab.js +15 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/{general_settings_dialog_header_actions_buttons.d.ts → tabs/spectra_label_tab.d.ts} +518 -218
- 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 +516 -216
- 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/title_block_tab.js +10 -10
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +516 -216
- 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 +7 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js +16 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts +16 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js +26 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts +14 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js +18 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts +36 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js +64 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +2 -55
- 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.js +2 -79
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.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/auto_processing_tab_validation.d.ts +37 -33
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js +2 -52
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts +95 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js +19 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js.map +1 -0
- 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/general_tab_validation.d.ts +18 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js +4 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_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 +137 -43
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.js +7 -4
- 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 +3 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +96 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts +3 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.js +55 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.d.ts +7 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.js +2 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.js.map +1 -0
- 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/AutomaticAssignment/AutomaticAssignmentTable.js +3 -3
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.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/IntegralsPanel/IntegralTable.js +6 -7
- package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +2 -3
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.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/MatrixGenerationPanel/MatrixGenerationPanelHeader.js +2 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.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/MoleculeHeader.js +5 -5
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.js.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/MoleculePanel.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts +2 -2
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js +9 -4
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +24 -20
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.d.ts +3 -3
- package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.js +3 -3
- 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/Panels.js.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/PanelsBar.js.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 +2 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +24 -6
- 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 +13 -11
- 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 +8 -1
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js +6 -5
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.d.ts +2 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.js +2 -3
- package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.d.ts +4 -3
- package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.js +2 -3
- package/lib/component/panels/RangesPanel/RangesTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +5 -5
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +8 -3
- package/lib/component/panels/RangesPanel/RangesTableRow.js.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 -2
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js +4 -4
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js.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/SignalAssignmentColumn.js +8 -7
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.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 -2
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +7 -5
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.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/RangesPanel/hooks/useMapRanges.d.ts +11 -4
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.js +2 -4
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.js.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 +3 -2
- 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/RenderAsHTML.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js +5 -9
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.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 +14 -12
- 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 +9 -4
- 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/AdditionalColumnField.js.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/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +5 -8
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +18 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +9 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.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/SetMolecularFormulaModal.js +2 -2
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.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 +4 -8
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +2 -2
- 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/SignalAssignmentsColumn.js +2 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.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 +2 -2
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js +6 -8
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js.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/ZoneAssignmentLabelColumn.js +4 -3
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.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/ZoneAssignmentsColumn.js +2 -0
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.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/ZonesPreferences.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js +2 -3
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +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 +5 -4
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js +2 -2
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js.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/DatabasePanel.js +56 -56
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts +2 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js +2 -3
- package/lib/component/panels/databasePanel/DatabasePreferences.js.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 +2 -2
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js +22 -3
- package/lib/component/panels/databasePanel/DatabaseTable.js.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/extra/utilities/MultiplicityUtilities.d.ts +2 -2
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js +6 -4
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -1
- package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts +3 -3
- package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/settingImperativeHandle.js.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/BaseLineCorrectionOptionsPanel.js +61 -19
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.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/ExclusionZonesOptionsPanel.js.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/FiltersSectionsPanel.js +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.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/PhaseCorrectionOptionsPanel.js.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/PhaseCorrectionTwoDimensionsOptionsPanel.js.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/ShiftOptionsPanel.js.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/BaseApodizationOptions.js.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/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.d.ts +49 -0
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.js +2 -0
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.js.map +1 -0
- 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 +129 -48
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +106 -41
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js +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 +3 -5
- package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
- 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/AnalysisChart.js.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 +26 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts +3 -3
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js +2 -2
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts +4 -3
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js +2 -2
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js.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/MultipleAnalysisCodeEditor.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +5 -9
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts +2 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js +2 -3
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.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/PredictionPreferences.d.ts +2 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.js +2 -3
- package/lib/component/panels/predictionPanel/PredictionPreferences.js.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/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +13 -8
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts +8 -11
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +87 -51
- package/lib/component/reducer/actions/DatabaseActions.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/FiltersActions.d.ts +4 -3
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +66 -68
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +8 -8
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +21 -2
- package/lib/component/reducer/actions/LoadAction.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 +14 -7
- 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 +40 -33
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +3 -3
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +10 -4
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +5 -4
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +51 -32
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts +2 -14
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +9 -37
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/unit_actions.d.ts +28 -0
- package/lib/component/reducer/actions/unit_actions.d.ts.map +1 -0
- package/lib/component/reducer/actions/unit_actions.js +58 -0
- package/lib/component/reducer/actions/unit_actions.js.map +1 -0
- package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js +2 -2
- package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js +1 -2
- package/lib/component/reducer/helper/ZoomHistoryManager.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/helper/removeSpectrumRelatedObjectsById.js +1 -1
- package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js.map +1 -1
- package/lib/component/reducer/preferences/actions/addWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/actions/analyzeSpectra.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setWorkspace.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 +7 -1
- 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/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts +3 -2
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js +3 -2
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.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/Evaluate.d.ts +1 -1
- package/lib/component/utility/Evaluate.d.ts.map +1 -1
- package/lib/component/utility/Evaluate.js.map +1 -1
- package/lib/component/utility/LocalStorage.d.ts +3 -3
- package/lib/component/utility/LocalStorage.d.ts.map +1 -1
- package/lib/component/utility/LocalStorage.js.map +1 -1
- package/lib/component/utility/convertPathArrayToString.d.ts +1 -1
- package/lib/component/utility/convertPathArrayToString.d.ts.map +1 -1
- package/lib/component/utility/convertPathArrayToString.js.map +1 -1
- package/lib/component/utility/export.d.ts +3 -3
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +5 -6
- package/lib/component/utility/export.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/merge_replace_array.d.ts +8 -0
- package/lib/component/utility/merge_replace_array.d.ts.map +1 -0
- package/lib/component/utility/merge_replace_array.js +14 -0
- package/lib/component/utility/merge_replace_array.js.map +1 -0
- package/lib/component/utility/nucleusToString.d.ts +1 -1
- package/lib/component/utility/nucleusToString.d.ts.map +1 -1
- package/lib/component/utility/nucleusToString.js.map +1 -1
- 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/utility/replaceNucleiObjectKeys.js.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.d.ts +5 -0
- package/lib/component/utility/stackOverlappingLabels.d.ts.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.js +18 -6
- package/lib/component/utility/stackOverlappingLabels.js.map +1 -1
- package/lib/component/workspaces/exercise.d.ts.map +1 -1
- package/lib/component/workspaces/exercise.js +8 -0
- package/lib/component/workspaces/exercise.js.map +1 -1
- package/lib/component/workspaces/index.d.ts +7 -7
- package/lib/component/workspaces/index.d.ts.map +1 -1
- package/lib/component/workspaces/index.js.map +1 -1
- package/lib/component/workspaces/prediction.d.ts.map +1 -1
- package/lib/component/workspaces/prediction.js +28 -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 +11 -0
- package/lib/component/workspaces/simulation.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts +3 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +61 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/PredictionManager.d.ts.map +1 -1
- package/lib/data/PredictionManager.js +9 -2
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/SpectraManager.d.ts +1 -2
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +7 -43
- 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/get1DColor.d.ts +2 -2
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.js +6 -7
- package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts +0 -5
- package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DDataXY.js +0 -5
- package/lib/data/data1d/Spectrum1D/get1DDataXY.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts +4 -9
- package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js +3 -9
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts +12 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +4 -3
- 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/changeRangeRelativeValue.d.ts +2 -2
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js +2 -2
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +7 -5
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts +10 -4
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +4 -2
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
- package/lib/data/data1d/database.d.ts +5 -5
- package/lib/data/data1d/database.js +2 -2
- package/lib/data/data1d/database.js.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts +7 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +3 -3
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +4 -3
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +8 -4
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts +2 -2
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js +11 -10
- package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.js +2 -2
- package/lib/data/data2d/Spectrum2D/getMissingProjection.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts +6 -4
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js.map +1 -1
- package/lib/data/molecules/Molecule.js +2 -2
- package/lib/data/molecules/Molecule.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/data/parseMeta/linkMetaWithSpectra.d.ts +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js +2 -2
- package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts +0 -8
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/checkModifierKeyActivated.d.ts +1 -1
- package/lib/data/utilities/checkModifierKeyActivated.d.ts.map +1 -1
- package/lib/data/utilities/checkModifierKeyActivated.js.map +1 -1
- package/lib/data/utilities/isNumber.d.ts +1 -1
- package/lib/data/utilities/isNumber.d.ts.map +1 -1
- package/lib/data/utilities/isNumber.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 +53 -53
- package/src/component/1d/BrushTracker1D.tsx +30 -20
- package/src/component/1d/FloatPublicationString.tsx +52 -34
- package/src/component/1d/FooterBanner.tsx +19 -3
- package/src/component/1d/HorizontalAxis1D.tsx +69 -0
- package/src/component/1d/Line.tsx +1 -1
- package/src/component/1d/LinesSeries.tsx +4 -17
- package/src/component/1d/SVGContent1D.tsx +2 -4
- package/src/component/1d/SpectraLegends.tsx +7 -2
- package/src/component/1d/SpectrumLabel.tsx +59 -0
- package/src/component/1d/Viewer1D.tsx +2 -0
- package/src/component/1d/baseline/BaselinePreview.tsx +242 -0
- package/src/component/1d/baseline/getMedianWindow.ts +6 -0
- package/src/component/1d/baseline/getMedianY.ts +15 -0
- package/src/component/1d/database/DatabaseElements.tsx +9 -4
- package/src/component/1d/database/DatabaseSpectrum.tsx +8 -2
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +8 -2
- package/src/component/1d/integral/IntegralsSeries.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +1 -1
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +6 -5
- package/src/component/1d/peaks/PeakAnnotations.tsx +1 -1
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +3 -0
- package/src/component/1d/peaks/PeakEditionManager.tsx +2 -5
- package/src/component/1d/peaks/usePeakShapesPath.ts +5 -3
- package/src/component/1d/ranges/Range.tsx +3 -3
- package/src/component/1d/ranges/Ranges.tsx +2 -2
- package/src/component/1d/tool/BaseLine.tsx +1 -1
- package/src/component/1d/tool/PeakPointer.tsx +3 -1
- package/src/component/1d/utilities/scale.ts +20 -13
- package/src/component/1d-2d/FieldEdition.tsx +2 -2
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +2 -4
- package/src/component/1d-2d/components/axis_unit_picker.tsx +53 -0
- package/src/component/1d-2d/tools/BrushXY.tsx +6 -6
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +2 -2
- package/src/component/2d/DirectAxis2D.tsx +104 -0
- package/src/component/2d/IndirectAxis2D.tsx +139 -0
- package/src/component/2d/SVGContent2D.tsx +4 -4
- package/src/component/2d/fid/FidCanvas.tsx +2 -2
- package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -2
- package/src/component/2d/utilities/scale.ts +26 -6
- package/src/component/2d/zones/Signal.tsx +8 -12
- package/src/component/2d/zones/SignalCrosshair.tsx +3 -2
- package/src/component/2d/zones/SignalsGuideLines.tsx +2 -2
- package/src/component/2d/zones/Zone.tsx +4 -4
- package/src/component/EventsTrackers/BrushTracker.tsx +15 -7
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +115 -128
- package/src/component/EventsTrackers/MouseTracker.tsx +10 -14
- package/src/component/SVGTable.tsx +5 -5
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/DispatchContext.tsx +3 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +62 -20
- package/src/component/context/ScaleContext.tsx +17 -15
- package/src/component/context/SortSpectraContext.tsx +1 -1
- package/src/component/elements/ActionsButtonsPopover.tsx +3 -4
- package/src/component/elements/Alert.tsx +2 -2
- package/src/component/elements/Anchor.tsx +361 -0
- package/src/component/elements/Button.tsx +4 -3
- package/src/component/elements/CloseButton.tsx +2 -2
- package/src/component/elements/ColorDot.tsx +38 -0
- package/src/component/elements/ColumnWrapper.tsx +3 -1
- package/src/component/elements/ContextMenuBluePrint.tsx +2 -2
- package/src/component/elements/D3Axis.tsx +118 -47
- package/src/component/elements/DialogManager.tsx +1 -1
- package/src/component/elements/DraggableDialog.tsx +3 -3
- package/src/component/elements/EditableColumn.tsx +22 -16
- package/src/component/elements/Footer.tsx +1 -0
- package/src/component/elements/Input.tsx +3 -2
- package/src/component/elements/InputRange.tsx +3 -3
- package/src/component/elements/Label.tsx +1 -1
- package/src/component/elements/MoleculeSelection.tsx +1 -1
- package/src/component/elements/NumberInput2.tsx +2 -2
- package/src/component/elements/NumberInput2Controller.tsx +1 -1
- package/src/component/elements/NumberInputField.tsx +23 -0
- package/src/component/elements/ReactTable/Elements/EmptyDataRow.tsx +8 -3
- package/src/component/elements/ReactTable/Elements/ReactTableRow.tsx +23 -11
- package/src/component/elements/ReactTable/ReactTable.tsx +44 -14
- package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +2 -2
- package/src/component/elements/ReadOnly.tsx +3 -3
- package/src/component/elements/SaveButton.tsx +2 -2
- package/src/component/elements/Sections.tsx +3 -3
- package/src/component/elements/Tab/DeleteButton.tsx +2 -2
- package/src/component/elements/TabTitle.tsx +2 -2
- package/src/component/elements/ToolbarPopoverItem.tsx +17 -10
- package/src/component/elements/dropDownButton/DropDownButton.tsx +1 -1
- package/src/component/elements/export/ExportContent.tsx +12 -32
- package/src/component/elements/export/ExportManager.tsx +2 -2
- package/src/component/elements/export/ExportOptionsModal.tsx +1 -1
- package/src/component/elements/export/units.ts +1 -1
- package/src/component/elements/export/useExportConfigurer.tsx +1 -1
- package/src/component/elements/export/utilities/exportOptionValidationSchema.ts +4 -8
- package/src/component/elements/resizer/SVGResizer.tsx +3 -3
- package/src/component/elements/{ToolBarButton.tsx → toolbar_button.tsx} +1 -1
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +32 -10
- package/src/component/header/Header.tsx +2 -2
- package/src/component/header/RangesPickingOptionPanel.tsx +2 -2
- package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +144 -84
- package/src/component/highlight/index.tsx +57 -38
- package/src/component/hooks/use2DReducer.tsx +8 -5
- 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/useCombinedRefs.ts +1 -0
- package/src/component/hooks/useExport.tsx +1 -1
- package/src/component/hooks/useFilter.ts +1 -2
- package/src/component/hooks/useSVGUnitConverter.ts +1 -1
- package/src/component/hooks/useSaveSettings.tsx +8 -5
- package/src/component/hooks/useSelectedSpectra.ts +25 -0
- package/src/component/hooks/useTableSortBy.tsx +12 -8
- package/src/component/hooks/useTriggerNewAssignmentLabel.ts +1 -1
- package/src/component/hooks/useWorkspaceAction.ts +5 -5
- package/src/component/hooks/use_axis_unit.ts +329 -0
- package/src/component/hooks/use_gridlines_config.ts +18 -0
- package/src/component/hooks/use_ticks_config.ts +15 -0
- package/src/component/hooks/use_visible_spectra_1d.ts +21 -0
- package/src/component/loader/useLoadFiles.ts +24 -18
- package/src/component/main/InnerNMRium.tsx +3 -2
- package/src/component/main/InnerNMRiumContents.tsx +2 -2
- package/src/component/main/NMRiumRefAPI.ts +4 -0
- package/src/component/main/NMRiumStateProvider.tsx +13 -3
- package/src/component/main/NMRiumViewer.tsx +3 -3
- 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 +83 -84
- package/src/component/modal/PublicationStringModal.tsx +10 -1
- package/src/component/modal/SaveAsModal.tsx +1 -1
- package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +5 -5
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +3 -3
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +4 -4
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +7 -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 +4 -4
- package/src/component/modal/metaImportation/utils/mapColumnToSelectItems.ts +1 -1
- package/src/component/modal/setting/WorkspaceItem.tsx +9 -9
- package/src/component/modal/setting/general_settings.tsx +12 -503
- package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +94 -0
- package/src/component/modal/setting/tanstack_general_settings/errors/renderer.tsx +56 -0
- package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +37 -30
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +18 -1
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +15 -20
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +41 -82
- package/src/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.ts +3 -9
- package/src/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.tsx +36 -42
- package/src/component/modal/setting/tanstack_general_settings/tabs/axis_tab.tsx +116 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +10 -33
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +41 -41
- package/src/component/modal/setting/tanstack_general_settings/tabs/general_tab.tsx +9 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.tsx +10 -50
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +15 -69
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.tsx +201 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +11 -41
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_actions.tsx +18 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.tsx +45 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.tsx +42 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_input.tsx +127 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +3 -95
- package/src/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.ts +2 -54
- package/src/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.ts +24 -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/general_tab_validation.ts +4 -0
- 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 +7 -4
- package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +173 -0
- package/src/component/modal/setting/tanstack_general_settings/workspaces/picker.tsx +91 -0
- package/src/component/modal/setting/tanstack_general_settings/workspaces/props.ts +8 -0
- package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +4 -3
- package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +2 -2
- package/src/component/panels/IntegralsPanel/IntegralTable.tsx +11 -10
- package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +63 -60
- package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +1 -14
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +6 -1
- package/src/component/panels/MoleculesPanel/MoleculeHeader.tsx +7 -6
- package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +1 -0
- package/src/component/panels/MoleculesPanel/MoleculeStructure.tsx +10 -5
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +38 -33
- package/src/component/panels/MoleculesPanel/utilities/extractFromAtom.ts +3 -3
- package/src/component/panels/Panels.tsx +2 -1
- package/src/component/panels/PanelsBar.tsx +4 -3
- package/src/component/panels/PeaksPanel/PeaksPanel.tsx +90 -58
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +98 -33
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +33 -34
- package/src/component/panels/PeaksPanel/peaksToTSV.ts +45 -0
- package/src/component/panels/RangesPanel/RangesHeader.tsx +2 -2
- package/src/component/panels/RangesPanel/RangesPanel.tsx +19 -16
- package/src/component/panels/RangesPanel/RangesPreferences.tsx +47 -46
- package/src/component/panels/RangesPanel/RangesTable.tsx +5 -5
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +19 -15
- package/src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx +4 -10
- package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +9 -9
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +8 -11
- package/src/component/panels/RangesPanel/hooks/useMapRanges.ts +16 -7
- 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 +7 -28
- package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +7 -10
- 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 +35 -30
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DHistogram.tsx +5 -0
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +22 -17
- package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +10 -2
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +5 -4
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +3 -2
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +4 -11
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +32 -27
- package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +15 -7
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +4 -8
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +2 -2
- package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +4 -7
- package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +6 -9
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +6 -5
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +5 -1
- package/src/component/panels/ZonesPanel/ZonesPanel.tsx +2 -2
- package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +57 -57
- package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +11 -12
- package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +2 -2
- package/src/component/panels/databasePanel/DatabasePanel.tsx +74 -68
- package/src/component/panels/databasePanel/DatabasePreferences.tsx +114 -113
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +5 -5
- package/src/component/panels/databasePanel/DatabaseTable.tsx +34 -3
- package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +9 -6
- package/src/component/panels/extra/utilities/settingImperativeHandle.ts +3 -3
- package/src/component/panels/filtersPanel/FilterPanel.tsx +1 -1
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +328 -81
- package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +4 -3
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +4 -6
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +3 -2
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +4 -4
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +3 -2
- package/src/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.ts +55 -0
- package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -0
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +148 -69
- 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/AnalysisChart.tsx +2 -1
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +12 -1
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +55 -12
- package/src/component/panels/multipleAnalysisPanel/base/AnalysisCell.tsx +3 -4
- package/src/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.tsx +5 -10
- package/src/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.tsx +1 -1
- package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +10 -9
- package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +138 -109
- package/src/component/panels/predictionPanel/PredictionPreferences.tsx +34 -34
- package/src/component/reducer/Reducer.ts +22 -10
- package/src/component/reducer/actions/CorrelationsActions.ts +5 -5
- package/src/component/reducer/actions/DatabaseActions.ts +131 -81
- package/src/component/reducer/actions/DomainActions.ts +12 -7
- package/src/component/reducer/actions/FiltersActions.ts +85 -96
- package/src/component/reducer/actions/InsetActions.ts +8 -5
- package/src/component/reducer/actions/IntegralsActions.ts +1 -1
- package/src/component/reducer/actions/LoadAction.ts +25 -1
- package/src/component/reducer/actions/MoleculeActions.ts +20 -11
- package/src/component/reducer/actions/PeaksActions.ts +72 -43
- package/src/component/reducer/actions/PreferencesActions.ts +1 -1
- package/src/component/reducer/actions/RangesActions.ts +13 -7
- package/src/component/reducer/actions/SpectraActions.ts +77 -37
- package/src/component/reducer/actions/ToolsActions.ts +10 -79
- package/src/component/reducer/actions/unit_actions.ts +138 -0
- package/src/component/reducer/helper/Zoom1DManager.ts +2 -1
- package/src/component/reducer/helper/ZoomHistoryManager.ts +1 -2
- package/src/component/reducer/helper/getActiveSpectra.ts +5 -4
- package/src/component/reducer/helper/getActiveSpectraAsObject.ts +4 -1
- package/src/component/reducer/helper/removeSpectrumRelatedObjectsById.ts +1 -1
- package/src/component/reducer/preferences/actions/addWorkspace.ts +1 -1
- package/src/component/reducer/preferences/actions/analyzeSpectra.ts +1 -1
- package/src/component/reducer/preferences/actions/setWorkspace.ts +1 -1
- package/src/component/reducer/preferences/actions/toggleSpectraLabel.ts +19 -0
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +9 -3
- package/src/component/reducer/preferences/preferencesReducer.ts +8 -1
- package/src/component/reducer/preferences/utilities/getPreferencesByWorkspace.ts +8 -8
- 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/Evaluate.ts +1 -1
- package/src/component/utility/LocalStorage.ts +6 -3
- package/src/component/utility/convertPathArrayToString.ts +1 -1
- package/src/component/utility/export.ts +13 -12
- package/src/component/utility/getValueByPath.ts +26 -0
- package/src/component/utility/merge_replace_array.ts +12 -0
- package/src/component/utility/nucleusToString.ts +1 -1
- package/src/component/utility/pathToString.ts +3 -0
- package/src/component/utility/replaceNucleiObjectKeys.ts +1 -1
- package/src/component/utility/stackOverlappingLabels.ts +27 -9
- package/src/component/workspaces/exercise.ts +8 -0
- package/src/component/workspaces/index.ts +1 -1
- package/src/component/workspaces/prediction.ts +28 -0
- package/src/component/workspaces/simulation.ts +11 -0
- package/src/component/workspaces/workspaceDefaultProperties.ts +72 -14
- package/src/data/PredictionManager.ts +29 -7
- package/src/data/SpectraManager.ts +7 -52
- package/src/data/constants/defaultPeakShape.ts +5 -0
- package/src/data/data1d/Spectrum1D/get1DColor.ts +12 -14
- package/src/data/data1d/Spectrum1D/get1DDataXY.ts +0 -7
- package/src/data/data1d/Spectrum1D/getReferenceShift.ts +5 -10
- package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +22 -6
- package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +112 -10
- package/src/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.ts +2 -2
- package/src/data/data1d/Spectrum1D/ranges/detectSignals.ts +11 -8
- package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +15 -6
- package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +4 -0
- package/src/data/data1d/database.ts +8 -8
- package/src/data/data1d/multipleSpectraAnalysis.ts +20 -7
- package/src/data/data2d/Spectrum2D/contours.ts +14 -9
- package/src/data/data2d/Spectrum2D/get2DColor.ts +13 -16
- package/src/data/data2d/Spectrum2D/getMissingProjection.ts +2 -2
- package/src/data/data2d/Spectrum2D/getSlice.ts +6 -5
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -1
- package/src/data/data2d/Spectrum2D/zones/changeZoneSignal.ts +2 -2
- package/src/data/molecules/Molecule.ts +2 -2
- package/src/data/molecules/MoleculeManager.ts +4 -3
- package/src/data/parseMeta/linkMetaWithSpectra.ts +4 -4
- package/src/data/utilities/RangeUtilities.ts +1 -9
- package/src/data/utilities/checkModifierKeyActivated.ts +1 -1
- package/src/data/utilities/isNumber.ts +1 -1
- package/src/versionInfo.ts +1 -1
- package/lib/component/1d/XAxis1D.d.ts +0 -6
- package/lib/component/1d/XAxis1D.d.ts.map +0 -1
- package/lib/component/1d/XAxis1D.js +0 -24
- package/lib/component/1d/XAxis1D.js.map +0 -1
- package/lib/component/1d/tool/BaseLineZones.d.ts +0 -3
- package/lib/component/1d/tool/BaseLineZones.d.ts.map +0 -1
- package/lib/component/1d/tool/BaseLineZones.js +0 -41
- package/lib/component/1d/tool/BaseLineZones.js.map +0 -1
- package/lib/component/2d/XAxis.d.ts.map +0 -1
- package/lib/component/2d/XAxis.js +0 -22
- package/lib/component/2d/XAxis.js.map +0 -1
- package/lib/component/2d/YAxis.d.ts.map +0 -1
- package/lib/component/2d/YAxis.js +0 -27
- package/lib/component/2d/YAxis.js.map +0 -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/modal/setting/settings-tabs/DatabasesTabContent.d.ts +0 -9
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +0 -118
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +0 -153
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js +0 -73
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +0 -89
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +0 -46
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js +0 -103
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +0 -99
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +0 -106
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +0 -52
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +0 -138
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +0 -149
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js.map +0 -1
- package/lib/component/modal/setting/settingsValidation.d.ts +0 -2
- package/lib/component/modal/setting/settingsValidation.d.ts.map +0 -1
- package/lib/component/modal/setting/settingsValidation.js +0 -70
- package/lib/component/modal/setting/settingsValidation.js.map +0 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js +0 -110
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.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
- package/lib/data/types/common/Keys.d.ts +0 -4
- package/lib/data/types/common/Keys.d.ts.map +0 -1
- package/lib/data/types/common/Keys.js +0 -2
- package/lib/data/types/common/Keys.js.map +0 -1
- package/src/component/1d/XAxis1D.tsx +0 -54
- package/src/component/1d/tool/BaseLineZones.tsx +0 -83
- package/src/component/2d/XAxis.tsx +0 -58
- package/src/component/2d/YAxis.tsx +0 -79
- package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +0 -278
- package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +0 -221
- package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +0 -252
- package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +0 -193
- package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +0 -152
- package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +0 -173
- package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +0 -224
- package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +0 -230
- package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +0 -113
- package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +0 -308
- package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +0 -181
- package/src/component/modal/setting/settingsValidation.ts +0 -92
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.tsx +0 -199
- package/src/data/types/common/Keys.ts +0 -11
|
@@ -1,526 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { yupResolver } from '@hookform/resolvers/yup';
|
|
4
|
-
import type { Workspace } from '@zakodium/nmrium-core';
|
|
5
|
-
import dlv from 'dlv';
|
|
6
|
-
import { useCallback, useEffect, useMemo, useRef } from 'react';
|
|
7
|
-
import {
|
|
8
|
-
FormProvider,
|
|
9
|
-
useForm,
|
|
10
|
-
useFormContext,
|
|
11
|
-
useWatch,
|
|
12
|
-
} from 'react-hook-form';
|
|
13
|
-
import { FaBolt, FaCogs, FaPaste, FaRegCopy, FaWrench } from 'react-icons/fa';
|
|
14
|
-
import { Button, Toolbar, useOnOff } from 'react-science/ui';
|
|
1
|
+
import { FaWrench } from 'react-icons/fa';
|
|
2
|
+
import { Toolbar, useOnOff } from 'react-science/ui';
|
|
15
3
|
|
|
16
|
-
import { ClipboardFallbackModal } from '../../../utils/clipboard/clipboardComponents.js';
|
|
17
|
-
import { useClipboard } from '../../../utils/clipboard/clipboardHooks.js';
|
|
18
|
-
import {
|
|
19
|
-
usePreferences,
|
|
20
|
-
useWorkspacesList,
|
|
21
|
-
} from '../../context/PreferencesContext.js';
|
|
22
|
-
import { useToaster } from '../../context/ToasterContext.js';
|
|
23
|
-
import ActionButtons from '../../elements/ActionButtons.js';
|
|
24
|
-
import type { LabelStyle } from '../../elements/Label.js';
|
|
25
|
-
import Label from '../../elements/Label.js';
|
|
26
|
-
import { StandardDialog } from '../../elements/StandardDialog.tsx';
|
|
27
|
-
import { StyledDialogBody } from '../../elements/StyledDialogBody.js';
|
|
28
|
-
import type { DropDownListItem } from '../../elements/dropDownButton/DropDownButton.js';
|
|
29
|
-
import DropDownButton from '../../elements/dropDownButton/DropDownButton.js';
|
|
30
|
-
import useCheckExperimentalFeature from '../../hooks/useCheckExperimentalFeature.js';
|
|
31
4
|
import { useSaveSettings } from '../../hooks/useSaveSettings.js';
|
|
32
|
-
import { useWorkspaceAction } from '../../hooks/useWorkspaceAction.js';
|
|
33
|
-
import type { WorkspaceWithSource } from '../../reducer/preferences/preferencesReducer.js';
|
|
34
|
-
import { getPreferencesByWorkspace } from '../../reducer/preferences/utilities/getPreferencesByWorkspace.js';
|
|
35
|
-
import PredefinedWorkspaces from '../../workspaces/index.js';
|
|
36
5
|
|
|
37
|
-
import WorkspaceItem from './WorkspaceItem.js';
|
|
38
|
-
import DatabasesTabContent from './settings-tabs/DatabasesTabContent.js';
|
|
39
|
-
import DisplayTabContent from './settings-tabs/DisplayTabContent.js';
|
|
40
|
-
import { ExportTabContent } from './settings-tabs/ExportTabContent.js';
|
|
41
|
-
import { ExternalAPIsTabContent } from './settings-tabs/ExternalAPIsTabContent.js';
|
|
42
|
-
import GeneralTabContent from './settings-tabs/GeneralTabContent.js';
|
|
43
|
-
import ImportationFiltersTabContent from './settings-tabs/ImportationFiltersTabContent.js';
|
|
44
|
-
import InfoBlockTabContent from './settings-tabs/InfoBlockTabContent.js';
|
|
45
|
-
import NucleiTabContent from './settings-tabs/NucleiTabContent.js';
|
|
46
|
-
import OnLoadProcessingTabContent from './settings-tabs/OnLoadProcessingTabContent.js';
|
|
47
|
-
import SpectraColorsTabContent from './settings-tabs/SpectraColorsTabContent.js';
|
|
48
|
-
import ToolsTabContent from './settings-tabs/ToolsTabContent.js';
|
|
49
|
-
import { validation } from './settingsValidation.js';
|
|
50
6
|
import { GeneralSettingsDialog } from './tanstack_general_settings/general_settings.js';
|
|
51
7
|
|
|
52
|
-
export const Section = styled.div`
|
|
53
|
-
border-bottom: 0.55px solid #f9f9f9;
|
|
54
|
-
color: #2ca8ff;
|
|
55
|
-
display: flex;
|
|
56
|
-
font-size: 13px;
|
|
57
|
-
margin-bottom: 10px;
|
|
58
|
-
padding: 6px 2px;
|
|
59
|
-
`;
|
|
60
|
-
|
|
61
|
-
const StyledTabs = styled(Tabs)`
|
|
62
|
-
height: 100%;
|
|
63
|
-
|
|
64
|
-
div[role='tablist'] {
|
|
65
|
-
gap: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
div[role='tabpanel'] {
|
|
69
|
-
max-height: 100%;
|
|
70
|
-
overflow: auto;
|
|
71
|
-
padding: 0.8rem;
|
|
72
|
-
width: 100%;
|
|
73
|
-
}
|
|
74
|
-
`;
|
|
75
|
-
|
|
76
|
-
export const settingLabelStyle: LabelStyle = {
|
|
77
|
-
container: {
|
|
78
|
-
padding: '5px',
|
|
79
|
-
borderBottom: '1px solid #f7f7f7',
|
|
80
|
-
justifyContent: 'space-between',
|
|
81
|
-
},
|
|
82
|
-
};
|
|
83
|
-
const StyledButton = styled(Button, {
|
|
84
|
-
shouldForwardProp(propName) {
|
|
85
|
-
return propName !== 'marginHorizontal';
|
|
86
|
-
},
|
|
87
|
-
})<{ marginHorizontal: number }>`
|
|
88
|
-
margin: 0 ${(props) => props.marginHorizontal}px;
|
|
89
|
-
`;
|
|
90
|
-
|
|
91
|
-
function isRestButtonDisable(
|
|
92
|
-
currentWorkspaceSetting: any,
|
|
93
|
-
workspaceName: any,
|
|
94
|
-
customWorkspaces: any,
|
|
95
|
-
) {
|
|
96
|
-
if (
|
|
97
|
-
!(workspaceName in PredefinedWorkspaces) &&
|
|
98
|
-
!(workspaceName in customWorkspaces)
|
|
99
|
-
) {
|
|
100
|
-
return true;
|
|
101
|
-
} else {
|
|
102
|
-
return (
|
|
103
|
-
JSON.stringify(currentWorkspaceSetting) ===
|
|
104
|
-
JSON.stringify(getPreferencesByWorkspace(workspaceName, customWorkspaces))
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
interface BasseGeneralModalProps {
|
|
110
|
-
onCloseDialog: () => void;
|
|
111
|
-
onSave: (values?: Partial<Workspace>) => void;
|
|
112
|
-
}
|
|
113
|
-
interface InnerGeneralSettingsModalProps extends BasseGeneralModalProps {
|
|
114
|
-
height?: number;
|
|
115
|
-
}
|
|
116
8
|
interface GeneralSettingsModalProps {
|
|
117
9
|
height?: number;
|
|
118
10
|
}
|
|
119
11
|
|
|
120
|
-
function
|
|
121
|
-
const
|
|
122
|
-
|
|
123
|
-
const [isOpenDialog, openDialog, closeDialog] = useOnOff(false);
|
|
124
|
-
const [
|
|
125
|
-
isOpenGeneralSettingsDialog,
|
|
126
|
-
openGeneralSettingsDialog,
|
|
127
|
-
closeGeneralSettingsDialog,
|
|
128
|
-
] = useOnOff(false);
|
|
12
|
+
export function GeneralSettingsToolbarItem(props: GeneralSettingsModalProps) {
|
|
13
|
+
const [isOpen, open, close] = useOnOff(false);
|
|
129
14
|
|
|
130
15
|
const { saveSettings, SaveSettingsModal } = useSaveSettings();
|
|
131
16
|
|
|
132
|
-
// Boolean to check if we have to render the new general settings dialog
|
|
133
|
-
const isExperimentalFeatures = useCheckExperimentalFeature();
|
|
134
|
-
|
|
135
17
|
return (
|
|
136
18
|
<>
|
|
137
19
|
<Toolbar.Item
|
|
138
20
|
id="general-settings"
|
|
139
|
-
onClick={
|
|
21
|
+
onClick={open}
|
|
140
22
|
tooltip="General settings"
|
|
141
23
|
icon={<FaWrench />}
|
|
142
24
|
/>
|
|
143
|
-
{isExperimentalFeatures && (
|
|
144
|
-
<Toolbar.Item
|
|
145
|
-
id="general-settings"
|
|
146
|
-
onClick={openGeneralSettingsDialog}
|
|
147
|
-
tooltip="General settings [dev]"
|
|
148
|
-
icon={<FaCogs />}
|
|
149
|
-
/>
|
|
150
|
-
)}
|
|
151
|
-
<SaveSettingsModal />
|
|
152
|
-
|
|
153
|
-
{isOpenDialog && (
|
|
154
|
-
<InnerGeneralSettingsModal
|
|
155
|
-
{...otherProps}
|
|
156
|
-
onCloseDialog={closeDialog}
|
|
157
|
-
onSave={saveSettings}
|
|
158
|
-
/>
|
|
159
|
-
)}
|
|
160
|
-
|
|
161
|
-
{isOpenGeneralSettingsDialog && (
|
|
162
|
-
<GeneralSettingsDialog
|
|
163
|
-
height={otherProps.height}
|
|
164
|
-
isOpen={isOpenGeneralSettingsDialog}
|
|
165
|
-
close={closeGeneralSettingsDialog}
|
|
166
|
-
onSave={saveSettings}
|
|
167
|
-
/>
|
|
168
|
-
)}
|
|
169
|
-
</>
|
|
170
|
-
);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
function InnerGeneralSettingsModal(props: InnerGeneralSettingsModalProps) {
|
|
174
|
-
const { height, onCloseDialog, onSave } = props;
|
|
175
|
-
const {
|
|
176
|
-
dispatch,
|
|
177
|
-
current: currentWorkspace,
|
|
178
|
-
originalWorkspaces,
|
|
179
|
-
workspaces,
|
|
180
|
-
...preferences
|
|
181
|
-
} = usePreferences();
|
|
182
|
-
|
|
183
|
-
const { addNewWorkspace, removeWorkspace, setActiveWorkspace } =
|
|
184
|
-
useWorkspaceAction();
|
|
185
|
-
const baseWorkspaces = useWorkspacesList();
|
|
186
|
-
const workspaceName = preferences.workspace.current;
|
|
187
|
-
const pastRef = useRef<Record<string, Workspace> | null>(null);
|
|
188
|
-
const methods = useForm<WorkspaceWithSource>({
|
|
189
|
-
defaultValues: currentWorkspace,
|
|
190
|
-
resolver: yupResolver(validation),
|
|
191
|
-
});
|
|
192
|
-
const { reset, getValues, watch } = methods;
|
|
193
|
-
const workspacesList = useMemo(() => {
|
|
194
|
-
return baseWorkspaces.concat([
|
|
195
|
-
{
|
|
196
|
-
key: 'new',
|
|
197
|
-
label: 'Custom workspace',
|
|
198
|
-
} as any,
|
|
199
|
-
]);
|
|
200
|
-
}, [baseWorkspaces]);
|
|
201
|
-
|
|
202
|
-
function addWorkSpaceHandler(name: any) {
|
|
203
|
-
addNewWorkspace(name, getValues());
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
function deleteWorkSpaceHandler(key: any) {
|
|
207
|
-
const isActiveWorkspace = removeWorkspace(key);
|
|
208
|
-
if (!isActiveWorkspace) {
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
|
-
reset(workspaces.default);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
function ChangeWorkspaceHandler(option: DropDownListItem) {
|
|
215
|
-
setActiveWorkspace(option.key);
|
|
216
|
-
reset(workspaces[option.key]);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
function renderItem(item: any) {
|
|
220
|
-
return (
|
|
221
|
-
<WorkspaceItem
|
|
222
|
-
item={item}
|
|
223
|
-
onSave={addWorkSpaceHandler}
|
|
224
|
-
onDelete={deleteWorkSpaceHandler}
|
|
225
|
-
/>
|
|
226
|
-
);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
const setWorkspaceSetting = useCallback(
|
|
230
|
-
(inputWorkspace: any) => {
|
|
231
|
-
const parseWorkspaceName = Object.keys(inputWorkspace)[0];
|
|
232
|
-
if (preferences.workspace.current === parseWorkspaceName) {
|
|
233
|
-
reset(inputWorkspace[parseWorkspaceName]);
|
|
234
|
-
} else if (workspaces[parseWorkspaceName]) {
|
|
235
|
-
pastRef.current = inputWorkspace;
|
|
236
|
-
dispatch({
|
|
237
|
-
type: 'SET_WORKSPACE',
|
|
238
|
-
payload: {
|
|
239
|
-
workspace: parseWorkspaceName,
|
|
240
|
-
workspaceSource: 'any',
|
|
241
|
-
},
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
[dispatch, preferences.workspace, workspaces, reset],
|
|
246
|
-
);
|
|
247
|
-
const isExperimentalFeatures =
|
|
248
|
-
watch('display.general.experimentalFeatures.display') || false;
|
|
249
|
-
useEffect(() => {
|
|
250
|
-
if (pastRef.current) {
|
|
251
|
-
setWorkspaceSetting(pastRef.current);
|
|
252
|
-
pastRef.current = null;
|
|
253
|
-
}
|
|
254
|
-
}, [setWorkspaceSetting]);
|
|
255
|
-
|
|
256
|
-
return (
|
|
257
|
-
<FormProvider {...methods}>
|
|
258
|
-
<StandardDialog
|
|
259
|
-
isOpen
|
|
260
|
-
onClose={onCloseDialog}
|
|
261
|
-
style={{ maxWidth: 1000, width: '50vw', minWidth: 800 }}
|
|
262
|
-
title="General settings"
|
|
263
|
-
icon="cog"
|
|
264
|
-
>
|
|
265
|
-
<div>
|
|
266
|
-
<div
|
|
267
|
-
className={Classes.DIALOG_HEADER}
|
|
268
|
-
style={{
|
|
269
|
-
cursor: 'default',
|
|
270
|
-
paddingTop: '10px',
|
|
271
|
-
boxShadow: 'none',
|
|
272
|
-
backgroundColor: '#f8f8f8',
|
|
273
|
-
}}
|
|
274
|
-
>
|
|
275
|
-
<Label title="Workspace">
|
|
276
|
-
<DropDownButton
|
|
277
|
-
data={workspacesList}
|
|
278
|
-
renderItem={renderItem}
|
|
279
|
-
selectedKey={preferences.workspace.current}
|
|
280
|
-
onSelect={ChangeWorkspaceHandler}
|
|
281
|
-
/>
|
|
282
|
-
</Label>
|
|
283
|
-
<WorkSpaceActionsButtons
|
|
284
|
-
onPast={(workspaceSettings: any) =>
|
|
285
|
-
setWorkspaceSetting(workspaceSettings)
|
|
286
|
-
}
|
|
287
|
-
/>
|
|
288
|
-
</div>
|
|
289
|
-
</div>
|
|
290
|
-
<StyledDialogBody>
|
|
291
|
-
<div style={{ height }}>
|
|
292
|
-
<StyledTabs vertical>
|
|
293
|
-
<Tab title="General" id="general" panel={<GeneralTabContent />} />
|
|
294
|
-
|
|
295
|
-
<Tab title="Nuclei" id="nuclei" panel={<NucleiTabContent />} />
|
|
296
|
-
|
|
297
|
-
<Tab title="Panels" id="display" panel={<DisplayTabContent />} />
|
|
298
|
-
|
|
299
|
-
<Tab title="Tools" id="tools" panel={<ToolsTabContent />} />
|
|
300
|
-
|
|
301
|
-
<Tab
|
|
302
|
-
title="Databases"
|
|
303
|
-
id="databases"
|
|
304
|
-
panel={
|
|
305
|
-
<DatabasesTabContent
|
|
306
|
-
currentWorkspace={workspaceName}
|
|
307
|
-
originalWorkspaces={originalWorkspaces}
|
|
308
|
-
/>
|
|
309
|
-
}
|
|
310
|
-
/>
|
|
311
|
-
|
|
312
|
-
<Tab
|
|
313
|
-
title="Import filters"
|
|
314
|
-
id="importation-filters"
|
|
315
|
-
panel={<ImportationFiltersTabContent />}
|
|
316
|
-
/>
|
|
317
|
-
|
|
318
|
-
<Tab
|
|
319
|
-
title="Title block"
|
|
320
|
-
id="title-block"
|
|
321
|
-
panel={<InfoBlockTabContent />}
|
|
322
|
-
/>
|
|
323
|
-
|
|
324
|
-
<Tab
|
|
325
|
-
title="Auto processing"
|
|
326
|
-
id="on-load-processing"
|
|
327
|
-
panel={<OnLoadProcessingTabContent />}
|
|
328
|
-
/>
|
|
329
|
-
|
|
330
|
-
<Tab
|
|
331
|
-
title="Spectra colors"
|
|
332
|
-
id="spectra-colors"
|
|
333
|
-
panel={<SpectraColorsTabContent />}
|
|
334
|
-
/>
|
|
335
|
-
|
|
336
|
-
{isExperimentalFeatures && (
|
|
337
|
-
<Tab
|
|
338
|
-
title="External APIs"
|
|
339
|
-
id="external-apis"
|
|
340
|
-
panel={<ExternalAPIsTabContent />}
|
|
341
|
-
/>
|
|
342
|
-
)}
|
|
343
|
-
<Tab
|
|
344
|
-
title="Export"
|
|
345
|
-
id="export-options"
|
|
346
|
-
panel={<ExportTabContent />}
|
|
347
|
-
/>
|
|
348
|
-
</StyledTabs>
|
|
349
|
-
</div>
|
|
350
|
-
</StyledDialogBody>
|
|
351
|
-
<DialogFooter>
|
|
352
|
-
<DialogActionButtons onCloseDialog={onCloseDialog} onSave={onSave} />
|
|
353
|
-
</DialogFooter>
|
|
354
|
-
</StandardDialog>
|
|
355
|
-
</FormProvider>
|
|
356
|
-
);
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
function WorkSpaceActionsButtons(props: any) {
|
|
360
|
-
const {
|
|
361
|
-
readText,
|
|
362
|
-
rawWriteWithType,
|
|
363
|
-
shouldFallback,
|
|
364
|
-
cleanShouldFallback,
|
|
365
|
-
text,
|
|
366
|
-
} = useClipboard();
|
|
367
|
-
const toaster = useToaster();
|
|
368
|
-
const { reset } = useFormContext<WorkspaceWithSource>();
|
|
369
|
-
const values = useWatch();
|
|
370
|
-
|
|
371
|
-
const isExperimentalFeatures = dlv(
|
|
372
|
-
values,
|
|
373
|
-
'display.general.experimentalFeatures.display',
|
|
374
|
-
false,
|
|
375
|
-
);
|
|
376
|
-
|
|
377
|
-
const {
|
|
378
|
-
originalWorkspaces,
|
|
379
|
-
workspace: { current: workspaceName },
|
|
380
|
-
} = usePreferences();
|
|
381
|
-
|
|
382
|
-
function handleReset() {
|
|
383
|
-
const workSpaceDisplayPreferences = getPreferencesByWorkspace(
|
|
384
|
-
workspaceName,
|
|
385
|
-
originalWorkspaces,
|
|
386
|
-
);
|
|
387
|
-
reset(workSpaceDisplayPreferences);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
function handlePasteWorkspace(text: string | null) {
|
|
391
|
-
if (!text) return;
|
|
392
|
-
|
|
393
|
-
try {
|
|
394
|
-
const parseWorkspaces = JSON.parse(text);
|
|
395
|
-
props.onPast(parseWorkspaces);
|
|
396
|
-
} catch {
|
|
397
|
-
toaster.show({ message: 'object parse error', intent: 'danger' });
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
cleanShouldFallback();
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
function handlePastWorkspaceAction() {
|
|
404
|
-
void readText().then(handlePasteWorkspace);
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
function handleCopyWorkspace() {
|
|
408
|
-
const data = { [workspaceName]: values };
|
|
409
|
-
void rawWriteWithType(JSON.stringify(data)).then(() => {
|
|
410
|
-
toaster.show({
|
|
411
|
-
message: 'Workspace copied to clipboard',
|
|
412
|
-
intent: 'success',
|
|
413
|
-
});
|
|
414
|
-
});
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
return (
|
|
418
|
-
<div
|
|
419
|
-
style={{
|
|
420
|
-
display: 'flex',
|
|
421
|
-
justifyContent: 'flex-start',
|
|
422
|
-
padding: '0 3px',
|
|
423
|
-
}}
|
|
424
|
-
>
|
|
425
|
-
<Button
|
|
426
|
-
variant="outlined"
|
|
427
|
-
intent="primary"
|
|
428
|
-
onClick={handleReset}
|
|
429
|
-
tooltipProps={{ content: 'Reset workspace preferences', compact: true }}
|
|
430
|
-
disabled={isRestButtonDisable(
|
|
431
|
-
values,
|
|
432
|
-
workspaceName,
|
|
433
|
-
originalWorkspaces,
|
|
434
|
-
)}
|
|
435
|
-
>
|
|
436
|
-
<FaBolt className={Classes.ICON} />
|
|
437
|
-
</Button>
|
|
438
|
-
{isExperimentalFeatures && (
|
|
439
|
-
<>
|
|
440
|
-
<StyledButton
|
|
441
|
-
variant="outlined"
|
|
442
|
-
onClick={handleCopyWorkspace}
|
|
443
|
-
tooltipProps={{
|
|
444
|
-
content: 'Copy workspace preferences',
|
|
445
|
-
compact: true,
|
|
446
|
-
}}
|
|
447
|
-
marginHorizontal={5}
|
|
448
|
-
>
|
|
449
|
-
<FaRegCopy className={Classes.ICON} />
|
|
450
|
-
</StyledButton>
|
|
451
|
-
<Button
|
|
452
|
-
variant="outlined"
|
|
453
|
-
intent="success"
|
|
454
|
-
onClick={handlePastWorkspaceAction}
|
|
455
|
-
tooltipProps={{
|
|
456
|
-
content: 'Paste workspace preferences',
|
|
457
|
-
compact: true,
|
|
458
|
-
}}
|
|
459
|
-
>
|
|
460
|
-
<FaPaste className={Classes.ICON} />
|
|
461
|
-
</Button>
|
|
462
|
-
</>
|
|
463
|
-
)}
|
|
464
|
-
<ClipboardFallbackModal
|
|
465
|
-
mode={shouldFallback}
|
|
466
|
-
onDismiss={cleanShouldFallback}
|
|
467
|
-
onReadText={handlePasteWorkspace}
|
|
468
|
-
text={text}
|
|
469
|
-
label="Workspace"
|
|
470
|
-
/>
|
|
471
|
-
</div>
|
|
472
|
-
);
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
function DialogActionButtons(props: BasseGeneralModalProps) {
|
|
476
|
-
const { onSave, onCloseDialog } = props;
|
|
477
|
-
const {
|
|
478
|
-
handleSubmit,
|
|
479
|
-
formState: { isValid },
|
|
480
|
-
} = useFormContext<WorkspaceWithSource>();
|
|
481
|
-
const { dispatch } = usePreferences();
|
|
482
25
|
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
function applyPreferencesHandler() {
|
|
491
|
-
if (!isValid) {
|
|
492
|
-
void handleSubmit(submitHandler)();
|
|
493
|
-
return;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
dispatch({
|
|
497
|
-
type: 'APPLY_GENERAL_PREFERENCES',
|
|
498
|
-
payload: {
|
|
499
|
-
data: values as any,
|
|
500
|
-
},
|
|
501
|
-
});
|
|
502
|
-
props.onCloseDialog?.();
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
return (
|
|
506
|
-
<div style={{ display: 'flex', justifyContent: 'flex-end' }}>
|
|
507
|
-
<ActionButtons
|
|
508
|
-
style={{ flexDirection: 'row-reverse', margin: 0 }}
|
|
509
|
-
onDone={() => handleSubmit(submitHandler)()}
|
|
510
|
-
doneLabel="Apply and Save"
|
|
511
|
-
onCancel={() => {
|
|
512
|
-
props.onCloseDialog?.();
|
|
513
|
-
}}
|
|
26
|
+
<GeneralSettingsDialog
|
|
27
|
+
height={props.height}
|
|
28
|
+
isOpen={isOpen}
|
|
29
|
+
close={close}
|
|
30
|
+
onSave={saveSettings}
|
|
514
31
|
/>
|
|
515
|
-
<
|
|
516
|
-
|
|
517
|
-
onClick={applyPreferencesHandler}
|
|
518
|
-
marginHorizontal={10}
|
|
519
|
-
>
|
|
520
|
-
Apply
|
|
521
|
-
</StyledButton>
|
|
522
|
-
</div>
|
|
32
|
+
<SaveSettingsModal />
|
|
33
|
+
</>
|
|
523
34
|
);
|
|
524
35
|
}
|
|
525
|
-
|
|
526
|
-
export default GeneralSettingsModal;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { useStore } from '@tanstack/react-form';
|
|
2
|
+
import type { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
3
|
+
import {
|
|
4
|
+
createContext,
|
|
5
|
+
useContext,
|
|
6
|
+
useEffect,
|
|
7
|
+
useMemo,
|
|
8
|
+
useRef,
|
|
9
|
+
useState,
|
|
10
|
+
} from 'react';
|
|
11
|
+
import { assert, withForm } from 'react-science/ui';
|
|
12
|
+
|
|
13
|
+
import {
|
|
14
|
+
defaultGeneralSettingsFormValues,
|
|
15
|
+
workspaceValidation,
|
|
16
|
+
} from '../validation.ts';
|
|
17
|
+
|
|
18
|
+
interface GeneralSettingsErrors {
|
|
19
|
+
isOpen: boolean;
|
|
20
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
21
|
+
count: number;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const GeneralSettingsErrorsContext =
|
|
25
|
+
createContext<GeneralSettingsErrors | null>(null);
|
|
26
|
+
|
|
27
|
+
interface GeneralSettingsErrorsOpenProvider {
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
}
|
|
30
|
+
const defaultProps: GeneralSettingsErrorsOpenProvider = {
|
|
31
|
+
children: null,
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const GeneralSettingsErrorsOpenProvider = withForm({
|
|
35
|
+
defaultValues: defaultGeneralSettingsFormValues,
|
|
36
|
+
validators: { onDynamic: workspaceValidation },
|
|
37
|
+
props: defaultProps,
|
|
38
|
+
render: function GeneralSettingsErrorsOpenProvider({ form, children }) {
|
|
39
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
40
|
+
|
|
41
|
+
const submitCount = useStore(form.store, (s) => s.submissionAttempts);
|
|
42
|
+
const previousSubmitCount = useRef(submitCount);
|
|
43
|
+
const errorsCount = useStore(form.store, (s) => {
|
|
44
|
+
const recordErrors = s.errorMap.onDynamic;
|
|
45
|
+
if (!recordErrors) return 0;
|
|
46
|
+
|
|
47
|
+
let count = 0;
|
|
48
|
+
for (const errors of Object.values(recordErrors)) {
|
|
49
|
+
count += errors.length;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return count;
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
// open errors after submitting if there are errors
|
|
56
|
+
useEffect(() => {
|
|
57
|
+
if (previousSubmitCount.current === submitCount) return;
|
|
58
|
+
previousSubmitCount.current = submitCount;
|
|
59
|
+
|
|
60
|
+
if (errorsCount === 0) return;
|
|
61
|
+
|
|
62
|
+
setIsOpen(true);
|
|
63
|
+
}, [errorsCount, submitCount]);
|
|
64
|
+
|
|
65
|
+
// close errors if all fixed
|
|
66
|
+
useEffect(() => {
|
|
67
|
+
if (errorsCount !== 0) return;
|
|
68
|
+
|
|
69
|
+
setIsOpen(false);
|
|
70
|
+
}, [errorsCount]);
|
|
71
|
+
|
|
72
|
+
const contextValue = useMemo(
|
|
73
|
+
() => ({ isOpen, setIsOpen, count: errorsCount }),
|
|
74
|
+
[errorsCount, isOpen],
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
return (
|
|
78
|
+
<GeneralSettingsErrorsContext.Provider value={contextValue}>
|
|
79
|
+
{children}
|
|
80
|
+
</GeneralSettingsErrorsContext.Provider>
|
|
81
|
+
);
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export function useErrors() {
|
|
86
|
+
const context = useContext(GeneralSettingsErrorsContext);
|
|
87
|
+
|
|
88
|
+
assert(
|
|
89
|
+
context,
|
|
90
|
+
'useErrors must be used within a GeneralSettingsErrorsOpenProvider',
|
|
91
|
+
);
|
|
92
|
+
|
|
93
|
+
return context;
|
|
94
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Callout, Collapse } from '@blueprintjs/core';
|
|
2
|
+
import styled from '@emotion/styled';
|
|
3
|
+
import { useStore } from '@tanstack/react-form';
|
|
4
|
+
import { Button, withForm } from 'react-science/ui';
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
defaultGeneralSettingsFormValues,
|
|
8
|
+
workspaceValidation,
|
|
9
|
+
} from '../validation.ts';
|
|
10
|
+
|
|
11
|
+
import { useErrors } from './context.tsx';
|
|
12
|
+
|
|
13
|
+
export const GeneralSettingsErrorRenderer = withForm({
|
|
14
|
+
defaultValues: defaultGeneralSettingsFormValues,
|
|
15
|
+
validators: { onDynamic: workspaceValidation },
|
|
16
|
+
render: function GeneralSettingsErrorRenderer({ form }) {
|
|
17
|
+
const { isOpen, setIsOpen } = useErrors();
|
|
18
|
+
const errors = useStore(form.store, (state) => {
|
|
19
|
+
return Object.values(state.errorMap.onDynamic ?? {}).flat();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<Collapse isOpen={isOpen} keepChildrenMounted>
|
|
24
|
+
<Callout title="Errors in the form" intent="danger">
|
|
25
|
+
<CloseButton
|
|
26
|
+
icon="cross"
|
|
27
|
+
variant="minimal"
|
|
28
|
+
onClick={() => setIsOpen(false)}
|
|
29
|
+
/>
|
|
30
|
+
|
|
31
|
+
<ul>
|
|
32
|
+
{errors.map((error, index) => {
|
|
33
|
+
const path = error.path
|
|
34
|
+
?.map((path) =>
|
|
35
|
+
typeof path === 'object' ? path.key : String(path),
|
|
36
|
+
)
|
|
37
|
+
.join('.');
|
|
38
|
+
|
|
39
|
+
return (
|
|
40
|
+
<li key={`${path}-${index}`}>
|
|
41
|
+
{path}: {error.message}
|
|
42
|
+
</li>
|
|
43
|
+
);
|
|
44
|
+
})}
|
|
45
|
+
</ul>
|
|
46
|
+
</Callout>
|
|
47
|
+
</Collapse>
|
|
48
|
+
);
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
const CloseButton = styled(Button)`
|
|
53
|
+
position: absolute;
|
|
54
|
+
right: 0;
|
|
55
|
+
top: 0;
|
|
56
|
+
`;
|